cashfree-pg 3.0.0 → 3.0.1

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.
@@ -17,7 +17,7 @@ jobs:
17
17
  with:
18
18
  node-version: '20.*'
19
19
  registry-url: 'https://registry.npmjs.org'
20
- - run: npm install
20
+ - run: npm cache clean --force && npm install
21
21
  - run: npm publish --access public
22
22
  env:
23
23
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/README.md CHANGED
@@ -1 +1,55 @@
1
- ![GitHub](https://img.shields.io/github/license/cashfree/cashfree-pg-sdk-nodejs) ![Discord](https://img.shields.io/discord/931125665669972018?label=discord) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/cashfree/cashfree-pg-sdk-nodejs/main) ![GitHub release (with filter)](https://img.shields.io/github/v/release/cashfree/cashfree-pg-sdk-nodejs?label=latest) ![npm](https://img.shields.io/npm/v/cashfree-pg-sdk-nodejs) ![GitHub forks](https://img.shields.io/github/forks/cashfree/cashfree-pg-sdk-nodejs)
1
+ # Cashfree PG Node SDK
2
+ ![GitHub](https://img.shields.io/github/license/cashfree/cashfree-pg-sdk-nodejs) ![Discord](https://img.shields.io/discord/931125665669972018?label=discord) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/cashfree/cashfree-pg-sdk-nodejs/main) ![GitHub release (with filter)](https://img.shields.io/github/v/release/cashfree/cashfree-pg-sdk-nodejs?label=latest) ![npm](https://img.shields.io/npm/v/cashfree-pg) ![GitHub forks](https://img.shields.io/github/forks/cashfree/cashfree-pg-sdk-nodejs)
3
+
4
+ The Cashfree PG Node SDK offers a convenient solution to access [Cashfree PG APIs](https://docs.cashfree.com/reference/pg-new-apis-endpoint) from a server-side JavaScript applications.
5
+
6
+
7
+
8
+ ## Documentation
9
+
10
+ Cashfree's PG API Documentation - https://docs.cashfree.com/reference/pg-new-apis-endpoint
11
+
12
+ Learn and understand payment gateway workflows at Cashfree Payments [here](https://docs.cashfree.com/docs/payment-gateway)
13
+
14
+ Try out our interactive guides at [Cashfree Labs](https://labs.cashfree.com/) !
15
+
16
+ ## Getting Started
17
+
18
+ ### Installation
19
+ ```bash
20
+ npm i cashfree-pg
21
+ ```
22
+ ### Configuration
23
+
24
+ ```javascript
25
+ import { Cashfree } from "cashfree-pg";
26
+
27
+ Cashfree.XClientId = "<x-client-id>";
28
+ Cashfree.XClientSecret = "<x-client-secret>";
29
+ Cashfree.XEnvironment = Cashfree.Environment.SANDBOX;
30
+ ```
31
+
32
+ Generate your API keys (x-client-id , x-secret-key) from [Cashfree Merchant Dashboard](https://merchant.cashfree.com/merchants/login)
33
+
34
+ ### Basic Usage
35
+ Create Order
36
+ ```javascript
37
+ Cashfree.PGCreateOrder("2022-09-01", request).then((response) => {
38
+ console.log('Order fetched successfully:',response.data)
39
+ }).catch((error) => {
40
+ console.error('Error:', error.response.data.message);
41
+ });
42
+ ```
43
+
44
+ Get Order
45
+ ```javascript
46
+ Cashfree.PGFetchOrder("2022-09-01", "<order_id>").then((response) => {
47
+ console.log('Order fetched successfully:', response.data);
48
+ }).catch((error) => {
49
+ console.error('Error:', error.response.data.message);
50
+ });
51
+ ```
52
+
53
+ ## Licence
54
+
55
+ Apache Licensed. See [LICENSE.md](LICENSE.md) for more details
package/api.ts CHANGED
@@ -4693,7 +4693,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
4693
4693
 
4694
4694
  localVarHeaderParameter['Content-Type'] = 'application/json';
4695
4695
 
4696
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
4696
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
4697
4697
  if (x_api_version != null && x_api_version != undefined) {
4698
4698
  localVarHeaderParameter['x-api-version'] = x_api_version;
4699
4699
  }
@@ -4767,7 +4767,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
4767
4767
 
4768
4768
  localVarHeaderParameter['Content-Type'] = 'application/json';
4769
4769
 
4770
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
4770
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
4771
4771
  if (x_api_version != null && x_api_version != undefined) {
4772
4772
  localVarHeaderParameter['x-api-version'] = x_api_version;
4773
4773
  }
@@ -4841,7 +4841,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
4841
4841
 
4842
4842
  localVarHeaderParameter['Content-Type'] = 'application/json';
4843
4843
 
4844
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
4844
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
4845
4845
  if (x_api_version != null && x_api_version != undefined) {
4846
4846
  localVarHeaderParameter['x-api-version'] = x_api_version;
4847
4847
  }
@@ -4915,7 +4915,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
4915
4915
 
4916
4916
  localVarHeaderParameter['Content-Type'] = 'application/json';
4917
4917
 
4918
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
4918
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
4919
4919
  if (x_api_version != null && x_api_version != undefined) {
4920
4920
  localVarHeaderParameter['x-api-version'] = x_api_version;
4921
4921
  }
@@ -5089,7 +5089,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
5089
5089
 
5090
5090
  localVarHeaderParameter['Content-Type'] = 'application/json';
5091
5091
 
5092
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5092
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5093
5093
  if (x_api_version != null && x_api_version != undefined) {
5094
5094
  localVarHeaderParameter['x-api-version'] = x_api_version;
5095
5095
  }
@@ -5162,7 +5162,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
5162
5162
 
5163
5163
 
5164
5164
 
5165
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5165
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5166
5166
  if (x_api_version != null && x_api_version != undefined) {
5167
5167
  localVarHeaderParameter['x-api-version'] = x_api_version;
5168
5168
  }
@@ -5299,7 +5299,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
5299
5299
 
5300
5300
  localVarHeaderParameter['Content-Type'] = 'application/json';
5301
5301
 
5302
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5302
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5303
5303
  if (x_api_version != null && x_api_version != undefined) {
5304
5304
  localVarHeaderParameter['x-api-version'] = x_api_version;
5305
5305
  }
@@ -5372,7 +5372,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
5372
5372
 
5373
5373
 
5374
5374
 
5375
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5375
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5376
5376
  if (x_api_version != null && x_api_version != undefined) {
5377
5377
  localVarHeaderParameter['x-api-version'] = x_api_version;
5378
5378
  }
@@ -5511,7 +5511,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration?: Configura
5511
5511
 
5512
5512
  localVarHeaderParameter['Content-Type'] = 'application/json';
5513
5513
 
5514
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5514
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5515
5515
  if (x_api_version != null && x_api_version != undefined) {
5516
5516
  localVarHeaderParameter['x-api-version'] = x_api_version;
5517
5517
  }
@@ -5632,7 +5632,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
5632
5632
 
5633
5633
 
5634
5634
 
5635
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5635
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5636
5636
  if (x_api_version != null && x_api_version != undefined) {
5637
5637
  localVarHeaderParameter['x-api-version'] = x_api_version;
5638
5638
  }
@@ -5705,7 +5705,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
5705
5705
 
5706
5706
  localVarHeaderParameter['Content-Type'] = 'application/json';
5707
5707
 
5708
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5708
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5709
5709
  if (x_api_version != null && x_api_version != undefined) {
5710
5710
  localVarHeaderParameter['x-api-version'] = x_api_version;
5711
5711
  }
@@ -5778,7 +5778,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
5778
5778
 
5779
5779
 
5780
5780
 
5781
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5781
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5782
5782
  if (x_api_version != null && x_api_version != undefined) {
5783
5783
  localVarHeaderParameter['x-api-version'] = x_api_version;
5784
5784
  }
@@ -5850,7 +5850,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
5850
5850
 
5851
5851
 
5852
5852
 
5853
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
5853
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
5854
5854
  if (x_api_version != null && x_api_version != undefined) {
5855
5855
  localVarHeaderParameter['x-api-version'] = x_api_version;
5856
5856
  }
@@ -6027,7 +6027,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6027
6027
 
6028
6028
  localVarHeaderParameter['Content-Type'] = 'application/json';
6029
6029
 
6030
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6030
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6031
6031
  if (x_api_version != null && x_api_version != undefined) {
6032
6032
  localVarHeaderParameter['x-api-version'] = x_api_version;
6033
6033
  }
@@ -6090,7 +6090,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6090
6090
 
6091
6091
  localVarHeaderParameter['Content-Type'] = 'application/json';
6092
6092
 
6093
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6093
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6094
6094
  if (x_api_version != null && x_api_version != undefined) {
6095
6095
  localVarHeaderParameter['x-api-version'] = x_api_version;
6096
6096
  }
@@ -6167,7 +6167,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6167
6167
 
6168
6168
 
6169
6169
 
6170
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6170
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6171
6171
  if (x_api_version != null && x_api_version != undefined) {
6172
6172
  localVarHeaderParameter['x-api-version'] = x_api_version;
6173
6173
  }
@@ -6239,7 +6239,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6239
6239
 
6240
6240
 
6241
6241
 
6242
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6242
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6243
6243
  if (x_api_version != null && x_api_version != undefined) {
6244
6244
  localVarHeaderParameter['x-api-version'] = x_api_version;
6245
6245
  }
@@ -6297,7 +6297,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6297
6297
 
6298
6298
  localVarHeaderParameter['Content-Type'] = 'application/json';
6299
6299
 
6300
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6300
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6301
6301
  if (x_api_version != null && x_api_version != undefined) {
6302
6302
  localVarHeaderParameter['x-api-version'] = x_api_version;
6303
6303
  }
@@ -6496,7 +6496,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
6496
6496
 
6497
6497
  localVarHeaderParameter['Content-Type'] = 'application/json';
6498
6498
 
6499
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6499
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6500
6500
  if (x_api_version != null && x_api_version != undefined) {
6501
6501
  localVarHeaderParameter['x-api-version'] = x_api_version;
6502
6502
  }
@@ -6573,7 +6573,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
6573
6573
 
6574
6574
 
6575
6575
 
6576
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6576
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6577
6577
  if (x_api_version != null && x_api_version != undefined) {
6578
6578
  localVarHeaderParameter['x-api-version'] = x_api_version;
6579
6579
  }
@@ -6645,7 +6645,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
6645
6645
 
6646
6646
 
6647
6647
 
6648
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6648
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6649
6649
  if (x_api_version != null && x_api_version != undefined) {
6650
6650
  localVarHeaderParameter['x-api-version'] = x_api_version;
6651
6651
  }
@@ -6804,7 +6804,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
6804
6804
 
6805
6805
  localVarHeaderParameter['Content-Type'] = 'application/json';
6806
6806
 
6807
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6807
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6808
6808
  if (x_api_version != null && x_api_version != undefined) {
6809
6809
  localVarHeaderParameter['x-api-version'] = x_api_version;
6810
6810
  }
@@ -6880,7 +6880,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
6880
6880
 
6881
6881
  localVarHeaderParameter['Content-Type'] = 'application/json';
6882
6882
 
6883
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
6883
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
6884
6884
  if (x_api_version != null && x_api_version != undefined) {
6885
6885
  localVarHeaderParameter['x-api-version'] = x_api_version;
6886
6886
  }
@@ -7021,7 +7021,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration)
7021
7021
 
7022
7022
 
7023
7023
 
7024
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7024
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7025
7025
  if (x_api_version != null && x_api_version != undefined) {
7026
7026
  localVarHeaderParameter['x-api-version'] = x_api_version;
7027
7027
  }
@@ -7140,7 +7140,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
7140
7140
 
7141
7141
  localVarHeaderParameter['Content-Type'] = 'application/json';
7142
7142
 
7143
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7143
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7144
7144
  if (x_api_version != null && x_api_version != undefined) {
7145
7145
  localVarHeaderParameter['x-api-version'] = x_api_version;
7146
7146
  }
@@ -7214,7 +7214,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
7214
7214
 
7215
7215
  localVarHeaderParameter['Content-Type'] = 'application/json';
7216
7216
 
7217
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7217
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7218
7218
  if (x_api_version != null && x_api_version != undefined) {
7219
7219
  localVarHeaderParameter['x-api-version'] = x_api_version;
7220
7220
  }
@@ -7287,7 +7287,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
7287
7287
 
7288
7288
 
7289
7289
 
7290
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7290
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7291
7291
  if (x_api_version != null && x_api_version != undefined) {
7292
7292
  localVarHeaderParameter['x-api-version'] = x_api_version;
7293
7293
  }
@@ -7369,7 +7369,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
7369
7369
 
7370
7370
 
7371
7371
 
7372
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7372
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7373
7373
  if (x_api_version != null && x_api_version != undefined) {
7374
7374
  localVarHeaderParameter['x-api-version'] = x_api_version;
7375
7375
  }
@@ -7546,7 +7546,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
7546
7546
 
7547
7547
 
7548
7548
 
7549
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7549
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7550
7550
  if (x_api_version != null && x_api_version != undefined) {
7551
7551
  localVarHeaderParameter['x-api-version'] = x_api_version;
7552
7552
  }
@@ -7622,7 +7622,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
7622
7622
 
7623
7623
 
7624
7624
 
7625
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7625
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7626
7626
  if (x_api_version != null && x_api_version != undefined) {
7627
7627
  localVarHeaderParameter['x-api-version'] = x_api_version;
7628
7628
  }
@@ -7701,7 +7701,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
7701
7701
 
7702
7702
 
7703
7703
 
7704
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7704
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7705
7705
  if (x_api_version != null && x_api_version != undefined) {
7706
7706
  localVarHeaderParameter['x-api-version'] = x_api_version;
7707
7707
  }
@@ -7777,7 +7777,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
7777
7777
 
7778
7778
 
7779
7779
 
7780
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.0';
7780
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-3.0.1';
7781
7781
  if (x_api_version != null && x_api_version != undefined) {
7782
7782
  localVarHeaderParameter['x-api-version'] = x_api_version;
7783
7783
  }
@@ -7957,7 +7957,7 @@ export class Cashfree {
7957
7957
  } else {
7958
7958
  scope.setExtra('environment', 'production');
7959
7959
  }
7960
- scope.setExtra('release', "3.0.0");
7960
+ scope.setExtra('release', "3.0.1");
7961
7961
  });
7962
7962
  try {
7963
7963
  return EligibilityApiFp().pGEligibilityFetchCardlessEMI(x_api_version, EligibilityFetchCardlessEMIRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8000,7 +8000,7 @@ export class Cashfree {
8000
8000
  } else {
8001
8001
  scope.setExtra('environment', 'production');
8002
8002
  }
8003
- scope.setExtra('release', "3.0.0");
8003
+ scope.setExtra('release', "3.0.1");
8004
8004
  });
8005
8005
  try {
8006
8006
  return EligibilityApiFp().pGEligibilityFetchOffers(x_api_version, EligibilityFetchOffersRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8043,7 +8043,7 @@ export class Cashfree {
8043
8043
  } else {
8044
8044
  scope.setExtra('environment', 'production');
8045
8045
  }
8046
- scope.setExtra('release', "3.0.0");
8046
+ scope.setExtra('release', "3.0.1");
8047
8047
  });
8048
8048
  try {
8049
8049
  return EligibilityApiFp().pGEligibilityFetchPaylater(x_api_version, EligibilityFetchPaylaterRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8086,7 +8086,7 @@ export class Cashfree {
8086
8086
  } else {
8087
8087
  scope.setExtra('environment', 'production');
8088
8088
  }
8089
- scope.setExtra('release', "3.0.0");
8089
+ scope.setExtra('release', "3.0.1");
8090
8090
  });
8091
8091
  try {
8092
8092
  return EligibilityApiFp().pGEligibilityFetchPaymentMethods(x_api_version, EligibilityFetchPaymentMethodsRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8129,7 +8129,7 @@ export class Cashfree {
8129
8129
  } else {
8130
8130
  scope.setExtra('environment', 'production');
8131
8131
  }
8132
- scope.setExtra('release', "3.0.0");
8132
+ scope.setExtra('release', "3.0.1");
8133
8133
  });
8134
8134
  try {
8135
8135
  return OffersApiFp().pGCreateOffer(x_api_version, CreateOfferRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8172,7 +8172,7 @@ export class Cashfree {
8172
8172
  } else {
8173
8173
  scope.setExtra('environment', 'production');
8174
8174
  }
8175
- scope.setExtra('release', "3.0.0");
8175
+ scope.setExtra('release', "3.0.1");
8176
8176
  });
8177
8177
  try {
8178
8178
  return OffersApiFp().pGFetchOffer(x_api_version, offer_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8215,7 +8215,7 @@ export class Cashfree {
8215
8215
  } else {
8216
8216
  scope.setExtra('environment', 'production');
8217
8217
  }
8218
- scope.setExtra('release', "3.0.0");
8218
+ scope.setExtra('release', "3.0.1");
8219
8219
  });
8220
8220
  try {
8221
8221
  return OrdersApiFp().pGCreateOrder(x_api_version, CreateOrderRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8258,7 +8258,7 @@ export class Cashfree {
8258
8258
  } else {
8259
8259
  scope.setExtra('environment', 'production');
8260
8260
  }
8261
- scope.setExtra('release', "3.0.0");
8261
+ scope.setExtra('release', "3.0.1");
8262
8262
  });
8263
8263
  try {
8264
8264
  return OrdersApiFp().pGFetchOrder(x_api_version, order_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8303,7 +8303,7 @@ export class Cashfree {
8303
8303
  } else {
8304
8304
  scope.setExtra('environment', 'production');
8305
8305
  }
8306
- scope.setExtra('release', "3.0.0");
8306
+ scope.setExtra('release', "3.0.1");
8307
8307
  });
8308
8308
  try {
8309
8309
  return PGReconciliationApiFp().pGFetchRecon(x_api_version, FetchReconRequest, Content_Type, x_request_id, x_idempotency_key, Accept, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8346,7 +8346,7 @@ export class Cashfree {
8346
8346
  } else {
8347
8347
  scope.setExtra('environment', 'production');
8348
8348
  }
8349
- scope.setExtra('release', "3.0.0");
8349
+ scope.setExtra('release', "3.0.1");
8350
8350
  });
8351
8351
  try {
8352
8352
  return PaymentLinksApiFp().pGCancelLink(x_api_version, link_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8389,7 +8389,7 @@ export class Cashfree {
8389
8389
  } else {
8390
8390
  scope.setExtra('environment', 'production');
8391
8391
  }
8392
- scope.setExtra('release', "3.0.0");
8392
+ scope.setExtra('release', "3.0.1");
8393
8393
  });
8394
8394
  try {
8395
8395
  return PaymentLinksApiFp().pGCreateLink(x_api_version, CreateLinkRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8432,7 +8432,7 @@ export class Cashfree {
8432
8432
  } else {
8433
8433
  scope.setExtra('environment', 'production');
8434
8434
  }
8435
- scope.setExtra('release', "3.0.0");
8435
+ scope.setExtra('release', "3.0.1");
8436
8436
  });
8437
8437
  try {
8438
8438
  return PaymentLinksApiFp().pGFetchLink(x_api_version, link_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8475,7 +8475,7 @@ export class Cashfree {
8475
8475
  } else {
8476
8476
  scope.setExtra('environment', 'production');
8477
8477
  }
8478
- scope.setExtra('release', "3.0.0");
8478
+ scope.setExtra('release', "3.0.1");
8479
8479
  });
8480
8480
  try {
8481
8481
  return PaymentLinksApiFp().pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8519,7 +8519,7 @@ export class Cashfree {
8519
8519
  } else {
8520
8520
  scope.setExtra('environment', 'production');
8521
8521
  }
8522
- scope.setExtra('release', "3.0.0");
8522
+ scope.setExtra('release', "3.0.1");
8523
8523
  });
8524
8524
  try {
8525
8525
  return PaymentsApiFp().pGAuthorizeOrder(x_api_version, order_id, AuthorizeOrderRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8563,7 +8563,7 @@ export class Cashfree {
8563
8563
  } else {
8564
8564
  scope.setExtra('environment', 'production');
8565
8565
  }
8566
- scope.setExtra('release', "3.0.0");
8566
+ scope.setExtra('release', "3.0.1");
8567
8567
  });
8568
8568
  try {
8569
8569
  return PaymentsApiFp().pGOrderAuthenticatePayment(x_api_version, cf_payment_id, OrderAuthenticatePaymentRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8607,7 +8607,7 @@ export class Cashfree {
8607
8607
  } else {
8608
8608
  scope.setExtra('environment', 'production');
8609
8609
  }
8610
- scope.setExtra('release', "3.0.0");
8610
+ scope.setExtra('release', "3.0.1");
8611
8611
  });
8612
8612
  try {
8613
8613
  return PaymentsApiFp().pGOrderFetchPayment(x_api_version, order_id, cf_payment_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8650,7 +8650,7 @@ export class Cashfree {
8650
8650
  } else {
8651
8651
  scope.setExtra('environment', 'production');
8652
8652
  }
8653
- scope.setExtra('release', "3.0.0");
8653
+ scope.setExtra('release', "3.0.1");
8654
8654
  });
8655
8655
  try {
8656
8656
  return PaymentsApiFp().pGOrderFetchPayments(x_api_version, order_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8693,7 +8693,7 @@ export class Cashfree {
8693
8693
  } else {
8694
8694
  scope.setExtra('environment', 'production');
8695
8695
  }
8696
- scope.setExtra('release', "3.0.0");
8696
+ scope.setExtra('release', "3.0.1");
8697
8697
  });
8698
8698
  try {
8699
8699
  return PaymentsApiFp().pGPayOrder(x_api_version, PayOrderRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8737,7 +8737,7 @@ export class Cashfree {
8737
8737
  } else {
8738
8738
  scope.setExtra('environment', 'production');
8739
8739
  }
8740
- scope.setExtra('release', "3.0.0");
8740
+ scope.setExtra('release', "3.0.1");
8741
8741
  });
8742
8742
  try {
8743
8743
  return RefundsApiFp().pGOrderCreateRefund(x_api_version, order_id, OrderCreateRefundRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8781,7 +8781,7 @@ export class Cashfree {
8781
8781
  } else {
8782
8782
  scope.setExtra('environment', 'production');
8783
8783
  }
8784
- scope.setExtra('release', "3.0.0");
8784
+ scope.setExtra('release', "3.0.1");
8785
8785
  });
8786
8786
  try {
8787
8787
  return RefundsApiFp().pGOrderFetchRefund(x_api_version, order_id, refund_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8824,7 +8824,7 @@ export class Cashfree {
8824
8824
  } else {
8825
8825
  scope.setExtra('environment', 'production');
8826
8826
  }
8827
- scope.setExtra('release', "3.0.0");
8827
+ scope.setExtra('release', "3.0.1");
8828
8828
  });
8829
8829
  try {
8830
8830
  return RefundsApiFp().pGOrderFetchRefunds(x_api_version, order_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8869,7 +8869,7 @@ export class Cashfree {
8869
8869
  } else {
8870
8870
  scope.setExtra('environment', 'production');
8871
8871
  }
8872
- scope.setExtra('release', "3.0.0");
8872
+ scope.setExtra('release', "3.0.1");
8873
8873
  });
8874
8874
  try {
8875
8875
  return SettlementReconciliationApiFp().pGFetchSettlements(x_api_version, FetchSettlementsRequest, Content_Type, x_request_id, x_idempotency_key, Accept, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8914,7 +8914,7 @@ export class Cashfree {
8914
8914
  } else {
8915
8915
  scope.setExtra('environment', 'production');
8916
8916
  }
8917
- scope.setExtra('release', "3.0.0");
8917
+ scope.setExtra('release', "3.0.1");
8918
8918
  });
8919
8919
  try {
8920
8920
  return SettlementReconciliationApiFp().pGSettlementFetchRecon(x_api_version, SettlementFetchReconRequest, Content_Type, x_request_id, x_idempotency_key, Accept, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -8957,7 +8957,7 @@ export class Cashfree {
8957
8957
  } else {
8958
8958
  scope.setExtra('environment', 'production');
8959
8959
  }
8960
- scope.setExtra('release', "3.0.0");
8960
+ scope.setExtra('release', "3.0.1");
8961
8961
  });
8962
8962
  try {
8963
8963
  return SettlementsApiFp().pGOrderFetchSettlement(x_api_version, order_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -9000,7 +9000,7 @@ export class Cashfree {
9000
9000
  } else {
9001
9001
  scope.setExtra('environment', 'production');
9002
9002
  }
9003
- scope.setExtra('release', "3.0.0");
9003
+ scope.setExtra('release', "3.0.1");
9004
9004
  });
9005
9005
  try {
9006
9006
  return SoftPOSApiFp().sposCreateTerminal(x_api_version, CreateTerminalRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -9043,7 +9043,7 @@ export class Cashfree {
9043
9043
  } else {
9044
9044
  scope.setExtra('environment', 'production');
9045
9045
  }
9046
- scope.setExtra('release', "3.0.0");
9046
+ scope.setExtra('release', "3.0.1");
9047
9047
  });
9048
9048
  try {
9049
9049
  return SoftPOSApiFp().sposCreateTerminalTransaction(x_api_version, CreateTerminalTransactionRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -9086,7 +9086,7 @@ export class Cashfree {
9086
9086
  } else {
9087
9087
  scope.setExtra('environment', 'production');
9088
9088
  }
9089
- scope.setExtra('release', "3.0.0");
9089
+ scope.setExtra('release', "3.0.1");
9090
9090
  });
9091
9091
  try {
9092
9092
  return SoftPOSApiFp().sposFetchTerminal(x_api_version, terminal_phone_no, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -9130,7 +9130,7 @@ export class Cashfree {
9130
9130
  } else {
9131
9131
  scope.setExtra('environment', 'production');
9132
9132
  }
9133
- scope.setExtra('release', "3.0.0");
9133
+ scope.setExtra('release', "3.0.1");
9134
9134
  });
9135
9135
  try {
9136
9136
  return SoftPOSApiFp().sposFetchTerminalQRCodes(x_api_version, terminal_phone_no, cf_terminal_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -9174,7 +9174,7 @@ export class Cashfree {
9174
9174
  } else {
9175
9175
  scope.setExtra('environment', 'production');
9176
9176
  }
9177
- scope.setExtra('release', "3.0.0");
9177
+ scope.setExtra('release', "3.0.1");
9178
9178
  });
9179
9179
  try {
9180
9180
  return TokenVaultApiFp().pGCustomerDeleteInstrument(x_api_version, customer_id, instrument_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -9218,7 +9218,7 @@ export class Cashfree {
9218
9218
  } else {
9219
9219
  scope.setExtra('environment', 'production');
9220
9220
  }
9221
- scope.setExtra('release', "3.0.0");
9221
+ scope.setExtra('release', "3.0.1");
9222
9222
  });
9223
9223
  try {
9224
9224
  return TokenVaultApiFp().pGCustomerFetchInstrument(x_api_version, customer_id, instrument_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -9262,7 +9262,7 @@ export class Cashfree {
9262
9262
  } else {
9263
9263
  scope.setExtra('environment', 'production');
9264
9264
  }
9265
- scope.setExtra('release', "3.0.0");
9265
+ scope.setExtra('release', "3.0.1");
9266
9266
  });
9267
9267
  try {
9268
9268
  return TokenVaultApiFp().pGCustomerFetchInstruments(x_api_version, customer_id, instrument_type, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
@@ -9306,7 +9306,7 @@ export class Cashfree {
9306
9306
  } else {
9307
9307
  scope.setExtra('environment', 'production');
9308
9308
  }
9309
- scope.setExtra('release', "3.0.0");
9309
+ scope.setExtra('release', "3.0.1");
9310
9310
  });
9311
9311
  try {
9312
9312
  return TokenVaultApiFp().pGCustomerInstrumentsFetchCryptogram(x_api_version, customer_id, instrument_id, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));