cashfree-pg 5.0.2 → 5.0.3
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 +162 -162
- package/dist/api.js +161 -162
- package/dist/esm/api.js +161 -162
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -10943,7 +10943,7 @@ const CustomersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
10943
10943
|
|
|
10944
10944
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10945
10945
|
|
|
10946
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
10946
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
10947
10947
|
if (x_api_version != null && x_api_version != undefined) {
|
|
10948
10948
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
10949
10949
|
}
|
|
@@ -10988,7 +10988,7 @@ const CustomersApiFp = function(cashfree: Cashfree) {
|
|
|
10988
10988
|
async pGCreateCustomer(x_api_version: string, CreateCustomerRequest: CreateCustomerRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerEntity>> {
|
|
10989
10989
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCreateCustomer(x_api_version, CreateCustomerRequest, x_request_id, x_idempotency_key, options);
|
|
10990
10990
|
var url = "https://sandbox.cashfree.com/pg";
|
|
10991
|
-
if(
|
|
10991
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
10992
10992
|
url = "https://api.cashfree.com/pg"
|
|
10993
10993
|
}
|
|
10994
10994
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -11058,7 +11058,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11058
11058
|
|
|
11059
11059
|
|
|
11060
11060
|
|
|
11061
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11061
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11062
11062
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11063
11063
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11064
11064
|
}
|
|
@@ -11126,7 +11126,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11126
11126
|
|
|
11127
11127
|
|
|
11128
11128
|
|
|
11129
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11129
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11130
11130
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11131
11131
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11132
11132
|
}
|
|
@@ -11194,7 +11194,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11194
11194
|
|
|
11195
11195
|
|
|
11196
11196
|
|
|
11197
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11197
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11198
11198
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11199
11199
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11200
11200
|
}
|
|
@@ -11262,7 +11262,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11262
11262
|
|
|
11263
11263
|
|
|
11264
11264
|
|
|
11265
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11265
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11266
11266
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11267
11267
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11268
11268
|
}
|
|
@@ -11352,7 +11352,7 @@ const DisputesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11352
11352
|
|
|
11353
11353
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
11354
11354
|
|
|
11355
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11355
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11356
11356
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11357
11357
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11358
11358
|
}
|
|
@@ -11397,7 +11397,7 @@ const DisputesApiFp = function(cashfree: Cashfree) {
|
|
|
11397
11397
|
async pGAcceptDisputeByID(x_api_version: string, dispute_id: number, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisputesEntityMerchantAccepted>> {
|
|
11398
11398
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGAcceptDisputeByID(x_api_version, dispute_id, x_request_id, x_idempotency_key, options);
|
|
11399
11399
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11400
|
-
if(
|
|
11400
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11401
11401
|
url = "https://api.cashfree.com/pg"
|
|
11402
11402
|
}
|
|
11403
11403
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -11415,7 +11415,7 @@ const DisputesApiFp = function(cashfree: Cashfree) {
|
|
|
11415
11415
|
async pGFetchDisputeByID(x_api_version: string, dispute_id: number, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisputesEntity>> {
|
|
11416
11416
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchDisputeByID(x_api_version, dispute_id, x_request_id, x_idempotency_key, options);
|
|
11417
11417
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11418
|
-
if(
|
|
11418
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11419
11419
|
url = "https://api.cashfree.com/pg"
|
|
11420
11420
|
}
|
|
11421
11421
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -11433,7 +11433,7 @@ const DisputesApiFp = function(cashfree: Cashfree) {
|
|
|
11433
11433
|
async pGFetchOrderDisputes(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DisputesEntity>>> {
|
|
11434
11434
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchOrderDisputes(x_api_version, order_id, x_request_id, x_idempotency_key, options);
|
|
11435
11435
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11436
|
-
if(
|
|
11436
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11437
11437
|
url = "https://api.cashfree.com/pg"
|
|
11438
11438
|
}
|
|
11439
11439
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -11451,7 +11451,7 @@ const DisputesApiFp = function(cashfree: Cashfree) {
|
|
|
11451
11451
|
async pGFetchPaymentDisputes(x_api_version: string, cf_payment_id: number, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DisputesEntity>>> {
|
|
11452
11452
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchPaymentDisputes(x_api_version, cf_payment_id, x_request_id, x_idempotency_key, options);
|
|
11453
11453
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11454
|
-
if(
|
|
11454
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11455
11455
|
url = "https://api.cashfree.com/pg"
|
|
11456
11456
|
}
|
|
11457
11457
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -11472,7 +11472,7 @@ const DisputesApiFp = function(cashfree: Cashfree) {
|
|
|
11472
11472
|
async pGUploadDisputesDocuments(x_api_version: string, dispute_id: number, file: string, doc_type: string, x_request_id?: string, x_idempotency_key?: string, note?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DisputesEntity>>> {
|
|
11473
11473
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGUploadDisputesDocuments(x_api_version, dispute_id, file, doc_type, x_request_id, x_idempotency_key, note, options);
|
|
11474
11474
|
var url = "https://sandbox.cashfree.com/pg";
|
|
11475
|
-
if(
|
|
11475
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
11476
11476
|
url = "https://api.cashfree.com/pg"
|
|
11477
11477
|
}
|
|
11478
11478
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -11545,7 +11545,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11545
11545
|
|
|
11546
11546
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11547
11547
|
|
|
11548
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11548
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11549
11549
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11550
11550
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11551
11551
|
}
|
|
@@ -11617,7 +11617,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11617
11617
|
|
|
11618
11618
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11619
11619
|
|
|
11620
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11620
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11621
11621
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11622
11622
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11623
11623
|
}
|
|
@@ -11685,7 +11685,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11685
11685
|
|
|
11686
11686
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11687
11687
|
|
|
11688
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11688
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11689
11689
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11690
11690
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11691
11691
|
}
|
|
@@ -11758,7 +11758,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11758
11758
|
|
|
11759
11759
|
|
|
11760
11760
|
|
|
11761
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11761
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11762
11762
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11763
11763
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11764
11764
|
}
|
|
@@ -11826,7 +11826,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11826
11826
|
|
|
11827
11827
|
|
|
11828
11828
|
|
|
11829
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11829
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11830
11830
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11831
11831
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11832
11832
|
}
|
|
@@ -11894,7 +11894,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11894
11894
|
|
|
11895
11895
|
|
|
11896
11896
|
|
|
11897
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11897
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11898
11898
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11899
11899
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11900
11900
|
}
|
|
@@ -11969,7 +11969,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
11969
11969
|
|
|
11970
11970
|
|
|
11971
11971
|
|
|
11972
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
11972
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
11973
11973
|
if (x_api_version != null && x_api_version != undefined) {
|
|
11974
11974
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
11975
11975
|
}
|
|
@@ -12037,7 +12037,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12037
12037
|
|
|
12038
12038
|
|
|
12039
12039
|
|
|
12040
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12040
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12041
12041
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12042
12042
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12043
12043
|
}
|
|
@@ -12104,7 +12104,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12104
12104
|
|
|
12105
12105
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12106
12106
|
|
|
12107
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12107
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12108
12108
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12109
12109
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12110
12110
|
}
|
|
@@ -12176,7 +12176,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12176
12176
|
|
|
12177
12177
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12178
12178
|
|
|
12179
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12179
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12180
12180
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12181
12181
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12182
12182
|
}
|
|
@@ -12263,7 +12263,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12263
12263
|
|
|
12264
12264
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
12265
12265
|
|
|
12266
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12266
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12267
12267
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12268
12268
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12269
12269
|
}
|
|
@@ -12335,7 +12335,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12335
12335
|
|
|
12336
12336
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12337
12337
|
|
|
12338
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12338
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12339
12339
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12340
12340
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12341
12341
|
}
|
|
@@ -12403,7 +12403,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12403
12403
|
|
|
12404
12404
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12405
12405
|
|
|
12406
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12406
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12407
12407
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12408
12408
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12409
12409
|
}
|
|
@@ -12472,7 +12472,7 @@ const EasySplitApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12472
12472
|
|
|
12473
12473
|
|
|
12474
12474
|
|
|
12475
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12475
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12476
12476
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12477
12477
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12478
12478
|
}
|
|
@@ -12517,7 +12517,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12517
12517
|
async pGESCreateAdjustment(x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, VendorAdjustmentRequest?: VendorAdjustmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VendorAdjustmentSuccessResponse>> {
|
|
12518
12518
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESCreateAdjustment(x_api_version, vendor_id, x_request_id, x_idempotency_key, VendorAdjustmentRequest, options);
|
|
12519
12519
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12520
|
-
if(
|
|
12520
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12521
12521
|
url = "https://api.cashfree.com/pg"
|
|
12522
12522
|
}
|
|
12523
12523
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12536,7 +12536,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12536
12536
|
async pGESCreateOnDemandTransfer(x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, AdjustVendorBalanceRequest?: AdjustVendorBalanceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdjustVendorBalanceResponse>> {
|
|
12537
12537
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESCreateOnDemandTransfer(x_api_version, vendor_id, x_request_id, x_idempotency_key, AdjustVendorBalanceRequest, options);
|
|
12538
12538
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12539
|
-
if(
|
|
12539
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12540
12540
|
url = "https://api.cashfree.com/pg"
|
|
12541
12541
|
}
|
|
12542
12542
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12554,7 +12554,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12554
12554
|
async pGESCreateVendors(x_api_version: string, x_request_id?: string, x_idempotency_key?: string, CreateVendorRequest?: CreateVendorRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateVendorResponse>> {
|
|
12555
12555
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESCreateVendors(x_api_version, x_request_id, x_idempotency_key, CreateVendorRequest, options);
|
|
12556
12556
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12557
|
-
if(
|
|
12557
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12558
12558
|
url = "https://api.cashfree.com/pg"
|
|
12559
12559
|
}
|
|
12560
12560
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12573,7 +12573,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12573
12573
|
async pGESDownloadVendorsDocs(x_api_version: string, doc_type: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VendorDocumentDownloadResponse>> {
|
|
12574
12574
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESDownloadVendorsDocs(x_api_version, doc_type, vendor_id, x_request_id, x_idempotency_key, options);
|
|
12575
12575
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12576
|
-
if(
|
|
12576
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12577
12577
|
url = "https://api.cashfree.com/pg"
|
|
12578
12578
|
}
|
|
12579
12579
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12591,7 +12591,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12591
12591
|
async pGESFetchVendors(x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VendorEntity>> {
|
|
12592
12592
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESFetchVendors(x_api_version, vendor_id, x_request_id, x_idempotency_key, options);
|
|
12593
12593
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12594
|
-
if(
|
|
12594
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12595
12595
|
url = "https://api.cashfree.com/pg"
|
|
12596
12596
|
}
|
|
12597
12597
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12609,7 +12609,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12609
12609
|
async pGESGetVendorBalance(x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VendorBalance>> {
|
|
12610
12610
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESGetVendorBalance(x_api_version, vendor_id, x_request_id, x_idempotency_key, options);
|
|
12611
12611
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12612
|
-
if(
|
|
12612
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12613
12613
|
url = "https://api.cashfree.com/pg"
|
|
12614
12614
|
}
|
|
12615
12615
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12628,7 +12628,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12628
12628
|
async pGESGetVendorBalanceTransferCharges(x_api_version: string, amount: number, rate_type: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VendorBalanceTransferCharges>> {
|
|
12629
12629
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESGetVendorBalanceTransferCharges(x_api_version, amount, rate_type, x_request_id, x_idempotency_key, options);
|
|
12630
12630
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12631
|
-
if(
|
|
12631
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12632
12632
|
url = "https://api.cashfree.com/pg"
|
|
12633
12633
|
}
|
|
12634
12634
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12646,7 +12646,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12646
12646
|
async pGESGetVendorsDocs(x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VendorDocumentsResponse>> {
|
|
12647
12647
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESGetVendorsDocs(x_api_version, vendor_id, x_request_id, x_idempotency_key, options);
|
|
12648
12648
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12649
|
-
if(
|
|
12649
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12650
12650
|
url = "https://api.cashfree.com/pg"
|
|
12651
12651
|
}
|
|
12652
12652
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12664,7 +12664,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12664
12664
|
async pGESOrderRecon(x_api_version: string, x_request_id?: string, x_idempotency_key?: string, ESOrderReconRequest?: ESOrderReconRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ESOrderReconResponse>> {
|
|
12665
12665
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESOrderRecon(x_api_version, x_request_id, x_idempotency_key, ESOrderReconRequest, options);
|
|
12666
12666
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12667
|
-
if(
|
|
12667
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12668
12668
|
url = "https://api.cashfree.com/pg"
|
|
12669
12669
|
}
|
|
12670
12670
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12683,7 +12683,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12683
12683
|
async pGESUpdateVendors(x_api_version: string, vendor_id: string, x_request_id?: string, x_idempotency_key?: string, UpdateVendorRequest?: UpdateVendorRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateVendorResponse>> {
|
|
12684
12684
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESUpdateVendors(x_api_version, vendor_id, x_request_id, x_idempotency_key, UpdateVendorRequest, options);
|
|
12685
12685
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12686
|
-
if(
|
|
12686
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12687
12687
|
url = "https://api.cashfree.com/pg"
|
|
12688
12688
|
}
|
|
12689
12689
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12704,7 +12704,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12704
12704
|
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>> {
|
|
12705
12705
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGESUploadVendorsDocs(x_api_version, vendor_id, x_request_id, x_idempotency_key, doc_type, doc_value, file, options);
|
|
12706
12706
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12707
|
-
if(
|
|
12707
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12708
12708
|
url = "https://api.cashfree.com/pg"
|
|
12709
12709
|
}
|
|
12710
12710
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12723,7 +12723,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12723
12723
|
async pGOrderSplitAfterPayment(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, SplitAfterPaymentRequest?: SplitAfterPaymentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SplitAfterPaymentResponse>> {
|
|
12724
12724
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderSplitAfterPayment(x_api_version, order_id, x_request_id, x_idempotency_key, SplitAfterPaymentRequest, options);
|
|
12725
12725
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12726
|
-
if(
|
|
12726
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12727
12727
|
url = "https://api.cashfree.com/pg"
|
|
12728
12728
|
}
|
|
12729
12729
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12741,7 +12741,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12741
12741
|
async pGOrderStaticSplit(x_api_version: string, x_request_id?: string, x_idempotency_key?: string, StaticSplitRequest?: StaticSplitRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaticSplitResponse>> {
|
|
12742
12742
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderStaticSplit(x_api_version, x_request_id, x_idempotency_key, StaticSplitRequest, options);
|
|
12743
12743
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12744
|
-
if(
|
|
12744
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12745
12745
|
url = "https://api.cashfree.com/pg"
|
|
12746
12746
|
}
|
|
12747
12747
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12759,7 +12759,7 @@ const EasySplitApiFp = function(cashfree: Cashfree) {
|
|
|
12759
12759
|
async pGSplitOrderRecon(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SplitOrderReconSuccessResponse>> {
|
|
12760
12760
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGSplitOrderRecon(x_api_version, order_id, x_request_id, x_idempotency_key, options);
|
|
12761
12761
|
var url = "https://sandbox.cashfree.com/pg";
|
|
12762
|
-
if(
|
|
12762
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
12763
12763
|
url = "https://api.cashfree.com/pg"
|
|
12764
12764
|
}
|
|
12765
12765
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -12830,7 +12830,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12830
12830
|
|
|
12831
12831
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12832
12832
|
|
|
12833
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12833
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12834
12834
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12835
12835
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12836
12836
|
}
|
|
@@ -12900,7 +12900,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12900
12900
|
|
|
12901
12901
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12902
12902
|
|
|
12903
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12903
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12904
12904
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12905
12905
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12906
12906
|
}
|
|
@@ -12970,7 +12970,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
12970
12970
|
|
|
12971
12971
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12972
12972
|
|
|
12973
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
12973
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
12974
12974
|
if (x_api_version != null && x_api_version != undefined) {
|
|
12975
12975
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
12976
12976
|
}
|
|
@@ -13040,7 +13040,7 @@ const EligibilityApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13040
13040
|
|
|
13041
13041
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13042
13042
|
|
|
13043
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13043
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13044
13044
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13045
13045
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13046
13046
|
}
|
|
@@ -13085,7 +13085,7 @@ const EligibilityApiFp = function(cashfree: Cashfree) {
|
|
|
13085
13085
|
async pGEligibilityFetchCardlessEMI(x_api_version: string, EligibilityFetchCardlessEMIRequest: EligibilityFetchCardlessEMIRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EligibilityCardlessEMIEntity>>> {
|
|
13086
13086
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGEligibilityFetchCardlessEMI(x_api_version, EligibilityFetchCardlessEMIRequest, x_request_id, x_idempotency_key, options);
|
|
13087
13087
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13088
|
-
if(
|
|
13088
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13089
13089
|
url = "https://api.cashfree.com/pg"
|
|
13090
13090
|
}
|
|
13091
13091
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13103,7 +13103,7 @@ const EligibilityApiFp = function(cashfree: Cashfree) {
|
|
|
13103
13103
|
async pGEligibilityFetchOffers(x_api_version: string, EligibilityFetchOffersRequest: EligibilityFetchOffersRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EligibilityOfferEntity>>> {
|
|
13104
13104
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGEligibilityFetchOffers(x_api_version, EligibilityFetchOffersRequest, x_request_id, x_idempotency_key, options);
|
|
13105
13105
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13106
|
-
if(
|
|
13106
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13107
13107
|
url = "https://api.cashfree.com/pg"
|
|
13108
13108
|
}
|
|
13109
13109
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13121,7 +13121,7 @@ const EligibilityApiFp = function(cashfree: Cashfree) {
|
|
|
13121
13121
|
async pGEligibilityFetchPaylater(x_api_version: string, EligibilityFetchPaylaterRequest: EligibilityFetchPaylaterRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EligibilityPaylaterEntity>>> {
|
|
13122
13122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGEligibilityFetchPaylater(x_api_version, EligibilityFetchPaylaterRequest, x_request_id, x_idempotency_key, options);
|
|
13123
13123
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13124
|
-
if(
|
|
13124
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13125
13125
|
url = "https://api.cashfree.com/pg"
|
|
13126
13126
|
}
|
|
13127
13127
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13139,7 +13139,7 @@ const EligibilityApiFp = function(cashfree: Cashfree) {
|
|
|
13139
13139
|
async pGEligibilityFetchPaymentMethods(x_api_version: string, EligibilityFetchPaymentMethodsRequest: EligibilityFetchPaymentMethodsRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EligibilityPaymentMethodsEntity>>> {
|
|
13140
13140
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGEligibilityFetchPaymentMethods(x_api_version, EligibilityFetchPaymentMethodsRequest, x_request_id, x_idempotency_key, options);
|
|
13141
13141
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13142
|
-
if(
|
|
13142
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13143
13143
|
url = "https://api.cashfree.com/pg"
|
|
13144
13144
|
}
|
|
13145
13145
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13210,7 +13210,7 @@ const OffersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13210
13210
|
|
|
13211
13211
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13212
13212
|
|
|
13213
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13213
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13214
13214
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13215
13215
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13216
13216
|
}
|
|
@@ -13279,7 +13279,7 @@ const OffersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13279
13279
|
|
|
13280
13280
|
|
|
13281
13281
|
|
|
13282
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13282
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13283
13283
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13284
13284
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13285
13285
|
}
|
|
@@ -13323,7 +13323,7 @@ const OffersApiFp = function(cashfree: Cashfree) {
|
|
|
13323
13323
|
async pGCreateOffer(x_api_version: string, CreateOfferRequest: CreateOfferRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OfferEntity>> {
|
|
13324
13324
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCreateOffer(x_api_version, CreateOfferRequest, x_request_id, x_idempotency_key, options);
|
|
13325
13325
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13326
|
-
if(
|
|
13326
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13327
13327
|
url = "https://api.cashfree.com/pg"
|
|
13328
13328
|
}
|
|
13329
13329
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13341,7 +13341,7 @@ const OffersApiFp = function(cashfree: Cashfree) {
|
|
|
13341
13341
|
async pGFetchOffer(x_api_version: string, offer_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OfferEntity>> {
|
|
13342
13342
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchOffer(x_api_version, offer_id, x_request_id, x_idempotency_key, options);
|
|
13343
13343
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13344
|
-
if(
|
|
13344
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13345
13345
|
url = "https://api.cashfree.com/pg"
|
|
13346
13346
|
}
|
|
13347
13347
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13412,7 +13412,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13412
13412
|
|
|
13413
13413
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13414
13414
|
|
|
13415
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13415
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13416
13416
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13417
13417
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13418
13418
|
}
|
|
@@ -13481,7 +13481,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13481
13481
|
|
|
13482
13482
|
|
|
13483
13483
|
|
|
13484
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13484
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13485
13485
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13486
13486
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13487
13487
|
}
|
|
@@ -13549,7 +13549,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13549
13549
|
|
|
13550
13550
|
|
|
13551
13551
|
|
|
13552
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13552
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13553
13553
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13554
13554
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13555
13555
|
}
|
|
@@ -13622,7 +13622,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13622
13622
|
|
|
13623
13623
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13624
13624
|
|
|
13625
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13625
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13626
13626
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13627
13627
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13628
13628
|
}
|
|
@@ -13696,7 +13696,7 @@ const OrdersApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13696
13696
|
|
|
13697
13697
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13698
13698
|
|
|
13699
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13699
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13700
13700
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13701
13701
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13702
13702
|
}
|
|
@@ -13741,7 +13741,7 @@ const OrdersApiFp = function(cashfree: Cashfree) {
|
|
|
13741
13741
|
async pGCreateOrder(x_api_version: string, CreateOrderRequest: CreateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderEntity>> {
|
|
13742
13742
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCreateOrder(x_api_version, CreateOrderRequest, x_request_id, x_idempotency_key, options);
|
|
13743
13743
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13744
|
-
if(
|
|
13744
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13745
13745
|
url = "https://api.cashfree.com/pg"
|
|
13746
13746
|
}
|
|
13747
13747
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13759,7 +13759,7 @@ const OrdersApiFp = function(cashfree: Cashfree) {
|
|
|
13759
13759
|
async pGFetchOrder(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderEntity>> {
|
|
13760
13760
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchOrder(x_api_version, order_id, x_request_id, x_idempotency_key, options);
|
|
13761
13761
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13762
|
-
if(
|
|
13762
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13763
13763
|
url = "https://api.cashfree.com/pg"
|
|
13764
13764
|
}
|
|
13765
13765
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13777,7 +13777,7 @@ const OrdersApiFp = function(cashfree: Cashfree) {
|
|
|
13777
13777
|
async pGFetchOrderExtendedData(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderExtendedDataEntity>> {
|
|
13778
13778
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchOrderExtendedData(x_api_version, order_id, x_request_id, x_idempotency_key, options);
|
|
13779
13779
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13780
|
-
if(
|
|
13780
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13781
13781
|
url = "https://api.cashfree.com/pg"
|
|
13782
13782
|
}
|
|
13783
13783
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13796,7 +13796,7 @@ const OrdersApiFp = function(cashfree: Cashfree) {
|
|
|
13796
13796
|
async pGTerminateOrder(x_api_version: string, order_id: string, TerminateOrderRequest: TerminateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderEntity>> {
|
|
13797
13797
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGTerminateOrder(x_api_version, order_id, TerminateOrderRequest, x_request_id, x_idempotency_key, options);
|
|
13798
13798
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13799
|
-
if(
|
|
13799
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13800
13800
|
url = "https://api.cashfree.com/pg"
|
|
13801
13801
|
}
|
|
13802
13802
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13815,7 +13815,7 @@ const OrdersApiFp = function(cashfree: Cashfree) {
|
|
|
13815
13815
|
async pGUpdateOrderExtendedData(x_api_version: string, order_id: string, UpdateOrderExtendedRequest: UpdateOrderExtendedRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateOrderExtendedDataEntity>> {
|
|
13816
13816
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGUpdateOrderExtendedData(x_api_version, order_id, UpdateOrderExtendedRequest, x_request_id, x_idempotency_key, options);
|
|
13817
13817
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13818
|
-
if(
|
|
13818
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13819
13819
|
url = "https://api.cashfree.com/pg"
|
|
13820
13820
|
}
|
|
13821
13821
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -13888,7 +13888,7 @@ const PGReconciliationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
13888
13888
|
|
|
13889
13889
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13890
13890
|
|
|
13891
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
13891
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
13892
13892
|
if (x_api_version != null && x_api_version != undefined) {
|
|
13893
13893
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
13894
13894
|
}
|
|
@@ -13935,7 +13935,7 @@ const PGReconciliationApiFp = function(cashfree: Cashfree) {
|
|
|
13935
13935
|
async pGFetchRecon(x_api_version: string, FetchReconRequest: FetchReconRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReconEntity>> {
|
|
13936
13936
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchRecon(x_api_version, FetchReconRequest, Content_Type, x_request_id, x_idempotency_key, Accept, options);
|
|
13937
13937
|
var url = "https://sandbox.cashfree.com/pg";
|
|
13938
|
-
if(
|
|
13938
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
13939
13939
|
url = "https://api.cashfree.com/pg"
|
|
13940
13940
|
}
|
|
13941
13941
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14005,7 +14005,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14005
14005
|
|
|
14006
14006
|
|
|
14007
14007
|
|
|
14008
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14008
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14009
14009
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14010
14010
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14011
14011
|
}
|
|
@@ -14074,7 +14074,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14074
14074
|
|
|
14075
14075
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14076
14076
|
|
|
14077
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14077
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14078
14078
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14079
14079
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14080
14080
|
}
|
|
@@ -14143,7 +14143,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14143
14143
|
|
|
14144
14144
|
|
|
14145
14145
|
|
|
14146
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14146
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14147
14147
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14148
14148
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14149
14149
|
}
|
|
@@ -14216,7 +14216,7 @@ const PaymentLinksApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14216
14216
|
|
|
14217
14217
|
|
|
14218
14218
|
|
|
14219
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14219
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14220
14220
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14221
14221
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14222
14222
|
}
|
|
@@ -14260,7 +14260,7 @@ const PaymentLinksApiFp = function(cashfree: Cashfree) {
|
|
|
14260
14260
|
async pGCancelLink(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkEntity>> {
|
|
14261
14261
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCancelLink(x_api_version, link_id, x_request_id, x_idempotency_key, options);
|
|
14262
14262
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14263
|
-
if(
|
|
14263
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14264
14264
|
url = "https://api.cashfree.com/pg"
|
|
14265
14265
|
}
|
|
14266
14266
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14278,7 +14278,7 @@ const PaymentLinksApiFp = function(cashfree: Cashfree) {
|
|
|
14278
14278
|
async pGCreateLink(x_api_version: string, CreateLinkRequest: CreateLinkRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkEntity>> {
|
|
14279
14279
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCreateLink(x_api_version, CreateLinkRequest, x_request_id, x_idempotency_key, options);
|
|
14280
14280
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14281
|
-
if(
|
|
14281
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14282
14282
|
url = "https://api.cashfree.com/pg"
|
|
14283
14283
|
}
|
|
14284
14284
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14296,7 +14296,7 @@ const PaymentLinksApiFp = function(cashfree: Cashfree) {
|
|
|
14296
14296
|
async pGFetchLink(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkEntity>> {
|
|
14297
14297
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchLink(x_api_version, link_id, x_request_id, x_idempotency_key, options);
|
|
14298
14298
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14299
|
-
if(
|
|
14299
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14300
14300
|
url = "https://api.cashfree.com/pg"
|
|
14301
14301
|
}
|
|
14302
14302
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14315,7 +14315,7 @@ const PaymentLinksApiFp = function(cashfree: Cashfree) {
|
|
|
14315
14315
|
async pGLinkFetchOrders(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, status?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentLinkOrderEntity>>> {
|
|
14316
14316
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGLinkFetchOrders(x_api_version, link_id, x_request_id, x_idempotency_key, status, options);
|
|
14317
14317
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14318
|
-
if(
|
|
14318
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14319
14319
|
url = "https://api.cashfree.com/pg"
|
|
14320
14320
|
}
|
|
14321
14321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14390,7 +14390,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14390
14390
|
|
|
14391
14391
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14392
14392
|
|
|
14393
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14393
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14394
14394
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14395
14395
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14396
14396
|
}
|
|
@@ -14449,7 +14449,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14449
14449
|
|
|
14450
14450
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14451
14451
|
|
|
14452
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14452
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14453
14453
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14454
14454
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14455
14455
|
}
|
|
@@ -14522,7 +14522,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14522
14522
|
|
|
14523
14523
|
|
|
14524
14524
|
|
|
14525
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14525
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14526
14526
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14527
14527
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14528
14528
|
}
|
|
@@ -14590,7 +14590,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14590
14590
|
|
|
14591
14591
|
|
|
14592
14592
|
|
|
14593
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14593
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14594
14594
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14595
14595
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14596
14596
|
}
|
|
@@ -14644,7 +14644,7 @@ const PaymentsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14644
14644
|
|
|
14645
14645
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14646
14646
|
|
|
14647
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14647
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14648
14648
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14649
14649
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14650
14650
|
}
|
|
@@ -14690,7 +14690,7 @@ const PaymentsApiFp = function(cashfree: Cashfree) {
|
|
|
14690
14690
|
async pGAuthorizeOrder(x_api_version: string, order_id: string, AuthorizeOrderRequest: AuthorizeOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentEntity>> {
|
|
14691
14691
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGAuthorizeOrder(x_api_version, order_id, AuthorizeOrderRequest, x_request_id, x_idempotency_key, options);
|
|
14692
14692
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14693
|
-
if(
|
|
14693
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14694
14694
|
url = "https://api.cashfree.com/pg"
|
|
14695
14695
|
}
|
|
14696
14696
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14709,7 +14709,7 @@ const PaymentsApiFp = function(cashfree: Cashfree) {
|
|
|
14709
14709
|
async pGOrderAuthenticatePayment(x_api_version: string, cf_payment_id: string, OrderAuthenticatePaymentRequest: OrderAuthenticatePaymentRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderAuthenticateEntity>> {
|
|
14710
14710
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderAuthenticatePayment(x_api_version, cf_payment_id, OrderAuthenticatePaymentRequest, x_request_id, x_idempotency_key, options);
|
|
14711
14711
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14712
|
-
if(
|
|
14712
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14713
14713
|
url = "https://api.cashfree.com/pg"
|
|
14714
14714
|
}
|
|
14715
14715
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14728,7 +14728,7 @@ const PaymentsApiFp = function(cashfree: Cashfree) {
|
|
|
14728
14728
|
async pGOrderFetchPayment(x_api_version: string, order_id: string, cf_payment_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentEntity>> {
|
|
14729
14729
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderFetchPayment(x_api_version, order_id, cf_payment_id, x_request_id, x_idempotency_key, options);
|
|
14730
14730
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14731
|
-
if(
|
|
14731
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14732
14732
|
url = "https://api.cashfree.com/pg"
|
|
14733
14733
|
}
|
|
14734
14734
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14746,7 +14746,7 @@ const PaymentsApiFp = function(cashfree: Cashfree) {
|
|
|
14746
14746
|
async pGOrderFetchPayments(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentEntity>>> {
|
|
14747
14747
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderFetchPayments(x_api_version, order_id, x_request_id, x_idempotency_key, options);
|
|
14748
14748
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14749
|
-
if(
|
|
14749
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14750
14750
|
url = "https://api.cashfree.com/pg"
|
|
14751
14751
|
}
|
|
14752
14752
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14764,7 +14764,7 @@ const PaymentsApiFp = function(cashfree: Cashfree) {
|
|
|
14764
14764
|
async pGPayOrder(x_api_version: string, PayOrderRequest: PayOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayOrderEntity>> {
|
|
14765
14765
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGPayOrder(x_api_version, PayOrderRequest, x_request_id, x_idempotency_key, options);
|
|
14766
14766
|
var url = "https://sandbox.cashfree.com/pg";
|
|
14767
|
-
if(
|
|
14767
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
14768
14768
|
url = "https://api.cashfree.com/pg"
|
|
14769
14769
|
}
|
|
14770
14770
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -14839,7 +14839,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14839
14839
|
|
|
14840
14840
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14841
14841
|
|
|
14842
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14842
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14843
14843
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14844
14844
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14845
14845
|
}
|
|
@@ -14912,7 +14912,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14912
14912
|
|
|
14913
14913
|
|
|
14914
14914
|
|
|
14915
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14915
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14916
14916
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14917
14917
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14918
14918
|
}
|
|
@@ -14980,7 +14980,7 @@ const RefundsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
14980
14980
|
|
|
14981
14981
|
|
|
14982
14982
|
|
|
14983
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
14983
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
14984
14984
|
if (x_api_version != null && x_api_version != undefined) {
|
|
14985
14985
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
14986
14986
|
}
|
|
@@ -15025,7 +15025,7 @@ const RefundsApiFp = function(cashfree: Cashfree) {
|
|
|
15025
15025
|
async pGOrderCreateRefund(x_api_version: string, order_id: string, OrderCreateRefundRequest: OrderCreateRefundRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundEntity>> {
|
|
15026
15026
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderCreateRefund(x_api_version, order_id, OrderCreateRefundRequest, x_request_id, x_idempotency_key, options);
|
|
15027
15027
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15028
|
-
if(
|
|
15028
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15029
15029
|
url = "https://api.cashfree.com/pg"
|
|
15030
15030
|
}
|
|
15031
15031
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15044,7 +15044,7 @@ const RefundsApiFp = function(cashfree: Cashfree) {
|
|
|
15044
15044
|
async pGOrderFetchRefund(x_api_version: string, order_id: string, refund_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefundEntity>> {
|
|
15045
15045
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderFetchRefund(x_api_version, order_id, refund_id, x_request_id, x_idempotency_key, options);
|
|
15046
15046
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15047
|
-
if(
|
|
15047
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15048
15048
|
url = "https://api.cashfree.com/pg"
|
|
15049
15049
|
}
|
|
15050
15050
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15062,7 +15062,7 @@ const RefundsApiFp = function(cashfree: Cashfree) {
|
|
|
15062
15062
|
async pGOrderFetchRefunds(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RefundEntity>>> {
|
|
15063
15063
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderFetchRefunds(x_api_version, order_id, x_request_id, x_idempotency_key, options);
|
|
15064
15064
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15065
|
-
if(
|
|
15065
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15066
15066
|
url = "https://api.cashfree.com/pg"
|
|
15067
15067
|
}
|
|
15068
15068
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15135,7 +15135,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (cashfree: Cashfre
|
|
|
15135
15135
|
|
|
15136
15136
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15137
15137
|
|
|
15138
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15138
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15139
15139
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15140
15140
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15141
15141
|
}
|
|
@@ -15207,7 +15207,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (cashfree: Cashfre
|
|
|
15207
15207
|
|
|
15208
15208
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15209
15209
|
|
|
15210
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15210
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15211
15211
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15212
15212
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15213
15213
|
}
|
|
@@ -15254,7 +15254,7 @@ const SettlementReconciliationApiFp = function(cashfree: Cashfree) {
|
|
|
15254
15254
|
async pGFetchSettlements(x_api_version: string, FetchSettlementsRequest: FetchSettlementsRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SettlementEntity>> {
|
|
15255
15255
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchSettlements(x_api_version, FetchSettlementsRequest, Content_Type, x_request_id, x_idempotency_key, Accept, options);
|
|
15256
15256
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15257
|
-
if(
|
|
15257
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15258
15258
|
url = "https://api.cashfree.com/pg"
|
|
15259
15259
|
}
|
|
15260
15260
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15274,7 +15274,7 @@ const SettlementReconciliationApiFp = function(cashfree: Cashfree) {
|
|
|
15274
15274
|
async pGSettlementFetchRecon(x_api_version: string, SettlementFetchReconRequest: SettlementFetchReconRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SettlementReconEntity>> {
|
|
15275
15275
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGSettlementFetchRecon(x_api_version, SettlementFetchReconRequest, Content_Type, x_request_id, x_idempotency_key, Accept, options);
|
|
15276
15276
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15277
|
-
if(
|
|
15277
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15278
15278
|
url = "https://api.cashfree.com/pg"
|
|
15279
15279
|
}
|
|
15280
15280
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15343,7 +15343,7 @@ const SettlementsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15343
15343
|
|
|
15344
15344
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15345
15345
|
|
|
15346
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15346
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15347
15347
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15348
15348
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15349
15349
|
}
|
|
@@ -15412,7 +15412,7 @@ const SettlementsApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15412
15412
|
|
|
15413
15413
|
|
|
15414
15414
|
|
|
15415
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15415
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15416
15416
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15417
15417
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15418
15418
|
}
|
|
@@ -15456,7 +15456,7 @@ const SettlementsApiFp = function(cashfree: Cashfree) {
|
|
|
15456
15456
|
async markForSettlement(x_api_version: string, x_request_id?: string, x_idempotency_key?: string, CreateOrderSettlementRequestBody?: CreateOrderSettlementRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
15457
15457
|
const localVarAxiosArgs = await localVarAxiosParamCreator.markForSettlement(x_api_version, x_request_id, x_idempotency_key, CreateOrderSettlementRequestBody, options);
|
|
15458
15458
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15459
|
-
if(
|
|
15459
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15460
15460
|
url = "https://api.cashfree.com/pg"
|
|
15461
15461
|
}
|
|
15462
15462
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15474,7 +15474,7 @@ const SettlementsApiFp = function(cashfree: Cashfree) {
|
|
|
15474
15474
|
async pGOrderFetchSettlement(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SettlementEntity>> {
|
|
15475
15475
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGOrderFetchSettlement(x_api_version, order_id, x_request_id, x_idempotency_key, options);
|
|
15476
15476
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15477
|
-
if(
|
|
15477
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15478
15478
|
url = "https://api.cashfree.com/pg"
|
|
15479
15479
|
}
|
|
15480
15480
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15544,7 +15544,7 @@ const SimulationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15544
15544
|
|
|
15545
15545
|
|
|
15546
15546
|
|
|
15547
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15547
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15548
15548
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15549
15549
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15550
15550
|
}
|
|
@@ -15613,7 +15613,7 @@ const SimulationApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15613
15613
|
|
|
15614
15614
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15615
15615
|
|
|
15616
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15616
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15617
15617
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15618
15618
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15619
15619
|
}
|
|
@@ -15658,7 +15658,7 @@ const SimulationApiFp = function(cashfree: Cashfree) {
|
|
|
15658
15658
|
async pGFetchSimulation(x_api_version: string, simulation_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimulationResponse>> {
|
|
15659
15659
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGFetchSimulation(x_api_version, simulation_id, x_request_id, x_idempotency_key, options);
|
|
15660
15660
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15661
|
-
if(
|
|
15661
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15662
15662
|
url = "https://api.cashfree.com/pg"
|
|
15663
15663
|
}
|
|
15664
15664
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15676,7 +15676,7 @@ const SimulationApiFp = function(cashfree: Cashfree) {
|
|
|
15676
15676
|
async pGSimulatePayment(x_api_version: string, SimulateRequest: SimulateRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimulationResponse>> {
|
|
15677
15677
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGSimulatePayment(x_api_version, SimulateRequest, x_request_id, x_idempotency_key, options);
|
|
15678
15678
|
var url = "https://sandbox.cashfree.com/pg";
|
|
15679
|
-
if(
|
|
15679
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
15680
15680
|
url = "https://api.cashfree.com/pg"
|
|
15681
15681
|
}
|
|
15682
15682
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -15747,7 +15747,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15747
15747
|
|
|
15748
15748
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15749
15749
|
|
|
15750
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15750
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15751
15751
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15752
15752
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15753
15753
|
}
|
|
@@ -15817,7 +15817,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15817
15817
|
|
|
15818
15818
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15819
15819
|
|
|
15820
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15820
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15821
15821
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15822
15822
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15823
15823
|
}
|
|
@@ -15887,7 +15887,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15887
15887
|
|
|
15888
15888
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15889
15889
|
|
|
15890
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15890
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15891
15891
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15892
15892
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15893
15893
|
}
|
|
@@ -15956,7 +15956,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
15956
15956
|
|
|
15957
15957
|
|
|
15958
15958
|
|
|
15959
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
15959
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
15960
15960
|
if (x_api_version != null && x_api_version != undefined) {
|
|
15961
15961
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
15962
15962
|
}
|
|
@@ -16034,7 +16034,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16034
16034
|
|
|
16035
16035
|
|
|
16036
16036
|
|
|
16037
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16037
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16038
16038
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16039
16039
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16040
16040
|
}
|
|
@@ -16112,7 +16112,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16112
16112
|
|
|
16113
16113
|
|
|
16114
16114
|
|
|
16115
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16115
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16116
16116
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16117
16117
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16118
16118
|
}
|
|
@@ -16187,7 +16187,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16187
16187
|
|
|
16188
16188
|
|
|
16189
16189
|
|
|
16190
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16190
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16191
16191
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16192
16192
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16193
16193
|
}
|
|
@@ -16256,7 +16256,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16256
16256
|
|
|
16257
16257
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16258
16258
|
|
|
16259
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16259
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16260
16260
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16261
16261
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16262
16262
|
}
|
|
@@ -16330,7 +16330,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16330
16330
|
|
|
16331
16331
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16332
16332
|
|
|
16333
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16333
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16334
16334
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16335
16335
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16336
16336
|
}
|
|
@@ -16404,7 +16404,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16404
16404
|
|
|
16405
16405
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16406
16406
|
|
|
16407
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16407
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16408
16408
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16409
16409
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16410
16410
|
}
|
|
@@ -16478,7 +16478,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16478
16478
|
|
|
16479
16479
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16480
16480
|
|
|
16481
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16481
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16482
16482
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16483
16483
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16484
16484
|
}
|
|
@@ -16552,7 +16552,7 @@ const SoftPOSApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16552
16552
|
|
|
16553
16553
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16554
16554
|
|
|
16555
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16555
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16556
16556
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16557
16557
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16558
16558
|
}
|
|
@@ -16597,7 +16597,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16597
16597
|
async sposCreateTerminal(x_api_version: string, CreateTerminalRequest: CreateTerminalRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalEntity>> {
|
|
16598
16598
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposCreateTerminal(x_api_version, CreateTerminalRequest, x_request_id, x_idempotency_key, options);
|
|
16599
16599
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16600
|
-
if(
|
|
16600
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16601
16601
|
url = "https://api.cashfree.com/pg"
|
|
16602
16602
|
}
|
|
16603
16603
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16615,7 +16615,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16615
16615
|
async sposCreateTerminalTransaction(x_api_version: string, CreateTerminalTransactionRequest: CreateTerminalTransactionRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalTransactionEntity>> {
|
|
16616
16616
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposCreateTerminalTransaction(x_api_version, CreateTerminalTransactionRequest, x_request_id, x_idempotency_key, options);
|
|
16617
16617
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16618
|
-
if(
|
|
16618
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16619
16619
|
url = "https://api.cashfree.com/pg"
|
|
16620
16620
|
}
|
|
16621
16621
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16633,7 +16633,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16633
16633
|
async sposDemapSoundboxVpa(x_api_version: string, DemapSoundboxVpaRequest: DemapSoundboxVpaRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SoundboxVpaEntity>>> {
|
|
16634
16634
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposDemapSoundboxVpa(x_api_version, DemapSoundboxVpaRequest, x_request_id, x_idempotency_key, options);
|
|
16635
16635
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16636
|
-
if(
|
|
16636
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16637
16637
|
url = "https://api.cashfree.com/pg"
|
|
16638
16638
|
}
|
|
16639
16639
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16651,7 +16651,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16651
16651
|
async sposFetchTerminal(x_api_version: string, terminal_phone_no: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalEntity>> {
|
|
16652
16652
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposFetchTerminal(x_api_version, terminal_phone_no, x_request_id, x_idempotency_key, options);
|
|
16653
16653
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16654
|
-
if(
|
|
16654
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16655
16655
|
url = "https://api.cashfree.com/pg"
|
|
16656
16656
|
}
|
|
16657
16657
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16670,7 +16670,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16670
16670
|
async sposFetchTerminalQRCodes(x_api_version: string, terminal_phone_no: string, cf_terminal_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FetchTerminalQRCodesEntity>>> {
|
|
16671
16671
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposFetchTerminalQRCodes(x_api_version, terminal_phone_no, cf_terminal_id, x_request_id, x_idempotency_key, options);
|
|
16672
16672
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16673
|
-
if(
|
|
16673
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16674
16674
|
url = "https://api.cashfree.com/pg"
|
|
16675
16675
|
}
|
|
16676
16676
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16689,7 +16689,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16689
16689
|
async sposFetchTerminalSoundboxVpa(x_api_version: string, device_serial_no: string, cf_terminal_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SoundboxVpaEntity>>> {
|
|
16690
16690
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposFetchTerminalSoundboxVpa(x_api_version, device_serial_no, cf_terminal_id, x_request_id, x_idempotency_key, options);
|
|
16691
16691
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16692
|
-
if(
|
|
16692
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16693
16693
|
url = "https://api.cashfree.com/pg"
|
|
16694
16694
|
}
|
|
16695
16695
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16708,7 +16708,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16708
16708
|
async sposFetchTerminalTransaction(x_api_version: string, utr: string, cf_terminal_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminalPaymentEntity>> {
|
|
16709
16709
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposFetchTerminalTransaction(x_api_version, utr, cf_terminal_id, x_request_id, x_idempotency_key, options);
|
|
16710
16710
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16711
|
-
if(
|
|
16711
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16712
16712
|
url = "https://api.cashfree.com/pg"
|
|
16713
16713
|
}
|
|
16714
16714
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16726,7 +16726,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16726
16726
|
async sposOnboardSoundboxVpa(x_api_version: string, OnboardSoundboxVpaRequest: OnboardSoundboxVpaRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SoundboxVpaEntity>> {
|
|
16727
16727
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposOnboardSoundboxVpa(x_api_version, OnboardSoundboxVpaRequest, x_request_id, x_idempotency_key, options);
|
|
16728
16728
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16729
|
-
if(
|
|
16729
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16730
16730
|
url = "https://api.cashfree.com/pg"
|
|
16731
16731
|
}
|
|
16732
16732
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16745,7 +16745,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16745
16745
|
async sposUpdateSoundboxVpa(x_api_version: string, cf_terminal_id: string, UpdateSoundboxVpaRequest: UpdateSoundboxVpaRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SoundboxVpaEntity>> {
|
|
16746
16746
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposUpdateSoundboxVpa(x_api_version, cf_terminal_id, UpdateSoundboxVpaRequest, x_request_id, x_idempotency_key, options);
|
|
16747
16747
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16748
|
-
if(
|
|
16748
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16749
16749
|
url = "https://api.cashfree.com/pg"
|
|
16750
16750
|
}
|
|
16751
16751
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16764,7 +16764,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16764
16764
|
async sposUpdateTerminal(x_api_version: string, cf_terminal_id: string, UpdateTerminalRequest: UpdateTerminalRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UpdateTerminalEntity>>> {
|
|
16765
16765
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposUpdateTerminal(x_api_version, cf_terminal_id, UpdateTerminalRequest, x_request_id, x_idempotency_key, options);
|
|
16766
16766
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16767
|
-
if(
|
|
16767
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16768
16768
|
url = "https://api.cashfree.com/pg"
|
|
16769
16769
|
}
|
|
16770
16770
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16783,7 +16783,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16783
16783
|
async sposUpdateTerminalStatus(x_api_version: string, cf_terminal_id: string, UpdateTerminalStatusRequest: UpdateTerminalStatusRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UpdateTerminalEntity>>> {
|
|
16784
16784
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposUpdateTerminalStatus(x_api_version, cf_terminal_id, UpdateTerminalStatusRequest, x_request_id, x_idempotency_key, options);
|
|
16785
16785
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16786
|
-
if(
|
|
16786
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16787
16787
|
url = "https://api.cashfree.com/pg"
|
|
16788
16788
|
}
|
|
16789
16789
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16802,7 +16802,7 @@ const SoftPOSApiFp = function(cashfree: Cashfree) {
|
|
|
16802
16802
|
async sposUploadTerminalDocs(x_api_version: string, cf_terminal_id: string, UploadTerminalDocs: UploadTerminalDocs, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UploadTerminalDocsEntity>>> {
|
|
16803
16803
|
const localVarAxiosArgs = await localVarAxiosParamCreator.sposUploadTerminalDocs(x_api_version, cf_terminal_id, UploadTerminalDocs, x_request_id, x_idempotency_key, options);
|
|
16804
16804
|
var url = "https://sandbox.cashfree.com/pg";
|
|
16805
|
-
if(
|
|
16805
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
16806
16806
|
url = "https://api.cashfree.com/pg"
|
|
16807
16807
|
}
|
|
16808
16808
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -16873,7 +16873,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16873
16873
|
|
|
16874
16874
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16875
16875
|
|
|
16876
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16876
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16877
16877
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16878
16878
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16879
16879
|
}
|
|
@@ -16943,7 +16943,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
16943
16943
|
|
|
16944
16944
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16945
16945
|
|
|
16946
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
16946
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
16947
16947
|
if (x_api_version != null && x_api_version != undefined) {
|
|
16948
16948
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
16949
16949
|
}
|
|
@@ -17017,7 +17017,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17017
17017
|
|
|
17018
17018
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17019
17019
|
|
|
17020
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17020
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17021
17021
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17022
17022
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17023
17023
|
}
|
|
@@ -17087,7 +17087,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17087
17087
|
|
|
17088
17088
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17089
17089
|
|
|
17090
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17090
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17091
17091
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17092
17092
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17093
17093
|
}
|
|
@@ -17156,7 +17156,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17156
17156
|
|
|
17157
17157
|
|
|
17158
17158
|
|
|
17159
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17159
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17160
17160
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17161
17161
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17162
17162
|
}
|
|
@@ -17224,7 +17224,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17224
17224
|
|
|
17225
17225
|
|
|
17226
17226
|
|
|
17227
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17227
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17228
17228
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17229
17229
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17230
17230
|
}
|
|
@@ -17296,7 +17296,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17296
17296
|
|
|
17297
17297
|
|
|
17298
17298
|
|
|
17299
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17299
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17300
17300
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17301
17301
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17302
17302
|
}
|
|
@@ -17364,7 +17364,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17364
17364
|
|
|
17365
17365
|
|
|
17366
17366
|
|
|
17367
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17367
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17368
17368
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17369
17369
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17370
17370
|
}
|
|
@@ -17436,7 +17436,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17436
17436
|
|
|
17437
17437
|
|
|
17438
17438
|
|
|
17439
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17439
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17440
17440
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17441
17441
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17442
17442
|
}
|
|
@@ -17509,7 +17509,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17509
17509
|
|
|
17510
17510
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17511
17511
|
|
|
17512
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17512
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17513
17513
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17514
17514
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17515
17515
|
}
|
|
@@ -17587,7 +17587,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17587
17587
|
|
|
17588
17588
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17589
17589
|
|
|
17590
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17590
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17591
17591
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17592
17592
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17593
17593
|
}
|
|
@@ -17680,7 +17680,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17680
17680
|
|
|
17681
17681
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
17682
17682
|
|
|
17683
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17683
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17684
17684
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17685
17685
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17686
17686
|
}
|
|
@@ -17750,7 +17750,7 @@ const SubscriptionApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
17750
17750
|
|
|
17751
17751
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17752
17752
|
|
|
17753
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
17753
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
17754
17754
|
if (x_api_version != null && x_api_version != undefined) {
|
|
17755
17755
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
17756
17756
|
}
|
|
@@ -17795,7 +17795,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17795
17795
|
async subsCreatePayment(x_api_version: string, CreateSubscriptionPaymentRequest: CreateSubscriptionPaymentRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSubscriptionPaymentResponse>> {
|
|
17796
17796
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsCreatePayment(x_api_version, CreateSubscriptionPaymentRequest, x_request_id, x_idempotency_key, options);
|
|
17797
17797
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17798
|
-
if(
|
|
17798
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17799
17799
|
url = "https://api.cashfree.com/pg"
|
|
17800
17800
|
}
|
|
17801
17801
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17813,7 +17813,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17813
17813
|
async subsCreatePlan(x_api_version: string, CreatePlanRequest: CreatePlanRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanEntity>> {
|
|
17814
17814
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsCreatePlan(x_api_version, CreatePlanRequest, x_request_id, x_idempotency_key, options);
|
|
17815
17815
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17816
|
-
if(
|
|
17816
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17817
17817
|
url = "https://api.cashfree.com/pg"
|
|
17818
17818
|
}
|
|
17819
17819
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17832,7 +17832,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17832
17832
|
async subsCreateRefund(x_api_version: string, subscription_id: string, CreateSubscriptionRefundRequest: CreateSubscriptionRefundRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionPaymentRefundEntity>> {
|
|
17833
17833
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsCreateRefund(x_api_version, subscription_id, CreateSubscriptionRefundRequest, x_request_id, x_idempotency_key, options);
|
|
17834
17834
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17835
|
-
if(
|
|
17835
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17836
17836
|
url = "https://api.cashfree.com/pg"
|
|
17837
17837
|
}
|
|
17838
17838
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17850,7 +17850,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17850
17850
|
async subsCreateSubscription(x_api_version: string, CreateSubscriptionRequest: CreateSubscriptionRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionEntity>> {
|
|
17851
17851
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsCreateSubscription(x_api_version, CreateSubscriptionRequest, x_request_id, x_idempotency_key, options);
|
|
17852
17852
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17853
|
-
if(
|
|
17853
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17854
17854
|
url = "https://api.cashfree.com/pg"
|
|
17855
17855
|
}
|
|
17856
17856
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17868,7 +17868,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17868
17868
|
async subsFetchPlan(x_api_version: string, plan_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanEntity>> {
|
|
17869
17869
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsFetchPlan(x_api_version, plan_id, x_request_id, x_idempotency_key, options);
|
|
17870
17870
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17871
|
-
if(
|
|
17871
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17872
17872
|
url = "https://api.cashfree.com/pg"
|
|
17873
17873
|
}
|
|
17874
17874
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17886,7 +17886,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17886
17886
|
async subsFetchSubscription(x_api_version: string, subscription_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionEntity>> {
|
|
17887
17887
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsFetchSubscription(x_api_version, subscription_id, x_request_id, x_idempotency_key, options);
|
|
17888
17888
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17889
|
-
if(
|
|
17889
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17890
17890
|
url = "https://api.cashfree.com/pg"
|
|
17891
17891
|
}
|
|
17892
17892
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17905,7 +17905,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17905
17905
|
async subsFetchSubscriptionPayment(x_api_version: string, subscription_id: string, payment_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionPaymentEntity>> {
|
|
17906
17906
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsFetchSubscriptionPayment(x_api_version, subscription_id, payment_id, x_request_id, x_idempotency_key, options);
|
|
17907
17907
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17908
|
-
if(
|
|
17908
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17909
17909
|
url = "https://api.cashfree.com/pg"
|
|
17910
17910
|
}
|
|
17911
17911
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17923,7 +17923,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17923
17923
|
async subsFetchSubscriptionPayments(x_api_version: string, subscription_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SubscriptionPaymentEntity>>> {
|
|
17924
17924
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsFetchSubscriptionPayments(x_api_version, subscription_id, x_request_id, x_idempotency_key, options);
|
|
17925
17925
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17926
|
-
if(
|
|
17926
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17927
17927
|
url = "https://api.cashfree.com/pg"
|
|
17928
17928
|
}
|
|
17929
17929
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17942,7 +17942,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17942
17942
|
async subsFetchSubscriptionRefund(x_api_version: string, subscription_id: string, refund_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionPaymentRefundEntity>> {
|
|
17943
17943
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsFetchSubscriptionRefund(x_api_version, subscription_id, refund_id, x_request_id, x_idempotency_key, options);
|
|
17944
17944
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17945
|
-
if(
|
|
17945
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17946
17946
|
url = "https://api.cashfree.com/pg"
|
|
17947
17947
|
}
|
|
17948
17948
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17961,7 +17961,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17961
17961
|
async subsManageSubscription(x_api_version: string, subscription_id: string, ManageSubscriptionRequest: ManageSubscriptionRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionEntity>> {
|
|
17962
17962
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsManageSubscription(x_api_version, subscription_id, ManageSubscriptionRequest, x_request_id, x_idempotency_key, options);
|
|
17963
17963
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17964
|
-
if(
|
|
17964
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17965
17965
|
url = "https://api.cashfree.com/pg"
|
|
17966
17966
|
}
|
|
17967
17967
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -17981,7 +17981,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
17981
17981
|
async subsManageSubscriptionPayment(x_api_version: string, subscription_id: string, payment_id: string, ManageSubscriptionPaymentRequest: ManageSubscriptionPaymentRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionPaymentEntity>> {
|
|
17982
17982
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subsManageSubscriptionPayment(x_api_version, subscription_id, payment_id, ManageSubscriptionPaymentRequest, x_request_id, x_idempotency_key, options);
|
|
17983
17983
|
var url = "https://sandbox.cashfree.com/pg";
|
|
17984
|
-
if(
|
|
17984
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
17985
17985
|
url = "https://api.cashfree.com/pg"
|
|
17986
17986
|
}
|
|
17987
17987
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -18002,7 +18002,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
18002
18002
|
async subscriptionDocumentUpload(x_api_version: string, payment_id: string, file: File, payment_id2: string, action: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadPnachImageResponse>> {
|
|
18003
18003
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subscriptionDocumentUpload(x_api_version, payment_id, file, payment_id2, action, x_request_id, x_idempotency_key, options);
|
|
18004
18004
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18005
|
-
if(
|
|
18005
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18006
18006
|
url = "https://api.cashfree.com/pg"
|
|
18007
18007
|
}
|
|
18008
18008
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -18020,7 +18020,7 @@ const SubscriptionApiFp = function(cashfree: Cashfree) {
|
|
|
18020
18020
|
async subscriptionEligibility(x_api_version: string, SubscriptionEligibilityRequest: SubscriptionEligibilityRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionEligibilityResponse>> {
|
|
18021
18021
|
const localVarAxiosArgs = await localVarAxiosParamCreator.subscriptionEligibility(x_api_version, SubscriptionEligibilityRequest, x_request_id, x_idempotency_key, options);
|
|
18022
18022
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18023
|
-
if(
|
|
18023
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18024
18024
|
url = "https://api.cashfree.com/pg"
|
|
18025
18025
|
}
|
|
18026
18026
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -18094,7 +18094,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18094
18094
|
|
|
18095
18095
|
|
|
18096
18096
|
|
|
18097
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18097
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
18098
18098
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18099
18099
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18100
18100
|
}
|
|
@@ -18166,7 +18166,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18166
18166
|
|
|
18167
18167
|
|
|
18168
18168
|
|
|
18169
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18169
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
18170
18170
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18171
18171
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18172
18172
|
}
|
|
@@ -18241,7 +18241,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18241
18241
|
|
|
18242
18242
|
|
|
18243
18243
|
|
|
18244
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18244
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
18245
18245
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18246
18246
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18247
18247
|
}
|
|
@@ -18313,7 +18313,7 @@ const TokenVaultApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18313
18313
|
|
|
18314
18314
|
|
|
18315
18315
|
|
|
18316
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18316
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
18317
18317
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18318
18318
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18319
18319
|
}
|
|
@@ -18358,7 +18358,7 @@ const TokenVaultApiFp = function(cashfree: Cashfree) {
|
|
|
18358
18358
|
async pGCustomerDeleteInstrument(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstrumentEntity>> {
|
|
18359
18359
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCustomerDeleteInstrument(x_api_version, customer_id, instrument_id, x_request_id, x_idempotency_key, options);
|
|
18360
18360
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18361
|
-
if(
|
|
18361
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18362
18362
|
url = "https://api.cashfree.com/pg"
|
|
18363
18363
|
}
|
|
18364
18364
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -18377,7 +18377,7 @@ const TokenVaultApiFp = function(cashfree: Cashfree) {
|
|
|
18377
18377
|
async pGCustomerFetchInstrument(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstrumentEntity>> {
|
|
18378
18378
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCustomerFetchInstrument(x_api_version, customer_id, instrument_id, x_request_id, x_idempotency_key, options);
|
|
18379
18379
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18380
|
-
if(
|
|
18380
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18381
18381
|
url = "https://api.cashfree.com/pg"
|
|
18382
18382
|
}
|
|
18383
18383
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -18396,7 +18396,7 @@ const TokenVaultApiFp = function(cashfree: Cashfree) {
|
|
|
18396
18396
|
async pGCustomerFetchInstruments(x_api_version: string, customer_id: string, instrument_type: PGCustomerFetchInstrumentsInstrumentTypeEnum, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InstrumentEntity>>> {
|
|
18397
18397
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCustomerFetchInstruments(x_api_version, customer_id, instrument_type, x_request_id, x_idempotency_key, options);
|
|
18398
18398
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18399
|
-
if(
|
|
18399
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18400
18400
|
url = "https://api.cashfree.com/pg"
|
|
18401
18401
|
}
|
|
18402
18402
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -18415,7 +18415,7 @@ const TokenVaultApiFp = function(cashfree: Cashfree) {
|
|
|
18415
18415
|
async pGCustomerInstrumentsFetchCryptogram(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CryptogramEntity>> {
|
|
18416
18416
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCustomerInstrumentsFetchCryptogram(x_api_version, customer_id, instrument_id, x_request_id, x_idempotency_key, options);
|
|
18417
18417
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18418
|
-
if(
|
|
18418
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18419
18419
|
url = "https://api.cashfree.com/pg"
|
|
18420
18420
|
}
|
|
18421
18421
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -18494,7 +18494,7 @@ const UtilitiesApiAxiosParamCreator = function (cashfree: Cashfree) {
|
|
|
18494
18494
|
|
|
18495
18495
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18496
18496
|
|
|
18497
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.
|
|
18497
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-5.0.3';
|
|
18498
18498
|
if (x_api_version != null && x_api_version != undefined) {
|
|
18499
18499
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
18500
18500
|
}
|
|
@@ -18539,7 +18539,7 @@ const UtilitiesApiFp = function(cashfree: Cashfree) {
|
|
|
18539
18539
|
async pGCreatePAR(x_api_version: string, PARRequest: PARRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PGCreatePAR200Response>> {
|
|
18540
18540
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pGCreatePAR(x_api_version, PARRequest, x_request_id, x_idempotency_key, options);
|
|
18541
18541
|
var url = "https://sandbox.cashfree.com/pg";
|
|
18542
|
-
if(
|
|
18542
|
+
if(cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
18543
18543
|
url = "https://api.cashfree.com/pg"
|
|
18544
18544
|
}
|
|
18545
18545
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url);
|
|
@@ -18584,7 +18584,7 @@ export class Cashfree {
|
|
|
18584
18584
|
XPartnerKey?: string;
|
|
18585
18585
|
XClientSignature?: string;
|
|
18586
18586
|
XPartnerMerchantId?: string;
|
|
18587
|
-
XEnvironment: CFEnvironment
|
|
18587
|
+
XEnvironment: CFEnvironment;
|
|
18588
18588
|
XEnableErrorAnalytics: boolean = true;
|
|
18589
18589
|
XApiVersion: string = "2025-01-01";
|
|
18590
18590
|
|
|
@@ -18649,7 +18649,7 @@ export class Cashfree {
|
|
|
18649
18649
|
} else {
|
|
18650
18650
|
scope.setExtra('environment', 'production');
|
|
18651
18651
|
}
|
|
18652
|
-
scope.setExtra('release', "5.0.
|
|
18652
|
+
scope.setExtra('release', "5.0.3");
|
|
18653
18653
|
});
|
|
18654
18654
|
}
|
|
18655
18655
|
if(axios) {
|