@emilgroup/accounting-sdk-node 1.10.0 → 1.11.1-beta.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 (222) hide show
  1. package/.openapi-generator/FILES +15 -52
  2. package/README.md +2 -2
  3. package/api/booking-processes-api.ts +357 -0
  4. package/api/financial-accounts-api.ts +577 -0
  5. package/api/health-api.ts +7 -7
  6. package/api.ts +6 -14
  7. package/base.ts +2 -2
  8. package/common.ts +4 -4
  9. package/configuration.ts +2 -2
  10. package/dist/api/booking-processes-api.d.ts +207 -0
  11. package/dist/api/{zip-codes-api.js → booking-processes-api.js} +80 -166
  12. package/dist/api/financial-accounts-api.d.ts +327 -0
  13. package/dist/api/{vbas-api.js → financial-accounts-api.js} +156 -161
  14. package/dist/api/health-api.d.ts +6 -6
  15. package/dist/api/health-api.js +7 -7
  16. package/dist/api.d.ts +4 -8
  17. package/dist/api.js +4 -8
  18. package/dist/base.d.ts +2 -2
  19. package/dist/base.js +2 -2
  20. package/dist/common.d.ts +4 -4
  21. package/dist/common.js +2 -2
  22. package/dist/configuration.d.ts +2 -2
  23. package/dist/configuration.js +2 -2
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +2 -2
  26. package/dist/models/booking-entry-class.d.ts +123 -0
  27. package/dist/models/booking-entry-class.js +34 -0
  28. package/dist/models/booking-process-class.d.ts +94 -0
  29. package/dist/models/booking-process-class.js +29 -0
  30. package/dist/models/create-booking-entry-request-dto.d.ts +99 -0
  31. package/dist/models/create-booking-entry-request-dto.js +34 -0
  32. package/dist/models/create-booking-process-request-dto.d.ts +64 -0
  33. package/dist/models/create-booking-process-request-dto.js +29 -0
  34. package/dist/models/create-booking-process-response-class.d.ts +25 -0
  35. package/dist/models/{address-class.js → create-booking-process-response-class.js} +2 -2
  36. package/dist/models/create-financial-account-request-dto.d.ts +62 -0
  37. package/dist/models/{create-user-request-dto.js → create-financial-account-request-dto.js} +9 -10
  38. package/dist/models/create-financial-account-response-class.d.ts +25 -0
  39. package/dist/models/{create-user-response-class.js → create-financial-account-response-class.js} +2 -2
  40. package/dist/models/financial-account-class.d.ts +98 -0
  41. package/dist/models/{user-class.js → financial-account-class.js} +9 -6
  42. package/dist/models/financial-transaction-class.d.ts +108 -0
  43. package/dist/models/{create-mailbox-request-dto.js → financial-transaction-class.js} +2 -2
  44. package/dist/models/financial-transaction-data-dto.d.ts +71 -0
  45. package/dist/models/{create-vba-request-dto.js → financial-transaction-data-dto.js} +6 -6
  46. package/dist/models/get-financial-account-response-class.d.ts +25 -0
  47. package/dist/models/{create-vba-response-class.js → get-financial-account-response-class.js} +2 -2
  48. package/dist/models/index.d.ts +13 -46
  49. package/dist/models/index.js +13 -46
  50. package/dist/models/inline-response200.d.ts +2 -2
  51. package/dist/models/inline-response200.js +2 -2
  52. package/dist/models/inline-response503.d.ts +2 -2
  53. package/dist/models/inline-response503.js +2 -2
  54. package/dist/models/list-booking-process-response-class.d.ts +31 -0
  55. package/dist/models/list-booking-process-response-class.js +15 -0
  56. package/dist/models/list-financial-accounts-response-class.d.ts +31 -0
  57. package/dist/models/list-financial-accounts-response-class.js +15 -0
  58. package/index.ts +2 -2
  59. package/models/booking-entry-class.ts +133 -0
  60. package/models/booking-process-class.ts +104 -0
  61. package/models/create-booking-entry-request-dto.ts +109 -0
  62. package/models/create-booking-process-request-dto.ts +74 -0
  63. package/models/create-booking-process-response-class.ts +31 -0
  64. package/models/create-financial-account-request-dto.ts +71 -0
  65. package/models/create-financial-account-response-class.ts +31 -0
  66. package/models/financial-account-class.ts +107 -0
  67. package/models/financial-transaction-class.ts +114 -0
  68. package/models/financial-transaction-data-dto.ts +80 -0
  69. package/models/get-financial-account-response-class.ts +31 -0
  70. package/models/index.ts +13 -46
  71. package/models/inline-response200.ts +2 -2
  72. package/models/inline-response503.ts +2 -2
  73. package/models/list-booking-process-response-class.ts +37 -0
  74. package/models/list-financial-accounts-response-class.ts +37 -0
  75. package/package.json +1 -1
  76. package/api/mailbox-api.ts +0 -255
  77. package/api/messages-api.ts +0 -1100
  78. package/api/users-api.ts +0 -496
  79. package/api/vbas-api.ts +0 -592
  80. package/api/vbus-api.ts +0 -701
  81. package/api/zip-codes-api.ts +0 -443
  82. package/dist/api/mailbox-api.d.ts +0 -142
  83. package/dist/api/mailbox-api.js +0 -315
  84. package/dist/api/messages-api.d.ts +0 -632
  85. package/dist/api/messages-api.js +0 -916
  86. package/dist/api/users-api.d.ts +0 -275
  87. package/dist/api/users-api.js +0 -512
  88. package/dist/api/vbas-api.d.ts +0 -337
  89. package/dist/api/vbus-api.d.ts +0 -395
  90. package/dist/api/vbus-api.js +0 -647
  91. package/dist/api/zip-codes-api.d.ts +0 -253
  92. package/dist/models/address-class.d.ts +0 -48
  93. package/dist/models/create-mailbox-request-dto.d.ts +0 -36
  94. package/dist/models/create-user-request-dto.d.ts +0 -76
  95. package/dist/models/create-user-response-class.d.ts +0 -25
  96. package/dist/models/create-vba-request-dto.d.ts +0 -41
  97. package/dist/models/create-vba-response-class.d.ts +0 -24
  98. package/dist/models/create-vbu-request-dto.d.ts +0 -41
  99. package/dist/models/create-vbu-request-dto.js +0 -20
  100. package/dist/models/create-vbu-response-class.d.ts +0 -24
  101. package/dist/models/create-vbu-response-class.js +0 -15
  102. package/dist/models/create-vbuv-request-dto.d.ts +0 -41
  103. package/dist/models/create-vbuv-request-dto.js +0 -20
  104. package/dist/models/create-vbuv-response-class.d.ts +0 -24
  105. package/dist/models/create-vbuv-response-class.js +0 -15
  106. package/dist/models/get-request-message-response-class.d.ts +0 -25
  107. package/dist/models/get-request-message-response-class.js +0 -15
  108. package/dist/models/get-response-message-response-class.d.ts +0 -25
  109. package/dist/models/get-response-message-response-class.js +0 -15
  110. package/dist/models/get-user-response-class.d.ts +0 -25
  111. package/dist/models/get-user-response-class.js +0 -15
  112. package/dist/models/get-vba-response-class.d.ts +0 -25
  113. package/dist/models/get-vba-response-class.js +0 -15
  114. package/dist/models/get-vbu-response-class.d.ts +0 -25
  115. package/dist/models/get-vbu-response-class.js +0 -15
  116. package/dist/models/get-zip-code-response-class.d.ts +0 -25
  117. package/dist/models/get-zip-code-response-class.js +0 -15
  118. package/dist/models/list-all-messages-response-class.d.ts +0 -31
  119. package/dist/models/list-all-messages-response-class.js +0 -15
  120. package/dist/models/list-requests-messages-response-class.d.ts +0 -31
  121. package/dist/models/list-requests-messages-response-class.js +0 -15
  122. package/dist/models/list-responses-messages-response-class.d.ts +0 -31
  123. package/dist/models/list-responses-messages-response-class.js +0 -15
  124. package/dist/models/list-users-response-class.d.ts +0 -31
  125. package/dist/models/list-users-response-class.js +0 -15
  126. package/dist/models/list-vbas-response-class.d.ts +0 -31
  127. package/dist/models/list-vbas-response-class.js +0 -15
  128. package/dist/models/list-vbus-response-class.d.ts +0 -31
  129. package/dist/models/list-vbus-response-class.js +0 -15
  130. package/dist/models/list-zip-codes-response-class.d.ts +0 -31
  131. package/dist/models/list-zip-codes-response-class.js +0 -15
  132. package/dist/models/message-class.d.ts +0 -84
  133. package/dist/models/message-class.js +0 -15
  134. package/dist/models/request-details-class.d.ts +0 -48
  135. package/dist/models/request-details-class.js +0 -15
  136. package/dist/models/request-message-class.d.ts +0 -121
  137. package/dist/models/request-message-class.js +0 -15
  138. package/dist/models/response-details-class.d.ts +0 -42
  139. package/dist/models/response-details-class.js +0 -15
  140. package/dist/models/response-message-class.d.ts +0 -133
  141. package/dist/models/response-message-class.js +0 -15
  142. package/dist/models/store-zip-codes-request-dto.d.ts +0 -25
  143. package/dist/models/store-zip-codes-request-dto.js +0 -15
  144. package/dist/models/store-zip-codes-response-class.d.ts +0 -25
  145. package/dist/models/store-zip-codes-response-class.js +0 -15
  146. package/dist/models/update-request-message-request-dto.d.ts +0 -36
  147. package/dist/models/update-request-message-request-dto.js +0 -15
  148. package/dist/models/update-request-message-response-class.d.ts +0 -25
  149. package/dist/models/update-request-message-response-class.js +0 -15
  150. package/dist/models/update-response-message-request-dto.d.ts +0 -36
  151. package/dist/models/update-response-message-request-dto.js +0 -15
  152. package/dist/models/update-response-message-response-class.d.ts +0 -25
  153. package/dist/models/update-response-message-response-class.js +0 -15
  154. package/dist/models/update-user-request-dto.d.ts +0 -82
  155. package/dist/models/update-user-request-dto.js +0 -24
  156. package/dist/models/update-user-response-class.d.ts +0 -25
  157. package/dist/models/update-user-response-class.js +0 -15
  158. package/dist/models/update-vba-request-dto.d.ts +0 -30
  159. package/dist/models/update-vba-request-dto.js +0 -15
  160. package/dist/models/update-vbu-request-dto.d.ts +0 -30
  161. package/dist/models/update-vbu-request-dto.js +0 -15
  162. package/dist/models/update-vbu-response-class.d.ts +0 -25
  163. package/dist/models/update-vbu-response-class.js +0 -15
  164. package/dist/models/user-class.d.ts +0 -107
  165. package/dist/models/vba-class.d.ts +0 -116
  166. package/dist/models/vba-class.js +0 -15
  167. package/dist/models/vba-response-class.d.ts +0 -48
  168. package/dist/models/vba-response-class.js +0 -15
  169. package/dist/models/vbu-class.d.ts +0 -115
  170. package/dist/models/vbu-class.js +0 -15
  171. package/dist/models/vbu-response-class.d.ts +0 -48
  172. package/dist/models/vbu-response-class.js +0 -15
  173. package/dist/models/xlsx-zip-code-dto.d.ts +0 -30
  174. package/dist/models/xlsx-zip-code-dto.js +0 -15
  175. package/dist/models/zip-code-class.d.ts +0 -60
  176. package/dist/models/zip-code-class.js +0 -15
  177. package/models/address-class.ts +0 -54
  178. package/models/create-mailbox-request-dto.ts +0 -42
  179. package/models/create-user-request-dto.ts +0 -86
  180. package/models/create-user-response-class.ts +0 -31
  181. package/models/create-vba-request-dto.ts +0 -50
  182. package/models/create-vba-response-class.ts +0 -30
  183. package/models/create-vbu-request-dto.ts +0 -50
  184. package/models/create-vbu-response-class.ts +0 -30
  185. package/models/create-vbuv-request-dto.ts +0 -50
  186. package/models/create-vbuv-response-class.ts +0 -30
  187. package/models/get-request-message-response-class.ts +0 -31
  188. package/models/get-response-message-response-class.ts +0 -31
  189. package/models/get-user-response-class.ts +0 -31
  190. package/models/get-vba-response-class.ts +0 -31
  191. package/models/get-vbu-response-class.ts +0 -31
  192. package/models/get-zip-code-response-class.ts +0 -31
  193. package/models/list-all-messages-response-class.ts +0 -37
  194. package/models/list-requests-messages-response-class.ts +0 -37
  195. package/models/list-responses-messages-response-class.ts +0 -37
  196. package/models/list-users-response-class.ts +0 -37
  197. package/models/list-vbas-response-class.ts +0 -37
  198. package/models/list-vbus-response-class.ts +0 -37
  199. package/models/list-zip-codes-response-class.ts +0 -37
  200. package/models/message-class.ts +0 -90
  201. package/models/request-details-class.ts +0 -54
  202. package/models/request-message-class.ts +0 -127
  203. package/models/response-details-class.ts +0 -48
  204. package/models/response-message-class.ts +0 -139
  205. package/models/store-zip-codes-request-dto.ts +0 -31
  206. package/models/store-zip-codes-response-class.ts +0 -31
  207. package/models/update-request-message-request-dto.ts +0 -42
  208. package/models/update-request-message-response-class.ts +0 -31
  209. package/models/update-response-message-request-dto.ts +0 -42
  210. package/models/update-response-message-response-class.ts +0 -31
  211. package/models/update-user-request-dto.ts +0 -92
  212. package/models/update-user-response-class.ts +0 -31
  213. package/models/update-vba-request-dto.ts +0 -36
  214. package/models/update-vbu-request-dto.ts +0 -36
  215. package/models/update-vbu-response-class.ts +0 -31
  216. package/models/user-class.ts +0 -116
  217. package/models/vba-class.ts +0 -122
  218. package/models/vba-response-class.ts +0 -54
  219. package/models/vbu-class.ts +0 -121
  220. package/models/vbu-response-class.ts +0 -54
  221. package/models/xlsx-zip-code-dto.ts +0 -36
  222. package/models/zip-code-class.ts +0 -66
@@ -1,443 +0,0 @@
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
- }
@@ -1,142 +0,0 @@
1
- /**
2
- * EMIL GdvService
3
- * The EMIL GdvService 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 { CreateMailboxRequestDto } from '../models';
16
- /**
17
- * MailboxApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const MailboxApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- * This endpoint creates a new mailbox.
23
- * @summary Create the Mailbox
24
- * @param {CreateMailboxRequestDto} createMailboxRequestDto
25
- * @param {string} [authorization] Bearer Token
26
- * @param {*} [options] Override http request option.
27
- * @throws {RequiredError}
28
- */
29
- createMailbox: (createMailboxRequestDto: CreateMailboxRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
- /**
31
- * This endpoint will download gdv messages.
32
- * @summary Create the download-messages
33
- * @param {string} [authorization] Bearer Token
34
- * @param {*} [options] Override http request option.
35
- * @throws {RequiredError}
36
- */
37
- downloadMessages: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
- };
39
- /**
40
- * MailboxApi - functional programming interface
41
- * @export
42
- */
43
- export declare const MailboxApiFp: (configuration?: Configuration) => {
44
- /**
45
- * This endpoint creates a new mailbox.
46
- * @summary Create the Mailbox
47
- * @param {CreateMailboxRequestDto} createMailboxRequestDto
48
- * @param {string} [authorization] Bearer Token
49
- * @param {*} [options] Override http request option.
50
- * @throws {RequiredError}
51
- */
52
- createMailbox(createMailboxRequestDto: CreateMailboxRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
53
- /**
54
- * This endpoint will download gdv messages.
55
- * @summary Create the download-messages
56
- * @param {string} [authorization] Bearer Token
57
- * @param {*} [options] Override http request option.
58
- * @throws {RequiredError}
59
- */
60
- downloadMessages(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
61
- };
62
- /**
63
- * MailboxApi - factory interface
64
- * @export
65
- */
66
- export declare const MailboxApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
67
- /**
68
- * This endpoint creates a new mailbox.
69
- * @summary Create the Mailbox
70
- * @param {CreateMailboxRequestDto} createMailboxRequestDto
71
- * @param {string} [authorization] Bearer Token
72
- * @param {*} [options] Override http request option.
73
- * @throws {RequiredError}
74
- */
75
- createMailbox(createMailboxRequestDto: CreateMailboxRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
76
- /**
77
- * This endpoint will download gdv messages.
78
- * @summary Create the download-messages
79
- * @param {string} [authorization] Bearer Token
80
- * @param {*} [options] Override http request option.
81
- * @throws {RequiredError}
82
- */
83
- downloadMessages(authorization?: string, options?: any): AxiosPromise<void>;
84
- };
85
- /**
86
- * Request parameters for createMailbox operation in MailboxApi.
87
- * @export
88
- * @interface MailboxApiCreateMailboxRequest
89
- */
90
- export interface MailboxApiCreateMailboxRequest {
91
- /**
92
- *
93
- * @type {CreateMailboxRequestDto}
94
- * @memberof MailboxApiCreateMailbox
95
- */
96
- readonly createMailboxRequestDto: CreateMailboxRequestDto;
97
- /**
98
- * Bearer Token
99
- * @type {string}
100
- * @memberof MailboxApiCreateMailbox
101
- */
102
- readonly authorization?: string;
103
- }
104
- /**
105
- * Request parameters for downloadMessages operation in MailboxApi.
106
- * @export
107
- * @interface MailboxApiDownloadMessagesRequest
108
- */
109
- export interface MailboxApiDownloadMessagesRequest {
110
- /**
111
- * Bearer Token
112
- * @type {string}
113
- * @memberof MailboxApiDownloadMessages
114
- */
115
- readonly authorization?: string;
116
- }
117
- /**
118
- * MailboxApi - object-oriented interface
119
- * @export
120
- * @class MailboxApi
121
- * @extends {BaseAPI}
122
- */
123
- export declare class MailboxApi extends BaseAPI {
124
- /**
125
- * This endpoint creates a new mailbox.
126
- * @summary Create the Mailbox
127
- * @param {MailboxApiCreateMailboxRequest} requestParameters Request parameters.
128
- * @param {*} [options] Override http request option.
129
- * @throws {RequiredError}
130
- * @memberof MailboxApi
131
- */
132
- createMailbox(requestParameters: MailboxApiCreateMailboxRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
133
- /**
134
- * This endpoint will download gdv messages.
135
- * @summary Create the download-messages
136
- * @param {MailboxApiDownloadMessagesRequest} requestParameters Request parameters.
137
- * @param {*} [options] Override http request option.
138
- * @throws {RequiredError}
139
- * @memberof MailboxApi
140
- */
141
- downloadMessages(requestParameters?: MailboxApiDownloadMessagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
142
- }