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.
- package/CHANGELOG.md +149 -0
- package/README.md +6 -3
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +14 -1
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +14 -1
- package/package.json +1 -1
- package/types/core.d.ts +17 -5
- package/types/index.d.ts +6 -0
- package/types/resources/Addon.d.ts +283 -0
- package/types/resources/Comment.d.ts +2 -0
- package/types/resources/CreditNote.d.ts +26 -1
- package/types/resources/CreditNoteEstimate.d.ts +4 -1
- package/types/resources/DifferentialPrice.d.ts +6 -0
- package/types/resources/Estimate.d.ts +19 -0
- package/types/resources/HostedPage.d.ts +6 -0
- package/types/resources/Invoice.d.ts +33 -1
- package/types/resources/InvoiceEstimate.d.ts +26 -1
- package/types/resources/Item.d.ts +2 -0
- package/types/resources/ItemPrice.d.ts +6 -0
- package/types/resources/OmnichannelSubscription.d.ts +5 -5
- package/types/resources/OmnichannelSubscriptionItem.d.ts +38 -2
- package/types/resources/OmnichannelSubscriptionItemScheduledChange.d.ts +27 -0
- package/types/resources/OmnichannelTransaction.d.ts +4 -4
- package/types/resources/PaymentSource.d.ts +1 -0
- package/types/resources/Plan.d.ts +401 -0
- package/types/resources/Purchase.d.ts +33 -0
- package/types/resources/Quote.d.ts +22 -1
- package/types/resources/QuoteLineGroup.d.ts +2 -1
- package/types/resources/QuotedCharge.d.ts +2 -0
- package/types/resources/QuotedSubscription.d.ts +2 -0
- package/types/resources/Ramp.d.ts +6 -0
- package/types/resources/RecordedPurchase.d.ts +7 -1
- package/types/resources/Subscription.d.ts +8 -0
- 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;
|