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.
- package/CHANGELOG.md +9 -0
- package/cjs/environment.js +1 -1
- package/cjs/util.js +1 -1
- package/esm/environment.js +1 -1
- package/esm/util.js +1 -1
- package/package.json +1 -1
- package/types/core.d.ts +88 -78
- package/types/resources/Address.d.ts +2 -2
- package/types/resources/AdvanceInvoiceSchedule.d.ts +1 -1
- package/types/resources/AttachedItem.d.ts +4 -4
- package/types/resources/Card.d.ts +3 -3
- package/types/resources/Comment.d.ts +2 -2
- package/types/resources/Coupon.d.ts +5 -5
- package/types/resources/CreditNote.d.ts +7 -7
- package/types/resources/CreditNoteEstimate.d.ts +1 -1
- package/types/resources/Customer.d.ts +46 -46
- package/types/resources/Discount.d.ts +3 -3
- package/types/resources/Entitlement.d.ts +1 -1
- package/types/resources/EntitlementOverride.d.ts +1 -1
- package/types/resources/Estimate.d.ts +100 -100
- package/types/resources/Event.d.ts +3 -3
- package/types/resources/Export.d.ts +4 -4
- package/types/resources/Gift.d.ts +2 -2
- package/types/resources/HostedPage.d.ts +64 -64
- package/types/resources/Invoice.d.ts +44 -44
- package/types/resources/InvoiceEstimate.d.ts +1 -1
- package/types/resources/Item.d.ts +5 -5
- package/types/resources/ItemEntitlement.d.ts +2 -2
- package/types/resources/ItemFamily.d.ts +1 -1
- package/types/resources/ItemPrice.d.ts +11 -11
- package/types/resources/Order.d.ts +6 -6
- package/types/resources/PaymentSource.d.ts +13 -13
- package/types/resources/PaymentVoucher.d.ts +9 -9
- package/types/resources/PricingPageSession.d.ts +8 -8
- package/types/resources/PromotionalCredit.d.ts +4 -4
- package/types/resources/Purchase.d.ts +6 -6
- package/types/resources/Quote.d.ts +83 -83
- package/types/resources/QuotedSubscription.d.ts +1 -1
- package/types/resources/Ramp.d.ts +6 -6
- package/types/resources/Subscription.d.ts +144 -144
- package/types/resources/SubscriptionEstimate.d.ts +2 -2
- package/types/resources/ThirdPartyPaymentMethod.d.ts +2 -2
- package/types/resources/Token.d.ts +2 -2
- package/types/resources/Transaction.d.ts +3 -3
- package/types/resources/UnbilledCharge.d.ts +3 -3
- package/types/resources/Usage.d.ts +3 -3
- 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:
|
|
210
|
-
duration_type:
|
|
209
|
+
apply_on: ApplyOnEnum;
|
|
210
|
+
duration_type: DurationTypeEnum;
|
|
211
211
|
percentage?: number;
|
|
212
212
|
amount?: number;
|
|
213
213
|
period?: number;
|
|
214
|
-
period_unit?:
|
|
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:
|
|
251
|
-
duration_type:
|
|
250
|
+
apply_on: ApplyOnEnum;
|
|
251
|
+
duration_type: DurationTypeEnum;
|
|
252
252
|
percentage?: number;
|
|
253
253
|
amount?: number;
|
|
254
254
|
period?: number;
|
|
255
|
-
period_unit?:
|
|
255
|
+
period_unit?: PeriodUnitEnum;
|
|
256
256
|
included_in_mrr?: boolean;
|
|
257
257
|
item_price_id?: string;
|
|
258
258
|
}
|