chargebee 2.46.0 → 2.48.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 +51 -0
- package/lib/chargebee.js +48 -25
- package/lib/resources/api_endpoints.js +2147 -407
- package/package.json +1 -1
- package/types/core.d.ts +3 -3
- package/types/index.d.ts +4 -0
- package/types/resources/AttachedItem.d.ts +20 -205
- package/types/resources/Coupon.d.ts +2 -0
- package/types/resources/CreditNote.d.ts +119 -1216
- package/types/resources/DifferentialPrice.d.ts +20 -200
- package/types/resources/Invoice.d.ts +344 -2219
- package/types/resources/InvoiceEstimate.d.ts +9 -0
- package/types/resources/Item.d.ts +2 -0
- package/types/resources/ItemFamily.d.ts +2 -0
- package/types/resources/ItemPrice.d.ts +2 -0
- package/types/resources/Order.d.ts +184 -1073
- package/types/resources/PriceVariant.d.ts +24 -163
- package/types/resources/Purchase.d.ts +13 -258
- package/types/resources/Rule.d.ts +38 -0
- package/types/resources/Subscription.d.ts +2 -0
- package/types/resources/UsageEvent.d.ts +46 -0
|
@@ -30,6 +30,8 @@ declare module 'chargebee' {
|
|
|
30
30
|
|
|
31
31
|
line_item_tiers?:InvoiceEstimate.LineItemTier[];
|
|
32
32
|
|
|
33
|
+
line_item_credits?:InvoiceEstimate.LineItemCredit[];
|
|
34
|
+
|
|
33
35
|
line_item_discounts?:InvoiceEstimate.LineItemDiscount[];
|
|
34
36
|
|
|
35
37
|
round_off_amount?:number;
|
|
@@ -159,6 +161,13 @@ declare module 'chargebee' {
|
|
|
159
161
|
|
|
160
162
|
unit_amount_in_decimal?:string;
|
|
161
163
|
}
|
|
164
|
+
export interface LineItemCredit {
|
|
165
|
+
cn_id:string;
|
|
166
|
+
|
|
167
|
+
applied_amount:number;
|
|
168
|
+
|
|
169
|
+
line_item_id?:string;
|
|
170
|
+
}
|
|
162
171
|
export interface LineItemDiscount {
|
|
163
172
|
line_item_id:string;
|
|
164
173
|
|