@emilgroup/accounting-sdk-node 1.16.0 → 1.16.1-beta.1

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 (232) hide show
  1. package/.openapi-generator/FILES +20 -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/health-api.ts +7 -7
  6. package/api/personal-accounts-api.ts +577 -0
  7. package/api.ts +8 -14
  8. package/base.ts +2 -2
  9. package/common.ts +4 -4
  10. package/configuration.ts +2 -2
  11. package/dist/api/{zip-codes-api.d.ts → booking-entries-api.d.ts} +130 -111
  12. package/dist/api/{zip-codes-api.js → booking-entries-api.js} +144 -130
  13. package/dist/api/financial-accounts-api.d.ts +327 -0
  14. package/dist/api/{vbas-api.js → financial-accounts-api.js} +156 -161
  15. package/dist/api/health-api.d.ts +6 -6
  16. package/dist/api/health-api.js +7 -7
  17. package/dist/api/personal-accounts-api.d.ts +327 -0
  18. package/dist/api/{vbus-api.js → personal-accounts-api.js} +136 -234
  19. package/dist/api.d.ts +5 -8
  20. package/dist/api.js +5 -8
  21. package/dist/base.d.ts +2 -2
  22. package/dist/base.js +2 -2
  23. package/dist/common.d.ts +4 -4
  24. package/dist/common.js +2 -2
  25. package/dist/configuration.d.ts +2 -2
  26. package/dist/configuration.js +2 -2
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +2 -2
  29. package/dist/models/booking-entry-class.d.ts +111 -0
  30. package/dist/models/booking-entry-class.js +29 -0
  31. package/dist/models/create-booking-entry-request-dto.d.ts +61 -0
  32. package/dist/models/{address-class.js → create-booking-entry-request-dto.js} +2 -2
  33. package/dist/models/create-booking-entry-response-class.d.ts +25 -0
  34. package/dist/models/{create-user-response-class.js → create-booking-entry-response-class.js} +2 -2
  35. package/dist/models/create-financial-account-request-dto.d.ts +62 -0
  36. package/dist/models/{create-user-request-dto.js → create-financial-account-request-dto.js} +9 -10
  37. package/dist/models/create-financial-account-response-class.d.ts +25 -0
  38. package/dist/models/{create-mailbox-request-dto.js → create-financial-account-response-class.js} +2 -2
  39. package/dist/models/create-personal-account-request-dto.d.ts +60 -0
  40. package/dist/models/{create-vbu-request-dto.js → create-personal-account-request-dto.js} +7 -6
  41. package/dist/models/create-personal-account-response-class.d.ts +25 -0
  42. package/dist/models/{create-vba-response-class.js → create-personal-account-response-class.js} +2 -2
  43. package/dist/models/financial-account-class.d.ts +98 -0
  44. package/dist/models/{user-class.js → financial-account-class.js} +9 -6
  45. package/dist/models/financial-transaction-class.d.ts +96 -0
  46. package/dist/models/financial-transaction-class.js +15 -0
  47. package/dist/models/financial-transaction-data-dto.d.ts +59 -0
  48. package/dist/models/{create-vba-request-dto.js → financial-transaction-data-dto.js} +6 -6
  49. package/dist/models/get-booking-entry-response-class.d.ts +25 -0
  50. package/dist/models/get-booking-entry-response-class.js +15 -0
  51. package/dist/models/get-financial-account-response-class.d.ts +25 -0
  52. package/dist/models/get-financial-account-response-class.js +15 -0
  53. package/dist/models/get-personal-account-response-class.d.ts +25 -0
  54. package/dist/models/get-personal-account-response-class.js +15 -0
  55. package/dist/models/index.d.ts +17 -46
  56. package/dist/models/index.js +17 -46
  57. package/dist/models/inline-response200.d.ts +2 -2
  58. package/dist/models/inline-response200.js +2 -2
  59. package/dist/models/inline-response503.d.ts +2 -2
  60. package/dist/models/inline-response503.js +2 -2
  61. package/dist/models/list-booking-entries-response-class.d.ts +31 -0
  62. package/dist/models/list-booking-entries-response-class.js +15 -0
  63. package/dist/models/list-financial-accounts-response-class.d.ts +31 -0
  64. package/dist/models/list-financial-accounts-response-class.js +15 -0
  65. package/dist/models/list-personal-accounts-response-class.d.ts +31 -0
  66. package/dist/models/list-personal-accounts-response-class.js +15 -0
  67. package/dist/models/personal-account-class.d.ts +104 -0
  68. package/dist/models/{create-vbuv-request-dto.js → personal-account-class.js} +9 -6
  69. package/index.ts +2 -2
  70. package/models/booking-entry-class.ts +120 -0
  71. package/models/create-booking-entry-request-dto.ts +67 -0
  72. package/models/create-booking-entry-response-class.ts +31 -0
  73. package/models/create-financial-account-request-dto.ts +71 -0
  74. package/models/create-financial-account-response-class.ts +31 -0
  75. package/models/create-personal-account-request-dto.ts +69 -0
  76. package/models/create-personal-account-response-class.ts +31 -0
  77. package/models/financial-account-class.ts +107 -0
  78. package/models/financial-transaction-class.ts +102 -0
  79. package/models/financial-transaction-data-dto.ts +68 -0
  80. package/models/get-booking-entry-response-class.ts +31 -0
  81. package/models/get-financial-account-response-class.ts +31 -0
  82. package/models/get-personal-account-response-class.ts +31 -0
  83. package/models/index.ts +17 -46
  84. package/models/inline-response200.ts +2 -2
  85. package/models/inline-response503.ts +2 -2
  86. package/models/list-booking-entries-response-class.ts +37 -0
  87. package/models/list-financial-accounts-response-class.ts +37 -0
  88. package/models/list-personal-accounts-response-class.ts +37 -0
  89. package/models/personal-account-class.ts +113 -0
  90. package/package.json +1 -1
  91. package/api/mailbox-api.ts +0 -255
  92. package/api/messages-api.ts +0 -1100
  93. package/api/users-api.ts +0 -496
  94. package/api/vbas-api.ts +0 -592
  95. package/api/vbus-api.ts +0 -701
  96. package/dist/api/mailbox-api.d.ts +0 -142
  97. package/dist/api/mailbox-api.js +0 -315
  98. package/dist/api/messages-api.d.ts +0 -632
  99. package/dist/api/messages-api.js +0 -916
  100. package/dist/api/users-api.d.ts +0 -275
  101. package/dist/api/users-api.js +0 -512
  102. package/dist/api/vbas-api.d.ts +0 -337
  103. package/dist/api/vbus-api.d.ts +0 -395
  104. package/dist/models/address-class.d.ts +0 -48
  105. package/dist/models/create-mailbox-request-dto.d.ts +0 -36
  106. package/dist/models/create-user-request-dto.d.ts +0 -76
  107. package/dist/models/create-user-response-class.d.ts +0 -25
  108. package/dist/models/create-vba-request-dto.d.ts +0 -41
  109. package/dist/models/create-vba-response-class.d.ts +0 -24
  110. package/dist/models/create-vbu-request-dto.d.ts +0 -41
  111. package/dist/models/create-vbu-response-class.d.ts +0 -24
  112. package/dist/models/create-vbu-response-class.js +0 -15
  113. package/dist/models/create-vbuv-request-dto.d.ts +0 -41
  114. package/dist/models/create-vbuv-response-class.d.ts +0 -24
  115. package/dist/models/create-vbuv-response-class.js +0 -15
  116. package/dist/models/get-request-message-response-class.d.ts +0 -25
  117. package/dist/models/get-request-message-response-class.js +0 -15
  118. package/dist/models/get-response-message-response-class.d.ts +0 -25
  119. package/dist/models/get-response-message-response-class.js +0 -15
  120. package/dist/models/get-user-response-class.d.ts +0 -25
  121. package/dist/models/get-user-response-class.js +0 -15
  122. package/dist/models/get-vba-response-class.d.ts +0 -25
  123. package/dist/models/get-vba-response-class.js +0 -15
  124. package/dist/models/get-vbu-response-class.d.ts +0 -25
  125. package/dist/models/get-vbu-response-class.js +0 -15
  126. package/dist/models/get-zip-code-response-class.d.ts +0 -25
  127. package/dist/models/get-zip-code-response-class.js +0 -15
  128. package/dist/models/list-all-messages-response-class.d.ts +0 -31
  129. package/dist/models/list-all-messages-response-class.js +0 -15
  130. package/dist/models/list-requests-messages-response-class.d.ts +0 -31
  131. package/dist/models/list-requests-messages-response-class.js +0 -15
  132. package/dist/models/list-responses-messages-response-class.d.ts +0 -31
  133. package/dist/models/list-responses-messages-response-class.js +0 -15
  134. package/dist/models/list-users-response-class.d.ts +0 -31
  135. package/dist/models/list-users-response-class.js +0 -15
  136. package/dist/models/list-vbas-response-class.d.ts +0 -31
  137. package/dist/models/list-vbas-response-class.js +0 -15
  138. package/dist/models/list-vbus-response-class.d.ts +0 -31
  139. package/dist/models/list-vbus-response-class.js +0 -15
  140. package/dist/models/list-zip-codes-response-class.d.ts +0 -31
  141. package/dist/models/list-zip-codes-response-class.js +0 -15
  142. package/dist/models/message-class.d.ts +0 -90
  143. package/dist/models/message-class.js +0 -15
  144. package/dist/models/request-details-class.d.ts +0 -48
  145. package/dist/models/request-details-class.js +0 -15
  146. package/dist/models/request-message-class.d.ts +0 -127
  147. package/dist/models/request-message-class.js +0 -15
  148. package/dist/models/response-details-class.d.ts +0 -42
  149. package/dist/models/response-details-class.js +0 -15
  150. package/dist/models/response-message-class.d.ts +0 -139
  151. package/dist/models/response-message-class.js +0 -15
  152. package/dist/models/store-zip-codes-request-dto.d.ts +0 -25
  153. package/dist/models/store-zip-codes-request-dto.js +0 -15
  154. package/dist/models/store-zip-codes-response-class.d.ts +0 -25
  155. package/dist/models/store-zip-codes-response-class.js +0 -15
  156. package/dist/models/update-request-message-request-dto.d.ts +0 -36
  157. package/dist/models/update-request-message-request-dto.js +0 -15
  158. package/dist/models/update-request-message-response-class.d.ts +0 -25
  159. package/dist/models/update-request-message-response-class.js +0 -15
  160. package/dist/models/update-response-message-request-dto.d.ts +0 -36
  161. package/dist/models/update-response-message-request-dto.js +0 -15
  162. package/dist/models/update-response-message-response-class.d.ts +0 -25
  163. package/dist/models/update-response-message-response-class.js +0 -15
  164. package/dist/models/update-user-request-dto.d.ts +0 -82
  165. package/dist/models/update-user-request-dto.js +0 -24
  166. package/dist/models/update-user-response-class.d.ts +0 -25
  167. package/dist/models/update-user-response-class.js +0 -15
  168. package/dist/models/update-vba-request-dto.d.ts +0 -30
  169. package/dist/models/update-vba-request-dto.js +0 -15
  170. package/dist/models/update-vbu-request-dto.d.ts +0 -30
  171. package/dist/models/update-vbu-request-dto.js +0 -15
  172. package/dist/models/update-vbu-response-class.d.ts +0 -25
  173. package/dist/models/update-vbu-response-class.js +0 -15
  174. package/dist/models/user-class.d.ts +0 -107
  175. package/dist/models/vba-class.d.ts +0 -116
  176. package/dist/models/vba-class.js +0 -15
  177. package/dist/models/vba-response-class.d.ts +0 -48
  178. package/dist/models/vba-response-class.js +0 -15
  179. package/dist/models/vbu-class.d.ts +0 -115
  180. package/dist/models/vbu-class.js +0 -15
  181. package/dist/models/vbu-response-class.d.ts +0 -48
  182. package/dist/models/vbu-response-class.js +0 -15
  183. package/dist/models/xlsx-zip-code-dto.d.ts +0 -30
  184. package/dist/models/xlsx-zip-code-dto.js +0 -15
  185. package/dist/models/zip-code-class.d.ts +0 -60
  186. package/dist/models/zip-code-class.js +0 -15
  187. package/models/address-class.ts +0 -54
  188. package/models/create-mailbox-request-dto.ts +0 -42
  189. package/models/create-user-request-dto.ts +0 -86
  190. package/models/create-user-response-class.ts +0 -31
  191. package/models/create-vba-request-dto.ts +0 -50
  192. package/models/create-vba-response-class.ts +0 -30
  193. package/models/create-vbu-request-dto.ts +0 -50
  194. package/models/create-vbu-response-class.ts +0 -30
  195. package/models/create-vbuv-request-dto.ts +0 -50
  196. package/models/create-vbuv-response-class.ts +0 -30
  197. package/models/get-request-message-response-class.ts +0 -31
  198. package/models/get-response-message-response-class.ts +0 -31
  199. package/models/get-user-response-class.ts +0 -31
  200. package/models/get-vba-response-class.ts +0 -31
  201. package/models/get-vbu-response-class.ts +0 -31
  202. package/models/get-zip-code-response-class.ts +0 -31
  203. package/models/list-all-messages-response-class.ts +0 -37
  204. package/models/list-requests-messages-response-class.ts +0 -37
  205. package/models/list-responses-messages-response-class.ts +0 -37
  206. package/models/list-users-response-class.ts +0 -37
  207. package/models/list-vbas-response-class.ts +0 -37
  208. package/models/list-vbus-response-class.ts +0 -37
  209. package/models/list-zip-codes-response-class.ts +0 -37
  210. package/models/message-class.ts +0 -96
  211. package/models/request-details-class.ts +0 -54
  212. package/models/request-message-class.ts +0 -133
  213. package/models/response-details-class.ts +0 -48
  214. package/models/response-message-class.ts +0 -145
  215. package/models/store-zip-codes-request-dto.ts +0 -31
  216. package/models/store-zip-codes-response-class.ts +0 -31
  217. package/models/update-request-message-request-dto.ts +0 -42
  218. package/models/update-request-message-response-class.ts +0 -31
  219. package/models/update-response-message-request-dto.ts +0 -42
  220. package/models/update-response-message-response-class.ts +0 -31
  221. package/models/update-user-request-dto.ts +0 -92
  222. package/models/update-user-response-class.ts +0 -31
  223. package/models/update-vba-request-dto.ts +0 -36
  224. package/models/update-vbu-request-dto.ts +0 -36
  225. package/models/update-vbu-response-class.ts +0 -31
  226. package/models/user-class.ts +0 -116
  227. package/models/vba-class.ts +0 -122
  228. package/models/vba-response-class.ts +0 -54
  229. package/models/vbu-class.ts +0 -121
  230. package/models/vbu-response-class.ts +0 -54
  231. package/models/xlsx-zip-code-dto.ts +0 -36
  232. package/models/zip-code-class.ts +0 -66
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { FinancialAccountClass } from './financial-account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListFinancialAccountsResponseClass
17
+ */
18
+ export interface ListFinancialAccountsResponseClass {
19
+ /**
20
+ * The list of financial accounts.
21
+ * @type {Array<FinancialAccountClass>}
22
+ * @memberof ListFinancialAccountsResponseClass
23
+ */
24
+ 'items': Array<FinancialAccountClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListFinancialAccountsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PersonalAccountClass } from './personal-account-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListPersonalAccountsResponseClass
17
+ */
18
+ export interface ListPersonalAccountsResponseClass {
19
+ /**
20
+ * The list of personal accounts.
21
+ * @type {Array<PersonalAccountClass>}
22
+ * @memberof ListPersonalAccountsResponseClass
23
+ */
24
+ 'items': Array<PersonalAccountClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListPersonalAccountsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL AccountingService
6
+ * The EMIL AccountingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,104 @@
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
+ };
104
+ 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,8 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateVbuvRequestDtoEntityTypeEnum = void 0;
17
- exports.CreateVbuvRequestDtoEntityTypeEnum = {
18
- Lead: 'lead',
19
- Policy: 'policy'
16
+ exports.PersonalAccountClassTypeEnum = void 0;
17
+ exports.PersonalAccountClassTypeEnum = {
18
+ Asset: 'asset',
19
+ Liability: 'liability',
20
+ Equity: 'equity',
21
+ Revenue: 'revenue',
22
+ Expense: 'expense'
20
23
  };
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,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
+ 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 monetary amount associated with this booking entry.
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
+ * 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.
56
+ * @type {object}
57
+ * @memberof BookingEntryClass
58
+ */
59
+ 'customFields': object;
60
+ /**
61
+ * The unique identifier for the entity (e.g., claim, invoice) associated with this booking entry.
62
+ * @type {string}
63
+ * @memberof BookingEntryClass
64
+ */
65
+ 'entityNumber': string;
66
+ /**
67
+ * The external document number associated with this booking entry.
68
+ * @type {string}
69
+ * @memberof BookingEntryClass
70
+ */
71
+ 'externalNumber': string;
72
+ /**
73
+ * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
74
+ * @type {Array<FinancialTransactionClass>}
75
+ * @memberof BookingEntryClass
76
+ */
77
+ 'financialTransactions': Array<FinancialTransactionClass>;
78
+ /**
79
+ * Time at which the object was created.
80
+ * @type {string}
81
+ * @memberof BookingEntryClass
82
+ */
83
+ 'createdAt': string;
84
+ /**
85
+ * Time at which the object was updated.
86
+ * @type {string}
87
+ * @memberof BookingEntryClass
88
+ */
89
+ 'updatedAt': string;
90
+ /**
91
+ * Identifier of the user who created the record.
92
+ * @type {string}
93
+ * @memberof BookingEntryClass
94
+ */
95
+ 'createdBy': string;
96
+ /**
97
+ * Identifier of the user who last updated the record.
98
+ * @type {string}
99
+ * @memberof BookingEntryClass
100
+ */
101
+ 'updatedBy': string;
102
+ }
103
+
104
+ export const BookingEntryClassCurrencyEnum = {
105
+ Eur: 'EUR',
106
+ Usd: 'USD',
107
+ Gbp: 'GBP',
108
+ Chf: 'CHF',
109
+ Pln: 'PLN',
110
+ Aud: 'AUD',
111
+ Cad: 'CAD',
112
+ Ddk: 'DDK',
113
+ Huf: 'HUF',
114
+ Nok: 'NOK',
115
+ Sek: 'SEK'
116
+ } as const;
117
+
118
+ export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
119
+
120
+
@@ -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,71 @@
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
+ 'entityNumber'?: 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
+
@@ -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,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
+