chargebee 2.40.0 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +10 -1
  2. package/LICENSE +1 -1
  3. package/README.md +90 -172
  4. package/cjs/RequestWrapper.js +81 -0
  5. package/cjs/asyncApiSupport.js +39 -0
  6. package/cjs/chargebee.cjs.js +13 -0
  7. package/cjs/chargebee.cjs.worker.js +9 -0
  8. package/cjs/chargebeeError.js +17 -0
  9. package/cjs/coreCommon.js +72 -0
  10. package/cjs/createChargebee.js +92 -0
  11. package/cjs/environment.js +18 -0
  12. package/cjs/filter.js +1 -0
  13. package/cjs/net/ClientInterface.js +40 -0
  14. package/cjs/net/FetchClient.js +86 -0
  15. package/cjs/net/NodeClient.js +61 -0
  16. package/cjs/package.json +1 -0
  17. package/cjs/resources/api_endpoints.js +1086 -0
  18. package/cjs/util.js +218 -0
  19. package/esm/RequestWrapper.js +77 -0
  20. package/esm/asyncApiSupport.js +35 -0
  21. package/esm/chargebee.esm.js +9 -0
  22. package/esm/chargebee.esm.worker.js +5 -0
  23. package/esm/chargebeeError.js +13 -0
  24. package/esm/coreCommon.js +67 -0
  25. package/esm/createChargebee.js +88 -0
  26. package/esm/environment.js +15 -0
  27. package/esm/filter.js +1 -0
  28. package/esm/net/ClientInterface.js +35 -0
  29. package/esm/net/FetchClient.js +81 -0
  30. package/esm/net/NodeClient.js +56 -0
  31. package/esm/package.json +1 -0
  32. package/esm/resources/api_endpoints.js +1083 -0
  33. package/esm/util.js +202 -0
  34. package/package.json +69 -38
  35. package/types/core.d.ts +558 -89
  36. package/types/index.d.ts +91 -54
  37. package/types/resources/Address.d.ts +57 -272
  38. package/types/resources/AdvanceInvoiceSchedule.d.ts +21 -94
  39. package/types/resources/AttachedItem.d.ts +91 -329
  40. package/types/resources/Attribute.d.ts +5 -5
  41. package/types/resources/BusinessEntity.d.ts +49 -69
  42. package/types/resources/BusinessEntityTransfer.d.ts +11 -17
  43. package/types/resources/Card.d.ts +146 -424
  44. package/types/resources/Comment.d.ts +72 -189
  45. package/types/resources/Contact.d.ts +12 -64
  46. package/types/resources/ContractTerm.d.ts +15 -96
  47. package/types/resources/Coupon.d.ts +282 -758
  48. package/types/resources/CouponCode.d.ts +56 -52
  49. package/types/resources/CouponSet.d.ts +92 -234
  50. package/types/resources/CreditNote.d.ts +588 -1758
  51. package/types/resources/CreditNoteEstimate.d.ts +131 -157
  52. package/types/resources/Currency.d.ts +75 -62
  53. package/types/resources/Customer.d.ts +892 -835
  54. package/types/resources/CustomerEntitlement.d.ts +36 -0
  55. package/types/resources/DifferentialPrice.d.ts +116 -314
  56. package/types/resources/Discount.d.ts +20 -125
  57. package/types/resources/Download.d.ts +6 -22
  58. package/types/resources/Entitlement.d.ts +51 -160
  59. package/types/resources/EntitlementOverride.d.ts +58 -139
  60. package/types/resources/Estimate.d.ts +1178 -527
  61. package/types/resources/Event.d.ts +67 -178
  62. package/types/resources/Export.d.ts +563 -723
  63. package/types/resources/Feature.d.ts +117 -433
  64. package/types/resources/GatewayErrorDetail.d.ts +16 -72
  65. package/types/resources/Gift.d.ts +265 -432
  66. package/types/resources/Hierarchy.d.ts +8 -36
  67. package/types/resources/HostedPage.d.ts +1017 -1153
  68. package/types/resources/ImpactedItem.d.ts +13 -50
  69. package/types/resources/ImpactedItemPrice.d.ts +13 -15
  70. package/types/resources/ImpactedSubscription.d.ts +13 -45
  71. package/types/resources/InAppSubscription.d.ts +93 -389
  72. package/types/resources/Installment.d.ts +35 -110
  73. package/types/resources/InstallmentConfig.d.ts +54 -155
  74. package/types/resources/InstallmentDetail.d.ts +19 -27
  75. package/types/resources/Invoice.d.ts +1574 -3157
  76. package/types/resources/InvoiceEstimate.d.ts +131 -161
  77. package/types/resources/Item.d.ts +133 -611
  78. package/types/resources/ItemEntitlement.d.ts +78 -215
  79. package/types/resources/ItemFamily.d.ts +69 -178
  80. package/types/resources/ItemPrice.d.ts +291 -1203
  81. package/types/resources/Metadata.d.ts +3 -5
  82. package/types/resources/Order.d.ts +538 -1471
  83. package/types/resources/PaymentIntent.d.ts +163 -347
  84. package/types/resources/PaymentReferenceNumber.d.ts +7 -29
  85. package/types/resources/PaymentSource.d.ts +476 -1272
  86. package/types/resources/PaymentVoucher.d.ts +87 -306
  87. package/types/resources/PortalSession.d.ts +71 -207
  88. package/types/resources/PriceVariant.d.ts +91 -279
  89. package/types/resources/PricingPageSession.d.ts +92 -41
  90. package/types/resources/PromotionalCredit.d.ts +90 -346
  91. package/types/resources/Purchase.d.ts +185 -315
  92. package/types/resources/Quote.d.ts +1406 -887
  93. package/types/resources/QuoteLineGroup.d.ts +125 -452
  94. package/types/resources/QuotedCharge.d.ts +45 -274
  95. package/types/resources/QuotedSubscription.d.ts +100 -488
  96. package/types/resources/Ramp.d.ts +233 -724
  97. package/types/resources/ResourceMigration.d.ts +25 -80
  98. package/types/resources/SiteMigrationDetail.d.ts +34 -112
  99. package/types/resources/Subscription.d.ts +2390 -4335
  100. package/types/resources/SubscriptionEntitlement.d.ts +59 -160
  101. package/types/resources/SubscriptionEstimate.d.ts +51 -75
  102. package/types/resources/TaxWithheld.d.ts +15 -40
  103. package/types/resources/ThirdPartyPaymentMethod.d.ts +7 -29
  104. package/types/resources/TimeMachine.d.ts +43 -97
  105. package/types/resources/Token.d.ts +15 -85
  106. package/types/resources/Transaction.d.ts +278 -900
  107. package/types/resources/UnbilledCharge.d.ts +189 -164
  108. package/types/resources/Usage.d.ts +89 -279
  109. package/types/resources/VirtualBankAccount.d.ts +103 -255
  110. package/types/resources/filter.d.ts +52 -0
  111. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -81
  112. package/.github/ISSUE_TEMPLATE/config.yml +0 -6
  113. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -34
  114. package/.github/PULL_REQUEST_TEMPLATE.md +0 -8
  115. package/lib/chargebee.js +0 -512
  116. package/lib/resources/api_endpoints.js +0 -2912
  117. package/types/resources/NonSubscription.d.ts +0 -30
  118. package/types/resources/Session.d.ts +0 -41
@@ -1,206 +1,89 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+ ///<reference path='./filter.d.ts'/>
2
4
  declare module 'chargebee' {
3
5
  export interface Comment {
4
-
5
- /**
6
- * @description Unique identifier for the comment.
7
-
8
- */
9
-
10
- id:string;
11
-
12
- /**
13
- * @description Type of the entity this comment generated for \* item - Entity that represents item \* invoice - Invoice description \* product - Entity that represents product \* plan - Entity that represents a subscription plan \* item_family - Entity that represents item family \* transaction - Entity that represents a transaction. \* quote - Entity that represents a quote \* order - Entity that represents an order \* item_price - Entity that represents item price \* customer - Entity that represents a customer \* variant - Entity that represents product variants \* business_entity - Entity that represents item of type business entity \* coupon - Entity that represents a discount coupon \* subscription - Entity that represents a subscription of a customer \* addon - Entity that represents an addon \* credit_note - Credit note description
14
-
15
- */
16
-
17
- entity_type:EntityType;
18
-
19
- /**
20
- * @description The user who created the comment. If created via API, this contains the name given for the API key used.
21
-
22
- */
23
-
24
- added_by?:string;
25
-
26
- /**
27
- * @description Actual notes for the comment.
28
-
29
- */
30
-
31
- notes:string;
32
-
33
- /**
34
- * @description The time at which this comment was created
35
-
36
- */
37
-
38
- created_at:number;
39
-
40
- /**
41
- * @description Type of comment this is. \* system - Comment generated by Chargebee when any backend changes happen for an entity \* user - Comment generated by user either via API or Admin console.
42
-
43
- */
44
-
45
- type:'system' | 'user';
46
-
47
- /**
48
- * @description Unique identifier of the entity.
49
-
50
- */
51
-
52
- entity_id:string;
6
+ id: string;
7
+ entity_type: EntityType;
8
+ added_by?: string;
9
+ notes: string;
10
+ created_at: number;
11
+ type: 'user' | 'system';
12
+ entity_id: string;
53
13
  }
54
- export namespace Comment {
55
- export class CommentResource {
56
- /**
57
- * @description Create a new comment for an entity. The newly added comment will be shown in the web interface as well.
58
-
59
- */
60
-
61
- create(input:CreateInputParam):ChargebeeRequest<CreateResponse>;
62
-
63
- /**
64
- * @description Retrieve a comment for an entity identified by comment ID.
65
14
 
66
- */
67
-
68
- retrieve(comment_id:string):ChargebeeRequest<RetrieveResponse>;
69
-
70
- /**
71
- * @description Retrieve the list of comments sorted by the recent ones on the top.
72
-
73
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
74
-
75
- */
76
-
77
- list(input?:ListInputParam):ChargebeeRequest<ListResponse>;
78
-
79
- /**
80
- * @description Delete a comment for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#create_a_comment_entity_type) identified by comment ID.
81
-
82
- Only the comments that are added via Admin console and API can be deleted. Chargebee generated &quot;System&quot; comments cannot be deleted.
83
-
84
- */
85
-
86
- delete(comment_id:string):ChargebeeRequest<DeleteResponse>;
87
- }
88
- export interface CreateResponse {
89
- comment:Comment;
15
+ export namespace Comment {
16
+ export class CommentResource {
17
+ create(
18
+ input: CreateInputParam,
19
+ headers?: ChargebeeRequestHeader,
20
+ ): Promise<ChargebeeResponse<CreateResponse>>;
21
+
22
+ retrieve(
23
+ comment_id: string,
24
+ headers?: ChargebeeRequestHeader,
25
+ ): Promise<ChargebeeResponse<RetrieveResponse>>;
26
+
27
+ list(
28
+ input?: ListInputParam,
29
+ headers?: ChargebeeRequestHeader,
30
+ ): Promise<ChargebeeResponse<ListResponse>>;
31
+
32
+ delete(
33
+ comment_id: string,
34
+ headers?: ChargebeeRequestHeader,
35
+ ): Promise<ChargebeeResponse<DeleteResponse>>;
90
36
  }
91
- export interface CreateInputParam {
92
-
93
- /**
94
- * @description Type of the entity to create the comment for. \* item - Entity that represents item \* order - Entity that represents an order \* item_price - Entity that represents item price \* customer - Entity that represents a customer \* variant - Entity that represents product variants \* invoice - Invoice description \* product - Entity that represents product \* business_entity - Entity that represents item of type business entity \* plan - Entity that represents a subscription plan \* coupon - Entity that represents a discount coupon \* subscription - Entity that represents a subscription of a customer \* item_family - Entity that represents item family \* transaction - Entity that represents a transaction. \* addon - Entity that represents an addon \* credit_note - Credit note description \* quote - Entity that represents a quote
95
-
96
- */
97
-
98
- entity_type:EntityType;
99
-
100
- /**
101
- * @description Unique identifier of the entity.
102
-
103
- */
104
-
105
- entity_id:string;
106
-
107
- /**
108
- * @description Actual notes for the comment.
109
37
 
110
- */
111
-
112
- notes:string;
113
-
114
- /**
115
- * @description The user who created the comment. If created via API, this contains the name given for the API key used.
116
-
117
- */
118
-
119
- added_by?:string;
120
- }
121
- export interface RetrieveResponse {
122
- comment:Comment;
38
+ export interface CreateResponse {
39
+ comment: Comment;
123
40
  }
124
-
125
- export interface ListResponse {
126
- /**
127
- * @description Retrieve the list of comments sorted by the recent ones on the top.
128
-
129
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
130
-
131
- */
132
-
133
- list:{comment:Comment}[];
134
-
135
- /**
136
- * @description Retrieve the list of comments sorted by the recent ones on the top.
137
-
138
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
139
41
 
140
- */
141
-
142
- next_offset?:string;
42
+ export interface RetrieveResponse {
43
+ comment: Comment;
143
44
  }
144
- export interface ListInputParam {
145
- [key : string]: any;
146
- /**
147
- * @description Retrieve the list of comments sorted by the recent ones on the top.
148
-
149
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
150
-
151
- */
152
-
153
- limit?:number;
154
-
155
- /**
156
- * @description Retrieve the list of comments sorted by the recent ones on the top.
157
-
158
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
159
45
 
160
- */
161
-
162
- offset?:string;
163
-
164
- /**
165
- * @description Retrieve the list of comments sorted by the recent ones on the top.
166
-
167
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
168
-
169
- */
170
-
171
- entity_type?:'item' | 'product' | 'coupon' | 'addon' | 'item_price' | 'business_entity' | 'subscription' | 'item_family' | 'credit_note' | 'quote' | 'variant' | 'invoice' | 'plan' | 'transaction' | 'customer' | 'order';
172
-
173
- /**
174
- * @description Retrieve the list of comments sorted by the recent ones on the top.
175
-
176
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
177
-
178
- */
179
-
180
- entity_id?:string;
181
-
182
- /**
183
- * @description Retrieve the list of comments sorted by the recent ones on the top.
184
-
185
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
46
+ export interface ListResponse {
47
+ list: { comment: Comment }[];
48
+ next_offset?: string;
49
+ }
186
50
 
187
- */
188
-
189
- created_at?:{after?:string,before?:string,between?:string,on?:string};
190
-
191
- /**
192
- * @description Retrieve the list of comments sorted by the recent ones on the top.
51
+ export interface DeleteResponse {
52
+ comment: Comment;
53
+ }
193
54
 
194
- If you want to retrieve the list of comments for an [entity](https://apidocs.chargebee.com/docs/api/v1/comments?prod_cat_ver&#x3D;1#list_comments_entity_type), for example, subscription you can filter them by passing the entity type and unique identifier for that entity, for example, subscription ID.
55
+ // REQUEST PARAMS
56
+ //---------------
195
57
 
196
- */
197
-
198
- sort_by?:{asc?:'created_at',desc?:'created_at'};
58
+ export interface CreateInputParam {
59
+ entity_type: EntityType;
60
+ entity_id: string;
61
+ notes: string;
62
+ added_by?: string;
199
63
  }
200
- export interface DeleteResponse {
201
- comment:Comment;
64
+ export interface ListInputParam {
65
+ limit?: number;
66
+ offset?: string;
67
+ entity_type?:
68
+ | 'customer'
69
+ | 'subscription'
70
+ | 'invoice'
71
+ | 'quote'
72
+ | 'credit_note'
73
+ | 'transaction'
74
+ | 'plan'
75
+ | 'addon'
76
+ | 'coupon'
77
+ | 'order'
78
+ | 'business_entity'
79
+ | 'item_family'
80
+ | 'item'
81
+ | 'item_price'
82
+ | 'price_variant';
83
+ entity_id?: string;
84
+ created_at?: filter.Timestamp;
85
+ 'sort_by[asc]'?: string;
86
+ 'sort_by[desc]'?: string;
202
87
  }
203
-
204
-
205
88
  }
206
- }
89
+ }
@@ -1,68 +1,16 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+
2
4
  declare module 'chargebee' {
3
5
  export interface Contact {
4
-
5
- /**
6
- * @description Unique reference ID provided for the contact.
7
-
8
- */
9
-
10
- id:string;
11
-
12
- /**
13
- * @description First name of the contact.
14
-
15
- */
16
-
17
- first_name?:string;
18
-
19
- /**
20
- * @description Last name of the contact.
21
-
22
- */
23
-
24
- last_name?:string;
25
-
26
- /**
27
- * @description Email of the contact.
28
-
29
- */
30
-
31
- email:string;
32
-
33
- /**
34
- * @description Phone number of the contact.
35
-
36
- */
37
-
38
- phone?:string;
39
-
40
- /**
41
- * @description Label/Tag provided for contact.
42
-
43
- */
44
-
45
- label?:string;
46
-
47
- /**
48
- * @description Contact enabled / disabled
49
-
50
- */
51
-
52
- enabled:boolean;
53
-
54
- /**
55
- * @description Whether Account Emails option is enabled for the contact.
56
-
57
- */
58
-
59
- send_account_email:boolean;
60
-
61
- /**
62
- * @description Whether Billing Emails option is enabled for the contact.
63
-
64
- */
65
-
66
- send_billing_email:boolean;
6
+ id: string;
7
+ first_name?: string;
8
+ last_name?: string;
9
+ email: string;
10
+ phone?: string;
11
+ label?: string;
12
+ enabled: boolean;
13
+ send_account_email: boolean;
14
+ send_billing_email: boolean;
67
15
  }
68
- }
16
+ }
@@ -1,100 +1,19 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+
2
4
  declare module 'chargebee' {
3
5
  export interface ContractTerm {
4
-
5
- /**
6
- * @description Id that uniquely identifies the contract term in the site.
7
-
8
- */
9
-
10
- id:string;
11
-
12
- /**
13
- * @description Current status of contract \* active - An actively running contract term. \* cancelled - The contract term was ended because:
14
-
15
- * a change in the subscription caused a [subscription term reset](subscriptions#update_a_subscription_force_term_reset).
16
- * the subscription was cancelled due to non-payment.
17
- \* terminated - The contract term was terminated ahead of completion. \* completed - The contract term has run its full duration.
18
-
19
- */
20
-
21
- status:'active' | 'cancelled' | 'completed' | 'terminated';
22
-
23
- /**
24
- * @description The start date of the contract term
25
-
26
- */
27
-
28
- contract_start:number;
29
-
30
- /**
31
- * @description The end date of the contract term
32
-
33
- */
34
-
35
- contract_end:number;
36
-
37
- /**
38
- * @description The number of billing cycles of the subscription that the contract term is for.
39
-
40
- */
41
-
42
- billing_cycle:number;
43
-
44
- /**
45
- * @description Action to be taken when the contract term completes. \* renew -
46
- * Contract term completes and a new contract term is started for the number of billing cycles specified in [&#x60;contract_billing_cycle_on_renewal&#x60;](subscriptions#create_subscription_for_customer_contract_term_billing_cycle_on_renewal).
47
- * The &#x60;action_at_term_end&#x60; for the new contract term is set to &#x60;renew&#x60;.
48
- \* evergreen - Contract term completes and the subscription renews. \* renew_once - Used when you want to renew the contract term just once. Does the following:
49
- * Contract term completes and a new contract term is started for the number of billing cycles specified in [&#x60;contract_billing_cycle_on_renewal&#x60;](subscriptions#create_subscription_for_customer_contract_term_billing_cycle_on_renewal).
50
- * The &#x60;action_at_term_end&#x60; for the new contract term is set to &#x60;cancel&#x60;.
51
- \* cancel - Contract term completes and subscription is canceled.
52
-
53
-
54
- */
55
-
56
- action_at_term_end:'cancel' | 'renew_once' | 'renew' | 'evergreen';
57
-
58
- /**
59
- * @description The sum of the [totals](invoices#invoice_total) of all the invoices raised as part of the contract term. For &#x60;active&#x60; contract terms, this is a predicted value. The value depends on the [type of currency](./#handling_currency_units). If the subscription was [imported](#import_a_subscription) with the contract term, then this value includes the value passed for &#x60;total_amount_raised&#x60;.
60
-
61
- */
62
-
63
- total_contract_value:number;
64
-
65
- /**
66
- * @description It refers to the total amount of revenue that is expected to be generated from a specific contract term, calculated as the sum of all invoices raised during the term, regardless of payment status. It is based on past performance and the specified currency in the contract. If the subscription was imported, the value for &#x60;total_amount_raised_before_tax&#x60; is included in the calculation of the total contract value before tax. It&#x27;s important to note that this value excludes any applicable taxes.
67
-
68
- */
69
-
70
- total_contract_value_before_tax:number;
71
-
72
- /**
73
- * @description The number of days before [&#x60;contract_end&#x60;](contract_terms#contract_term_contract_end), during which the customer is barred from canceling the contract term. The customer is allowed to cancel the contract term via the Self-Serve Portal only before this period. This allows you to have sufficient time for processing the contract term closure
74
-
75
- */
76
-
77
- cancellation_cutoff_period?:number;
78
-
79
- /**
80
- * @description The date when the contract term was created.
81
-
82
- */
83
-
84
- created_at:number;
85
-
86
- /**
87
- * @description The [Id](subscriptions#subscription_id) of the subscription that this contract term is for.
88
-
89
- */
90
-
91
- subscription_id:string;
92
-
93
- /**
94
- * @description The number of subscription billing cycles remaining after the current one for the contract term. This attribute is only returned for &#x60;active&#x60; contract terms.
95
-
96
- */
97
-
98
- remaining_billing_cycles?:number;
6
+ id: string;
7
+ status: 'active' | 'completed' | 'cancelled' | 'terminated';
8
+ contract_start: number;
9
+ contract_end: number;
10
+ billing_cycle: number;
11
+ action_at_term_end: 'renew' | 'evergreen' | 'cancel' | 'renew_once';
12
+ total_contract_value: number;
13
+ total_contract_value_before_tax: number;
14
+ cancellation_cutoff_period?: number;
15
+ created_at: number;
16
+ subscription_id: string;
17
+ remaining_billing_cycles?: number;
99
18
  }
100
- }
19
+ }