@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,78 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AccountingConfigDataClass } from './accounting-config-data-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AccountingConfigClass
17
+ */
18
+ export interface AccountingConfigClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof AccountingConfigClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof AccountingConfigClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * The configuration details
33
+ * @type {AccountingConfigDataClass}
34
+ * @memberof AccountingConfigClass
35
+ */
36
+ 'config'?: AccountingConfigDataClass;
37
+ /**
38
+ * Enablement status of the subledger config: \'pending\' while accounts and opening balances are still being provisioned asynchronously, \'complete\' once that work has finished.
39
+ * @type {string}
40
+ * @memberof AccountingConfigClass
41
+ */
42
+ 'enablementStatus': AccountingConfigClassEnablementStatusEnum;
43
+ /**
44
+ * Product slug this config is scoped to; absent for the tenant default config.
45
+ * @type {string}
46
+ * @memberof AccountingConfigClass
47
+ */
48
+ 'productSlug'?: string;
49
+ /**
50
+ * Identifier of the user who created the record.
51
+ * @type {string}
52
+ * @memberof AccountingConfigClass
53
+ */
54
+ 'createdBy': string;
55
+ /**
56
+ * Identifier of the user who last updated the record.
57
+ * @type {string}
58
+ * @memberof AccountingConfigClass
59
+ */
60
+ 'updatedBy': string;
61
+ /**
62
+ * Time at which the object was created.
63
+ * @type {string}
64
+ * @memberof AccountingConfigClass
65
+ */
66
+ 'createdAt': string;
67
+ /**
68
+ * Time at which the object was updated.
69
+ * @type {string}
70
+ * @memberof AccountingConfigClass
71
+ */
72
+ 'updatedAt': string;
73
+ }
74
+ export declare const AccountingConfigClassEnablementStatusEnum: {
75
+ readonly Pending: "pending";
76
+ readonly Complete: "complete";
77
+ };
78
+ export type AccountingConfigClassEnablementStatusEnum = typeof AccountingConfigClassEnablementStatusEnum[keyof typeof AccountingConfigClassEnablementStatusEnum];
@@ -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.AccountingConfigClassEnablementStatusEnum = void 0;
17
+ exports.AccountingConfigClassEnablementStatusEnum = {
18
+ Pending: 'pending',
19
+ Complete: 'complete'
20
+ };
@@ -0,0 +1,38 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AccountMappingClass } from './account-mapping-class';
13
+ import { AccountingConfigurationClass } from './accounting-configuration-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AccountingConfigDataClass
18
+ */
19
+ export interface AccountingConfigDataClass {
20
+ /**
21
+ * The activation date of the accounting configuration
22
+ * @type {string}
23
+ * @memberof AccountingConfigDataClass
24
+ */
25
+ 'activationDate'?: string;
26
+ /**
27
+ * Configuration of the chart of accounts
28
+ * @type {Array<AccountMappingClass>}
29
+ * @memberof AccountingConfigDataClass
30
+ */
31
+ 'defaultAccountMappings'?: Array<AccountMappingClass>;
32
+ /**
33
+ * The accounting configuration details
34
+ * @type {AccountingConfigurationClass}
35
+ * @memberof AccountingConfigDataClass
36
+ */
37
+ 'accountingConfiguration'?: AccountingConfigurationClass;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,46 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The accounting configuration
14
+ * @export
15
+ * @interface AccountingConfigDataDtoAccountingConfiguration
16
+ */
17
+ export interface AccountingConfigDataDtoAccountingConfiguration {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AccountingConfigDataDtoAccountingConfiguration
22
+ */
23
+ 'settlementRecognitionMode': AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountingConfigDataDtoAccountingConfiguration
28
+ */
29
+ 'defaultTaxHandling': AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof AccountingConfigDataDtoAccountingConfiguration
34
+ */
35
+ 'toleranceAmountInCents': number;
36
+ }
37
+ export declare const AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum: {
38
+ readonly Soll: "SOLL";
39
+ readonly Ist: "IST";
40
+ };
41
+ export type AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
42
+ export declare const AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum: {
43
+ readonly CarrierPays: "CARRIER_PAYS";
44
+ readonly MgaPays: "MGA_PAYS";
45
+ };
46
+ export type AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = exports.AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = void 0;
17
+ exports.AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
18
+ Soll: 'SOLL',
19
+ Ist: 'IST'
20
+ };
21
+ exports.AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
22
+ CarrierPays: 'CARRIER_PAYS',
23
+ MgaPays: 'MGA_PAYS'
24
+ };
@@ -0,0 +1,79 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AccountingConfigDataDtoDefaultAccountMappings
16
+ */
17
+ export interface AccountingConfigDataDtoDefaultAccountMappings {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
22
+ */
23
+ 'functionalCategory': AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
28
+ */
29
+ 'label': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
34
+ */
35
+ 'financialAccountNumber': string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
40
+ */
41
+ 'creditOpeningAmountInCents': number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
46
+ */
47
+ 'debitOpeningAmountInCents': number;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
52
+ */
53
+ 'bankAccountCode'?: string;
54
+ }
55
+ export declare const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum: {
56
+ readonly BankAcc: "bank_acc";
57
+ readonly TaxPendingAcc: "tax_pending_acc";
58
+ readonly TaxForwardedAcc: "tax_forwarded_acc";
59
+ readonly TaxDueAcc: "tax_due_acc";
60
+ readonly VatPendingAcc: "vat_pending_acc";
61
+ readonly VatDueAcc: "vat_due_acc";
62
+ readonly RevenueBufferAcc: "revenue_buffer_acc";
63
+ readonly RevenueFinalAcc: "revenue_final_acc";
64
+ readonly ClaimExpenseAcc: "claim_expense_acc";
65
+ readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
66
+ readonly WriteOffExpAcc: "write_off_exp_acc";
67
+ readonly RoundingDiffAcc: "rounding_diff_acc";
68
+ readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
69
+ readonly FeeRevenueAcc: "fee_revenue_acc";
70
+ readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
71
+ readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
72
+ readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
73
+ readonly BrokerCtrlAcc: "broker_ctrl_acc";
74
+ readonly CarrierCtrlAcc: "carrier_ctrl_acc";
75
+ readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
76
+ readonly ClaimsPayableAcc: "claims_payable_acc";
77
+ readonly CarrierReceivableAcc: "carrier_receivable_acc";
78
+ };
79
+ export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
@@ -0,0 +1,40 @@
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.AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = void 0;
17
+ exports.AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
18
+ BankAcc: 'bank_acc',
19
+ TaxPendingAcc: 'tax_pending_acc',
20
+ TaxForwardedAcc: 'tax_forwarded_acc',
21
+ TaxDueAcc: 'tax_due_acc',
22
+ VatPendingAcc: 'vat_pending_acc',
23
+ VatDueAcc: 'vat_due_acc',
24
+ RevenueBufferAcc: 'revenue_buffer_acc',
25
+ RevenueFinalAcc: 'revenue_final_acc',
26
+ ClaimExpenseAcc: 'claim_expense_acc',
27
+ CustomerCreditLiabAcc: 'customer_credit_liab_acc',
28
+ WriteOffExpAcc: 'write_off_exp_acc',
29
+ RoundingDiffAcc: 'rounding_diff_acc',
30
+ PaymentFeesExpAcc: 'payment_fees_exp_acc',
31
+ FeeRevenueAcc: 'fee_revenue_acc',
32
+ UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
33
+ OpeningBalEquityAcc: 'opening_bal_equity_acc',
34
+ ReceivablesCtrlAcc: 'receivables_ctrl_acc',
35
+ BrokerCtrlAcc: 'broker_ctrl_acc',
36
+ CarrierCtrlAcc: 'carrier_ctrl_acc',
37
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
38
+ ClaimsPayableAcc: 'claims_payable_acc',
39
+ CarrierReceivableAcc: 'carrier_receivable_acc'
40
+ };
@@ -0,0 +1,38 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
13
+ import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AccountingConfigDataDto
18
+ */
19
+ export interface AccountingConfigDataDto {
20
+ /**
21
+ * The activation date of the accounting configuration
22
+ * @type {string}
23
+ * @memberof AccountingConfigDataDto
24
+ */
25
+ 'activationDate'?: string;
26
+ /**
27
+ * The chart of accounts configuration
28
+ * @type {Array<AccountingConfigDataDtoDefaultAccountMappings>}
29
+ * @memberof AccountingConfigDataDto
30
+ */
31
+ 'defaultAccountMappings': Array<AccountingConfigDataDtoDefaultAccountMappings>;
32
+ /**
33
+ *
34
+ * @type {AccountingConfigDataDtoAccountingConfiguration}
35
+ * @memberof AccountingConfigDataDto
36
+ */
37
+ 'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
38
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AccountingConfigurationClass
16
+ */
17
+ export interface AccountingConfigurationClass {
18
+ /**
19
+ * The mode of settlement recognition, can be \"SOLL\" or \"IST\"
20
+ * @type {string}
21
+ * @memberof AccountingConfigurationClass
22
+ */
23
+ 'settlementRecognitionMode': string;
24
+ /**
25
+ * The default tax handling, can be \"CARRIER_PAYS\" or \"MGA_PAYS\"
26
+ * @type {string}
27
+ * @memberof AccountingConfigurationClass
28
+ */
29
+ 'defaultTaxHandling': string;
30
+ /**
31
+ * The tolerance amount in cents
32
+ * @type {number}
33
+ * @memberof AccountingConfigurationClass
34
+ */
35
+ 'toleranceAmountInCents': number;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -76,6 +76,30 @@ export interface BookingEntryClass {
76
76
  * @memberof BookingEntryClass
77
77
  */
78
78
  'externalNumber'?: string;
79
+ /**
80
+ * The code of the source entity this entry was posted for, such as an invoice or payment code. Absent on an entry posted by hand (sourceEntityType manual) and on a legacy entry.
81
+ * @type {string}
82
+ * @memberof BookingEntryClass
83
+ */
84
+ 'sourceEntityCode'?: string;
85
+ /**
86
+ * The kind of source entity this entry was posted for: manual for an entry posted by hand, which carries no sourceEntityCode. Absent only on a legacy entry.
87
+ * @type {string}
88
+ * @memberof BookingEntryClass
89
+ */
90
+ 'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
91
+ /**
92
+ * The code of the entry this entry reverses. Absent on an entry that is not a reversal.
93
+ * @type {string}
94
+ * @memberof BookingEntryClass
95
+ */
96
+ 'reversalOfCode'?: string;
97
+ /**
98
+ * True once the entry has been reversed in full. Its reversal names it in reversalOfCode.
99
+ * @type {boolean}
100
+ * @memberof BookingEntryClass
101
+ */
102
+ 'isReversed'?: boolean;
79
103
  /**
80
104
  * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
81
105
  * @type {Array<FinancialTransactionClass>}
@@ -121,3 +145,13 @@ export declare const BookingEntryClassCurrencyEnum: {
121
145
  readonly Sek: "SEK";
122
146
  };
123
147
  export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
148
+ export declare const BookingEntryClassSourceEntityTypeEnum: {
149
+ readonly Invoice: "invoice";
150
+ readonly Payment: "payment";
151
+ readonly Credit: "credit";
152
+ readonly CreditAllocation: "credit_allocation";
153
+ readonly ClaimRegulation: "claim_regulation";
154
+ readonly Commission: "commission";
155
+ readonly Manual: "manual";
156
+ };
157
+ export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.BookingEntryClassCurrencyEnum = void 0;
16
+ exports.BookingEntryClassSourceEntityTypeEnum = exports.BookingEntryClassCurrencyEnum = void 0;
17
17
  exports.BookingEntryClassCurrencyEnum = {
18
18
  Eur: 'EUR',
19
19
  Usd: 'USD',
@@ -27,3 +27,12 @@ exports.BookingEntryClassCurrencyEnum = {
27
27
  Nok: 'NOK',
28
28
  Sek: 'SEK'
29
29
  };
30
+ exports.BookingEntryClassSourceEntityTypeEnum = {
31
+ Invoice: 'invoice',
32
+ Payment: 'payment',
33
+ Credit: 'credit',
34
+ CreditAllocation: 'credit_allocation',
35
+ ClaimRegulation: 'claim_regulation',
36
+ Commission: 'commission',
37
+ Manual: 'manual'
38
+ };
@@ -0,0 +1,49 @@
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 CommissionAccountMappingClass
17
+ */
18
+ export interface CommissionAccountMappingClass {
19
+ /**
20
+ * Empty string when this row is type-level (not agreement-scoped).
21
+ * @type {string}
22
+ * @memberof CommissionAccountMappingClass
23
+ */
24
+ 'commissionAgreementCode': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CommissionAccountMappingClass
29
+ */
30
+ 'commissionType': string;
31
+ /**
32
+ *
33
+ * @type {FinancialAccountClass}
34
+ * @memberof CommissionAccountMappingClass
35
+ */
36
+ 'financialAccount': FinancialAccountClass;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof CommissionAccountMappingClass
41
+ */
42
+ 'createdAt'?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof CommissionAccountMappingClass
47
+ */
48
+ 'updatedAt'?: string;
49
+ }
@@ -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,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
+ import { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
13
+ import { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CommissionAgreementAccountMappingDetailClass
18
+ */
19
+ export interface CommissionAgreementAccountMappingDetailClass {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof CommissionAgreementAccountMappingDetailClass
24
+ */
25
+ 'commissionAgreementCode': string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof CommissionAgreementAccountMappingDetailClass
30
+ */
31
+ 'commissionAgreementNumber': string;
32
+ /**
33
+ * The agreement\'s main partner.
34
+ * @type {CommissionAgreementPartnerClass}
35
+ * @memberof CommissionAgreementAccountMappingDetailClass
36
+ */
37
+ 'mainPartner'?: CommissionAgreementPartnerClass;
38
+ /**
39
+ * One entry per commission type that has some row (type-level or agreement-level) for this tenant.
40
+ * @type {Array<CommissionTypeAccountMappingClass>}
41
+ * @memberof CommissionAgreementAccountMappingDetailClass
42
+ */
43
+ 'accountMappings': Array<CommissionTypeAccountMappingClass>;
44
+ }
@@ -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 });