File tree Expand file tree Collapse file tree 5 files changed +17
-1
lines changed
Expand file tree Collapse file tree 5 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -3342,6 +3342,7 @@ const docTemplate = `{
33423342 "notification_message_status_enabled",
33433343 "notification_newsletter_enabled",
33443344 "notification_webhook_enabled",
3345+ "subscription_id",
33453346 "subscription_name",
33463347 "timezone",
33473348 "updated_at"
@@ -3387,6 +3388,10 @@ const docTemplate = `{
33873388 "type": "string",
33883389 "example": "2022-06-05T14:26:02.302718+03:00"
33893390 },
3391+ "subscription_id": {
3392+ "type": "string",
3393+ "example": "8f9c71b8-b84e-4417-8408-a62274f65a08"
3394+ },
33903395 "subscription_name": {
33913396 "type": "string",
33923397 "example": "free"
Original file line number Diff line number Diff line change 30733073 " notification_message_status_enabled" ,
30743074 " notification_newsletter_enabled" ,
30753075 " notification_webhook_enabled" ,
3076+ " subscription_id" ,
30763077 " subscription_name" ,
30773078 " timezone" ,
30783079 " updated_at"
31183119 "type" : " string" ,
31193120 "example" : " 2022-06-05T14:26:02.302718+03:00"
31203121 },
3122+ "subscription_id" : {
3123+ "type" : " string" ,
3124+ "example" : " 8f9c71b8-b84e-4417-8408-a62274f65a08"
3125+ },
31213126 "subscription_name" : {
31223127 "type" : " string" ,
31233128 "example" : " free"
Original file line number Diff line number Diff line change @@ -388,6 +388,9 @@ definitions:
388388 subscription_ends_at :
389389 example : " 2022-06-05T14:26:02.302718+03:00"
390390 type : string
391+ subscription_id :
392+ example : 8f9c71b8-b84e-4417-8408-a62274f65a08
393+ type : string
391394 subscription_name :
392395 example : free
393396 type : string
@@ -412,6 +415,7 @@ definitions:
412415 - notification_message_status_enabled
413416 - notification_newsletter_enabled
414417 - notification_webhook_enabled
418+ - subscription_id
415419 - subscription_name
416420 - timezone
417421 - updated_at
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ type User struct {
7878 Timezone string `json:"timezone" example:"Europe/Helsinki" gorm:"default:Africa/Accra"`
7979 ActivePhoneID * uuid.UUID `json:"active_phone_id" gorm:"type:uuid;" example:"32343a19-da5e-4b1b-a767-3298a73703cb" validate:"optional"`
8080 SubscriptionName SubscriptionName `json:"subscription_name" example:"free"`
81- SubscriptionID * string `json:"subscription_id" example:"8f9c71b8-b84e-4417-8408-a62274f65a08" swaggerignore:"true" `
81+ SubscriptionID * string `json:"subscription_id" example:"8f9c71b8-b84e-4417-8408-a62274f65a08"`
8282 SubscriptionStatus * string `json:"subscription_status" example:"on_trial" validate:"optional"`
8383 SubscriptionRenewsAt * time.Time `json:"subscription_renews_at" example:"2022-06-05T14:26:02.302718+03:00" validate:"optional"`
8484 SubscriptionEndsAt * time.Time `json:"subscription_ends_at" example:"2022-06-05T14:26:02.302718+03:00" validate:"optional"`
Original file line number Diff line number Diff line change @@ -224,6 +224,8 @@ export interface EntitiesUser {
224224 notification_webhook_enabled : boolean
225225 /** @example "2022-06-05T14:26:02.302718+03:00" */
226226 subscription_ends_at ?: string
227+ /** @example "8f9c71b8-b84e-4417-8408-a62274f65a08" */
228+ subscription_id : string
227229 /** @example "free" */
228230 subscription_name : string
229231 /** @example "2022-06-05T14:26:02.302718+03:00" */
You can’t perform that action at this time.
0 commit comments