@emilgroup/accounting-sdk-node 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/.openapi-generator/FILES +52 -15
  2. package/README.md +2 -2
  3. package/api/health-api.ts +7 -7
  4. package/api/mailbox-api.ts +255 -0
  5. package/api/messages-api.ts +1100 -0
  6. package/api/users-api.ts +496 -0
  7. package/api/vbas-api.ts +592 -0
  8. package/api/vbus-api.ts +701 -0
  9. package/api/zip-codes-api.ts +443 -0
  10. package/api.ts +14 -6
  11. package/base.ts +2 -2
  12. package/common.ts +4 -4
  13. package/configuration.ts +2 -2
  14. package/dist/api/health-api.d.ts +6 -6
  15. package/dist/api/health-api.js +7 -7
  16. package/dist/api/mailbox-api.d.ts +142 -0
  17. package/dist/api/mailbox-api.js +315 -0
  18. package/dist/api/messages-api.d.ts +632 -0
  19. package/dist/api/messages-api.js +916 -0
  20. package/dist/api/users-api.d.ts +275 -0
  21. package/dist/api/users-api.js +512 -0
  22. package/dist/api/vbas-api.d.ts +337 -0
  23. package/dist/api/{financial-accounts-api.js → vbas-api.js} +161 -156
  24. package/dist/api/vbus-api.d.ts +395 -0
  25. package/dist/api/vbus-api.js +647 -0
  26. package/dist/api/zip-codes-api.d.ts +253 -0
  27. package/dist/api/{booking-processes-api.js → zip-codes-api.js} +166 -80
  28. package/dist/api.d.ts +8 -4
  29. package/dist/api.js +8 -4
  30. package/dist/base.d.ts +2 -2
  31. package/dist/base.js +2 -2
  32. package/dist/common.d.ts +4 -4
  33. package/dist/common.js +2 -2
  34. package/dist/configuration.d.ts +2 -2
  35. package/dist/configuration.js +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +2 -2
  38. package/dist/models/address-class.d.ts +48 -0
  39. package/dist/models/{get-financial-account-response-class.js → address-class.js} +2 -2
  40. package/dist/models/create-mailbox-request-dto.d.ts +36 -0
  41. package/dist/models/{create-booking-process-response-class.js → create-mailbox-request-dto.js} +2 -2
  42. package/dist/models/create-user-request-dto.d.ts +76 -0
  43. package/dist/models/{financial-account-class.js → create-user-request-dto.js} +10 -9
  44. package/dist/models/create-user-response-class.d.ts +25 -0
  45. package/dist/models/{financial-transaction-class.js → create-user-response-class.js} +2 -2
  46. package/dist/models/create-vba-request-dto.d.ts +41 -0
  47. package/dist/models/create-vba-request-dto.js +20 -0
  48. package/dist/models/create-vba-response-class.d.ts +24 -0
  49. package/dist/models/{create-financial-account-response-class.js → create-vba-response-class.js} +2 -2
  50. package/dist/models/create-vbu-request-dto.d.ts +41 -0
  51. package/dist/models/create-vbu-request-dto.js +20 -0
  52. package/dist/models/create-vbu-response-class.d.ts +24 -0
  53. package/dist/models/create-vbu-response-class.js +15 -0
  54. package/dist/models/create-vbuv-request-dto.d.ts +41 -0
  55. package/dist/models/create-vbuv-request-dto.js +20 -0
  56. package/dist/models/create-vbuv-response-class.d.ts +24 -0
  57. package/dist/models/create-vbuv-response-class.js +15 -0
  58. package/dist/models/get-request-message-response-class.d.ts +25 -0
  59. package/dist/models/get-request-message-response-class.js +15 -0
  60. package/dist/models/get-response-message-response-class.d.ts +25 -0
  61. package/dist/models/get-response-message-response-class.js +15 -0
  62. package/dist/models/get-user-response-class.d.ts +25 -0
  63. package/dist/models/get-user-response-class.js +15 -0
  64. package/dist/models/get-vba-response-class.d.ts +25 -0
  65. package/dist/models/get-vba-response-class.js +15 -0
  66. package/dist/models/get-vbu-response-class.d.ts +25 -0
  67. package/dist/models/get-vbu-response-class.js +15 -0
  68. package/dist/models/get-zip-code-response-class.d.ts +25 -0
  69. package/dist/models/get-zip-code-response-class.js +15 -0
  70. package/dist/models/index.d.ts +46 -13
  71. package/dist/models/index.js +46 -13
  72. package/dist/models/inline-response200.d.ts +2 -2
  73. package/dist/models/inline-response200.js +2 -2
  74. package/dist/models/inline-response503.d.ts +2 -2
  75. package/dist/models/inline-response503.js +2 -2
  76. package/dist/models/list-all-messages-response-class.d.ts +31 -0
  77. package/dist/models/list-all-messages-response-class.js +15 -0
  78. package/dist/models/list-requests-messages-response-class.d.ts +31 -0
  79. package/dist/models/list-requests-messages-response-class.js +15 -0
  80. package/dist/models/list-responses-messages-response-class.d.ts +31 -0
  81. package/dist/models/list-responses-messages-response-class.js +15 -0
  82. package/dist/models/list-users-response-class.d.ts +31 -0
  83. package/dist/models/list-users-response-class.js +15 -0
  84. package/dist/models/list-vbas-response-class.d.ts +31 -0
  85. package/dist/models/list-vbas-response-class.js +15 -0
  86. package/dist/models/list-vbus-response-class.d.ts +31 -0
  87. package/dist/models/list-vbus-response-class.js +15 -0
  88. package/dist/models/list-zip-codes-response-class.d.ts +31 -0
  89. package/dist/models/list-zip-codes-response-class.js +15 -0
  90. package/dist/models/message-class.d.ts +84 -0
  91. package/dist/models/message-class.js +15 -0
  92. package/dist/models/request-details-class.d.ts +48 -0
  93. package/dist/models/request-details-class.js +15 -0
  94. package/dist/models/request-message-class.d.ts +121 -0
  95. package/dist/models/request-message-class.js +15 -0
  96. package/dist/models/response-details-class.d.ts +42 -0
  97. package/dist/models/response-details-class.js +15 -0
  98. package/dist/models/response-message-class.d.ts +133 -0
  99. package/dist/models/response-message-class.js +15 -0
  100. package/dist/models/store-zip-codes-request-dto.d.ts +25 -0
  101. package/dist/models/store-zip-codes-request-dto.js +15 -0
  102. package/dist/models/store-zip-codes-response-class.d.ts +25 -0
  103. package/dist/models/store-zip-codes-response-class.js +15 -0
  104. package/dist/models/update-request-message-request-dto.d.ts +36 -0
  105. package/dist/models/update-request-message-request-dto.js +15 -0
  106. package/dist/models/update-request-message-response-class.d.ts +25 -0
  107. package/dist/models/update-request-message-response-class.js +15 -0
  108. package/dist/models/update-response-message-request-dto.d.ts +36 -0
  109. package/dist/models/update-response-message-request-dto.js +15 -0
  110. package/dist/models/update-response-message-response-class.d.ts +25 -0
  111. package/dist/models/update-response-message-response-class.js +15 -0
  112. package/dist/models/update-user-request-dto.d.ts +82 -0
  113. package/dist/models/{financial-transaction-data-dto.js → update-user-request-dto.js} +10 -6
  114. package/dist/models/update-user-response-class.d.ts +25 -0
  115. package/dist/models/update-user-response-class.js +15 -0
  116. package/dist/models/update-vba-request-dto.d.ts +30 -0
  117. package/dist/models/update-vba-request-dto.js +15 -0
  118. package/dist/models/update-vbu-request-dto.d.ts +30 -0
  119. package/dist/models/update-vbu-request-dto.js +15 -0
  120. package/dist/models/update-vbu-response-class.d.ts +25 -0
  121. package/dist/models/update-vbu-response-class.js +15 -0
  122. package/dist/models/user-class.d.ts +107 -0
  123. package/dist/models/user-class.js +20 -0
  124. package/dist/models/vba-class.d.ts +116 -0
  125. package/dist/models/vba-class.js +15 -0
  126. package/dist/models/vba-response-class.d.ts +48 -0
  127. package/dist/models/vba-response-class.js +15 -0
  128. package/dist/models/vbu-class.d.ts +115 -0
  129. package/dist/models/vbu-class.js +15 -0
  130. package/dist/models/vbu-response-class.d.ts +48 -0
  131. package/dist/models/vbu-response-class.js +15 -0
  132. package/dist/models/xlsx-zip-code-dto.d.ts +30 -0
  133. package/dist/models/xlsx-zip-code-dto.js +15 -0
  134. package/dist/models/zip-code-class.d.ts +60 -0
  135. package/dist/models/zip-code-class.js +15 -0
  136. package/index.ts +2 -2
  137. package/models/address-class.ts +54 -0
  138. package/models/create-mailbox-request-dto.ts +42 -0
  139. package/models/create-user-request-dto.ts +86 -0
  140. package/models/create-user-response-class.ts +31 -0
  141. package/models/create-vba-request-dto.ts +50 -0
  142. package/models/create-vba-response-class.ts +30 -0
  143. package/models/create-vbu-request-dto.ts +50 -0
  144. package/models/create-vbu-response-class.ts +30 -0
  145. package/models/create-vbuv-request-dto.ts +50 -0
  146. package/models/create-vbuv-response-class.ts +30 -0
  147. package/models/get-request-message-response-class.ts +31 -0
  148. package/models/get-response-message-response-class.ts +31 -0
  149. package/models/get-user-response-class.ts +31 -0
  150. package/models/get-vba-response-class.ts +31 -0
  151. package/models/get-vbu-response-class.ts +31 -0
  152. package/models/get-zip-code-response-class.ts +31 -0
  153. package/models/index.ts +46 -13
  154. package/models/inline-response200.ts +2 -2
  155. package/models/inline-response503.ts +2 -2
  156. package/models/list-all-messages-response-class.ts +37 -0
  157. package/models/list-requests-messages-response-class.ts +37 -0
  158. package/models/list-responses-messages-response-class.ts +37 -0
  159. package/models/list-users-response-class.ts +37 -0
  160. package/models/list-vbas-response-class.ts +37 -0
  161. package/models/list-vbus-response-class.ts +37 -0
  162. package/models/list-zip-codes-response-class.ts +37 -0
  163. package/models/message-class.ts +90 -0
  164. package/models/request-details-class.ts +54 -0
  165. package/models/request-message-class.ts +127 -0
  166. package/models/response-details-class.ts +48 -0
  167. package/models/response-message-class.ts +139 -0
  168. package/models/store-zip-codes-request-dto.ts +31 -0
  169. package/models/store-zip-codes-response-class.ts +31 -0
  170. package/models/update-request-message-request-dto.ts +42 -0
  171. package/models/update-request-message-response-class.ts +31 -0
  172. package/models/update-response-message-request-dto.ts +42 -0
  173. package/models/update-response-message-response-class.ts +31 -0
  174. package/models/update-user-request-dto.ts +92 -0
  175. package/models/update-user-response-class.ts +31 -0
  176. package/models/update-vba-request-dto.ts +36 -0
  177. package/models/update-vbu-request-dto.ts +36 -0
  178. package/models/update-vbu-response-class.ts +31 -0
  179. package/models/user-class.ts +116 -0
  180. package/models/vba-class.ts +122 -0
  181. package/models/vba-response-class.ts +54 -0
  182. package/models/vbu-class.ts +121 -0
  183. package/models/vbu-response-class.ts +54 -0
  184. package/models/xlsx-zip-code-dto.ts +36 -0
  185. package/models/zip-code-class.ts +66 -0
  186. package/package.json +1 -1
  187. package/api/booking-processes-api.ts +0 -357
  188. package/api/financial-accounts-api.ts +0 -577
  189. package/dist/api/booking-processes-api.d.ts +0 -207
  190. package/dist/api/financial-accounts-api.d.ts +0 -327
  191. package/dist/models/booking-entry-class.d.ts +0 -123
  192. package/dist/models/booking-entry-class.js +0 -34
  193. package/dist/models/booking-process-class.d.ts +0 -94
  194. package/dist/models/booking-process-class.js +0 -29
  195. package/dist/models/create-booking-entry-request-dto.d.ts +0 -99
  196. package/dist/models/create-booking-entry-request-dto.js +0 -34
  197. package/dist/models/create-booking-process-request-dto.d.ts +0 -64
  198. package/dist/models/create-booking-process-request-dto.js +0 -29
  199. package/dist/models/create-booking-process-response-class.d.ts +0 -25
  200. package/dist/models/create-financial-account-request-dto.d.ts +0 -62
  201. package/dist/models/create-financial-account-request-dto.js +0 -23
  202. package/dist/models/create-financial-account-response-class.d.ts +0 -25
  203. package/dist/models/financial-account-class.d.ts +0 -98
  204. package/dist/models/financial-transaction-class.d.ts +0 -108
  205. package/dist/models/financial-transaction-data-dto.d.ts +0 -71
  206. package/dist/models/get-financial-account-response-class.d.ts +0 -25
  207. package/dist/models/list-booking-process-response-class.d.ts +0 -31
  208. package/dist/models/list-booking-process-response-class.js +0 -15
  209. package/dist/models/list-financial-accounts-response-class.d.ts +0 -31
  210. package/dist/models/list-financial-accounts-response-class.js +0 -15
  211. package/models/booking-entry-class.ts +0 -133
  212. package/models/booking-process-class.ts +0 -104
  213. package/models/create-booking-entry-request-dto.ts +0 -109
  214. package/models/create-booking-process-request-dto.ts +0 -74
  215. package/models/create-booking-process-response-class.ts +0 -31
  216. package/models/create-financial-account-request-dto.ts +0 -71
  217. package/models/create-financial-account-response-class.ts +0 -31
  218. package/models/financial-account-class.ts +0 -107
  219. package/models/financial-transaction-class.ts +0 -114
  220. package/models/financial-transaction-data-dto.ts +0 -80
  221. package/models/get-financial-account-response-class.ts +0 -31
  222. package/models/list-booking-process-response-class.ts +0 -37
  223. package/models/list-financial-accounts-response-class.ts +0 -37
@@ -0,0 +1,701 @@
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 { CreateVbuRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreateVbuResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { CreateVbuvRequestDto } from '../models';
29
+ // @ts-ignore
30
+ import { CreateVbuvResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { GetVbuResponseClass } from '../models';
33
+ // @ts-ignore
34
+ import { ListVbusResponseClass } from '../models';
35
+ // @ts-ignore
36
+ import { UpdateVbuRequestDto } from '../models';
37
+ // @ts-ignore
38
+ import { UpdateVbuResponseClass } from '../models';
39
+ // URLSearchParams not necessarily used
40
+ // @ts-ignore
41
+ import { URL, URLSearchParams } from 'url';
42
+ const FormData = require('form-data');
43
+ /**
44
+ * VbusApi - axios parameter creator
45
+ * @export
46
+ */
47
+ export const VbusApiAxiosParamCreator = function (configuration?: Configuration) {
48
+ return {
49
+ /**
50
+ * This endpoint will create a vbu message. The call is asynchronous and will return a code to retrieve the vbu when it is ready.
51
+ * @summary Create the vbu
52
+ * @param {CreateVbuRequestDto} createVbuRequestDto
53
+ * @param {string} [authorization] Bearer Token
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ createVbu: async (createVbuRequestDto: CreateVbuRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
58
+ // verify required parameter 'createVbuRequestDto' is not null or undefined
59
+ assertParamExists('createVbu', 'createVbuRequestDto', createVbuRequestDto)
60
+ const localVarPath = `/gdvservice/v1/vbus/create-vbu`;
61
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63
+ let baseOptions;
64
+ let baseAccessToken;
65
+ if (configuration) {
66
+ baseOptions = configuration.baseOptions;
67
+ baseAccessToken = configuration.accessToken;
68
+ }
69
+
70
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
71
+ const localVarHeaderParameter = {} as any;
72
+ const localVarQueryParameter = {} as any;
73
+
74
+ // authentication bearer required
75
+ // http bearer authentication required
76
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
77
+
78
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
79
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
80
+ }
81
+
82
+
83
+
84
+ localVarHeaderParameter['Content-Type'] = 'application/json';
85
+
86
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
89
+ localVarRequestOptions.data = serializeDataIfNeeded(createVbuRequestDto, localVarRequestOptions, configuration)
90
+
91
+ return {
92
+ url: toPathString(localVarUrlObj),
93
+ options: localVarRequestOptions,
94
+ };
95
+ },
96
+ /**
97
+ * This endpoint will create a vbuv message. The call is asynchronous and will return a code to retrieve the vbu when it is ready.
98
+ * @summary Create the vbu
99
+ * @param {CreateVbuvRequestDto} createVbuvRequestDto
100
+ * @param {string} [authorization] Bearer Token
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ createVbuv: async (createVbuvRequestDto: CreateVbuvRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
105
+ // verify required parameter 'createVbuvRequestDto' is not null or undefined
106
+ assertParamExists('createVbuv', 'createVbuvRequestDto', createVbuvRequestDto)
107
+ const localVarPath = `/gdvservice/v1/vbus/create-vbuv`;
108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
110
+ let baseOptions;
111
+ let baseAccessToken;
112
+ if (configuration) {
113
+ baseOptions = configuration.baseOptions;
114
+ baseAccessToken = configuration.accessToken;
115
+ }
116
+
117
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
118
+ const localVarHeaderParameter = {} as any;
119
+ const localVarQueryParameter = {} as any;
120
+
121
+ // authentication bearer required
122
+ // http bearer authentication required
123
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
124
+
125
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
126
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
127
+ }
128
+
129
+
130
+
131
+ localVarHeaderParameter['Content-Type'] = 'application/json';
132
+
133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
135
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
136
+ localVarRequestOptions.data = serializeDataIfNeeded(createVbuvRequestDto, localVarRequestOptions, configuration)
137
+
138
+ return {
139
+ url: toPathString(localVarUrlObj),
140
+ options: localVarRequestOptions,
141
+ };
142
+ },
143
+ /**
144
+ * Retrieves the details of the vbu that was previously created. Supply the unique vbu code that was returned when you created it and Emil Api will return the corresponding vbu information.
145
+ * @summary Retrieve the vbu
146
+ * @param {string} code Unique identifier for the object.
147
+ * @param {string} [authorization] Bearer Token
148
+ * @param {'responses'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ getVbu: async (code: string, authorization?: string, expand?: 'responses', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
153
+ // verify required parameter 'code' is not null or undefined
154
+ assertParamExists('getVbu', 'code', code)
155
+ const localVarPath = `/gdvservice/v1/vbus/{code}`
156
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
157
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
158
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
159
+ let baseOptions;
160
+ let baseAccessToken;
161
+ if (configuration) {
162
+ baseOptions = configuration.baseOptions;
163
+ baseAccessToken = configuration.accessToken;
164
+ }
165
+
166
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
167
+ const localVarHeaderParameter = {} as any;
168
+ const localVarQueryParameter = {} as any;
169
+
170
+ // authentication bearer required
171
+ // http bearer authentication required
172
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
173
+
174
+ if (expand !== undefined) {
175
+ localVarQueryParameter['expand'] = expand;
176
+ }
177
+
178
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
180
+ }
181
+
182
+
183
+
184
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
185
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
186
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
187
+
188
+ return {
189
+ url: toPathString(localVarUrlObj),
190
+ options: localVarRequestOptions,
191
+ };
192
+ },
193
+ /**
194
+ * Returns a list of vbus you have previously created. The vbus are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
195
+ * @summary List vbus
196
+ * @param {string} [authorization] Bearer Token
197
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
198
+ * @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.
199
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadNumber, policyNumber, leadCode, policyCode, customerName&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
200
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
201
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, transmissionStart, createdAt, updatedAt&lt;/i&gt;
202
+ * @param {any} [expand] No expanding supported
203
+ * @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.
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ listVbus: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
208
+ const localVarPath = `/gdvservice/v1/vbus`;
209
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
210
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
211
+ let baseOptions;
212
+ let baseAccessToken;
213
+ if (configuration) {
214
+ baseOptions = configuration.baseOptions;
215
+ baseAccessToken = configuration.accessToken;
216
+ }
217
+
218
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
219
+ const localVarHeaderParameter = {} as any;
220
+ const localVarQueryParameter = {} as any;
221
+
222
+ // authentication bearer required
223
+ // http bearer authentication required
224
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
225
+
226
+ if (pageSize !== undefined) {
227
+ localVarQueryParameter['pageSize'] = pageSize;
228
+ }
229
+
230
+ if (pageToken !== undefined) {
231
+ localVarQueryParameter['pageToken'] = pageToken;
232
+ }
233
+
234
+ if (filter !== undefined) {
235
+ localVarQueryParameter['filter'] = filter;
236
+ }
237
+
238
+ if (search !== undefined) {
239
+ localVarQueryParameter['search'] = search;
240
+ }
241
+
242
+ if (order !== undefined) {
243
+ localVarQueryParameter['order'] = order;
244
+ }
245
+
246
+ if (expand !== undefined) {
247
+ localVarQueryParameter['expand'] = expand;
248
+ }
249
+
250
+ if (filters !== undefined) {
251
+ localVarQueryParameter['filters'] = filters;
252
+ }
253
+
254
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
255
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
256
+ }
257
+
258
+
259
+
260
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
261
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
262
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
263
+
264
+ return {
265
+ url: toPathString(localVarUrlObj),
266
+ options: localVarRequestOptions,
267
+ };
268
+ },
269
+ /**
270
+ * Updates the specified vbu by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
271
+ * @summary Update the vbu
272
+ * @param {string} code Unique identifier for the object.
273
+ * @param {UpdateVbuRequestDto} updateVbuRequestDto
274
+ * @param {string} [authorization] Bearer Token
275
+ * @param {*} [options] Override http request option.
276
+ * @throws {RequiredError}
277
+ */
278
+ updateVbu: async (code: string, updateVbuRequestDto: UpdateVbuRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
279
+ // verify required parameter 'code' is not null or undefined
280
+ assertParamExists('updateVbu', 'code', code)
281
+ // verify required parameter 'updateVbuRequestDto' is not null or undefined
282
+ assertParamExists('updateVbu', 'updateVbuRequestDto', updateVbuRequestDto)
283
+ const localVarPath = `/gdvservice/v1/vbus/{code}`
284
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
285
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
287
+ let baseOptions;
288
+ let baseAccessToken;
289
+ if (configuration) {
290
+ baseOptions = configuration.baseOptions;
291
+ baseAccessToken = configuration.accessToken;
292
+ }
293
+
294
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
295
+ const localVarHeaderParameter = {} as any;
296
+ const localVarQueryParameter = {} as any;
297
+
298
+ // authentication bearer required
299
+ // http bearer authentication required
300
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
301
+
302
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
303
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
304
+ }
305
+
306
+
307
+
308
+ localVarHeaderParameter['Content-Type'] = 'application/json';
309
+
310
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
312
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
313
+ localVarRequestOptions.data = serializeDataIfNeeded(updateVbuRequestDto, localVarRequestOptions, configuration)
314
+
315
+ return {
316
+ url: toPathString(localVarUrlObj),
317
+ options: localVarRequestOptions,
318
+ };
319
+ },
320
+ }
321
+ };
322
+
323
+ /**
324
+ * VbusApi - functional programming interface
325
+ * @export
326
+ */
327
+ export const VbusApiFp = function(configuration?: Configuration) {
328
+ const localVarAxiosParamCreator = VbusApiAxiosParamCreator(configuration)
329
+ return {
330
+ /**
331
+ * This endpoint will create a vbu message. The call is asynchronous and will return a code to retrieve the vbu when it is ready.
332
+ * @summary Create the vbu
333
+ * @param {CreateVbuRequestDto} createVbuRequestDto
334
+ * @param {string} [authorization] Bearer Token
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ async createVbu(createVbuRequestDto: CreateVbuRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateVbuResponseClass>> {
339
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createVbu(createVbuRequestDto, authorization, options);
340
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
341
+ },
342
+ /**
343
+ * This endpoint will create a vbuv message. The call is asynchronous and will return a code to retrieve the vbu when it is ready.
344
+ * @summary Create the vbu
345
+ * @param {CreateVbuvRequestDto} createVbuvRequestDto
346
+ * @param {string} [authorization] Bearer Token
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ async createVbuv(createVbuvRequestDto: CreateVbuvRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateVbuvResponseClass>> {
351
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createVbuv(createVbuvRequestDto, authorization, options);
352
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
353
+ },
354
+ /**
355
+ * Retrieves the details of the vbu that was previously created. Supply the unique vbu code that was returned when you created it and Emil Api will return the corresponding vbu information.
356
+ * @summary Retrieve the vbu
357
+ * @param {string} code Unique identifier for the object.
358
+ * @param {string} [authorization] Bearer Token
359
+ * @param {'responses'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
360
+ * @param {*} [options] Override http request option.
361
+ * @throws {RequiredError}
362
+ */
363
+ async getVbu(code: string, authorization?: string, expand?: 'responses', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetVbuResponseClass>> {
364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVbu(code, authorization, expand, options);
365
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
366
+ },
367
+ /**
368
+ * Returns a list of vbus you have previously created. The vbus are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
369
+ * @summary List vbus
370
+ * @param {string} [authorization] Bearer Token
371
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
372
+ * @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.
373
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadNumber, policyNumber, leadCode, policyCode, customerName&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
374
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
375
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, transmissionStart, createdAt, updatedAt&lt;/i&gt;
376
+ * @param {any} [expand] No expanding supported
377
+ * @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.
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ async listVbus(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListVbusResponseClass>> {
382
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listVbus(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
383
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
384
+ },
385
+ /**
386
+ * Updates the specified vbu by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
387
+ * @summary Update the vbu
388
+ * @param {string} code Unique identifier for the object.
389
+ * @param {UpdateVbuRequestDto} updateVbuRequestDto
390
+ * @param {string} [authorization] Bearer Token
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ */
394
+ async updateVbu(code: string, updateVbuRequestDto: UpdateVbuRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateVbuResponseClass>> {
395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateVbu(code, updateVbuRequestDto, authorization, options);
396
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
397
+ },
398
+ }
399
+ };
400
+
401
+ /**
402
+ * VbusApi - factory interface
403
+ * @export
404
+ */
405
+ export const VbusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
406
+ const localVarFp = VbusApiFp(configuration)
407
+ return {
408
+ /**
409
+ * This endpoint will create a vbu message. The call is asynchronous and will return a code to retrieve the vbu when it is ready.
410
+ * @summary Create the vbu
411
+ * @param {CreateVbuRequestDto} createVbuRequestDto
412
+ * @param {string} [authorization] Bearer Token
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ createVbu(createVbuRequestDto: CreateVbuRequestDto, authorization?: string, options?: any): AxiosPromise<CreateVbuResponseClass> {
417
+ return localVarFp.createVbu(createVbuRequestDto, authorization, options).then((request) => request(axios, basePath));
418
+ },
419
+ /**
420
+ * This endpoint will create a vbuv message. The call is asynchronous and will return a code to retrieve the vbu when it is ready.
421
+ * @summary Create the vbu
422
+ * @param {CreateVbuvRequestDto} createVbuvRequestDto
423
+ * @param {string} [authorization] Bearer Token
424
+ * @param {*} [options] Override http request option.
425
+ * @throws {RequiredError}
426
+ */
427
+ createVbuv(createVbuvRequestDto: CreateVbuvRequestDto, authorization?: string, options?: any): AxiosPromise<CreateVbuvResponseClass> {
428
+ return localVarFp.createVbuv(createVbuvRequestDto, authorization, options).then((request) => request(axios, basePath));
429
+ },
430
+ /**
431
+ * Retrieves the details of the vbu that was previously created. Supply the unique vbu code that was returned when you created it and Emil Api will return the corresponding vbu information.
432
+ * @summary Retrieve the vbu
433
+ * @param {string} code Unique identifier for the object.
434
+ * @param {string} [authorization] Bearer Token
435
+ * @param {'responses'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ */
439
+ getVbu(code: string, authorization?: string, expand?: 'responses', options?: any): AxiosPromise<GetVbuResponseClass> {
440
+ return localVarFp.getVbu(code, authorization, expand, options).then((request) => request(axios, basePath));
441
+ },
442
+ /**
443
+ * Returns a list of vbus you have previously created. The vbus are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
444
+ * @summary List vbus
445
+ * @param {string} [authorization] Bearer Token
446
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
447
+ * @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.
448
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadNumber, policyNumber, leadCode, policyCode, customerName&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
449
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
450
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, transmissionStart, createdAt, updatedAt&lt;/i&gt;
451
+ * @param {any} [expand] No expanding supported
452
+ * @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.
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ listVbus(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListVbusResponseClass> {
457
+ return localVarFp.listVbus(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
458
+ },
459
+ /**
460
+ * Updates the specified vbu by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
461
+ * @summary Update the vbu
462
+ * @param {string} code Unique identifier for the object.
463
+ * @param {UpdateVbuRequestDto} updateVbuRequestDto
464
+ * @param {string} [authorization] Bearer Token
465
+ * @param {*} [options] Override http request option.
466
+ * @throws {RequiredError}
467
+ */
468
+ updateVbu(code: string, updateVbuRequestDto: UpdateVbuRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateVbuResponseClass> {
469
+ return localVarFp.updateVbu(code, updateVbuRequestDto, authorization, options).then((request) => request(axios, basePath));
470
+ },
471
+ };
472
+ };
473
+
474
+ /**
475
+ * Request parameters for createVbu operation in VbusApi.
476
+ * @export
477
+ * @interface VbusApiCreateVbuRequest
478
+ */
479
+ export interface VbusApiCreateVbuRequest {
480
+ /**
481
+ *
482
+ * @type {CreateVbuRequestDto}
483
+ * @memberof VbusApiCreateVbu
484
+ */
485
+ readonly createVbuRequestDto: CreateVbuRequestDto
486
+
487
+ /**
488
+ * Bearer Token
489
+ * @type {string}
490
+ * @memberof VbusApiCreateVbu
491
+ */
492
+ readonly authorization?: string
493
+ }
494
+
495
+ /**
496
+ * Request parameters for createVbuv operation in VbusApi.
497
+ * @export
498
+ * @interface VbusApiCreateVbuvRequest
499
+ */
500
+ export interface VbusApiCreateVbuvRequest {
501
+ /**
502
+ *
503
+ * @type {CreateVbuvRequestDto}
504
+ * @memberof VbusApiCreateVbuv
505
+ */
506
+ readonly createVbuvRequestDto: CreateVbuvRequestDto
507
+
508
+ /**
509
+ * Bearer Token
510
+ * @type {string}
511
+ * @memberof VbusApiCreateVbuv
512
+ */
513
+ readonly authorization?: string
514
+ }
515
+
516
+ /**
517
+ * Request parameters for getVbu operation in VbusApi.
518
+ * @export
519
+ * @interface VbusApiGetVbuRequest
520
+ */
521
+ export interface VbusApiGetVbuRequest {
522
+ /**
523
+ * Unique identifier for the object.
524
+ * @type {string}
525
+ * @memberof VbusApiGetVbu
526
+ */
527
+ readonly code: string
528
+
529
+ /**
530
+ * Bearer Token
531
+ * @type {string}
532
+ * @memberof VbusApiGetVbu
533
+ */
534
+ readonly authorization?: string
535
+
536
+ /**
537
+ * You can expand policy in this endpoint. By default, versions will be an empty array.
538
+ * @type {'responses'}
539
+ * @memberof VbusApiGetVbu
540
+ */
541
+ readonly expand?: 'responses'
542
+ }
543
+
544
+ /**
545
+ * Request parameters for listVbus operation in VbusApi.
546
+ * @export
547
+ * @interface VbusApiListVbusRequest
548
+ */
549
+ export interface VbusApiListVbusRequest {
550
+ /**
551
+ * Bearer Token
552
+ * @type {string}
553
+ * @memberof VbusApiListVbus
554
+ */
555
+ readonly authorization?: string
556
+
557
+ /**
558
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
559
+ * @type {any}
560
+ * @memberof VbusApiListVbus
561
+ */
562
+ readonly pageSize?: any
563
+
564
+ /**
565
+ * 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.
566
+ * @type {any}
567
+ * @memberof VbusApiListVbus
568
+ */
569
+ readonly pageToken?: any
570
+
571
+ /**
572
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadNumber, policyNumber, leadCode, policyCode, customerName&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
573
+ * @type {any}
574
+ * @memberof VbusApiListVbus
575
+ */
576
+ readonly filter?: any
577
+
578
+ /**
579
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
580
+ * @type {any}
581
+ * @memberof VbusApiListVbus
582
+ */
583
+ readonly search?: any
584
+
585
+ /**
586
+ * Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, transmissionStart, createdAt, updatedAt&lt;/i&gt;
587
+ * @type {any}
588
+ * @memberof VbusApiListVbus
589
+ */
590
+ readonly order?: any
591
+
592
+ /**
593
+ * No expanding supported
594
+ * @type {any}
595
+ * @memberof VbusApiListVbus
596
+ */
597
+ readonly expand?: any
598
+
599
+ /**
600
+ * 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.
601
+ * @type {any}
602
+ * @memberof VbusApiListVbus
603
+ */
604
+ readonly filters?: any
605
+ }
606
+
607
+ /**
608
+ * Request parameters for updateVbu operation in VbusApi.
609
+ * @export
610
+ * @interface VbusApiUpdateVbuRequest
611
+ */
612
+ export interface VbusApiUpdateVbuRequest {
613
+ /**
614
+ * Unique identifier for the object.
615
+ * @type {string}
616
+ * @memberof VbusApiUpdateVbu
617
+ */
618
+ readonly code: string
619
+
620
+ /**
621
+ *
622
+ * @type {UpdateVbuRequestDto}
623
+ * @memberof VbusApiUpdateVbu
624
+ */
625
+ readonly updateVbuRequestDto: UpdateVbuRequestDto
626
+
627
+ /**
628
+ * Bearer Token
629
+ * @type {string}
630
+ * @memberof VbusApiUpdateVbu
631
+ */
632
+ readonly authorization?: string
633
+ }
634
+
635
+ /**
636
+ * VbusApi - object-oriented interface
637
+ * @export
638
+ * @class VbusApi
639
+ * @extends {BaseAPI}
640
+ */
641
+ export class VbusApi extends BaseAPI {
642
+ /**
643
+ * This endpoint will create a vbu message. The call is asynchronous and will return a code to retrieve the vbu when it is ready.
644
+ * @summary Create the vbu
645
+ * @param {VbusApiCreateVbuRequest} requestParameters Request parameters.
646
+ * @param {*} [options] Override http request option.
647
+ * @throws {RequiredError}
648
+ * @memberof VbusApi
649
+ */
650
+ public createVbu(requestParameters: VbusApiCreateVbuRequest, options?: AxiosRequestConfig) {
651
+ return VbusApiFp(this.configuration).createVbu(requestParameters.createVbuRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
652
+ }
653
+
654
+ /**
655
+ * This endpoint will create a vbuv message. The call is asynchronous and will return a code to retrieve the vbu when it is ready.
656
+ * @summary Create the vbu
657
+ * @param {VbusApiCreateVbuvRequest} requestParameters Request parameters.
658
+ * @param {*} [options] Override http request option.
659
+ * @throws {RequiredError}
660
+ * @memberof VbusApi
661
+ */
662
+ public createVbuv(requestParameters: VbusApiCreateVbuvRequest, options?: AxiosRequestConfig) {
663
+ return VbusApiFp(this.configuration).createVbuv(requestParameters.createVbuvRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
664
+ }
665
+
666
+ /**
667
+ * Retrieves the details of the vbu that was previously created. Supply the unique vbu code that was returned when you created it and Emil Api will return the corresponding vbu information.
668
+ * @summary Retrieve the vbu
669
+ * @param {VbusApiGetVbuRequest} requestParameters Request parameters.
670
+ * @param {*} [options] Override http request option.
671
+ * @throws {RequiredError}
672
+ * @memberof VbusApi
673
+ */
674
+ public getVbu(requestParameters: VbusApiGetVbuRequest, options?: AxiosRequestConfig) {
675
+ return VbusApiFp(this.configuration).getVbu(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
676
+ }
677
+
678
+ /**
679
+ * Returns a list of vbus you have previously created. The vbus are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
680
+ * @summary List vbus
681
+ * @param {VbusApiListVbusRequest} requestParameters Request parameters.
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ * @memberof VbusApi
685
+ */
686
+ public listVbus(requestParameters: VbusApiListVbusRequest = {}, options?: AxiosRequestConfig) {
687
+ return VbusApiFp(this.configuration).listVbus(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
688
+ }
689
+
690
+ /**
691
+ * Updates the specified vbu by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
692
+ * @summary Update the vbu
693
+ * @param {VbusApiUpdateVbuRequest} requestParameters Request parameters.
694
+ * @param {*} [options] Override http request option.
695
+ * @throws {RequiredError}
696
+ * @memberof VbusApi
697
+ */
698
+ public updateVbu(requestParameters: VbusApiUpdateVbuRequest, options?: AxiosRequestConfig) {
699
+ return VbusApiFp(this.configuration).updateVbu(requestParameters.code, requestParameters.updateVbuRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
700
+ }
701
+ }