cashfree-pg 4.0.4 → 4.0.7
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 +871 -193
- package/dist/api.d.ts +244 -1
- package/dist/api.js +580 -139
- package/dist/esm/api.d.ts +244 -1
- package/dist/esm/api.js +580 -139
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3400,6 +3400,18 @@ export interface PaymentMethodNetBankingInPaymentsEntityNetbanking {
|
|
|
3400
3400
|
* @memberof PaymentMethodNetBankingInPaymentsEntityNetbanking
|
|
3401
3401
|
*/
|
|
3402
3402
|
'netbanking_bank_name'?: string;
|
|
3403
|
+
/**
|
|
3404
|
+
*
|
|
3405
|
+
* @type {string}
|
|
3406
|
+
* @memberof PaymentMethodNetBankingInPaymentsEntityNetbanking
|
|
3407
|
+
*/
|
|
3408
|
+
'netbanking_ifsc'?: string;
|
|
3409
|
+
/**
|
|
3410
|
+
*
|
|
3411
|
+
* @type {string}
|
|
3412
|
+
* @memberof PaymentMethodNetBankingInPaymentsEntityNetbanking
|
|
3413
|
+
*/
|
|
3414
|
+
'netbanking_account_number'?: string;
|
|
3403
3415
|
}
|
|
3404
3416
|
/**
|
|
3405
3417
|
* paylater payment method object for pay api
|
|
@@ -4955,6 +4967,142 @@ export interface UPIPaymentMethod {
|
|
|
4955
4967
|
*/
|
|
4956
4968
|
'upi': Upi;
|
|
4957
4969
|
}
|
|
4970
|
+
/**
|
|
4971
|
+
* Update terminal response
|
|
4972
|
+
* @export
|
|
4973
|
+
* @interface UpdateTerminalEntity
|
|
4974
|
+
*/
|
|
4975
|
+
export interface UpdateTerminalEntity {
|
|
4976
|
+
/**
|
|
4977
|
+
*
|
|
4978
|
+
* @type {string}
|
|
4979
|
+
* @memberof UpdateTerminalEntity
|
|
4980
|
+
*/
|
|
4981
|
+
'added_on'?: string;
|
|
4982
|
+
/**
|
|
4983
|
+
*
|
|
4984
|
+
* @type {number}
|
|
4985
|
+
* @memberof UpdateTerminalEntity
|
|
4986
|
+
*/
|
|
4987
|
+
'cf_terminal_id'?: number;
|
|
4988
|
+
/**
|
|
4989
|
+
*
|
|
4990
|
+
* @type {string}
|
|
4991
|
+
* @memberof UpdateTerminalEntity
|
|
4992
|
+
*/
|
|
4993
|
+
'last_updated_on'?: string;
|
|
4994
|
+
/**
|
|
4995
|
+
*
|
|
4996
|
+
* @type {string}
|
|
4997
|
+
* @memberof UpdateTerminalEntity
|
|
4998
|
+
*/
|
|
4999
|
+
'terminal_address'?: string;
|
|
5000
|
+
/**
|
|
5001
|
+
*
|
|
5002
|
+
* @type {string}
|
|
5003
|
+
* @memberof UpdateTerminalEntity
|
|
5004
|
+
*/
|
|
5005
|
+
'terminal_email'?: string;
|
|
5006
|
+
/**
|
|
5007
|
+
*
|
|
5008
|
+
* @type {string}
|
|
5009
|
+
* @memberof UpdateTerminalEntity
|
|
5010
|
+
*/
|
|
5011
|
+
'terminal_type'?: string;
|
|
5012
|
+
/**
|
|
5013
|
+
*
|
|
5014
|
+
* @type {string}
|
|
5015
|
+
* @memberof UpdateTerminalEntity
|
|
5016
|
+
*/
|
|
5017
|
+
'teminal_id'?: string;
|
|
5018
|
+
/**
|
|
5019
|
+
*
|
|
5020
|
+
* @type {string}
|
|
5021
|
+
* @memberof UpdateTerminalEntity
|
|
5022
|
+
*/
|
|
5023
|
+
'terminal_name'?: string;
|
|
5024
|
+
/**
|
|
5025
|
+
*
|
|
5026
|
+
* @type {string}
|
|
5027
|
+
* @memberof UpdateTerminalEntity
|
|
5028
|
+
*/
|
|
5029
|
+
'terminal_note'?: string;
|
|
5030
|
+
/**
|
|
5031
|
+
*
|
|
5032
|
+
* @type {string}
|
|
5033
|
+
* @memberof UpdateTerminalEntity
|
|
5034
|
+
*/
|
|
5035
|
+
'terminal_phone_no'?: string;
|
|
5036
|
+
/**
|
|
5037
|
+
*
|
|
5038
|
+
* @type {string}
|
|
5039
|
+
* @memberof UpdateTerminalEntity
|
|
5040
|
+
*/
|
|
5041
|
+
'terminal_status'?: string;
|
|
5042
|
+
/**
|
|
5043
|
+
*
|
|
5044
|
+
* @type {string}
|
|
5045
|
+
* @memberof UpdateTerminalEntity
|
|
5046
|
+
*/
|
|
5047
|
+
'terminal_meta'?: string;
|
|
5048
|
+
}
|
|
5049
|
+
/**
|
|
5050
|
+
* Request body to update terminal details.
|
|
5051
|
+
* @export
|
|
5052
|
+
* @interface UpdateTerminalRequest
|
|
5053
|
+
*/
|
|
5054
|
+
export interface UpdateTerminalRequest {
|
|
5055
|
+
/**
|
|
5056
|
+
* Mention the updated email ID of the terminal.
|
|
5057
|
+
* @type {string}
|
|
5058
|
+
* @memberof UpdateTerminalRequest
|
|
5059
|
+
*/
|
|
5060
|
+
'terminal_email'?: string;
|
|
5061
|
+
/**
|
|
5062
|
+
* Terminal phone number to be updated.
|
|
5063
|
+
* @type {string}
|
|
5064
|
+
* @memberof UpdateTerminalRequest
|
|
5065
|
+
*/
|
|
5066
|
+
'terminal_phone_no'?: string;
|
|
5067
|
+
/**
|
|
5068
|
+
*
|
|
5069
|
+
* @type {UpdateTerminalRequestTerminalMeta}
|
|
5070
|
+
* @memberof UpdateTerminalRequest
|
|
5071
|
+
*/
|
|
5072
|
+
'terminal_meta'?: UpdateTerminalRequestTerminalMeta;
|
|
5073
|
+
/**
|
|
5074
|
+
* Mention the terminal type to be updated. Possible values - AGENT, STOREFRONT.
|
|
5075
|
+
* @type {string}
|
|
5076
|
+
* @memberof UpdateTerminalRequest
|
|
5077
|
+
*/
|
|
5078
|
+
'terminal_type': string;
|
|
5079
|
+
}
|
|
5080
|
+
/**
|
|
5081
|
+
* Terminal metadata.
|
|
5082
|
+
* @export
|
|
5083
|
+
* @interface UpdateTerminalRequestTerminalMeta
|
|
5084
|
+
*/
|
|
5085
|
+
export interface UpdateTerminalRequestTerminalMeta {
|
|
5086
|
+
/**
|
|
5087
|
+
* Name of the operator for the storefront.
|
|
5088
|
+
* @type {string}
|
|
5089
|
+
* @memberof UpdateTerminalRequestTerminalMeta
|
|
5090
|
+
*/
|
|
5091
|
+
'terminal_operator'?: string;
|
|
5092
|
+
}
|
|
5093
|
+
/**
|
|
5094
|
+
* Request body to update terminal status.
|
|
5095
|
+
* @export
|
|
5096
|
+
* @interface UpdateTerminalStatusRequest
|
|
5097
|
+
*/
|
|
5098
|
+
export interface UpdateTerminalStatusRequest {
|
|
5099
|
+
/**
|
|
5100
|
+
* Status of the terminal to be updated. possible values - ACTIVE, INACTIVE.
|
|
5101
|
+
* @type {string}
|
|
5102
|
+
* @memberof UpdateTerminalStatusRequest
|
|
5103
|
+
*/
|
|
5104
|
+
'terminal_status': string;
|
|
5105
|
+
}
|
|
4958
5106
|
/**
|
|
4959
5107
|
* UPI collect payment method object
|
|
4960
5108
|
* @export
|
|
@@ -5008,6 +5156,62 @@ export const UpiChannelEnum = {
|
|
|
5008
5156
|
|
|
5009
5157
|
export type UpiChannelEnum = typeof UpiChannelEnum[keyof typeof UpiChannelEnum];
|
|
5010
5158
|
|
|
5159
|
+
/**
|
|
5160
|
+
* Request body to upload terminal documents.
|
|
5161
|
+
* @export
|
|
5162
|
+
* @interface UploadTerminalDocs
|
|
5163
|
+
*/
|
|
5164
|
+
export interface UploadTerminalDocs {
|
|
5165
|
+
/**
|
|
5166
|
+
* Mention the document type you are uploading. Possible values - ADDRESSPROOF, PHOTOGRAPH.
|
|
5167
|
+
* @type {string}
|
|
5168
|
+
* @memberof UploadTerminalDocs
|
|
5169
|
+
*/
|
|
5170
|
+
'doc_type': string;
|
|
5171
|
+
/**
|
|
5172
|
+
* Enter the display name of the uploaded file.
|
|
5173
|
+
* @type {string}
|
|
5174
|
+
* @memberof UploadTerminalDocs
|
|
5175
|
+
*/
|
|
5176
|
+
'doc_value': string;
|
|
5177
|
+
/**
|
|
5178
|
+
* Select the document that should be uploaded or provide the path of that file. You cannot upload a file that is more than 2MB in size.
|
|
5179
|
+
* @type {string}
|
|
5180
|
+
* @memberof UploadTerminalDocs
|
|
5181
|
+
*/
|
|
5182
|
+
'file': string;
|
|
5183
|
+
}
|
|
5184
|
+
/**
|
|
5185
|
+
* Upload the terminal documents.
|
|
5186
|
+
* @export
|
|
5187
|
+
* @interface UploadTerminalDocsEntity
|
|
5188
|
+
*/
|
|
5189
|
+
export interface UploadTerminalDocsEntity {
|
|
5190
|
+
/**
|
|
5191
|
+
*
|
|
5192
|
+
* @type {number}
|
|
5193
|
+
* @memberof UploadTerminalDocsEntity
|
|
5194
|
+
*/
|
|
5195
|
+
'cf_terminal_id'?: number;
|
|
5196
|
+
/**
|
|
5197
|
+
*
|
|
5198
|
+
* @type {string}
|
|
5199
|
+
* @memberof UploadTerminalDocsEntity
|
|
5200
|
+
*/
|
|
5201
|
+
'doc_type'?: string;
|
|
5202
|
+
/**
|
|
5203
|
+
*
|
|
5204
|
+
* @type {string}
|
|
5205
|
+
* @memberof UploadTerminalDocsEntity
|
|
5206
|
+
*/
|
|
5207
|
+
'doc_value'?: string;
|
|
5208
|
+
/**
|
|
5209
|
+
*
|
|
5210
|
+
* @type {string}
|
|
5211
|
+
* @memberof UploadTerminalDocsEntity
|
|
5212
|
+
*/
|
|
5213
|
+
'status'?: string;
|
|
5214
|
+
}
|
|
5011
5215
|
/**
|
|
5012
5216
|
* Use to split order when cashfree\'s Easy Split is enabled for your account.
|
|
5013
5217
|
* @export
|
|
@@ -5105,7 +5309,7 @@ const CustomersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5105
5309
|
|
|
5106
5310
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5107
5311
|
|
|
5108
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
5312
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5109
5313
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5110
5314
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5111
5315
|
}
|
|
@@ -5225,7 +5429,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
5225
5429
|
|
|
5226
5430
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5227
5431
|
|
|
5228
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
5432
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5229
5433
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5230
5434
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5231
5435
|
}
|
|
@@ -5299,7 +5503,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
5299
5503
|
|
|
5300
5504
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5301
5505
|
|
|
5302
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
5506
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5303
5507
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5304
5508
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5305
5509
|
}
|
|
@@ -5373,7 +5577,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
5373
5577
|
|
|
5374
5578
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5375
5579
|
|
|
5376
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
5580
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5377
5581
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5378
5582
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5379
5583
|
}
|
|
@@ -5447,7 +5651,7 @@ const EligibilityApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
5447
5651
|
|
|
5448
5652
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5449
5653
|
|
|
5450
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
5654
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5451
5655
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5452
5656
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5453
5657
|
}
|
|
@@ -5621,7 +5825,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5621
5825
|
|
|
5622
5826
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5623
5827
|
|
|
5624
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
5828
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5625
5829
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5626
5830
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5627
5831
|
}
|
|
@@ -5694,7 +5898,7 @@ const OffersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5694
5898
|
|
|
5695
5899
|
|
|
5696
5900
|
|
|
5697
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
5901
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5698
5902
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5699
5903
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5700
5904
|
}
|
|
@@ -5831,7 +6035,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5831
6035
|
|
|
5832
6036
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5833
6037
|
|
|
5834
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6038
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5835
6039
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5836
6040
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5837
6041
|
}
|
|
@@ -5904,7 +6108,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5904
6108
|
|
|
5905
6109
|
|
|
5906
6110
|
|
|
5907
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6111
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5908
6112
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5909
6113
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5910
6114
|
}
|
|
@@ -5981,7 +6185,7 @@ const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
5981
6185
|
|
|
5982
6186
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5983
6187
|
|
|
5984
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6188
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
5985
6189
|
if (x_api_version != null && x_api_version != undefined) {
|
|
5986
6190
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
5987
6191
|
}
|
|
@@ -6140,7 +6344,7 @@ const PGReconciliationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
6140
6344
|
|
|
6141
6345
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6142
6346
|
|
|
6143
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6347
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6144
6348
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6145
6349
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6146
6350
|
}
|
|
@@ -6261,7 +6465,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6261
6465
|
|
|
6262
6466
|
|
|
6263
6467
|
|
|
6264
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6468
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6265
6469
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6266
6470
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6267
6471
|
}
|
|
@@ -6334,7 +6538,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6334
6538
|
|
|
6335
6539
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6336
6540
|
|
|
6337
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6541
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6338
6542
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6339
6543
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6340
6544
|
}
|
|
@@ -6407,7 +6611,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6407
6611
|
|
|
6408
6612
|
|
|
6409
6613
|
|
|
6410
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6614
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6411
6615
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6412
6616
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6413
6617
|
}
|
|
@@ -6479,7 +6683,7 @@ const PaymentLinksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6479
6683
|
|
|
6480
6684
|
|
|
6481
6685
|
|
|
6482
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6686
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6483
6687
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6484
6688
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6485
6689
|
}
|
|
@@ -6656,7 +6860,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6656
6860
|
|
|
6657
6861
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6658
6862
|
|
|
6659
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6863
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6660
6864
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6661
6865
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6662
6866
|
}
|
|
@@ -6719,7 +6923,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6719
6923
|
|
|
6720
6924
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6721
6925
|
|
|
6722
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
6926
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6723
6927
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6724
6928
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6725
6929
|
}
|
|
@@ -6796,7 +7000,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6796
7000
|
|
|
6797
7001
|
|
|
6798
7002
|
|
|
6799
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7003
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6800
7004
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6801
7005
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6802
7006
|
}
|
|
@@ -6868,7 +7072,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6868
7072
|
|
|
6869
7073
|
|
|
6870
7074
|
|
|
6871
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7075
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6872
7076
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6873
7077
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6874
7078
|
}
|
|
@@ -6926,7 +7130,7 @@ const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
6926
7130
|
|
|
6927
7131
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6928
7132
|
|
|
6929
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7133
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
6930
7134
|
if (x_api_version != null && x_api_version != undefined) {
|
|
6931
7135
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
6932
7136
|
}
|
|
@@ -7125,7 +7329,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7125
7329
|
|
|
7126
7330
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7127
7331
|
|
|
7128
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7332
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7129
7333
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7130
7334
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7131
7335
|
}
|
|
@@ -7202,7 +7406,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7202
7406
|
|
|
7203
7407
|
|
|
7204
7408
|
|
|
7205
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7409
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7206
7410
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7207
7411
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7208
7412
|
}
|
|
@@ -7274,7 +7478,7 @@ const RefundsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7274
7478
|
|
|
7275
7479
|
|
|
7276
7480
|
|
|
7277
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7481
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7278
7482
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7279
7483
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7280
7484
|
}
|
|
@@ -7433,7 +7637,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
|
|
|
7433
7637
|
|
|
7434
7638
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7435
7639
|
|
|
7436
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7640
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7437
7641
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7438
7642
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7439
7643
|
}
|
|
@@ -7509,7 +7713,7 @@ const SettlementReconciliationApiAxiosParamCreator = function (configuration?: C
|
|
|
7509
7713
|
|
|
7510
7714
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7511
7715
|
|
|
7512
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7716
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7513
7717
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7514
7718
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7515
7719
|
}
|
|
@@ -7650,7 +7854,7 @@ const SettlementsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7650
7854
|
|
|
7651
7855
|
|
|
7652
7856
|
|
|
7653
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7857
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7654
7858
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7655
7859
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7656
7860
|
}
|
|
@@ -7769,7 +7973,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7769
7973
|
|
|
7770
7974
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7771
7975
|
|
|
7772
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
7976
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7773
7977
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7774
7978
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7775
7979
|
}
|
|
@@ -7843,7 +8047,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7843
8047
|
|
|
7844
8048
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7845
8049
|
|
|
7846
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
8050
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7847
8051
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7848
8052
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7849
8053
|
}
|
|
@@ -7867,7 +8071,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7867
8071
|
},
|
|
7868
8072
|
/**
|
|
7869
8073
|
* Use this API to view all details of a terminal.
|
|
7870
|
-
* @summary Get
|
|
8074
|
+
* @summary Get Terminal Status using Phone Number
|
|
7871
8075
|
|
|
7872
8076
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
7873
8077
|
* @param {string} terminal_phone_no The terminal for which you want to view the order details.
|
|
@@ -7916,7 +8120,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7916
8120
|
|
|
7917
8121
|
|
|
7918
8122
|
|
|
7919
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
8123
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
7920
8124
|
if (x_api_version != null && x_api_version != undefined) {
|
|
7921
8125
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
7922
8126
|
}
|
|
@@ -7998,7 +8202,7 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
7998
8202
|
|
|
7999
8203
|
|
|
8000
8204
|
|
|
8001
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
8205
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
8002
8206
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8003
8207
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8004
8208
|
}
|
|
@@ -8019,76 +8223,310 @@ const SoftPOSApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8019
8223
|
options: localVarRequestOptions,
|
|
8020
8224
|
};
|
|
8021
8225
|
},
|
|
8022
|
-
}
|
|
8023
|
-
};
|
|
8024
|
-
|
|
8025
|
-
/**
|
|
8026
|
-
* SoftPOSApi - functional programming interface
|
|
8027
|
-
* @export
|
|
8028
|
-
*/
|
|
8029
|
-
const SoftPOSApiFp = function(configuration?: Configuration) {
|
|
8030
|
-
const localVarAxiosParamCreator = SoftPOSApiAxiosParamCreator(configuration)
|
|
8031
|
-
return {
|
|
8032
|
-
/**
|
|
8033
|
-
* Use this API to create new terminals to use softPOS.
|
|
8034
|
-
* @summary Create Terminal
|
|
8035
|
-
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8036
|
-
* @param {CreateTerminalRequest} CreateTerminalRequest Request Body to Create Terminal for SPOS
|
|
8037
|
-
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8038
|
-
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8039
|
-
* @param {*} [options] Override http request option.
|
|
8040
|
-
* @throws {RequiredError}
|
|
8041
|
-
*/
|
|
8042
|
-
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>> {
|
|
8043
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sposCreateTerminal(x_api_version, CreateTerminalRequest, x_request_id, x_idempotency_key, options);
|
|
8044
|
-
var url = "https://sandbox.cashfree.com/pg";
|
|
8045
|
-
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8046
|
-
url = "https://api.cashfree.com/pg"
|
|
8047
|
-
}
|
|
8048
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
|
|
8049
|
-
},
|
|
8050
8226
|
/**
|
|
8051
|
-
* Use this API to
|
|
8052
|
-
* @summary
|
|
8227
|
+
* Use this API to update the terminal details. Email, Phone Number, and Terminal Meta are updatable for \"Storefront\". Only account status change is possible in case of \"Agent\".
|
|
8228
|
+
* @summary Update Terminal
|
|
8229
|
+
|
|
8053
8230
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8054
|
-
* @param {
|
|
8231
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
8232
|
+
* @param {UpdateTerminalRequest} UpdateTerminalRequest Request Body to update terminal for SPOS.
|
|
8055
8233
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8056
8234
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8057
8235
|
* @param {*} [options] Override http request option.
|
|
8058
8236
|
* @throws {RequiredError}
|
|
8237
|
+
* x_request_id?: string,
|
|
8059
8238
|
*/
|
|
8060
|
-
async
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8239
|
+
sposUpdateTerminal: async (x_api_version: string, cf_terminal_id: string, UpdateTerminalRequest: UpdateTerminalRequest, x_request_id?: string, x_idempotency_key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8240
|
+
// verify required parameter 'x_api_version' is not null or undefined
|
|
8241
|
+
assertParamExists('sposUpdateTerminal', 'x_api_version', x_api_version)
|
|
8242
|
+
// verify required parameter 'cf_terminal_id' is not null or undefined
|
|
8243
|
+
assertParamExists('sposUpdateTerminal', 'cf_terminal_id', cf_terminal_id)
|
|
8244
|
+
// verify required parameter 'UpdateTerminalRequest' is not null or undefined
|
|
8245
|
+
assertParamExists('sposUpdateTerminal', 'UpdateTerminalRequest', UpdateTerminalRequest)
|
|
8246
|
+
const localVarPath = `/terminal/{cf_terminal_id}`
|
|
8247
|
+
.replace(`{${"cf_terminal_id"}}`, encodeURIComponent(String(cf_terminal_id)));
|
|
8248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8249
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8250
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8251
|
+
url = "https://api.cashfree.com/pg"
|
|
8252
|
+
}
|
|
8253
|
+
const localVarUrlObj = new URL(localVarPath, url);
|
|
8254
|
+
let baseOptions;
|
|
8255
|
+
if (configuration) {
|
|
8256
|
+
baseOptions = configuration.baseOptions;
|
|
8257
|
+
}
|
|
8258
|
+
|
|
8259
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
8260
|
+
const localVarHeaderParameter = {} as any;
|
|
8261
|
+
const localVarQueryParameter = {} as any;
|
|
8262
|
+
|
|
8263
|
+
// authentication XPartnerAPIKey required
|
|
8264
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-partner-apikey")
|
|
8265
|
+
|
|
8266
|
+
// authentication XClientSecret required
|
|
8267
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-secret")
|
|
8268
|
+
|
|
8269
|
+
// authentication XPartnerMerchantID required
|
|
8270
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-partner-merchantid")
|
|
8271
|
+
|
|
8272
|
+
// authentication XClientID required
|
|
8273
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-id")
|
|
8274
|
+
|
|
8275
|
+
// authentication XClientSignatureHeader required
|
|
8276
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-signature")
|
|
8277
|
+
|
|
8278
|
+
|
|
8279
|
+
|
|
8280
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8281
|
+
|
|
8282
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
8283
|
+
if (x_api_version != null && x_api_version != undefined) {
|
|
8284
|
+
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8285
|
+
}
|
|
8286
|
+
|
|
8287
|
+
if (x_request_id != null && x_request_id != undefined) {
|
|
8288
|
+
localVarHeaderParameter['x-request-id'] = x_request_id;
|
|
8289
|
+
}
|
|
8290
|
+
|
|
8291
|
+
if (x_idempotency_key != null && x_idempotency_key != undefined) {
|
|
8292
|
+
localVarHeaderParameter['x-idempotency-key'] = x_idempotency_key;
|
|
8293
|
+
}
|
|
8294
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8295
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8296
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8297
|
+
localVarRequestOptions.data = serializeDataIfNeeded(UpdateTerminalRequest, localVarRequestOptions, configuration)
|
|
8298
|
+
|
|
8299
|
+
return {
|
|
8300
|
+
url: toPathString(localVarUrlObj),
|
|
8301
|
+
options: localVarRequestOptions,
|
|
8302
|
+
};
|
|
8067
8303
|
},
|
|
8068
8304
|
/**
|
|
8069
|
-
* Use this API to
|
|
8070
|
-
* @summary
|
|
8305
|
+
* Use this API to update the terminal status.
|
|
8306
|
+
* @summary Update Terminal Sttus
|
|
8307
|
+
|
|
8071
8308
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8072
|
-
* @param {string}
|
|
8309
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
8310
|
+
* @param {UpdateTerminalStatusRequest} UpdateTerminalStatusRequest Request Body to update terminal status for SPOS.
|
|
8073
8311
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8074
8312
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8075
8313
|
* @param {*} [options] Override http request option.
|
|
8076
8314
|
* @throws {RequiredError}
|
|
8315
|
+
* x_request_id?: string,
|
|
8077
8316
|
*/
|
|
8078
|
-
async
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8317
|
+
sposUpdateTerminalStatus: async (x_api_version: string, cf_terminal_id: string, UpdateTerminalStatusRequest: UpdateTerminalStatusRequest, x_request_id?: string, x_idempotency_key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8318
|
+
// verify required parameter 'x_api_version' is not null or undefined
|
|
8319
|
+
assertParamExists('sposUpdateTerminalStatus', 'x_api_version', x_api_version)
|
|
8320
|
+
// verify required parameter 'cf_terminal_id' is not null or undefined
|
|
8321
|
+
assertParamExists('sposUpdateTerminalStatus', 'cf_terminal_id', cf_terminal_id)
|
|
8322
|
+
// verify required parameter 'UpdateTerminalStatusRequest' is not null or undefined
|
|
8323
|
+
assertParamExists('sposUpdateTerminalStatus', 'UpdateTerminalStatusRequest', UpdateTerminalStatusRequest)
|
|
8324
|
+
const localVarPath = `/terminal/{cf_terminal_id}/status`
|
|
8325
|
+
.replace(`{${"cf_terminal_id"}}`, encodeURIComponent(String(cf_terminal_id)));
|
|
8326
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8327
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8328
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8329
|
+
url = "https://api.cashfree.com/pg"
|
|
8330
|
+
}
|
|
8331
|
+
const localVarUrlObj = new URL(localVarPath, url);
|
|
8332
|
+
let baseOptions;
|
|
8333
|
+
if (configuration) {
|
|
8334
|
+
baseOptions = configuration.baseOptions;
|
|
8335
|
+
}
|
|
8336
|
+
|
|
8337
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
8338
|
+
const localVarHeaderParameter = {} as any;
|
|
8339
|
+
const localVarQueryParameter = {} as any;
|
|
8340
|
+
|
|
8341
|
+
// authentication XPartnerAPIKey required
|
|
8342
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-partner-apikey")
|
|
8343
|
+
|
|
8344
|
+
// authentication XClientSecret required
|
|
8345
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-secret")
|
|
8346
|
+
|
|
8347
|
+
// authentication XPartnerMerchantID required
|
|
8348
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-partner-merchantid")
|
|
8349
|
+
|
|
8350
|
+
// authentication XClientID required
|
|
8351
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-id")
|
|
8352
|
+
|
|
8353
|
+
// authentication XClientSignatureHeader required
|
|
8354
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-signature")
|
|
8355
|
+
|
|
8356
|
+
|
|
8357
|
+
|
|
8358
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8359
|
+
|
|
8360
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
8361
|
+
if (x_api_version != null && x_api_version != undefined) {
|
|
8362
|
+
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8363
|
+
}
|
|
8364
|
+
|
|
8365
|
+
if (x_request_id != null && x_request_id != undefined) {
|
|
8366
|
+
localVarHeaderParameter['x-request-id'] = x_request_id;
|
|
8367
|
+
}
|
|
8368
|
+
|
|
8369
|
+
if (x_idempotency_key != null && x_idempotency_key != undefined) {
|
|
8370
|
+
localVarHeaderParameter['x-idempotency-key'] = x_idempotency_key;
|
|
8371
|
+
}
|
|
8372
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8373
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8374
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8375
|
+
localVarRequestOptions.data = serializeDataIfNeeded(UpdateTerminalStatusRequest, localVarRequestOptions, configuration)
|
|
8376
|
+
|
|
8377
|
+
return {
|
|
8378
|
+
url: toPathString(localVarUrlObj),
|
|
8379
|
+
options: localVarRequestOptions,
|
|
8380
|
+
};
|
|
8381
|
+
},
|
|
8382
|
+
/**
|
|
8383
|
+
* Use this API to upload the terminal documents.
|
|
8384
|
+
* @summary Upload Terminal Docs
|
|
8385
|
+
|
|
8386
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8387
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
8388
|
+
* @param {UploadTerminalDocs} UploadTerminalDocs Request Body to update terminal documents for SPOS.
|
|
8389
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8390
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8391
|
+
* @param {*} [options] Override http request option.
|
|
8392
|
+
* @throws {RequiredError}
|
|
8393
|
+
* x_request_id?: string,
|
|
8394
|
+
*/
|
|
8395
|
+
sposUploadTerminalDocs: async (x_api_version: string, cf_terminal_id: string, UploadTerminalDocs: UploadTerminalDocs, x_request_id?: string, x_idempotency_key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8396
|
+
// verify required parameter 'x_api_version' is not null or undefined
|
|
8397
|
+
assertParamExists('sposUploadTerminalDocs', 'x_api_version', x_api_version)
|
|
8398
|
+
// verify required parameter 'cf_terminal_id' is not null or undefined
|
|
8399
|
+
assertParamExists('sposUploadTerminalDocs', 'cf_terminal_id', cf_terminal_id)
|
|
8400
|
+
// verify required parameter 'UploadTerminalDocs' is not null or undefined
|
|
8401
|
+
assertParamExists('sposUploadTerminalDocs', 'UploadTerminalDocs', UploadTerminalDocs)
|
|
8402
|
+
const localVarPath = `/terminal/{cf_terminal_id}/docs`
|
|
8403
|
+
.replace(`{${"cf_terminal_id"}}`, encodeURIComponent(String(cf_terminal_id)));
|
|
8404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8405
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8406
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8407
|
+
url = "https://api.cashfree.com/pg"
|
|
8408
|
+
}
|
|
8409
|
+
const localVarUrlObj = new URL(localVarPath, url);
|
|
8410
|
+
let baseOptions;
|
|
8411
|
+
if (configuration) {
|
|
8412
|
+
baseOptions = configuration.baseOptions;
|
|
8413
|
+
}
|
|
8414
|
+
|
|
8415
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8416
|
+
const localVarHeaderParameter = {} as any;
|
|
8417
|
+
const localVarQueryParameter = {} as any;
|
|
8418
|
+
|
|
8419
|
+
// authentication XPartnerAPIKey required
|
|
8420
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-partner-apikey")
|
|
8421
|
+
|
|
8422
|
+
// authentication XClientSecret required
|
|
8423
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-secret")
|
|
8424
|
+
|
|
8425
|
+
// authentication XPartnerMerchantID required
|
|
8426
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-partner-merchantid")
|
|
8427
|
+
|
|
8428
|
+
// authentication XClientID required
|
|
8429
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-id")
|
|
8430
|
+
|
|
8431
|
+
// authentication XClientSignatureHeader required
|
|
8432
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-client-signature")
|
|
8433
|
+
|
|
8434
|
+
|
|
8435
|
+
|
|
8436
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8437
|
+
|
|
8438
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
8439
|
+
if (x_api_version != null && x_api_version != undefined) {
|
|
8440
|
+
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8441
|
+
}
|
|
8442
|
+
|
|
8443
|
+
if (x_request_id != null && x_request_id != undefined) {
|
|
8444
|
+
localVarHeaderParameter['x-request-id'] = x_request_id;
|
|
8445
|
+
}
|
|
8446
|
+
|
|
8447
|
+
if (x_idempotency_key != null && x_idempotency_key != undefined) {
|
|
8448
|
+
localVarHeaderParameter['x-idempotency-key'] = x_idempotency_key;
|
|
8449
|
+
}
|
|
8450
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8451
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8452
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8453
|
+
localVarRequestOptions.data = serializeDataIfNeeded(UploadTerminalDocs, localVarRequestOptions, configuration)
|
|
8454
|
+
|
|
8455
|
+
return {
|
|
8456
|
+
url: toPathString(localVarUrlObj),
|
|
8457
|
+
options: localVarRequestOptions,
|
|
8458
|
+
};
|
|
8459
|
+
},
|
|
8460
|
+
}
|
|
8461
|
+
};
|
|
8462
|
+
|
|
8463
|
+
/**
|
|
8464
|
+
* SoftPOSApi - functional programming interface
|
|
8465
|
+
* @export
|
|
8466
|
+
*/
|
|
8467
|
+
const SoftPOSApiFp = function(configuration?: Configuration) {
|
|
8468
|
+
const localVarAxiosParamCreator = SoftPOSApiAxiosParamCreator(configuration)
|
|
8469
|
+
return {
|
|
8470
|
+
/**
|
|
8471
|
+
* Use this API to create new terminals to use softPOS.
|
|
8472
|
+
* @summary Create Terminal
|
|
8473
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8474
|
+
* @param {CreateTerminalRequest} CreateTerminalRequest Request Body to Create Terminal for SPOS
|
|
8475
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8476
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8477
|
+
* @param {*} [options] Override http request option.
|
|
8478
|
+
* @throws {RequiredError}
|
|
8479
|
+
*/
|
|
8480
|
+
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>> {
|
|
8481
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sposCreateTerminal(x_api_version, CreateTerminalRequest, x_request_id, x_idempotency_key, options);
|
|
8482
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8483
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8484
|
+
url = "https://api.cashfree.com/pg"
|
|
8485
|
+
}
|
|
8486
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
|
|
8487
|
+
},
|
|
8488
|
+
/**
|
|
8489
|
+
* Use this API to create a new terminal transaction. To use this API you should first create an order using the Create Order API. Also, you need to enter the terminal details while creating the order and pass the same terminal information while creating a transaction using the below mentioned API.
|
|
8490
|
+
* @summary Create Terminal Transaction
|
|
8491
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8492
|
+
* @param {CreateTerminalTransactionRequest} CreateTerminalTransactionRequest Request body to create a terminal transaction
|
|
8493
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8494
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8495
|
+
* @param {*} [options] Override http request option.
|
|
8496
|
+
* @throws {RequiredError}
|
|
8497
|
+
*/
|
|
8498
|
+
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>> {
|
|
8499
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sposCreateTerminalTransaction(x_api_version, CreateTerminalTransactionRequest, x_request_id, x_idempotency_key, options);
|
|
8500
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8501
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8502
|
+
url = "https://api.cashfree.com/pg"
|
|
8503
|
+
}
|
|
8504
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
|
|
8505
|
+
},
|
|
8506
|
+
/**
|
|
8507
|
+
* Use this API to view all details of a terminal.
|
|
8508
|
+
* @summary Get Terminal Status using Phone Number
|
|
8509
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8510
|
+
* @param {string} terminal_phone_no The terminal for which you want to view the order details.
|
|
8511
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8512
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8513
|
+
* @param {*} [options] Override http request option.
|
|
8514
|
+
* @throws {RequiredError}
|
|
8515
|
+
*/
|
|
8516
|
+
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>> {
|
|
8517
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sposFetchTerminal(x_api_version, terminal_phone_no, x_request_id, x_idempotency_key, options);
|
|
8518
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8519
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8520
|
+
url = "https://api.cashfree.com/pg"
|
|
8521
|
+
}
|
|
8522
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
|
|
8523
|
+
},
|
|
8524
|
+
/**
|
|
8525
|
+
* You can fetch all the StaticQRs corresponding to given terminal id or phone number. Provide either the terminal_phone_no or terminal_id in the request.
|
|
8526
|
+
* @summary Fetch Terminal QR Codes
|
|
8527
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8528
|
+
* @param {string} terminal_phone_no Phone number assigned to the terminal. Required if you are not providing the cf_terminal_id in the request.
|
|
8529
|
+
* @param {string} cf_terminal_id Cashfree terminal id for which you want to get staticQRs. Required if you are not providing the terminal_phone_number in the request.
|
|
8092
8530
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8093
8531
|
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8094
8532
|
* @param {*} [options] Override http request option.
|
|
@@ -8102,6 +8540,63 @@ const SoftPOSApiFp = function(configuration?: Configuration) {
|
|
|
8102
8540
|
}
|
|
8103
8541
|
return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
|
|
8104
8542
|
},
|
|
8543
|
+
/**
|
|
8544
|
+
* Use this API to update the terminal details. Email, Phone Number, and Terminal Meta are updatable for \"Storefront\". Only account status change is possible in case of \"Agent\".
|
|
8545
|
+
* @summary Update Terminal
|
|
8546
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8547
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
8548
|
+
* @param {UpdateTerminalRequest} UpdateTerminalRequest Request Body to update terminal for SPOS.
|
|
8549
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8550
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8551
|
+
* @param {*} [options] Override http request option.
|
|
8552
|
+
* @throws {RequiredError}
|
|
8553
|
+
*/
|
|
8554
|
+
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>>> {
|
|
8555
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sposUpdateTerminal(x_api_version, cf_terminal_id, UpdateTerminalRequest, x_request_id, x_idempotency_key, options);
|
|
8556
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8557
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8558
|
+
url = "https://api.cashfree.com/pg"
|
|
8559
|
+
}
|
|
8560
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
|
|
8561
|
+
},
|
|
8562
|
+
/**
|
|
8563
|
+
* Use this API to update the terminal status.
|
|
8564
|
+
* @summary Update Terminal Sttus
|
|
8565
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8566
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
8567
|
+
* @param {UpdateTerminalStatusRequest} UpdateTerminalStatusRequest Request Body to update terminal status for SPOS.
|
|
8568
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8569
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8570
|
+
* @param {*} [options] Override http request option.
|
|
8571
|
+
* @throws {RequiredError}
|
|
8572
|
+
*/
|
|
8573
|
+
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>>> {
|
|
8574
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sposUpdateTerminalStatus(x_api_version, cf_terminal_id, UpdateTerminalStatusRequest, x_request_id, x_idempotency_key, options);
|
|
8575
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8576
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8577
|
+
url = "https://api.cashfree.com/pg"
|
|
8578
|
+
}
|
|
8579
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
|
|
8580
|
+
},
|
|
8581
|
+
/**
|
|
8582
|
+
* Use this API to upload the terminal documents.
|
|
8583
|
+
* @summary Upload Terminal Docs
|
|
8584
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
8585
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
8586
|
+
* @param {UploadTerminalDocs} UploadTerminalDocs Request Body to update terminal documents for SPOS.
|
|
8587
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
8588
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
8589
|
+
* @param {*} [options] Override http request option.
|
|
8590
|
+
* @throws {RequiredError}
|
|
8591
|
+
*/
|
|
8592
|
+
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>>> {
|
|
8593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sposUploadTerminalDocs(x_api_version, cf_terminal_id, UploadTerminalDocs, x_request_id, x_idempotency_key, options);
|
|
8594
|
+
var url = "https://sandbox.cashfree.com/pg";
|
|
8595
|
+
if(Cashfree.XEnvironment == CFEnvironment.PRODUCTION) {
|
|
8596
|
+
url = "https://api.cashfree.com/pg"
|
|
8597
|
+
}
|
|
8598
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, url, configuration);
|
|
8599
|
+
},
|
|
8105
8600
|
}
|
|
8106
8601
|
};
|
|
8107
8602
|
|
|
@@ -8175,7 +8670,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8175
8670
|
|
|
8176
8671
|
|
|
8177
8672
|
|
|
8178
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
8673
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
8179
8674
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8180
8675
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8181
8676
|
}
|
|
@@ -8251,7 +8746,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8251
8746
|
|
|
8252
8747
|
|
|
8253
8748
|
|
|
8254
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
8749
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
8255
8750
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8256
8751
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8257
8752
|
}
|
|
@@ -8330,7 +8825,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8330
8825
|
|
|
8331
8826
|
|
|
8332
8827
|
|
|
8333
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
8828
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
8334
8829
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8335
8830
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8336
8831
|
}
|
|
@@ -8406,7 +8901,7 @@ const TokenVaultApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8406
8901
|
|
|
8407
8902
|
|
|
8408
8903
|
|
|
8409
|
-
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.
|
|
8904
|
+
localVarHeaderParameter['x-sdk-platform'] = 'nodejssdk-4.0.7';
|
|
8410
8905
|
if (x_api_version != null && x_api_version != undefined) {
|
|
8411
8906
|
localVarHeaderParameter['x-api-version'] = x_api_version;
|
|
8412
8907
|
}
|
|
@@ -8601,7 +9096,7 @@ export class Cashfree {
|
|
|
8601
9096
|
public static PGCreateCustomer(x_api_version: string, CreateCustomerRequest: CreateCustomerRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
8602
9097
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
8603
9098
|
Sentry.init({
|
|
8604
|
-
dsn: 'https://
|
|
9099
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
8605
9100
|
// Performance Monitoring
|
|
8606
9101
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
8607
9102
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -8612,7 +9107,7 @@ export class Cashfree {
|
|
|
8612
9107
|
delete event.contexts.os;
|
|
8613
9108
|
delete event.contexts.device;
|
|
8614
9109
|
delete event.server_name;
|
|
8615
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9110
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
8616
9111
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
8617
9112
|
if (stackTrace && stackTrace.frames) {
|
|
8618
9113
|
|
|
@@ -8634,7 +9129,7 @@ export class Cashfree {
|
|
|
8634
9129
|
} else {
|
|
8635
9130
|
scope.setExtra('environment', 'production');
|
|
8636
9131
|
}
|
|
8637
|
-
scope.setExtra('release', "4.0.
|
|
9132
|
+
scope.setExtra('release', "4.0.7");
|
|
8638
9133
|
});
|
|
8639
9134
|
}
|
|
8640
9135
|
try {
|
|
@@ -8661,7 +9156,7 @@ export class Cashfree {
|
|
|
8661
9156
|
public static PGEligibilityFetchCardlessEMI(x_api_version: string, EligibilityFetchCardlessEMIRequest: EligibilityFetchCardlessEMIRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
8662
9157
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
8663
9158
|
Sentry.init({
|
|
8664
|
-
dsn: 'https://
|
|
9159
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
8665
9160
|
// Performance Monitoring
|
|
8666
9161
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
8667
9162
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -8672,7 +9167,7 @@ export class Cashfree {
|
|
|
8672
9167
|
delete event.contexts.os;
|
|
8673
9168
|
delete event.contexts.device;
|
|
8674
9169
|
delete event.server_name;
|
|
8675
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9170
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
8676
9171
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
8677
9172
|
if (stackTrace && stackTrace.frames) {
|
|
8678
9173
|
|
|
@@ -8694,7 +9189,7 @@ export class Cashfree {
|
|
|
8694
9189
|
} else {
|
|
8695
9190
|
scope.setExtra('environment', 'production');
|
|
8696
9191
|
}
|
|
8697
|
-
scope.setExtra('release', "4.0.
|
|
9192
|
+
scope.setExtra('release', "4.0.7");
|
|
8698
9193
|
});
|
|
8699
9194
|
}
|
|
8700
9195
|
try {
|
|
@@ -8721,7 +9216,7 @@ export class Cashfree {
|
|
|
8721
9216
|
public static PGEligibilityFetchOffers(x_api_version: string, EligibilityFetchOffersRequest: EligibilityFetchOffersRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
8722
9217
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
8723
9218
|
Sentry.init({
|
|
8724
|
-
dsn: 'https://
|
|
9219
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
8725
9220
|
// Performance Monitoring
|
|
8726
9221
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
8727
9222
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -8732,7 +9227,7 @@ export class Cashfree {
|
|
|
8732
9227
|
delete event.contexts.os;
|
|
8733
9228
|
delete event.contexts.device;
|
|
8734
9229
|
delete event.server_name;
|
|
8735
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9230
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
8736
9231
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
8737
9232
|
if (stackTrace && stackTrace.frames) {
|
|
8738
9233
|
|
|
@@ -8754,7 +9249,7 @@ export class Cashfree {
|
|
|
8754
9249
|
} else {
|
|
8755
9250
|
scope.setExtra('environment', 'production');
|
|
8756
9251
|
}
|
|
8757
|
-
scope.setExtra('release', "4.0.
|
|
9252
|
+
scope.setExtra('release', "4.0.7");
|
|
8758
9253
|
});
|
|
8759
9254
|
}
|
|
8760
9255
|
try {
|
|
@@ -8781,7 +9276,7 @@ export class Cashfree {
|
|
|
8781
9276
|
public static PGEligibilityFetchPaylater(x_api_version: string, EligibilityFetchPaylaterRequest: EligibilityFetchPaylaterRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
8782
9277
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
8783
9278
|
Sentry.init({
|
|
8784
|
-
dsn: 'https://
|
|
9279
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
8785
9280
|
// Performance Monitoring
|
|
8786
9281
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
8787
9282
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -8792,7 +9287,7 @@ export class Cashfree {
|
|
|
8792
9287
|
delete event.contexts.os;
|
|
8793
9288
|
delete event.contexts.device;
|
|
8794
9289
|
delete event.server_name;
|
|
8795
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9290
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
8796
9291
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
8797
9292
|
if (stackTrace && stackTrace.frames) {
|
|
8798
9293
|
|
|
@@ -8814,7 +9309,7 @@ export class Cashfree {
|
|
|
8814
9309
|
} else {
|
|
8815
9310
|
scope.setExtra('environment', 'production');
|
|
8816
9311
|
}
|
|
8817
|
-
scope.setExtra('release', "4.0.
|
|
9312
|
+
scope.setExtra('release', "4.0.7");
|
|
8818
9313
|
});
|
|
8819
9314
|
}
|
|
8820
9315
|
try {
|
|
@@ -8841,7 +9336,7 @@ export class Cashfree {
|
|
|
8841
9336
|
public static PGEligibilityFetchPaymentMethods(x_api_version: string, EligibilityFetchPaymentMethodsRequest: EligibilityFetchPaymentMethodsRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
8842
9337
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
8843
9338
|
Sentry.init({
|
|
8844
|
-
dsn: 'https://
|
|
9339
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
8845
9340
|
// Performance Monitoring
|
|
8846
9341
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
8847
9342
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -8852,7 +9347,7 @@ export class Cashfree {
|
|
|
8852
9347
|
delete event.contexts.os;
|
|
8853
9348
|
delete event.contexts.device;
|
|
8854
9349
|
delete event.server_name;
|
|
8855
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9350
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
8856
9351
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
8857
9352
|
if (stackTrace && stackTrace.frames) {
|
|
8858
9353
|
|
|
@@ -8874,7 +9369,7 @@ export class Cashfree {
|
|
|
8874
9369
|
} else {
|
|
8875
9370
|
scope.setExtra('environment', 'production');
|
|
8876
9371
|
}
|
|
8877
|
-
scope.setExtra('release', "4.0.
|
|
9372
|
+
scope.setExtra('release', "4.0.7");
|
|
8878
9373
|
});
|
|
8879
9374
|
}
|
|
8880
9375
|
try {
|
|
@@ -8901,7 +9396,7 @@ export class Cashfree {
|
|
|
8901
9396
|
public static PGCreateOffer(x_api_version: string, CreateOfferRequest: CreateOfferRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
8902
9397
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
8903
9398
|
Sentry.init({
|
|
8904
|
-
dsn: 'https://
|
|
9399
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
8905
9400
|
// Performance Monitoring
|
|
8906
9401
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
8907
9402
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -8912,7 +9407,7 @@ export class Cashfree {
|
|
|
8912
9407
|
delete event.contexts.os;
|
|
8913
9408
|
delete event.contexts.device;
|
|
8914
9409
|
delete event.server_name;
|
|
8915
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9410
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
8916
9411
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
8917
9412
|
if (stackTrace && stackTrace.frames) {
|
|
8918
9413
|
|
|
@@ -8934,7 +9429,7 @@ export class Cashfree {
|
|
|
8934
9429
|
} else {
|
|
8935
9430
|
scope.setExtra('environment', 'production');
|
|
8936
9431
|
}
|
|
8937
|
-
scope.setExtra('release', "4.0.
|
|
9432
|
+
scope.setExtra('release', "4.0.7");
|
|
8938
9433
|
});
|
|
8939
9434
|
}
|
|
8940
9435
|
try {
|
|
@@ -8961,7 +9456,7 @@ export class Cashfree {
|
|
|
8961
9456
|
public static PGFetchOffer(x_api_version: string, offer_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
8962
9457
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
8963
9458
|
Sentry.init({
|
|
8964
|
-
dsn: 'https://
|
|
9459
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
8965
9460
|
// Performance Monitoring
|
|
8966
9461
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
8967
9462
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -8972,7 +9467,7 @@ export class Cashfree {
|
|
|
8972
9467
|
delete event.contexts.os;
|
|
8973
9468
|
delete event.contexts.device;
|
|
8974
9469
|
delete event.server_name;
|
|
8975
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9470
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
8976
9471
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
8977
9472
|
if (stackTrace && stackTrace.frames) {
|
|
8978
9473
|
|
|
@@ -8994,7 +9489,7 @@ export class Cashfree {
|
|
|
8994
9489
|
} else {
|
|
8995
9490
|
scope.setExtra('environment', 'production');
|
|
8996
9491
|
}
|
|
8997
|
-
scope.setExtra('release', "4.0.
|
|
9492
|
+
scope.setExtra('release', "4.0.7");
|
|
8998
9493
|
});
|
|
8999
9494
|
}
|
|
9000
9495
|
try {
|
|
@@ -9021,7 +9516,7 @@ export class Cashfree {
|
|
|
9021
9516
|
public static PGCreateOrder(x_api_version: string, CreateOrderRequest: CreateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9022
9517
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9023
9518
|
Sentry.init({
|
|
9024
|
-
dsn: 'https://
|
|
9519
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9025
9520
|
// Performance Monitoring
|
|
9026
9521
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9027
9522
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9032,7 +9527,7 @@ export class Cashfree {
|
|
|
9032
9527
|
delete event.contexts.os;
|
|
9033
9528
|
delete event.contexts.device;
|
|
9034
9529
|
delete event.server_name;
|
|
9035
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9530
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9036
9531
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9037
9532
|
if (stackTrace && stackTrace.frames) {
|
|
9038
9533
|
|
|
@@ -9054,7 +9549,7 @@ export class Cashfree {
|
|
|
9054
9549
|
} else {
|
|
9055
9550
|
scope.setExtra('environment', 'production');
|
|
9056
9551
|
}
|
|
9057
|
-
scope.setExtra('release', "4.0.
|
|
9552
|
+
scope.setExtra('release', "4.0.7");
|
|
9058
9553
|
});
|
|
9059
9554
|
}
|
|
9060
9555
|
try {
|
|
@@ -9081,7 +9576,7 @@ export class Cashfree {
|
|
|
9081
9576
|
public static PGFetchOrder(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9082
9577
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9083
9578
|
Sentry.init({
|
|
9084
|
-
dsn: 'https://
|
|
9579
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9085
9580
|
// Performance Monitoring
|
|
9086
9581
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9087
9582
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9092,7 +9587,7 @@ export class Cashfree {
|
|
|
9092
9587
|
delete event.contexts.os;
|
|
9093
9588
|
delete event.contexts.device;
|
|
9094
9589
|
delete event.server_name;
|
|
9095
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9590
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9096
9591
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9097
9592
|
if (stackTrace && stackTrace.frames) {
|
|
9098
9593
|
|
|
@@ -9114,7 +9609,7 @@ export class Cashfree {
|
|
|
9114
9609
|
} else {
|
|
9115
9610
|
scope.setExtra('environment', 'production');
|
|
9116
9611
|
}
|
|
9117
|
-
scope.setExtra('release', "4.0.
|
|
9612
|
+
scope.setExtra('release', "4.0.7");
|
|
9118
9613
|
});
|
|
9119
9614
|
}
|
|
9120
9615
|
try {
|
|
@@ -9142,7 +9637,7 @@ export class Cashfree {
|
|
|
9142
9637
|
public static PGTerminateOrder(x_api_version: string, order_id: string, TerminateOrderRequest: TerminateOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9143
9638
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9144
9639
|
Sentry.init({
|
|
9145
|
-
dsn: 'https://
|
|
9640
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9146
9641
|
// Performance Monitoring
|
|
9147
9642
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9148
9643
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9153,7 +9648,7 @@ export class Cashfree {
|
|
|
9153
9648
|
delete event.contexts.os;
|
|
9154
9649
|
delete event.contexts.device;
|
|
9155
9650
|
delete event.server_name;
|
|
9156
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9651
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9157
9652
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9158
9653
|
if (stackTrace && stackTrace.frames) {
|
|
9159
9654
|
|
|
@@ -9175,7 +9670,7 @@ export class Cashfree {
|
|
|
9175
9670
|
} else {
|
|
9176
9671
|
scope.setExtra('environment', 'production');
|
|
9177
9672
|
}
|
|
9178
|
-
scope.setExtra('release', "4.0.
|
|
9673
|
+
scope.setExtra('release', "4.0.7");
|
|
9179
9674
|
});
|
|
9180
9675
|
}
|
|
9181
9676
|
try {
|
|
@@ -9204,7 +9699,7 @@ export class Cashfree {
|
|
|
9204
9699
|
public static PGFetchRecon(x_api_version: string, FetchReconRequest: FetchReconRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig) {
|
|
9205
9700
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9206
9701
|
Sentry.init({
|
|
9207
|
-
dsn: 'https://
|
|
9702
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9208
9703
|
// Performance Monitoring
|
|
9209
9704
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9210
9705
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9215,7 +9710,7 @@ export class Cashfree {
|
|
|
9215
9710
|
delete event.contexts.os;
|
|
9216
9711
|
delete event.contexts.device;
|
|
9217
9712
|
delete event.server_name;
|
|
9218
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9713
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9219
9714
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9220
9715
|
if (stackTrace && stackTrace.frames) {
|
|
9221
9716
|
|
|
@@ -9237,7 +9732,7 @@ export class Cashfree {
|
|
|
9237
9732
|
} else {
|
|
9238
9733
|
scope.setExtra('environment', 'production');
|
|
9239
9734
|
}
|
|
9240
|
-
scope.setExtra('release', "4.0.
|
|
9735
|
+
scope.setExtra('release', "4.0.7");
|
|
9241
9736
|
});
|
|
9242
9737
|
}
|
|
9243
9738
|
try {
|
|
@@ -9264,7 +9759,7 @@ export class Cashfree {
|
|
|
9264
9759
|
public static PGCancelLink(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9265
9760
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9266
9761
|
Sentry.init({
|
|
9267
|
-
dsn: 'https://
|
|
9762
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9268
9763
|
// Performance Monitoring
|
|
9269
9764
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9270
9765
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9275,7 +9770,7 @@ export class Cashfree {
|
|
|
9275
9770
|
delete event.contexts.os;
|
|
9276
9771
|
delete event.contexts.device;
|
|
9277
9772
|
delete event.server_name;
|
|
9278
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9773
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9279
9774
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9280
9775
|
if (stackTrace && stackTrace.frames) {
|
|
9281
9776
|
|
|
@@ -9297,7 +9792,7 @@ export class Cashfree {
|
|
|
9297
9792
|
} else {
|
|
9298
9793
|
scope.setExtra('environment', 'production');
|
|
9299
9794
|
}
|
|
9300
|
-
scope.setExtra('release', "4.0.
|
|
9795
|
+
scope.setExtra('release', "4.0.7");
|
|
9301
9796
|
});
|
|
9302
9797
|
}
|
|
9303
9798
|
try {
|
|
@@ -9324,7 +9819,7 @@ export class Cashfree {
|
|
|
9324
9819
|
public static PGCreateLink(x_api_version: string, CreateLinkRequest: CreateLinkRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9325
9820
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9326
9821
|
Sentry.init({
|
|
9327
|
-
dsn: 'https://
|
|
9822
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9328
9823
|
// Performance Monitoring
|
|
9329
9824
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9330
9825
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9335,7 +9830,7 @@ export class Cashfree {
|
|
|
9335
9830
|
delete event.contexts.os;
|
|
9336
9831
|
delete event.contexts.device;
|
|
9337
9832
|
delete event.server_name;
|
|
9338
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9833
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9339
9834
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9340
9835
|
if (stackTrace && stackTrace.frames) {
|
|
9341
9836
|
|
|
@@ -9357,7 +9852,7 @@ export class Cashfree {
|
|
|
9357
9852
|
} else {
|
|
9358
9853
|
scope.setExtra('environment', 'production');
|
|
9359
9854
|
}
|
|
9360
|
-
scope.setExtra('release', "4.0.
|
|
9855
|
+
scope.setExtra('release', "4.0.7");
|
|
9361
9856
|
});
|
|
9362
9857
|
}
|
|
9363
9858
|
try {
|
|
@@ -9384,7 +9879,7 @@ export class Cashfree {
|
|
|
9384
9879
|
public static PGFetchLink(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9385
9880
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9386
9881
|
Sentry.init({
|
|
9387
|
-
dsn: 'https://
|
|
9882
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9388
9883
|
// Performance Monitoring
|
|
9389
9884
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9390
9885
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9395,7 +9890,7 @@ export class Cashfree {
|
|
|
9395
9890
|
delete event.contexts.os;
|
|
9396
9891
|
delete event.contexts.device;
|
|
9397
9892
|
delete event.server_name;
|
|
9398
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9893
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9399
9894
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9400
9895
|
if (stackTrace && stackTrace.frames) {
|
|
9401
9896
|
|
|
@@ -9417,7 +9912,7 @@ export class Cashfree {
|
|
|
9417
9912
|
} else {
|
|
9418
9913
|
scope.setExtra('environment', 'production');
|
|
9419
9914
|
}
|
|
9420
|
-
scope.setExtra('release', "4.0.
|
|
9915
|
+
scope.setExtra('release', "4.0.7");
|
|
9421
9916
|
});
|
|
9422
9917
|
}
|
|
9423
9918
|
try {
|
|
@@ -9444,7 +9939,7 @@ export class Cashfree {
|
|
|
9444
9939
|
public static PGLinkFetchOrders(x_api_version: string, link_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9445
9940
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9446
9941
|
Sentry.init({
|
|
9447
|
-
dsn: 'https://
|
|
9942
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9448
9943
|
// Performance Monitoring
|
|
9449
9944
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9450
9945
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9455,7 +9950,7 @@ export class Cashfree {
|
|
|
9455
9950
|
delete event.contexts.os;
|
|
9456
9951
|
delete event.contexts.device;
|
|
9457
9952
|
delete event.server_name;
|
|
9458
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
9953
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9459
9954
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9460
9955
|
if (stackTrace && stackTrace.frames) {
|
|
9461
9956
|
|
|
@@ -9477,7 +9972,7 @@ export class Cashfree {
|
|
|
9477
9972
|
} else {
|
|
9478
9973
|
scope.setExtra('environment', 'production');
|
|
9479
9974
|
}
|
|
9480
|
-
scope.setExtra('release', "4.0.
|
|
9975
|
+
scope.setExtra('release', "4.0.7");
|
|
9481
9976
|
});
|
|
9482
9977
|
}
|
|
9483
9978
|
try {
|
|
@@ -9505,7 +10000,7 @@ export class Cashfree {
|
|
|
9505
10000
|
public static PGAuthorizeOrder(x_api_version: string, order_id: string, AuthorizeOrderRequest: AuthorizeOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9506
10001
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9507
10002
|
Sentry.init({
|
|
9508
|
-
dsn: 'https://
|
|
10003
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9509
10004
|
// Performance Monitoring
|
|
9510
10005
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9511
10006
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9516,7 +10011,7 @@ export class Cashfree {
|
|
|
9516
10011
|
delete event.contexts.os;
|
|
9517
10012
|
delete event.contexts.device;
|
|
9518
10013
|
delete event.server_name;
|
|
9519
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10014
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9520
10015
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9521
10016
|
if (stackTrace && stackTrace.frames) {
|
|
9522
10017
|
|
|
@@ -9538,7 +10033,7 @@ export class Cashfree {
|
|
|
9538
10033
|
} else {
|
|
9539
10034
|
scope.setExtra('environment', 'production');
|
|
9540
10035
|
}
|
|
9541
|
-
scope.setExtra('release', "4.0.
|
|
10036
|
+
scope.setExtra('release', "4.0.7");
|
|
9542
10037
|
});
|
|
9543
10038
|
}
|
|
9544
10039
|
try {
|
|
@@ -9566,7 +10061,7 @@ export class Cashfree {
|
|
|
9566
10061
|
public static PGOrderAuthenticatePayment(x_api_version: string, cf_payment_id: string, OrderAuthenticatePaymentRequest: OrderAuthenticatePaymentRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9567
10062
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9568
10063
|
Sentry.init({
|
|
9569
|
-
dsn: 'https://
|
|
10064
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9570
10065
|
// Performance Monitoring
|
|
9571
10066
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9572
10067
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9577,7 +10072,7 @@ export class Cashfree {
|
|
|
9577
10072
|
delete event.contexts.os;
|
|
9578
10073
|
delete event.contexts.device;
|
|
9579
10074
|
delete event.server_name;
|
|
9580
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10075
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9581
10076
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9582
10077
|
if (stackTrace && stackTrace.frames) {
|
|
9583
10078
|
|
|
@@ -9599,7 +10094,7 @@ export class Cashfree {
|
|
|
9599
10094
|
} else {
|
|
9600
10095
|
scope.setExtra('environment', 'production');
|
|
9601
10096
|
}
|
|
9602
|
-
scope.setExtra('release', "4.0.
|
|
10097
|
+
scope.setExtra('release', "4.0.7");
|
|
9603
10098
|
});
|
|
9604
10099
|
}
|
|
9605
10100
|
try {
|
|
@@ -9627,7 +10122,7 @@ export class Cashfree {
|
|
|
9627
10122
|
public static PGOrderFetchPayment(x_api_version: string, order_id: string, cf_payment_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9628
10123
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9629
10124
|
Sentry.init({
|
|
9630
|
-
dsn: 'https://
|
|
10125
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9631
10126
|
// Performance Monitoring
|
|
9632
10127
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9633
10128
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9638,7 +10133,7 @@ export class Cashfree {
|
|
|
9638
10133
|
delete event.contexts.os;
|
|
9639
10134
|
delete event.contexts.device;
|
|
9640
10135
|
delete event.server_name;
|
|
9641
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10136
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9642
10137
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9643
10138
|
if (stackTrace && stackTrace.frames) {
|
|
9644
10139
|
|
|
@@ -9660,7 +10155,7 @@ export class Cashfree {
|
|
|
9660
10155
|
} else {
|
|
9661
10156
|
scope.setExtra('environment', 'production');
|
|
9662
10157
|
}
|
|
9663
|
-
scope.setExtra('release', "4.0.
|
|
10158
|
+
scope.setExtra('release', "4.0.7");
|
|
9664
10159
|
});
|
|
9665
10160
|
}
|
|
9666
10161
|
try {
|
|
@@ -9687,7 +10182,7 @@ export class Cashfree {
|
|
|
9687
10182
|
public static PGOrderFetchPayments(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9688
10183
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9689
10184
|
Sentry.init({
|
|
9690
|
-
dsn: 'https://
|
|
10185
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9691
10186
|
// Performance Monitoring
|
|
9692
10187
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9693
10188
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9698,7 +10193,7 @@ export class Cashfree {
|
|
|
9698
10193
|
delete event.contexts.os;
|
|
9699
10194
|
delete event.contexts.device;
|
|
9700
10195
|
delete event.server_name;
|
|
9701
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10196
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9702
10197
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9703
10198
|
if (stackTrace && stackTrace.frames) {
|
|
9704
10199
|
|
|
@@ -9720,7 +10215,7 @@ export class Cashfree {
|
|
|
9720
10215
|
} else {
|
|
9721
10216
|
scope.setExtra('environment', 'production');
|
|
9722
10217
|
}
|
|
9723
|
-
scope.setExtra('release', "4.0.
|
|
10218
|
+
scope.setExtra('release', "4.0.7");
|
|
9724
10219
|
});
|
|
9725
10220
|
}
|
|
9726
10221
|
try {
|
|
@@ -9747,7 +10242,7 @@ export class Cashfree {
|
|
|
9747
10242
|
public static PGPayOrder(x_api_version: string, PayOrderRequest: PayOrderRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9748
10243
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9749
10244
|
Sentry.init({
|
|
9750
|
-
dsn: 'https://
|
|
10245
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9751
10246
|
// Performance Monitoring
|
|
9752
10247
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9753
10248
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9758,7 +10253,7 @@ export class Cashfree {
|
|
|
9758
10253
|
delete event.contexts.os;
|
|
9759
10254
|
delete event.contexts.device;
|
|
9760
10255
|
delete event.server_name;
|
|
9761
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10256
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9762
10257
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9763
10258
|
if (stackTrace && stackTrace.frames) {
|
|
9764
10259
|
|
|
@@ -9780,7 +10275,7 @@ export class Cashfree {
|
|
|
9780
10275
|
} else {
|
|
9781
10276
|
scope.setExtra('environment', 'production');
|
|
9782
10277
|
}
|
|
9783
|
-
scope.setExtra('release', "4.0.
|
|
10278
|
+
scope.setExtra('release', "4.0.7");
|
|
9784
10279
|
});
|
|
9785
10280
|
}
|
|
9786
10281
|
try {
|
|
@@ -9808,7 +10303,7 @@ export class Cashfree {
|
|
|
9808
10303
|
public static PGOrderCreateRefund(x_api_version: string, order_id: string, OrderCreateRefundRequest: OrderCreateRefundRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9809
10304
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9810
10305
|
Sentry.init({
|
|
9811
|
-
dsn: 'https://
|
|
10306
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9812
10307
|
// Performance Monitoring
|
|
9813
10308
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9814
10309
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9819,7 +10314,7 @@ export class Cashfree {
|
|
|
9819
10314
|
delete event.contexts.os;
|
|
9820
10315
|
delete event.contexts.device;
|
|
9821
10316
|
delete event.server_name;
|
|
9822
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10317
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9823
10318
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9824
10319
|
if (stackTrace && stackTrace.frames) {
|
|
9825
10320
|
|
|
@@ -9841,7 +10336,7 @@ export class Cashfree {
|
|
|
9841
10336
|
} else {
|
|
9842
10337
|
scope.setExtra('environment', 'production');
|
|
9843
10338
|
}
|
|
9844
|
-
scope.setExtra('release', "4.0.
|
|
10339
|
+
scope.setExtra('release', "4.0.7");
|
|
9845
10340
|
});
|
|
9846
10341
|
}
|
|
9847
10342
|
try {
|
|
@@ -9869,7 +10364,7 @@ export class Cashfree {
|
|
|
9869
10364
|
public static PGOrderFetchRefund(x_api_version: string, order_id: string, refund_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9870
10365
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9871
10366
|
Sentry.init({
|
|
9872
|
-
dsn: 'https://
|
|
10367
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9873
10368
|
// Performance Monitoring
|
|
9874
10369
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9875
10370
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9880,7 +10375,7 @@ export class Cashfree {
|
|
|
9880
10375
|
delete event.contexts.os;
|
|
9881
10376
|
delete event.contexts.device;
|
|
9882
10377
|
delete event.server_name;
|
|
9883
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10378
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9884
10379
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9885
10380
|
if (stackTrace && stackTrace.frames) {
|
|
9886
10381
|
|
|
@@ -9902,7 +10397,7 @@ export class Cashfree {
|
|
|
9902
10397
|
} else {
|
|
9903
10398
|
scope.setExtra('environment', 'production');
|
|
9904
10399
|
}
|
|
9905
|
-
scope.setExtra('release', "4.0.
|
|
10400
|
+
scope.setExtra('release', "4.0.7");
|
|
9906
10401
|
});
|
|
9907
10402
|
}
|
|
9908
10403
|
try {
|
|
@@ -9929,7 +10424,7 @@ export class Cashfree {
|
|
|
9929
10424
|
public static PGOrderFetchRefunds(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
9930
10425
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9931
10426
|
Sentry.init({
|
|
9932
|
-
dsn: 'https://
|
|
10427
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9933
10428
|
// Performance Monitoring
|
|
9934
10429
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9935
10430
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -9940,7 +10435,7 @@ export class Cashfree {
|
|
|
9940
10435
|
delete event.contexts.os;
|
|
9941
10436
|
delete event.contexts.device;
|
|
9942
10437
|
delete event.server_name;
|
|
9943
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10438
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
9944
10439
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
9945
10440
|
if (stackTrace && stackTrace.frames) {
|
|
9946
10441
|
|
|
@@ -9962,7 +10457,7 @@ export class Cashfree {
|
|
|
9962
10457
|
} else {
|
|
9963
10458
|
scope.setExtra('environment', 'production');
|
|
9964
10459
|
}
|
|
9965
|
-
scope.setExtra('release', "4.0.
|
|
10460
|
+
scope.setExtra('release', "4.0.7");
|
|
9966
10461
|
});
|
|
9967
10462
|
}
|
|
9968
10463
|
try {
|
|
@@ -9991,7 +10486,7 @@ export class Cashfree {
|
|
|
9991
10486
|
public static PGFetchSettlements(x_api_version: string, FetchSettlementsRequest: FetchSettlementsRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig) {
|
|
9992
10487
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
9993
10488
|
Sentry.init({
|
|
9994
|
-
dsn: 'https://
|
|
10489
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
9995
10490
|
// Performance Monitoring
|
|
9996
10491
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
9997
10492
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10002,7 +10497,7 @@ export class Cashfree {
|
|
|
10002
10497
|
delete event.contexts.os;
|
|
10003
10498
|
delete event.contexts.device;
|
|
10004
10499
|
delete event.server_name;
|
|
10005
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10500
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10006
10501
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10007
10502
|
if (stackTrace && stackTrace.frames) {
|
|
10008
10503
|
|
|
@@ -10024,7 +10519,7 @@ export class Cashfree {
|
|
|
10024
10519
|
} else {
|
|
10025
10520
|
scope.setExtra('environment', 'production');
|
|
10026
10521
|
}
|
|
10027
|
-
scope.setExtra('release', "4.0.
|
|
10522
|
+
scope.setExtra('release', "4.0.7");
|
|
10028
10523
|
});
|
|
10029
10524
|
}
|
|
10030
10525
|
try {
|
|
@@ -10053,7 +10548,7 @@ export class Cashfree {
|
|
|
10053
10548
|
public static PGSettlementFetchRecon(x_api_version: string, SettlementFetchReconRequest: SettlementFetchReconRequest, Content_Type?: string, x_request_id?: string, x_idempotency_key?: string, Accept?: string, options?: AxiosRequestConfig) {
|
|
10054
10549
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10055
10550
|
Sentry.init({
|
|
10056
|
-
dsn: 'https://
|
|
10551
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10057
10552
|
// Performance Monitoring
|
|
10058
10553
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10059
10554
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10064,7 +10559,7 @@ export class Cashfree {
|
|
|
10064
10559
|
delete event.contexts.os;
|
|
10065
10560
|
delete event.contexts.device;
|
|
10066
10561
|
delete event.server_name;
|
|
10067
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10562
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10068
10563
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10069
10564
|
if (stackTrace && stackTrace.frames) {
|
|
10070
10565
|
|
|
@@ -10086,7 +10581,7 @@ export class Cashfree {
|
|
|
10086
10581
|
} else {
|
|
10087
10582
|
scope.setExtra('environment', 'production');
|
|
10088
10583
|
}
|
|
10089
|
-
scope.setExtra('release', "4.0.
|
|
10584
|
+
scope.setExtra('release', "4.0.7");
|
|
10090
10585
|
});
|
|
10091
10586
|
}
|
|
10092
10587
|
try {
|
|
@@ -10113,7 +10608,7 @@ export class Cashfree {
|
|
|
10113
10608
|
public static PGOrderFetchSettlement(x_api_version: string, order_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10114
10609
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10115
10610
|
Sentry.init({
|
|
10116
|
-
dsn: 'https://
|
|
10611
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10117
10612
|
// Performance Monitoring
|
|
10118
10613
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10119
10614
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10124,7 +10619,7 @@ export class Cashfree {
|
|
|
10124
10619
|
delete event.contexts.os;
|
|
10125
10620
|
delete event.contexts.device;
|
|
10126
10621
|
delete event.server_name;
|
|
10127
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10622
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10128
10623
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10129
10624
|
if (stackTrace && stackTrace.frames) {
|
|
10130
10625
|
|
|
@@ -10146,7 +10641,7 @@ export class Cashfree {
|
|
|
10146
10641
|
} else {
|
|
10147
10642
|
scope.setExtra('environment', 'production');
|
|
10148
10643
|
}
|
|
10149
|
-
scope.setExtra('release', "4.0.
|
|
10644
|
+
scope.setExtra('release', "4.0.7");
|
|
10150
10645
|
});
|
|
10151
10646
|
}
|
|
10152
10647
|
try {
|
|
@@ -10173,7 +10668,7 @@ export class Cashfree {
|
|
|
10173
10668
|
public static SposCreateTerminal(x_api_version: string, CreateTerminalRequest: CreateTerminalRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10174
10669
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10175
10670
|
Sentry.init({
|
|
10176
|
-
dsn: 'https://
|
|
10671
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10177
10672
|
// Performance Monitoring
|
|
10178
10673
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10179
10674
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10184,7 +10679,7 @@ export class Cashfree {
|
|
|
10184
10679
|
delete event.contexts.os;
|
|
10185
10680
|
delete event.contexts.device;
|
|
10186
10681
|
delete event.server_name;
|
|
10187
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10682
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10188
10683
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10189
10684
|
if (stackTrace && stackTrace.frames) {
|
|
10190
10685
|
|
|
@@ -10206,7 +10701,7 @@ export class Cashfree {
|
|
|
10206
10701
|
} else {
|
|
10207
10702
|
scope.setExtra('environment', 'production');
|
|
10208
10703
|
}
|
|
10209
|
-
scope.setExtra('release', "4.0.
|
|
10704
|
+
scope.setExtra('release', "4.0.7");
|
|
10210
10705
|
});
|
|
10211
10706
|
}
|
|
10212
10707
|
try {
|
|
@@ -10233,7 +10728,7 @@ export class Cashfree {
|
|
|
10233
10728
|
public static SposCreateTerminalTransaction(x_api_version: string, CreateTerminalTransactionRequest: CreateTerminalTransactionRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10234
10729
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10235
10730
|
Sentry.init({
|
|
10236
|
-
dsn: 'https://
|
|
10731
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10237
10732
|
// Performance Monitoring
|
|
10238
10733
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10239
10734
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10244,7 +10739,7 @@ export class Cashfree {
|
|
|
10244
10739
|
delete event.contexts.os;
|
|
10245
10740
|
delete event.contexts.device;
|
|
10246
10741
|
delete event.server_name;
|
|
10247
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10742
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10248
10743
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10249
10744
|
if (stackTrace && stackTrace.frames) {
|
|
10250
10745
|
|
|
@@ -10266,7 +10761,7 @@ export class Cashfree {
|
|
|
10266
10761
|
} else {
|
|
10267
10762
|
scope.setExtra('environment', 'production');
|
|
10268
10763
|
}
|
|
10269
|
-
scope.setExtra('release', "4.0.
|
|
10764
|
+
scope.setExtra('release', "4.0.7");
|
|
10270
10765
|
});
|
|
10271
10766
|
}
|
|
10272
10767
|
try {
|
|
@@ -10281,7 +10776,7 @@ export class Cashfree {
|
|
|
10281
10776
|
|
|
10282
10777
|
/**
|
|
10283
10778
|
* Use this API to view all details of a terminal.
|
|
10284
|
-
* @summary Get
|
|
10779
|
+
* @summary Get Terminal Status using Phone Number
|
|
10285
10780
|
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
10286
10781
|
* @param {string} terminal_phone_no The terminal for which you want to view the order details.
|
|
10287
10782
|
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
@@ -10293,7 +10788,7 @@ export class Cashfree {
|
|
|
10293
10788
|
public static SposFetchTerminal(x_api_version: string, terminal_phone_no: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10294
10789
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10295
10790
|
Sentry.init({
|
|
10296
|
-
dsn: 'https://
|
|
10791
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10297
10792
|
// Performance Monitoring
|
|
10298
10793
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10299
10794
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10304,7 +10799,7 @@ export class Cashfree {
|
|
|
10304
10799
|
delete event.contexts.os;
|
|
10305
10800
|
delete event.contexts.device;
|
|
10306
10801
|
delete event.server_name;
|
|
10307
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10802
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10308
10803
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10309
10804
|
if (stackTrace && stackTrace.frames) {
|
|
10310
10805
|
|
|
@@ -10326,7 +10821,7 @@ export class Cashfree {
|
|
|
10326
10821
|
} else {
|
|
10327
10822
|
scope.setExtra('environment', 'production');
|
|
10328
10823
|
}
|
|
10329
|
-
scope.setExtra('release', "4.0.
|
|
10824
|
+
scope.setExtra('release', "4.0.7");
|
|
10330
10825
|
});
|
|
10331
10826
|
}
|
|
10332
10827
|
try {
|
|
@@ -10354,7 +10849,7 @@ export class Cashfree {
|
|
|
10354
10849
|
public static SposFetchTerminalQRCodes(x_api_version: string, terminal_phone_no: string, cf_terminal_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10355
10850
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10356
10851
|
Sentry.init({
|
|
10357
|
-
dsn: 'https://
|
|
10852
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10358
10853
|
// Performance Monitoring
|
|
10359
10854
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10360
10855
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10365,7 +10860,7 @@ export class Cashfree {
|
|
|
10365
10860
|
delete event.contexts.os;
|
|
10366
10861
|
delete event.contexts.device;
|
|
10367
10862
|
delete event.server_name;
|
|
10368
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
10863
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10369
10864
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10370
10865
|
if (stackTrace && stackTrace.frames) {
|
|
10371
10866
|
|
|
@@ -10387,7 +10882,7 @@ export class Cashfree {
|
|
|
10387
10882
|
} else {
|
|
10388
10883
|
scope.setExtra('environment', 'production');
|
|
10389
10884
|
}
|
|
10390
|
-
scope.setExtra('release', "4.0.
|
|
10885
|
+
scope.setExtra('release', "4.0.7");
|
|
10391
10886
|
});
|
|
10392
10887
|
}
|
|
10393
10888
|
try {
|
|
@@ -10399,6 +10894,189 @@ export class Cashfree {
|
|
|
10399
10894
|
throw error;
|
|
10400
10895
|
}
|
|
10401
10896
|
}
|
|
10897
|
+
|
|
10898
|
+
/**
|
|
10899
|
+
* Use this API to update the terminal details. Email, Phone Number, and Terminal Meta are updatable for \"Storefront\". Only account status change is possible in case of \"Agent\".
|
|
10900
|
+
* @summary Update Terminal
|
|
10901
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
10902
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
10903
|
+
* @param {UpdateTerminalRequest} UpdateTerminalRequest Request Body to update terminal for SPOS.
|
|
10904
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
10905
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
10906
|
+
* @param {*} [options] Override http request option.
|
|
10907
|
+
* @throws {RequiredError}
|
|
10908
|
+
* @memberof SoftPOSApi
|
|
10909
|
+
*/
|
|
10910
|
+
public static SposUpdateTerminal(x_api_version: string, cf_terminal_id: string, UpdateTerminalRequest: UpdateTerminalRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10911
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
10912
|
+
Sentry.init({
|
|
10913
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10914
|
+
// Performance Monitoring
|
|
10915
|
+
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10916
|
+
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
10917
|
+
profilesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!,
|
|
10918
|
+
attachStacktrace: true,
|
|
10919
|
+
enableTracing: true,
|
|
10920
|
+
beforeSend: (event) => {
|
|
10921
|
+
delete event.contexts.os;
|
|
10922
|
+
delete event.contexts.device;
|
|
10923
|
+
delete event.server_name;
|
|
10924
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10925
|
+
const stackTrace = event.exception.values[0].stacktrace;
|
|
10926
|
+
if (stackTrace && stackTrace.frames) {
|
|
10927
|
+
|
|
10928
|
+
const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
|
|
10929
|
+
if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
|
|
10930
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
10931
|
+
return event;
|
|
10932
|
+
}
|
|
10933
|
+
return null;
|
|
10934
|
+
}
|
|
10935
|
+
}
|
|
10936
|
+
}
|
|
10937
|
+
return null;
|
|
10938
|
+
},
|
|
10939
|
+
});
|
|
10940
|
+
Sentry.configureScope((scope) => {
|
|
10941
|
+
if(Cashfree.XEnvironment == CFEnvironment.SANDBOX) {
|
|
10942
|
+
scope.setExtra('environment', 'sandbox');
|
|
10943
|
+
} else {
|
|
10944
|
+
scope.setExtra('environment', 'production');
|
|
10945
|
+
}
|
|
10946
|
+
scope.setExtra('release', "4.0.7");
|
|
10947
|
+
});
|
|
10948
|
+
}
|
|
10949
|
+
try {
|
|
10950
|
+
return SoftPOSApiFp().sposUpdateTerminal(x_api_version, cf_terminal_id, UpdateTerminalRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
|
|
10951
|
+
} catch (error) {
|
|
10952
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
10953
|
+
Sentry.captureException(error);
|
|
10954
|
+
}
|
|
10955
|
+
throw error;
|
|
10956
|
+
}
|
|
10957
|
+
}
|
|
10958
|
+
|
|
10959
|
+
/**
|
|
10960
|
+
* Use this API to update the terminal status.
|
|
10961
|
+
* @summary Update Terminal Sttus
|
|
10962
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
10963
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
10964
|
+
* @param {UpdateTerminalStatusRequest} UpdateTerminalStatusRequest Request Body to update terminal status for SPOS.
|
|
10965
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
10966
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
10967
|
+
* @param {*} [options] Override http request option.
|
|
10968
|
+
* @throws {RequiredError}
|
|
10969
|
+
* @memberof SoftPOSApi
|
|
10970
|
+
*/
|
|
10971
|
+
public static SposUpdateTerminalStatus(x_api_version: string, cf_terminal_id: string, UpdateTerminalStatusRequest: UpdateTerminalStatusRequest, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10972
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
10973
|
+
Sentry.init({
|
|
10974
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10975
|
+
// Performance Monitoring
|
|
10976
|
+
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10977
|
+
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
10978
|
+
profilesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!,
|
|
10979
|
+
attachStacktrace: true,
|
|
10980
|
+
enableTracing: true,
|
|
10981
|
+
beforeSend: (event) => {
|
|
10982
|
+
delete event.contexts.os;
|
|
10983
|
+
delete event.contexts.device;
|
|
10984
|
+
delete event.server_name;
|
|
10985
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10986
|
+
const stackTrace = event.exception.values[0].stacktrace;
|
|
10987
|
+
if (stackTrace && stackTrace.frames) {
|
|
10988
|
+
|
|
10989
|
+
const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
|
|
10990
|
+
if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
|
|
10991
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
10992
|
+
return event;
|
|
10993
|
+
}
|
|
10994
|
+
return null;
|
|
10995
|
+
}
|
|
10996
|
+
}
|
|
10997
|
+
}
|
|
10998
|
+
return null;
|
|
10999
|
+
},
|
|
11000
|
+
});
|
|
11001
|
+
Sentry.configureScope((scope) => {
|
|
11002
|
+
if(Cashfree.XEnvironment == CFEnvironment.SANDBOX) {
|
|
11003
|
+
scope.setExtra('environment', 'sandbox');
|
|
11004
|
+
} else {
|
|
11005
|
+
scope.setExtra('environment', 'production');
|
|
11006
|
+
}
|
|
11007
|
+
scope.setExtra('release', "4.0.7");
|
|
11008
|
+
});
|
|
11009
|
+
}
|
|
11010
|
+
try {
|
|
11011
|
+
return SoftPOSApiFp().sposUpdateTerminalStatus(x_api_version, cf_terminal_id, UpdateTerminalStatusRequest, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
|
|
11012
|
+
} catch (error) {
|
|
11013
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
11014
|
+
Sentry.captureException(error);
|
|
11015
|
+
}
|
|
11016
|
+
throw error;
|
|
11017
|
+
}
|
|
11018
|
+
}
|
|
11019
|
+
|
|
11020
|
+
/**
|
|
11021
|
+
* Use this API to upload the terminal documents.
|
|
11022
|
+
* @summary Upload Terminal Docs
|
|
11023
|
+
* @param {string} x_api_version API version to be used. Format is in YYYY-MM-DD
|
|
11024
|
+
* @param {string} cf_terminal_id Provide the Cashfree terminal ID for which the details have to be updated.
|
|
11025
|
+
* @param {UploadTerminalDocs} UploadTerminalDocs Request Body to update terminal documents for SPOS.
|
|
11026
|
+
* @param {string} [x_request_id] Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
|
|
11027
|
+
* @param {string} [x_idempotency_key] An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
|
|
11028
|
+
* @param {*} [options] Override http request option.
|
|
11029
|
+
* @throws {RequiredError}
|
|
11030
|
+
* @memberof SoftPOSApi
|
|
11031
|
+
*/
|
|
11032
|
+
public static SposUploadTerminalDocs(x_api_version: string, cf_terminal_id: string, UploadTerminalDocs: UploadTerminalDocs, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
11033
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
11034
|
+
Sentry.init({
|
|
11035
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
11036
|
+
// Performance Monitoring
|
|
11037
|
+
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
11038
|
+
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
11039
|
+
profilesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!,
|
|
11040
|
+
attachStacktrace: true,
|
|
11041
|
+
enableTracing: true,
|
|
11042
|
+
beforeSend: (event) => {
|
|
11043
|
+
delete event.contexts.os;
|
|
11044
|
+
delete event.contexts.device;
|
|
11045
|
+
delete event.server_name;
|
|
11046
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
11047
|
+
const stackTrace = event.exception.values[0].stacktrace;
|
|
11048
|
+
if (stackTrace && stackTrace.frames) {
|
|
11049
|
+
|
|
11050
|
+
const filteredDomains = stackTrace.frames.filter((x) => x.filename.includes("cashfree-pg")).map((x) => x.filename);
|
|
11051
|
+
if (filteredDomains && filteredDomains.length > 0 && filteredDomains[0].includes("cashfree-pg")) {
|
|
11052
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
11053
|
+
return event;
|
|
11054
|
+
}
|
|
11055
|
+
return null;
|
|
11056
|
+
}
|
|
11057
|
+
}
|
|
11058
|
+
}
|
|
11059
|
+
return null;
|
|
11060
|
+
},
|
|
11061
|
+
});
|
|
11062
|
+
Sentry.configureScope((scope) => {
|
|
11063
|
+
if(Cashfree.XEnvironment == CFEnvironment.SANDBOX) {
|
|
11064
|
+
scope.setExtra('environment', 'sandbox');
|
|
11065
|
+
} else {
|
|
11066
|
+
scope.setExtra('environment', 'production');
|
|
11067
|
+
}
|
|
11068
|
+
scope.setExtra('release', "4.0.7");
|
|
11069
|
+
});
|
|
11070
|
+
}
|
|
11071
|
+
try {
|
|
11072
|
+
return SoftPOSApiFp().sposUploadTerminalDocs(x_api_version, cf_terminal_id, UploadTerminalDocs, x_request_id, x_idempotency_key, options).then((request) => request(Cashfree.axios, Cashfree.basePath));
|
|
11073
|
+
} catch (error) {
|
|
11074
|
+
if(Cashfree.XEnableErrorAnalytics) {
|
|
11075
|
+
Sentry.captureException(error);
|
|
11076
|
+
}
|
|
11077
|
+
throw error;
|
|
11078
|
+
}
|
|
11079
|
+
}
|
|
10402
11080
|
|
|
10403
11081
|
/**
|
|
10404
11082
|
* Use this API to delete a saved card instrument for a customer_id and instrument_id
|
|
@@ -10415,7 +11093,7 @@ export class Cashfree {
|
|
|
10415
11093
|
public static PGCustomerDeleteInstrument(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10416
11094
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10417
11095
|
Sentry.init({
|
|
10418
|
-
dsn: 'https://
|
|
11096
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10419
11097
|
// Performance Monitoring
|
|
10420
11098
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10421
11099
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10426,7 +11104,7 @@ export class Cashfree {
|
|
|
10426
11104
|
delete event.contexts.os;
|
|
10427
11105
|
delete event.contexts.device;
|
|
10428
11106
|
delete event.server_name;
|
|
10429
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
11107
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10430
11108
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10431
11109
|
if (stackTrace && stackTrace.frames) {
|
|
10432
11110
|
|
|
@@ -10448,7 +11126,7 @@ export class Cashfree {
|
|
|
10448
11126
|
} else {
|
|
10449
11127
|
scope.setExtra('environment', 'production');
|
|
10450
11128
|
}
|
|
10451
|
-
scope.setExtra('release', "4.0.
|
|
11129
|
+
scope.setExtra('release', "4.0.7");
|
|
10452
11130
|
});
|
|
10453
11131
|
}
|
|
10454
11132
|
try {
|
|
@@ -10476,7 +11154,7 @@ export class Cashfree {
|
|
|
10476
11154
|
public static PGCustomerFetchInstrument(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10477
11155
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10478
11156
|
Sentry.init({
|
|
10479
|
-
dsn: 'https://
|
|
11157
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10480
11158
|
// Performance Monitoring
|
|
10481
11159
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10482
11160
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10487,7 +11165,7 @@ export class Cashfree {
|
|
|
10487
11165
|
delete event.contexts.os;
|
|
10488
11166
|
delete event.contexts.device;
|
|
10489
11167
|
delete event.server_name;
|
|
10490
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
11168
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10491
11169
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10492
11170
|
if (stackTrace && stackTrace.frames) {
|
|
10493
11171
|
|
|
@@ -10509,7 +11187,7 @@ export class Cashfree {
|
|
|
10509
11187
|
} else {
|
|
10510
11188
|
scope.setExtra('environment', 'production');
|
|
10511
11189
|
}
|
|
10512
|
-
scope.setExtra('release', "4.0.
|
|
11190
|
+
scope.setExtra('release', "4.0.7");
|
|
10513
11191
|
});
|
|
10514
11192
|
}
|
|
10515
11193
|
try {
|
|
@@ -10537,7 +11215,7 @@ export class Cashfree {
|
|
|
10537
11215
|
public static PGCustomerFetchInstruments(x_api_version: string, customer_id: string, instrument_type: PGCustomerFetchInstrumentsInstrumentTypeEnum, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10538
11216
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10539
11217
|
Sentry.init({
|
|
10540
|
-
dsn: 'https://
|
|
11218
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10541
11219
|
// Performance Monitoring
|
|
10542
11220
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10543
11221
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10548,7 +11226,7 @@ export class Cashfree {
|
|
|
10548
11226
|
delete event.contexts.os;
|
|
10549
11227
|
delete event.contexts.device;
|
|
10550
11228
|
delete event.server_name;
|
|
10551
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
11229
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10552
11230
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10553
11231
|
if (stackTrace && stackTrace.frames) {
|
|
10554
11232
|
|
|
@@ -10570,7 +11248,7 @@ export class Cashfree {
|
|
|
10570
11248
|
} else {
|
|
10571
11249
|
scope.setExtra('environment', 'production');
|
|
10572
11250
|
}
|
|
10573
|
-
scope.setExtra('release', "4.0.
|
|
11251
|
+
scope.setExtra('release', "4.0.7");
|
|
10574
11252
|
});
|
|
10575
11253
|
}
|
|
10576
11254
|
try {
|
|
@@ -10598,7 +11276,7 @@ export class Cashfree {
|
|
|
10598
11276
|
public static PGCustomerInstrumentsFetchCryptogram(x_api_version: string, customer_id: string, instrument_id: string, x_request_id?: string, x_idempotency_key?: string, options?: AxiosRequestConfig) {
|
|
10599
11277
|
if(Cashfree.XEnableErrorAnalytics) {
|
|
10600
11278
|
Sentry.init({
|
|
10601
|
-
dsn: 'https://
|
|
11279
|
+
dsn: 'https://748d9dcfc4286488867c59651cb6121a@o330525.ingest.sentry.io/4506692796350464',
|
|
10602
11280
|
// Performance Monitoring
|
|
10603
11281
|
tracesSampleRate: 1.0, // Capture 100% of the transactions, reduce in production!
|
|
10604
11282
|
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
@@ -10609,7 +11287,7 @@ export class Cashfree {
|
|
|
10609
11287
|
delete event.contexts.os;
|
|
10610
11288
|
delete event.contexts.device;
|
|
10611
11289
|
delete event.server_name;
|
|
10612
|
-
if (event.exception && event.exception.values && event.exception.values[0].stacktrace) {
|
|
11290
|
+
if (event.exception && event.exception.values && event.exception.values.length && event.exception.values[0].stacktrace) {
|
|
10613
11291
|
const stackTrace = event.exception.values[0].stacktrace;
|
|
10614
11292
|
if (stackTrace && stackTrace.frames) {
|
|
10615
11293
|
|
|
@@ -10631,7 +11309,7 @@ export class Cashfree {
|
|
|
10631
11309
|
} else {
|
|
10632
11310
|
scope.setExtra('environment', 'production');
|
|
10633
11311
|
}
|
|
10634
|
-
scope.setExtra('release', "4.0.
|
|
11312
|
+
scope.setExtra('release', "4.0.7");
|
|
10635
11313
|
});
|
|
10636
11314
|
}
|
|
10637
11315
|
try {
|