@emilgroup/accounting-sdk 1.34.1-beta.76 → 1.34.1-beta.78

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 (183) hide show
  1. package/.openapi-generator/FILES +0 -48
  2. package/README.md +2 -2
  3. package/api/booking-entries-api.ts +0 -214
  4. package/api/financial-accounts-api.ts +16 -136
  5. package/api.ts +0 -6
  6. package/dist/api/booking-entries-api.d.ts +0 -114
  7. package/dist/api/booking-entries-api.js +0 -186
  8. package/dist/api/financial-accounts-api.d.ts +16 -82
  9. package/dist/api/financial-accounts-api.js +13 -112
  10. package/dist/api.d.ts +0 -3
  11. package/dist/api.js +0 -3
  12. package/dist/models/booking-entry-class.d.ts +0 -20
  13. package/dist/models/booking-entry-class.js +1 -8
  14. package/dist/models/create-booking-entry-request-dto.d.ts +2 -24
  15. package/dist/models/create-booking-entry-request-dto.js +0 -8
  16. package/dist/models/create-financial-account-request-dto.d.ts +5 -48
  17. package/dist/models/create-financial-account-request-dto.js +2 -24
  18. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  19. package/dist/models/create-number-range-request-dto.js +4 -4
  20. package/dist/models/create-personal-account-request-dto.d.ts +6 -14
  21. package/dist/models/create-personal-account-request-dto.js +3 -3
  22. package/dist/models/financial-account-class.d.ts +2 -49
  23. package/dist/models/financial-account-class.js +2 -6
  24. package/dist/models/financial-transaction-data-dto.d.ts +2 -5
  25. package/dist/models/financial-transaction-data-dto.js +0 -1
  26. package/dist/models/index.d.ts +0 -45
  27. package/dist/models/index.js +0 -45
  28. package/dist/models/personal-account-class.d.ts +2 -8
  29. package/dist/models/personal-account-class.js +1 -1
  30. package/models/booking-entry-class.ts +0 -21
  31. package/models/create-booking-entry-request-dto.ts +2 -25
  32. package/models/create-financial-account-request-dto.ts +5 -47
  33. package/models/create-number-range-request-dto.ts +4 -4
  34. package/models/create-personal-account-request-dto.ts +6 -12
  35. package/models/financial-account-class.ts +2 -50
  36. package/models/financial-transaction-data-dto.ts +2 -3
  37. package/models/index.ts +0 -45
  38. package/models/personal-account-class.ts +2 -8
  39. package/package.json +1 -1
  40. package/api/accounting-configs-api.ts +0 -846
  41. package/api/commission-account-mappings-api.ts +0 -1191
  42. package/api/product-account-mappings-api.ts +0 -1470
  43. package/dist/api/accounting-configs-api.d.ts +0 -451
  44. package/dist/api/accounting-configs-api.js +0 -857
  45. package/dist/api/commission-account-mappings-api.d.ts +0 -685
  46. package/dist/api/commission-account-mappings-api.js +0 -1004
  47. package/dist/api/product-account-mappings-api.d.ts +0 -851
  48. package/dist/api/product-account-mappings-api.js +0 -1224
  49. package/dist/models/account-mapping-class.d.ts +0 -71
  50. package/dist/models/account-mapping-class.js +0 -38
  51. package/dist/models/accounting-category-class.d.ts +0 -45
  52. package/dist/models/accounting-category-class.js +0 -24
  53. package/dist/models/accounting-config-class.d.ts +0 -78
  54. package/dist/models/accounting-config-class.js +0 -20
  55. package/dist/models/accounting-config-data-class.d.ts +0 -38
  56. package/dist/models/accounting-config-data-class.js +0 -15
  57. package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +0 -46
  58. package/dist/models/accounting-config-data-dto-accounting-configuration.js +0 -24
  59. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +0 -77
  60. package/dist/models/accounting-config-data-dto-default-account-mappings.js +0 -38
  61. package/dist/models/accounting-config-data-dto.d.ts +0 -38
  62. package/dist/models/accounting-config-data-dto.js +0 -15
  63. package/dist/models/accounting-configuration-class.d.ts +0 -36
  64. package/dist/models/accounting-configuration-class.js +0 -15
  65. package/dist/models/commission-account-mapping-class.d.ts +0 -49
  66. package/dist/models/commission-account-mapping-class.js +0 -15
  67. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +0 -44
  68. package/dist/models/commission-agreement-account-mapping-detail-class.js +0 -15
  69. package/dist/models/commission-agreement-partner-class.d.ts +0 -30
  70. package/dist/models/commission-agreement-partner-class.js +0 -15
  71. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +0 -43
  72. package/dist/models/commission-agreement-with-account-mapping-class.js +0 -15
  73. package/dist/models/commission-type-account-mapping-class.d.ts +0 -31
  74. package/dist/models/commission-type-account-mapping-class.js +0 -15
  75. package/dist/models/create-and-enable-subledger-request-dto.d.ts +0 -25
  76. package/dist/models/create-and-enable-subledger-request-dto.js +0 -15
  77. package/dist/models/create-and-enable-subledger-response-class.d.ts +0 -25
  78. package/dist/models/create-and-enable-subledger-response-class.js +0 -15
  79. package/dist/models/create-or-correct-opening-balance-dto.d.ts +0 -25
  80. package/dist/models/create-or-correct-opening-balance-dto.js +0 -15
  81. package/dist/models/create-or-correct-opening-balance-response-class.d.ts +0 -25
  82. package/dist/models/create-or-correct-opening-balance-response-class.js +0 -15
  83. package/dist/models/export-accounting-config-response-class.d.ts +0 -25
  84. package/dist/models/export-accounting-config-response-class.js +0 -15
  85. package/dist/models/get-accounting-categories-response-class.d.ts +0 -25
  86. package/dist/models/get-accounting-categories-response-class.js +0 -15
  87. package/dist/models/get-activation-snapshot-response-class.d.ts +0 -25
  88. package/dist/models/get-activation-snapshot-response-class.js +0 -15
  89. package/dist/models/list-commission-account-mappings-response-class.d.ts +0 -43
  90. package/dist/models/list-commission-account-mappings-response-class.js +0 -15
  91. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +0 -43
  92. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +0 -15
  93. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +0 -43
  94. package/dist/models/list-commission-type-account-mappings-response-class.js +0 -15
  95. package/dist/models/list-product-account-mappings-response-class.d.ts +0 -43
  96. package/dist/models/list-product-account-mappings-response-class.js +0 -15
  97. package/dist/models/list-products-with-account-mappings-response-class.d.ts +0 -43
  98. package/dist/models/list-products-with-account-mappings-response-class.js +0 -15
  99. package/dist/models/opening-balance-item-dto.d.ts +0 -41
  100. package/dist/models/opening-balance-item-dto.js +0 -20
  101. package/dist/models/post-financial-event-request-dto.d.ts +0 -44
  102. package/dist/models/post-financial-event-request-dto.js +0 -23
  103. package/dist/models/post-financial-event-response-class.d.ts +0 -25
  104. package/dist/models/post-financial-event-response-class.js +0 -15
  105. package/dist/models/premium-item-account-mapping-class.d.ts +0 -37
  106. package/dist/models/premium-item-account-mapping-class.js +0 -15
  107. package/dist/models/product-account-mapping-class.d.ts +0 -61
  108. package/dist/models/product-account-mapping-class.js +0 -15
  109. package/dist/models/product-account-mapping-detail-class.d.ts +0 -50
  110. package/dist/models/product-account-mapping-detail-class.js +0 -15
  111. package/dist/models/product-version-account-mapping-detail-class.d.ts +0 -50
  112. package/dist/models/product-version-account-mapping-detail-class.js +0 -15
  113. package/dist/models/product-version-with-account-mappings-class.d.ts +0 -42
  114. package/dist/models/product-version-with-account-mappings-class.js +0 -15
  115. package/dist/models/product-with-account-mappings-class.d.ts +0 -49
  116. package/dist/models/product-with-account-mappings-class.js +0 -15
  117. package/dist/models/put-premium-item-account-body-dto.d.ts +0 -24
  118. package/dist/models/put-premium-item-account-body-dto.js +0 -15
  119. package/dist/models/put-product-category-account-body-dto.d.ts +0 -24
  120. package/dist/models/put-product-category-account-body-dto.js +0 -15
  121. package/dist/models/put-product-version-category-account-body-dto.d.ts +0 -24
  122. package/dist/models/put-product-version-category-account-body-dto.js +0 -15
  123. package/dist/models/resolved-account-mapping-class.d.ts +0 -31
  124. package/dist/models/resolved-account-mapping-class.js +0 -15
  125. package/dist/models/resolved-commission-account-mapping-class.d.ts +0 -37
  126. package/dist/models/resolved-commission-account-mapping-class.js +0 -21
  127. package/dist/models/update-commission-agreement-account-body-dto.d.ts +0 -24
  128. package/dist/models/update-commission-agreement-account-body-dto.js +0 -15
  129. package/dist/models/update-commission-type-account-body-dto.d.ts +0 -24
  130. package/dist/models/update-commission-type-account-body-dto.js +0 -15
  131. package/dist/models/update-financial-account-body-dto.d.ts +0 -48
  132. package/dist/models/update-financial-account-body-dto.js +0 -15
  133. package/dist/models/update-financial-account-response-class.d.ts +0 -25
  134. package/dist/models/update-financial-account-response-class.js +0 -15
  135. package/dist/models/validate-accounting-config-request-dto.d.ts +0 -25
  136. package/dist/models/validate-accounting-config-request-dto.js +0 -15
  137. package/dist/models/validate-accounting-config-response-class.d.ts +0 -30
  138. package/dist/models/validate-accounting-config-response-class.js +0 -15
  139. package/models/account-mapping-class.ts +0 -80
  140. package/models/accounting-category-class.ts +0 -54
  141. package/models/accounting-config-class.ts +0 -87
  142. package/models/accounting-config-data-class.ts +0 -44
  143. package/models/accounting-config-data-dto-accounting-configuration.ts +0 -56
  144. package/models/accounting-config-data-dto-default-account-mappings.ts +0 -86
  145. package/models/accounting-config-data-dto.ts +0 -44
  146. package/models/accounting-configuration-class.ts +0 -42
  147. package/models/commission-account-mapping-class.ts +0 -55
  148. package/models/commission-agreement-account-mapping-detail-class.ts +0 -50
  149. package/models/commission-agreement-partner-class.ts +0 -36
  150. package/models/commission-agreement-with-account-mapping-class.ts +0 -49
  151. package/models/commission-type-account-mapping-class.ts +0 -37
  152. package/models/create-and-enable-subledger-request-dto.ts +0 -31
  153. package/models/create-and-enable-subledger-response-class.ts +0 -31
  154. package/models/create-or-correct-opening-balance-dto.ts +0 -31
  155. package/models/create-or-correct-opening-balance-response-class.ts +0 -31
  156. package/models/export-accounting-config-response-class.ts +0 -31
  157. package/models/get-accounting-categories-response-class.ts +0 -31
  158. package/models/get-activation-snapshot-response-class.ts +0 -31
  159. package/models/list-commission-account-mappings-response-class.ts +0 -49
  160. package/models/list-commission-agreements-with-account-mappings-response-class.ts +0 -49
  161. package/models/list-commission-type-account-mappings-response-class.ts +0 -49
  162. package/models/list-product-account-mappings-response-class.ts +0 -49
  163. package/models/list-products-with-account-mappings-response-class.ts +0 -49
  164. package/models/opening-balance-item-dto.ts +0 -50
  165. package/models/post-financial-event-request-dto.ts +0 -53
  166. package/models/post-financial-event-response-class.ts +0 -31
  167. package/models/premium-item-account-mapping-class.ts +0 -43
  168. package/models/product-account-mapping-class.ts +0 -67
  169. package/models/product-account-mapping-detail-class.ts +0 -56
  170. package/models/product-version-account-mapping-detail-class.ts +0 -56
  171. package/models/product-version-with-account-mappings-class.ts +0 -48
  172. package/models/product-with-account-mappings-class.ts +0 -55
  173. package/models/put-premium-item-account-body-dto.ts +0 -30
  174. package/models/put-product-category-account-body-dto.ts +0 -30
  175. package/models/put-product-version-category-account-body-dto.ts +0 -30
  176. package/models/resolved-account-mapping-class.ts +0 -37
  177. package/models/resolved-commission-account-mapping-class.ts +0 -46
  178. package/models/update-commission-agreement-account-body-dto.ts +0 -30
  179. package/models/update-commission-type-account-body-dto.ts +0 -30
  180. package/models/update-financial-account-body-dto.ts +0 -54
  181. package/models/update-financial-account-response-class.ts +0 -31
  182. package/models/validate-accounting-config-request-dto.ts +0 -31
  183. package/models/validate-accounting-config-response-class.ts +0 -36
@@ -141,55 +141,6 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  });
143
143
  },
144
- /**
145
- * 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\"
146
- * @summary Update the create or correct opening balance
147
- * @param {CreateOrCorrectOpeningBalanceDto} createOrCorrectOpeningBalanceDto
148
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
153
- if (options === void 0) { options = {}; }
154
- return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
158
- case 0:
159
- // verify required parameter 'createOrCorrectOpeningBalanceDto' is not null or undefined
160
- (0, common_1.assertParamExists)('createOrCorrectOpeningBalance', 'createOrCorrectOpeningBalanceDto', createOrCorrectOpeningBalanceDto);
161
- localVarPath = "/accountingservice/v1/booking-entries/opening-balances";
162
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
- if (configuration) {
164
- baseOptions = configuration.baseOptions;
165
- baseAccessToken = configuration.accessToken;
166
- }
167
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
168
- localVarHeaderParameter = {};
169
- localVarQueryParameter = {};
170
- // authentication bearer required
171
- // http bearer authentication required
172
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
173
- case 1:
174
- // authentication bearer required
175
- // http bearer authentication required
176
- _a.sent();
177
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
179
- }
180
- localVarHeaderParameter['Content-Type'] = 'application/json';
181
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createOrCorrectOpeningBalanceDto, localVarRequestOptions, configuration);
185
- return [2 /*return*/, {
186
- url: (0, common_1.toPathString)(localVarUrlObj),
187
- options: localVarRequestOptions,
188
- }];
189
- }
190
- });
191
- });
192
- },
193
144
  /**
194
145
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
195
146
  * @summary Retrieve the booking entry
@@ -316,55 +267,6 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
316
267
  });
317
268
  });
318
269
  },
319
- /**
320
- * This endpoint posts the booking entry for an existing invoice, payment, exceeding credit or credit allocation on demand. The entity is fetched from the service that owns it and run through the same posting flow its domain event triggers, so the call is idempotent: an entity that is already posted returns its existing booking entry. When the flow deliberately posts nothing (subledger not active for the booking date, non-positive amount) the call fails with a precondition error carrying the reason. **Required Permissions** \"accounting-management.entries.create\"
321
- * @summary Create the booking entry from a source entity
322
- * @param {PostFinancialEventRequestDto} postFinancialEventRequestDto
323
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
324
- * @param {*} [options] Override http request option.
325
- * @throws {RequiredError}
326
- */
327
- postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
328
- if (options === void 0) { options = {}; }
329
- return __awaiter(_this, void 0, void 0, function () {
330
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
331
- return __generator(this, function (_a) {
332
- switch (_a.label) {
333
- case 0:
334
- // verify required parameter 'postFinancialEventRequestDto' is not null or undefined
335
- (0, common_1.assertParamExists)('postFinancialEvent', 'postFinancialEventRequestDto', postFinancialEventRequestDto);
336
- localVarPath = "/accountingservice/v1/booking-entries/post-financial-event";
337
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
338
- if (configuration) {
339
- baseOptions = configuration.baseOptions;
340
- baseAccessToken = configuration.accessToken;
341
- }
342
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
343
- localVarHeaderParameter = {};
344
- localVarQueryParameter = {};
345
- // authentication bearer required
346
- // http bearer authentication required
347
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
348
- case 1:
349
- // authentication bearer required
350
- // http bearer authentication required
351
- _a.sent();
352
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
353
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
354
- }
355
- localVarHeaderParameter['Content-Type'] = 'application/json';
356
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
357
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
358
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
359
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postFinancialEventRequestDto, localVarRequestOptions, configuration);
360
- return [2 /*return*/, {
361
- url: (0, common_1.toPathString)(localVarUrlObj),
362
- options: localVarRequestOptions,
363
- }];
364
- }
365
- });
366
- });
367
- },
368
270
  };
369
271
  };
370
272
  exports.BookingEntriesApiAxiosParamCreator = BookingEntriesApiAxiosParamCreator;
@@ -396,27 +298,6 @@ var BookingEntriesApiFp = function (configuration) {
396
298
  });
397
299
  });
398
300
  },
399
- /**
400
- * 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\"
401
- * @summary Update the create or correct opening balance
402
- * @param {CreateOrCorrectOpeningBalanceDto} createOrCorrectOpeningBalanceDto
403
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
404
- * @param {*} [options] Override http request option.
405
- * @throws {RequiredError}
406
- */
407
- createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
408
- return __awaiter(this, void 0, void 0, function () {
409
- var localVarAxiosArgs;
410
- return __generator(this, function (_a) {
411
- switch (_a.label) {
412
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createOrCorrectOpeningBalance(createOrCorrectOpeningBalanceDto, authorization, options)];
413
- case 1:
414
- localVarAxiosArgs = _a.sent();
415
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
416
- }
417
- });
418
- });
419
- },
420
301
  /**
421
302
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
422
303
  * @summary Retrieve the booking entry
@@ -466,27 +347,6 @@ var BookingEntriesApiFp = function (configuration) {
466
347
  });
467
348
  });
468
349
  },
469
- /**
470
- * This endpoint posts the booking entry for an existing invoice, payment, exceeding credit or credit allocation on demand. The entity is fetched from the service that owns it and run through the same posting flow its domain event triggers, so the call is idempotent: an entity that is already posted returns its existing booking entry. When the flow deliberately posts nothing (subledger not active for the booking date, non-positive amount) the call fails with a precondition error carrying the reason. **Required Permissions** \"accounting-management.entries.create\"
471
- * @summary Create the booking entry from a source entity
472
- * @param {PostFinancialEventRequestDto} postFinancialEventRequestDto
473
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
474
- * @param {*} [options] Override http request option.
475
- * @throws {RequiredError}
476
- */
477
- postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
478
- return __awaiter(this, void 0, void 0, function () {
479
- var localVarAxiosArgs;
480
- return __generator(this, function (_a) {
481
- switch (_a.label) {
482
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postFinancialEvent(postFinancialEventRequestDto, authorization, options)];
483
- case 1:
484
- localVarAxiosArgs = _a.sent();
485
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
486
- }
487
- });
488
- });
489
- },
490
350
  };
491
351
  };
492
352
  exports.BookingEntriesApiFp = BookingEntriesApiFp;
@@ -508,17 +368,6 @@ var BookingEntriesApiFactory = function (configuration, basePath, axios) {
508
368
  createBookingEntry: function (createBookingEntryRequestDto, authorization, options) {
509
369
  return localVarFp.createBookingEntry(createBookingEntryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
510
370
  },
511
- /**
512
- * 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\"
513
- * @summary Update the create or correct opening balance
514
- * @param {CreateOrCorrectOpeningBalanceDto} createOrCorrectOpeningBalanceDto
515
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
516
- * @param {*} [options] Override http request option.
517
- * @throws {RequiredError}
518
- */
519
- createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
520
- return localVarFp.createOrCorrectOpeningBalance(createOrCorrectOpeningBalanceDto, authorization, options).then(function (request) { return request(axios, basePath); });
521
- },
522
371
  /**
523
372
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
524
373
  * @summary Retrieve the booking entry
@@ -548,17 +397,6 @@ var BookingEntriesApiFactory = function (configuration, basePath, axios) {
548
397
  listBookingEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
549
398
  return localVarFp.listBookingEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
550
399
  },
551
- /**
552
- * This endpoint posts the booking entry for an existing invoice, payment, exceeding credit or credit allocation on demand. The entity is fetched from the service that owns it and run through the same posting flow its domain event triggers, so the call is idempotent: an entity that is already posted returns its existing booking entry. When the flow deliberately posts nothing (subledger not active for the booking date, non-positive amount) the call fails with a precondition error carrying the reason. **Required Permissions** \"accounting-management.entries.create\"
553
- * @summary Create the booking entry from a source entity
554
- * @param {PostFinancialEventRequestDto} postFinancialEventRequestDto
555
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
556
- * @param {*} [options] Override http request option.
557
- * @throws {RequiredError}
558
- */
559
- postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
560
- return localVarFp.postFinancialEvent(postFinancialEventRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
561
- },
562
400
  };
563
401
  };
564
402
  exports.BookingEntriesApiFactory = BookingEntriesApiFactory;
@@ -585,18 +423,6 @@ var BookingEntriesApi = /** @class */ (function (_super) {
585
423
  var _this = this;
586
424
  return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
587
425
  };
588
- /**
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\"
590
- * @summary Update the create or correct opening balance
591
- * @param {BookingEntriesApiCreateOrCorrectOpeningBalanceRequest} requestParameters Request parameters.
592
- * @param {*} [options] Override http request option.
593
- * @throws {RequiredError}
594
- * @memberof BookingEntriesApi
595
- */
596
- BookingEntriesApi.prototype.createOrCorrectOpeningBalance = function (requestParameters, options) {
597
- 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); });
599
- };
600
426
  /**
601
427
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
602
428
  * @summary Retrieve the booking entry
@@ -622,18 +448,6 @@ var BookingEntriesApi = /** @class */ (function (_super) {
622
448
  if (requestParameters === void 0) { requestParameters = {}; }
623
449
  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); });
624
450
  };
625
- /**
626
- * This endpoint posts the booking entry for an existing invoice, payment, exceeding credit or credit allocation on demand. The entity is fetched from the service that owns it and run through the same posting flow its domain event triggers, so the call is idempotent: an entity that is already posted returns its existing booking entry. When the flow deliberately posts nothing (subledger not active for the booking date, non-positive amount) the call fails with a precondition error carrying the reason. **Required Permissions** \"accounting-management.entries.create\"
627
- * @summary Create the booking entry from a source entity
628
- * @param {BookingEntriesApiPostFinancialEventRequest} requestParameters Request parameters.
629
- * @param {*} [options] Override http request option.
630
- * @throws {RequiredError}
631
- * @memberof BookingEntriesApi
632
- */
633
- BookingEntriesApi.prototype.postFinancialEvent = function (requestParameters, options) {
634
- 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); });
636
- };
637
451
  return BookingEntriesApi;
638
452
  }(base_1.BaseAPI));
639
453
  exports.BookingEntriesApi = BookingEntriesApi;
@@ -16,15 +16,13 @@ import { CreateFinancialAccountRequestDto } from '../models';
16
16
  import { CreateFinancialAccountResponseClass } from '../models';
17
17
  import { GetFinancialAccountResponseClass } from '../models';
18
18
  import { ListFinancialAccountsResponseClass } from '../models';
19
- import { UpdateFinancialAccountBodyDto } from '../models';
20
- import { UpdateFinancialAccountResponseClass } from '../models';
21
19
  /**
22
20
  * FinancialAccountsApi - axios parameter creator
23
21
  * @export
24
22
  */
25
23
  export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
26
24
  /**
27
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. A bank-category account may also name the connected bank account it books, via linkedBankAccountCode; the bank account\'s IBAN is stored alongside it for display. **Required Permissions** \"accounting-management.financial-accounts.create\"
25
+ * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
28
26
  * @summary Create the Financial Account
29
27
  * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
30
28
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -57,25 +55,15 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
57
55
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
56
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
57
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
60
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory, linkedBankAccountCode, linkedBankAccountIban</i>
58
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
61
59
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
62
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type</i>
60
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
63
61
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
64
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory, linkedBankAccountCode, linkedBankAccountIban</i>
62
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
65
63
  * @param {*} [options] Override http request option.
66
64
  * @throws {RequiredError}
67
65
  */
68
66
  listFinancialAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
- /**
70
- * Updates name and description (always editable), financialAccountNumber (only while the account is not locked), isDefault (pool-category accounts only; cannot be unset), and linkedBankAccountCode (bank-category accounts only; send an empty string to unlink, omit to leave the link untouched). Linking stays editable once the account is locked, and applies to later postings only. **Required Permissions** \"accounting-management.financial-accounts.update\"
71
- * @summary Update the Financial Account
72
- * @param {string} code Unique identifier for the object.
73
- * @param {UpdateFinancialAccountBodyDto} updateFinancialAccountBodyDto
74
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
75
- * @param {*} [options] Override http request option.
76
- * @throws {RequiredError}
77
- */
78
- updateFinancialAccount: (code: string, updateFinancialAccountBodyDto: UpdateFinancialAccountBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
67
  };
80
68
  /**
81
69
  * FinancialAccountsApi - functional programming interface
@@ -83,7 +71,7 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
83
71
  */
84
72
  export declare const FinancialAccountsApiFp: (configuration?: Configuration) => {
85
73
  /**
86
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. A bank-category account may also name the connected bank account it books, via linkedBankAccountCode; the bank account\'s IBAN is stored alongside it for display. **Required Permissions** \"accounting-management.financial-accounts.create\"
74
+ * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
87
75
  * @summary Create the Financial Account
88
76
  * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
89
77
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -116,25 +104,15 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
116
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
105
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
106
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory, linkedBankAccountCode, linkedBankAccountIban&lt;/i&gt;
107
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
120
108
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
121
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type&lt;/i&gt;
109
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
122
110
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
123
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory, linkedBankAccountCode, linkedBankAccountIban&lt;/i&gt;
111
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
124
112
  * @param {*} [options] Override http request option.
125
113
  * @throws {RequiredError}
126
114
  */
127
115
  listFinancialAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialAccountsResponseClass>>;
128
- /**
129
- * Updates name and description (always editable), financialAccountNumber (only while the account is not locked), isDefault (pool-category accounts only; cannot be unset), and linkedBankAccountCode (bank-category accounts only; send an empty string to unlink, omit to leave the link untouched). Linking stays editable once the account is locked, and applies to later postings only. **Required Permissions** \"accounting-management.financial-accounts.update\"
130
- * @summary Update the Financial Account
131
- * @param {string} code Unique identifier for the object.
132
- * @param {UpdateFinancialAccountBodyDto} updateFinancialAccountBodyDto
133
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
134
- * @param {*} [options] Override http request option.
135
- * @throws {RequiredError}
136
- */
137
- updateFinancialAccount(code: string, updateFinancialAccountBodyDto: UpdateFinancialAccountBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateFinancialAccountResponseClass>>;
138
116
  };
139
117
  /**
140
118
  * FinancialAccountsApi - factory interface
@@ -142,7 +120,7 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
142
120
  */
143
121
  export declare const FinancialAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
122
  /**
145
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. A bank-category account may also name the connected bank account it books, via linkedBankAccountCode; the bank account\'s IBAN is stored alongside it for display. **Required Permissions** \"accounting-management.financial-accounts.create\"
123
+ * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
146
124
  * @summary Create the Financial Account
147
125
  * @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
148
126
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -175,25 +153,15 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
175
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
154
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
155
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
178
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory, linkedBankAccountCode, linkedBankAccountIban&lt;/i&gt;
156
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
179
157
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
180
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type&lt;/i&gt;
158
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
181
159
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
182
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory, linkedBankAccountCode, linkedBankAccountIban&lt;/i&gt;
160
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
183
161
  * @param {*} [options] Override http request option.
184
162
  * @throws {RequiredError}
185
163
  */
186
164
  listFinancialAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListFinancialAccountsResponseClass>;
187
- /**
188
- * Updates name and description (always editable), financialAccountNumber (only while the account is not locked), isDefault (pool-category accounts only; cannot be unset), and linkedBankAccountCode (bank-category accounts only; send an empty string to unlink, omit to leave the link untouched). Linking stays editable once the account is locked, and applies to later postings only. **Required Permissions** \"accounting-management.financial-accounts.update\"
189
- * @summary Update the Financial Account
190
- * @param {string} code Unique identifier for the object.
191
- * @param {UpdateFinancialAccountBodyDto} updateFinancialAccountBodyDto
192
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
- * @param {*} [options] Override http request option.
194
- * @throws {RequiredError}
195
- */
196
- updateFinancialAccount(code: string, updateFinancialAccountBodyDto: UpdateFinancialAccountBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateFinancialAccountResponseClass>;
197
165
  };
198
166
  /**
199
167
  * Request parameters for createFinancialAccount operation in FinancialAccountsApi.
@@ -283,7 +251,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
283
251
  */
284
252
  readonly pageToken?: string;
285
253
  /**
286
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory, linkedBankAccountCode, linkedBankAccountIban&lt;/i&gt;
254
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
287
255
  * @type {string}
288
256
  * @memberof FinancialAccountsApiListFinancialAccounts
289
257
  */
@@ -295,7 +263,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
295
263
  */
296
264
  readonly search?: string;
297
265
  /**
298
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type&lt;/i&gt;
266
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
299
267
  * @type {string}
300
268
  * @memberof FinancialAccountsApiListFinancialAccounts
301
269
  */
@@ -307,37 +275,12 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
307
275
  */
308
276
  readonly expand?: string;
309
277
  /**
310
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type, status, isControlAccount, functionalCategory, linkedBankAccountCode, linkedBankAccountIban&lt;/i&gt;
278
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
311
279
  * @type {string}
312
280
  * @memberof FinancialAccountsApiListFinancialAccounts
313
281
  */
314
282
  readonly filters?: string;
315
283
  }
316
- /**
317
- * Request parameters for updateFinancialAccount operation in FinancialAccountsApi.
318
- * @export
319
- * @interface FinancialAccountsApiUpdateFinancialAccountRequest
320
- */
321
- export interface FinancialAccountsApiUpdateFinancialAccountRequest {
322
- /**
323
- * Unique identifier for the object.
324
- * @type {string}
325
- * @memberof FinancialAccountsApiUpdateFinancialAccount
326
- */
327
- readonly code: string;
328
- /**
329
- *
330
- * @type {UpdateFinancialAccountBodyDto}
331
- * @memberof FinancialAccountsApiUpdateFinancialAccount
332
- */
333
- readonly updateFinancialAccountBodyDto: UpdateFinancialAccountBodyDto;
334
- /**
335
- * Bearer Token: provided by the login endpoint under the name accessToken.
336
- * @type {string}
337
- * @memberof FinancialAccountsApiUpdateFinancialAccount
338
- */
339
- readonly authorization?: string;
340
- }
341
284
  /**
342
285
  * FinancialAccountsApi - object-oriented interface
343
286
  * @export
@@ -346,7 +289,7 @@ export interface FinancialAccountsApiUpdateFinancialAccountRequest {
346
289
  */
347
290
  export declare class FinancialAccountsApi extends BaseAPI {
348
291
  /**
349
- * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. A bank-category account may also name the connected bank account it books, via linkedBankAccountCode; the bank account\'s IBAN is stored alongside it for display. **Required Permissions** \"accounting-management.financial-accounts.create\"
292
+ * This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
350
293
  * @summary Create the Financial Account
351
294
  * @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
352
295
  * @param {*} [options] Override http request option.
@@ -381,13 +324,4 @@ export declare class FinancialAccountsApi extends BaseAPI {
381
324
  * @memberof FinancialAccountsApi
382
325
  */
383
326
  listFinancialAccounts(requestParameters?: FinancialAccountsApiListFinancialAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialAccountsResponseClass, any, {}>>;
384
- /**
385
- * Updates name and description (always editable), financialAccountNumber (only while the account is not locked), isDefault (pool-category accounts only; cannot be unset), and linkedBankAccountCode (bank-category accounts only; send an empty string to unlink, omit to leave the link untouched). Linking stays editable once the account is locked, and applies to later postings only. **Required Permissions** \"accounting-management.financial-accounts.update\"
386
- * @summary Update the Financial Account
387
- * @param {FinancialAccountsApiUpdateFinancialAccountRequest} requestParameters Request parameters.
388
- * @param {*} [options] Override http request option.
389
- * @throws {RequiredError}
390
- * @memberof FinancialAccountsApi
391
- */
392
- updateFinancialAccount(requestParameters: FinancialAccountsApiUpdateFinancialAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateFinancialAccountResponseClass, any, {}>>;
393
327
  }