@emilgroup/accounting-sdk 1.34.1-beta.74 → 1.34.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/base.ts +41 -174
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- 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/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/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@1.34.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.34.1-beta.76 --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.76
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -69,10 +69,8 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
if (authorizationValue) {
|
|
75
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
72
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
76
74
|
}
|
|
77
75
|
|
|
78
76
|
|
|
@@ -119,10 +117,8 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
119
117
|
// http bearer authentication required
|
|
120
118
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
119
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
if (authorizationValue) {
|
|
125
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
120
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
121
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
126
122
|
}
|
|
127
123
|
|
|
128
124
|
|
|
@@ -169,10 +165,8 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
169
165
|
// http bearer authentication required
|
|
170
166
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
171
167
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
if (authorizationValue) {
|
|
175
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
168
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
169
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
176
170
|
}
|
|
177
171
|
|
|
178
172
|
|
|
@@ -212,10 +206,8 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
212
206
|
// http bearer authentication required
|
|
213
207
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
214
208
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
if (authorizationValue) {
|
|
218
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
209
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
210
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
219
211
|
}
|
|
220
212
|
|
|
221
213
|
|
|
@@ -255,10 +247,8 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
255
247
|
// http bearer authentication required
|
|
256
248
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
257
249
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
if (authorizationValue) {
|
|
261
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
250
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
251
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
262
252
|
}
|
|
263
253
|
|
|
264
254
|
|
|
@@ -298,10 +288,8 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
298
288
|
// http bearer authentication required
|
|
299
289
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
300
290
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
if (authorizationValue) {
|
|
304
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
291
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
292
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
305
293
|
}
|
|
306
294
|
|
|
307
295
|
|
|
@@ -344,10 +332,8 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
344
332
|
// http bearer authentication required
|
|
345
333
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
346
334
|
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
if (authorizationValue) {
|
|
350
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
335
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
336
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
351
337
|
}
|
|
352
338
|
|
|
353
339
|
|
|
@@ -394,10 +380,8 @@ export const AccountingConfigsApiAxiosParamCreator = function (configuration?: C
|
|
|
394
380
|
// http bearer authentication required
|
|
395
381
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
396
382
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
if (authorizationValue) {
|
|
400
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
383
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
384
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
401
385
|
}
|
|
402
386
|
|
|
403
387
|
|
|
@@ -71,10 +71,8 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
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
|
|
|
@@ -120,10 +118,8 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
120
118
|
// http bearer authentication required
|
|
121
119
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
122
120
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
if (authorizationValue) {
|
|
126
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
121
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
122
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
127
123
|
}
|
|
128
124
|
|
|
129
125
|
|
|
@@ -177,10 +173,8 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
177
173
|
localVarQueryParameter['expand'] = expand;
|
|
178
174
|
}
|
|
179
175
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
if (authorizationValue) {
|
|
183
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
176
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
177
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
178
|
}
|
|
185
179
|
|
|
186
180
|
|
|
@@ -195,7 +189,7 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
195
189
|
};
|
|
196
190
|
},
|
|
197
191
|
/**
|
|
198
|
-
* This endpoint gets booking entries.
|
|
192
|
+
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
199
193
|
* @summary List booking entries
|
|
200
194
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
195
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -255,10 +249,8 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
255
249
|
localVarQueryParameter['filters'] = filters;
|
|
256
250
|
}
|
|
257
251
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
if (authorizationValue) {
|
|
261
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
253
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
262
254
|
}
|
|
263
255
|
|
|
264
256
|
|
|
@@ -301,10 +293,8 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
301
293
|
// http bearer authentication required
|
|
302
294
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
303
295
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
if (authorizationValue) {
|
|
307
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
296
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
297
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
308
298
|
}
|
|
309
299
|
|
|
310
300
|
|
|
@@ -369,7 +359,7 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
|
|
|
369
359
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
370
360
|
},
|
|
371
361
|
/**
|
|
372
|
-
* This endpoint gets booking entries.
|
|
362
|
+
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
373
363
|
* @summary List booking entries
|
|
374
364
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
375
365
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -443,7 +433,7 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
|
|
|
443
433
|
return localVarFp.getBookingEntry(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
444
434
|
},
|
|
445
435
|
/**
|
|
446
|
-
* This endpoint gets booking entries.
|
|
436
|
+
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
447
437
|
* @summary List booking entries
|
|
448
438
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
449
439
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -671,7 +661,7 @@ export class BookingEntriesApi extends BaseAPI {
|
|
|
671
661
|
}
|
|
672
662
|
|
|
673
663
|
/**
|
|
674
|
-
* This endpoint gets booking entries.
|
|
664
|
+
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
675
665
|
* @summary List booking entries
|
|
676
666
|
* @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
|
|
677
667
|
* @param {*} [options] Override http request option.
|
|
@@ -74,10 +74,8 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
74
74
|
// http bearer authentication required
|
|
75
75
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
if (authorizationValue) {
|
|
80
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
77
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
78
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
81
79
|
}
|
|
82
80
|
|
|
83
81
|
|
|
@@ -121,10 +119,8 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
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
|
|
|
@@ -168,10 +164,8 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
168
164
|
// http bearer authentication required
|
|
169
165
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
170
166
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
if (authorizationValue) {
|
|
174
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
167
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
168
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
175
169
|
}
|
|
176
170
|
|
|
177
171
|
|
|
@@ -246,10 +240,8 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
246
240
|
localVarQueryParameter['filters'] = filters;
|
|
247
241
|
}
|
|
248
242
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
if (authorizationValue) {
|
|
252
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
243
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
244
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
253
245
|
}
|
|
254
246
|
|
|
255
247
|
|
|
@@ -324,10 +316,8 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
324
316
|
localVarQueryParameter['filters'] = filters;
|
|
325
317
|
}
|
|
326
318
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
if (authorizationValue) {
|
|
330
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
319
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
320
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
331
321
|
}
|
|
332
322
|
|
|
333
323
|
|
|
@@ -402,10 +392,8 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
402
392
|
localVarQueryParameter['filters'] = filters;
|
|
403
393
|
}
|
|
404
394
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
if (authorizationValue) {
|
|
408
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
395
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
396
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
409
397
|
}
|
|
410
398
|
|
|
411
399
|
|
|
@@ -456,10 +444,8 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
456
444
|
// http bearer authentication required
|
|
457
445
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
458
446
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
if (authorizationValue) {
|
|
462
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
447
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
448
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
463
449
|
}
|
|
464
450
|
|
|
465
451
|
|
|
@@ -509,10 +495,8 @@ export const CommissionAccountMappingsApiAxiosParamCreator = function (configura
|
|
|
509
495
|
// http bearer authentication required
|
|
510
496
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
511
497
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
if (authorizationValue) {
|
|
515
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
498
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
499
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
516
500
|
}
|
|
517
501
|
|
|
518
502
|
|
|
@@ -67,10 +67,8 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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 FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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 FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
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 FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
249
243
|
localVarQueryParameter['filters'] = filters;
|
|
250
244
|
}
|
|
251
245
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
if (authorizationValue) {
|
|
255
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
246
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
247
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
256
248
|
}
|
|
257
249
|
|
|
258
250
|
|
|
@@ -299,10 +291,8 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
299
291
|
// http bearer authentication required
|
|
300
292
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
301
293
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
if (authorizationValue) {
|
|
305
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
294
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
306
296
|
}
|
|
307
297
|
|
|
308
298
|
|
|
@@ -67,10 +67,8 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
|
|
|
67
67
|
localVarQueryParameter['expand'] = expand;
|
|
68
68
|
}
|
|
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
|
|
|
@@ -145,10 +143,8 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
|
|
|
145
143
|
localVarQueryParameter['filters'] = filters;
|
|
146
144
|
}
|
|
147
145
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
if (authorizationValue) {
|
|
151
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
146
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
147
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
152
148
|
}
|
|
153
149
|
|
|
154
150
|
|
package/api/number-ranges-api.ts
CHANGED
|
@@ -63,10 +63,8 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -113,10 +111,8 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
113
111
|
// http bearer authentication required
|
|
114
112
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
113
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
if (authorizationValue) {
|
|
119
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
114
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
115
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
120
116
|
}
|
|
121
117
|
|
|
122
118
|
|
|
@@ -167,10 +163,8 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
167
163
|
localVarQueryParameter['expand'] = expand;
|
|
168
164
|
}
|
|
169
165
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
if (authorizationValue) {
|
|
173
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
166
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
167
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
174
168
|
}
|
|
175
169
|
|
|
176
170
|
|
|
@@ -245,10 +239,8 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
245
239
|
localVarQueryParameter['filters'] = filters;
|
|
246
240
|
}
|
|
247
241
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
if (authorizationValue) {
|
|
251
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
242
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
243
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
244
|
}
|
|
253
245
|
|
|
254
246
|
|
|
@@ -63,10 +63,8 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -113,10 +111,8 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
113
111
|
// http bearer authentication required
|
|
114
112
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
113
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
if (authorizationValue) {
|
|
119
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
114
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
115
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
120
116
|
}
|
|
121
117
|
|
|
122
118
|
|
|
@@ -167,10 +163,8 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
167
163
|
localVarQueryParameter['expand'] = expand;
|
|
168
164
|
}
|
|
169
165
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
if (authorizationValue) {
|
|
173
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
166
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
167
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
174
168
|
}
|
|
175
169
|
|
|
176
170
|
|
|
@@ -245,10 +239,8 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
245
239
|
localVarQueryParameter['filters'] = filters;
|
|
246
240
|
}
|
|
247
241
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
if (authorizationValue) {
|
|
251
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
242
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
243
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
244
|
}
|
|
253
245
|
|
|
254
246
|
|