@emilgroup/accounting-sdk-node 1.32.1-beta.54 → 1.32.1-beta.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/.openapi-generator/FILES +48 -0
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +852 -0
  4. package/api/booking-entries-api.ts +214 -0
  5. package/api/commission-account-mappings-api.ts +1195 -0
  6. package/api/financial-accounts-api.ts +136 -16
  7. package/api/product-account-mappings-api.ts +1474 -0
  8. package/api.ts +6 -0
  9. package/dist/api/accounting-configs-api.d.ts +451 -0
  10. package/dist/api/accounting-configs-api.js +863 -0
  11. package/dist/api/booking-entries-api.d.ts +114 -0
  12. package/dist/api/booking-entries-api.js +186 -0
  13. package/dist/api/commission-account-mappings-api.d.ts +685 -0
  14. package/dist/api/commission-account-mappings-api.js +1008 -0
  15. package/dist/api/financial-accounts-api.d.ts +82 -16
  16. package/dist/api/financial-accounts-api.js +112 -13
  17. package/dist/api/product-account-mappings-api.d.ts +851 -0
  18. package/dist/api/product-account-mappings-api.js +1228 -0
  19. package/dist/api.d.ts +3 -0
  20. package/dist/api.js +3 -0
  21. package/dist/models/account-mapping-class.d.ts +71 -0
  22. package/dist/models/account-mapping-class.js +38 -0
  23. package/dist/models/accounting-category-class.d.ts +45 -0
  24. package/dist/models/accounting-category-class.js +24 -0
  25. package/dist/models/accounting-config-class.d.ts +78 -0
  26. package/dist/models/accounting-config-class.js +20 -0
  27. package/dist/models/accounting-config-data-class.d.ts +38 -0
  28. package/dist/models/accounting-config-data-class.js +15 -0
  29. package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +46 -0
  30. package/dist/models/accounting-config-data-dto-accounting-configuration.js +24 -0
  31. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +77 -0
  32. package/dist/models/accounting-config-data-dto-default-account-mappings.js +38 -0
  33. package/dist/models/accounting-config-data-dto.d.ts +38 -0
  34. package/dist/models/accounting-config-data-dto.js +15 -0
  35. package/dist/models/accounting-configuration-class.d.ts +36 -0
  36. package/dist/models/accounting-configuration-class.js +15 -0
  37. package/dist/models/booking-entry-class.d.ts +20 -0
  38. package/dist/models/booking-entry-class.js +8 -1
  39. package/dist/models/commission-account-mapping-class.d.ts +49 -0
  40. package/dist/models/commission-account-mapping-class.js +15 -0
  41. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
  42. package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
  43. package/dist/models/commission-agreement-partner-class.d.ts +30 -0
  44. package/dist/models/commission-agreement-partner-class.js +15 -0
  45. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
  46. package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
  47. package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
  48. package/dist/models/commission-type-account-mapping-class.js +15 -0
  49. package/dist/models/create-and-enable-subledger-request-dto.d.ts +25 -0
  50. package/dist/models/create-and-enable-subledger-request-dto.js +15 -0
  51. package/dist/models/create-and-enable-subledger-response-class.d.ts +25 -0
  52. package/dist/models/create-and-enable-subledger-response-class.js +15 -0
  53. package/dist/models/create-booking-entry-request-dto.d.ts +24 -2
  54. package/dist/models/create-booking-entry-request-dto.js +8 -0
  55. package/dist/models/create-financial-account-request-dto.d.ts +48 -5
  56. package/dist/models/create-financial-account-request-dto.js +24 -2
  57. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  58. package/dist/models/create-number-range-request-dto.js +4 -4
  59. package/dist/models/create-or-correct-opening-balance-dto.d.ts +25 -0
  60. package/dist/models/create-or-correct-opening-balance-dto.js +15 -0
  61. package/dist/models/create-or-correct-opening-balance-response-class.d.ts +25 -0
  62. package/dist/models/create-or-correct-opening-balance-response-class.js +15 -0
  63. package/dist/models/create-personal-account-request-dto.d.ts +14 -6
  64. package/dist/models/create-personal-account-request-dto.js +3 -3
  65. package/dist/models/export-accounting-config-response-class.d.ts +25 -0
  66. package/dist/models/export-accounting-config-response-class.js +15 -0
  67. package/dist/models/financial-account-class.d.ts +49 -2
  68. package/dist/models/financial-account-class.js +6 -2
  69. package/dist/models/financial-transaction-data-dto.d.ts +5 -2
  70. package/dist/models/financial-transaction-data-dto.js +1 -0
  71. package/dist/models/get-accounting-categories-response-class.d.ts +25 -0
  72. package/dist/models/get-accounting-categories-response-class.js +15 -0
  73. package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
  74. package/dist/models/get-activation-snapshot-response-class.js +15 -0
  75. package/dist/models/index.d.ts +45 -0
  76. package/dist/models/index.js +45 -0
  77. package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
  78. package/dist/models/list-commission-account-mappings-response-class.js +15 -0
  79. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
  80. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
  81. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
  82. package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
  83. package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
  84. package/dist/models/list-product-account-mappings-response-class.js +15 -0
  85. package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
  86. package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
  87. package/dist/models/opening-balance-item-dto.d.ts +41 -0
  88. package/dist/models/opening-balance-item-dto.js +20 -0
  89. package/dist/models/personal-account-class.d.ts +8 -2
  90. package/dist/models/personal-account-class.js +1 -1
  91. package/dist/models/post-financial-event-request-dto.d.ts +44 -0
  92. package/dist/models/post-financial-event-request-dto.js +23 -0
  93. package/dist/models/post-financial-event-response-class.d.ts +25 -0
  94. package/dist/models/post-financial-event-response-class.js +15 -0
  95. package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
  96. package/dist/models/premium-item-account-mapping-class.js +15 -0
  97. package/dist/models/product-account-mapping-class.d.ts +61 -0
  98. package/dist/models/product-account-mapping-class.js +15 -0
  99. package/dist/models/product-account-mapping-detail-class.d.ts +50 -0
  100. package/dist/models/product-account-mapping-detail-class.js +15 -0
  101. package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
  102. package/dist/models/product-version-account-mapping-detail-class.js +15 -0
  103. package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
  104. package/dist/models/product-version-with-account-mappings-class.js +15 -0
  105. package/dist/models/product-with-account-mappings-class.d.ts +49 -0
  106. package/dist/models/product-with-account-mappings-class.js +15 -0
  107. package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
  108. package/dist/models/put-premium-item-account-body-dto.js +15 -0
  109. package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
  110. package/dist/models/put-product-category-account-body-dto.js +15 -0
  111. package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
  112. package/dist/models/put-product-version-category-account-body-dto.js +15 -0
  113. package/dist/models/resolved-account-mapping-class.d.ts +31 -0
  114. package/dist/models/resolved-account-mapping-class.js +15 -0
  115. package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
  116. package/dist/models/resolved-commission-account-mapping-class.js +21 -0
  117. package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
  118. package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
  119. package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
  120. package/dist/models/update-commission-type-account-body-dto.js +15 -0
  121. package/dist/models/update-financial-account-body-dto.d.ts +48 -0
  122. package/dist/models/update-financial-account-body-dto.js +15 -0
  123. package/dist/models/update-financial-account-response-class.d.ts +25 -0
  124. package/dist/models/update-financial-account-response-class.js +15 -0
  125. package/dist/models/validate-accounting-config-request-dto.d.ts +25 -0
  126. package/dist/models/validate-accounting-config-request-dto.js +15 -0
  127. package/dist/models/validate-accounting-config-response-class.d.ts +30 -0
  128. package/dist/models/validate-accounting-config-response-class.js +15 -0
  129. package/models/account-mapping-class.ts +80 -0
  130. package/models/accounting-category-class.ts +54 -0
  131. package/models/accounting-config-class.ts +87 -0
  132. package/models/accounting-config-data-class.ts +44 -0
  133. package/models/accounting-config-data-dto-accounting-configuration.ts +56 -0
  134. package/models/accounting-config-data-dto-default-account-mappings.ts +86 -0
  135. package/models/accounting-config-data-dto.ts +44 -0
  136. package/models/accounting-configuration-class.ts +42 -0
  137. package/models/booking-entry-class.ts +21 -0
  138. package/models/commission-account-mapping-class.ts +55 -0
  139. package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
  140. package/models/commission-agreement-partner-class.ts +36 -0
  141. package/models/commission-agreement-with-account-mapping-class.ts +49 -0
  142. package/models/commission-type-account-mapping-class.ts +37 -0
  143. package/models/create-and-enable-subledger-request-dto.ts +31 -0
  144. package/models/create-and-enable-subledger-response-class.ts +31 -0
  145. package/models/create-booking-entry-request-dto.ts +25 -2
  146. package/models/create-financial-account-request-dto.ts +47 -5
  147. package/models/create-number-range-request-dto.ts +4 -4
  148. package/models/create-or-correct-opening-balance-dto.ts +31 -0
  149. package/models/create-or-correct-opening-balance-response-class.ts +31 -0
  150. package/models/create-personal-account-request-dto.ts +12 -6
  151. package/models/export-accounting-config-response-class.ts +31 -0
  152. package/models/financial-account-class.ts +50 -2
  153. package/models/financial-transaction-data-dto.ts +3 -2
  154. package/models/get-accounting-categories-response-class.ts +31 -0
  155. package/models/get-activation-snapshot-response-class.ts +31 -0
  156. package/models/index.ts +45 -0
  157. package/models/list-commission-account-mappings-response-class.ts +49 -0
  158. package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
  159. package/models/list-commission-type-account-mappings-response-class.ts +49 -0
  160. package/models/list-product-account-mappings-response-class.ts +49 -0
  161. package/models/list-products-with-account-mappings-response-class.ts +49 -0
  162. package/models/opening-balance-item-dto.ts +50 -0
  163. package/models/personal-account-class.ts +8 -2
  164. package/models/post-financial-event-request-dto.ts +53 -0
  165. package/models/post-financial-event-response-class.ts +31 -0
  166. package/models/premium-item-account-mapping-class.ts +43 -0
  167. package/models/product-account-mapping-class.ts +67 -0
  168. package/models/product-account-mapping-detail-class.ts +56 -0
  169. package/models/product-version-account-mapping-detail-class.ts +56 -0
  170. package/models/product-version-with-account-mappings-class.ts +48 -0
  171. package/models/product-with-account-mappings-class.ts +55 -0
  172. package/models/put-premium-item-account-body-dto.ts +30 -0
  173. package/models/put-product-category-account-body-dto.ts +30 -0
  174. package/models/put-product-version-category-account-body-dto.ts +30 -0
  175. package/models/resolved-account-mapping-class.ts +37 -0
  176. package/models/resolved-commission-account-mapping-class.ts +46 -0
  177. package/models/update-commission-agreement-account-body-dto.ts +30 -0
  178. package/models/update-commission-type-account-body-dto.ts +30 -0
  179. package/models/update-financial-account-body-dto.ts +54 -0
  180. package/models/update-financial-account-response-class.ts +31 -0
  181. package/models/validate-accounting-config-request-dto.ts +31 -0
  182. package/models/validate-accounting-config-response-class.ts +36 -0
  183. package/package.json +1 -1
@@ -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 { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListCommissionTypeAccountMappingsResponseClass
17
+ */
18
+ export interface ListCommissionTypeAccountMappingsResponseClass {
19
+ /**
20
+ * Next page token.
21
+ * @type {string}
22
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
23
+ */
24
+ 'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ *
39
+ * @type {Array<CommissionTypeAccountMappingClass>}
40
+ * @memberof ListCommissionTypeAccountMappingsResponseClass
41
+ */
42
+ 'items': Array<CommissionTypeAccountMappingClass>;
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,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 { ProductAccountMappingClass } from './product-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListProductAccountMappingsResponseClass
17
+ */
18
+ export interface ListProductAccountMappingsResponseClass {
19
+ /**
20
+ * Next page token.
21
+ * @type {string}
22
+ * @memberof ListProductAccountMappingsResponseClass
23
+ */
24
+ 'nextPageToken': string;
25
+ /**
26
+ * Total amount of items.
27
+ * @type {number}
28
+ * @memberof ListProductAccountMappingsResponseClass
29
+ */
30
+ 'totalItems': number;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListProductAccountMappingsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ *
39
+ * @type {Array<ProductAccountMappingClass>}
40
+ * @memberof ListProductAccountMappingsResponseClass
41
+ */
42
+ 'items': Array<ProductAccountMappingClass>;
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,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 { ProductWithAccountMappingsClass } from './product-with-account-mappings-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListProductsWithAccountMappingsResponseClass
17
+ */
18
+ export interface ListProductsWithAccountMappingsResponseClass {
19
+ /**
20
+ * Next page token.
21
+ * @type {string}
22
+ * @memberof ListProductsWithAccountMappingsResponseClass
23
+ */
24
+ 'nextPageToken': string;
25
+ /**
26
+ * Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
27
+ * @type {number}
28
+ * @memberof ListProductsWithAccountMappingsResponseClass
29
+ */
30
+ 'totalItems'?: number;
31
+ /**
32
+ * Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
33
+ * @type {number}
34
+ * @memberof ListProductsWithAccountMappingsResponseClass
35
+ */
36
+ 'itemsPerPage'?: number;
37
+ /**
38
+ *
39
+ * @type {Array<ProductWithAccountMappingsClass>}
40
+ * @memberof ListProductsWithAccountMappingsResponseClass
41
+ */
42
+ 'items': Array<ProductWithAccountMappingsClass>;
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,41 @@
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 OpeningBalanceItemDto
16
+ */
17
+ export interface OpeningBalanceItemDto {
18
+ /**
19
+ * The financial account this opening balance is entered or restated for.
20
+ * @type {string}
21
+ * @memberof OpeningBalanceItemDto
22
+ */
23
+ 'financialAccountNumber': string;
24
+ /**
25
+ * The confirmed opening balance amount, expressed as a non-negative integer in the smallest currency unit (e.g. cents) — NOT a delta. Direction is carried separately by debitCredit, never by sign. Zero is meaningful: an account with no history and a confirmed balance of zero needs no entry (nothing is booked), and one that already has history can be restated down to exactly zero, which a nonzero-to-zero correction has no other way to express.
26
+ * @type {number}
27
+ * @memberof OpeningBalanceItemDto
28
+ */
29
+ 'amountInCents': number;
30
+ /**
31
+ * Whether the opening balance sits on the debit or credit side of the account.
32
+ * @type {string}
33
+ * @memberof OpeningBalanceItemDto
34
+ */
35
+ 'debitCredit': OpeningBalanceItemDtoDebitCreditEnum;
36
+ }
37
+ export declare const OpeningBalanceItemDtoDebitCreditEnum: {
38
+ readonly Debit: "DEBIT";
39
+ readonly Credit: "CREDIT";
40
+ };
41
+ export type OpeningBalanceItemDtoDebitCreditEnum = typeof OpeningBalanceItemDtoDebitCreditEnum[keyof typeof OpeningBalanceItemDtoDebitCreditEnum];
@@ -0,0 +1,20 @@
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.OpeningBalanceItemDtoDebitCreditEnum = void 0;
17
+ exports.OpeningBalanceItemDtoDebitCreditEnum = {
18
+ Debit: 'DEBIT',
19
+ Credit: 'CREDIT'
20
+ };
@@ -51,6 +51,12 @@ export interface PersonalAccountClass {
51
51
  * @memberof PersonalAccountClass
52
52
  */
53
53
  'partnerNumber': string;
54
+ /**
55
+ * The partner code of the account
56
+ * @type {string}
57
+ * @memberof PersonalAccountClass
58
+ */
59
+ 'partnerCode': string;
54
60
  /**
55
61
  * The entity code of the account (account code, bank account code, etc...).
56
62
  * @type {string}
@@ -58,7 +64,7 @@ export interface PersonalAccountClass {
58
64
  */
59
65
  'entityCode'?: string;
60
66
  /**
61
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
67
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
62
68
  * @type {string}
63
69
  * @memberof PersonalAccountClass
64
70
  */
@@ -98,7 +104,7 @@ export declare const PersonalAccountClassTypeEnum: {
98
104
  readonly Asset: "asset";
99
105
  readonly Liability: "liability";
100
106
  readonly Equity: "equity";
101
- readonly Revenue: "revenue";
107
+ readonly Income: "income";
102
108
  readonly Expense: "expense";
103
109
  readonly OpeningBalance: "opening_balance";
104
110
  };
@@ -18,7 +18,7 @@ exports.PersonalAccountClassTypeEnum = {
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
  };
@@ -0,0 +1,44 @@
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 PostFinancialEventRequestDto
16
+ */
17
+ export interface PostFinancialEventRequestDto {
18
+ /**
19
+ * The kind of source entity to post a booking entry for. Each kind is posted through the same flow its domain event goes through.
20
+ * @type {string}
21
+ * @memberof PostFinancialEventRequestDto
22
+ */
23
+ 'sourceEntityType': PostFinancialEventRequestDtoSourceEntityTypeEnum;
24
+ /**
25
+ * The code of the source entity in the service that owns it, such as an invoice, payment, exceeding credit, credit allocation or commission code.
26
+ * @type {string}
27
+ * @memberof PostFinancialEventRequestDto
28
+ */
29
+ 'sourceEntityCode': string;
30
+ /**
31
+ * The partner whose personal account the entry posts to. Required for an exceeding credit, which does not name its partner itself. Optional for a payment or credit allocation, where it must match the entity\'s own partner. Not accepted for an invoice, whose partner is derived from the policy, and not accepted for a commission, which names its own recipient.
32
+ * @type {string}
33
+ * @memberof PostFinancialEventRequestDto
34
+ */
35
+ 'partnerCode'?: string;
36
+ }
37
+ export declare const PostFinancialEventRequestDtoSourceEntityTypeEnum: {
38
+ readonly Invoice: "invoice";
39
+ readonly Payment: "payment";
40
+ readonly Credit: "credit";
41
+ readonly CreditAllocation: "credit_allocation";
42
+ readonly Commission: "commission";
43
+ };
44
+ export type PostFinancialEventRequestDtoSourceEntityTypeEnum = typeof PostFinancialEventRequestDtoSourceEntityTypeEnum[keyof typeof PostFinancialEventRequestDtoSourceEntityTypeEnum];
@@ -0,0 +1,23 @@
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.PostFinancialEventRequestDtoSourceEntityTypeEnum = void 0;
17
+ exports.PostFinancialEventRequestDtoSourceEntityTypeEnum = {
18
+ Invoice: 'invoice',
19
+ Payment: 'payment',
20
+ Credit: 'credit',
21
+ CreditAllocation: 'credit_allocation',
22
+ Commission: 'commission'
23
+ };
@@ -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 PostFinancialEventResponseClass
17
+ */
18
+ export interface PostFinancialEventResponseClass {
19
+ /**
20
+ * Every booking entry the posting wrote, in posting order. A payment settlement that releases premium tax writes a second entry.
21
+ * @type {Array<BookingEntryClass>}
22
+ * @memberof PostFinancialEventResponseClass
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 });
@@ -0,0 +1,37 @@
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 { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PremiumItemAccountMappingClass
17
+ */
18
+ export interface PremiumItemAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PremiumItemAccountMappingClass
23
+ */
24
+ 'premiumFormulaCode': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof PremiumItemAccountMappingClass
29
+ */
30
+ 'premiumFormulaName': string;
31
+ /**
32
+ * The accounts assigned to this item: 1 entry (unconfigured, or VAT/revenue-classified) or 2 (tax: pending + due), never one-per-eligible-category. Each entry\'s own financialAccount.functionalCategory determines which leg it is — array order is not meaningful, select an entry by functionalCategory, never by position.
33
+ * @type {Array<ResolvedAccountMappingClass>}
34
+ * @memberof PremiumItemAccountMappingClass
35
+ */
36
+ 'accountMappings': Array<ResolvedAccountMappingClass>;
37
+ }
@@ -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,61 @@
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 { FinancialAccountClass } from './financial-account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductAccountMappingClass
17
+ */
18
+ export interface ProductAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProductAccountMappingClass
23
+ */
24
+ 'productCode': string;
25
+ /**
26
+ * Empty string when this row is product-level (not version-scoped).
27
+ * @type {string}
28
+ * @memberof ProductAccountMappingClass
29
+ */
30
+ 'productVersionCode': string;
31
+ /**
32
+ * Empty string unless this row is premium-item-level.
33
+ * @type {string}
34
+ * @memberof ProductAccountMappingClass
35
+ */
36
+ 'premiumFormulaCode': string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ProductAccountMappingClass
41
+ */
42
+ 'category': string;
43
+ /**
44
+ *
45
+ * @type {FinancialAccountClass}
46
+ * @memberof ProductAccountMappingClass
47
+ */
48
+ 'financialAccount': FinancialAccountClass;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ProductAccountMappingClass
53
+ */
54
+ 'createdAt'?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ProductAccountMappingClass
59
+ */
60
+ 'updatedAt'?: string;
61
+ }
@@ -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,50 @@
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 { ProductVersionWithAccountMappingsClass } from './product-version-with-account-mappings-class';
13
+ import { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductAccountMappingDetailClass
18
+ */
19
+ export interface ProductAccountMappingDetailClass {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ProductAccountMappingDetailClass
24
+ */
25
+ 'productCode': string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ProductAccountMappingDetailClass
30
+ */
31
+ 'productSlug': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ProductAccountMappingDetailClass
36
+ */
37
+ 'productName': string;
38
+ /**
39
+ * One entry per category eligible for product-level override, always listed whether overridden or not. Each entry always carries exactly one resolved account.
40
+ * @type {Array<ResolvedAccountMappingClass>}
41
+ * @memberof ProductAccountMappingDetailClass
42
+ */
43
+ 'accountMappings': Array<ResolvedAccountMappingClass>;
44
+ /**
45
+ * Same shape as the catalog list, so this endpoint is usable standalone without a prior catalog call.
46
+ * @type {Array<ProductVersionWithAccountMappingsClass>}
47
+ * @memberof ProductAccountMappingDetailClass
48
+ */
49
+ 'versions': Array<ProductVersionWithAccountMappingsClass>;
50
+ }
@@ -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,50 @@
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 { PremiumItemAccountMappingClass } from './premium-item-account-mapping-class';
13
+ import { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductVersionAccountMappingDetailClass
18
+ */
19
+ export interface ProductVersionAccountMappingDetailClass {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ProductVersionAccountMappingDetailClass
24
+ */
25
+ 'productVersionCode': string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ProductVersionAccountMappingDetailClass
30
+ */
31
+ 'description': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ProductVersionAccountMappingDetailClass
36
+ */
37
+ 'status': string;
38
+ /**
39
+ * One entry per category eligible for product/version-level override, resolved via PRODUCT_VERSION -> PRODUCT -> CATEGORY_DEFAULT.
40
+ * @type {Array<ResolvedAccountMappingClass>}
41
+ * @memberof ProductVersionAccountMappingDetailClass
42
+ */
43
+ 'accountMappings': Array<ResolvedAccountMappingClass>;
44
+ /**
45
+ * Every public, calculation-relevant premium item on this version, whether overridden or not.
46
+ * @type {Array<PremiumItemAccountMappingClass>}
47
+ * @memberof ProductVersionAccountMappingDetailClass
48
+ */
49
+ 'premiumItems': Array<PremiumItemAccountMappingClass>;
50
+ }
@@ -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 });