cashfree-pg 4.0.3 → 4.0.5

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.
Files changed (4) hide show
  1. package/api.ts +170 -170
  2. package/dist/api.js +170 -170
  3. package/dist/esm/api.js +170 -170
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -5105,7 +5105,7 @@ const CustomersApiAxiosParamCreator = function (configuration?: Configuration) {
5105
5105
 
5106
5106
  localVarHeaderParameter['Content-Type'] = 'application/json';
5107
5107
 
5108
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5108
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5109
5109
  if (x_api_version != null && x_api_version != undefined) {
5110
5110
  localVarHeaderParameter['x-api-version'] = x_api_version;
5111
5111
  }
@@ -5225,7 +5225,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
5225
5225
 
5226
5226
  localVarHeaderParameter['Content-Type'] = 'application/json';
5227
5227
 
5228
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5228
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5229
5229
  if (x_api_version != null && x_api_version != undefined) {
5230
5230
  localVarHeaderParameter['x-api-version'] = x_api_version;
5231
5231
  }
@@ -5299,7 +5299,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
5299
5299
 
5300
5300
  localVarHeaderParameter['Content-Type'] = 'application/json';
5301
5301
 
5302
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5302
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5303
5303
  if (x_api_version != null && x_api_version != undefined) {
5304
5304
  localVarHeaderParameter['x-api-version'] = x_api_version;
5305
5305
  }
@@ -5373,7 +5373,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
5373
5373
 
5374
5374
  localVarHeaderParameter['Content-Type'] = 'application/json';
5375
5375
 
5376
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5376
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5377
5377
  if (x_api_version != null && x_api_version != undefined) {
5378
5378
  localVarHeaderParameter['x-api-version'] = x_api_version;
5379
5379
  }
@@ -5447,7 +5447,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
5447
5447
 
5448
5448
  localVarHeaderParameter['Content-Type'] = 'application/json';
5449
5449
 
5450
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5450
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5451
5451
  if (x_api_version != null && x_api_version != undefined) {
5452
5452
  localVarHeaderParameter['x-api-version'] = x_api_version;
5453
5453
  }
@@ -5621,7 +5621,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
5621
5621
 
5622
5622
  localVarHeaderParameter['Content-Type'] = 'application/json';
5623
5623
 
5624
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5624
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5625
5625
  if (x_api_version != null && x_api_version != undefined) {
5626
5626
  localVarHeaderParameter['x-api-version'] = x_api_version;
5627
5627
  }
@@ -5694,7 +5694,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
5694
5694
 
5695
5695
 
5696
5696
 
5697
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5697
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5698
5698
  if (x_api_version != null && x_api_version != undefined) {
5699
5699
  localVarHeaderParameter['x-api-version'] = x_api_version;
5700
5700
  }
@@ -5831,7 +5831,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
5831
5831
 
5832
5832
  localVarHeaderParameter['Content-Type'] = 'application/json';
5833
5833
 
5834
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5834
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5835
5835
  if (x_api_version != null && x_api_version != undefined) {
5836
5836
  localVarHeaderParameter['x-api-version'] = x_api_version;
5837
5837
  }
@@ -5904,7 +5904,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
5904
5904
 
5905
5905
 
5906
5906
 
5907
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5907
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5908
5908
  if (x_api_version != null && x_api_version != undefined) {
5909
5909
  localVarHeaderParameter['x-api-version'] = x_api_version;
5910
5910
  }
@@ -5981,7 +5981,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
5981
5981
 
5982
5982
  localVarHeaderParameter['Content-Type'] = 'application/json';
5983
5983
 
5984
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
5984
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
5985
5985
  if (x_api_version != null && x_api_version != undefined) {
5986
5986
  localVarHeaderParameter['x-api-version'] = x_api_version;
5987
5987
  }
@@ -6140,7 +6140,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration?: Configura
6140
6140
 
6141
6141
  localVarHeaderParameter['Content-Type'] = 'application/json';
6142
6142
 
6143
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6143
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6144
6144
  if (x_api_version != null && x_api_version != undefined) {
6145
6145
  localVarHeaderParameter['x-api-version'] = x_api_version;
6146
6146
  }
@@ -6261,7 +6261,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
6261
6261
 
6262
6262
 
6263
6263
 
6264
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6264
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6265
6265
  if (x_api_version != null && x_api_version != undefined) {
6266
6266
  localVarHeaderParameter['x-api-version'] = x_api_version;
6267
6267
  }
@@ -6334,7 +6334,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
6334
6334
 
6335
6335
  localVarHeaderParameter['Content-Type'] = 'application/json';
6336
6336
 
6337
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6337
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6338
6338
  if (x_api_version != null && x_api_version != undefined) {
6339
6339
  localVarHeaderParameter['x-api-version'] = x_api_version;
6340
6340
  }
@@ -6407,7 +6407,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
6407
6407
 
6408
6408
 
6409
6409
 
6410
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6410
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6411
6411
  if (x_api_version != null && x_api_version != undefined) {
6412
6412
  localVarHeaderParameter['x-api-version'] = x_api_version;
6413
6413
  }
@@ -6479,7 +6479,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
6479
6479
 
6480
6480
 
6481
6481
 
6482
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6482
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6483
6483
  if (x_api_version != null && x_api_version != undefined) {
6484
6484
  localVarHeaderParameter['x-api-version'] = x_api_version;
6485
6485
  }
@@ -6656,7 +6656,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6656
6656
 
6657
6657
  localVarHeaderParameter['Content-Type'] = 'application/json';
6658
6658
 
6659
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6659
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6660
6660
  if (x_api_version != null && x_api_version != undefined) {
6661
6661
  localVarHeaderParameter['x-api-version'] = x_api_version;
6662
6662
  }
@@ -6719,7 +6719,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6719
6719
 
6720
6720
  localVarHeaderParameter['Content-Type'] = 'application/json';
6721
6721
 
6722
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6722
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6723
6723
  if (x_api_version != null && x_api_version != undefined) {
6724
6724
  localVarHeaderParameter['x-api-version'] = x_api_version;
6725
6725
  }
@@ -6796,7 +6796,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6796
6796
 
6797
6797
 
6798
6798
 
6799
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6799
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6800
6800
  if (x_api_version != null && x_api_version != undefined) {
6801
6801
  localVarHeaderParameter['x-api-version'] = x_api_version;
6802
6802
  }
@@ -6868,7 +6868,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6868
6868
 
6869
6869
 
6870
6870
 
6871
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6871
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6872
6872
  if (x_api_version != null && x_api_version != undefined) {
6873
6873
  localVarHeaderParameter['x-api-version'] = x_api_version;
6874
6874
  }
@@ -6926,7 +6926,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
6926
6926
 
6927
6927
  localVarHeaderParameter['Content-Type'] = 'application/json';
6928
6928
 
6929
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
6929
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
6930
6930
  if (x_api_version != null && x_api_version != undefined) {
6931
6931
  localVarHeaderParameter['x-api-version'] = x_api_version;
6932
6932
  }
@@ -7125,7 +7125,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
7125
7125
 
7126
7126
  localVarHeaderParameter['Content-Type'] = 'application/json';
7127
7127
 
7128
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7128
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7129
7129
  if (x_api_version != null && x_api_version != undefined) {
7130
7130
  localVarHeaderParameter['x-api-version'] = x_api_version;
7131
7131
  }
@@ -7202,7 +7202,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
7202
7202
 
7203
7203
 
7204
7204
 
7205
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7205
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7206
7206
  if (x_api_version != null && x_api_version != undefined) {
7207
7207
  localVarHeaderParameter['x-api-version'] = x_api_version;
7208
7208
  }
@@ -7274,7 +7274,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
7274
7274
 
7275
7275
 
7276
7276
 
7277
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7277
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7278
7278
  if (x_api_version != null && x_api_version != undefined) {
7279
7279
  localVarHeaderParameter['x-api-version'] = x_api_version;
7280
7280
  }
@@ -7433,7 +7433,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
7433
7433
 
7434
7434
  localVarHeaderParameter['Content-Type'] = 'application/json';
7435
7435
 
7436
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7436
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7437
7437
  if (x_api_version != null && x_api_version != undefined) {
7438
7438
  localVarHeaderParameter['x-api-version'] = x_api_version;
7439
7439
  }
@@ -7509,7 +7509,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
7509
7509
 
7510
7510
  localVarHeaderParameter['Content-Type'] = 'application/json';
7511
7511
 
7512
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7512
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7513
7513
  if (x_api_version != null && x_api_version != undefined) {
7514
7514
  localVarHeaderParameter['x-api-version'] = x_api_version;
7515
7515
  }
@@ -7650,7 +7650,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration)
7650
7650
 
7651
7651
 
7652
7652
 
7653
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7653
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7654
7654
  if (x_api_version != null && x_api_version != undefined) {
7655
7655
  localVarHeaderParameter['x-api-version'] = x_api_version;
7656
7656
  }
@@ -7769,7 +7769,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
7769
7769
 
7770
7770
  localVarHeaderParameter['Content-Type'] = 'application/json';
7771
7771
 
7772
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7772
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7773
7773
  if (x_api_version != null && x_api_version != undefined) {
7774
7774
  localVarHeaderParameter['x-api-version'] = x_api_version;
7775
7775
  }
@@ -7843,7 +7843,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
7843
7843
 
7844
7844
  localVarHeaderParameter['Content-Type'] = 'application/json';
7845
7845
 
7846
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7846
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7847
7847
  if (x_api_version != null && x_api_version != undefined) {
7848
7848
  localVarHeaderParameter['x-api-version'] = x_api_version;
7849
7849
  }
@@ -7916,7 +7916,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
7916
7916
 
7917
7917
 
7918
7918
 
7919
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
7919
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
7920
7920
  if (x_api_version != null && x_api_version != undefined) {
7921
7921
  localVarHeaderParameter['x-api-version'] = x_api_version;
7922
7922
  }
@@ -7998,7 +7998,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
7998
7998
 
7999
7999
 
8000
8000
 
8001
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
8001
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
8002
8002
  if (x_api_version != null && x_api_version != undefined) {
8003
8003
  localVarHeaderParameter['x-api-version'] = x_api_version;
8004
8004
  }
@@ -8175,7 +8175,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
8175
8175
 
8176
8176
 
8177
8177
 
8178
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
8178
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
8179
8179
  if (x_api_version != null && x_api_version != undefined) {
8180
8180
  localVarHeaderParameter['x-api-version'] = x_api_version;
8181
8181
  }
@@ -8251,7 +8251,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
8251
8251
 
8252
8252
 
8253
8253
 
8254
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
8254
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
8255
8255
  if (x_api_version != null && x_api_version != undefined) {
8256
8256
  localVarHeaderParameter['x-api-version'] = x_api_version;
8257
8257
  }
@@ -8330,7 +8330,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
8330
8330
 
8331
8331
 
8332
8332
 
8333
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
8333
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
8334
8334
  if (x_api_version != null && x_api_version != undefined) {
8335
8335
  localVarHeaderParameter['x-api-version'] = x_api_version;
8336
8336
  }
@@ -8406,7 +8406,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
8406
8406
 
8407
8407
 
8408
8408
 
8409
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.3';
8409
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.5';
8410
8410
  if (x_api_version != null && x_api_version != undefined) {
8411
8411
  localVarHeaderParameter['x-api-version'] = x_api_version;
8412
8412
  }
@@ -8601,7 +8601,7 @@ export class Cashfree {
8601
8601
  public static PGCreateCustomer(x_api_version: string, CreateCustomerRequest: CreateCustomerRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
8602
8602
  if(Cashfree.XEnableErrorAnalytics) {
8603
8603
  Sentry.init({
8604
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
8604
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
8605
8605
  // Performance Monitoring
8606
8606
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
8607
8607
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -8612,12 +8612,12 @@ export class Cashfree {
8612
8612
  delete event.contexts.os;
8613
8613
  delete event.contexts.device;
8614
8614
  delete event.server_name;
8615
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
8615
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
8616
8616
  const stackTrace = event.exception.values[0].stacktrace;
8617
8617
  if (stackTrace && stackTrace.frames) {
8618
8618
 
8619
8619
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
8620
- if (filteredDomains[0].includes("cashfree-pg")) {
8620
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
8621
8621
  if(Cashfree.XEnableErrorAnalytics) {
8622
8622
  return event;
8623
8623
  }
@@ -8634,7 +8634,7 @@ export class Cashfree {
8634
8634
  } else {
8635
8635
  scope.setExtra('environment', 'production');
8636
8636
  }
8637
- scope.setExtra('release', "4.0.3");
8637
+ scope.setExtra('release', "4.0.5");
8638
8638
  });
8639
8639
  }
8640
8640
  try {
@@ -8661,7 +8661,7 @@ export class Cashfree {
8661
8661
  public static PGEligibilityFetchCardlessEMI(x_api_version: string, EligibilityFetchCardlessEMIRequest: EligibilityFetchCardlessEMIRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
8662
8662
  if(Cashfree.XEnableErrorAnalytics) {
8663
8663
  Sentry.init({
8664
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
8664
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
8665
8665
  // Performance Monitoring
8666
8666
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
8667
8667
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -8672,12 +8672,12 @@ export class Cashfree {
8672
8672
  delete event.contexts.os;
8673
8673
  delete event.contexts.device;
8674
8674
  delete event.server_name;
8675
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
8675
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
8676
8676
  const stackTrace = event.exception.values[0].stacktrace;
8677
8677
  if (stackTrace && stackTrace.frames) {
8678
8678
 
8679
8679
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
8680
- if (filteredDomains[0].includes("cashfree-pg")) {
8680
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
8681
8681
  if(Cashfree.XEnableErrorAnalytics) {
8682
8682
  return event;
8683
8683
  }
@@ -8694,7 +8694,7 @@ export class Cashfree {
8694
8694
  } else {
8695
8695
  scope.setExtra('environment', 'production');
8696
8696
  }
8697
- scope.setExtra('release', "4.0.3");
8697
+ scope.setExtra('release', "4.0.5");
8698
8698
  });
8699
8699
  }
8700
8700
  try {
@@ -8721,7 +8721,7 @@ export class Cashfree {
8721
8721
  public static PGEligibilityFetchOffers(x_api_version: string, EligibilityFetchOffersRequest: EligibilityFetchOffersRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
8722
8722
  if(Cashfree.XEnableErrorAnalytics) {
8723
8723
  Sentry.init({
8724
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
8724
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
8725
8725
  // Performance Monitoring
8726
8726
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
8727
8727
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -8732,12 +8732,12 @@ export class Cashfree {
8732
8732
  delete event.contexts.os;
8733
8733
  delete event.contexts.device;
8734
8734
  delete event.server_name;
8735
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
8735
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
8736
8736
  const stackTrace = event.exception.values[0].stacktrace;
8737
8737
  if (stackTrace && stackTrace.frames) {
8738
8738
 
8739
8739
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
8740
- if (filteredDomains[0].includes("cashfree-pg")) {
8740
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
8741
8741
  if(Cashfree.XEnableErrorAnalytics) {
8742
8742
  return event;
8743
8743
  }
@@ -8754,7 +8754,7 @@ export class Cashfree {
8754
8754
  } else {
8755
8755
  scope.setExtra('environment', 'production');
8756
8756
  }
8757
- scope.setExtra('release', "4.0.3");
8757
+ scope.setExtra('release', "4.0.5");
8758
8758
  });
8759
8759
  }
8760
8760
  try {
@@ -8781,7 +8781,7 @@ export class Cashfree {
8781
8781
  public static PGEligibilityFetchPaylater(x_api_version: string, EligibilityFetchPaylaterRequest: EligibilityFetchPaylaterRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
8782
8782
  if(Cashfree.XEnableErrorAnalytics) {
8783
8783
  Sentry.init({
8784
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
8784
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
8785
8785
  // Performance Monitoring
8786
8786
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
8787
8787
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -8792,12 +8792,12 @@ export class Cashfree {
8792
8792
  delete event.contexts.os;
8793
8793
  delete event.contexts.device;
8794
8794
  delete event.server_name;
8795
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
8795
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
8796
8796
  const stackTrace = event.exception.values[0].stacktrace;
8797
8797
  if (stackTrace && stackTrace.frames) {
8798
8798
 
8799
8799
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
8800
- if (filteredDomains[0].includes("cashfree-pg")) {
8800
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
8801
8801
  if(Cashfree.XEnableErrorAnalytics) {
8802
8802
  return event;
8803
8803
  }
@@ -8814,7 +8814,7 @@ export class Cashfree {
8814
8814
  } else {
8815
8815
  scope.setExtra('environment', 'production');
8816
8816
  }
8817
- scope.setExtra('release', "4.0.3");
8817
+ scope.setExtra('release', "4.0.5");
8818
8818
  });
8819
8819
  }
8820
8820
  try {
@@ -8841,7 +8841,7 @@ export class Cashfree {
8841
8841
  public static PGEligibilityFetchPaymentMethods(x_api_version: string, EligibilityFetchPaymentMethodsRequest: EligibilityFetchPaymentMethodsRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
8842
8842
  if(Cashfree.XEnableErrorAnalytics) {
8843
8843
  Sentry.init({
8844
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
8844
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
8845
8845
  // Performance Monitoring
8846
8846
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
8847
8847
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -8852,12 +8852,12 @@ export class Cashfree {
8852
8852
  delete event.contexts.os;
8853
8853
  delete event.contexts.device;
8854
8854
  delete event.server_name;
8855
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
8855
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
8856
8856
  const stackTrace = event.exception.values[0].stacktrace;
8857
8857
  if (stackTrace && stackTrace.frames) {
8858
8858
 
8859
8859
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
8860
- if (filteredDomains[0].includes("cashfree-pg")) {
8860
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
8861
8861
  if(Cashfree.XEnableErrorAnalytics) {
8862
8862
  return event;
8863
8863
  }
@@ -8874,7 +8874,7 @@ export class Cashfree {
8874
8874
  } else {
8875
8875
  scope.setExtra('environment', 'production');
8876
8876
  }
8877
- scope.setExtra('release', "4.0.3");
8877
+ scope.setExtra('release', "4.0.5");
8878
8878
  });
8879
8879
  }
8880
8880
  try {
@@ -8901,7 +8901,7 @@ export class Cashfree {
8901
8901
  public static PGCreateOffer(x_api_version: string, CreateOfferRequest: CreateOfferRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
8902
8902
  if(Cashfree.XEnableErrorAnalytics) {
8903
8903
  Sentry.init({
8904
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
8904
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
8905
8905
  // Performance Monitoring
8906
8906
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
8907
8907
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -8912,12 +8912,12 @@ export class Cashfree {
8912
8912
  delete event.contexts.os;
8913
8913
  delete event.contexts.device;
8914
8914
  delete event.server_name;
8915
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
8915
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
8916
8916
  const stackTrace = event.exception.values[0].stacktrace;
8917
8917
  if (stackTrace && stackTrace.frames) {
8918
8918
 
8919
8919
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
8920
- if (filteredDomains[0].includes("cashfree-pg")) {
8920
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
8921
8921
  if(Cashfree.XEnableErrorAnalytics) {
8922
8922
  return event;
8923
8923
  }
@@ -8934,7 +8934,7 @@ export class Cashfree {
8934
8934
  } else {
8935
8935
  scope.setExtra('environment', 'production');
8936
8936
  }
8937
- scope.setExtra('release', "4.0.3");
8937
+ scope.setExtra('release', "4.0.5");
8938
8938
  });
8939
8939
  }
8940
8940
  try {
@@ -8961,7 +8961,7 @@ export class Cashfree {
8961
8961
  public static PGFetchOffer(x_api_version: string, offer_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
8962
8962
  if(Cashfree.XEnableErrorAnalytics) {
8963
8963
  Sentry.init({
8964
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
8964
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
8965
8965
  // Performance Monitoring
8966
8966
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
8967
8967
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -8972,12 +8972,12 @@ export class Cashfree {
8972
8972
  delete event.contexts.os;
8973
8973
  delete event.contexts.device;
8974
8974
  delete event.server_name;
8975
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
8975
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
8976
8976
  const stackTrace = event.exception.values[0].stacktrace;
8977
8977
  if (stackTrace && stackTrace.frames) {
8978
8978
 
8979
8979
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
8980
- if (filteredDomains[0].includes("cashfree-pg")) {
8980
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
8981
8981
  if(Cashfree.XEnableErrorAnalytics) {
8982
8982
  return event;
8983
8983
  }
@@ -8994,7 +8994,7 @@ export class Cashfree {
8994
8994
  } else {
8995
8995
  scope.setExtra('environment', 'production');
8996
8996
  }
8997
- scope.setExtra('release', "4.0.3");
8997
+ scope.setExtra('release', "4.0.5");
8998
8998
  });
8999
8999
  }
9000
9000
  try {
@@ -9021,7 +9021,7 @@ export class Cashfree {
9021
9021
  public static PGCreateOrder(x_api_version: string, CreateOrderRequest: CreateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9022
9022
  if(Cashfree.XEnableErrorAnalytics) {
9023
9023
  Sentry.init({
9024
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9024
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9025
9025
  // Performance Monitoring
9026
9026
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9027
9027
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9032,12 +9032,12 @@ export class Cashfree {
9032
9032
  delete event.contexts.os;
9033
9033
  delete event.contexts.device;
9034
9034
  delete event.server_name;
9035
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9035
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9036
9036
  const stackTrace = event.exception.values[0].stacktrace;
9037
9037
  if (stackTrace && stackTrace.frames) {
9038
9038
 
9039
9039
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9040
- if (filteredDomains[0].includes("cashfree-pg")) {
9040
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9041
9041
  if(Cashfree.XEnableErrorAnalytics) {
9042
9042
  return event;
9043
9043
  }
@@ -9054,7 +9054,7 @@ export class Cashfree {
9054
9054
  } else {
9055
9055
  scope.setExtra('environment', 'production');
9056
9056
  }
9057
- scope.setExtra('release', "4.0.3");
9057
+ scope.setExtra('release', "4.0.5");
9058
9058
  });
9059
9059
  }
9060
9060
  try {
@@ -9081,7 +9081,7 @@ export class Cashfree {
9081
9081
  public static PGFetchOrder(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9082
9082
  if(Cashfree.XEnableErrorAnalytics) {
9083
9083
  Sentry.init({
9084
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9084
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9085
9085
  // Performance Monitoring
9086
9086
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9087
9087
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9092,12 +9092,12 @@ export class Cashfree {
9092
9092
  delete event.contexts.os;
9093
9093
  delete event.contexts.device;
9094
9094
  delete event.server_name;
9095
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9095
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9096
9096
  const stackTrace = event.exception.values[0].stacktrace;
9097
9097
  if (stackTrace && stackTrace.frames) {
9098
9098
 
9099
9099
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9100
- if (filteredDomains[0].includes("cashfree-pg")) {
9100
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9101
9101
  if(Cashfree.XEnableErrorAnalytics) {
9102
9102
  return event;
9103
9103
  }
@@ -9114,7 +9114,7 @@ export class Cashfree {
9114
9114
  } else {
9115
9115
  scope.setExtra('environment', 'production');
9116
9116
  }
9117
- scope.setExtra('release', "4.0.3");
9117
+ scope.setExtra('release', "4.0.5");
9118
9118
  });
9119
9119
  }
9120
9120
  try {
@@ -9142,7 +9142,7 @@ export class Cashfree {
9142
9142
  public static PGTerminateOrder(x_api_version: string, order_id: string, TerminateOrderRequest: TerminateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9143
9143
  if(Cashfree.XEnableErrorAnalytics) {
9144
9144
  Sentry.init({
9145
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9145
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9146
9146
  // Performance Monitoring
9147
9147
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9148
9148
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9153,12 +9153,12 @@ export class Cashfree {
9153
9153
  delete event.contexts.os;
9154
9154
  delete event.contexts.device;
9155
9155
  delete event.server_name;
9156
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9156
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9157
9157
  const stackTrace = event.exception.values[0].stacktrace;
9158
9158
  if (stackTrace && stackTrace.frames) {
9159
9159
 
9160
9160
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9161
- if (filteredDomains[0].includes("cashfree-pg")) {
9161
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9162
9162
  if(Cashfree.XEnableErrorAnalytics) {
9163
9163
  return event;
9164
9164
  }
@@ -9175,7 +9175,7 @@ export class Cashfree {
9175
9175
  } else {
9176
9176
  scope.setExtra('environment', 'production');
9177
9177
  }
9178
- scope.setExtra('release', "4.0.3");
9178
+ scope.setExtra('release', "4.0.5");
9179
9179
  });
9180
9180
  }
9181
9181
  try {
@@ -9204,7 +9204,7 @@ export class Cashfree {
9204
9204
  public static PGFetchRecon(x_api_version: string, FetchReconRequest: FetchReconRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig) {
9205
9205
  if(Cashfree.XEnableErrorAnalytics) {
9206
9206
  Sentry.init({
9207
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9207
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9208
9208
  // Performance Monitoring
9209
9209
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9210
9210
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9215,12 +9215,12 @@ export class Cashfree {
9215
9215
  delete event.contexts.os;
9216
9216
  delete event.contexts.device;
9217
9217
  delete event.server_name;
9218
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9218
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9219
9219
  const stackTrace = event.exception.values[0].stacktrace;
9220
9220
  if (stackTrace && stackTrace.frames) {
9221
9221
 
9222
9222
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9223
- if (filteredDomains[0].includes("cashfree-pg")) {
9223
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9224
9224
  if(Cashfree.XEnableErrorAnalytics) {
9225
9225
  return event;
9226
9226
  }
@@ -9237,7 +9237,7 @@ export class Cashfree {
9237
9237
  } else {
9238
9238
  scope.setExtra('environment', 'production');
9239
9239
  }
9240
- scope.setExtra('release', "4.0.3");
9240
+ scope.setExtra('release', "4.0.5");
9241
9241
  });
9242
9242
  }
9243
9243
  try {
@@ -9264,7 +9264,7 @@ export class Cashfree {
9264
9264
  public static PGCancelLink(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9265
9265
  if(Cashfree.XEnableErrorAnalytics) {
9266
9266
  Sentry.init({
9267
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9267
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9268
9268
  // Performance Monitoring
9269
9269
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9270
9270
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9275,12 +9275,12 @@ export class Cashfree {
9275
9275
  delete event.contexts.os;
9276
9276
  delete event.contexts.device;
9277
9277
  delete event.server_name;
9278
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9278
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9279
9279
  const stackTrace = event.exception.values[0].stacktrace;
9280
9280
  if (stackTrace && stackTrace.frames) {
9281
9281
 
9282
9282
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9283
- if (filteredDomains[0].includes("cashfree-pg")) {
9283
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9284
9284
  if(Cashfree.XEnableErrorAnalytics) {
9285
9285
  return event;
9286
9286
  }
@@ -9297,7 +9297,7 @@ export class Cashfree {
9297
9297
  } else {
9298
9298
  scope.setExtra('environment', 'production');
9299
9299
  }
9300
- scope.setExtra('release', "4.0.3");
9300
+ scope.setExtra('release', "4.0.5");
9301
9301
  });
9302
9302
  }
9303
9303
  try {
@@ -9324,7 +9324,7 @@ export class Cashfree {
9324
9324
  public static PGCreateLink(x_api_version: string, CreateLinkRequest: CreateLinkRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9325
9325
  if(Cashfree.XEnableErrorAnalytics) {
9326
9326
  Sentry.init({
9327
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9327
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9328
9328
  // Performance Monitoring
9329
9329
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9330
9330
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9335,12 +9335,12 @@ export class Cashfree {
9335
9335
  delete event.contexts.os;
9336
9336
  delete event.contexts.device;
9337
9337
  delete event.server_name;
9338
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9338
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9339
9339
  const stackTrace = event.exception.values[0].stacktrace;
9340
9340
  if (stackTrace && stackTrace.frames) {
9341
9341
 
9342
9342
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9343
- if (filteredDomains[0].includes("cashfree-pg")) {
9343
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9344
9344
  if(Cashfree.XEnableErrorAnalytics) {
9345
9345
  return event;
9346
9346
  }
@@ -9357,7 +9357,7 @@ export class Cashfree {
9357
9357
  } else {
9358
9358
  scope.setExtra('environment', 'production');
9359
9359
  }
9360
- scope.setExtra('release', "4.0.3");
9360
+ scope.setExtra('release', "4.0.5");
9361
9361
  });
9362
9362
  }
9363
9363
  try {
@@ -9384,7 +9384,7 @@ export class Cashfree {
9384
9384
  public static PGFetchLink(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9385
9385
  if(Cashfree.XEnableErrorAnalytics) {
9386
9386
  Sentry.init({
9387
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9387
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9388
9388
  // Performance Monitoring
9389
9389
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9390
9390
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9395,12 +9395,12 @@ export class Cashfree {
9395
9395
  delete event.contexts.os;
9396
9396
  delete event.contexts.device;
9397
9397
  delete event.server_name;
9398
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9398
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9399
9399
  const stackTrace = event.exception.values[0].stacktrace;
9400
9400
  if (stackTrace && stackTrace.frames) {
9401
9401
 
9402
9402
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9403
- if (filteredDomains[0].includes("cashfree-pg")) {
9403
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9404
9404
  if(Cashfree.XEnableErrorAnalytics) {
9405
9405
  return event;
9406
9406
  }
@@ -9417,7 +9417,7 @@ export class Cashfree {
9417
9417
  } else {
9418
9418
  scope.setExtra('environment', 'production');
9419
9419
  }
9420
- scope.setExtra('release', "4.0.3");
9420
+ scope.setExtra('release', "4.0.5");
9421
9421
  });
9422
9422
  }
9423
9423
  try {
@@ -9444,7 +9444,7 @@ export class Cashfree {
9444
9444
  public static PGLinkFetchOrders(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9445
9445
  if(Cashfree.XEnableErrorAnalytics) {
9446
9446
  Sentry.init({
9447
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9447
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9448
9448
  // Performance Monitoring
9449
9449
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9450
9450
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9455,12 +9455,12 @@ export class Cashfree {
9455
9455
  delete event.contexts.os;
9456
9456
  delete event.contexts.device;
9457
9457
  delete event.server_name;
9458
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9458
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9459
9459
  const stackTrace = event.exception.values[0].stacktrace;
9460
9460
  if (stackTrace && stackTrace.frames) {
9461
9461
 
9462
9462
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9463
- if (filteredDomains[0].includes("cashfree-pg")) {
9463
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9464
9464
  if(Cashfree.XEnableErrorAnalytics) {
9465
9465
  return event;
9466
9466
  }
@@ -9477,7 +9477,7 @@ export class Cashfree {
9477
9477
  } else {
9478
9478
  scope.setExtra('environment', 'production');
9479
9479
  }
9480
- scope.setExtra('release', "4.0.3");
9480
+ scope.setExtra('release', "4.0.5");
9481
9481
  });
9482
9482
  }
9483
9483
  try {
@@ -9505,7 +9505,7 @@ export class Cashfree {
9505
9505
  public static PGAuthorizeOrder(x_api_version: string, order_id: string, AuthorizeOrderRequest: AuthorizeOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9506
9506
  if(Cashfree.XEnableErrorAnalytics) {
9507
9507
  Sentry.init({
9508
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9508
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9509
9509
  // Performance Monitoring
9510
9510
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9511
9511
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9516,12 +9516,12 @@ export class Cashfree {
9516
9516
  delete event.contexts.os;
9517
9517
  delete event.contexts.device;
9518
9518
  delete event.server_name;
9519
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9519
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9520
9520
  const stackTrace = event.exception.values[0].stacktrace;
9521
9521
  if (stackTrace && stackTrace.frames) {
9522
9522
 
9523
9523
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9524
- if (filteredDomains[0].includes("cashfree-pg")) {
9524
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9525
9525
  if(Cashfree.XEnableErrorAnalytics) {
9526
9526
  return event;
9527
9527
  }
@@ -9538,7 +9538,7 @@ export class Cashfree {
9538
9538
  } else {
9539
9539
  scope.setExtra('environment', 'production');
9540
9540
  }
9541
- scope.setExtra('release', "4.0.3");
9541
+ scope.setExtra('release', "4.0.5");
9542
9542
  });
9543
9543
  }
9544
9544
  try {
@@ -9566,7 +9566,7 @@ export class Cashfree {
9566
9566
  public static PGOrderAuthenticatePayment(x_api_version: string, cf_payment_id: string, OrderAuthenticatePaymentRequest: OrderAuthenticatePaymentRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9567
9567
  if(Cashfree.XEnableErrorAnalytics) {
9568
9568
  Sentry.init({
9569
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9569
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9570
9570
  // Performance Monitoring
9571
9571
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9572
9572
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9577,12 +9577,12 @@ export class Cashfree {
9577
9577
  delete event.contexts.os;
9578
9578
  delete event.contexts.device;
9579
9579
  delete event.server_name;
9580
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9580
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9581
9581
  const stackTrace = event.exception.values[0].stacktrace;
9582
9582
  if (stackTrace && stackTrace.frames) {
9583
9583
 
9584
9584
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9585
- if (filteredDomains[0].includes("cashfree-pg")) {
9585
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9586
9586
  if(Cashfree.XEnableErrorAnalytics) {
9587
9587
  return event;
9588
9588
  }
@@ -9599,7 +9599,7 @@ export class Cashfree {
9599
9599
  } else {
9600
9600
  scope.setExtra('environment', 'production');
9601
9601
  }
9602
- scope.setExtra('release', "4.0.3");
9602
+ scope.setExtra('release', "4.0.5");
9603
9603
  });
9604
9604
  }
9605
9605
  try {
@@ -9627,7 +9627,7 @@ export class Cashfree {
9627
9627
  public static PGOrderFetchPayment(x_api_version: string, order_id: string, cf_payment_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9628
9628
  if(Cashfree.XEnableErrorAnalytics) {
9629
9629
  Sentry.init({
9630
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9630
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9631
9631
  // Performance Monitoring
9632
9632
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9633
9633
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9638,12 +9638,12 @@ export class Cashfree {
9638
9638
  delete event.contexts.os;
9639
9639
  delete event.contexts.device;
9640
9640
  delete event.server_name;
9641
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9641
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9642
9642
  const stackTrace = event.exception.values[0].stacktrace;
9643
9643
  if (stackTrace && stackTrace.frames) {
9644
9644
 
9645
9645
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9646
- if (filteredDomains[0].includes("cashfree-pg")) {
9646
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9647
9647
  if(Cashfree.XEnableErrorAnalytics) {
9648
9648
  return event;
9649
9649
  }
@@ -9660,7 +9660,7 @@ export class Cashfree {
9660
9660
  } else {
9661
9661
  scope.setExtra('environment', 'production');
9662
9662
  }
9663
- scope.setExtra('release', "4.0.3");
9663
+ scope.setExtra('release', "4.0.5");
9664
9664
  });
9665
9665
  }
9666
9666
  try {
@@ -9687,7 +9687,7 @@ export class Cashfree {
9687
9687
  public static PGOrderFetchPayments(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9688
9688
  if(Cashfree.XEnableErrorAnalytics) {
9689
9689
  Sentry.init({
9690
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9690
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9691
9691
  // Performance Monitoring
9692
9692
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9693
9693
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9698,12 +9698,12 @@ export class Cashfree {
9698
9698
  delete event.contexts.os;
9699
9699
  delete event.contexts.device;
9700
9700
  delete event.server_name;
9701
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9701
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9702
9702
  const stackTrace = event.exception.values[0].stacktrace;
9703
9703
  if (stackTrace && stackTrace.frames) {
9704
9704
 
9705
9705
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9706
- if (filteredDomains[0].includes("cashfree-pg")) {
9706
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9707
9707
  if(Cashfree.XEnableErrorAnalytics) {
9708
9708
  return event;
9709
9709
  }
@@ -9720,7 +9720,7 @@ export class Cashfree {
9720
9720
  } else {
9721
9721
  scope.setExtra('environment', 'production');
9722
9722
  }
9723
- scope.setExtra('release', "4.0.3");
9723
+ scope.setExtra('release', "4.0.5");
9724
9724
  });
9725
9725
  }
9726
9726
  try {
@@ -9747,7 +9747,7 @@ export class Cashfree {
9747
9747
  public static PGPayOrder(x_api_version: string, PayOrderRequest: PayOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9748
9748
  if(Cashfree.XEnableErrorAnalytics) {
9749
9749
  Sentry.init({
9750
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9750
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9751
9751
  // Performance Monitoring
9752
9752
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9753
9753
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9758,12 +9758,12 @@ export class Cashfree {
9758
9758
  delete event.contexts.os;
9759
9759
  delete event.contexts.device;
9760
9760
  delete event.server_name;
9761
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9761
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9762
9762
  const stackTrace = event.exception.values[0].stacktrace;
9763
9763
  if (stackTrace && stackTrace.frames) {
9764
9764
 
9765
9765
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9766
- if (filteredDomains[0].includes("cashfree-pg")) {
9766
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9767
9767
  if(Cashfree.XEnableErrorAnalytics) {
9768
9768
  return event;
9769
9769
  }
@@ -9780,7 +9780,7 @@ export class Cashfree {
9780
9780
  } else {
9781
9781
  scope.setExtra('environment', 'production');
9782
9782
  }
9783
- scope.setExtra('release', "4.0.3");
9783
+ scope.setExtra('release', "4.0.5");
9784
9784
  });
9785
9785
  }
9786
9786
  try {
@@ -9808,7 +9808,7 @@ export class Cashfree {
9808
9808
  public static PGOrderCreateRefund(x_api_version: string, order_id: string, OrderCreateRefundRequest: OrderCreateRefundRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9809
9809
  if(Cashfree.XEnableErrorAnalytics) {
9810
9810
  Sentry.init({
9811
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9811
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9812
9812
  // Performance Monitoring
9813
9813
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9814
9814
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9819,12 +9819,12 @@ export class Cashfree {
9819
9819
  delete event.contexts.os;
9820
9820
  delete event.contexts.device;
9821
9821
  delete event.server_name;
9822
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9822
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9823
9823
  const stackTrace = event.exception.values[0].stacktrace;
9824
9824
  if (stackTrace && stackTrace.frames) {
9825
9825
 
9826
9826
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9827
- if (filteredDomains[0].includes("cashfree-pg")) {
9827
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9828
9828
  if(Cashfree.XEnableErrorAnalytics) {
9829
9829
  return event;
9830
9830
  }
@@ -9841,7 +9841,7 @@ export class Cashfree {
9841
9841
  } else {
9842
9842
  scope.setExtra('environment', 'production');
9843
9843
  }
9844
- scope.setExtra('release', "4.0.3");
9844
+ scope.setExtra('release', "4.0.5");
9845
9845
  });
9846
9846
  }
9847
9847
  try {
@@ -9869,7 +9869,7 @@ export class Cashfree {
9869
9869
  public static PGOrderFetchRefund(x_api_version: string, order_id: string, refund_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9870
9870
  if(Cashfree.XEnableErrorAnalytics) {
9871
9871
  Sentry.init({
9872
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9872
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9873
9873
  // Performance Monitoring
9874
9874
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9875
9875
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9880,12 +9880,12 @@ export class Cashfree {
9880
9880
  delete event.contexts.os;
9881
9881
  delete event.contexts.device;
9882
9882
  delete event.server_name;
9883
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9883
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9884
9884
  const stackTrace = event.exception.values[0].stacktrace;
9885
9885
  if (stackTrace && stackTrace.frames) {
9886
9886
 
9887
9887
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9888
- if (filteredDomains[0].includes("cashfree-pg")) {
9888
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9889
9889
  if(Cashfree.XEnableErrorAnalytics) {
9890
9890
  return event;
9891
9891
  }
@@ -9902,7 +9902,7 @@ export class Cashfree {
9902
9902
  } else {
9903
9903
  scope.setExtra('environment', 'production');
9904
9904
  }
9905
- scope.setExtra('release', "4.0.3");
9905
+ scope.setExtra('release', "4.0.5");
9906
9906
  });
9907
9907
  }
9908
9908
  try {
@@ -9929,7 +9929,7 @@ export class Cashfree {
9929
9929
  public static PGOrderFetchRefunds(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
9930
9930
  if(Cashfree.XEnableErrorAnalytics) {
9931
9931
  Sentry.init({
9932
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9932
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9933
9933
  // Performance Monitoring
9934
9934
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9935
9935
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -9940,12 +9940,12 @@ export class Cashfree {
9940
9940
  delete event.contexts.os;
9941
9941
  delete event.contexts.device;
9942
9942
  delete event.server_name;
9943
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
9943
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
9944
9944
  const stackTrace = event.exception.values[0].stacktrace;
9945
9945
  if (stackTrace && stackTrace.frames) {
9946
9946
 
9947
9947
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
9948
- if (filteredDomains[0].includes("cashfree-pg")) {
9948
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
9949
9949
  if(Cashfree.XEnableErrorAnalytics) {
9950
9950
  return event;
9951
9951
  }
@@ -9962,7 +9962,7 @@ export class Cashfree {
9962
9962
  } else {
9963
9963
  scope.setExtra('environment', 'production');
9964
9964
  }
9965
- scope.setExtra('release', "4.0.3");
9965
+ scope.setExtra('release', "4.0.5");
9966
9966
  });
9967
9967
  }
9968
9968
  try {
@@ -9991,7 +9991,7 @@ export class Cashfree {
9991
9991
  public static PGFetchSettlements(x_api_version: string, FetchSettlementsRequest: FetchSettlementsRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig) {
9992
9992
  if(Cashfree.XEnableErrorAnalytics) {
9993
9993
  Sentry.init({
9994
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
9994
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
9995
9995
  // Performance Monitoring
9996
9996
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
9997
9997
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10002,12 +10002,12 @@ export class Cashfree {
10002
10002
  delete event.contexts.os;
10003
10003
  delete event.contexts.device;
10004
10004
  delete event.server_name;
10005
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10005
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10006
10006
  const stackTrace = event.exception.values[0].stacktrace;
10007
10007
  if (stackTrace && stackTrace.frames) {
10008
10008
 
10009
10009
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10010
- if (filteredDomains[0].includes("cashfree-pg")) {
10010
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10011
10011
  if(Cashfree.XEnableErrorAnalytics) {
10012
10012
  return event;
10013
10013
  }
@@ -10024,7 +10024,7 @@ export class Cashfree {
10024
10024
  } else {
10025
10025
  scope.setExtra('environment', 'production');
10026
10026
  }
10027
- scope.setExtra('release', "4.0.3");
10027
+ scope.setExtra('release', "4.0.5");
10028
10028
  });
10029
10029
  }
10030
10030
  try {
@@ -10053,7 +10053,7 @@ export class Cashfree {
10053
10053
  public static PGSettlementFetchRecon(x_api_version: string, SettlementFetchReconRequest: SettlementFetchReconRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig) {
10054
10054
  if(Cashfree.XEnableErrorAnalytics) {
10055
10055
  Sentry.init({
10056
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10056
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10057
10057
  // Performance Monitoring
10058
10058
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10059
10059
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10064,12 +10064,12 @@ export class Cashfree {
10064
10064
  delete event.contexts.os;
10065
10065
  delete event.contexts.device;
10066
10066
  delete event.server_name;
10067
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10067
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10068
10068
  const stackTrace = event.exception.values[0].stacktrace;
10069
10069
  if (stackTrace && stackTrace.frames) {
10070
10070
 
10071
10071
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10072
- if (filteredDomains[0].includes("cashfree-pg")) {
10072
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10073
10073
  if(Cashfree.XEnableErrorAnalytics) {
10074
10074
  return event;
10075
10075
  }
@@ -10086,7 +10086,7 @@ export class Cashfree {
10086
10086
  } else {
10087
10087
  scope.setExtra('environment', 'production');
10088
10088
  }
10089
- scope.setExtra('release', "4.0.3");
10089
+ scope.setExtra('release', "4.0.5");
10090
10090
  });
10091
10091
  }
10092
10092
  try {
@@ -10113,7 +10113,7 @@ export class Cashfree {
10113
10113
  public static PGOrderFetchSettlement(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10114
10114
  if(Cashfree.XEnableErrorAnalytics) {
10115
10115
  Sentry.init({
10116
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10116
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10117
10117
  // Performance Monitoring
10118
10118
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10119
10119
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10124,12 +10124,12 @@ export class Cashfree {
10124
10124
  delete event.contexts.os;
10125
10125
  delete event.contexts.device;
10126
10126
  delete event.server_name;
10127
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10127
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10128
10128
  const stackTrace = event.exception.values[0].stacktrace;
10129
10129
  if (stackTrace && stackTrace.frames) {
10130
10130
 
10131
10131
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10132
- if (filteredDomains[0].includes("cashfree-pg")) {
10132
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10133
10133
  if(Cashfree.XEnableErrorAnalytics) {
10134
10134
  return event;
10135
10135
  }
@@ -10146,7 +10146,7 @@ export class Cashfree {
10146
10146
  } else {
10147
10147
  scope.setExtra('environment', 'production');
10148
10148
  }
10149
- scope.setExtra('release', "4.0.3");
10149
+ scope.setExtra('release', "4.0.5");
10150
10150
  });
10151
10151
  }
10152
10152
  try {
@@ -10173,7 +10173,7 @@ export class Cashfree {
10173
10173
  public static SposCreateTerminal(x_api_version: string, CreateTerminalRequest: CreateTerminalRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10174
10174
  if(Cashfree.XEnableErrorAnalytics) {
10175
10175
  Sentry.init({
10176
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10176
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10177
10177
  // Performance Monitoring
10178
10178
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10179
10179
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10184,12 +10184,12 @@ export class Cashfree {
10184
10184
  delete event.contexts.os;
10185
10185
  delete event.contexts.device;
10186
10186
  delete event.server_name;
10187
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10187
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10188
10188
  const stackTrace = event.exception.values[0].stacktrace;
10189
10189
  if (stackTrace && stackTrace.frames) {
10190
10190
 
10191
10191
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10192
- if (filteredDomains[0].includes("cashfree-pg")) {
10192
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10193
10193
  if(Cashfree.XEnableErrorAnalytics) {
10194
10194
  return event;
10195
10195
  }
@@ -10206,7 +10206,7 @@ export class Cashfree {
10206
10206
  } else {
10207
10207
  scope.setExtra('environment', 'production');
10208
10208
  }
10209
- scope.setExtra('release', "4.0.3");
10209
+ scope.setExtra('release', "4.0.5");
10210
10210
  });
10211
10211
  }
10212
10212
  try {
@@ -10233,7 +10233,7 @@ export class Cashfree {
10233
10233
  public static SposCreateTerminalTransaction(x_api_version: string, CreateTerminalTransactionRequest: CreateTerminalTransactionRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10234
10234
  if(Cashfree.XEnableErrorAnalytics) {
10235
10235
  Sentry.init({
10236
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10236
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10237
10237
  // Performance Monitoring
10238
10238
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10239
10239
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10244,12 +10244,12 @@ export class Cashfree {
10244
10244
  delete event.contexts.os;
10245
10245
  delete event.contexts.device;
10246
10246
  delete event.server_name;
10247
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10247
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10248
10248
  const stackTrace = event.exception.values[0].stacktrace;
10249
10249
  if (stackTrace && stackTrace.frames) {
10250
10250
 
10251
10251
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10252
- if (filteredDomains[0].includes("cashfree-pg")) {
10252
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10253
10253
  if(Cashfree.XEnableErrorAnalytics) {
10254
10254
  return event;
10255
10255
  }
@@ -10266,7 +10266,7 @@ export class Cashfree {
10266
10266
  } else {
10267
10267
  scope.setExtra('environment', 'production');
10268
10268
  }
10269
- scope.setExtra('release', "4.0.3");
10269
+ scope.setExtra('release', "4.0.5");
10270
10270
  });
10271
10271
  }
10272
10272
  try {
@@ -10293,7 +10293,7 @@ export class Cashfree {
10293
10293
  public static SposFetchTerminal(x_api_version: string, terminal_phone_no: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10294
10294
  if(Cashfree.XEnableErrorAnalytics) {
10295
10295
  Sentry.init({
10296
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10296
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10297
10297
  // Performance Monitoring
10298
10298
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10299
10299
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10304,12 +10304,12 @@ export class Cashfree {
10304
10304
  delete event.contexts.os;
10305
10305
  delete event.contexts.device;
10306
10306
  delete event.server_name;
10307
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10307
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10308
10308
  const stackTrace = event.exception.values[0].stacktrace;
10309
10309
  if (stackTrace && stackTrace.frames) {
10310
10310
 
10311
10311
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10312
- if (filteredDomains[0].includes("cashfree-pg")) {
10312
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10313
10313
  if(Cashfree.XEnableErrorAnalytics) {
10314
10314
  return event;
10315
10315
  }
@@ -10326,7 +10326,7 @@ export class Cashfree {
10326
10326
  } else {
10327
10327
  scope.setExtra('environment', 'production');
10328
10328
  }
10329
- scope.setExtra('release', "4.0.3");
10329
+ scope.setExtra('release', "4.0.5");
10330
10330
  });
10331
10331
  }
10332
10332
  try {
@@ -10354,7 +10354,7 @@ export class Cashfree {
10354
10354
  public static SposFetchTerminalQRCodes(x_api_version: string, terminal_phone_no: string, cf_terminal_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10355
10355
  if(Cashfree.XEnableErrorAnalytics) {
10356
10356
  Sentry.init({
10357
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10357
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10358
10358
  // Performance Monitoring
10359
10359
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10360
10360
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10365,12 +10365,12 @@ export class Cashfree {
10365
10365
  delete event.contexts.os;
10366
10366
  delete event.contexts.device;
10367
10367
  delete event.server_name;
10368
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10368
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10369
10369
  const stackTrace = event.exception.values[0].stacktrace;
10370
10370
  if (stackTrace && stackTrace.frames) {
10371
10371
 
10372
10372
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10373
- if (filteredDomains[0].includes("cashfree-pg")) {
10373
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10374
10374
  if(Cashfree.XEnableErrorAnalytics) {
10375
10375
  return event;
10376
10376
  }
@@ -10387,7 +10387,7 @@ export class Cashfree {
10387
10387
  } else {
10388
10388
  scope.setExtra('environment', 'production');
10389
10389
  }
10390
- scope.setExtra('release', "4.0.3");
10390
+ scope.setExtra('release', "4.0.5");
10391
10391
  });
10392
10392
  }
10393
10393
  try {
@@ -10415,7 +10415,7 @@ export class Cashfree {
10415
10415
  public static PGCustomerDeleteInstrument(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10416
10416
  if(Cashfree.XEnableErrorAnalytics) {
10417
10417
  Sentry.init({
10418
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10418
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10419
10419
  // Performance Monitoring
10420
10420
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10421
10421
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10426,12 +10426,12 @@ export class Cashfree {
10426
10426
  delete event.contexts.os;
10427
10427
  delete event.contexts.device;
10428
10428
  delete event.server_name;
10429
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10429
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10430
10430
  const stackTrace = event.exception.values[0].stacktrace;
10431
10431
  if (stackTrace && stackTrace.frames) {
10432
10432
 
10433
10433
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10434
- if (filteredDomains[0].includes("cashfree-pg")) {
10434
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10435
10435
  if(Cashfree.XEnableErrorAnalytics) {
10436
10436
  return event;
10437
10437
  }
@@ -10448,7 +10448,7 @@ export class Cashfree {
10448
10448
  } else {
10449
10449
  scope.setExtra('environment', 'production');
10450
10450
  }
10451
- scope.setExtra('release', "4.0.3");
10451
+ scope.setExtra('release', "4.0.5");
10452
10452
  });
10453
10453
  }
10454
10454
  try {
@@ -10476,7 +10476,7 @@ export class Cashfree {
10476
10476
  public static PGCustomerFetchInstrument(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10477
10477
  if(Cashfree.XEnableErrorAnalytics) {
10478
10478
  Sentry.init({
10479
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10479
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10480
10480
  // Performance Monitoring
10481
10481
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10482
10482
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10487,12 +10487,12 @@ export class Cashfree {
10487
10487
  delete event.contexts.os;
10488
10488
  delete event.contexts.device;
10489
10489
  delete event.server_name;
10490
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10490
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10491
10491
  const stackTrace = event.exception.values[0].stacktrace;
10492
10492
  if (stackTrace && stackTrace.frames) {
10493
10493
 
10494
10494
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10495
- if (filteredDomains[0].includes("cashfree-pg")) {
10495
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10496
10496
  if(Cashfree.XEnableErrorAnalytics) {
10497
10497
  return event;
10498
10498
  }
@@ -10509,7 +10509,7 @@ export class Cashfree {
10509
10509
  } else {
10510
10510
  scope.setExtra('environment', 'production');
10511
10511
  }
10512
- scope.setExtra('release', "4.0.3");
10512
+ scope.setExtra('release', "4.0.5");
10513
10513
  });
10514
10514
  }
10515
10515
  try {
@@ -10537,7 +10537,7 @@ export class Cashfree {
10537
10537
  public static PGCustomerFetchInstruments(x_api_version: string, customer_id: string, instrument_type: PGCustomerFetchInstrumentsInstrumentTypeEnum, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10538
10538
  if(Cashfree.XEnableErrorAnalytics) {
10539
10539
  Sentry.init({
10540
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10540
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10541
10541
  // Performance Monitoring
10542
10542
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10543
10543
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10548,12 +10548,12 @@ export class Cashfree {
10548
10548
  delete event.contexts.os;
10549
10549
  delete event.contexts.device;
10550
10550
  delete event.server_name;
10551
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10551
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10552
10552
  const stackTrace = event.exception.values[0].stacktrace;
10553
10553
  if (stackTrace && stackTrace.frames) {
10554
10554
 
10555
10555
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10556
- if (filteredDomains[0].includes("cashfree-pg")) {
10556
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10557
10557
  if(Cashfree.XEnableErrorAnalytics) {
10558
10558
  return event;
10559
10559
  }
@@ -10570,7 +10570,7 @@ export class Cashfree {
10570
10570
  } else {
10571
10571
  scope.setExtra('environment', 'production');
10572
10572
  }
10573
- scope.setExtra('release', "4.0.3");
10573
+ scope.setExtra('release', "4.0.5");
10574
10574
  });
10575
10575
  }
10576
10576
  try {
@@ -10598,7 +10598,7 @@ export class Cashfree {
10598
10598
  public static PGCustomerInstrumentsFetchCryptogram(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
10599
10599
  if(Cashfree.XEnableErrorAnalytics) {
10600
10600
  Sentry.init({
10601
- dsn: 'https://ad7936cb4d7f4f2b99c6571a8e7a4df7@o330525.ingest.sentry.io/4505085005725696',
10601
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
10602
10602
  // Performance Monitoring
10603
10603
  tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
10604
10604
  // Set sampling rate for profiling - this is relative to tracesSampleRate
@@ -10609,12 +10609,12 @@ export class Cashfree {
10609
10609
  delete event.contexts.os;
10610
10610
  delete event.contexts.device;
10611
10611
  delete event.server_name;
10612
- if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
10612
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
10613
10613
  const stackTrace = event.exception.values[0].stacktrace;
10614
10614
  if (stackTrace && stackTrace.frames) {
10615
10615
 
10616
10616
  const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
10617
- if (filteredDomains[0].includes("cashfree-pg")) {
10617
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
10618
10618
  if(Cashfree.XEnableErrorAnalytics) {
10619
10619
  return event;
10620
10620
  }
@@ -10631,7 +10631,7 @@ export class Cashfree {
10631
10631
  } else {
10632
10632
  scope.setExtra('environment', 'production');
10633
10633
  }
10634
- scope.setExtra('release', "4.0.3");
10634
+ scope.setExtra('release', "4.0.5");
10635
10635
  });
10636
10636
  }
10637
10637
  try {