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