chargebee 2.25.1 → 2.25.3

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 (65) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/lib/chargebee.js +2 -2
  3. package/package.json +1 -1
  4. package/types/core.d.ts +8 -1
  5. package/types/index.d.ts +19 -2
  6. package/types/resources/Address.d.ts +0 -3
  7. package/types/resources/AdvanceInvoiceSchedule.d.ts +0 -1
  8. package/types/resources/AttachedItem.d.ts +1 -6
  9. package/types/resources/Card.d.ts +0 -4
  10. package/types/resources/Comment.d.ts +1 -3
  11. package/types/resources/Contact.d.ts +0 -2
  12. package/types/resources/ContractTerm.d.ts +0 -2
  13. package/types/resources/Coupon.d.ts +1 -5
  14. package/types/resources/CouponCode.d.ts +0 -1
  15. package/types/resources/CouponSet.d.ts +1 -5
  16. package/types/resources/CreditNote.d.ts +1 -10
  17. package/types/resources/CreditNoteEstimate.d.ts +0 -1
  18. package/types/resources/Customer.d.ts +2 -17
  19. package/types/resources/DifferentialPrice.d.ts +1 -6
  20. package/types/resources/Discount.d.ts +0 -2
  21. package/types/resources/Download.d.ts +0 -2
  22. package/types/resources/EntitlementOverride.d.ts +1 -3
  23. package/types/resources/Estimate.d.ts +0 -13
  24. package/types/resources/Event.d.ts +1 -2
  25. package/types/resources/Export.d.ts +0 -15
  26. package/types/resources/Feature.d.ts +1 -2
  27. package/types/resources/Gift.d.ts +1 -4
  28. package/types/resources/Hierarchy.d.ts +0 -2
  29. package/types/resources/HostedPage.d.ts +1 -16
  30. package/types/resources/ImpactedItem.d.ts +0 -1
  31. package/types/resources/ImpactedSubscription.d.ts +0 -1
  32. package/types/resources/InAppSubscription.d.ts +0 -5
  33. package/types/resources/Invoice.d.ts +2 -25
  34. package/types/resources/InvoiceEstimate.d.ts +0 -1
  35. package/types/resources/Item.d.ts +1 -1
  36. package/types/resources/ItemEntitlement.d.ts +2 -5
  37. package/types/resources/ItemFamily.d.ts +1 -1
  38. package/types/resources/ItemPrice.d.ts +3 -3
  39. package/types/resources/Media.d.ts +0 -2
  40. package/types/resources/NonSubscription.d.ts +0 -2
  41. package/types/resources/Order.d.ts +1 -9
  42. package/types/resources/PaymentIntent.d.ts +0 -3
  43. package/types/resources/PaymentReferenceNumber.d.ts +0 -2
  44. package/types/resources/PaymentSource.d.ts +1 -14
  45. package/types/resources/PaymentVoucher.d.ts +2 -4
  46. package/types/resources/PortalSession.d.ts +0 -3
  47. package/types/resources/PromotionalCredit.d.ts +1 -5
  48. package/types/resources/Purchase.d.ts +0 -3
  49. package/types/resources/Quote.d.ts +2 -14
  50. package/types/resources/QuoteLineGroup.d.ts +0 -1
  51. package/types/resources/QuotedCharge.d.ts +0 -1
  52. package/types/resources/QuotedSubscription.d.ts +0 -1
  53. package/types/resources/ResourceMigration.d.ts +0 -2
  54. package/types/resources/SiteMigrationDetail.d.ts +1 -2
  55. package/types/resources/Subscription.d.ts +3 -18
  56. package/types/resources/SubscriptionEntitlement.d.ts +1 -3
  57. package/types/resources/SubscriptionEstimate.d.ts +0 -1
  58. package/types/resources/TaxWithheld.d.ts +0 -2
  59. package/types/resources/ThirdPartyPaymentMethod.d.ts +0 -2
  60. package/types/resources/TimeMachine.d.ts +0 -3
  61. package/types/resources/Token.d.ts +0 -3
  62. package/types/resources/Transaction.d.ts +2 -7
  63. package/types/resources/UnbilledCharge.d.ts +1 -5
  64. package/types/resources/Usage.d.ts +1 -6
  65. package/types/resources/VirtualBankAccount.d.ts +1 -4
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Quote {
4
-
5
4
  id:string;
6
5
  name?:string;
7
6
  po_number?:string;
@@ -63,7 +62,6 @@ declare module 'chargebee' {
63
62
  quoted_subscription?:QuotedSubscription;
64
63
  }
65
64
  export interface CreateSubItemsForCustomerQuoteInputParam {
66
-
67
65
  name?:string;
68
66
  notes?:string;
69
67
  expires_at?:number;
@@ -90,7 +88,6 @@ declare module 'chargebee' {
90
88
  quoted_subscription?:QuotedSubscription;
91
89
  }
92
90
  export interface EditCreateSubCustomerQuoteForItemsInputParam {
93
-
94
91
  notes?:string;
95
92
  expires_at?:number;
96
93
  billing_cycles?:number;
@@ -111,7 +108,6 @@ declare module 'chargebee' {
111
108
  quoted_charge?:QuotedCharge;
112
109
  }
113
110
  export interface UpdateStatusInputParam {
114
-
115
111
  status:'declined' | 'accepted' | 'closed';
116
112
  comment?:string;
117
113
  }
@@ -120,7 +116,6 @@ declare module 'chargebee' {
120
116
  quoted_subscription?:QuotedSubscription;
121
117
  }
122
118
  export interface UpdateSubscriptionQuoteForItemsInputParam {
123
-
124
119
  name?:string;
125
120
  notes?:string;
126
121
  expires_at?:number;
@@ -150,7 +145,7 @@ declare module 'chargebee' {
150
145
  next_offset?:string;
151
146
  }
152
147
  export interface QuoteLineGroupsForQuoteInputParam {
153
- [key: string]: string | number | object | boolean;
148
+ [key : string]: any;
154
149
  limit?:number;
155
150
  offset?:string;
156
151
  }
@@ -160,7 +155,6 @@ declare module 'chargebee' {
160
155
  quoted_charge?:QuotedCharge;
161
156
  }
162
157
  export interface ExtendExpiryDateInputParam {
163
-
164
158
  valid_till:number;
165
159
  }
166
160
  export interface EditForChargeItemsAndChargesResponse {
@@ -168,7 +162,6 @@ declare module 'chargebee' {
168
162
  quoted_charge?:QuotedCharge;
169
163
  }
170
164
  export interface EditForChargeItemsAndChargesInputParam {
171
-
172
165
  po_number?:string;
173
166
  notes?:string;
174
167
  expires_at?:number;
@@ -186,7 +179,6 @@ declare module 'chargebee' {
186
179
  quoted_subscription?:QuotedSubscription;
187
180
  }
188
181
  export interface EditUpdateSubscriptionQuoteForItemsInputParam {
189
-
190
182
  notes?:string;
191
183
  expires_at?:number;
192
184
  mandatory_items_to_remove?:string[];
@@ -215,7 +207,7 @@ declare module 'chargebee' {
215
207
  next_offset?:string;
216
208
  }
217
209
  export interface ListInputParam {
218
- [key: string]: string | number | object | boolean;
210
+ [key : string]: any;
219
211
  limit?:number;
220
212
  offset?:string;
221
213
  include_deleted?:boolean;
@@ -231,7 +223,6 @@ declare module 'chargebee' {
231
223
  download:Download;
232
224
  }
233
225
  export interface PdfInputParam {
234
-
235
226
  consolidated_view?:boolean;
236
227
  disposition_type?:DispositionType;
237
228
  }
@@ -246,7 +237,6 @@ declare module 'chargebee' {
246
237
  unbilled_charges?:UnbilledCharge[];
247
238
  }
248
239
  export interface ConvertInputParam {
249
-
250
240
  invoice_date?:number;
251
241
  create_pending_invoices?:boolean;
252
242
  first_invoice_pending?:boolean;
@@ -257,7 +247,6 @@ declare module 'chargebee' {
257
247
  quoted_charge?:QuotedCharge;
258
248
  }
259
249
  export interface CreateForChargeItemsAndChargesInputParam {
260
-
261
250
  name?:string;
262
251
  customer_id:string;
263
252
  po_number?:string;
@@ -278,7 +267,6 @@ declare module 'chargebee' {
278
267
  quoted_charge?:QuotedCharge;
279
268
  }
280
269
  export interface DeleteInputParam {
281
-
282
270
  comment?:string;
283
271
  }
284
272
  export interface LineItem {
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface QuoteLineGroup {
4
-
5
4
  version?:number;
6
5
  id?:string;
7
6
  sub_total:number;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface QuotedCharge {
4
-
5
4
  charges?:QuotedCharge.Charge[];
6
5
  invoice_items?:QuotedCharge.ItemPrice[];
7
6
  item_tiers?:QuotedCharge.ItemTier[];
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface QuotedSubscription {
4
-
5
4
  id:string;
6
5
  start_date?:number;
7
6
  trial_end?:number;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface ResourceMigration {
4
-
5
4
  from_site:string;
6
5
  entity_type:'customer';
7
6
  entity_id:string;
@@ -18,7 +17,6 @@ declare module 'chargebee' {
18
17
  resource_migration:ResourceMigration;
19
18
  }
20
19
  export interface RetrieveLatestInputParam {
21
-
22
20
  from_site:string;
23
21
  entity_type:'customer';
24
22
  entity_id:string;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface SiteMigrationDetail {
4
-
5
4
  entity_id:string;
6
5
  other_site_name:string;
7
6
  entity_id_at_other_site:string;
@@ -18,7 +17,7 @@ declare module 'chargebee' {
18
17
  next_offset?:string;
19
18
  }
20
19
  export interface ListInputParam {
21
- [key: string]: string | number | object | boolean;
20
+ [key : string]: any;
22
21
  limit?:number;
23
22
  offset?:string;
24
23
  entity_id_at_other_site?:{is?:string,is_not?:string,starts_with?:string};
@@ -98,7 +98,6 @@ declare module 'chargebee' {
98
98
  advance_invoice_schedules?:AdvanceInvoiceSchedule[];
99
99
  }
100
100
  export interface RemoveAdvanceInvoiceScheduleInputParam {
101
-
102
101
  specific_dates_schedule?:{id?:string}[];
103
102
  }
104
103
  export interface UpdateForItemsResponse {
@@ -161,7 +160,6 @@ declare module 'chargebee' {
161
160
  card?:Card;
162
161
  }
163
162
  export interface RemoveCouponsInputParam {
164
-
165
163
  coupon_ids?:string[];
166
164
  }
167
165
  export interface ResumeResponse {
@@ -172,7 +170,6 @@ declare module 'chargebee' {
172
170
  unbilled_charges?:UnbilledCharge[];
173
171
  }
174
172
  export interface ResumeInputParam {
175
-
176
173
  resume_option?:ResumeOption;
177
174
  resume_date?:number;
178
175
  charges_handling?:ChargesHandling;
@@ -189,7 +186,6 @@ declare module 'chargebee' {
189
186
  credit_notes?:CreditNote[];
190
187
  }
191
188
  export interface CancelForItemsInputParam {
192
-
193
189
  end_of_term?:boolean;
194
190
  cancel_at?:number;
195
191
  credit_option_for_current_term_charges?:CreditOptionForCurrentTermCharges;
@@ -206,7 +202,6 @@ declare module 'chargebee' {
206
202
  unbilled_charges?:UnbilledCharge[];
207
203
  }
208
204
  export interface RegenerateInvoiceInputParam {
209
-
210
205
  date_from?:number;
211
206
  date_to?:number;
212
207
  prorate?:boolean;
@@ -217,7 +212,7 @@ declare module 'chargebee' {
217
212
  next_offset?:string;
218
213
  }
219
214
  export interface ListInputParam {
220
- [key: string]: string | number | object | boolean;
215
+ [key : string]: any;
221
216
  limit?:number;
222
217
  offset?:string;
223
218
  include_deleted?:boolean;
@@ -294,7 +289,6 @@ declare module 'chargebee' {
294
289
  card?:Card;
295
290
  }
296
291
  export interface RemoveScheduledCancellationInputParam {
297
-
298
292
  billing_cycles?:number;
299
293
  }
300
294
  export interface RetrieveWithScheduledChangesResponse {
@@ -311,7 +305,6 @@ declare module 'chargebee' {
311
305
  unbilled_charges?:UnbilledCharge[];
312
306
  }
313
307
  export interface ReactivateInputParam {
314
-
315
308
  trial_end?:number;
316
309
  billing_cycles?:number;
317
310
  reactivate_from?:number;
@@ -332,7 +325,6 @@ declare module 'chargebee' {
332
325
  advance_invoice_schedules?:AdvanceInvoiceSchedule[];
333
326
  }
334
327
  export interface ChargeFutureRenewalsInputParam {
335
-
336
328
  terms_to_charge?:number;
337
329
  invoice_immediately?:boolean;
338
330
  schedule_type?:ScheduleType;
@@ -343,7 +335,6 @@ declare module 'chargebee' {
343
335
  estimate:Estimate;
344
336
  }
345
337
  export interface AddChargeAtTermEndInputParam {
346
-
347
338
  amount?:number;
348
339
  description:string;
349
340
  amount_in_decimal?:string;
@@ -369,7 +360,6 @@ declare module 'chargebee' {
369
360
  credit_notes?:CreditNote[];
370
361
  }
371
362
  export interface ChangeTermEndInputParam {
372
-
373
363
  term_ends_at:number;
374
364
  prorate?:boolean;
375
365
  invoice_immediately?:boolean;
@@ -427,7 +417,6 @@ declare module 'chargebee' {
427
417
  unbilled_charges:UnbilledCharge[];
428
418
  }
429
419
  export interface ImportUnbilledChargesInputParam {
430
-
431
420
  unbilled_charges?:{amount?:number,amount_in_decimal?:string,date_from:number,date_to:number,description?:string,discount_amount?:number,entity_id?:string,entity_type:'addon_item_price' | 'plan_item_price' | 'charge_item_price' | 'adhoc',id?:string,is_advance_charge?:boolean,quantity?:number,quantity_in_decimal?:string,unit_amount?:number,unit_amount_in_decimal?:string,use_for_proration?:boolean}[];
432
421
  discounts?:{amount:number,description?:string,entity_id?:string,entity_type?:'item_level_coupon' | 'item_level_discount' | 'document_level_discount' | 'document_level_coupon',unbilled_charge_id?:string}[];
433
422
  tiers?:{ending_unit?:number,ending_unit_in_decimal?:string,quantity_used?:number,quantity_used_in_decimal?:string,starting_unit?:number,starting_unit_in_decimal?:string,unbilled_charge_id:string,unit_amount?:number,unit_amount_in_decimal?:string}[];
@@ -448,7 +437,6 @@ declare module 'chargebee' {
448
437
  contract_term:ContractTerm;
449
438
  }
450
439
  export interface ImportContractTermInputParam {
451
-
452
440
  contract_term_billing_cycle_on_renewal?:number;
453
441
  contract_term?:{action_at_term_end?:'cancel' | 'renew_once' | 'renew' | 'evergreen',billing_cycle?:number,cancellation_cutoff_period?:number,contract_end?:number,contract_start?:number,created_at?:number,id?:string,status?:'active' | 'cancelled' | 'completed' | 'terminated',total_amount_raised?:number,total_amount_raised_before_tax?:number,total_contract_value?:number,total_contract_value_before_tax?:number};
454
442
  }
@@ -457,7 +445,6 @@ declare module 'chargebee' {
457
445
  payment_source?:PaymentSource;
458
446
  }
459
447
  export interface OverrideBillingProfileInputParam {
460
-
461
448
  payment_source_id?:string;
462
449
  auto_collection?:AutoCollection;
463
450
  }
@@ -471,7 +458,6 @@ declare module 'chargebee' {
471
458
  advance_invoice_schedules:AdvanceInvoiceSchedule[];
472
459
  }
473
460
  export interface EditAdvanceInvoiceScheduleInputParam {
474
-
475
461
  terms_to_charge?:number;
476
462
  schedule_type?:ScheduleType;
477
463
  fixed_interval_schedule?:{days_before_renewal?:number,end_date?:number,end_schedule_on?:EndScheduleOn,number_of_occurrences?:number};
@@ -482,7 +468,7 @@ declare module 'chargebee' {
482
468
  next_offset?:string;
483
469
  }
484
470
  export interface ListDiscountsInputParam {
485
- [key: string]: string | number | object | boolean;
471
+ [key : string]: any;
486
472
  limit?:number;
487
473
  offset?:string;
488
474
  }
@@ -491,7 +477,7 @@ declare module 'chargebee' {
491
477
  next_offset?:string;
492
478
  }
493
479
  export interface ContractTermsForSubscriptionInputParam {
494
- [key: string]: string | number | object | boolean;
480
+ [key : string]: any;
495
481
  limit?:number;
496
482
  offset?:string;
497
483
  }
@@ -504,7 +490,6 @@ declare module 'chargebee' {
504
490
  credit_notes?:CreditNote[];
505
491
  }
506
492
  export interface PauseInputParam {
507
-
508
493
  pause_option?:PauseOption;
509
494
  pause_date?:number;
510
495
  unbilled_charges_handling?:UnbilledChargesHandling;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface SubscriptionEntitlement {
4
-
5
4
  subscription_id:string;
6
5
  feature_id?:string;
7
6
  feature_name?:string;
@@ -22,7 +21,6 @@ declare module 'chargebee' {
22
21
  subscription_entitlement:SubscriptionEntitlement;
23
22
  }
24
23
  export interface SetSubscriptionEntitlementAvailabilityInputParam {
25
-
26
24
  is_enabled:boolean;
27
25
  subscription_entitlements?:{feature_id:string}[];
28
26
  }
@@ -31,7 +29,7 @@ declare module 'chargebee' {
31
29
  next_offset?:string;
32
30
  }
33
31
  export interface SubscriptionEntitlementsForSubscriptionInputParam {
34
- [key: string]: string | number | object | boolean;
32
+ [key : string]: any;
35
33
  limit?:number;
36
34
  offset?:string;
37
35
  }
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface SubscriptionEstimate {
4
-
5
4
  id?:string;
6
5
  currency_code:string;
7
6
  status?:'in_trial' | 'paused' | 'future' | 'active' | 'cancelled' | 'non_renewing';
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface TaxWithheld {
4
-
5
4
  id:string;
6
5
  reference_number?:string;
7
6
  description?:string;
@@ -10,5 +9,4 @@ declare module 'chargebee' {
10
9
  resource_version?:number;
11
10
  updated_at?:number;
12
11
  }
13
-
14
12
  }
@@ -1,11 +1,9 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface ThirdPartyPaymentMethod {
4
-
5
4
  type:Type;
6
5
  gateway:Gateway;
7
6
  gateway_account_id?:string;
8
7
  reference_id:string;
9
8
  }
10
-
11
9
  }
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface TimeMachine {
4
-
5
4
  name:string;
6
5
  time_travel_status:'in_progress' | 'not_enabled' | 'failed' | 'succeeded';
7
6
  genesis_time:number;
@@ -24,14 +23,12 @@ declare module 'chargebee' {
24
23
  time_machine:TimeMachine;
25
24
  }
26
25
  export interface TravelForwardInputParam {
27
-
28
26
  destination_time?:number;
29
27
  }
30
28
  export interface StartAfreshResponse {
31
29
  time_machine:TimeMachine;
32
30
  }
33
31
  export interface StartAfreshInputParam {
34
-
35
32
  genesis_time?:number;
36
33
  }
37
34
 
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Token {
4
-
5
4
  id:string;
6
5
  gateway:Gateway;
7
6
  gateway_account_id:string;
@@ -25,7 +24,6 @@ declare module 'chargebee' {
25
24
  token:Token;
26
25
  }
27
26
  export interface CreateUsingTempTokenInputParam {
28
-
29
27
  gateway_account_id?:string;
30
28
  payment_method_type:PaymentMethodType;
31
29
  id_at_vault:string;
@@ -39,7 +37,6 @@ declare module 'chargebee' {
39
37
  token:Token;
40
38
  }
41
39
  export interface CreateForCardInputParam {
42
-
43
40
  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,card_type?:'discover' | 'bancontact' | 'other' | 'visa' | 'jcb' | 'diners_club' | 'mastercard' | 'not_applicable' | 'american_express',cvv?:string,expiry_month:number,expiry_year:number,first_name?:string,gateway_account_id?:string,last_name?:string,number:string};
44
41
  }
45
42
  export interface RetrieveResponse {
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Transaction {
4
-
5
4
  id:string;
6
5
  customer_id?:string;
7
6
  subscription_id?:string;
@@ -61,7 +60,6 @@ declare module 'chargebee' {
61
60
  transaction:Transaction;
62
61
  }
63
62
  export interface RecordRefundInputParam {
64
-
65
63
  amount?:number;
66
64
  payment_method:PaymentMethod;
67
65
  date:number;
@@ -73,7 +71,7 @@ declare module 'chargebee' {
73
71
  next_offset?:string;
74
72
  }
75
73
  export interface ListInputParam {
76
- [key: string]: string | number | object | boolean;
74
+ [key : string]: any;
77
75
  limit?:number;
78
76
  offset?:string;
79
77
  include_deleted?:boolean;
@@ -102,7 +100,6 @@ declare module 'chargebee' {
102
100
  transaction:Transaction;
103
101
  }
104
102
  export interface CreateAuthorizationInputParam {
105
-
106
103
  customer_id:string;
107
104
  payment_source_id?:string;
108
105
  currency_code?:string;
@@ -117,7 +114,7 @@ declare module 'chargebee' {
117
114
  next_offset?:string;
118
115
  }
119
116
  export interface PaymentsForInvoiceInputParam {
120
- [key: string]: string | number | object | boolean;
117
+ [key : string]: any;
121
118
  limit?:number;
122
119
  offset?:string;
123
120
  }
@@ -125,14 +122,12 @@ declare module 'chargebee' {
125
122
  transaction:Transaction;
126
123
  }
127
124
  export interface DeleteOfflineTransactionInputParam {
128
-
129
125
  comment?:string;
130
126
  }
131
127
  export interface RefundResponse {
132
128
  transaction:Transaction;
133
129
  }
134
130
  export interface RefundInputParam {
135
-
136
131
  amount?:number;
137
132
  comment?:string;
138
133
  }
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface UnbilledCharge {
4
-
5
4
  id?:string;
6
5
  customer_id?:string;
7
6
  subscription_id?:string;
@@ -42,7 +41,6 @@ declare module 'chargebee' {
42
41
  estimate:Estimate;
43
42
  }
44
43
  export interface InvoiceNowEstimateInputParam {
45
-
46
44
  subscription_id?:string;
47
45
  customer_id?:string;
48
46
  }
@@ -50,7 +48,6 @@ declare module 'chargebee' {
50
48
  invoices:Invoice[];
51
49
  }
52
50
  export interface InvoiceUnbilledChargesInputParam {
53
-
54
51
  subscription_id?:string;
55
52
  customer_id?:string;
56
53
  }
@@ -59,7 +56,7 @@ declare module 'chargebee' {
59
56
  next_offset?:string;
60
57
  }
61
58
  export interface ListInputParam {
62
- [key: string]: string | number | object | boolean;
59
+ [key : string]: any;
63
60
  limit?:number;
64
61
  offset?:string;
65
62
  include_deleted?:boolean;
@@ -71,7 +68,6 @@ declare module 'chargebee' {
71
68
  unbilled_charges:UnbilledCharge[];
72
69
  }
73
70
  export interface CreateInputParam {
74
-
75
71
  subscription_id:string;
76
72
  currency_code?:string;
77
73
  item_prices?:{date_from?:number,date_to?:number,item_price_id?:string,quantity?:number,quantity_in_decimal?:string,unit_price?:number,unit_price_in_decimal?:string}[];
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Usage {
4
-
5
4
  id?:string;
6
5
  usage_date:number;
7
6
  subscription_id:string;
@@ -27,7 +26,6 @@ declare module 'chargebee' {
27
26
  download:Download;
28
27
  }
29
28
  export interface PdfInputParam {
30
-
31
29
  disposition_type?:DispositionType;
32
30
  invoice?:{id:string};
33
31
  }
@@ -35,14 +33,12 @@ declare module 'chargebee' {
35
33
  usage:Usage;
36
34
  }
37
35
  export interface RetrieveInputParam {
38
-
39
36
  id:string;
40
37
  }
41
38
  export interface CreateResponse {
42
39
  usage:Usage;
43
40
  }
44
41
  export interface CreateInputParam {
45
-
46
42
  id?:string;
47
43
  item_price_id:string;
48
44
  quantity:string;
@@ -53,7 +49,6 @@ declare module 'chargebee' {
53
49
  usage:Usage;
54
50
  }
55
51
  export interface DeleteInputParam {
56
-
57
52
  id:string;
58
53
  }
59
54
  export interface ListResponse {
@@ -61,7 +56,7 @@ declare module 'chargebee' {
61
56
  next_offset?:string;
62
57
  }
63
58
  export interface ListInputParam {
64
- [key: string]: string | number | object | boolean;
59
+ [key : string]: any;
65
60
  limit?:number;
66
61
  offset?:string;
67
62
  id?:{is?:string,is_not?:string,starts_with?:string};
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface VirtualBankAccount {
4
-
5
4
  id:string;
6
5
  customer_id:string;
7
6
  email:string;
@@ -40,7 +39,7 @@ declare module 'chargebee' {
40
39
  next_offset?:string;
41
40
  }
42
41
  export interface ListInputParam {
43
- [key: string]: string | number | object | boolean;
42
+ [key : string]: any;
44
43
  limit?:number;
45
44
  offset?:string;
46
45
  customer_id?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
@@ -52,7 +51,6 @@ declare module 'chargebee' {
52
51
  customer?:Customer;
53
52
  }
54
53
  export interface CreateInputParam {
55
-
56
54
  customer_id:string;
57
55
  email?:string;
58
56
  scheme?:'ach_credit' | 'sepa_credit';
@@ -66,7 +64,6 @@ declare module 'chargebee' {
66
64
  customer?:Customer;
67
65
  }
68
66
  export interface CreateUsingPermanentTokenInputParam {
69
-
70
67
  customer_id:string;
71
68
  reference_id:string;
72
69
  scheme?:'ach_credit' | 'sepa_credit';