@emilgroup/accounting-sdk-node 1.1.0 → 1.3.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 (223) hide show
  1. package/.openapi-generator/FILES +52 -15
  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/zip-codes-api.ts +443 -0
  10. package/api.ts +14 -6
  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/users-api.js +512 -0
  22. package/dist/api/vbas-api.d.ts +337 -0
  23. package/dist/api/{financial-accounts-api.js → vbas-api.js} +161 -156
  24. package/dist/api/vbus-api.d.ts +395 -0
  25. package/dist/api/vbus-api.js +647 -0
  26. package/dist/api/zip-codes-api.d.ts +253 -0
  27. package/dist/api/{booking-processes-api.js → zip-codes-api.js} +166 -80
  28. package/dist/api.d.ts +8 -4
  29. package/dist/api.js +8 -4
  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/{get-financial-account-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-process-response-class.js → create-mailbox-request-dto.js} +2 -2
  42. package/dist/models/create-user-request-dto.d.ts +76 -0
  43. package/dist/models/{financial-account-class.js → create-user-request-dto.js} +10 -9
  44. package/dist/models/create-user-response-class.d.ts +25 -0
  45. package/dist/models/{financial-transaction-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-financial-account-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 -13
  71. package/dist/models/index.js +46 -13
  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 +84 -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 +121 -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 +133 -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/{financial-transaction-data-dto.js → update-user-request-dto.js} +10 -6
  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 -13
  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 +90 -0
  164. package/models/request-details-class.ts +54 -0
  165. package/models/request-message-class.ts +127 -0
  166. package/models/response-details-class.ts +48 -0
  167. package/models/response-message-class.ts +139 -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/booking-processes-api.ts +0 -357
  188. package/api/financial-accounts-api.ts +0 -577
  189. package/dist/api/booking-processes-api.d.ts +0 -207
  190. package/dist/api/financial-accounts-api.d.ts +0 -327
  191. package/dist/models/booking-entry-class.d.ts +0 -123
  192. package/dist/models/booking-entry-class.js +0 -34
  193. package/dist/models/booking-process-class.d.ts +0 -94
  194. package/dist/models/booking-process-class.js +0 -29
  195. package/dist/models/create-booking-entry-request-dto.d.ts +0 -99
  196. package/dist/models/create-booking-entry-request-dto.js +0 -34
  197. package/dist/models/create-booking-process-request-dto.d.ts +0 -64
  198. package/dist/models/create-booking-process-request-dto.js +0 -29
  199. package/dist/models/create-booking-process-response-class.d.ts +0 -25
  200. package/dist/models/create-financial-account-request-dto.d.ts +0 -62
  201. package/dist/models/create-financial-account-request-dto.js +0 -23
  202. package/dist/models/create-financial-account-response-class.d.ts +0 -25
  203. package/dist/models/financial-account-class.d.ts +0 -98
  204. package/dist/models/financial-transaction-class.d.ts +0 -108
  205. package/dist/models/financial-transaction-data-dto.d.ts +0 -71
  206. package/dist/models/get-financial-account-response-class.d.ts +0 -25
  207. package/dist/models/list-booking-process-response-class.d.ts +0 -31
  208. package/dist/models/list-booking-process-response-class.js +0 -15
  209. package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
  210. package/dist/models/list-financial-accounts-response-class.js +0 -15
  211. package/models/booking-entry-class.ts +0 -133
  212. package/models/booking-process-class.ts +0 -104
  213. package/models/create-booking-entry-request-dto.ts +0 -109
  214. package/models/create-booking-process-request-dto.ts +0 -74
  215. package/models/create-booking-process-response-class.ts +0 -31
  216. package/models/create-financial-account-request-dto.ts +0 -71
  217. package/models/create-financial-account-response-class.ts +0 -31
  218. package/models/financial-account-class.ts +0 -107
  219. package/models/financial-transaction-class.ts +0 -114
  220. package/models/financial-transaction-data-dto.ts +0 -80
  221. package/models/get-financial-account-response-class.ts +0 -31
  222. package/models/list-booking-process-response-class.ts +0 -37
  223. package/models/list-financial-accounts-response-class.ts +0 -37
@@ -0,0 +1,443 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL GdvService
5
+ * The EMIL GdvService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { GetZipCodeResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { ListZipCodesResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { StoreZipCodesResponseClass } from '../models';
29
+ // URLSearchParams not necessarily used
30
+ // @ts-ignore
31
+ import { URL, URLSearchParams } from 'url';
32
+ const FormData = require('form-data');
33
+ /**
34
+ * ZipCodesApi - axios parameter creator
35
+ * @export
36
+ */
37
+ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configuration) {
38
+ return {
39
+ /**
40
+ * Retrieves the details of the zip code that was previously created. Supply the unique zip code code that was returned when you created it and Emil Api will return the corresponding zip code information.
41
+ * @summary Retrieve the zip code
42
+ * @param {string} code Unique identifier for the object.
43
+ * @param {string} [authorization] Bearer Token
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ getZipCode: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48
+ // verify required parameter 'code' is not null or undefined
49
+ assertParamExists('getZipCode', 'code', code)
50
+ const localVarPath = `/gdvservice/v1/zipcodes/{code}`
51
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
52
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
53
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54
+ let baseOptions;
55
+ let baseAccessToken;
56
+ if (configuration) {
57
+ baseOptions = configuration.baseOptions;
58
+ baseAccessToken = configuration.accessToken;
59
+ }
60
+
61
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
62
+ const localVarHeaderParameter = {} as any;
63
+ const localVarQueryParameter = {} as any;
64
+
65
+ // authentication bearer required
66
+ // http bearer authentication required
67
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
68
+
69
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
70
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
71
+ }
72
+
73
+
74
+
75
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
76
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
77
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
78
+
79
+ return {
80
+ url: toPathString(localVarUrlObj),
81
+ options: localVarRequestOptions,
82
+ };
83
+ },
84
+ /**
85
+ * Returns a list of zip codes you have previously created. The zip codes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
86
+ * @summary List zip codes
87
+ * @param {string} [authorization] Bearer Token
88
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
89
+ * @param {any} [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.
90
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
91
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
92
+ * @param {any} [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.
93
+ * @param {any} [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.
94
+ * @param {any} [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.
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ listZipCodes: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
99
+ const localVarPath = `/gdvservice/v1/zipcodes`;
100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
101
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
102
+ let baseOptions;
103
+ let baseAccessToken;
104
+ if (configuration) {
105
+ baseOptions = configuration.baseOptions;
106
+ baseAccessToken = configuration.accessToken;
107
+ }
108
+
109
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
110
+ const localVarHeaderParameter = {} as any;
111
+ const localVarQueryParameter = {} as any;
112
+
113
+ // authentication bearer required
114
+ // http bearer authentication required
115
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
116
+
117
+ if (pageSize !== undefined) {
118
+ localVarQueryParameter['pageSize'] = pageSize;
119
+ }
120
+
121
+ if (pageToken !== undefined) {
122
+ localVarQueryParameter['pageToken'] = pageToken;
123
+ }
124
+
125
+ if (filter !== undefined) {
126
+ localVarQueryParameter['filter'] = filter;
127
+ }
128
+
129
+ if (search !== undefined) {
130
+ localVarQueryParameter['search'] = search;
131
+ }
132
+
133
+ if (order !== undefined) {
134
+ localVarQueryParameter['order'] = order;
135
+ }
136
+
137
+ if (expand !== undefined) {
138
+ localVarQueryParameter['expand'] = expand;
139
+ }
140
+
141
+ if (filters !== undefined) {
142
+ localVarQueryParameter['filters'] = filters;
143
+ }
144
+
145
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
146
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
147
+ }
148
+
149
+
150
+
151
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
152
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
154
+
155
+ return {
156
+ url: toPathString(localVarUrlObj),
157
+ options: localVarRequestOptions,
158
+ };
159
+ },
160
+ /**
161
+ * Store zip codes from file.
162
+ * @summary Create the zip codes
163
+ * @param {string} [authorization] Bearer Token
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ storeZipCodes: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
168
+ const localVarPath = `/gdvservice/v1/zipcodes`;
169
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
170
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
171
+ let baseOptions;
172
+ let baseAccessToken;
173
+ if (configuration) {
174
+ baseOptions = configuration.baseOptions;
175
+ baseAccessToken = configuration.accessToken;
176
+ }
177
+
178
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
179
+ const localVarHeaderParameter = {} as any;
180
+ const localVarQueryParameter = {} as any;
181
+
182
+ // authentication bearer required
183
+ // http bearer authentication required
184
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
185
+
186
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
187
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
188
+ }
189
+
190
+
191
+
192
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
193
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
194
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
195
+
196
+ return {
197
+ url: toPathString(localVarUrlObj),
198
+ options: localVarRequestOptions,
199
+ };
200
+ },
201
+ }
202
+ };
203
+
204
+ /**
205
+ * ZipCodesApi - functional programming interface
206
+ * @export
207
+ */
208
+ export const ZipCodesApiFp = function(configuration?: Configuration) {
209
+ const localVarAxiosParamCreator = ZipCodesApiAxiosParamCreator(configuration)
210
+ return {
211
+ /**
212
+ * Retrieves the details of the zip code that was previously created. Supply the unique zip code code that was returned when you created it and Emil Api will return the corresponding zip code information.
213
+ * @summary Retrieve the zip code
214
+ * @param {string} code Unique identifier for the object.
215
+ * @param {string} [authorization] Bearer Token
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ async getZipCode(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetZipCodeResponseClass>> {
220
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getZipCode(code, authorization, options);
221
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
222
+ },
223
+ /**
224
+ * Returns a list of zip codes you have previously created. The zip codes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
225
+ * @summary List zip codes
226
+ * @param {string} [authorization] Bearer Token
227
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
228
+ * @param {any} [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.
229
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
230
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
231
+ * @param {any} [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.
232
+ * @param {any} [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.
233
+ * @param {any} [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.
234
+ * @param {*} [options] Override http request option.
235
+ * @throws {RequiredError}
236
+ */
237
+ async listZipCodes(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListZipCodesResponseClass>> {
238
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listZipCodes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
239
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
240
+ },
241
+ /**
242
+ * Store zip codes from file.
243
+ * @summary Create the zip codes
244
+ * @param {string} [authorization] Bearer Token
245
+ * @param {*} [options] Override http request option.
246
+ * @throws {RequiredError}
247
+ */
248
+ async storeZipCodes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreZipCodesResponseClass>> {
249
+ const localVarAxiosArgs = await localVarAxiosParamCreator.storeZipCodes(authorization, options);
250
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
251
+ },
252
+ }
253
+ };
254
+
255
+ /**
256
+ * ZipCodesApi - factory interface
257
+ * @export
258
+ */
259
+ export const ZipCodesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
260
+ const localVarFp = ZipCodesApiFp(configuration)
261
+ return {
262
+ /**
263
+ * Retrieves the details of the zip code that was previously created. Supply the unique zip code code that was returned when you created it and Emil Api will return the corresponding zip code information.
264
+ * @summary Retrieve the zip code
265
+ * @param {string} code Unique identifier for the object.
266
+ * @param {string} [authorization] Bearer Token
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ getZipCode(code: string, authorization?: string, options?: any): AxiosPromise<GetZipCodeResponseClass> {
271
+ return localVarFp.getZipCode(code, authorization, options).then((request) => request(axios, basePath));
272
+ },
273
+ /**
274
+ * Returns a list of zip codes you have previously created. The zip codes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
275
+ * @summary List zip codes
276
+ * @param {string} [authorization] Bearer Token
277
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
278
+ * @param {any} [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.
279
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
280
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
281
+ * @param {any} [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.
282
+ * @param {any} [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.
283
+ * @param {any} [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.
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ */
287
+ listZipCodes(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListZipCodesResponseClass> {
288
+ return localVarFp.listZipCodes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
289
+ },
290
+ /**
291
+ * Store zip codes from file.
292
+ * @summary Create the zip codes
293
+ * @param {string} [authorization] Bearer Token
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ storeZipCodes(authorization?: string, options?: any): AxiosPromise<StoreZipCodesResponseClass> {
298
+ return localVarFp.storeZipCodes(authorization, options).then((request) => request(axios, basePath));
299
+ },
300
+ };
301
+ };
302
+
303
+ /**
304
+ * Request parameters for getZipCode operation in ZipCodesApi.
305
+ * @export
306
+ * @interface ZipCodesApiGetZipCodeRequest
307
+ */
308
+ export interface ZipCodesApiGetZipCodeRequest {
309
+ /**
310
+ * Unique identifier for the object.
311
+ * @type {string}
312
+ * @memberof ZipCodesApiGetZipCode
313
+ */
314
+ readonly code: string
315
+
316
+ /**
317
+ * Bearer Token
318
+ * @type {string}
319
+ * @memberof ZipCodesApiGetZipCode
320
+ */
321
+ readonly authorization?: string
322
+ }
323
+
324
+ /**
325
+ * Request parameters for listZipCodes operation in ZipCodesApi.
326
+ * @export
327
+ * @interface ZipCodesApiListZipCodesRequest
328
+ */
329
+ export interface ZipCodesApiListZipCodesRequest {
330
+ /**
331
+ * Bearer Token
332
+ * @type {string}
333
+ * @memberof ZipCodesApiListZipCodes
334
+ */
335
+ readonly authorization?: string
336
+
337
+ /**
338
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
339
+ * @type {any}
340
+ * @memberof ZipCodesApiListZipCodes
341
+ */
342
+ readonly pageSize?: any
343
+
344
+ /**
345
+ * 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.
346
+ * @type {any}
347
+ * @memberof ZipCodesApiListZipCodes
348
+ */
349
+ readonly pageToken?: any
350
+
351
+ /**
352
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
353
+ * @type {any}
354
+ * @memberof ZipCodesApiListZipCodes
355
+ */
356
+ readonly filter?: any
357
+
358
+ /**
359
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
360
+ * @type {any}
361
+ * @memberof ZipCodesApiListZipCodes
362
+ */
363
+ readonly search?: any
364
+
365
+ /**
366
+ * 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.
367
+ * @type {any}
368
+ * @memberof ZipCodesApiListZipCodes
369
+ */
370
+ readonly order?: any
371
+
372
+ /**
373
+ * 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.
374
+ * @type {any}
375
+ * @memberof ZipCodesApiListZipCodes
376
+ */
377
+ readonly expand?: any
378
+
379
+ /**
380
+ * 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.
381
+ * @type {any}
382
+ * @memberof ZipCodesApiListZipCodes
383
+ */
384
+ readonly filters?: any
385
+ }
386
+
387
+ /**
388
+ * Request parameters for storeZipCodes operation in ZipCodesApi.
389
+ * @export
390
+ * @interface ZipCodesApiStoreZipCodesRequest
391
+ */
392
+ export interface ZipCodesApiStoreZipCodesRequest {
393
+ /**
394
+ * Bearer Token
395
+ * @type {string}
396
+ * @memberof ZipCodesApiStoreZipCodes
397
+ */
398
+ readonly authorization?: string
399
+ }
400
+
401
+ /**
402
+ * ZipCodesApi - object-oriented interface
403
+ * @export
404
+ * @class ZipCodesApi
405
+ * @extends {BaseAPI}
406
+ */
407
+ export class ZipCodesApi extends BaseAPI {
408
+ /**
409
+ * Retrieves the details of the zip code that was previously created. Supply the unique zip code code that was returned when you created it and Emil Api will return the corresponding zip code information.
410
+ * @summary Retrieve the zip code
411
+ * @param {ZipCodesApiGetZipCodeRequest} requestParameters Request parameters.
412
+ * @param {*} [options] Override http request option.
413
+ * @throws {RequiredError}
414
+ * @memberof ZipCodesApi
415
+ */
416
+ public getZipCode(requestParameters: ZipCodesApiGetZipCodeRequest, options?: AxiosRequestConfig) {
417
+ return ZipCodesApiFp(this.configuration).getZipCode(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
418
+ }
419
+
420
+ /**
421
+ * Returns a list of zip codes you have previously created. The zip codes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
422
+ * @summary List zip codes
423
+ * @param {ZipCodesApiListZipCodesRequest} requestParameters Request parameters.
424
+ * @param {*} [options] Override http request option.
425
+ * @throws {RequiredError}
426
+ * @memberof ZipCodesApi
427
+ */
428
+ public listZipCodes(requestParameters: ZipCodesApiListZipCodesRequest = {}, options?: AxiosRequestConfig) {
429
+ return ZipCodesApiFp(this.configuration).listZipCodes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
430
+ }
431
+
432
+ /**
433
+ * Store zip codes from file.
434
+ * @summary Create the zip codes
435
+ * @param {ZipCodesApiStoreZipCodesRequest} requestParameters Request parameters.
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ * @memberof ZipCodesApi
439
+ */
440
+ public storeZipCodes(requestParameters: ZipCodesApiStoreZipCodesRequest = {}, options?: AxiosRequestConfig) {
441
+ return ZipCodesApiFp(this.configuration).storeZipCodes(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
442
+ }
443
+ }
package/api.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
4
+ * EMIL GdvService
5
+ * The EMIL GdvService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -24,12 +24,20 @@ import FormData from 'form-data'
24
24
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
- import { BookingProcessesApi } from './api';
28
- import { FinancialAccountsApi } from './api';
29
27
  import { HealthApi } from './api';
28
+ import { MailboxApi } from './api';
29
+ import { MessagesApi } from './api';
30
+ import { UsersApi } from './api';
31
+ import { VbasApi } from './api';
32
+ import { VbusApi } from './api';
33
+ import { ZipCodesApi } from './api';
30
34
 
31
35
 
32
- export * from './api/booking-processes-api';
33
- export * from './api/financial-accounts-api';
34
36
  export * from './api/health-api';
37
+ export * from './api/mailbox-api';
38
+ export * from './api/messages-api';
39
+ export * from './api/users-api';
40
+ export * from './api/vbas-api';
41
+ export * from './api/vbus-api';
42
+ export * from './api/zip-codes-api';
35
43
 
package/base.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
4
+ * EMIL GdvService
5
+ * The EMIL GdvService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
package/common.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
4
+ * EMIL GdvService
5
+ * The EMIL GdvService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -140,8 +140,8 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
140
140
  /* tslint:disable */
141
141
  /* eslint-disable */
142
142
  /**
143
- * EMIL AccountingService
144
- * The EMIL AccountingService API description
143
+ * EMIL GdvService
144
+ * The EMIL GdvService API description
145
145
  *
146
146
  * The version of the OpenAPI document: 1.0
147
147
  * Contact: kontakt@emil.de
package/configuration.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * EMIL AccountingService
5
- * The EMIL AccountingService API description
4
+ * EMIL GdvService
5
+ * The EMIL GdvService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -1,6 +1,6 @@
1
1
  /**
2
- * EMIL AccountingService
3
- * The EMIL AccountingService API description
2
+ * EMIL GdvService
3
+ * The EMIL GdvService 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 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.
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.
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 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.
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.
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 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.
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.
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 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.
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.
64
64
  * @summary Health Check
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * EMIL AccountingService
6
- * The EMIL AccountingService API description
5
+ * EMIL GdvService
6
+ * The EMIL GdvService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  * Contact: kontakt@emil.de
@@ -97,7 +97,7 @@ var HealthApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * 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.
100
+ * 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.
101
101
  * @summary Health Check
102
102
  * @param {*} [options] Override http request option.
103
103
  * @throws {RequiredError}
@@ -107,7 +107,7 @@ var HealthApiAxiosParamCreator = function (configuration) {
107
107
  return __awaiter(_this, void 0, void 0, function () {
108
108
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
109
109
  return __generator(this, function (_a) {
110
- localVarPath = "/accountingservice/health";
110
+ localVarPath = "/gdvservice/health";
111
111
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
112
112
  if (configuration) {
113
113
  baseOptions = configuration.baseOptions;
@@ -137,7 +137,7 @@ var HealthApiFp = function (configuration) {
137
137
  var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
138
138
  return {
139
139
  /**
140
- * 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.
140
+ * 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.
141
141
  * @summary Health Check
142
142
  * @param {*} [options] Override http request option.
143
143
  * @throws {RequiredError}
@@ -166,7 +166,7 @@ var HealthApiFactory = function (configuration, basePath, axios) {
166
166
  var localVarFp = (0, exports.HealthApiFp)(configuration);
167
167
  return {
168
168
  /**
169
- * 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.
169
+ * 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.
170
170
  * @summary Health Check
171
171
  * @param {*} [options] Override http request option.
172
172
  * @throws {RequiredError}
@@ -189,7 +189,7 @@ var HealthApi = /** @class */ (function (_super) {
189
189
  return _super !== null && _super.apply(this, arguments) || this;
190
190
  }
191
191
  /**
192
- * 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.
192
+ * 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.
193
193
  * @summary Health Check
194
194
  * @param {*} [options] Override http request option.
195
195
  * @throws {RequiredError}