@emilgroup/accounting-sdk 1.34.1-beta.57 → 1.34.1-beta.59
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 +2 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +32 -16
- package/api/booking-entries-api.ts +20 -10
- package/api/commission-account-mappings-api.ts +32 -16
- package/api/financial-accounts-api.ts +20 -10
- package/api/financial-transactions-api.ts +8 -4
- package/api/number-ranges-api.ts +16 -8
- package/api/personal-accounts-api.ts +16 -8
- package/api/product-account-mappings-api.ts +265 -20
- package/base.ts +174 -41
- package/configuration.ts +20 -0
- package/dist/api/accounting-configs-api.js +56 -32
- package/dist/api/booking-entries-api.js +29 -18
- package/dist/api/commission-account-mappings-api.js +47 -29
- package/dist/api/financial-accounts-api.js +29 -18
- package/dist/api/financial-transactions-api.js +8 -6
- package/dist/api/number-ranges-api.js +22 -14
- package/dist/api/personal-accounts-api.js +22 -14
- package/dist/api/product-account-mappings-api.d.ts +121 -0
- package/dist/api/product-account-mappings-api.js +261 -38
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/account-mapping-class.d.ts +2 -0
- package/dist/models/account-mapping-class.js +3 -1
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
- package/dist/models/booking-entry-class.d.ts +1 -0
- package/dist/models/booking-entry-class.js +1 -0
- package/dist/models/create-booking-entry-request-dto.d.ts +1 -0
- package/dist/models/create-booking-entry-request-dto.js +1 -0
- package/dist/models/create-financial-account-request-dto.d.ts +2 -0
- package/dist/models/create-financial-account-request-dto.js +3 -1
- package/dist/models/financial-transaction-class.d.ts +6 -0
- package/dist/models/financial-transaction-data-dto.d.ts +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/post-financial-event-request-dto.d.ts +3 -2
- package/dist/models/post-financial-event-request-dto.js +1 -0
- package/dist/models/product-account-mapping-detail-class.d.ts +6 -0
- package/dist/models/product-risk-carrier-class.d.ts +42 -0
- package/dist/models/product-risk-carrier-class.js +15 -0
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
- package/models/account-mapping-class.ts +3 -1
- package/models/accounting-config-data-dto-default-account-mappings.ts +3 -1
- package/models/booking-entry-class.ts +1 -0
- package/models/create-booking-entry-request-dto.ts +1 -0
- package/models/create-financial-account-request-dto.ts +3 -1
- package/models/financial-transaction-class.ts +6 -0
- package/models/financial-transaction-data-dto.ts +6 -0
- package/models/index.ts +2 -0
- package/models/post-financial-event-request-dto.ts +3 -2
- package/models/product-account-mapping-detail-class.ts +6 -0
- package/models/product-risk-carrier-class.ts +48 -0
- package/models/put-product-risk-carrier-body-dto.ts +30 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -75,11 +75,13 @@ models/post-financial-event-response-class.ts
|
|
|
75
75
|
models/premium-item-account-mapping-class.ts
|
|
76
76
|
models/product-account-mapping-class.ts
|
|
77
77
|
models/product-account-mapping-detail-class.ts
|
|
78
|
+
models/product-risk-carrier-class.ts
|
|
78
79
|
models/product-version-account-mapping-detail-class.ts
|
|
79
80
|
models/product-version-with-account-mappings-class.ts
|
|
80
81
|
models/product-with-account-mappings-class.ts
|
|
81
82
|
models/put-premium-item-account-body-dto.ts
|
|
82
83
|
models/put-product-category-account-body-dto.ts
|
|
84
|
+
models/put-product-risk-carrier-body-dto.ts
|
|
83
85
|
models/put-product-version-category-account-body-dto.ts
|
|
84
86
|
models/resolved-account-mapping-class.ts
|
|
85
87
|
models/resolved-commission-account-mapping-class.ts
|
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/accounting-sdk@1.34.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.34.1-beta.59 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.34.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.34.1-beta.59
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -69,8 +69,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
73
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
74
|
+
if (authorizationValue) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
76
|
}
|
|
75
77
|
|
|
76
78
|
|
|
@@ -117,8 +119,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
117
119
|
// http bearer authentication required
|
|
118
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
121
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
123
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
124
|
+
if (authorizationValue) {
|
|
125
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
|
|
@@ -165,8 +169,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
165
169
|
// http bearer authentication required
|
|
166
170
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
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
|
|
|
@@ -206,8 +212,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
206
212
|
// http bearer authentication required
|
|
207
213
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
208
214
|
|
|
209
|
-
|
|
210
|
-
|
|
215
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
216
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
217
|
+
if (authorizationValue) {
|
|
218
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
211
219
|
}
|
|
212
220
|
|
|
213
221
|
|
|
@@ -247,8 +255,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
247
255
|
// http bearer authentication required
|
|
248
256
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
249
257
|
|
|
250
|
-
|
|
251
|
-
|
|
258
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
259
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
260
|
+
if (authorizationValue) {
|
|
261
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
262
|
}
|
|
253
263
|
|
|
254
264
|
|
|
@@ -288,8 +298,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
288
298
|
// http bearer authentication required
|
|
289
299
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
290
300
|
|
|
291
|
-
|
|
292
|
-
|
|
301
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
302
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
303
|
+
if (authorizationValue) {
|
|
304
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
293
305
|
}
|
|
294
306
|
|
|
295
307
|
|
|
@@ -332,8 +344,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
332
344
|
// http bearer authentication required
|
|
333
345
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
334
346
|
|
|
335
|
-
|
|
336
|
-
|
|
347
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
348
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
349
|
+
if (authorizationValue) {
|
|
350
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
337
351
|
}
|
|
338
352
|
|
|
339
353
|
|
|
@@ -380,8 +394,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
380
394
|
// http bearer authentication required
|
|
381
395
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
382
396
|
|
|
383
|
-
|
|
384
|
-
|
|
397
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
398
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
399
|
+
if (authorizationValue) {
|
|
400
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
385
401
|
}
|
|
386
402
|
|
|
387
403
|
|
|
@@ -71,8 +71,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
71
71
|
// http bearer authentication required
|
|
72
72
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
75
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
76
|
+
if (authorizationValue) {
|
|
77
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
|
|
@@ -118,8 +120,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
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
|
|
|
@@ -173,8 +177,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
173
177
|
localVarQueryParameter['expand'] = expand;
|
|
174
178
|
}
|
|
175
179
|
|
|
176
|
-
|
|
177
|
-
|
|
180
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
181
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
182
|
+
if (authorizationValue) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
178
184
|
}
|
|
179
185
|
|
|
180
186
|
|
|
@@ -249,8 +255,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
249
255
|
localVarQueryParameter['filters'] = filters;
|
|
250
256
|
}
|
|
251
257
|
|
|
252
|
-
|
|
253
|
-
|
|
258
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
259
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
260
|
+
if (authorizationValue) {
|
|
261
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
254
262
|
}
|
|
255
263
|
|
|
256
264
|
|
|
@@ -293,8 +301,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
293
301
|
// http bearer authentication required
|
|
294
302
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
295
303
|
|
|
296
|
-
|
|
297
|
-
|
|
304
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
305
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
306
|
+
if (authorizationValue) {
|
|
307
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
298
308
|
}
|
|
299
309
|
|
|
300
310
|
|
|
@@ -74,8 +74,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
74
74
|
// http bearer authentication required
|
|
75
75
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
78
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
79
|
+
if (authorizationValue) {
|
|
80
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
|
|
@@ -119,8 +121,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
119
121
|
// http bearer authentication required
|
|
120
122
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
123
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
126
|
+
if (authorizationValue) {
|
|
127
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
124
128
|
}
|
|
125
129
|
|
|
126
130
|
|
|
@@ -164,8 +168,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
164
168
|
// http bearer authentication required
|
|
165
169
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
166
170
|
|
|
167
|
-
|
|
168
|
-
|
|
171
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
172
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
173
|
+
if (authorizationValue) {
|
|
174
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
169
175
|
}
|
|
170
176
|
|
|
171
177
|
|
|
@@ -240,8 +246,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
240
246
|
localVarQueryParameter['filters'] = filters;
|
|
241
247
|
}
|
|
242
248
|
|
|
243
|
-
|
|
244
|
-
|
|
249
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
250
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
251
|
+
if (authorizationValue) {
|
|
252
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
245
253
|
}
|
|
246
254
|
|
|
247
255
|
|
|
@@ -316,8 +324,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
316
324
|
localVarQueryParameter['filters'] = filters;
|
|
317
325
|
}
|
|
318
326
|
|
|
319
|
-
|
|
320
|
-
|
|
327
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
328
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
329
|
+
if (authorizationValue) {
|
|
330
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
321
331
|
}
|
|
322
332
|
|
|
323
333
|
|
|
@@ -392,8 +402,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
392
402
|
localVarQueryParameter['filters'] = filters;
|
|
393
403
|
}
|
|
394
404
|
|
|
395
|
-
|
|
396
|
-
|
|
405
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
406
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
407
|
+
if (authorizationValue) {
|
|
408
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
397
409
|
}
|
|
398
410
|
|
|
399
411
|
|
|
@@ -444,8 +456,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
444
456
|
// http bearer authentication required
|
|
445
457
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
446
458
|
|
|
447
|
-
|
|
448
|
-
|
|
459
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
460
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
461
|
+
if (authorizationValue) {
|
|
462
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
449
463
|
}
|
|
450
464
|
|
|
451
465
|
|
|
@@ -495,8 +509,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
495
509
|
// http bearer authentication required
|
|
496
510
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
497
511
|
|
|
498
|
-
|
|
499
|
-
|
|
512
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
513
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
514
|
+
if (authorizationValue) {
|
|
515
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
500
516
|
}
|
|
501
517
|
|
|
502
518
|
|
|
@@ -67,8 +67,10 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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 FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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 FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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 FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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 FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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
|
|
|
@@ -67,8 +67,10 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
|
|
|
67
67
|
localVarQueryParameter['expand'] = expand;
|
|
68
68
|
}
|
|
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
|
|
|
@@ -143,8 +145,10 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
|
|
|
143
145
|
localVarQueryParameter['filters'] = filters;
|
|
144
146
|
}
|
|
145
147
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
149
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
150
|
+
if (authorizationValue) {
|
|
151
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
148
152
|
}
|
|
149
153
|
|
|
150
154
|
|
package/api/number-ranges-api.ts
CHANGED
|
@@ -63,8 +63,10 @@ export const NumberRangesApiAxiosParamCreator = 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
|
|
|
@@ -111,8 +113,10 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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
|
|
|
@@ -163,8 +167,10 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
163
167
|
localVarQueryParameter['expand'] = expand;
|
|
164
168
|
}
|
|
165
169
|
|
|
166
|
-
|
|
167
|
-
|
|
170
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
171
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
172
|
+
if (authorizationValue) {
|
|
173
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
168
174
|
}
|
|
169
175
|
|
|
170
176
|
|
|
@@ -239,8 +245,10 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
239
245
|
localVarQueryParameter['filters'] = filters;
|
|
240
246
|
}
|
|
241
247
|
|
|
242
|
-
|
|
243
|
-
|
|
248
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
249
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
250
|
+
if (authorizationValue) {
|
|
251
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
244
252
|
}
|
|
245
253
|
|
|
246
254
|
|
|
@@ -63,8 +63,10 @@ export const PersonalAccountsApiAxiosParamCreator = 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 PersonalAccountsApiAxiosParamCreator = 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
|
|
|
@@ -163,8 +167,10 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
163
167
|
localVarQueryParameter['expand'] = expand;
|
|
164
168
|
}
|
|
165
169
|
|
|
166
|
-
|
|
167
|
-
|
|
170
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
171
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
172
|
+
if (authorizationValue) {
|
|
173
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
168
174
|
}
|
|
169
175
|
|
|
170
176
|
|
|
@@ -239,8 +245,10 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
239
245
|
localVarQueryParameter['filters'] = filters;
|
|
240
246
|
}
|
|
241
247
|
|
|
242
|
-
|
|
243
|
-
|
|
248
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
249
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
250
|
+
if (authorizationValue) {
|
|
251
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
244
252
|
}
|
|
245
253
|
|
|
246
254
|
|