@emilgroup/accounting-sdk-node 1.32.1-beta.76 → 1.32.1-beta.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +32 -16
- package/api/booking-entries-api.ts +24 -14
- package/api/commission-account-mappings-api.ts +32 -16
- package/api/financial-accounts-api.ts +20 -10
- package/api/financial-transactions-api.ts +8 -4
- package/api/number-ranges-api.ts +16 -8
- package/api/personal-accounts-api.ts +16 -8
- package/api/product-account-mappings-api.ts +265 -20
- package/common.ts +3 -2
- package/dist/api/accounting-configs-api.d.ts +8 -8
- package/dist/api/accounting-configs-api.js +56 -32
- package/dist/api/booking-entries-api.d.ts +9 -9
- package/dist/api/booking-entries-api.js +33 -22
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +47 -29
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +29 -18
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +8 -6
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +22 -14
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +22 -14
- package/dist/api/product-account-mappings-api.d.ts +131 -10
- package/dist/api/product-account-mappings-api.js +261 -38
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/models/account-mapping-class.d.ts +2 -0
- package/dist/models/account-mapping-class.js +3 -1
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
- package/dist/models/booking-entry-class.d.ts +16 -2
- package/dist/models/booking-entry-class.js +3 -1
- package/dist/models/create-booking-entry-request-dto.d.ts +3 -2
- package/dist/models/create-booking-entry-request-dto.js +3 -2
- package/dist/models/create-financial-account-request-dto.d.ts +2 -0
- package/dist/models/create-financial-account-request-dto.js +3 -1
- package/dist/models/financial-transaction-class.d.ts +6 -0
- package/dist/models/financial-transaction-data-dto.d.ts +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/post-financial-event-request-dto.d.ts +3 -2
- package/dist/models/post-financial-event-request-dto.js +1 -0
- package/dist/models/product-account-mapping-detail-class.d.ts +6 -0
- package/dist/models/product-risk-carrier-class.d.ts +42 -0
- package/dist/models/product-risk-carrier-class.js +15 -0
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
- package/models/account-mapping-class.ts +3 -1
- package/models/accounting-config-data-dto-default-account-mappings.ts +3 -1
- package/models/booking-entry-class.ts +17 -3
- package/models/create-booking-entry-request-dto.ts +4 -3
- package/models/create-financial-account-request-dto.ts +3 -1
- package/models/financial-transaction-class.ts +6 -0
- package/models/financial-transaction-data-dto.ts +6 -0
- package/models/index.ts +2 -0
- package/models/post-financial-event-request-dto.ts +3 -2
- package/models/product-account-mapping-detail-class.ts +6 -0
- package/models/product-risk-carrier-class.ts +48 -0
- package/models/put-product-risk-carrier-body-dto.ts +30 -0
- package/package.json +2 -2
|
@@ -110,7 +110,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
110
110
|
deletePremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, authorization, options) {
|
|
111
111
|
if (options === void 0) { options = {}; }
|
|
112
112
|
return __awaiter(_this, void 0, void 0, function () {
|
|
113
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
113
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
114
114
|
return __generator(this, function (_a) {
|
|
115
115
|
switch (_a.label) {
|
|
116
116
|
case 0:
|
|
@@ -137,13 +137,16 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
137
137
|
localVarQueryParameter = {};
|
|
138
138
|
// authentication bearer required
|
|
139
139
|
// http bearer authentication required
|
|
140
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
140
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
141
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
142
|
+
];
|
|
141
143
|
case 1:
|
|
142
144
|
// authentication bearer required
|
|
143
145
|
// http bearer authentication required
|
|
144
146
|
_a.sent();
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
148
|
+
if (authorizationValue) {
|
|
149
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
147
150
|
}
|
|
148
151
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
149
152
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -168,7 +171,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
168
171
|
deleteProductCategoryAccount: function (productCode, category, authorization, options) {
|
|
169
172
|
if (options === void 0) { options = {}; }
|
|
170
173
|
return __awaiter(_this, void 0, void 0, function () {
|
|
171
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
174
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
172
175
|
return __generator(this, function (_a) {
|
|
173
176
|
switch (_a.label) {
|
|
174
177
|
case 0:
|
|
@@ -189,13 +192,67 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
189
192
|
localVarQueryParameter = {};
|
|
190
193
|
// authentication bearer required
|
|
191
194
|
// http bearer authentication required
|
|
192
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
195
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
196
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
197
|
+
];
|
|
193
198
|
case 1:
|
|
194
199
|
// authentication bearer required
|
|
195
200
|
// http bearer authentication required
|
|
196
201
|
_a.sent();
|
|
197
|
-
|
|
198
|
-
|
|
202
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
203
|
+
if (authorizationValue) {
|
|
204
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
205
|
+
}
|
|
206
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
207
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
208
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
209
|
+
return [2 /*return*/, {
|
|
210
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
211
|
+
options: localVarRequestOptions,
|
|
212
|
+
}];
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
});
|
|
216
|
+
},
|
|
217
|
+
/**
|
|
218
|
+
* 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\"
|
|
219
|
+
* @summary Delete the Product Risk Carrier
|
|
220
|
+
* @param {string} productCode
|
|
221
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
*/
|
|
225
|
+
deleteProductRiskCarrier: function (productCode, authorization, options) {
|
|
226
|
+
if (options === void 0) { options = {}; }
|
|
227
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
228
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
229
|
+
return __generator(this, function (_a) {
|
|
230
|
+
switch (_a.label) {
|
|
231
|
+
case 0:
|
|
232
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
233
|
+
(0, common_1.assertParamExists)('deleteProductRiskCarrier', 'productCode', productCode);
|
|
234
|
+
localVarPath = "/accountingservice/v1/product-account-mappings/products/{productCode}/risk-carrier"
|
|
235
|
+
.replace("{".concat("productCode", "}"), encodeURIComponent(String(productCode)));
|
|
236
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
237
|
+
if (configuration) {
|
|
238
|
+
baseOptions = configuration.baseOptions;
|
|
239
|
+
baseAccessToken = configuration.accessToken;
|
|
240
|
+
}
|
|
241
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
242
|
+
localVarHeaderParameter = {};
|
|
243
|
+
localVarQueryParameter = {};
|
|
244
|
+
// authentication bearer required
|
|
245
|
+
// http bearer authentication required
|
|
246
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
247
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
248
|
+
];
|
|
249
|
+
case 1:
|
|
250
|
+
// authentication bearer required
|
|
251
|
+
// http bearer authentication required
|
|
252
|
+
_a.sent();
|
|
253
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
254
|
+
if (authorizationValue) {
|
|
255
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
199
256
|
}
|
|
200
257
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
201
258
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -221,7 +278,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
221
278
|
deleteProductVersionCategoryAccount: function (productCode, productVersionCode, category, authorization, options) {
|
|
222
279
|
if (options === void 0) { options = {}; }
|
|
223
280
|
return __awaiter(_this, void 0, void 0, function () {
|
|
224
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
281
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
225
282
|
return __generator(this, function (_a) {
|
|
226
283
|
switch (_a.label) {
|
|
227
284
|
case 0:
|
|
@@ -245,13 +302,16 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
245
302
|
localVarQueryParameter = {};
|
|
246
303
|
// authentication bearer required
|
|
247
304
|
// http bearer authentication required
|
|
248
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
305
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
306
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
307
|
+
];
|
|
249
308
|
case 1:
|
|
250
309
|
// authentication bearer required
|
|
251
310
|
// http bearer authentication required
|
|
252
311
|
_a.sent();
|
|
253
|
-
|
|
254
|
-
|
|
312
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
313
|
+
if (authorizationValue) {
|
|
314
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
255
315
|
}
|
|
256
316
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
257
317
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -275,7 +335,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
275
335
|
getProductAccountMapping: function (productCode, authorization, options) {
|
|
276
336
|
if (options === void 0) { options = {}; }
|
|
277
337
|
return __awaiter(_this, void 0, void 0, function () {
|
|
278
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
279
339
|
return __generator(this, function (_a) {
|
|
280
340
|
switch (_a.label) {
|
|
281
341
|
case 0:
|
|
@@ -293,13 +353,16 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
293
353
|
localVarQueryParameter = {};
|
|
294
354
|
// authentication bearer required
|
|
295
355
|
// http bearer authentication required
|
|
296
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
356
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
357
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
358
|
+
];
|
|
297
359
|
case 1:
|
|
298
360
|
// authentication bearer required
|
|
299
361
|
// http bearer authentication required
|
|
300
362
|
_a.sent();
|
|
301
|
-
|
|
302
|
-
|
|
363
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
364
|
+
if (authorizationValue) {
|
|
365
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
303
366
|
}
|
|
304
367
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
305
368
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -324,7 +387,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
324
387
|
getProductVersionAccountMapping: function (productCode, productVersionCode, authorization, options) {
|
|
325
388
|
if (options === void 0) { options = {}; }
|
|
326
389
|
return __awaiter(_this, void 0, void 0, function () {
|
|
327
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
390
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
328
391
|
return __generator(this, function (_a) {
|
|
329
392
|
switch (_a.label) {
|
|
330
393
|
case 0:
|
|
@@ -345,13 +408,16 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
345
408
|
localVarQueryParameter = {};
|
|
346
409
|
// authentication bearer required
|
|
347
410
|
// http bearer authentication required
|
|
348
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
411
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
412
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
413
|
+
];
|
|
349
414
|
case 1:
|
|
350
415
|
// authentication bearer required
|
|
351
416
|
// http bearer authentication required
|
|
352
417
|
_a.sent();
|
|
353
|
-
|
|
354
|
-
|
|
418
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
419
|
+
if (authorizationValue) {
|
|
420
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
355
421
|
}
|
|
356
422
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
357
423
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -381,7 +447,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
381
447
|
listProductAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
382
448
|
if (options === void 0) { options = {}; }
|
|
383
449
|
return __awaiter(_this, void 0, void 0, function () {
|
|
384
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
450
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
385
451
|
return __generator(this, function (_a) {
|
|
386
452
|
switch (_a.label) {
|
|
387
453
|
case 0:
|
|
@@ -422,8 +488,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
422
488
|
if (filters !== undefined) {
|
|
423
489
|
localVarQueryParameter['filters'] = filters;
|
|
424
490
|
}
|
|
425
|
-
|
|
426
|
-
|
|
491
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
492
|
+
if (authorizationValue) {
|
|
493
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
427
494
|
}
|
|
428
495
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
429
496
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -453,7 +520,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
453
520
|
listProductsWithAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
454
521
|
if (options === void 0) { options = {}; }
|
|
455
522
|
return __awaiter(_this, void 0, void 0, function () {
|
|
456
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
523
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
457
524
|
return __generator(this, function (_a) {
|
|
458
525
|
switch (_a.label) {
|
|
459
526
|
case 0:
|
|
@@ -494,8 +561,9 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
494
561
|
if (filters !== undefined) {
|
|
495
562
|
localVarQueryParameter['filters'] = filters;
|
|
496
563
|
}
|
|
497
|
-
|
|
498
|
-
|
|
564
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
565
|
+
if (authorizationValue) {
|
|
566
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
499
567
|
}
|
|
500
568
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
501
569
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -523,7 +591,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
523
591
|
putPremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options) {
|
|
524
592
|
if (options === void 0) { options = {}; }
|
|
525
593
|
return __awaiter(_this, void 0, void 0, function () {
|
|
526
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
594
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
527
595
|
return __generator(this, function (_a) {
|
|
528
596
|
switch (_a.label) {
|
|
529
597
|
case 0:
|
|
@@ -552,13 +620,16 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
552
620
|
localVarQueryParameter = {};
|
|
553
621
|
// authentication bearer required
|
|
554
622
|
// http bearer authentication required
|
|
555
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
623
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
624
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
625
|
+
];
|
|
556
626
|
case 1:
|
|
557
627
|
// authentication bearer required
|
|
558
628
|
// http bearer authentication required
|
|
559
629
|
_a.sent();
|
|
560
|
-
|
|
561
|
-
|
|
630
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
631
|
+
if (authorizationValue) {
|
|
632
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
562
633
|
}
|
|
563
634
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
564
635
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -586,7 +657,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
586
657
|
putProductCategoryAccount: function (productCode, category, putProductCategoryAccountBodyDto, authorization, options) {
|
|
587
658
|
if (options === void 0) { options = {}; }
|
|
588
659
|
return __awaiter(_this, void 0, void 0, function () {
|
|
589
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
660
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
590
661
|
return __generator(this, function (_a) {
|
|
591
662
|
switch (_a.label) {
|
|
592
663
|
case 0:
|
|
@@ -609,13 +680,16 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
609
680
|
localVarQueryParameter = {};
|
|
610
681
|
// authentication bearer required
|
|
611
682
|
// http bearer authentication required
|
|
612
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
683
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
684
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
685
|
+
];
|
|
613
686
|
case 1:
|
|
614
687
|
// authentication bearer required
|
|
615
688
|
// http bearer authentication required
|
|
616
689
|
_a.sent();
|
|
617
|
-
|
|
618
|
-
|
|
690
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
691
|
+
if (authorizationValue) {
|
|
692
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
619
693
|
}
|
|
620
694
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
621
695
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -630,6 +704,62 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
630
704
|
});
|
|
631
705
|
});
|
|
632
706
|
},
|
|
707
|
+
/**
|
|
708
|
+
* 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\"
|
|
709
|
+
* @summary Update the Product Risk Carrier
|
|
710
|
+
* @param {string} productCode
|
|
711
|
+
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
712
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
*/
|
|
716
|
+
putProductRiskCarrier: function (productCode, putProductRiskCarrierBodyDto, authorization, options) {
|
|
717
|
+
if (options === void 0) { options = {}; }
|
|
718
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
719
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
720
|
+
return __generator(this, function (_a) {
|
|
721
|
+
switch (_a.label) {
|
|
722
|
+
case 0:
|
|
723
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
724
|
+
(0, common_1.assertParamExists)('putProductRiskCarrier', 'productCode', productCode);
|
|
725
|
+
// verify required parameter 'putProductRiskCarrierBodyDto' is not null or undefined
|
|
726
|
+
(0, common_1.assertParamExists)('putProductRiskCarrier', 'putProductRiskCarrierBodyDto', putProductRiskCarrierBodyDto);
|
|
727
|
+
localVarPath = "/accountingservice/v1/product-account-mappings/products/{productCode}/risk-carrier"
|
|
728
|
+
.replace("{".concat("productCode", "}"), encodeURIComponent(String(productCode)));
|
|
729
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
730
|
+
if (configuration) {
|
|
731
|
+
baseOptions = configuration.baseOptions;
|
|
732
|
+
baseAccessToken = configuration.accessToken;
|
|
733
|
+
}
|
|
734
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
735
|
+
localVarHeaderParameter = {};
|
|
736
|
+
localVarQueryParameter = {};
|
|
737
|
+
// authentication bearer required
|
|
738
|
+
// http bearer authentication required
|
|
739
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
740
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
741
|
+
];
|
|
742
|
+
case 1:
|
|
743
|
+
// authentication bearer required
|
|
744
|
+
// http bearer authentication required
|
|
745
|
+
_a.sent();
|
|
746
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
747
|
+
if (authorizationValue) {
|
|
748
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
749
|
+
}
|
|
750
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
751
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
752
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
753
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
754
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(putProductRiskCarrierBodyDto, localVarRequestOptions, configuration);
|
|
755
|
+
return [2 /*return*/, {
|
|
756
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
757
|
+
options: localVarRequestOptions,
|
|
758
|
+
}];
|
|
759
|
+
}
|
|
760
|
+
});
|
|
761
|
+
});
|
|
762
|
+
},
|
|
633
763
|
/**
|
|
634
764
|
* 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\"
|
|
635
765
|
* @summary Update the Product Version Category Account
|
|
@@ -644,7 +774,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
644
774
|
putProductVersionCategoryAccount: function (productCode, productVersionCode, category, putProductVersionCategoryAccountBodyDto, authorization, options) {
|
|
645
775
|
if (options === void 0) { options = {}; }
|
|
646
776
|
return __awaiter(_this, void 0, void 0, function () {
|
|
647
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
777
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
648
778
|
return __generator(this, function (_a) {
|
|
649
779
|
switch (_a.label) {
|
|
650
780
|
case 0:
|
|
@@ -670,13 +800,16 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
670
800
|
localVarQueryParameter = {};
|
|
671
801
|
// authentication bearer required
|
|
672
802
|
// http bearer authentication required
|
|
673
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
803
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
804
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
805
|
+
];
|
|
674
806
|
case 1:
|
|
675
807
|
// authentication bearer required
|
|
676
808
|
// http bearer authentication required
|
|
677
809
|
_a.sent();
|
|
678
|
-
|
|
679
|
-
|
|
810
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
811
|
+
if (authorizationValue) {
|
|
812
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
680
813
|
}
|
|
681
814
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
682
815
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -747,6 +880,27 @@ var ProductAccountMappingsApiFp = function (configuration) {
|
|
|
747
880
|
});
|
|
748
881
|
});
|
|
749
882
|
},
|
|
883
|
+
/**
|
|
884
|
+
* 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\"
|
|
885
|
+
* @summary Delete the Product Risk Carrier
|
|
886
|
+
* @param {string} productCode
|
|
887
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
deleteProductRiskCarrier: function (productCode, authorization, options) {
|
|
892
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
893
|
+
var localVarAxiosArgs;
|
|
894
|
+
return __generator(this, function (_a) {
|
|
895
|
+
switch (_a.label) {
|
|
896
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteProductRiskCarrier(productCode, authorization, options)];
|
|
897
|
+
case 1:
|
|
898
|
+
localVarAxiosArgs = _a.sent();
|
|
899
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
900
|
+
}
|
|
901
|
+
});
|
|
902
|
+
});
|
|
903
|
+
},
|
|
750
904
|
/**
|
|
751
905
|
* 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\"
|
|
752
906
|
* @summary Delete the Product Version Category Account
|
|
@@ -915,6 +1069,28 @@ var ProductAccountMappingsApiFp = function (configuration) {
|
|
|
915
1069
|
});
|
|
916
1070
|
});
|
|
917
1071
|
},
|
|
1072
|
+
/**
|
|
1073
|
+
* 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\"
|
|
1074
|
+
* @summary Update the Product Risk Carrier
|
|
1075
|
+
* @param {string} productCode
|
|
1076
|
+
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
1077
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1078
|
+
* @param {*} [options] Override http request option.
|
|
1079
|
+
* @throws {RequiredError}
|
|
1080
|
+
*/
|
|
1081
|
+
putProductRiskCarrier: function (productCode, putProductRiskCarrierBodyDto, authorization, options) {
|
|
1082
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1083
|
+
var localVarAxiosArgs;
|
|
1084
|
+
return __generator(this, function (_a) {
|
|
1085
|
+
switch (_a.label) {
|
|
1086
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putProductRiskCarrier(productCode, putProductRiskCarrierBodyDto, authorization, options)];
|
|
1087
|
+
case 1:
|
|
1088
|
+
localVarAxiosArgs = _a.sent();
|
|
1089
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1090
|
+
}
|
|
1091
|
+
});
|
|
1092
|
+
});
|
|
1093
|
+
},
|
|
918
1094
|
/**
|
|
919
1095
|
* 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\"
|
|
920
1096
|
* @summary Update the Product Version Category Account
|
|
@@ -975,6 +1151,17 @@ var ProductAccountMappingsApiFactory = function (configuration, basePath, axios)
|
|
|
975
1151
|
deleteProductCategoryAccount: function (productCode, category, authorization, options) {
|
|
976
1152
|
return localVarFp.deleteProductCategoryAccount(productCode, category, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
977
1153
|
},
|
|
1154
|
+
/**
|
|
1155
|
+
* 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\"
|
|
1156
|
+
* @summary Delete the Product Risk Carrier
|
|
1157
|
+
* @param {string} productCode
|
|
1158
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1159
|
+
* @param {*} [options] Override http request option.
|
|
1160
|
+
* @throws {RequiredError}
|
|
1161
|
+
*/
|
|
1162
|
+
deleteProductRiskCarrier: function (productCode, authorization, options) {
|
|
1163
|
+
return localVarFp.deleteProductRiskCarrier(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1164
|
+
},
|
|
978
1165
|
/**
|
|
979
1166
|
* 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\"
|
|
980
1167
|
* @summary Delete the Product Version Category Account
|
|
@@ -1073,6 +1260,18 @@ var ProductAccountMappingsApiFactory = function (configuration, basePath, axios)
|
|
|
1073
1260
|
putProductCategoryAccount: function (productCode, category, putProductCategoryAccountBodyDto, authorization, options) {
|
|
1074
1261
|
return localVarFp.putProductCategoryAccount(productCode, category, putProductCategoryAccountBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1075
1262
|
},
|
|
1263
|
+
/**
|
|
1264
|
+
* 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\"
|
|
1265
|
+
* @summary Update the Product Risk Carrier
|
|
1266
|
+
* @param {string} productCode
|
|
1267
|
+
* @param {PutProductRiskCarrierBodyDto} putProductRiskCarrierBodyDto
|
|
1268
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1269
|
+
* @param {*} [options] Override http request option.
|
|
1270
|
+
* @throws {RequiredError}
|
|
1271
|
+
*/
|
|
1272
|
+
putProductRiskCarrier: function (productCode, putProductRiskCarrierBodyDto, authorization, options) {
|
|
1273
|
+
return localVarFp.putProductRiskCarrier(productCode, putProductRiskCarrierBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1274
|
+
},
|
|
1076
1275
|
/**
|
|
1077
1276
|
* 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\"
|
|
1078
1277
|
* @summary Update the Product Version Category Account
|
|
@@ -1125,6 +1324,18 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1125
1324
|
var _this = this;
|
|
1126
1325
|
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1127
1326
|
};
|
|
1327
|
+
/**
|
|
1328
|
+
* 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\"
|
|
1329
|
+
* @summary Delete the Product Risk Carrier
|
|
1330
|
+
* @param {ProductAccountMappingsApiDeleteProductRiskCarrierRequest} requestParameters Request parameters.
|
|
1331
|
+
* @param {*} [options] Override http request option.
|
|
1332
|
+
* @throws {RequiredError}
|
|
1333
|
+
* @memberof ProductAccountMappingsApi
|
|
1334
|
+
*/
|
|
1335
|
+
ProductAccountMappingsApi.prototype.deleteProductRiskCarrier = function (requestParameters, options) {
|
|
1336
|
+
var _this = this;
|
|
1337
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductRiskCarrier(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1338
|
+
};
|
|
1128
1339
|
/**
|
|
1129
1340
|
* 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\"
|
|
1130
1341
|
* @summary Delete the Product Version Category Account
|
|
@@ -1211,6 +1422,18 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1211
1422
|
var _this = this;
|
|
1212
1423
|
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); });
|
|
1213
1424
|
};
|
|
1425
|
+
/**
|
|
1426
|
+
* 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\"
|
|
1427
|
+
* @summary Update the Product Risk Carrier
|
|
1428
|
+
* @param {ProductAccountMappingsApiPutProductRiskCarrierRequest} requestParameters Request parameters.
|
|
1429
|
+
* @param {*} [options] Override http request option.
|
|
1430
|
+
* @throws {RequiredError}
|
|
1431
|
+
* @memberof ProductAccountMappingsApi
|
|
1432
|
+
*/
|
|
1433
|
+
ProductAccountMappingsApi.prototype.putProductRiskCarrier = function (requestParameters, options) {
|
|
1434
|
+
var _this = this;
|
|
1435
|
+
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).putProductRiskCarrier(requestParameters.productCode, requestParameters.putProductRiskCarrierBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1436
|
+
};
|
|
1214
1437
|
/**
|
|
1215
1438
|
* 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\"
|
|
1216
1439
|
* @summary Update the Product Version Category Account
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL AccountingService
|
|
69
69
|
* The EMIL AccountingService API description
|
package/dist/common.js
CHANGED
|
@@ -234,6 +234,7 @@ exports.toPathString = toPathString;
|
|
|
234
234
|
* @export
|
|
235
235
|
*/
|
|
236
236
|
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
237
|
+
// Typed by hand: since axios 1.20, request() returns an internal axios type that SDK declarations cannot name.
|
|
237
238
|
return function (axios, basePath) {
|
|
238
239
|
if (axios === void 0) { axios = globalAxios; }
|
|
239
240
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
@@ -67,5 +67,7 @@ export declare const AccountMappingClassFunctionalCategoryEnum: {
|
|
|
67
67
|
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
68
68
|
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
69
69
|
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
70
|
+
readonly ClaimsPayableAcc: "claims_payable_acc";
|
|
71
|
+
readonly CarrierReceivableAcc: "carrier_receivable_acc";
|
|
70
72
|
};
|
|
71
73
|
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
@@ -34,5 +34,7 @@ exports.AccountMappingClassFunctionalCategoryEnum = {
|
|
|
34
34
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
35
35
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
36
36
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
37
|
-
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
37
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
38
|
+
ClaimsPayableAcc: 'claims_payable_acc',
|
|
39
|
+
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
38
40
|
};
|
|
@@ -73,5 +73,7 @@ export declare const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCate
|
|
|
73
73
|
readonly BrokerCtrlAcc: "broker_ctrl_acc";
|
|
74
74
|
readonly CarrierCtrlAcc: "carrier_ctrl_acc";
|
|
75
75
|
readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
|
|
76
|
+
readonly ClaimsPayableAcc: "claims_payable_acc";
|
|
77
|
+
readonly CarrierReceivableAcc: "carrier_receivable_acc";
|
|
76
78
|
};
|
|
77
79
|
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
@@ -34,5 +34,7 @@ exports.AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
|
|
|
34
34
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
35
35
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
36
36
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
37
|
-
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
37
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
38
|
+
ClaimsPayableAcc: 'claims_payable_acc',
|
|
39
|
+
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
38
40
|
};
|
|
@@ -77,17 +77,29 @@ export interface BookingEntryClass {
|
|
|
77
77
|
*/
|
|
78
78
|
'externalNumber'?: string;
|
|
79
79
|
/**
|
|
80
|
-
* The code of the source entity this entry was posted for, such as an invoice or payment code.
|
|
80
|
+
* The code of the source entity this entry was posted for, such as an invoice or payment code. Absent on an entry posted by hand (sourceEntityType manual) and on a legacy entry.
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @memberof BookingEntryClass
|
|
83
83
|
*/
|
|
84
84
|
'sourceEntityCode'?: string;
|
|
85
85
|
/**
|
|
86
|
-
* The kind of source entity this entry was posted for
|
|
86
|
+
* The kind of source entity this entry was posted for: manual for an entry posted by hand, which carries no sourceEntityCode. Absent only on a legacy entry.
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @memberof BookingEntryClass
|
|
89
89
|
*/
|
|
90
90
|
'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
|
|
91
|
+
/**
|
|
92
|
+
* The code of the entry this entry reverses. Absent on an entry that is not a reversal.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof BookingEntryClass
|
|
95
|
+
*/
|
|
96
|
+
'reversalOfCode'?: string;
|
|
97
|
+
/**
|
|
98
|
+
* True once the entry has been reversed in full. Its reversal names it in reversalOfCode.
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof BookingEntryClass
|
|
101
|
+
*/
|
|
102
|
+
'isReversed'?: boolean;
|
|
91
103
|
/**
|
|
92
104
|
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
93
105
|
* @type {Array<FinancialTransactionClass>}
|
|
@@ -138,6 +150,8 @@ export declare const BookingEntryClassSourceEntityTypeEnum: {
|
|
|
138
150
|
readonly Payment: "payment";
|
|
139
151
|
readonly Credit: "credit";
|
|
140
152
|
readonly CreditAllocation: "credit_allocation";
|
|
153
|
+
readonly ClaimRegulation: "claim_regulation";
|
|
141
154
|
readonly Commission: "commission";
|
|
155
|
+
readonly Manual: "manual";
|
|
142
156
|
};
|
|
143
157
|
export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
|