Skip to content

Commit 535106a

Browse files
authored
Releasing v3.17.0. (#95)
1 parent 0c591c0 commit 535106a

21 files changed

Lines changed: 244 additions & 30 deletions

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
### v3.17.0 (2025-12-30)
2+
* * *
3+
4+
### New Attributes:
5+
* retry_engine has been added to Invoice#DunningAttempt.
6+
7+
### New Endpoint:
8+
* move action has been added to ItemPrice.
9+
10+
### New Parameters:
11+
* exclude_tax_type has been added to Estimate#RenewalEstimateInputParam.
12+
* variant_id has been added to ItemPrice#MoveInputParam.
13+
* custom has been added to PricingPageSession#CreateForNewSubscriptionInputParam.
14+
* custom has been added to PricingPageSession#CreateForExistingSubscriptionInputParam.
15+
16+
### New Enums:
17+
* ELECTRONIC_PAYMENT_STANDARD has been added to PaymentMethodTypeEnum.
18+
* KBC_PAYMENT_BUTTON has been added to PaymentMethodTypeEnum.
19+
* PAY_BY_BANK has been added to PaymentMethodTypeEnum.
20+
* TRUSTLY has been added to PaymentMethodTypeEnum.
21+
* STABLECOIN has been added to PaymentMethodTypeEnum.
22+
123
### v3.16.2 (2025-12-17)
224
* * *
325

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chargebee",
3-
"version": "3.16.2",
3+
"version": "3.17.0",
44
"description": "A library for integrating with Chargebee.",
55
"scripts": {
66
"prepack": "npm install && npm run build",

src/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const Environment = {
99
hostSuffix: '.chargebee.com',
1010
apiPath: '/api/v2',
1111
timeout: DEFAULT_TIME_OUT,
12-
clientVersion: 'v3.16.2',
12+
clientVersion: 'v3.17.0',
1313
port: DEFAULT_PORT,
1414
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
1515
exportWaitInMillis: DEFAULT_EXPORT_WAIT,

src/resources/api_endpoints.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4716,7 +4716,9 @@ export const Endpoints: Endpoints = {
47164716
false,
47174717
null,
47184718
false,
4719-
{},
4719+
{
4720+
custom: 0,
4721+
},
47204722
{
47214723
isIdempotent: true,
47224724
},
@@ -4729,7 +4731,9 @@ export const Endpoints: Endpoints = {
47294731
false,
47304732
null,
47314733
false,
4732-
{},
4734+
{
4735+
custom: 0,
4736+
},
47334737
{
47344738
isIdempotent: true,
47354739
},

types/core.d.ts

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ declare module 'chargebee' {
369369
| 'addon_created'
370370
| 'addon_updated'
371371
| 'addon_deleted';
372+
type ExcludeTaxTypeEnum = 'exclusive' | 'none';
372373
type ExportTypeEnum = 'data' | 'import_friendly_data';
373374
type FreePeriodUnitEnum = 'day' | 'week' | 'month' | 'year';
374375
type FriendOfferTypeEnum = 'none' | 'coupon' | 'coupon_code';
@@ -502,7 +503,12 @@ declare module 'chargebee' {
502503
| 'automated_bank_transfer'
503504
| 'klarna_pay_now'
504505
| 'online_banking_poland'
505-
| 'payconiq_by_bancontact';
506+
| 'payconiq_by_bancontact'
507+
| 'electronic_payment_standard'
508+
| 'kbc_payment_button'
509+
| 'pay_by_bank'
510+
| 'trustly'
511+
| 'stablecoin';
506512
type PaymentMethodTypeEnum =
507513
| 'card'
508514
| 'paypal_express_checkout'
@@ -528,7 +534,12 @@ declare module 'chargebee' {
528534
| 'automated_bank_transfer'
529535
| 'klarna_pay_now'
530536
| 'online_banking_poland'
531-
| 'payconiq_by_bancontact';
537+
| 'payconiq_by_bancontact'
538+
| 'electronic_payment_standard'
539+
| 'kbc_payment_button'
540+
| 'pay_by_bank'
541+
| 'trustly'
542+
| 'stablecoin';
532543
type PaymentVoucherTypeEnum = 'boleto';
533544
type PeriodUnitEnum = 'day' | 'week' | 'month' | 'year';
534545
type PriceTypeEnum = 'tax_exclusive' | 'tax_inclusive';
@@ -553,6 +564,7 @@ declare module 'chargebee' {
553564
type RefundableCreditsHandlingEnum = 'no_action' | 'schedule_refund';
554565
type ReportByEnum = 'customer' | 'invoice' | 'product' | 'subscription';
555566
type ResumeOptionEnum = 'immediately' | 'specific_date';
567+
type RetryEngineEnum = 'chargebee' | 'flexpay' | 'successplus';
556568
type RoleEnum = 'primary' | 'backup' | 'none';
557569
type ScheduleTypeEnum = 'immediate' | 'specific_dates' | 'fixed_intervals';
558570
type SourceEnum =
@@ -621,6 +633,11 @@ declare module 'chargebee' {
621633
| 'klarna_pay_now'
622634
| 'online_banking_poland'
623635
| 'payconiq_by_bancontact'
636+
| 'electronic_payment_standard'
637+
| 'kbc_payment_button'
638+
| 'pay_by_bank'
639+
| 'trustly'
640+
| 'stablecoin'
624641
| 'free_trial'
625642
| 'pay_up_front'
626643
| 'pay_as_you_go';

types/resources/CouponCode.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ declare module 'chargebee' {
1212

1313
export namespace CouponCode {
1414
export class CouponCodeResource {
15+
/**
16+
* @deprecated This method is deprecated and will be removed in a future version.
17+
*/
18+
1519
create(
1620
input: CreateInputParam,
1721
headers?: ChargebeeRequestHeader,

types/resources/CreditNote.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ declare module 'chargebee' {
113113
headers?: ChargebeeRequestHeader,
114114
): Promise<ChargebeeResponse<ListResponse>>;
115115

116+
/**
117+
* @deprecated This method is deprecated and will be removed in a future version.
118+
*/
119+
116120
creditNotesForCustomer(
117121
customer_id: string,
118122
input?: CreditNotesForCustomerInputParam,

types/resources/Customer.d.ts

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,18 +150,30 @@ declare module 'chargebee' {
150150
headers?: ChargebeeRequestHeader,
151151
): Promise<ChargebeeResponse<DeleteContactResponse>>;
152152

153+
/**
154+
* @deprecated This method is deprecated and will be removed in a future version.
155+
*/
156+
153157
addPromotionalCredits(
154158
customer_id: string,
155159
input: AddPromotionalCreditsInputParam,
156160
headers?: ChargebeeRequestHeader,
157161
): Promise<ChargebeeResponse<AddPromotionalCreditsResponse>>;
158162

163+
/**
164+
* @deprecated This method is deprecated and will be removed in a future version.
165+
*/
166+
159167
deductPromotionalCredits(
160168
customer_id: string,
161169
input: DeductPromotionalCreditsInputParam,
162170
headers?: ChargebeeRequestHeader,
163171
): Promise<ChargebeeResponse<DeductPromotionalCreditsResponse>>;
164172

173+
/**
174+
* @deprecated This method is deprecated and will be removed in a future version.
175+
*/
176+
165177
setPromotionalCredits(
166178
customer_id: string,
167179
input: SetPromotionalCreditsInputParam,
@@ -738,7 +750,12 @@ declare module 'chargebee' {
738750
| 'sepa_instant_transfer'
739751
| 'klarna_pay_now'
740752
| 'online_banking_poland'
741-
| 'payconiq_by_bancontact';
753+
| 'payconiq_by_bancontact'
754+
| 'electronic_payment_standard'
755+
| 'kbc_payment_button'
756+
| 'pay_by_bank'
757+
| 'trustly'
758+
| 'stablecoin';
742759
reference_id?: string;
743760
/**
744761
* @deprecated Please refer API docs to use other attributes
@@ -911,7 +928,12 @@ declare module 'chargebee' {
911928
| 'sepa_instant_transfer'
912929
| 'klarna_pay_now'
913930
| 'online_banking_poland'
914-
| 'payconiq_by_bancontact';
931+
| 'payconiq_by_bancontact'
932+
| 'electronic_payment_standard'
933+
| 'kbc_payment_button'
934+
| 'pay_by_bank'
935+
| 'trustly'
936+
| 'stablecoin';
915937
/**
916938
* @deprecated Please refer API docs to use other attributes
917939
*/

types/resources/Estimate.d.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ declare module 'chargebee' {
340340
use_existing_balances?: boolean;
341341
ignore_scheduled_cancellation?: boolean;
342342
ignore_scheduled_changes?: boolean;
343+
exclude_tax_type?: 'exclusive' | 'none';
343344
}
344345
export interface AdvanceInvoiceEstimateInputParam {
345346
terms_to_charge?: number;
@@ -1041,7 +1042,12 @@ declare module 'chargebee' {
10411042
| 'sepa_instant_transfer'
10421043
| 'klarna_pay_now'
10431044
| 'online_banking_poland'
1044-
| 'payconiq_by_bancontact';
1045+
| 'payconiq_by_bancontact'
1046+
| 'electronic_payment_standard'
1047+
| 'kbc_payment_button'
1048+
| 'pay_by_bank'
1049+
| 'trustly'
1050+
| 'stablecoin';
10451051
reference_id?: string;
10461052
/**
10471053
* @deprecated Please refer API docs to use other attributes
@@ -1119,7 +1125,12 @@ declare module 'chargebee' {
11191125
| 'sepa_instant_transfer'
11201126
| 'klarna_pay_now'
11211127
| 'online_banking_poland'
1122-
| 'payconiq_by_bancontact';
1128+
| 'payconiq_by_bancontact'
1129+
| 'electronic_payment_standard'
1130+
| 'kbc_payment_button'
1131+
| 'pay_by_bank'
1132+
| 'trustly'
1133+
| 'stablecoin';
11231134
reference_id?: string;
11241135
/**
11251136
* @deprecated Please refer API docs to use other attributes

0 commit comments

Comments
 (0)