@emilgroup/accounting-sdk 1.34.1-beta.111 → 1.34.1-beta.113

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.
Files changed (52) hide show
  1. package/README.md +2 -2
  2. package/api/accounting-configs-api.ts +24 -64
  3. package/api/booking-entries-api.ts +15 -40
  4. package/api/commission-account-mappings-api.ts +24 -64
  5. package/api/financial-accounts-api.ts +15 -40
  6. package/api/financial-transactions-api.ts +6 -16
  7. package/api/health-api.ts +1 -1
  8. package/api/number-ranges-api.ts +12 -32
  9. package/api/personal-accounts-api.ts +12 -32
  10. package/api/product-account-mappings-api.ts +36 -96
  11. package/base.ts +43 -239
  12. package/common.ts +2 -3
  13. package/configuration.ts +0 -20
  14. package/dist/api/accounting-configs-api.d.ts +8 -8
  15. package/dist/api/accounting-configs-api.js +64 -120
  16. package/dist/api/booking-entries-api.d.ts +5 -5
  17. package/dist/api/booking-entries-api.js +38 -67
  18. package/dist/api/commission-account-mappings-api.d.ts +8 -8
  19. package/dist/api/commission-account-mappings-api.js +61 -108
  20. package/dist/api/financial-accounts-api.d.ts +5 -5
  21. package/dist/api/financial-accounts-api.js +38 -67
  22. package/dist/api/financial-transactions-api.d.ts +2 -2
  23. package/dist/api/financial-transactions-api.js +14 -22
  24. package/dist/api/health-api.d.ts +1 -1
  25. package/dist/api/health-api.js +1 -1
  26. package/dist/api/number-ranges-api.d.ts +4 -4
  27. package/dist/api/number-ranges-api.js +30 -52
  28. package/dist/api/personal-accounts-api.d.ts +4 -4
  29. package/dist/api/personal-accounts-api.js +30 -52
  30. package/dist/api/product-account-mappings-api.d.ts +12 -12
  31. package/dist/api/product-account-mappings-api.js +94 -172
  32. package/dist/base.d.ts +0 -26
  33. package/dist/base.js +60 -243
  34. package/dist/common.d.ts +1 -1
  35. package/dist/common.js +0 -1
  36. package/dist/configuration.d.ts +0 -17
  37. package/dist/configuration.js +0 -2
  38. package/dist/models/account-mapping-class.d.ts +2 -3
  39. package/dist/models/account-mapping-class.js +3 -4
  40. package/dist/models/accounting-category-class.d.ts +0 -12
  41. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +2 -3
  42. package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -4
  43. package/dist/models/create-booking-entry-request-dto.d.ts +7 -1
  44. package/dist/models/create-booking-entry-request-dto.js +6 -0
  45. package/dist/models/create-financial-account-request-dto.d.ts +2 -3
  46. package/dist/models/create-financial-account-request-dto.js +3 -4
  47. package/models/account-mapping-class.ts +3 -4
  48. package/models/accounting-category-class.ts +0 -12
  49. package/models/accounting-config-data-dto-default-account-mappings.ts +3 -4
  50. package/models/create-booking-entry-request-dto.ts +7 -1
  51. package/models/create-financial-account-request-dto.ts +3 -4
  52. package/package.json +2 -2
@@ -103,10 +103,9 @@ 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, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
- var _a;
108
- return __generator(this, function (_b) {
109
- switch (_b.label) {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
110
109
  case 0:
111
110
  // verify required parameter 'createBookingEntryRequestDto' is not null or undefined
112
111
  (0, common_1.assertParamExists)('createBookingEntry', 'createBookingEntryRequestDto', createBookingEntryRequestDto);
@@ -121,19 +120,13 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
121
120
  localVarQueryParameter = {};
122
121
  // authentication bearer required
123
122
  // http bearer authentication required
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
- ];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
124
  case 1:
129
125
  // authentication bearer required
130
126
  // http bearer authentication required
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);
127
+ _a.sent();
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
130
  }
138
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
139
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -159,10 +152,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
159
152
  createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
160
153
  if (options === void 0) { options = {}; }
161
154
  return __awaiter(_this, void 0, void 0, function () {
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) {
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
+ return __generator(this, function (_a) {
157
+ switch (_a.label) {
166
158
  case 0:
167
159
  // verify required parameter 'createOrCorrectOpeningBalanceDto' is not null or undefined
168
160
  (0, common_1.assertParamExists)('createOrCorrectOpeningBalance', 'createOrCorrectOpeningBalanceDto', createOrCorrectOpeningBalanceDto);
@@ -177,19 +169,13 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
177
169
  localVarQueryParameter = {};
178
170
  // authentication bearer required
179
171
  // http bearer authentication required
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
- ];
172
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
184
173
  case 1:
185
174
  // authentication bearer required
186
175
  // http bearer authentication required
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);
176
+ _a.sent();
177
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
193
179
  }
194
180
  localVarHeaderParameter['Content-Type'] = 'application/json';
195
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -216,10 +202,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
216
202
  getBookingEntry: function (code, expand, authorization, options) {
217
203
  if (options === void 0) { options = {}; }
218
204
  return __awaiter(_this, void 0, void 0, function () {
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) {
205
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
206
+ return __generator(this, function (_a) {
207
+ switch (_a.label) {
223
208
  case 0:
224
209
  // verify required parameter 'code' is not null or undefined
225
210
  (0, common_1.assertParamExists)('getBookingEntry', 'code', code);
@@ -241,15 +226,12 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
241
226
  case 1:
242
227
  // authentication bearer required
243
228
  // http bearer authentication required
244
- _b.sent();
229
+ _a.sent();
245
230
  if (expand !== undefined) {
246
231
  localVarQueryParameter['expand'] = expand;
247
232
  }
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);
233
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
234
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
253
235
  }
254
236
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
255
237
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -279,10 +261,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
279
261
  listBookingEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
280
262
  if (options === void 0) { options = {}; }
281
263
  return __awaiter(_this, void 0, void 0, function () {
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) {
264
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
265
+ return __generator(this, function (_a) {
266
+ switch (_a.label) {
286
267
  case 0:
287
268
  localVarPath = "/accountingservice/v1/booking-entries";
288
269
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -299,7 +280,7 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
299
280
  case 1:
300
281
  // authentication bearer required
301
282
  // http bearer authentication required
302
- _b.sent();
283
+ _a.sent();
303
284
  if (pageSize !== undefined) {
304
285
  localVarQueryParameter['pageSize'] = pageSize;
305
286
  }
@@ -321,11 +302,8 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
321
302
  if (filters !== undefined) {
322
303
  localVarQueryParameter['filters'] = filters;
323
304
  }
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);
305
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
306
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
329
307
  }
330
308
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
331
309
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -349,10 +327,9 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
349
327
  postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
350
328
  if (options === void 0) { options = {}; }
351
329
  return __awaiter(_this, void 0, void 0, function () {
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) {
330
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
331
+ return __generator(this, function (_a) {
332
+ switch (_a.label) {
356
333
  case 0:
357
334
  // verify required parameter 'postFinancialEventRequestDto' is not null or undefined
358
335
  (0, common_1.assertParamExists)('postFinancialEvent', 'postFinancialEventRequestDto', postFinancialEventRequestDto);
@@ -367,19 +344,13 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
367
344
  localVarQueryParameter = {};
368
345
  // authentication bearer required
369
346
  // http bearer authentication required
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
- ];
347
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
374
348
  case 1:
375
349
  // authentication bearer required
376
350
  // http bearer authentication required
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);
351
+ _a.sent();
352
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
353
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
383
354
  }
384
355
  localVarHeaderParameter['Content-Type'] = 'application/json';
385
356
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -612,7 +583,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
612
583
  */
613
584
  BookingEntriesApi.prototype.createBookingEntry = function (requestParameters, options) {
614
585
  var _this = this;
615
- return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
586
+ return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
616
587
  };
617
588
  /**
618
589
  * 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\"
@@ -624,7 +595,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
624
595
  */
625
596
  BookingEntriesApi.prototype.createOrCorrectOpeningBalance = function (requestParameters, options) {
626
597
  var _this = this;
627
- return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
598
+ return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
628
599
  };
629
600
  /**
630
601
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
@@ -636,7 +607,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
636
607
  */
637
608
  BookingEntriesApi.prototype.getBookingEntry = function (requestParameters, options) {
638
609
  var _this = this;
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); });
610
+ return (0, exports.BookingEntriesApiFp)(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
640
611
  };
641
612
  /**
642
613
  * 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\"
@@ -649,7 +620,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
649
620
  BookingEntriesApi.prototype.listBookingEntries = function (requestParameters, options) {
650
621
  var _this = this;
651
622
  if (requestParameters === void 0) { requestParameters = {}; }
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); });
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); });
653
624
  };
654
625
  /**
655
626
  * 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\"
@@ -661,7 +632,7 @@ var BookingEntriesApi = /** @class */ (function (_super) {
661
632
  */
662
633
  BookingEntriesApi.prototype.postFinancialEvent = function (requestParameters, options) {
663
634
  var _this = this;
664
- return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
635
+ return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
665
636
  };
666
637
  return BookingEntriesApi;
667
638
  }(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, {}, 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, {}, 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, {}, 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, {}, 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, {}, 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, {}, 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, {}, 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, {}, any>>;
684
+ updateCommissionTypeAccount(requestParameters: CommissionAccountMappingsApiUpdateCommissionTypeAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolvedCommissionAccountMappingClass, any, {}>>;
685
685
  }