@emilgroup/accounting-sdk 1.34.1-beta.77 → 1.34.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 (210) 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/base.ts +41 -174
  10. package/common.ts +2 -3
  11. package/configuration.ts +0 -20
  12. package/dist/api/booking-entries-api.d.ts +7 -121
  13. package/dist/api/booking-entries-api.js +14 -211
  14. package/dist/api/financial-accounts-api.d.ts +20 -86
  15. package/dist/api/financial-accounts-api.js +27 -137
  16. package/dist/api/financial-transactions-api.d.ts +2 -2
  17. package/dist/api/financial-transactions-api.js +6 -8
  18. package/dist/api/health-api.d.ts +1 -1
  19. package/dist/api/number-ranges-api.d.ts +4 -4
  20. package/dist/api/number-ranges-api.js +14 -22
  21. package/dist/api/personal-accounts-api.d.ts +4 -4
  22. package/dist/api/personal-accounts-api.js +14 -22
  23. package/dist/api.d.ts +0 -3
  24. package/dist/api.js +0 -3
  25. package/dist/base.d.ts +0 -24
  26. package/dist/base.js +59 -178
  27. package/dist/common.d.ts +1 -1
  28. package/dist/common.js +0 -1
  29. package/dist/configuration.d.ts +0 -17
  30. package/dist/configuration.js +0 -2
  31. package/dist/models/booking-entry-class.d.ts +0 -34
  32. package/dist/models/booking-entry-class.js +1 -10
  33. package/dist/models/create-booking-entry-request-dto.d.ts +2 -25
  34. package/dist/models/create-booking-entry-request-dto.js +0 -9
  35. package/dist/models/create-financial-account-request-dto.d.ts +5 -50
  36. package/dist/models/create-financial-account-request-dto.js +2 -26
  37. package/dist/models/create-number-range-request-dto.d.ts +4 -4
  38. package/dist/models/create-number-range-request-dto.js +4 -4
  39. package/dist/models/create-personal-account-request-dto.d.ts +6 -14
  40. package/dist/models/create-personal-account-request-dto.js +3 -3
  41. package/dist/models/financial-account-class.d.ts +2 -49
  42. package/dist/models/financial-account-class.js +2 -6
  43. package/dist/models/financial-transaction-class.d.ts +0 -6
  44. package/dist/models/financial-transaction-data-dto.d.ts +2 -11
  45. package/dist/models/financial-transaction-data-dto.js +0 -1
  46. package/dist/models/index.d.ts +0 -47
  47. package/dist/models/index.js +0 -47
  48. package/dist/models/personal-account-class.d.ts +2 -8
  49. package/dist/models/personal-account-class.js +1 -1
  50. package/models/booking-entry-class.ts +0 -35
  51. package/models/create-booking-entry-request-dto.ts +2 -26
  52. package/models/create-financial-account-request-dto.ts +5 -49
  53. package/models/create-number-range-request-dto.ts +4 -4
  54. package/models/create-personal-account-request-dto.ts +6 -12
  55. package/models/financial-account-class.ts +2 -50
  56. package/models/financial-transaction-class.ts +0 -6
  57. package/models/financial-transaction-data-dto.ts +2 -9
  58. package/models/index.ts +0 -47
  59. package/models/personal-account-class.ts +2 -8
  60. package/package.json +2 -2
  61. package/api/accounting-configs-api.ts +0 -862
  62. package/api/commission-account-mappings-api.ts +0 -1207
  63. package/api/product-account-mappings-api.ts +0 -1715
  64. package/dist/api/accounting-configs-api.d.ts +0 -451
  65. package/dist/api/accounting-configs-api.js +0 -881
  66. package/dist/api/commission-account-mappings-api.d.ts +0 -685
  67. package/dist/api/commission-account-mappings-api.js +0 -1022
  68. package/dist/api/product-account-mappings-api.d.ts +0 -972
  69. package/dist/api/product-account-mappings-api.js +0 -1447
  70. package/dist/models/account-mapping-class.d.ts +0 -73
  71. package/dist/models/account-mapping-class.js +0 -40
  72. package/dist/models/accounting-category-class.d.ts +0 -45
  73. package/dist/models/accounting-category-class.js +0 -24
  74. package/dist/models/accounting-config-class.d.ts +0 -78
  75. package/dist/models/accounting-config-class.js +0 -20
  76. package/dist/models/accounting-config-data-class.d.ts +0 -38
  77. package/dist/models/accounting-config-data-class.js +0 -15
  78. package/dist/models/accounting-config-data-dto-accounting-configuration.d.ts +0 -46
  79. package/dist/models/accounting-config-data-dto-accounting-configuration.js +0 -24
  80. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +0 -79
  81. package/dist/models/accounting-config-data-dto-default-account-mappings.js +0 -40
  82. package/dist/models/accounting-config-data-dto.d.ts +0 -38
  83. package/dist/models/accounting-config-data-dto.js +0 -15
  84. package/dist/models/accounting-configuration-class.d.ts +0 -36
  85. package/dist/models/accounting-configuration-class.js +0 -15
  86. package/dist/models/commission-account-mapping-class.d.ts +0 -49
  87. package/dist/models/commission-account-mapping-class.js +0 -15
  88. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +0 -44
  89. package/dist/models/commission-agreement-account-mapping-detail-class.js +0 -15
  90. package/dist/models/commission-agreement-partner-class.d.ts +0 -30
  91. package/dist/models/commission-agreement-partner-class.js +0 -15
  92. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +0 -43
  93. package/dist/models/commission-agreement-with-account-mapping-class.js +0 -15
  94. package/dist/models/commission-type-account-mapping-class.d.ts +0 -31
  95. package/dist/models/commission-type-account-mapping-class.js +0 -15
  96. package/dist/models/create-and-enable-subledger-request-dto.d.ts +0 -25
  97. package/dist/models/create-and-enable-subledger-request-dto.js +0 -15
  98. package/dist/models/create-and-enable-subledger-response-class.d.ts +0 -25
  99. package/dist/models/create-and-enable-subledger-response-class.js +0 -15
  100. package/dist/models/create-or-correct-opening-balance-dto.d.ts +0 -25
  101. package/dist/models/create-or-correct-opening-balance-dto.js +0 -15
  102. package/dist/models/create-or-correct-opening-balance-response-class.d.ts +0 -25
  103. package/dist/models/create-or-correct-opening-balance-response-class.js +0 -15
  104. package/dist/models/export-accounting-config-response-class.d.ts +0 -25
  105. package/dist/models/export-accounting-config-response-class.js +0 -15
  106. package/dist/models/get-accounting-categories-response-class.d.ts +0 -25
  107. package/dist/models/get-accounting-categories-response-class.js +0 -15
  108. package/dist/models/get-activation-snapshot-response-class.d.ts +0 -25
  109. package/dist/models/get-activation-snapshot-response-class.js +0 -15
  110. package/dist/models/list-commission-account-mappings-response-class.d.ts +0 -43
  111. package/dist/models/list-commission-account-mappings-response-class.js +0 -15
  112. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +0 -43
  113. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +0 -15
  114. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +0 -43
  115. package/dist/models/list-commission-type-account-mappings-response-class.js +0 -15
  116. package/dist/models/list-product-account-mappings-response-class.d.ts +0 -43
  117. package/dist/models/list-product-account-mappings-response-class.js +0 -15
  118. package/dist/models/list-products-with-account-mappings-response-class.d.ts +0 -43
  119. package/dist/models/list-products-with-account-mappings-response-class.js +0 -15
  120. package/dist/models/opening-balance-item-dto.d.ts +0 -41
  121. package/dist/models/opening-balance-item-dto.js +0 -20
  122. package/dist/models/post-financial-event-request-dto.d.ts +0 -45
  123. package/dist/models/post-financial-event-request-dto.js +0 -24
  124. package/dist/models/post-financial-event-response-class.d.ts +0 -25
  125. package/dist/models/post-financial-event-response-class.js +0 -15
  126. package/dist/models/premium-item-account-mapping-class.d.ts +0 -37
  127. package/dist/models/premium-item-account-mapping-class.js +0 -15
  128. package/dist/models/product-account-mapping-class.d.ts +0 -61
  129. package/dist/models/product-account-mapping-class.js +0 -15
  130. package/dist/models/product-account-mapping-detail-class.d.ts +0 -56
  131. package/dist/models/product-account-mapping-detail-class.js +0 -15
  132. package/dist/models/product-risk-carrier-class.d.ts +0 -42
  133. package/dist/models/product-risk-carrier-class.js +0 -15
  134. package/dist/models/product-version-account-mapping-detail-class.d.ts +0 -50
  135. package/dist/models/product-version-account-mapping-detail-class.js +0 -15
  136. package/dist/models/product-version-with-account-mappings-class.d.ts +0 -42
  137. package/dist/models/product-version-with-account-mappings-class.js +0 -15
  138. package/dist/models/product-with-account-mappings-class.d.ts +0 -49
  139. package/dist/models/product-with-account-mappings-class.js +0 -15
  140. package/dist/models/put-premium-item-account-body-dto.d.ts +0 -24
  141. package/dist/models/put-premium-item-account-body-dto.js +0 -15
  142. package/dist/models/put-product-category-account-body-dto.d.ts +0 -24
  143. package/dist/models/put-product-category-account-body-dto.js +0 -15
  144. package/dist/models/put-product-risk-carrier-body-dto.d.ts +0 -24
  145. package/dist/models/put-product-risk-carrier-body-dto.js +0 -15
  146. package/dist/models/put-product-version-category-account-body-dto.d.ts +0 -24
  147. package/dist/models/put-product-version-category-account-body-dto.js +0 -15
  148. package/dist/models/resolved-account-mapping-class.d.ts +0 -31
  149. package/dist/models/resolved-account-mapping-class.js +0 -15
  150. package/dist/models/resolved-commission-account-mapping-class.d.ts +0 -37
  151. package/dist/models/resolved-commission-account-mapping-class.js +0 -21
  152. package/dist/models/update-commission-agreement-account-body-dto.d.ts +0 -24
  153. package/dist/models/update-commission-agreement-account-body-dto.js +0 -15
  154. package/dist/models/update-commission-type-account-body-dto.d.ts +0 -24
  155. package/dist/models/update-commission-type-account-body-dto.js +0 -15
  156. package/dist/models/update-financial-account-body-dto.d.ts +0 -48
  157. package/dist/models/update-financial-account-body-dto.js +0 -15
  158. package/dist/models/update-financial-account-response-class.d.ts +0 -25
  159. package/dist/models/update-financial-account-response-class.js +0 -15
  160. package/dist/models/validate-accounting-config-request-dto.d.ts +0 -25
  161. package/dist/models/validate-accounting-config-request-dto.js +0 -15
  162. package/dist/models/validate-accounting-config-response-class.d.ts +0 -30
  163. package/dist/models/validate-accounting-config-response-class.js +0 -15
  164. package/models/account-mapping-class.ts +0 -82
  165. package/models/accounting-category-class.ts +0 -54
  166. package/models/accounting-config-class.ts +0 -87
  167. package/models/accounting-config-data-class.ts +0 -44
  168. package/models/accounting-config-data-dto-accounting-configuration.ts +0 -56
  169. package/models/accounting-config-data-dto-default-account-mappings.ts +0 -88
  170. package/models/accounting-config-data-dto.ts +0 -44
  171. package/models/accounting-configuration-class.ts +0 -42
  172. package/models/commission-account-mapping-class.ts +0 -55
  173. package/models/commission-agreement-account-mapping-detail-class.ts +0 -50
  174. package/models/commission-agreement-partner-class.ts +0 -36
  175. package/models/commission-agreement-with-account-mapping-class.ts +0 -49
  176. package/models/commission-type-account-mapping-class.ts +0 -37
  177. package/models/create-and-enable-subledger-request-dto.ts +0 -31
  178. package/models/create-and-enable-subledger-response-class.ts +0 -31
  179. package/models/create-or-correct-opening-balance-dto.ts +0 -31
  180. package/models/create-or-correct-opening-balance-response-class.ts +0 -31
  181. package/models/export-accounting-config-response-class.ts +0 -31
  182. package/models/get-accounting-categories-response-class.ts +0 -31
  183. package/models/get-activation-snapshot-response-class.ts +0 -31
  184. package/models/list-commission-account-mappings-response-class.ts +0 -49
  185. package/models/list-commission-agreements-with-account-mappings-response-class.ts +0 -49
  186. package/models/list-commission-type-account-mappings-response-class.ts +0 -49
  187. package/models/list-product-account-mappings-response-class.ts +0 -49
  188. package/models/list-products-with-account-mappings-response-class.ts +0 -49
  189. package/models/opening-balance-item-dto.ts +0 -50
  190. package/models/post-financial-event-request-dto.ts +0 -54
  191. package/models/post-financial-event-response-class.ts +0 -31
  192. package/models/premium-item-account-mapping-class.ts +0 -43
  193. package/models/product-account-mapping-class.ts +0 -67
  194. package/models/product-account-mapping-detail-class.ts +0 -62
  195. package/models/product-risk-carrier-class.ts +0 -48
  196. package/models/product-version-account-mapping-detail-class.ts +0 -56
  197. package/models/product-version-with-account-mappings-class.ts +0 -48
  198. package/models/product-with-account-mappings-class.ts +0 -55
  199. package/models/put-premium-item-account-body-dto.ts +0 -30
  200. package/models/put-product-category-account-body-dto.ts +0 -30
  201. package/models/put-product-risk-carrier-body-dto.ts +0 -30
  202. package/models/put-product-version-category-account-body-dto.ts +0 -30
  203. package/models/resolved-account-mapping-class.ts +0 -37
  204. package/models/resolved-commission-account-mapping-class.ts +0 -46
  205. package/models/update-commission-agreement-account-body-dto.ts +0 -30
  206. package/models/update-commission-type-account-body-dto.ts +0 -30
  207. package/models/update-financial-account-body-dto.ts +0 -54
  208. package/models/update-financial-account-response-class.ts +0 -31
  209. package/models/validate-accounting-config-request-dto.ts +0 -31
  210. package/models/validate-accounting-config-response-class.ts +0 -36
@@ -40,18 +40,6 @@ export interface CreateBookingEntryRequestDto {
40
40
  * @memberof CreateBookingEntryRequestDto
41
41
  */
42
42
  'externalNumber'?: string;
43
- /**
44
- * The code of the source entity this entry was posted for, such as an invoice or payment code. Must be provided together with sourceEntityType.
45
- * @type {string}
46
- * @memberof CreateBookingEntryRequestDto
47
- */
48
- 'sourceEntityCode'?: string;
49
- /**
50
- * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand cannot be typed invoice.
51
- * @type {string}
52
- * @memberof CreateBookingEntryRequestDto
53
- */
54
- 'sourceEntityType'?: CreateBookingEntryRequestDtoSourceEntityTypeEnum;
55
43
  /**
56
44
  * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
57
45
  * @type {string}
@@ -60,12 +48,10 @@ export interface CreateBookingEntryRequestDto {
60
48
  'description': string;
61
49
  /**
62
50
  * Optional key-value pairs containing additional custom information for the booking entry. These fields may include document numbers, reasons, or other contextual metadata.
63
- * @type {{ [key: string]: object; }}
51
+ * @type {object}
64
52
  * @memberof CreateBookingEntryRequestDto
65
53
  */
66
- 'customFields'?: {
67
- [key: string]: object;
68
- };
54
+ 'customFields'?: object;
69
55
  /**
70
56
  * An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
71
57
  * @type {Array<FinancialTransactionDataDto>}
@@ -73,12 +59,3 @@ export interface CreateBookingEntryRequestDto {
73
59
  */
74
60
  'financialTransactions': Array<FinancialTransactionDataDto>;
75
61
  }
76
- export declare const CreateBookingEntryRequestDtoSourceEntityTypeEnum: {
77
- readonly Payment: "payment";
78
- readonly Credit: "credit";
79
- readonly CreditAllocation: "credit_allocation";
80
- readonly ClaimRegulation: "claim_regulation";
81
- readonly Commission: "commission";
82
- readonly Manual: "manual";
83
- };
84
- export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
@@ -13,12 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = void 0;
17
- exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
18
- Payment: 'payment',
19
- Credit: 'credit',
20
- CreditAllocation: 'credit_allocation',
21
- ClaimRegulation: 'claim_regulation',
22
- Commission: 'commission',
23
- Manual: 'manual'
24
- };
@@ -47,12 +47,10 @@ export interface CreateFinancialAccountRequestDto {
47
47
  'parentId'?: number;
48
48
  /**
49
49
  * Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
50
- * @type {{ [key: string]: object; }}
50
+ * @type {object}
51
51
  * @memberof CreateFinancialAccountRequestDto
52
52
  */
53
- 'customFields'?: {
54
- [key: string]: object;
55
- };
53
+ 'customFields': object;
56
54
  /**
57
55
  * A detailed description of the financial account
58
56
  * @type {string}
@@ -66,61 +64,18 @@ export interface CreateFinancialAccountRequestDto {
66
64
  */
67
65
  'clearable': boolean;
68
66
  /**
69
- * Whether the financial account is a control account
70
- * @type {boolean}
71
- * @memberof CreateFinancialAccountRequestDto
72
- */
73
- 'isControlAccount': boolean;
74
- /**
75
- * The functional category of the account. Empty string means unset.
67
+ * Not used on this release line. Declared so the DTO matches the generated proto interface. Empty string means unset.
76
68
  * @type {string}
77
69
  * @memberof CreateFinancialAccountRequestDto
78
70
  */
79
- 'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
80
- /**
81
- * Whether this account is the default for its functional category. Only meaningful for pool categories. Setting true on creation will clear isDefault on any other account in the same category.
82
- * @type {boolean}
83
- * @memberof CreateFinancialAccountRequestDto
84
- */
85
- 'isDefault'?: boolean;
86
- /**
87
- * The connected bank account this account books, given as its code. Permitted only on bank_acc accounts, and rejected if another financial account already links that bank account. Its IBAN is read from the bank account and returned as linkedBankAccountIban; it is never accepted here.
88
- * @type {string}
89
- * @memberof CreateFinancialAccountRequestDto
90
- */
91
- 'linkedBankAccountCode'?: string;
71
+ 'functionalCategory'?: string;
92
72
  }
93
73
  export declare const CreateFinancialAccountRequestDtoTypeEnum: {
94
74
  readonly Asset: "asset";
95
75
  readonly Liability: "liability";
96
76
  readonly Equity: "equity";
97
- readonly Income: "income";
77
+ readonly Revenue: "revenue";
98
78
  readonly Expense: "expense";
99
79
  readonly OpeningBalance: "opening_balance";
100
80
  };
101
81
  export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
102
- export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
103
- readonly BankAcc: "bank_acc";
104
- readonly TaxPendingAcc: "tax_pending_acc";
105
- readonly TaxForwardedAcc: "tax_forwarded_acc";
106
- readonly TaxDueAcc: "tax_due_acc";
107
- readonly VatPendingAcc: "vat_pending_acc";
108
- readonly VatDueAcc: "vat_due_acc";
109
- readonly RevenueBufferAcc: "revenue_buffer_acc";
110
- readonly RevenueFinalAcc: "revenue_final_acc";
111
- readonly ClaimExpenseAcc: "claim_expense_acc";
112
- readonly CustomerCreditLiabAcc: "customer_credit_liab_acc";
113
- readonly WriteOffExpAcc: "write_off_exp_acc";
114
- readonly RoundingDiffAcc: "rounding_diff_acc";
115
- readonly PaymentFeesExpAcc: "payment_fees_exp_acc";
116
- readonly FeeRevenueAcc: "fee_revenue_acc";
117
- readonly UnallocatedReceiptsAcc: "unallocated_receipts_acc";
118
- readonly OpeningBalEquityAcc: "opening_bal_equity_acc";
119
- readonly ReceivablesCtrlAcc: "receivables_ctrl_acc";
120
- readonly BrokerCtrlAcc: "broker_ctrl_acc";
121
- readonly CarrierCtrlAcc: "carrier_ctrl_acc";
122
- readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
123
- readonly ClaimsPayableAcc: "claims_payable_acc";
124
- readonly CarrierReceivableAcc: "carrier_receivable_acc";
125
- };
126
- export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
@@ -13,36 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
16
+ exports.CreateFinancialAccountRequestDtoTypeEnum = void 0;
17
17
  exports.CreateFinancialAccountRequestDtoTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Income: 'income',
21
+ Revenue: 'revenue',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };
25
- exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
26
- BankAcc: 'bank_acc',
27
- TaxPendingAcc: 'tax_pending_acc',
28
- TaxForwardedAcc: 'tax_forwarded_acc',
29
- TaxDueAcc: 'tax_due_acc',
30
- VatPendingAcc: 'vat_pending_acc',
31
- VatDueAcc: 'vat_due_acc',
32
- RevenueBufferAcc: 'revenue_buffer_acc',
33
- RevenueFinalAcc: 'revenue_final_acc',
34
- ClaimExpenseAcc: 'claim_expense_acc',
35
- CustomerCreditLiabAcc: 'customer_credit_liab_acc',
36
- WriteOffExpAcc: 'write_off_exp_acc',
37
- RoundingDiffAcc: 'rounding_diff_acc',
38
- PaymentFeesExpAcc: 'payment_fees_exp_acc',
39
- FeeRevenueAcc: 'fee_revenue_acc',
40
- UnallocatedReceiptsAcc: 'unallocated_receipts_acc',
41
- OpeningBalEquityAcc: 'opening_bal_equity_acc',
42
- ReceivablesCtrlAcc: 'receivables_ctrl_acc',
43
- BrokerCtrlAcc: 'broker_ctrl_acc',
44
- CarrierCtrlAcc: 'carrier_ctrl_acc',
45
- MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
46
- ClaimsPayableAcc: 'claims_payable_acc',
47
- CarrierReceivableAcc: 'carrier_receivable_acc'
48
- };
@@ -41,13 +41,13 @@ export interface CreateNumberRangeRequestDto {
41
41
  'accountType': CreateNumberRangeRequestDtoAccountTypeEnum;
42
42
  }
43
43
  export declare const CreateNumberRangeRequestDtoAccountTypeEnum: {
44
- readonly Policyholder: "policyholder";
45
- readonly RiskCarrier: "risk_carrier";
46
- readonly Broker: "broker";
44
+ readonly Customer: "customer";
45
+ readonly Supplier: "supplier";
46
+ readonly Employee: "employee";
47
47
  readonly Asset: "asset";
48
48
  readonly Liability: "liability";
49
49
  readonly Equity: "equity";
50
- readonly Income: "income";
50
+ readonly Revenue: "revenue";
51
51
  readonly Expense: "expense";
52
52
  };
53
53
  export type CreateNumberRangeRequestDtoAccountTypeEnum = typeof CreateNumberRangeRequestDtoAccountTypeEnum[keyof typeof CreateNumberRangeRequestDtoAccountTypeEnum];
@@ -15,12 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateNumberRangeRequestDtoAccountTypeEnum = void 0;
17
17
  exports.CreateNumberRangeRequestDtoAccountTypeEnum = {
18
- Policyholder: 'policyholder',
19
- RiskCarrier: 'risk_carrier',
20
- Broker: 'broker',
18
+ Customer: 'customer',
19
+ Supplier: 'supplier',
20
+ Employee: 'employee',
21
21
  Asset: 'asset',
22
22
  Liability: 'liability',
23
23
  Equity: 'equity',
24
- Income: 'income',
24
+ Revenue: 'revenue',
25
25
  Expense: 'expense'
26
26
  };
@@ -40,29 +40,21 @@ export interface CreatePersonalAccountRequestDto {
40
40
  */
41
41
  'partnerNumber': string;
42
42
  /**
43
- * The partner code of the account
44
- * @type {string}
45
- * @memberof CreatePersonalAccountRequestDto
46
- */
47
- 'partnerCode': string;
48
- /**
49
- * The type of personal account, specifying its category or classification, such as policyholder, risk_carrier, or broker. This categorization helps in accounting and reporting.
43
+ * The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
50
44
  * @type {string}
51
45
  * @memberof CreatePersonalAccountRequestDto
52
46
  */
53
47
  'type': CreatePersonalAccountRequestDtoTypeEnum;
54
48
  /**
55
49
  * Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
56
- * @type {{ [key: string]: object; }}
50
+ * @type {object}
57
51
  * @memberof CreatePersonalAccountRequestDto
58
52
  */
59
- 'customFields'?: {
60
- [key: string]: object;
61
- };
53
+ 'customFields'?: object;
62
54
  }
63
55
  export declare const CreatePersonalAccountRequestDtoTypeEnum: {
64
- readonly Policyholder: "policyholder";
65
- readonly RiskCarrier: "risk_carrier";
66
- readonly Broker: "broker";
56
+ readonly Customer: "customer";
57
+ readonly Supplier: "supplier";
58
+ readonly Employee: "employee";
67
59
  };
68
60
  export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreatePersonalAccountRequestDtoTypeEnum = void 0;
17
17
  exports.CreatePersonalAccountRequestDtoTypeEnum = {
18
- Policyholder: 'policyholder',
19
- RiskCarrier: 'risk_carrier',
20
- Broker: 'broker'
18
+ Customer: 'customer',
19
+ Supplier: 'supplier',
20
+ Employee: 'employee'
21
21
  };
@@ -52,7 +52,7 @@ export interface FinancialAccountClass {
52
52
  */
53
53
  'partnerNumber': string;
54
54
  /**
55
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
55
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
56
56
  * @type {string}
57
57
  * @memberof FinancialAccountClass
58
58
  */
@@ -75,48 +75,6 @@ export interface FinancialAccountClass {
75
75
  * @memberof FinancialAccountClass
76
76
  */
77
77
  'clearable': boolean;
78
- /**
79
- * The status of the account, either \'active\' or \'inactive\'.
80
- * @type {string}
81
- * @memberof FinancialAccountClass
82
- */
83
- 'status': FinancialAccountClassStatusEnum;
84
- /**
85
- * Whether the account is a control account.
86
- * @type {boolean}
87
- * @memberof FinancialAccountClass
88
- */
89
- 'isControlAccount': boolean;
90
- /**
91
- * The functional category of the account. Empty string means unset.
92
- * @type {string}
93
- * @memberof FinancialAccountClass
94
- */
95
- 'functionalCategory': string;
96
- /**
97
- * Whether this is the default account for its functional category. Only one pool-category account per category can have isDefault set to true.
98
- * @type {boolean}
99
- * @memberof FinancialAccountClass
100
- */
101
- 'isDefault': boolean;
102
- /**
103
- * Whether the account is locked. Set automatically the first time the account is posted to; once true, financialAccountNumber can no longer be changed.
104
- * @type {boolean}
105
- * @memberof FinancialAccountClass
106
- */
107
- 'isLocked': boolean;
108
- /**
109
- * The connected bank account this account books, if one is linked. Absent when unlinked, which is every account outside the bank category.
110
- * @type {string}
111
- * @memberof FinancialAccountClass
112
- */
113
- 'linkedBankAccountCode'?: string;
114
- /**
115
- * IBAN of the linked bank account. Read-only: it is read from the bank account when the link is written and cannot be set here.
116
- * @type {string}
117
- * @memberof FinancialAccountClass
118
- */
119
- 'linkedBankAccountIban'?: string;
120
78
  /**
121
79
  * Time at which the object was created.
122
80
  * @type {string}
@@ -146,13 +104,8 @@ export declare const FinancialAccountClassTypeEnum: {
146
104
  readonly Asset: "asset";
147
105
  readonly Liability: "liability";
148
106
  readonly Equity: "equity";
149
- readonly Income: "income";
107
+ readonly Revenue: "revenue";
150
108
  readonly Expense: "expense";
151
109
  readonly OpeningBalance: "opening_balance";
152
110
  };
153
111
  export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
154
- export declare const FinancialAccountClassStatusEnum: {
155
- readonly Active: "active";
156
- readonly Inactive: "inactive";
157
- };
158
- export type FinancialAccountClassStatusEnum = typeof FinancialAccountClassStatusEnum[keyof typeof FinancialAccountClassStatusEnum];
@@ -13,16 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.FinancialAccountClassStatusEnum = exports.FinancialAccountClassTypeEnum = void 0;
16
+ exports.FinancialAccountClassTypeEnum = void 0;
17
17
  exports.FinancialAccountClassTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Income: 'income',
21
+ Revenue: 'revenue',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };
25
- exports.FinancialAccountClassStatusEnum = {
26
- Active: 'active',
27
- Inactive: 'inactive'
28
- };
@@ -45,12 +45,6 @@ export interface FinancialTransactionClass {
45
45
  * @memberof FinancialTransactionClass
46
46
  */
47
47
  'personalAccountNumber'?: string;
48
- /**
49
- * The partner this line\'s amount belongs to. Set on a claims payable or carrier receivable line; absent elsewhere.
50
- * @type {string}
51
- * @memberof FinancialTransactionClass
52
- */
53
- 'partnerCode'?: string;
54
48
  /**
55
49
  * Internal identifier for the associated booking entry. This links the transaction to a specific entry in the booking system.
56
50
  * @type {number}
@@ -27,12 +27,6 @@ export interface FinancialTransactionDataDto {
27
27
  * @memberof FinancialTransactionDataDto
28
28
  */
29
29
  'personalAccountNumber'?: string;
30
- /**
31
- * The partner this line\'s amount belongs to. Required on a claims payable or carrier receivable line; never required elsewhere.
32
- * @type {string}
33
- * @memberof FinancialTransactionDataDto
34
- */
35
- 'partnerCode'?: string;
36
30
  /**
37
31
  * A brief summary of the transaction, providing context or purpose, such as \"Payment of invoice #1234\" or \"Monthly premium for policy #5678\".
38
32
  * @type {string}
@@ -53,12 +47,10 @@ export interface FinancialTransactionDataDto {
53
47
  'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
54
48
  /**
55
49
  * Optional additional information related to the transaction, structured as key-value pairs. These fields may include metadata, identifiers, or contextual details for custom processing.
56
- * @type {{ [key: string]: object; }}
50
+ * @type {object}
57
51
  * @memberof FinancialTransactionDataDto
58
52
  */
59
- 'customFields'?: {
60
- [key: string]: object;
61
- };
53
+ 'customFields': object;
62
54
  /**
63
55
  * Specifies the type of the transaction. This can be used to categorize transactions for reporting, analysis, or filtering purposes.
64
56
  * @type {string}
@@ -73,7 +65,6 @@ export declare const FinancialTransactionDataDtoDebitCreditEnum: {
73
65
  export type FinancialTransactionDataDtoDebitCreditEnum = typeof FinancialTransactionDataDtoDebitCreditEnum[keyof typeof FinancialTransactionDataDtoDebitCreditEnum];
74
66
  export declare const FinancialTransactionDataDtoTransactionTypeEnum: {
75
67
  readonly OpeningBalance: "OPENING_BALANCE";
76
- readonly OpeningBalanceCorrection: "OPENING_BALANCE_CORRECTION";
77
68
  readonly Adjustment: "ADJUSTMENT";
78
69
  readonly Normal: "NORMAL";
79
70
  };
@@ -20,7 +20,6 @@ exports.FinancialTransactionDataDtoDebitCreditEnum = {
20
20
  };
21
21
  exports.FinancialTransactionDataDtoTransactionTypeEnum = {
22
22
  OpeningBalance: 'OPENING_BALANCE',
23
- OpeningBalanceCorrection: 'OPENING_BALANCE_CORRECTION',
24
23
  Adjustment: 'ADJUSTMENT',
25
24
  Normal: 'NORMAL'
26
25
  };
@@ -1,35 +1,15 @@
1
- export * from './account-mapping-class';
2
- export * from './accounting-category-class';
3
- export * from './accounting-config-class';
4
- export * from './accounting-config-data-class';
5
- export * from './accounting-config-data-dto';
6
- export * from './accounting-config-data-dto-accounting-configuration';
7
- export * from './accounting-config-data-dto-default-account-mappings';
8
- export * from './accounting-configuration-class';
9
1
  export * from './booking-entry-class';
10
- export * from './commission-account-mapping-class';
11
- export * from './commission-agreement-account-mapping-detail-class';
12
- export * from './commission-agreement-partner-class';
13
- export * from './commission-agreement-with-account-mapping-class';
14
- export * from './commission-type-account-mapping-class';
15
- export * from './create-and-enable-subledger-request-dto';
16
- export * from './create-and-enable-subledger-response-class';
17
2
  export * from './create-booking-entry-request-dto';
18
3
  export * from './create-booking-entry-response-class';
19
4
  export * from './create-financial-account-request-dto';
20
5
  export * from './create-financial-account-response-class';
21
6
  export * from './create-number-range-request-dto';
22
7
  export * from './create-number-range-response-class';
23
- export * from './create-or-correct-opening-balance-dto';
24
- export * from './create-or-correct-opening-balance-response-class';
25
8
  export * from './create-personal-account-request-dto';
26
9
  export * from './create-personal-account-response-class';
27
- export * from './export-accounting-config-response-class';
28
10
  export * from './financial-account-class';
29
11
  export * from './financial-transaction-class';
30
12
  export * from './financial-transaction-data-dto';
31
- export * from './get-accounting-categories-response-class';
32
- export * from './get-activation-snapshot-response-class';
33
13
  export * from './get-booking-entry-response-class';
34
14
  export * from './get-financial-account-response-class';
35
15
  export * from './get-financial-transaction-response-class';
@@ -38,36 +18,9 @@ export * from './get-personal-account-response-class';
38
18
  export * from './inline-response200';
39
19
  export * from './inline-response503';
40
20
  export * from './list-booking-entries-response-class';
41
- export * from './list-commission-account-mappings-response-class';
42
- export * from './list-commission-agreements-with-account-mappings-response-class';
43
- export * from './list-commission-type-account-mappings-response-class';
44
21
  export * from './list-financial-accounts-response-class';
45
22
  export * from './list-financial-transactions-response-class';
46
23
  export * from './list-number-range-response-class';
47
24
  export * from './list-personal-accounts-response-class';
48
- export * from './list-product-account-mappings-response-class';
49
- export * from './list-products-with-account-mappings-response-class';
50
25
  export * from './number-range-class';
51
- export * from './opening-balance-item-dto';
52
26
  export * from './personal-account-class';
53
- export * from './post-financial-event-request-dto';
54
- export * from './post-financial-event-response-class';
55
- export * from './premium-item-account-mapping-class';
56
- export * from './product-account-mapping-class';
57
- export * from './product-account-mapping-detail-class';
58
- export * from './product-risk-carrier-class';
59
- export * from './product-version-account-mapping-detail-class';
60
- export * from './product-version-with-account-mappings-class';
61
- export * from './product-with-account-mappings-class';
62
- export * from './put-premium-item-account-body-dto';
63
- export * from './put-product-category-account-body-dto';
64
- export * from './put-product-risk-carrier-body-dto';
65
- export * from './put-product-version-category-account-body-dto';
66
- export * from './resolved-account-mapping-class';
67
- export * from './resolved-commission-account-mapping-class';
68
- export * from './update-commission-agreement-account-body-dto';
69
- export * from './update-commission-type-account-body-dto';
70
- export * from './update-financial-account-body-dto';
71
- export * from './update-financial-account-response-class';
72
- export * from './validate-accounting-config-request-dto';
73
- export * from './validate-accounting-config-response-class';
@@ -14,38 +14,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./account-mapping-class"), exports);
18
- __exportStar(require("./accounting-category-class"), exports);
19
- __exportStar(require("./accounting-config-class"), exports);
20
- __exportStar(require("./accounting-config-data-class"), exports);
21
- __exportStar(require("./accounting-config-data-dto"), exports);
22
- __exportStar(require("./accounting-config-data-dto-accounting-configuration"), exports);
23
- __exportStar(require("./accounting-config-data-dto-default-account-mappings"), exports);
24
- __exportStar(require("./accounting-configuration-class"), exports);
25
17
  __exportStar(require("./booking-entry-class"), exports);
26
- __exportStar(require("./commission-account-mapping-class"), exports);
27
- __exportStar(require("./commission-agreement-account-mapping-detail-class"), exports);
28
- __exportStar(require("./commission-agreement-partner-class"), exports);
29
- __exportStar(require("./commission-agreement-with-account-mapping-class"), exports);
30
- __exportStar(require("./commission-type-account-mapping-class"), exports);
31
- __exportStar(require("./create-and-enable-subledger-request-dto"), exports);
32
- __exportStar(require("./create-and-enable-subledger-response-class"), exports);
33
18
  __exportStar(require("./create-booking-entry-request-dto"), exports);
34
19
  __exportStar(require("./create-booking-entry-response-class"), exports);
35
20
  __exportStar(require("./create-financial-account-request-dto"), exports);
36
21
  __exportStar(require("./create-financial-account-response-class"), exports);
37
22
  __exportStar(require("./create-number-range-request-dto"), exports);
38
23
  __exportStar(require("./create-number-range-response-class"), exports);
39
- __exportStar(require("./create-or-correct-opening-balance-dto"), exports);
40
- __exportStar(require("./create-or-correct-opening-balance-response-class"), exports);
41
24
  __exportStar(require("./create-personal-account-request-dto"), exports);
42
25
  __exportStar(require("./create-personal-account-response-class"), exports);
43
- __exportStar(require("./export-accounting-config-response-class"), exports);
44
26
  __exportStar(require("./financial-account-class"), exports);
45
27
  __exportStar(require("./financial-transaction-class"), exports);
46
28
  __exportStar(require("./financial-transaction-data-dto"), exports);
47
- __exportStar(require("./get-accounting-categories-response-class"), exports);
48
- __exportStar(require("./get-activation-snapshot-response-class"), exports);
49
29
  __exportStar(require("./get-booking-entry-response-class"), exports);
50
30
  __exportStar(require("./get-financial-account-response-class"), exports);
51
31
  __exportStar(require("./get-financial-transaction-response-class"), exports);
@@ -54,36 +34,9 @@ __exportStar(require("./get-personal-account-response-class"), exports);
54
34
  __exportStar(require("./inline-response200"), exports);
55
35
  __exportStar(require("./inline-response503"), exports);
56
36
  __exportStar(require("./list-booking-entries-response-class"), exports);
57
- __exportStar(require("./list-commission-account-mappings-response-class"), exports);
58
- __exportStar(require("./list-commission-agreements-with-account-mappings-response-class"), exports);
59
- __exportStar(require("./list-commission-type-account-mappings-response-class"), exports);
60
37
  __exportStar(require("./list-financial-accounts-response-class"), exports);
61
38
  __exportStar(require("./list-financial-transactions-response-class"), exports);
62
39
  __exportStar(require("./list-number-range-response-class"), exports);
63
40
  __exportStar(require("./list-personal-accounts-response-class"), exports);
64
- __exportStar(require("./list-product-account-mappings-response-class"), exports);
65
- __exportStar(require("./list-products-with-account-mappings-response-class"), exports);
66
41
  __exportStar(require("./number-range-class"), exports);
67
- __exportStar(require("./opening-balance-item-dto"), exports);
68
42
  __exportStar(require("./personal-account-class"), exports);
69
- __exportStar(require("./post-financial-event-request-dto"), exports);
70
- __exportStar(require("./post-financial-event-response-class"), exports);
71
- __exportStar(require("./premium-item-account-mapping-class"), exports);
72
- __exportStar(require("./product-account-mapping-class"), exports);
73
- __exportStar(require("./product-account-mapping-detail-class"), exports);
74
- __exportStar(require("./product-risk-carrier-class"), exports);
75
- __exportStar(require("./product-version-account-mapping-detail-class"), exports);
76
- __exportStar(require("./product-version-with-account-mappings-class"), exports);
77
- __exportStar(require("./product-with-account-mappings-class"), exports);
78
- __exportStar(require("./put-premium-item-account-body-dto"), exports);
79
- __exportStar(require("./put-product-category-account-body-dto"), exports);
80
- __exportStar(require("./put-product-risk-carrier-body-dto"), exports);
81
- __exportStar(require("./put-product-version-category-account-body-dto"), exports);
82
- __exportStar(require("./resolved-account-mapping-class"), exports);
83
- __exportStar(require("./resolved-commission-account-mapping-class"), exports);
84
- __exportStar(require("./update-commission-agreement-account-body-dto"), exports);
85
- __exportStar(require("./update-commission-type-account-body-dto"), exports);
86
- __exportStar(require("./update-financial-account-body-dto"), exports);
87
- __exportStar(require("./update-financial-account-response-class"), exports);
88
- __exportStar(require("./validate-accounting-config-request-dto"), exports);
89
- __exportStar(require("./validate-accounting-config-response-class"), exports);
@@ -51,12 +51,6 @@ 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;
60
54
  /**
61
55
  * The entity code of the account (account code, bank account code, etc...).
62
56
  * @type {string}
@@ -64,7 +58,7 @@ export interface PersonalAccountClass {
64
58
  */
65
59
  'entityCode'?: string;
66
60
  /**
67
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Income\", \"Expense\".
61
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
68
62
  * @type {string}
69
63
  * @memberof PersonalAccountClass
70
64
  */
@@ -104,7 +98,7 @@ export declare const PersonalAccountClassTypeEnum: {
104
98
  readonly Asset: "asset";
105
99
  readonly Liability: "liability";
106
100
  readonly Equity: "equity";
107
- readonly Income: "income";
101
+ readonly Revenue: "revenue";
108
102
  readonly Expense: "expense";
109
103
  readonly OpeningBalance: "opening_balance";
110
104
  };
@@ -18,7 +18,7 @@ exports.PersonalAccountClassTypeEnum = {
18
18
  Asset: 'asset',
19
19
  Liability: 'liability',
20
20
  Equity: 'equity',
21
- Income: 'income',
21
+ Revenue: 'revenue',
22
22
  Expense: 'expense',
23
23
  OpeningBalance: 'opening_balance'
24
24
  };