@emilgroup/accounting-sdk-node 1.32.1-beta.104 → 1.32.1-beta.105
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/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 +96 -36
- package/base.ts +4 -0
- package/common.ts +3 -2
- 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 +12 -12
- package/dist/api/product-account-mappings-api.js +172 -94
- package/dist/base.d.ts +1 -0
- package/dist/base.js +3 -0
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/models/create-booking-entry-request-dto.d.ts +1 -7
- package/dist/models/create-booking-entry-request-dto.js +0 -6
- package/models/create-booking-entry-request-dto.ts +1 -7
- package/package.json +2 -2
|
@@ -107,9 +107,10 @@ 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;
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
111
|
+
var _a;
|
|
112
|
+
return __generator(this, function (_b) {
|
|
113
|
+
switch (_b.label) {
|
|
113
114
|
case 0:
|
|
114
115
|
// verify required parameter 'createBookingEntryRequestDto' is not null or undefined
|
|
115
116
|
(0, common_1.assertParamExists)('createBookingEntry', 'createBookingEntryRequestDto', createBookingEntryRequestDto);
|
|
@@ -124,13 +125,19 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
124
125
|
localVarQueryParameter = {};
|
|
125
126
|
// authentication bearer required
|
|
126
127
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
129
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
130
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
131
|
+
];
|
|
128
132
|
case 1:
|
|
129
133
|
// authentication bearer required
|
|
130
134
|
// http bearer authentication required
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
_b.sent();
|
|
136
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
137
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
138
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
139
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
141
|
}
|
|
135
142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
143
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,9 +163,10 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
156
163
|
createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
|
|
157
164
|
if (options === void 0) { options = {}; }
|
|
158
165
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
-
|
|
161
|
-
|
|
166
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
167
|
+
var _a;
|
|
168
|
+
return __generator(this, function (_b) {
|
|
169
|
+
switch (_b.label) {
|
|
162
170
|
case 0:
|
|
163
171
|
// verify required parameter 'createOrCorrectOpeningBalanceDto' is not null or undefined
|
|
164
172
|
(0, common_1.assertParamExists)('createOrCorrectOpeningBalance', 'createOrCorrectOpeningBalanceDto', createOrCorrectOpeningBalanceDto);
|
|
@@ -173,13 +181,19 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
173
181
|
localVarQueryParameter = {};
|
|
174
182
|
// authentication bearer required
|
|
175
183
|
// http bearer authentication required
|
|
176
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
184
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
185
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
186
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
187
|
+
];
|
|
177
188
|
case 1:
|
|
178
189
|
// authentication bearer required
|
|
179
190
|
// http bearer authentication required
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
191
|
+
_b.sent();
|
|
192
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
193
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
194
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
195
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
196
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
183
197
|
}
|
|
184
198
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
185
199
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -206,9 +220,10 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
206
220
|
getBookingEntry: function (code, expand, authorization, options) {
|
|
207
221
|
if (options === void 0) { options = {}; }
|
|
208
222
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
210
|
-
|
|
211
|
-
|
|
223
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
224
|
+
var _a;
|
|
225
|
+
return __generator(this, function (_b) {
|
|
226
|
+
switch (_b.label) {
|
|
212
227
|
case 0:
|
|
213
228
|
// verify required parameter 'code' is not null or undefined
|
|
214
229
|
(0, common_1.assertParamExists)('getBookingEntry', 'code', code);
|
|
@@ -230,12 +245,15 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
230
245
|
case 1:
|
|
231
246
|
// authentication bearer required
|
|
232
247
|
// http bearer authentication required
|
|
233
|
-
|
|
248
|
+
_b.sent();
|
|
234
249
|
if (expand !== undefined) {
|
|
235
250
|
localVarQueryParameter['expand'] = expand;
|
|
236
251
|
}
|
|
237
|
-
|
|
238
|
-
|
|
252
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
253
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
254
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
255
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
256
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
239
257
|
}
|
|
240
258
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
241
259
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -265,9 +283,10 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
265
283
|
listBookingEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
266
284
|
if (options === void 0) { options = {}; }
|
|
267
285
|
return __awaiter(_this, void 0, void 0, function () {
|
|
268
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
269
|
-
|
|
270
|
-
|
|
286
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
287
|
+
var _a;
|
|
288
|
+
return __generator(this, function (_b) {
|
|
289
|
+
switch (_b.label) {
|
|
271
290
|
case 0:
|
|
272
291
|
localVarPath = "/accountingservice/v1/booking-entries";
|
|
273
292
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -284,7 +303,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
284
303
|
case 1:
|
|
285
304
|
// authentication bearer required
|
|
286
305
|
// http bearer authentication required
|
|
287
|
-
|
|
306
|
+
_b.sent();
|
|
288
307
|
if (pageSize !== undefined) {
|
|
289
308
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
290
309
|
}
|
|
@@ -306,8 +325,11 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
306
325
|
if (filters !== undefined) {
|
|
307
326
|
localVarQueryParameter['filters'] = filters;
|
|
308
327
|
}
|
|
309
|
-
|
|
310
|
-
|
|
328
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
329
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
330
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
331
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
332
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
311
333
|
}
|
|
312
334
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
313
335
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -331,9 +353,10 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
331
353
|
postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
|
|
332
354
|
if (options === void 0) { options = {}; }
|
|
333
355
|
return __awaiter(_this, void 0, void 0, function () {
|
|
334
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
335
|
-
|
|
336
|
-
|
|
356
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
357
|
+
var _a;
|
|
358
|
+
return __generator(this, function (_b) {
|
|
359
|
+
switch (_b.label) {
|
|
337
360
|
case 0:
|
|
338
361
|
// verify required parameter 'postFinancialEventRequestDto' is not null or undefined
|
|
339
362
|
(0, common_1.assertParamExists)('postFinancialEvent', 'postFinancialEventRequestDto', postFinancialEventRequestDto);
|
|
@@ -348,13 +371,19 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
|
|
|
348
371
|
localVarQueryParameter = {};
|
|
349
372
|
// authentication bearer required
|
|
350
373
|
// http bearer authentication required
|
|
351
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
374
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
375
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
376
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
377
|
+
];
|
|
352
378
|
case 1:
|
|
353
379
|
// authentication bearer required
|
|
354
380
|
// http bearer authentication required
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
381
|
+
_b.sent();
|
|
382
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
383
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
384
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
385
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
386
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
358
387
|
}
|
|
359
388
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
360
389
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -587,7 +616,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
587
616
|
*/
|
|
588
617
|
BookingEntriesApi.prototype.createBookingEntry = function (requestParameters, options) {
|
|
589
618
|
var _this = this;
|
|
590
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
619
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
591
620
|
};
|
|
592
621
|
/**
|
|
593
622
|
* 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\"
|
|
@@ -599,7 +628,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
599
628
|
*/
|
|
600
629
|
BookingEntriesApi.prototype.createOrCorrectOpeningBalance = function (requestParameters, options) {
|
|
601
630
|
var _this = this;
|
|
602
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
631
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
603
632
|
};
|
|
604
633
|
/**
|
|
605
634
|
* This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
|
|
@@ -611,7 +640,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
611
640
|
*/
|
|
612
641
|
BookingEntriesApi.prototype.getBookingEntry = function (requestParameters, options) {
|
|
613
642
|
var _this = this;
|
|
614
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
643
|
+
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); });
|
|
615
644
|
};
|
|
616
645
|
/**
|
|
617
646
|
* 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\"
|
|
@@ -624,7 +653,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
624
653
|
BookingEntriesApi.prototype.listBookingEntries = function (requestParameters, options) {
|
|
625
654
|
var _this = this;
|
|
626
655
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
627
|
-
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); });
|
|
656
|
+
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); });
|
|
628
657
|
};
|
|
629
658
|
/**
|
|
630
659
|
* 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\"
|
|
@@ -636,7 +665,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
|
|
|
636
665
|
*/
|
|
637
666
|
BookingEntriesApi.prototype.postFinancialEvent = function (requestParameters, options) {
|
|
638
667
|
var _this = this;
|
|
639
|
-
return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
668
|
+
return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
640
669
|
};
|
|
641
670
|
return BookingEntriesApi;
|
|
642
671
|
}(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
|
}
|