@emilgroup/accounting-sdk-node 1.32.1-beta.8 → 1.32.1-beta.81

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 (166) hide show
  1. package/.openapi-generator/FILES +35 -1
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +54 -38
  4. package/api/booking-entries-api.ts +234 -10
  5. package/api/commission-account-mappings-api.ts +1211 -0
  6. package/api/financial-accounts-api.ts +150 -20
  7. package/api/financial-transactions-api.ts +8 -4
  8. package/api/number-ranges-api.ts +16 -8
  9. package/api/personal-accounts-api.ts +16 -8
  10. package/api/product-account-mappings-api.ts +1719 -0
  11. package/api.ts +4 -0
  12. package/common.ts +3 -2
  13. package/dist/api/accounting-configs-api.d.ts +25 -25
  14. package/dist/api/accounting-configs-api.js +73 -49
  15. package/dist/api/booking-entries-api.d.ts +121 -7
  16. package/dist/api/booking-entries-api.js +211 -14
  17. package/dist/api/commission-account-mappings-api.d.ts +685 -0
  18. package/dist/api/commission-account-mappings-api.js +1026 -0
  19. package/dist/api/financial-accounts-api.d.ts +82 -16
  20. package/dist/api/financial-accounts-api.js +134 -24
  21. package/dist/api/financial-transactions-api.d.ts +2 -2
  22. package/dist/api/financial-transactions-api.js +8 -6
  23. package/dist/api/health-api.d.ts +1 -1
  24. package/dist/api/number-ranges-api.d.ts +4 -4
  25. package/dist/api/number-ranges-api.js +22 -14
  26. package/dist/api/personal-accounts-api.d.ts +4 -4
  27. package/dist/api/personal-accounts-api.js +22 -14
  28. package/dist/api/product-account-mappings-api.d.ts +972 -0
  29. package/dist/api/product-account-mappings-api.js +1451 -0
  30. package/dist/api.d.ts +2 -0
  31. package/dist/api.js +2 -0
  32. package/dist/common.d.ts +1 -1
  33. package/dist/common.js +1 -0
  34. package/dist/models/account-mapping-class.d.ts +2 -0
  35. package/dist/models/account-mapping-class.js +3 -1
  36. package/dist/models/accounting-config-class.d.ts +11 -0
  37. package/dist/models/accounting-config-class.js +5 -0
  38. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +8 -0
  39. package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
  40. package/dist/models/booking-entry-class.d.ts +34 -0
  41. package/dist/models/booking-entry-class.js +10 -1
  42. package/dist/models/commission-account-mapping-class.d.ts +49 -0
  43. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
  44. package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
  45. package/dist/models/commission-agreement-partner-class.d.ts +30 -0
  46. package/dist/models/commission-agreement-partner-class.js +15 -0
  47. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
  48. package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
  49. package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
  50. package/dist/models/commission-type-account-mapping-class.js +15 -0
  51. package/dist/models/create-booking-entry-request-dto.d.ts +21 -0
  52. package/dist/models/create-booking-entry-request-dto.js +9 -0
  53. package/dist/models/create-financial-account-request-dto.d.ts +8 -0
  54. package/dist/models/create-financial-account-request-dto.js +3 -1
  55. package/dist/models/create-or-correct-opening-balance-dto.d.ts +25 -0
  56. package/dist/models/create-or-correct-opening-balance-dto.js +15 -0
  57. package/dist/models/create-or-correct-opening-balance-response-class.d.ts +25 -0
  58. package/dist/models/create-or-correct-opening-balance-response-class.js +15 -0
  59. package/dist/models/financial-account-class.d.ts +24 -1
  60. package/dist/models/financial-account-class.js +5 -1
  61. package/dist/models/financial-transaction-class.d.ts +6 -0
  62. package/dist/models/financial-transaction-data-dto.d.ts +7 -0
  63. package/dist/models/financial-transaction-data-dto.js +1 -0
  64. package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
  65. package/dist/models/get-activation-snapshot-response-class.js +15 -0
  66. package/dist/models/index.d.ts +33 -1
  67. package/dist/models/index.js +33 -1
  68. package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
  69. package/dist/models/list-commission-account-mappings-response-class.js +15 -0
  70. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
  71. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
  72. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
  73. package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
  74. package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
  75. package/dist/models/list-product-account-mappings-response-class.js +15 -0
  76. package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
  77. package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
  78. package/dist/models/opening-balance-item-dto.d.ts +41 -0
  79. package/dist/models/opening-balance-item-dto.js +20 -0
  80. package/dist/models/personal-account-class.d.ts +6 -0
  81. package/dist/models/post-financial-event-request-dto.d.ts +45 -0
  82. package/dist/models/post-financial-event-request-dto.js +24 -0
  83. package/dist/models/post-financial-event-response-class.d.ts +25 -0
  84. package/dist/models/post-financial-event-response-class.js +15 -0
  85. package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
  86. package/dist/models/premium-item-account-mapping-class.js +15 -0
  87. package/dist/models/product-account-mapping-class.d.ts +61 -0
  88. package/dist/models/product-account-mapping-class.js +15 -0
  89. package/dist/models/product-account-mapping-detail-class.d.ts +56 -0
  90. package/dist/models/product-account-mapping-detail-class.js +15 -0
  91. package/dist/models/product-risk-carrier-class.d.ts +42 -0
  92. package/dist/models/product-risk-carrier-class.js +15 -0
  93. package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
  94. package/dist/models/product-version-account-mapping-detail-class.js +15 -0
  95. package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
  96. package/dist/models/product-version-with-account-mappings-class.js +15 -0
  97. package/dist/models/product-with-account-mappings-class.d.ts +49 -0
  98. package/dist/models/product-with-account-mappings-class.js +15 -0
  99. package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
  100. package/dist/models/put-premium-item-account-body-dto.js +15 -0
  101. package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
  102. package/dist/models/put-product-category-account-body-dto.js +15 -0
  103. package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
  104. package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
  105. package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
  106. package/dist/models/put-product-version-category-account-body-dto.js +15 -0
  107. package/dist/models/resolved-account-mapping-class.d.ts +31 -0
  108. package/dist/models/resolved-account-mapping-class.js +15 -0
  109. package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
  110. package/dist/models/resolved-commission-account-mapping-class.js +21 -0
  111. package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
  112. package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
  113. package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
  114. package/dist/models/update-commission-type-account-body-dto.js +15 -0
  115. package/dist/models/update-financial-account-body-dto.d.ts +48 -0
  116. package/dist/models/update-financial-account-body-dto.js +15 -0
  117. package/dist/models/update-financial-account-response-class.d.ts +25 -0
  118. package/dist/models/update-financial-account-response-class.js +15 -0
  119. package/models/account-mapping-class.ts +3 -1
  120. package/models/accounting-config-class.ts +14 -0
  121. package/models/accounting-config-data-dto-default-account-mappings.ts +9 -1
  122. package/models/booking-entry-class.ts +35 -0
  123. package/models/commission-account-mapping-class.ts +55 -0
  124. package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
  125. package/models/commission-agreement-partner-class.ts +36 -0
  126. package/models/commission-agreement-with-account-mapping-class.ts +49 -0
  127. package/models/commission-type-account-mapping-class.ts +37 -0
  128. package/models/create-booking-entry-request-dto.ts +24 -0
  129. package/models/create-financial-account-request-dto.ts +9 -1
  130. package/models/create-or-correct-opening-balance-dto.ts +31 -0
  131. package/models/create-or-correct-opening-balance-response-class.ts +31 -0
  132. package/models/financial-account-class.ts +25 -1
  133. package/models/financial-transaction-class.ts +6 -0
  134. package/models/financial-transaction-data-dto.ts +7 -0
  135. package/models/get-activation-snapshot-response-class.ts +31 -0
  136. package/models/index.ts +33 -1
  137. package/models/list-commission-account-mappings-response-class.ts +49 -0
  138. package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
  139. package/models/list-commission-type-account-mappings-response-class.ts +49 -0
  140. package/models/list-product-account-mappings-response-class.ts +49 -0
  141. package/models/list-products-with-account-mappings-response-class.ts +49 -0
  142. package/models/opening-balance-item-dto.ts +50 -0
  143. package/models/personal-account-class.ts +6 -0
  144. package/models/post-financial-event-request-dto.ts +54 -0
  145. package/models/post-financial-event-response-class.ts +31 -0
  146. package/models/premium-item-account-mapping-class.ts +43 -0
  147. package/models/product-account-mapping-class.ts +67 -0
  148. package/models/product-account-mapping-detail-class.ts +62 -0
  149. package/models/product-risk-carrier-class.ts +48 -0
  150. package/models/product-version-account-mapping-detail-class.ts +56 -0
  151. package/models/product-version-with-account-mappings-class.ts +48 -0
  152. package/models/product-with-account-mappings-class.ts +55 -0
  153. package/models/put-premium-item-account-body-dto.ts +30 -0
  154. package/models/put-product-category-account-body-dto.ts +30 -0
  155. package/models/put-product-risk-carrier-body-dto.ts +30 -0
  156. package/models/put-product-version-category-account-body-dto.ts +30 -0
  157. package/models/resolved-account-mapping-class.ts +37 -0
  158. package/models/resolved-commission-account-mapping-class.ts +46 -0
  159. package/models/update-commission-agreement-account-body-dto.ts +30 -0
  160. package/models/update-commission-type-account-body-dto.ts +30 -0
  161. package/models/update-financial-account-body-dto.ts +54 -0
  162. package/models/update-financial-account-response-class.ts +31 -0
  163. package/package.json +2 -2
  164. package/dist/models/get-subledger-settings-response-class.d.ts +0 -36
  165. package/models/get-subledger-settings-response-class.ts +0 -42
  166. /package/dist/models/{get-subledger-settings-response-class.js → commission-account-mapping-class.js} +0 -0
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { FinancialAccountClass } from './financial-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ResolvedAccountMappingClass
22
+ */
23
+ export interface ResolvedAccountMappingClass {
24
+ /**
25
+ * The linked account\'s current state, read live.
26
+ * @type {FinancialAccountClass}
27
+ * @memberof ResolvedAccountMappingClass
28
+ */
29
+ 'financialAccount': FinancialAccountClass;
30
+ /**
31
+ * Which level of the cascade produced this value: CATEGORY_DEFAULT, PRODUCT, PRODUCT_VERSION, or PREMIUM_ITEM. Audit/debug only.
32
+ * @type {string}
33
+ * @memberof ResolvedAccountMappingClass
34
+ */
35
+ 'source': string;
36
+ }
37
+
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { FinancialAccountClass } from './financial-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ResolvedCommissionAccountMappingClass
22
+ */
23
+ export interface ResolvedCommissionAccountMappingClass {
24
+ /**
25
+ * The linked account\'s current state, read live.
26
+ * @type {FinancialAccountClass}
27
+ * @memberof ResolvedCommissionAccountMappingClass
28
+ */
29
+ 'financialAccount': FinancialAccountClass;
30
+ /**
31
+ * Which level of the cascade produced this value.
32
+ * @type {string}
33
+ * @memberof ResolvedCommissionAccountMappingClass
34
+ */
35
+ 'source': ResolvedCommissionAccountMappingClassSourceEnum;
36
+ }
37
+
38
+ export const ResolvedCommissionAccountMappingClassSourceEnum = {
39
+ CategoryDefault: 'CATEGORY_DEFAULT',
40
+ Type: 'TYPE',
41
+ Agreement: 'AGREEMENT'
42
+ } as const;
43
+
44
+ export type ResolvedCommissionAccountMappingClassSourceEnum = typeof ResolvedCommissionAccountMappingClassSourceEnum[keyof typeof ResolvedCommissionAccountMappingClassSourceEnum];
45
+
46
+
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateCommissionAgreementAccountBodyDto
21
+ */
22
+ export interface UpdateCommissionAgreementAccountBodyDto {
23
+ /**
24
+ * Code of the financial account to use as this override. Must belong to the REVENUE_FINAL_ACC category (MVP scope).
25
+ * @type {string}
26
+ * @memberof UpdateCommissionAgreementAccountBodyDto
27
+ */
28
+ 'financialAccountCode': string;
29
+ }
30
+
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateCommissionTypeAccountBodyDto
21
+ */
22
+ export interface UpdateCommissionTypeAccountBodyDto {
23
+ /**
24
+ * Code of the financial account to use as the default. Must belong to the REVENUE_FINAL_ACC category.
25
+ * @type {string}
26
+ * @memberof UpdateCommissionTypeAccountBodyDto
27
+ */
28
+ 'financialAccountCode': string;
29
+ }
30
+
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateFinancialAccountBodyDto
21
+ */
22
+ export interface UpdateFinancialAccountBodyDto {
23
+ /**
24
+ * The new name of the account. Always editable.
25
+ * @type {string}
26
+ * @memberof UpdateFinancialAccountBodyDto
27
+ */
28
+ 'name'?: string;
29
+ /**
30
+ * The new description of the account. Always editable.
31
+ * @type {string}
32
+ * @memberof UpdateFinancialAccountBodyDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * The new account number. Only editable while the account is not locked (isLocked: false). Resubmitting the current value is always allowed, even while locked.
37
+ * @type {string}
38
+ * @memberof UpdateFinancialAccountBodyDto
39
+ */
40
+ 'financialAccountNumber'?: string;
41
+ /**
42
+ * Set true to make this the default account for its (pool-category) functional category — this demotes the previous default. Setting false is rejected: set a different account as default instead.
43
+ * @type {boolean}
44
+ * @memberof UpdateFinancialAccountBodyDto
45
+ */
46
+ 'isDefault'?: boolean;
47
+ /**
48
+ * The connected bank account this account books, given as its code. Send an empty string to unlink; omit the field to leave the current link untouched. Permitted only on bank_acc accounts, and rejected if another financial account already links that bank account. Editable at any time, including once the account is locked — changes apply to later postings only and never rewrite existing ones.
49
+ * @type {string}
50
+ * @memberof UpdateFinancialAccountBodyDto
51
+ */
52
+ 'linkedBankAccountCode'?: string;
53
+ }
54
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { FinancialAccountClass } from './financial-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateFinancialAccountResponseClass
22
+ */
23
+ export interface UpdateFinancialAccountResponseClass {
24
+ /**
25
+ * The financial account response.
26
+ * @type {FinancialAccountClass}
27
+ * @memberof UpdateFinancialAccountResponseClass
28
+ */
29
+ 'financialAccount': FinancialAccountClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/accounting-sdk-node",
3
- "version": "1.32.1-beta.8",
3
+ "version": "1.32.1-beta.81",
4
4
  "description": "OpenAPI client for @emilgroup/accounting-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "1.18.0",
21
+ "axios": "1.20.0",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },
@@ -1,36 +0,0 @@
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 GetSubledgerSettingsResponseClass
16
- */
17
- export interface GetSubledgerSettingsResponseClass {
18
- /**
19
- * The date the subledger becomes active
20
- * @type {string}
21
- * @memberof GetSubledgerSettingsResponseClass
22
- */
23
- 'activationDate': string;
24
- /**
25
- * Default tax handling, \"CARRIER_PAYS\" or \"MGA_PAYS\"
26
- * @type {string}
27
- * @memberof GetSubledgerSettingsResponseClass
28
- */
29
- 'defaultTaxHandling': string;
30
- /**
31
- * Settlement recognition mode, \"SOLL\" or \"IST\"
32
- * @type {string}
33
- * @memberof GetSubledgerSettingsResponseClass
34
- */
35
- 'settlementRecognitionMode': string;
36
- }
@@ -1,42 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface GetSubledgerSettingsResponseClass
21
- */
22
- export interface GetSubledgerSettingsResponseClass {
23
- /**
24
- * The date the subledger becomes active
25
- * @type {string}
26
- * @memberof GetSubledgerSettingsResponseClass
27
- */
28
- 'activationDate': string;
29
- /**
30
- * Default tax handling, \"CARRIER_PAYS\" or \"MGA_PAYS\"
31
- * @type {string}
32
- * @memberof GetSubledgerSettingsResponseClass
33
- */
34
- 'defaultTaxHandling': string;
35
- /**
36
- * Settlement recognition mode, \"SOLL\" or \"IST\"
37
- * @type {string}
38
- * @memberof GetSubledgerSettingsResponseClass
39
- */
40
- 'settlementRecognitionMode': string;
41
- }
42
-