chargebee 3.4.0 → 3.5.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 +10 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +1 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +1 -0
- package/package.json +1 -1
- package/types/core.d.ts +2 -1
- package/types/resources/Invoice.d.ts +1 -0
- package/types/resources/Purchase.d.ts +33 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
### v3.5.0 (2025-03-06)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
### New Input Params:
|
|
5
|
+
* created_at has been added to Invoice#LineItemsImportInputParams.
|
|
6
|
+
* PaymentIntent has been added to Purchase#CreateInputParams.
|
|
7
|
+
|
|
8
|
+
### New Enums:
|
|
9
|
+
* SUBSCRIPTION_ENTITLEMENTS_UPDATED has been added to EventType#Enum.
|
|
10
|
+
|
|
1
11
|
### v3.4.0 (2025-02-10)
|
|
2
12
|
* * *
|
|
3
13
|
|
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.5.0',
|
|
15
15
|
port: DEFAULT_PORT,
|
|
16
16
|
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
|
|
17
17
|
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
|
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.5.0',
|
|
12
12
|
port: DEFAULT_PORT,
|
|
13
13
|
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
|
|
14
14
|
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
|
package/package.json
CHANGED
package/types/core.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ declare module 'chargebee' {
|
|
|
292
292
|
| 'item_entitlements_removed'
|
|
293
293
|
| 'entitlement_overrides_auto_removed'
|
|
294
294
|
| 'subscription_entitlements_created'
|
|
295
|
+
| 'subscription_entitlements_updated'
|
|
295
296
|
| 'business_entity_created'
|
|
296
297
|
| 'business_entity_updated'
|
|
297
298
|
| 'business_entity_deleted'
|
|
@@ -347,6 +348,7 @@ declare module 'chargebee' {
|
|
|
347
348
|
type GatewayEnum =
|
|
348
349
|
| 'chargebee'
|
|
349
350
|
| 'chargebee_payments'
|
|
351
|
+
| 'adyen'
|
|
350
352
|
| 'stripe'
|
|
351
353
|
| 'wepay'
|
|
352
354
|
| 'braintree'
|
|
@@ -372,7 +374,6 @@ declare module 'chargebee' {
|
|
|
372
374
|
| 'wirecard'
|
|
373
375
|
| 'amazon_payments'
|
|
374
376
|
| 'paypal_express_checkout'
|
|
375
|
-
| 'adyen'
|
|
376
377
|
| 'orbital'
|
|
377
378
|
| 'moneris_us'
|
|
378
379
|
| 'moneris'
|
|
@@ -41,6 +41,7 @@ declare module 'chargebee' {
|
|
|
41
41
|
invoice_info?: InvoiceInfoCreateInputParam;
|
|
42
42
|
payment_schedule?: PaymentScheduleCreateInputParam;
|
|
43
43
|
statement_descriptor?: StatementDescriptorCreateInputParam;
|
|
44
|
+
payment_intent?: PaymentIntentCreateInputParam;
|
|
44
45
|
purchase_items?: PurchaseItemsCreateInputParam[];
|
|
45
46
|
item_tiers?: ItemTiersCreateInputParam[];
|
|
46
47
|
shipping_addresses?: ShippingAddressesCreateInputParam[];
|
|
@@ -71,6 +72,38 @@ declare module 'chargebee' {
|
|
|
71
72
|
po_number?: string;
|
|
72
73
|
notes?: string;
|
|
73
74
|
}
|
|
75
|
+
export interface PaymentIntentCreateInputParam {
|
|
76
|
+
id?: string;
|
|
77
|
+
gateway_account_id?: string;
|
|
78
|
+
gw_token?: string;
|
|
79
|
+
payment_method_type?:
|
|
80
|
+
| 'card'
|
|
81
|
+
| 'ideal'
|
|
82
|
+
| 'sofort'
|
|
83
|
+
| 'bancontact'
|
|
84
|
+
| 'google_pay'
|
|
85
|
+
| 'dotpay'
|
|
86
|
+
| 'giropay'
|
|
87
|
+
| 'apple_pay'
|
|
88
|
+
| 'upi'
|
|
89
|
+
| 'netbanking_emandates'
|
|
90
|
+
| 'paypal_express_checkout'
|
|
91
|
+
| 'direct_debit'
|
|
92
|
+
| 'boleto'
|
|
93
|
+
| 'venmo'
|
|
94
|
+
| 'amazon_payments'
|
|
95
|
+
| 'pay_to'
|
|
96
|
+
| 'faster_payments'
|
|
97
|
+
| 'sepa_instant_transfer'
|
|
98
|
+
| 'klarna_pay_now'
|
|
99
|
+
| 'online_banking_poland';
|
|
100
|
+
reference_id?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Please refer API docs to use other attributes
|
|
103
|
+
*/
|
|
104
|
+
gw_payment_method_id?: string;
|
|
105
|
+
additional_information?: any;
|
|
106
|
+
}
|
|
74
107
|
|
|
75
108
|
export interface SubscriptionInfoCreateInputParam {
|
|
76
109
|
index: number;
|