chargebee 3.23.1 → 3.25.0-beta.1
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 +97 -0
- package/README.md +39 -0
- package/cjs/RequestWrapper.js +27 -0
- package/cjs/chargebee.cjs.js +3 -0
- package/cjs/chargebee.cjs.worker.js +2 -0
- package/cjs/chargebeeZodValidationError.js +18 -0
- package/cjs/createChargebee.js +5 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +80 -2
- package/cjs/schema/addon.schema.js +153 -0
- package/cjs/schema/address.schema.js +35 -0
- package/cjs/schema/alert.schema.js +38 -0
- package/cjs/schema/attached_item.schema.js +58 -0
- package/cjs/schema/business_entity.schema.js +46 -0
- package/cjs/schema/card.schema.js +165 -0
- package/cjs/schema/comment.schema.js +69 -0
- package/cjs/schema/coupon.schema.js +209 -0
- package/cjs/schema/coupon_code.schema.js +14 -0
- package/cjs/schema/coupon_set.schema.js +28 -0
- package/cjs/schema/credit_note.schema.js +288 -0
- package/cjs/schema/currency.schema.js +32 -0
- package/cjs/schema/customer.schema.js +986 -0
- package/cjs/schema/customer_entitlement.schema.js +14 -0
- package/cjs/schema/differential_price.schema.js +68 -0
- package/cjs/schema/entitlement.schema.js +27 -0
- package/cjs/schema/entitlement_override.schema.js +33 -0
- package/cjs/schema/estimate.schema.js +1525 -0
- package/cjs/schema/export.schema.js +1545 -0
- package/cjs/schema/feature.schema.js +37 -0
- package/cjs/schema/gift.schema.js +277 -0
- package/cjs/schema/hosted_page.schema.js +1649 -0
- package/cjs/schema/in_app_subscription.schema.js +68 -0
- package/cjs/schema/index.js +80 -0
- package/cjs/schema/invoice.schema.js +1467 -0
- package/cjs/schema/item.schema.js +91 -0
- package/cjs/schema/item_entitlement.schema.js +45 -0
- package/cjs/schema/item_family.schema.js +21 -0
- package/cjs/schema/item_price.schema.js +190 -0
- package/cjs/schema/non_subscription.schema.js +28 -0
- package/cjs/schema/offer_event.schema.js +13 -0
- package/cjs/schema/offer_fulfillment.schema.js +20 -0
- package/cjs/schema/omnichannel_one_time_order.schema.js +26 -0
- package/cjs/schema/omnichannel_subscription.schema.js +89 -0
- package/cjs/schema/omnichannel_subscription_item.schema.js +13 -0
- package/cjs/schema/order.schema.js +273 -0
- package/cjs/schema/payment_intent.schema.js +117 -0
- package/cjs/schema/payment_schedule_scheme.schema.js +20 -0
- package/cjs/schema/payment_source.schema.js +358 -0
- package/cjs/schema/payment_voucher.schema.js +57 -0
- package/cjs/schema/personalized_offer.schema.js +28 -0
- package/cjs/schema/plan.schema.js +225 -0
- package/cjs/schema/portal_session.schema.js +22 -0
- package/cjs/schema/price_variant.schema.js +36 -0
- package/cjs/schema/pricing_page_session.schema.js +135 -0
- package/cjs/schema/promotional_credit.schema.js +78 -0
- package/cjs/schema/purchase.schema.js +272 -0
- package/cjs/schema/quote.schema.js +1557 -0
- package/cjs/schema/ramp.schema.js +209 -0
- package/cjs/schema/recorded_purchase.schema.js +32 -0
- package/cjs/schema/resource_migration.schema.js +14 -0
- package/cjs/schema/site_migration_detail.schema.js +81 -0
- package/cjs/schema/subscription.schema.js +2993 -0
- package/cjs/schema/subscription_entitlement.schema.js +25 -0
- package/cjs/schema/time_machine.schema.js +17 -0
- package/cjs/schema/transaction.schema.js +70 -0
- package/cjs/schema/unbilled_charge.schema.js +113 -0
- package/cjs/schema/usage.schema.js +93 -0
- package/cjs/schema/usage_charge.schema.js +17 -0
- package/cjs/schema/usage_event.schema.js +28 -0
- package/cjs/schema/usage_file.schema.js +13 -0
- package/cjs/schema/usage_summary.schema.js +17 -0
- package/cjs/schema/virtual_bank_account.schema.js +43 -0
- package/cjs/schema/webhook_endpoint.schema.js +504 -0
- package/cjs/validationLoader.js +59 -0
- package/esm/RequestWrapper.js +27 -0
- package/esm/chargebee.esm.js +2 -0
- package/esm/chargebee.esm.worker.js +1 -0
- package/esm/chargebeeZodValidationError.js +14 -0
- package/esm/createChargebee.js +5 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +80 -2
- package/esm/schema/addon.schema.js +150 -0
- package/esm/schema/address.schema.js +32 -0
- package/esm/schema/alert.schema.js +35 -0
- package/esm/schema/attached_item.schema.js +55 -0
- package/esm/schema/business_entity.schema.js +43 -0
- package/esm/schema/card.schema.js +162 -0
- package/esm/schema/comment.schema.js +66 -0
- package/esm/schema/coupon.schema.js +206 -0
- package/esm/schema/coupon_code.schema.js +11 -0
- package/esm/schema/coupon_set.schema.js +25 -0
- package/esm/schema/credit_note.schema.js +285 -0
- package/esm/schema/currency.schema.js +29 -0
- package/esm/schema/customer.schema.js +983 -0
- package/esm/schema/customer_entitlement.schema.js +11 -0
- package/esm/schema/differential_price.schema.js +65 -0
- package/esm/schema/entitlement.schema.js +24 -0
- package/esm/schema/entitlement_override.schema.js +30 -0
- package/esm/schema/estimate.schema.js +1522 -0
- package/esm/schema/export.schema.js +1542 -0
- package/esm/schema/feature.schema.js +34 -0
- package/esm/schema/gift.schema.js +274 -0
- package/esm/schema/hosted_page.schema.js +1646 -0
- package/esm/schema/in_app_subscription.schema.js +65 -0
- package/esm/schema/index.js +64 -0
- package/esm/schema/invoice.schema.js +1464 -0
- package/esm/schema/item.schema.js +88 -0
- package/esm/schema/item_entitlement.schema.js +42 -0
- package/esm/schema/item_family.schema.js +18 -0
- package/esm/schema/item_price.schema.js +187 -0
- package/esm/schema/non_subscription.schema.js +25 -0
- package/esm/schema/offer_event.schema.js +10 -0
- package/esm/schema/offer_fulfillment.schema.js +17 -0
- package/esm/schema/omnichannel_one_time_order.schema.js +23 -0
- package/esm/schema/omnichannel_subscription.schema.js +86 -0
- package/esm/schema/omnichannel_subscription_item.schema.js +10 -0
- package/esm/schema/order.schema.js +270 -0
- package/esm/schema/payment_intent.schema.js +114 -0
- package/esm/schema/payment_schedule_scheme.schema.js +17 -0
- package/esm/schema/payment_source.schema.js +355 -0
- package/esm/schema/payment_voucher.schema.js +54 -0
- package/esm/schema/personalized_offer.schema.js +25 -0
- package/esm/schema/plan.schema.js +222 -0
- package/esm/schema/portal_session.schema.js +19 -0
- package/esm/schema/price_variant.schema.js +33 -0
- package/esm/schema/pricing_page_session.schema.js +132 -0
- package/esm/schema/promotional_credit.schema.js +75 -0
- package/esm/schema/purchase.schema.js +269 -0
- package/esm/schema/quote.schema.js +1554 -0
- package/esm/schema/ramp.schema.js +206 -0
- package/esm/schema/recorded_purchase.schema.js +29 -0
- package/esm/schema/resource_migration.schema.js +11 -0
- package/esm/schema/site_migration_detail.schema.js +78 -0
- package/esm/schema/subscription.schema.js +2990 -0
- package/esm/schema/subscription_entitlement.schema.js +22 -0
- package/esm/schema/time_machine.schema.js +14 -0
- package/esm/schema/transaction.schema.js +67 -0
- package/esm/schema/unbilled_charge.schema.js +110 -0
- package/esm/schema/usage.schema.js +90 -0
- package/esm/schema/usage_charge.schema.js +14 -0
- package/esm/schema/usage_event.schema.js +25 -0
- package/esm/schema/usage_file.schema.js +10 -0
- package/esm/schema/usage_summary.schema.js +14 -0
- package/esm/schema/virtual_bank_account.schema.js +40 -0
- package/esm/schema/webhook_endpoint.schema.js +501 -0
- package/esm/validationLoader.js +56 -0
- package/package.json +5 -2
- package/types/core.d.ts +34 -8
- package/types/index.d.ts +20 -0
- package/types/resources/Alert.d.ts +110 -4
- package/types/resources/AlertStatus.d.ts +43 -2
- package/types/resources/Card.d.ts +1 -0
- package/types/resources/Content.d.ts +2 -0
- package/types/resources/Customer.d.ts +16 -2
- package/types/resources/Estimate.d.ts +16 -2
- package/types/resources/Event.d.ts +4 -2
- package/types/resources/FilterCondition.d.ts +10 -0
- package/types/resources/Gift.d.ts +16 -2
- package/types/resources/Invoice.d.ts +17 -2
- package/types/resources/PaymentIntent.d.ts +42 -6
- package/types/resources/PaymentSource.d.ts +11 -2
- package/types/resources/Purchase.d.ts +8 -1
- package/types/resources/Quote.d.ts +2 -0
- package/types/resources/QuoteEntitlement.d.ts +16 -0
- package/types/resources/Subscription.d.ts +56 -7
- package/types/resources/VirtualBankAccount.d.ts +2 -0
|
@@ -1419,7 +1419,14 @@ declare module 'chargebee' {
|
|
|
1419
1419
|
| 'cash_app_pay'
|
|
1420
1420
|
| 'wechat_pay'
|
|
1421
1421
|
| 'alipay'
|
|
1422
|
-
| 'pix'
|
|
1422
|
+
| 'pix'
|
|
1423
|
+
| 'twint'
|
|
1424
|
+
| 'go_pay'
|
|
1425
|
+
| 'grab_pay'
|
|
1426
|
+
| 'pay_co'
|
|
1427
|
+
| 'after_pay'
|
|
1428
|
+
| 'swish'
|
|
1429
|
+
| 'payme';
|
|
1423
1430
|
reference_id?: string;
|
|
1424
1431
|
/**
|
|
1425
1432
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1559,7 +1566,14 @@ declare module 'chargebee' {
|
|
|
1559
1566
|
| 'cash_app_pay'
|
|
1560
1567
|
| 'wechat_pay'
|
|
1561
1568
|
| 'alipay'
|
|
1562
|
-
| 'pix'
|
|
1569
|
+
| 'pix'
|
|
1570
|
+
| 'twint'
|
|
1571
|
+
| 'go_pay'
|
|
1572
|
+
| 'grab_pay'
|
|
1573
|
+
| 'pay_co'
|
|
1574
|
+
| 'after_pay'
|
|
1575
|
+
| 'swish'
|
|
1576
|
+
| 'payme';
|
|
1563
1577
|
reference_id?: string;
|
|
1564
1578
|
/**
|
|
1565
1579
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1666,7 +1680,14 @@ declare module 'chargebee' {
|
|
|
1666
1680
|
| 'cash_app_pay'
|
|
1667
1681
|
| 'wechat_pay'
|
|
1668
1682
|
| 'alipay'
|
|
1669
|
-
| 'pix'
|
|
1683
|
+
| 'pix'
|
|
1684
|
+
| 'twint'
|
|
1685
|
+
| 'go_pay'
|
|
1686
|
+
| 'grab_pay'
|
|
1687
|
+
| 'pay_co'
|
|
1688
|
+
| 'after_pay'
|
|
1689
|
+
| 'swish'
|
|
1690
|
+
| 'payme';
|
|
1670
1691
|
reference_id?: string;
|
|
1671
1692
|
/**
|
|
1672
1693
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1828,7 +1849,14 @@ declare module 'chargebee' {
|
|
|
1828
1849
|
| 'cash_app_pay'
|
|
1829
1850
|
| 'wechat_pay'
|
|
1830
1851
|
| 'alipay'
|
|
1831
|
-
| 'pix'
|
|
1852
|
+
| 'pix'
|
|
1853
|
+
| 'twint'
|
|
1854
|
+
| 'go_pay'
|
|
1855
|
+
| 'grab_pay'
|
|
1856
|
+
| 'pay_co'
|
|
1857
|
+
| 'after_pay'
|
|
1858
|
+
| 'swish'
|
|
1859
|
+
| 'payme';
|
|
1832
1860
|
reference_id?: string;
|
|
1833
1861
|
/**
|
|
1834
1862
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -2004,7 +2032,14 @@ declare module 'chargebee' {
|
|
|
2004
2032
|
| 'cash_app_pay'
|
|
2005
2033
|
| 'wechat_pay'
|
|
2006
2034
|
| 'alipay'
|
|
2007
|
-
| 'pix'
|
|
2035
|
+
| 'pix'
|
|
2036
|
+
| 'twint'
|
|
2037
|
+
| 'go_pay'
|
|
2038
|
+
| 'grab_pay'
|
|
2039
|
+
| 'pay_co'
|
|
2040
|
+
| 'after_pay'
|
|
2041
|
+
| 'swish'
|
|
2042
|
+
| 'payme';
|
|
2008
2043
|
reference_id?: string;
|
|
2009
2044
|
/**
|
|
2010
2045
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -2136,7 +2171,14 @@ declare module 'chargebee' {
|
|
|
2136
2171
|
| 'cash_app_pay'
|
|
2137
2172
|
| 'wechat_pay'
|
|
2138
2173
|
| 'alipay'
|
|
2139
|
-
| 'pix'
|
|
2174
|
+
| 'pix'
|
|
2175
|
+
| 'twint'
|
|
2176
|
+
| 'go_pay'
|
|
2177
|
+
| 'grab_pay'
|
|
2178
|
+
| 'pay_co'
|
|
2179
|
+
| 'after_pay'
|
|
2180
|
+
| 'swish'
|
|
2181
|
+
| 'payme';
|
|
2140
2182
|
reference_id?: string;
|
|
2141
2183
|
/**
|
|
2142
2184
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -2574,7 +2616,14 @@ declare module 'chargebee' {
|
|
|
2574
2616
|
| 'cash_app_pay'
|
|
2575
2617
|
| 'wechat_pay'
|
|
2576
2618
|
| 'alipay'
|
|
2577
|
-
| 'pix'
|
|
2619
|
+
| 'pix'
|
|
2620
|
+
| 'twint'
|
|
2621
|
+
| 'go_pay'
|
|
2622
|
+
| 'grab_pay'
|
|
2623
|
+
| 'pay_co'
|
|
2624
|
+
| 'after_pay'
|
|
2625
|
+
| 'swish'
|
|
2626
|
+
| 'payme';
|
|
2578
2627
|
reference_id?: string;
|
|
2579
2628
|
/**
|
|
2580
2629
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -93,6 +93,7 @@ declare module 'chargebee' {
|
|
|
93
93
|
export interface CreateUsingPermanentTokenInputParam {
|
|
94
94
|
customer_id: string;
|
|
95
95
|
reference_id: string;
|
|
96
|
+
gateway_account_id?: string;
|
|
96
97
|
scheme?:
|
|
97
98
|
| 'ach_credit'
|
|
98
99
|
| 'sepa_credit'
|
|
@@ -105,6 +106,7 @@ declare module 'chargebee' {
|
|
|
105
106
|
export interface CreateInputParam {
|
|
106
107
|
customer_id: string;
|
|
107
108
|
email?: string;
|
|
109
|
+
gateway_account_id?: string;
|
|
108
110
|
scheme?:
|
|
109
111
|
| 'ach_credit'
|
|
110
112
|
| 'sepa_credit'
|