@emilgroup/accounting-sdk-node 1.32.1-beta.76 → 1.32.1-beta.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +32 -16
- package/api/booking-entries-api.ts +24 -14
- package/api/commission-account-mappings-api.ts +32 -16
- package/api/financial-accounts-api.ts +20 -10
- package/api/financial-transactions-api.ts +8 -4
- package/api/number-ranges-api.ts +16 -8
- package/api/personal-accounts-api.ts +16 -8
- package/api/product-account-mappings-api.ts +265 -20
- package/common.ts +3 -2
- package/dist/api/accounting-configs-api.d.ts +8 -8
- package/dist/api/accounting-configs-api.js +56 -32
- package/dist/api/booking-entries-api.d.ts +9 -9
- package/dist/api/booking-entries-api.js +33 -22
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +47 -29
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +29 -18
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +8 -6
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +22 -14
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +22 -14
- package/dist/api/product-account-mappings-api.d.ts +131 -10
- package/dist/api/product-account-mappings-api.js +261 -38
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/models/account-mapping-class.d.ts +2 -0
- package/dist/models/account-mapping-class.js +3 -1
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
- package/dist/models/booking-entry-class.d.ts +16 -2
- package/dist/models/booking-entry-class.js +3 -1
- package/dist/models/create-booking-entry-request-dto.d.ts +3 -2
- package/dist/models/create-booking-entry-request-dto.js +3 -2
- package/dist/models/create-financial-account-request-dto.d.ts +2 -0
- package/dist/models/create-financial-account-request-dto.js +3 -1
- package/dist/models/financial-transaction-class.d.ts +6 -0
- package/dist/models/financial-transaction-data-dto.d.ts +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/post-financial-event-request-dto.d.ts +3 -2
- package/dist/models/post-financial-event-request-dto.js +1 -0
- package/dist/models/product-account-mapping-detail-class.d.ts +6 -0
- package/dist/models/product-risk-carrier-class.d.ts +42 -0
- package/dist/models/product-risk-carrier-class.js +15 -0
- package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
- package/models/account-mapping-class.ts +3 -1
- package/models/accounting-config-data-dto-default-account-mappings.ts +3 -1
- package/models/booking-entry-class.ts +17 -3
- package/models/create-booking-entry-request-dto.ts +4 -3
- package/models/create-financial-account-request-dto.ts +3 -1
- package/models/financial-transaction-class.ts +6 -0
- package/models/financial-transaction-data-dto.ts +6 -0
- package/models/index.ts +2 -0
- package/models/post-financial-event-request-dto.ts +3 -2
- package/models/product-account-mapping-detail-class.ts +6 -0
- package/models/product-risk-carrier-class.ts +48 -0
- package/models/put-product-risk-carrier-body-dto.ts +30 -0
- package/package.json +2 -2
|
@@ -107,7 +107,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createAndEnableSubledger: function (createAndEnableSubledgerRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
createAndEnableSubledgerFromFile: function (file, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
if (file !== undefined) {
|
|
186
192
|
localVarFormParams.append('file', file);
|
|
@@ -208,7 +214,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
208
214
|
exportAccountingConfig: function (authorization, options) {
|
|
209
215
|
if (options === void 0) { options = {}; }
|
|
210
216
|
return __awaiter(_this, void 0, void 0, function () {
|
|
211
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
217
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
212
218
|
return __generator(this, function (_a) {
|
|
213
219
|
switch (_a.label) {
|
|
214
220
|
case 0:
|
|
@@ -223,13 +229,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
223
229
|
localVarQueryParameter = {};
|
|
224
230
|
// authentication bearer required
|
|
225
231
|
// http bearer authentication required
|
|
226
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
232
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
233
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
234
|
+
];
|
|
227
235
|
case 1:
|
|
228
236
|
// authentication bearer required
|
|
229
237
|
// http bearer authentication required
|
|
230
238
|
_a.sent();
|
|
231
|
-
|
|
232
|
-
|
|
239
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
240
|
+
if (authorizationValue) {
|
|
241
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
233
242
|
}
|
|
234
243
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
235
244
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -252,7 +261,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
252
261
|
getAccountingCategories: function (authorization, options) {
|
|
253
262
|
if (options === void 0) { options = {}; }
|
|
254
263
|
return __awaiter(_this, void 0, void 0, function () {
|
|
255
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
264
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
256
265
|
return __generator(this, function (_a) {
|
|
257
266
|
switch (_a.label) {
|
|
258
267
|
case 0:
|
|
@@ -267,13 +276,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
267
276
|
localVarQueryParameter = {};
|
|
268
277
|
// authentication bearer required
|
|
269
278
|
// http bearer authentication required
|
|
270
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
279
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
280
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
281
|
+
];
|
|
271
282
|
case 1:
|
|
272
283
|
// authentication bearer required
|
|
273
284
|
// http bearer authentication required
|
|
274
285
|
_a.sent();
|
|
275
|
-
|
|
276
|
-
|
|
286
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
287
|
+
if (authorizationValue) {
|
|
288
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
277
289
|
}
|
|
278
290
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
279
291
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -296,7 +308,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
296
308
|
getActivationSnapshot: function (authorization, options) {
|
|
297
309
|
if (options === void 0) { options = {}; }
|
|
298
310
|
return __awaiter(_this, void 0, void 0, function () {
|
|
299
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
311
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
300
312
|
return __generator(this, function (_a) {
|
|
301
313
|
switch (_a.label) {
|
|
302
314
|
case 0:
|
|
@@ -311,13 +323,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
311
323
|
localVarQueryParameter = {};
|
|
312
324
|
// authentication bearer required
|
|
313
325
|
// http bearer authentication required
|
|
314
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
326
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
327
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
328
|
+
];
|
|
315
329
|
case 1:
|
|
316
330
|
// authentication bearer required
|
|
317
331
|
// http bearer authentication required
|
|
318
332
|
_a.sent();
|
|
319
|
-
|
|
320
|
-
|
|
333
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
334
|
+
if (authorizationValue) {
|
|
335
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
321
336
|
}
|
|
322
337
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
323
338
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -340,7 +355,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
340
355
|
resetSubledger: function (authorization, options) {
|
|
341
356
|
if (options === void 0) { options = {}; }
|
|
342
357
|
return __awaiter(_this, void 0, void 0, function () {
|
|
343
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
358
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
344
359
|
return __generator(this, function (_a) {
|
|
345
360
|
switch (_a.label) {
|
|
346
361
|
case 0:
|
|
@@ -355,13 +370,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
355
370
|
localVarQueryParameter = {};
|
|
356
371
|
// authentication bearer required
|
|
357
372
|
// http bearer authentication required
|
|
358
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
373
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
374
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
375
|
+
];
|
|
359
376
|
case 1:
|
|
360
377
|
// authentication bearer required
|
|
361
378
|
// http bearer authentication required
|
|
362
379
|
_a.sent();
|
|
363
|
-
|
|
364
|
-
|
|
380
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
381
|
+
if (authorizationValue) {
|
|
382
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
365
383
|
}
|
|
366
384
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
367
385
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -385,7 +403,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
385
403
|
validateAccountingConfig: function (validateAccountingConfigRequestDto, authorization, options) {
|
|
386
404
|
if (options === void 0) { options = {}; }
|
|
387
405
|
return __awaiter(_this, void 0, void 0, function () {
|
|
388
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
406
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
389
407
|
return __generator(this, function (_a) {
|
|
390
408
|
switch (_a.label) {
|
|
391
409
|
case 0:
|
|
@@ -402,13 +420,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
402
420
|
localVarQueryParameter = {};
|
|
403
421
|
// authentication bearer required
|
|
404
422
|
// http bearer authentication required
|
|
405
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
423
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
424
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
425
|
+
];
|
|
406
426
|
case 1:
|
|
407
427
|
// authentication bearer required
|
|
408
428
|
// http bearer authentication required
|
|
409
429
|
_a.sent();
|
|
410
|
-
|
|
411
|
-
|
|
430
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
431
|
+
if (authorizationValue) {
|
|
432
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
412
433
|
}
|
|
413
434
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
414
435
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -434,7 +455,7 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
434
455
|
validateAccountingConfigFromFile: function (file, authorization, options) {
|
|
435
456
|
if (options === void 0) { options = {}; }
|
|
436
457
|
return __awaiter(_this, void 0, void 0, function () {
|
|
437
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
458
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, authorizationValue, headersFromBaseOptions;
|
|
438
459
|
return __generator(this, function (_a) {
|
|
439
460
|
switch (_a.label) {
|
|
440
461
|
case 0:
|
|
@@ -452,13 +473,16 @@ var AccountingConfigsApiAxiosParamCreator = function (configuration) {
|
|
|
452
473
|
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
453
474
|
// authentication bearer required
|
|
454
475
|
// http bearer authentication required
|
|
455
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
476
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
477
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
478
|
+
];
|
|
456
479
|
case 1:
|
|
457
480
|
// authentication bearer required
|
|
458
481
|
// http bearer authentication required
|
|
459
482
|
_a.sent();
|
|
460
|
-
|
|
461
|
-
|
|
483
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
484
|
+
if (authorizationValue) {
|
|
485
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
462
486
|
}
|
|
463
487
|
if (file !== undefined) {
|
|
464
488
|
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
|
}
|
|
@@ -107,7 +107,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createBookingEntry: function (createBookingEntryRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -173,13 +176,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
173
176
|
localVarQueryParameter = {};
|
|
174
177
|
// authentication bearer required
|
|
175
178
|
// http bearer authentication required
|
|
176
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
179
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
181
|
+
];
|
|
177
182
|
case 1:
|
|
178
183
|
// authentication bearer required
|
|
179
184
|
// http bearer authentication required
|
|
180
185
|
_a.sent();
|
|
181
|
-
|
|
182
|
-
|
|
186
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
187
|
+
if (authorizationValue) {
|
|
188
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
183
189
|
}
|
|
184
190
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -206,7 +212,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
206
212
|
getBookingEntry: function (code, expand, authorization, options) {
|
|
207
213
|
if (options === void 0) { options = {}; }
|
|
208
214
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
215
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
210
216
|
return __generator(this, function (_a) {
|
|
211
217
|
switch (_a.label) {
|
|
212
218
|
case 0:
|
|
@@ -234,8 +240,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
234
240
|
if (expand !== undefined) {
|
|
235
241
|
localVarQueryParameter['expand'] = expand;
|
|
236
242
|
}
|
|
237
|
-
|
|
238
|
-
|
|
243
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
244
|
+
if (authorizationValue) {
|
|
245
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
239
246
|
}
|
|
240
247
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
241
248
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -249,7 +256,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
249
256
|
});
|
|
250
257
|
},
|
|
251
258
|
/**
|
|
252
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
259
|
+
* 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\"
|
|
253
260
|
* @summary List booking entries
|
|
254
261
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
255
262
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -265,7 +272,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
265
272
|
listBookingEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
266
273
|
if (options === void 0) { options = {}; }
|
|
267
274
|
return __awaiter(_this, void 0, void 0, function () {
|
|
268
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
275
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
269
276
|
return __generator(this, function (_a) {
|
|
270
277
|
switch (_a.label) {
|
|
271
278
|
case 0:
|
|
@@ -306,8 +313,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
306
313
|
if (filters !== undefined) {
|
|
307
314
|
localVarQueryParameter['filters'] = filters;
|
|
308
315
|
}
|
|
309
|
-
|
|
310
|
-
|
|
316
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
317
|
+
if (authorizationValue) {
|
|
318
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
311
319
|
}
|
|
312
320
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
313
321
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -331,7 +339,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
331
339
|
postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
|
|
332
340
|
if (options === void 0) { options = {}; }
|
|
333
341
|
return __awaiter(_this, void 0, void 0, function () {
|
|
334
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
342
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
335
343
|
return __generator(this, function (_a) {
|
|
336
344
|
switch (_a.label) {
|
|
337
345
|
case 0:
|
|
@@ -348,13 +356,16 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
348
356
|
localVarQueryParameter = {};
|
|
349
357
|
// authentication bearer required
|
|
350
358
|
// http bearer authentication required
|
|
351
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
359
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
360
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
361
|
+
];
|
|
352
362
|
case 1:
|
|
353
363
|
// authentication bearer required
|
|
354
364
|
// http bearer authentication required
|
|
355
365
|
_a.sent();
|
|
356
|
-
|
|
357
|
-
|
|
366
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
367
|
+
if (authorizationValue) {
|
|
368
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
358
369
|
}
|
|
359
370
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
360
371
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -444,7 +455,7 @@ var BookingEntriesApiFp = function (configuration) {
|
|
|
444
455
|
});
|
|
445
456
|
},
|
|
446
457
|
/**
|
|
447
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
458
|
+
* 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\"
|
|
448
459
|
* @summary List booking entries
|
|
449
460
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
450
461
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -536,7 +547,7 @@ var BookingEntriesApiFactory = function (configuration, basePath, axios) {
|
|
|
536
547
|
return localVarFp.getBookingEntry(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
537
548
|
},
|
|
538
549
|
/**
|
|
539
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
550
|
+
* 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\"
|
|
540
551
|
* @summary List booking entries
|
|
541
552
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
542
553
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -614,7 +625,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
614
625
|
return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
615
626
|
};
|
|
616
627
|
/**
|
|
617
|
-
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.entries.view\"
|
|
628
|
+
* 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\"
|
|
618
629
|
* @summary List booking entries
|
|
619
630
|
* @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
|
|
620
631
|
* @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
|
}
|