@emilgroup/accounting-sdk-node 1.1.0 → 1.2.0

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 (223) hide show
  1. package/.openapi-generator/FILES +52 -15
  2. package/README.md +2 -2
  3. package/api/health-api.ts +7 -7
  4. package/api/mailbox-api.ts +255 -0
  5. package/api/messages-api.ts +1100 -0
  6. package/api/users-api.ts +496 -0
  7. package/api/vbas-api.ts +592 -0
  8. package/api/vbus-api.ts +701 -0
  9. package/api/zip-codes-api.ts +443 -0
  10. package/api.ts +14 -6
  11. package/base.ts +2 -2
  12. package/common.ts +4 -4
  13. package/configuration.ts +2 -2
  14. package/dist/api/health-api.d.ts +6 -6
  15. package/dist/api/health-api.js +7 -7
  16. package/dist/api/mailbox-api.d.ts +142 -0
  17. package/dist/api/mailbox-api.js +315 -0
  18. package/dist/api/messages-api.d.ts +632 -0
  19. package/dist/api/messages-api.js +916 -0
  20. package/dist/api/users-api.d.ts +275 -0
  21. package/dist/api/users-api.js +512 -0
  22. package/dist/api/vbas-api.d.ts +337 -0
  23. package/dist/api/{financial-accounts-api.js → vbas-api.js} +161 -156
  24. package/dist/api/vbus-api.d.ts +395 -0
  25. package/dist/api/vbus-api.js +647 -0
  26. package/dist/api/zip-codes-api.d.ts +253 -0
  27. package/dist/api/{booking-processes-api.js → zip-codes-api.js} +166 -80
  28. package/dist/api.d.ts +8 -4
  29. package/dist/api.js +8 -4
  30. package/dist/base.d.ts +2 -2
  31. package/dist/base.js +2 -2
  32. package/dist/common.d.ts +4 -4
  33. package/dist/common.js +2 -2
  34. package/dist/configuration.d.ts +2 -2
  35. package/dist/configuration.js +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +2 -2
  38. package/dist/models/address-class.d.ts +48 -0
  39. package/dist/models/{get-financial-account-response-class.js → address-class.js} +2 -2
  40. package/dist/models/create-mailbox-request-dto.d.ts +36 -0
  41. package/dist/models/{create-booking-process-response-class.js → create-mailbox-request-dto.js} +2 -2
  42. package/dist/models/create-user-request-dto.d.ts +76 -0
  43. package/dist/models/{financial-account-class.js → create-user-request-dto.js} +10 -9
  44. package/dist/models/create-user-response-class.d.ts +25 -0
  45. package/dist/models/{financial-transaction-class.js → create-user-response-class.js} +2 -2
  46. package/dist/models/create-vba-request-dto.d.ts +41 -0
  47. package/dist/models/create-vba-request-dto.js +20 -0
  48. package/dist/models/create-vba-response-class.d.ts +24 -0
  49. package/dist/models/{create-financial-account-response-class.js → create-vba-response-class.js} +2 -2
  50. package/dist/models/create-vbu-request-dto.d.ts +41 -0
  51. package/dist/models/create-vbu-request-dto.js +20 -0
  52. package/dist/models/create-vbu-response-class.d.ts +24 -0
  53. package/dist/models/create-vbu-response-class.js +15 -0
  54. package/dist/models/create-vbuv-request-dto.d.ts +41 -0
  55. package/dist/models/create-vbuv-request-dto.js +20 -0
  56. package/dist/models/create-vbuv-response-class.d.ts +24 -0
  57. package/dist/models/create-vbuv-response-class.js +15 -0
  58. package/dist/models/get-request-message-response-class.d.ts +25 -0
  59. package/dist/models/get-request-message-response-class.js +15 -0
  60. package/dist/models/get-response-message-response-class.d.ts +25 -0
  61. package/dist/models/get-response-message-response-class.js +15 -0
  62. package/dist/models/get-user-response-class.d.ts +25 -0
  63. package/dist/models/get-user-response-class.js +15 -0
  64. package/dist/models/get-vba-response-class.d.ts +25 -0
  65. package/dist/models/get-vba-response-class.js +15 -0
  66. package/dist/models/get-vbu-response-class.d.ts +25 -0
  67. package/dist/models/get-vbu-response-class.js +15 -0
  68. package/dist/models/get-zip-code-response-class.d.ts +25 -0
  69. package/dist/models/get-zip-code-response-class.js +15 -0
  70. package/dist/models/index.d.ts +46 -13
  71. package/dist/models/index.js +46 -13
  72. package/dist/models/inline-response200.d.ts +2 -2
  73. package/dist/models/inline-response200.js +2 -2
  74. package/dist/models/inline-response503.d.ts +2 -2
  75. package/dist/models/inline-response503.js +2 -2
  76. package/dist/models/list-all-messages-response-class.d.ts +31 -0
  77. package/dist/models/list-all-messages-response-class.js +15 -0
  78. package/dist/models/list-requests-messages-response-class.d.ts +31 -0
  79. package/dist/models/list-requests-messages-response-class.js +15 -0
  80. package/dist/models/list-responses-messages-response-class.d.ts +31 -0
  81. package/dist/models/list-responses-messages-response-class.js +15 -0
  82. package/dist/models/list-users-response-class.d.ts +31 -0
  83. package/dist/models/list-users-response-class.js +15 -0
  84. package/dist/models/list-vbas-response-class.d.ts +31 -0
  85. package/dist/models/list-vbas-response-class.js +15 -0
  86. package/dist/models/list-vbus-response-class.d.ts +31 -0
  87. package/dist/models/list-vbus-response-class.js +15 -0
  88. package/dist/models/list-zip-codes-response-class.d.ts +31 -0
  89. package/dist/models/list-zip-codes-response-class.js +15 -0
  90. package/dist/models/message-class.d.ts +84 -0
  91. package/dist/models/message-class.js +15 -0
  92. package/dist/models/request-details-class.d.ts +48 -0
  93. package/dist/models/request-details-class.js +15 -0
  94. package/dist/models/request-message-class.d.ts +121 -0
  95. package/dist/models/request-message-class.js +15 -0
  96. package/dist/models/response-details-class.d.ts +42 -0
  97. package/dist/models/response-details-class.js +15 -0
  98. package/dist/models/response-message-class.d.ts +133 -0
  99. package/dist/models/response-message-class.js +15 -0
  100. package/dist/models/store-zip-codes-request-dto.d.ts +25 -0
  101. package/dist/models/store-zip-codes-request-dto.js +15 -0
  102. package/dist/models/store-zip-codes-response-class.d.ts +25 -0
  103. package/dist/models/store-zip-codes-response-class.js +15 -0
  104. package/dist/models/update-request-message-request-dto.d.ts +36 -0
  105. package/dist/models/update-request-message-request-dto.js +15 -0
  106. package/dist/models/update-request-message-response-class.d.ts +25 -0
  107. package/dist/models/update-request-message-response-class.js +15 -0
  108. package/dist/models/update-response-message-request-dto.d.ts +36 -0
  109. package/dist/models/update-response-message-request-dto.js +15 -0
  110. package/dist/models/update-response-message-response-class.d.ts +25 -0
  111. package/dist/models/update-response-message-response-class.js +15 -0
  112. package/dist/models/update-user-request-dto.d.ts +82 -0
  113. package/dist/models/{financial-transaction-data-dto.js → update-user-request-dto.js} +10 -6
  114. package/dist/models/update-user-response-class.d.ts +25 -0
  115. package/dist/models/update-user-response-class.js +15 -0
  116. package/dist/models/update-vba-request-dto.d.ts +30 -0
  117. package/dist/models/update-vba-request-dto.js +15 -0
  118. package/dist/models/update-vbu-request-dto.d.ts +30 -0
  119. package/dist/models/update-vbu-request-dto.js +15 -0
  120. package/dist/models/update-vbu-response-class.d.ts +25 -0
  121. package/dist/models/update-vbu-response-class.js +15 -0
  122. package/dist/models/user-class.d.ts +107 -0
  123. package/dist/models/user-class.js +20 -0
  124. package/dist/models/vba-class.d.ts +116 -0
  125. package/dist/models/vba-class.js +15 -0
  126. package/dist/models/vba-response-class.d.ts +48 -0
  127. package/dist/models/vba-response-class.js +15 -0
  128. package/dist/models/vbu-class.d.ts +115 -0
  129. package/dist/models/vbu-class.js +15 -0
  130. package/dist/models/vbu-response-class.d.ts +48 -0
  131. package/dist/models/vbu-response-class.js +15 -0
  132. package/dist/models/xlsx-zip-code-dto.d.ts +30 -0
  133. package/dist/models/xlsx-zip-code-dto.js +15 -0
  134. package/dist/models/zip-code-class.d.ts +60 -0
  135. package/dist/models/zip-code-class.js +15 -0
  136. package/index.ts +2 -2
  137. package/models/address-class.ts +54 -0
  138. package/models/create-mailbox-request-dto.ts +42 -0
  139. package/models/create-user-request-dto.ts +86 -0
  140. package/models/create-user-response-class.ts +31 -0
  141. package/models/create-vba-request-dto.ts +50 -0
  142. package/models/create-vba-response-class.ts +30 -0
  143. package/models/create-vbu-request-dto.ts +50 -0
  144. package/models/create-vbu-response-class.ts +30 -0
  145. package/models/create-vbuv-request-dto.ts +50 -0
  146. package/models/create-vbuv-response-class.ts +30 -0
  147. package/models/get-request-message-response-class.ts +31 -0
  148. package/models/get-response-message-response-class.ts +31 -0
  149. package/models/get-user-response-class.ts +31 -0
  150. package/models/get-vba-response-class.ts +31 -0
  151. package/models/get-vbu-response-class.ts +31 -0
  152. package/models/get-zip-code-response-class.ts +31 -0
  153. package/models/index.ts +46 -13
  154. package/models/inline-response200.ts +2 -2
  155. package/models/inline-response503.ts +2 -2
  156. package/models/list-all-messages-response-class.ts +37 -0
  157. package/models/list-requests-messages-response-class.ts +37 -0
  158. package/models/list-responses-messages-response-class.ts +37 -0
  159. package/models/list-users-response-class.ts +37 -0
  160. package/models/list-vbas-response-class.ts +37 -0
  161. package/models/list-vbus-response-class.ts +37 -0
  162. package/models/list-zip-codes-response-class.ts +37 -0
  163. package/models/message-class.ts +90 -0
  164. package/models/request-details-class.ts +54 -0
  165. package/models/request-message-class.ts +127 -0
  166. package/models/response-details-class.ts +48 -0
  167. package/models/response-message-class.ts +139 -0
  168. package/models/store-zip-codes-request-dto.ts +31 -0
  169. package/models/store-zip-codes-response-class.ts +31 -0
  170. package/models/update-request-message-request-dto.ts +42 -0
  171. package/models/update-request-message-response-class.ts +31 -0
  172. package/models/update-response-message-request-dto.ts +42 -0
  173. package/models/update-response-message-response-class.ts +31 -0
  174. package/models/update-user-request-dto.ts +92 -0
  175. package/models/update-user-response-class.ts +31 -0
  176. package/models/update-vba-request-dto.ts +36 -0
  177. package/models/update-vbu-request-dto.ts +36 -0
  178. package/models/update-vbu-response-class.ts +31 -0
  179. package/models/user-class.ts +116 -0
  180. package/models/vba-class.ts +122 -0
  181. package/models/vba-response-class.ts +54 -0
  182. package/models/vbu-class.ts +121 -0
  183. package/models/vbu-response-class.ts +54 -0
  184. package/models/xlsx-zip-code-dto.ts +36 -0
  185. package/models/zip-code-class.ts +66 -0
  186. package/package.json +1 -1
  187. package/api/booking-processes-api.ts +0 -357
  188. package/api/financial-accounts-api.ts +0 -577
  189. package/dist/api/booking-processes-api.d.ts +0 -207
  190. package/dist/api/financial-accounts-api.d.ts +0 -327
  191. package/dist/models/booking-entry-class.d.ts +0 -123
  192. package/dist/models/booking-entry-class.js +0 -34
  193. package/dist/models/booking-process-class.d.ts +0 -94
  194. package/dist/models/booking-process-class.js +0 -29
  195. package/dist/models/create-booking-entry-request-dto.d.ts +0 -99
  196. package/dist/models/create-booking-entry-request-dto.js +0 -34
  197. package/dist/models/create-booking-process-request-dto.d.ts +0 -64
  198. package/dist/models/create-booking-process-request-dto.js +0 -29
  199. package/dist/models/create-booking-process-response-class.d.ts +0 -25
  200. package/dist/models/create-financial-account-request-dto.d.ts +0 -62
  201. package/dist/models/create-financial-account-request-dto.js +0 -23
  202. package/dist/models/create-financial-account-response-class.d.ts +0 -25
  203. package/dist/models/financial-account-class.d.ts +0 -98
  204. package/dist/models/financial-transaction-class.d.ts +0 -108
  205. package/dist/models/financial-transaction-data-dto.d.ts +0 -71
  206. package/dist/models/get-financial-account-response-class.d.ts +0 -25
  207. package/dist/models/list-booking-process-response-class.d.ts +0 -31
  208. package/dist/models/list-booking-process-response-class.js +0 -15
  209. package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
  210. package/dist/models/list-financial-accounts-response-class.js +0 -15
  211. package/models/booking-entry-class.ts +0 -133
  212. package/models/booking-process-class.ts +0 -104
  213. package/models/create-booking-entry-request-dto.ts +0 -109
  214. package/models/create-booking-process-request-dto.ts +0 -74
  215. package/models/create-booking-process-response-class.ts +0 -31
  216. package/models/create-financial-account-request-dto.ts +0 -71
  217. package/models/create-financial-account-response-class.ts +0 -31
  218. package/models/financial-account-class.ts +0 -107
  219. package/models/financial-transaction-class.ts +0 -114
  220. package/models/financial-transaction-data-dto.ts +0 -80
  221. package/models/get-financial-account-response-class.ts +0 -31
  222. package/models/list-booking-process-response-class.ts +0 -37
  223. package/models/list-financial-accounts-response-class.ts +0 -37
@@ -1,109 +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 { FinancialTransactionDataDto } from './financial-transaction-data-dto';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateBookingEntryRequestDto
22
- */
23
- export interface CreateBookingEntryRequestDto {
24
- /**
25
- * The date of the booking entry. This represents when the transaction or booking was recorded. Defaults to the current date if not provided.
26
- * @type {string}
27
- * @memberof CreateBookingEntryRequestDto
28
- */
29
- 'bookingDate'?: string;
30
- /**
31
- * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
32
- * @type {string}
33
- * @memberof CreateBookingEntryRequestDto
34
- */
35
- 'description': string;
36
- /**
37
- * The policy number associated with this booking entry. This uniquely identifies the policy related to the transaction.
38
- * @type {string}
39
- * @memberof CreateBookingEntryRequestDto
40
- */
41
- 'policyNumber': string;
42
- /**
43
- * The type of entity associated with this entry, such as invoice or payment. This helps categorize the nature of the booking entry.
44
- * @type {string}
45
- * @memberof CreateBookingEntryRequestDto
46
- */
47
- 'entityName': CreateBookingEntryRequestDtoEntityNameEnum;
48
- /**
49
- * The unique number assigned to the entity, such as an invoice or payment reference number.
50
- * @type {string}
51
- * @memberof CreateBookingEntryRequestDto
52
- */
53
- 'entityNumber': string;
54
- /**
55
- * The currency of the transaction amount, defaulting to EUR (Euro) if not otherwise specified.
56
- * @type {string}
57
- * @memberof CreateBookingEntryRequestDto
58
- */
59
- 'currency': CreateBookingEntryRequestDtoCurrencyEnum;
60
- /**
61
- * The monetary value of the booking entry, expressed as an integer in the smallest currency unit (e.g., cents for EUR). Must be a non-negative integer.
62
- * @type {number}
63
- * @memberof CreateBookingEntryRequestDto
64
- */
65
- 'amount': number;
66
- /**
67
- * An optional identifier for the booking process associated with this entry. This helps to link the entry to a specific booking process if applicable.
68
- * @type {number}
69
- * @memberof CreateBookingEntryRequestDto
70
- */
71
- 'bookingProcessId'?: number;
72
- /**
73
- * Optional key-value pairs containing additional custom information for the booking entry. These fields may include document numbers, reasons, or other contextual metadata.
74
- * @type {object}
75
- * @memberof CreateBookingEntryRequestDto
76
- */
77
- 'customFields': object;
78
- /**
79
- * An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
80
- * @type {Array<FinancialTransactionDataDto>}
81
- * @memberof CreateBookingEntryRequestDto
82
- */
83
- 'financialTransactions': Array<FinancialTransactionDataDto>;
84
- }
85
-
86
- export const CreateBookingEntryRequestDtoEntityNameEnum = {
87
- Claim: 'claim',
88
- Invoice: 'invoice',
89
- Payment: 'payment'
90
- } as const;
91
-
92
- export type CreateBookingEntryRequestDtoEntityNameEnum = typeof CreateBookingEntryRequestDtoEntityNameEnum[keyof typeof CreateBookingEntryRequestDtoEntityNameEnum];
93
- export const CreateBookingEntryRequestDtoCurrencyEnum = {
94
- Eur: 'EUR',
95
- Usd: 'USD',
96
- Gbp: 'GBP',
97
- Chf: 'CHF',
98
- Pln: 'PLN',
99
- Aud: 'AUD',
100
- Cad: 'CAD',
101
- Ddk: 'DDK',
102
- Huf: 'HUF',
103
- Nok: 'NOK',
104
- Sek: 'SEK'
105
- } as const;
106
-
107
- export type CreateBookingEntryRequestDtoCurrencyEnum = typeof CreateBookingEntryRequestDtoCurrencyEnum[keyof typeof CreateBookingEntryRequestDtoCurrencyEnum];
108
-
109
-
@@ -1,74 +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 { CreateBookingEntryRequestDto } from './create-booking-entry-request-dto';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateBookingProcessRequestDto
22
- */
23
- export interface CreateBookingProcessRequestDto {
24
- /**
25
- * The unique policy number associated with this booking process. This is used to identify the relevant insurance policy or agreement for which the booking process is being created.
26
- * @type {string}
27
- * @memberof CreateBookingProcessRequestDto
28
- */
29
- 'policyNumber': string;
30
- /**
31
- * The current status of the booking process, indicating its completion or settlement stage, such as invoiced or paid, etc...
32
- * @type {string}
33
- * @memberof CreateBookingProcessRequestDto
34
- */
35
- 'status': CreateBookingProcessRequestDtoStatusEnum;
36
- /**
37
- * The type of booking process being created, such as recurringInvoice or \" initialInvoice. This helps categorize the nature of the booking within the system.
38
- * @type {string}
39
- * @memberof CreateBookingProcessRequestDto
40
- */
41
- 'bookingProcessType': CreateBookingProcessRequestDtoBookingProcessTypeEnum;
42
- /**
43
- * Optional key-value pairs containing additional custom information for the booking process. These fields allow flexibility to include metadata or specific attributes related to the booking.
44
- * @type {object}
45
- * @memberof CreateBookingProcessRequestDto
46
- */
47
- 'customFields': object;
48
- /**
49
- * An array of booking entries associated with this booking process. Each entry represents an individual transaction or action related to the booking and contains details such as amount, date, and descriptions.
50
- * @type {Array<CreateBookingEntryRequestDto>}
51
- * @memberof CreateBookingProcessRequestDto
52
- */
53
- 'bookingEntries': Array<CreateBookingEntryRequestDto>;
54
- }
55
-
56
- export const CreateBookingProcessRequestDtoStatusEnum = {
57
- Invoiced: 'invoiced',
58
- Paid: 'paid',
59
- Open: 'open'
60
- } as const;
61
-
62
- export type CreateBookingProcessRequestDtoStatusEnum = typeof CreateBookingProcessRequestDtoStatusEnum[keyof typeof CreateBookingProcessRequestDtoStatusEnum];
63
- export const CreateBookingProcessRequestDtoBookingProcessTypeEnum = {
64
- TerminationInvoice: 'terminationInvoice',
65
- ClaimsPayment: 'claimsPayment',
66
- WithdrawnInvoice: 'withdrawnInvoice',
67
- CorrectionInvoice: 'correctionInvoice',
68
- RecurringInvoice: 'recurringInvoice',
69
- InitialInvoice: 'initialInvoice'
70
- } as const;
71
-
72
- export type CreateBookingProcessRequestDtoBookingProcessTypeEnum = typeof CreateBookingProcessRequestDtoBookingProcessTypeEnum[keyof typeof CreateBookingProcessRequestDtoBookingProcessTypeEnum];
73
-
74
-
@@ -1,31 +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 { BookingProcessClass } from './booking-process-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateBookingProcessResponseClass
22
- */
23
- export interface CreateBookingProcessResponseClass {
24
- /**
25
- * The booking-process response.
26
- * @type {BookingProcessClass}
27
- * @memberof CreateBookingProcessResponseClass
28
- */
29
- 'bookingProcess': BookingProcessClass;
30
- }
31
-
@@ -1,71 +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 CreateFinancialAccountRequestDto
21
- */
22
- export interface CreateFinancialAccountRequestDto {
23
- /**
24
- * The name of the financial account. This is a descriptive label used to identify the account within the system.
25
- * @type {string}
26
- * @memberof CreateFinancialAccountRequestDto
27
- */
28
- 'name': string;
29
- /**
30
- * The unique account number assigned to this financial account. This number is used to route transactions and manage the account within the financial system.
31
- * @type {string}
32
- * @memberof CreateFinancialAccountRequestDto
33
- */
34
- 'financialAccountNumber': string;
35
- /**
36
- * The type of financial account, specifying its category or classification, such as asset, equity, or expense. This categorization helps in accounting and reporting.
37
- * @type {string}
38
- * @memberof CreateFinancialAccountRequestDto
39
- */
40
- 'type': CreateFinancialAccountRequestDtoTypeEnum;
41
- /**
42
- * An optional code representing the entity associated with this account. Useful for associating the account with specific organizational entities or departments.
43
- * @type {string}
44
- * @memberof CreateFinancialAccountRequestDto
45
- */
46
- 'entityCode'?: string;
47
- /**
48
- * An optional identifier for the parent account. If provided, this allows the creation of sub-accounts under a parent financial account, establishing a hierarchy.
49
- * @type {number}
50
- * @memberof CreateFinancialAccountRequestDto
51
- */
52
- 'parentId'?: number;
53
- /**
54
- * Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
55
- * @type {object}
56
- * @memberof CreateFinancialAccountRequestDto
57
- */
58
- 'customFields': object;
59
- }
60
-
61
- export const CreateFinancialAccountRequestDtoTypeEnum = {
62
- Asset: 'asset',
63
- Liability: 'liability',
64
- Equity: 'equity',
65
- Revenue: 'revenue',
66
- Expense: 'expense'
67
- } as const;
68
-
69
- export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
70
-
71
-
@@ -1,31 +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 CreateFinancialAccountResponseClass
22
- */
23
- export interface CreateFinancialAccountResponseClass {
24
- /**
25
- * The financial account response.
26
- * @type {FinancialAccountClass}
27
- * @memberof CreateFinancialAccountResponseClass
28
- */
29
- 'financialAccount': FinancialAccountClass;
30
- }
31
-
@@ -1,107 +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 FinancialAccountClass
21
- */
22
- export interface FinancialAccountClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof FinancialAccountClass
27
- */
28
- 'id': number;
29
- /**
30
- * Unique identifier for the object.
31
- * @type {string}
32
- * @memberof FinancialAccountClass
33
- */
34
- 'code': string;
35
- /**
36
- * The name of the account.
37
- * @type {string}
38
- * @memberof FinancialAccountClass
39
- */
40
- 'name': string;
41
- /**
42
- * The financial account number.
43
- * @type {string}
44
- * @memberof FinancialAccountClass
45
- */
46
- 'financialAccountNumber': string;
47
- /**
48
- * The ID of the parent account, if any.
49
- * @type {number}
50
- * @memberof FinancialAccountClass
51
- */
52
- 'parentId': number;
53
- /**
54
- * The entity code of the account (account code, bank account code, etc...).
55
- * @type {string}
56
- * @memberof FinancialAccountClass
57
- */
58
- 'entityCode': string;
59
- /**
60
- * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
61
- * @type {string}
62
- * @memberof FinancialAccountClass
63
- */
64
- 'type': FinancialAccountClassTypeEnum;
65
- /**
66
- * Metadata about the object.
67
- * @type {object}
68
- * @memberof FinancialAccountClass
69
- */
70
- 'customFields': object;
71
- /**
72
- * Time at which the object was created.
73
- * @type {string}
74
- * @memberof FinancialAccountClass
75
- */
76
- 'createdAt': string;
77
- /**
78
- * Time at which the object was updated.
79
- * @type {string}
80
- * @memberof FinancialAccountClass
81
- */
82
- 'updatedAt': string;
83
- /**
84
- * Identifier of the user who created the record.
85
- * @type {string}
86
- * @memberof FinancialAccountClass
87
- */
88
- 'createdBy': string;
89
- /**
90
- * Identifier of the user who last updated the record.
91
- * @type {string}
92
- * @memberof FinancialAccountClass
93
- */
94
- 'updatedBy': string;
95
- }
96
-
97
- export const FinancialAccountClassTypeEnum = {
98
- Asset: 'asset',
99
- Liability: 'liability',
100
- Equity: 'equity',
101
- Revenue: 'revenue',
102
- Expense: 'expense'
103
- } as const;
104
-
105
- export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
106
-
107
-
@@ -1,114 +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 FinancialTransactionClass
21
- */
22
- export interface FinancialTransactionClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof FinancialTransactionClass
27
- */
28
- 'id': number;
29
- /**
30
- * Unique identifier for the object.
31
- * @type {string}
32
- * @memberof FinancialTransactionClass
33
- */
34
- 'code': string;
35
- /**
36
- * A brief description or note associated with the financial transaction, providing additional context about the transaction.
37
- * @type {string}
38
- * @memberof FinancialTransactionClass
39
- */
40
- 'description': string;
41
- /**
42
- * The financial account number that this transaction is related to. This is typically a general ledger account number.
43
- * @type {string}
44
- * @memberof FinancialTransactionClass
45
- */
46
- 'financialAccountNumber': string;
47
- /**
48
- * The partner number that this transaction is related to. This is typically a customer or supplier number.
49
- * @type {string}
50
- * @memberof FinancialTransactionClass
51
- */
52
- 'partnerNumber': string;
53
- /**
54
- * The partner group that this transaction is related to. This is typically a customer or supplier group.
55
- * @type {string}
56
- * @memberof FinancialTransactionClass
57
- */
58
- 'partnerGroup'?: string;
59
- /**
60
- * Internal identifier for the associated booking entry. This links the transaction to a specific entry in the booking system.
61
- * @type {number}
62
- * @memberof FinancialTransactionClass
63
- */
64
- 'bookingEntryId': number;
65
- /**
66
- * Indicates whether the transaction is a debit or credit. Possible values are \"DEBIT\" or \"CREDIT\".
67
- * @type {string}
68
- * @memberof FinancialTransactionClass
69
- */
70
- 'debitCredit': string;
71
- /**
72
- * Indicates whether the transaction is \"soll\" or \"haben\" (typically the same as \"debit\" or \"credit\" in English). This is a simplification for German users.
73
- * @type {string}
74
- * @memberof FinancialTransactionClass
75
- */
76
- 'sollHaben': string;
77
- /**
78
- * The total amount of the transaction, represented in cents (e.g., 1550 means €15.50). This value is required for all transactions.
79
- * @type {number}
80
- * @memberof FinancialTransactionClass
81
- */
82
- 'amount': number;
83
- /**
84
- * A flexible JSON object that allows tenants to include any custom fields. The keys represent the names of the custom fields, and the values can be of any data type. This enables tenants to store specific data that may vary by use case, such as additional metadata or custom attributes.
85
- * @type {object}
86
- * @memberof FinancialTransactionClass
87
- */
88
- 'customFields'?: object;
89
- /**
90
- * Time at which the object was created.
91
- * @type {string}
92
- * @memberof FinancialTransactionClass
93
- */
94
- 'createdAt': string;
95
- /**
96
- * Time at which the object was updated.
97
- * @type {string}
98
- * @memberof FinancialTransactionClass
99
- */
100
- 'updatedAt': string;
101
- /**
102
- * Identifier of the user who created the record.
103
- * @type {string}
104
- * @memberof FinancialTransactionClass
105
- */
106
- 'createdBy': string;
107
- /**
108
- * Identifier of the user who last updated the record.
109
- * @type {string}
110
- * @memberof FinancialTransactionClass
111
- */
112
- 'updatedBy': string;
113
- }
114
-
@@ -1,80 +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 FinancialTransactionDataDto
21
- */
22
- export interface FinancialTransactionDataDto {
23
- /**
24
- * The unique identifier of the financial account associated with the transaction. This is used to route the transaction to the correct account in the financial ledger.
25
- * @type {string}
26
- * @memberof FinancialTransactionDataDto
27
- */
28
- 'financialAccountNumber': string;
29
- /**
30
- * The monetary value of the transaction, expressed as an integer in the smallest currency unit (e.g., cents). This represents the exact amount being debited or credited. The value must be an integer.
31
- * @type {number}
32
- * @memberof FinancialTransactionDataDto
33
- */
34
- 'amount': number;
35
- /**
36
- * Specifies whether the transaction is a debit or a credit. A debit indicates an outgoing payment, while a credit represents incoming funds.
37
- * @type {string}
38
- * @memberof FinancialTransactionDataDto
39
- */
40
- 'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
41
- /**
42
- * The unique number assigned to the partner involved in the transaction, typically representing a customer, supplier, or other associated party.
43
- * @type {string}
44
- * @memberof FinancialTransactionDataDto
45
- */
46
- 'partnerNumber': string;
47
- /**
48
- * An optional grouping identifier for the partner, used for categorization and reporting purposes.
49
- * @type {string}
50
- * @memberof FinancialTransactionDataDto
51
- */
52
- 'partnerGroup'?: string;
53
- /**
54
- * The policy number related to this transaction, used for referencing the associated insurance policy or agreement.
55
- * @type {string}
56
- * @memberof FinancialTransactionDataDto
57
- */
58
- 'policyNumber': string;
59
- /**
60
- * Optional additional information related to the transaction, structured as key-value pairs. These fields may include metadata, identifiers, or contextual details for custom processing.
61
- * @type {object}
62
- * @memberof FinancialTransactionDataDto
63
- */
64
- 'customFields': object;
65
- /**
66
- * A brief summary of the transaction, providing context or purpose, such as \"Payment of invoice #1234\" or \"Monthly premium for policy #5678\".
67
- * @type {string}
68
- * @memberof FinancialTransactionDataDto
69
- */
70
- 'description': string;
71
- }
72
-
73
- export const FinancialTransactionDataDtoDebitCreditEnum = {
74
- Debit: 'DEBIT',
75
- Credit: 'CREDIT'
76
- } as const;
77
-
78
- export type FinancialTransactionDataDtoDebitCreditEnum = typeof FinancialTransactionDataDtoDebitCreditEnum[keyof typeof FinancialTransactionDataDtoDebitCreditEnum];
79
-
80
-
@@ -1,31 +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 GetFinancialAccountResponseClass
22
- */
23
- export interface GetFinancialAccountResponseClass {
24
- /**
25
- * The financial account response.
26
- * @type {FinancialAccountClass}
27
- * @memberof GetFinancialAccountResponseClass
28
- */
29
- 'financialAccount': FinancialAccountClass;
30
- }
31
-
@@ -1,37 +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 { BookingProcessClass } from './booking-process-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface ListBookingProcessResponseClass
22
- */
23
- export interface ListBookingProcessResponseClass {
24
- /**
25
- * The list of booking processs.
26
- * @type {Array<BookingProcessClass>}
27
- * @memberof ListBookingProcessResponseClass
28
- */
29
- 'items': Array<BookingProcessClass>;
30
- /**
31
- * Next page token
32
- * @type {string}
33
- * @memberof ListBookingProcessResponseClass
34
- */
35
- 'nextPageToken': string;
36
- }
37
-