@emilgroup/payment-sdk 1.22.1-beta.72 → 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/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 +12 -24
- 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 +6 -6
- package/dist/api/bank-transaction-api.js +22 -36
- 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/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.22.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.22.1-beta.74 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.22.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.22.1-beta.74
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -69,10 +69,8 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
if (authorizationValue) {
|
|
75
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
72
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
76
74
|
}
|
|
77
75
|
|
|
78
76
|
|
|
@@ -119,10 +117,8 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
119
117
|
// http bearer authentication required
|
|
120
118
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
119
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
if (authorizationValue) {
|
|
125
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
120
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
121
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
126
122
|
}
|
|
127
123
|
|
|
128
124
|
|
|
@@ -171,10 +167,8 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
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
|
|
|
@@ -352,10 +342,8 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
352
342
|
// http bearer authentication required
|
|
353
343
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
354
344
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
if (authorizationValue) {
|
|
358
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
345
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
346
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
359
347
|
}
|
|
360
348
|
|
|
361
349
|
|
package/api/bank-orders-api.ts
CHANGED
|
@@ -67,10 +67,8 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
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 BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
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
|
|
|
@@ -169,10 +165,8 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
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 BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
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
|
|
|
@@ -297,10 +289,8 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
297
289
|
// http bearer authentication required
|
|
298
290
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
299
291
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
if (authorizationValue) {
|
|
303
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
292
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
293
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
304
294
|
}
|
|
305
295
|
|
|
306
296
|
|
|
@@ -70,10 +70,8 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
70
70
|
// http bearer authentication required
|
|
71
71
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
if (authorizationValue) {
|
|
76
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
73
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
74
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
77
75
|
}
|
|
78
76
|
|
|
79
77
|
|
|
@@ -122,10 +120,8 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
122
120
|
localVarQueryParameter['expand'] = expand;
|
|
123
121
|
}
|
|
124
122
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
if (authorizationValue) {
|
|
128
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
123
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
124
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
129
125
|
}
|
|
130
126
|
|
|
131
127
|
|
|
@@ -169,10 +165,8 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
169
165
|
// http bearer authentication required
|
|
170
166
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
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
|
|
|
@@ -226,10 +220,8 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
226
220
|
// http bearer authentication required
|
|
227
221
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
228
222
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
if (authorizationValue) {
|
|
232
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
223
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
224
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
233
225
|
}
|
|
234
226
|
|
|
235
227
|
|
|
@@ -307,10 +299,8 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
307
299
|
localVarQueryParameter['filters'] = filters;
|
|
308
300
|
}
|
|
309
301
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
if (authorizationValue) {
|
|
313
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
302
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
303
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
314
304
|
}
|
|
315
305
|
|
|
316
306
|
|
|
@@ -354,10 +344,8 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
354
344
|
// http bearer authentication required
|
|
355
345
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
356
346
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
if (authorizationValue) {
|
|
360
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
347
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
348
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
361
349
|
}
|
|
362
350
|
|
|
363
351
|
|
|
@@ -67,10 +67,8 @@ export const BillingAddressesApiAxiosParamCreator = 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
|
|
|
@@ -117,10 +115,8 @@ export const BillingAddressesApiAxiosParamCreator = function (configuration?: Co
|
|
|
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
|
|
|
@@ -164,10 +160,8 @@ export const BillingAddressesApiAxiosParamCreator = function (configuration?: Co
|
|
|
164
160
|
// http bearer authentication required
|
|
165
161
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
166
162
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
if (authorizationValue) {
|
|
170
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
163
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
164
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
171
165
|
}
|
|
172
166
|
|
|
173
167
|
|
|
@@ -242,10 +236,8 @@ export const BillingAddressesApiAxiosParamCreator = function (configuration?: Co
|
|
|
242
236
|
localVarQueryParameter['filters'] = filters;
|
|
243
237
|
}
|
|
244
238
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
if (authorizationValue) {
|
|
248
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
239
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
249
241
|
}
|
|
250
242
|
|
|
251
243
|
|
|
@@ -292,10 +284,8 @@ export const BillingAddressesApiAxiosParamCreator = function (configuration?: Co
|
|
|
292
284
|
// http bearer authentication required
|
|
293
285
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
294
286
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
if (authorizationValue) {
|
|
298
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
287
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
288
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
299
289
|
}
|
|
300
290
|
|
|
301
291
|
|
|
@@ -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
|
|