chargebee 2.50.0 → 2.52.0

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 (68) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/lib/chargebee.js +1 -1
  3. package/lib/resources/api_endpoints.js +37 -1
  4. package/package.json +1 -1
  5. package/types/core.d.ts +8 -5
  6. package/types/index.d.ts +3 -0
  7. package/types/resources/Address.d.ts +2 -194
  8. package/types/resources/AdvanceInvoiceSchedule.d.ts +5 -67
  9. package/types/resources/Attribute.d.ts +4 -1
  10. package/types/resources/BillingConfiguration.d.ts +21 -0
  11. package/types/resources/Brand.d.ts +12 -0
  12. package/types/resources/BusinessEntity.d.ts +8 -6
  13. package/types/resources/BusinessEntityTransfer.d.ts +10 -7
  14. package/types/resources/Card.d.ts +11 -311
  15. package/types/resources/Comment.d.ts +7 -124
  16. package/types/resources/Configuration.d.ts +2 -0
  17. package/types/resources/Contact.d.ts +2 -44
  18. package/types/resources/ContractTerm.d.ts +4 -72
  19. package/types/resources/Coupon.d.ts +0 -37
  20. package/types/resources/CouponCode.d.ts +67 -35
  21. package/types/resources/CouponSet.d.ts +12 -121
  22. package/types/resources/CreditNote.d.ts +2 -6
  23. package/types/resources/CreditNoteEstimate.d.ts +1 -1
  24. package/types/resources/Currency.d.ts +8 -5
  25. package/types/resources/Customer.d.ts +90 -89
  26. package/types/resources/Discount.d.ts +2 -89
  27. package/types/resources/Download.d.ts +2 -14
  28. package/types/resources/Entitlement.d.ts +15 -103
  29. package/types/resources/EntitlementOverride.d.ts +4 -89
  30. package/types/resources/Estimate.d.ts +6 -10
  31. package/types/resources/Event.d.ts +23 -108
  32. package/types/resources/Export.d.ts +116 -432
  33. package/types/resources/Feature.d.ts +17 -319
  34. package/types/resources/GatewayErrorDetail.d.ts +6 -48
  35. package/types/resources/Gift.d.ts +34 -294
  36. package/types/resources/Hierarchy.d.ts +4 -24
  37. package/types/resources/ImpactedItem.d.ts +4 -36
  38. package/types/resources/ImpactedItemPrice.d.ts +5 -2
  39. package/types/resources/ImpactedSubscription.d.ts +3 -30
  40. package/types/resources/InAppSubscription.d.ts +13 -355
  41. package/types/resources/Invoice.d.ts +26 -18
  42. package/types/resources/InvoiceEstimate.d.ts +1 -1
  43. package/types/resources/Item.d.ts +4 -9
  44. package/types/resources/ItemEntitlement.d.ts +15 -155
  45. package/types/resources/NonSubscription.d.ts +9 -6
  46. package/types/resources/OmnichannelSubscriptionItem.d.ts +9 -0
  47. package/types/resources/PaymentIntent.d.ts +9 -255
  48. package/types/resources/PaymentReferenceNumber.d.ts +3 -20
  49. package/types/resources/PaymentSource.d.ts +2 -2
  50. package/types/resources/PaymentVoucher.d.ts +20 -203
  51. package/types/resources/PortalSession.d.ts +4 -146
  52. package/types/resources/PromotionalCredit.d.ts +10 -215
  53. package/types/resources/Purchase.d.ts +3 -1
  54. package/types/resources/Quote.d.ts +68 -18
  55. package/types/resources/QuoteLineGroup.d.ts +1 -1
  56. package/types/resources/QuotedRamp.d.ts +142 -0
  57. package/types/resources/RecordedPurchase.d.ts +2 -0
  58. package/types/resources/ResourceMigration.d.ts +2 -54
  59. package/types/resources/SiteMigrationDetail.d.ts +13 -55
  60. package/types/resources/Subscription.d.ts +13 -9
  61. package/types/resources/SubscriptionEntitlement.d.ts +6 -106
  62. package/types/resources/SubscriptionEstimate.d.ts +14 -11
  63. package/types/resources/TaxWithheld.d.ts +14 -26
  64. package/types/resources/ThirdPartyPaymentMethod.d.ts +2 -19
  65. package/types/resources/TimeMachine.d.ts +3 -64
  66. package/types/resources/Token.d.ts +3 -60
  67. package/types/resources/Transaction.d.ts +2 -2
  68. package/types/resources/Usage.d.ts +21 -165
@@ -1,325 +1,142 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
2
3
  declare module 'chargebee' {
3
4
  export interface PaymentVoucher {
4
5
 
5
- /**
6
- * @description Uniquely identifies the payment voucher.
7
6
 
8
- */
9
-
10
7
  id:string;
11
-
12
- /**
13
- * @description The id with which this voucher is referred in gateway.
14
8
 
15
- */
16
-
17
9
  id_at_gateway?:string;
18
-
19
- /**
20
- * @description Type of the payment source. \* boleto - Boleto
21
10
 
22
- */
23
-
24
11
  payment_voucher_type:PaymentVoucherType;
25
-
26
- /**
27
- * @description Timestamp indicating when the Voucher will expire if left unconsumed.
28
12
 
29
- */
30
-
31
13
  expires_at?:number;
32
-
33
- /**
34
- * @description Current status of the payment voucher. \* consumed - Consumed for a transaction and cannot be used again \* expired - Expired before consumed and cannot be used again \* active - Active and ready to be consumed \* failure - Failed to create the voucher due to gateway rejection
35
14
 
36
- */
37
-
38
- status?:'consumed' | 'expired' | 'failure' | 'active';
39
-
40
- /**
41
- * @description Identifier of the subscription for which this payment voucher is made.
15
+ status?:'active' | 'consumed' | 'expired' | 'failure';
42
16
 
43
- */
44
-
45
17
  subscription_id?:string;
46
-
47
- /**
48
- * @description The currency code (ISO 4217 format) for the voucher.
49
18
 
50
- */
51
-
52
19
  currency_code:string;
53
-
54
- /**
55
- * @description Amount for this payment voucher.
56
20
 
57
- */
58
-
59
21
  amount?:number;
60
-
61
- /**
62
- * @description The gateway account used for this voucher
63
22
 
64
- */
65
-
66
23
  gateway_account_id?:string;
67
-
68
- /**
69
- * @description Identifier of the payment source for which this payment voucher is created
70
24
 
71
- */
72
-
73
25
  payment_source_id?:string;
74
-
75
- /**
76
- * @description The gateway through which this payment voucher was created.
77
- **Note** : Note: Currently, &#x60;stripe&#x60; is the only supported gateway through which you can create the payment voucher. \* ecentric - Ecentric provides a seamless payment processing service in South Africa specializing on omnichannel capabilities. \* bluesnap - BlueSnap is a payment gateway. \* tco - 2Checkout is a payment gateway. \* first_data_global - First Data Global Gateway Virtual Terminal Account \* exact - Exact Payments is a payment gateway. \* bluepay - BluePay is a payment gateway. \* paypal_express_checkout - PayPal Express Checkout is a payment gateway. \* eway - eWAY Account is a payment gateway. \* metrics_global - Metrics global is a leading payment service provider providing unified payment services in the US. \* paypal_payflow_pro - PayPal Payflow Pro is a payment gateway. \* razorpay - Razorpay is a fast growing payment service provider in India working with all leading banks and support for major local payment methods including Netbanking, UPI etc. \* global_payments - Global Payments is a payment service provider. \* amazon_payments - Amazon Payments is a payment service provider. \* not_applicable - Indicates that payment gateway is not applicable for this resource. \* windcave - Windcave provides an end to end payment processing solution in ANZ and other leading global markets. \* checkout_com - Checkout.com is a payment gateway. \* adyen - Adyen is a payment gateway. \* braintree - Braintree is a payment gateway. \* nmi - NMI is a payment gateway. \* quickbooks - Intuit QuickBooks Payments gateway \* wepay - WePay is a payment gateway. \* worldpay - WorldPay is a payment gateway \* wirecard - WireCard Account is a payment service provider. \* chargebee_payments - Chargebee Payments gateway \* sage_pay - Sage Pay is a payment gateway. \* moneris_us - Moneris USA is a payment gateway. \* pin - Pin is a payment gateway \* authorize_net - Authorize.net is a payment gateway \* elavon - Elavon Virtual Merchant is a payment solution. \* paypal_pro - PayPal Pro Account is a payment gateway. \* orbital - Chase Paymentech(Orbital) is a payment gateway. \* paypal - PayPal Commerce is a payment gateway. \* beanstream - Bambora(formerly known as Beanstream) is a payment gateway. \* hdfc - HDFC Account is a payment gateway. \* ingenico_direct - Worldline Online Payments is a payment gateway. \* ogone - Ingenico ePayments (formerly known as Ogone) is a payment gateway. \* migs - MasterCard Internet Gateway Service payment gateway. \* stripe - Stripe is a payment gateway. \* vantiv - Vantiv is a payment gateway. \* moneris - Moneris is a payment gateway. \* bank_of_america - Bank of America Gateway \* chargebee - Chargebee test gateway. \* eway_rapid - eWAY Rapid is a payment gateway. \* gocardless - GoCardless is a payment service provider. \* mollie - Mollie is a payment gateway. \* paymill - PAYMILL is a payment gateway. \* balanced_payments - Balanced is a payment gateway \* cybersource - CyberSource is a payment gateway. \* ebanx - EBANX is a payment gateway, enabling businesses to accept diverse local payment methods from various countries for increased market reach and conversion.
78
26
 
79
- */
80
-
81
27
  gateway:Gateway;
82
-
83
- /**
84
- * @description Payload from the gateway response with voucher details
85
28
 
86
- */
87
-
88
29
  payload?:string;
89
-
90
- /**
91
- * @description Error code received from the payment gateway on failure.
92
30
 
93
- */
94
-
95
31
  error_code?:string;
96
-
97
- /**
98
- * @description Error message received from the payment gateway on failure.
99
32
 
100
- */
101
-
102
33
  error_text?:string;
103
-
104
- /**
105
- * @description Chargebee Hosted Page url for payment voucher
106
34
 
107
- */
108
-
109
35
  url?:string;
110
-
111
- /**
112
- * @description Indicates when this payment voucher occurred date.
113
36
 
114
- */
115
-
116
37
  date?:number;
117
-
118
- /**
119
- * @description Version number of this resource. The &#x60;resource_version&#x60; is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
120
38
 
121
- */
122
-
123
39
  resource_version?:number;
124
-
125
- /**
126
- * @description Timestamp indicating when this voucher was last updated.
127
40
 
128
- */
129
-
130
41
  updated_at?:number;
131
-
132
- /**
133
- * @description The unique identifier of the customer.
134
42
 
135
- */
136
-
137
43
  customer_id:string;
138
-
139
- /**
140
- * @description Invoices related to the generated voucher
141
44
 
142
- */
143
-
144
- linked_invoices?:PaymentVoucher.InvoicePaymentVoucher[];
45
+ linked_invoices?:PaymentVoucher.LinkedInvoice[];
46
+
145
47
  }
146
48
  export namespace PaymentVoucher {
147
49
  export class PaymentVoucherResource {
148
- /**
149
- * @description Creates a voucher type payment source. If you create this voucher type payment source using customer details, like tax ID, you can then generate a voucher with that payment source.
150
-
151
- */
152
-
153
50
  create(input:CreateInputParam):ChargebeeRequest<CreateResponse>;
154
51
 
155
- /**
156
- * @description Retrieves a voucher using the unique &#x60;payment_voucher_id&#x60;.
157
-
158
- */
159
-
160
52
  retrieve(payment_voucher_id:string):ChargebeeRequest<RetrieveResponse>;
161
53
 
162
- /**
163
- * @description Retrieves vouchers for an invoice in reverse chronological order.
164
-
165
- */
166
-
167
- payment_vouchers_for_invoice(invoice_id:string, input?:Payment_vouchersForInvoiceInputParam):ChargebeeRequest<Payment_vouchersForInvoiceResponse>;
54
+ payment_vouchers_for_invoice(invoice_id:string, input?:Payment_vouchersForInvoiceInputParam):ChargebeeRequest<PaymentVouchersForInvoiceResponse>;
168
55
 
169
- /**
170
- * @description Retrieves vouchers for a customer in reverse chronological order.
171
-
172
- */
173
-
174
- payment_vouchers_for_customer(customer_id:string, input?:Payment_vouchersForCustomerInputParam):ChargebeeRequest<Payment_vouchersForCustomerResponse>;
56
+ payment_vouchers_for_customer(customer_id:string, input?:Payment_vouchersForCustomerInputParam):ChargebeeRequest<PaymentVouchersForCustomerResponse>;
175
57
  }
176
58
  export interface CreateResponse {
177
59
  payment_voucher:PaymentVoucher;
178
60
  }
179
61
  export interface CreateInputParam {
180
62
 
181
- /**
182
- * @description The unique identifier of the customer for whom you want to create the voucher.
183
-
184
- */
63
+ voucher_payment_source:{voucher_type:VoucherType};
185
64
 
186
- customer_id:string;
65
+ invoice_allocations:{invoice_id:string}[];
187
66
 
188
- /**
189
- * @description The identifier of the payment source used for generating the voucher.
190
-
191
- */
67
+ customer_id:string;
192
68
 
193
69
  payment_source_id?:string;
194
-
195
- /**
196
- * @description Parameters for voucher_payment_source
197
-
198
- */
199
-
200
- voucher_payment_source:{voucher_type:VoucherType};
201
-
202
- /**
203
- * @description Parameters for &#x60;invoice_allocations&#x60;
204
-
205
- */
206
-
207
- invoice_allocations:{invoice_id:string}[];
208
70
  }
209
71
  export interface RetrieveResponse {
210
72
  payment_voucher:PaymentVoucher;
211
73
  }
212
74
 
213
- export interface Payment_vouchersForInvoiceResponse {
214
- /**
215
- * @description Retrieves vouchers for an invoice in reverse chronological order.
216
-
217
- */
218
-
75
+ export interface PaymentVouchersForInvoiceResponse {
219
76
  list:{payment_voucher:PaymentVoucher}[];
220
77
 
221
- /**
222
- * @description Retrieves vouchers for an invoice in reverse chronological order.
223
-
224
- */
225
-
226
78
  next_offset?:string;
227
79
  }
228
80
  export interface Payment_vouchersForInvoiceInputParam {
229
81
  [key : string]: any;
230
82
  /**
231
- * @description Retrieves vouchers for an invoice in reverse chronological order.
83
+ * @description The number of resources to be returned.
232
84
 
233
85
  */
234
86
 
235
87
  limit?:number;
236
88
 
237
89
  /**
238
- * @description Retrieves vouchers for an invoice in reverse chronological order.
90
+ * @description Determines your position in the list for pagination. To ensure that the next page is retrieved correctly, always set \&#x60;offset\&#x60; to the value of \&#x60;next_offset\&#x60; obtained in the previous iteration of the API call.
239
91
 
240
92
  */
241
93
 
242
94
  offset?:string;
243
95
 
244
96
  /**
245
- * @description Retrieves vouchers for an invoice in reverse chronological order.
97
+ * @description Current status of Payment Voucher.
246
98
 
247
99
  */
248
100
 
249
- status?:{in?:string,is?:'consumed' | 'expired' | 'failure' | 'active',is_not?:'consumed' | 'expired' | 'failure' | 'active',not_in?:string};
101
+ status?:{in?:string,is?:'active' | 'consumed' | 'expired' | 'failure',is_not?:'active' | 'consumed' | 'expired' | 'failure',not_in?:string};
250
102
 
251
- /**
252
- * @description Retrieves vouchers for an invoice in reverse chronological order.
253
-
254
- */
255
-
256
103
  sort_by?:{asc?:'date' | 'updated_at',desc?:'date' | 'updated_at'};
257
104
  }
258
- export interface Payment_vouchersForCustomerResponse {
259
- /**
260
- * @description Retrieves vouchers for a customer in reverse chronological order.
261
-
262
- */
263
-
105
+ export interface PaymentVouchersForCustomerResponse {
264
106
  list:{payment_voucher:PaymentVoucher}[];
265
107
 
266
- /**
267
- * @description Retrieves vouchers for a customer in reverse chronological order.
268
-
269
- */
270
-
271
108
  next_offset?:string;
272
109
  }
273
110
  export interface Payment_vouchersForCustomerInputParam {
274
111
  [key : string]: any;
275
112
  /**
276
- * @description Retrieves vouchers for a customer in reverse chronological order.
113
+ * @description The number of resources to be returned.
277
114
 
278
115
  */
279
116
 
280
117
  limit?:number;
281
118
 
282
119
  /**
283
- * @description Retrieves vouchers for a customer in reverse chronological order.
120
+ * @description Determines your position in the list for pagination. To ensure that the next page is retrieved correctly, always set \&#x60;offset\&#x60; to the value of \&#x60;next_offset\&#x60; obtained in the previous iteration of the API call.
284
121
 
285
122
  */
286
123
 
287
124
  offset?:string;
288
125
 
289
126
  /**
290
- * @description Retrieves vouchers for a customer in reverse chronological order.
127
+ * @description Current status of Payment Voucher.
291
128
 
292
129
  */
293
130
 
294
- status?:{in?:string,is?:'consumed' | 'expired' | 'failure' | 'active',is_not?:'consumed' | 'expired' | 'failure' | 'active',not_in?:string};
131
+ status?:{in?:string,is?:'active' | 'consumed' | 'expired' | 'failure',is_not?:'active' | 'consumed' | 'expired' | 'failure',not_in?:string};
295
132
 
296
- /**
297
- * @description Retrieves vouchers for a customer in reverse chronological order.
298
-
299
- */
300
-
301
133
  sort_by?:{asc?:'date' | 'updated_at',desc?:'date' | 'updated_at'};
302
134
  }
303
- export interface InvoicePaymentVoucher {
304
- /**
305
- * @description Identifier for the invoice.
306
-
307
- */
308
-
135
+ export interface LinkedInvoice {
309
136
  invoice_id:string;
310
137
 
311
- /**
312
- * @description Uniquely identifies the payment voucher.
313
-
314
- */
315
-
316
138
  txn_id:string;
317
139
 
318
- /**
319
- * @description Timestamp at which the transaction is applied.
320
-
321
- */
322
-
323
140
  applied_at:number;
324
141
  }
325
142
  }
@@ -1,139 +1,44 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
2
3
  declare module 'chargebee' {
3
4
  export interface PortalSession {
4
5
 
5
- /**
6
- * @description Unique identifier for the portal session.
7
6
 
8
- */
9
-
10
7
  id:string;
11
-
12
- /**
13
- * @description Unique pre-authenticated portal session token to access customer portal directly.
14
8
 
15
- */
16
-
17
9
  token:string;
18
-
19
- /**
20
- * @description Unique URL for accessing the customer portal. Once accessed, this cannot be reused.
21
10
 
22
- */
23
-
24
11
  access_url:string;
25
-
26
- /**
27
- * @description URL to redirect when the user logs out from the portal.
28
12
 
29
- */
30
-
31
13
  redirect_url?:string;
32
-
33
- /**
34
- * @description Indicates the current status of the portal session. \* created - Indicates that the portal session is just created and not yet accessed by the user. \* logged_out - Indicates that the portal session is logged out either by user or via API. \* not_yet_activated - Indicates that the portal session is created and not yet activated for the customer to allow access to your website. This is applicable when you use Chargebee&#x27;s authentication for your website \* activated - Indicates that the portal session is activated for the customer to allow access to your website. This is applicable when you use Chargebee&#x27;s authentication for your website. \* logged_in - Indicates that the portal session URL has been accessed by the user and the session is active.
35
14
 
36
- */
37
-
38
- status:'not_yet_activated' | 'created' | 'logged_in' | 'logged_out' | 'activated';
39
-
40
- /**
41
- * @description Timestamp indicating when this portal session was generated.
15
+ status:'created' | 'logged_in' | 'logged_out' | 'not_yet_activated' | 'activated';
42
16
 
43
- */
44
-
45
17
  created_at:number;
46
-
47
- /**
48
- * @description Timestamp indicating when the access URL will expire. Once expired, the URL cannot be used to login into the portal.
49
18
 
50
- */
51
-
52
19
  expires_at?:number;
53
-
54
- /**
55
- * @description Identifier of the customer.
56
20
 
57
- */
58
-
59
21
  customer_id:string;
60
-
61
- /**
62
- * @description Timestamp indicating when this portal session URL was accessed by the user.
63
22
 
64
- */
65
-
66
23
  login_at?:number;
67
-
68
- /**
69
- * @description Timestamp indicating when this portal session was logged out either by user or via API.
70
24
 
71
- */
72
-
73
25
  logout_at?:number;
74
-
75
- /**
76
- * @description IP Address from which the portal session URL was accessed.
77
26
 
78
- */
79
-
80
27
  login_ipaddress?:string;
81
-
82
- /**
83
- * @description IP Address from which the portal session was logged out either by user or via API.
84
28
 
85
- */
86
-
87
29
  logout_ipaddress?:string;
88
-
89
- /**
90
- * @description The list of customers for this session
91
30
 
92
- */
93
-
94
31
  linked_customers?:PortalSession.LinkedCustomer[];
32
+
95
33
  }
96
34
  export namespace PortalSession {
97
35
  export class PortalSessionResource {
98
- /**
99
- * @description Creates a portal session for a customer. The session resource in the response contains the access URL. Forward the customer to that access URL. If you would like to logout the customer later via API call, you need to store the id of the portal session resource returned by this API. While creating a session, you also need to pass the redirect URL to which your customers will be sent to upon logout from the portal UI.
100
-
101
- */
102
-
103
36
  create(input:CreateInputParam):ChargebeeRequest<CreateResponse>;
104
37
 
105
- /**
106
- * @description This API retrieves a portal session using &#x60;portal_session_id&#x60; as a path parameter.
107
-
108
- */
109
-
110
38
  retrieve(portal_session_id:string):ChargebeeRequest<RetrieveResponse>;
111
39
 
112
- /**
113
- * @description Logs out the portal session. Typically this should be called when customers logout of your application.
114
-
115
- If this API is called for a Portal Session that currently is in :
116
-
117
- * &quot;created&quot; status, the session status will be marked as &quot;logged_out&quot; and the access URL will become invalid.
118
- * &quot;logged_in&quot; status, the session status will be marked as &quot;logged_out&quot; and customer will not be able to use that session.
119
- * &quot;logged_out&quot; status, this will return normally without changing any attribute of this resource.
120
-
121
- */
122
-
123
40
  logout(portal_session_id:string):ChargebeeRequest<LogoutResponse>;
124
41
 
125
- /**
126
- * @description When an user is sent back to your return URL with session details, you should validate that information by calling this API. The details passed to the **return_url** should be sent as below:
127
-
128
- * **auth_session_id** - this should be sent as part of the endpoint.
129
- * **auth_session_token** - this should be sent as value for the input parameter **token**.
130
-
131
-
132
-
133
- **Note:** This API is not applicable for [in-app](https://www.chargebee.com/docs/v3-self-serve-portal.html) portal.
134
-
135
- */
136
-
137
42
  activate(portal_session_id:string, input:ActivateInputParam):ChargebeeRequest<ActivateResponse>;
138
43
  }
139
44
  export interface CreateResponse {
@@ -141,28 +46,11 @@ If this API is called for a Portal Session that currently is in :
141
46
  }
142
47
  export interface CreateInputParam {
143
48
 
144
- /**
145
- * @description URL to redirect when the user logs out from the portal.
146
-
147
- */
49
+ customer:{id:string};
148
50
 
149
51
  redirect_url?:string;
150
52
 
151
- /**
152
- * @description By default access_url redirects the customer to the portal home page. If you would like to redirect the customer to a different URL, you can use this parameter to do so.
153
-
154
- **Note:** This parameter is not applicable for [in-app](https://www.chargebee.com/docs/v3-self-serve-portal.html) portal.
155
-
156
- */
157
-
158
53
  forward_url?:string;
159
-
160
- /**
161
- * @description Parameters for customer
162
-
163
- */
164
-
165
- customer:{id:string};
166
54
  }
167
55
  export interface RetrieveResponse {
168
56
  portal_session:PortalSession;
@@ -177,47 +65,17 @@ If this API is called for a Portal Session that currently is in :
177
65
  }
178
66
  export interface ActivateInputParam {
179
67
 
180
- /**
181
- * @description Unique pre-authenticated portal session token to access customer portal directly.
182
-
183
- */
184
-
185
68
  token:string;
186
69
  }
187
70
  export interface LinkedCustomer {
188
- /**
189
- * @description Identifier of the customer.
190
-
191
- */
192
-
193
71
  customer_id:string;
194
72
 
195
- /**
196
- * @description Email of the customer. Configured email notifications will be sent to this email.
197
-
198
- */
199
-
200
73
  email?:string;
201
74
 
202
- /**
203
- * @description The customer has billing address.
204
-
205
- */
206
-
207
75
  has_billing_address:boolean;
208
76
 
209
- /**
210
- * @description The customer has payment method.
211
-
212
- */
213
-
214
77
  has_payment_method:boolean;
215
78
 
216
- /**
217
- * @description The customer has atleast one active subscription.
218
-
219
- */
220
-
221
79
  has_active_subscription:boolean;
222
80
  }
223
81
  }