@emilgroup/accounting-sdk 1.34.1-beta.111 → 1.34.1-beta.113
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/README.md +2 -2
- package/api/accounting-configs-api.ts +24 -64
- package/api/booking-entries-api.ts +15 -40
- package/api/commission-account-mappings-api.ts +24 -64
- package/api/financial-accounts-api.ts +15 -40
- package/api/financial-transactions-api.ts +6 -16
- package/api/health-api.ts +1 -1
- package/api/number-ranges-api.ts +12 -32
- package/api/personal-accounts-api.ts +12 -32
- package/api/product-account-mappings-api.ts +36 -96
- package/base.ts +43 -239
- 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 +64 -120
- package/dist/api/booking-entries-api.d.ts +5 -5
- package/dist/api/booking-entries-api.js +38 -67
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +61 -108
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +38 -67
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +14 -22
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +30 -52
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +30 -52
- package/dist/api/product-account-mappings-api.d.ts +12 -12
- package/dist/api/product-account-mappings-api.js +94 -172
- package/dist/base.d.ts +0 -26
- package/dist/base.js +60 -243
- 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 +2 -3
- package/dist/models/account-mapping-class.js +3 -4
- package/dist/models/accounting-category-class.d.ts +0 -12
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -3
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -4
- package/dist/models/create-booking-entry-request-dto.d.ts +7 -1
- package/dist/models/create-booking-entry-request-dto.js +6 -0
- package/dist/models/create-financial-account-request-dto.d.ts +2 -3
- package/dist/models/create-financial-account-request-dto.js +3 -4
- package/models/account-mapping-class.ts +3 -4
- package/models/accounting-category-class.ts +0 -12
- package/models/accounting-config-data-dto-default-account-mappings.ts +3 -4
- package/models/create-booking-entry-request-dto.ts +7 -1
- package/models/create-financial-account-request-dto.ts +3 -4
- package/package.json +2 -2
|
@@ -106,10 +106,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
deletePremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, authorization, options) {
|
|
107
107
|
if (options === void 0) { options = {}; }
|
|
108
108
|
return __awaiter(_this, void 0, void 0, function () {
|
|
109
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
switch (_b.label) {
|
|
109
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
return __generator(this, function (_a) {
|
|
111
|
+
switch (_a.label) {
|
|
113
112
|
case 0:
|
|
114
113
|
// verify required parameter 'productCode' is not null or undefined
|
|
115
114
|
(0, common_1.assertParamExists)('deletePremiumItemAccount', 'productCode', productCode);
|
|
@@ -134,19 +133,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
134
133
|
localVarQueryParameter = {};
|
|
135
134
|
// authentication bearer required
|
|
136
135
|
// http bearer authentication required
|
|
137
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
138
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
139
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
140
|
-
];
|
|
136
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
141
137
|
case 1:
|
|
142
138
|
// authentication bearer required
|
|
143
139
|
// http bearer authentication required
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
148
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
149
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
140
|
+
_a.sent();
|
|
141
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
142
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
150
143
|
}
|
|
151
144
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
152
145
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -171,10 +164,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
171
164
|
deleteProductCategoryAccount: function (productCode, category, authorization, options) {
|
|
172
165
|
if (options === void 0) { options = {}; }
|
|
173
166
|
return __awaiter(_this, void 0, void 0, function () {
|
|
174
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
switch (_b.label) {
|
|
167
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
168
|
+
return __generator(this, function (_a) {
|
|
169
|
+
switch (_a.label) {
|
|
178
170
|
case 0:
|
|
179
171
|
// verify required parameter 'productCode' is not null or undefined
|
|
180
172
|
(0, common_1.assertParamExists)('deleteProductCategoryAccount', 'productCode', productCode);
|
|
@@ -193,19 +185,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
193
185
|
localVarQueryParameter = {};
|
|
194
186
|
// authentication bearer required
|
|
195
187
|
// http bearer authentication required
|
|
196
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
197
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
198
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
199
|
-
];
|
|
188
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
200
189
|
case 1:
|
|
201
190
|
// authentication bearer required
|
|
202
191
|
// http bearer authentication required
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
207
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
208
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
192
|
+
_a.sent();
|
|
193
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
194
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
209
195
|
}
|
|
210
196
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
211
197
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -229,10 +215,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
229
215
|
deleteProductRiskCarrier: function (productCode, authorization, options) {
|
|
230
216
|
if (options === void 0) { options = {}; }
|
|
231
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
232
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
switch (_b.label) {
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
219
|
+
return __generator(this, function (_a) {
|
|
220
|
+
switch (_a.label) {
|
|
236
221
|
case 0:
|
|
237
222
|
// verify required parameter 'productCode' is not null or undefined
|
|
238
223
|
(0, common_1.assertParamExists)('deleteProductRiskCarrier', 'productCode', productCode);
|
|
@@ -248,19 +233,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
248
233
|
localVarQueryParameter = {};
|
|
249
234
|
// authentication bearer required
|
|
250
235
|
// http bearer authentication required
|
|
251
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
252
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
253
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
254
|
-
];
|
|
236
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
255
237
|
case 1:
|
|
256
238
|
// authentication bearer required
|
|
257
239
|
// http bearer authentication required
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
262
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
263
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
240
|
+
_a.sent();
|
|
241
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
242
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
264
243
|
}
|
|
265
244
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
266
245
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -286,10 +265,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
286
265
|
deleteProductVersionCategoryAccount: function (productCode, productVersionCode, category, authorization, options) {
|
|
287
266
|
if (options === void 0) { options = {}; }
|
|
288
267
|
return __awaiter(_this, void 0, void 0, function () {
|
|
289
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
switch (_b.label) {
|
|
268
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
269
|
+
return __generator(this, function (_a) {
|
|
270
|
+
switch (_a.label) {
|
|
293
271
|
case 0:
|
|
294
272
|
// verify required parameter 'productCode' is not null or undefined
|
|
295
273
|
(0, common_1.assertParamExists)('deleteProductVersionCategoryAccount', 'productCode', productCode);
|
|
@@ -311,19 +289,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
311
289
|
localVarQueryParameter = {};
|
|
312
290
|
// authentication bearer required
|
|
313
291
|
// http bearer authentication required
|
|
314
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
315
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
316
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
317
|
-
];
|
|
292
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
318
293
|
case 1:
|
|
319
294
|
// authentication bearer required
|
|
320
295
|
// http bearer authentication required
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
325
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
326
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
296
|
+
_a.sent();
|
|
297
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
298
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
299
|
}
|
|
328
300
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
329
301
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -347,10 +319,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
347
319
|
getProductAccountMapping: function (productCode, authorization, options) {
|
|
348
320
|
if (options === void 0) { options = {}; }
|
|
349
321
|
return __awaiter(_this, void 0, void 0, function () {
|
|
350
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
switch (_b.label) {
|
|
322
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
323
|
+
return __generator(this, function (_a) {
|
|
324
|
+
switch (_a.label) {
|
|
354
325
|
case 0:
|
|
355
326
|
// verify required parameter 'productCode' is not null or undefined
|
|
356
327
|
(0, common_1.assertParamExists)('getProductAccountMapping', 'productCode', productCode);
|
|
@@ -366,19 +337,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
366
337
|
localVarQueryParameter = {};
|
|
367
338
|
// authentication bearer required
|
|
368
339
|
// http bearer authentication required
|
|
369
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
370
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
371
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
372
|
-
];
|
|
340
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
373
341
|
case 1:
|
|
374
342
|
// authentication bearer required
|
|
375
343
|
// http bearer authentication required
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
380
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
381
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
344
|
+
_a.sent();
|
|
345
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
346
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
382
347
|
}
|
|
383
348
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
384
349
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -403,10 +368,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
403
368
|
getProductVersionAccountMapping: function (productCode, productVersionCode, authorization, options) {
|
|
404
369
|
if (options === void 0) { options = {}; }
|
|
405
370
|
return __awaiter(_this, void 0, void 0, function () {
|
|
406
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
switch (_b.label) {
|
|
371
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
372
|
+
return __generator(this, function (_a) {
|
|
373
|
+
switch (_a.label) {
|
|
410
374
|
case 0:
|
|
411
375
|
// verify required parameter 'productCode' is not null or undefined
|
|
412
376
|
(0, common_1.assertParamExists)('getProductVersionAccountMapping', 'productCode', productCode);
|
|
@@ -425,19 +389,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
425
389
|
localVarQueryParameter = {};
|
|
426
390
|
// authentication bearer required
|
|
427
391
|
// http bearer authentication required
|
|
428
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
429
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
430
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
431
|
-
];
|
|
392
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
432
393
|
case 1:
|
|
433
394
|
// authentication bearer required
|
|
434
395
|
// http bearer authentication required
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
439
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
440
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
396
|
+
_a.sent();
|
|
397
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
398
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
441
399
|
}
|
|
442
400
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
443
401
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -467,10 +425,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
467
425
|
listProductAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
468
426
|
if (options === void 0) { options = {}; }
|
|
469
427
|
return __awaiter(_this, void 0, void 0, function () {
|
|
470
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
switch (_b.label) {
|
|
428
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
429
|
+
return __generator(this, function (_a) {
|
|
430
|
+
switch (_a.label) {
|
|
474
431
|
case 0:
|
|
475
432
|
localVarPath = "/accountingservice/v1/product-account-mappings";
|
|
476
433
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -487,7 +444,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
487
444
|
case 1:
|
|
488
445
|
// authentication bearer required
|
|
489
446
|
// http bearer authentication required
|
|
490
|
-
|
|
447
|
+
_a.sent();
|
|
491
448
|
if (pageSize !== undefined) {
|
|
492
449
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
493
450
|
}
|
|
@@ -509,11 +466,8 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
509
466
|
if (filters !== undefined) {
|
|
510
467
|
localVarQueryParameter['filters'] = filters;
|
|
511
468
|
}
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
515
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
516
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
469
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
470
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
517
471
|
}
|
|
518
472
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
519
473
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -543,10 +497,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
543
497
|
listProductsWithAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
544
498
|
if (options === void 0) { options = {}; }
|
|
545
499
|
return __awaiter(_this, void 0, void 0, function () {
|
|
546
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
switch (_b.label) {
|
|
500
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
501
|
+
return __generator(this, function (_a) {
|
|
502
|
+
switch (_a.label) {
|
|
550
503
|
case 0:
|
|
551
504
|
localVarPath = "/accountingservice/v1/product-account-mappings/products";
|
|
552
505
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -563,7 +516,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
563
516
|
case 1:
|
|
564
517
|
// authentication bearer required
|
|
565
518
|
// http bearer authentication required
|
|
566
|
-
|
|
519
|
+
_a.sent();
|
|
567
520
|
if (pageSize !== undefined) {
|
|
568
521
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
569
522
|
}
|
|
@@ -585,11 +538,8 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
585
538
|
if (filters !== undefined) {
|
|
586
539
|
localVarQueryParameter['filters'] = filters;
|
|
587
540
|
}
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
591
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
592
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
541
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
542
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
593
543
|
}
|
|
594
544
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
595
545
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -617,10 +567,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
617
567
|
putPremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options) {
|
|
618
568
|
if (options === void 0) { options = {}; }
|
|
619
569
|
return __awaiter(_this, void 0, void 0, function () {
|
|
620
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
switch (_b.label) {
|
|
570
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
571
|
+
return __generator(this, function (_a) {
|
|
572
|
+
switch (_a.label) {
|
|
624
573
|
case 0:
|
|
625
574
|
// verify required parameter 'productCode' is not null or undefined
|
|
626
575
|
(0, common_1.assertParamExists)('putPremiumItemAccount', 'productCode', productCode);
|
|
@@ -647,19 +596,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
647
596
|
localVarQueryParameter = {};
|
|
648
597
|
// authentication bearer required
|
|
649
598
|
// http bearer authentication required
|
|
650
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
651
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
652
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
653
|
-
];
|
|
599
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
654
600
|
case 1:
|
|
655
601
|
// authentication bearer required
|
|
656
602
|
// http bearer authentication required
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
661
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
662
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
603
|
+
_a.sent();
|
|
604
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
605
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
663
606
|
}
|
|
664
607
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
665
608
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -687,10 +630,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
687
630
|
putProductCategoryAccount: function (productCode, category, putProductCategoryAccountBodyDto, authorization, options) {
|
|
688
631
|
if (options === void 0) { options = {}; }
|
|
689
632
|
return __awaiter(_this, void 0, void 0, function () {
|
|
690
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
switch (_b.label) {
|
|
633
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
634
|
+
return __generator(this, function (_a) {
|
|
635
|
+
switch (_a.label) {
|
|
694
636
|
case 0:
|
|
695
637
|
// verify required parameter 'productCode' is not null or undefined
|
|
696
638
|
(0, common_1.assertParamExists)('putProductCategoryAccount', 'productCode', productCode);
|
|
@@ -711,19 +653,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
711
653
|
localVarQueryParameter = {};
|
|
712
654
|
// authentication bearer required
|
|
713
655
|
// http bearer authentication required
|
|
714
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
715
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
716
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
717
|
-
];
|
|
656
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
718
657
|
case 1:
|
|
719
658
|
// authentication bearer required
|
|
720
659
|
// http bearer authentication required
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
725
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
726
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
660
|
+
_a.sent();
|
|
661
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
662
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
727
663
|
}
|
|
728
664
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
729
665
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -750,10 +686,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
750
686
|
putProductRiskCarrier: function (productCode, putProductRiskCarrierBodyDto, authorization, options) {
|
|
751
687
|
if (options === void 0) { options = {}; }
|
|
752
688
|
return __awaiter(_this, void 0, void 0, function () {
|
|
753
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
switch (_b.label) {
|
|
689
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
690
|
+
return __generator(this, function (_a) {
|
|
691
|
+
switch (_a.label) {
|
|
757
692
|
case 0:
|
|
758
693
|
// verify required parameter 'productCode' is not null or undefined
|
|
759
694
|
(0, common_1.assertParamExists)('putProductRiskCarrier', 'productCode', productCode);
|
|
@@ -771,19 +706,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
771
706
|
localVarQueryParameter = {};
|
|
772
707
|
// authentication bearer required
|
|
773
708
|
// http bearer authentication required
|
|
774
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
775
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
776
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
777
|
-
];
|
|
709
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
778
710
|
case 1:
|
|
779
711
|
// authentication bearer required
|
|
780
712
|
// http bearer authentication required
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
785
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
786
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
713
|
+
_a.sent();
|
|
714
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
715
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
787
716
|
}
|
|
788
717
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
789
718
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -812,10 +741,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
812
741
|
putProductVersionCategoryAccount: function (productCode, productVersionCode, category, putProductVersionCategoryAccountBodyDto, authorization, options) {
|
|
813
742
|
if (options === void 0) { options = {}; }
|
|
814
743
|
return __awaiter(_this, void 0, void 0, function () {
|
|
815
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
switch (_b.label) {
|
|
744
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
745
|
+
return __generator(this, function (_a) {
|
|
746
|
+
switch (_a.label) {
|
|
819
747
|
case 0:
|
|
820
748
|
// verify required parameter 'productCode' is not null or undefined
|
|
821
749
|
(0, common_1.assertParamExists)('putProductVersionCategoryAccount', 'productCode', productCode);
|
|
@@ -839,19 +767,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
839
767
|
localVarQueryParameter = {};
|
|
840
768
|
// authentication bearer required
|
|
841
769
|
// http bearer authentication required
|
|
842
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
843
|
-
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
844
|
-
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
845
|
-
];
|
|
770
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
846
771
|
case 1:
|
|
847
772
|
// authentication bearer required
|
|
848
773
|
// http bearer authentication required
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
853
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
854
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
774
|
+
_a.sent();
|
|
775
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
776
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
855
777
|
}
|
|
856
778
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
857
779
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1352,7 +1274,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1352
1274
|
*/
|
|
1353
1275
|
ProductAccountMappingsApi.prototype.deletePremiumItemAccount = function (requestParameters, options) {
|
|
1354
1276
|
var _this = this;
|
|
1355
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deletePremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.authorization,
|
|
1277
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deletePremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1356
1278
|
};
|
|
1357
1279
|
/**
|
|
1358
1280
|
* Permanently deletes the Product Category Account. Supply the unique code that was returned when you created the Product Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -1364,7 +1286,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1364
1286
|
*/
|
|
1365
1287
|
ProductAccountMappingsApi.prototype.deleteProductCategoryAccount = function (requestParameters, options) {
|
|
1366
1288
|
var _this = this;
|
|
1367
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization,
|
|
1289
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1368
1290
|
};
|
|
1369
1291
|
/**
|
|
1370
1292
|
* Permanently deletes the Product Risk Carrier. Supply the unique code that was returned when you created the Product Risk Carrier and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -1376,7 +1298,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1376
1298
|
*/
|
|
1377
1299
|
ProductAccountMappingsApi.prototype.deleteProductRiskCarrier = function (requestParameters, options) {
|
|
1378
1300
|
var _this = this;
|
|
1379
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization,
|
|
1301
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1380
1302
|
};
|
|
1381
1303
|
/**
|
|
1382
1304
|
* Permanently deletes the Product Version Category Account. Supply the unique code that was returned when you created the Product Version Category Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
@@ -1388,7 +1310,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1388
1310
|
*/
|
|
1389
1311
|
ProductAccountMappingsApi.prototype.deleteProductVersionCategoryAccount = function (requestParameters, options) {
|
|
1390
1312
|
var _this = this;
|
|
1391
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.authorization,
|
|
1313
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1392
1314
|
};
|
|
1393
1315
|
/**
|
|
1394
1316
|
* Retrieves the details of the Product Account Mapping that was previously created. Supply the unique Product Account Mapping code that was returned when you created it and Emil Api will return the corresponding Product Account Mapping information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1400,7 +1322,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1400
1322
|
*/
|
|
1401
1323
|
ProductAccountMappingsApi.prototype.getProductAccountMapping = function (requestParameters, options) {
|
|
1402
1324
|
var _this = this;
|
|
1403
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductAccountMapping(requestParameters.productCode, requestParameters.authorization,
|
|
1325
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductAccountMapping(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1404
1326
|
};
|
|
1405
1327
|
/**
|
|
1406
1328
|
* Retrieves the details of the Product Version Account Mapping that was previously created. Supply the unique Product Version Account Mapping code that was returned when you created it and Emil Api will return the corresponding Product Version Account Mapping information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1412,7 +1334,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1412
1334
|
*/
|
|
1413
1335
|
ProductAccountMappingsApi.prototype.getProductVersionAccountMapping = function (requestParameters, options) {
|
|
1414
1336
|
var _this = this;
|
|
1415
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductVersionAccountMapping(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.authorization,
|
|
1337
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).getProductVersionAccountMapping(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1416
1338
|
};
|
|
1417
1339
|
/**
|
|
1418
1340
|
* Paginated list of the actual stored override rows, across every level (product/version/premium-item). Filterable by productCode/productVersionCode/premiumFormulaCode/category. For browsing the product catalog with mapping badges, use GET /products instead. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1425,7 +1347,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1425
1347
|
ProductAccountMappingsApi.prototype.listProductAccountMappings = function (requestParameters, options) {
|
|
1426
1348
|
var _this = this;
|
|
1427
1349
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1428
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).listProductAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1350
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).listProductAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1429
1351
|
};
|
|
1430
1352
|
/**
|
|
1431
1353
|
* Paginated product catalog (proxied from insuranceservice, every version regardless of status), each product carrying its versions and a hasCustomMapping badge at both levels. Cheap -- no resolution, badges only. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
@@ -1438,7 +1360,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1438
1360
|
ProductAccountMappingsApi.prototype.listProductsWithAccountMappings = function (requestParameters, options) {
|
|
1439
1361
|
var _this = this;
|
|
1440
1362
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1441
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).listProductsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1363
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).listProductsWithAccountMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1442
1364
|
};
|
|
1443
1365
|
/**
|
|
1444
1366
|
* Updates the specified Premium Item Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1450,7 +1372,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1450
1372
|
*/
|
|
1451
1373
|
ProductAccountMappingsApi.prototype.putPremiumItemAccount = function (requestParameters, options) {
|
|
1452
1374
|
var _this = this;
|
|
1453
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putPremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.putPremiumItemAccountBodyDto, requestParameters.authorization,
|
|
1375
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putPremiumItemAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.premiumFormulaCode, requestParameters.category, requestParameters.putPremiumItemAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1454
1376
|
};
|
|
1455
1377
|
/**
|
|
1456
1378
|
* Updates the specified Product Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1462,7 +1384,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1462
1384
|
*/
|
|
1463
1385
|
ProductAccountMappingsApi.prototype.putProductCategoryAccount = function (requestParameters, options) {
|
|
1464
1386
|
var _this = this;
|
|
1465
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.putProductCategoryAccountBodyDto, requestParameters.authorization,
|
|
1387
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.putProductCategoryAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1466
1388
|
};
|
|
1467
1389
|
/**
|
|
1468
1390
|
* Updates the specified Product Risk Carrier by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1474,7 +1396,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1474
1396
|
*/
|
|
1475
1397
|
ProductAccountMappingsApi.prototype.putProductRiskCarrier = function (requestParameters, options) {
|
|
1476
1398
|
var _this = this;
|
|
1477
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization,
|
|
1399
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1478
1400
|
};
|
|
1479
1401
|
/**
|
|
1480
1402
|
* Updates the specified Product Version Category Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
@@ -1486,7 +1408,7 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1486
1408
|
*/
|
|
1487
1409
|
ProductAccountMappingsApi.prototype.putProductVersionCategoryAccount = function (requestParameters, options) {
|
|
1488
1410
|
var _this = this;
|
|
1489
|
-
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.putProductVersionCategoryAccountBodyDto, requestParameters.authorization,
|
|
1411
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductVersionCategoryAccount(requestParameters.productCode, requestParameters.productVersionCode, requestParameters.category, requestParameters.putProductVersionCategoryAccountBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1490
1412
|
};
|
|
1491
1413
|
return ProductAccountMappingsApi;
|
|
1492
1414
|
}(base_1.BaseAPI));
|