chargebee 3.4.0 → 3.6.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 (35) hide show
  1. package/CHANGELOG.md +149 -0
  2. package/README.md +6 -3
  3. package/cjs/environment.js +1 -1
  4. package/cjs/resources/api_endpoints.js +14 -1
  5. package/esm/environment.js +1 -1
  6. package/esm/resources/api_endpoints.js +14 -1
  7. package/package.json +1 -1
  8. package/types/core.d.ts +17 -5
  9. package/types/index.d.ts +6 -0
  10. package/types/resources/Addon.d.ts +283 -0
  11. package/types/resources/Comment.d.ts +2 -0
  12. package/types/resources/CreditNote.d.ts +26 -1
  13. package/types/resources/CreditNoteEstimate.d.ts +4 -1
  14. package/types/resources/DifferentialPrice.d.ts +6 -0
  15. package/types/resources/Estimate.d.ts +19 -0
  16. package/types/resources/HostedPage.d.ts +6 -0
  17. package/types/resources/Invoice.d.ts +33 -1
  18. package/types/resources/InvoiceEstimate.d.ts +26 -1
  19. package/types/resources/Item.d.ts +2 -0
  20. package/types/resources/ItemPrice.d.ts +6 -0
  21. package/types/resources/OmnichannelSubscription.d.ts +5 -5
  22. package/types/resources/OmnichannelSubscriptionItem.d.ts +38 -2
  23. package/types/resources/OmnichannelSubscriptionItemScheduledChange.d.ts +27 -0
  24. package/types/resources/OmnichannelTransaction.d.ts +4 -4
  25. package/types/resources/PaymentSource.d.ts +1 -0
  26. package/types/resources/Plan.d.ts +401 -0
  27. package/types/resources/Purchase.d.ts +33 -0
  28. package/types/resources/Quote.d.ts +22 -1
  29. package/types/resources/QuoteLineGroup.d.ts +2 -1
  30. package/types/resources/QuotedCharge.d.ts +2 -0
  31. package/types/resources/QuotedSubscription.d.ts +2 -0
  32. package/types/resources/Ramp.d.ts +6 -0
  33. package/types/resources/RecordedPurchase.d.ts +7 -1
  34. package/types/resources/Subscription.d.ts +8 -0
  35. package/types/resources/UnbilledCharge.d.ts +4 -0
@@ -103,6 +103,8 @@ declare module 'chargebee' {
103
103
  ending_unit_in_decimal?: string;
104
104
  quantity_used_in_decimal?: string;
105
105
  unit_amount_in_decimal?: string;
106
+ pricing_type?: 'per_unit' | 'flat_fee' | 'package';
107
+ package_size?: number;
106
108
  }
107
109
  // REQUEST PARAMS
108
110
  //---------------
@@ -190,6 +192,8 @@ declare module 'chargebee' {
190
192
  starting_unit_in_decimal?: string;
191
193
  ending_unit_in_decimal?: string;
192
194
  price_in_decimal?: string;
195
+ pricing_type?: PricingTypeEnum;
196
+ package_size?: number;
193
197
  }
194
198
  export interface ItemPricesCreateInputParam {
195
199
  item_price_id?: string;