@emilgroup/accounting-sdk-node 1.32.1-beta.57 → 1.32.1-beta.58

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 -852
  41. package/api/commission-account-mappings-api.ts +0 -1195
  42. package/api/product-account-mappings-api.ts +0 -1474
  43. package/dist/api/accounting-configs-api.d.ts +0 -451
  44. package/dist/api/accounting-configs-api.js +0 -863
  45. package/dist/api/commission-account-mappings-api.d.ts +0 -685
  46. package/dist/api/commission-account-mappings-api.js +0 -1008
  47. package/dist/api/product-account-mappings-api.d.ts +0 -851
  48. package/dist/api/product-account-mappings-api.js +0 -1228
  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
@@ -145,55 +145,6 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  });
147
147
  },
148
- /**
149
- * 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\"
150
- * @summary Update the create or correct opening balance
151
- * @param {CreateOrCorrectOpeningBalanceDto} createOrCorrectOpeningBalanceDto
152
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
- * @param {*} [options] Override http request option.
154
- * @throws {RequiredError}
155
- */
156
- createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
157
- if (options === void 0) { options = {}; }
158
- return __awaiter(_this, void 0, void 0, function () {
159
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
- return __generator(this, function (_a) {
161
- switch (_a.label) {
162
- case 0:
163
- // verify required parameter 'createOrCorrectOpeningBalanceDto' is not null or undefined
164
- (0, common_1.assertParamExists)('createOrCorrectOpeningBalance', 'createOrCorrectOpeningBalanceDto', createOrCorrectOpeningBalanceDto);
165
- localVarPath = "/accountingservice/v1/booking-entries/opening-balances";
166
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
167
- if (configuration) {
168
- baseOptions = configuration.baseOptions;
169
- baseAccessToken = configuration.accessToken;
170
- }
171
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
172
- localVarHeaderParameter = {};
173
- localVarQueryParameter = {};
174
- // authentication bearer required
175
- // http bearer authentication required
176
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
177
- case 1:
178
- // authentication bearer required
179
- // http bearer authentication required
180
- _a.sent();
181
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
182
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
183
- }
184
- localVarHeaderParameter['Content-Type'] = 'application/json';
185
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createOrCorrectOpeningBalanceDto, localVarRequestOptions, configuration);
189
- return [2 /*return*/, {
190
- url: (0, common_1.toPathString)(localVarUrlObj),
191
- options: localVarRequestOptions,
192
- }];
193
- }
194
- });
195
- });
196
- },
197
148
  /**
198
149
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
199
150
  * @summary Retrieve the booking entry
@@ -320,55 +271,6 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
320
271
  });
321
272
  });
322
273
  },
323
- /**
324
- * 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\"
325
- * @summary Create the booking entry from a source entity
326
- * @param {PostFinancialEventRequestDto} postFinancialEventRequestDto
327
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
328
- * @param {*} [options] Override http request option.
329
- * @throws {RequiredError}
330
- */
331
- postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
332
- if (options === void 0) { options = {}; }
333
- return __awaiter(_this, void 0, void 0, function () {
334
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
335
- return __generator(this, function (_a) {
336
- switch (_a.label) {
337
- case 0:
338
- // verify required parameter 'postFinancialEventRequestDto' is not null or undefined
339
- (0, common_1.assertParamExists)('postFinancialEvent', 'postFinancialEventRequestDto', postFinancialEventRequestDto);
340
- localVarPath = "/accountingservice/v1/booking-entries/post-financial-event";
341
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
342
- if (configuration) {
343
- baseOptions = configuration.baseOptions;
344
- baseAccessToken = configuration.accessToken;
345
- }
346
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
347
- localVarHeaderParameter = {};
348
- localVarQueryParameter = {};
349
- // authentication bearer required
350
- // http bearer authentication required
351
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
352
- case 1:
353
- // authentication bearer required
354
- // http bearer authentication required
355
- _a.sent();
356
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
357
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
358
- }
359
- localVarHeaderParameter['Content-Type'] = 'application/json';
360
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
361
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
362
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
363
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postFinancialEventRequestDto, localVarRequestOptions, configuration);
364
- return [2 /*return*/, {
365
- url: (0, common_1.toPathString)(localVarUrlObj),
366
- options: localVarRequestOptions,
367
- }];
368
- }
369
- });
370
- });
371
- },
372
274
  };
373
275
  };
374
276
  exports.BookingEntriesApiAxiosParamCreator = BookingEntriesApiAxiosParamCreator;
@@ -400,27 +302,6 @@ var BookingEntriesApiFp = function (configuration) {
400
302
  });
401
303
  });
402
304
  },
403
- /**
404
- * 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\"
405
- * @summary Update the create or correct opening balance
406
- * @param {CreateOrCorrectOpeningBalanceDto} createOrCorrectOpeningBalanceDto
407
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
408
- * @param {*} [options] Override http request option.
409
- * @throws {RequiredError}
410
- */
411
- createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
412
- return __awaiter(this, void 0, void 0, function () {
413
- var localVarAxiosArgs;
414
- return __generator(this, function (_a) {
415
- switch (_a.label) {
416
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createOrCorrectOpeningBalance(createOrCorrectOpeningBalanceDto, authorization, options)];
417
- case 1:
418
- localVarAxiosArgs = _a.sent();
419
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
420
- }
421
- });
422
- });
423
- },
424
305
  /**
425
306
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
426
307
  * @summary Retrieve the booking entry
@@ -470,27 +351,6 @@ var BookingEntriesApiFp = function (configuration) {
470
351
  });
471
352
  });
472
353
  },
473
- /**
474
- * 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\"
475
- * @summary Create the booking entry from a source entity
476
- * @param {PostFinancialEventRequestDto} postFinancialEventRequestDto
477
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
478
- * @param {*} [options] Override http request option.
479
- * @throws {RequiredError}
480
- */
481
- postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
482
- return __awaiter(this, void 0, void 0, function () {
483
- var localVarAxiosArgs;
484
- return __generator(this, function (_a) {
485
- switch (_a.label) {
486
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postFinancialEvent(postFinancialEventRequestDto, authorization, options)];
487
- case 1:
488
- localVarAxiosArgs = _a.sent();
489
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
490
- }
491
- });
492
- });
493
- },
494
354
  };
495
355
  };
496
356
  exports.BookingEntriesApiFp = BookingEntriesApiFp;
@@ -512,17 +372,6 @@ var BookingEntriesApiFactory = function (configuration, basePath, axios) {
512
372
  createBookingEntry: function (createBookingEntryRequestDto, authorization, options) {
513
373
  return localVarFp.createBookingEntry(createBookingEntryRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
514
374
  },
515
- /**
516
- * 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\"
517
- * @summary Update the create or correct opening balance
518
- * @param {CreateOrCorrectOpeningBalanceDto} createOrCorrectOpeningBalanceDto
519
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
520
- * @param {*} [options] Override http request option.
521
- * @throws {RequiredError}
522
- */
523
- createOrCorrectOpeningBalance: function (createOrCorrectOpeningBalanceDto, authorization, options) {
524
- return localVarFp.createOrCorrectOpeningBalance(createOrCorrectOpeningBalanceDto, authorization, options).then(function (request) { return request(axios, basePath); });
525
- },
526
375
  /**
527
376
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
528
377
  * @summary Retrieve the booking entry
@@ -552,17 +401,6 @@ var BookingEntriesApiFactory = function (configuration, basePath, axios) {
552
401
  listBookingEntries: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
553
402
  return localVarFp.listBookingEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
554
403
  },
555
- /**
556
- * 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\"
557
- * @summary Create the booking entry from a source entity
558
- * @param {PostFinancialEventRequestDto} postFinancialEventRequestDto
559
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
560
- * @param {*} [options] Override http request option.
561
- * @throws {RequiredError}
562
- */
563
- postFinancialEvent: function (postFinancialEventRequestDto, authorization, options) {
564
- return localVarFp.postFinancialEvent(postFinancialEventRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
565
- },
566
404
  };
567
405
  };
568
406
  exports.BookingEntriesApiFactory = BookingEntriesApiFactory;
@@ -589,18 +427,6 @@ var BookingEntriesApi = /** @class */ (function (_super) {
589
427
  var _this = this;
590
428
  return (0, exports.BookingEntriesApiFp)(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
591
429
  };
592
- /**
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\"
594
- * @summary Update the create or correct opening balance
595
- * @param {BookingEntriesApiCreateOrCorrectOpeningBalanceRequest} requestParameters Request parameters.
596
- * @param {*} [options] Override http request option.
597
- * @throws {RequiredError}
598
- * @memberof BookingEntriesApi
599
- */
600
- BookingEntriesApi.prototype.createOrCorrectOpeningBalance = function (requestParameters, options) {
601
- var _this = this;
602
- return (0, exports.BookingEntriesApiFp)(this.configuration).createOrCorrectOpeningBalance(requestParameters.createOrCorrectOpeningBalanceDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
603
- };
604
430
  /**
605
431
  * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.entries.view\"
606
432
  * @summary Retrieve the booking entry
@@ -626,18 +452,6 @@ var BookingEntriesApi = /** @class */ (function (_super) {
626
452
  if (requestParameters === void 0) { requestParameters = {}; }
627
453
  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); });
628
454
  };
629
- /**
630
- * 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\"
631
- * @summary Create the booking entry from a source entity
632
- * @param {BookingEntriesApiPostFinancialEventRequest} requestParameters Request parameters.
633
- * @param {*} [options] Override http request option.
634
- * @throws {RequiredError}
635
- * @memberof BookingEntriesApi
636
- */
637
- BookingEntriesApi.prototype.postFinancialEvent = function (requestParameters, options) {
638
- var _this = this;
639
- return (0, exports.BookingEntriesApiFp)(this.configuration).postFinancialEvent(requestParameters.postFinancialEventRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
640
- };
641
455
  return BookingEntriesApi;
642
456
  }(base_1.BaseAPI));
643
457
  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
  }