@emilgroup/accounting-sdk 1.34.1-beta.76 → 1.34.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/base.ts +174 -41
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- 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/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/account-mapping-class.d.ts +2 -0
- package/dist/models/account-mapping-class.js +3 -1
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
- package/dist/models/booking-entry-class.d.ts +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
|
@@ -103,7 +103,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createAndEnableSubledger: function (createAndEnableSubledgerRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
createAndEnableSubledgerFromFile: function (file, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
if (file !== undefined) {
|
|
182
188
|
localVarFormParams.append('file', file);
|
|
@@ -203,7 +209,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
203
209
|
exportAccountingConfig: function (authorization, options) {
|
|
204
210
|
if (options === void 0) { options = {}; }
|
|
205
211
|
return __awaiter(_this, void 0, void 0, function () {
|
|
206
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
212
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
207
213
|
return __generator(this, function (_a) {
|
|
208
214
|
switch (_a.label) {
|
|
209
215
|
case 0:
|
|
@@ -218,13 +224,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
218
224
|
localVarQueryParameter = {};
|
|
219
225
|
// authentication bearer required
|
|
220
226
|
// http bearer authentication required
|
|
221
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
227
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
228
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
229
|
+
];
|
|
222
230
|
case 1:
|
|
223
231
|
// authentication bearer required
|
|
224
232
|
// http bearer authentication required
|
|
225
233
|
_a.sent();
|
|
226
|
-
|
|
227
|
-
|
|
234
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
235
|
+
if (authorizationValue) {
|
|
236
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
228
237
|
}
|
|
229
238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
230
239
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -247,7 +256,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
247
256
|
getAccountingCategories: function (authorization, options) {
|
|
248
257
|
if (options === void 0) { options = {}; }
|
|
249
258
|
return __awaiter(_this, void 0, void 0, function () {
|
|
250
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
259
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
251
260
|
return __generator(this, function (_a) {
|
|
252
261
|
switch (_a.label) {
|
|
253
262
|
case 0:
|
|
@@ -262,13 +271,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
262
271
|
localVarQueryParameter = {};
|
|
263
272
|
// authentication bearer required
|
|
264
273
|
// http bearer authentication required
|
|
265
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
274
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
275
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
276
|
+
];
|
|
266
277
|
case 1:
|
|
267
278
|
// authentication bearer required
|
|
268
279
|
// http bearer authentication required
|
|
269
280
|
_a.sent();
|
|
270
|
-
|
|
271
|
-
|
|
281
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
282
|
+
if (authorizationValue) {
|
|
283
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
272
284
|
}
|
|
273
285
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
274
286
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -291,7 +303,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
291
303
|
getActivationSnapshot: function (authorization, options) {
|
|
292
304
|
if (options === void 0) { options = {}; }
|
|
293
305
|
return __awaiter(_this, void 0, void 0, function () {
|
|
294
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
306
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
295
307
|
return __generator(this, function (_a) {
|
|
296
308
|
switch (_a.label) {
|
|
297
309
|
case 0:
|
|
@@ -306,13 +318,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
306
318
|
localVarQueryParameter = {};
|
|
307
319
|
// authentication bearer required
|
|
308
320
|
// http bearer authentication required
|
|
309
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
321
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
322
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
323
|
+
];
|
|
310
324
|
case 1:
|
|
311
325
|
// authentication bearer required
|
|
312
326
|
// http bearer authentication required
|
|
313
327
|
_a.sent();
|
|
314
|
-
|
|
315
|
-
|
|
328
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
329
|
+
if (authorizationValue) {
|
|
330
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
316
331
|
}
|
|
317
332
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
318
333
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -335,7 +350,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
335
350
|
resetSubledger: function (authorization, options) {
|
|
336
351
|
if (options === void 0) { options = {}; }
|
|
337
352
|
return __awaiter(_this, void 0, void 0, function () {
|
|
338
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
353
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
339
354
|
return __generator(this, function (_a) {
|
|
340
355
|
switch (_a.label) {
|
|
341
356
|
case 0:
|
|
@@ -350,13 +365,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
350
365
|
localVarQueryParameter = {};
|
|
351
366
|
// authentication bearer required
|
|
352
367
|
// http bearer authentication required
|
|
353
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
368
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
369
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
370
|
+
];
|
|
354
371
|
case 1:
|
|
355
372
|
// authentication bearer required
|
|
356
373
|
// http bearer authentication required
|
|
357
374
|
_a.sent();
|
|
358
|
-
|
|
359
|
-
|
|
375
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
376
|
+
if (authorizationValue) {
|
|
377
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
360
378
|
}
|
|
361
379
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
362
380
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -380,7 +398,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
380
398
|
validateAccountingConfig: function (validateAccountingConfigRequestDto, authorization, options) {
|
|
381
399
|
if (options === void 0) { options = {}; }
|
|
382
400
|
return __awaiter(_this, void 0, void 0, function () {
|
|
383
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
401
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
384
402
|
return __generator(this, function (_a) {
|
|
385
403
|
switch (_a.label) {
|
|
386
404
|
case 0:
|
|
@@ -397,13 +415,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
397
415
|
localVarQueryParameter = {};
|
|
398
416
|
// authentication bearer required
|
|
399
417
|
// http bearer authentication required
|
|
400
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
418
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
419
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
420
|
+
];
|
|
401
421
|
case 1:
|
|
402
422
|
// authentication bearer required
|
|
403
423
|
// http bearer authentication required
|
|
404
424
|
_a.sent();
|
|
405
|
-
|
|
406
|
-
|
|
425
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
426
|
+
if (authorizationValue) {
|
|
427
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
407
428
|
}
|
|
408
429
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
409
430
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -429,7 +450,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
429
450
|
validateAccountingConfigFromFile: function (file, authorization, options) {
|
|
430
451
|
if (options === void 0) { options = {}; }
|
|
431
452
|
return __awaiter(_this, void 0, void 0, function () {
|
|
432
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
453
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, authorizationValue, headersFromBaseOptions;
|
|
433
454
|
return __generator(this, function (_a) {
|
|
434
455
|
switch (_a.label) {
|
|
435
456
|
case 0:
|
|
@@ -447,13 +468,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
447
468
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
448
469
|
// authentication bearer required
|
|
449
470
|
// http bearer authentication required
|
|
450
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
471
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
472
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
473
|
+
];
|
|
451
474
|
case 1:
|
|
452
475
|
// authentication bearer required
|
|
453
476
|
// http bearer authentication required
|
|
454
477
|
_a.sent();
|
|
455
|
-
|
|
456
|
-
|
|
478
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
479
|
+
if (authorizationValue) {
|
|
480
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
457
481
|
}
|
|
458
482
|
if (file !== undefined) {
|
|
459
483
|
localVarFormParams.append('file', file);
|
|
@@ -54,7 +54,7 @@ export declare const BookingEntriesApiAxiosParamCreator: (configuration?: Config
|
|
|
54
54
|
*/
|
|
55
55
|
getBookingEntry: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
56
|
/**
|
|
57
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
57
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
58
58
|
* @summary List booking entries
|
|
59
59
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
60
60
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -112,7 +112,7 @@ export declare const BookingEntriesApiFp: (configuration?: Configuration) => {
|
|
|
112
112
|
*/
|
|
113
113
|
getBookingEntry(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingEntryResponseClass>>;
|
|
114
114
|
/**
|
|
115
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
115
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
116
116
|
* @summary List booking entries
|
|
117
117
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
118
118
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -170,7 +170,7 @@ export declare const BookingEntriesApiFactory: (configuration?: Configuration, b
|
|
|
170
170
|
*/
|
|
171
171
|
getBookingEntry(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetBookingEntryResponseClass>;
|
|
172
172
|
/**
|
|
173
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
173
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
174
174
|
* @summary List booking entries
|
|
175
175
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
176
176
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -346,7 +346,7 @@ export declare class BookingEntriesApi extends BaseAPI {
|
|
|
346
346
|
* @throws {RequiredError}
|
|
347
347
|
* @memberof BookingEntriesApi
|
|
348
348
|
*/
|
|
349
|
-
createBookingEntry(requestParameters: BookingEntriesApiCreateBookingEntryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingEntryResponseClass, any, {}>>;
|
|
349
|
+
createBookingEntry(requestParameters: BookingEntriesApiCreateBookingEntryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingEntryResponseClass, any, {}, any>>;
|
|
350
350
|
/**
|
|
351
351
|
* Enters or restates the confirmed opening balance for one or more accounts: a first-time entry for an account with no opening-balance history yet, a restatement for one that already has some. Each item carries the confirmed balance, not the delta; the service derives the delta itself and books it, per account, against the main-ledger bridge account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
352
352
|
* @summary Update the create or correct opening balance
|
|
@@ -355,7 +355,7 @@ export declare class BookingEntriesApi extends BaseAPI {
|
|
|
355
355
|
* @throws {RequiredError}
|
|
356
356
|
* @memberof BookingEntriesApi
|
|
357
357
|
*/
|
|
358
|
-
createOrCorrectOpeningBalance(requestParameters: BookingEntriesApiCreateOrCorrectOpeningBalanceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrCorrectOpeningBalanceResponseClass, any, {}>>;
|
|
358
|
+
createOrCorrectOpeningBalance(requestParameters: BookingEntriesApiCreateOrCorrectOpeningBalanceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateOrCorrectOpeningBalanceResponseClass, any, {}, any>>;
|
|
359
359
|
/**
|
|
360
360
|
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
|
|
361
361
|
* @summary Retrieve the booking entry
|
|
@@ -364,16 +364,16 @@ export declare class BookingEntriesApi extends BaseAPI {
|
|
|
364
364
|
* @throws {RequiredError}
|
|
365
365
|
* @memberof BookingEntriesApi
|
|
366
366
|
*/
|
|
367
|
-
getBookingEntry(requestParameters: BookingEntriesApiGetBookingEntryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingEntryResponseClass, any, {}>>;
|
|
367
|
+
getBookingEntry(requestParameters: BookingEntriesApiGetBookingEntryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingEntryResponseClass, any, {}, any>>;
|
|
368
368
|
/**
|
|
369
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
369
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
370
370
|
* @summary List booking entries
|
|
371
371
|
* @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
373
373
|
* @throws {RequiredError}
|
|
374
374
|
* @memberof BookingEntriesApi
|
|
375
375
|
*/
|
|
376
|
-
listBookingEntries(requestParameters?: BookingEntriesApiListBookingEntriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBookingEntriesResponseClass, any, {}>>;
|
|
376
|
+
listBookingEntries(requestParameters?: BookingEntriesApiListBookingEntriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBookingEntriesResponseClass, any, {}, any>>;
|
|
377
377
|
/**
|
|
378
378
|
* This endpoint posts the booking entry for an existing invoice, payment, exceeding credit or credit allocation on demand. The entity is fetched from the service that owns it and run through the same posting flow its domain event triggers, so the call is idempotent: an entity that is already posted returns its existing booking entry. When the flow deliberately posts nothing (subledger not active for the booking date, non-positive amount) the call fails with a precondition error carrying the reason. **Required Permissions** \"accounting-management.entries.create\"
|
|
379
379
|
* @summary Create the booking entry from a source entity
|
|
@@ -382,5 +382,5 @@ export declare class BookingEntriesApi extends BaseAPI {
|
|
|
382
382
|
* @throws {RequiredError}
|
|
383
383
|
* @memberof BookingEntriesApi
|
|
384
384
|
*/
|
|
385
|
-
postFinancialEvent(requestParameters: BookingEntriesApiPostFinancialEventRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PostFinancialEventResponseClass, any, {}>>;
|
|
385
|
+
postFinancialEvent(requestParameters: BookingEntriesApiPostFinancialEventRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PostFinancialEventResponseClass, any, {}, any>>;
|
|
386
386
|
}
|
|
@@ -103,7 +103,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createBookingEntry: function (createBookingEntryRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -169,13 +172,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
169
172
|
localVarQueryParameter = {};
|
|
170
173
|
// authentication bearer required
|
|
171
174
|
// http bearer authentication required
|
|
172
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
175
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
177
|
+
];
|
|
173
178
|
case 1:
|
|
174
179
|
// authentication bearer required
|
|
175
180
|
// http bearer authentication required
|
|
176
181
|
_a.sent();
|
|
177
|
-
|
|
178
|
-
|
|
182
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
183
|
+
if (authorizationValue) {
|
|
184
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
179
185
|
}
|
|
180
186
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -202,7 +208,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
202
208
|
getBookingEntry: function (code, expand, authorization, options) {
|
|
203
209
|
if (options === void 0) { options = {}; }
|
|
204
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
205
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
211
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
206
212
|
return __generator(this, function (_a) {
|
|
207
213
|
switch (_a.label) {
|
|
208
214
|
case 0:
|
|
@@ -230,8 +236,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
230
236
|
if (expand !== undefined) {
|
|
231
237
|
localVarQueryParameter['expand'] = expand;
|
|
232
238
|
}
|
|
233
|
-
|
|
234
|
-
|
|
239
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
240
|
+
if (authorizationValue) {
|
|
241
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
235
242
|
}
|
|
236
243
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
237
244
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -245,7 +252,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
245
252
|
});
|
|
246
253
|
},
|
|
247
254
|
/**
|
|
248
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
255
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
249
256
|
* @summary List booking entries
|
|
250
257
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
251
258
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -261,7 +268,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
261
268
|
listBookingEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
262
269
|
if (options === void 0) { options = {}; }
|
|
263
270
|
return __awaiter(_this, void 0, void 0, function () {
|
|
264
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
271
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
265
272
|
return __generator(this, function (_a) {
|
|
266
273
|
switch (_a.label) {
|
|
267
274
|
case 0:
|
|
@@ -302,8 +309,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
302
309
|
if (filters !== undefined) {
|
|
303
310
|
localVarQueryParameter['filters'] = filters;
|
|
304
311
|
}
|
|
305
|
-
|
|
306
|
-
|
|
312
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
313
|
+
if (authorizationValue) {
|
|
314
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
307
315
|
}
|
|
308
316
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
309
317
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -327,7 +335,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
327
335
|
postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
|
|
328
336
|
if (options === void 0) { options = {}; }
|
|
329
337
|
return __awaiter(_this, void 0, void 0, function () {
|
|
330
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
338
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
331
339
|
return __generator(this, function (_a) {
|
|
332
340
|
switch (_a.label) {
|
|
333
341
|
case 0:
|
|
@@ -344,13 +352,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
344
352
|
localVarQueryParameter = {};
|
|
345
353
|
// authentication bearer required
|
|
346
354
|
// http bearer authentication required
|
|
347
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
355
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
356
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
357
|
+
];
|
|
348
358
|
case 1:
|
|
349
359
|
// authentication bearer required
|
|
350
360
|
// http bearer authentication required
|
|
351
361
|
_a.sent();
|
|
352
|
-
|
|
353
|
-
|
|
362
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
363
|
+
if (authorizationValue) {
|
|
364
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
354
365
|
}
|
|
355
366
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
356
367
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -440,7 +451,7 @@ var BookingEntriesApiFp = function (configuration) {
|
|
|
440
451
|
});
|
|
441
452
|
},
|
|
442
453
|
/**
|
|
443
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
454
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
444
455
|
* @summary List booking entries
|
|
445
456
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
446
457
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -532,7 +543,7 @@ var BookingEntriesApiFactory = function (configuration, basePath, axios) {
|
|
|
532
543
|
return localVarFp.getBookingEntry(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
533
544
|
},
|
|
534
545
|
/**
|
|
535
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
546
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
536
547
|
* @summary List booking entries
|
|
537
548
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
538
549
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -610,7 +621,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
610
621
|
return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
611
622
|
};
|
|
612
623
|
/**
|
|
613
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
624
|
+
* This endpoint gets booking entries. Without an explicit `order` they come back newest booking date first (`bookingDate:DESC`), with the entry id ascending as the tie-break for same-day bookings. **Required Permissions** \"accounting-management.entries.view\"
|
|
614
625
|
* @summary List booking entries
|
|
615
626
|
* @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
|
|
616
627
|
* @param {*} [options] Override http request option.
|
|
@@ -618,7 +618,7 @@ export declare class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
618
618
|
* @throws {RequiredError}
|
|
619
619
|
* @memberof CommissionAccountMappingsApi
|
|
620
620
|
*/
|
|
621
|
-
deleteCommissionAgreementAccount(requestParameters: CommissionAccountMappingsApiDeleteCommissionAgreementAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
621
|
+
deleteCommissionAgreementAccount(requestParameters: CommissionAccountMappingsApiDeleteCommissionAgreementAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
622
622
|
/**
|
|
623
623
|
* Permanently deletes the Commission Type Account. Supply the unique code that was returned when you created the Commission Type Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
624
624
|
* @summary Delete the Commission Type Account
|
|
@@ -627,7 +627,7 @@ export declare class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
627
627
|
* @throws {RequiredError}
|
|
628
628
|
* @memberof CommissionAccountMappingsApi
|
|
629
629
|
*/
|
|
630
|
-
deleteCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiDeleteCommissionTypeAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
630
|
+
deleteCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiDeleteCommissionTypeAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
631
631
|
/**
|
|
632
632
|
* Retrieves the details of the Commission Agreement Account Mapping that was previously created. Supply the unique Commission Agreement Account Mapping code that was returned when you created it and Emil Api will return the corresponding Commission Agreement Account Mapping information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
633
633
|
* @summary Retrieve the Commission Agreement Account Mapping
|
|
@@ -636,7 +636,7 @@ export declare class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
636
636
|
* @throws {RequiredError}
|
|
637
637
|
* @memberof CommissionAccountMappingsApi
|
|
638
638
|
*/
|
|
639
|
-
getCommissionAgreementAccountMapping(requestParameters: CommissionAccountMappingsApiGetCommissionAgreementAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CommissionAgreementAccountMappingDetailClass, any, {}>>;
|
|
639
|
+
getCommissionAgreementAccountMapping(requestParameters: CommissionAccountMappingsApiGetCommissionAgreementAccountMappingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CommissionAgreementAccountMappingDetailClass, any, {}, any>>;
|
|
640
640
|
/**
|
|
641
641
|
* Paginated list of the actual stored override rows, across both levels (commission type/agreement). Filterable by commissionAgreementCode/commissionType. For browsing the commission-type standards or the agreement catalog, use the more specific endpoints below instead. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
642
642
|
* @summary List Commission Account Mappings
|
|
@@ -645,7 +645,7 @@ export declare class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
645
645
|
* @throws {RequiredError}
|
|
646
646
|
* @memberof CommissionAccountMappingsApi
|
|
647
647
|
*/
|
|
648
|
-
listCommissionAccountMappings(requestParameters?: CommissionAccountMappingsApiListCommissionAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAccountMappingsResponseClass, any, {}>>;
|
|
648
|
+
listCommissionAccountMappings(requestParameters?: CommissionAccountMappingsApiListCommissionAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAccountMappingsResponseClass, any, {}, any>>;
|
|
649
649
|
/**
|
|
650
650
|
* Paginated commission-agreement catalog (proxied from commissionservice), each item carrying its Agreement Number, Main Partner, and a hasCustomMapping badge. Cheap -- no per-type resolution, badges only. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
651
651
|
* @summary List Commission Agreements With Account Mappings
|
|
@@ -654,7 +654,7 @@ export declare class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
654
654
|
* @throws {RequiredError}
|
|
655
655
|
* @memberof CommissionAccountMappingsApi
|
|
656
656
|
*/
|
|
657
|
-
listCommissionAgreementsWithAccountMappings(requestParameters?: CommissionAccountMappingsApiListCommissionAgreementsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementsWithAccountMappingsResponseClass, any, {}>>;
|
|
657
|
+
listCommissionAgreementsWithAccountMappings(requestParameters?: CommissionAccountMappingsApiListCommissionAgreementsWithAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementsWithAccountMappingsResponseClass, any, {}, any>>;
|
|
658
658
|
/**
|
|
659
659
|
* Paginated \"Standards per Commission Type\" section -- one entry per commission type that currently has a tenant-wide default. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
660
660
|
* @summary List Commission Type Standards
|
|
@@ -663,7 +663,7 @@ export declare class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
663
663
|
* @throws {RequiredError}
|
|
664
664
|
* @memberof CommissionAccountMappingsApi
|
|
665
665
|
*/
|
|
666
|
-
listCommissionTypeAccountMappings(requestParameters?: CommissionAccountMappingsApiListCommissionTypeAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionTypeAccountMappingsResponseClass, any, {}>>;
|
|
666
|
+
listCommissionTypeAccountMappings(requestParameters?: CommissionAccountMappingsApiListCommissionTypeAccountMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionTypeAccountMappingsResponseClass, any, {}, any>>;
|
|
667
667
|
/**
|
|
668
668
|
* Updates the specified Commission Agreement Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
669
669
|
* @summary Update the Commission Agreement Account
|
|
@@ -672,7 +672,7 @@ export declare class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
672
672
|
* @throws {RequiredError}
|
|
673
673
|
* @memberof CommissionAccountMappingsApi
|
|
674
674
|
*/
|
|
675
|
-
updateCommissionAgreementAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionAgreementAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedCommissionAccountMappingClass, any, {}>>;
|
|
675
|
+
updateCommissionAgreementAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionAgreementAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedCommissionAccountMappingClass, any, {}, any>>;
|
|
676
676
|
/**
|
|
677
677
|
* Updates the specified Commission Type Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"accounting-management.financial-accounts.update\"
|
|
678
678
|
* @summary Update the Commission Type Account
|
|
@@ -681,5 +681,5 @@ export declare class CommissionAccountMappingsApi extends BaseAPI {
|
|
|
681
681
|
* @throws {RequiredError}
|
|
682
682
|
* @memberof CommissionAccountMappingsApi
|
|
683
683
|
*/
|
|
684
|
-
updateCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionTypeAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedCommissionAccountMappingClass, any, {}>>;
|
|
684
|
+
updateCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionTypeAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedCommissionAccountMappingClass, any, {}, any>>;
|
|
685
685
|
}
|