@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,215 @@
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 { GetFinancialTransactionResponseClass } from '../models';
16
+ import { ListFinancialTransactionsResponseClass } from '../models';
17
+ /**
18
+ * FinancialTransactionsApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const FinancialTransactionsApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
24
+ * @summary Retrieve the financial transaction
25
+ * @param {string} code
26
+ * @param {string} expand
27
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ getFinancialTransaction: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
34
+ * @summary List financial transactions
35
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
36
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
37
+ * @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.
38
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
39
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
40
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
41
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
42
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ listFinancialTransactions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ };
48
+ /**
49
+ * FinancialTransactionsApi - functional programming interface
50
+ * @export
51
+ */
52
+ export declare const FinancialTransactionsApiFp: (configuration?: Configuration) => {
53
+ /**
54
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
55
+ * @summary Retrieve the financial transaction
56
+ * @param {string} code
57
+ * @param {string} expand
58
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ getFinancialTransaction(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFinancialTransactionResponseClass>>;
63
+ /**
64
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
65
+ * @summary List financial transactions
66
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
67
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
68
+ * @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.
69
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
70
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
71
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
72
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
73
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ listFinancialTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialTransactionsResponseClass>>;
78
+ };
79
+ /**
80
+ * FinancialTransactionsApi - factory interface
81
+ * @export
82
+ */
83
+ export declare const FinancialTransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
84
+ /**
85
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
86
+ * @summary Retrieve the financial transaction
87
+ * @param {string} code
88
+ * @param {string} expand
89
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ getFinancialTransaction(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetFinancialTransactionResponseClass>;
94
+ /**
95
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
96
+ * @summary List financial transactions
97
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
99
+ * @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.
100
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
101
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
102
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
103
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
104
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ listFinancialTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListFinancialTransactionsResponseClass>;
109
+ };
110
+ /**
111
+ * Request parameters for getFinancialTransaction operation in FinancialTransactionsApi.
112
+ * @export
113
+ * @interface FinancialTransactionsApiGetFinancialTransactionRequest
114
+ */
115
+ export interface FinancialTransactionsApiGetFinancialTransactionRequest {
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof FinancialTransactionsApiGetFinancialTransaction
120
+ */
121
+ readonly code: string;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof FinancialTransactionsApiGetFinancialTransaction
126
+ */
127
+ readonly expand: string;
128
+ /**
129
+ * Bearer Token: provided by the login endpoint under the name accessToken.
130
+ * @type {string}
131
+ * @memberof FinancialTransactionsApiGetFinancialTransaction
132
+ */
133
+ readonly authorization?: string;
134
+ }
135
+ /**
136
+ * Request parameters for listFinancialTransactions operation in FinancialTransactionsApi.
137
+ * @export
138
+ * @interface FinancialTransactionsApiListFinancialTransactionsRequest
139
+ */
140
+ export interface FinancialTransactionsApiListFinancialTransactionsRequest {
141
+ /**
142
+ * Bearer Token: provided by the login endpoint under the name accessToken.
143
+ * @type {string}
144
+ * @memberof FinancialTransactionsApiListFinancialTransactions
145
+ */
146
+ readonly authorization?: string;
147
+ /**
148
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
149
+ * @type {number}
150
+ * @memberof FinancialTransactionsApiListFinancialTransactions
151
+ */
152
+ readonly pageSize?: number;
153
+ /**
154
+ * 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.
155
+ * @type {string}
156
+ * @memberof FinancialTransactionsApiListFinancialTransactions
157
+ */
158
+ readonly pageToken?: string;
159
+ /**
160
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
161
+ * @type {string}
162
+ * @memberof FinancialTransactionsApiListFinancialTransactions
163
+ */
164
+ readonly filter?: string;
165
+ /**
166
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
167
+ * @type {string}
168
+ * @memberof FinancialTransactionsApiListFinancialTransactions
169
+ */
170
+ readonly search?: string;
171
+ /**
172
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
173
+ * @type {string}
174
+ * @memberof FinancialTransactionsApiListFinancialTransactions
175
+ */
176
+ readonly order?: string;
177
+ /**
178
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
179
+ * @type {string}
180
+ * @memberof FinancialTransactionsApiListFinancialTransactions
181
+ */
182
+ readonly expand?: string;
183
+ /**
184
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
185
+ * @type {string}
186
+ * @memberof FinancialTransactionsApiListFinancialTransactions
187
+ */
188
+ readonly filters?: string;
189
+ }
190
+ /**
191
+ * FinancialTransactionsApi - object-oriented interface
192
+ * @export
193
+ * @class FinancialTransactionsApi
194
+ * @extends {BaseAPI}
195
+ */
196
+ export declare class FinancialTransactionsApi extends BaseAPI {
197
+ /**
198
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
199
+ * @summary Retrieve the financial transaction
200
+ * @param {FinancialTransactionsApiGetFinancialTransactionRequest} requestParameters Request parameters.
201
+ * @param {*} [options] Override http request option.
202
+ * @throws {RequiredError}
203
+ * @memberof FinancialTransactionsApi
204
+ */
205
+ getFinancialTransaction(requestParameters: FinancialTransactionsApiGetFinancialTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFinancialTransactionResponseClass, any>>;
206
+ /**
207
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
208
+ * @summary List financial transactions
209
+ * @param {FinancialTransactionsApiListFinancialTransactionsRequest} requestParameters Request parameters.
210
+ * @param {*} [options] Override http request option.
211
+ * @throws {RequiredError}
212
+ * @memberof FinancialTransactionsApi
213
+ */
214
+ listFinancialTransactions(requestParameters?: FinancialTransactionsApiListFinancialTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFinancialTransactionsResponseClass, any>>;
215
+ }
@@ -0,0 +1,364 @@
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.FinancialTransactionsApi = exports.FinancialTransactionsApiFactory = exports.FinancialTransactionsApiFp = exports.FinancialTransactionsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ // URLSearchParams not necessarily used
89
+ // @ts-ignore
90
+ var url_1 = require("url");
91
+ var FormData = require('form-data');
92
+ /**
93
+ * FinancialTransactionsApi - axios parameter creator
94
+ * @export
95
+ */
96
+ var FinancialTransactionsApiAxiosParamCreator = function (configuration) {
97
+ var _this = this;
98
+ return {
99
+ /**
100
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
101
+ * @summary Retrieve the financial transaction
102
+ * @param {string} code
103
+ * @param {string} expand
104
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ getFinancialTransaction: function (code, expand, authorization, options) {
109
+ if (options === void 0) { options = {}; }
110
+ return __awaiter(_this, void 0, void 0, function () {
111
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
112
+ return __generator(this, function (_a) {
113
+ switch (_a.label) {
114
+ case 0:
115
+ // verify required parameter 'code' is not null or undefined
116
+ (0, common_1.assertParamExists)('getFinancialTransaction', 'code', code);
117
+ // verify required parameter 'expand' is not null or undefined
118
+ (0, common_1.assertParamExists)('getFinancialTransaction', 'expand', expand);
119
+ localVarPath = "/accountingservice/v1/financial-transactions/{code}"
120
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
121
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
122
+ if (configuration) {
123
+ baseOptions = configuration.baseOptions;
124
+ baseAccessToken = configuration.accessToken;
125
+ }
126
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
127
+ localVarHeaderParameter = {};
128
+ localVarQueryParameter = {};
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
132
+ case 1:
133
+ // authentication bearer required
134
+ // http bearer authentication required
135
+ _a.sent();
136
+ if (expand !== undefined) {
137
+ localVarQueryParameter['expand'] = expand;
138
+ }
139
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
140
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
141
+ }
142
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
143
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
144
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
145
+ return [2 /*return*/, {
146
+ url: (0, common_1.toPathString)(localVarUrlObj),
147
+ options: localVarRequestOptions,
148
+ }];
149
+ }
150
+ });
151
+ });
152
+ },
153
+ /**
154
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
155
+ * @summary List financial transactions
156
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
157
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
158
+ * @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.
159
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
160
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
161
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
162
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
163
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ listFinancialTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
168
+ if (options === void 0) { options = {}; }
169
+ return __awaiter(_this, void 0, void 0, function () {
170
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
171
+ return __generator(this, function (_a) {
172
+ switch (_a.label) {
173
+ case 0:
174
+ localVarPath = "/accountingservice/v1/financial-transactions";
175
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
176
+ if (configuration) {
177
+ baseOptions = configuration.baseOptions;
178
+ baseAccessToken = configuration.accessToken;
179
+ }
180
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
181
+ localVarHeaderParameter = {};
182
+ localVarQueryParameter = {};
183
+ // authentication bearer required
184
+ // http bearer authentication required
185
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
186
+ case 1:
187
+ // authentication bearer required
188
+ // http bearer authentication required
189
+ _a.sent();
190
+ if (pageSize !== undefined) {
191
+ localVarQueryParameter['pageSize'] = pageSize;
192
+ }
193
+ if (pageToken !== undefined) {
194
+ localVarQueryParameter['pageToken'] = pageToken;
195
+ }
196
+ if (filter !== undefined) {
197
+ localVarQueryParameter['filter'] = filter;
198
+ }
199
+ if (search !== undefined) {
200
+ localVarQueryParameter['search'] = search;
201
+ }
202
+ if (order !== undefined) {
203
+ localVarQueryParameter['order'] = order;
204
+ }
205
+ if (expand !== undefined) {
206
+ localVarQueryParameter['expand'] = expand;
207
+ }
208
+ if (filters !== undefined) {
209
+ localVarQueryParameter['filters'] = filters;
210
+ }
211
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
212
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
213
+ }
214
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
215
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
216
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
217
+ return [2 /*return*/, {
218
+ url: (0, common_1.toPathString)(localVarUrlObj),
219
+ options: localVarRequestOptions,
220
+ }];
221
+ }
222
+ });
223
+ });
224
+ },
225
+ };
226
+ };
227
+ exports.FinancialTransactionsApiAxiosParamCreator = FinancialTransactionsApiAxiosParamCreator;
228
+ /**
229
+ * FinancialTransactionsApi - functional programming interface
230
+ * @export
231
+ */
232
+ var FinancialTransactionsApiFp = function (configuration) {
233
+ var localVarAxiosParamCreator = (0, exports.FinancialTransactionsApiAxiosParamCreator)(configuration);
234
+ return {
235
+ /**
236
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
237
+ * @summary Retrieve the financial transaction
238
+ * @param {string} code
239
+ * @param {string} expand
240
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ getFinancialTransaction: function (code, expand, authorization, options) {
245
+ return __awaiter(this, void 0, void 0, function () {
246
+ var localVarAxiosArgs;
247
+ return __generator(this, function (_a) {
248
+ switch (_a.label) {
249
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFinancialTransaction(code, expand, authorization, options)];
250
+ case 1:
251
+ localVarAxiosArgs = _a.sent();
252
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
253
+ }
254
+ });
255
+ });
256
+ },
257
+ /**
258
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
259
+ * @summary List financial transactions
260
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
261
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
262
+ * @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.
263
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
264
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
265
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
266
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
267
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ listFinancialTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
272
+ return __awaiter(this, void 0, void 0, function () {
273
+ var localVarAxiosArgs;
274
+ return __generator(this, function (_a) {
275
+ switch (_a.label) {
276
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listFinancialTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
277
+ case 1:
278
+ localVarAxiosArgs = _a.sent();
279
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
280
+ }
281
+ });
282
+ });
283
+ },
284
+ };
285
+ };
286
+ exports.FinancialTransactionsApiFp = FinancialTransactionsApiFp;
287
+ /**
288
+ * FinancialTransactionsApi - factory interface
289
+ * @export
290
+ */
291
+ var FinancialTransactionsApiFactory = function (configuration, basePath, axios) {
292
+ var localVarFp = (0, exports.FinancialTransactionsApiFp)(configuration);
293
+ return {
294
+ /**
295
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
296
+ * @summary Retrieve the financial transaction
297
+ * @param {string} code
298
+ * @param {string} expand
299
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
300
+ * @param {*} [options] Override http request option.
301
+ * @throws {RequiredError}
302
+ */
303
+ getFinancialTransaction: function (code, expand, authorization, options) {
304
+ return localVarFp.getFinancialTransaction(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
305
+ },
306
+ /**
307
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
308
+ * @summary List financial transactions
309
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
310
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
311
+ * @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.
312
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
313
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
314
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
315
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
316
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
317
+ * @param {*} [options] Override http request option.
318
+ * @throws {RequiredError}
319
+ */
320
+ listFinancialTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
321
+ return localVarFp.listFinancialTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
322
+ },
323
+ };
324
+ };
325
+ exports.FinancialTransactionsApiFactory = FinancialTransactionsApiFactory;
326
+ /**
327
+ * FinancialTransactionsApi - object-oriented interface
328
+ * @export
329
+ * @class FinancialTransactionsApi
330
+ * @extends {BaseAPI}
331
+ */
332
+ var FinancialTransactionsApi = /** @class */ (function (_super) {
333
+ __extends(FinancialTransactionsApi, _super);
334
+ function FinancialTransactionsApi() {
335
+ return _super !== null && _super.apply(this, arguments) || this;
336
+ }
337
+ /**
338
+ * This endpoint gets a financial transaction. **Required Permissions** \"accounting-management.accounts.view\"
339
+ * @summary Retrieve the financial transaction
340
+ * @param {FinancialTransactionsApiGetFinancialTransactionRequest} requestParameters Request parameters.
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ * @memberof FinancialTransactionsApi
344
+ */
345
+ FinancialTransactionsApi.prototype.getFinancialTransaction = function (requestParameters, options) {
346
+ var _this = this;
347
+ return (0, exports.FinancialTransactionsApiFp)(this.configuration).getFinancialTransaction(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
348
+ };
349
+ /**
350
+ * This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
351
+ * @summary List financial transactions
352
+ * @param {FinancialTransactionsApiListFinancialTransactionsRequest} requestParameters Request parameters.
353
+ * @param {*} [options] Override http request option.
354
+ * @throws {RequiredError}
355
+ * @memberof FinancialTransactionsApi
356
+ */
357
+ FinancialTransactionsApi.prototype.listFinancialTransactions = function (requestParameters, options) {
358
+ var _this = this;
359
+ if (requestParameters === void 0) { requestParameters = {}; }
360
+ return (0, exports.FinancialTransactionsApiFp)(this.configuration).listFinancialTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
361
+ };
362
+ return FinancialTransactionsApi;
363
+ }(base_1.BaseAPI));
364
+ exports.FinancialTransactionsApi = FinancialTransactionsApi;
@@ -1,6 +1,6 @@
1
1
  /**
2
- * EMIL GdvService
3
- * The EMIL GdvService API description
2
+ * EMIL AccountingService
3
+ * The EMIL AccountingService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -19,7 +19,7 @@ import { InlineResponse200 } from '../models';
19
19
  */
20
20
  export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
22
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
23
23
  * @summary Health Check
24
24
  * @param {*} [options] Override http request option.
25
25
  * @throws {RequiredError}
@@ -32,7 +32,7 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
32
32
  */
33
33
  export declare const HealthApiFp: (configuration?: Configuration) => {
34
34
  /**
35
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
35
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
36
36
  * @summary Health Check
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
@@ -45,7 +45,7 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
45
45
  */
46
46
  export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
47
  /**
48
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
48
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
49
49
  * @summary Health Check
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
@@ -60,7 +60,7 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
60
60
  */
61
61
  export declare class HealthApi extends BaseAPI {
62
62
  /**
63
- * Returns the health status of the GdvService service. This endpoint is used to monitor the operational status of the GdvService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
63
+ * Returns the health status of the accounting service. This endpoint is used to monitor the operational status of the accounting service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
64
64
  * @summary Health Check
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}