@emilgroup/accounting-sdk-node 1.32.1-beta.76 → 1.32.1-beta.77
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 +24 -14
- 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/common.ts +3 -2
- package/dist/api/accounting-configs-api.d.ts +8 -8
- package/dist/api/accounting-configs-api.js +56 -32
- package/dist/api/booking-entries-api.d.ts +9 -9
- package/dist/api/booking-entries-api.js +33 -22
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +47 -29
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +29 -18
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +8 -6
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +22 -14
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +22 -14
- package/dist/api/product-account-mappings-api.d.ts +131 -10
- package/dist/api/product-account-mappings-api.js +261 -38
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -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 +16 -2
- package/dist/models/booking-entry-class.js +3 -1
- package/dist/models/create-booking-entry-request-dto.d.ts +3 -2
- package/dist/models/create-booking-entry-request-dto.js +3 -2
- 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 +17 -3
- package/models/create-booking-entry-request-dto.ts +4 -3
- 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 +2 -2
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-node@1.32.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.32.1-beta.77 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.32.1-beta.77
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -73,8 +73,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
73
73
|
// http bearer authentication required
|
|
74
74
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
77
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
78
|
+
if (authorizationValue) {
|
|
79
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
|
|
@@ -121,8 +123,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
121
123
|
// http bearer authentication required
|
|
122
124
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
125
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
127
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
128
|
+
if (authorizationValue) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
126
130
|
}
|
|
127
131
|
|
|
128
132
|
|
|
@@ -170,8 +174,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
170
174
|
// http bearer authentication required
|
|
171
175
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
172
176
|
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
179
|
+
if (authorizationValue) {
|
|
180
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
|
|
@@ -211,8 +217,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
211
217
|
// http bearer authentication required
|
|
212
218
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
213
219
|
|
|
214
|
-
|
|
215
|
-
|
|
220
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
221
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
222
|
+
if (authorizationValue) {
|
|
223
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
216
224
|
}
|
|
217
225
|
|
|
218
226
|
|
|
@@ -252,8 +260,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
252
260
|
// http bearer authentication required
|
|
253
261
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
254
262
|
|
|
255
|
-
|
|
256
|
-
|
|
263
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
264
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
265
|
+
if (authorizationValue) {
|
|
266
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
257
267
|
}
|
|
258
268
|
|
|
259
269
|
|
|
@@ -293,8 +303,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
293
303
|
// http bearer authentication required
|
|
294
304
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
295
305
|
|
|
296
|
-
|
|
297
|
-
|
|
306
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
307
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
308
|
+
if (authorizationValue) {
|
|
309
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
298
310
|
}
|
|
299
311
|
|
|
300
312
|
|
|
@@ -337,8 +349,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
337
349
|
// http bearer authentication required
|
|
338
350
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
339
351
|
|
|
340
|
-
|
|
341
|
-
|
|
352
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
353
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
354
|
+
if (authorizationValue) {
|
|
355
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
342
356
|
}
|
|
343
357
|
|
|
344
358
|
|
|
@@ -385,8 +399,10 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
385
399
|
// http bearer authentication required
|
|
386
400
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
387
401
|
|
|
388
|
-
|
|
389
|
-
|
|
402
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
403
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
404
|
+
if (authorizationValue) {
|
|
405
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
390
406
|
}
|
|
391
407
|
|
|
392
408
|
|
|
@@ -75,8 +75,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
75
75
|
// http bearer authentication required
|
|
76
76
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
79
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
80
|
+
if (authorizationValue) {
|
|
81
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
|
|
@@ -122,8 +124,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
122
124
|
// http bearer authentication required
|
|
123
125
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
124
126
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
128
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
129
|
+
if (authorizationValue) {
|
|
130
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
127
131
|
}
|
|
128
132
|
|
|
129
133
|
|
|
@@ -177,8 +181,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
177
181
|
localVarQueryParameter['expand'] = expand;
|
|
178
182
|
}
|
|
179
183
|
|
|
180
|
-
|
|
181
|
-
|
|
184
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
185
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
186
|
+
if (authorizationValue) {
|
|
187
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
182
188
|
}
|
|
183
189
|
|
|
184
190
|
|
|
@@ -193,7 +199,7 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
193
199
|
};
|
|
194
200
|
},
|
|
195
201
|
/**
|
|
196
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
202
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
197
203
|
* @summary List booking entries
|
|
198
204
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
199
205
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -253,8 +259,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
253
259
|
localVarQueryParameter['filters'] = filters;
|
|
254
260
|
}
|
|
255
261
|
|
|
256
|
-
|
|
257
|
-
|
|
262
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
263
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
264
|
+
if (authorizationValue) {
|
|
265
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
258
266
|
}
|
|
259
267
|
|
|
260
268
|
|
|
@@ -297,8 +305,10 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
297
305
|
// http bearer authentication required
|
|
298
306
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
299
307
|
|
|
300
|
-
|
|
301
|
-
|
|
308
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
309
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
310
|
+
if (authorizationValue) {
|
|
311
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
302
312
|
}
|
|
303
313
|
|
|
304
314
|
|
|
@@ -363,7 +373,7 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
|
|
|
363
373
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
364
374
|
},
|
|
365
375
|
/**
|
|
366
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
376
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
367
377
|
* @summary List booking entries
|
|
368
378
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
369
379
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -437,7 +447,7 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
|
|
|
437
447
|
return localVarFp.getBookingEntry(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
438
448
|
},
|
|
439
449
|
/**
|
|
440
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
450
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
441
451
|
* @summary List booking entries
|
|
442
452
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
443
453
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -665,7 +675,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
665
675
|
}
|
|
666
676
|
|
|
667
677
|
/**
|
|
668
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
678
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
669
679
|
* @summary List booking entries
|
|
670
680
|
* @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
|
|
671
681
|
* @param {*} [options] Override http request option.
|
|
@@ -78,8 +78,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
78
78
|
// http bearer authentication required
|
|
79
79
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
80
80
|
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
82
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
83
|
+
if (authorizationValue) {
|
|
84
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
|
|
@@ -123,8 +125,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
123
125
|
// http bearer authentication required
|
|
124
126
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
125
127
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
130
|
+
if (authorizationValue) {
|
|
131
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
|
|
@@ -168,8 +172,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
168
172
|
// http bearer authentication required
|
|
169
173
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
170
174
|
|
|
171
|
-
|
|
172
|
-
|
|
175
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
176
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
177
|
+
if (authorizationValue) {
|
|
178
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
173
179
|
}
|
|
174
180
|
|
|
175
181
|
|
|
@@ -244,8 +250,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
244
250
|
localVarQueryParameter['filters'] = filters;
|
|
245
251
|
}
|
|
246
252
|
|
|
247
|
-
|
|
248
|
-
|
|
253
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
254
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
255
|
+
if (authorizationValue) {
|
|
256
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
249
257
|
}
|
|
250
258
|
|
|
251
259
|
|
|
@@ -320,8 +328,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
320
328
|
localVarQueryParameter['filters'] = filters;
|
|
321
329
|
}
|
|
322
330
|
|
|
323
|
-
|
|
324
|
-
|
|
331
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
332
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
333
|
+
if (authorizationValue) {
|
|
334
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
325
335
|
}
|
|
326
336
|
|
|
327
337
|
|
|
@@ -396,8 +406,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
396
406
|
localVarQueryParameter['filters'] = filters;
|
|
397
407
|
}
|
|
398
408
|
|
|
399
|
-
|
|
400
|
-
|
|
409
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
410
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
411
|
+
if (authorizationValue) {
|
|
412
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
401
413
|
}
|
|
402
414
|
|
|
403
415
|
|
|
@@ -448,8 +460,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
448
460
|
// http bearer authentication required
|
|
449
461
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
450
462
|
|
|
451
|
-
|
|
452
|
-
|
|
463
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
464
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
465
|
+
if (authorizationValue) {
|
|
466
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
453
467
|
}
|
|
454
468
|
|
|
455
469
|
|
|
@@ -499,8 +513,10 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
499
513
|
// http bearer authentication required
|
|
500
514
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
501
515
|
|
|
502
|
-
|
|
503
|
-
|
|
516
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
517
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
518
|
+
if (authorizationValue) {
|
|
519
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
504
520
|
}
|
|
505
521
|
|
|
506
522
|
|
|
@@ -71,8 +71,10 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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
|
|
|
@@ -119,8 +121,10 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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
|
|
|
@@ -171,8 +175,10 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
171
175
|
localVarQueryParameter['expand'] = expand;
|
|
172
176
|
}
|
|
173
177
|
|
|
174
|
-
|
|
175
|
-
|
|
178
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
179
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
180
|
+
if (authorizationValue) {
|
|
181
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
176
182
|
}
|
|
177
183
|
|
|
178
184
|
|
|
@@ -247,8 +253,10 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
247
253
|
localVarQueryParameter['filters'] = filters;
|
|
248
254
|
}
|
|
249
255
|
|
|
250
|
-
|
|
251
|
-
|
|
256
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
257
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
258
|
+
if (authorizationValue) {
|
|
259
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
260
|
}
|
|
253
261
|
|
|
254
262
|
|
|
@@ -295,8 +303,10 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
295
303
|
// http bearer authentication required
|
|
296
304
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
297
305
|
|
|
298
|
-
|
|
299
|
-
|
|
306
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
307
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
308
|
+
if (authorizationValue) {
|
|
309
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
300
310
|
}
|
|
301
311
|
|
|
302
312
|
|
|
@@ -71,8 +71,10 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
|
|
|
71
71
|
localVarQueryParameter['expand'] = expand;
|
|
72
72
|
}
|
|
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
|
|
|
@@ -147,8 +149,10 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
|
|
|
147
149
|
localVarQueryParameter['filters'] = filters;
|
|
148
150
|
}
|
|
149
151
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
153
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
154
|
+
if (authorizationValue) {
|
|
155
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
152
156
|
}
|
|
153
157
|
|
|
154
158
|
|
package/api/number-ranges-api.ts
CHANGED
|
@@ -67,8 +67,10 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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 NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
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
|
|
|
@@ -67,8 +67,10 @@ export const PersonalAccountsApiAxiosParamCreator = 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
|
|
|
@@ -115,8 +117,10 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
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 PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
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 PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
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
|
|