cashfree-pg 4.0.9 → 4.1.2

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.
package/api.ts CHANGED
@@ -1052,6 +1052,12 @@ export interface CreateLinkRequest {
1052
1052
  * @memberof CreateLinkRequest
1053
1053
  */
1054
1054
  'link_meta'?: LinkMetaResponseEntity;
1055
+ /**
1056
+ * If you have Easy split enabled in your Cashfree account then you can use this option to split the order amount.
1057
+ * @type {Array<VendorSplit>}
1058
+ * @memberof CreateLinkRequest
1059
+ */
1060
+ 'order_splits'?: Array<VendorSplit>;
1055
1061
  }
1056
1062
  /**
1057
1063
  * create offer backend request object
@@ -2708,6 +2714,12 @@ export interface LinkEntity {
2708
2714
  * @memberof LinkEntity
2709
2715
  */
2710
2716
  'link_qrcode'?: string;
2717
+ /**
2718
+ *
2719
+ * @type {Array<VendorSplit>}
2720
+ * @memberof LinkEntity
2721
+ */
2722
+ 'order_splits'?: Array<VendorSplit>;
2711
2723
  }
2712
2724
  /**
2713
2725
  * Payment link meta information object
@@ -5547,30 +5559,11 @@ export interface SplitAfterPaymentRequestSplitInner {
5547
5559
  */
5548
5560
  'percentage'?: number;
5549
5561
  /**
5550
- * Provide additional data fields using tags. Sample data fields are mentioned below.
5551
- * @type {Array<SplitAfterPaymentRequestSplitInnerTagsInner>}
5562
+ * Custom Tags in thr form of {\"key\":\"value\"} which can be passed for an order. A maximum of 10 tags can be added
5563
+ * @type {{ [key: string]: string; }}
5552
5564
  * @memberof SplitAfterPaymentRequestSplitInner
5553
5565
  */
5554
- 'tags'?: Array<SplitAfterPaymentRequestSplitInnerTagsInner>;
5555
- }
5556
- /**
5557
- *
5558
- * @export
5559
- * @interface SplitAfterPaymentRequestSplitInnerTagsInner
5560
- */
5561
- export interface SplitAfterPaymentRequestSplitInnerTagsInner {
5562
- /**
5563
- *
5564
- * @type {string}
5565
- * @memberof SplitAfterPaymentRequestSplitInnerTagsInner
5566
- */
5567
- 'Key Value 1'?: string;
5568
- /**
5569
- *
5570
- * @type {string}
5571
- * @memberof SplitAfterPaymentRequestSplitInnerTagsInner
5572
- */
5573
- 'Key Value 2'?: string;
5566
+ 'tags'?: { [key: string]: string; };
5574
5567
  }
5575
5568
  /**
5576
5569
  * Split After Payment Response
@@ -6580,31 +6573,6 @@ export interface UploadTerminalDocsEntity {
6580
6573
  */
6581
6574
  'status'?: string;
6582
6575
  }
6583
- /**
6584
- * Update Vendor Request
6585
- * @export
6586
- * @interface UploadVendorDocsRequest
6587
- */
6588
- export interface UploadVendorDocsRequest {
6589
- /**
6590
- * Mention the type of the document you are uploading. Possible values: UIDAI_FRONT, UIDAI_BACK, UIDAI_NUMBER, DL, DL_NUMBER, PASSPORT_FRONT, PASSPORT_BACK, PASSPORT_NUMBER, VOTER_ID, VOTER_ID_NUMBER, PAN, PAN_NUMBER, GST, GSTIN_NUMBER, CIN, CIN_NUMBER, NBFC_CERTIFICATE. If the doc type ends with a number you should add the doc value else upload the doc file.
6591
- * @type {string}
6592
- * @memberof UploadVendorDocsRequest
6593
- */
6594
- 'doc_type'?: string;
6595
- /**
6596
- * Enter the display name of the uploaded file.
6597
- * @type {File}
6598
- * @memberof UploadVendorDocsRequest
6599
- */
6600
- 'doc_value'?: File;
6601
- /**
6602
- * Select the document that should be uploaded or provide the path of that file. You cannot upload a file that is more than 2MB in size.
6603
- * @type {string}
6604
- * @memberof UploadVendorDocsRequest
6605
- */
6606
- 'file'?: string;
6607
- }
6608
6576
  /**
6609
6577
  * Upload Vendor Document
6610
6578
  * @export
@@ -6875,7 +6843,7 @@ export interface VendorSplit {
6875
6843
  * @type {string}
6876
6844
  * @memberof VendorSplit
6877
6845
  */
6878
- 'vendor_id'?: string;
6846
+ 'vendor_id': string;
6879
6847
  /**
6880
6848
  * Amount which will be associated with this vendor
6881
6849
  * @type {number}
@@ -6888,6 +6856,12 @@ export interface VendorSplit {
6888
6856
  * @memberof VendorSplit
6889
6857
  */
6890
6858
  'percentage'?: number;
6859
+ /**
6860
+ * Custom Tags in thr form of {\"key\":\"value\"} which can be passed for an order. A maximum of 10 tags can be added
6861
+ * @type {{ [key: string]: object; }}
6862
+ * @memberof VendorSplit
6863
+ */
6864
+ 'tags'?: { [key: string]: object; };
6891
6865
  }
6892
6866
  /**
6893
6867
  *
@@ -6961,7 +6935,7 @@ const CustomersApiAxiosParamCreator = function (configuration?: Configuration) {
6961
6935
 
6962
6936
  localVarHeaderParameter['Content-Type'] = 'application/json';
6963
6937
 
6964
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
6938
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
6965
6939
  if (x_api_version != null && x_api_version != undefined) {
6966
6940
  localVarHeaderParameter['x-api-version'] = x_api_version;
6967
6941
  }
@@ -7083,7 +7057,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7083
7057
 
7084
7058
  localVarHeaderParameter['Content-Type'] = 'application/json';
7085
7059
 
7086
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7060
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7087
7061
  if (x_api_version != null && x_api_version != undefined) {
7088
7062
  localVarHeaderParameter['x-api-version'] = x_api_version;
7089
7063
  }
@@ -7155,7 +7129,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7155
7129
 
7156
7130
  localVarHeaderParameter['Content-Type'] = 'application/json';
7157
7131
 
7158
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7132
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7159
7133
  if (x_api_version != null && x_api_version != undefined) {
7160
7134
  localVarHeaderParameter['x-api-version'] = x_api_version;
7161
7135
  }
@@ -7232,7 +7206,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7232
7206
 
7233
7207
 
7234
7208
 
7235
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7209
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7236
7210
  if (x_api_version != null && x_api_version != undefined) {
7237
7211
  localVarHeaderParameter['x-api-version'] = x_api_version;
7238
7212
  }
@@ -7304,7 +7278,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7304
7278
 
7305
7279
 
7306
7280
 
7307
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7281
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7308
7282
  if (x_api_version != null && x_api_version != undefined) {
7309
7283
  localVarHeaderParameter['x-api-version'] = x_api_version;
7310
7284
  }
@@ -7376,7 +7350,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7376
7350
 
7377
7351
 
7378
7352
 
7379
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7353
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7380
7354
  if (x_api_version != null && x_api_version != undefined) {
7381
7355
  localVarHeaderParameter['x-api-version'] = x_api_version;
7382
7356
  }
@@ -7455,7 +7429,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7455
7429
 
7456
7430
 
7457
7431
 
7458
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7432
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7459
7433
  if (x_api_version != null && x_api_version != undefined) {
7460
7434
  localVarHeaderParameter['x-api-version'] = x_api_version;
7461
7435
  }
@@ -7527,7 +7501,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7527
7501
 
7528
7502
 
7529
7503
 
7530
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7504
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7531
7505
  if (x_api_version != null && x_api_version != undefined) {
7532
7506
  localVarHeaderParameter['x-api-version'] = x_api_version;
7533
7507
  }
@@ -7598,7 +7572,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7598
7572
 
7599
7573
  localVarHeaderParameter['Content-Type'] = 'application/json';
7600
7574
 
7601
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7575
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7602
7576
  if (x_api_version != null && x_api_version != undefined) {
7603
7577
  localVarHeaderParameter['x-api-version'] = x_api_version;
7604
7578
  }
@@ -7674,7 +7648,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7674
7648
 
7675
7649
  localVarHeaderParameter['Content-Type'] = 'application/json';
7676
7650
 
7677
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7651
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7678
7652
  if (x_api_version != null && x_api_version != undefined) {
7679
7653
  localVarHeaderParameter['x-api-version'] = x_api_version;
7680
7654
  }
@@ -7696,6 +7670,97 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7696
7670
  options: localVarRequestOptions,
7697
7671
  };
7698
7672
  },
7673
+ /**
7674
+ * Use this API to upload KYC documents of a specific vendor.
7675
+ * @summary Upload Vendor Docs
7676
+
7677
+ * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
7678
+ * @param {string} vendor_id The id which uniquely identifies your vendor.
7679
+ * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
7680
+ * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
7681
+ * @param {string} [doc_type] Mention the type of the document you are uploading. Possible values: UIDAI_FRONT, UIDAI_BACK, UIDAI_NUMBER, DL, DL_NUMBER, PASSPORT_FRONT, PASSPORT_BACK, PASSPORT_NUMBER, VOTER_ID, VOTER_ID_NUMBER, PAN, PAN_NUMBER, GST, GSTIN_NUMBER, CIN, CIN_NUMBER, NBFC_CERTIFICATE. If the doc type ends with a number you should add the doc value else upload the doc file.
7682
+ * @param {string} [doc_value] Enter the display name of the uploaded file.
7683
+ * @param {File} [file] Select the document that should be uploaded or provide the path of that file. You cannot upload a file that is more than 2MB in size.
7684
+ * @param {*} [options] Override http request option.
7685
+ * @throws {RequiredError}
7686
+ * x_idempotency_key?: string,
7687
+ */
7688
+ pGESUploadVendorsDocs: async (x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, doc_type?: string, doc_value?: string, file?: File, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7689
+ // verify required parameter 'x_api_version' is not null or undefined
7690
+ assertParamExists('pGESUploadVendorsDocs', 'x_api_version', x_api_version)
7691
+ // verify required parameter 'vendor_id' is not null or undefined
7692
+ assertParamExists('pGESUploadVendorsDocs', 'vendor_id', vendor_id)
7693
+ const localVarPath = `/easy-split/vendor-docs/{vendor_id}`
7694
+ .replace(`{${"vendor_id"}}`, encodeURIComponent(String(vendor_id)));
7695
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7696
+ var url = "https://sandbox.cashfree.com/pg";
7697
+ if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
7698
+ url = "https://api.cashfree.com/pg"
7699
+ }
7700
+ const localVarUrlObj = new URL(localVarPath, url);
7701
+ let baseOptions;
7702
+ if (configuration) {
7703
+ baseOptions = configuration.baseOptions;
7704
+ }
7705
+
7706
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
7707
+ const localVarHeaderParameter = {} as any;
7708
+ const localVarQueryParameter = {} as any;
7709
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
7710
+
7711
+ // authentication XPartnerAPIKey required
7712
+ await setApiKeyToObject(localVarHeaderParameter, "x-partner-apikey")
7713
+
7714
+ // authentication XClientSecret required
7715
+ await setApiKeyToObject(localVarHeaderParameter, "x-client-secret")
7716
+
7717
+ // authentication XPartnerMerchantID required
7718
+ await setApiKeyToObject(localVarHeaderParameter, "x-partner-merchantid")
7719
+
7720
+ // authentication XClientID required
7721
+ await setApiKeyToObject(localVarHeaderParameter, "x-client-id")
7722
+
7723
+ // authentication XClientSignatureHeader required
7724
+ await setApiKeyToObject(localVarHeaderParameter, "x-client-signature")
7725
+
7726
+
7727
+ if (doc_type !== undefined) {
7728
+ localVarFormParams.append('doc_type', doc_type as any);
7729
+ }
7730
+
7731
+ if (doc_value !== undefined) {
7732
+ localVarFormParams.append('doc_value', doc_value as any);
7733
+ }
7734
+
7735
+ if (file !== undefined) {
7736
+ localVarFormParams.append('file', file as any);
7737
+ }
7738
+
7739
+
7740
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
7741
+
7742
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7743
+ if (x_api_version != null && x_api_version != undefined) {
7744
+ localVarHeaderParameter['x-api-version'] = x_api_version;
7745
+ }
7746
+
7747
+ if (x_request_id != null && x_request_id != undefined) {
7748
+ localVarHeaderParameter['x-request-id'] = x_request_id;
7749
+ }
7750
+
7751
+ if (x_idempotency_key != null && x_idempotency_key != undefined) {
7752
+ localVarHeaderParameter['x-idempotency-key'] = x_idempotency_key;
7753
+ }
7754
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7755
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7756
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7757
+ localVarRequestOptions.data = localVarFormParams;
7758
+
7759
+ return {
7760
+ url: toPathString(localVarUrlObj),
7761
+ options: localVarRequestOptions,
7762
+ };
7763
+ },
7699
7764
  /**
7700
7765
  * Split After Payment API splits the payments to vendors after successful payment from the customers.
7701
7766
  * @summary Split After Payment
@@ -7750,7 +7815,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7750
7815
 
7751
7816
  localVarHeaderParameter['Content-Type'] = 'application/json';
7752
7817
 
7753
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7818
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7754
7819
  if (x_api_version != null && x_api_version != undefined) {
7755
7820
  localVarHeaderParameter['x-api-version'] = x_api_version;
7756
7821
  }
@@ -7822,7 +7887,7 @@ const EasySplitApiAxiosParamCreator = function (configuration?: Configuration) {
7822
7887
 
7823
7888
  localVarHeaderParameter['Content-Type'] = 'application/json';
7824
7889
 
7825
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
7890
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
7826
7891
  if (x_api_version != null && x_api_version != undefined) {
7827
7892
  localVarHeaderParameter['x-api-version'] = x_api_version;
7828
7893
  }
@@ -8020,6 +8085,27 @@ const EasySplitApiFp = function(configuration?: Configuration) {
8020
8085
  }
8021
8086
  return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
8022
8087
  },
8088
+ /**
8089
+ * Use this API to upload KYC documents of a specific vendor.
8090
+ * @summary Upload Vendor Docs
8091
+ * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
8092
+ * @param {string} vendor_id The id which uniquely identifies your vendor.
8093
+ * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
8094
+ * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
8095
+ * @param {string} [doc_type] Mention the type of the document you are uploading. Possible values: UIDAI_FRONT, UIDAI_BACK, UIDAI_NUMBER, DL, DL_NUMBER, PASSPORT_FRONT, PASSPORT_BACK, PASSPORT_NUMBER, VOTER_ID, VOTER_ID_NUMBER, PAN, PAN_NUMBER, GST, GSTIN_NUMBER, CIN, CIN_NUMBER, NBFC_CERTIFICATE. If the doc type ends with a number you should add the doc value else upload the doc file.
8096
+ * @param {string} [doc_value] Enter the display name of the uploaded file.
8097
+ * @param {File} [file] Select the document that should be uploaded or provide the path of that file. You cannot upload a file that is more than 2MB in size.
8098
+ * @param {*} [options] Override http request option.
8099
+ * @throws {RequiredError}
8100
+ */
8101
+ async pGESUploadVendorsDocs(x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, doc_type?: string, doc_value?: string, file?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadVendorDocumentsResponse>> {
8102
+ const localVarAxiosArgs = await localVarAxiosParamCreator.pGESUploadVendorsDocs(x_api_version, vendor_id, x_request_id, x_idempotency_key, doc_type, doc_value, file, options);
8103
+ var url = "https://sandbox.cashfree.com/pg";
8104
+ if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
8105
+ url = "https://api.cashfree.com/pg"
8106
+ }
8107
+ return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
8108
+ },
8023
8109
  /**
8024
8110
  * Split After Payment API splits the payments to vendors after successful payment from the customers.
8025
8111
  * @summary Split After Payment
@@ -8127,7 +8213,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
8127
8213
 
8128
8214
  localVarHeaderParameter['Content-Type'] = 'application/json';
8129
8215
 
8130
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8216
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8131
8217
  if (x_api_version != null && x_api_version != undefined) {
8132
8218
  localVarHeaderParameter['x-api-version'] = x_api_version;
8133
8219
  }
@@ -8201,7 +8287,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
8201
8287
 
8202
8288
  localVarHeaderParameter['Content-Type'] = 'application/json';
8203
8289
 
8204
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8290
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8205
8291
  if (x_api_version != null && x_api_version != undefined) {
8206
8292
  localVarHeaderParameter['x-api-version'] = x_api_version;
8207
8293
  }
@@ -8275,7 +8361,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
8275
8361
 
8276
8362
  localVarHeaderParameter['Content-Type'] = 'application/json';
8277
8363
 
8278
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8364
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8279
8365
  if (x_api_version != null && x_api_version != undefined) {
8280
8366
  localVarHeaderParameter['x-api-version'] = x_api_version;
8281
8367
  }
@@ -8349,7 +8435,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
8349
8435
 
8350
8436
  localVarHeaderParameter['Content-Type'] = 'application/json';
8351
8437
 
8352
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8438
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8353
8439
  if (x_api_version != null && x_api_version != undefined) {
8354
8440
  localVarHeaderParameter['x-api-version'] = x_api_version;
8355
8441
  }
@@ -8523,7 +8609,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
8523
8609
 
8524
8610
  localVarHeaderParameter['Content-Type'] = 'application/json';
8525
8611
 
8526
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8612
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8527
8613
  if (x_api_version != null && x_api_version != undefined) {
8528
8614
  localVarHeaderParameter['x-api-version'] = x_api_version;
8529
8615
  }
@@ -8596,7 +8682,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
8596
8682
 
8597
8683
 
8598
8684
 
8599
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8685
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8600
8686
  if (x_api_version != null && x_api_version != undefined) {
8601
8687
  localVarHeaderParameter['x-api-version'] = x_api_version;
8602
8688
  }
@@ -8733,7 +8819,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
8733
8819
 
8734
8820
  localVarHeaderParameter['Content-Type'] = 'application/json';
8735
8821
 
8736
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8822
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8737
8823
  if (x_api_version != null && x_api_version != undefined) {
8738
8824
  localVarHeaderParameter['x-api-version'] = x_api_version;
8739
8825
  }
@@ -8806,7 +8892,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
8806
8892
 
8807
8893
 
8808
8894
 
8809
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8895
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8810
8896
  if (x_api_version != null && x_api_version != undefined) {
8811
8897
  localVarHeaderParameter['x-api-version'] = x_api_version;
8812
8898
  }
@@ -8883,7 +8969,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
8883
8969
 
8884
8970
  localVarHeaderParameter['Content-Type'] = 'application/json';
8885
8971
 
8886
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
8972
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
8887
8973
  if (x_api_version != null && x_api_version != undefined) {
8888
8974
  localVarHeaderParameter['x-api-version'] = x_api_version;
8889
8975
  }
@@ -9042,7 +9128,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration?: Configura
9042
9128
 
9043
9129
  localVarHeaderParameter['Content-Type'] = 'application/json';
9044
9130
 
9045
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9131
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9046
9132
  if (x_api_version != null && x_api_version != undefined) {
9047
9133
  localVarHeaderParameter['x-api-version'] = x_api_version;
9048
9134
  }
@@ -9163,7 +9249,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
9163
9249
 
9164
9250
 
9165
9251
 
9166
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9252
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9167
9253
  if (x_api_version != null && x_api_version != undefined) {
9168
9254
  localVarHeaderParameter['x-api-version'] = x_api_version;
9169
9255
  }
@@ -9236,7 +9322,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
9236
9322
 
9237
9323
  localVarHeaderParameter['Content-Type'] = 'application/json';
9238
9324
 
9239
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9325
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9240
9326
  if (x_api_version != null && x_api_version != undefined) {
9241
9327
  localVarHeaderParameter['x-api-version'] = x_api_version;
9242
9328
  }
@@ -9309,7 +9395,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
9309
9395
 
9310
9396
 
9311
9397
 
9312
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9398
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9313
9399
  if (x_api_version != null && x_api_version != undefined) {
9314
9400
  localVarHeaderParameter['x-api-version'] = x_api_version;
9315
9401
  }
@@ -9381,7 +9467,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
9381
9467
 
9382
9468
 
9383
9469
 
9384
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9470
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9385
9471
  if (x_api_version != null && x_api_version != undefined) {
9386
9472
  localVarHeaderParameter['x-api-version'] = x_api_version;
9387
9473
  }
@@ -9558,7 +9644,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
9558
9644
 
9559
9645
  localVarHeaderParameter['Content-Type'] = 'application/json';
9560
9646
 
9561
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9647
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9562
9648
  if (x_api_version != null && x_api_version != undefined) {
9563
9649
  localVarHeaderParameter['x-api-version'] = x_api_version;
9564
9650
  }
@@ -9621,7 +9707,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
9621
9707
 
9622
9708
  localVarHeaderParameter['Content-Type'] = 'application/json';
9623
9709
 
9624
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9710
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9625
9711
  if (x_api_version != null && x_api_version != undefined) {
9626
9712
  localVarHeaderParameter['x-api-version'] = x_api_version;
9627
9713
  }
@@ -9698,7 +9784,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
9698
9784
 
9699
9785
 
9700
9786
 
9701
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9787
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9702
9788
  if (x_api_version != null && x_api_version != undefined) {
9703
9789
  localVarHeaderParameter['x-api-version'] = x_api_version;
9704
9790
  }
@@ -9770,7 +9856,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
9770
9856
 
9771
9857
 
9772
9858
 
9773
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9859
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9774
9860
  if (x_api_version != null && x_api_version != undefined) {
9775
9861
  localVarHeaderParameter['x-api-version'] = x_api_version;
9776
9862
  }
@@ -9828,7 +9914,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
9828
9914
 
9829
9915
  localVarHeaderParameter['Content-Type'] = 'application/json';
9830
9916
 
9831
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
9917
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
9832
9918
  if (x_api_version != null && x_api_version != undefined) {
9833
9919
  localVarHeaderParameter['x-api-version'] = x_api_version;
9834
9920
  }
@@ -10027,7 +10113,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
10027
10113
 
10028
10114
  localVarHeaderParameter['Content-Type'] = 'application/json';
10029
10115
 
10030
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10116
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10031
10117
  if (x_api_version != null && x_api_version != undefined) {
10032
10118
  localVarHeaderParameter['x-api-version'] = x_api_version;
10033
10119
  }
@@ -10104,7 +10190,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
10104
10190
 
10105
10191
 
10106
10192
 
10107
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10193
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10108
10194
  if (x_api_version != null && x_api_version != undefined) {
10109
10195
  localVarHeaderParameter['x-api-version'] = x_api_version;
10110
10196
  }
@@ -10176,7 +10262,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
10176
10262
 
10177
10263
 
10178
10264
 
10179
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10265
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10180
10266
  if (x_api_version != null && x_api_version != undefined) {
10181
10267
  localVarHeaderParameter['x-api-version'] = x_api_version;
10182
10268
  }
@@ -10335,7 +10421,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
10335
10421
 
10336
10422
  localVarHeaderParameter['Content-Type'] = 'application/json';
10337
10423
 
10338
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10424
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10339
10425
  if (x_api_version != null && x_api_version != undefined) {
10340
10426
  localVarHeaderParameter['x-api-version'] = x_api_version;
10341
10427
  }
@@ -10411,7 +10497,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
10411
10497
 
10412
10498
  localVarHeaderParameter['Content-Type'] = 'application/json';
10413
10499
 
10414
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10500
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10415
10501
  if (x_api_version != null && x_api_version != undefined) {
10416
10502
  localVarHeaderParameter['x-api-version'] = x_api_version;
10417
10503
  }
@@ -10552,7 +10638,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration)
10552
10638
 
10553
10639
 
10554
10640
 
10555
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10641
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10556
10642
  if (x_api_version != null && x_api_version != undefined) {
10557
10643
  localVarHeaderParameter['x-api-version'] = x_api_version;
10558
10644
  }
@@ -10671,7 +10757,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
10671
10757
 
10672
10758
  localVarHeaderParameter['Content-Type'] = 'application/json';
10673
10759
 
10674
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10760
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10675
10761
  if (x_api_version != null && x_api_version != undefined) {
10676
10762
  localVarHeaderParameter['x-api-version'] = x_api_version;
10677
10763
  }
@@ -10745,7 +10831,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
10745
10831
 
10746
10832
  localVarHeaderParameter['Content-Type'] = 'application/json';
10747
10833
 
10748
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10834
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10749
10835
  if (x_api_version != null && x_api_version != undefined) {
10750
10836
  localVarHeaderParameter['x-api-version'] = x_api_version;
10751
10837
  }
@@ -10818,7 +10904,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
10818
10904
 
10819
10905
 
10820
10906
 
10821
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10907
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10822
10908
  if (x_api_version != null && x_api_version != undefined) {
10823
10909
  localVarHeaderParameter['x-api-version'] = x_api_version;
10824
10910
  }
@@ -10900,7 +10986,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
10900
10986
 
10901
10987
 
10902
10988
 
10903
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
10989
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10904
10990
  if (x_api_version != null && x_api_version != undefined) {
10905
10991
  localVarHeaderParameter['x-api-version'] = x_api_version;
10906
10992
  }
@@ -10979,7 +11065,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
10979
11065
 
10980
11066
 
10981
11067
 
10982
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
11068
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
10983
11069
  if (x_api_version != null && x_api_version != undefined) {
10984
11070
  localVarHeaderParameter['x-api-version'] = x_api_version;
10985
11071
  }
@@ -11056,7 +11142,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
11056
11142
 
11057
11143
  localVarHeaderParameter['Content-Type'] = 'application/json';
11058
11144
 
11059
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
11145
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
11060
11146
  if (x_api_version != null && x_api_version != undefined) {
11061
11147
  localVarHeaderParameter['x-api-version'] = x_api_version;
11062
11148
  }
@@ -11134,7 +11220,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
11134
11220
 
11135
11221
  localVarHeaderParameter['Content-Type'] = 'application/json';
11136
11222
 
11137
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
11223
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
11138
11224
  if (x_api_version != null && x_api_version != undefined) {
11139
11225
  localVarHeaderParameter['x-api-version'] = x_api_version;
11140
11226
  }
@@ -11212,7 +11298,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
11212
11298
 
11213
11299
  localVarHeaderParameter['Content-Type'] = 'application/json';
11214
11300
 
11215
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
11301
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
11216
11302
  if (x_api_version != null && x_api_version != undefined) {
11217
11303
  localVarHeaderParameter['x-api-version'] = x_api_version;
11218
11304
  }
@@ -11466,7 +11552,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
11466
11552
 
11467
11553
 
11468
11554
 
11469
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
11555
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
11470
11556
  if (x_api_version != null && x_api_version != undefined) {
11471
11557
  localVarHeaderParameter['x-api-version'] = x_api_version;
11472
11558
  }
@@ -11542,7 +11628,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
11542
11628
 
11543
11629
 
11544
11630
 
11545
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
11631
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
11546
11632
  if (x_api_version != null && x_api_version != undefined) {
11547
11633
  localVarHeaderParameter['x-api-version'] = x_api_version;
11548
11634
  }
@@ -11621,7 +11707,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
11621
11707
 
11622
11708
 
11623
11709
 
11624
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
11710
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
11625
11711
  if (x_api_version != null && x_api_version != undefined) {
11626
11712
  localVarHeaderParameter['x-api-version'] = x_api_version;
11627
11713
  }
@@ -11697,7 +11783,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
11697
11783
 
11698
11784
 
11699
11785
 
11700
- localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.9';
11786
+ localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.1.2';
11701
11787
  if (x_api_version != null && x_api_version != undefined) {
11702
11788
  localVarHeaderParameter['x-api-version'] = x_api_version;
11703
11789
  }
@@ -11925,7 +12011,7 @@ export class Cashfree {
11925
12011
  } else {
11926
12012
  scope.setExtra('environment', 'production');
11927
12013
  }
11928
- scope.setExtra('release', "4.0.9");
12014
+ scope.setExtra('release', "4.1.2");
11929
12015
  });
11930
12016
  }
11931
12017
  try {
@@ -11986,7 +12072,7 @@ export class Cashfree {
11986
12072
  } else {
11987
12073
  scope.setExtra('environment', 'production');
11988
12074
  }
11989
- scope.setExtra('release', "4.0.9");
12075
+ scope.setExtra('release', "4.1.2");
11990
12076
  });
11991
12077
  }
11992
12078
  try {
@@ -12046,7 +12132,7 @@ export class Cashfree {
12046
12132
  } else {
12047
12133
  scope.setExtra('environment', 'production');
12048
12134
  }
12049
- scope.setExtra('release', "4.0.9");
12135
+ scope.setExtra('release', "4.1.2");
12050
12136
  });
12051
12137
  }
12052
12138
  try {
@@ -12107,7 +12193,7 @@ export class Cashfree {
12107
12193
  } else {
12108
12194
  scope.setExtra('environment', 'production');
12109
12195
  }
12110
- scope.setExtra('release', "4.0.9");
12196
+ scope.setExtra('release', "4.1.2");
12111
12197
  });
12112
12198
  }
12113
12199
  try {
@@ -12167,7 +12253,7 @@ export class Cashfree {
12167
12253
  } else {
12168
12254
  scope.setExtra('environment', 'production');
12169
12255
  }
12170
- scope.setExtra('release', "4.0.9");
12256
+ scope.setExtra('release', "4.1.2");
12171
12257
  });
12172
12258
  }
12173
12259
  try {
@@ -12227,7 +12313,7 @@ export class Cashfree {
12227
12313
  } else {
12228
12314
  scope.setExtra('environment', 'production');
12229
12315
  }
12230
- scope.setExtra('release', "4.0.9");
12316
+ scope.setExtra('release', "4.1.2");
12231
12317
  });
12232
12318
  }
12233
12319
  try {
@@ -12288,7 +12374,7 @@ export class Cashfree {
12288
12374
  } else {
12289
12375
  scope.setExtra('environment', 'production');
12290
12376
  }
12291
- scope.setExtra('release', "4.0.9");
12377
+ scope.setExtra('release', "4.1.2");
12292
12378
  });
12293
12379
  }
12294
12380
  try {
@@ -12348,7 +12434,7 @@ export class Cashfree {
12348
12434
  } else {
12349
12435
  scope.setExtra('environment', 'production');
12350
12436
  }
12351
- scope.setExtra('release', "4.0.9");
12437
+ scope.setExtra('release', "4.1.2");
12352
12438
  });
12353
12439
  }
12354
12440
  try {
@@ -12408,7 +12494,7 @@ export class Cashfree {
12408
12494
  } else {
12409
12495
  scope.setExtra('environment', 'production');
12410
12496
  }
12411
- scope.setExtra('release', "4.0.9");
12497
+ scope.setExtra('release', "4.1.2");
12412
12498
  });
12413
12499
  }
12414
12500
  try {
@@ -12469,7 +12555,7 @@ export class Cashfree {
12469
12555
  } else {
12470
12556
  scope.setExtra('environment', 'production');
12471
12557
  }
12472
- scope.setExtra('release', "4.0.9");
12558
+ scope.setExtra('release', "4.1.2");
12473
12559
  });
12474
12560
  }
12475
12561
  try {
@@ -12482,6 +12568,69 @@ export class Cashfree {
12482
12568
  }
12483
12569
  }
12484
12570
 
12571
+ /**
12572
+ * Use this API to upload KYC documents of a specific vendor.
12573
+ * @summary Upload Vendor Docs
12574
+ * @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
12575
+ * @param {string} vendor_id The id which uniquely identifies your vendor.
12576
+ * @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
12577
+ * @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
12578
+ * @param {string} [doc_type] Mention the type of the document you are uploading. Possible values: UIDAI_FRONT, UIDAI_BACK, UIDAI_NUMBER, DL, DL_NUMBER, PASSPORT_FRONT, PASSPORT_BACK, PASSPORT_NUMBER, VOTER_ID, VOTER_ID_NUMBER, PAN, PAN_NUMBER, GST, GSTIN_NUMBER, CIN, CIN_NUMBER, NBFC_CERTIFICATE. If the doc type ends with a number you should add the doc value else upload the doc file.
12579
+ * @param {string} [doc_value] Enter the display name of the uploaded file.
12580
+ * @param {File} [file] Select the document that should be uploaded or provide the path of that file. You cannot upload a file that is more than 2MB in size.
12581
+ * @param {*} [options] Override http request option.
12582
+ * @throws {RequiredError}
12583
+ * @memberof EasySplitApi
12584
+ */
12585
+ public static PGESUploadVendorsDocs(x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, doc_type?: string, doc_value?: string, file?: File, options?: AxiosRequestConfig) {
12586
+ if(Cashfree.XEnableErrorAnalytics) {
12587
+ Sentry.init({
12588
+ dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
12589
+ // Performance Monitoring
12590
+ tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
12591
+ // Set sampling rate for profiling - this is relative to tracesSampleRate
12592
+ profilesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!,
12593
+ attachStacktrace: true,
12594
+ enableTracing: true,
12595
+ beforeSend: (event) => {
12596
+ delete event.contexts.os;
12597
+ delete event.contexts.device;
12598
+ delete event.server_name;
12599
+ if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
12600
+ const stackTrace = event.exception.values[0].stacktrace;
12601
+ if (stackTrace && stackTrace.frames) {
12602
+
12603
+ const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
12604
+ if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
12605
+ if(Cashfree.XEnableErrorAnalytics) {
12606
+ return event;
12607
+ }
12608
+ return null;
12609
+ }
12610
+ }
12611
+ }
12612
+ return null;
12613
+ },
12614
+ });
12615
+ Sentry.configureScope((scope) => {
12616
+ if(Cashfree.XEnvironment == CFEnvironment.SANDBOX) {
12617
+ scope.setExtra('environment', 'sandbox');
12618
+ } else {
12619
+ scope.setExtra('environment', 'production');
12620
+ }
12621
+ scope.setExtra('release', "4.1.2");
12622
+ });
12623
+ }
12624
+ try {
12625
+ return EasySplitApiFp().pGESUploadVendorsDocs(x_api_version, vendor_id, x_request_id, x_idempotency_key, doc_type, doc_value, file, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
12626
+ } catch (error) {
12627
+ if(Cashfree.XEnableErrorAnalytics) {
12628
+ Sentry.captureException(error);
12629
+ }
12630
+ throw error;
12631
+ }
12632
+ }
12633
+
12485
12634
  /**
12486
12635
  * Split After Payment API splits the payments to vendors after successful payment from the customers.
12487
12636
  * @summary Split After Payment
@@ -12530,7 +12679,7 @@ export class Cashfree {
12530
12679
  } else {
12531
12680
  scope.setExtra('environment', 'production');
12532
12681
  }
12533
- scope.setExtra('release', "4.0.9");
12682
+ scope.setExtra('release', "4.1.2");
12534
12683
  });
12535
12684
  }
12536
12685
  try {
@@ -12590,7 +12739,7 @@ export class Cashfree {
12590
12739
  } else {
12591
12740
  scope.setExtra('environment', 'production');
12592
12741
  }
12593
- scope.setExtra('release', "4.0.9");
12742
+ scope.setExtra('release', "4.1.2");
12594
12743
  });
12595
12744
  }
12596
12745
  try {
@@ -12650,7 +12799,7 @@ export class Cashfree {
12650
12799
  } else {
12651
12800
  scope.setExtra('environment', 'production');
12652
12801
  }
12653
- scope.setExtra('release', "4.0.9");
12802
+ scope.setExtra('release', "4.1.2");
12654
12803
  });
12655
12804
  }
12656
12805
  try {
@@ -12710,7 +12859,7 @@ export class Cashfree {
12710
12859
  } else {
12711
12860
  scope.setExtra('environment', 'production');
12712
12861
  }
12713
- scope.setExtra('release', "4.0.9");
12862
+ scope.setExtra('release', "4.1.2");
12714
12863
  });
12715
12864
  }
12716
12865
  try {
@@ -12770,7 +12919,7 @@ export class Cashfree {
12770
12919
  } else {
12771
12920
  scope.setExtra('environment', 'production');
12772
12921
  }
12773
- scope.setExtra('release', "4.0.9");
12922
+ scope.setExtra('release', "4.1.2");
12774
12923
  });
12775
12924
  }
12776
12925
  try {
@@ -12830,7 +12979,7 @@ export class Cashfree {
12830
12979
  } else {
12831
12980
  scope.setExtra('environment', 'production');
12832
12981
  }
12833
- scope.setExtra('release', "4.0.9");
12982
+ scope.setExtra('release', "4.1.2");
12834
12983
  });
12835
12984
  }
12836
12985
  try {
@@ -12890,7 +13039,7 @@ export class Cashfree {
12890
13039
  } else {
12891
13040
  scope.setExtra('environment', 'production');
12892
13041
  }
12893
- scope.setExtra('release', "4.0.9");
13042
+ scope.setExtra('release', "4.1.2");
12894
13043
  });
12895
13044
  }
12896
13045
  try {
@@ -12950,7 +13099,7 @@ export class Cashfree {
12950
13099
  } else {
12951
13100
  scope.setExtra('environment', 'production');
12952
13101
  }
12953
- scope.setExtra('release', "4.0.9");
13102
+ scope.setExtra('release', "4.1.2");
12954
13103
  });
12955
13104
  }
12956
13105
  try {
@@ -13010,7 +13159,7 @@ export class Cashfree {
13010
13159
  } else {
13011
13160
  scope.setExtra('environment', 'production');
13012
13161
  }
13013
- scope.setExtra('release', "4.0.9");
13162
+ scope.setExtra('release', "4.1.2");
13014
13163
  });
13015
13164
  }
13016
13165
  try {
@@ -13070,7 +13219,7 @@ export class Cashfree {
13070
13219
  } else {
13071
13220
  scope.setExtra('environment', 'production');
13072
13221
  }
13073
- scope.setExtra('release', "4.0.9");
13222
+ scope.setExtra('release', "4.1.2");
13074
13223
  });
13075
13224
  }
13076
13225
  try {
@@ -13131,7 +13280,7 @@ export class Cashfree {
13131
13280
  } else {
13132
13281
  scope.setExtra('environment', 'production');
13133
13282
  }
13134
- scope.setExtra('release', "4.0.9");
13283
+ scope.setExtra('release', "4.1.2");
13135
13284
  });
13136
13285
  }
13137
13286
  try {
@@ -13193,7 +13342,7 @@ export class Cashfree {
13193
13342
  } else {
13194
13343
  scope.setExtra('environment', 'production');
13195
13344
  }
13196
- scope.setExtra('release', "4.0.9");
13345
+ scope.setExtra('release', "4.1.2");
13197
13346
  });
13198
13347
  }
13199
13348
  try {
@@ -13253,7 +13402,7 @@ export class Cashfree {
13253
13402
  } else {
13254
13403
  scope.setExtra('environment', 'production');
13255
13404
  }
13256
- scope.setExtra('release', "4.0.9");
13405
+ scope.setExtra('release', "4.1.2");
13257
13406
  });
13258
13407
  }
13259
13408
  try {
@@ -13313,7 +13462,7 @@ export class Cashfree {
13313
13462
  } else {
13314
13463
  scope.setExtra('environment', 'production');
13315
13464
  }
13316
- scope.setExtra('release', "4.0.9");
13465
+ scope.setExtra('release', "4.1.2");
13317
13466
  });
13318
13467
  }
13319
13468
  try {
@@ -13373,7 +13522,7 @@ export class Cashfree {
13373
13522
  } else {
13374
13523
  scope.setExtra('environment', 'production');
13375
13524
  }
13376
- scope.setExtra('release', "4.0.9");
13525
+ scope.setExtra('release', "4.1.2");
13377
13526
  });
13378
13527
  }
13379
13528
  try {
@@ -13433,7 +13582,7 @@ export class Cashfree {
13433
13582
  } else {
13434
13583
  scope.setExtra('environment', 'production');
13435
13584
  }
13436
- scope.setExtra('release', "4.0.9");
13585
+ scope.setExtra('release', "4.1.2");
13437
13586
  });
13438
13587
  }
13439
13588
  try {
@@ -13494,7 +13643,7 @@ export class Cashfree {
13494
13643
  } else {
13495
13644
  scope.setExtra('environment', 'production');
13496
13645
  }
13497
- scope.setExtra('release', "4.0.9");
13646
+ scope.setExtra('release', "4.1.2");
13498
13647
  });
13499
13648
  }
13500
13649
  try {
@@ -13555,7 +13704,7 @@ export class Cashfree {
13555
13704
  } else {
13556
13705
  scope.setExtra('environment', 'production');
13557
13706
  }
13558
- scope.setExtra('release', "4.0.9");
13707
+ scope.setExtra('release', "4.1.2");
13559
13708
  });
13560
13709
  }
13561
13710
  try {
@@ -13616,7 +13765,7 @@ export class Cashfree {
13616
13765
  } else {
13617
13766
  scope.setExtra('environment', 'production');
13618
13767
  }
13619
- scope.setExtra('release', "4.0.9");
13768
+ scope.setExtra('release', "4.1.2");
13620
13769
  });
13621
13770
  }
13622
13771
  try {
@@ -13676,7 +13825,7 @@ export class Cashfree {
13676
13825
  } else {
13677
13826
  scope.setExtra('environment', 'production');
13678
13827
  }
13679
- scope.setExtra('release', "4.0.9");
13828
+ scope.setExtra('release', "4.1.2");
13680
13829
  });
13681
13830
  }
13682
13831
  try {
@@ -13736,7 +13885,7 @@ export class Cashfree {
13736
13885
  } else {
13737
13886
  scope.setExtra('environment', 'production');
13738
13887
  }
13739
- scope.setExtra('release', "4.0.9");
13888
+ scope.setExtra('release', "4.1.2");
13740
13889
  });
13741
13890
  }
13742
13891
  try {
@@ -13797,7 +13946,7 @@ export class Cashfree {
13797
13946
  } else {
13798
13947
  scope.setExtra('environment', 'production');
13799
13948
  }
13800
- scope.setExtra('release', "4.0.9");
13949
+ scope.setExtra('release', "4.1.2");
13801
13950
  });
13802
13951
  }
13803
13952
  try {
@@ -13858,7 +14007,7 @@ export class Cashfree {
13858
14007
  } else {
13859
14008
  scope.setExtra('environment', 'production');
13860
14009
  }
13861
- scope.setExtra('release', "4.0.9");
14010
+ scope.setExtra('release', "4.1.2");
13862
14011
  });
13863
14012
  }
13864
14013
  try {
@@ -13918,7 +14067,7 @@ export class Cashfree {
13918
14067
  } else {
13919
14068
  scope.setExtra('environment', 'production');
13920
14069
  }
13921
- scope.setExtra('release', "4.0.9");
14070
+ scope.setExtra('release', "4.1.2");
13922
14071
  });
13923
14072
  }
13924
14073
  try {
@@ -13980,7 +14129,7 @@ export class Cashfree {
13980
14129
  } else {
13981
14130
  scope.setExtra('environment', 'production');
13982
14131
  }
13983
- scope.setExtra('release', "4.0.9");
14132
+ scope.setExtra('release', "4.1.2");
13984
14133
  });
13985
14134
  }
13986
14135
  try {
@@ -14042,7 +14191,7 @@ export class Cashfree {
14042
14191
  } else {
14043
14192
  scope.setExtra('environment', 'production');
14044
14193
  }
14045
- scope.setExtra('release', "4.0.9");
14194
+ scope.setExtra('release', "4.1.2");
14046
14195
  });
14047
14196
  }
14048
14197
  try {
@@ -14102,7 +14251,7 @@ export class Cashfree {
14102
14251
  } else {
14103
14252
  scope.setExtra('environment', 'production');
14104
14253
  }
14105
- scope.setExtra('release', "4.0.9");
14254
+ scope.setExtra('release', "4.1.2");
14106
14255
  });
14107
14256
  }
14108
14257
  try {
@@ -14162,7 +14311,7 @@ export class Cashfree {
14162
14311
  } else {
14163
14312
  scope.setExtra('environment', 'production');
14164
14313
  }
14165
- scope.setExtra('release', "4.0.9");
14314
+ scope.setExtra('release', "4.1.2");
14166
14315
  });
14167
14316
  }
14168
14317
  try {
@@ -14222,7 +14371,7 @@ export class Cashfree {
14222
14371
  } else {
14223
14372
  scope.setExtra('environment', 'production');
14224
14373
  }
14225
- scope.setExtra('release', "4.0.9");
14374
+ scope.setExtra('release', "4.1.2");
14226
14375
  });
14227
14376
  }
14228
14377
  try {
@@ -14282,7 +14431,7 @@ export class Cashfree {
14282
14431
  } else {
14283
14432
  scope.setExtra('environment', 'production');
14284
14433
  }
14285
- scope.setExtra('release', "4.0.9");
14434
+ scope.setExtra('release', "4.1.2");
14286
14435
  });
14287
14436
  }
14288
14437
  try {
@@ -14343,7 +14492,7 @@ export class Cashfree {
14343
14492
  } else {
14344
14493
  scope.setExtra('environment', 'production');
14345
14494
  }
14346
- scope.setExtra('release', "4.0.9");
14495
+ scope.setExtra('release', "4.1.2");
14347
14496
  });
14348
14497
  }
14349
14498
  try {
@@ -14404,7 +14553,7 @@ export class Cashfree {
14404
14553
  } else {
14405
14554
  scope.setExtra('environment', 'production');
14406
14555
  }
14407
- scope.setExtra('release', "4.0.9");
14556
+ scope.setExtra('release', "4.1.2");
14408
14557
  });
14409
14558
  }
14410
14559
  try {
@@ -14465,7 +14614,7 @@ export class Cashfree {
14465
14614
  } else {
14466
14615
  scope.setExtra('environment', 'production');
14467
14616
  }
14468
- scope.setExtra('release', "4.0.9");
14617
+ scope.setExtra('release', "4.1.2");
14469
14618
  });
14470
14619
  }
14471
14620
  try {
@@ -14526,7 +14675,7 @@ export class Cashfree {
14526
14675
  } else {
14527
14676
  scope.setExtra('environment', 'production');
14528
14677
  }
14529
- scope.setExtra('release', "4.0.9");
14678
+ scope.setExtra('release', "4.1.2");
14530
14679
  });
14531
14680
  }
14532
14681
  try {
@@ -14587,7 +14736,7 @@ export class Cashfree {
14587
14736
  } else {
14588
14737
  scope.setExtra('environment', 'production');
14589
14738
  }
14590
- scope.setExtra('release', "4.0.9");
14739
+ scope.setExtra('release', "4.1.2");
14591
14740
  });
14592
14741
  }
14593
14742
  try {
@@ -14648,7 +14797,7 @@ export class Cashfree {
14648
14797
  } else {
14649
14798
  scope.setExtra('environment', 'production');
14650
14799
  }
14651
- scope.setExtra('release', "4.0.9");
14800
+ scope.setExtra('release', "4.1.2");
14652
14801
  });
14653
14802
  }
14654
14803
  try {
@@ -14709,7 +14858,7 @@ export class Cashfree {
14709
14858
  } else {
14710
14859
  scope.setExtra('environment', 'production');
14711
14860
  }
14712
- scope.setExtra('release', "4.0.9");
14861
+ scope.setExtra('release', "4.1.2");
14713
14862
  });
14714
14863
  }
14715
14864
  try {
@@ -14770,7 +14919,7 @@ export class Cashfree {
14770
14919
  } else {
14771
14920
  scope.setExtra('environment', 'production');
14772
14921
  }
14773
- scope.setExtra('release', "4.0.9");
14922
+ scope.setExtra('release', "4.1.2");
14774
14923
  });
14775
14924
  }
14776
14925
  try {
@@ -14831,7 +14980,7 @@ export class Cashfree {
14831
14980
  } else {
14832
14981
  scope.setExtra('environment', 'production');
14833
14982
  }
14834
- scope.setExtra('release', "4.0.9");
14983
+ scope.setExtra('release', "4.1.2");
14835
14984
  });
14836
14985
  }
14837
14986
  try {