@emilgroup/accounting-sdk-node 1.32.1-beta.75 → 1.32.1-beta.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -2
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +16 -32
- package/api/booking-entries-api.ts +14 -24
- package/api/commission-account-mappings-api.ts +16 -32
- package/api/financial-accounts-api.ts +10 -20
- package/api/financial-transactions-api.ts +4 -8
- package/api/number-ranges-api.ts +8 -16
- package/api/personal-accounts-api.ts +8 -16
- package/api/product-account-mappings-api.ts +20 -265
- package/common.ts +2 -3
- package/dist/api/accounting-configs-api.d.ts +8 -8
- package/dist/api/accounting-configs-api.js +32 -56
- package/dist/api/booking-entries-api.d.ts +9 -9
- package/dist/api/booking-entries-api.js +22 -33
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +29 -47
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +18 -29
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +6 -8
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +14 -22
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +14 -22
- package/dist/api/product-account-mappings-api.d.ts +10 -131
- package/dist/api/product-account-mappings-api.js +38 -261
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/models/account-mapping-class.d.ts +0 -2
- package/dist/models/account-mapping-class.js +1 -3
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +0 -2
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +1 -3
- package/dist/models/booking-entry-class.d.ts +2 -16
- package/dist/models/booking-entry-class.js +1 -3
- package/dist/models/create-booking-entry-request-dto.d.ts +2 -3
- package/dist/models/create-booking-entry-request-dto.js +2 -3
- package/dist/models/create-financial-account-request-dto.d.ts +0 -2
- package/dist/models/create-financial-account-request-dto.js +1 -3
- package/dist/models/financial-transaction-class.d.ts +0 -6
- package/dist/models/financial-transaction-data-dto.d.ts +0 -6
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/dist/models/post-financial-event-request-dto.d.ts +2 -3
- package/dist/models/post-financial-event-request-dto.js +0 -1
- package/dist/models/product-account-mapping-detail-class.d.ts +0 -6
- package/models/account-mapping-class.ts +1 -3
- package/models/accounting-config-data-dto-default-account-mappings.ts +1 -3
- package/models/booking-entry-class.ts +3 -17
- package/models/create-booking-entry-request-dto.ts +3 -4
- package/models/create-financial-account-request-dto.ts +1 -3
- package/models/financial-transaction-class.ts +0 -6
- package/models/financial-transaction-data-dto.ts +0 -6
- package/models/index.ts +0 -2
- package/models/post-financial-event-request-dto.ts +2 -3
- package/models/product-account-mapping-detail-class.ts +0 -6
- package/package.json +2 -2
- package/dist/models/product-risk-carrier-class.d.ts +0 -42
- package/dist/models/product-risk-carrier-class.js +0 -15
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +0 -24
- package/dist/models/put-product-risk-carrier-body-dto.js +0 -15
- package/models/product-risk-carrier-class.ts +0 -48
- package/models/put-product-risk-carrier-body-dto.ts +0 -30
|
@@ -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,
|
|
113
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
114
114
|
return __generator(this, function (_a) {
|
|
115
115
|
switch (_a.label) {
|
|
116
116
|
case 0:
|
|
@@ -137,16 +137,13 @@ 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)
|
|
141
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
142
|
-
];
|
|
140
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
143
141
|
case 1:
|
|
144
142
|
// authentication bearer required
|
|
145
143
|
// http bearer authentication required
|
|
146
144
|
_a.sent();
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
145
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
146
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
150
147
|
}
|
|
151
148
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
152
149
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -171,7 +168,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
171
168
|
deleteProductCategoryAccount: function (productCode, category, authorization, options) {
|
|
172
169
|
if (options === void 0) { options = {}; }
|
|
173
170
|
return __awaiter(_this, void 0, void 0, function () {
|
|
174
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
171
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
175
172
|
return __generator(this, function (_a) {
|
|
176
173
|
switch (_a.label) {
|
|
177
174
|
case 0:
|
|
@@ -192,67 +189,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
192
189
|
localVarQueryParameter = {};
|
|
193
190
|
// authentication bearer required
|
|
194
191
|
// http bearer authentication required
|
|
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
|
-
];
|
|
198
|
-
case 1:
|
|
199
|
-
// authentication bearer required
|
|
200
|
-
// http bearer authentication required
|
|
201
|
-
_a.sent();
|
|
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
|
-
];
|
|
192
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
249
193
|
case 1:
|
|
250
194
|
// authentication bearer required
|
|
251
195
|
// http bearer authentication required
|
|
252
196
|
_a.sent();
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
197
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
198
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
256
199
|
}
|
|
257
200
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
258
201
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -278,7 +221,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
278
221
|
deleteProductVersionCategoryAccount: function (productCode, productVersionCode, category, authorization, options) {
|
|
279
222
|
if (options === void 0) { options = {}; }
|
|
280
223
|
return __awaiter(_this, void 0, void 0, function () {
|
|
281
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
224
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
225
|
return __generator(this, function (_a) {
|
|
283
226
|
switch (_a.label) {
|
|
284
227
|
case 0:
|
|
@@ -302,16 +245,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
302
245
|
localVarQueryParameter = {};
|
|
303
246
|
// authentication bearer required
|
|
304
247
|
// http bearer authentication required
|
|
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
|
-
];
|
|
248
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
308
249
|
case 1:
|
|
309
250
|
// authentication bearer required
|
|
310
251
|
// http bearer authentication required
|
|
311
252
|
_a.sent();
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
253
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
254
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
315
255
|
}
|
|
316
256
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
317
257
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -335,7 +275,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
335
275
|
getProductAccountMapping: function (productCode, authorization, options) {
|
|
336
276
|
if (options === void 0) { options = {}; }
|
|
337
277
|
return __awaiter(_this, void 0, void 0, function () {
|
|
338
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
278
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
339
279
|
return __generator(this, function (_a) {
|
|
340
280
|
switch (_a.label) {
|
|
341
281
|
case 0:
|
|
@@ -353,16 +293,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
353
293
|
localVarQueryParameter = {};
|
|
354
294
|
// authentication bearer required
|
|
355
295
|
// http bearer authentication required
|
|
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
|
-
];
|
|
296
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
359
297
|
case 1:
|
|
360
298
|
// authentication bearer required
|
|
361
299
|
// http bearer authentication required
|
|
362
300
|
_a.sent();
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
301
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
302
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
366
303
|
}
|
|
367
304
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
368
305
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -387,7 +324,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
387
324
|
getProductVersionAccountMapping: function (productCode, productVersionCode, authorization, options) {
|
|
388
325
|
if (options === void 0) { options = {}; }
|
|
389
326
|
return __awaiter(_this, void 0, void 0, function () {
|
|
390
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
327
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
391
328
|
return __generator(this, function (_a) {
|
|
392
329
|
switch (_a.label) {
|
|
393
330
|
case 0:
|
|
@@ -408,16 +345,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
408
345
|
localVarQueryParameter = {};
|
|
409
346
|
// authentication bearer required
|
|
410
347
|
// http bearer authentication required
|
|
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
|
-
];
|
|
348
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
414
349
|
case 1:
|
|
415
350
|
// authentication bearer required
|
|
416
351
|
// http bearer authentication required
|
|
417
352
|
_a.sent();
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
353
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
354
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
421
355
|
}
|
|
422
356
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
423
357
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -447,7 +381,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
447
381
|
listProductAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
448
382
|
if (options === void 0) { options = {}; }
|
|
449
383
|
return __awaiter(_this, void 0, void 0, function () {
|
|
450
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
384
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
451
385
|
return __generator(this, function (_a) {
|
|
452
386
|
switch (_a.label) {
|
|
453
387
|
case 0:
|
|
@@ -488,9 +422,8 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
488
422
|
if (filters !== undefined) {
|
|
489
423
|
localVarQueryParameter['filters'] = filters;
|
|
490
424
|
}
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
425
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
426
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
494
427
|
}
|
|
495
428
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
496
429
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -520,7 +453,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
520
453
|
listProductsWithAccountMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
521
454
|
if (options === void 0) { options = {}; }
|
|
522
455
|
return __awaiter(_this, void 0, void 0, function () {
|
|
523
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
456
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
524
457
|
return __generator(this, function (_a) {
|
|
525
458
|
switch (_a.label) {
|
|
526
459
|
case 0:
|
|
@@ -561,9 +494,8 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
561
494
|
if (filters !== undefined) {
|
|
562
495
|
localVarQueryParameter['filters'] = filters;
|
|
563
496
|
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
497
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
498
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
567
499
|
}
|
|
568
500
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
569
501
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -591,7 +523,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
591
523
|
putPremiumItemAccount: function (productCode, productVersionCode, premiumFormulaCode, category, putPremiumItemAccountBodyDto, authorization, options) {
|
|
592
524
|
if (options === void 0) { options = {}; }
|
|
593
525
|
return __awaiter(_this, void 0, void 0, function () {
|
|
594
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
526
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
595
527
|
return __generator(this, function (_a) {
|
|
596
528
|
switch (_a.label) {
|
|
597
529
|
case 0:
|
|
@@ -620,16 +552,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
620
552
|
localVarQueryParameter = {};
|
|
621
553
|
// authentication bearer required
|
|
622
554
|
// http bearer authentication required
|
|
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
|
-
];
|
|
555
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
626
556
|
case 1:
|
|
627
557
|
// authentication bearer required
|
|
628
558
|
// http bearer authentication required
|
|
629
559
|
_a.sent();
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
560
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
561
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
633
562
|
}
|
|
634
563
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
635
564
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -657,7 +586,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
657
586
|
putProductCategoryAccount: function (productCode, category, putProductCategoryAccountBodyDto, authorization, options) {
|
|
658
587
|
if (options === void 0) { options = {}; }
|
|
659
588
|
return __awaiter(_this, void 0, void 0, function () {
|
|
660
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
589
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
661
590
|
return __generator(this, function (_a) {
|
|
662
591
|
switch (_a.label) {
|
|
663
592
|
case 0:
|
|
@@ -680,16 +609,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
680
609
|
localVarQueryParameter = {};
|
|
681
610
|
// authentication bearer required
|
|
682
611
|
// http bearer authentication required
|
|
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
|
-
];
|
|
612
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
686
613
|
case 1:
|
|
687
614
|
// authentication bearer required
|
|
688
615
|
// http bearer authentication required
|
|
689
616
|
_a.sent();
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
617
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
618
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
693
619
|
}
|
|
694
620
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
695
621
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -704,62 +630,6 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
704
630
|
});
|
|
705
631
|
});
|
|
706
632
|
},
|
|
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
|
-
},
|
|
763
633
|
/**
|
|
764
634
|
* 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\"
|
|
765
635
|
* @summary Update the Product Version Category Account
|
|
@@ -774,7 +644,7 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
774
644
|
putProductVersionCategoryAccount: function (productCode, productVersionCode, category, putProductVersionCategoryAccountBodyDto, authorization, options) {
|
|
775
645
|
if (options === void 0) { options = {}; }
|
|
776
646
|
return __awaiter(_this, void 0, void 0, function () {
|
|
777
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
647
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
778
648
|
return __generator(this, function (_a) {
|
|
779
649
|
switch (_a.label) {
|
|
780
650
|
case 0:
|
|
@@ -800,16 +670,13 @@ var ProductAccountMappingsApiAxiosParamCreator = function (configuration) {
|
|
|
800
670
|
localVarQueryParameter = {};
|
|
801
671
|
// authentication bearer required
|
|
802
672
|
// http bearer authentication required
|
|
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
|
-
];
|
|
673
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
806
674
|
case 1:
|
|
807
675
|
// authentication bearer required
|
|
808
676
|
// http bearer authentication required
|
|
809
677
|
_a.sent();
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
678
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
679
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
813
680
|
}
|
|
814
681
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
815
682
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -880,27 +747,6 @@ var ProductAccountMappingsApiFp = function (configuration) {
|
|
|
880
747
|
});
|
|
881
748
|
});
|
|
882
749
|
},
|
|
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
|
-
},
|
|
904
750
|
/**
|
|
905
751
|
* 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\"
|
|
906
752
|
* @summary Delete the Product Version Category Account
|
|
@@ -1069,28 +915,6 @@ var ProductAccountMappingsApiFp = function (configuration) {
|
|
|
1069
915
|
});
|
|
1070
916
|
});
|
|
1071
917
|
},
|
|
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
|
-
},
|
|
1094
918
|
/**
|
|
1095
919
|
* 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\"
|
|
1096
920
|
* @summary Update the Product Version Category Account
|
|
@@ -1151,17 +975,6 @@ var ProductAccountMappingsApiFactory = function (configuration, basePath, axios)
|
|
|
1151
975
|
deleteProductCategoryAccount: function (productCode, category, authorization, options) {
|
|
1152
976
|
return localVarFp.deleteProductCategoryAccount(productCode, category, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1153
977
|
},
|
|
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
|
-
},
|
|
1165
978
|
/**
|
|
1166
979
|
* 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\"
|
|
1167
980
|
* @summary Delete the Product Version Category Account
|
|
@@ -1260,18 +1073,6 @@ var ProductAccountMappingsApiFactory = function (configuration, basePath, axios)
|
|
|
1260
1073
|
putProductCategoryAccount: function (productCode, category, putProductCategoryAccountBodyDto, authorization, options) {
|
|
1261
1074
|
return localVarFp.putProductCategoryAccount(productCode, category, putProductCategoryAccountBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1262
1075
|
},
|
|
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
|
-
},
|
|
1275
1076
|
/**
|
|
1276
1077
|
* 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\"
|
|
1277
1078
|
* @summary Update the Product Version Category Account
|
|
@@ -1324,18 +1125,6 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1324
1125
|
var _this = this;
|
|
1325
1126
|
return (0, exports.ProductAccountMappingsApiFp)(this.configuration).deleteProductCategoryAccount(requestParameters.productCode, requestParameters.category, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1326
1127
|
};
|
|
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
|
-
};
|
|
1339
1128
|
/**
|
|
1340
1129
|
* 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\"
|
|
1341
1130
|
* @summary Delete the Product Version Category Account
|
|
@@ -1422,18 +1211,6 @@ var ProductAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
1422
1211
|
var _this = this;
|
|
1423
1212
|
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); });
|
|
1424
1213
|
};
|
|
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
|
-
};
|
|
1437
1214
|
/**
|
|
1438
1215
|
* 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\"
|
|
1439
1216
|
* @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, {}
|
|
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>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL AccountingService
|
|
69
69
|
* The EMIL AccountingService API description
|
package/dist/common.js
CHANGED
|
@@ -234,7 +234,6 @@ 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.
|
|
238
237
|
return function (axios, basePath) {
|
|
239
238
|
if (axios === void 0) { axios = globalAxios; }
|
|
240
239
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
@@ -67,7 +67,5 @@ 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";
|
|
72
70
|
};
|
|
73
71
|
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
@@ -34,7 +34,5 @@ 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'
|
|
38
|
-
ClaimsPayableAcc: 'claims_payable_acc',
|
|
39
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
37
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
40
38
|
};
|
|
@@ -73,7 +73,5 @@ 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";
|
|
78
76
|
};
|
|
79
77
|
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
@@ -34,7 +34,5 @@ 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'
|
|
38
|
-
ClaimsPayableAcc: 'claims_payable_acc',
|
|
39
|
-
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
37
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
40
38
|
};
|
|
@@ -77,29 +77,17 @@ 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. Always set together with sourceEntityType.
|
|
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. Always set together with sourceEntityCode.
|
|
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;
|
|
103
91
|
/**
|
|
104
92
|
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
105
93
|
* @type {Array<FinancialTransactionClass>}
|
|
@@ -150,8 +138,6 @@ export declare const BookingEntryClassSourceEntityTypeEnum: {
|
|
|
150
138
|
readonly Payment: "payment";
|
|
151
139
|
readonly Credit: "credit";
|
|
152
140
|
readonly CreditAllocation: "credit_allocation";
|
|
153
|
-
readonly ClaimRegulation: "claim_regulation";
|
|
154
141
|
readonly Commission: "commission";
|
|
155
|
-
readonly Manual: "manual";
|
|
156
142
|
};
|
|
157
143
|
export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
|