diff --git a/CHANGELOG.md b/CHANGELOG.md
index c04797c..eb0d409 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+### v2.33.1 (2024-03-06)
+* * *
+* NonSubscription has been added.
+
+
### v2.33.0 (2024-02-29)
* * *
diff --git a/lib/chargebee.js b/lib/chargebee.js
index 0d4fc4e..5d08504 100644
--- a/lib/chargebee.js
+++ b/lib/chargebee.js
@@ -11,7 +11,7 @@ ChargeBee._env = {
hostSuffix: '.chargebee.com',
apiPath: '/api/v2',
timeout: 80000,
- clientVersion: 'v2.33.0',
+ clientVersion: 'v2.33.1',
port: 443,
timemachineWaitInMillis: 3000,
exportWaitInMillis: 3000
diff --git a/lib/resources/api_endpoints.js b/lib/resources/api_endpoints.js
index 0afc6fb..1ff410e 100644
--- a/lib/resources/api_endpoints.js
+++ b/lib/resources/api_endpoints.js
@@ -2629,6 +2629,15 @@ var _endpoints = {
true
]
],
+ "non_subscription": [
+ [
+ "process_receipt",
+ "POST",
+ "/non_subscriptions",
+ "/one_time_purchase",
+ true
+ ]
+ ],
"entitlement_override": [
[
"add_entitlement_override_for_subscription",
diff --git a/package.json b/package.json
index 1556b89..b1a0bba 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name":"chargebee",
- "version":"2.33.0",
+ "version":"2.33.1",
"description":"A library for integrating with ChargeBee.",
"keywords":[
"payments",
diff --git a/types/resources/NonSubscription.d.ts b/types/resources/NonSubscription.d.ts
new file mode 100644
index 0000000..e9ee9fe
--- /dev/null
+++ b/types/resources/NonSubscription.d.ts
@@ -0,0 +1,30 @@
+///
+declare module 'chargebee' {
+ export interface NonSubscription {
+
+ app_id:string;
+
+ invoice_id:string;
+
+ customer_id?:string;
+
+ charge_id:string;
+ }
+ export namespace NonSubscription {
+ export class NonSubscriptionResource {
+ process_receipt(non_subscription_app_id:string, input:ProcessReceiptInputParam):ChargebeeRequest;
+ }
+ export interface ProcessReceiptResponse {
+ non_subscription:NonSubscription;
+ }
+ export interface ProcessReceiptInputParam {
+
+ receipt:string;
+
+ product:{currency_code:string,id:string,name?:string,price:number,price_in_decimal?:string,type:'non_consumable' | 'consumable' | 'non_renewing_subscription'};
+
+ customer?:{email?:string,first_name?:string,id?:string,last_name?:string};
+ }
+
+ }
+}
\ No newline at end of file