chargebee 2.25.1 → 2.25.2

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 (64) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/lib/chargebee.js +1 -1
  3. package/package.json +1 -1
  4. package/types/index.d.ts +19 -2
  5. package/types/resources/Address.d.ts +0 -3
  6. package/types/resources/AdvanceInvoiceSchedule.d.ts +0 -1
  7. package/types/resources/AttachedItem.d.ts +1 -6
  8. package/types/resources/Card.d.ts +0 -4
  9. package/types/resources/Comment.d.ts +1 -3
  10. package/types/resources/Contact.d.ts +0 -2
  11. package/types/resources/ContractTerm.d.ts +0 -2
  12. package/types/resources/Coupon.d.ts +1 -5
  13. package/types/resources/CouponCode.d.ts +0 -1
  14. package/types/resources/CouponSet.d.ts +1 -5
  15. package/types/resources/CreditNote.d.ts +1 -10
  16. package/types/resources/CreditNoteEstimate.d.ts +0 -1
  17. package/types/resources/Customer.d.ts +2 -17
  18. package/types/resources/DifferentialPrice.d.ts +1 -6
  19. package/types/resources/Discount.d.ts +0 -2
  20. package/types/resources/Download.d.ts +0 -2
  21. package/types/resources/EntitlementOverride.d.ts +1 -3
  22. package/types/resources/Estimate.d.ts +0 -13
  23. package/types/resources/Event.d.ts +1 -2
  24. package/types/resources/Export.d.ts +0 -15
  25. package/types/resources/Feature.d.ts +1 -2
  26. package/types/resources/Gift.d.ts +1 -4
  27. package/types/resources/Hierarchy.d.ts +0 -2
  28. package/types/resources/HostedPage.d.ts +1 -16
  29. package/types/resources/ImpactedItem.d.ts +0 -1
  30. package/types/resources/ImpactedSubscription.d.ts +0 -1
  31. package/types/resources/InAppSubscription.d.ts +0 -5
  32. package/types/resources/Invoice.d.ts +2 -25
  33. package/types/resources/InvoiceEstimate.d.ts +0 -1
  34. package/types/resources/Item.d.ts +1 -1
  35. package/types/resources/ItemEntitlement.d.ts +2 -5
  36. package/types/resources/ItemFamily.d.ts +1 -1
  37. package/types/resources/ItemPrice.d.ts +3 -3
  38. package/types/resources/Media.d.ts +0 -2
  39. package/types/resources/NonSubscription.d.ts +0 -2
  40. package/types/resources/Order.d.ts +1 -9
  41. package/types/resources/PaymentIntent.d.ts +0 -3
  42. package/types/resources/PaymentReferenceNumber.d.ts +0 -2
  43. package/types/resources/PaymentSource.d.ts +1 -14
  44. package/types/resources/PaymentVoucher.d.ts +2 -4
  45. package/types/resources/PortalSession.d.ts +0 -3
  46. package/types/resources/PromotionalCredit.d.ts +1 -5
  47. package/types/resources/Purchase.d.ts +0 -3
  48. package/types/resources/Quote.d.ts +2 -14
  49. package/types/resources/QuoteLineGroup.d.ts +0 -1
  50. package/types/resources/QuotedCharge.d.ts +0 -1
  51. package/types/resources/QuotedSubscription.d.ts +0 -1
  52. package/types/resources/ResourceMigration.d.ts +0 -2
  53. package/types/resources/SiteMigrationDetail.d.ts +1 -2
  54. package/types/resources/Subscription.d.ts +3 -18
  55. package/types/resources/SubscriptionEntitlement.d.ts +1 -3
  56. package/types/resources/SubscriptionEstimate.d.ts +0 -1
  57. package/types/resources/TaxWithheld.d.ts +0 -2
  58. package/types/resources/ThirdPartyPaymentMethod.d.ts +0 -2
  59. package/types/resources/TimeMachine.d.ts +0 -3
  60. package/types/resources/Token.d.ts +0 -3
  61. package/types/resources/Transaction.d.ts +2 -7
  62. package/types/resources/UnbilledCharge.d.ts +1 -5
  63. package/types/resources/Usage.d.ts +1 -6
  64. package/types/resources/VirtualBankAccount.d.ts +1 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### v2.25.2 (2023-07-24)
2
+ * * *
3
+ * Fix typescript typings [generator issue](https://github.com/chargebee/chargebee-node/issues/31)
4
+
1
5
  ### v2.25.1 (2023-07-19)
2
6
  * * *
3
7
  * Fix typescript typings reference issue
package/lib/chargebee.js CHANGED
@@ -11,7 +11,7 @@ ChargeBee._env = {
11
11
  hostSuffix: '.chargebee.com',
12
12
  apiPath: '/api/v2',
13
13
  timeout: 80000,
14
- clientVersion: 'v2.25.1',
14
+ clientVersion: 'v2.25.2',
15
15
  port: 443,
16
16
  timemachineWaitInMillis: 3000,
17
17
  exportWaitInMillis: 3000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"chargebee",
3
- "version":"2.25.1",
3
+ "version":"2.25.2",
4
4
  "description":"A library for integrating with ChargeBee.",
5
5
  "keywords":[
6
6
  "payments",
package/types/index.d.ts CHANGED
@@ -1,39 +1,57 @@
1
1
  ///<reference path='./resources/Address.d.ts' />
2
+ ///<reference path='./resources/AdvanceInvoiceSchedule.d.ts' />
2
3
  ///<reference path='./resources/AttachedItem.d.ts' />
3
4
  ///<reference path='./resources/Card.d.ts' />
4
5
  ///<reference path='./resources/Comment.d.ts' />
6
+ ///<reference path='./resources/Contact.d.ts' />
7
+ ///<reference path='./resources/ContractTerm.d.ts' />
5
8
  ///<reference path='./resources/Coupon.d.ts' />
6
9
  ///<reference path='./resources/CouponCode.d.ts' />
7
10
  ///<reference path='./resources/CouponSet.d.ts' />
8
11
  ///<reference path='./resources/CreditNote.d.ts' />
12
+ ///<reference path='./resources/CreditNoteEstimate.d.ts' />
9
13
  ///<reference path='./resources/Customer.d.ts' />
10
14
  ///<reference path='./resources/DifferentialPrice.d.ts' />
15
+ ///<reference path='./resources/Discount.d.ts' />
16
+ ///<reference path='./resources/Download.d.ts' />
11
17
  ///<reference path='./resources/EntitlementOverride.d.ts' />
12
18
  ///<reference path='./resources/Estimate.d.ts' />
13
19
  ///<reference path='./resources/Event.d.ts' />
14
20
  ///<reference path='./resources/Export.d.ts' />
15
21
  ///<reference path='./resources/Feature.d.ts' />
16
22
  ///<reference path='./resources/Gift.d.ts' />
23
+ ///<reference path='./resources/Hierarchy.d.ts' />
17
24
  ///<reference path='./resources/HostedPage.d.ts' />
25
+ ///<reference path='./resources/ImpactedItem.d.ts' />
26
+ ///<reference path='./resources/ImpactedSubscription.d.ts' />
18
27
  ///<reference path='./resources/InAppSubscription.d.ts' />
19
28
  ///<reference path='./resources/Invoice.d.ts' />
29
+ ///<reference path='./resources/InvoiceEstimate.d.ts' />
20
30
  ///<reference path='./resources/Item.d.ts' />
21
31
  ///<reference path='./resources/ItemEntitlement.d.ts' />
22
32
  ///<reference path='./resources/ItemFamily.d.ts' />
23
33
  ///<reference path='./resources/ItemPrice.d.ts' />
34
+ ///<reference path='./resources/Media.d.ts' />
24
35
  ///<reference path='./resources/NonSubscription.d.ts' />
25
36
  ///<reference path='./resources/Order.d.ts' />
26
37
  ///<reference path='./resources/PaymentIntent.d.ts' />
38
+ ///<reference path='./resources/PaymentReferenceNumber.d.ts' />
27
39
  ///<reference path='./resources/PaymentSource.d.ts' />
28
40
  ///<reference path='./resources/PaymentVoucher.d.ts' />
29
41
  ///<reference path='./resources/PortalSession.d.ts' />
30
42
  ///<reference path='./resources/PromotionalCredit.d.ts' />
31
43
  ///<reference path='./resources/Purchase.d.ts' />
32
44
  ///<reference path='./resources/Quote.d.ts' />
45
+ ///<reference path='./resources/QuoteLineGroup.d.ts' />
46
+ ///<reference path='./resources/QuotedCharge.d.ts' />
47
+ ///<reference path='./resources/QuotedSubscription.d.ts' />
33
48
  ///<reference path='./resources/ResourceMigration.d.ts' />
34
49
  ///<reference path='./resources/SiteMigrationDetail.d.ts' />
35
50
  ///<reference path='./resources/Subscription.d.ts' />
36
51
  ///<reference path='./resources/SubscriptionEntitlement.d.ts' />
52
+ ///<reference path='./resources/SubscriptionEstimate.d.ts' />
53
+ ///<reference path='./resources/TaxWithheld.d.ts' />
54
+ ///<reference path='./resources/ThirdPartyPaymentMethod.d.ts' />
37
55
  ///<reference path='./resources/TimeMachine.d.ts' />
38
56
  ///<reference path='./resources/Token.d.ts' />
39
57
  ///<reference path='./resources/Transaction.d.ts' />
@@ -42,7 +60,7 @@
42
60
  ///<reference path='./resources/VirtualBankAccount.d.ts' />
43
61
 
44
62
  declare module 'chargebee' {
45
- class Chargebee {
63
+ export default class {
46
64
  static configure({ site, api_key }: { site: string; api_key: string });
47
65
  static address: Address.AddressResource;
48
66
  static attached_item: AttachedItem.AttachedItemResource;
@@ -88,5 +106,4 @@ declare module 'chargebee' {
88
106
  static virtual_bank_account: VirtualBankAccount.VirtualBankAccountResource;
89
107
 
90
108
  }
91
- export default Chargebee;
92
109
  }
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Address {
4
-
5
4
  label:string;
6
5
  first_name?:string;
7
6
  last_name?:string;
@@ -28,7 +27,6 @@ declare module 'chargebee' {
28
27
  address:Address;
29
28
  }
30
29
  export interface RetrieveInputParam {
31
-
32
30
  subscription_id:string;
33
31
  label:string;
34
32
  }
@@ -36,7 +34,6 @@ declare module 'chargebee' {
36
34
  address:Address;
37
35
  }
38
36
  export interface UpdateInputParam {
39
-
40
37
  subscription_id:string;
41
38
  label:string;
42
39
  first_name?:string;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface AdvanceInvoiceSchedule {
4
-
5
4
  id:string;
6
5
  schedule_type?:'specific_dates' | 'fixed_intervals';
7
6
  fixed_interval_schedule?:AdvanceInvoiceSchedule.FixedIntervalSchedule;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface AttachedItem {
4
-
5
4
  id:string;
6
5
  parent_item_id:string;
7
6
  item_id:string;
@@ -29,14 +28,12 @@ declare module 'chargebee' {
29
28
  attached_item:AttachedItem;
30
29
  }
31
30
  export interface RetrieveInputParam {
32
-
33
31
  parent_item_id:string;
34
32
  }
35
33
  export interface UpdateResponse {
36
34
  attached_item:AttachedItem;
37
35
  }
38
36
  export interface UpdateInputParam {
39
-
40
37
  parent_item_id:string;
41
38
  type?:'optional' | 'mandatory' | 'recommended';
42
39
  billing_cycles?:number;
@@ -50,7 +47,7 @@ declare module 'chargebee' {
50
47
  next_offset?:string;
51
48
  }
52
49
  export interface ListInputParam {
53
- [key: string]: string | number | object | boolean;
50
+ [key : string]: any;
54
51
  limit?:number;
55
52
  offset?:string;
56
53
  id?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
@@ -64,7 +61,6 @@ declare module 'chargebee' {
64
61
  attached_item:AttachedItem;
65
62
  }
66
63
  export interface CreateInputParam {
67
-
68
64
  item_id:string;
69
65
  type?:'optional' | 'mandatory' | 'recommended';
70
66
  billing_cycles?:number;
@@ -77,7 +73,6 @@ declare module 'chargebee' {
77
73
  attached_item:AttachedItem;
78
74
  }
79
75
  export interface DeleteInputParam {
80
-
81
76
  parent_item_id:string;
82
77
  }
83
78
 
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Card {
4
-
5
4
  payment_source_id:string;
6
5
  status:'valid' | 'expiring' | 'expired';
7
6
  gateway:Gateway;
@@ -43,7 +42,6 @@ declare module 'chargebee' {
43
42
  third_party_payment_method:ThirdPartyPaymentMethod;
44
43
  }
45
44
  export interface CopyCardForCustomerInputParam {
46
-
47
45
  gateway_account_id:string;
48
46
  }
49
47
  export interface RetrieveResponse {
@@ -55,7 +53,6 @@ declare module 'chargebee' {
55
53
  card:Card;
56
54
  }
57
55
  export interface SwitchGatewayForCustomerInputParam {
58
-
59
56
  gateway_account_id:string;
60
57
  }
61
58
  export interface DeleteCardForCustomerResponse {
@@ -67,7 +64,6 @@ declare module 'chargebee' {
67
64
  card:Card;
68
65
  }
69
66
  export interface UpdateCardForCustomerInputParam {
70
-
71
67
  gateway_account_id?:string;
72
68
  tmp_token?:string;
73
69
  first_name?:string;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Comment {
4
-
5
4
  id:string;
6
5
  entity_type:EntityType;
7
6
  added_by?:string;
@@ -30,7 +29,7 @@ declare module 'chargebee' {
30
29
  next_offset?:string;
31
30
  }
32
31
  export interface ListInputParam {
33
- [key: string]: string | number | object | boolean;
32
+ [key : string]: any;
34
33
  limit?:number;
35
34
  offset?:string;
36
35
  entity_type?:'item' | 'product' | 'coupon' | 'addon' | 'item_price' | 'business_entity' | 'subscription' | 'item_family' | 'credit_note' | 'quote' | 'variant' | 'invoice' | 'plan' | 'transaction' | 'customer' | 'order';
@@ -42,7 +41,6 @@ declare module 'chargebee' {
42
41
  comment:Comment;
43
42
  }
44
43
  export interface CreateInputParam {
45
-
46
44
  entity_type:EntityType;
47
45
  entity_id:string;
48
46
  notes:string;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Contact {
4
-
5
4
  id:string;
6
5
  first_name?:string;
7
6
  last_name?:string;
@@ -12,5 +11,4 @@ declare module 'chargebee' {
12
11
  send_account_email:boolean;
13
12
  send_billing_email:boolean;
14
13
  }
15
-
16
14
  }
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface ContractTerm {
4
-
5
4
  id:string;
6
5
  status:'active' | 'cancelled' | 'completed' | 'terminated';
7
6
  contract_start:number;
@@ -15,5 +14,4 @@ declare module 'chargebee' {
15
14
  subscription_id:string;
16
15
  remaining_billing_cycles?:number;
17
16
  }
18
-
19
17
  }
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Coupon {
4
-
5
4
  id:string;
6
5
  name:string;
7
6
  invoice_name?:string;
@@ -41,7 +40,7 @@ declare module 'chargebee' {
41
40
  next_offset?:string;
42
41
  }
43
42
  export interface ListInputParam {
44
- [key: string]: string | number | object | boolean;
43
+ [key : string]: any;
45
44
  limit?:number;
46
45
  offset?:string;
47
46
  id?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
@@ -61,7 +60,6 @@ declare module 'chargebee' {
61
60
  coupon:Coupon;
62
61
  }
63
62
  export interface UpdateForItemsInputParam {
64
-
65
63
  name?:string;
66
64
  invoice_name?:string;
67
65
  discount_type?:'fixed_amount' | 'percentage';
@@ -94,7 +92,6 @@ declare module 'chargebee' {
94
92
  coupon:Coupon;
95
93
  }
96
94
  export interface CopyInputParam {
97
-
98
95
  from_site:string;
99
96
  id_at_from_site:string;
100
97
  id?:string;
@@ -108,7 +105,6 @@ declare module 'chargebee' {
108
105
  coupon:Coupon;
109
106
  }
110
107
  export interface CreateForItemsInputParam {
111
-
112
108
  id:string;
113
109
  name:string;
114
110
  invoice_name?:string;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface CouponCode {
4
-
5
4
  code:string;
6
5
  status:'archived' | 'redeemed' | 'not_redeemed';
7
6
  coupon_id:string;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface CouponSet {
4
-
5
4
  id:string;
6
5
  coupon_id:string;
7
6
  name:string;
@@ -24,7 +23,7 @@ declare module 'chargebee' {
24
23
  next_offset?:string;
25
24
  }
26
25
  export interface ListInputParam {
27
- [key: string]: string | number | object | boolean;
26
+ [key : string]: any;
28
27
  limit?:number;
29
28
  offset?:string;
30
29
  id?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
@@ -38,7 +37,6 @@ declare module 'chargebee' {
38
37
  coupon_set:CouponSet;
39
38
  }
40
39
  export interface CreateInputParam {
41
-
42
40
  coupon_id:string;
43
41
  name:string;
44
42
  id:string;
@@ -48,7 +46,6 @@ declare module 'chargebee' {
48
46
  coupon_set:CouponSet;
49
47
  }
50
48
  export interface UpdateInputParam {
51
-
52
49
  name?:string;
53
50
  meta_data?:object;
54
51
  }
@@ -60,7 +57,6 @@ declare module 'chargebee' {
60
57
  coupon_set:CouponSet;
61
58
  }
62
59
  export interface AddCouponCodesInputParam {
63
-
64
60
  code?:string[];
65
61
  }
66
62
  export interface DeleteUnusedCouponCodesResponse {
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface CreditNote {
4
-
5
4
  id:string;
6
5
  customer_id:string;
7
6
  subscription_id?:string;
@@ -68,7 +67,6 @@ declare module 'chargebee' {
68
67
  credit_note:CreditNote;
69
68
  }
70
69
  export interface VoidCreditNoteInputParam {
71
-
72
70
  comment?:string;
73
71
  }
74
72
  export interface RefundResponse {
@@ -76,7 +74,6 @@ declare module 'chargebee' {
76
74
  transaction:Transaction;
77
75
  }
78
76
  export interface RefundInputParam {
79
-
80
77
  refund_amount?:number;
81
78
  customer_notes?:string;
82
79
  refund_reason_code?:string;
@@ -86,7 +83,7 @@ declare module 'chargebee' {
86
83
  next_offset?:string;
87
84
  }
88
85
  export interface ListInputParam {
89
- [key: string]: string | number | object | boolean;
86
+ [key : string]: any;
90
87
  limit?:number;
91
88
  offset?:string;
92
89
  include_deleted?:boolean;
@@ -115,7 +112,6 @@ declare module 'chargebee' {
115
112
  invoice:Invoice;
116
113
  }
117
114
  export interface CreateInputParam {
118
-
119
115
  reference_invoice_id:string;
120
116
  total?:number;
121
117
  type:'adjustment' | 'refundable';
@@ -131,7 +127,6 @@ declare module 'chargebee' {
131
127
  transaction?:Transaction;
132
128
  }
133
129
  export interface RecordRefundInputParam {
134
-
135
130
  refund_reason_code?:string;
136
131
  comment?:string;
137
132
  transaction?:{amount?:number,date:number,payment_method:PaymentMethod,reference_number?:string};
@@ -140,7 +135,6 @@ declare module 'chargebee' {
140
135
  credit_note:CreditNote;
141
136
  }
142
137
  export interface ImportCreditNoteInputParam {
143
-
144
138
  id:string;
145
139
  customer_id?:string;
146
140
  subscription_id?:string;
@@ -168,7 +162,6 @@ declare module 'chargebee' {
168
162
  credit_note:CreditNote;
169
163
  }
170
164
  export interface DeleteInputParam {
171
-
172
165
  comment?:string;
173
166
  }
174
167
  export interface DownloadEinvoiceResponse {
@@ -179,7 +172,6 @@ declare module 'chargebee' {
179
172
  download:Download;
180
173
  }
181
174
  export interface PdfInputParam {
182
-
183
175
  disposition_type?:DispositionType;
184
176
  }
185
177
  export interface ResendEinvoiceResponse {
@@ -190,7 +182,6 @@ declare module 'chargebee' {
190
182
  credit_note:CreditNote;
191
183
  }
192
184
  export interface RemoveTaxWithheldRefundInputParam {
193
-
194
185
  tax_withheld?:{id:string};
195
186
  }
196
187
  export interface RetrieveResponse {
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface CreditNoteEstimate {
4
-
5
4
  reference_invoice_id:string;
6
5
  type:'adjustment' | 'refundable';
7
6
  price_type:PriceType;
@@ -95,14 +95,12 @@ declare module 'chargebee' {
95
95
  card?:Card;
96
96
  }
97
97
  export interface DeleteInputParam {
98
-
99
98
  delete_payment_method?:boolean;
100
99
  }
101
100
  export interface RelationshipsResponse {
102
101
  customer:Customer;
103
102
  }
104
103
  export interface RelationshipsInputParam {
105
-
106
104
  parent_id?:string;
107
105
  payment_owner_id?:string;
108
106
  invoice_owner_id?:string;
@@ -119,7 +117,6 @@ declare module 'chargebee' {
119
117
  card?:Card;
120
118
  }
121
119
  export interface DeleteContactInputParam {
122
-
123
120
  contact?:{id:string};
124
121
  }
125
122
  export interface AssignPaymentRoleResponse {
@@ -127,7 +124,6 @@ declare module 'chargebee' {
127
124
  payment_source:PaymentSource;
128
125
  }
129
126
  export interface AssignPaymentRoleInputParam {
130
-
131
127
  payment_source_id:string;
132
128
  role:Role;
133
129
  }
@@ -135,7 +131,6 @@ declare module 'chargebee' {
135
131
  resource_migration:ResourceMigration;
136
132
  }
137
133
  export interface MoveInputParam {
138
-
139
134
  id_at_from_site:string;
140
135
  from_site:string;
141
136
  }
@@ -143,7 +138,6 @@ declare module 'chargebee' {
143
138
  hierarchies:Hierarchy[];
144
139
  }
145
140
  export interface HierarchyInputParam {
146
-
147
141
  hierarchy_operation_type:'complete_hierarchy' | 'subordinates' | 'path_to_root';
148
142
  }
149
143
  export interface UpdatePaymentMethodResponse {
@@ -151,7 +145,6 @@ declare module 'chargebee' {
151
145
  card?:Card;
152
146
  }
153
147
  export interface UpdatePaymentMethodInputParam {
154
-
155
148
  payment_method?:{additional_information?:object,gateway_account_id?:string,issuing_country?:string,reference_id?:string,tmp_token?:string,type:Type};
156
149
  }
157
150
  export interface RetrieveResponse {
@@ -193,7 +186,6 @@ declare module 'chargebee' {
193
186
  customer:Customer;
194
187
  }
195
188
  export interface ChangeBillingDateInputParam {
196
-
197
189
  billing_date?:number;
198
190
  billing_month?:number;
199
191
  billing_date_mode?:BillingDateMode;
@@ -205,7 +197,7 @@ declare module 'chargebee' {
205
197
  next_offset?:string;
206
198
  }
207
199
  export interface ListInputParam {
208
- [key: string]: string | number | object | boolean;
200
+ [key : string]: any;
209
201
  limit?:number;
210
202
  offset?:string;
211
203
  include_deleted?:boolean;
@@ -277,7 +269,6 @@ declare module 'chargebee' {
277
269
  card?:Card;
278
270
  }
279
271
  export interface AddContactInputParam {
280
-
281
272
  contact?:{email:string,enabled?:boolean,first_name?:string,id?:string,label?:string,last_name?:string,phone?:string,send_account_email?:boolean,send_billing_email?:boolean};
282
273
  }
283
274
  export interface ContactsForCustomerResponse {
@@ -285,7 +276,7 @@ declare module 'chargebee' {
285
276
  next_offset?:string;
286
277
  }
287
278
  export interface ContactsForCustomerInputParam {
288
- [key: string]: string | number | object | boolean;
279
+ [key : string]: any;
289
280
  limit?:number;
290
281
  offset?:string;
291
282
  }
@@ -297,7 +288,6 @@ declare module 'chargebee' {
297
288
  customer:Customer;
298
289
  }
299
290
  export interface MergeInputParam {
300
-
301
291
  from_customer_id:string;
302
292
  to_customer_id:string;
303
293
  }
@@ -306,7 +296,6 @@ declare module 'chargebee' {
306
296
  transaction:Transaction;
307
297
  }
308
298
  export interface CollectPaymentInputParam {
309
-
310
299
  amount?:number;
311
300
  payment_source_id?:string;
312
301
  token_id?:string;
@@ -323,7 +312,6 @@ declare module 'chargebee' {
323
312
  transaction:Transaction;
324
313
  }
325
314
  export interface RecordExcessPaymentInputParam {
326
-
327
315
  comment?:string;
328
316
  transaction?:{amount:number,currency_code?:string,date:number,payment_method:PaymentMethod,reference_number?:string};
329
317
  }
@@ -332,14 +320,12 @@ declare module 'chargebee' {
332
320
  card?:Card;
333
321
  }
334
322
  export interface UpdateContactInputParam {
335
-
336
323
  contact?:{email?:string,enabled?:boolean,first_name?:string,id:string,label?:string,last_name?:string,phone?:string,send_account_email?:boolean,send_billing_email?:boolean};
337
324
  }
338
325
  export interface UpdateHierarchySettingsResponse {
339
326
  customer:Customer;
340
327
  }
341
328
  export interface UpdateHierarchySettingsInputParam {
342
-
343
329
  use_default_hierarchy_settings?:boolean;
344
330
  parent_account_access?:{portal_download_child_invoices?:'no' | 'yes' | 'view_only',portal_edit_child_subscriptions?:'no' | 'yes' | 'view_only',send_invoice_emails?:boolean,send_payment_emails?:boolean,send_subscription_emails?:boolean};
345
331
  child_account_access?:{portal_download_invoices?:'no' | 'yes' | 'view_only',portal_edit_subscriptions?:'yes' | 'view_only',send_invoice_emails?:boolean,send_payment_emails?:boolean,send_subscription_emails?:boolean};
@@ -349,7 +335,6 @@ declare module 'chargebee' {
349
335
  card?:Card;
350
336
  }
351
337
  export interface UpdateBillingInfoInputParam {
352
-
353
338
  vat_number?:string;
354
339
  vat_number_prefix?:string;
355
340
  entity_identifier_scheme?:string;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface DifferentialPrice {
4
-
5
4
  id:string;
6
5
  item_price_id:string;
7
6
  parent_item_id:string;
@@ -28,14 +27,12 @@ declare module 'chargebee' {
28
27
  differential_price:DifferentialPrice;
29
28
  }
30
29
  export interface DeleteInputParam {
31
-
32
30
  item_price_id:string;
33
31
  }
34
32
  export interface CreateResponse {
35
33
  differential_price:DifferentialPrice;
36
34
  }
37
35
  export interface CreateInputParam {
38
-
39
36
  parent_item_id:string;
40
37
  price?:number;
41
38
  price_in_decimal?:string;
@@ -47,7 +44,7 @@ declare module 'chargebee' {
47
44
  next_offset?:string;
48
45
  }
49
46
  export interface ListInputParam {
50
- [key: string]: string | number | object | boolean;
47
+ [key : string]: any;
51
48
  limit?:number;
52
49
  offset?:string;
53
50
  item_price_id?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
@@ -59,14 +56,12 @@ declare module 'chargebee' {
59
56
  differential_price:DifferentialPrice;
60
57
  }
61
58
  export interface RetrieveInputParam {
62
-
63
59
  item_price_id:string;
64
60
  }
65
61
  export interface UpdateResponse {
66
62
  differential_price:DifferentialPrice;
67
63
  }
68
64
  export interface UpdateInputParam {
69
-
70
65
  item_price_id:string;
71
66
  price?:number;
72
67
  price_in_decimal?:string;
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Discount {
4
-
5
4
  id:string;
6
5
  invoice_name?:string;
7
6
  type:'fixed_amount' | 'percentage';
@@ -20,5 +19,4 @@ declare module 'chargebee' {
20
19
  coupon_id:string;
21
20
  index:number;
22
21
  }
23
-
24
22
  }
@@ -1,10 +1,8 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface Download {
4
-
5
4
  download_url:string;
6
5
  valid_till:number;
7
6
  mime_type?:string;
8
7
  }
9
-
10
8
  }
@@ -1,7 +1,6 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface EntitlementOverride {
4
-
5
4
  id:string;
6
5
  entity_id?:string;
7
6
  entity_type?:string;
@@ -21,7 +20,7 @@ declare module 'chargebee' {
21
20
  next_offset?:string;
22
21
  }
23
22
  export interface ListEntitlementOverrideForSubscriptionInputParam {
24
- [key: string]: string | number | object | boolean;
23
+ [key : string]: any;
25
24
  limit?:number;
26
25
  offset?:string;
27
26
  }
@@ -29,7 +28,6 @@ declare module 'chargebee' {
29
28
  entitlement_override:EntitlementOverride;
30
29
  }
31
30
  export interface AddEntitlementOverrideForSubscriptionInputParam {
32
-
33
31
  action?:Action;
34
32
  entitlement_overrides?:{expires_at?:number,feature_id:string,value?:string}[];
35
33
  }