chargebee 3.23.1 → 3.24.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 +89 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +80 -2
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +80 -2
- package/package.json +2 -2
- package/types/core.d.ts +32 -8
- package/types/index.d.ts +4 -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
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,92 @@
|
|
|
1
|
+
### v3.24.0 (2026-05-04)
|
|
2
|
+
* * *
|
|
3
|
+
### New Resources:
|
|
4
|
+
- [`QuoteEntitlement`](https://apidocs.chargebee.com/docs/api/quote_entitlements) has been added.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### New Actions:
|
|
8
|
+
- [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
9
|
+
- [`retrieve_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/retrieve-an-alert) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
10
|
+
- [`update_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
11
|
+
- [`delete_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/delete-an-alert) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
12
|
+
- [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
13
|
+
- [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
14
|
+
- [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) has been added to [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
15
|
+
- [`list_alert_statuses_for_an_alert`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert) has been added to [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### New Attributes:
|
|
19
|
+
- [`alarm_status`](https://apidocs.chargebee.com/docs/api/alert_statuses/alert-status-object#alarm_status) has been added to [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### New Parameters:
|
|
23
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription#limit) has been added as query parameter to [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
24
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription#offset) has been added as query parameter to [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
25
|
+
- [`status`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription#status) has been added as query parameter to [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
26
|
+
- [`type`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription#type) has been added as query parameter to [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
27
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#limit) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
28
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#offset) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
29
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#id) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
30
|
+
- [`type`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#type) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
31
|
+
- [`subscription_id`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#subscription_id) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
32
|
+
- [`status`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#status) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
33
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription#limit) has been added as query parameter to [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
34
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription#offset) has been added as query parameter to [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
35
|
+
- [`alarm_status`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription#alarm_status) has been added as query parameter to [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
36
|
+
- [`alert_id`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription#alert_id) has been added as query parameter to [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
37
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert#limit) has been added as query parameter to [`list_alert_statuses_for_an_alert`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
38
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert#offset) has been added as query parameter to [`list_alert_statuses_for_an_alert`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
39
|
+
- [`alarm_status`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert#alarm_status) has been added as query parameter to [`list_alert_statuses_for_an_alert`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
40
|
+
- [`exclude`](https://apidocs.chargebee.com/docs/api/invoices/list-invoices#exclude) has been added as query parameter to [`list_invoices`](https://apidocs.chargebee.com/docs/api/invoices/list-invoices) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
41
|
+
- [`threshold`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert#threshold) has been added as request body parameter to [`update_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
42
|
+
- [`status`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert#status) has been added as request body parameter to [`update_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
43
|
+
- [`threshold`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#threshold) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
44
|
+
- [`filter_conditions`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#filter_conditions) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
45
|
+
- [`type`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#type) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
46
|
+
- [`name`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#name) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
47
|
+
- [`description`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#description) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
48
|
+
- [`metered_feature_id`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#metered_feature_id) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
49
|
+
- [`subscription_id`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#subscription_id) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
50
|
+
- [`meta`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#meta) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
51
|
+
- [`defer_payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent#defer_payment_method_type) has been added as request body parameter to [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
52
|
+
- [`net_term_days`](https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-charge-items-and-charges#net_term_days) has been added as request body parameter to [`edit_quote_for_charge_items_and_charges`](https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-charge-items-and-charges) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
53
|
+
- [`net_term_days`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-charge-and-charge-items#net_term_days) has been added as request body parameter to [`create_a_quote_for_charge_and_charge_items`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-charge-and-charge-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Deleted Attributes:
|
|
57
|
+
- `alarm_triggered_at` has been removed from [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
58
|
+
- `scope` has been removed from [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
59
|
+
- `alert_status` has been removed from [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### New Enums:
|
|
63
|
+
- `within_limit` and `in_alarm` have been added as new values enum `AlarmStatus`.
|
|
64
|
+
- `moyasar` and `payway` have been added as new values enum `Gateway`.
|
|
65
|
+
- `absolute` and `percentage` have been added as new values enum `Mode`.
|
|
66
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `PaymentMethod`.
|
|
67
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `PaymentMethodType`.
|
|
68
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `Type`.
|
|
69
|
+
- `mada` has been added as a new value to enum attribute [`card_type`](https://apidocs.chargebee.com/docs/api/cards/card-object#card_type) in [`Card`](https://apidocs.chargebee.com/docs/api/cards).
|
|
70
|
+
- `rate_limited` has been added as a new value to enum attribute [`webhook_status`](https://apidocs.chargebee.com/docs/api/events/event-object#webhook_status) in [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
71
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` 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).
|
|
72
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` 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).
|
|
73
|
+
- `mada` has been added as a new value to enum attribute [`card.brand`](https://apidocs.chargebee.com/docs/api/payment_sources/payment-source-object#card_brand) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
74
|
+
- `plan_price`, `addon_price`, `charge_price`, and `charge` have been added as new values to enum attribute [`entity_type`](https://apidocs.chargebee.com/docs/api/quote_entitlements/quote-entitlement-object#entity_type) in [`QuoteEntitlement`](https://apidocs.chargebee.com/docs/api/quote_entitlements).
|
|
75
|
+
- `disabled` and `enabled` have been added as new values to enum query parameter `status.is` in [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
76
|
+
- `enabled` and `disabled` have been added as new values to enum request body parameter `status` in [`update_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
77
|
+
- `disabled` and `enabled` have been added as new values to enum query parameter `status.is` in [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
78
|
+
- `plan_price_id` has been added as a new value to enum request body parameter `filter_conditions.field` in [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
79
|
+
- `not_equals` and `equals` have been added as new values to enum request body parameter `filter_conditions.operator` in [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
80
|
+
- `rate_limited` has been added as a new value to enum query parameter `webhook_status.is` in [`list_events`](https://apidocs.chargebee.com/docs/api/events/list-events) of [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
81
|
+
- `rate_limited` has been added as a new value to enum query parameter `webhook_status.is_not` in [`list_events`](https://apidocs.chargebee.com/docs/api/events/list-events) of [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
82
|
+
- `rate_limited` has been added as a new value to enum query parameter `webhook_status.in` in [`list_events`](https://apidocs.chargebee.com/docs/api/events/list-events) of [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
83
|
+
- `rate_limited` has been added as a new value to enum query parameter `webhook_status.not_in` in [`list_events`](https://apidocs.chargebee.com/docs/api/events/list-events) of [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
84
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` 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).
|
|
85
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` 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).
|
|
86
|
+
- `mada` has been added as a new value to enum request body parameter `card.brand` in [`create_using_permanent_token`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-permanent-token) of [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
1
90
|
### v3.23.1 (2026-04-22)
|
|
2
91
|
* * *
|
|
3
92
|
|
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.24.0',
|
|
15
15
|
port: DEFAULT_PORT,
|
|
16
16
|
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
|
|
17
17
|
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
|
|
@@ -3032,6 +3032,7 @@ exports.Endpoints = {
|
|
|
3032
3032
|
quotedDeltaRamp: [],
|
|
3033
3033
|
billingConfiguration: [],
|
|
3034
3034
|
quoteLineGroup: [],
|
|
3035
|
+
quoteEntitlement: [],
|
|
3035
3036
|
cpqQuoteSignature: [],
|
|
3036
3037
|
plan: [
|
|
3037
3038
|
[
|
|
@@ -4975,8 +4976,85 @@ exports.Endpoints = {
|
|
|
4975
4976
|
{},
|
|
4976
4977
|
],
|
|
4977
4978
|
],
|
|
4978
|
-
alert: [
|
|
4979
|
-
|
|
4979
|
+
alert: [
|
|
4980
|
+
[
|
|
4981
|
+
'create',
|
|
4982
|
+
'POST',
|
|
4983
|
+
'/alerts',
|
|
4984
|
+
null,
|
|
4985
|
+
false,
|
|
4986
|
+
null,
|
|
4987
|
+
false,
|
|
4988
|
+
{},
|
|
4989
|
+
{
|
|
4990
|
+
isIdempotent: true,
|
|
4991
|
+
},
|
|
4992
|
+
],
|
|
4993
|
+
['retrieve', 'GET', '/alerts', null, true, null, false, {}, {}],
|
|
4994
|
+
['list', 'GET', '/alerts', null, false, null, false, {}, {}],
|
|
4995
|
+
[
|
|
4996
|
+
'update',
|
|
4997
|
+
'POST',
|
|
4998
|
+
'/alerts',
|
|
4999
|
+
null,
|
|
5000
|
+
true,
|
|
5001
|
+
null,
|
|
5002
|
+
false,
|
|
5003
|
+
{},
|
|
5004
|
+
{
|
|
5005
|
+
isIdempotent: true,
|
|
5006
|
+
},
|
|
5007
|
+
],
|
|
5008
|
+
[
|
|
5009
|
+
'delete',
|
|
5010
|
+
'POST',
|
|
5011
|
+
'/alerts',
|
|
5012
|
+
'/delete',
|
|
5013
|
+
true,
|
|
5014
|
+
null,
|
|
5015
|
+
false,
|
|
5016
|
+
{},
|
|
5017
|
+
{
|
|
5018
|
+
isIdempotent: true,
|
|
5019
|
+
},
|
|
5020
|
+
],
|
|
5021
|
+
[
|
|
5022
|
+
'application_alertsForSubscription',
|
|
5023
|
+
'GET',
|
|
5024
|
+
'/subscriptions',
|
|
5025
|
+
'/applicable_alerts',
|
|
5026
|
+
true,
|
|
5027
|
+
null,
|
|
5028
|
+
false,
|
|
5029
|
+
{},
|
|
5030
|
+
{},
|
|
5031
|
+
],
|
|
5032
|
+
],
|
|
5033
|
+
filterCondition: [],
|
|
5034
|
+
alertStatus: [
|
|
5035
|
+
[
|
|
5036
|
+
'alert_statusesForSubscription',
|
|
5037
|
+
'GET',
|
|
5038
|
+
'/subscriptions',
|
|
5039
|
+
'/alert_statuses',
|
|
5040
|
+
true,
|
|
5041
|
+
null,
|
|
5042
|
+
false,
|
|
5043
|
+
{},
|
|
5044
|
+
{},
|
|
5045
|
+
],
|
|
5046
|
+
[
|
|
5047
|
+
'alert_statusesForAlert',
|
|
5048
|
+
'GET',
|
|
5049
|
+
'/alerts',
|
|
5050
|
+
'/alert_statuses',
|
|
5051
|
+
true,
|
|
5052
|
+
null,
|
|
5053
|
+
false,
|
|
5054
|
+
{},
|
|
5055
|
+
{},
|
|
5056
|
+
],
|
|
5057
|
+
],
|
|
4980
5058
|
impactedCustomer: [],
|
|
4981
5059
|
subscriptionEntitlementsUpdatedDetail: [],
|
|
4982
5060
|
subscriptionEntitlementsCreatedDetail: [],
|
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.24.0',
|
|
12
12
|
port: DEFAULT_PORT,
|
|
13
13
|
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
|
|
14
14
|
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
|
|
@@ -3029,6 +3029,7 @@ export const Endpoints = {
|
|
|
3029
3029
|
quotedDeltaRamp: [],
|
|
3030
3030
|
billingConfiguration: [],
|
|
3031
3031
|
quoteLineGroup: [],
|
|
3032
|
+
quoteEntitlement: [],
|
|
3032
3033
|
cpqQuoteSignature: [],
|
|
3033
3034
|
plan: [
|
|
3034
3035
|
[
|
|
@@ -4972,8 +4973,85 @@ export const Endpoints = {
|
|
|
4972
4973
|
{},
|
|
4973
4974
|
],
|
|
4974
4975
|
],
|
|
4975
|
-
alert: [
|
|
4976
|
-
|
|
4976
|
+
alert: [
|
|
4977
|
+
[
|
|
4978
|
+
'create',
|
|
4979
|
+
'POST',
|
|
4980
|
+
'/alerts',
|
|
4981
|
+
null,
|
|
4982
|
+
false,
|
|
4983
|
+
null,
|
|
4984
|
+
false,
|
|
4985
|
+
{},
|
|
4986
|
+
{
|
|
4987
|
+
isIdempotent: true,
|
|
4988
|
+
},
|
|
4989
|
+
],
|
|
4990
|
+
['retrieve', 'GET', '/alerts', null, true, null, false, {}, {}],
|
|
4991
|
+
['list', 'GET', '/alerts', null, false, null, false, {}, {}],
|
|
4992
|
+
[
|
|
4993
|
+
'update',
|
|
4994
|
+
'POST',
|
|
4995
|
+
'/alerts',
|
|
4996
|
+
null,
|
|
4997
|
+
true,
|
|
4998
|
+
null,
|
|
4999
|
+
false,
|
|
5000
|
+
{},
|
|
5001
|
+
{
|
|
5002
|
+
isIdempotent: true,
|
|
5003
|
+
},
|
|
5004
|
+
],
|
|
5005
|
+
[
|
|
5006
|
+
'delete',
|
|
5007
|
+
'POST',
|
|
5008
|
+
'/alerts',
|
|
5009
|
+
'/delete',
|
|
5010
|
+
true,
|
|
5011
|
+
null,
|
|
5012
|
+
false,
|
|
5013
|
+
{},
|
|
5014
|
+
{
|
|
5015
|
+
isIdempotent: true,
|
|
5016
|
+
},
|
|
5017
|
+
],
|
|
5018
|
+
[
|
|
5019
|
+
'application_alertsForSubscription',
|
|
5020
|
+
'GET',
|
|
5021
|
+
'/subscriptions',
|
|
5022
|
+
'/applicable_alerts',
|
|
5023
|
+
true,
|
|
5024
|
+
null,
|
|
5025
|
+
false,
|
|
5026
|
+
{},
|
|
5027
|
+
{},
|
|
5028
|
+
],
|
|
5029
|
+
],
|
|
5030
|
+
filterCondition: [],
|
|
5031
|
+
alertStatus: [
|
|
5032
|
+
[
|
|
5033
|
+
'alert_statusesForSubscription',
|
|
5034
|
+
'GET',
|
|
5035
|
+
'/subscriptions',
|
|
5036
|
+
'/alert_statuses',
|
|
5037
|
+
true,
|
|
5038
|
+
null,
|
|
5039
|
+
false,
|
|
5040
|
+
{},
|
|
5041
|
+
{},
|
|
5042
|
+
],
|
|
5043
|
+
[
|
|
5044
|
+
'alert_statusesForAlert',
|
|
5045
|
+
'GET',
|
|
5046
|
+
'/alerts',
|
|
5047
|
+
'/alert_statuses',
|
|
5048
|
+
true,
|
|
5049
|
+
null,
|
|
5050
|
+
false,
|
|
5051
|
+
{},
|
|
5052
|
+
{},
|
|
5053
|
+
],
|
|
5054
|
+
],
|
|
4977
5055
|
impactedCustomer: [],
|
|
4978
5056
|
subscriptionEntitlementsUpdatedDetail: [],
|
|
4979
5057
|
subscriptionEntitlementsCreatedDetail: [],
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chargebee",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.0",
|
|
4
4
|
"description": "A library for integrating with Chargebee.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepack": "npm install && npm run build",
|
|
7
|
-
"test": "mocha -r ts-node/register 'test/**/*.test.ts'",
|
|
7
|
+
"test": "TS_NODE_PROJECT=./tsconfig.test.json mocha -r ts-node/register 'test/**/*.test.ts'",
|
|
8
8
|
"build": "npm run build-esm && npm run build-cjs",
|
|
9
9
|
"build-esm": "rm -rf esm && mkdir -p esm && tsc -p tsconfig.esm.json && echo '{\"type\":\"module\"}' > esm/package.json",
|
|
10
10
|
"build-cjs": "rm -rf cjs && mkdir -p cjs && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > cjs/package.json",
|
package/types/core.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ declare module 'chargebee' {
|
|
|
31
31
|
| 'business_checking'
|
|
32
32
|
| 'current';
|
|
33
33
|
type ActionEnum = 'upsert' | 'remove';
|
|
34
|
+
type AlarmStatusEnum = 'within_limit' | 'in_alarm';
|
|
34
35
|
type ApiVersionEnum = 'v1' | 'v2';
|
|
35
36
|
type ApplyOnEnum = 'invoice_amount' | 'specific_item_price';
|
|
36
37
|
type AutoCollectionEnum = 'on' | 'off';
|
|
@@ -118,6 +119,10 @@ declare module 'chargebee' {
|
|
|
118
119
|
| 'plan_item_price'
|
|
119
120
|
| 'addon_item_price'
|
|
120
121
|
| 'charge_item_price'
|
|
122
|
+
| 'plan_price'
|
|
123
|
+
| 'addon_price'
|
|
124
|
+
| 'charge_price'
|
|
125
|
+
| 'charge'
|
|
121
126
|
| 'invoice'
|
|
122
127
|
| 'quote'
|
|
123
128
|
| 'credit_note'
|
|
@@ -131,9 +136,6 @@ declare module 'chargebee' {
|
|
|
131
136
|
| 'plan_item'
|
|
132
137
|
| 'addon_item'
|
|
133
138
|
| 'charge_item'
|
|
134
|
-
| 'plan_price'
|
|
135
|
-
| 'addon_price'
|
|
136
|
-
| 'charge_price'
|
|
137
139
|
| 'differential_price'
|
|
138
140
|
| 'attached_item'
|
|
139
141
|
| 'feature'
|
|
@@ -152,8 +154,7 @@ declare module 'chargebee' {
|
|
|
152
154
|
| 'usage_file'
|
|
153
155
|
| 'business_rule'
|
|
154
156
|
| 'ruleset'
|
|
155
|
-
| 'alert_status'
|
|
156
|
-
| 'charge';
|
|
157
|
+
| 'alert_status';
|
|
157
158
|
type EventNameEnum = 'cancellation_page_loaded';
|
|
158
159
|
type EventTypeEnum =
|
|
159
160
|
| 'coupon_created'
|
|
@@ -435,6 +436,8 @@ declare module 'chargebee' {
|
|
|
435
436
|
| 'ezidebit'
|
|
436
437
|
| 'twikey'
|
|
437
438
|
| 'tempus'
|
|
439
|
+
| 'moyasar'
|
|
440
|
+
| 'payway'
|
|
438
441
|
| 'gocardless'
|
|
439
442
|
| 'not_applicable';
|
|
440
443
|
type HierarchyOperationTypeEnum =
|
|
@@ -444,6 +447,7 @@ declare module 'chargebee' {
|
|
|
444
447
|
type InvoiceDunningHandlingEnum = 'continue' | 'stop';
|
|
445
448
|
type ItemTypeEnum = 'plan' | 'addon' | 'charge';
|
|
446
449
|
type LayoutEnum = 'in_app' | 'full_page';
|
|
450
|
+
type ModeEnum = 'absolute' | 'percentage';
|
|
447
451
|
type NotifyReferralSystemEnum =
|
|
448
452
|
| 'none'
|
|
449
453
|
| 'first_paid_conversion'
|
|
@@ -519,7 +523,14 @@ declare module 'chargebee' {
|
|
|
519
523
|
| 'naver_pay'
|
|
520
524
|
| 'revolut_pay'
|
|
521
525
|
| 'cash_app_pay'
|
|
522
|
-
| 'pix'
|
|
526
|
+
| 'pix'
|
|
527
|
+
| 'twint'
|
|
528
|
+
| 'go_pay'
|
|
529
|
+
| 'grab_pay'
|
|
530
|
+
| 'pay_co'
|
|
531
|
+
| 'after_pay'
|
|
532
|
+
| 'swish'
|
|
533
|
+
| 'payme';
|
|
523
534
|
type PaymentMethodSavePolicyEnum = 'always' | 'ask' | 'never';
|
|
524
535
|
type PaymentMethodTypeEnum =
|
|
525
536
|
| 'card'
|
|
@@ -556,7 +567,14 @@ declare module 'chargebee' {
|
|
|
556
567
|
| 'naver_pay'
|
|
557
568
|
| 'revolut_pay'
|
|
558
569
|
| 'cash_app_pay'
|
|
559
|
-
| 'pix'
|
|
570
|
+
| 'pix'
|
|
571
|
+
| 'twint'
|
|
572
|
+
| 'go_pay'
|
|
573
|
+
| 'grab_pay'
|
|
574
|
+
| 'pay_co'
|
|
575
|
+
| 'after_pay'
|
|
576
|
+
| 'swish'
|
|
577
|
+
| 'payme';
|
|
560
578
|
type PaymentVoucherTypeEnum = 'boleto';
|
|
561
579
|
type PeriodUnitEnum = 'day' | 'week' | 'month' | 'year';
|
|
562
580
|
type PriceTypeEnum = 'tax_exclusive' | 'tax_inclusive';
|
|
@@ -660,6 +678,13 @@ declare module 'chargebee' {
|
|
|
660
678
|
| 'revolut_pay'
|
|
661
679
|
| 'cash_app_pay'
|
|
662
680
|
| 'pix'
|
|
681
|
+
| 'twint'
|
|
682
|
+
| 'go_pay'
|
|
683
|
+
| 'grab_pay'
|
|
684
|
+
| 'pay_co'
|
|
685
|
+
| 'after_pay'
|
|
686
|
+
| 'swish'
|
|
687
|
+
| 'payme'
|
|
663
688
|
| 'free_trial'
|
|
664
689
|
| 'pay_up_front'
|
|
665
690
|
| 'pay_as_you_go'
|
|
@@ -678,7 +703,6 @@ declare module 'chargebee' {
|
|
|
678
703
|
type VoucherTypeEnum = 'boleto';
|
|
679
704
|
type WindowSizeEnum = 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
680
705
|
type ChargeOnEnum = 'immediately' | 'on_event';
|
|
681
|
-
type AlertStatusEnum = AlertStatusEnum;
|
|
682
706
|
type EnabledEventsEnum =
|
|
683
707
|
| 'coupon_created'
|
|
684
708
|
| 'coupon_updated'
|
package/types/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
///<reference path='./resources/Event.d.ts' />
|
|
34
34
|
///<reference path='./resources/Export.d.ts' />
|
|
35
35
|
///<reference path='./resources/Feature.d.ts' />
|
|
36
|
+
///<reference path='./resources/FilterCondition.d.ts' />
|
|
36
37
|
///<reference path='./resources/GatewayErrorDetail.d.ts' />
|
|
37
38
|
///<reference path='./resources/Gift.d.ts' />
|
|
38
39
|
///<reference path='./resources/Hierarchy.d.ts' />
|
|
@@ -75,6 +76,7 @@
|
|
|
75
76
|
///<reference path='./resources/PromotionalCredit.d.ts' />
|
|
76
77
|
///<reference path='./resources/Purchase.d.ts' />
|
|
77
78
|
///<reference path='./resources/Quote.d.ts' />
|
|
79
|
+
///<reference path='./resources/QuoteEntitlement.d.ts' />
|
|
78
80
|
///<reference path='./resources/QuoteLineGroup.d.ts' />
|
|
79
81
|
///<reference path='./resources/QuotedCharge.d.ts' />
|
|
80
82
|
///<reference path='./resources/QuotedDeltaRamp.d.ts' />
|
|
@@ -186,6 +188,8 @@ declare module 'chargebee' {
|
|
|
186
188
|
constructor(config: Config);
|
|
187
189
|
addon: Addon.AddonResource;
|
|
188
190
|
address: Address.AddressResource;
|
|
191
|
+
alert: Alert.AlertResource;
|
|
192
|
+
alertStatu: AlertStatus.AlertStatusResource;
|
|
189
193
|
attachedItem: AttachedItem.AttachedItemResource;
|
|
190
194
|
businessEntity: BusinessEntity.BusinessEntityResource;
|
|
191
195
|
card: Card.CardResource;
|
|
@@ -1,19 +1,125 @@
|
|
|
1
1
|
///<reference path='./../core.d.ts'/>
|
|
2
2
|
///<reference path='./../index.d.ts'/>
|
|
3
|
-
|
|
3
|
+
///<reference path='./filter.d.ts'/>
|
|
4
4
|
declare module 'chargebee' {
|
|
5
5
|
export interface Alert {
|
|
6
6
|
id: string;
|
|
7
|
-
type
|
|
7
|
+
type: TypeEnum;
|
|
8
8
|
name: string;
|
|
9
9
|
description?: string;
|
|
10
10
|
metered_feature_id: string;
|
|
11
11
|
subscription_id?: string;
|
|
12
12
|
status?: 'enabled' | 'disabled';
|
|
13
|
-
alarm_triggered_at?: number;
|
|
14
|
-
scope?: 'global' | 'subscription';
|
|
15
13
|
meta?: string;
|
|
16
14
|
created_at: number;
|
|
17
15
|
updated_at: number;
|
|
18
16
|
}
|
|
17
|
+
|
|
18
|
+
export namespace Alert {
|
|
19
|
+
export class AlertResource {
|
|
20
|
+
create(
|
|
21
|
+
input: CreateInputParam,
|
|
22
|
+
headers?: ChargebeeRequestHeader,
|
|
23
|
+
): Promise<ChargebeeResponse<CreateResponse>>;
|
|
24
|
+
|
|
25
|
+
retrieve(
|
|
26
|
+
alert_id: string,
|
|
27
|
+
headers?: ChargebeeRequestHeader,
|
|
28
|
+
): Promise<ChargebeeResponse<RetrieveResponse>>;
|
|
29
|
+
|
|
30
|
+
list(
|
|
31
|
+
input?: ListInputParam,
|
|
32
|
+
headers?: ChargebeeRequestHeader,
|
|
33
|
+
): Promise<ChargebeeResponse<ListResponse>>;
|
|
34
|
+
|
|
35
|
+
update(
|
|
36
|
+
alert_id: string,
|
|
37
|
+
input?: UpdateInputParam,
|
|
38
|
+
headers?: ChargebeeRequestHeader,
|
|
39
|
+
): Promise<ChargebeeResponse<UpdateResponse>>;
|
|
40
|
+
|
|
41
|
+
delete(
|
|
42
|
+
alert_id: string,
|
|
43
|
+
headers?: ChargebeeRequestHeader,
|
|
44
|
+
): Promise<ChargebeeResponse<DeleteResponse>>;
|
|
45
|
+
|
|
46
|
+
applicationAlertsForSubscription(
|
|
47
|
+
subscription_id: string,
|
|
48
|
+
input?: ApplicationAlertsForSubscriptionInputParam,
|
|
49
|
+
headers?: ChargebeeRequestHeader,
|
|
50
|
+
): Promise<ChargebeeResponse<ApplicationAlertsForSubscriptionResponse>>;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface CreateResponse {
|
|
54
|
+
alert: Alert;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface RetrieveResponse {
|
|
58
|
+
alert: Alert;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface ListResponse {
|
|
62
|
+
list: { alert: Alert }[];
|
|
63
|
+
next_offset?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface UpdateResponse {
|
|
67
|
+
alert: Alert;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface DeleteResponse {
|
|
71
|
+
alert: Alert;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface ApplicationAlertsForSubscriptionResponse {
|
|
75
|
+
list: { alert: Alert }[];
|
|
76
|
+
next_offset?: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// REQUEST PARAMS
|
|
80
|
+
//---------------
|
|
81
|
+
|
|
82
|
+
export interface CreateInputParam {
|
|
83
|
+
type: TypeEnum;
|
|
84
|
+
name: string;
|
|
85
|
+
description?: string;
|
|
86
|
+
metered_feature_id: string;
|
|
87
|
+
subscription_id?: string;
|
|
88
|
+
meta?: string;
|
|
89
|
+
threshold?: ThresholdCreateInputParam;
|
|
90
|
+
filter_conditions?: FilterConditionsCreateInputParam[];
|
|
91
|
+
}
|
|
92
|
+
export interface ListInputParam {
|
|
93
|
+
limit?: number;
|
|
94
|
+
offset?: string;
|
|
95
|
+
id?: filter.String;
|
|
96
|
+
type?: filter.Enum;
|
|
97
|
+
subscription_id?: filter.String;
|
|
98
|
+
status?: filter.Enum;
|
|
99
|
+
}
|
|
100
|
+
export interface UpdateInputParam {
|
|
101
|
+
status?: 'enabled' | 'disabled';
|
|
102
|
+
threshold?: ThresholdUpdateInputParam;
|
|
103
|
+
}
|
|
104
|
+
export interface ApplicationAlertsForSubscriptionInputParam {
|
|
105
|
+
limit?: number;
|
|
106
|
+
offset?: string;
|
|
107
|
+
status?: filter.Enum;
|
|
108
|
+
type?: filter.Enum;
|
|
109
|
+
}
|
|
110
|
+
export interface ThresholdCreateInputParam {
|
|
111
|
+
mode: ModeEnum;
|
|
112
|
+
value: number;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export interface FilterConditionsCreateInputParam {
|
|
116
|
+
field?: 'plan_price_id';
|
|
117
|
+
operator?: 'equals' | 'not_equals';
|
|
118
|
+
value?: string;
|
|
119
|
+
}
|
|
120
|
+
export interface ThresholdUpdateInputParam {
|
|
121
|
+
mode?: ModeEnum;
|
|
122
|
+
value?: number;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
19
125
|
}
|
|
@@ -1,11 +1,52 @@
|
|
|
1
1
|
///<reference path='./../core.d.ts'/>
|
|
2
2
|
///<reference path='./../index.d.ts'/>
|
|
3
|
-
|
|
3
|
+
///<reference path='./filter.d.ts'/>
|
|
4
4
|
declare module 'chargebee' {
|
|
5
5
|
export interface AlertStatus {
|
|
6
6
|
alert_id: string;
|
|
7
7
|
subscription_id: string;
|
|
8
|
-
|
|
8
|
+
alarm_status: AlarmStatusEnum;
|
|
9
9
|
alarm_triggered_at?: number;
|
|
10
10
|
}
|
|
11
|
+
|
|
12
|
+
export namespace AlertStatus {
|
|
13
|
+
export class AlertStatusResource {
|
|
14
|
+
alertStatusesForSubscription(
|
|
15
|
+
subscription_id: string,
|
|
16
|
+
input?: AlertStatusesForSubscriptionInputParam,
|
|
17
|
+
headers?: ChargebeeRequestHeader,
|
|
18
|
+
): Promise<ChargebeeResponse<AlertStatusesForSubscriptionResponse>>;
|
|
19
|
+
|
|
20
|
+
alertStatusesForAlert(
|
|
21
|
+
alert_id: string,
|
|
22
|
+
input?: AlertStatusesForAlertInputParam,
|
|
23
|
+
headers?: ChargebeeRequestHeader,
|
|
24
|
+
): Promise<ChargebeeResponse<AlertStatusesForAlertResponse>>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface AlertStatusesForSubscriptionResponse {
|
|
28
|
+
list: { alert_status: AlertStatus }[];
|
|
29
|
+
next_offset?: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface AlertStatusesForAlertResponse {
|
|
33
|
+
list: { alert_status: AlertStatus }[];
|
|
34
|
+
next_offset?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// REQUEST PARAMS
|
|
38
|
+
//---------------
|
|
39
|
+
|
|
40
|
+
export interface AlertStatusesForSubscriptionInputParam {
|
|
41
|
+
limit?: number;
|
|
42
|
+
offset?: string;
|
|
43
|
+
alarm_status?: filter.Enum;
|
|
44
|
+
alert_id?: filter.String;
|
|
45
|
+
}
|
|
46
|
+
export interface AlertStatusesForAlertInputParam {
|
|
47
|
+
limit?: number;
|
|
48
|
+
offset?: string;
|
|
49
|
+
alarm_status?: filter.Enum;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
11
52
|
}
|
|
@@ -38,6 +38,7 @@ declare module 'chargebee' {
|
|
|
38
38
|
event: Event;
|
|
39
39
|
export: Export;
|
|
40
40
|
feature: Feature;
|
|
41
|
+
filter_condition: FilterCondition;
|
|
41
42
|
gateway_error_detail: GatewayErrorDetail;
|
|
42
43
|
gift: Gift;
|
|
43
44
|
hierarchy: Hierarchy;
|
|
@@ -80,6 +81,7 @@ declare module 'chargebee' {
|
|
|
80
81
|
promotional_credit: PromotionalCredit;
|
|
81
82
|
purchase: Purchase;
|
|
82
83
|
quote: Quote;
|
|
84
|
+
quote_entitlement: QuoteEntitlement;
|
|
83
85
|
quote_line_group: QuoteLineGroup;
|
|
84
86
|
quoted_charge: QuotedCharge;
|
|
85
87
|
quoted_delta_ramp: QuotedDeltaRamp;
|
|
@@ -762,7 +762,14 @@ declare module 'chargebee' {
|
|
|
762
762
|
| 'cash_app_pay'
|
|
763
763
|
| 'wechat_pay'
|
|
764
764
|
| 'alipay'
|
|
765
|
-
| 'pix'
|
|
765
|
+
| 'pix'
|
|
766
|
+
| 'twint'
|
|
767
|
+
| 'go_pay'
|
|
768
|
+
| 'grab_pay'
|
|
769
|
+
| 'pay_co'
|
|
770
|
+
| 'after_pay'
|
|
771
|
+
| 'swish'
|
|
772
|
+
| 'payme';
|
|
766
773
|
reference_id?: string;
|
|
767
774
|
/**
|
|
768
775
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -947,7 +954,14 @@ declare module 'chargebee' {
|
|
|
947
954
|
| 'cash_app_pay'
|
|
948
955
|
| 'wechat_pay'
|
|
949
956
|
| 'alipay'
|
|
950
|
-
| 'pix'
|
|
957
|
+
| 'pix'
|
|
958
|
+
| 'twint'
|
|
959
|
+
| 'go_pay'
|
|
960
|
+
| 'grab_pay'
|
|
961
|
+
| 'pay_co'
|
|
962
|
+
| 'after_pay'
|
|
963
|
+
| 'swish'
|
|
964
|
+
| 'payme';
|
|
951
965
|
/**
|
|
952
966
|
* @deprecated Please refer API docs to use other attributes
|
|
953
967
|
*/
|
|
@@ -1058,7 +1058,14 @@ declare module 'chargebee' {
|
|
|
1058
1058
|
| 'cash_app_pay'
|
|
1059
1059
|
| 'wechat_pay'
|
|
1060
1060
|
| 'alipay'
|
|
1061
|
-
| 'pix'
|
|
1061
|
+
| 'pix'
|
|
1062
|
+
| 'twint'
|
|
1063
|
+
| 'go_pay'
|
|
1064
|
+
| 'grab_pay'
|
|
1065
|
+
| 'pay_co'
|
|
1066
|
+
| 'after_pay'
|
|
1067
|
+
| 'swish'
|
|
1068
|
+
| 'payme';
|
|
1062
1069
|
reference_id?: string;
|
|
1063
1070
|
/**
|
|
1064
1071
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1148,7 +1155,14 @@ declare module 'chargebee' {
|
|
|
1148
1155
|
| 'cash_app_pay'
|
|
1149
1156
|
| 'wechat_pay'
|
|
1150
1157
|
| 'alipay'
|
|
1151
|
-
| 'pix'
|
|
1158
|
+
| 'pix'
|
|
1159
|
+
| 'twint'
|
|
1160
|
+
| 'go_pay'
|
|
1161
|
+
| 'grab_pay'
|
|
1162
|
+
| 'pay_co'
|
|
1163
|
+
| 'after_pay'
|
|
1164
|
+
| 'swish'
|
|
1165
|
+
| 'payme';
|
|
1152
1166
|
reference_id?: string;
|
|
1153
1167
|
/**
|
|
1154
1168
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -15,7 +15,8 @@ declare module 'chargebee' {
|
|
|
15
15
|
| 'failed'
|
|
16
16
|
| 'skipped'
|
|
17
17
|
| 'not_applicable'
|
|
18
|
-
| 'disabled'
|
|
18
|
+
| 'disabled'
|
|
19
|
+
| 'rate_limited';
|
|
19
20
|
webhook_failure_reason?: string;
|
|
20
21
|
webhooks?: Event.Webhook[];
|
|
21
22
|
event_type?: EventTypeEnum;
|
|
@@ -272,7 +273,8 @@ declare module 'chargebee' {
|
|
|
272
273
|
| 'failed'
|
|
273
274
|
| 'skipped'
|
|
274
275
|
| 'not_applicable'
|
|
275
|
-
| 'disabled'
|
|
276
|
+
| 'disabled'
|
|
277
|
+
| 'rate_limited';
|
|
276
278
|
}
|
|
277
279
|
// REQUEST PARAMS
|
|
278
280
|
//---------------
|
|
@@ -215,7 +215,14 @@ declare module 'chargebee' {
|
|
|
215
215
|
| 'cash_app_pay'
|
|
216
216
|
| 'wechat_pay'
|
|
217
217
|
| 'alipay'
|
|
218
|
-
| 'pix'
|
|
218
|
+
| 'pix'
|
|
219
|
+
| 'twint'
|
|
220
|
+
| 'go_pay'
|
|
221
|
+
| 'grab_pay'
|
|
222
|
+
| 'pay_co'
|
|
223
|
+
| 'after_pay'
|
|
224
|
+
| 'swish'
|
|
225
|
+
| 'payme';
|
|
219
226
|
reference_id?: string;
|
|
220
227
|
/**
|
|
221
228
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -299,7 +306,14 @@ declare module 'chargebee' {
|
|
|
299
306
|
| 'cash_app_pay'
|
|
300
307
|
| 'wechat_pay'
|
|
301
308
|
| 'alipay'
|
|
302
|
-
| 'pix'
|
|
309
|
+
| 'pix'
|
|
310
|
+
| 'twint'
|
|
311
|
+
| 'go_pay'
|
|
312
|
+
| 'grab_pay'
|
|
313
|
+
| 'pay_co'
|
|
314
|
+
| 'after_pay'
|
|
315
|
+
| 'swish'
|
|
316
|
+
| 'payme';
|
|
303
317
|
reference_id?: string;
|
|
304
318
|
/**
|
|
305
319
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1074,6 +1074,7 @@ 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;
|
|
1077
1078
|
'sort_by[asc]'?: string;
|
|
1078
1079
|
'sort_by[desc]'?: string;
|
|
1079
1080
|
}
|
|
@@ -1282,7 +1283,14 @@ declare module 'chargebee' {
|
|
|
1282
1283
|
| 'cash_app_pay'
|
|
1283
1284
|
| 'wechat_pay'
|
|
1284
1285
|
| 'alipay'
|
|
1285
|
-
| 'pix'
|
|
1286
|
+
| 'pix'
|
|
1287
|
+
| 'twint'
|
|
1288
|
+
| 'go_pay'
|
|
1289
|
+
| 'grab_pay'
|
|
1290
|
+
| 'pay_co'
|
|
1291
|
+
| 'after_pay'
|
|
1292
|
+
| 'swish'
|
|
1293
|
+
| 'payme';
|
|
1286
1294
|
reference_id?: string;
|
|
1287
1295
|
/**
|
|
1288
1296
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -1441,7 +1449,14 @@ declare module 'chargebee' {
|
|
|
1441
1449
|
| 'cash_app_pay'
|
|
1442
1450
|
| 'wechat_pay'
|
|
1443
1451
|
| 'alipay'
|
|
1444
|
-
| 'pix'
|
|
1452
|
+
| 'pix'
|
|
1453
|
+
| 'twint'
|
|
1454
|
+
| 'go_pay'
|
|
1455
|
+
| 'grab_pay'
|
|
1456
|
+
| 'pay_co'
|
|
1457
|
+
| 'after_pay'
|
|
1458
|
+
| 'swish'
|
|
1459
|
+
| 'payme';
|
|
1445
1460
|
reference_id?: string;
|
|
1446
1461
|
/**
|
|
1447
1462
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -7,7 +7,7 @@ declare module 'chargebee' {
|
|
|
7
7
|
status: 'inited' | 'in_progress' | 'authorized' | 'consumed' | 'expired';
|
|
8
8
|
currency_code?: string;
|
|
9
9
|
amount: number;
|
|
10
|
-
gateway_account_id
|
|
10
|
+
gateway_account_id?: string;
|
|
11
11
|
expires_at: number;
|
|
12
12
|
reference_id?: string;
|
|
13
13
|
payment_method_type?:
|
|
@@ -43,7 +43,14 @@ declare module 'chargebee' {
|
|
|
43
43
|
| 'cash_app_pay'
|
|
44
44
|
| 'wechat_pay'
|
|
45
45
|
| 'alipay'
|
|
46
|
-
| 'pix'
|
|
46
|
+
| 'pix'
|
|
47
|
+
| 'twint'
|
|
48
|
+
| 'go_pay'
|
|
49
|
+
| 'grab_pay'
|
|
50
|
+
| 'pay_co'
|
|
51
|
+
| 'after_pay'
|
|
52
|
+
| 'swish'
|
|
53
|
+
| 'payme';
|
|
47
54
|
success_url?: string;
|
|
48
55
|
failure_url?: string;
|
|
49
56
|
created_at: number;
|
|
@@ -131,7 +138,14 @@ declare module 'chargebee' {
|
|
|
131
138
|
| 'cash_app_pay'
|
|
132
139
|
| 'wechat_pay'
|
|
133
140
|
| 'alipay'
|
|
134
|
-
| 'pix'
|
|
141
|
+
| 'pix'
|
|
142
|
+
| 'twint'
|
|
143
|
+
| 'go_pay'
|
|
144
|
+
| 'grab_pay'
|
|
145
|
+
| 'pay_co'
|
|
146
|
+
| 'after_pay'
|
|
147
|
+
| 'swish'
|
|
148
|
+
| 'payme';
|
|
135
149
|
id_at_gateway?: string;
|
|
136
150
|
error_code?: string;
|
|
137
151
|
error_text?: string;
|
|
@@ -183,7 +197,14 @@ declare module 'chargebee' {
|
|
|
183
197
|
| 'cash_app_pay'
|
|
184
198
|
| 'wechat_pay'
|
|
185
199
|
| 'alipay'
|
|
186
|
-
| 'pix'
|
|
200
|
+
| 'pix'
|
|
201
|
+
| 'twint'
|
|
202
|
+
| 'go_pay'
|
|
203
|
+
| 'grab_pay'
|
|
204
|
+
| 'pay_co'
|
|
205
|
+
| 'after_pay'
|
|
206
|
+
| 'swish'
|
|
207
|
+
| 'payme';
|
|
187
208
|
id_at_gateway?: string;
|
|
188
209
|
error_code?: string;
|
|
189
210
|
error_text?: string;
|
|
@@ -202,6 +223,7 @@ declare module 'chargebee' {
|
|
|
202
223
|
currency_code: string;
|
|
203
224
|
gateway_account_id?: string;
|
|
204
225
|
reference_id?: string;
|
|
226
|
+
defer_payment_method_type?: boolean;
|
|
205
227
|
payment_method_type?:
|
|
206
228
|
| 'card'
|
|
207
229
|
| 'ideal'
|
|
@@ -235,7 +257,14 @@ declare module 'chargebee' {
|
|
|
235
257
|
| 'cash_app_pay'
|
|
236
258
|
| 'wechat_pay'
|
|
237
259
|
| 'alipay'
|
|
238
|
-
| 'pix'
|
|
260
|
+
| 'pix'
|
|
261
|
+
| 'twint'
|
|
262
|
+
| 'go_pay'
|
|
263
|
+
| 'grab_pay'
|
|
264
|
+
| 'pay_co'
|
|
265
|
+
| 'after_pay'
|
|
266
|
+
| 'swish'
|
|
267
|
+
| 'payme';
|
|
239
268
|
success_url?: string;
|
|
240
269
|
failure_url?: string;
|
|
241
270
|
}
|
|
@@ -276,7 +305,14 @@ declare module 'chargebee' {
|
|
|
276
305
|
| 'cash_app_pay'
|
|
277
306
|
| 'wechat_pay'
|
|
278
307
|
| 'alipay'
|
|
279
|
-
| 'pix'
|
|
308
|
+
| 'pix'
|
|
309
|
+
| 'twint'
|
|
310
|
+
| 'go_pay'
|
|
311
|
+
| 'grab_pay'
|
|
312
|
+
| 'pay_co'
|
|
313
|
+
| 'after_pay'
|
|
314
|
+
| 'swish'
|
|
315
|
+
| 'payme';
|
|
280
316
|
success_url?: string;
|
|
281
317
|
failure_url?: string;
|
|
282
318
|
}
|
|
@@ -226,6 +226,7 @@ declare module 'chargebee' {
|
|
|
226
226
|
| 'maestro'
|
|
227
227
|
| 'dankort'
|
|
228
228
|
| 'cartes_bancaires'
|
|
229
|
+
| 'mada'
|
|
229
230
|
| 'not_applicable';
|
|
230
231
|
funding_type:
|
|
231
232
|
| 'credit'
|
|
@@ -424,7 +425,8 @@ declare module 'chargebee' {
|
|
|
424
425
|
| 'rupay'
|
|
425
426
|
| 'maestro'
|
|
426
427
|
| 'dankort'
|
|
427
|
-
| 'cartes_bancaires'
|
|
428
|
+
| 'cartes_bancaires'
|
|
429
|
+
| 'mada';
|
|
428
430
|
funding_type?: 'credit' | 'debit' | 'prepaid' | 'not_known';
|
|
429
431
|
}
|
|
430
432
|
|
|
@@ -465,7 +467,14 @@ declare module 'chargebee' {
|
|
|
465
467
|
| 'cash_app_pay'
|
|
466
468
|
| 'wechat_pay'
|
|
467
469
|
| 'alipay'
|
|
468
|
-
| 'pix'
|
|
470
|
+
| 'pix'
|
|
471
|
+
| 'twint'
|
|
472
|
+
| 'go_pay'
|
|
473
|
+
| 'grab_pay'
|
|
474
|
+
| 'pay_co'
|
|
475
|
+
| 'after_pay'
|
|
476
|
+
| 'swish'
|
|
477
|
+
| 'payme';
|
|
469
478
|
reference_id?: string;
|
|
470
479
|
/**
|
|
471
480
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -110,7 +110,14 @@ declare module 'chargebee' {
|
|
|
110
110
|
| 'cash_app_pay'
|
|
111
111
|
| 'wechat_pay'
|
|
112
112
|
| 'alipay'
|
|
113
|
-
| 'pix'
|
|
113
|
+
| 'pix'
|
|
114
|
+
| 'twint'
|
|
115
|
+
| 'go_pay'
|
|
116
|
+
| 'grab_pay'
|
|
117
|
+
| 'pay_co'
|
|
118
|
+
| 'after_pay'
|
|
119
|
+
| 'swish'
|
|
120
|
+
| 'payme';
|
|
114
121
|
reference_id?: string;
|
|
115
122
|
/**
|
|
116
123
|
* @deprecated Please refer API docs to use other attributes
|
|
@@ -743,6 +743,7 @@ declare module 'chargebee' {
|
|
|
743
743
|
currency_code?: string;
|
|
744
744
|
coupon?: string;
|
|
745
745
|
coupon_ids?: string[];
|
|
746
|
+
net_term_days?: number;
|
|
746
747
|
billing_address?: BillingAddressCreateForChargeItemsAndChargesInputParam;
|
|
747
748
|
shipping_address?: ShippingAddressCreateForChargeItemsAndChargesInputParam;
|
|
748
749
|
item_prices?: ItemPricesCreateForChargeItemsAndChargesInputParam[];
|
|
@@ -758,6 +759,7 @@ declare module 'chargebee' {
|
|
|
758
759
|
currency_code?: string;
|
|
759
760
|
coupon?: string;
|
|
760
761
|
coupon_ids?: string[];
|
|
762
|
+
net_term_days?: number;
|
|
761
763
|
billing_address?: BillingAddressEditForChargeItemsAndChargesInputParam;
|
|
762
764
|
shipping_address?: ShippingAddressEditForChargeItemsAndChargesInputParam;
|
|
763
765
|
item_prices?: ItemPricesEditForChargeItemsAndChargesInputParam[];
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -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'
|