@emilgroup/accounting-sdk-node 1.32.1-beta.8 → 1.32.1-beta.81

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 (166) hide show
  1. package/.openapi-generator/FILES +35 -1
  2. package/README.md +2 -2
  3. package/api/accounting-configs-api.ts +54 -38
  4. package/api/booking-entries-api.ts +234 -10
  5. package/api/commission-account-mappings-api.ts +1211 -0
  6. package/api/financial-accounts-api.ts +150 -20
  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 +1719 -0
  11. package/api.ts +4 -0
  12. package/common.ts +3 -2
  13. package/dist/api/accounting-configs-api.d.ts +25 -25
  14. package/dist/api/accounting-configs-api.js +73 -49
  15. package/dist/api/booking-entries-api.d.ts +121 -7
  16. package/dist/api/booking-entries-api.js +211 -14
  17. package/dist/api/commission-account-mappings-api.d.ts +685 -0
  18. package/dist/api/commission-account-mappings-api.js +1026 -0
  19. package/dist/api/financial-accounts-api.d.ts +82 -16
  20. package/dist/api/financial-accounts-api.js +134 -24
  21. package/dist/api/financial-transactions-api.d.ts +2 -2
  22. package/dist/api/financial-transactions-api.js +8 -6
  23. package/dist/api/health-api.d.ts +1 -1
  24. package/dist/api/number-ranges-api.d.ts +4 -4
  25. package/dist/api/number-ranges-api.js +22 -14
  26. package/dist/api/personal-accounts-api.d.ts +4 -4
  27. package/dist/api/personal-accounts-api.js +22 -14
  28. package/dist/api/product-account-mappings-api.d.ts +972 -0
  29. package/dist/api/product-account-mappings-api.js +1451 -0
  30. package/dist/api.d.ts +2 -0
  31. package/dist/api.js +2 -0
  32. package/dist/common.d.ts +1 -1
  33. package/dist/common.js +1 -0
  34. package/dist/models/account-mapping-class.d.ts +2 -0
  35. package/dist/models/account-mapping-class.js +3 -1
  36. package/dist/models/accounting-config-class.d.ts +11 -0
  37. package/dist/models/accounting-config-class.js +5 -0
  38. package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +8 -0
  39. package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
  40. package/dist/models/booking-entry-class.d.ts +34 -0
  41. package/dist/models/booking-entry-class.js +10 -1
  42. package/dist/models/commission-account-mapping-class.d.ts +49 -0
  43. package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
  44. package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
  45. package/dist/models/commission-agreement-partner-class.d.ts +30 -0
  46. package/dist/models/commission-agreement-partner-class.js +15 -0
  47. package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
  48. package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
  49. package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
  50. package/dist/models/commission-type-account-mapping-class.js +15 -0
  51. package/dist/models/create-booking-entry-request-dto.d.ts +21 -0
  52. package/dist/models/create-booking-entry-request-dto.js +9 -0
  53. package/dist/models/create-financial-account-request-dto.d.ts +8 -0
  54. package/dist/models/create-financial-account-request-dto.js +3 -1
  55. package/dist/models/create-or-correct-opening-balance-dto.d.ts +25 -0
  56. package/dist/models/create-or-correct-opening-balance-dto.js +15 -0
  57. package/dist/models/create-or-correct-opening-balance-response-class.d.ts +25 -0
  58. package/dist/models/create-or-correct-opening-balance-response-class.js +15 -0
  59. package/dist/models/financial-account-class.d.ts +24 -1
  60. package/dist/models/financial-account-class.js +5 -1
  61. package/dist/models/financial-transaction-class.d.ts +6 -0
  62. package/dist/models/financial-transaction-data-dto.d.ts +7 -0
  63. package/dist/models/financial-transaction-data-dto.js +1 -0
  64. package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
  65. package/dist/models/get-activation-snapshot-response-class.js +15 -0
  66. package/dist/models/index.d.ts +33 -1
  67. package/dist/models/index.js +33 -1
  68. package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
  69. package/dist/models/list-commission-account-mappings-response-class.js +15 -0
  70. package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
  71. package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
  72. package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
  73. package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
  74. package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
  75. package/dist/models/list-product-account-mappings-response-class.js +15 -0
  76. package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
  77. package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
  78. package/dist/models/opening-balance-item-dto.d.ts +41 -0
  79. package/dist/models/opening-balance-item-dto.js +20 -0
  80. package/dist/models/personal-account-class.d.ts +6 -0
  81. package/dist/models/post-financial-event-request-dto.d.ts +45 -0
  82. package/dist/models/post-financial-event-request-dto.js +24 -0
  83. package/dist/models/post-financial-event-response-class.d.ts +25 -0
  84. package/dist/models/post-financial-event-response-class.js +15 -0
  85. package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
  86. package/dist/models/premium-item-account-mapping-class.js +15 -0
  87. package/dist/models/product-account-mapping-class.d.ts +61 -0
  88. package/dist/models/product-account-mapping-class.js +15 -0
  89. package/dist/models/product-account-mapping-detail-class.d.ts +56 -0
  90. package/dist/models/product-account-mapping-detail-class.js +15 -0
  91. package/dist/models/product-risk-carrier-class.d.ts +42 -0
  92. package/dist/models/product-risk-carrier-class.js +15 -0
  93. package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
  94. package/dist/models/product-version-account-mapping-detail-class.js +15 -0
  95. package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
  96. package/dist/models/product-version-with-account-mappings-class.js +15 -0
  97. package/dist/models/product-with-account-mappings-class.d.ts +49 -0
  98. package/dist/models/product-with-account-mappings-class.js +15 -0
  99. package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
  100. package/dist/models/put-premium-item-account-body-dto.js +15 -0
  101. package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
  102. package/dist/models/put-product-category-account-body-dto.js +15 -0
  103. package/dist/models/put-product-risk-carrier-body-dto.d.ts +24 -0
  104. package/dist/models/put-product-risk-carrier-body-dto.js +15 -0
  105. package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
  106. package/dist/models/put-product-version-category-account-body-dto.js +15 -0
  107. package/dist/models/resolved-account-mapping-class.d.ts +31 -0
  108. package/dist/models/resolved-account-mapping-class.js +15 -0
  109. package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
  110. package/dist/models/resolved-commission-account-mapping-class.js +21 -0
  111. package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
  112. package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
  113. package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
  114. package/dist/models/update-commission-type-account-body-dto.js +15 -0
  115. package/dist/models/update-financial-account-body-dto.d.ts +48 -0
  116. package/dist/models/update-financial-account-body-dto.js +15 -0
  117. package/dist/models/update-financial-account-response-class.d.ts +25 -0
  118. package/dist/models/update-financial-account-response-class.js +15 -0
  119. package/models/account-mapping-class.ts +3 -1
  120. package/models/accounting-config-class.ts +14 -0
  121. package/models/accounting-config-data-dto-default-account-mappings.ts +9 -1
  122. package/models/booking-entry-class.ts +35 -0
  123. package/models/commission-account-mapping-class.ts +55 -0
  124. package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
  125. package/models/commission-agreement-partner-class.ts +36 -0
  126. package/models/commission-agreement-with-account-mapping-class.ts +49 -0
  127. package/models/commission-type-account-mapping-class.ts +37 -0
  128. package/models/create-booking-entry-request-dto.ts +24 -0
  129. package/models/create-financial-account-request-dto.ts +9 -1
  130. package/models/create-or-correct-opening-balance-dto.ts +31 -0
  131. package/models/create-or-correct-opening-balance-response-class.ts +31 -0
  132. package/models/financial-account-class.ts +25 -1
  133. package/models/financial-transaction-class.ts +6 -0
  134. package/models/financial-transaction-data-dto.ts +7 -0
  135. package/models/get-activation-snapshot-response-class.ts +31 -0
  136. package/models/index.ts +33 -1
  137. package/models/list-commission-account-mappings-response-class.ts +49 -0
  138. package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
  139. package/models/list-commission-type-account-mappings-response-class.ts +49 -0
  140. package/models/list-product-account-mappings-response-class.ts +49 -0
  141. package/models/list-products-with-account-mappings-response-class.ts +49 -0
  142. package/models/opening-balance-item-dto.ts +50 -0
  143. package/models/personal-account-class.ts +6 -0
  144. package/models/post-financial-event-request-dto.ts +54 -0
  145. package/models/post-financial-event-response-class.ts +31 -0
  146. package/models/premium-item-account-mapping-class.ts +43 -0
  147. package/models/product-account-mapping-class.ts +67 -0
  148. package/models/product-account-mapping-detail-class.ts +62 -0
  149. package/models/product-risk-carrier-class.ts +48 -0
  150. package/models/product-version-account-mapping-detail-class.ts +56 -0
  151. package/models/product-version-with-account-mappings-class.ts +48 -0
  152. package/models/product-with-account-mappings-class.ts +55 -0
  153. package/models/put-premium-item-account-body-dto.ts +30 -0
  154. package/models/put-product-category-account-body-dto.ts +30 -0
  155. package/models/put-product-risk-carrier-body-dto.ts +30 -0
  156. package/models/put-product-version-category-account-body-dto.ts +30 -0
  157. package/models/resolved-account-mapping-class.ts +37 -0
  158. package/models/resolved-commission-account-mapping-class.ts +46 -0
  159. package/models/update-commission-agreement-account-body-dto.ts +30 -0
  160. package/models/update-commission-type-account-body-dto.ts +30 -0
  161. package/models/update-financial-account-body-dto.ts +54 -0
  162. package/models/update-financial-account-response-class.ts +31 -0
  163. package/package.json +2 -2
  164. package/dist/models/get-subledger-settings-response-class.d.ts +0 -36
  165. package/models/get-subledger-settings-response-class.ts +0 -42
  166. /package/dist/models/{get-subledger-settings-response-class.js → commission-account-mapping-class.js} +0 -0
package/dist/api.d.ts CHANGED
@@ -11,8 +11,10 @@
11
11
  */
12
12
  export * from './api/accounting-configs-api';
13
13
  export * from './api/booking-entries-api';
14
+ export * from './api/commission-account-mappings-api';
14
15
  export * from './api/financial-accounts-api';
15
16
  export * from './api/financial-transactions-api';
16
17
  export * from './api/health-api';
17
18
  export * from './api/number-ranges-api';
18
19
  export * from './api/personal-accounts-api';
20
+ export * from './api/product-account-mappings-api';
package/dist/api.js CHANGED
@@ -29,8 +29,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/accounting-configs-api"), exports);
31
31
  __exportStar(require("./api/booking-entries-api"), exports);
32
+ __exportStar(require("./api/commission-account-mappings-api"), exports);
32
33
  __exportStar(require("./api/financial-accounts-api"), exports);
33
34
  __exportStar(require("./api/financial-transactions-api"), exports);
34
35
  __exportStar(require("./api/health-api"), exports);
35
36
  __exportStar(require("./api/number-ranges-api"), exports);
36
37
  __exportStar(require("./api/personal-accounts-api"), exports);
38
+ __exportStar(require("./api/product-account-mappings-api"), exports);
package/dist/common.d.ts CHANGED
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
63
63
  *
64
64
  * @export
65
65
  */
66
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
67
67
  /**
68
68
  * EMIL AccountingService
69
69
  * The EMIL AccountingService API description
package/dist/common.js CHANGED
@@ -234,6 +234,7 @@ exports.toPathString = toPathString;
234
234
  * @export
235
235
  */
236
236
  var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
237
+ // Typed by hand: since axios 1.20, request() returns an internal axios type that SDK declarations cannot name.
237
238
  return function (axios, basePath) {
238
239
  if (axios === void 0) { axios = globalAxios; }
239
240
  if (basePath === void 0) { basePath = BASE_PATH; }
@@ -67,5 +67,7 @@ export declare const AccountMappingClassFunctionalCategoryEnum: {
67
67
  readonly BrokerCtrlAcc: "broker_ctrl_acc";
68
68
  readonly CarrierCtrlAcc: "carrier_ctrl_acc";
69
69
  readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
70
+ readonly ClaimsPayableAcc: "claims_payable_acc";
71
+ readonly CarrierReceivableAcc: "carrier_receivable_acc";
70
72
  };
71
73
  export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
@@ -34,5 +34,7 @@ exports.AccountMappingClassFunctionalCategoryEnum = {
34
34
  ReceivablesCtrlAcc: 'receivables_ctrl_acc',
35
35
  BrokerCtrlAcc: 'broker_ctrl_acc',
36
36
  CarrierCtrlAcc: 'carrier_ctrl_acc',
37
- MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
37
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
38
+ ClaimsPayableAcc: 'claims_payable_acc',
39
+ CarrierReceivableAcc: 'carrier_receivable_acc'
38
40
  };
@@ -34,6 +34,12 @@ export interface AccountingConfigClass {
34
34
  * @memberof AccountingConfigClass
35
35
  */
36
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;
37
43
  /**
38
44
  * Product slug this config is scoped to; absent for the tenant default config.
39
45
  * @type {string}
@@ -65,3 +71,8 @@ export interface AccountingConfigClass {
65
71
  */
66
72
  'updatedAt': string;
67
73
  }
74
+ export declare const AccountingConfigClassEnablementStatusEnum: {
75
+ readonly Pending: "pending";
76
+ readonly Complete: "complete";
77
+ };
78
+ export type AccountingConfigClassEnablementStatusEnum = typeof AccountingConfigClassEnablementStatusEnum[keyof typeof AccountingConfigClassEnablementStatusEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AccountingConfigClassEnablementStatusEnum = void 0;
17
+ exports.AccountingConfigClassEnablementStatusEnum = {
18
+ Pending: 'pending',
19
+ Complete: 'complete'
20
+ };
@@ -45,6 +45,12 @@ export interface AccountingConfigDataDtoDefaultAccountMappings {
45
45
  * @memberof AccountingConfigDataDtoDefaultAccountMappings
46
46
  */
47
47
  'debitOpeningAmountInCents': number;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof AccountingConfigDataDtoDefaultAccountMappings
52
+ */
53
+ 'bankAccountCode'?: string;
48
54
  }
49
55
  export declare const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum: {
50
56
  readonly BankAcc: "bank_acc";
@@ -67,5 +73,7 @@ export declare const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCate
67
73
  readonly BrokerCtrlAcc: "broker_ctrl_acc";
68
74
  readonly CarrierCtrlAcc: "carrier_ctrl_acc";
69
75
  readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
76
+ readonly ClaimsPayableAcc: "claims_payable_acc";
77
+ readonly CarrierReceivableAcc: "carrier_receivable_acc";
70
78
  };
71
79
  export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
@@ -34,5 +34,7 @@ exports.AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
34
34
  ReceivablesCtrlAcc: 'receivables_ctrl_acc',
35
35
  BrokerCtrlAcc: 'broker_ctrl_acc',
36
36
  CarrierCtrlAcc: 'carrier_ctrl_acc',
37
- MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
37
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
38
+ ClaimsPayableAcc: 'claims_payable_acc',
39
+ CarrierReceivableAcc: 'carrier_receivable_acc'
38
40
  };
@@ -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,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 });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CommissionAgreementPartnerClass
16
+ */
17
+ export interface CommissionAgreementPartnerClass {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CommissionAgreementPartnerClass
22
+ */
23
+ 'code': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CommissionAgreementPartnerClass
28
+ */
29
+ 'name': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,43 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAgreementWithAccountMappingClass
17
+ */
18
+ export interface CommissionAgreementWithAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CommissionAgreementWithAccountMappingClass
23
+ */
24
+ 'commissionAgreementCode': string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CommissionAgreementWithAccountMappingClass
29
+ */
30
+ 'commissionAgreementNumber': string;
31
+ /**
32
+ * The agreement\'s main partner, read from commissionservice (CommissionAgreement.metadata.mainPartner). Omitted when the agreement has none.
33
+ * @type {CommissionAgreementPartnerClass}
34
+ * @memberof CommissionAgreementWithAccountMappingClass
35
+ */
36
+ 'mainPartner'?: CommissionAgreementPartnerClass;
37
+ /**
38
+ * True if any commission type has an agreement-level override for this agreement.
39
+ * @type {boolean}
40
+ * @memberof CommissionAgreementWithAccountMappingClass
41
+ */
42
+ 'hasCustomMapping': boolean;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ResolvedCommissionAccountMappingClass } from './resolved-commission-account-mapping-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionTypeAccountMappingClass
17
+ */
18
+ export interface CommissionTypeAccountMappingClass {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CommissionTypeAccountMappingClass
23
+ */
24
+ 'commissionType': string;
25
+ /**
26
+ *
27
+ * @type {ResolvedCommissionAccountMappingClass}
28
+ * @memberof CommissionTypeAccountMappingClass
29
+ */
30
+ 'accountMapping': ResolvedCommissionAccountMappingClass;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -40,6 +40,18 @@ export interface CreateBookingEntryRequestDto {
40
40
  * @memberof CreateBookingEntryRequestDto
41
41
  */
42
42
  'externalNumber'?: string;
43
+ /**
44
+ * The code of the source entity this entry was posted for, such as an invoice or payment code. Must be provided together with sourceEntityType.
45
+ * @type {string}
46
+ * @memberof CreateBookingEntryRequestDto
47
+ */
48
+ 'sourceEntityCode'?: string;
49
+ /**
50
+ * The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode. Omitted, the entry is typed manual. An entry posted by hand cannot be typed invoice.
51
+ * @type {string}
52
+ * @memberof CreateBookingEntryRequestDto
53
+ */
54
+ 'sourceEntityType'?: CreateBookingEntryRequestDtoSourceEntityTypeEnum;
43
55
  /**
44
56
  * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
45
57
  * @type {string}
@@ -61,3 +73,12 @@ export interface CreateBookingEntryRequestDto {
61
73
  */
62
74
  'financialTransactions': Array<FinancialTransactionDataDto>;
63
75
  }
76
+ export declare const CreateBookingEntryRequestDtoSourceEntityTypeEnum: {
77
+ readonly Payment: "payment";
78
+ readonly Credit: "credit";
79
+ readonly CreditAllocation: "credit_allocation";
80
+ readonly ClaimRegulation: "claim_regulation";
81
+ readonly Commission: "commission";
82
+ readonly Manual: "manual";
83
+ };
84
+ export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
@@ -13,3 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = void 0;
17
+ exports.CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
18
+ Payment: 'payment',
19
+ Credit: 'credit',
20
+ CreditAllocation: 'credit_allocation',
21
+ ClaimRegulation: 'claim_regulation',
22
+ Commission: 'commission',
23
+ Manual: 'manual'
24
+ };
@@ -83,6 +83,12 @@ export interface CreateFinancialAccountRequestDto {
83
83
  * @memberof CreateFinancialAccountRequestDto
84
84
  */
85
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;
86
92
  }
87
93
  export declare const CreateFinancialAccountRequestDtoTypeEnum: {
88
94
  readonly Asset: "asset";
@@ -114,5 +120,7 @@ export declare const CreateFinancialAccountRequestDtoFunctionalCategoryEnum: {
114
120
  readonly BrokerCtrlAcc: "broker_ctrl_acc";
115
121
  readonly CarrierCtrlAcc: "carrier_ctrl_acc";
116
122
  readonly MainLedgerBridgeAcc: "main_ledger_bridge_acc";
123
+ readonly ClaimsPayableAcc: "claims_payable_acc";
124
+ readonly CarrierReceivableAcc: "carrier_receivable_acc";
117
125
  };
118
126
  export type CreateFinancialAccountRequestDtoFunctionalCategoryEnum = typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum[keyof typeof CreateFinancialAccountRequestDtoFunctionalCategoryEnum];
@@ -42,5 +42,7 @@ exports.CreateFinancialAccountRequestDtoFunctionalCategoryEnum = {
42
42
  ReceivablesCtrlAcc: 'receivables_ctrl_acc',
43
43
  BrokerCtrlAcc: 'broker_ctrl_acc',
44
44
  CarrierCtrlAcc: 'carrier_ctrl_acc',
45
- MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
45
+ MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
46
+ ClaimsPayableAcc: 'claims_payable_acc',
47
+ CarrierReceivableAcc: 'carrier_receivable_acc'
46
48
  };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { OpeningBalanceItemDto } from './opening-balance-item-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateOrCorrectOpeningBalanceDto
17
+ */
18
+ export interface CreateOrCorrectOpeningBalanceDto {
19
+ /**
20
+ * The confirmed opening balance for each account — a first-time entry for one with no history yet, a restatement for one that already has some. The service derives the delta itself against whatever balance it reads (implicitly zero for a first-time entry).
21
+ * @type {Array<OpeningBalanceItemDto>}
22
+ * @memberof CreateOrCorrectOpeningBalanceDto
23
+ */
24
+ 'openingBalances': Array<OpeningBalanceItemDto>;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BookingEntryClass } from './booking-entry-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateOrCorrectOpeningBalanceResponseClass
17
+ */
18
+ export interface CreateOrCorrectOpeningBalanceResponseClass {
19
+ /**
20
+ * The booking entries created — one per item whose confirmed balance differed from its current one (implicitly zero for an account with no history yet). Empty when every item\'s confirmed balance already matched: nothing was booked, and that is success, not an error.
21
+ * @type {Array<BookingEntryClass>}
22
+ * @memberof CreateOrCorrectOpeningBalanceResponseClass
23
+ */
24
+ 'bookingEntries': Array<BookingEntryClass>;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });