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,98 +1,38 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
2
3
  declare module 'chargebee' {
3
4
  export interface CouponSet {
4
5
 
5
- /**
6
- * @description Uniquely identifies a coupon_set
7
6
 
8
- */
9
-
10
7
  id:string;
11
-
12
- /**
13
- * @description Coupon id linked to coupon set
14
8
 
15
- */
16
-
17
9
  coupon_id:string;
18
-
19
- /**
20
- * @description Name of the coupon set
21
10
 
22
- */
23
-
24
11
  name:string;
25
-
26
- /**
27
- * @description No of coupon codes present in coupon set
28
12
 
29
- */
30
-
31
13
  total_count?:number;
32
-
33
- /**
34
- * @description No of redeemed codes
35
14
 
36
- */
37
-
38
15
  redeemed_count?:number;
39
-
40
- /**
41
- * @description No of archived codes
42
16
 
43
- */
44
-
45
17
  archived_count?:number;
18
+
19
+ meta_data?:object;
20
+
46
21
  }
47
22
  export namespace CouponSet {
48
23
  export class CouponSetResource {
49
- /**
50
- * @description Create a coupon set with a coupon code compatible to your product offers and promotional discounts
51
-
52
- */
53
-
54
24
  create(input:CreateInputParam):ChargebeeRequest<CreateResponse>;
55
25
 
56
- /**
57
- * @description This API add coupon codes to an existing coupon set.
58
-
59
- */
60
-
61
26
  add_coupon_codes(coupon_set_id:string, input?:AddCouponCodesInputParam):ChargebeeRequest<AddCouponCodesResponse>;
62
27
 
63
- /**
64
- * @description Use this API to get the list of all the coupon sets.
65
-
66
- */
67
-
68
28
  list(input?:ListInputParam):ChargebeeRequest<ListResponse>;
69
29
 
70
- /**
71
- * @description Use this API to retrieve a specific coupon set.
72
-
73
- */
74
-
75
30
  retrieve(coupon_set_id:string):ChargebeeRequest<RetrieveResponse>;
76
31
 
77
- /**
78
- * @description Use this API to update a specific coupon set by updating its &#x60;name&#x60; and the &#x60;meta_data&#x60;.
79
-
80
- */
81
-
82
32
  update(coupon_set_id:string, input?:UpdateInputParam):ChargebeeRequest<UpdateResponse>;
83
33
 
84
- /**
85
- * @description Use this endpoint to delete a specific coupon set
86
-
87
- */
88
-
89
34
  delete(coupon_set_id:string):ChargebeeRequest<DeleteResponse>;
90
35
 
91
- /**
92
- * @description Use this API to delete all the unutilised coupon codes from a specific coupon set.
93
-
94
- */
95
-
96
36
  delete_unused_coupon_codes(coupon_set_id:string):ChargebeeRequest<DeleteUnusedCouponCodesResponse>;
97
37
  }
98
38
  export interface CreateResponse {
@@ -100,34 +40,12 @@ declare module 'chargebee' {
100
40
  }
101
41
  export interface CreateInputParam {
102
42
 
103
- /**
104
- * @description Coupon id linked to coupon set.
105
-
106
- */
107
-
108
43
  coupon_id:string;
109
44
 
110
- /**
111
- * @description Name of the coupon set.
112
-
113
- */
114
-
115
45
  name:string;
116
46
 
117
- /**
118
- * @description Uniquely identifies a coupon_set.
119
-
120
- */
121
-
122
47
  id:string;
123
48
 
124
- /**
125
- * @description A collection of key-value pairs that provides extra information about the coupon set.
126
- **Note:** There&#x27;s a character limit of 65,535.
127
- [Learn more](advanced-features?prod_cat_ver&#x3D;2#metadata).
128
-
129
- */
130
-
131
49
  meta_data?:object;
132
50
  }
133
51
  export interface AddCouponCodesResponse {
@@ -135,81 +53,66 @@ declare module 'chargebee' {
135
53
  }
136
54
  export interface AddCouponCodesInputParam {
137
55
 
138
- /**
139
- * @description You can pass up to 100 values per API call. You can also use the Chargebee UI to pass up to 1000 codes per operation. There is no limit on the total number of coupon codes that can be included in a coupon set.
140
-
141
- */
142
-
143
56
  code?:string[];
144
57
  }
145
58
  export interface ListResponse {
146
- /**
147
- * @description Use this API to get the list of all the coupon sets.
148
-
149
- */
150
-
151
59
  list:{coupon_set:CouponSet}[];
152
60
 
153
- /**
154
- * @description Use this API to get the list of all the coupon sets.
155
-
156
- */
157
-
158
61
  next_offset?:string;
159
62
  }
160
63
  export interface ListInputParam {
161
64
  [key : string]: any;
162
65
  /**
163
- * @description Use this API to get the list of all the coupon sets.
66
+ * @description The number of resources to be returned.
164
67
 
165
68
  */
166
69
 
167
70
  limit?:number;
168
71
 
169
72
  /**
170
- * @description Use this API to get the list of all the coupon sets.
73
+ * @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.
171
74
 
172
75
  */
173
76
 
174
77
  offset?:string;
175
78
 
176
79
  /**
177
- * @description Use this API to get the list of all the coupon sets.
80
+ * @description Uniquely identifies a coupon_set
178
81
 
179
82
  */
180
83
 
181
84
  id?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
182
85
 
183
86
  /**
184
- * @description Use this API to get the list of all the coupon sets.
87
+ * @description Name of the coupon set
185
88
 
186
89
  */
187
90
 
188
91
  name?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
189
92
 
190
93
  /**
191
- * @description Use this API to get the list of all the coupon sets.
94
+ * @description Coupon id linked to coupon set
192
95
 
193
96
  */
194
97
 
195
98
  coupon_id?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
196
99
 
197
100
  /**
198
- * @description Use this API to get the list of all the coupon sets.
101
+ * @description No of coupon codes present in coupon set
199
102
 
200
103
  */
201
104
 
202
105
  total_count?:{between?:string,gt?:string,gte?:string,is?:string,is_not?:string,lt?:string,lte?:string};
203
106
 
204
107
  /**
205
- * @description Use this API to get the list of all the coupon sets.
108
+ * @description No of redeemed codes
206
109
 
207
110
  */
208
111
 
209
112
  redeemed_count?:{between?:string,gt?:string,gte?:string,is?:string,is_not?:string,lt?:string,lte?:string};
210
113
 
211
114
  /**
212
- * @description Use this API to get the list of all the coupon sets.
115
+ * @description No of archived codes
213
116
 
214
117
  */
215
118
 
@@ -224,20 +127,8 @@ declare module 'chargebee' {
224
127
  }
225
128
  export interface UpdateInputParam {
226
129
 
227
- /**
228
- * @description Name of the coupon set.
229
-
230
- */
231
-
232
130
  name?:string;
233
131
 
234
- /**
235
- * @description A collection of key-value pairs that provides extra information about the coupon set.
236
- **Note:** There&#x27;s a character limit of 65,535.
237
- [Learn more](advanced-features?prod_cat_ver&#x3D;2#metadata).
238
-
239
- */
240
-
241
132
  meta_data?:object;
242
133
  }
243
134
  export interface DeleteResponse {
@@ -163,9 +163,7 @@ declare module 'chargebee' {
163
163
  }
164
164
  export interface RetrieveInputParam {
165
165
 
166
- line_items_limit?:number;
167
-
168
- line_items_offset?:string;
166
+ line_item?:{customer_id?:{is?:string},subscription_id?:{is?:string}};
169
167
  }
170
168
  export interface PdfResponse {
171
169
  download:Download;
@@ -239,8 +237,6 @@ declare module 'chargebee' {
239
237
 
240
238
  einvoice?:{status?:{in?:string,is?:'scheduled' | 'skipped' | 'in_progress' | 'success' | 'failed' | 'registered',is_not?:'scheduled' | 'skipped' | 'in_progress' | 'success' | 'failed' | 'registered',not_in?:string}};
241
239
 
242
- show_exempted_tax_lines?:boolean;
243
-
244
240
  /**
245
241
  * @description Indicates whether to include deleted objects in the list. The deleted objects have the attribute \&#x60;deleted\&#x60; as \&#x60;true\&#x60;.
246
242
 
@@ -506,7 +502,7 @@ NOTE: Not to be used if *consolidated invoicing* feature is enabled.
506
502
 
507
503
  metered?:boolean;
508
504
 
509
- percentage?:string;
505
+ is_percentage_pricing?:boolean;
510
506
 
511
507
  reference_line_item_id?:string;
512
508
 
@@ -75,7 +75,7 @@ declare module 'chargebee' {
75
75
 
76
76
  metered?:boolean;
77
77
 
78
- percentage?:string;
78
+ is_percentage_pricing?:boolean;
79
79
 
80
80
  reference_line_item_id?:string;
81
81
 
@@ -1,18 +1,21 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
2
3
  declare module 'chargebee' {
3
4
  export interface Currency {
4
5
 
6
+
5
7
  id?:string;
6
-
8
+
7
9
  enabled:boolean;
8
-
10
+
9
11
  forex_type?:'manual' | 'auto';
10
-
12
+
11
13
  currency_code?:string;
12
-
14
+
13
15
  is_base_currency?:boolean;
14
-
16
+
15
17
  manual_exchange_rate?:string;
18
+
16
19
  }
17
20
  export namespace Currency {
18
21
  export class CurrencyResource {
@@ -3,157 +3,139 @@
3
3
  declare module 'chargebee' {
4
4
  export interface Customer {
5
5
  [key : string] : any;
6
- /**
7
- * @description Identifier of the customer.
8
6
 
9
- */
10
-
11
7
  id:string;
12
-
13
- /**
14
- * @description First name of the customer
15
8
 
16
- */
17
-
18
9
  first_name?:string;
19
-
20
- /**
21
- * @description Last name of the customer
22
10
 
23
- */
24
-
25
11
  last_name?:string;
26
-
27
- /**
28
- * @description Email of the customer. Configured email notifications will be sent to this email.
29
12
 
30
- */
31
-
32
13
  email?:string;
33
-
14
+
34
15
  phone?:string;
35
-
16
+
36
17
  company?:string;
37
-
18
+
38
19
  vat_number?:string;
39
-
20
+
40
21
  auto_collection:AutoCollection;
41
-
22
+
42
23
  offline_payment_method?:OfflinePaymentMethod;
43
-
24
+
44
25
  net_term_days:number;
45
-
26
+
46
27
  vat_number_validated_time?:number;
47
-
28
+
48
29
  vat_number_status?:'valid' | 'invalid' | 'not_validated' | 'undetermined';
49
-
30
+
50
31
  allow_direct_debit:boolean;
51
-
32
+
52
33
  is_location_valid?:boolean;
53
-
34
+
54
35
  created_at:number;
55
-
36
+
56
37
  created_from_ip?:string;
57
-
38
+
58
39
  exemption_details?:any[];
59
-
40
+
60
41
  taxability?:Taxability;
61
-
42
+
62
43
  entity_code?:EntityCode;
63
-
44
+
64
45
  exempt_number?:string;
65
-
46
+
66
47
  resource_version?:number;
67
-
48
+
68
49
  updated_at?:number;
69
-
50
+
70
51
  locale?:string;
71
-
52
+
72
53
  billing_date?:number;
73
-
54
+
74
55
  billing_month?:number;
75
-
56
+
76
57
  billing_date_mode?:BillingDateMode;
77
-
58
+
78
59
  billing_day_of_week?:'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
79
-
60
+
80
61
  billing_day_of_week_mode?:BillingDayOfWeekMode;
81
-
62
+
82
63
  pii_cleared?:'active' | 'scheduled_for_clear' | 'cleared';
83
-
64
+
84
65
  auto_close_invoices?:boolean;
85
-
66
+
86
67
  channel?:Channel;
87
-
68
+
88
69
  active_id?:string;
89
-
70
+
90
71
  card_status?:'no_card' | 'valid' | 'expiring' | 'expired' | 'pending_verification' | 'invalid';
91
-
72
+
92
73
  fraud_flag?:'safe' | 'suspicious' | 'fraudulent';
93
-
74
+
94
75
  primary_payment_source_id?:string;
95
-
76
+
96
77
  backup_payment_source_id?:string;
97
-
78
+
98
79
  billing_address?:Customer.BillingAddress;
99
-
80
+
100
81
  referral_urls?:Customer.ReferralUrl[];
101
-
82
+
102
83
  contacts?:Customer.Contact[];
103
-
84
+
104
85
  payment_method?:Customer.PaymentMethod;
105
-
86
+
106
87
  invoice_notes?:string;
107
-
88
+
108
89
  business_entity_id?:string;
109
-
90
+
110
91
  preferred_currency_code?:string;
111
-
92
+
112
93
  promotional_credits:number;
113
-
94
+
114
95
  unbilled_charges:number;
115
-
96
+
116
97
  refundable_credits:number;
117
-
98
+
118
99
  excess_payments:number;
119
-
100
+
120
101
  balances?:Customer.Balance[];
121
-
102
+
122
103
  entity_identifiers?:Customer.EntityIdentifier[];
123
-
104
+
124
105
  tax_providers_fields?:Customer.TaxProvidersField[];
125
-
106
+
126
107
  is_einvoice_enabled?:boolean;
127
-
108
+
128
109
  einvoicing_method?:EinvoicingMethod;
129
-
110
+
130
111
  meta_data?:object;
131
-
112
+
132
113
  deleted:boolean;
133
-
114
+
134
115
  registered_for_gst?:boolean;
135
-
116
+
136
117
  consolidated_invoicing?:boolean;
137
-
118
+
138
119
  customer_type?:CustomerType;
139
-
120
+
140
121
  business_customer_without_vat_number?:boolean;
141
-
122
+
142
123
  client_profile_id?:string;
143
-
124
+
144
125
  relationship?:Customer.Relationship;
145
-
126
+
146
127
  use_default_hierarchy_settings?:boolean;
147
-
128
+
148
129
  parent_account_access?:Customer.ParentAccountAccess;
149
-
130
+
150
131
  child_account_access?:Customer.ChildAccountAccess;
151
-
132
+
152
133
  vat_number_prefix?:string;
153
-
134
+
154
135
  entity_identifier_scheme?:string;
155
-
136
+
156
137
  entity_identifier_standard?:string;
138
+
157
139
  }
158
140
  export namespace Customer {
159
141
  export class CustomerResource {
@@ -205,6 +187,8 @@ declare module 'chargebee' {
205
187
 
206
188
  hierarchy(customer_id:string, input:HierarchyInputParam):ChargebeeRequest<HierarchyResponse>;
207
189
 
190
+ list_hierarchy_detail(customer_id:string, input:ListHierarchyDetailInputParam):ChargebeeRequest<ListHierarchyDetailResponse>;
191
+
208
192
  update_hierarchy_settings(customer_id:string, input?:UpdateHierarchySettingsInputParam):ChargebeeRequest<UpdateHierarchySettingsResponse>;
209
193
  }
210
194
  export interface CreateResponse {
@@ -220,7 +204,7 @@ declare module 'chargebee' {
220
204
 
221
205
  payment_method?:{additional_information?:object,gateway?:Gateway,gateway_account_id?:string,issuing_country?:string,reference_id?:string,tmp_token?:string,type?:Type};
222
206
 
223
- payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_payment_method_id?:string,gw_token?:string,id?:string,payment_method_type?:'card' | 'ideal' | 'sofort' | 'bancontact' | 'google_pay' | 'dotpay' | 'giropay' | 'apple_pay' | 'upi' | 'netbanking_emandates' | 'paypal_express_checkout' | 'direct_debit' | 'boleto' | 'venmo' | 'amazon_payments' | 'pay_to' | 'faster_payments' | 'sepa_instant_transfer' | 'klarna_pay_now' | 'online_banking_poland',reference_id?:string};
207
+ payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_payment_method_id?:string,gw_token?:string,id?:string,payment_method_type?:'card' | 'ideal' | 'sofort' | 'bancontact' | 'google_pay' | 'dotpay' | 'giropay' | 'apple_pay' | 'upi' | 'netbanking_emandates' | 'paypal_express_checkout' | 'direct_debit' | 'boleto' | 'venmo' | 'amazon_payments' | 'pay_to' | 'faster_payments' | 'sepa_instant_transfer' | 'klarna_pay_now' | 'online_banking_poland' | 'payconiq_by_bancontact',reference_id?:string};
224
208
 
225
209
  billing_address?:{city?:string,company?:string,country?:string,email?:string,first_name?:string,last_name?:string,line1?:string,line2?:string,line3?:string,phone?:string,state?:string,state_code?:string,validation_status?:ValidationStatus,zip?:string};
226
210
 
@@ -331,8 +315,6 @@ declare module 'chargebee' {
331
315
 
332
316
  include_deleted?:boolean;
333
317
 
334
- include_deprecated?:boolean;
335
-
336
318
  /**
337
319
  * @description Identifier of the customer.
338
320
 
@@ -662,7 +644,7 @@ The ID of the business entity created for the site. For Product Catalog 1.0, all
662
644
 
663
645
  card?:{additional_information?:object,billing_addr1?:string,billing_addr2?:string,billing_city?:string,billing_country?:string,billing_state?:string,billing_state_code?:string,billing_zip?:string,cvv?:string,expiry_month?:number,expiry_year?:number,first_name?:string,gateway_account_id?:string,last_name?:string,number?:string,preferred_scheme?:'cartes_bancaires' | 'mastercard' | 'visa'};
664
646
 
665
- payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_payment_method_id?:string,gw_token?:string,id?:string,payment_method_type?:'card' | 'ideal' | 'sofort' | 'bancontact' | 'google_pay' | 'dotpay' | 'giropay' | 'apple_pay' | 'upi' | 'netbanking_emandates' | 'paypal_express_checkout' | 'direct_debit' | 'boleto' | 'venmo' | 'amazon_payments' | 'pay_to' | 'faster_payments' | 'sepa_instant_transfer' | 'klarna_pay_now' | 'online_banking_poland',reference_id?:string};
647
+ payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_payment_method_id?:string,gw_token?:string,id?:string,payment_method_type?:'card' | 'ideal' | 'sofort' | 'bancontact' | 'google_pay' | 'dotpay' | 'giropay' | 'apple_pay' | 'upi' | 'netbanking_emandates' | 'paypal_express_checkout' | 'direct_debit' | 'boleto' | 'venmo' | 'amazon_payments' | 'pay_to' | 'faster_payments' | 'sepa_instant_transfer' | 'klarna_pay_now' | 'online_banking_poland' | 'payconiq_by_bancontact',reference_id?:string};
666
648
 
667
649
  invoice_allocations:{allocation_amount?:number,invoice_id:string}[];
668
650
 
@@ -692,8 +674,6 @@ The ID of the business entity created for the site. For Product Catalog 1.0, all
692
674
  }
693
675
  export interface MoveInputParam {
694
676
 
695
- tax_providers_fields?:{field_id?:string,field_value?:string,provider_name?:string}[];
696
-
697
677
  id_at_from_site:string;
698
678
 
699
679
  from_site:string;
@@ -718,8 +698,6 @@ The ID of the business entity created for the site. For Product Catalog 1.0, all
718
698
  }
719
699
  export interface MergeInputParam {
720
700
 
721
- tax_providers_fields?:{field_id?:string,field_value?:string,provider_name?:string}[];
722
-
723
701
  from_customer_id:string;
724
702
 
725
703
  to_customer_id:string;
@@ -756,6 +734,29 @@ The ID of the business entity created for the site. For Product Catalog 1.0, all
756
734
 
757
735
  hierarchy_operation_type:'complete_hierarchy' | 'subordinates' | 'path_to_root';
758
736
  }
737
+ export interface ListHierarchyDetailResponse {
738
+ list:{hierarchies:any[]}[];
739
+
740
+ next_offset?:string;
741
+ }
742
+ export interface ListHierarchyDetailInputParam {
743
+ [key : string]: any;
744
+ /**
745
+ * @description The number of resources to be returned.
746
+
747
+ */
748
+
749
+ limit?:number;
750
+
751
+ /**
752
+ * @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.
753
+
754
+ */
755
+
756
+ offset?:string;
757
+
758
+ hierarchy_operation_type:'complete_hierarchy' | 'subordinates' | 'path_to_root';
759
+ }
759
760
  export interface UpdateHierarchySettingsResponse {
760
761
  customer:Customer;
761
762
  }