chargebee 3.18.0 → 3.19.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 +14 -1
- package/README.md +1 -1
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +0 -13
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +0 -13
- package/package.json +1 -1
- package/types/core.d.ts +1 -0
- package/types/resources/Coupon.d.ts +1 -0
- package/types/resources/Export.d.ts +1 -0
- package/types/resources/ItemPrice.d.ts +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
### v3.19.0 (2026-01-16)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
### New Parameters:
|
|
5
|
+
* `applicable_item_price_ids` has been added to Coupon#CouponListRequest.
|
|
6
|
+
* `applicable_item_price_ids` has been added to Export#CouponRequest.
|
|
7
|
+
|
|
8
|
+
### New Enums:
|
|
9
|
+
* `Twikey` has been added to GatewayEnum.
|
|
10
|
+
|
|
11
|
+
### Deleted Action:
|
|
12
|
+
* `move` action has been removed from the ItemPrice.
|
|
13
|
+
|
|
1
14
|
### v3.18.0 (2026-01-12)
|
|
2
15
|
* * *
|
|
3
16
|
|
|
@@ -3388,4 +3401,4 @@ Support for deleting the plans & addons. See our API documentation on [Delete a
|
|
|
3388
3401
|
|
|
3389
3402
|
### v1.0.0 (2014-02-02)
|
|
3390
3403
|
* * *
|
|
3391
|
-
Initial version of ChargeBee NodeJS binding.
|
|
3404
|
+
Initial version of ChargeBee NodeJS binding.
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Chargebee Node.js / TypeScript Client Library
|
|
2
2
|
|
|
3
3
|
> [!NOTE]
|
|
4
|
-
> [](https://discord.gg/
|
|
4
|
+
> [](https://discord.gg/gpsNqnhDm2)
|
|
5
5
|
>
|
|
6
6
|
> We are trialing a Discord server for developers building with Chargebee. Limited spots are open on a first-come basis. Join [here](https://discord.gg/S3SXDzXHAg) if interested.
|
|
7
7
|
|
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.19.0',
|
|
15
15
|
port: DEFAULT_PORT,
|
|
16
16
|
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
|
|
17
17
|
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
|
|
@@ -3963,19 +3963,6 @@ exports.Endpoints = {
|
|
|
3963
3963
|
{},
|
|
3964
3964
|
{},
|
|
3965
3965
|
],
|
|
3966
|
-
[
|
|
3967
|
-
'moveItemPrice',
|
|
3968
|
-
'POST',
|
|
3969
|
-
'/item_prices',
|
|
3970
|
-
'/move',
|
|
3971
|
-
true,
|
|
3972
|
-
null,
|
|
3973
|
-
false,
|
|
3974
|
-
{},
|
|
3975
|
-
{
|
|
3976
|
-
isIdempotent: true,
|
|
3977
|
-
},
|
|
3978
|
-
],
|
|
3979
3966
|
],
|
|
3980
3967
|
attachedItem: [
|
|
3981
3968
|
[
|
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.19.0',
|
|
12
12
|
port: DEFAULT_PORT,
|
|
13
13
|
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
|
|
14
14
|
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
|
|
@@ -3960,19 +3960,6 @@ export const Endpoints = {
|
|
|
3960
3960
|
{},
|
|
3961
3961
|
{},
|
|
3962
3962
|
],
|
|
3963
|
-
[
|
|
3964
|
-
'moveItemPrice',
|
|
3965
|
-
'POST',
|
|
3966
|
-
'/item_prices',
|
|
3967
|
-
'/move',
|
|
3968
|
-
true,
|
|
3969
|
-
null,
|
|
3970
|
-
false,
|
|
3971
|
-
{},
|
|
3972
|
-
{
|
|
3973
|
-
isIdempotent: true,
|
|
3974
|
-
},
|
|
3975
|
-
],
|
|
3976
3963
|
],
|
|
3977
3964
|
attachedItem: [
|
|
3978
3965
|
[
|
package/package.json
CHANGED
package/types/core.d.ts
CHANGED
|
@@ -241,6 +241,7 @@ declare module 'chargebee' {
|
|
|
241
241
|
created_at?: filter.Timestamp;
|
|
242
242
|
updated_at?: filter.Timestamp;
|
|
243
243
|
currency_code?: filter.String;
|
|
244
|
+
applicable_item_price_ids?: filter.String;
|
|
244
245
|
'sort_by[asc]'?: string;
|
|
245
246
|
'sort_by[desc]'?: string;
|
|
246
247
|
[key: `cf_${string}`]: unknown;
|
|
@@ -91,16 +91,6 @@ declare module 'chargebee' {
|
|
|
91
91
|
input?: FindApplicableItemPricesInputParam,
|
|
92
92
|
headers?: ChargebeeRequestHeader,
|
|
93
93
|
): Promise<ChargebeeResponse<FindApplicableItemPricesResponse>>;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated This method is deprecated and will be removed in a future version.
|
|
97
|
-
*/
|
|
98
|
-
|
|
99
|
-
moveItemPrice(
|
|
100
|
-
item_price_id: string,
|
|
101
|
-
input: MoveItemPriceInputParam,
|
|
102
|
-
headers?: ChargebeeRequestHeader,
|
|
103
|
-
): Promise<ChargebeeResponse<MoveItemPriceResponse>>;
|
|
104
94
|
}
|
|
105
95
|
|
|
106
96
|
export interface CreateResponse {
|
|
@@ -134,10 +124,6 @@ declare module 'chargebee' {
|
|
|
134
124
|
next_offset?: string;
|
|
135
125
|
}
|
|
136
126
|
|
|
137
|
-
export interface MoveItemPriceResponse {
|
|
138
|
-
item_price: ItemPrice;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
127
|
export interface Tier {
|
|
142
128
|
starting_unit: number;
|
|
143
129
|
ending_unit?: number;
|
|
@@ -283,10 +269,6 @@ declare module 'chargebee' {
|
|
|
283
269
|
'sort_by[asc]'?: string;
|
|
284
270
|
'sort_by[desc]'?: string;
|
|
285
271
|
}
|
|
286
|
-
export interface MoveItemPriceInputParam {
|
|
287
|
-
destination_item_id: string;
|
|
288
|
-
variant_id?: string;
|
|
289
|
-
}
|
|
290
272
|
export interface TaxDetailCreateInputParam {
|
|
291
273
|
tax_profile_id?: string;
|
|
292
274
|
avalara_tax_code?: string;
|