@emilgroup/accounting-sdk-node 1.32.0 → 1.32.1-beta.0

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 (76) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +762 -0
  4. package/api/financial-accounts-api.ts +12 -12
  5. package/api.ts +2 -0
  6. package/dist/api/accounting-configs-api.d.ts +404 -0
  7. package/dist/api/accounting-configs-api.js +776 -0
  8. package/dist/api/financial-accounts-api.d.ts +12 -12
  9. package/dist/api/financial-accounts-api.js +9 -9
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/account-mapping-class.d.ts +71 -0
  13. package/dist/models/account-mapping-class.js +38 -0
  14. package/dist/models/accounting-category-class.d.ts +45 -0
  15. package/dist/models/accounting-category-class.js +24 -0
  16. package/dist/models/accounting-config-class.d.ts +67 -0
  17. package/dist/models/accounting-config-class.js +15 -0
  18. package/dist/models/accounting-config-data-class.d.ts +38 -0
  19. package/dist/models/accounting-config-data-class.js +15 -0
  20. package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +46 -0
  21. package/dist/models/accounting-config-data-dto-accounting-configuration.js +24 -0
  22. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +71 -0
  23. package/dist/models/accounting-config-data-dto-default-account-mappings.js +38 -0
  24. package/dist/models/accounting-config-data-dto.d.ts +38 -0
  25. package/dist/models/accounting-config-data-dto.js +15 -0
  26. package/dist/models/accounting-configuration-class.d.ts +36 -0
  27. package/dist/models/accounting-configuration-class.js +15 -0
  28. package/dist/models/create-and-enable-subledger-request-dto.d.ts +25 -0
  29. package/dist/models/create-and-enable-subledger-request-dto.js +15 -0
  30. package/dist/models/create-and-enable-subledger-response-class.d.ts +25 -0
  31. package/dist/models/create-and-enable-subledger-response-class.js +15 -0
  32. package/dist/models/create-booking-entry-request-dto.d.ts +4 -2
  33. package/dist/models/create-financial-account-request-dto.d.ts +40 -3
  34. package/dist/models/create-financial-account-request-dto.js +24 -2
  35. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  36. package/dist/models/create-number-range-request-dto.js +4 -4
  37. package/dist/models/create-personal-account-request-dto.d.ts +14 -6
  38. package/dist/models/create-personal-account-request-dto.js +3 -3
  39. package/dist/models/export-accounting-config-response-class.d.ts +25 -0
  40. package/dist/models/export-accounting-config-response-class.js +15 -0
  41. package/dist/models/financial-account-class.d.ts +20 -2
  42. package/dist/models/financial-account-class.js +1 -1
  43. package/dist/models/financial-transaction-data-dto.d.ts +4 -2
  44. package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
  45. package/dist/models/get-accounting-categories-response-class.js +15 -0
  46. package/dist/models/index.d.ts +14 -0
  47. package/dist/models/index.js +14 -0
  48. package/dist/models/personal-account-class.d.ts +8 -2
  49. package/dist/models/personal-account-class.js +1 -1
  50. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  51. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  52. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  53. package/dist/models/validate-accounting-config-response-class.js +15 -0
  54. package/models/account-mapping-class.ts +80 -0
  55. package/models/accounting-category-class.ts +54 -0
  56. package/models/accounting-config-class.ts +73 -0
  57. package/models/accounting-config-data-class.ts +44 -0
  58. package/models/accounting-config-data-dto-accounting-configuration.ts +56 -0
  59. package/models/accounting-config-data-dto-default-account-mappings.ts +80 -0
  60. package/models/accounting-config-data-dto.ts +44 -0
  61. package/models/accounting-configuration-class.ts +42 -0
  62. package/models/create-and-enable-subledger-request-dto.ts +31 -0
  63. package/models/create-and-enable-subledger-response-class.ts +31 -0
  64. package/models/create-booking-entry-request-dto.ts +2 -2
  65. package/models/create-financial-account-request-dto.ts +39 -3
  66. package/models/create-number-range-request-dto.ts +4 -4
  67. package/models/create-personal-account-request-dto.ts +12 -6
  68. package/models/export-accounting-config-response-class.ts +31 -0
  69. package/models/financial-account-class.ts +20 -2
  70. package/models/financial-transaction-data-dto.ts +2 -2
  71. package/models/get-accounting-categories-response-class.ts +31 -0
  72. package/models/index.ts +14 -0
  73. package/models/personal-account-class.ts +8 -2
  74. package/models/validate-accounting-config-request-dto.ts +31 -0
  75. package/models/validate-accounting-config-response-class.ts +36 -0
  76. package/package.json +1 -1
@@ -55,11 +55,11 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
55
55
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
56
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
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.
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>
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, status, isControlAccount, functionalCategory</i>
59
59
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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>
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, description, functionalCategory, type</i>
61
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/>
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>
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, status, isControlAccount, functionalCategory</i>
63
63
  * @param {*} [options] Override http request option.
64
64
  * @throws {RequiredError}
65
65
  */
@@ -104,11 +104,11 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
104
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
105
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
107
- * @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>
107
+ * @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</i>
108
108
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
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.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type</i>
110
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.<br/> <br/>
111
- * @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>
111
+ * @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</i>
112
112
  * @param {*} [options] Override http request option.
113
113
  * @throws {RequiredError}
114
114
  */
@@ -153,11 +153,11 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
153
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
154
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
156
- * @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>
156
+ * @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</i>
157
157
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
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.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber, description, functionalCategory, type</i>
159
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.<br/> <br/>
160
- * @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>
160
+ * @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</i>
161
161
  * @param {*} [options] Override http request option.
162
162
  * @throws {RequiredError}
163
163
  */
@@ -251,7 +251,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
251
251
  */
252
252
  readonly pageToken?: string;
253
253
  /**
254
- * 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>
254
+ * 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</i>
255
255
  * @type {string}
256
256
  * @memberof FinancialAccountsApiListFinancialAccounts
257
257
  */
@@ -263,7 +263,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
263
263
  */
264
264
  readonly search?: string;
265
265
  /**
266
- * 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>
266
+ * 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>
267
267
  * @type {string}
268
268
  * @memberof FinancialAccountsApiListFinancialAccounts
269
269
  */
@@ -275,7 +275,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
275
275
  */
276
276
  readonly expand?: string;
277
277
  /**
278
- * 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>
278
+ * 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</i>
279
279
  * @type {string}
280
280
  * @memberof FinancialAccountsApiListFinancialAccounts
281
281
  */
@@ -253,11 +253,11 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
255
  * @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.
256
- * @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>
256
+ * @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</i>
257
257
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
258
- * @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>
258
+ * @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>
259
259
  * @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/>
260
- * @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>
260
+ * @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</i>
261
261
  * @param {*} [options] Override http request option.
262
262
  * @throws {RequiredError}
263
263
  */
@@ -399,11 +399,11 @@ var FinancialAccountsApiFp = function (configuration) {
399
399
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
400
400
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
401
401
  * @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.
402
- * @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>
402
+ * @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</i>
403
403
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
404
- * @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>
404
+ * @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>
405
405
  * @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/>
406
- * @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>
406
+ * @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</i>
407
407
  * @param {*} [options] Override http request option.
408
408
  * @throws {RequiredError}
409
409
  */
@@ -470,11 +470,11 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
470
470
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
471
471
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
472
472
  * @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.
473
- * @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>
473
+ * @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</i>
474
474
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
475
- * @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>
475
+ * @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>
476
476
  * @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/>
477
- * @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>
477
+ * @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</i>
478
478
  * @param {*} [options] Override http request option.
479
479
  * @throws {RequiredError}
480
480
  */
package/dist/api.d.ts CHANGED
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/accounting-configs-api';
12
13
  export * from './api/booking-entries-api';
13
14
  export * from './api/financial-accounts-api';
14
15
  export * from './api/financial-transactions-api';
package/dist/api.js CHANGED
@@ -27,6 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/accounting-configs-api"), exports);
30
31
  __exportStar(require("./api/booking-entries-api"), exports);
31
32
  __exportStar(require("./api/financial-accounts-api"), exports);
32
33
  __exportStar(require("./api/financial-transactions-api"), exports);
@@ -0,0 +1,71 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AccountMappingClass
16
+ */
17
+ export interface AccountMappingClass {
18
+ /**
19
+ * The category of the chart of accounts that will be mapped to a financial account
20
+ * @type {string}
21
+ * @memberof AccountMappingClass
22
+ */
23
+ 'functionalCategory': AccountMappingClassFunctionalCategoryEnum;
24
+ /**
25
+ * A label of for the account mapping
26
+ * @type {string}
27
+ * @memberof AccountMappingClass
28
+ */
29
+ 'label': string;
30
+ /**
31
+ * The financial account number that will be mapped to the category
32
+ * @type {string}
33
+ * @memberof AccountMappingClass
34
+ */
35
+ 'financialAccountNumber': string;
36
+ /**
37
+ * The credit amount in cents
38
+ * @type {number}
39
+ * @memberof AccountMappingClass
40
+ */
41
+ 'creditOpeningAmountInCents': number;
42
+ /**
43
+ * The debit amount in cents
44
+ * @type {number}
45
+ * @memberof AccountMappingClass
46
+ */
47
+ 'debitOpeningAmountInCents': number;
48
+ }
49
+ export declare const AccountMappingClassFunctionalCategoryEnum: {
50
+ readonly BankAcc: "bank_acc";
51
+ readonly TaxPendingAcc: "tax_pending_acc";
52
+ readonly TaxForwardedAcc: "tax_forwarded_acc";
53
+ readonly TaxDueAcc: "tax_due_acc";
54
+ readonly VatPendingAcc: "vat_pending_acc";
55
+ readonly VatDueAcc: "vat_due_acc";
56
+ readonly RevenueBufferAcc: "revenue_buffer_acc";
57
+ readonly RevenueFinalAcc: "revenue_final_acc";
58
+ readonly ClaimExpenseAcc: "claim_expense_acc";
59
+ readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
60
+ readonly WriteOffExpAcc: "write_off_exp_acc";
61
+ readonly RoundingDiffAcc: "rounding_diff_acc";
62
+ readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
63
+ readonly FeeRevenueAcc: "fee_revenue_acc";
64
+ readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
65
+ readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
66
+ readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
67
+ readonly BrokerCtrlAcc: "broker_ctrl_acc";
68
+ readonly CarrierCtrlAcc: "carrier_ctrl_acc";
69
+ readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
70
+ };
71
+ export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AccountMappingClassFunctionalCategoryEnum = void 0;
17
+ exports.AccountMappingClassFunctionalCategoryEnum = {
18
+ BankAcc: 'bank_acc',
19
+ TaxPendingAcc: 'tax_pending_acc',
20
+ TaxForwardedAcc: 'tax_forwarded_acc',
21
+ TaxDueAcc: 'tax_due_acc',
22
+ VatPendingAcc: 'vat_pending_acc',
23
+ VatDueAcc: 'vat_due_acc',
24
+ RevenueBufferAcc: 'revenue_buffer_acc',
25
+ RevenueFinalAcc: 'revenue_final_acc',
26
+ ClaimExpenseAcc: 'claim_expense_acc',
27
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
28
+ WriteOffExpAcc: 'write_off_exp_acc',
29
+ RoundingDiffAcc: 'rounding_diff_acc',
30
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
31
+ FeeRevenueAcc: 'fee_revenue_acc',
32
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
33
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
34
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
35
+ BrokerCtrlAcc: 'broker_ctrl_acc',
36
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
37
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
38
+ };
@@ -0,0 +1,45 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AccountingCategoryClass
16
+ */
17
+ export interface AccountingCategoryClass {
18
+ /**
19
+ * The functional category
20
+ * @type {string}
21
+ * @memberof AccountingCategoryClass
22
+ */
23
+ 'category': string;
24
+ /**
25
+ * True if the category allows multiple defined accounts, like revenue and expense categories that may have one for each product.
26
+ * @type {boolean}
27
+ * @memberof AccountingCategoryClass
28
+ */
29
+ 'isPoolCategory': boolean;
30
+ /**
31
+ * The accounttype of the category
32
+ * @type {string}
33
+ * @memberof AccountingCategoryClass
34
+ */
35
+ 'type': AccountingCategoryClassTypeEnum;
36
+ }
37
+ export declare const AccountingCategoryClassTypeEnum: {
38
+ readonly Asset: "asset";
39
+ readonly Liability: "liability";
40
+ readonly Equity: "equity";
41
+ readonly Income: "income";
42
+ readonly Expense: "expense";
43
+ readonly OpeningBalance: "opening_balance";
44
+ };
45
+ export type AccountingCategoryClassTypeEnum = typeof AccountingCategoryClassTypeEnum[keyof typeof AccountingCategoryClassTypeEnum];
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AccountingCategoryClassTypeEnum = void 0;
17
+ exports.AccountingCategoryClassTypeEnum = {
18
+ Asset: 'asset',
19
+ Liability: 'liability',
20
+ Equity: 'equity',
21
+ Income: 'income',
22
+ Expense: 'expense',
23
+ OpeningBalance: 'opening_balance'
24
+ };
@@ -0,0 +1,67 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AccountingConfigDataClass } from './accounting-config-data-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AccountingConfigClass
17
+ */
18
+ export interface AccountingConfigClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof AccountingConfigClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof AccountingConfigClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * The configuration details
33
+ * @type {AccountingConfigDataClass}
34
+ * @memberof AccountingConfigClass
35
+ */
36
+ 'config'?: AccountingConfigDataClass;
37
+ /**
38
+ * Product slug this config is scoped to; absent for the tenant default config.
39
+ * @type {string}
40
+ * @memberof AccountingConfigClass
41
+ */
42
+ 'productSlug'?: string;
43
+ /**
44
+ * Identifier of the user who created the record.
45
+ * @type {string}
46
+ * @memberof AccountingConfigClass
47
+ */
48
+ 'createdBy': string;
49
+ /**
50
+ * Identifier of the user who last updated the record.
51
+ * @type {string}
52
+ * @memberof AccountingConfigClass
53
+ */
54
+ 'updatedBy': string;
55
+ /**
56
+ * Time at which the object was created.
57
+ * @type {string}
58
+ * @memberof AccountingConfigClass
59
+ */
60
+ 'createdAt': string;
61
+ /**
62
+ * Time at which the object was updated.
63
+ * @type {string}
64
+ * @memberof AccountingConfigClass
65
+ */
66
+ 'updatedAt': string;
67
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,38 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AccountMappingClass } from './account-mapping-class';
13
+ import { AccountingConfigurationClass } from './accounting-configuration-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AccountingConfigDataClass
18
+ */
19
+ export interface AccountingConfigDataClass {
20
+ /**
21
+ * The activation date of the accounting configuration
22
+ * @type {string}
23
+ * @memberof AccountingConfigDataClass
24
+ */
25
+ 'activationDate'?: string;
26
+ /**
27
+ * Configuration of the chart of accounts
28
+ * @type {Array<AccountMappingClass>}
29
+ * @memberof AccountingConfigDataClass
30
+ */
31
+ 'defaultAccountMappings'?: Array<AccountMappingClass>;
32
+ /**
33
+ * The accounting configuration details
34
+ * @type {AccountingConfigurationClass}
35
+ * @memberof AccountingConfigDataClass
36
+ */
37
+ 'accountingConfiguration'?: AccountingConfigurationClass;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,46 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The accounting configuration
14
+ * @export
15
+ * @interface AccountingConfigDataDtoAccountingConfiguration
16
+ */
17
+ export interface AccountingConfigDataDtoAccountingConfiguration {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AccountingConfigDataDtoAccountingConfiguration
22
+ */
23
+ 'settlementRecognitionMode': AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountingConfigDataDtoAccountingConfiguration
28
+ */
29
+ 'defaultTaxHandling': AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof AccountingConfigDataDtoAccountingConfiguration
34
+ */
35
+ 'toleranceAmountInCents': number;
36
+ }
37
+ export declare const AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum: {
38
+ readonly Soll: "SOLL";
39
+ readonly Ist: "IST";
40
+ };
41
+ export type AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
42
+ export declare const AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum: {
43
+ readonly CarrierPays: "CARRIER_PAYS";
44
+ readonly MgaPays: "MGA_PAYS";
45
+ };
46
+ export type AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = exports.AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = void 0;
17
+ exports.AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
18
+ Soll: 'SOLL',
19
+ Ist: 'IST'
20
+ };
21
+ exports.AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
22
+ CarrierPays: 'CARRIER_PAYS',
23
+ MgaPays: 'MGA_PAYS'
24
+ };
@@ -0,0 +1,71 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AccountingConfigDataDtoDefaultAccountMappings
16
+ */
17
+ export interface AccountingConfigDataDtoDefaultAccountMappings {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
22
+ */
23
+ 'functionalCategory': AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
28
+ */
29
+ 'label': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
34
+ */
35
+ 'financialAccountNumber': string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
40
+ */
41
+ 'creditOpeningAmountInCents': number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
46
+ */
47
+ 'debitOpeningAmountInCents': number;
48
+ }
49
+ export declare const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum: {
50
+ readonly BankAcc: "bank_acc";
51
+ readonly TaxPendingAcc: "tax_pending_acc";
52
+ readonly TaxForwardedAcc: "tax_forwarded_acc";
53
+ readonly TaxDueAcc: "tax_due_acc";
54
+ readonly VatPendingAcc: "vat_pending_acc";
55
+ readonly VatDueAcc: "vat_due_acc";
56
+ readonly RevenueBufferAcc: "revenue_buffer_acc";
57
+ readonly RevenueFinalAcc: "revenue_final_acc";
58
+ readonly ClaimExpenseAcc: "claim_expense_acc";
59
+ readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
60
+ readonly WriteOffExpAcc: "write_off_exp_acc";
61
+ readonly RoundingDiffAcc: "rounding_diff_acc";
62
+ readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
63
+ readonly FeeRevenueAcc: "fee_revenue_acc";
64
+ readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
65
+ readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
66
+ readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
67
+ readonly BrokerCtrlAcc: "broker_ctrl_acc";
68
+ readonly CarrierCtrlAcc: "carrier_ctrl_acc";
69
+ readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
70
+ };
71
+ export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];