chargebee 3.0.0-beta.4 → 3.0.0-beta.5

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 (47) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/cjs/environment.js +1 -1
  3. package/cjs/util.js +1 -1
  4. package/esm/environment.js +1 -1
  5. package/esm/util.js +1 -1
  6. package/package.json +1 -1
  7. package/types/core.d.ts +88 -78
  8. package/types/resources/Address.d.ts +2 -2
  9. package/types/resources/AdvanceInvoiceSchedule.d.ts +1 -1
  10. package/types/resources/AttachedItem.d.ts +4 -4
  11. package/types/resources/Card.d.ts +3 -3
  12. package/types/resources/Comment.d.ts +2 -2
  13. package/types/resources/Coupon.d.ts +5 -5
  14. package/types/resources/CreditNote.d.ts +7 -7
  15. package/types/resources/CreditNoteEstimate.d.ts +1 -1
  16. package/types/resources/Customer.d.ts +46 -46
  17. package/types/resources/Discount.d.ts +3 -3
  18. package/types/resources/Entitlement.d.ts +1 -1
  19. package/types/resources/EntitlementOverride.d.ts +1 -1
  20. package/types/resources/Estimate.d.ts +100 -100
  21. package/types/resources/Event.d.ts +3 -3
  22. package/types/resources/Export.d.ts +4 -4
  23. package/types/resources/Gift.d.ts +2 -2
  24. package/types/resources/HostedPage.d.ts +64 -64
  25. package/types/resources/Invoice.d.ts +44 -44
  26. package/types/resources/InvoiceEstimate.d.ts +1 -1
  27. package/types/resources/Item.d.ts +5 -5
  28. package/types/resources/ItemEntitlement.d.ts +2 -2
  29. package/types/resources/ItemFamily.d.ts +1 -1
  30. package/types/resources/ItemPrice.d.ts +11 -11
  31. package/types/resources/Order.d.ts +6 -6
  32. package/types/resources/PaymentSource.d.ts +13 -13
  33. package/types/resources/PaymentVoucher.d.ts +9 -9
  34. package/types/resources/PricingPageSession.d.ts +8 -8
  35. package/types/resources/PromotionalCredit.d.ts +4 -4
  36. package/types/resources/Purchase.d.ts +6 -6
  37. package/types/resources/Quote.d.ts +83 -83
  38. package/types/resources/QuotedSubscription.d.ts +1 -1
  39. package/types/resources/Ramp.d.ts +6 -6
  40. package/types/resources/Subscription.d.ts +144 -144
  41. package/types/resources/SubscriptionEstimate.d.ts +2 -2
  42. package/types/resources/ThirdPartyPaymentMethod.d.ts +2 -2
  43. package/types/resources/Token.d.ts +2 -2
  44. package/types/resources/Transaction.d.ts +3 -3
  45. package/types/resources/UnbilledCharge.d.ts +3 -3
  46. package/types/resources/Usage.d.ts +3 -3
  47. package/types/resources/VirtualBankAccount.d.ts +1 -1
@@ -206,12 +206,12 @@ declare module 'chargebee' {
206
206
  service_period_days?: number;
207
207
  }
208
208
  export interface DiscountsToAddCreateForSubscriptionInputParam {
209
- apply_on: ApplyOn;
210
- duration_type: DurationType;
209
+ apply_on: ApplyOnEnum;
210
+ duration_type: DurationTypeEnum;
211
211
  percentage?: number;
212
212
  amount?: number;
213
213
  period?: number;
214
- period_unit?: PeriodUnit;
214
+ period_unit?: PeriodUnitEnum;
215
215
  included_in_mrr?: boolean;
216
216
  item_price_id?: string;
217
217
  }
@@ -247,12 +247,12 @@ declare module 'chargebee' {
247
247
  service_period_days?: number;
248
248
  }
249
249
  export interface DiscountsToAddUpdateInputParam {
250
- apply_on: ApplyOn;
251
- duration_type: DurationType;
250
+ apply_on: ApplyOnEnum;
251
+ duration_type: DurationTypeEnum;
252
252
  percentage?: number;
253
253
  amount?: number;
254
254
  period?: number;
255
- period_unit?: PeriodUnit;
255
+ period_unit?: PeriodUnitEnum;
256
256
  included_in_mrr?: boolean;
257
257
  item_price_id?: string;
258
258
  }