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

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 (210) hide show
  1. package/.openapi-generator/FILES +50 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +862 -0
  4. package/api/booking-entries-api.ts +234 -10
  5. package/api/commission-account-mappings-api.ts +1207 -0
  6. package/api/financial-accounts-api.ts +154 -24
  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 +1715 -0
  11. package/api.ts +6 -0
  12. package/base.ts +174 -41
  13. package/common.ts +3 -2
  14. package/configuration.ts +20 -0
  15. package/dist/api/accounting-configs-api.d.ts +451 -0
  16. package/dist/api/accounting-configs-api.js +881 -0
  17. package/dist/api/booking-entries-api.d.ts +121 -7
  18. package/dist/api/booking-entries-api.js +211 -14
  19. package/dist/api/commission-account-mappings-api.d.ts +685 -0
  20. package/dist/api/commission-account-mappings-api.js +1022 -0
  21. package/dist/api/financial-accounts-api.d.ts +86 -20
  22. package/dist/api/financial-accounts-api.js +137 -27
  23. package/dist/api/financial-transactions-api.d.ts +2 -2
  24. package/dist/api/financial-transactions-api.js +8 -6
  25. package/dist/api/health-api.d.ts +1 -1
  26. package/dist/api/number-ranges-api.d.ts +4 -4
  27. package/dist/api/number-ranges-api.js +22 -14
  28. package/dist/api/personal-accounts-api.d.ts +4 -4
  29. package/dist/api/personal-accounts-api.js +22 -14
  30. package/dist/api/product-account-mappings-api.d.ts +972 -0
  31. package/dist/api/product-account-mappings-api.js +1447 -0
  32. package/dist/api.d.ts +3 -0
  33. package/dist/api.js +3 -0
  34. package/dist/base.d.ts +24 -0
  35. package/dist/base.js +178 -59
  36. package/dist/common.d.ts +1 -1
  37. package/dist/common.js +1 -0
  38. package/dist/configuration.d.ts +17 -0
  39. package/dist/configuration.js +2 -0
  40. package/dist/models/account-mapping-class.d.ts +73 -0
  41. package/dist/models/account-mapping-class.js +40 -0
  42. package/dist/models/accounting-category-class.d.ts +45 -0
  43. package/dist/models/accounting-category-class.js +24 -0
  44. package/dist/models/accounting-config-class.d.ts +78 -0
  45. package/dist/models/accounting-config-class.js +20 -0
  46. package/dist/models/accounting-config-data-class.d.ts +38 -0
  47. package/dist/models/accounting-config-data-class.js +15 -0
  48. package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +46 -0
  49. package/dist/models/accounting-config-data-dto-accounting-configuration.js +24 -0
  50. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +79 -0
  51. package/dist/models/accounting-config-data-dto-default-account-mappings.js +40 -0
  52. package/dist/models/accounting-config-data-dto.d.ts +38 -0
  53. package/dist/models/accounting-config-data-dto.js +15 -0
  54. package/dist/models/accounting-configuration-class.d.ts +36 -0
  55. package/dist/models/accounting-configuration-class.js +15 -0
  56. package/dist/models/booking-entry-class.d.ts +34 -0
  57. package/dist/models/booking-entry-class.js +10 -1
  58. package/dist/models/commission-account-mapping-class.d.ts +49 -0
  59. package/dist/models/commission-account-mapping-class.js +15 -0
  60. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
  61. package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
  62. package/dist/models/commission-agreement-partner-class.d.ts +30 -0
  63. package/dist/models/commission-agreement-partner-class.js +15 -0
  64. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
  65. package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
  66. package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
  67. package/dist/models/commission-type-account-mapping-class.js +15 -0
  68. package/dist/models/create-and-enable-subledger-request-dto.d.ts +25 -0
  69. package/dist/models/create-and-enable-subledger-request-dto.js +15 -0
  70. package/dist/models/create-and-enable-subledger-response-class.d.ts +25 -0
  71. package/dist/models/create-and-enable-subledger-response-class.js +15 -0
  72. package/dist/models/create-booking-entry-request-dto.d.ts +25 -2
  73. package/dist/models/create-booking-entry-request-dto.js +9 -0
  74. package/dist/models/create-financial-account-request-dto.d.ts +50 -5
  75. package/dist/models/create-financial-account-request-dto.js +26 -2
  76. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  77. package/dist/models/create-number-range-request-dto.js +4 -4
  78. package/dist/models/create-or-correct-opening-balance-dto.d.ts +25 -0
  79. package/dist/models/create-or-correct-opening-balance-dto.js +15 -0
  80. package/dist/models/create-or-correct-opening-balance-response-class.d.ts +25 -0
  81. package/dist/models/create-or-correct-opening-balance-response-class.js +15 -0
  82. package/dist/models/create-personal-account-request-dto.d.ts +14 -6
  83. package/dist/models/create-personal-account-request-dto.js +3 -3
  84. package/dist/models/export-accounting-config-response-class.d.ts +25 -0
  85. package/dist/models/export-accounting-config-response-class.js +15 -0
  86. package/dist/models/financial-account-class.d.ts +49 -2
  87. package/dist/models/financial-account-class.js +6 -2
  88. package/dist/models/financial-transaction-class.d.ts +6 -0
  89. package/dist/models/financial-transaction-data-dto.d.ts +11 -2
  90. package/dist/models/financial-transaction-data-dto.js +1 -0
  91. package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
  92. package/dist/models/get-accounting-categories-response-class.js +15 -0
  93. package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
  94. package/dist/models/get-activation-snapshot-response-class.js +15 -0
  95. package/dist/models/index.d.ts +47 -0
  96. package/dist/models/index.js +47 -0
  97. package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
  98. package/dist/models/list-commission-account-mappings-response-class.js +15 -0
  99. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
  100. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
  101. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
  102. package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
  103. package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
  104. package/dist/models/list-product-account-mappings-response-class.js +15 -0
  105. package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
  106. package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
  107. package/dist/models/opening-balance-item-dto.d.ts +41 -0
  108. package/dist/models/opening-balance-item-dto.js +20 -0
  109. package/dist/models/personal-account-class.d.ts +8 -2
  110. package/dist/models/personal-account-class.js +1 -1
  111. package/dist/models/post-financial-event-request-dto.d.ts +45 -0
  112. package/dist/models/post-financial-event-request-dto.js +24 -0
  113. package/dist/models/post-financial-event-response-class.d.ts +25 -0
  114. package/dist/models/post-financial-event-response-class.js +15 -0
  115. package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
  116. package/dist/models/premium-item-account-mapping-class.js +15 -0
  117. package/dist/models/product-account-mapping-class.d.ts +61 -0
  118. package/dist/models/product-account-mapping-class.js +15 -0
  119. package/dist/models/product-account-mapping-detail-class.d.ts +56 -0
  120. package/dist/models/product-account-mapping-detail-class.js +15 -0
  121. package/dist/models/product-risk-carrier-class.d.ts +42 -0
  122. package/dist/models/product-risk-carrier-class.js +15 -0
  123. package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
  124. package/dist/models/product-version-account-mapping-detail-class.js +15 -0
  125. package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
  126. package/dist/models/product-version-with-account-mappings-class.js +15 -0
  127. package/dist/models/product-with-account-mappings-class.d.ts +49 -0
  128. package/dist/models/product-with-account-mappings-class.js +15 -0
  129. package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
  130. package/dist/models/put-premium-item-account-body-dto.js +15 -0
  131. package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
  132. package/dist/models/put-product-category-account-body-dto.js +15 -0
  133. package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
  134. package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
  135. package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
  136. package/dist/models/put-product-version-category-account-body-dto.js +15 -0
  137. package/dist/models/resolved-account-mapping-class.d.ts +31 -0
  138. package/dist/models/resolved-account-mapping-class.js +15 -0
  139. package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
  140. package/dist/models/resolved-commission-account-mapping-class.js +21 -0
  141. package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
  142. package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
  143. package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
  144. package/dist/models/update-commission-type-account-body-dto.js +15 -0
  145. package/dist/models/update-financial-account-body-dto.d.ts +48 -0
  146. package/dist/models/update-financial-account-body-dto.js +15 -0
  147. package/dist/models/update-financial-account-response-class.d.ts +25 -0
  148. package/dist/models/update-financial-account-response-class.js +15 -0
  149. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  150. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  151. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  152. package/dist/models/validate-accounting-config-response-class.js +15 -0
  153. package/models/account-mapping-class.ts +82 -0
  154. package/models/accounting-category-class.ts +54 -0
  155. package/models/accounting-config-class.ts +87 -0
  156. package/models/accounting-config-data-class.ts +44 -0
  157. package/models/accounting-config-data-dto-accounting-configuration.ts +56 -0
  158. package/models/accounting-config-data-dto-default-account-mappings.ts +88 -0
  159. package/models/accounting-config-data-dto.ts +44 -0
  160. package/models/accounting-configuration-class.ts +42 -0
  161. package/models/booking-entry-class.ts +35 -0
  162. package/models/commission-account-mapping-class.ts +55 -0
  163. package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
  164. package/models/commission-agreement-partner-class.ts +36 -0
  165. package/models/commission-agreement-with-account-mapping-class.ts +49 -0
  166. package/models/commission-type-account-mapping-class.ts +37 -0
  167. package/models/create-and-enable-subledger-request-dto.ts +31 -0
  168. package/models/create-and-enable-subledger-response-class.ts +31 -0
  169. package/models/create-booking-entry-request-dto.ts +26 -2
  170. package/models/create-financial-account-request-dto.ts +49 -5
  171. package/models/create-number-range-request-dto.ts +4 -4
  172. package/models/create-or-correct-opening-balance-dto.ts +31 -0
  173. package/models/create-or-correct-opening-balance-response-class.ts +31 -0
  174. package/models/create-personal-account-request-dto.ts +12 -6
  175. package/models/export-accounting-config-response-class.ts +31 -0
  176. package/models/financial-account-class.ts +50 -2
  177. package/models/financial-transaction-class.ts +6 -0
  178. package/models/financial-transaction-data-dto.ts +9 -2
  179. package/models/get-accounting-categories-response-class.ts +31 -0
  180. package/models/get-activation-snapshot-response-class.ts +31 -0
  181. package/models/index.ts +47 -0
  182. package/models/list-commission-account-mappings-response-class.ts +49 -0
  183. package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
  184. package/models/list-commission-type-account-mappings-response-class.ts +49 -0
  185. package/models/list-product-account-mappings-response-class.ts +49 -0
  186. package/models/list-products-with-account-mappings-response-class.ts +49 -0
  187. package/models/opening-balance-item-dto.ts +50 -0
  188. package/models/personal-account-class.ts +8 -2
  189. package/models/post-financial-event-request-dto.ts +54 -0
  190. package/models/post-financial-event-response-class.ts +31 -0
  191. package/models/premium-item-account-mapping-class.ts +43 -0
  192. package/models/product-account-mapping-class.ts +67 -0
  193. package/models/product-account-mapping-detail-class.ts +62 -0
  194. package/models/product-risk-carrier-class.ts +48 -0
  195. package/models/product-version-account-mapping-detail-class.ts +56 -0
  196. package/models/product-version-with-account-mappings-class.ts +48 -0
  197. package/models/product-with-account-mappings-class.ts +55 -0
  198. package/models/put-premium-item-account-body-dto.ts +30 -0
  199. package/models/put-product-category-account-body-dto.ts +30 -0
  200. package/models/put-product-risk-carrier-body-dto.ts +30 -0
  201. package/models/put-product-version-category-account-body-dto.ts +30 -0
  202. package/models/resolved-account-mapping-class.ts +37 -0
  203. package/models/resolved-commission-account-mapping-class.ts +46 -0
  204. package/models/update-commission-agreement-account-body-dto.ts +30 -0
  205. package/models/update-commission-type-account-body-dto.ts +30 -0
  206. package/models/update-financial-account-body-dto.ts +54 -0
  207. package/models/update-financial-account-response-class.ts +31 -0
  208. package/models/validate-accounting-config-request-dto.ts +31 -0
  209. package/models/validate-accounting-config-response-class.ts +36 -0
  210. package/package.json +2 -2
@@ -0,0 +1,30 @@
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 CommissionAgreementPartnerClass
16
+ */
17
+ export interface CommissionAgreementPartnerClass {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CommissionAgreementPartnerClass
22
+ */
23
+ 'code': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CommissionAgreementPartnerClass
28
+ */
29
+ 'name': string;
30
+ }
@@ -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,43 @@
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 { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAgreementWithAccountMappingClass
17
+ */
18
+ export interface CommissionAgreementWithAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CommissionAgreementWithAccountMappingClass
23
+ */
24
+ 'commissionAgreementCode': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CommissionAgreementWithAccountMappingClass
29
+ */
30
+ 'commissionAgreementNumber': string;
31
+ /**
32
+ * The agreement\'s main partner, read from commissionservice (CommissionAgreement.metadata.mainPartner). Omitted when the agreement has none.
33
+ * @type {CommissionAgreementPartnerClass}
34
+ * @memberof CommissionAgreementWithAccountMappingClass
35
+ */
36
+ 'mainPartner'?: CommissionAgreementPartnerClass;
37
+ /**
38
+ * True if any commission type has an agreement-level override for this agreement.
39
+ * @type {boolean}
40
+ * @memberof CommissionAgreementWithAccountMappingClass
41
+ */
42
+ 'hasCustomMapping': boolean;
43
+ }
@@ -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,31 @@
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 { ResolvedCommissionAccountMappingClass } from './resolved-commission-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionTypeAccountMappingClass
17
+ */
18
+ export interface CommissionTypeAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CommissionTypeAccountMappingClass
23
+ */
24
+ 'commissionType': string;
25
+ /**
26
+ *
27
+ * @type {ResolvedCommissionAccountMappingClass}
28
+ * @memberof CommissionTypeAccountMappingClass
29
+ */
30
+ 'accountMapping': ResolvedCommissionAccountMappingClass;
31
+ }
@@ -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 { AccountingConfigDataDto } from './accounting-config-data-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateAndEnableSubledgerRequestDto
17
+ */
18
+ export interface CreateAndEnableSubledgerRequestDto {
19
+ /**
20
+ * Configuration for the accounting system.
21
+ * @type {AccountingConfigDataDto}
22
+ * @memberof CreateAndEnableSubledgerRequestDto
23
+ */
24
+ 'accountingConfigData': AccountingConfigDataDto;
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,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 { AccountingConfigClass } from './accounting-config-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateAndEnableSubledgerResponseClass
17
+ */
18
+ export interface CreateAndEnableSubledgerResponseClass {
19
+ /**
20
+ * The accounting configuration created
21
+ * @type {AccountingConfigClass}
22
+ * @memberof CreateAndEnableSubledgerResponseClass
23
+ */
24
+ 'accountingConfig'?: AccountingConfigClass;
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 });
@@ -40,6 +40,18 @@ export interface CreateBookingEntryRequestDto {
40
40
  * @memberof CreateBookingEntryRequestDto
41
41
  */
42
42
  'externalNumber'?: string;
43
+ /**
44
+ * The code of the source entity this entry was posted for, such as an invoice or payment code. Must be provided together with sourceEntityType.
45
+ * @type {string}
46
+ * @memberof CreateBookingEntryRequestDto
47
+ */
48
+ 'sourceEntityCode'?: string;
49
+ /**
50
+ * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand cannot be typed invoice.
51
+ * @type {string}
52
+ * @memberof CreateBookingEntryRequestDto
53
+ */
54
+ 'sourceEntityType'?: CreateBookingEntryRequestDtoSourceEntityTypeEnum;
43
55
  /**
44
56
  * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
45
57
  * @type {string}
@@ -48,10 +60,12 @@ export interface CreateBookingEntryRequestDto {
48
60
  'description': string;
49
61
  /**
50
62
  * Optional key-value pairs containing additional custom information for the booking entry. These fields may include document numbers, reasons, or other contextual metadata.
51
- * @type {object}
63
+ * @type {{ [key: string]: object; }}
52
64
  * @memberof CreateBookingEntryRequestDto
53
65
  */
54
- 'customFields'?: object;
66
+ 'customFields'?: {
67
+ [key: string]: object;
68
+ };
55
69
  /**
56
70
  * An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
57
71
  * @type {Array<FinancialTransactionDataDto>}
@@ -59,3 +73,12 @@ export interface CreateBookingEntryRequestDto {
59
73
  */
60
74
  'financialTransactions': Array<FinancialTransactionDataDto>;
61
75
  }
76
+ export declare const CreateBookingEntryRequestDtoSourceEntityTypeEnum: {
77
+ readonly Payment: "payment";
78
+ readonly Credit: "credit";
79
+ readonly CreditAllocation: "credit_allocation";
80
+ readonly ClaimRegulation: "claim_regulation";
81
+ readonly Commission: "commission";
82
+ readonly Manual: "manual";
83
+ };
84
+ export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
@@ -13,3 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = void 0;
17
+ exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
18
+ Payment: 'payment',
19
+ Credit: 'credit',
20
+ CreditAllocation: 'credit_allocation',
21
+ ClaimRegulation: 'claim_regulation',
22
+ Commission: 'commission',
23
+ Manual: 'manual'
24
+ };
@@ -47,10 +47,12 @@ export interface CreateFinancialAccountRequestDto {
47
47
  'parentId'?: number;
48
48
  /**
49
49
  * Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
50
- * @type {object}
50
+ * @type {{ [key: string]: object; }}
51
51
  * @memberof CreateFinancialAccountRequestDto
52
52
  */
53
- 'customFields': object;
53
+ 'customFields'?: {
54
+ [key: string]: object;
55
+ };
54
56
  /**
55
57
  * A detailed description of the financial account
56
58
  * @type {string}
@@ -64,18 +66,61 @@ export interface CreateFinancialAccountRequestDto {
64
66
  */
65
67
  'clearable': boolean;
66
68
  /**
67
- * Not used on this release line. Declared so the DTO matches the generated proto interface. Empty string means unset.
69
+ * Whether the financial account is a control account
70
+ * @type {boolean}
71
+ * @memberof CreateFinancialAccountRequestDto
72
+ */
73
+ 'isControlAccount': boolean;
74
+ /**
75
+ * The functional category of the account. Empty string means unset.
68
76
  * @type {string}
69
77
  * @memberof CreateFinancialAccountRequestDto
70
78
  */
71
- 'functionalCategory'?: string;
79
+ 'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
80
+ /**
81
+ * Whether this account is the default for its functional category. Only meaningful for pool categories. Setting true on creation will clear isDefault on any other account in the same category.
82
+ * @type {boolean}
83
+ * @memberof CreateFinancialAccountRequestDto
84
+ */
85
+ 'isDefault'?: boolean;
86
+ /**
87
+ * The connected bank account this account books, given as its code. Permitted only on bank_acc accounts, and rejected if another financial account already links that bank account. Its IBAN is read from the bank account and returned as linkedBankAccountIban; it is never accepted here.
88
+ * @type {string}
89
+ * @memberof CreateFinancialAccountRequestDto
90
+ */
91
+ 'linkedBankAccountCode'?: string;
72
92
  }
73
93
  export declare const CreateFinancialAccountRequestDtoTypeEnum: {
74
94
  readonly Asset: "asset";
75
95
  readonly Liability: "liability";
76
96
  readonly Equity: "equity";
77
- readonly Revenue: "revenue";
97
+ readonly Income: "income";
78
98
  readonly Expense: "expense";
79
99
  readonly OpeningBalance: "opening_balance";
80
100
  };
81
101
  export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
102
+ export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
103
+ readonly BankAcc: "bank_acc";
104
+ readonly TaxPendingAcc: "tax_pending_acc";
105
+ readonly TaxForwardedAcc: "tax_forwarded_acc";
106
+ readonly TaxDueAcc: "tax_due_acc";
107
+ readonly VatPendingAcc: "vat_pending_acc";
108
+ readonly VatDueAcc: "vat_due_acc";
109
+ readonly RevenueBufferAcc: "revenue_buffer_acc";
110
+ readonly RevenueFinalAcc: "revenue_final_acc";
111
+ readonly ClaimExpenseAcc: "claim_expense_acc";
112
+ readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
113
+ readonly WriteOffExpAcc: "write_off_exp_acc";
114
+ readonly RoundingDiffAcc: "rounding_diff_acc";
115
+ readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
116
+ readonly FeeRevenueAcc: "fee_revenue_acc";
117
+ readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
118
+ readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
119
+ readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
120
+ readonly BrokerCtrlAcc: "broker_ctrl_acc";
121
+ readonly CarrierCtrlAcc: "carrier_ctrl_acc";
122
+ readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
123
+ readonly ClaimsPayableAcc: "claims_payable_acc";
124
+ readonly CarrierReceivableAcc: "carrier_receivable_acc";
125
+ };
126
+ export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
@@ -13,12 +13,36 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
16
+ exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
17
17
  exports.CreateFinancialAccountRequestDtoTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Revenue: 'revenue',
21
+ Income: 'income',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };
25
+ exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
26
+ BankAcc: 'bank_acc',
27
+ TaxPendingAcc: 'tax_pending_acc',
28
+ TaxForwardedAcc: 'tax_forwarded_acc',
29
+ TaxDueAcc: 'tax_due_acc',
30
+ VatPendingAcc: 'vat_pending_acc',
31
+ VatDueAcc: 'vat_due_acc',
32
+ RevenueBufferAcc: 'revenue_buffer_acc',
33
+ RevenueFinalAcc: 'revenue_final_acc',
34
+ ClaimExpenseAcc: 'claim_expense_acc',
35
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
36
+ WriteOffExpAcc: 'write_off_exp_acc',
37
+ RoundingDiffAcc: 'rounding_diff_acc',
38
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
39
+ FeeRevenueAcc: 'fee_revenue_acc',
40
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
41
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
42
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
43
+ BrokerCtrlAcc: 'broker_ctrl_acc',
44
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
45
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
46
+ ClaimsPayableAcc: 'claims_payable_acc',
47
+ CarrierReceivableAcc: 'carrier_receivable_acc'
48
+ };
@@ -41,13 +41,13 @@ export interface CreateNumberRangeRequestDto {
41
41
  'accountType': CreateNumberRangeRequestDtoAccountTypeEnum;
42
42
  }
43
43
  export declare const CreateNumberRangeRequestDtoAccountTypeEnum: {
44
- readonly Customer: "customer";
45
- readonly Supplier: "supplier";
46
- readonly Employee: "employee";
44
+ readonly Policyholder: "policyholder";
45
+ readonly RiskCarrier: "risk_carrier";
46
+ readonly Broker: "broker";
47
47
  readonly Asset: "asset";
48
48
  readonly Liability: "liability";
49
49
  readonly Equity: "equity";
50
- readonly Revenue: "revenue";
50
+ readonly Income: "income";
51
51
  readonly Expense: "expense";
52
52
  };
53
53
  export type CreateNumberRangeRequestDtoAccountTypeEnum = typeof CreateNumberRangeRequestDtoAccountTypeEnum[keyof typeof CreateNumberRangeRequestDtoAccountTypeEnum];
@@ -15,12 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateNumberRangeRequestDtoAccountTypeEnum = void 0;
17
17
  exports.CreateNumberRangeRequestDtoAccountTypeEnum = {
18
- Customer: 'customer',
19
- Supplier: 'supplier',
20
- Employee: 'employee',
18
+ Policyholder: 'policyholder',
19
+ RiskCarrier: 'risk_carrier',
20
+ Broker: 'broker',
21
21
  Asset: 'asset',
22
22
  Liability: 'liability',
23
23
  Equity: 'equity',
24
- Revenue: 'revenue',
24
+ Income: 'income',
25
25
  Expense: 'expense'
26
26
  };
@@ -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 { OpeningBalanceItemDto } from './opening-balance-item-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateOrCorrectOpeningBalanceDto
17
+ */
18
+ export interface CreateOrCorrectOpeningBalanceDto {
19
+ /**
20
+ * The confirmed opening balance for each account — a first-time entry for one with no history yet, a restatement for one that already has some. The service derives the delta itself against whatever balance it reads (implicitly zero for a first-time entry).
21
+ * @type {Array<OpeningBalanceItemDto>}
22
+ * @memberof CreateOrCorrectOpeningBalanceDto
23
+ */
24
+ 'openingBalances': Array<OpeningBalanceItemDto>;
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,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 { BookingEntryClass } from './booking-entry-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateOrCorrectOpeningBalanceResponseClass
17
+ */
18
+ export interface CreateOrCorrectOpeningBalanceResponseClass {
19
+ /**
20
+ * The booking entries created — one per item whose confirmed balance differed from its current one (implicitly zero for an account with no history yet). Empty when every item\'s confirmed balance already matched: nothing was booked, and that is success, not an error.
21
+ * @type {Array<BookingEntryClass>}
22
+ * @memberof CreateOrCorrectOpeningBalanceResponseClass
23
+ */
24
+ 'bookingEntries': Array<BookingEntryClass>;
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 });
@@ -40,21 +40,29 @@ export interface CreatePersonalAccountRequestDto {
40
40
  */
41
41
  'partnerNumber': string;
42
42
  /**
43
- * The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
43
+ * The partner code of the account
44
+ * @type {string}
45
+ * @memberof CreatePersonalAccountRequestDto
46
+ */
47
+ 'partnerCode': string;
48
+ /**
49
+ * The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
44
50
  * @type {string}
45
51
  * @memberof CreatePersonalAccountRequestDto
46
52
  */
47
53
  'type': CreatePersonalAccountRequestDtoTypeEnum;
48
54
  /**
49
55
  * Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
50
- * @type {object}
56
+ * @type {{ [key: string]: object; }}
51
57
  * @memberof CreatePersonalAccountRequestDto
52
58
  */
53
- 'customFields'?: object;
59
+ 'customFields'?: {
60
+ [key: string]: object;
61
+ };
54
62
  }
55
63
  export declare const CreatePersonalAccountRequestDtoTypeEnum: {
56
- readonly Customer: "customer";
57
- readonly Supplier: "supplier";
58
- readonly Employee: "employee";
64
+ readonly Policyholder: "policyholder";
65
+ readonly RiskCarrier: "risk_carrier";
66
+ readonly Broker: "broker";
59
67
  };
60
68
  export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreatePersonalAccountRequestDtoTypeEnum = void 0;
17
17
  exports.CreatePersonalAccountRequestDtoTypeEnum = {
18
- Customer: 'customer',
19
- Supplier: 'supplier',
20
- Employee: 'employee'
18
+ Policyholder: 'policyholder',
19
+ RiskCarrier: 'risk_carrier',
20
+ Broker: 'broker'
21
21
  };
@@ -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 { AccountingConfigClass } from './accounting-config-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ExportAccountingConfigResponseClass
17
+ */
18
+ export interface ExportAccountingConfigResponseClass {
19
+ /**
20
+ * The accounting configuration used to enable andactivate the subledger
21
+ * @type {AccountingConfigClass}
22
+ * @memberof ExportAccountingConfigResponseClass
23
+ */
24
+ 'accountingConfig'?: AccountingConfigClass;
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 });