@emilgroup/accounting-sdk 1.34.1-beta.57 → 1.34.1-beta.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +32 -16
- package/api/booking-entries-api.ts +20 -10
- package/api/commission-account-mappings-api.ts +32 -16
- package/api/financial-accounts-api.ts +20 -10
- package/api/financial-transactions-api.ts +8 -4
- package/api/number-ranges-api.ts +16 -8
- package/api/personal-accounts-api.ts +16 -8
- package/api/product-account-mappings-api.ts +265 -20
- package/base.ts +174 -41
- package/configuration.ts +20 -0
- package/dist/api/accounting-configs-api.js +56 -32
- package/dist/api/booking-entries-api.js +29 -18
- package/dist/api/commission-account-mappings-api.js +47 -29
- package/dist/api/financial-accounts-api.js +29 -18
- package/dist/api/financial-transactions-api.js +8 -6
- package/dist/api/number-ranges-api.js +22 -14
- package/dist/api/personal-accounts-api.js +22 -14
- package/dist/api/product-account-mappings-api.d.ts +121 -0
- package/dist/api/product-account-mappings-api.js +261 -38
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/account-mapping-class.d.ts +2 -0
- package/dist/models/account-mapping-class.js +3 -1
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
- package/dist/models/booking-entry-class.d.ts +1 -0
- package/dist/models/booking-entry-class.js +1 -0
- package/dist/models/create-booking-entry-request-dto.d.ts +1 -0
- package/dist/models/create-booking-entry-request-dto.js +1 -0
- package/dist/models/create-financial-account-request-dto.d.ts +2 -0
- package/dist/models/create-financial-account-request-dto.js +3 -1
- package/dist/models/financial-transaction-class.d.ts +6 -0
- package/dist/models/financial-transaction-data-dto.d.ts +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/post-financial-event-request-dto.d.ts +3 -2
- package/dist/models/post-financial-event-request-dto.js +1 -0
- package/dist/models/product-account-mapping-detail-class.d.ts +6 -0
- package/dist/models/product-risk-carrier-class.d.ts +42 -0
- package/dist/models/product-risk-carrier-class.js +15 -0
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
- package/models/account-mapping-class.ts +3 -1
- package/models/accounting-config-data-dto-default-account-mappings.ts +3 -1
- package/models/booking-entry-class.ts +1 -0
- package/models/create-booking-entry-request-dto.ts +1 -0
- package/models/create-financial-account-request-dto.ts +3 -1
- package/models/financial-transaction-class.ts +6 -0
- package/models/financial-transaction-data-dto.ts +6 -0
- package/models/index.ts +2 -0
- package/models/post-financial-event-request-dto.ts +3 -2
- package/models/product-account-mapping-detail-class.ts +6 -0
- package/models/product-risk-carrier-class.ts +48 -0
- package/models/put-product-risk-carrier-body-dto.ts +30 -0
- package/package.json +1 -1
|
@@ -103,7 +103,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createBookingEntry: function (createBookingEntryRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -169,13 +172,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
169
172
|
localVarQueryParameter = {};
|
|
170
173
|
// authentication bearer required
|
|
171
174
|
// http bearer authentication required
|
|
172
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
175
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
177
|
+
];
|
|
173
178
|
case 1:
|
|
174
179
|
// authentication bearer required
|
|
175
180
|
// http bearer authentication required
|
|
176
181
|
_a.sent();
|
|
177
|
-
|
|
178
|
-
|
|
182
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
183
|
+
if (authorizationValue) {
|
|
184
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
179
185
|
}
|
|
180
186
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -202,7 +208,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
202
208
|
getBookingEntry: function (code, expand, authorization, options) {
|
|
203
209
|
if (options === void 0) { options = {}; }
|
|
204
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
205
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
211
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
206
212
|
return __generator(this, function (_a) {
|
|
207
213
|
switch (_a.label) {
|
|
208
214
|
case 0:
|
|
@@ -230,8 +236,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
230
236
|
if (expand !== undefined) {
|
|
231
237
|
localVarQueryParameter['expand'] = expand;
|
|
232
238
|
}
|
|
233
|
-
|
|
234
|
-
|
|
239
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
240
|
+
if (authorizationValue) {
|
|
241
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
235
242
|
}
|
|
236
243
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
237
244
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -261,7 +268,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
261
268
|
listBookingEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
262
269
|
if (options === void 0) { options = {}; }
|
|
263
270
|
return __awaiter(_this, void 0, void 0, function () {
|
|
264
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
271
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
265
272
|
return __generator(this, function (_a) {
|
|
266
273
|
switch (_a.label) {
|
|
267
274
|
case 0:
|
|
@@ -302,8 +309,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
302
309
|
if (filters !== undefined) {
|
|
303
310
|
localVarQueryParameter['filters'] = filters;
|
|
304
311
|
}
|
|
305
|
-
|
|
306
|
-
|
|
312
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
313
|
+
if (authorizationValue) {
|
|
314
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
307
315
|
}
|
|
308
316
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
309
317
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -327,7 +335,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
327
335
|
postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
|
|
328
336
|
if (options === void 0) { options = {}; }
|
|
329
337
|
return __awaiter(_this, void 0, void 0, function () {
|
|
330
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
331
339
|
return __generator(this, function (_a) {
|
|
332
340
|
switch (_a.label) {
|
|
333
341
|
case 0:
|
|
@@ -344,13 +352,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
344
352
|
localVarQueryParameter = {};
|
|
345
353
|
// authentication bearer required
|
|
346
354
|
// http bearer authentication required
|
|
347
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
355
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
356
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
357
|
+
];
|
|
348
358
|
case 1:
|
|
349
359
|
// authentication bearer required
|
|
350
360
|
// http bearer authentication required
|
|
351
361
|
_a.sent();
|
|
352
|
-
|
|
353
|
-
|
|
362
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
363
|
+
if (authorizationValue) {
|
|
364
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
354
365
|
}
|
|
355
366
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
356
367
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -104,7 +104,7 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
deleteCommissionAgreementAccount: function (commissionAgreementCode, commissionType, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
108
108
|
return __generator(this, function (_a) {
|
|
109
109
|
switch (_a.label) {
|
|
110
110
|
case 0:
|
|
@@ -125,13 +125,16 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
125
125
|
localVarQueryParameter = {};
|
|
126
126
|
// authentication bearer required
|
|
127
127
|
// http bearer authentication required
|
|
128
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
129
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
130
|
+
];
|
|
129
131
|
case 1:
|
|
130
132
|
// authentication bearer required
|
|
131
133
|
// http bearer authentication required
|
|
132
134
|
_a.sent();
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
136
|
+
if (authorizationValue) {
|
|
137
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
135
138
|
}
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
140
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -155,7 +158,7 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
155
158
|
deleteCommissionTypeAccount: function (commissionType, authorization, options) {
|
|
156
159
|
if (options === void 0) { options = {}; }
|
|
157
160
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
161
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
159
162
|
return __generator(this, function (_a) {
|
|
160
163
|
switch (_a.label) {
|
|
161
164
|
case 0:
|
|
@@ -173,13 +176,16 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
173
176
|
localVarQueryParameter = {};
|
|
174
177
|
// authentication bearer required
|
|
175
178
|
// http bearer authentication required
|
|
176
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
179
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
181
|
+
];
|
|
177
182
|
case 1:
|
|
178
183
|
// authentication bearer required
|
|
179
184
|
// http bearer authentication required
|
|
180
185
|
_a.sent();
|
|
181
|
-
|
|
182
|
-
|
|
186
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
187
|
+
if (authorizationValue) {
|
|
188
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
183
189
|
}
|
|
184
190
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
185
191
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -203,7 +209,7 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
203
209
|
getCommissionAgreementAccountMapping: function (commissionAgreementCode, authorization, options) {
|
|
204
210
|
if (options === void 0) { options = {}; }
|
|
205
211
|
return __awaiter(_this, void 0, void 0, function () {
|
|
206
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
212
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
207
213
|
return __generator(this, function (_a) {
|
|
208
214
|
switch (_a.label) {
|
|
209
215
|
case 0:
|
|
@@ -221,13 +227,16 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
221
227
|
localVarQueryParameter = {};
|
|
222
228
|
// authentication bearer required
|
|
223
229
|
// http bearer authentication required
|
|
224
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
230
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
231
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
232
|
+
];
|
|
225
233
|
case 1:
|
|
226
234
|
// authentication bearer required
|
|
227
235
|
// http bearer authentication required
|
|
228
236
|
_a.sent();
|
|
229
|
-
|
|
230
|
-
|
|
237
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
238
|
+
if (authorizationValue) {
|
|
239
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
231
240
|
}
|
|
232
241
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
233
242
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -257,7 +266,7 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
257
266
|
listCommissionAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
258
267
|
if (options === void 0) { options = {}; }
|
|
259
268
|
return __awaiter(_this, void 0, void 0, function () {
|
|
260
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
269
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
261
270
|
return __generator(this, function (_a) {
|
|
262
271
|
switch (_a.label) {
|
|
263
272
|
case 0:
|
|
@@ -298,8 +307,9 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
298
307
|
if (filters !== undefined) {
|
|
299
308
|
localVarQueryParameter['filters'] = filters;
|
|
300
309
|
}
|
|
301
|
-
|
|
302
|
-
|
|
310
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
311
|
+
if (authorizationValue) {
|
|
312
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
303
313
|
}
|
|
304
314
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
305
315
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -329,7 +339,7 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
329
339
|
listCommissionAgreementsWithAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
330
340
|
if (options === void 0) { options = {}; }
|
|
331
341
|
return __awaiter(_this, void 0, void 0, function () {
|
|
332
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
342
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
333
343
|
return __generator(this, function (_a) {
|
|
334
344
|
switch (_a.label) {
|
|
335
345
|
case 0:
|
|
@@ -370,8 +380,9 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
370
380
|
if (filters !== undefined) {
|
|
371
381
|
localVarQueryParameter['filters'] = filters;
|
|
372
382
|
}
|
|
373
|
-
|
|
374
|
-
|
|
383
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
384
|
+
if (authorizationValue) {
|
|
385
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
375
386
|
}
|
|
376
387
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
377
388
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -401,7 +412,7 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
401
412
|
listCommissionTypeAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
402
413
|
if (options === void 0) { options = {}; }
|
|
403
414
|
return __awaiter(_this, void 0, void 0, function () {
|
|
404
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
415
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
405
416
|
return __generator(this, function (_a) {
|
|
406
417
|
switch (_a.label) {
|
|
407
418
|
case 0:
|
|
@@ -442,8 +453,9 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
442
453
|
if (filters !== undefined) {
|
|
443
454
|
localVarQueryParameter['filters'] = filters;
|
|
444
455
|
}
|
|
445
|
-
|
|
446
|
-
|
|
456
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
457
|
+
if (authorizationValue) {
|
|
458
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
447
459
|
}
|
|
448
460
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
449
461
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -469,7 +481,7 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
469
481
|
updateCommissionAgreementAccount: function (commissionAgreementCode, commissionType, updateCommissionAgreementAccountBodyDto, authorization, options) {
|
|
470
482
|
if (options === void 0) { options = {}; }
|
|
471
483
|
return __awaiter(_this, void 0, void 0, function () {
|
|
472
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
484
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
473
485
|
return __generator(this, function (_a) {
|
|
474
486
|
switch (_a.label) {
|
|
475
487
|
case 0:
|
|
@@ -492,13 +504,16 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
492
504
|
localVarQueryParameter = {};
|
|
493
505
|
// authentication bearer required
|
|
494
506
|
// http bearer authentication required
|
|
495
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
507
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
508
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
509
|
+
];
|
|
496
510
|
case 1:
|
|
497
511
|
// authentication bearer required
|
|
498
512
|
// http bearer authentication required
|
|
499
513
|
_a.sent();
|
|
500
|
-
|
|
501
|
-
|
|
514
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
515
|
+
if (authorizationValue) {
|
|
516
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
502
517
|
}
|
|
503
518
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
504
519
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -525,7 +540,7 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
525
540
|
updateCommissionTypeAccount: function (commissionType, updateCommissionTypeAccountBodyDto, authorization, options) {
|
|
526
541
|
if (options === void 0) { options = {}; }
|
|
527
542
|
return __awaiter(_this, void 0, void 0, function () {
|
|
528
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
543
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
529
544
|
return __generator(this, function (_a) {
|
|
530
545
|
switch (_a.label) {
|
|
531
546
|
case 0:
|
|
@@ -545,13 +560,16 @@ var CommissionAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
545
560
|
localVarQueryParameter = {};
|
|
546
561
|
// authentication bearer required
|
|
547
562
|
// http bearer authentication required
|
|
548
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
563
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
564
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
565
|
+
];
|
|
549
566
|
case 1:
|
|
550
567
|
// authentication bearer required
|
|
551
568
|
// http bearer authentication required
|
|
552
569
|
_a.sent();
|
|
553
|
-
|
|
554
|
-
|
|
570
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
571
|
+
if (authorizationValue) {
|
|
572
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
555
573
|
}
|
|
556
574
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
557
575
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -103,7 +103,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createFinancialAccount: function (createFinancialAccountRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
deleteFinancialAccount: function (code, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -201,7 +207,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
201
207
|
getFinancialAccount: function (code, expand, authorization, options) {
|
|
202
208
|
if (options === void 0) { options = {}; }
|
|
203
209
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
210
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
205
211
|
return __generator(this, function (_a) {
|
|
206
212
|
switch (_a.label) {
|
|
207
213
|
case 0:
|
|
@@ -229,8 +235,9 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
229
235
|
if (expand !== undefined) {
|
|
230
236
|
localVarQueryParameter['expand'] = expand;
|
|
231
237
|
}
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
241
|
}
|
|
235
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
243
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -260,7 +267,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
260
267
|
listFinancialAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
261
268
|
if (options === void 0) { options = {}; }
|
|
262
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
263
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
264
271
|
return __generator(this, function (_a) {
|
|
265
272
|
switch (_a.label) {
|
|
266
273
|
case 0:
|
|
@@ -301,8 +308,9 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
301
308
|
if (filters !== undefined) {
|
|
302
309
|
localVarQueryParameter['filters'] = filters;
|
|
303
310
|
}
|
|
304
|
-
|
|
305
|
-
|
|
311
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
312
|
+
if (authorizationValue) {
|
|
313
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
306
314
|
}
|
|
307
315
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
308
316
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -327,7 +335,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
327
335
|
updateFinancialAccount: function (code, updateFinancialAccountBodyDto, authorization, options) {
|
|
328
336
|
if (options === void 0) { options = {}; }
|
|
329
337
|
return __awaiter(_this, void 0, void 0, function () {
|
|
330
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
331
339
|
return __generator(this, function (_a) {
|
|
332
340
|
switch (_a.label) {
|
|
333
341
|
case 0:
|
|
@@ -347,13 +355,16 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
347
355
|
localVarQueryParameter = {};
|
|
348
356
|
// authentication bearer required
|
|
349
357
|
// http bearer authentication required
|
|
350
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
358
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
359
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
360
|
+
];
|
|
351
361
|
case 1:
|
|
352
362
|
// authentication bearer required
|
|
353
363
|
// http bearer authentication required
|
|
354
364
|
_a.sent();
|
|
355
|
-
|
|
356
|
-
|
|
365
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
366
|
+
if (authorizationValue) {
|
|
367
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
357
368
|
}
|
|
358
369
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
359
370
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -104,7 +104,7 @@ var FinancialTransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
getFinancialTransaction: function (code, expand, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
108
108
|
return __generator(this, function (_a) {
|
|
109
109
|
switch (_a.label) {
|
|
110
110
|
case 0:
|
|
@@ -132,8 +132,9 @@ var FinancialTransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
132
132
|
if (expand !== undefined) {
|
|
133
133
|
localVarQueryParameter['expand'] = expand;
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
136
|
+
if (authorizationValue) {
|
|
137
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
137
138
|
}
|
|
138
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
139
140
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -163,7 +164,7 @@ var FinancialTransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
163
164
|
listFinancialTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
164
165
|
if (options === void 0) { options = {}; }
|
|
165
166
|
return __awaiter(_this, void 0, void 0, function () {
|
|
166
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
167
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
167
168
|
return __generator(this, function (_a) {
|
|
168
169
|
switch (_a.label) {
|
|
169
170
|
case 0:
|
|
@@ -204,8 +205,9 @@ var FinancialTransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
204
205
|
if (filters !== undefined) {
|
|
205
206
|
localVarQueryParameter['filters'] = filters;
|
|
206
207
|
}
|
|
207
|
-
|
|
208
|
-
|
|
208
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
209
|
+
if (authorizationValue) {
|
|
210
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
209
211
|
}
|
|
210
212
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
211
213
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|