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