chargebee 3.24.1 → 3.25.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 +60 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +1 -2
- package/cjs/resources/webhook/eventType.js +2 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +1 -2
- package/esm/resources/webhook/eventType.js +2 -0
- package/package.json +1 -1
- package/types/core.d.ts +23 -4
- package/types/index.d.ts +0 -1
- package/types/resources/Content.d.ts +0 -1
- package/types/resources/Customer.d.ts +14 -4
- package/types/resources/Estimate.d.ts +14 -4
- package/types/resources/Event.d.ts +2 -0
- package/types/resources/Gift.d.ts +23 -6
- package/types/resources/HostedPage.d.ts +1 -0
- package/types/resources/Invoice.d.ts +14 -5
- package/types/resources/OmnichannelSubscription.d.ts +6 -0
- package/types/resources/OmnichannelSubscriptionItem.d.ts +1 -0
- package/types/resources/PaymentIntent.d.ts +35 -10
- package/types/resources/PaymentSource.d.ts +7 -2
- package/types/resources/Purchase.d.ts +7 -2
- package/types/resources/Subscription.d.ts +49 -14
- package/types/resources/WebhookEvent.d.ts +22 -4
- package/types/resources/QuoteEntitlement.d.ts +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,63 @@
|
|
|
1
|
+
### v3.25.0 (2026-06-08)
|
|
2
|
+
* * *
|
|
3
|
+
### New Attributes:
|
|
4
|
+
- [`purchased_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/omnichannel-subscription-object#purchased_at) has been added to [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
5
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/omnichannel-subscription-object#updated_at) has been added to [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
6
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items/omnichannel-subscription-item-object#updated_at) has been added to [`OmnichannelSubscriptionItem`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items).
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### New Parameters:
|
|
10
|
+
- [`customer_id.in`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#customer_id_in) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
11
|
+
- [`customer_id.not_in`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#customer_id_not_in) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
12
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#id) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
13
|
+
- [`id_at_source`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#id_at_source) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
14
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#updated_at) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
15
|
+
- [`purchased_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#purchased_at) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
16
|
+
- [`gift_receiver`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift#gift_receiver) has been added as request body parameter to [`update_a_gift`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift) in [`Gift`](https://apidocs.chargebee.com/docs/api/gifts).
|
|
17
|
+
- [`layout`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items#layout) has been added as request body parameter to [`checkout_gift_subscription_for_items`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Parameter Updates:
|
|
21
|
+
- [`scheduled_at`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift#scheduled_at) has been changed from required to optional in [`update_a_gift`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift) of [`Gift`](https://apidocs.chargebee.com/docs/api/gifts).
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### New Events:
|
|
25
|
+
- [`omnichannel_subscription_item_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_updated) has been added.
|
|
26
|
+
- [`omnichannel_subscription_item_recovered`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_recovered) has been added.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Deleted Resources:
|
|
30
|
+
- QuoteEntitlement has been removed.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Deleted Attributes:
|
|
34
|
+
- `entity_id` has been removed from `QuoteEntitlement`.
|
|
35
|
+
- `entity_type` has been removed from `QuoteEntitlement`.
|
|
36
|
+
- `feature_id` has been removed from `QuoteEntitlement`.
|
|
37
|
+
- `value` has been removed from `QuoteEntitlement`.
|
|
38
|
+
- `is_enabled` has been removed from `QuoteEntitlement`.
|
|
39
|
+
- `start_date` has been removed from `QuoteEntitlement`.
|
|
40
|
+
- `end_date` has been removed from `QuoteEntitlement`.
|
|
41
|
+
- `created_at` has been removed from `QuoteEntitlement`.
|
|
42
|
+
- `modified_at` has been removed from `QuoteEntitlement`.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Deleted Parameters:
|
|
46
|
+
- `exclude` has been removed as query parameter from [`list_invoices`](https://apidocs.chargebee.com/docs/api/invoices/list-invoices) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### New Enums:
|
|
50
|
+
- `omnichannel_subscription_item_updated` and `omnichannel_subscription_item_recovered` have been added as new values enum `EventType`.
|
|
51
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethod`.
|
|
52
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethodType`.
|
|
53
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `Type`.
|
|
54
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
55
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
56
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
57
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
1
61
|
### v3.24.1 (2026-06-03)
|
|
2
62
|
* * *
|
|
3
63
|
### Bug Fixes:
|
package/cjs/environment.js
CHANGED
|
@@ -11,7 +11,7 @@ exports.Environment = {
|
|
|
11
11
|
hostSuffix: '.chargebee.com',
|
|
12
12
|
apiPath: '/api/v2',
|
|
13
13
|
timeout: DEFAULT_TIME_OUT,
|
|
14
|
-
clientVersion: 'v3.
|
|
14
|
+
clientVersion: 'v3.25.0',
|
|
15
15
|
port: DEFAULT_PORT,
|
|
16
16
|
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
|
|
17
17
|
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
|
|
@@ -3032,7 +3032,6 @@ exports.Endpoints = {
|
|
|
3032
3032
|
quotedDeltaRamp: [],
|
|
3033
3033
|
billingConfiguration: [],
|
|
3034
3034
|
quoteLineGroup: [],
|
|
3035
|
-
quoteEntitlement: [],
|
|
3036
3035
|
cpqQuoteSignature: [],
|
|
3037
3036
|
plan: [
|
|
3038
3037
|
[
|
|
@@ -4696,6 +4695,7 @@ exports.Endpoints = {
|
|
|
4696
4695
|
},
|
|
4697
4696
|
],
|
|
4698
4697
|
],
|
|
4698
|
+
omnichannelSubscriptionItemScheduledChange: [],
|
|
4699
4699
|
omnichannelSubscription: [
|
|
4700
4700
|
[
|
|
4701
4701
|
'retrieve',
|
|
@@ -4828,7 +4828,6 @@ exports.Endpoints = {
|
|
|
4828
4828
|
{},
|
|
4829
4829
|
],
|
|
4830
4830
|
],
|
|
4831
|
-
omnichannelSubscriptionItemScheduledChange: [],
|
|
4832
4831
|
usageFile: [
|
|
4833
4832
|
[
|
|
4834
4833
|
'uploadUrl',
|
|
@@ -108,12 +108,14 @@ var WebhookEventType;
|
|
|
108
108
|
WebhookEventType["OmnichannelSubscriptionItemPauseScheduled"] = "omnichannel_subscription_item_pause_scheduled";
|
|
109
109
|
WebhookEventType["OmnichannelSubscriptionItemPaused"] = "omnichannel_subscription_item_paused";
|
|
110
110
|
WebhookEventType["OmnichannelSubscriptionItemReactivated"] = "omnichannel_subscription_item_reactivated";
|
|
111
|
+
WebhookEventType["OmnichannelSubscriptionItemRecovered"] = "omnichannel_subscription_item_recovered";
|
|
111
112
|
WebhookEventType["OmnichannelSubscriptionItemRenewed"] = "omnichannel_subscription_item_renewed";
|
|
112
113
|
WebhookEventType["OmnichannelSubscriptionItemResubscribed"] = "omnichannel_subscription_item_resubscribed";
|
|
113
114
|
WebhookEventType["OmnichannelSubscriptionItemResumed"] = "omnichannel_subscription_item_resumed";
|
|
114
115
|
WebhookEventType["OmnichannelSubscriptionItemScheduledCancellationRemoved"] = "omnichannel_subscription_item_scheduled_cancellation_removed";
|
|
115
116
|
WebhookEventType["OmnichannelSubscriptionItemScheduledChangeRemoved"] = "omnichannel_subscription_item_scheduled_change_removed";
|
|
116
117
|
WebhookEventType["OmnichannelSubscriptionItemScheduledDowngradeRemoved"] = "omnichannel_subscription_item_scheduled_downgrade_removed";
|
|
118
|
+
WebhookEventType["OmnichannelSubscriptionItemUpdated"] = "omnichannel_subscription_item_updated";
|
|
117
119
|
WebhookEventType["OmnichannelSubscriptionItemUpgraded"] = "omnichannel_subscription_item_upgraded";
|
|
118
120
|
WebhookEventType["OmnichannelSubscriptionMovedIn"] = "omnichannel_subscription_moved_in";
|
|
119
121
|
WebhookEventType["OmnichannelTransactionCreated"] = "omnichannel_transaction_created";
|
package/esm/environment.js
CHANGED
|
@@ -8,7 +8,7 @@ export const Environment = {
|
|
|
8
8
|
hostSuffix: '.chargebee.com',
|
|
9
9
|
apiPath: '/api/v2',
|
|
10
10
|
timeout: DEFAULT_TIME_OUT,
|
|
11
|
-
clientVersion: 'v3.
|
|
11
|
+
clientVersion: 'v3.25.0',
|
|
12
12
|
port: DEFAULT_PORT,
|
|
13
13
|
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
|
|
14
14
|
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
|
|
@@ -3029,7 +3029,6 @@ export const Endpoints = {
|
|
|
3029
3029
|
quotedDeltaRamp: [],
|
|
3030
3030
|
billingConfiguration: [],
|
|
3031
3031
|
quoteLineGroup: [],
|
|
3032
|
-
quoteEntitlement: [],
|
|
3033
3032
|
cpqQuoteSignature: [],
|
|
3034
3033
|
plan: [
|
|
3035
3034
|
[
|
|
@@ -4693,6 +4692,7 @@ export const Endpoints = {
|
|
|
4693
4692
|
},
|
|
4694
4693
|
],
|
|
4695
4694
|
],
|
|
4695
|
+
omnichannelSubscriptionItemScheduledChange: [],
|
|
4696
4696
|
omnichannelSubscription: [
|
|
4697
4697
|
[
|
|
4698
4698
|
'retrieve',
|
|
@@ -4825,7 +4825,6 @@ export const Endpoints = {
|
|
|
4825
4825
|
{},
|
|
4826
4826
|
],
|
|
4827
4827
|
],
|
|
4828
|
-
omnichannelSubscriptionItemScheduledChange: [],
|
|
4829
4828
|
usageFile: [
|
|
4830
4829
|
[
|
|
4831
4830
|
'uploadUrl',
|
|
@@ -105,12 +105,14 @@ export var WebhookEventType;
|
|
|
105
105
|
WebhookEventType["OmnichannelSubscriptionItemPauseScheduled"] = "omnichannel_subscription_item_pause_scheduled";
|
|
106
106
|
WebhookEventType["OmnichannelSubscriptionItemPaused"] = "omnichannel_subscription_item_paused";
|
|
107
107
|
WebhookEventType["OmnichannelSubscriptionItemReactivated"] = "omnichannel_subscription_item_reactivated";
|
|
108
|
+
WebhookEventType["OmnichannelSubscriptionItemRecovered"] = "omnichannel_subscription_item_recovered";
|
|
108
109
|
WebhookEventType["OmnichannelSubscriptionItemRenewed"] = "omnichannel_subscription_item_renewed";
|
|
109
110
|
WebhookEventType["OmnichannelSubscriptionItemResubscribed"] = "omnichannel_subscription_item_resubscribed";
|
|
110
111
|
WebhookEventType["OmnichannelSubscriptionItemResumed"] = "omnichannel_subscription_item_resumed";
|
|
111
112
|
WebhookEventType["OmnichannelSubscriptionItemScheduledCancellationRemoved"] = "omnichannel_subscription_item_scheduled_cancellation_removed";
|
|
112
113
|
WebhookEventType["OmnichannelSubscriptionItemScheduledChangeRemoved"] = "omnichannel_subscription_item_scheduled_change_removed";
|
|
113
114
|
WebhookEventType["OmnichannelSubscriptionItemScheduledDowngradeRemoved"] = "omnichannel_subscription_item_scheduled_downgrade_removed";
|
|
115
|
+
WebhookEventType["OmnichannelSubscriptionItemUpdated"] = "omnichannel_subscription_item_updated";
|
|
114
116
|
WebhookEventType["OmnichannelSubscriptionItemUpgraded"] = "omnichannel_subscription_item_upgraded";
|
|
115
117
|
WebhookEventType["OmnichannelSubscriptionMovedIn"] = "omnichannel_subscription_moved_in";
|
|
116
118
|
WebhookEventType["OmnichannelTransactionCreated"] = "omnichannel_transaction_created";
|
package/package.json
CHANGED
package/types/core.d.ts
CHANGED
|
@@ -368,6 +368,8 @@ declare module 'chargebee' {
|
|
|
368
368
|
| 'omnichannel_subscription_moved_in'
|
|
369
369
|
| 'omnichannel_transaction_created'
|
|
370
370
|
| 'alert_status_changed'
|
|
371
|
+
| 'omnichannel_subscription_item_updated'
|
|
372
|
+
| 'omnichannel_subscription_item_recovered'
|
|
371
373
|
| 'plan_created'
|
|
372
374
|
| 'plan_updated'
|
|
373
375
|
| 'plan_deleted'
|
|
@@ -530,7 +532,12 @@ declare module 'chargebee' {
|
|
|
530
532
|
| 'pay_co'
|
|
531
533
|
| 'after_pay'
|
|
532
534
|
| 'swish'
|
|
533
|
-
| 'payme'
|
|
535
|
+
| 'payme'
|
|
536
|
+
| 'klarna'
|
|
537
|
+
| 'alipay_hk'
|
|
538
|
+
| 'paypay'
|
|
539
|
+
| 'gcash'
|
|
540
|
+
| 'south_korean_cards';
|
|
534
541
|
type PaymentMethodSavePolicyEnum = 'always' | 'ask' | 'never';
|
|
535
542
|
type PaymentMethodTypeEnum =
|
|
536
543
|
| 'card'
|
|
@@ -567,14 +574,19 @@ declare module 'chargebee' {
|
|
|
567
574
|
| 'naver_pay'
|
|
568
575
|
| 'revolut_pay'
|
|
569
576
|
| 'cash_app_pay'
|
|
570
|
-
| 'pix'
|
|
571
577
|
| 'twint'
|
|
572
578
|
| 'go_pay'
|
|
573
579
|
| 'grab_pay'
|
|
574
580
|
| 'pay_co'
|
|
575
581
|
| 'after_pay'
|
|
576
582
|
| 'swish'
|
|
577
|
-
| 'payme'
|
|
583
|
+
| 'payme'
|
|
584
|
+
| 'pix'
|
|
585
|
+
| 'klarna'
|
|
586
|
+
| 'alipay_hk'
|
|
587
|
+
| 'paypay'
|
|
588
|
+
| 'gcash'
|
|
589
|
+
| 'south_korean_cards';
|
|
578
590
|
type PaymentVoucherTypeEnum = 'boleto';
|
|
579
591
|
type PeriodUnitEnum = 'day' | 'week' | 'month' | 'year';
|
|
580
592
|
type PriceTypeEnum = 'tax_exclusive' | 'tax_inclusive';
|
|
@@ -677,7 +689,6 @@ declare module 'chargebee' {
|
|
|
677
689
|
| 'naver_pay'
|
|
678
690
|
| 'revolut_pay'
|
|
679
691
|
| 'cash_app_pay'
|
|
680
|
-
| 'pix'
|
|
681
692
|
| 'twint'
|
|
682
693
|
| 'go_pay'
|
|
683
694
|
| 'grab_pay'
|
|
@@ -685,6 +696,12 @@ declare module 'chargebee' {
|
|
|
685
696
|
| 'after_pay'
|
|
686
697
|
| 'swish'
|
|
687
698
|
| 'payme'
|
|
699
|
+
| 'pix'
|
|
700
|
+
| 'klarna'
|
|
701
|
+
| 'alipay_hk'
|
|
702
|
+
| 'paypay'
|
|
703
|
+
| 'gcash'
|
|
704
|
+
| 'south_korean_cards'
|
|
688
705
|
| 'free_trial'
|
|
689
706
|
| 'pay_up_front'
|
|
690
707
|
| 'pay_as_you_go'
|
|
@@ -915,6 +932,8 @@ declare module 'chargebee' {
|
|
|
915
932
|
| 'omnichannel_subscription_moved_in'
|
|
916
933
|
| 'omnichannel_transaction_created'
|
|
917
934
|
| 'alert_status_changed'
|
|
935
|
+
| 'omnichannel_subscription_item_updated'
|
|
936
|
+
| 'omnichannel_subscription_item_recovered'
|
|
918
937
|
| 'plan_created'
|
|
919
938
|
| 'plan_updated'
|
|
920
939
|
| 'plan_deleted'
|
package/types/index.d.ts
CHANGED
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
///<reference path='./resources/PromotionalCredit.d.ts' />
|
|
77
77
|
///<reference path='./resources/Purchase.d.ts' />
|
|
78
78
|
///<reference path='./resources/Quote.d.ts' />
|
|
79
|
-
///<reference path='./resources/QuoteEntitlement.d.ts' />
|
|
80
79
|
///<reference path='./resources/QuoteLineGroup.d.ts' />
|
|
81
80
|
///<reference path='./resources/QuotedCharge.d.ts' />
|
|
82
81
|
///<reference path='./resources/QuotedDeltaRamp.d.ts' />
|
|
@@ -762,14 +762,19 @@ declare module 'chargebee' {
|
|
|
762
762
|
| 'cash_app_pay'
|
|
763
763
|
| 'wechat_pay'
|
|
764
764
|
| 'alipay'
|
|
765
|
-
| 'pix'
|
|
766
765
|
| 'twint'
|
|
767
766
|
| 'go_pay'
|
|
768
767
|
| 'grab_pay'
|
|
769
768
|
| 'pay_co'
|
|
770
769
|
| 'after_pay'
|
|
771
770
|
| 'swish'
|
|
772
|
-
| 'payme'
|
|
771
|
+
| 'payme'
|
|
772
|
+
| 'pix'
|
|
773
|
+
| 'klarna'
|
|
774
|
+
| 'alipay_hk'
|
|
775
|
+
| 'paypay'
|
|
776
|
+
| 'gcash'
|
|
777
|
+
| 'south_korean_cards';
|
|
773
778
|
reference_id?: string;
|
|
774
779
|
/**
|
|
775
780
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -954,14 +959,19 @@ declare module 'chargebee' {
|
|
|
954
959
|
| 'cash_app_pay'
|
|
955
960
|
| 'wechat_pay'
|
|
956
961
|
| 'alipay'
|
|
957
|
-
| 'pix'
|
|
958
962
|
| 'twint'
|
|
959
963
|
| 'go_pay'
|
|
960
964
|
| 'grab_pay'
|
|
961
965
|
| 'pay_co'
|
|
962
966
|
| 'after_pay'
|
|
963
967
|
| 'swish'
|
|
964
|
-
| 'payme'
|
|
968
|
+
| 'payme'
|
|
969
|
+
| 'pix'
|
|
970
|
+
| 'klarna'
|
|
971
|
+
| 'alipay_hk'
|
|
972
|
+
| 'paypay'
|
|
973
|
+
| 'gcash'
|
|
974
|
+
| 'south_korean_cards';
|
|
965
975
|
/**
|
|
966
976
|
* @deprecated Please refer API docs to use other attributes
|
|
967
977
|
*/
|
|
@@ -1058,14 +1058,19 @@ declare module 'chargebee' {
|
|
|
1058
1058
|
| 'cash_app_pay'
|
|
1059
1059
|
| 'wechat_pay'
|
|
1060
1060
|
| 'alipay'
|
|
1061
|
-
| 'pix'
|
|
1062
1061
|
| 'twint'
|
|
1063
1062
|
| 'go_pay'
|
|
1064
1063
|
| 'grab_pay'
|
|
1065
1064
|
| 'pay_co'
|
|
1066
1065
|
| 'after_pay'
|
|
1067
1066
|
| 'swish'
|
|
1068
|
-
| 'payme'
|
|
1067
|
+
| 'payme'
|
|
1068
|
+
| 'pix'
|
|
1069
|
+
| 'klarna'
|
|
1070
|
+
| 'alipay_hk'
|
|
1071
|
+
| 'paypay'
|
|
1072
|
+
| 'gcash'
|
|
1073
|
+
| 'south_korean_cards';
|
|
1069
1074
|
reference_id?: string;
|
|
1070
1075
|
/**
|
|
1071
1076
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1155,14 +1160,19 @@ declare module 'chargebee' {
|
|
|
1155
1160
|
| 'cash_app_pay'
|
|
1156
1161
|
| 'wechat_pay'
|
|
1157
1162
|
| 'alipay'
|
|
1158
|
-
| 'pix'
|
|
1159
1163
|
| 'twint'
|
|
1160
1164
|
| 'go_pay'
|
|
1161
1165
|
| 'grab_pay'
|
|
1162
1166
|
| 'pay_co'
|
|
1163
1167
|
| 'after_pay'
|
|
1164
1168
|
| 'swish'
|
|
1165
|
-
| 'payme'
|
|
1169
|
+
| 'payme'
|
|
1170
|
+
| 'pix'
|
|
1171
|
+
| 'klarna'
|
|
1172
|
+
| 'alipay_hk'
|
|
1173
|
+
| 'paypay'
|
|
1174
|
+
| 'gcash'
|
|
1175
|
+
| 'south_korean_cards';
|
|
1166
1176
|
reference_id?: string;
|
|
1167
1177
|
/**
|
|
1168
1178
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -65,6 +65,7 @@ declare module 'chargebee' {
|
|
|
65
65
|
GiftUnclaimedContent &
|
|
66
66
|
VirtualBankAccountAddedContent &
|
|
67
67
|
PaymentIntentCreatedContent &
|
|
68
|
+
OmnichannelSubscriptionItemUpdatedContent &
|
|
68
69
|
CreditNoteCreatedWithBackdatingContent &
|
|
69
70
|
ContractTermTerminatedContent &
|
|
70
71
|
ItemFamilyUpdatedContent &
|
|
@@ -77,6 +78,7 @@ declare module 'chargebee' {
|
|
|
77
78
|
ItemDeletedContent &
|
|
78
79
|
SubscriptionRampDraftedContent &
|
|
79
80
|
DunningUpdatedContent &
|
|
81
|
+
OmnichannelSubscriptionItemRecoveredContent &
|
|
80
82
|
ItemEntitlementsUpdatedContent &
|
|
81
83
|
TokenConsumedContent &
|
|
82
84
|
HierarchyDeletedContent &
|
|
@@ -50,7 +50,7 @@ declare module 'chargebee' {
|
|
|
50
50
|
|
|
51
51
|
updateGift(
|
|
52
52
|
gift_id: string,
|
|
53
|
-
input
|
|
53
|
+
input?: UpdateGiftInputParam,
|
|
54
54
|
headers?: ChargebeeRequestHeader,
|
|
55
55
|
): Promise<ChargebeeResponse<UpdateGiftResponse>>;
|
|
56
56
|
}
|
|
@@ -147,8 +147,9 @@ declare module 'chargebee' {
|
|
|
147
147
|
status?: filter.Enum;
|
|
148
148
|
}
|
|
149
149
|
export interface UpdateGiftInputParam {
|
|
150
|
-
scheduled_at
|
|
150
|
+
scheduled_at?: number;
|
|
151
151
|
comment?: string;
|
|
152
|
+
gift_receiver?: GiftReceiverUpdateGiftInputParam;
|
|
152
153
|
}
|
|
153
154
|
export interface GiftReceiverCreateInputParam {
|
|
154
155
|
customer_id: string;
|
|
@@ -215,14 +216,19 @@ declare module 'chargebee' {
|
|
|
215
216
|
| 'cash_app_pay'
|
|
216
217
|
| 'wechat_pay'
|
|
217
218
|
| 'alipay'
|
|
218
|
-
| 'pix'
|
|
219
219
|
| 'twint'
|
|
220
220
|
| 'go_pay'
|
|
221
221
|
| 'grab_pay'
|
|
222
222
|
| 'pay_co'
|
|
223
223
|
| 'after_pay'
|
|
224
224
|
| 'swish'
|
|
225
|
-
| 'payme'
|
|
225
|
+
| 'payme'
|
|
226
|
+
| 'pix'
|
|
227
|
+
| 'klarna'
|
|
228
|
+
| 'alipay_hk'
|
|
229
|
+
| 'paypay'
|
|
230
|
+
| 'gcash'
|
|
231
|
+
| 'south_korean_cards';
|
|
226
232
|
reference_id?: string;
|
|
227
233
|
/**
|
|
228
234
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -306,14 +312,19 @@ declare module 'chargebee' {
|
|
|
306
312
|
| 'cash_app_pay'
|
|
307
313
|
| 'wechat_pay'
|
|
308
314
|
| 'alipay'
|
|
309
|
-
| 'pix'
|
|
310
315
|
| 'twint'
|
|
311
316
|
| 'go_pay'
|
|
312
317
|
| 'grab_pay'
|
|
313
318
|
| 'pay_co'
|
|
314
319
|
| 'after_pay'
|
|
315
320
|
| 'swish'
|
|
316
|
-
| 'payme'
|
|
321
|
+
| 'payme'
|
|
322
|
+
| 'pix'
|
|
323
|
+
| 'klarna'
|
|
324
|
+
| 'alipay_hk'
|
|
325
|
+
| 'paypay'
|
|
326
|
+
| 'gcash'
|
|
327
|
+
| 'south_korean_cards';
|
|
317
328
|
reference_id?: string;
|
|
318
329
|
/**
|
|
319
330
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -345,5 +356,11 @@ declare module 'chargebee' {
|
|
|
345
356
|
email?: filter.String;
|
|
346
357
|
customer_id?: filter.String;
|
|
347
358
|
}
|
|
359
|
+
|
|
360
|
+
export interface GiftReceiverUpdateGiftInputParam {
|
|
361
|
+
email?: string;
|
|
362
|
+
first_name?: string;
|
|
363
|
+
last_name?: string;
|
|
364
|
+
}
|
|
348
365
|
}
|
|
349
366
|
}
|
|
@@ -1074,7 +1074,6 @@ declare module 'chargebee' {
|
|
|
1074
1074
|
channel?: filter.Enum;
|
|
1075
1075
|
voided_at?: filter.Timestamp;
|
|
1076
1076
|
void_reason_code?: filter.String;
|
|
1077
|
-
exclude?: filter.String;
|
|
1078
1077
|
'sort_by[asc]'?: string;
|
|
1079
1078
|
'sort_by[desc]'?: string;
|
|
1080
1079
|
}
|
|
@@ -1283,14 +1282,19 @@ declare module 'chargebee' {
|
|
|
1283
1282
|
| 'cash_app_pay'
|
|
1284
1283
|
| 'wechat_pay'
|
|
1285
1284
|
| 'alipay'
|
|
1286
|
-
| 'pix'
|
|
1287
1285
|
| 'twint'
|
|
1288
1286
|
| 'go_pay'
|
|
1289
1287
|
| 'grab_pay'
|
|
1290
1288
|
| 'pay_co'
|
|
1291
1289
|
| 'after_pay'
|
|
1292
1290
|
| 'swish'
|
|
1293
|
-
| 'payme'
|
|
1291
|
+
| 'payme'
|
|
1292
|
+
| 'pix'
|
|
1293
|
+
| 'klarna'
|
|
1294
|
+
| 'alipay_hk'
|
|
1295
|
+
| 'paypay'
|
|
1296
|
+
| 'gcash'
|
|
1297
|
+
| 'south_korean_cards';
|
|
1294
1298
|
reference_id?: string;
|
|
1295
1299
|
/**
|
|
1296
1300
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1449,14 +1453,19 @@ declare module 'chargebee' {
|
|
|
1449
1453
|
| 'cash_app_pay'
|
|
1450
1454
|
| 'wechat_pay'
|
|
1451
1455
|
| 'alipay'
|
|
1452
|
-
| 'pix'
|
|
1453
1456
|
| 'twint'
|
|
1454
1457
|
| 'go_pay'
|
|
1455
1458
|
| 'grab_pay'
|
|
1456
1459
|
| 'pay_co'
|
|
1457
1460
|
| 'after_pay'
|
|
1458
1461
|
| 'swish'
|
|
1459
|
-
| 'payme'
|
|
1462
|
+
| 'payme'
|
|
1463
|
+
| 'pix'
|
|
1464
|
+
| 'klarna'
|
|
1465
|
+
| 'alipay_hk'
|
|
1466
|
+
| 'paypay'
|
|
1467
|
+
| 'gcash'
|
|
1468
|
+
| 'south_korean_cards';
|
|
1460
1469
|
reference_id?: string;
|
|
1461
1470
|
/**
|
|
1462
1471
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -9,6 +9,8 @@ declare module 'chargebee' {
|
|
|
9
9
|
source: 'apple_app_store' | 'google_play_store';
|
|
10
10
|
customer_id?: string;
|
|
11
11
|
created_at: number;
|
|
12
|
+
purchased_at?: number;
|
|
13
|
+
updated_at: number;
|
|
12
14
|
resource_version?: number;
|
|
13
15
|
omnichannel_subscription_items: OmnichannelSubscriptionItem[];
|
|
14
16
|
initial_purchase_transaction?: OmnichannelTransaction;
|
|
@@ -68,6 +70,10 @@ declare module 'chargebee' {
|
|
|
68
70
|
omnichannel_subscription_item?: OmnichannelSubscriptionItemOmnichannelSubscriptionListInputParam;
|
|
69
71
|
source?: filter.Enum;
|
|
70
72
|
customer_id?: filter.String;
|
|
73
|
+
id?: filter.String;
|
|
74
|
+
id_at_source?: filter.String;
|
|
75
|
+
updated_at?: filter.Timestamp;
|
|
76
|
+
purchased_at?: filter.Timestamp;
|
|
71
77
|
}
|
|
72
78
|
export interface OmnichannelTransactionsForOmnichannelSubscriptionInputParam {
|
|
73
79
|
limit?: number;
|
|
@@ -28,6 +28,7 @@ declare module 'chargebee' {
|
|
|
28
28
|
grace_period_expires_at?: number;
|
|
29
29
|
resumes_at?: number;
|
|
30
30
|
has_scheduled_changes: boolean;
|
|
31
|
+
updated_at: number;
|
|
31
32
|
resource_version?: number;
|
|
32
33
|
omnichannel_subscription_item_offers?: OmnichannelSubscriptionItemOffer[];
|
|
33
34
|
upcoming_renewal?: OmnichannelSubscriptionItem.UpcomingRenewal;
|
|
@@ -43,14 +43,19 @@ declare module 'chargebee' {
|
|
|
43
43
|
| 'cash_app_pay'
|
|
44
44
|
| 'wechat_pay'
|
|
45
45
|
| 'alipay'
|
|
46
|
-
| 'pix'
|
|
47
46
|
| 'twint'
|
|
48
47
|
| 'go_pay'
|
|
49
48
|
| 'grab_pay'
|
|
50
49
|
| 'pay_co'
|
|
51
50
|
| 'after_pay'
|
|
52
51
|
| 'swish'
|
|
53
|
-
| 'payme'
|
|
52
|
+
| 'payme'
|
|
53
|
+
| 'pix'
|
|
54
|
+
| 'klarna'
|
|
55
|
+
| 'alipay_hk'
|
|
56
|
+
| 'paypay'
|
|
57
|
+
| 'gcash'
|
|
58
|
+
| 'south_korean_cards';
|
|
54
59
|
success_url?: string;
|
|
55
60
|
failure_url?: string;
|
|
56
61
|
created_at: number;
|
|
@@ -138,14 +143,19 @@ declare module 'chargebee' {
|
|
|
138
143
|
| 'cash_app_pay'
|
|
139
144
|
| 'wechat_pay'
|
|
140
145
|
| 'alipay'
|
|
141
|
-
| 'pix'
|
|
142
146
|
| 'twint'
|
|
143
147
|
| 'go_pay'
|
|
144
148
|
| 'grab_pay'
|
|
145
149
|
| 'pay_co'
|
|
146
150
|
| 'after_pay'
|
|
147
151
|
| 'swish'
|
|
148
|
-
| 'payme'
|
|
152
|
+
| 'payme'
|
|
153
|
+
| 'pix'
|
|
154
|
+
| 'klarna'
|
|
155
|
+
| 'alipay_hk'
|
|
156
|
+
| 'paypay'
|
|
157
|
+
| 'gcash'
|
|
158
|
+
| 'south_korean_cards';
|
|
149
159
|
id_at_gateway?: string;
|
|
150
160
|
error_code?: string;
|
|
151
161
|
error_text?: string;
|
|
@@ -197,14 +207,19 @@ declare module 'chargebee' {
|
|
|
197
207
|
| 'cash_app_pay'
|
|
198
208
|
| 'wechat_pay'
|
|
199
209
|
| 'alipay'
|
|
200
|
-
| 'pix'
|
|
201
210
|
| 'twint'
|
|
202
211
|
| 'go_pay'
|
|
203
212
|
| 'grab_pay'
|
|
204
213
|
| 'pay_co'
|
|
205
214
|
| 'after_pay'
|
|
206
215
|
| 'swish'
|
|
207
|
-
| 'payme'
|
|
216
|
+
| 'payme'
|
|
217
|
+
| 'pix'
|
|
218
|
+
| 'klarna'
|
|
219
|
+
| 'alipay_hk'
|
|
220
|
+
| 'paypay'
|
|
221
|
+
| 'gcash'
|
|
222
|
+
| 'south_korean_cards';
|
|
208
223
|
id_at_gateway?: string;
|
|
209
224
|
error_code?: string;
|
|
210
225
|
error_text?: string;
|
|
@@ -257,14 +272,19 @@ declare module 'chargebee' {
|
|
|
257
272
|
| 'cash_app_pay'
|
|
258
273
|
| 'wechat_pay'
|
|
259
274
|
| 'alipay'
|
|
260
|
-
| 'pix'
|
|
261
275
|
| 'twint'
|
|
262
276
|
| 'go_pay'
|
|
263
277
|
| 'grab_pay'
|
|
264
278
|
| 'pay_co'
|
|
265
279
|
| 'after_pay'
|
|
266
280
|
| 'swish'
|
|
267
|
-
| 'payme'
|
|
281
|
+
| 'payme'
|
|
282
|
+
| 'pix'
|
|
283
|
+
| 'klarna'
|
|
284
|
+
| 'alipay_hk'
|
|
285
|
+
| 'paypay'
|
|
286
|
+
| 'gcash'
|
|
287
|
+
| 'south_korean_cards';
|
|
268
288
|
success_url?: string;
|
|
269
289
|
failure_url?: string;
|
|
270
290
|
}
|
|
@@ -305,14 +325,19 @@ declare module 'chargebee' {
|
|
|
305
325
|
| 'cash_app_pay'
|
|
306
326
|
| 'wechat_pay'
|
|
307
327
|
| 'alipay'
|
|
308
|
-
| 'pix'
|
|
309
328
|
| 'twint'
|
|
310
329
|
| 'go_pay'
|
|
311
330
|
| 'grab_pay'
|
|
312
331
|
| 'pay_co'
|
|
313
332
|
| 'after_pay'
|
|
314
333
|
| 'swish'
|
|
315
|
-
| 'payme'
|
|
334
|
+
| 'payme'
|
|
335
|
+
| 'pix'
|
|
336
|
+
| 'klarna'
|
|
337
|
+
| 'alipay_hk'
|
|
338
|
+
| 'paypay'
|
|
339
|
+
| 'gcash'
|
|
340
|
+
| 'south_korean_cards';
|
|
316
341
|
success_url?: string;
|
|
317
342
|
failure_url?: string;
|
|
318
343
|
}
|
|
@@ -467,14 +467,19 @@ declare module 'chargebee' {
|
|
|
467
467
|
| 'cash_app_pay'
|
|
468
468
|
| 'wechat_pay'
|
|
469
469
|
| 'alipay'
|
|
470
|
-
| 'pix'
|
|
471
470
|
| 'twint'
|
|
472
471
|
| 'go_pay'
|
|
473
472
|
| 'grab_pay'
|
|
474
473
|
| 'pay_co'
|
|
475
474
|
| 'after_pay'
|
|
476
475
|
| 'swish'
|
|
477
|
-
| 'payme'
|
|
476
|
+
| 'payme'
|
|
477
|
+
| 'pix'
|
|
478
|
+
| 'klarna'
|
|
479
|
+
| 'alipay_hk'
|
|
480
|
+
| 'paypay'
|
|
481
|
+
| 'gcash'
|
|
482
|
+
| 'south_korean_cards';
|
|
478
483
|
reference_id?: string;
|
|
479
484
|
/**
|
|
480
485
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -110,14 +110,19 @@ declare module 'chargebee' {
|
|
|
110
110
|
| 'cash_app_pay'
|
|
111
111
|
| 'wechat_pay'
|
|
112
112
|
| 'alipay'
|
|
113
|
-
| 'pix'
|
|
114
113
|
| 'twint'
|
|
115
114
|
| 'go_pay'
|
|
116
115
|
| 'grab_pay'
|
|
117
116
|
| 'pay_co'
|
|
118
117
|
| 'after_pay'
|
|
119
118
|
| 'swish'
|
|
120
|
-
| 'payme'
|
|
119
|
+
| 'payme'
|
|
120
|
+
| 'pix'
|
|
121
|
+
| 'klarna'
|
|
122
|
+
| 'alipay_hk'
|
|
123
|
+
| 'paypay'
|
|
124
|
+
| 'gcash'
|
|
125
|
+
| 'south_korean_cards';
|
|
121
126
|
reference_id?: string;
|
|
122
127
|
/**
|
|
123
128
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1419,14 +1419,19 @@ declare module 'chargebee' {
|
|
|
1419
1419
|
| 'cash_app_pay'
|
|
1420
1420
|
| 'wechat_pay'
|
|
1421
1421
|
| 'alipay'
|
|
1422
|
-
| 'pix'
|
|
1423
1422
|
| 'twint'
|
|
1424
1423
|
| 'go_pay'
|
|
1425
1424
|
| 'grab_pay'
|
|
1426
1425
|
| 'pay_co'
|
|
1427
1426
|
| 'after_pay'
|
|
1428
1427
|
| 'swish'
|
|
1429
|
-
| 'payme'
|
|
1428
|
+
| 'payme'
|
|
1429
|
+
| 'pix'
|
|
1430
|
+
| 'klarna'
|
|
1431
|
+
| 'alipay_hk'
|
|
1432
|
+
| 'paypay'
|
|
1433
|
+
| 'gcash'
|
|
1434
|
+
| 'south_korean_cards';
|
|
1430
1435
|
reference_id?: string;
|
|
1431
1436
|
/**
|
|
1432
1437
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1566,14 +1571,19 @@ declare module 'chargebee' {
|
|
|
1566
1571
|
| 'cash_app_pay'
|
|
1567
1572
|
| 'wechat_pay'
|
|
1568
1573
|
| 'alipay'
|
|
1569
|
-
| 'pix'
|
|
1570
1574
|
| 'twint'
|
|
1571
1575
|
| 'go_pay'
|
|
1572
1576
|
| 'grab_pay'
|
|
1573
1577
|
| 'pay_co'
|
|
1574
1578
|
| 'after_pay'
|
|
1575
1579
|
| 'swish'
|
|
1576
|
-
| 'payme'
|
|
1580
|
+
| 'payme'
|
|
1581
|
+
| 'pix'
|
|
1582
|
+
| 'klarna'
|
|
1583
|
+
| 'alipay_hk'
|
|
1584
|
+
| 'paypay'
|
|
1585
|
+
| 'gcash'
|
|
1586
|
+
| 'south_korean_cards';
|
|
1577
1587
|
reference_id?: string;
|
|
1578
1588
|
/**
|
|
1579
1589
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1680,14 +1690,19 @@ declare module 'chargebee' {
|
|
|
1680
1690
|
| 'cash_app_pay'
|
|
1681
1691
|
| 'wechat_pay'
|
|
1682
1692
|
| 'alipay'
|
|
1683
|
-
| 'pix'
|
|
1684
1693
|
| 'twint'
|
|
1685
1694
|
| 'go_pay'
|
|
1686
1695
|
| 'grab_pay'
|
|
1687
1696
|
| 'pay_co'
|
|
1688
1697
|
| 'after_pay'
|
|
1689
1698
|
| 'swish'
|
|
1690
|
-
| 'payme'
|
|
1699
|
+
| 'payme'
|
|
1700
|
+
| 'pix'
|
|
1701
|
+
| 'klarna'
|
|
1702
|
+
| 'alipay_hk'
|
|
1703
|
+
| 'paypay'
|
|
1704
|
+
| 'gcash'
|
|
1705
|
+
| 'south_korean_cards';
|
|
1691
1706
|
reference_id?: string;
|
|
1692
1707
|
/**
|
|
1693
1708
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1849,14 +1864,19 @@ declare module 'chargebee' {
|
|
|
1849
1864
|
| 'cash_app_pay'
|
|
1850
1865
|
| 'wechat_pay'
|
|
1851
1866
|
| 'alipay'
|
|
1852
|
-
| 'pix'
|
|
1853
1867
|
| 'twint'
|
|
1854
1868
|
| 'go_pay'
|
|
1855
1869
|
| 'grab_pay'
|
|
1856
1870
|
| 'pay_co'
|
|
1857
1871
|
| 'after_pay'
|
|
1858
1872
|
| 'swish'
|
|
1859
|
-
| 'payme'
|
|
1873
|
+
| 'payme'
|
|
1874
|
+
| 'pix'
|
|
1875
|
+
| 'klarna'
|
|
1876
|
+
| 'alipay_hk'
|
|
1877
|
+
| 'paypay'
|
|
1878
|
+
| 'gcash'
|
|
1879
|
+
| 'south_korean_cards';
|
|
1860
1880
|
reference_id?: string;
|
|
1861
1881
|
/**
|
|
1862
1882
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -2032,14 +2052,19 @@ declare module 'chargebee' {
|
|
|
2032
2052
|
| 'cash_app_pay'
|
|
2033
2053
|
| 'wechat_pay'
|
|
2034
2054
|
| 'alipay'
|
|
2035
|
-
| 'pix'
|
|
2036
2055
|
| 'twint'
|
|
2037
2056
|
| 'go_pay'
|
|
2038
2057
|
| 'grab_pay'
|
|
2039
2058
|
| 'pay_co'
|
|
2040
2059
|
| 'after_pay'
|
|
2041
2060
|
| 'swish'
|
|
2042
|
-
| 'payme'
|
|
2061
|
+
| 'payme'
|
|
2062
|
+
| 'pix'
|
|
2063
|
+
| 'klarna'
|
|
2064
|
+
| 'alipay_hk'
|
|
2065
|
+
| 'paypay'
|
|
2066
|
+
| 'gcash'
|
|
2067
|
+
| 'south_korean_cards';
|
|
2043
2068
|
reference_id?: string;
|
|
2044
2069
|
/**
|
|
2045
2070
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -2171,14 +2196,19 @@ declare module 'chargebee' {
|
|
|
2171
2196
|
| 'cash_app_pay'
|
|
2172
2197
|
| 'wechat_pay'
|
|
2173
2198
|
| 'alipay'
|
|
2174
|
-
| 'pix'
|
|
2175
2199
|
| 'twint'
|
|
2176
2200
|
| 'go_pay'
|
|
2177
2201
|
| 'grab_pay'
|
|
2178
2202
|
| 'pay_co'
|
|
2179
2203
|
| 'after_pay'
|
|
2180
2204
|
| 'swish'
|
|
2181
|
-
| 'payme'
|
|
2205
|
+
| 'payme'
|
|
2206
|
+
| 'pix'
|
|
2207
|
+
| 'klarna'
|
|
2208
|
+
| 'alipay_hk'
|
|
2209
|
+
| 'paypay'
|
|
2210
|
+
| 'gcash'
|
|
2211
|
+
| 'south_korean_cards';
|
|
2182
2212
|
reference_id?: string;
|
|
2183
2213
|
/**
|
|
2184
2214
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -2616,14 +2646,19 @@ declare module 'chargebee' {
|
|
|
2616
2646
|
| 'cash_app_pay'
|
|
2617
2647
|
| 'wechat_pay'
|
|
2618
2648
|
| 'alipay'
|
|
2619
|
-
| 'pix'
|
|
2620
2649
|
| 'twint'
|
|
2621
2650
|
| 'go_pay'
|
|
2622
2651
|
| 'grab_pay'
|
|
2623
2652
|
| 'pay_co'
|
|
2624
2653
|
| 'after_pay'
|
|
2625
2654
|
| 'swish'
|
|
2626
|
-
| 'payme'
|
|
2655
|
+
| 'payme'
|
|
2656
|
+
| 'pix'
|
|
2657
|
+
| 'klarna'
|
|
2658
|
+
| 'alipay_hk'
|
|
2659
|
+
| 'paypay'
|
|
2660
|
+
| 'gcash'
|
|
2661
|
+
| 'south_korean_cards';
|
|
2627
2662
|
reference_id?: string;
|
|
2628
2663
|
/**
|
|
2629
2664
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -48,6 +48,7 @@ declare module 'chargebee' {
|
|
|
48
48
|
GiftUnclaimed = 'gift_unclaimed',
|
|
49
49
|
VirtualBankAccountAdded = 'virtual_bank_account_added',
|
|
50
50
|
PaymentIntentCreated = 'payment_intent_created',
|
|
51
|
+
OmnichannelSubscriptionItemUpdated = 'omnichannel_subscription_item_updated',
|
|
51
52
|
CreditNoteCreatedWithBackdating = 'credit_note_created_with_backdating',
|
|
52
53
|
ContractTermTerminated = 'contract_term_terminated',
|
|
53
54
|
ItemFamilyUpdated = 'item_family_updated',
|
|
@@ -60,6 +61,7 @@ declare module 'chargebee' {
|
|
|
60
61
|
ItemDeleted = 'item_deleted',
|
|
61
62
|
SubscriptionRampDrafted = 'subscription_ramp_drafted',
|
|
62
63
|
DunningUpdated = 'dunning_updated',
|
|
64
|
+
OmnichannelSubscriptionItemRecovered = 'omnichannel_subscription_item_recovered',
|
|
63
65
|
ItemEntitlementsUpdated = 'item_entitlements_updated',
|
|
64
66
|
TokenConsumed = 'token_consumed',
|
|
65
67
|
HierarchyDeleted = 'hierarchy_deleted',
|
|
@@ -273,6 +275,7 @@ declare module 'chargebee' {
|
|
|
273
275
|
[WebhookEventType.GiftUnclaimed]: GiftUnclaimedContent;
|
|
274
276
|
[WebhookEventType.VirtualBankAccountAdded]: VirtualBankAccountAddedContent;
|
|
275
277
|
[WebhookEventType.PaymentIntentCreated]: PaymentIntentCreatedContent;
|
|
278
|
+
[WebhookEventType.OmnichannelSubscriptionItemUpdated]: OmnichannelSubscriptionItemUpdatedContent;
|
|
276
279
|
[WebhookEventType.CreditNoteCreatedWithBackdating]: CreditNoteCreatedWithBackdatingContent;
|
|
277
280
|
[WebhookEventType.ContractTermTerminated]: ContractTermTerminatedContent;
|
|
278
281
|
[WebhookEventType.ItemFamilyUpdated]: ItemFamilyUpdatedContent;
|
|
@@ -285,6 +288,7 @@ declare module 'chargebee' {
|
|
|
285
288
|
[WebhookEventType.ItemDeleted]: ItemDeletedContent;
|
|
286
289
|
[WebhookEventType.SubscriptionRampDrafted]: SubscriptionRampDraftedContent;
|
|
287
290
|
[WebhookEventType.DunningUpdated]: DunningUpdatedContent;
|
|
291
|
+
[WebhookEventType.OmnichannelSubscriptionItemRecovered]: OmnichannelSubscriptionItemRecoveredContent;
|
|
288
292
|
[WebhookEventType.ItemEntitlementsUpdated]: ItemEntitlementsUpdatedContent;
|
|
289
293
|
[WebhookEventType.TokenConsumed]: TokenConsumedContent;
|
|
290
294
|
[WebhookEventType.HierarchyDeleted]: HierarchyDeletedContent;
|
|
@@ -522,8 +526,6 @@ declare module 'chargebee' {
|
|
|
522
526
|
|
|
523
527
|
omnichannel_transaction: OmnichannelTransaction;
|
|
524
528
|
|
|
525
|
-
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
526
|
-
|
|
527
529
|
customer: Customer;
|
|
528
530
|
};
|
|
529
531
|
export type UnbilledChargesCreatedContent = {
|
|
@@ -739,6 +741,15 @@ declare module 'chargebee' {
|
|
|
739
741
|
export type PaymentIntentCreatedContent = {
|
|
740
742
|
payment_intent: PaymentIntent;
|
|
741
743
|
};
|
|
744
|
+
export type OmnichannelSubscriptionItemUpdatedContent = {
|
|
745
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
746
|
+
|
|
747
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
748
|
+
|
|
749
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
750
|
+
|
|
751
|
+
customer: Customer;
|
|
752
|
+
};
|
|
742
753
|
export type CreditNoteCreatedWithBackdatingContent = {
|
|
743
754
|
credit_note: CreditNote;
|
|
744
755
|
};
|
|
@@ -785,6 +796,15 @@ declare module 'chargebee' {
|
|
|
785
796
|
export type DunningUpdatedContent = {
|
|
786
797
|
invoice: Invoice;
|
|
787
798
|
};
|
|
799
|
+
export type OmnichannelSubscriptionItemRecoveredContent = {
|
|
800
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
801
|
+
|
|
802
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
803
|
+
|
|
804
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
805
|
+
|
|
806
|
+
customer: Customer;
|
|
807
|
+
};
|
|
788
808
|
export type ItemEntitlementsUpdatedContent = {
|
|
789
809
|
feature: Feature;
|
|
790
810
|
|
|
@@ -1549,8 +1569,6 @@ declare module 'chargebee' {
|
|
|
1549
1569
|
|
|
1550
1570
|
omnichannel_transaction: OmnichannelTransaction;
|
|
1551
1571
|
|
|
1552
|
-
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
1553
|
-
|
|
1554
1572
|
customer: Customer;
|
|
1555
1573
|
};
|
|
1556
1574
|
export type TaxWithheldRecordedContent = {
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
///<reference path='./../core.d.ts'/>
|
|
2
|
-
///<reference path='./../index.d.ts'/>
|
|
3
|
-
|
|
4
|
-
declare module 'chargebee' {
|
|
5
|
-
export interface QuoteEntitlement {
|
|
6
|
-
entity_id: string;
|
|
7
|
-
entity_type: 'plan_price' | 'addon_price' | 'charge_price' | 'charge';
|
|
8
|
-
feature_id: string;
|
|
9
|
-
value: string;
|
|
10
|
-
is_enabled: boolean;
|
|
11
|
-
start_date?: number;
|
|
12
|
-
end_date?: number;
|
|
13
|
-
created_at: number;
|
|
14
|
-
modified_at: number;
|
|
15
|
-
}
|
|
16
|
-
}
|