@emilgroup/accounting-sdk 1.34.1-beta.113 → 1.34.1-beta.114
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 +1 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +64 -24
- package/api/booking-entries-api.ts +40 -15
- package/api/commission-account-mappings-api.ts +64 -24
- package/api/financial-accounts-api.ts +40 -15
- package/api/financial-transactions-api.ts +16 -6
- package/api/health-api.ts +1 -1
- package/api/number-ranges-api.ts +32 -12
- package/api/personal-accounts-api.ts +32 -12
- package/api/product-account-mappings-api.ts +377 -36
- package/base.ts +239 -43
- 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 +120 -64
- package/dist/api/booking-entries-api.d.ts +5 -5
- package/dist/api/booking-entries-api.js +67 -38
- package/dist/api/commission-account-mappings-api.d.ts +8 -8
- package/dist/api/commission-account-mappings-api.js +108 -61
- package/dist/api/financial-accounts-api.d.ts +5 -5
- package/dist/api/financial-accounts-api.js +67 -38
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +22 -14
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +52 -30
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +52 -30
- package/dist/api/product-account-mappings-api.d.ts +168 -12
- package/dist/api/product-account-mappings-api.js +401 -94
- package/dist/base.d.ts +26 -0
- package/dist/base.js +243 -60
- 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 +3 -2
- package/dist/models/account-mapping-class.js +4 -3
- package/dist/models/accounting-category-class.d.ts +12 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +3 -2
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +4 -3
- package/dist/models/create-booking-entry-request-dto.d.ts +1 -7
- package/dist/models/create-booking-entry-request-dto.js +0 -6
- package/dist/models/create-financial-account-request-dto.d.ts +3 -2
- package/dist/models/create-financial-account-request-dto.js +4 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/premium-item-account-mapping-class.d.ts +12 -0
- package/dist/models/put-premium-item-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-premium-item-carrier-body-dto.js +15 -0
- package/models/account-mapping-class.ts +4 -3
- package/models/accounting-category-class.ts +12 -0
- package/models/accounting-config-data-dto-default-account-mappings.ts +4 -3
- package/models/create-booking-entry-request-dto.ts +1 -7
- package/models/create-financial-account-request-dto.ts +4 -3
- package/models/index.ts +1 -0
- package/models/premium-item-account-mapping-class.ts +12 -0
- package/models/put-premium-item-carrier-body-dto.ts +30 -0
- package/package.json +2 -2
|
@@ -103,9 +103,10 @@ 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;
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
107
|
+
var _a;
|
|
108
|
+
return __generator(this, function (_b) {
|
|
109
|
+
switch (_b.label) {
|
|
109
110
|
case 0:
|
|
110
111
|
// verify required parameter 'createBookingEntryRequestDto' is not null or undefined
|
|
111
112
|
(0, common_1.assertParamExists)('createBookingEntry', 'createBookingEntryRequestDto', createBookingEntryRequestDto);
|
|
@@ -120,13 +121,19 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
120
121
|
localVarQueryParameter = {};
|
|
121
122
|
// authentication bearer required
|
|
122
123
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
125
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
126
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
127
|
+
];
|
|
124
128
|
case 1:
|
|
125
129
|
// authentication bearer required
|
|
126
130
|
// http bearer authentication required
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
131
|
+
_b.sent();
|
|
132
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
133
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
134
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
135
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
137
|
}
|
|
131
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,9 +159,10 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
152
159
|
createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
|
|
153
160
|
if (options === void 0) { options = {}; }
|
|
154
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
-
|
|
157
|
-
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
163
|
+
var _a;
|
|
164
|
+
return __generator(this, function (_b) {
|
|
165
|
+
switch (_b.label) {
|
|
158
166
|
case 0:
|
|
159
167
|
// verify required parameter 'createOrCorrectOpeningBalanceDto' is not null or undefined
|
|
160
168
|
(0, common_1.assertParamExists)('createOrCorrectOpeningBalance', 'createOrCorrectOpeningBalanceDto', createOrCorrectOpeningBalanceDto);
|
|
@@ -169,13 +177,19 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
169
177
|
localVarQueryParameter = {};
|
|
170
178
|
// authentication bearer required
|
|
171
179
|
// http bearer authentication required
|
|
172
|
-
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. Without a session it is sent as before, empty when
|
|
182
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
183
|
+
];
|
|
173
184
|
case 1:
|
|
174
185
|
// authentication bearer required
|
|
175
186
|
// http bearer authentication required
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
187
|
+
_b.sent();
|
|
188
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
189
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
190
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
191
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
192
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
179
193
|
}
|
|
180
194
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -202,9 +216,10 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
202
216
|
getBookingEntry: function (code, expand, authorization, options) {
|
|
203
217
|
if (options === void 0) { options = {}; }
|
|
204
218
|
return __awaiter(_this, void 0, void 0, function () {
|
|
205
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
206
|
-
|
|
207
|
-
|
|
219
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
220
|
+
var _a;
|
|
221
|
+
return __generator(this, function (_b) {
|
|
222
|
+
switch (_b.label) {
|
|
208
223
|
case 0:
|
|
209
224
|
// verify required parameter 'code' is not null or undefined
|
|
210
225
|
(0, common_1.assertParamExists)('getBookingEntry', 'code', code);
|
|
@@ -226,12 +241,15 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
226
241
|
case 1:
|
|
227
242
|
// authentication bearer required
|
|
228
243
|
// http bearer authentication required
|
|
229
|
-
|
|
244
|
+
_b.sent();
|
|
230
245
|
if (expand !== undefined) {
|
|
231
246
|
localVarQueryParameter['expand'] = expand;
|
|
232
247
|
}
|
|
233
|
-
|
|
234
|
-
|
|
248
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
249
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
250
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
251
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
252
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
235
253
|
}
|
|
236
254
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
237
255
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -261,9 +279,10 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
261
279
|
listBookingEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
262
280
|
if (options === void 0) { options = {}; }
|
|
263
281
|
return __awaiter(_this, void 0, void 0, function () {
|
|
264
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
265
|
-
|
|
266
|
-
|
|
282
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
283
|
+
var _a;
|
|
284
|
+
return __generator(this, function (_b) {
|
|
285
|
+
switch (_b.label) {
|
|
267
286
|
case 0:
|
|
268
287
|
localVarPath = "/accountingservice/v1/booking-entries";
|
|
269
288
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -280,7 +299,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
280
299
|
case 1:
|
|
281
300
|
// authentication bearer required
|
|
282
301
|
// http bearer authentication required
|
|
283
|
-
|
|
302
|
+
_b.sent();
|
|
284
303
|
if (pageSize !== undefined) {
|
|
285
304
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
286
305
|
}
|
|
@@ -302,8 +321,11 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
302
321
|
if (filters !== undefined) {
|
|
303
322
|
localVarQueryParameter['filters'] = filters;
|
|
304
323
|
}
|
|
305
|
-
|
|
306
|
-
|
|
324
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
325
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
326
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
327
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
328
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
307
329
|
}
|
|
308
330
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
309
331
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -327,9 +349,10 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
327
349
|
postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
|
|
328
350
|
if (options === void 0) { options = {}; }
|
|
329
351
|
return __awaiter(_this, void 0, void 0, function () {
|
|
330
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
331
|
-
|
|
332
|
-
|
|
352
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
353
|
+
var _a;
|
|
354
|
+
return __generator(this, function (_b) {
|
|
355
|
+
switch (_b.label) {
|
|
333
356
|
case 0:
|
|
334
357
|
// verify required parameter 'postFinancialEventRequestDto' is not null or undefined
|
|
335
358
|
(0, common_1.assertParamExists)('postFinancialEvent', 'postFinancialEventRequestDto', postFinancialEventRequestDto);
|
|
@@ -344,13 +367,19 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
344
367
|
localVarQueryParameter = {};
|
|
345
368
|
// authentication bearer required
|
|
346
369
|
// http bearer authentication required
|
|
347
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
370
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
371
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
372
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
373
|
+
];
|
|
348
374
|
case 1:
|
|
349
375
|
// authentication bearer required
|
|
350
376
|
// http bearer authentication required
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
377
|
+
_b.sent();
|
|
378
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
379
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
380
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
381
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
382
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
354
383
|
}
|
|
355
384
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
356
385
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -583,7 +612,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
583
612
|
*/
|
|
584
613
|
BookingEntriesApi.prototype.createBookingEntry = function (requestParameters, options) {
|
|
585
614
|
var _this = this;
|
|
586
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
615
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
587
616
|
};
|
|
588
617
|
/**
|
|
589
618
|
* 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\"
|
|
@@ -595,7 +624,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
595
624
|
*/
|
|
596
625
|
BookingEntriesApi.prototype.createOrCorrectOpeningBalance = function (requestParameters, options) {
|
|
597
626
|
var _this = this;
|
|
598
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
627
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
599
628
|
};
|
|
600
629
|
/**
|
|
601
630
|
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
|
|
@@ -607,7 +636,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
607
636
|
*/
|
|
608
637
|
BookingEntriesApi.prototype.getBookingEntry = function (requestParameters, options) {
|
|
609
638
|
var _this = this;
|
|
610
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
639
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
611
640
|
};
|
|
612
641
|
/**
|
|
613
642
|
* 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\"
|
|
@@ -620,7 +649,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
620
649
|
BookingEntriesApi.prototype.listBookingEntries = function (requestParameters, options) {
|
|
621
650
|
var _this = this;
|
|
622
651
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
623
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).listBookingEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
652
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).listBookingEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
624
653
|
};
|
|
625
654
|
/**
|
|
626
655
|
* This endpoint posts the booking entry for an existing invoice, payment, exceeding credit, credit allocation, commission, claim regulation or payment receipt on demand. A credit allocation books nothing, so it always fails with a precondition error. 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\"
|
|
@@ -632,7 +661,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
632
661
|
*/
|
|
633
662
|
BookingEntriesApi.prototype.postFinancialEvent = function (requestParameters, options) {
|
|
634
663
|
var _this = this;
|
|
635
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
664
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
636
665
|
};
|
|
637
666
|
return BookingEntriesApi;
|
|
638
667
|
}(base_1.BaseAPI));
|
|
@@ -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
|
}
|