@emilgroup/accounting-sdk 1.28.1-beta.3 → 1.28.1-beta.30

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 (96) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +1137 -0
  4. package/api/financial-accounts-api.ts +12 -12
  5. package/api.ts +2 -0
  6. package/base.ts +1 -0
  7. package/dist/api/accounting-configs-api.d.ts +624 -0
  8. package/dist/api/accounting-configs-api.js +1031 -0
  9. package/dist/api/financial-accounts-api.d.ts +12 -12
  10. package/dist/api/financial-accounts-api.js +9 -9
  11. package/dist/api.d.ts +1 -0
  12. package/dist/api.js +1 -0
  13. package/dist/base.d.ts +2 -1
  14. package/dist/base.js +1 -0
  15. package/dist/models/accounting-config-class.d.ts +67 -0
  16. package/dist/models/accounting-config-class.js +15 -0
  17. package/dist/models/accounting-config-data-class.d.ts +45 -0
  18. package/dist/models/accounting-config-data-class.js +15 -0
  19. package/dist/models/accounting-configuration-class.d.ts +36 -0
  20. package/dist/models/accounting-configuration-class.js +15 -0
  21. package/dist/models/chart-of-accounts-config-class.d.ts +25 -0
  22. package/dist/models/chart-of-accounts-config-class.js +15 -0
  23. package/dist/models/chart-of-accounts-item-class.d.ts +71 -0
  24. package/dist/models/chart-of-accounts-item-class.js +38 -0
  25. package/dist/models/create-accounting-config-data-dto-accounting-configuration.d.ts +46 -0
  26. package/dist/models/create-accounting-config-data-dto-accounting-configuration.js +24 -0
  27. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.d.ts +59 -0
  28. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config-items.js +38 -0
  29. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.d.ts +25 -0
  30. package/dist/models/create-accounting-config-data-dto-chart-of-accounts-config.js +15 -0
  31. package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.d.ts +65 -0
  32. package/dist/models/create-accounting-config-data-dto-opening-balances-opening-balances.js +38 -0
  33. package/dist/models/create-accounting-config-data-dto-opening-balances.d.ts +25 -0
  34. package/dist/models/create-accounting-config-data-dto-opening-balances.js +15 -0
  35. package/dist/models/create-accounting-config-data-dto.d.ts +45 -0
  36. package/dist/models/create-accounting-config-data-dto.js +15 -0
  37. package/dist/models/create-accounting-config-request-dto.d.ts +31 -0
  38. package/dist/models/create-accounting-config-request-dto.js +15 -0
  39. package/dist/models/create-accounting-config-response-class.d.ts +25 -0
  40. package/dist/models/create-accounting-config-response-class.js +15 -0
  41. package/dist/models/create-financial-account-request-dto.d.ts +36 -1
  42. package/dist/models/create-financial-account-request-dto.js +24 -2
  43. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  44. package/dist/models/create-number-range-request-dto.js +4 -4
  45. package/dist/models/create-personal-account-request-dto.d.ts +10 -4
  46. package/dist/models/create-personal-account-request-dto.js +3 -3
  47. package/dist/models/financial-account-class.d.ts +20 -2
  48. package/dist/models/financial-account-class.js +1 -1
  49. package/dist/models/get-accounting-config-response-class.d.ts +25 -0
  50. package/dist/models/get-accounting-config-response-class.js +15 -0
  51. package/dist/models/index.d.ts +21 -0
  52. package/dist/models/index.js +21 -0
  53. package/dist/models/inline-object2.d.ts +24 -0
  54. package/dist/models/inline-object2.js +15 -0
  55. package/dist/models/list-accounting-configs-response-class.d.ts +43 -0
  56. package/dist/models/list-accounting-configs-response-class.js +15 -0
  57. package/dist/models/opening-balance-class.d.ts +65 -0
  58. package/dist/models/opening-balance-class.js +38 -0
  59. package/dist/models/opening-balances-class.d.ts +25 -0
  60. package/dist/models/opening-balances-class.js +15 -0
  61. package/dist/models/personal-account-class.d.ts +8 -2
  62. package/dist/models/personal-account-class.js +1 -1
  63. package/dist/models/update-chart-of-accounts-response-class.d.ts +25 -0
  64. package/dist/models/update-chart-of-accounts-response-class.js +15 -0
  65. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  66. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  67. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  68. package/dist/models/validate-accounting-config-response-class.js +15 -0
  69. package/models/accounting-config-class.ts +73 -0
  70. package/models/accounting-config-data-class.ts +51 -0
  71. package/models/accounting-configuration-class.ts +42 -0
  72. package/models/chart-of-accounts-config-class.ts +31 -0
  73. package/models/chart-of-accounts-item-class.ts +80 -0
  74. package/models/create-accounting-config-data-dto-accounting-configuration.ts +56 -0
  75. package/models/create-accounting-config-data-dto-chart-of-accounts-config-items.ts +68 -0
  76. package/models/create-accounting-config-data-dto-chart-of-accounts-config.ts +31 -0
  77. package/models/create-accounting-config-data-dto-opening-balances-opening-balances.ts +74 -0
  78. package/models/create-accounting-config-data-dto-opening-balances.ts +31 -0
  79. package/models/create-accounting-config-data-dto.ts +51 -0
  80. package/models/create-accounting-config-request-dto.ts +37 -0
  81. package/models/create-accounting-config-response-class.ts +31 -0
  82. package/models/create-financial-account-request-dto.ts +37 -1
  83. package/models/create-number-range-request-dto.ts +4 -4
  84. package/models/create-personal-account-request-dto.ts +10 -4
  85. package/models/financial-account-class.ts +20 -2
  86. package/models/get-accounting-config-response-class.ts +31 -0
  87. package/models/index.ts +21 -0
  88. package/models/inline-object2.ts +30 -0
  89. package/models/list-accounting-configs-response-class.ts +49 -0
  90. package/models/opening-balance-class.ts +74 -0
  91. package/models/opening-balances-class.ts +31 -0
  92. package/models/personal-account-class.ts +8 -2
  93. package/models/update-chart-of-accounts-response-class.ts +31 -0
  94. package/models/validate-accounting-config-request-dto.ts +31 -0
  95. package/models/validate-accounting-config-response-class.ts +36 -0
  96. package/package.json +2 -2
@@ -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</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</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</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</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</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</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</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</i>
279
279
  * @type {string}
280
280
  * @memberof FinancialAccountsApiListFinancialAccounts
281
281
  */
@@ -249,11 +249,11 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
249
249
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
250
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
251
  * @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.
252
- * @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>
252
+ * @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</i>
253
253
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
254
- * @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>
254
+ * @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>
255
255
  * @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/>
256
- * @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>
256
+ * @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</i>
257
257
  * @param {*} [options] Override http request option.
258
258
  * @throws {RequiredError}
259
259
  */
@@ -395,11 +395,11 @@ var FinancialAccountsApiFp = function (configuration) {
395
395
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
396
396
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
397
397
  * @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.
398
- * @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>
398
+ * @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</i>
399
399
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
400
- * @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>
400
+ * @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>
401
401
  * @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/>
402
- * @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>
402
+ * @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</i>
403
403
  * @param {*} [options] Override http request option.
404
404
  * @throws {RequiredError}
405
405
  */
@@ -466,11 +466,11 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
466
466
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
467
467
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
468
468
  * @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.
469
- * @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>
469
+ * @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</i>
470
470
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
471
- * @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>
471
+ * @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>
472
472
  * @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/>
473
- * @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>
473
+ * @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</i>
474
474
  * @param {*} [options] Override http request option.
475
475
  * @throws {RequiredError}
476
476
  */
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);
package/dist/base.d.ts CHANGED
@@ -39,7 +39,8 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
+ StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
43
44
  }
44
45
  export declare function resetRetry(): void;
45
46
  /**
package/dist/base.js CHANGED
@@ -102,6 +102,7 @@ var Environment;
102
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
103
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
104
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
105
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
105
106
  })(Environment = exports.Environment || (exports.Environment = {}));
106
107
  var _retry_count = 0;
107
108
  var _retry = null;
@@ -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,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
+ import { AccountingConfigurationClass } from './accounting-configuration-class';
13
+ import { ChartOfAccountsConfigClass } from './chart-of-accounts-config-class';
14
+ import { OpeningBalancesClass } from './opening-balances-class';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface AccountingConfigDataClass
19
+ */
20
+ export interface AccountingConfigDataClass {
21
+ /**
22
+ * The activation date of the accounting configuration
23
+ * @type {string}
24
+ * @memberof AccountingConfigDataClass
25
+ */
26
+ 'activationDate'?: string;
27
+ /**
28
+ * Configuration of the chart of accounts
29
+ * @type {ChartOfAccountsConfigClass}
30
+ * @memberof AccountingConfigDataClass
31
+ */
32
+ 'chartOfAccountsConfig'?: ChartOfAccountsConfigClass;
33
+ /**
34
+ * The accounting configuration details
35
+ * @type {AccountingConfigurationClass}
36
+ * @memberof AccountingConfigDataClass
37
+ */
38
+ 'accountingConfiguration'?: AccountingConfigurationClass;
39
+ /**
40
+ * The opening balances details
41
+ * @type {OpeningBalancesClass}
42
+ * @memberof AccountingConfigDataClass
43
+ */
44
+ 'openingBalances'?: OpeningBalancesClass;
45
+ }
@@ -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,36 @@
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 AccountingConfigurationClass
16
+ */
17
+ export interface AccountingConfigurationClass {
18
+ /**
19
+ * The mode of settlement recognition, can be \"SOLL\" or \"IST\"
20
+ * @type {string}
21
+ * @memberof AccountingConfigurationClass
22
+ */
23
+ 'settlementRecognitionMode': string;
24
+ /**
25
+ * The default tax handling, can be \"CARRIER_PAYS\" or \"MGA_PAYS\"
26
+ * @type {string}
27
+ * @memberof AccountingConfigurationClass
28
+ */
29
+ 'defaultTaxHandling': string;
30
+ /**
31
+ * The tolerance amount in cents
32
+ * @type {number}
33
+ * @memberof AccountingConfigurationClass
34
+ */
35
+ 'toleranceAmountInCents': number;
36
+ }
@@ -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,25 @@
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 { ChartOfAccountsItemClass } from './chart-of-accounts-item-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ChartOfAccountsConfigClass
17
+ */
18
+ export interface ChartOfAccountsConfigClass {
19
+ /**
20
+ * List of chart of accounts items
21
+ * @type {Array<ChartOfAccountsItemClass>}
22
+ * @memberof ChartOfAccountsConfigClass
23
+ */
24
+ 'items': Array<ChartOfAccountsItemClass>;
25
+ }
@@ -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,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 ChartOfAccountsItemClass
16
+ */
17
+ export interface ChartOfAccountsItemClass {
18
+ /**
19
+ * The category of the chart of accounts that will be mapped to a financial account
20
+ * @type {string}
21
+ * @memberof ChartOfAccountsItemClass
22
+ */
23
+ 'category': ChartOfAccountsItemClassCategoryEnum;
24
+ /**
25
+ * A label of for the account mapping
26
+ * @type {string}
27
+ * @memberof ChartOfAccountsItemClass
28
+ */
29
+ 'label': string;
30
+ /**
31
+ * The financial account number that will be mapped to the category
32
+ * @type {string}
33
+ * @memberof ChartOfAccountsItemClass
34
+ */
35
+ 'financialAccountNumber': string;
36
+ /**
37
+ * Indicates if the account mapping is the one used as the default for the category
38
+ * @type {boolean}
39
+ * @memberof ChartOfAccountsItemClass
40
+ */
41
+ 'isStandard': boolean;
42
+ /**
43
+ * Indicates if this mapping is locked and cannot be changed
44
+ * @type {boolean}
45
+ * @memberof ChartOfAccountsItemClass
46
+ */
47
+ 'isLocked': boolean;
48
+ }
49
+ export declare const ChartOfAccountsItemClassCategoryEnum: {
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 FeeRevenueAccAcc: "fee_revenue_acc_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 ChartOfAccountsItemClassCategoryEnum = typeof ChartOfAccountsItemClassCategoryEnum[keyof typeof ChartOfAccountsItemClassCategoryEnum];
@@ -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.ChartOfAccountsItemClassCategoryEnum = void 0;
17
+ exports.ChartOfAccountsItemClassCategoryEnum = {
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
+ FeeRevenueAccAcc: 'fee_revenue_acc_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,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 CreateAccountingConfigDataDtoAccountingConfiguration
16
+ */
17
+ export interface CreateAccountingConfigDataDtoAccountingConfiguration {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
22
+ */
23
+ 'settlementRecognitionMode': CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
28
+ */
29
+ 'defaultTaxHandling': CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof CreateAccountingConfigDataDtoAccountingConfiguration
34
+ */
35
+ 'toleranceAmountInCents': number;
36
+ }
37
+ export declare const CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum: {
38
+ readonly Soll: "SOLL";
39
+ readonly Ist: "IST";
40
+ };
41
+ export type CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
42
+ export declare const CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum: {
43
+ readonly CarrierPays: "CARRIER_PAYS";
44
+ readonly MgaPays: "MGA_PAYS";
45
+ };
46
+ export type CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
@@ -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.CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = exports.CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = void 0;
17
+ exports.CreateAccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
18
+ Soll: 'SOLL',
19
+ Ist: 'IST'
20
+ };
21
+ exports.CreateAccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
22
+ CarrierPays: 'CARRIER_PAYS',
23
+ MgaPays: 'MGA_PAYS'
24
+ };