@emilgroup/payment-sdk 1.22.1-beta.73 → 1.22.1-beta.74
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/.openapi-generator/FILES +0 -4
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +12 -24
- package/api/bank-orders-api.ts +10 -20
- package/api/bank-transaction-api.ts +20 -154
- package/api/billing-addresses-api.ts +10 -20
- package/api/credit-allocation-api.ts +6 -12
- package/api/exceeding-credits-api.ts +6 -12
- package/api/ibanvalidator-api.ts +2 -4
- package/api/payment-methods-api.ts +6 -12
- package/api/payment-receipts-api.ts +10 -20
- package/api/payment-reminders-api.ts +8 -16
- package/api/payment-requests-api.ts +10 -20
- package/api/payment-setup-api.ts +4 -8
- package/api/payments-api.ts +12 -24
- package/api/payout-methods-api.ts +12 -24
- package/api/policy-payment-methods-api.ts +6 -12
- package/api/refunds-api.ts +6 -12
- package/api/tenant-bank-account-api.ts +10 -20
- package/base.ts +41 -174
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-accounts-api.js +22 -36
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-orders-api.js +18 -29
- package/dist/api/bank-transaction-api.d.ts +14 -80
- package/dist/api/bank-transaction-api.js +28 -144
- package/dist/api/billing-addresses-api.d.ts +5 -5
- package/dist/api/billing-addresses-api.js +19 -32
- package/dist/api/credit-allocation-api.d.ts +3 -3
- package/dist/api/credit-allocation-api.js +11 -18
- package/dist/api/exceeding-credits-api.d.ts +3 -3
- package/dist/api/exceeding-credits-api.js +11 -18
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.js +4 -7
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-methods-api.js +11 -18
- package/dist/api/payment-receipts-api.d.ts +5 -5
- package/dist/api/payment-receipts-api.js +18 -29
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-reminders-api.js +15 -25
- package/dist/api/payment-requests-api.d.ts +5 -5
- package/dist/api/payment-requests-api.js +18 -29
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payment-setup-api.js +8 -14
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +18 -28
- package/dist/api/payout-methods-api.d.ts +6 -6
- package/dist/api/payout-methods-api.js +22 -36
- package/dist/api/policy-payment-methods-api.d.ts +3 -3
- package/dist/api/policy-payment-methods-api.js +11 -18
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/refunds-api.js +10 -15
- package/dist/api/tenant-bank-account-api.d.ts +5 -5
- package/dist/api/tenant-bank-account-api.js +18 -29
- package/dist/api/webhooks-api.d.ts +2 -2
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/bank-transaction-class.d.ts +0 -7
- package/dist/models/bank-transaction-entity.d.ts +0 -7
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/dist/models/payment-receipt-class.d.ts +0 -12
- package/dist/models/payment-request-class.d.ts +0 -1
- package/dist/models/payment-request-class.js +0 -1
- package/models/bank-transaction-class.ts +0 -7
- package/models/bank-transaction-entity.ts +0 -7
- package/models/index.ts +0 -4
- package/models/payment-receipt-class.ts +0 -12
- package/models/payment-request-class.ts +0 -1
- package/package.json +2 -2
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
- package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
- package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
- package/dist/models/payment-receipt-entity.d.ts +0 -139
- package/dist/models/payment-receipt-entity.js +0 -20
- package/dist/models/payment-request-entity.d.ts +0 -223
- package/dist/models/payment-request-entity.js +0 -39
- package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
- package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
- package/models/payment-receipt-entity.ts +0 -148
- package/models/payment-request-entity.ts +0 -233
|
@@ -63,10 +63,8 @@ export const CreditAllocationApiAxiosParamCreator = function (configuration?: Co
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -113,10 +111,8 @@ export const CreditAllocationApiAxiosParamCreator = function (configuration?: Co
|
|
|
113
111
|
// http bearer authentication required
|
|
114
112
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
113
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
if (authorizationValue) {
|
|
119
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
114
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
115
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
120
116
|
}
|
|
121
117
|
|
|
122
118
|
|
|
@@ -191,10 +187,8 @@ export const CreditAllocationApiAxiosParamCreator = function (configuration?: Co
|
|
|
191
187
|
localVarQueryParameter['filters'] = filters;
|
|
192
188
|
}
|
|
193
189
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
if (authorizationValue) {
|
|
197
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
190
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
191
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
198
192
|
}
|
|
199
193
|
|
|
200
194
|
|
|
@@ -63,10 +63,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -113,10 +111,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
113
111
|
// http bearer authentication required
|
|
114
112
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
113
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
if (authorizationValue) {
|
|
119
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
114
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
115
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
120
116
|
}
|
|
121
117
|
|
|
122
118
|
|
|
@@ -191,10 +187,8 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
|
|
|
191
187
|
localVarQueryParameter['filters'] = filters;
|
|
192
188
|
}
|
|
193
189
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
if (authorizationValue) {
|
|
197
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
190
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
191
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
198
192
|
}
|
|
199
193
|
|
|
200
194
|
|
package/api/ibanvalidator-api.ts
CHANGED
|
@@ -59,10 +59,8 @@ export const IBANValidatorApiAxiosParamCreator = function (configuration?: Confi
|
|
|
59
59
|
// http bearer authentication required
|
|
60
60
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
if (authorizationValue) {
|
|
65
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
62
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
63
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
66
64
|
}
|
|
67
65
|
|
|
68
66
|
|
|
@@ -63,10 +63,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -113,10 +111,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
113
111
|
// http bearer authentication required
|
|
114
112
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
113
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
if (authorizationValue) {
|
|
119
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
114
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
115
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
120
116
|
}
|
|
121
117
|
|
|
122
118
|
|
|
@@ -191,10 +187,8 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
191
187
|
localVarQueryParameter['filters'] = filters;
|
|
192
188
|
}
|
|
193
189
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
if (authorizationValue) {
|
|
197
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
190
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
191
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
198
192
|
}
|
|
199
193
|
|
|
200
194
|
|
|
@@ -65,10 +65,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
65
65
|
// http bearer authentication required
|
|
66
66
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
if (authorizationValue) {
|
|
71
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
68
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
69
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
72
70
|
}
|
|
73
71
|
|
|
74
72
|
|
|
@@ -115,10 +113,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
115
113
|
// http bearer authentication required
|
|
116
114
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
117
115
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
if (authorizationValue) {
|
|
121
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
116
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
117
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
122
118
|
}
|
|
123
119
|
|
|
124
120
|
|
|
@@ -169,10 +165,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
169
165
|
localVarQueryParameter['expand'] = expand;
|
|
170
166
|
}
|
|
171
167
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
if (authorizationValue) {
|
|
175
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
168
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
169
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
176
170
|
}
|
|
177
171
|
|
|
178
172
|
|
|
@@ -247,10 +241,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
247
241
|
localVarQueryParameter['filters'] = filters;
|
|
248
242
|
}
|
|
249
243
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
if (authorizationValue) {
|
|
253
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
244
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
245
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
254
246
|
}
|
|
255
247
|
|
|
256
248
|
|
|
@@ -294,10 +286,8 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
294
286
|
// http bearer authentication required
|
|
295
287
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
296
288
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
if (authorizationValue) {
|
|
300
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
289
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
290
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
301
291
|
}
|
|
302
292
|
|
|
303
293
|
|
|
@@ -67,10 +67,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (authorizationValue) {
|
|
73
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
|
|
@@ -120,10 +118,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
120
118
|
// http bearer authentication required
|
|
121
119
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
122
120
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
if (authorizationValue) {
|
|
126
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
121
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
122
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
127
123
|
}
|
|
128
124
|
|
|
129
125
|
|
|
@@ -170,10 +166,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
170
166
|
// http bearer authentication required
|
|
171
167
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
172
168
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
if (authorizationValue) {
|
|
176
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
169
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
170
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
177
171
|
}
|
|
178
172
|
|
|
179
173
|
|
|
@@ -248,10 +242,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
248
242
|
localVarQueryParameter['filters'] = filters;
|
|
249
243
|
}
|
|
250
244
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
if (authorizationValue) {
|
|
254
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
245
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
246
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
255
247
|
}
|
|
256
248
|
|
|
257
249
|
|
|
@@ -67,10 +67,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (authorizationValue) {
|
|
73
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
|
|
@@ -117,10 +115,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
117
115
|
// http bearer authentication required
|
|
118
116
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
117
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if (authorizationValue) {
|
|
123
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
118
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
119
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
|
|
@@ -171,10 +167,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
171
167
|
localVarQueryParameter['expand'] = expand;
|
|
172
168
|
}
|
|
173
169
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
if (authorizationValue) {
|
|
177
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
170
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
171
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
178
172
|
}
|
|
179
173
|
|
|
180
174
|
|
|
@@ -249,10 +243,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
249
243
|
localVarQueryParameter['filters'] = filters;
|
|
250
244
|
}
|
|
251
245
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
if (authorizationValue) {
|
|
255
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
246
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
247
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
256
248
|
}
|
|
257
249
|
|
|
258
250
|
|
|
@@ -299,10 +291,8 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
299
291
|
// http bearer authentication required
|
|
300
292
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
301
293
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
if (authorizationValue) {
|
|
305
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
294
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
306
296
|
}
|
|
307
297
|
|
|
308
298
|
|
package/api/payment-setup-api.ts
CHANGED
|
@@ -63,10 +63,8 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -112,10 +110,8 @@ export const PaymentSetupApiAxiosParamCreator = function (configuration?: Config
|
|
|
112
110
|
// http bearer authentication required
|
|
113
111
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
114
112
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
if (authorizationValue) {
|
|
118
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
113
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
114
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
|
package/api/payments-api.ts
CHANGED
|
@@ -68,16 +68,12 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
68
68
|
// http bearer authentication required
|
|
69
69
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if (authorizationValue) {
|
|
74
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
71
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
72
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
75
73
|
}
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
if (idempotencyKeyValue) {
|
|
80
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
75
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
76
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
81
77
|
}
|
|
82
78
|
|
|
83
79
|
|
|
@@ -126,16 +122,12 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
126
122
|
// http bearer authentication required
|
|
127
123
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
128
124
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
if (authorizationValue) {
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
125
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
126
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
127
|
}
|
|
134
128
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
if (idempotencyKeyValue) {
|
|
138
|
-
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKeyValue);
|
|
129
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
139
131
|
}
|
|
140
132
|
|
|
141
133
|
|
|
@@ -187,10 +179,8 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
187
179
|
localVarQueryParameter['expand'] = expand;
|
|
188
180
|
}
|
|
189
181
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
if (authorizationValue) {
|
|
193
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
194
184
|
}
|
|
195
185
|
|
|
196
186
|
|
|
@@ -265,10 +255,8 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
265
255
|
localVarQueryParameter['filters'] = filters;
|
|
266
256
|
}
|
|
267
257
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
if (authorizationValue) {
|
|
271
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
258
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
259
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
272
260
|
}
|
|
273
261
|
|
|
274
262
|
|
|
@@ -66,10 +66,8 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
66
66
|
// http bearer authentication required
|
|
67
67
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
if (authorizationValue) {
|
|
72
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
69
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
70
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
73
71
|
}
|
|
74
72
|
|
|
75
73
|
|
|
@@ -112,10 +110,8 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
112
110
|
// http bearer authentication required
|
|
113
111
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
114
112
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
if (authorizationValue) {
|
|
118
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
113
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
114
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
|
|
@@ -165,10 +161,8 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
165
161
|
// http bearer authentication required
|
|
166
162
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
167
163
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
if (authorizationValue) {
|
|
171
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
164
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
165
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
172
166
|
}
|
|
173
167
|
|
|
174
168
|
|
|
@@ -215,10 +209,8 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
215
209
|
// http bearer authentication required
|
|
216
210
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
217
211
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
if (authorizationValue) {
|
|
221
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
212
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
213
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
222
214
|
}
|
|
223
215
|
|
|
224
216
|
|
|
@@ -267,10 +259,8 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
267
259
|
localVarQueryParameter['expand'] = expand;
|
|
268
260
|
}
|
|
269
261
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
if (authorizationValue) {
|
|
273
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
262
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
263
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
274
264
|
}
|
|
275
265
|
|
|
276
266
|
|
|
@@ -345,10 +335,8 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
345
335
|
localVarQueryParameter['filters'] = filters;
|
|
346
336
|
}
|
|
347
337
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
if (authorizationValue) {
|
|
351
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
338
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
339
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
352
340
|
}
|
|
353
341
|
|
|
354
342
|
|
|
@@ -67,10 +67,8 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (authorizationValue) {
|
|
73
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
|
|
@@ -116,10 +114,8 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
116
114
|
// http bearer authentication required
|
|
117
115
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
118
116
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
if (authorizationValue) {
|
|
122
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
117
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
118
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
123
119
|
}
|
|
124
120
|
|
|
125
121
|
|
|
@@ -197,10 +193,8 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
197
193
|
localVarQueryParameter['filters'] = filters;
|
|
198
194
|
}
|
|
199
195
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
if (authorizationValue) {
|
|
203
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
196
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
197
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
204
198
|
}
|
|
205
199
|
|
|
206
200
|
|
package/api/refunds-api.ts
CHANGED
|
@@ -63,10 +63,8 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -118,10 +116,8 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
118
116
|
localVarQueryParameter['expand'] = expand;
|
|
119
117
|
}
|
|
120
118
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
if (authorizationValue) {
|
|
124
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
119
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
120
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
125
121
|
}
|
|
126
122
|
|
|
127
123
|
|
|
@@ -196,10 +192,8 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
196
192
|
localVarQueryParameter['filters'] = filters;
|
|
197
193
|
}
|
|
198
194
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
if (authorizationValue) {
|
|
202
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
195
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
196
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
203
197
|
}
|
|
204
198
|
|
|
205
199
|
|