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