@emilgroup/accounting-sdk-node 1.20.1-beta.2 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/.openapi-generator/FILES +52 -29
  2. package/README.md +2 -2
  3. package/api/health-api.ts +7 -7
  4. package/api/mailbox-api.ts +255 -0
  5. package/api/messages-api.ts +1100 -0
  6. package/api/users-api.ts +496 -0
  7. package/api/vbas-api.ts +592 -0
  8. package/api/vbus-api.ts +701 -0
  9. package/api/{booking-entries-api.ts → zip-codes-api.ts} +162 -195
  10. package/api.ts +14 -12
  11. package/base.ts +2 -2
  12. package/common.ts +4 -4
  13. package/configuration.ts +2 -2
  14. package/dist/api/health-api.d.ts +6 -6
  15. package/dist/api/health-api.js +7 -7
  16. package/dist/api/mailbox-api.d.ts +142 -0
  17. package/dist/api/mailbox-api.js +315 -0
  18. package/dist/api/messages-api.d.ts +632 -0
  19. package/dist/api/messages-api.js +916 -0
  20. package/dist/api/users-api.d.ts +275 -0
  21. package/dist/api/{financial-accounts-api.js → users-api.js} +134 -171
  22. package/dist/api/vbas-api.d.ts +337 -0
  23. package/dist/api/{number-ranges-api.js → vbas-api.js} +161 -156
  24. package/dist/api/vbus-api.d.ts +395 -0
  25. package/dist/api/{personal-accounts-api.js → vbus-api.js} +234 -136
  26. package/dist/api/{booking-entries-api.d.ts → zip-codes-api.d.ts} +111 -130
  27. package/dist/api/{booking-entries-api.js → zip-codes-api.js} +130 -144
  28. package/dist/api.d.ts +8 -7
  29. package/dist/api.js +8 -7
  30. package/dist/base.d.ts +2 -2
  31. package/dist/base.js +2 -2
  32. package/dist/common.d.ts +4 -4
  33. package/dist/common.js +2 -2
  34. package/dist/configuration.d.ts +2 -2
  35. package/dist/configuration.js +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +2 -2
  38. package/dist/models/address-class.d.ts +48 -0
  39. package/dist/models/{create-number-range-response-class.js → address-class.js} +2 -2
  40. package/dist/models/create-mailbox-request-dto.d.ts +36 -0
  41. package/dist/models/{create-booking-entry-request-dto.js → create-mailbox-request-dto.js} +2 -2
  42. package/dist/models/create-user-request-dto.d.ts +76 -0
  43. package/dist/models/{create-personal-account-request-dto.js → create-user-request-dto.js} +10 -7
  44. package/dist/models/create-user-response-class.d.ts +25 -0
  45. package/dist/models/{create-financial-account-response-class.js → create-user-response-class.js} +2 -2
  46. package/dist/models/create-vba-request-dto.d.ts +41 -0
  47. package/dist/models/create-vba-request-dto.js +20 -0
  48. package/dist/models/create-vba-response-class.d.ts +24 -0
  49. package/dist/models/{create-booking-entry-response-class.js → create-vba-response-class.js} +2 -2
  50. package/dist/models/create-vbu-request-dto.d.ts +41 -0
  51. package/dist/models/create-vbu-request-dto.js +20 -0
  52. package/dist/models/create-vbu-response-class.d.ts +24 -0
  53. package/dist/models/create-vbu-response-class.js +15 -0
  54. package/dist/models/create-vbuv-request-dto.d.ts +41 -0
  55. package/dist/models/create-vbuv-request-dto.js +20 -0
  56. package/dist/models/create-vbuv-response-class.d.ts +24 -0
  57. package/dist/models/create-vbuv-response-class.js +15 -0
  58. package/dist/models/get-request-message-response-class.d.ts +25 -0
  59. package/dist/models/get-request-message-response-class.js +15 -0
  60. package/dist/models/get-response-message-response-class.d.ts +25 -0
  61. package/dist/models/get-response-message-response-class.js +15 -0
  62. package/dist/models/get-user-response-class.d.ts +25 -0
  63. package/dist/models/get-user-response-class.js +15 -0
  64. package/dist/models/get-vba-response-class.d.ts +25 -0
  65. package/dist/models/get-vba-response-class.js +15 -0
  66. package/dist/models/get-vbu-response-class.d.ts +25 -0
  67. package/dist/models/get-vbu-response-class.js +15 -0
  68. package/dist/models/get-zip-code-response-class.d.ts +25 -0
  69. package/dist/models/get-zip-code-response-class.js +15 -0
  70. package/dist/models/index.d.ts +46 -24
  71. package/dist/models/index.js +46 -24
  72. package/dist/models/inline-response200.d.ts +2 -2
  73. package/dist/models/inline-response200.js +2 -2
  74. package/dist/models/inline-response503.d.ts +2 -2
  75. package/dist/models/inline-response503.js +2 -2
  76. package/dist/models/list-all-messages-response-class.d.ts +31 -0
  77. package/dist/models/list-all-messages-response-class.js +15 -0
  78. package/dist/models/list-requests-messages-response-class.d.ts +31 -0
  79. package/dist/models/list-requests-messages-response-class.js +15 -0
  80. package/dist/models/list-responses-messages-response-class.d.ts +31 -0
  81. package/dist/models/list-responses-messages-response-class.js +15 -0
  82. package/dist/models/list-users-response-class.d.ts +31 -0
  83. package/dist/models/list-users-response-class.js +15 -0
  84. package/dist/models/list-vbas-response-class.d.ts +31 -0
  85. package/dist/models/list-vbas-response-class.js +15 -0
  86. package/dist/models/list-vbus-response-class.d.ts +31 -0
  87. package/dist/models/list-vbus-response-class.js +15 -0
  88. package/dist/models/list-zip-codes-response-class.d.ts +31 -0
  89. package/dist/models/list-zip-codes-response-class.js +15 -0
  90. package/dist/models/message-class.d.ts +90 -0
  91. package/dist/models/message-class.js +15 -0
  92. package/dist/models/request-details-class.d.ts +48 -0
  93. package/dist/models/request-details-class.js +15 -0
  94. package/dist/models/request-message-class.d.ts +127 -0
  95. package/dist/models/request-message-class.js +15 -0
  96. package/dist/models/response-details-class.d.ts +42 -0
  97. package/dist/models/response-details-class.js +15 -0
  98. package/dist/models/response-message-class.d.ts +139 -0
  99. package/dist/models/response-message-class.js +15 -0
  100. package/dist/models/store-zip-codes-request-dto.d.ts +25 -0
  101. package/dist/models/store-zip-codes-request-dto.js +15 -0
  102. package/dist/models/store-zip-codes-response-class.d.ts +25 -0
  103. package/dist/models/store-zip-codes-response-class.js +15 -0
  104. package/dist/models/update-request-message-request-dto.d.ts +36 -0
  105. package/dist/models/update-request-message-request-dto.js +15 -0
  106. package/dist/models/update-request-message-response-class.d.ts +25 -0
  107. package/dist/models/update-request-message-response-class.js +15 -0
  108. package/dist/models/update-response-message-request-dto.d.ts +36 -0
  109. package/dist/models/update-response-message-request-dto.js +15 -0
  110. package/dist/models/update-response-message-response-class.d.ts +25 -0
  111. package/dist/models/update-response-message-response-class.js +15 -0
  112. package/dist/models/update-user-request-dto.d.ts +82 -0
  113. package/dist/models/update-user-request-dto.js +24 -0
  114. package/dist/models/update-user-response-class.d.ts +25 -0
  115. package/dist/models/update-user-response-class.js +15 -0
  116. package/dist/models/update-vba-request-dto.d.ts +30 -0
  117. package/dist/models/update-vba-request-dto.js +15 -0
  118. package/dist/models/update-vbu-request-dto.d.ts +30 -0
  119. package/dist/models/update-vbu-request-dto.js +15 -0
  120. package/dist/models/update-vbu-response-class.d.ts +25 -0
  121. package/dist/models/update-vbu-response-class.js +15 -0
  122. package/dist/models/user-class.d.ts +107 -0
  123. package/dist/models/user-class.js +20 -0
  124. package/dist/models/vba-class.d.ts +116 -0
  125. package/dist/models/vba-class.js +15 -0
  126. package/dist/models/vba-response-class.d.ts +48 -0
  127. package/dist/models/vba-response-class.js +15 -0
  128. package/dist/models/vbu-class.d.ts +115 -0
  129. package/dist/models/vbu-class.js +15 -0
  130. package/dist/models/vbu-response-class.d.ts +48 -0
  131. package/dist/models/vbu-response-class.js +15 -0
  132. package/dist/models/xlsx-zip-code-dto.d.ts +30 -0
  133. package/dist/models/xlsx-zip-code-dto.js +15 -0
  134. package/dist/models/zip-code-class.d.ts +60 -0
  135. package/dist/models/zip-code-class.js +15 -0
  136. package/index.ts +2 -2
  137. package/models/address-class.ts +54 -0
  138. package/models/create-mailbox-request-dto.ts +42 -0
  139. package/models/create-user-request-dto.ts +86 -0
  140. package/models/create-user-response-class.ts +31 -0
  141. package/models/create-vba-request-dto.ts +50 -0
  142. package/models/create-vba-response-class.ts +30 -0
  143. package/models/create-vbu-request-dto.ts +50 -0
  144. package/models/create-vbu-response-class.ts +30 -0
  145. package/models/create-vbuv-request-dto.ts +50 -0
  146. package/models/create-vbuv-response-class.ts +30 -0
  147. package/models/get-request-message-response-class.ts +31 -0
  148. package/models/get-response-message-response-class.ts +31 -0
  149. package/models/get-user-response-class.ts +31 -0
  150. package/models/get-vba-response-class.ts +31 -0
  151. package/models/get-vbu-response-class.ts +31 -0
  152. package/models/get-zip-code-response-class.ts +31 -0
  153. package/models/index.ts +46 -24
  154. package/models/inline-response200.ts +2 -2
  155. package/models/inline-response503.ts +2 -2
  156. package/models/list-all-messages-response-class.ts +37 -0
  157. package/models/list-requests-messages-response-class.ts +37 -0
  158. package/models/list-responses-messages-response-class.ts +37 -0
  159. package/models/list-users-response-class.ts +37 -0
  160. package/models/list-vbas-response-class.ts +37 -0
  161. package/models/list-vbus-response-class.ts +37 -0
  162. package/models/list-zip-codes-response-class.ts +37 -0
  163. package/models/message-class.ts +96 -0
  164. package/models/request-details-class.ts +54 -0
  165. package/models/request-message-class.ts +133 -0
  166. package/models/response-details-class.ts +48 -0
  167. package/models/response-message-class.ts +145 -0
  168. package/models/store-zip-codes-request-dto.ts +31 -0
  169. package/models/store-zip-codes-response-class.ts +31 -0
  170. package/models/update-request-message-request-dto.ts +42 -0
  171. package/models/update-request-message-response-class.ts +31 -0
  172. package/models/update-response-message-request-dto.ts +42 -0
  173. package/models/update-response-message-response-class.ts +31 -0
  174. package/models/update-user-request-dto.ts +92 -0
  175. package/models/update-user-response-class.ts +31 -0
  176. package/models/update-vba-request-dto.ts +36 -0
  177. package/models/update-vbu-request-dto.ts +36 -0
  178. package/models/update-vbu-response-class.ts +31 -0
  179. package/models/user-class.ts +116 -0
  180. package/models/vba-class.ts +122 -0
  181. package/models/vba-response-class.ts +54 -0
  182. package/models/vbu-class.ts +121 -0
  183. package/models/vbu-response-class.ts +54 -0
  184. package/models/xlsx-zip-code-dto.ts +36 -0
  185. package/models/zip-code-class.ts +66 -0
  186. package/package.json +1 -1
  187. package/api/financial-accounts-api.ts +0 -577
  188. package/api/financial-transactions-api.ts +0 -369
  189. package/api/number-ranges-api.ts +0 -577
  190. package/api/personal-accounts-api.ts +0 -577
  191. package/dist/api/financial-accounts-api.d.ts +0 -327
  192. package/dist/api/financial-transactions-api.d.ts +0 -215
  193. package/dist/api/financial-transactions-api.js +0 -364
  194. package/dist/api/number-ranges-api.d.ts +0 -327
  195. package/dist/api/personal-accounts-api.d.ts +0 -327
  196. package/dist/models/booking-entry-class.d.ts +0 -123
  197. package/dist/models/booking-entry-class.js +0 -29
  198. package/dist/models/create-booking-entry-request-dto.d.ts +0 -61
  199. package/dist/models/create-booking-entry-response-class.d.ts +0 -25
  200. package/dist/models/create-financial-account-request-dto.d.ts +0 -75
  201. package/dist/models/create-financial-account-request-dto.js +0 -24
  202. package/dist/models/create-financial-account-response-class.d.ts +0 -25
  203. package/dist/models/create-number-range-request-dto.d.ts +0 -53
  204. package/dist/models/create-number-range-request-dto.js +0 -26
  205. package/dist/models/create-number-range-response-class.d.ts +0 -25
  206. package/dist/models/create-personal-account-request-dto.d.ts +0 -60
  207. package/dist/models/create-personal-account-response-class.d.ts +0 -25
  208. package/dist/models/create-personal-account-response-class.js +0 -15
  209. package/dist/models/financial-account-class.d.ts +0 -111
  210. package/dist/models/financial-account-class.js +0 -24
  211. package/dist/models/financial-transaction-class.d.ts +0 -114
  212. package/dist/models/financial-transaction-class.js +0 -15
  213. package/dist/models/financial-transaction-data-dto.d.ts +0 -71
  214. package/dist/models/financial-transaction-data-dto.js +0 -25
  215. package/dist/models/get-booking-entry-response-class.d.ts +0 -25
  216. package/dist/models/get-booking-entry-response-class.js +0 -15
  217. package/dist/models/get-financial-account-response-class.d.ts +0 -25
  218. package/dist/models/get-financial-account-response-class.js +0 -15
  219. package/dist/models/get-financial-transaction-response-class.d.ts +0 -25
  220. package/dist/models/get-financial-transaction-response-class.js +0 -15
  221. package/dist/models/get-number-range-response-class.d.ts +0 -25
  222. package/dist/models/get-number-range-response-class.js +0 -15
  223. package/dist/models/get-personal-account-response-class.d.ts +0 -25
  224. package/dist/models/get-personal-account-response-class.js +0 -15
  225. package/dist/models/list-booking-entries-response-class.d.ts +0 -31
  226. package/dist/models/list-booking-entries-response-class.js +0 -15
  227. package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
  228. package/dist/models/list-financial-accounts-response-class.js +0 -15
  229. package/dist/models/list-financial-transactions-response-class.d.ts +0 -31
  230. package/dist/models/list-financial-transactions-response-class.js +0 -15
  231. package/dist/models/list-number-range-response-class.d.ts +0 -31
  232. package/dist/models/list-number-range-response-class.js +0 -15
  233. package/dist/models/list-personal-accounts-response-class.d.ts +0 -31
  234. package/dist/models/list-personal-accounts-response-class.js +0 -15
  235. package/dist/models/number-range-class.d.ts +0 -84
  236. package/dist/models/number-range-class.js +0 -15
  237. package/dist/models/personal-account-class.d.ts +0 -105
  238. package/dist/models/personal-account-class.js +0 -24
  239. package/models/booking-entry-class.ts +0 -132
  240. package/models/create-booking-entry-request-dto.ts +0 -67
  241. package/models/create-booking-entry-response-class.ts +0 -31
  242. package/models/create-financial-account-request-dto.ts +0 -84
  243. package/models/create-financial-account-response-class.ts +0 -31
  244. package/models/create-number-range-request-dto.ts +0 -62
  245. package/models/create-number-range-response-class.ts +0 -31
  246. package/models/create-personal-account-request-dto.ts +0 -69
  247. package/models/create-personal-account-response-class.ts +0 -31
  248. package/models/financial-account-class.ts +0 -120
  249. package/models/financial-transaction-class.ts +0 -120
  250. package/models/financial-transaction-data-dto.ts +0 -81
  251. package/models/get-booking-entry-response-class.ts +0 -31
  252. package/models/get-financial-account-response-class.ts +0 -31
  253. package/models/get-financial-transaction-response-class.ts +0 -31
  254. package/models/get-number-range-response-class.ts +0 -31
  255. package/models/get-personal-account-response-class.ts +0 -31
  256. package/models/list-booking-entries-response-class.ts +0 -37
  257. package/models/list-financial-accounts-response-class.ts +0 -37
  258. package/models/list-financial-transactions-response-class.ts +0 -37
  259. package/models/list-number-range-response-class.ts +0 -37
  260. package/models/list-personal-accounts-response-class.ts +0 -37
  261. package/models/number-range-class.ts +0 -90
  262. package/models/personal-account-class.ts +0 -114
@@ -1,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
@@ -21,35 +21,34 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { CreateBookingEntryRequestDto } from '../models';
24
+ import { GetZipCodeResponseClass } from '../models';
25
25
  // @ts-ignore
26
- import { CreateBookingEntryResponseClass } from '../models';
26
+ import { ListZipCodesResponseClass } from '../models';
27
27
  // @ts-ignore
28
- import { GetBookingEntryResponseClass } from '../models';
29
- // @ts-ignore
30
- import { ListBookingEntriesResponseClass } from '../models';
28
+ import { StoreZipCodesResponseClass } from '../models';
31
29
  // URLSearchParams not necessarily used
32
30
  // @ts-ignore
33
31
  import { URL, URLSearchParams } from 'url';
34
32
  const FormData = require('form-data');
35
33
  /**
36
- * BookingEntriesApi - axios parameter creator
34
+ * ZipCodesApi - axios parameter creator
37
35
  * @export
38
36
  */
39
- export const BookingEntriesApiAxiosParamCreator = function (configuration?: Configuration) {
37
+ export const ZipCodesApiAxiosParamCreator = function (configuration?: Configuration) {
40
38
  return {
41
39
  /**
42
- * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
43
- * @summary Create the booking entry
44
- * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
45
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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. **Required Permissions** \"gdv-management.operations.view\"
41
+ * @summary Retrieve the zip code
42
+ * @param {string} code Unique identifier for the object.
43
+ * @param {string} [authorization] Bearer Token
46
44
  * @param {*} [options] Override http request option.
47
45
  * @throws {RequiredError}
48
46
  */
49
- createBookingEntry: async (createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
50
- // verify required parameter 'createBookingEntryRequestDto' is not null or undefined
51
- assertParamExists('createBookingEntry', 'createBookingEntryRequestDto', createBookingEntryRequestDto)
52
- const localVarPath = `/accountingservice/v1/booking-entries`;
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)));
53
52
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
53
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55
54
  let baseOptions;
@@ -59,7 +58,7 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
59
58
  baseAccessToken = configuration.accessToken;
60
59
  }
61
60
 
62
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
61
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
63
62
  const localVarHeaderParameter = {} as any;
64
63
  const localVarQueryParameter = {} as any;
65
64
 
@@ -73,12 +72,9 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
73
72
 
74
73
 
75
74
 
76
- localVarHeaderParameter['Content-Type'] = 'application/json';
77
-
78
75
  setSearchParams(localVarUrlObj, localVarQueryParameter);
79
76
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80
77
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
81
- localVarRequestOptions.data = serializeDataIfNeeded(createBookingEntryRequestDto, localVarRequestOptions, configuration)
82
78
 
83
79
  return {
84
80
  url: toPathString(localVarUrlObj),
@@ -86,21 +82,21 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
86
82
  };
87
83
  },
88
84
  /**
89
- * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
90
- * @summary Retrieve the booking entry
91
- * @param {string} code
92
- * @param {string} expand
93
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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. **Required Permissions** \"gdv-management.operations.view\"
86
+ * @summary List zip codes
87
+ * @param {string} [authorization] Bearer Token
88
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
89
+ * @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.
90
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
91
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
92
+ * @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.
93
+ * @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.
94
+ * @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.
94
95
  * @param {*} [options] Override http request option.
95
96
  * @throws {RequiredError}
96
97
  */
97
- getBookingEntry: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
98
- // verify required parameter 'code' is not null or undefined
99
- assertParamExists('getBookingEntry', 'code', code)
100
- // verify required parameter 'expand' is not null or undefined
101
- assertParamExists('getBookingEntry', 'expand', expand)
102
- const localVarPath = `/accountingservice/v1/booking-entries/{code}`
103
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
98
+ listZipCodes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
99
+ const localVarPath = `/gdvservice/v1/zipcodes`;
104
100
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
101
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
106
102
  let baseOptions;
@@ -118,10 +114,34 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
118
114
  // http bearer authentication required
119
115
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
120
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
+
121
137
  if (expand !== undefined) {
122
138
  localVarQueryParameter['expand'] = expand;
123
139
  }
124
140
 
141
+ if (filters !== undefined) {
142
+ localVarQueryParameter['filters'] = filters;
143
+ }
144
+
125
145
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
126
146
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
127
147
  }
@@ -138,21 +158,14 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
138
158
  };
139
159
  },
140
160
  /**
141
- * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
142
- * @summary List booking entries
143
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
145
- * @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.
146
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
147
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
148
- * @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.
149
- * @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.
150
- * @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.
161
+ * Store zip codes from file. **Required Permissions** none
162
+ * @summary Create the zip codes
163
+ * @param {string} [authorization] Bearer Token
151
164
  * @param {*} [options] Override http request option.
152
165
  * @throws {RequiredError}
153
166
  */
154
- listBookingEntries: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
155
- const localVarPath = `/accountingservice/v1/booking-entries`;
167
+ storeZipCodes: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
168
+ const localVarPath = `/gdvservice/v1/zipcodes`;
156
169
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
157
170
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
158
171
  let baseOptions;
@@ -162,7 +175,7 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
162
175
  baseAccessToken = configuration.accessToken;
163
176
  }
164
177
 
165
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
178
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
166
179
  const localVarHeaderParameter = {} as any;
167
180
  const localVarQueryParameter = {} as any;
168
181
 
@@ -170,34 +183,6 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
170
183
  // http bearer authentication required
171
184
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
172
185
 
173
- if (pageSize !== undefined) {
174
- localVarQueryParameter['pageSize'] = pageSize;
175
- }
176
-
177
- if (pageToken !== undefined) {
178
- localVarQueryParameter['pageToken'] = pageToken;
179
- }
180
-
181
- if (filter !== undefined) {
182
- localVarQueryParameter['filter'] = filter;
183
- }
184
-
185
- if (search !== undefined) {
186
- localVarQueryParameter['search'] = search;
187
- }
188
-
189
- if (order !== undefined) {
190
- localVarQueryParameter['order'] = order;
191
- }
192
-
193
- if (expand !== undefined) {
194
- localVarQueryParameter['expand'] = expand;
195
- }
196
-
197
- if (filters !== undefined) {
198
- localVarQueryParameter['filters'] = filters;
199
- }
200
-
201
186
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
202
187
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
203
188
  }
@@ -217,41 +202,28 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
217
202
  };
218
203
 
219
204
  /**
220
- * BookingEntriesApi - functional programming interface
205
+ * ZipCodesApi - functional programming interface
221
206
  * @export
222
207
  */
223
- export const BookingEntriesApiFp = function(configuration?: Configuration) {
224
- const localVarAxiosParamCreator = BookingEntriesApiAxiosParamCreator(configuration)
208
+ export const ZipCodesApiFp = function(configuration?: Configuration) {
209
+ const localVarAxiosParamCreator = ZipCodesApiAxiosParamCreator(configuration)
225
210
  return {
226
211
  /**
227
- * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
228
- * @summary Create the booking entry
229
- * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
230
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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. **Required Permissions** \"gdv-management.operations.view\"
213
+ * @summary Retrieve the zip code
214
+ * @param {string} code Unique identifier for the object.
215
+ * @param {string} [authorization] Bearer Token
231
216
  * @param {*} [options] Override http request option.
232
217
  * @throws {RequiredError}
233
218
  */
234
- async createBookingEntry(createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingEntryResponseClass>> {
235
- const localVarAxiosArgs = await localVarAxiosParamCreator.createBookingEntry(createBookingEntryRequestDto, authorization, options);
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);
236
221
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
237
222
  },
238
223
  /**
239
- * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
240
- * @summary Retrieve the booking entry
241
- * @param {string} code
242
- * @param {string} expand
243
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
- * @param {*} [options] Override http request option.
245
- * @throws {RequiredError}
246
- */
247
- async getBookingEntry(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingEntryResponseClass>> {
248
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingEntry(code, expand, authorization, options);
249
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
250
- },
251
- /**
252
- * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
253
- * @summary List booking entries
254
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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. **Required Permissions** \"gdv-management.operations.view\"
225
+ * @summary List zip codes
226
+ * @param {string} [authorization] Bearer Token
255
227
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
256
228
  * @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.
257
229
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -262,47 +234,46 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
262
234
  * @param {*} [options] Override http request option.
263
235
  * @throws {RequiredError}
264
236
  */
265
- async listBookingEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBookingEntriesResponseClass>> {
266
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBookingEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
237
+ async listZipCodes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, 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. **Required Permissions** none
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);
267
250
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
268
251
  },
269
252
  }
270
253
  };
271
254
 
272
255
  /**
273
- * BookingEntriesApi - factory interface
256
+ * ZipCodesApi - factory interface
274
257
  * @export
275
258
  */
276
- export const BookingEntriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
277
- const localVarFp = BookingEntriesApiFp(configuration)
259
+ export const ZipCodesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
260
+ const localVarFp = ZipCodesApiFp(configuration)
278
261
  return {
279
262
  /**
280
- * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
281
- * @summary Create the booking entry
282
- * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
283
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
284
- * @param {*} [options] Override http request option.
285
- * @throws {RequiredError}
286
- */
287
- createBookingEntry(createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBookingEntryResponseClass> {
288
- return localVarFp.createBookingEntry(createBookingEntryRequestDto, authorization, options).then((request) => request(axios, basePath));
289
- },
290
- /**
291
- * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
292
- * @summary Retrieve the booking entry
293
- * @param {string} code
294
- * @param {string} expand
295
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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. **Required Permissions** \"gdv-management.operations.view\"
264
+ * @summary Retrieve the zip code
265
+ * @param {string} code Unique identifier for the object.
266
+ * @param {string} [authorization] Bearer Token
296
267
  * @param {*} [options] Override http request option.
297
268
  * @throws {RequiredError}
298
269
  */
299
- getBookingEntry(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetBookingEntryResponseClass> {
300
- return localVarFp.getBookingEntry(code, expand, authorization, options).then((request) => request(axios, basePath));
270
+ getZipCode(code: string, authorization?: string, options?: any): AxiosPromise<GetZipCodeResponseClass> {
271
+ return localVarFp.getZipCode(code, authorization, options).then((request) => request(axios, basePath));
301
272
  },
302
273
  /**
303
- * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
304
- * @summary List booking entries
305
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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. **Required Permissions** \"gdv-management.operations.view\"
275
+ * @summary List zip codes
276
+ * @param {string} [authorization] Bearer Token
306
277
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
307
278
  * @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.
308
279
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -313,164 +284,160 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
313
284
  * @param {*} [options] Override http request option.
314
285
  * @throws {RequiredError}
315
286
  */
316
- listBookingEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBookingEntriesResponseClass> {
317
- return localVarFp.listBookingEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
287
+ listZipCodes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, 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. **Required Permissions** none
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));
318
299
  },
319
300
  };
320
301
  };
321
302
 
322
303
  /**
323
- * Request parameters for createBookingEntry operation in BookingEntriesApi.
324
- * @export
325
- * @interface BookingEntriesApiCreateBookingEntryRequest
326
- */
327
- export interface BookingEntriesApiCreateBookingEntryRequest {
328
- /**
329
- *
330
- * @type {CreateBookingEntryRequestDto}
331
- * @memberof BookingEntriesApiCreateBookingEntry
332
- */
333
- readonly createBookingEntryRequestDto: CreateBookingEntryRequestDto
334
-
335
- /**
336
- * Bearer Token: provided by the login endpoint under the name accessToken.
337
- * @type {string}
338
- * @memberof BookingEntriesApiCreateBookingEntry
339
- */
340
- readonly authorization?: string
341
- }
342
-
343
- /**
344
- * Request parameters for getBookingEntry operation in BookingEntriesApi.
304
+ * Request parameters for getZipCode operation in ZipCodesApi.
345
305
  * @export
346
- * @interface BookingEntriesApiGetBookingEntryRequest
306
+ * @interface ZipCodesApiGetZipCodeRequest
347
307
  */
348
- export interface BookingEntriesApiGetBookingEntryRequest {
308
+ export interface ZipCodesApiGetZipCodeRequest {
349
309
  /**
350
- *
310
+ * Unique identifier for the object.
351
311
  * @type {string}
352
- * @memberof BookingEntriesApiGetBookingEntry
312
+ * @memberof ZipCodesApiGetZipCode
353
313
  */
354
314
  readonly code: string
355
315
 
356
316
  /**
357
- *
358
- * @type {string}
359
- * @memberof BookingEntriesApiGetBookingEntry
360
- */
361
- readonly expand: string
362
-
363
- /**
364
- * Bearer Token: provided by the login endpoint under the name accessToken.
317
+ * Bearer Token
365
318
  * @type {string}
366
- * @memberof BookingEntriesApiGetBookingEntry
319
+ * @memberof ZipCodesApiGetZipCode
367
320
  */
368
321
  readonly authorization?: string
369
322
  }
370
323
 
371
324
  /**
372
- * Request parameters for listBookingEntries operation in BookingEntriesApi.
325
+ * Request parameters for listZipCodes operation in ZipCodesApi.
373
326
  * @export
374
- * @interface BookingEntriesApiListBookingEntriesRequest
327
+ * @interface ZipCodesApiListZipCodesRequest
375
328
  */
376
- export interface BookingEntriesApiListBookingEntriesRequest {
329
+ export interface ZipCodesApiListZipCodesRequest {
377
330
  /**
378
- * Bearer Token: provided by the login endpoint under the name accessToken.
331
+ * Bearer Token
379
332
  * @type {string}
380
- * @memberof BookingEntriesApiListBookingEntries
333
+ * @memberof ZipCodesApiListZipCodes
381
334
  */
382
335
  readonly authorization?: string
383
336
 
384
337
  /**
385
338
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
386
339
  * @type {number}
387
- * @memberof BookingEntriesApiListBookingEntries
340
+ * @memberof ZipCodesApiListZipCodes
388
341
  */
389
342
  readonly pageSize?: number
390
343
 
391
344
  /**
392
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.
393
346
  * @type {string}
394
- * @memberof BookingEntriesApiListBookingEntries
347
+ * @memberof ZipCodesApiListZipCodes
395
348
  */
396
349
  readonly pageToken?: string
397
350
 
398
351
  /**
399
352
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
400
353
  * @type {string}
401
- * @memberof BookingEntriesApiListBookingEntries
354
+ * @memberof ZipCodesApiListZipCodes
402
355
  */
403
356
  readonly filter?: string
404
357
 
405
358
  /**
406
359
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
407
360
  * @type {string}
408
- * @memberof BookingEntriesApiListBookingEntries
361
+ * @memberof ZipCodesApiListZipCodes
409
362
  */
410
363
  readonly search?: string
411
364
 
412
365
  /**
413
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.
414
367
  * @type {string}
415
- * @memberof BookingEntriesApiListBookingEntries
368
+ * @memberof ZipCodesApiListZipCodes
416
369
  */
417
370
  readonly order?: string
418
371
 
419
372
  /**
420
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.
421
374
  * @type {string}
422
- * @memberof BookingEntriesApiListBookingEntries
375
+ * @memberof ZipCodesApiListZipCodes
423
376
  */
424
377
  readonly expand?: string
425
378
 
426
379
  /**
427
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.
428
381
  * @type {string}
429
- * @memberof BookingEntriesApiListBookingEntries
382
+ * @memberof ZipCodesApiListZipCodes
430
383
  */
431
384
  readonly filters?: string
432
385
  }
433
386
 
434
387
  /**
435
- * BookingEntriesApi - object-oriented interface
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
436
403
  * @export
437
- * @class BookingEntriesApi
404
+ * @class ZipCodesApi
438
405
  * @extends {BaseAPI}
439
406
  */
440
- export class BookingEntriesApi extends BaseAPI {
407
+ export class ZipCodesApi extends BaseAPI {
441
408
  /**
442
- * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
443
- * @summary Create the booking entry
444
- * @param {BookingEntriesApiCreateBookingEntryRequest} requestParameters Request parameters.
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. **Required Permissions** \"gdv-management.operations.view\"
410
+ * @summary Retrieve the zip code
411
+ * @param {ZipCodesApiGetZipCodeRequest} requestParameters Request parameters.
445
412
  * @param {*} [options] Override http request option.
446
413
  * @throws {RequiredError}
447
- * @memberof BookingEntriesApi
414
+ * @memberof ZipCodesApi
448
415
  */
449
- public createBookingEntry(requestParameters: BookingEntriesApiCreateBookingEntryRequest, options?: AxiosRequestConfig) {
450
- return BookingEntriesApiFp(this.configuration).createBookingEntry(requestParameters.createBookingEntryRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
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));
451
418
  }
452
419
 
453
420
  /**
454
- * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
455
- * @summary Retrieve the booking entry
456
- * @param {BookingEntriesApiGetBookingEntryRequest} requestParameters Request parameters.
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. **Required Permissions** \"gdv-management.operations.view\"
422
+ * @summary List zip codes
423
+ * @param {ZipCodesApiListZipCodesRequest} requestParameters Request parameters.
457
424
  * @param {*} [options] Override http request option.
458
425
  * @throws {RequiredError}
459
- * @memberof BookingEntriesApi
426
+ * @memberof ZipCodesApi
460
427
  */
461
- public getBookingEntry(requestParameters: BookingEntriesApiGetBookingEntryRequest, options?: AxiosRequestConfig) {
462
- return BookingEntriesApiFp(this.configuration).getBookingEntry(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
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));
463
430
  }
464
431
 
465
432
  /**
466
- * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
467
- * @summary List booking entries
468
- * @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
433
+ * Store zip codes from file. **Required Permissions** none
434
+ * @summary Create the zip codes
435
+ * @param {ZipCodesApiStoreZipCodesRequest} requestParameters Request parameters.
469
436
  * @param {*} [options] Override http request option.
470
437
  * @throws {RequiredError}
471
- * @memberof BookingEntriesApi
438
+ * @memberof ZipCodesApi
472
439
  */
473
- public listBookingEntries(requestParameters: BookingEntriesApiListBookingEntriesRequest = {}, options?: AxiosRequestConfig) {
474
- return BookingEntriesApiFp(this.configuration).listBookingEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
440
+ public storeZipCodes(requestParameters: ZipCodesApiStoreZipCodesRequest = {}, options?: AxiosRequestConfig) {
441
+ return ZipCodesApiFp(this.configuration).storeZipCodes(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
475
442
  }
476
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,18 +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 { BookingEntriesApi } from './api';
28
- import { FinancialAccountsApi } from './api';
29
- import { FinancialTransactionsApi } from './api';
30
27
  import { HealthApi } from './api';
31
- import { NumberRangesApi } from './api';
32
- import { PersonalAccountsApi } 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';
33
34
 
34
35
 
35
- export * from './api/booking-entries-api';
36
- export * from './api/financial-accounts-api';
37
- export * from './api/financial-transactions-api';
38
36
  export * from './api/health-api';
39
- export * from './api/number-ranges-api';
40
- export * from './api/personal-accounts-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';
41
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