@emilgroup/accounting-sdk-node 1.32.1-beta.77 → 1.32.1-beta.78

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 (204) hide show
  1. package/.openapi-generator/FILES +0 -50
  2. package/README.md +2 -2
  3. package/api/booking-entries-api.ts +10 -234
  4. package/api/financial-accounts-api.ts +24 -154
  5. package/api/financial-transactions-api.ts +4 -8
  6. package/api/number-ranges-api.ts +8 -16
  7. package/api/personal-accounts-api.ts +8 -16
  8. package/api.ts +0 -6
  9. package/common.ts +2 -3
  10. package/dist/api/booking-entries-api.d.ts +7 -121
  11. package/dist/api/booking-entries-api.js +14 -211
  12. package/dist/api/financial-accounts-api.d.ts +20 -86
  13. package/dist/api/financial-accounts-api.js +27 -137
  14. package/dist/api/financial-transactions-api.d.ts +2 -2
  15. package/dist/api/financial-transactions-api.js +6 -8
  16. package/dist/api/health-api.d.ts +1 -1
  17. package/dist/api/number-ranges-api.d.ts +4 -4
  18. package/dist/api/number-ranges-api.js +14 -22
  19. package/dist/api/personal-accounts-api.d.ts +4 -4
  20. package/dist/api/personal-accounts-api.js +14 -22
  21. package/dist/api.d.ts +0 -3
  22. package/dist/api.js +0 -3
  23. package/dist/common.d.ts +1 -1
  24. package/dist/common.js +0 -1
  25. package/dist/models/booking-entry-class.d.ts +0 -34
  26. package/dist/models/booking-entry-class.js +1 -10
  27. package/dist/models/create-booking-entry-request-dto.d.ts +2 -25
  28. package/dist/models/create-booking-entry-request-dto.js +0 -9
  29. package/dist/models/create-financial-account-request-dto.d.ts +5 -50
  30. package/dist/models/create-financial-account-request-dto.js +2 -26
  31. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  32. package/dist/models/create-number-range-request-dto.js +4 -4
  33. package/dist/models/create-personal-account-request-dto.d.ts +6 -14
  34. package/dist/models/create-personal-account-request-dto.js +3 -3
  35. package/dist/models/financial-account-class.d.ts +2 -49
  36. package/dist/models/financial-account-class.js +2 -6
  37. package/dist/models/financial-transaction-class.d.ts +0 -6
  38. package/dist/models/financial-transaction-data-dto.d.ts +2 -11
  39. package/dist/models/financial-transaction-data-dto.js +0 -1
  40. package/dist/models/index.d.ts +0 -47
  41. package/dist/models/index.js +0 -47
  42. package/dist/models/personal-account-class.d.ts +2 -8
  43. package/dist/models/personal-account-class.js +1 -1
  44. package/models/booking-entry-class.ts +0 -35
  45. package/models/create-booking-entry-request-dto.ts +2 -26
  46. package/models/create-financial-account-request-dto.ts +5 -49
  47. package/models/create-number-range-request-dto.ts +4 -4
  48. package/models/create-personal-account-request-dto.ts +6 -12
  49. package/models/financial-account-class.ts +2 -50
  50. package/models/financial-transaction-class.ts +0 -6
  51. package/models/financial-transaction-data-dto.ts +2 -9
  52. package/models/index.ts +0 -47
  53. package/models/personal-account-class.ts +2 -8
  54. package/package.json +2 -2
  55. package/api/accounting-configs-api.ts +0 -868
  56. package/api/commission-account-mappings-api.ts +0 -1211
  57. package/api/product-account-mappings-api.ts +0 -1719
  58. package/dist/api/accounting-configs-api.d.ts +0 -451
  59. package/dist/api/accounting-configs-api.js +0 -887
  60. package/dist/api/commission-account-mappings-api.d.ts +0 -685
  61. package/dist/api/commission-account-mappings-api.js +0 -1026
  62. package/dist/api/product-account-mappings-api.d.ts +0 -972
  63. package/dist/api/product-account-mappings-api.js +0 -1451
  64. package/dist/models/account-mapping-class.d.ts +0 -73
  65. package/dist/models/account-mapping-class.js +0 -40
  66. package/dist/models/accounting-category-class.d.ts +0 -45
  67. package/dist/models/accounting-category-class.js +0 -24
  68. package/dist/models/accounting-config-class.d.ts +0 -78
  69. package/dist/models/accounting-config-class.js +0 -20
  70. package/dist/models/accounting-config-data-class.d.ts +0 -38
  71. package/dist/models/accounting-config-data-class.js +0 -15
  72. package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +0 -46
  73. package/dist/models/accounting-config-data-dto-accounting-configuration.js +0 -24
  74. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +0 -79
  75. package/dist/models/accounting-config-data-dto-default-account-mappings.js +0 -40
  76. package/dist/models/accounting-config-data-dto.d.ts +0 -38
  77. package/dist/models/accounting-config-data-dto.js +0 -15
  78. package/dist/models/accounting-configuration-class.d.ts +0 -36
  79. package/dist/models/accounting-configuration-class.js +0 -15
  80. package/dist/models/commission-account-mapping-class.d.ts +0 -49
  81. package/dist/models/commission-account-mapping-class.js +0 -15
  82. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +0 -44
  83. package/dist/models/commission-agreement-account-mapping-detail-class.js +0 -15
  84. package/dist/models/commission-agreement-partner-class.d.ts +0 -30
  85. package/dist/models/commission-agreement-partner-class.js +0 -15
  86. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +0 -43
  87. package/dist/models/commission-agreement-with-account-mapping-class.js +0 -15
  88. package/dist/models/commission-type-account-mapping-class.d.ts +0 -31
  89. package/dist/models/commission-type-account-mapping-class.js +0 -15
  90. package/dist/models/create-and-enable-subledger-request-dto.d.ts +0 -25
  91. package/dist/models/create-and-enable-subledger-request-dto.js +0 -15
  92. package/dist/models/create-and-enable-subledger-response-class.d.ts +0 -25
  93. package/dist/models/create-and-enable-subledger-response-class.js +0 -15
  94. package/dist/models/create-or-correct-opening-balance-dto.d.ts +0 -25
  95. package/dist/models/create-or-correct-opening-balance-dto.js +0 -15
  96. package/dist/models/create-or-correct-opening-balance-response-class.d.ts +0 -25
  97. package/dist/models/create-or-correct-opening-balance-response-class.js +0 -15
  98. package/dist/models/export-accounting-config-response-class.d.ts +0 -25
  99. package/dist/models/export-accounting-config-response-class.js +0 -15
  100. package/dist/models/get-accounting-categories-response-class.d.ts +0 -25
  101. package/dist/models/get-accounting-categories-response-class.js +0 -15
  102. package/dist/models/get-activation-snapshot-response-class.d.ts +0 -25
  103. package/dist/models/get-activation-snapshot-response-class.js +0 -15
  104. package/dist/models/list-commission-account-mappings-response-class.d.ts +0 -43
  105. package/dist/models/list-commission-account-mappings-response-class.js +0 -15
  106. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +0 -43
  107. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +0 -15
  108. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +0 -43
  109. package/dist/models/list-commission-type-account-mappings-response-class.js +0 -15
  110. package/dist/models/list-product-account-mappings-response-class.d.ts +0 -43
  111. package/dist/models/list-product-account-mappings-response-class.js +0 -15
  112. package/dist/models/list-products-with-account-mappings-response-class.d.ts +0 -43
  113. package/dist/models/list-products-with-account-mappings-response-class.js +0 -15
  114. package/dist/models/opening-balance-item-dto.d.ts +0 -41
  115. package/dist/models/opening-balance-item-dto.js +0 -20
  116. package/dist/models/post-financial-event-request-dto.d.ts +0 -45
  117. package/dist/models/post-financial-event-request-dto.js +0 -24
  118. package/dist/models/post-financial-event-response-class.d.ts +0 -25
  119. package/dist/models/post-financial-event-response-class.js +0 -15
  120. package/dist/models/premium-item-account-mapping-class.d.ts +0 -37
  121. package/dist/models/premium-item-account-mapping-class.js +0 -15
  122. package/dist/models/product-account-mapping-class.d.ts +0 -61
  123. package/dist/models/product-account-mapping-class.js +0 -15
  124. package/dist/models/product-account-mapping-detail-class.d.ts +0 -56
  125. package/dist/models/product-account-mapping-detail-class.js +0 -15
  126. package/dist/models/product-risk-carrier-class.d.ts +0 -42
  127. package/dist/models/product-risk-carrier-class.js +0 -15
  128. package/dist/models/product-version-account-mapping-detail-class.d.ts +0 -50
  129. package/dist/models/product-version-account-mapping-detail-class.js +0 -15
  130. package/dist/models/product-version-with-account-mappings-class.d.ts +0 -42
  131. package/dist/models/product-version-with-account-mappings-class.js +0 -15
  132. package/dist/models/product-with-account-mappings-class.d.ts +0 -49
  133. package/dist/models/product-with-account-mappings-class.js +0 -15
  134. package/dist/models/put-premium-item-account-body-dto.d.ts +0 -24
  135. package/dist/models/put-premium-item-account-body-dto.js +0 -15
  136. package/dist/models/put-product-category-account-body-dto.d.ts +0 -24
  137. package/dist/models/put-product-category-account-body-dto.js +0 -15
  138. package/dist/models/put-product-risk-carrier-body-dto.d.ts +0 -24
  139. package/dist/models/put-product-risk-carrier-body-dto.js +0 -15
  140. package/dist/models/put-product-version-category-account-body-dto.d.ts +0 -24
  141. package/dist/models/put-product-version-category-account-body-dto.js +0 -15
  142. package/dist/models/resolved-account-mapping-class.d.ts +0 -31
  143. package/dist/models/resolved-account-mapping-class.js +0 -15
  144. package/dist/models/resolved-commission-account-mapping-class.d.ts +0 -37
  145. package/dist/models/resolved-commission-account-mapping-class.js +0 -21
  146. package/dist/models/update-commission-agreement-account-body-dto.d.ts +0 -24
  147. package/dist/models/update-commission-agreement-account-body-dto.js +0 -15
  148. package/dist/models/update-commission-type-account-body-dto.d.ts +0 -24
  149. package/dist/models/update-commission-type-account-body-dto.js +0 -15
  150. package/dist/models/update-financial-account-body-dto.d.ts +0 -48
  151. package/dist/models/update-financial-account-body-dto.js +0 -15
  152. package/dist/models/update-financial-account-response-class.d.ts +0 -25
  153. package/dist/models/update-financial-account-response-class.js +0 -15
  154. package/dist/models/validate-accounting-config-request-dto.d.ts +0 -25
  155. package/dist/models/validate-accounting-config-request-dto.js +0 -15
  156. package/dist/models/validate-accounting-config-response-class.d.ts +0 -30
  157. package/dist/models/validate-accounting-config-response-class.js +0 -15
  158. package/models/account-mapping-class.ts +0 -82
  159. package/models/accounting-category-class.ts +0 -54
  160. package/models/accounting-config-class.ts +0 -87
  161. package/models/accounting-config-data-class.ts +0 -44
  162. package/models/accounting-config-data-dto-accounting-configuration.ts +0 -56
  163. package/models/accounting-config-data-dto-default-account-mappings.ts +0 -88
  164. package/models/accounting-config-data-dto.ts +0 -44
  165. package/models/accounting-configuration-class.ts +0 -42
  166. package/models/commission-account-mapping-class.ts +0 -55
  167. package/models/commission-agreement-account-mapping-detail-class.ts +0 -50
  168. package/models/commission-agreement-partner-class.ts +0 -36
  169. package/models/commission-agreement-with-account-mapping-class.ts +0 -49
  170. package/models/commission-type-account-mapping-class.ts +0 -37
  171. package/models/create-and-enable-subledger-request-dto.ts +0 -31
  172. package/models/create-and-enable-subledger-response-class.ts +0 -31
  173. package/models/create-or-correct-opening-balance-dto.ts +0 -31
  174. package/models/create-or-correct-opening-balance-response-class.ts +0 -31
  175. package/models/export-accounting-config-response-class.ts +0 -31
  176. package/models/get-accounting-categories-response-class.ts +0 -31
  177. package/models/get-activation-snapshot-response-class.ts +0 -31
  178. package/models/list-commission-account-mappings-response-class.ts +0 -49
  179. package/models/list-commission-agreements-with-account-mappings-response-class.ts +0 -49
  180. package/models/list-commission-type-account-mappings-response-class.ts +0 -49
  181. package/models/list-product-account-mappings-response-class.ts +0 -49
  182. package/models/list-products-with-account-mappings-response-class.ts +0 -49
  183. package/models/opening-balance-item-dto.ts +0 -50
  184. package/models/post-financial-event-request-dto.ts +0 -54
  185. package/models/post-financial-event-response-class.ts +0 -31
  186. package/models/premium-item-account-mapping-class.ts +0 -43
  187. package/models/product-account-mapping-class.ts +0 -67
  188. package/models/product-account-mapping-detail-class.ts +0 -62
  189. package/models/product-risk-carrier-class.ts +0 -48
  190. package/models/product-version-account-mapping-detail-class.ts +0 -56
  191. package/models/product-version-with-account-mappings-class.ts +0 -48
  192. package/models/product-with-account-mappings-class.ts +0 -55
  193. package/models/put-premium-item-account-body-dto.ts +0 -30
  194. package/models/put-product-category-account-body-dto.ts +0 -30
  195. package/models/put-product-risk-carrier-body-dto.ts +0 -30
  196. package/models/put-product-version-category-account-body-dto.ts +0 -30
  197. package/models/resolved-account-mapping-class.ts +0 -37
  198. package/models/resolved-commission-account-mapping-class.ts +0 -46
  199. package/models/update-commission-agreement-account-body-dto.ts +0 -30
  200. package/models/update-commission-type-account-body-dto.ts +0 -30
  201. package/models/update-financial-account-body-dto.ts +0 -54
  202. package/models/update-financial-account-response-class.ts +0 -31
  203. package/models/validate-accounting-config-request-dto.ts +0 -31
  204. package/models/validate-accounting-config-response-class.ts +0 -36
@@ -1,15 +0,0 @@
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 });
@@ -1,25 +0,0 @@
1
- /**
2
- * EMIL AccountingService
3
- * The EMIL AccountingService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { AccountingConfigDataDto } from './accounting-config-data-dto';
13
- /**
14
- *
15
- * @export
16
- * @interface ValidateAccountingConfigRequestDto
17
- */
18
- export interface ValidateAccountingConfigRequestDto {
19
- /**
20
- * The accounting config data to validate
21
- * @type {AccountingConfigDataDto}
22
- * @memberof ValidateAccountingConfigRequestDto
23
- */
24
- 'accountingConfigData': AccountingConfigDataDto;
25
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,30 +0,0 @@
1
- /**
2
- * EMIL AccountingService
3
- * The EMIL AccountingService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ValidateAccountingConfigResponseClass
16
- */
17
- export interface ValidateAccountingConfigResponseClass {
18
- /**
19
- * Whether the accounting config is valid
20
- * @type {boolean}
21
- * @memberof ValidateAccountingConfigResponseClass
22
- */
23
- 'isValid': boolean;
24
- /**
25
- * When isValid is false, a human-readable explanation of why the config is invalid
26
- * @type {string}
27
- * @memberof ValidateAccountingConfigResponseClass
28
- */
29
- 'validationMessage'?: string;
30
- }
@@ -1,15 +0,0 @@
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 });
@@ -1,82 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface AccountMappingClass
21
- */
22
- export interface AccountMappingClass {
23
- /**
24
- * The category of the chart of accounts that will be mapped to a financial account
25
- * @type {string}
26
- * @memberof AccountMappingClass
27
- */
28
- 'functionalCategory': AccountMappingClassFunctionalCategoryEnum;
29
- /**
30
- * A label of for the account mapping
31
- * @type {string}
32
- * @memberof AccountMappingClass
33
- */
34
- 'label': string;
35
- /**
36
- * The financial account number that will be mapped to the category
37
- * @type {string}
38
- * @memberof AccountMappingClass
39
- */
40
- 'financialAccountNumber': string;
41
- /**
42
- * The credit amount in cents
43
- * @type {number}
44
- * @memberof AccountMappingClass
45
- */
46
- 'creditOpeningAmountInCents': number;
47
- /**
48
- * The debit amount in cents
49
- * @type {number}
50
- * @memberof AccountMappingClass
51
- */
52
- 'debitOpeningAmountInCents': number;
53
- }
54
-
55
- export const AccountMappingClassFunctionalCategoryEnum = {
56
- BankAcc: 'bank_acc',
57
- TaxPendingAcc: 'tax_pending_acc',
58
- TaxForwardedAcc: 'tax_forwarded_acc',
59
- TaxDueAcc: 'tax_due_acc',
60
- VatPendingAcc: 'vat_pending_acc',
61
- VatDueAcc: 'vat_due_acc',
62
- RevenueBufferAcc: 'revenue_buffer_acc',
63
- RevenueFinalAcc: 'revenue_final_acc',
64
- ClaimExpenseAcc: 'claim_expense_acc',
65
- CustomerCreditLiabAcc: 'customer_credit_liab_acc',
66
- WriteOffExpAcc: 'write_off_exp_acc',
67
- RoundingDiffAcc: 'rounding_diff_acc',
68
- PaymentFeesExpAcc: 'payment_fees_exp_acc',
69
- FeeRevenueAcc: 'fee_revenue_acc',
70
- UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
71
- OpeningBalEquityAcc: 'opening_bal_equity_acc',
72
- ReceivablesCtrlAcc: 'receivables_ctrl_acc',
73
- BrokerCtrlAcc: 'broker_ctrl_acc',
74
- CarrierCtrlAcc: 'carrier_ctrl_acc',
75
- MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
76
- ClaimsPayableAcc: 'claims_payable_acc',
77
- CarrierReceivableAcc: 'carrier_receivable_acc'
78
- } as const;
79
-
80
- export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
81
-
82
-
@@ -1,54 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface AccountingCategoryClass
21
- */
22
- export interface AccountingCategoryClass {
23
- /**
24
- * The functional category
25
- * @type {string}
26
- * @memberof AccountingCategoryClass
27
- */
28
- 'category': string;
29
- /**
30
- * True if the category allows multiple defined accounts, like revenue and expense categories that may have one for each product.
31
- * @type {boolean}
32
- * @memberof AccountingCategoryClass
33
- */
34
- 'isPoolCategory': boolean;
35
- /**
36
- * The accounttype of the category
37
- * @type {string}
38
- * @memberof AccountingCategoryClass
39
- */
40
- 'type': AccountingCategoryClassTypeEnum;
41
- }
42
-
43
- export const AccountingCategoryClassTypeEnum = {
44
- Asset: 'asset',
45
- Liability: 'liability',
46
- Equity: 'equity',
47
- Income: 'income',
48
- Expense: 'expense',
49
- OpeningBalance: 'opening_balance'
50
- } as const;
51
-
52
- export type AccountingCategoryClassTypeEnum = typeof AccountingCategoryClassTypeEnum[keyof typeof AccountingCategoryClassTypeEnum];
53
-
54
-
@@ -1,87 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { AccountingConfigDataClass } from './accounting-config-data-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface AccountingConfigClass
22
- */
23
- export interface AccountingConfigClass {
24
- /**
25
- * Internal unique identifier for the object. You should not have to use this, use code instead.
26
- * @type {number}
27
- * @memberof AccountingConfigClass
28
- */
29
- 'id': number;
30
- /**
31
- * Unique identifier for the object.
32
- * @type {string}
33
- * @memberof AccountingConfigClass
34
- */
35
- 'code': string;
36
- /**
37
- * The configuration details
38
- * @type {AccountingConfigDataClass}
39
- * @memberof AccountingConfigClass
40
- */
41
- 'config'?: AccountingConfigDataClass;
42
- /**
43
- * Enablement status of the subledger config: \'pending\' while accounts and opening balances are still being provisioned asynchronously, \'complete\' once that work has finished.
44
- * @type {string}
45
- * @memberof AccountingConfigClass
46
- */
47
- 'enablementStatus': AccountingConfigClassEnablementStatusEnum;
48
- /**
49
- * Product slug this config is scoped to; absent for the tenant default config.
50
- * @type {string}
51
- * @memberof AccountingConfigClass
52
- */
53
- 'productSlug'?: string;
54
- /**
55
- * Identifier of the user who created the record.
56
- * @type {string}
57
- * @memberof AccountingConfigClass
58
- */
59
- 'createdBy': string;
60
- /**
61
- * Identifier of the user who last updated the record.
62
- * @type {string}
63
- * @memberof AccountingConfigClass
64
- */
65
- 'updatedBy': string;
66
- /**
67
- * Time at which the object was created.
68
- * @type {string}
69
- * @memberof AccountingConfigClass
70
- */
71
- 'createdAt': string;
72
- /**
73
- * Time at which the object was updated.
74
- * @type {string}
75
- * @memberof AccountingConfigClass
76
- */
77
- 'updatedAt': string;
78
- }
79
-
80
- export const AccountingConfigClassEnablementStatusEnum = {
81
- Pending: 'pending',
82
- Complete: 'complete'
83
- } as const;
84
-
85
- export type AccountingConfigClassEnablementStatusEnum = typeof AccountingConfigClassEnablementStatusEnum[keyof typeof AccountingConfigClassEnablementStatusEnum];
86
-
87
-
@@ -1,44 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { AccountMappingClass } from './account-mapping-class';
17
- import { AccountingConfigurationClass } from './accounting-configuration-class';
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface AccountingConfigDataClass
23
- */
24
- export interface AccountingConfigDataClass {
25
- /**
26
- * The activation date of the accounting configuration
27
- * @type {string}
28
- * @memberof AccountingConfigDataClass
29
- */
30
- 'activationDate'?: string;
31
- /**
32
- * Configuration of the chart of accounts
33
- * @type {Array<AccountMappingClass>}
34
- * @memberof AccountingConfigDataClass
35
- */
36
- 'defaultAccountMappings'?: Array<AccountMappingClass>;
37
- /**
38
- * The accounting configuration details
39
- * @type {AccountingConfigurationClass}
40
- * @memberof AccountingConfigDataClass
41
- */
42
- 'accountingConfiguration'?: AccountingConfigurationClass;
43
- }
44
-
@@ -1,56 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- * The accounting configuration
19
- * @export
20
- * @interface AccountingConfigDataDtoAccountingConfiguration
21
- */
22
- export interface AccountingConfigDataDtoAccountingConfiguration {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof AccountingConfigDataDtoAccountingConfiguration
27
- */
28
- 'settlementRecognitionMode': AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof AccountingConfigDataDtoAccountingConfiguration
33
- */
34
- 'defaultTaxHandling': AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum;
35
- /**
36
- *
37
- * @type {number}
38
- * @memberof AccountingConfigDataDtoAccountingConfiguration
39
- */
40
- 'toleranceAmountInCents': number;
41
- }
42
-
43
- export const AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = {
44
- Soll: 'SOLL',
45
- Ist: 'IST'
46
- } as const;
47
-
48
- export type AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum = typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationSettlementRecognitionModeEnum];
49
- export const AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = {
50
- CarrierPays: 'CARRIER_PAYS',
51
- MgaPays: 'MGA_PAYS'
52
- } as const;
53
-
54
- export type AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum = typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum[keyof typeof AccountingConfigDataDtoAccountingConfigurationDefaultTaxHandlingEnum];
55
-
56
-
@@ -1,88 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface AccountingConfigDataDtoDefaultAccountMappings
21
- */
22
- export interface AccountingConfigDataDtoDefaultAccountMappings {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof AccountingConfigDataDtoDefaultAccountMappings
27
- */
28
- 'functionalCategory': AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof AccountingConfigDataDtoDefaultAccountMappings
33
- */
34
- 'label': string;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof AccountingConfigDataDtoDefaultAccountMappings
39
- */
40
- 'financialAccountNumber': string;
41
- /**
42
- *
43
- * @type {number}
44
- * @memberof AccountingConfigDataDtoDefaultAccountMappings
45
- */
46
- 'creditOpeningAmountInCents': number;
47
- /**
48
- *
49
- * @type {number}
50
- * @memberof AccountingConfigDataDtoDefaultAccountMappings
51
- */
52
- 'debitOpeningAmountInCents': number;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof AccountingConfigDataDtoDefaultAccountMappings
57
- */
58
- 'bankAccountCode'?: string;
59
- }
60
-
61
- export const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
62
- BankAcc: 'bank_acc',
63
- TaxPendingAcc: 'tax_pending_acc',
64
- TaxForwardedAcc: 'tax_forwarded_acc',
65
- TaxDueAcc: 'tax_due_acc',
66
- VatPendingAcc: 'vat_pending_acc',
67
- VatDueAcc: 'vat_due_acc',
68
- RevenueBufferAcc: 'revenue_buffer_acc',
69
- RevenueFinalAcc: 'revenue_final_acc',
70
- ClaimExpenseAcc: 'claim_expense_acc',
71
- CustomerCreditLiabAcc: 'customer_credit_liab_acc',
72
- WriteOffExpAcc: 'write_off_exp_acc',
73
- RoundingDiffAcc: 'rounding_diff_acc',
74
- PaymentFeesExpAcc: 'payment_fees_exp_acc',
75
- FeeRevenueAcc: 'fee_revenue_acc',
76
- UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
77
- OpeningBalEquityAcc: 'opening_bal_equity_acc',
78
- ReceivablesCtrlAcc: 'receivables_ctrl_acc',
79
- BrokerCtrlAcc: 'broker_ctrl_acc',
80
- CarrierCtrlAcc: 'carrier_ctrl_acc',
81
- MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
82
- ClaimsPayableAcc: 'claims_payable_acc',
83
- CarrierReceivableAcc: 'carrier_receivable_acc'
84
- } as const;
85
-
86
- export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
87
-
88
-
@@ -1,44 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
17
- import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
18
-
19
- /**
20
- *
21
- * @export
22
- * @interface AccountingConfigDataDto
23
- */
24
- export interface AccountingConfigDataDto {
25
- /**
26
- * The activation date of the accounting configuration
27
- * @type {string}
28
- * @memberof AccountingConfigDataDto
29
- */
30
- 'activationDate'?: string;
31
- /**
32
- * The chart of accounts configuration
33
- * @type {Array<AccountingConfigDataDtoDefaultAccountMappings>}
34
- * @memberof AccountingConfigDataDto
35
- */
36
- 'defaultAccountMappings': Array<AccountingConfigDataDtoDefaultAccountMappings>;
37
- /**
38
- *
39
- * @type {AccountingConfigDataDtoAccountingConfiguration}
40
- * @memberof AccountingConfigDataDto
41
- */
42
- 'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
43
- }
44
-
@@ -1,42 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface AccountingConfigurationClass
21
- */
22
- export interface AccountingConfigurationClass {
23
- /**
24
- * The mode of settlement recognition, can be \"SOLL\" or \"IST\"
25
- * @type {string}
26
- * @memberof AccountingConfigurationClass
27
- */
28
- 'settlementRecognitionMode': string;
29
- /**
30
- * The default tax handling, can be \"CARRIER_PAYS\" or \"MGA_PAYS\"
31
- * @type {string}
32
- * @memberof AccountingConfigurationClass
33
- */
34
- 'defaultTaxHandling': string;
35
- /**
36
- * The tolerance amount in cents
37
- * @type {number}
38
- * @memberof AccountingConfigurationClass
39
- */
40
- 'toleranceAmountInCents': number;
41
- }
42
-
@@ -1,55 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import { FinancialAccountClass } from './financial-account-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CommissionAccountMappingClass
22
- */
23
- export interface CommissionAccountMappingClass {
24
- /**
25
- * Empty string when this row is type-level (not agreement-scoped).
26
- * @type {string}
27
- * @memberof CommissionAccountMappingClass
28
- */
29
- 'commissionAgreementCode': string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof CommissionAccountMappingClass
34
- */
35
- 'commissionType': string;
36
- /**
37
- *
38
- * @type {FinancialAccountClass}
39
- * @memberof CommissionAccountMappingClass
40
- */
41
- 'financialAccount': FinancialAccountClass;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof CommissionAccountMappingClass
46
- */
47
- 'createdAt'?: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof CommissionAccountMappingClass
52
- */
53
- 'updatedAt'?: string;
54
- }
55
-