chargebee 3.12.0-beta.1 → 3.13.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 (40) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +30 -1
  3. package/cjs/environment.js +1 -1
  4. package/cjs/resources/api_endpoints.js +75 -4
  5. package/esm/environment.js +1 -1
  6. package/esm/resources/api_endpoints.js +75 -4
  7. package/package.json +2 -2
  8. package/types/core.d.ts +8 -1
  9. package/types/index.d.ts +17 -0
  10. package/types/resources/BusinessEntityChange.d.ts +16 -0
  11. package/types/resources/Comment.d.ts +4 -0
  12. package/types/resources/Content.d.ts +106 -0
  13. package/types/resources/CreditNote.d.ts +83 -76
  14. package/types/resources/Customer.d.ts +1 -0
  15. package/types/resources/CustomerEntitlement.d.ts +1 -0
  16. package/types/resources/Discount.d.ts +2 -1
  17. package/types/resources/Estimate.d.ts +4 -0
  18. package/types/resources/Event.d.ts +206 -1
  19. package/types/resources/HostedPage.d.ts +4 -1
  20. package/types/resources/ImpactedCustomer.d.ts +19 -0
  21. package/types/resources/Invoice.d.ts +86 -79
  22. package/types/resources/OmnichannelOneTimeOrder.d.ts +62 -0
  23. package/types/resources/OmnichannelOneTimeOrderItem.d.ts +20 -0
  24. package/types/resources/OmnichannelSubscriptionItemScheduledChange.d.ts +1 -1
  25. package/types/resources/PricingPageSession.d.ts +2 -0
  26. package/types/resources/Product.d.ts +135 -0
  27. package/types/resources/PromotionalCredit.d.ts +1 -0
  28. package/types/resources/Purchase.d.ts +2 -0
  29. package/types/resources/Quote.d.ts +6 -0
  30. package/types/resources/QuotedCharge.d.ts +5 -0
  31. package/types/resources/RecordedPurchase.d.ts +6 -0
  32. package/types/resources/SalesOrder.d.ts +143 -0
  33. package/types/resources/Subscription.d.ts +9 -2
  34. package/types/resources/SubscriptionEntitlementsCreatedDetail.d.ts +9 -0
  35. package/types/resources/SubscriptionEntitlementsUpdatedDetail.d.ts +9 -0
  36. package/types/resources/UsageFile.d.ts +8 -8
  37. package/types/resources/UsageReminderInfo.d.ts +9 -0
  38. package/types/resources/Variant.d.ts +116 -0
  39. package/types/resources/WebhookEndpoint.d.ts +98 -0
  40. package/types/resources/WebhookEvent.d.ts +1607 -0
@@ -36,7 +36,6 @@ declare module 'chargebee' {
36
36
  resource_version?: number;
37
37
  updated_at?: number;
38
38
  channel?: ChannelEnum;
39
- einvoice?: CreditNote.Einvoice;
40
39
  sub_total: number;
41
40
  sub_total_in_local_currency?: number;
42
41
  total_in_local_currency?: number;
@@ -44,11 +43,13 @@ declare module 'chargebee' {
44
43
  round_off_amount?: number;
45
44
  fractional_correction?: number;
46
45
  line_items?: CreditNote.LineItem[];
47
- discounts?: CreditNote.Discount[];
48
- line_item_discounts?: CreditNote.LineItemDiscount[];
49
46
  line_item_tiers?: CreditNote.LineItemTier[];
50
- taxes?: CreditNote.Tax[];
47
+ line_item_discounts?: CreditNote.LineItemDiscount[];
51
48
  line_item_taxes?: CreditNote.LineItemTax[];
49
+ line_item_addresses?: CreditNote.LineItemAddress[];
50
+ discounts?: CreditNote.Discount[];
51
+ taxes?: CreditNote.Tax[];
52
+ tax_origin?: CreditNote.TaxOrigin;
52
53
  linked_refunds?: CreditNote.LinkedRefund[];
53
54
  allocations?: CreditNote.Allocation[];
54
55
  deleted: boolean;
@@ -59,9 +60,8 @@ declare module 'chargebee' {
59
60
  business_entity_id?: string;
60
61
  shipping_address?: CreditNote.ShippingAddress;
61
62
  billing_address?: CreditNote.BillingAddress;
63
+ einvoice?: CreditNote.Einvoice;
62
64
  site_details_at_creation?: CreditNote.SiteDetailsAtCreation;
63
- tax_origin?: CreditNote.TaxOrigin;
64
- line_item_addresses?: CreditNote.LineItemAddress[];
65
65
  }
66
66
 
67
67
  export namespace CreditNote {
@@ -206,18 +206,6 @@ declare module 'chargebee' {
206
206
  credit_note: CreditNote;
207
207
  }
208
208
 
209
- export interface Einvoice {
210
- id: string;
211
- reference_number?: string;
212
- status:
213
- | 'scheduled'
214
- | 'skipped'
215
- | 'in_progress'
216
- | 'success'
217
- | 'failed'
218
- | 'registered';
219
- message?: string;
220
- }
221
209
  export interface LineItem {
222
210
  id?: string;
223
211
  subscription_id?: string;
@@ -267,33 +255,6 @@ declare module 'chargebee' {
267
255
  entity_id?: string;
268
256
  customer_id?: string;
269
257
  }
270
- export interface Discount {
271
- amount: number;
272
- description?: string;
273
- entity_type:
274
- | 'item_level_coupon'
275
- | 'document_level_coupon'
276
- | 'promotional_credits'
277
- | 'prorated_credits'
278
- | 'item_level_discount'
279
- | 'document_level_discount';
280
- discount_type?: 'fixed_amount' | 'percentage';
281
- entity_id?: string;
282
- coupon_set_code?: string;
283
- }
284
- export interface LineItemDiscount {
285
- line_item_id: string;
286
- discount_type:
287
- | 'item_level_coupon'
288
- | 'document_level_coupon'
289
- | 'promotional_credits'
290
- | 'prorated_credits'
291
- | 'item_level_discount'
292
- | 'document_level_discount';
293
- coupon_id?: string;
294
- entity_id?: string;
295
- discount_amount: number;
296
- }
297
258
  export interface LineItemTier {
298
259
  line_item_id?: string;
299
260
  starting_unit: number;
@@ -307,10 +268,18 @@ declare module 'chargebee' {
307
268
  pricing_type?: 'per_unit' | 'flat_fee' | 'package';
308
269
  package_size?: number;
309
270
  }
310
- export interface Tax {
311
- name: string;
312
- amount: number;
313
- description?: string;
271
+ export interface LineItemDiscount {
272
+ line_item_id: string;
273
+ discount_type:
274
+ | 'item_level_coupon'
275
+ | 'document_level_coupon'
276
+ | 'promotional_credits'
277
+ | 'prorated_credits'
278
+ | 'item_level_discount'
279
+ | 'document_level_discount';
280
+ coupon_id?: string;
281
+ entity_id?: string;
282
+ discount_amount: number;
314
283
  }
315
284
  export interface LineItemTax {
316
285
  line_item_id?: string;
@@ -337,6 +306,50 @@ declare module 'chargebee' {
337
306
  tax_amount_in_local_currency?: number;
338
307
  local_currency_code?: string;
339
308
  }
309
+ export interface LineItemAddress {
310
+ line_item_id?: string;
311
+ first_name?: string;
312
+ last_name?: string;
313
+ email?: string;
314
+ company?: string;
315
+ phone?: string;
316
+ line1?: string;
317
+ line2?: string;
318
+ line3?: string;
319
+ city?: string;
320
+ state_code?: string;
321
+ state?: string;
322
+ country?: string;
323
+ zip?: string;
324
+ validation_status?:
325
+ | 'not_validated'
326
+ | 'valid'
327
+ | 'partially_valid'
328
+ | 'invalid';
329
+ }
330
+ export interface Discount {
331
+ amount: number;
332
+ description?: string;
333
+ entity_type:
334
+ | 'item_level_coupon'
335
+ | 'document_level_coupon'
336
+ | 'promotional_credits'
337
+ | 'prorated_credits'
338
+ | 'item_level_discount'
339
+ | 'document_level_discount';
340
+ discount_type?: 'fixed_amount' | 'percentage';
341
+ entity_id?: string;
342
+ coupon_set_code?: string;
343
+ }
344
+ export interface Tax {
345
+ name: string;
346
+ amount: number;
347
+ description?: string;
348
+ }
349
+ export interface TaxOrigin {
350
+ country?: string;
351
+ registration_number?: string;
352
+ }
340
353
  export interface LinkedRefund {
341
354
  txn_id: string;
342
355
  applied_amount: number;
@@ -400,35 +413,22 @@ declare module 'chargebee' {
400
413
  zip?: string;
401
414
  validation_status?: ValidationStatusEnum;
402
415
  }
416
+ export interface Einvoice {
417
+ id: string;
418
+ reference_number?: string;
419
+ status:
420
+ | 'scheduled'
421
+ | 'skipped'
422
+ | 'in_progress'
423
+ | 'success'
424
+ | 'failed'
425
+ | 'registered';
426
+ message?: string;
427
+ }
403
428
  export interface SiteDetailsAtCreation {
404
429
  timezone?: string;
405
430
  organization_address?: object;
406
431
  }
407
- export interface TaxOrigin {
408
- country?: string;
409
- registration_number?: string;
410
- }
411
- export interface LineItemAddress {
412
- line_item_id?: string;
413
- first_name?: string;
414
- last_name?: string;
415
- email?: string;
416
- company?: string;
417
- phone?: string;
418
- line1?: string;
419
- line2?: string;
420
- line3?: string;
421
- city?: string;
422
- state_code?: string;
423
- state?: string;
424
- country?: string;
425
- zip?: string;
426
- validation_status?:
427
- | 'not_validated'
428
- | 'valid'
429
- | 'partially_valid'
430
- | 'invalid';
431
- }
432
432
  // REQUEST PARAMS
433
433
  //---------------
434
434
 
@@ -543,7 +543,9 @@ declare module 'chargebee' {
543
543
  | 'adhoc'
544
544
  | 'plan_item_price'
545
545
  | 'addon_item_price'
546
- | 'charge_item_price';
546
+ | 'charge_item_price'
547
+ | 'plan'
548
+ | 'addon';
547
549
  entity_id?: string;
548
550
  }
549
551
  export interface LineItemRetrieveInputParam {
@@ -558,6 +560,7 @@ declare module 'chargebee' {
558
560
  }
559
561
 
560
562
  export interface TransactionRecordRefundInputParam {
563
+ id?: string;
561
564
  amount?: number;
562
565
  payment_method: PaymentMethodEnum;
563
566
  reference_number?: string;
@@ -590,6 +593,7 @@ declare module 'chargebee' {
590
593
  amount: number;
591
594
  }
592
595
  export interface LinkedRefundsImportCreditNoteInputParam {
596
+ id?: string;
593
597
  amount: number;
594
598
  payment_method: PaymentMethodEnum;
595
599
  date: number;
@@ -640,7 +644,10 @@ declare module 'chargebee' {
640
644
  | 'adhoc'
641
645
  | 'plan_item_price'
642
646
  | 'addon_item_price'
643
- | 'charge_item_price';
647
+ | 'charge_item_price'
648
+ | 'plan_setup'
649
+ | 'plan'
650
+ | 'addon';
644
651
  entity_id?: string;
645
652
  item_level_discount1_entity_id?: string;
646
653
  item_level_discount1_amount?: number;
@@ -869,6 +869,7 @@ declare module 'chargebee' {
869
869
  }
870
870
 
871
871
  export interface TransactionRecordExcessPaymentInputParam {
872
+ id?: string;
872
873
  amount: number;
873
874
  currency_code?: string;
874
875
  date: number;
@@ -31,6 +31,7 @@ declare module 'chargebee' {
31
31
  export interface EntitlementsForCustomerInputParam {
32
32
  limit?: number;
33
33
  offset?: string;
34
+ consolidate_entitlements?: boolean;
34
35
  }
35
36
  }
36
37
  }
@@ -5,9 +5,10 @@ declare module 'chargebee' {
5
5
  export interface Discount {
6
6
  id: string;
7
7
  invoice_name?: string;
8
- type: 'fixed_amount' | 'percentage';
8
+ type: 'fixed_amount' | 'percentage' | 'offer_quantity';
9
9
  percentage?: number;
10
10
  amount?: number;
11
+ quantity?: number;
11
12
  currency_code?: string;
12
13
  duration_type: DurationTypeEnum;
13
14
  period?: number;
@@ -625,6 +625,7 @@ declare module 'chargebee' {
625
625
  period_unit?: PeriodUnitEnum;
626
626
  included_in_mrr?: boolean;
627
627
  item_price_id?: string;
628
+ quantity?: number;
628
629
  }
629
630
  export interface ItemTiersCreateSubItemEstimateInputParam {
630
631
  item_price_id?: string;
@@ -765,6 +766,7 @@ declare module 'chargebee' {
765
766
  period_unit?: PeriodUnitEnum;
766
767
  included_in_mrr?: boolean;
767
768
  item_price_id?: string;
769
+ quantity?: number;
768
770
  }
769
771
  export interface ItemTiersCreateSubItemForCustomerEstimateInputParam {
770
772
  item_price_id?: string;
@@ -927,6 +929,7 @@ declare module 'chargebee' {
927
929
  period_unit?: PeriodUnitEnum;
928
930
  included_in_mrr?: boolean;
929
931
  item_price_id?: string;
932
+ quantity?: number;
930
933
  operation_type: OperationTypeEnum;
931
934
  id?: string;
932
935
  }
@@ -1232,6 +1235,7 @@ declare module 'chargebee' {
1232
1235
  export interface DiscountsCreateInvoiceForItemsInputParam {
1233
1236
  percentage?: number;
1234
1237
  amount?: number;
1238
+ quantity?: number;
1235
1239
  apply_on: ApplyOnEnum;
1236
1240
  item_price_id?: string;
1237
1241
  }
@@ -20,7 +20,212 @@ declare module 'chargebee' {
20
20
  webhooks?: Event.Webhook[];
21
21
  event_type?: EventTypeEnum;
22
22
  api_version?: ApiVersionEnum;
23
- content: any;
23
+ content: SubscriptionPauseScheduledContent &
24
+ CustomerBusinessEntityChangedContent &
25
+ SubscriptionAdvanceInvoiceScheduleAddedContent &
26
+ GiftExpiredContent &
27
+ TaxWithheldDeletedContent &
28
+ UnbilledChargesDeletedContent &
29
+ CouponUpdatedContent &
30
+ OmnichannelSubscriptionItemReactivatedContent &
31
+ OmnichannelSubscriptionItemRenewedContent &
32
+ UnbilledChargesCreatedContent &
33
+ SubscriptionResumedContent &
34
+ OmnichannelOneTimeOrderItemCancelledContent &
35
+ SubscriptionCancelledContent &
36
+ ItemEntitlementsRemovedContent &
37
+ BusinessEntityCreatedContent &
38
+ CouponSetUpdatedContent &
39
+ DifferentialPriceUpdatedContent &
40
+ OmnichannelSubscriptionItemPausedContent &
41
+ EntitlementOverridesRemovedContent &
42
+ SubscriptionActivatedWithBackdatingContent &
43
+ SubscriptionTrialEndReminderContent &
44
+ SubscriptionShippingAddressUpdatedContent &
45
+ VoucherCreateFailedContent &
46
+ GiftClaimedContent &
47
+ CustomerDeletedContent &
48
+ RefundInitiatedContent &
49
+ InvoiceGeneratedWithBackdatingContent &
50
+ AddUsagesReminderContent &
51
+ VoucherCreatedContent &
52
+ RuleUpdatedContent &
53
+ PaymentSchedulesCreatedContent &
54
+ FeatureActivatedContent &
55
+ PaymentSourceLocallyDeletedContent &
56
+ InvoiceGeneratedContent &
57
+ VoucherExpiredContent &
58
+ AuthorizationSucceededContent &
59
+ GiftScheduledContent &
60
+ SubscriptionChangesScheduledContent &
61
+ SubscriptionChangedWithBackdatingContent &
62
+ OmnichannelSubscriptionItemChangedContent &
63
+ GiftUnclaimedContent &
64
+ VirtualBankAccountAddedContent &
65
+ PaymentIntentCreatedContent &
66
+ CreditNoteCreatedWithBackdatingContent &
67
+ ContractTermTerminatedContent &
68
+ ItemFamilyUpdatedContent &
69
+ OrderCreatedContent &
70
+ PriceVariantDeletedContent &
71
+ SubscriptionMovementFailedContent &
72
+ CustomerMovedInContent &
73
+ SubscriptionAdvanceInvoiceScheduleUpdatedContent &
74
+ ItemDeletedContent &
75
+ SubscriptionRampDraftedContent &
76
+ ItemEntitlementsUpdatedContent &
77
+ TokenConsumedContent &
78
+ HierarchyDeletedContent &
79
+ SubscriptionCancellationScheduledContent &
80
+ SubscriptionRenewedContent &
81
+ FeatureUpdatedContent &
82
+ FeatureDeletedContent &
83
+ ItemFamilyCreatedContent &
84
+ OmnichannelSubscriptionItemScheduledChangeRemovedContent &
85
+ OmnichannelSubscriptionItemResumedContent &
86
+ PurchaseCreatedContent &
87
+ EntitlementOverridesUpdatedContent &
88
+ ItemFamilyDeletedContent &
89
+ SubscriptionResumptionScheduledContent &
90
+ FeatureReactivatedContent &
91
+ CouponCodesDeletedContent &
92
+ CardExpiredContent &
93
+ CreditNoteUpdatedContent &
94
+ OmnichannelSubscriptionItemDowngradedContent &
95
+ PriceVariantUpdatedContent &
96
+ PromotionalCreditsDeductedContent &
97
+ SubscriptionRampAppliedContent &
98
+ SubscriptionPausedContent &
99
+ OrderReadyToProcessContent &
100
+ FeatureCreatedContent &
101
+ TransactionDeletedContent &
102
+ CreditNoteCreatedContent &
103
+ OmnichannelSubscriptionItemResubscribedContent &
104
+ RecordPurchaseFailedContent &
105
+ ItemCreatedContent &
106
+ TransactionUpdatedContent &
107
+ MrrUpdatedContent &
108
+ UnbilledChargesInvoicedContent &
109
+ ItemPriceUpdatedContent &
110
+ CouponCodesUpdatedContent &
111
+ VirtualBankAccountUpdatedContent &
112
+ ContractTermCreatedContent &
113
+ SubscriptionChangedContent &
114
+ PaymentFailedContent &
115
+ CreditNoteDeletedContent &
116
+ TaxWithheldRefundedContent &
117
+ ContractTermCompletedContent &
118
+ PaymentSchedulesUpdatedContent &
119
+ OmnichannelSubscriptionItemExpiredContent &
120
+ CardUpdatedContent &
121
+ CustomerCreatedContent &
122
+ SubscriptionRenewalReminderContent &
123
+ OrderDeliveredContent &
124
+ OmnichannelSubscriptionItemCancellationScheduledContent &
125
+ OmnichannelSubscriptionItemGracePeriodExpiredContent &
126
+ CouponCodesAddedContent &
127
+ GiftCancelledContent &
128
+ OrderCancelledContent &
129
+ CouponDeletedContent &
130
+ SubscriptionScheduledChangesRemovedContent &
131
+ PendingInvoiceCreatedContent &
132
+ EntitlementOverridesAutoRemovedContent &
133
+ OmnichannelSubscriptionItemUpgradedContent &
134
+ SubscriptionBusinessEntityChangedContent &
135
+ OmnichannelOneTimeOrderCreatedContent &
136
+ PaymentSourceDeletedContent &
137
+ OmnichannelSubscriptionItemCancelledContent &
138
+ QuoteDeletedContent &
139
+ InvoiceUpdatedContent &
140
+ SubscriptionAdvanceInvoiceScheduleRemovedContent &
141
+ CardDeletedContent &
142
+ OrderReadyToShipContent &
143
+ SubscriptionMovedOutContent &
144
+ PaymentScheduleSchemeCreatedContent &
145
+ BusinessEntityUpdatedContent &
146
+ SubscriptionScheduledResumptionRemovedContent &
147
+ PaymentInitiatedContent &
148
+ FeatureArchivedContent &
149
+ SubscriptionReactivatedWithBackdatingContent &
150
+ OmnichannelSubscriptionImportedContent &
151
+ TokenExpiredContent &
152
+ CardAddedContent &
153
+ CouponCreatedContent &
154
+ RuleDeletedContent &
155
+ ItemPriceEntitlementsUpdatedContent &
156
+ ItemPriceDeletedContent &
157
+ VirtualBankAccountDeletedContent &
158
+ PaymentScheduleSchemeDeletedContent &
159
+ SubscriptionCreatedContent &
160
+ SubscriptionEntitlementsCreatedContent &
161
+ OrderReturnedContent &
162
+ SubscriptionDeletedContent &
163
+ PaymentSourceAddedContent &
164
+ SubscriptionMovedInContent &
165
+ ItemPriceCreatedContent &
166
+ SubscriptionScheduledCancellationRemovedContent &
167
+ PaymentRefundedContent &
168
+ UsageFileIngestedContent &
169
+ DifferentialPriceCreatedContent &
170
+ TransactionCreatedContent &
171
+ PaymentSucceededContent &
172
+ SubscriptionCanceledWithBackdatingContent &
173
+ UnbilledChargesVoidedContent &
174
+ QuoteCreatedContent &
175
+ CouponSetDeletedContent &
176
+ AttachedItemCreatedContent &
177
+ SalesOrderCreatedContent &
178
+ CustomerChangedContent &
179
+ SubscriptionStartedContent &
180
+ SubscriptionActivatedContent &
181
+ PaymentSourceExpiringContent &
182
+ SubscriptionReactivatedContent &
183
+ OrderUpdatedContent &
184
+ SubscriptionScheduledPauseRemovedContent &
185
+ SubscriptionCancellationReminderContent &
186
+ SubscriptionCreatedWithBackdatingContent &
187
+ SubscriptionRampCreatedContent &
188
+ OrderDeletedContent &
189
+ OmnichannelSubscriptionItemPauseScheduledContent &
190
+ GiftUpdatedContent &
191
+ SubscriptionTrialExtendedContent &
192
+ OmnichannelSubscriptionItemGracePeriodStartedContent &
193
+ CardExpiryReminderContent &
194
+ TokenCreatedContent &
195
+ PromotionalCreditsAddedContent &
196
+ SubscriptionRampUpdatedContent &
197
+ CustomerEntitlementsUpdatedContent &
198
+ PaymentSourceExpiredContent &
199
+ CustomerMovedOutContent &
200
+ SubscriptionEntitlementsUpdatedContent &
201
+ OmnichannelSubscriptionItemDunningExpiredContent &
202
+ HierarchyCreatedContent &
203
+ AttachedItemDeletedContent &
204
+ OmnichannelSubscriptionItemScheduledCancellationRemovedContent &
205
+ ItemUpdatedContent &
206
+ CouponSetCreatedContent &
207
+ PaymentIntentUpdatedContent &
208
+ OrderResentContent &
209
+ OmnichannelSubscriptionCreatedContent &
210
+ TaxWithheldRecordedContent &
211
+ PriceVariantCreatedContent &
212
+ DifferentialPriceDeletedContent &
213
+ SubscriptionItemsRenewedContent &
214
+ RuleCreatedContent &
215
+ ContractTermCancelledContent &
216
+ ContractTermRenewedContent &
217
+ InvoiceDeletedContent &
218
+ ItemPriceEntitlementsRemovedContent &
219
+ SalesOrderUpdatedContent &
220
+ OmnichannelSubscriptionItemDunningStartedContent &
221
+ OmnichannelSubscriptionItemChangeScheduledContent &
222
+ PendingInvoiceUpdatedContent &
223
+ QuoteUpdatedContent &
224
+ AttachedItemUpdatedContent &
225
+ PaymentSourceUpdatedContent &
226
+ BusinessEntityDeletedContent &
227
+ AuthorizationVoidedContent &
228
+ SubscriptionRampDeletedContent;
24
229
  origin_user?: string;
25
230
  }
26
231
 
@@ -28,7 +28,7 @@ declare module 'chargebee' {
28
28
  embed: boolean;
29
29
  created_at?: number;
30
30
  expires_at?: number;
31
- content: any;
31
+ content: Content;
32
32
  updated_at?: number;
33
33
  resource_version?: number;
34
34
  checkout_info?: any;
@@ -720,6 +720,7 @@ declare module 'chargebee' {
720
720
  export interface DiscountsCheckoutOneTimeForItemsInputParam {
721
721
  percentage?: number;
722
722
  amount?: number;
723
+ quantity?: number;
723
724
  apply_on: ApplyOnEnum;
724
725
  item_price_id?: string;
725
726
  }
@@ -850,6 +851,7 @@ declare module 'chargebee' {
850
851
  period_unit?: PeriodUnitEnum;
851
852
  included_in_mrr?: boolean;
852
853
  item_price_id?: string;
854
+ quantity?: number;
853
855
  }
854
856
  export interface EntityIdentifiersCheckoutNewForItemsInputParam {
855
857
  id?: string;
@@ -985,6 +987,7 @@ declare module 'chargebee' {
985
987
  period_unit?: PeriodUnitEnum;
986
988
  included_in_mrr?: boolean;
987
989
  item_price_id?: string;
990
+ quantity?: number;
988
991
  operation_type: OperationTypeEnum;
989
992
  id?: string;
990
993
  }
@@ -0,0 +1,19 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+
4
+ declare module 'chargebee' {
5
+ export interface ImpactedCustomer {
6
+ action_type?: string;
7
+ download?: ImpactedCustomer.Download;
8
+ }
9
+
10
+ export namespace ImpactedCustomer {
11
+ export interface Download {
12
+ download_url: string;
13
+ valid_till: number;
14
+ mime_type?: string;
15
+ }
16
+ // REQUEST PARAMS
17
+ //---------------
18
+ }
19
+ }