@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,105 @@
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 PersonalAccountClass
16
+ */
17
+ export interface PersonalAccountClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PersonalAccountClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof PersonalAccountClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * The name of the account.
32
+ * @type {string}
33
+ * @memberof PersonalAccountClass
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * The personal account number.
38
+ * @type {string}
39
+ * @memberof PersonalAccountClass
40
+ */
41
+ 'personalAccountNumber': string;
42
+ /**
43
+ * The financial account number.
44
+ * @type {string}
45
+ * @memberof PersonalAccountClass
46
+ */
47
+ 'financialAccountNumber': string;
48
+ /**
49
+ * The partner number of the account (account number, partner number, etc...).
50
+ * @type {string}
51
+ * @memberof PersonalAccountClass
52
+ */
53
+ 'partnerNumber': string;
54
+ /**
55
+ * The entity code of the account (account code, bank account code, etc...).
56
+ * @type {string}
57
+ * @memberof PersonalAccountClass
58
+ */
59
+ 'entityCode'?: string;
60
+ /**
61
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
62
+ * @type {string}
63
+ * @memberof PersonalAccountClass
64
+ */
65
+ 'type': PersonalAccountClassTypeEnum;
66
+ /**
67
+ * Metadata about the object.
68
+ * @type {object}
69
+ * @memberof PersonalAccountClass
70
+ */
71
+ 'customFields'?: object;
72
+ /**
73
+ * Time at which the object was created.
74
+ * @type {string}
75
+ * @memberof PersonalAccountClass
76
+ */
77
+ 'createdAt': string;
78
+ /**
79
+ * Time at which the object was updated.
80
+ * @type {string}
81
+ * @memberof PersonalAccountClass
82
+ */
83
+ 'updatedAt': string;
84
+ /**
85
+ * Identifier of the user who created the record.
86
+ * @type {string}
87
+ * @memberof PersonalAccountClass
88
+ */
89
+ 'createdBy': string;
90
+ /**
91
+ * Identifier of the user who last updated the record.
92
+ * @type {string}
93
+ * @memberof PersonalAccountClass
94
+ */
95
+ 'updatedBy': string;
96
+ }
97
+ export declare const PersonalAccountClassTypeEnum: {
98
+ readonly Asset: "asset";
99
+ readonly Liability: "liability";
100
+ readonly Equity: "equity";
101
+ readonly Revenue: "revenue";
102
+ readonly Expense: "expense";
103
+ readonly OpeningBalance: "opening_balance";
104
+ };
105
+ export type PersonalAccountClassTypeEnum = typeof PersonalAccountClassTypeEnum[keyof typeof PersonalAccountClassTypeEnum];
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * EMIL GdvService
6
- * The EMIL GdvService API description
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  * Contact: kontakt@emil.de
@@ -13,12 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateUserRequestDtoModeEnum = exports.CreateUserRequestDtoTypeEnum = void 0;
17
- exports.CreateUserRequestDtoTypeEnum = {
18
- Vu: 'VU',
19
- Vm: 'VM'
20
- };
21
- exports.CreateUserRequestDtoModeEnum = {
22
- Tu: 'TU',
23
- Pp: 'PP'
16
+ exports.PersonalAccountClassTypeEnum = void 0;
17
+ exports.PersonalAccountClassTypeEnum = {
18
+ Asset: 'asset',
19
+ Liability: 'liability',
20
+ Equity: 'equity',
21
+ Revenue: 'revenue',
22
+ Expense: 'expense',
23
+ OpeningBalance: 'opening_balance'
24
24
  };
package/index.ts CHANGED
@@ -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,132 @@
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 BookingEntryClass
22
+ */
23
+ export interface BookingEntryClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof BookingEntryClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof BookingEntryClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * The total monetary amount of this booking entry. This amount is distributed among the associated transactions.
38
+ * @type {number}
39
+ * @memberof BookingEntryClass
40
+ */
41
+ 'amount': number;
42
+ /**
43
+ * The currency in which the booking entry amount is denominated.
44
+ * @type {string}
45
+ * @memberof BookingEntryClass
46
+ */
47
+ 'currency': BookingEntryClassCurrencyEnum;
48
+ /**
49
+ * The date of the booking entry. This represents when the booking was recorded. Defaults to the current date if not provided.
50
+ * @type {string}
51
+ * @memberof BookingEntryClass
52
+ */
53
+ 'bookingDate': string;
54
+ /**
55
+ * The date of the document. This represents when the document was recorded. Defaults to the current date if not provided.
56
+ * @type {string}
57
+ * @memberof BookingEntryClass
58
+ */
59
+ 'documentDate': string;
60
+ /**
61
+ * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
62
+ * @type {string}
63
+ * @memberof BookingEntryClass
64
+ */
65
+ 'description': string;
66
+ /**
67
+ * 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 additional metadata or custom attributes that are specific to their use case.
68
+ * @type {object}
69
+ * @memberof BookingEntryClass
70
+ */
71
+ 'customFields'?: object;
72
+ /**
73
+ * The unique identifier for the entity (e.g., claim, invoice) associated with this booking entry.
74
+ * @type {string}
75
+ * @memberof BookingEntryClass
76
+ */
77
+ 'entityNumber'?: string;
78
+ /**
79
+ * The external document number associated with this booking entry.
80
+ * @type {string}
81
+ * @memberof BookingEntryClass
82
+ */
83
+ 'externalNumber'?: string;
84
+ /**
85
+ * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
86
+ * @type {Array<FinancialTransactionClass>}
87
+ * @memberof BookingEntryClass
88
+ */
89
+ 'financialTransactions': Array<FinancialTransactionClass>;
90
+ /**
91
+ * Time at which the object was created.
92
+ * @type {string}
93
+ * @memberof BookingEntryClass
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ * Time at which the object was updated.
98
+ * @type {string}
99
+ * @memberof BookingEntryClass
100
+ */
101
+ 'updatedAt': string;
102
+ /**
103
+ * Identifier of the user who created the record.
104
+ * @type {string}
105
+ * @memberof BookingEntryClass
106
+ */
107
+ 'createdBy': string;
108
+ /**
109
+ * Identifier of the user who last updated the record.
110
+ * @type {string}
111
+ * @memberof BookingEntryClass
112
+ */
113
+ 'updatedBy': string;
114
+ }
115
+
116
+ export const BookingEntryClassCurrencyEnum = {
117
+ Eur: 'EUR',
118
+ Usd: 'USD',
119
+ Gbp: 'GBP',
120
+ Chf: 'CHF',
121
+ Pln: 'PLN',
122
+ Aud: 'AUD',
123
+ Cad: 'CAD',
124
+ Ddk: 'DDK',
125
+ Huf: 'HUF',
126
+ Nok: 'NOK',
127
+ Sek: 'SEK'
128
+ } as const;
129
+
130
+ export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
131
+
132
+
@@ -0,0 +1,67 @@
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.
26
+ * @type {string}
27
+ * @memberof CreateBookingEntryRequestDto
28
+ */
29
+ 'bookingDate': string;
30
+ /**
31
+ * The document date of the booking entry. This represents when the document was created or received.
32
+ * @type {string}
33
+ * @memberof CreateBookingEntryRequestDto
34
+ */
35
+ 'documentDate': string;
36
+ /**
37
+ * The entity number assigned to the entry, such as an invoice or payment reference number.
38
+ * @type {string}
39
+ * @memberof CreateBookingEntryRequestDto
40
+ */
41
+ 'entityNumber'?: string;
42
+ /**
43
+ * The external document number assigned to the entry, such as an invoice or payment reference number.
44
+ * @type {string}
45
+ * @memberof CreateBookingEntryRequestDto
46
+ */
47
+ 'externalNumber'?: string;
48
+ /**
49
+ * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
50
+ * @type {string}
51
+ * @memberof CreateBookingEntryRequestDto
52
+ */
53
+ 'description': string;
54
+ /**
55
+ * Optional key-value pairs containing additional custom information for the booking entry. These fields may include document numbers, reasons, or other contextual metadata.
56
+ * @type {object}
57
+ * @memberof CreateBookingEntryRequestDto
58
+ */
59
+ 'customFields'?: object;
60
+ /**
61
+ * An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
62
+ * @type {Array<FinancialTransactionDataDto>}
63
+ * @memberof CreateBookingEntryRequestDto
64
+ */
65
+ 'financialTransactions': Array<FinancialTransactionDataDto>;
66
+ }
67
+
@@ -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 CreateBookingEntryResponseClass
22
+ */
23
+ export interface CreateBookingEntryResponseClass {
24
+ /**
25
+ * The booking-entry response.
26
+ * @type {BookingEntryClass}
27
+ * @memberof CreateBookingEntryResponseClass
28
+ */
29
+ 'bookingEntry': BookingEntryClass;
30
+ }
31
+
@@ -0,0 +1,84 @@
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 partner associated with this account. Useful for associating the account with specific partner in Emil.
43
+ * @type {string}
44
+ * @memberof CreateFinancialAccountRequestDto
45
+ */
46
+ 'partnerNumber'?: 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
+ * A detailed description of the financial account
61
+ * @type {string}
62
+ * @memberof CreateFinancialAccountRequestDto
63
+ */
64
+ 'description': string;
65
+ /**
66
+ * Whether the financial account is clearable
67
+ * @type {boolean}
68
+ * @memberof CreateFinancialAccountRequestDto
69
+ */
70
+ 'clearable': boolean;
71
+ }
72
+
73
+ export const CreateFinancialAccountRequestDtoTypeEnum = {
74
+ Asset: 'asset',
75
+ Liability: 'liability',
76
+ Equity: 'equity',
77
+ Revenue: 'revenue',
78
+ Expense: 'expense',
79
+ OpeningBalance: 'opening_balance'
80
+ } as const;
81
+
82
+ export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];
83
+
84
+
@@ -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 CreateFinancialAccountResponseClass
22
+ */
23
+ export interface CreateFinancialAccountResponseClass {
24
+ /**
25
+ * The financial account response.
26
+ * @type {FinancialAccountClass}
27
+ * @memberof CreateFinancialAccountResponseClass
28
+ */
29
+ 'financialAccount': FinancialAccountClass;
30
+ }
31
+
@@ -0,0 +1,62 @@
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 CreateNumberRangeRequestDto
21
+ */
22
+ export interface CreateNumberRangeRequestDto {
23
+ /**
24
+ * The slug of the number range
25
+ * @type {string}
26
+ * @memberof CreateNumberRangeRequestDto
27
+ */
28
+ 'slug': string;
29
+ /**
30
+ * The minimum value of the number range
31
+ * @type {number}
32
+ * @memberof CreateNumberRangeRequestDto
33
+ */
34
+ 'minValue': number;
35
+ /**
36
+ * The maximum value of the number range
37
+ * @type {number}
38
+ * @memberof CreateNumberRangeRequestDto
39
+ */
40
+ 'maxValue': number;
41
+ /**
42
+ * The type of the number range
43
+ * @type {string}
44
+ * @memberof CreateNumberRangeRequestDto
45
+ */
46
+ 'accountType': CreateNumberRangeRequestDtoAccountTypeEnum;
47
+ }
48
+
49
+ export const CreateNumberRangeRequestDtoAccountTypeEnum = {
50
+ Customer: 'customer',
51
+ Supplier: 'supplier',
52
+ Employee: 'employee',
53
+ Asset: 'asset',
54
+ Liability: 'liability',
55
+ Equity: 'equity',
56
+ Revenue: 'revenue',
57
+ Expense: 'expense'
58
+ } as const;
59
+
60
+ export type CreateNumberRangeRequestDtoAccountTypeEnum = typeof CreateNumberRangeRequestDtoAccountTypeEnum[keyof typeof CreateNumberRangeRequestDtoAccountTypeEnum];
61
+
62
+
@@ -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 CreateNumberRangeResponseClass
22
+ */
23
+ export interface CreateNumberRangeResponseClass {
24
+ /**
25
+ * The number range response.
26
+ * @type {NumberRangeClass}
27
+ * @memberof CreateNumberRangeResponseClass
28
+ */
29
+ 'numberRange': NumberRangeClass;
30
+ }
31
+
@@ -0,0 +1,69 @@
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 CreatePersonalAccountRequestDto
21
+ */
22
+ export interface CreatePersonalAccountRequestDto {
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 CreatePersonalAccountRequestDto
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 CreatePersonalAccountRequestDto
33
+ */
34
+ 'personalAccountNumber': string;
35
+ /**
36
+ * The unique account number assigned to this financial account. This number is used to route transactions and manage the account within the financial system.
37
+ * @type {string}
38
+ * @memberof CreatePersonalAccountRequestDto
39
+ */
40
+ 'financialAccountNumber': string;
41
+ /**
42
+ * The partner number of the account
43
+ * @type {string}
44
+ * @memberof CreatePersonalAccountRequestDto
45
+ */
46
+ 'partnerNumber': string;
47
+ /**
48
+ * The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
49
+ * @type {string}
50
+ * @memberof CreatePersonalAccountRequestDto
51
+ */
52
+ 'type': CreatePersonalAccountRequestDtoTypeEnum;
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 CreatePersonalAccountRequestDto
57
+ */
58
+ 'customFields'?: object;
59
+ }
60
+
61
+ export const CreatePersonalAccountRequestDtoTypeEnum = {
62
+ Customer: 'customer',
63
+ Supplier: 'supplier',
64
+ Employee: 'employee'
65
+ } as const;
66
+
67
+ export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
68
+
69
+
@@ -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 CreatePersonalAccountResponseClass
22
+ */
23
+ export interface CreatePersonalAccountResponseClass {
24
+ /**
25
+ * The personal account response.
26
+ * @type {PersonalAccountClass}
27
+ * @memberof CreatePersonalAccountResponseClass
28
+ */
29
+ 'personalAccount': PersonalAccountClass;
30
+ }
31
+