@emilgroup/accounting-sdk-node 1.18.1-beta.3 → 1.19.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 (262) hide show
  1. package/.openapi-generator/FILES +52 -29
  2. package/README.md +2 -2
  3. package/api/health-api.ts +7 -7
  4. package/api/mailbox-api.ts +255 -0
  5. package/api/messages-api.ts +1100 -0
  6. package/api/users-api.ts +496 -0
  7. package/api/vbas-api.ts +592 -0
  8. package/api/vbus-api.ts +701 -0
  9. package/api/{booking-entries-api.ts → zip-codes-api.ts} +162 -195
  10. package/api.ts +14 -12
  11. package/base.ts +2 -2
  12. package/common.ts +4 -4
  13. package/configuration.ts +2 -2
  14. package/dist/api/health-api.d.ts +6 -6
  15. package/dist/api/health-api.js +7 -7
  16. package/dist/api/mailbox-api.d.ts +142 -0
  17. package/dist/api/mailbox-api.js +315 -0
  18. package/dist/api/messages-api.d.ts +632 -0
  19. package/dist/api/messages-api.js +916 -0
  20. package/dist/api/users-api.d.ts +275 -0
  21. package/dist/api/{financial-accounts-api.js → users-api.js} +134 -171
  22. package/dist/api/vbas-api.d.ts +337 -0
  23. package/dist/api/{number-ranges-api.js → vbas-api.js} +161 -156
  24. package/dist/api/vbus-api.d.ts +395 -0
  25. package/dist/api/{personal-accounts-api.js → vbus-api.js} +234 -136
  26. package/dist/api/{booking-entries-api.d.ts → zip-codes-api.d.ts} +111 -130
  27. package/dist/api/{booking-entries-api.js → zip-codes-api.js} +130 -144
  28. package/dist/api.d.ts +8 -7
  29. package/dist/api.js +8 -7
  30. package/dist/base.d.ts +2 -2
  31. package/dist/base.js +2 -2
  32. package/dist/common.d.ts +4 -4
  33. package/dist/common.js +2 -2
  34. package/dist/configuration.d.ts +2 -2
  35. package/dist/configuration.js +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +2 -2
  38. package/dist/models/address-class.d.ts +48 -0
  39. package/dist/models/{create-number-range-response-class.js → address-class.js} +2 -2
  40. package/dist/models/create-mailbox-request-dto.d.ts +36 -0
  41. package/dist/models/{create-booking-entry-request-dto.js → create-mailbox-request-dto.js} +2 -2
  42. package/dist/models/create-user-request-dto.d.ts +76 -0
  43. package/dist/models/{create-personal-account-request-dto.js → create-user-request-dto.js} +10 -7
  44. package/dist/models/create-user-response-class.d.ts +25 -0
  45. package/dist/models/{create-financial-account-response-class.js → create-user-response-class.js} +2 -2
  46. package/dist/models/create-vba-request-dto.d.ts +41 -0
  47. package/dist/models/create-vba-request-dto.js +20 -0
  48. package/dist/models/create-vba-response-class.d.ts +24 -0
  49. package/dist/models/{create-booking-entry-response-class.js → create-vba-response-class.js} +2 -2
  50. package/dist/models/create-vbu-request-dto.d.ts +41 -0
  51. package/dist/models/create-vbu-request-dto.js +20 -0
  52. package/dist/models/create-vbu-response-class.d.ts +24 -0
  53. package/dist/models/create-vbu-response-class.js +15 -0
  54. package/dist/models/create-vbuv-request-dto.d.ts +41 -0
  55. package/dist/models/create-vbuv-request-dto.js +20 -0
  56. package/dist/models/create-vbuv-response-class.d.ts +24 -0
  57. package/dist/models/create-vbuv-response-class.js +15 -0
  58. package/dist/models/get-request-message-response-class.d.ts +25 -0
  59. package/dist/models/get-request-message-response-class.js +15 -0
  60. package/dist/models/get-response-message-response-class.d.ts +25 -0
  61. package/dist/models/get-response-message-response-class.js +15 -0
  62. package/dist/models/get-user-response-class.d.ts +25 -0
  63. package/dist/models/get-user-response-class.js +15 -0
  64. package/dist/models/get-vba-response-class.d.ts +25 -0
  65. package/dist/models/get-vba-response-class.js +15 -0
  66. package/dist/models/get-vbu-response-class.d.ts +25 -0
  67. package/dist/models/get-vbu-response-class.js +15 -0
  68. package/dist/models/get-zip-code-response-class.d.ts +25 -0
  69. package/dist/models/get-zip-code-response-class.js +15 -0
  70. package/dist/models/index.d.ts +46 -24
  71. package/dist/models/index.js +46 -24
  72. package/dist/models/inline-response200.d.ts +2 -2
  73. package/dist/models/inline-response200.js +2 -2
  74. package/dist/models/inline-response503.d.ts +2 -2
  75. package/dist/models/inline-response503.js +2 -2
  76. package/dist/models/list-all-messages-response-class.d.ts +31 -0
  77. package/dist/models/list-all-messages-response-class.js +15 -0
  78. package/dist/models/list-requests-messages-response-class.d.ts +31 -0
  79. package/dist/models/list-requests-messages-response-class.js +15 -0
  80. package/dist/models/list-responses-messages-response-class.d.ts +31 -0
  81. package/dist/models/list-responses-messages-response-class.js +15 -0
  82. package/dist/models/list-users-response-class.d.ts +31 -0
  83. package/dist/models/list-users-response-class.js +15 -0
  84. package/dist/models/list-vbas-response-class.d.ts +31 -0
  85. package/dist/models/list-vbas-response-class.js +15 -0
  86. package/dist/models/list-vbus-response-class.d.ts +31 -0
  87. package/dist/models/list-vbus-response-class.js +15 -0
  88. package/dist/models/list-zip-codes-response-class.d.ts +31 -0
  89. package/dist/models/list-zip-codes-response-class.js +15 -0
  90. package/dist/models/message-class.d.ts +90 -0
  91. package/dist/models/message-class.js +15 -0
  92. package/dist/models/request-details-class.d.ts +48 -0
  93. package/dist/models/request-details-class.js +15 -0
  94. package/dist/models/request-message-class.d.ts +127 -0
  95. package/dist/models/request-message-class.js +15 -0
  96. package/dist/models/response-details-class.d.ts +42 -0
  97. package/dist/models/response-details-class.js +15 -0
  98. package/dist/models/response-message-class.d.ts +139 -0
  99. package/dist/models/response-message-class.js +15 -0
  100. package/dist/models/store-zip-codes-request-dto.d.ts +25 -0
  101. package/dist/models/store-zip-codes-request-dto.js +15 -0
  102. package/dist/models/store-zip-codes-response-class.d.ts +25 -0
  103. package/dist/models/store-zip-codes-response-class.js +15 -0
  104. package/dist/models/update-request-message-request-dto.d.ts +36 -0
  105. package/dist/models/update-request-message-request-dto.js +15 -0
  106. package/dist/models/update-request-message-response-class.d.ts +25 -0
  107. package/dist/models/update-request-message-response-class.js +15 -0
  108. package/dist/models/update-response-message-request-dto.d.ts +36 -0
  109. package/dist/models/update-response-message-request-dto.js +15 -0
  110. package/dist/models/update-response-message-response-class.d.ts +25 -0
  111. package/dist/models/update-response-message-response-class.js +15 -0
  112. package/dist/models/update-user-request-dto.d.ts +82 -0
  113. package/dist/models/update-user-request-dto.js +24 -0
  114. package/dist/models/update-user-response-class.d.ts +25 -0
  115. package/dist/models/update-user-response-class.js +15 -0
  116. package/dist/models/update-vba-request-dto.d.ts +30 -0
  117. package/dist/models/update-vba-request-dto.js +15 -0
  118. package/dist/models/update-vbu-request-dto.d.ts +30 -0
  119. package/dist/models/update-vbu-request-dto.js +15 -0
  120. package/dist/models/update-vbu-response-class.d.ts +25 -0
  121. package/dist/models/update-vbu-response-class.js +15 -0
  122. package/dist/models/user-class.d.ts +107 -0
  123. package/dist/models/user-class.js +20 -0
  124. package/dist/models/vba-class.d.ts +116 -0
  125. package/dist/models/vba-class.js +15 -0
  126. package/dist/models/vba-response-class.d.ts +48 -0
  127. package/dist/models/vba-response-class.js +15 -0
  128. package/dist/models/vbu-class.d.ts +115 -0
  129. package/dist/models/vbu-class.js +15 -0
  130. package/dist/models/vbu-response-class.d.ts +48 -0
  131. package/dist/models/vbu-response-class.js +15 -0
  132. package/dist/models/xlsx-zip-code-dto.d.ts +30 -0
  133. package/dist/models/xlsx-zip-code-dto.js +15 -0
  134. package/dist/models/zip-code-class.d.ts +60 -0
  135. package/dist/models/zip-code-class.js +15 -0
  136. package/index.ts +2 -2
  137. package/models/address-class.ts +54 -0
  138. package/models/create-mailbox-request-dto.ts +42 -0
  139. package/models/create-user-request-dto.ts +86 -0
  140. package/models/create-user-response-class.ts +31 -0
  141. package/models/create-vba-request-dto.ts +50 -0
  142. package/models/create-vba-response-class.ts +30 -0
  143. package/models/create-vbu-request-dto.ts +50 -0
  144. package/models/create-vbu-response-class.ts +30 -0
  145. package/models/create-vbuv-request-dto.ts +50 -0
  146. package/models/create-vbuv-response-class.ts +30 -0
  147. package/models/get-request-message-response-class.ts +31 -0
  148. package/models/get-response-message-response-class.ts +31 -0
  149. package/models/get-user-response-class.ts +31 -0
  150. package/models/get-vba-response-class.ts +31 -0
  151. package/models/get-vbu-response-class.ts +31 -0
  152. package/models/get-zip-code-response-class.ts +31 -0
  153. package/models/index.ts +46 -24
  154. package/models/inline-response200.ts +2 -2
  155. package/models/inline-response503.ts +2 -2
  156. package/models/list-all-messages-response-class.ts +37 -0
  157. package/models/list-requests-messages-response-class.ts +37 -0
  158. package/models/list-responses-messages-response-class.ts +37 -0
  159. package/models/list-users-response-class.ts +37 -0
  160. package/models/list-vbas-response-class.ts +37 -0
  161. package/models/list-vbus-response-class.ts +37 -0
  162. package/models/list-zip-codes-response-class.ts +37 -0
  163. package/models/message-class.ts +96 -0
  164. package/models/request-details-class.ts +54 -0
  165. package/models/request-message-class.ts +133 -0
  166. package/models/response-details-class.ts +48 -0
  167. package/models/response-message-class.ts +145 -0
  168. package/models/store-zip-codes-request-dto.ts +31 -0
  169. package/models/store-zip-codes-response-class.ts +31 -0
  170. package/models/update-request-message-request-dto.ts +42 -0
  171. package/models/update-request-message-response-class.ts +31 -0
  172. package/models/update-response-message-request-dto.ts +42 -0
  173. package/models/update-response-message-response-class.ts +31 -0
  174. package/models/update-user-request-dto.ts +92 -0
  175. package/models/update-user-response-class.ts +31 -0
  176. package/models/update-vba-request-dto.ts +36 -0
  177. package/models/update-vbu-request-dto.ts +36 -0
  178. package/models/update-vbu-response-class.ts +31 -0
  179. package/models/user-class.ts +116 -0
  180. package/models/vba-class.ts +122 -0
  181. package/models/vba-response-class.ts +54 -0
  182. package/models/vbu-class.ts +121 -0
  183. package/models/vbu-response-class.ts +54 -0
  184. package/models/xlsx-zip-code-dto.ts +36 -0
  185. package/models/zip-code-class.ts +66 -0
  186. package/package.json +1 -1
  187. package/api/financial-accounts-api.ts +0 -577
  188. package/api/financial-transactions-api.ts +0 -369
  189. package/api/number-ranges-api.ts +0 -577
  190. package/api/personal-accounts-api.ts +0 -577
  191. package/dist/api/financial-accounts-api.d.ts +0 -327
  192. package/dist/api/financial-transactions-api.d.ts +0 -215
  193. package/dist/api/financial-transactions-api.js +0 -364
  194. package/dist/api/number-ranges-api.d.ts +0 -327
  195. package/dist/api/personal-accounts-api.d.ts +0 -327
  196. package/dist/models/booking-entry-class.d.ts +0 -123
  197. package/dist/models/booking-entry-class.js +0 -29
  198. package/dist/models/create-booking-entry-request-dto.d.ts +0 -61
  199. package/dist/models/create-booking-entry-response-class.d.ts +0 -25
  200. package/dist/models/create-financial-account-request-dto.d.ts +0 -75
  201. package/dist/models/create-financial-account-request-dto.js +0 -24
  202. package/dist/models/create-financial-account-response-class.d.ts +0 -25
  203. package/dist/models/create-number-range-request-dto.d.ts +0 -53
  204. package/dist/models/create-number-range-request-dto.js +0 -26
  205. package/dist/models/create-number-range-response-class.d.ts +0 -25
  206. package/dist/models/create-personal-account-request-dto.d.ts +0 -60
  207. package/dist/models/create-personal-account-response-class.d.ts +0 -25
  208. package/dist/models/create-personal-account-response-class.js +0 -15
  209. package/dist/models/financial-account-class.d.ts +0 -111
  210. package/dist/models/financial-account-class.js +0 -24
  211. package/dist/models/financial-transaction-class.d.ts +0 -114
  212. package/dist/models/financial-transaction-class.js +0 -15
  213. package/dist/models/financial-transaction-data-dto.d.ts +0 -71
  214. package/dist/models/financial-transaction-data-dto.js +0 -25
  215. package/dist/models/get-booking-entry-response-class.d.ts +0 -25
  216. package/dist/models/get-booking-entry-response-class.js +0 -15
  217. package/dist/models/get-financial-account-response-class.d.ts +0 -25
  218. package/dist/models/get-financial-account-response-class.js +0 -15
  219. package/dist/models/get-financial-transaction-response-class.d.ts +0 -25
  220. package/dist/models/get-financial-transaction-response-class.js +0 -15
  221. package/dist/models/get-number-range-response-class.d.ts +0 -25
  222. package/dist/models/get-number-range-response-class.js +0 -15
  223. package/dist/models/get-personal-account-response-class.d.ts +0 -25
  224. package/dist/models/get-personal-account-response-class.js +0 -15
  225. package/dist/models/list-booking-entries-response-class.d.ts +0 -31
  226. package/dist/models/list-booking-entries-response-class.js +0 -15
  227. package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
  228. package/dist/models/list-financial-accounts-response-class.js +0 -15
  229. package/dist/models/list-financial-transactions-response-class.d.ts +0 -31
  230. package/dist/models/list-financial-transactions-response-class.js +0 -15
  231. package/dist/models/list-number-range-response-class.d.ts +0 -31
  232. package/dist/models/list-number-range-response-class.js +0 -15
  233. package/dist/models/list-personal-accounts-response-class.d.ts +0 -31
  234. package/dist/models/list-personal-accounts-response-class.js +0 -15
  235. package/dist/models/number-range-class.d.ts +0 -84
  236. package/dist/models/number-range-class.js +0 -15
  237. package/dist/models/personal-account-class.d.ts +0 -105
  238. package/dist/models/personal-account-class.js +0 -24
  239. package/models/booking-entry-class.ts +0 -132
  240. package/models/create-booking-entry-request-dto.ts +0 -67
  241. package/models/create-booking-entry-response-class.ts +0 -31
  242. package/models/create-financial-account-request-dto.ts +0 -84
  243. package/models/create-financial-account-response-class.ts +0 -31
  244. package/models/create-number-range-request-dto.ts +0 -62
  245. package/models/create-number-range-response-class.ts +0 -31
  246. package/models/create-personal-account-request-dto.ts +0 -69
  247. package/models/create-personal-account-response-class.ts +0 -31
  248. package/models/financial-account-class.ts +0 -120
  249. package/models/financial-transaction-class.ts +0 -120
  250. package/models/financial-transaction-data-dto.ts +0 -81
  251. package/models/get-booking-entry-response-class.ts +0 -31
  252. package/models/get-financial-account-response-class.ts +0 -31
  253. package/models/get-financial-transaction-response-class.ts +0 -31
  254. package/models/get-number-range-response-class.ts +0 -31
  255. package/models/get-personal-account-response-class.ts +0 -31
  256. package/models/list-booking-entries-response-class.ts +0 -37
  257. package/models/list-financial-accounts-response-class.ts +0 -37
  258. package/models/list-financial-transactions-response-class.ts +0 -37
  259. package/models/list-number-range-response-class.ts +0 -37
  260. package/models/list-personal-accounts-response-class.ts +0 -37
  261. package/models/number-range-class.ts +0 -90
  262. package/models/personal-account-class.ts +0 -114
@@ -1,327 +0,0 @@
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { CreatePersonalAccountRequestDto } from '../models';
16
- import { CreatePersonalAccountResponseClass } from '../models';
17
- import { GetPersonalAccountResponseClass } from '../models';
18
- import { ListPersonalAccountsResponseClass } from '../models';
19
- /**
20
- * PersonalAccountsApi - axios parameter creator
21
- * @export
22
- */
23
- export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
24
- /**
25
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
26
- * @summary Create the Personal Account
27
- * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
28
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- createPersonalAccount: (createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
- /**
34
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
35
- * @summary Delete the Personal Account
36
- * @param {string} code Unique identifier for the object.
37
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
38
- * @param {*} [options] Override http request option.
39
- * @throws {RequiredError}
40
- */
41
- deletePersonalAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
- /**
43
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
44
- * @summary Retrieve the Personal Account
45
- * @param {string} code Unique identifier for the object.
46
- * @param {string} expand
47
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
48
- * @param {*} [options] Override http request option.
49
- * @throws {RequiredError}
50
- */
51
- getPersonalAccount: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
- /**
53
- * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
54
- * @summary List Personal Accounts
55
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
58
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
59
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
60
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
61
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
62
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- listPersonalAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
- };
68
- /**
69
- * PersonalAccountsApi - functional programming interface
70
- * @export
71
- */
72
- export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
73
- /**
74
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
75
- * @summary Create the Personal Account
76
- * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
77
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
78
- * @param {*} [options] Override http request option.
79
- * @throws {RequiredError}
80
- */
81
- createPersonalAccount(createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePersonalAccountResponseClass>>;
82
- /**
83
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
84
- * @summary Delete the Personal Account
85
- * @param {string} code Unique identifier for the object.
86
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
- * @param {*} [options] Override http request option.
88
- * @throws {RequiredError}
89
- */
90
- deletePersonalAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
91
- /**
92
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
93
- * @summary Retrieve the Personal Account
94
- * @param {string} code Unique identifier for the object.
95
- * @param {string} expand
96
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
- * @param {*} [options] Override http request option.
98
- * @throws {RequiredError}
99
- */
100
- getPersonalAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPersonalAccountResponseClass>>;
101
- /**
102
- * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
103
- * @summary List Personal Accounts
104
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
107
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
108
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
109
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
110
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
111
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
112
- * @param {*} [options] Override http request option.
113
- * @throws {RequiredError}
114
- */
115
- listPersonalAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPersonalAccountsResponseClass>>;
116
- };
117
- /**
118
- * PersonalAccountsApi - factory interface
119
- * @export
120
- */
121
- export declare const PersonalAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
122
- /**
123
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
124
- * @summary Create the Personal Account
125
- * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
126
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
127
- * @param {*} [options] Override http request option.
128
- * @throws {RequiredError}
129
- */
130
- createPersonalAccount(createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePersonalAccountResponseClass>;
131
- /**
132
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
133
- * @summary Delete the Personal Account
134
- * @param {string} code Unique identifier for the object.
135
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
136
- * @param {*} [options] Override http request option.
137
- * @throws {RequiredError}
138
- */
139
- deletePersonalAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
140
- /**
141
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
142
- * @summary Retrieve the Personal Account
143
- * @param {string} code Unique identifier for the object.
144
- * @param {string} expand
145
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
- * @param {*} [options] Override http request option.
147
- * @throws {RequiredError}
148
- */
149
- getPersonalAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPersonalAccountResponseClass>;
150
- /**
151
- * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
152
- * @summary List Personal Accounts
153
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
156
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
157
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
158
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
159
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
160
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
161
- * @param {*} [options] Override http request option.
162
- * @throws {RequiredError}
163
- */
164
- listPersonalAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPersonalAccountsResponseClass>;
165
- };
166
- /**
167
- * Request parameters for createPersonalAccount operation in PersonalAccountsApi.
168
- * @export
169
- * @interface PersonalAccountsApiCreatePersonalAccountRequest
170
- */
171
- export interface PersonalAccountsApiCreatePersonalAccountRequest {
172
- /**
173
- *
174
- * @type {CreatePersonalAccountRequestDto}
175
- * @memberof PersonalAccountsApiCreatePersonalAccount
176
- */
177
- readonly createPersonalAccountRequestDto: CreatePersonalAccountRequestDto;
178
- /**
179
- * Bearer Token: provided by the login endpoint under the name accessToken.
180
- * @type {string}
181
- * @memberof PersonalAccountsApiCreatePersonalAccount
182
- */
183
- readonly authorization?: string;
184
- }
185
- /**
186
- * Request parameters for deletePersonalAccount operation in PersonalAccountsApi.
187
- * @export
188
- * @interface PersonalAccountsApiDeletePersonalAccountRequest
189
- */
190
- export interface PersonalAccountsApiDeletePersonalAccountRequest {
191
- /**
192
- * Unique identifier for the object.
193
- * @type {string}
194
- * @memberof PersonalAccountsApiDeletePersonalAccount
195
- */
196
- readonly code: string;
197
- /**
198
- * Bearer Token: provided by the login endpoint under the name accessToken.
199
- * @type {string}
200
- * @memberof PersonalAccountsApiDeletePersonalAccount
201
- */
202
- readonly authorization?: string;
203
- }
204
- /**
205
- * Request parameters for getPersonalAccount operation in PersonalAccountsApi.
206
- * @export
207
- * @interface PersonalAccountsApiGetPersonalAccountRequest
208
- */
209
- export interface PersonalAccountsApiGetPersonalAccountRequest {
210
- /**
211
- * Unique identifier for the object.
212
- * @type {string}
213
- * @memberof PersonalAccountsApiGetPersonalAccount
214
- */
215
- readonly code: string;
216
- /**
217
- *
218
- * @type {string}
219
- * @memberof PersonalAccountsApiGetPersonalAccount
220
- */
221
- readonly expand: string;
222
- /**
223
- * Bearer Token: provided by the login endpoint under the name accessToken.
224
- * @type {string}
225
- * @memberof PersonalAccountsApiGetPersonalAccount
226
- */
227
- readonly authorization?: string;
228
- }
229
- /**
230
- * Request parameters for listPersonalAccounts operation in PersonalAccountsApi.
231
- * @export
232
- * @interface PersonalAccountsApiListPersonalAccountsRequest
233
- */
234
- export interface PersonalAccountsApiListPersonalAccountsRequest {
235
- /**
236
- * Bearer Token: provided by the login endpoint under the name accessToken.
237
- * @type {string}
238
- * @memberof PersonalAccountsApiListPersonalAccounts
239
- */
240
- readonly authorization?: string;
241
- /**
242
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
243
- * @type {number}
244
- * @memberof PersonalAccountsApiListPersonalAccounts
245
- */
246
- readonly pageSize?: number;
247
- /**
248
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
249
- * @type {string}
250
- * @memberof PersonalAccountsApiListPersonalAccounts
251
- */
252
- readonly pageToken?: string;
253
- /**
254
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
255
- * @type {string}
256
- * @memberof PersonalAccountsApiListPersonalAccounts
257
- */
258
- readonly filter?: string;
259
- /**
260
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
261
- * @type {string}
262
- * @memberof PersonalAccountsApiListPersonalAccounts
263
- */
264
- readonly search?: string;
265
- /**
266
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
267
- * @type {string}
268
- * @memberof PersonalAccountsApiListPersonalAccounts
269
- */
270
- readonly order?: string;
271
- /**
272
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
273
- * @type {string}
274
- * @memberof PersonalAccountsApiListPersonalAccounts
275
- */
276
- readonly expand?: string;
277
- /**
278
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
279
- * @type {string}
280
- * @memberof PersonalAccountsApiListPersonalAccounts
281
- */
282
- readonly filters?: string;
283
- }
284
- /**
285
- * PersonalAccountsApi - object-oriented interface
286
- * @export
287
- * @class PersonalAccountsApi
288
- * @extends {BaseAPI}
289
- */
290
- export declare class PersonalAccountsApi extends BaseAPI {
291
- /**
292
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
293
- * @summary Create the Personal Account
294
- * @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
295
- * @param {*} [options] Override http request option.
296
- * @throws {RequiredError}
297
- * @memberof PersonalAccountsApi
298
- */
299
- createPersonalAccount(requestParameters: PersonalAccountsApiCreatePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePersonalAccountResponseClass, any>>;
300
- /**
301
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
302
- * @summary Delete the Personal Account
303
- * @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
304
- * @param {*} [options] Override http request option.
305
- * @throws {RequiredError}
306
- * @memberof PersonalAccountsApi
307
- */
308
- deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
309
- /**
310
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
311
- * @summary Retrieve the Personal Account
312
- * @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
313
- * @param {*} [options] Override http request option.
314
- * @throws {RequiredError}
315
- * @memberof PersonalAccountsApi
316
- */
317
- getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPersonalAccountResponseClass, any>>;
318
- /**
319
- * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
320
- * @summary List Personal Accounts
321
- * @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
322
- * @param {*} [options] Override http request option.
323
- * @throws {RequiredError}
324
- * @memberof PersonalAccountsApi
325
- */
326
- listPersonalAccounts(requestParameters?: PersonalAccountsApiListPersonalAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPersonalAccountsResponseClass, any>>;
327
- }
@@ -1,123 +0,0 @@
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 { FinancialTransactionClass } from './financial-transaction-class';
13
- /**
14
- *
15
- * @export
16
- * @interface BookingEntryClass
17
- */
18
- export interface BookingEntryClass {
19
- /**
20
- * Internal unique identifier for the object. You should not have to use this, use code instead.
21
- * @type {number}
22
- * @memberof BookingEntryClass
23
- */
24
- 'id': number;
25
- /**
26
- * Unique identifier for the object.
27
- * @type {string}
28
- * @memberof BookingEntryClass
29
- */
30
- 'code': string;
31
- /**
32
- * The total monetary amount of this booking entry. This amount is distributed among the associated transactions.
33
- * @type {number}
34
- * @memberof BookingEntryClass
35
- */
36
- 'amount': number;
37
- /**
38
- * The currency in which the booking entry amount is denominated.
39
- * @type {string}
40
- * @memberof BookingEntryClass
41
- */
42
- 'currency': BookingEntryClassCurrencyEnum;
43
- /**
44
- * The date of the booking entry. This represents when the booking was recorded. Defaults to the current date if not provided.
45
- * @type {string}
46
- * @memberof BookingEntryClass
47
- */
48
- 'bookingDate': string;
49
- /**
50
- * The date of the document. This represents when the document was recorded. Defaults to the current date if not provided.
51
- * @type {string}
52
- * @memberof BookingEntryClass
53
- */
54
- 'documentDate': string;
55
- /**
56
- * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
57
- * @type {string}
58
- * @memberof BookingEntryClass
59
- */
60
- 'description': string;
61
- /**
62
- * 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.
63
- * @type {object}
64
- * @memberof BookingEntryClass
65
- */
66
- 'customFields'?: object;
67
- /**
68
- * The unique identifier for the entity (e.g., claim, invoice) associated with this booking entry.
69
- * @type {string}
70
- * @memberof BookingEntryClass
71
- */
72
- 'entityNumber'?: string;
73
- /**
74
- * The external document number associated with this booking entry.
75
- * @type {string}
76
- * @memberof BookingEntryClass
77
- */
78
- 'externalNumber'?: string;
79
- /**
80
- * A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
81
- * @type {Array<FinancialTransactionClass>}
82
- * @memberof BookingEntryClass
83
- */
84
- 'financialTransactions': Array<FinancialTransactionClass>;
85
- /**
86
- * Time at which the object was created.
87
- * @type {string}
88
- * @memberof BookingEntryClass
89
- */
90
- 'createdAt': string;
91
- /**
92
- * Time at which the object was updated.
93
- * @type {string}
94
- * @memberof BookingEntryClass
95
- */
96
- 'updatedAt': string;
97
- /**
98
- * Identifier of the user who created the record.
99
- * @type {string}
100
- * @memberof BookingEntryClass
101
- */
102
- 'createdBy': string;
103
- /**
104
- * Identifier of the user who last updated the record.
105
- * @type {string}
106
- * @memberof BookingEntryClass
107
- */
108
- 'updatedBy': string;
109
- }
110
- export declare const BookingEntryClassCurrencyEnum: {
111
- readonly Eur: "EUR";
112
- readonly Usd: "USD";
113
- readonly Gbp: "GBP";
114
- readonly Chf: "CHF";
115
- readonly Pln: "PLN";
116
- readonly Aud: "AUD";
117
- readonly Cad: "CAD";
118
- readonly Ddk: "DDK";
119
- readonly Huf: "HUF";
120
- readonly Nok: "NOK";
121
- readonly Sek: "SEK";
122
- };
123
- export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
@@ -1,29 +0,0 @@
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 });
16
- exports.BookingEntryClassCurrencyEnum = void 0;
17
- exports.BookingEntryClassCurrencyEnum = {
18
- Eur: 'EUR',
19
- Usd: 'USD',
20
- Gbp: 'GBP',
21
- Chf: 'CHF',
22
- Pln: 'PLN',
23
- Aud: 'AUD',
24
- Cad: 'CAD',
25
- Ddk: 'DDK',
26
- Huf: 'HUF',
27
- Nok: 'NOK',
28
- Sek: 'SEK'
29
- };
@@ -1,61 +0,0 @@
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 { FinancialTransactionDataDto } from './financial-transaction-data-dto';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateBookingEntryRequestDto
17
- */
18
- export interface CreateBookingEntryRequestDto {
19
- /**
20
- * The date of the booking entry. This represents when the transaction or booking was recorded.
21
- * @type {string}
22
- * @memberof CreateBookingEntryRequestDto
23
- */
24
- 'bookingDate': string;
25
- /**
26
- * The document date of the booking entry. This represents when the document was created or received.
27
- * @type {string}
28
- * @memberof CreateBookingEntryRequestDto
29
- */
30
- 'documentDate': string;
31
- /**
32
- * The entity number assigned to the entry, such as an invoice or payment reference number.
33
- * @type {string}
34
- * @memberof CreateBookingEntryRequestDto
35
- */
36
- 'entityNumber'?: string;
37
- /**
38
- * The external document number assigned to the entry, such as an invoice or payment reference number.
39
- * @type {string}
40
- * @memberof CreateBookingEntryRequestDto
41
- */
42
- 'externalNumber'?: string;
43
- /**
44
- * A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
45
- * @type {string}
46
- * @memberof CreateBookingEntryRequestDto
47
- */
48
- 'description': string;
49
- /**
50
- * Optional key-value pairs containing additional custom information for the booking entry. These fields may include document numbers, reasons, or other contextual metadata.
51
- * @type {object}
52
- * @memberof CreateBookingEntryRequestDto
53
- */
54
- 'customFields'?: object;
55
- /**
56
- * An array of financial transactions associated with this booking entry. Each transaction includes details such as financial account, amount, and debit or credit status.
57
- * @type {Array<FinancialTransactionDataDto>}
58
- * @memberof CreateBookingEntryRequestDto
59
- */
60
- 'financialTransactions': Array<FinancialTransactionDataDto>;
61
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * EMIL AccountingService
3
- * The EMIL AccountingService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { BookingEntryClass } from './booking-entry-class';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateBookingEntryResponseClass
17
- */
18
- export interface CreateBookingEntryResponseClass {
19
- /**
20
- * The booking-entry response.
21
- * @type {BookingEntryClass}
22
- * @memberof CreateBookingEntryResponseClass
23
- */
24
- 'bookingEntry': BookingEntryClass;
25
- }
@@ -1,75 +0,0 @@
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 CreateFinancialAccountRequestDto
16
- */
17
- export interface CreateFinancialAccountRequestDto {
18
- /**
19
- * The name of the financial account. This is a descriptive label used to identify the account within the system.
20
- * @type {string}
21
- * @memberof CreateFinancialAccountRequestDto
22
- */
23
- 'name': string;
24
- /**
25
- * The unique account number assigned to this financial account. This number is used to route transactions and manage the account within the financial system.
26
- * @type {string}
27
- * @memberof CreateFinancialAccountRequestDto
28
- */
29
- 'financialAccountNumber': string;
30
- /**
31
- * The type of financial account, specifying its category or classification, such as asset, equity, or expense. This categorization helps in accounting and reporting.
32
- * @type {string}
33
- * @memberof CreateFinancialAccountRequestDto
34
- */
35
- 'type': CreateFinancialAccountRequestDtoTypeEnum;
36
- /**
37
- * An optional code representing the partner associated with this account. Useful for associating the account with specific partner in Emil.
38
- * @type {string}
39
- * @memberof CreateFinancialAccountRequestDto
40
- */
41
- 'partnerNumber'?: string;
42
- /**
43
- * An optional identifier for the parent account. If provided, this allows the creation of sub-accounts under a parent financial account, establishing a hierarchy.
44
- * @type {number}
45
- * @memberof CreateFinancialAccountRequestDto
46
- */
47
- 'parentId'?: number;
48
- /**
49
- * Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
50
- * @type {object}
51
- * @memberof CreateFinancialAccountRequestDto
52
- */
53
- 'customFields': object;
54
- /**
55
- * A detailed description of the financial account
56
- * @type {string}
57
- * @memberof CreateFinancialAccountRequestDto
58
- */
59
- 'description': string;
60
- /**
61
- * Whether the financial account is clearable
62
- * @type {boolean}
63
- * @memberof CreateFinancialAccountRequestDto
64
- */
65
- 'clearable': boolean;
66
- }
67
- export declare const CreateFinancialAccountRequestDtoTypeEnum: {
68
- readonly Asset: "asset";
69
- readonly Liability: "liability";
70
- readonly Equity: "equity";
71
- readonly Revenue: "revenue";
72
- readonly Expense: "expense";
73
- readonly OpeningBalance: "opening_balance";
74
- };
75
- export type CreateFinancialAccountRequestDtoTypeEnum = typeof CreateFinancialAccountRequestDtoTypeEnum[keyof typeof CreateFinancialAccountRequestDtoTypeEnum];