@emilgroup/accounting-sdk-node 1.19.0 → 1.20.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 (259) hide show
  1. package/.openapi-generator/FILES +29 -52
  2. package/README.md +2 -2
  3. package/api/{zip-codes-api.ts → booking-entries-api.ts} +195 -162
  4. package/api/financial-accounts-api.ts +577 -0
  5. package/api/financial-transactions-api.ts +369 -0
  6. package/api/health-api.ts +7 -7
  7. package/api/number-ranges-api.ts +577 -0
  8. package/api/personal-accounts-api.ts +577 -0
  9. package/api.ts +12 -14
  10. package/base.ts +2 -2
  11. package/common.ts +4 -4
  12. package/configuration.ts +2 -2
  13. package/dist/api/{zip-codes-api.d.ts → booking-entries-api.d.ts} +130 -111
  14. package/dist/api/{zip-codes-api.js → booking-entries-api.js} +144 -130
  15. package/dist/api/financial-accounts-api.d.ts +327 -0
  16. package/dist/api/{users-api.js → financial-accounts-api.js} +171 -134
  17. package/dist/api/financial-transactions-api.d.ts +215 -0
  18. package/dist/api/financial-transactions-api.js +364 -0
  19. package/dist/api/health-api.d.ts +6 -6
  20. package/dist/api/health-api.js +7 -7
  21. package/dist/api/number-ranges-api.d.ts +327 -0
  22. package/dist/api/{vbas-api.js → number-ranges-api.js} +156 -161
  23. package/dist/api/personal-accounts-api.d.ts +327 -0
  24. package/dist/api/{vbus-api.js → personal-accounts-api.js} +136 -234
  25. package/dist/api.d.ts +7 -8
  26. package/dist/api.js +7 -8
  27. package/dist/base.d.ts +2 -2
  28. package/dist/base.js +2 -2
  29. package/dist/common.d.ts +4 -4
  30. package/dist/common.js +2 -2
  31. package/dist/configuration.d.ts +2 -2
  32. package/dist/configuration.js +2 -2
  33. package/dist/index.d.ts +2 -2
  34. package/dist/index.js +2 -2
  35. package/dist/models/booking-entry-class.d.ts +123 -0
  36. package/dist/models/{create-vbuv-request-dto.js → booking-entry-class.js} +15 -6
  37. package/dist/models/create-booking-entry-request-dto.d.ts +61 -0
  38. package/dist/models/{address-class.js → create-booking-entry-request-dto.js} +2 -2
  39. package/dist/models/create-booking-entry-response-class.d.ts +25 -0
  40. package/dist/models/{create-user-response-class.js → create-booking-entry-response-class.js} +2 -2
  41. package/dist/models/create-financial-account-request-dto.d.ts +75 -0
  42. package/dist/models/create-financial-account-request-dto.js +24 -0
  43. package/dist/models/create-financial-account-response-class.d.ts +25 -0
  44. package/dist/models/{create-mailbox-request-dto.js → create-financial-account-response-class.js} +2 -2
  45. package/dist/models/create-number-range-request-dto.d.ts +53 -0
  46. package/dist/models/create-number-range-request-dto.js +26 -0
  47. package/dist/models/create-number-range-response-class.d.ts +25 -0
  48. package/dist/models/{create-vba-response-class.js → create-number-range-response-class.js} +2 -2
  49. package/dist/models/create-personal-account-request-dto.d.ts +60 -0
  50. package/dist/models/{create-vba-request-dto.js → create-personal-account-request-dto.js} +7 -6
  51. package/dist/models/create-personal-account-response-class.d.ts +25 -0
  52. package/dist/models/create-personal-account-response-class.js +15 -0
  53. package/dist/models/financial-account-class.d.ts +111 -0
  54. package/dist/models/{create-vbu-request-dto.js → financial-account-class.js} +10 -6
  55. package/dist/models/financial-transaction-class.d.ts +114 -0
  56. package/dist/models/financial-transaction-class.js +15 -0
  57. package/dist/models/financial-transaction-data-dto.d.ts +71 -0
  58. package/dist/models/financial-transaction-data-dto.js +25 -0
  59. package/dist/models/get-booking-entry-response-class.d.ts +25 -0
  60. package/dist/models/get-booking-entry-response-class.js +15 -0
  61. package/dist/models/get-financial-account-response-class.d.ts +25 -0
  62. package/dist/models/get-financial-account-response-class.js +15 -0
  63. package/dist/models/get-financial-transaction-response-class.d.ts +25 -0
  64. package/dist/models/get-financial-transaction-response-class.js +15 -0
  65. package/dist/models/get-number-range-response-class.d.ts +25 -0
  66. package/dist/models/get-number-range-response-class.js +15 -0
  67. package/dist/models/get-personal-account-response-class.d.ts +25 -0
  68. package/dist/models/get-personal-account-response-class.js +15 -0
  69. package/dist/models/index.d.ts +24 -46
  70. package/dist/models/index.js +24 -46
  71. package/dist/models/inline-response200.d.ts +2 -2
  72. package/dist/models/inline-response200.js +2 -2
  73. package/dist/models/inline-response503.d.ts +2 -2
  74. package/dist/models/inline-response503.js +2 -2
  75. package/dist/models/list-booking-entries-response-class.d.ts +31 -0
  76. package/dist/models/list-booking-entries-response-class.js +15 -0
  77. package/dist/models/list-financial-accounts-response-class.d.ts +31 -0
  78. package/dist/models/list-financial-accounts-response-class.js +15 -0
  79. package/dist/models/list-financial-transactions-response-class.d.ts +31 -0
  80. package/dist/models/list-financial-transactions-response-class.js +15 -0
  81. package/dist/models/list-number-range-response-class.d.ts +31 -0
  82. package/dist/models/list-number-range-response-class.js +15 -0
  83. package/dist/models/list-personal-accounts-response-class.d.ts +31 -0
  84. package/dist/models/list-personal-accounts-response-class.js +15 -0
  85. package/dist/models/number-range-class.d.ts +84 -0
  86. package/dist/models/number-range-class.js +15 -0
  87. package/dist/models/personal-account-class.d.ts +105 -0
  88. package/dist/models/{create-user-request-dto.js → personal-account-class.js} +10 -10
  89. package/index.ts +2 -2
  90. package/models/booking-entry-class.ts +132 -0
  91. package/models/create-booking-entry-request-dto.ts +67 -0
  92. package/models/create-booking-entry-response-class.ts +31 -0
  93. package/models/create-financial-account-request-dto.ts +84 -0
  94. package/models/create-financial-account-response-class.ts +31 -0
  95. package/models/create-number-range-request-dto.ts +62 -0
  96. package/models/create-number-range-response-class.ts +31 -0
  97. package/models/create-personal-account-request-dto.ts +69 -0
  98. package/models/create-personal-account-response-class.ts +31 -0
  99. package/models/financial-account-class.ts +120 -0
  100. package/models/financial-transaction-class.ts +120 -0
  101. package/models/financial-transaction-data-dto.ts +81 -0
  102. package/models/get-booking-entry-response-class.ts +31 -0
  103. package/models/get-financial-account-response-class.ts +31 -0
  104. package/models/get-financial-transaction-response-class.ts +31 -0
  105. package/models/get-number-range-response-class.ts +31 -0
  106. package/models/get-personal-account-response-class.ts +31 -0
  107. package/models/index.ts +24 -46
  108. package/models/inline-response200.ts +2 -2
  109. package/models/inline-response503.ts +2 -2
  110. package/models/list-booking-entries-response-class.ts +37 -0
  111. package/models/list-financial-accounts-response-class.ts +37 -0
  112. package/models/list-financial-transactions-response-class.ts +37 -0
  113. package/models/list-number-range-response-class.ts +37 -0
  114. package/models/list-personal-accounts-response-class.ts +37 -0
  115. package/models/number-range-class.ts +90 -0
  116. package/models/personal-account-class.ts +114 -0
  117. package/package.json +1 -1
  118. package/api/mailbox-api.ts +0 -255
  119. package/api/messages-api.ts +0 -1100
  120. package/api/users-api.ts +0 -496
  121. package/api/vbas-api.ts +0 -592
  122. package/api/vbus-api.ts +0 -701
  123. package/dist/api/mailbox-api.d.ts +0 -142
  124. package/dist/api/mailbox-api.js +0 -315
  125. package/dist/api/messages-api.d.ts +0 -632
  126. package/dist/api/messages-api.js +0 -916
  127. package/dist/api/users-api.d.ts +0 -275
  128. package/dist/api/vbas-api.d.ts +0 -337
  129. package/dist/api/vbus-api.d.ts +0 -395
  130. package/dist/models/address-class.d.ts +0 -48
  131. package/dist/models/create-mailbox-request-dto.d.ts +0 -36
  132. package/dist/models/create-user-request-dto.d.ts +0 -76
  133. package/dist/models/create-user-response-class.d.ts +0 -25
  134. package/dist/models/create-vba-request-dto.d.ts +0 -41
  135. package/dist/models/create-vba-response-class.d.ts +0 -24
  136. package/dist/models/create-vbu-request-dto.d.ts +0 -41
  137. package/dist/models/create-vbu-response-class.d.ts +0 -24
  138. package/dist/models/create-vbu-response-class.js +0 -15
  139. package/dist/models/create-vbuv-request-dto.d.ts +0 -41
  140. package/dist/models/create-vbuv-response-class.d.ts +0 -24
  141. package/dist/models/create-vbuv-response-class.js +0 -15
  142. package/dist/models/get-request-message-response-class.d.ts +0 -25
  143. package/dist/models/get-request-message-response-class.js +0 -15
  144. package/dist/models/get-response-message-response-class.d.ts +0 -25
  145. package/dist/models/get-response-message-response-class.js +0 -15
  146. package/dist/models/get-user-response-class.d.ts +0 -25
  147. package/dist/models/get-user-response-class.js +0 -15
  148. package/dist/models/get-vba-response-class.d.ts +0 -25
  149. package/dist/models/get-vba-response-class.js +0 -15
  150. package/dist/models/get-vbu-response-class.d.ts +0 -25
  151. package/dist/models/get-vbu-response-class.js +0 -15
  152. package/dist/models/get-zip-code-response-class.d.ts +0 -25
  153. package/dist/models/get-zip-code-response-class.js +0 -15
  154. package/dist/models/list-all-messages-response-class.d.ts +0 -31
  155. package/dist/models/list-all-messages-response-class.js +0 -15
  156. package/dist/models/list-requests-messages-response-class.d.ts +0 -31
  157. package/dist/models/list-requests-messages-response-class.js +0 -15
  158. package/dist/models/list-responses-messages-response-class.d.ts +0 -31
  159. package/dist/models/list-responses-messages-response-class.js +0 -15
  160. package/dist/models/list-users-response-class.d.ts +0 -31
  161. package/dist/models/list-users-response-class.js +0 -15
  162. package/dist/models/list-vbas-response-class.d.ts +0 -31
  163. package/dist/models/list-vbas-response-class.js +0 -15
  164. package/dist/models/list-vbus-response-class.d.ts +0 -31
  165. package/dist/models/list-vbus-response-class.js +0 -15
  166. package/dist/models/list-zip-codes-response-class.d.ts +0 -31
  167. package/dist/models/list-zip-codes-response-class.js +0 -15
  168. package/dist/models/message-class.d.ts +0 -90
  169. package/dist/models/message-class.js +0 -15
  170. package/dist/models/request-details-class.d.ts +0 -48
  171. package/dist/models/request-details-class.js +0 -15
  172. package/dist/models/request-message-class.d.ts +0 -127
  173. package/dist/models/request-message-class.js +0 -15
  174. package/dist/models/response-details-class.d.ts +0 -42
  175. package/dist/models/response-details-class.js +0 -15
  176. package/dist/models/response-message-class.d.ts +0 -139
  177. package/dist/models/response-message-class.js +0 -15
  178. package/dist/models/store-zip-codes-request-dto.d.ts +0 -25
  179. package/dist/models/store-zip-codes-request-dto.js +0 -15
  180. package/dist/models/store-zip-codes-response-class.d.ts +0 -25
  181. package/dist/models/store-zip-codes-response-class.js +0 -15
  182. package/dist/models/update-request-message-request-dto.d.ts +0 -36
  183. package/dist/models/update-request-message-request-dto.js +0 -15
  184. package/dist/models/update-request-message-response-class.d.ts +0 -25
  185. package/dist/models/update-request-message-response-class.js +0 -15
  186. package/dist/models/update-response-message-request-dto.d.ts +0 -36
  187. package/dist/models/update-response-message-request-dto.js +0 -15
  188. package/dist/models/update-response-message-response-class.d.ts +0 -25
  189. package/dist/models/update-response-message-response-class.js +0 -15
  190. package/dist/models/update-user-request-dto.d.ts +0 -82
  191. package/dist/models/update-user-request-dto.js +0 -24
  192. package/dist/models/update-user-response-class.d.ts +0 -25
  193. package/dist/models/update-user-response-class.js +0 -15
  194. package/dist/models/update-vba-request-dto.d.ts +0 -30
  195. package/dist/models/update-vba-request-dto.js +0 -15
  196. package/dist/models/update-vbu-request-dto.d.ts +0 -30
  197. package/dist/models/update-vbu-request-dto.js +0 -15
  198. package/dist/models/update-vbu-response-class.d.ts +0 -25
  199. package/dist/models/update-vbu-response-class.js +0 -15
  200. package/dist/models/user-class.d.ts +0 -107
  201. package/dist/models/user-class.js +0 -20
  202. package/dist/models/vba-class.d.ts +0 -116
  203. package/dist/models/vba-class.js +0 -15
  204. package/dist/models/vba-response-class.d.ts +0 -48
  205. package/dist/models/vba-response-class.js +0 -15
  206. package/dist/models/vbu-class.d.ts +0 -115
  207. package/dist/models/vbu-class.js +0 -15
  208. package/dist/models/vbu-response-class.d.ts +0 -48
  209. package/dist/models/vbu-response-class.js +0 -15
  210. package/dist/models/xlsx-zip-code-dto.d.ts +0 -30
  211. package/dist/models/xlsx-zip-code-dto.js +0 -15
  212. package/dist/models/zip-code-class.d.ts +0 -60
  213. package/dist/models/zip-code-class.js +0 -15
  214. package/models/address-class.ts +0 -54
  215. package/models/create-mailbox-request-dto.ts +0 -42
  216. package/models/create-user-request-dto.ts +0 -86
  217. package/models/create-user-response-class.ts +0 -31
  218. package/models/create-vba-request-dto.ts +0 -50
  219. package/models/create-vba-response-class.ts +0 -30
  220. package/models/create-vbu-request-dto.ts +0 -50
  221. package/models/create-vbu-response-class.ts +0 -30
  222. package/models/create-vbuv-request-dto.ts +0 -50
  223. package/models/create-vbuv-response-class.ts +0 -30
  224. package/models/get-request-message-response-class.ts +0 -31
  225. package/models/get-response-message-response-class.ts +0 -31
  226. package/models/get-user-response-class.ts +0 -31
  227. package/models/get-vba-response-class.ts +0 -31
  228. package/models/get-vbu-response-class.ts +0 -31
  229. package/models/get-zip-code-response-class.ts +0 -31
  230. package/models/list-all-messages-response-class.ts +0 -37
  231. package/models/list-requests-messages-response-class.ts +0 -37
  232. package/models/list-responses-messages-response-class.ts +0 -37
  233. package/models/list-users-response-class.ts +0 -37
  234. package/models/list-vbas-response-class.ts +0 -37
  235. package/models/list-vbus-response-class.ts +0 -37
  236. package/models/list-zip-codes-response-class.ts +0 -37
  237. package/models/message-class.ts +0 -96
  238. package/models/request-details-class.ts +0 -54
  239. package/models/request-message-class.ts +0 -133
  240. package/models/response-details-class.ts +0 -48
  241. package/models/response-message-class.ts +0 -145
  242. package/models/store-zip-codes-request-dto.ts +0 -31
  243. package/models/store-zip-codes-response-class.ts +0 -31
  244. package/models/update-request-message-request-dto.ts +0 -42
  245. package/models/update-request-message-response-class.ts +0 -31
  246. package/models/update-response-message-request-dto.ts +0 -42
  247. package/models/update-response-message-response-class.ts +0 -31
  248. package/models/update-user-request-dto.ts +0 -92
  249. package/models/update-user-response-class.ts +0 -31
  250. package/models/update-vba-request-dto.ts +0 -36
  251. package/models/update-vbu-request-dto.ts +0 -36
  252. package/models/update-vbu-response-class.ts +0 -31
  253. package/models/user-class.ts +0 -116
  254. package/models/vba-class.ts +0 -122
  255. package/models/vba-response-class.ts +0 -54
  256. package/models/vbu-class.ts +0 -121
  257. package/models/vbu-response-class.ts +0 -54
  258. package/models/xlsx-zip-code-dto.ts +0 -36
  259. package/models/zip-code-class.ts +0 -66
@@ -0,0 +1,120 @@
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 partner number of the account.
55
+ * @type {string}
56
+ * @memberof FinancialAccountClass
57
+ */
58
+ 'partnerNumber': 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
+ * The description of the account.
73
+ * @type {string}
74
+ * @memberof FinancialAccountClass
75
+ */
76
+ 'description': string;
77
+ /**
78
+ * Whether the account is clearable.
79
+ * @type {boolean}
80
+ * @memberof FinancialAccountClass
81
+ */
82
+ 'clearable': boolean;
83
+ /**
84
+ * Time at which the object was created.
85
+ * @type {string}
86
+ * @memberof FinancialAccountClass
87
+ */
88
+ 'createdAt': string;
89
+ /**
90
+ * Time at which the object was updated.
91
+ * @type {string}
92
+ * @memberof FinancialAccountClass
93
+ */
94
+ 'updatedAt': string;
95
+ /**
96
+ * Identifier of the user who created the record.
97
+ * @type {string}
98
+ * @memberof FinancialAccountClass
99
+ */
100
+ 'createdBy': string;
101
+ /**
102
+ * Identifier of the user who last updated the record.
103
+ * @type {string}
104
+ * @memberof FinancialAccountClass
105
+ */
106
+ 'updatedBy': string;
107
+ }
108
+
109
+ export const FinancialAccountClassTypeEnum = {
110
+ Asset: 'asset',
111
+ Liability: 'liability',
112
+ Equity: 'equity',
113
+ Revenue: 'revenue',
114
+ Expense: 'expense',
115
+ OpeningBalance: 'opening_balance'
116
+ } as const;
117
+
118
+ export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
119
+
120
+
@@ -0,0 +1,120 @@
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 personal account number that this transaction is related to. This is typically a personal account number.
49
+ * @type {string}
50
+ * @memberof FinancialTransactionClass
51
+ */
52
+ 'personalAccountNumber'?: string;
53
+ /**
54
+ * Internal identifier for the associated booking entry. This links the transaction to a specific entry in the booking system.
55
+ * @type {number}
56
+ * @memberof FinancialTransactionClass
57
+ */
58
+ 'bookingEntryId': number;
59
+ /**
60
+ * Indicates whether the transaction is a debit or credit. Possible values are \"DEBIT\" or \"CREDIT\".
61
+ * @type {string}
62
+ * @memberof FinancialTransactionClass
63
+ */
64
+ 'debitCredit': string;
65
+ /**
66
+ * The total amount of the transaction, represented in cents (e.g., 1550 means €15.50). This value is required for all transactions.
67
+ * @type {number}
68
+ * @memberof FinancialTransactionClass
69
+ */
70
+ 'amount': number;
71
+ /**
72
+ * 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.
73
+ * @type {object}
74
+ * @memberof FinancialTransactionClass
75
+ */
76
+ 'customFields'?: object;
77
+ /**
78
+ * The date of the booking entry. This represents when the booking was recorded. Defaults to the current date if not provided.
79
+ * @type {string}
80
+ * @memberof FinancialTransactionClass
81
+ */
82
+ 'bookingDate': string;
83
+ /**
84
+ * The date of the document. This represents when the document was recorded. Defaults to the current date if not provided.
85
+ * @type {string}
86
+ * @memberof FinancialTransactionClass
87
+ */
88
+ 'documentDate': string;
89
+ /**
90
+ * The type of the transaction. Possible values are \"OPENING_BALANCE\", \"NORMAL\", \"ADJUSTMENT\".
91
+ * @type {string}
92
+ * @memberof FinancialTransactionClass
93
+ */
94
+ 'transactionType': string;
95
+ /**
96
+ * Time at which the object was created.
97
+ * @type {string}
98
+ * @memberof FinancialTransactionClass
99
+ */
100
+ 'createdAt': string;
101
+ /**
102
+ * Time at which the object was updated.
103
+ * @type {string}
104
+ * @memberof FinancialTransactionClass
105
+ */
106
+ 'updatedAt': string;
107
+ /**
108
+ * Identifier of the user who created the record.
109
+ * @type {string}
110
+ * @memberof FinancialTransactionClass
111
+ */
112
+ 'createdBy': string;
113
+ /**
114
+ * Identifier of the user who last updated the record.
115
+ * @type {string}
116
+ * @memberof FinancialTransactionClass
117
+ */
118
+ 'updatedBy': string;
119
+ }
120
+
@@ -0,0 +1,81 @@
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 personal account number associated with the transaction. This is used to identify the specific account involved in the transaction.
31
+ * @type {string}
32
+ * @memberof FinancialTransactionDataDto
33
+ */
34
+ 'personalAccountNumber'?: string;
35
+ /**
36
+ * A brief summary of the transaction, providing context or purpose, such as \"Payment of invoice #1234\" or \"Monthly premium for policy #5678\".
37
+ * @type {string}
38
+ * @memberof FinancialTransactionDataDto
39
+ */
40
+ 'description': string;
41
+ /**
42
+ * 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. Negative values indicate a reversal or deduction, while positive values indicate an addition.
43
+ * @type {number}
44
+ * @memberof FinancialTransactionDataDto
45
+ */
46
+ 'amount': number;
47
+ /**
48
+ * Specifies whether the transaction is a debit or a credit. A debit indicates an outgoing payment, while a credit represents incoming funds.
49
+ * @type {string}
50
+ * @memberof FinancialTransactionDataDto
51
+ */
52
+ 'debitCredit': FinancialTransactionDataDtoDebitCreditEnum;
53
+ /**
54
+ * Optional additional information related to the transaction, structured as key-value pairs. These fields may include metadata, identifiers, or contextual details for custom processing.
55
+ * @type {object}
56
+ * @memberof FinancialTransactionDataDto
57
+ */
58
+ 'customFields': object;
59
+ /**
60
+ * Specifies the type of the transaction. This can be used to categorize transactions for reporting, analysis, or filtering purposes.
61
+ * @type {string}
62
+ * @memberof FinancialTransactionDataDto
63
+ */
64
+ 'transactionType': FinancialTransactionDataDtoTransactionTypeEnum;
65
+ }
66
+
67
+ export const FinancialTransactionDataDtoDebitCreditEnum = {
68
+ Debit: 'DEBIT',
69
+ Credit: 'CREDIT'
70
+ } as const;
71
+
72
+ export type FinancialTransactionDataDtoDebitCreditEnum = typeof FinancialTransactionDataDtoDebitCreditEnum[keyof typeof FinancialTransactionDataDtoDebitCreditEnum];
73
+ export const FinancialTransactionDataDtoTransactionTypeEnum = {
74
+ OpeningBalance: 'OPENING_BALANCE',
75
+ Adjustment: 'ADJUSTMENT',
76
+ Normal: 'NORMAL'
77
+ } as const;
78
+
79
+ export type FinancialTransactionDataDtoTransactionTypeEnum = typeof FinancialTransactionDataDtoTransactionTypeEnum[keyof typeof FinancialTransactionDataDtoTransactionTypeEnum];
80
+
81
+
@@ -0,0 +1,31 @@
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 { BookingEntryClass } from './booking-entry-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetBookingEntryResponseClass
22
+ */
23
+ export interface GetBookingEntryResponseClass {
24
+ /**
25
+ * The booking-entry response.
26
+ * @type {BookingEntryClass}
27
+ * @memberof GetBookingEntryResponseClass
28
+ */
29
+ 'bookingEntry': BookingEntryClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
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
+
@@ -0,0 +1,31 @@
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 { FinancialTransactionClass } from './financial-transaction-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetFinancialTransactionResponseClass
22
+ */
23
+ export interface GetFinancialTransactionResponseClass {
24
+ /**
25
+ * The financial-transaction response.
26
+ * @type {FinancialTransactionClass}
27
+ * @memberof GetFinancialTransactionResponseClass
28
+ */
29
+ 'financialTransaction': FinancialTransactionClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
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 { NumberRangeClass } from './number-range-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetNumberRangeResponseClass
22
+ */
23
+ export interface GetNumberRangeResponseClass {
24
+ /**
25
+ * The number range response.
26
+ * @type {NumberRangeClass}
27
+ * @memberof GetNumberRangeResponseClass
28
+ */
29
+ 'numberRange': NumberRangeClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
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 { PersonalAccountClass } from './personal-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetPersonalAccountResponseClass
22
+ */
23
+ export interface GetPersonalAccountResponseClass {
24
+ /**
25
+ * The personal account response.
26
+ * @type {PersonalAccountClass}
27
+ * @memberof GetPersonalAccountResponseClass
28
+ */
29
+ 'personalAccount': PersonalAccountClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,48 +1,26 @@
1
- export * from './address-class';
2
- export * from './create-mailbox-request-dto';
3
- export * from './create-user-request-dto';
4
- export * from './create-user-response-class';
5
- export * from './create-vba-request-dto';
6
- export * from './create-vba-response-class';
7
- export * from './create-vbu-request-dto';
8
- export * from './create-vbu-response-class';
9
- export * from './create-vbuv-request-dto';
10
- export * from './create-vbuv-response-class';
11
- export * from './get-request-message-response-class';
12
- export * from './get-response-message-response-class';
13
- export * from './get-user-response-class';
14
- export * from './get-vba-response-class';
15
- export * from './get-vbu-response-class';
16
- export * from './get-zip-code-response-class';
1
+ export * from './booking-entry-class';
2
+ export * from './create-booking-entry-request-dto';
3
+ export * from './create-booking-entry-response-class';
4
+ export * from './create-financial-account-request-dto';
5
+ export * from './create-financial-account-response-class';
6
+ export * from './create-number-range-request-dto';
7
+ export * from './create-number-range-response-class';
8
+ export * from './create-personal-account-request-dto';
9
+ export * from './create-personal-account-response-class';
10
+ export * from './financial-account-class';
11
+ export * from './financial-transaction-class';
12
+ export * from './financial-transaction-data-dto';
13
+ export * from './get-booking-entry-response-class';
14
+ export * from './get-financial-account-response-class';
15
+ export * from './get-financial-transaction-response-class';
16
+ export * from './get-number-range-response-class';
17
+ export * from './get-personal-account-response-class';
17
18
  export * from './inline-response200';
18
19
  export * from './inline-response503';
19
- export * from './list-all-messages-response-class';
20
- export * from './list-requests-messages-response-class';
21
- export * from './list-responses-messages-response-class';
22
- export * from './list-users-response-class';
23
- export * from './list-vbas-response-class';
24
- export * from './list-vbus-response-class';
25
- export * from './list-zip-codes-response-class';
26
- export * from './message-class';
27
- export * from './request-details-class';
28
- export * from './request-message-class';
29
- export * from './response-details-class';
30
- export * from './response-message-class';
31
- export * from './store-zip-codes-request-dto';
32
- export * from './store-zip-codes-response-class';
33
- export * from './update-request-message-request-dto';
34
- export * from './update-request-message-response-class';
35
- export * from './update-response-message-request-dto';
36
- export * from './update-response-message-response-class';
37
- export * from './update-user-request-dto';
38
- export * from './update-user-response-class';
39
- export * from './update-vba-request-dto';
40
- export * from './update-vbu-request-dto';
41
- export * from './update-vbu-response-class';
42
- export * from './user-class';
43
- export * from './vba-class';
44
- export * from './vba-response-class';
45
- export * from './vbu-class';
46
- export * from './vbu-response-class';
47
- export * from './xlsx-zip-code-dto';
48
- export * from './zip-code-class';
20
+ export * from './list-booking-entries-response-class';
21
+ export * from './list-financial-accounts-response-class';
22
+ export * from './list-financial-transactions-response-class';
23
+ export * from './list-number-range-response-class';
24
+ export * from './list-personal-accounts-response-class';
25
+ export * from './number-range-class';
26
+ export * from './personal-account-class';
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL GdvService
5
- * The EMIL GdvService API description
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL GdvService
5
- * The EMIL GdvService API description
4
+ * EMIL AccountingService
5
+ * The EMIL AccountingService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -0,0 +1,37 @@
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 { BookingEntryClass } from './booking-entry-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListBookingEntriesResponseClass
22
+ */
23
+ export interface ListBookingEntriesResponseClass {
24
+ /**
25
+ * Booking entries
26
+ * @type {Array<BookingEntryClass>}
27
+ * @memberof ListBookingEntriesResponseClass
28
+ */
29
+ 'items': Array<BookingEntryClass>;
30
+ /**
31
+ * The next page token
32
+ * @type {string}
33
+ * @memberof ListBookingEntriesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,37 @@
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 ListFinancialAccountsResponseClass
22
+ */
23
+ export interface ListFinancialAccountsResponseClass {
24
+ /**
25
+ * The list of financial accounts.
26
+ * @type {Array<FinancialAccountClass>}
27
+ * @memberof ListFinancialAccountsResponseClass
28
+ */
29
+ 'items': Array<FinancialAccountClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListFinancialAccountsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+