diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5c7d67e..ac90924 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,63 @@
+### v3.25.0 (2026-06-08)
+* * *
+### New Attributes:
+- [`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).
+- [`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).
+- [`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).
+
+
+### New Parameters:
+- [`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).
+- [`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).
+- [`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).
+- [`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).
+- [`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).
+- [`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).
+- [`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).
+- [`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).
+
+
+### Parameter Updates:
+- [`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).
+
+
+### New Events:
+- [`omnichannel_subscription_item_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_updated) has been added.
+- [`omnichannel_subscription_item_recovered`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_recovered) has been added.
+
+
+### Deleted Resources:
+- QuoteEntitlement has been removed.
+
+
+### Deleted Attributes:
+- `entity_id` has been removed from `QuoteEntitlement`.
+- `entity_type` has been removed from `QuoteEntitlement`.
+- `feature_id` has been removed from `QuoteEntitlement`.
+- `value` has been removed from `QuoteEntitlement`.
+- `is_enabled` has been removed from `QuoteEntitlement`.
+- `start_date` has been removed from `QuoteEntitlement`.
+- `end_date` has been removed from `QuoteEntitlement`.
+- `created_at` has been removed from `QuoteEntitlement`.
+- `modified_at` has been removed from `QuoteEntitlement`.
+
+
+### Deleted Parameters:
+- `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).
+
+
+### New Enums:
+- `omnichannel_subscription_item_updated` and `omnichannel_subscription_item_recovered` have been added as new values enum `EventType`.
+- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethod`.
+- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethodType`.
+- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `Type`.
+- `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).
+- `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).
+- `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).
+- `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).
+
+
+
### v3.24.1 (2026-06-03)
* * *
### Bug Fixes:
diff --git a/VERSION b/VERSION
index 455cf2c..0914443 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.24.1
+3.25.0
diff --git a/package-lock.json b/package-lock.json
index c3a8724..3acbe7d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "chargebee",
- "version": "3.24.1",
+ "version": "3.25.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "chargebee",
- "version": "3.24.1",
+ "version": "3.25.0",
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.10",
diff --git a/package.json b/package.json
index f25bbe5..8c1b042 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "chargebee",
- "version": "3.24.1",
+ "version": "3.25.0",
"description": "A library for integrating with Chargebee.",
"scripts": {
"prepack": "npm install && npm run build",
diff --git a/src/environment.ts b/src/environment.ts
index 1de9b8f..28c7efc 100644
--- a/src/environment.ts
+++ b/src/environment.ts
@@ -9,7 +9,7 @@ export const Environment = {
hostSuffix: '.chargebee.com',
apiPath: '/api/v2',
timeout: DEFAULT_TIME_OUT,
- clientVersion: 'v3.24.1',
+ clientVersion: 'v3.25.0',
port: DEFAULT_PORT,
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
diff --git a/src/resources/api_endpoints.ts b/src/resources/api_endpoints.ts
index 314afca..3b16ec8 100644
--- a/src/resources/api_endpoints.ts
+++ b/src/resources/api_endpoints.ts
@@ -46,7 +46,6 @@ interface Endpoints {
quotedDeltaRamp: EndpointTuple[];
billingConfiguration: EndpointTuple[];
quoteLineGroup: EndpointTuple[];
- quoteEntitlement: EndpointTuple[];
cpqQuoteSignature: EndpointTuple[];
plan: EndpointTuple[];
addon: EndpointTuple[];
@@ -92,6 +91,7 @@ interface Endpoints {
ramp: EndpointTuple[];
paymentScheduleScheme: EndpointTuple[];
pricingPageSession: EndpointTuple[];
+ omnichannelSubscriptionItemScheduledChange: EndpointTuple[];
omnichannelSubscription: EndpointTuple[];
omnichannelTransaction: EndpointTuple[];
omnichannelSubscriptionItem: EndpointTuple[];
@@ -100,7 +100,6 @@ interface Endpoints {
omnichannelOneTimeOrderItem: EndpointTuple[];
rule: EndpointTuple[];
usageEvent: EndpointTuple[];
- omnichannelSubscriptionItemScheduledChange: EndpointTuple[];
usageFile: EndpointTuple[];
personalizedOffer: EndpointTuple[];
brand: EndpointTuple[];
@@ -3147,7 +3146,6 @@ export const Endpoints: Endpoints = {
quotedDeltaRamp: [],
billingConfiguration: [],
quoteLineGroup: [],
- quoteEntitlement: [],
cpqQuoteSignature: [],
plan: [
[
@@ -4811,6 +4809,7 @@ export const Endpoints: Endpoints = {
},
],
],
+ omnichannelSubscriptionItemScheduledChange: [],
omnichannelSubscription: [
[
'retrieve',
@@ -4943,7 +4942,6 @@ export const Endpoints: Endpoints = {
{},
],
],
- omnichannelSubscriptionItemScheduledChange: [],
usageFile: [
[
'uploadUrl',
diff --git a/src/resources/webhook/content.ts b/src/resources/webhook/content.ts
index fe1c502..ee2c495 100644
--- a/src/resources/webhook/content.ts
+++ b/src/resources/webhook/content.ts
@@ -459,8 +459,6 @@ export interface OmnichannelSubscriptionCreatedContent {
OmnichannelTransaction: import('chargebee').OmnichannelTransaction;
- OmnichannelSubscriptionItemScheduledChange: import('chargebee').OmnichannelSubscriptionItemScheduledChange;
-
Customer: import('chargebee').Customer;
}
@@ -594,14 +592,22 @@ export interface OmnichannelSubscriptionItemReactivatedContent {
Customer: import('chargebee').Customer;
}
-export interface OmnichannelSubscriptionItemRenewedContent {
+export interface OmnichannelSubscriptionItemRecoveredContent {
OmnichannelSubscriptionItem: import('chargebee').OmnichannelSubscriptionItem;
OmnichannelSubscription: import('chargebee').OmnichannelSubscription;
OmnichannelTransaction: import('chargebee').OmnichannelTransaction;
- OmnichannelSubscriptionItemScheduledChange: import('chargebee').OmnichannelSubscriptionItemScheduledChange;
+ Customer: import('chargebee').Customer;
+}
+
+export interface OmnichannelSubscriptionItemRenewedContent {
+ OmnichannelSubscriptionItem: import('chargebee').OmnichannelSubscriptionItem;
+
+ OmnichannelSubscription: import('chargebee').OmnichannelSubscription;
+
+ OmnichannelTransaction: import('chargebee').OmnichannelTransaction;
Customer: import('chargebee').Customer;
}
@@ -650,6 +656,16 @@ export interface OmnichannelSubscriptionItemScheduledDowngradeRemovedContent {
Customer: import('chargebee').Customer;
}
+export interface OmnichannelSubscriptionItemUpdatedContent {
+ OmnichannelSubscriptionItem: import('chargebee').OmnichannelSubscriptionItem;
+
+ OmnichannelSubscription: import('chargebee').OmnichannelSubscription;
+
+ OmnichannelTransaction: import('chargebee').OmnichannelTransaction;
+
+ Customer: import('chargebee').Customer;
+}
+
export interface OmnichannelSubscriptionItemUpgradedContent {
OmnichannelSubscriptionItem: import('chargebee').OmnichannelSubscriptionItem;
@@ -1645,6 +1661,8 @@ export type WebhookContentMap = {
[WebhookEventType.OmnichannelSubscriptionItemReactivated]: OmnichannelSubscriptionItemReactivatedContent;
+ [WebhookEventType.OmnichannelSubscriptionItemRecovered]: OmnichannelSubscriptionItemRecoveredContent;
+
[WebhookEventType.OmnichannelSubscriptionItemRenewed]: OmnichannelSubscriptionItemRenewedContent;
[WebhookEventType.OmnichannelSubscriptionItemResubscribed]: OmnichannelSubscriptionItemResubscribedContent;
@@ -1657,6 +1675,8 @@ export type WebhookContentMap = {
[WebhookEventType.OmnichannelSubscriptionItemScheduledDowngradeRemoved]: OmnichannelSubscriptionItemScheduledDowngradeRemovedContent;
+ [WebhookEventType.OmnichannelSubscriptionItemUpdated]: OmnichannelSubscriptionItemUpdatedContent;
+
[WebhookEventType.OmnichannelSubscriptionItemUpgraded]: OmnichannelSubscriptionItemUpgradedContent;
[WebhookEventType.OmnichannelSubscriptionMovedIn]: OmnichannelSubscriptionMovedInContent;
diff --git a/src/resources/webhook/eventType.ts b/src/resources/webhook/eventType.ts
index 59d326e..866ec1d 100644
--- a/src/resources/webhook/eventType.ts
+++ b/src/resources/webhook/eventType.ts
@@ -205,6 +205,8 @@ export enum WebhookEventType {
OmnichannelSubscriptionItemReactivated = 'omnichannel_subscription_item_reactivated',
+ OmnichannelSubscriptionItemRecovered = 'omnichannel_subscription_item_recovered',
+
OmnichannelSubscriptionItemRenewed = 'omnichannel_subscription_item_renewed',
OmnichannelSubscriptionItemResubscribed = 'omnichannel_subscription_item_resubscribed',
@@ -217,6 +219,8 @@ export enum WebhookEventType {
OmnichannelSubscriptionItemScheduledDowngradeRemoved = 'omnichannel_subscription_item_scheduled_downgrade_removed',
+ OmnichannelSubscriptionItemUpdated = 'omnichannel_subscription_item_updated',
+
OmnichannelSubscriptionItemUpgraded = 'omnichannel_subscription_item_upgraded',
OmnichannelSubscriptionMovedIn = 'omnichannel_subscription_moved_in',
diff --git a/types/core.d.ts b/types/core.d.ts
index 0a8eca1..60350af 100644
--- a/types/core.d.ts
+++ b/types/core.d.ts
@@ -368,6 +368,8 @@ declare module 'chargebee' {
| 'omnichannel_subscription_moved_in'
| 'omnichannel_transaction_created'
| 'alert_status_changed'
+ | 'omnichannel_subscription_item_updated'
+ | 'omnichannel_subscription_item_recovered'
| 'plan_created'
| 'plan_updated'
| 'plan_deleted'
@@ -530,7 +532,12 @@ declare module 'chargebee' {
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
type PaymentMethodSavePolicyEnum = 'always' | 'ask' | 'never';
type PaymentMethodTypeEnum =
| 'card'
@@ -567,14 +574,19 @@ declare module 'chargebee' {
| 'naver_pay'
| 'revolut_pay'
| 'cash_app_pay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
type PaymentVoucherTypeEnum = 'boleto';
type PeriodUnitEnum = 'day' | 'week' | 'month' | 'year';
type PriceTypeEnum = 'tax_exclusive' | 'tax_inclusive';
@@ -677,7 +689,6 @@ declare module 'chargebee' {
| 'naver_pay'
| 'revolut_pay'
| 'cash_app_pay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
@@ -685,6 +696,12 @@ declare module 'chargebee' {
| 'after_pay'
| 'swish'
| 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards'
| 'free_trial'
| 'pay_up_front'
| 'pay_as_you_go'
@@ -915,6 +932,8 @@ declare module 'chargebee' {
| 'omnichannel_subscription_moved_in'
| 'omnichannel_transaction_created'
| 'alert_status_changed'
+ | 'omnichannel_subscription_item_updated'
+ | 'omnichannel_subscription_item_recovered'
| 'plan_created'
| 'plan_updated'
| 'plan_deleted'
diff --git a/types/index.d.ts b/types/index.d.ts
index 08b1cde..b5eb5eb 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -76,7 +76,6 @@
///
///
///
-///
///
///
///
diff --git a/types/resources/Content.d.ts b/types/resources/Content.d.ts
index adfd480..36a64e8 100644
--- a/types/resources/Content.d.ts
+++ b/types/resources/Content.d.ts
@@ -81,7 +81,6 @@ declare module 'chargebee' {
promotional_credit: PromotionalCredit;
purchase: Purchase;
quote: Quote;
- quote_entitlement: QuoteEntitlement;
quote_line_group: QuoteLineGroup;
quoted_charge: QuotedCharge;
quoted_delta_ramp: QuotedDeltaRamp;
diff --git a/types/resources/Customer.d.ts b/types/resources/Customer.d.ts
index 3bf3e83..5d40a9a 100644
--- a/types/resources/Customer.d.ts
+++ b/types/resources/Customer.d.ts
@@ -762,14 +762,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -954,14 +959,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
/**
* @deprecated Please refer API docs to use other attributes
*/
diff --git a/types/resources/Estimate.d.ts b/types/resources/Estimate.d.ts
index 8006d16..9606d10 100644
--- a/types/resources/Estimate.d.ts
+++ b/types/resources/Estimate.d.ts
@@ -1058,14 +1058,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -1155,14 +1160,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
diff --git a/types/resources/Event.d.ts b/types/resources/Event.d.ts
index 4096771..66e95de 100644
--- a/types/resources/Event.d.ts
+++ b/types/resources/Event.d.ts
@@ -65,6 +65,7 @@ declare module 'chargebee' {
GiftUnclaimedContent &
VirtualBankAccountAddedContent &
PaymentIntentCreatedContent &
+ OmnichannelSubscriptionItemUpdatedContent &
CreditNoteCreatedWithBackdatingContent &
ContractTermTerminatedContent &
ItemFamilyUpdatedContent &
@@ -77,6 +78,7 @@ declare module 'chargebee' {
ItemDeletedContent &
SubscriptionRampDraftedContent &
DunningUpdatedContent &
+ OmnichannelSubscriptionItemRecoveredContent &
ItemEntitlementsUpdatedContent &
TokenConsumedContent &
HierarchyDeletedContent &
diff --git a/types/resources/Gift.d.ts b/types/resources/Gift.d.ts
index ebcc1ae..f4753f8 100644
--- a/types/resources/Gift.d.ts
+++ b/types/resources/Gift.d.ts
@@ -50,7 +50,7 @@ declare module 'chargebee' {
updateGift(
gift_id: string,
- input: UpdateGiftInputParam,
+ input?: UpdateGiftInputParam,
headers?: ChargebeeRequestHeader,
): Promise>;
}
@@ -147,8 +147,9 @@ declare module 'chargebee' {
status?: filter.Enum;
}
export interface UpdateGiftInputParam {
- scheduled_at: number;
+ scheduled_at?: number;
comment?: string;
+ gift_receiver?: GiftReceiverUpdateGiftInputParam;
}
export interface GiftReceiverCreateInputParam {
customer_id: string;
@@ -215,14 +216,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -306,14 +312,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -345,5 +356,11 @@ declare module 'chargebee' {
email?: filter.String;
customer_id?: filter.String;
}
+
+ export interface GiftReceiverUpdateGiftInputParam {
+ email?: string;
+ first_name?: string;
+ last_name?: string;
+ }
}
}
diff --git a/types/resources/HostedPage.d.ts b/types/resources/HostedPage.d.ts
index 8bae689..3c846f3 100644
--- a/types/resources/HostedPage.d.ts
+++ b/types/resources/HostedPage.d.ts
@@ -437,6 +437,7 @@ declare module 'chargebee' {
addons?: AddonsCheckoutGiftInputParam[];
}
export interface CheckoutGiftForItemsInputParam {
+ layout?: LayoutEnum;
business_entity_id?: string;
redirect_url?: string;
coupon_ids?: string[];
diff --git a/types/resources/Invoice.d.ts b/types/resources/Invoice.d.ts
index ab37ab0..51c8f00 100644
--- a/types/resources/Invoice.d.ts
+++ b/types/resources/Invoice.d.ts
@@ -1074,7 +1074,6 @@ declare module 'chargebee' {
channel?: filter.Enum;
voided_at?: filter.Timestamp;
void_reason_code?: filter.String;
- exclude?: filter.String;
'sort_by[asc]'?: string;
'sort_by[desc]'?: string;
}
@@ -1283,14 +1282,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -1449,14 +1453,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
diff --git a/types/resources/OmnichannelSubscription.d.ts b/types/resources/OmnichannelSubscription.d.ts
index b2ddc7f..a00209b 100644
--- a/types/resources/OmnichannelSubscription.d.ts
+++ b/types/resources/OmnichannelSubscription.d.ts
@@ -9,6 +9,8 @@ declare module 'chargebee' {
source: 'apple_app_store' | 'google_play_store';
customer_id?: string;
created_at: number;
+ purchased_at?: number;
+ updated_at: number;
resource_version?: number;
omnichannel_subscription_items: OmnichannelSubscriptionItem[];
initial_purchase_transaction?: OmnichannelTransaction;
@@ -68,6 +70,10 @@ declare module 'chargebee' {
omnichannel_subscription_item?: OmnichannelSubscriptionItemOmnichannelSubscriptionListInputParam;
source?: filter.Enum;
customer_id?: filter.String;
+ id?: filter.String;
+ id_at_source?: filter.String;
+ updated_at?: filter.Timestamp;
+ purchased_at?: filter.Timestamp;
}
export interface OmnichannelTransactionsForOmnichannelSubscriptionInputParam {
limit?: number;
diff --git a/types/resources/OmnichannelSubscriptionItem.d.ts b/types/resources/OmnichannelSubscriptionItem.d.ts
index be84735..54afeb2 100644
--- a/types/resources/OmnichannelSubscriptionItem.d.ts
+++ b/types/resources/OmnichannelSubscriptionItem.d.ts
@@ -28,6 +28,7 @@ declare module 'chargebee' {
grace_period_expires_at?: number;
resumes_at?: number;
has_scheduled_changes: boolean;
+ updated_at: number;
resource_version?: number;
omnichannel_subscription_item_offers?: OmnichannelSubscriptionItemOffer[];
upcoming_renewal?: OmnichannelSubscriptionItem.UpcomingRenewal;
diff --git a/types/resources/PaymentIntent.d.ts b/types/resources/PaymentIntent.d.ts
index 4857351..80d21f8 100644
--- a/types/resources/PaymentIntent.d.ts
+++ b/types/resources/PaymentIntent.d.ts
@@ -43,14 +43,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
success_url?: string;
failure_url?: string;
created_at: number;
@@ -138,14 +143,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
id_at_gateway?: string;
error_code?: string;
error_text?: string;
@@ -197,14 +207,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
id_at_gateway?: string;
error_code?: string;
error_text?: string;
@@ -257,14 +272,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
success_url?: string;
failure_url?: string;
}
@@ -305,14 +325,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
success_url?: string;
failure_url?: string;
}
diff --git a/types/resources/PaymentSource.d.ts b/types/resources/PaymentSource.d.ts
index dc2f7a9..4988205 100644
--- a/types/resources/PaymentSource.d.ts
+++ b/types/resources/PaymentSource.d.ts
@@ -467,14 +467,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
diff --git a/types/resources/Purchase.d.ts b/types/resources/Purchase.d.ts
index 91efb0b..da9f272 100644
--- a/types/resources/Purchase.d.ts
+++ b/types/resources/Purchase.d.ts
@@ -110,14 +110,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
diff --git a/types/resources/QuoteEntitlement.d.ts b/types/resources/QuoteEntitlement.d.ts
deleted file mode 100644
index 2bf4db6..0000000
--- a/types/resources/QuoteEntitlement.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-///
-///
-
-declare module 'chargebee' {
- export interface QuoteEntitlement {
- entity_id: string;
- entity_type: 'plan_price' | 'addon_price' | 'charge_price' | 'charge';
- feature_id: string;
- value: string;
- is_enabled: boolean;
- start_date?: number;
- end_date?: number;
- created_at: number;
- modified_at: number;
- }
-}
diff --git a/types/resources/Subscription.d.ts b/types/resources/Subscription.d.ts
index 83f303f..83974cc 100644
--- a/types/resources/Subscription.d.ts
+++ b/types/resources/Subscription.d.ts
@@ -1419,14 +1419,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -1566,14 +1571,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -1680,14 +1690,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -1849,14 +1864,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -2032,14 +2052,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -2171,14 +2196,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
@@ -2616,14 +2646,19 @@ declare module 'chargebee' {
| 'cash_app_pay'
| 'wechat_pay'
| 'alipay'
- | 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
- | 'payme';
+ | 'payme'
+ | 'pix'
+ | 'klarna'
+ | 'alipay_hk'
+ | 'paypay'
+ | 'gcash'
+ | 'south_korean_cards';
reference_id?: string;
/**
* @deprecated Please refer API docs to use other attributes
diff --git a/types/resources/WebhookEvent.d.ts b/types/resources/WebhookEvent.d.ts
index 8c9cc91..5b29d46 100644
--- a/types/resources/WebhookEvent.d.ts
+++ b/types/resources/WebhookEvent.d.ts
@@ -48,6 +48,7 @@ declare module 'chargebee' {
GiftUnclaimed = 'gift_unclaimed',
VirtualBankAccountAdded = 'virtual_bank_account_added',
PaymentIntentCreated = 'payment_intent_created',
+ OmnichannelSubscriptionItemUpdated = 'omnichannel_subscription_item_updated',
CreditNoteCreatedWithBackdating = 'credit_note_created_with_backdating',
ContractTermTerminated = 'contract_term_terminated',
ItemFamilyUpdated = 'item_family_updated',
@@ -60,6 +61,7 @@ declare module 'chargebee' {
ItemDeleted = 'item_deleted',
SubscriptionRampDrafted = 'subscription_ramp_drafted',
DunningUpdated = 'dunning_updated',
+ OmnichannelSubscriptionItemRecovered = 'omnichannel_subscription_item_recovered',
ItemEntitlementsUpdated = 'item_entitlements_updated',
TokenConsumed = 'token_consumed',
HierarchyDeleted = 'hierarchy_deleted',
@@ -273,6 +275,7 @@ declare module 'chargebee' {
[WebhookEventType.GiftUnclaimed]: GiftUnclaimedContent;
[WebhookEventType.VirtualBankAccountAdded]: VirtualBankAccountAddedContent;
[WebhookEventType.PaymentIntentCreated]: PaymentIntentCreatedContent;
+ [WebhookEventType.OmnichannelSubscriptionItemUpdated]: OmnichannelSubscriptionItemUpdatedContent;
[WebhookEventType.CreditNoteCreatedWithBackdating]: CreditNoteCreatedWithBackdatingContent;
[WebhookEventType.ContractTermTerminated]: ContractTermTerminatedContent;
[WebhookEventType.ItemFamilyUpdated]: ItemFamilyUpdatedContent;
@@ -285,6 +288,7 @@ declare module 'chargebee' {
[WebhookEventType.ItemDeleted]: ItemDeletedContent;
[WebhookEventType.SubscriptionRampDrafted]: SubscriptionRampDraftedContent;
[WebhookEventType.DunningUpdated]: DunningUpdatedContent;
+ [WebhookEventType.OmnichannelSubscriptionItemRecovered]: OmnichannelSubscriptionItemRecoveredContent;
[WebhookEventType.ItemEntitlementsUpdated]: ItemEntitlementsUpdatedContent;
[WebhookEventType.TokenConsumed]: TokenConsumedContent;
[WebhookEventType.HierarchyDeleted]: HierarchyDeletedContent;
@@ -522,8 +526,6 @@ declare module 'chargebee' {
omnichannel_transaction: OmnichannelTransaction;
- omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
-
customer: Customer;
};
export type UnbilledChargesCreatedContent = {
@@ -739,6 +741,15 @@ declare module 'chargebee' {
export type PaymentIntentCreatedContent = {
payment_intent: PaymentIntent;
};
+ export type OmnichannelSubscriptionItemUpdatedContent = {
+ omnichannel_subscription_item: OmnichannelSubscriptionItem;
+
+ omnichannel_subscription: OmnichannelSubscription;
+
+ omnichannel_transaction: OmnichannelTransaction;
+
+ customer: Customer;
+ };
export type CreditNoteCreatedWithBackdatingContent = {
credit_note: CreditNote;
};
@@ -785,6 +796,15 @@ declare module 'chargebee' {
export type DunningUpdatedContent = {
invoice: Invoice;
};
+ export type OmnichannelSubscriptionItemRecoveredContent = {
+ omnichannel_subscription_item: OmnichannelSubscriptionItem;
+
+ omnichannel_subscription: OmnichannelSubscription;
+
+ omnichannel_transaction: OmnichannelTransaction;
+
+ customer: Customer;
+ };
export type ItemEntitlementsUpdatedContent = {
feature: Feature;
@@ -1549,8 +1569,6 @@ declare module 'chargebee' {
omnichannel_transaction: OmnichannelTransaction;
- omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
-
customer: Customer;
};
export type TaxWithheldRecordedContent = {