@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230519.1 → 1.20230616.1

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 (51) hide show
  1. package/.openapi-generator/FILES +27 -1
  2. package/api/claim-batch-logs-api.ts +668 -0
  3. package/api/claim-batch-references-api.ts +764 -0
  4. package/api/claim-batches-api.ts +17 -8
  5. package/api/error-category-api.ts +668 -0
  6. package/api/error-category-types-api.ts +725 -0
  7. package/api/error-severity-api.ts +668 -0
  8. package/api/error-type-api.ts +668 -0
  9. package/api/{fee-schedule-anesthesia-api.ts → fee-schedule-anesthesias-api.ts} +94 -133
  10. package/api/fee-schedule-details-api.ts +68 -107
  11. package/api/fee-schedule-modifier-discounts-api.ts +68 -107
  12. package/api/fee-schedule-modifier-excludes-api.ts +68 -107
  13. package/api/fee-schedule-procedure-group-adjustments-api.ts +68 -107
  14. package/api/fee-schedule-provider-type-discounts-api.ts +68 -107
  15. package/api/funding-request-claims-api.ts +8 -26
  16. package/api/member-account-plans-api.ts +10 -10
  17. package/api/payor-accounts-api.ts +105 -0
  18. package/api/user-api.ts +98 -0
  19. package/api.ts +7 -1
  20. package/models/claim-batch-log-list-vbaresponse.ts +45 -0
  21. package/models/claim-batch-log-vbaresponse.ts +45 -0
  22. package/models/claim-batch-log.ts +96 -0
  23. package/models/claim-batch-reference-list-vbaresponse.ts +45 -0
  24. package/models/claim-batch-reference-vbaresponse.ts +45 -0
  25. package/models/claim-batch-reference.ts +84 -0
  26. package/models/company-data.ts +24 -0
  27. package/models/error-category-list-vbaresponse.ts +45 -0
  28. package/models/error-category-type-list-vbaresponse.ts +45 -0
  29. package/models/error-category-type-vbaresponse.ts +45 -0
  30. package/models/error-category-type.ts +78 -0
  31. package/models/error-category-vbaresponse.ts +45 -0
  32. package/models/error-category.ts +60 -0
  33. package/models/error-severity-list-vbaresponse.ts +45 -0
  34. package/models/error-severity-vbaresponse.ts +45 -0
  35. package/models/error-severity.ts +60 -0
  36. package/models/error-type-list-vbaresponse.ts +45 -0
  37. package/models/error-type-vbaresponse.ts +45 -0
  38. package/models/error-type.ts +60 -0
  39. package/models/fee-sched-anesthesia.ts +25 -1
  40. package/models/fee-sched-detail.ts +28 -4
  41. package/models/fee-sched-modifier-discount.ts +27 -3
  42. package/models/fee-sched-modifier-exclude.ts +25 -1
  43. package/models/fee-sched-procedure-group-adjust.ts +30 -6
  44. package/models/fee-sched-provider-type-discount.ts +27 -3
  45. package/models/idcode-value.ts +25 -1
  46. package/models/index.ts +20 -0
  47. package/models/prem-payment-file-format.ts +14 -8
  48. package/models/sub-enrollment-plan.ts +6 -0
  49. package/models/vbafunding-account-claim-info-list-vbaresponse.ts +45 -0
  50. package/models/vbafunding-account-claim-info.ts +276 -0
  51. package/package.json +1 -1
@@ -0,0 +1,725 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * VBASoftware
5
+ * APIs for VBASoftware
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
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 { ErrorCategoryType } from '../models';
25
+ // @ts-ignore
26
+ import { ErrorCategoryTypeListVBAResponse } from '../models';
27
+ // @ts-ignore
28
+ import { ErrorCategoryTypeVBAResponse } from '../models';
29
+ // @ts-ignore
30
+ import { MultiCodeResponseListVBAResponse } from '../models';
31
+ /**
32
+ * ErrorCategoryTypesApi - axios parameter creator
33
+ * @export
34
+ */
35
+ export const ErrorCategoryTypesApiAxiosParamCreator = function (configuration?: Configuration) {
36
+ return {
37
+ /**
38
+ * Creates a new ErrorCategoryType
39
+ * @summary Create ErrorCategoryType
40
+ * @param {string} vbasoftwareDatabase Target database
41
+ * @param {ErrorCategoryType} errorCategoryType
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ createErrorCategoryType: async (vbasoftwareDatabase: string, errorCategoryType: ErrorCategoryType, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
47
+ assertParamExists('createErrorCategoryType', 'vbasoftwareDatabase', vbasoftwareDatabase)
48
+ // verify required parameter 'errorCategoryType' is not null or undefined
49
+ assertParamExists('createErrorCategoryType', 'errorCategoryType', errorCategoryType)
50
+ const localVarPath = `/error-category-types`;
51
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53
+ let baseOptions;
54
+ if (configuration) {
55
+ baseOptions = configuration.baseOptions;
56
+ }
57
+
58
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
59
+ const localVarHeaderParameter = {} as any;
60
+ const localVarQueryParameter = {} as any;
61
+
62
+ // authentication apiKeyAuth required
63
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
64
+
65
+ // authentication bearerAuth required
66
+ // http bearer authentication required
67
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
68
+
69
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
70
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
71
+ }
72
+
73
+
74
+
75
+ localVarHeaderParameter['Content-Type'] = 'application/json';
76
+
77
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
78
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
79
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80
+ localVarRequestOptions.data = serializeDataIfNeeded(errorCategoryType, localVarRequestOptions, configuration)
81
+
82
+ return {
83
+ url: toPathString(localVarUrlObj),
84
+ options: localVarRequestOptions,
85
+ };
86
+ },
87
+ /**
88
+ * Deletes an ErrorCategoryType
89
+ * @summary Delete ErrorCategoryType
90
+ * @param {string} vbasoftwareDatabase Target database
91
+ * @param {string} errorCategory Error Category
92
+ * @param {string} errorType Error Type
93
+ * @param {string} errorCode Error Code
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ deleteErrorCategoryType: async (vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
98
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
99
+ assertParamExists('deleteErrorCategoryType', 'vbasoftwareDatabase', vbasoftwareDatabase)
100
+ // verify required parameter 'errorCategory' is not null or undefined
101
+ assertParamExists('deleteErrorCategoryType', 'errorCategory', errorCategory)
102
+ // verify required parameter 'errorType' is not null or undefined
103
+ assertParamExists('deleteErrorCategoryType', 'errorType', errorType)
104
+ // verify required parameter 'errorCode' is not null or undefined
105
+ assertParamExists('deleteErrorCategoryType', 'errorCode', errorCode)
106
+ const localVarPath = `/error-category-types/{errorCategory}/{errorType}/{errorCode}`
107
+ .replace(`{${"errorCategory"}}`, encodeURIComponent(String(errorCategory)))
108
+ .replace(`{${"errorType"}}`, encodeURIComponent(String(errorType)))
109
+ .replace(`{${"errorCode"}}`, encodeURIComponent(String(errorCode)));
110
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
111
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
112
+ let baseOptions;
113
+ if (configuration) {
114
+ baseOptions = configuration.baseOptions;
115
+ }
116
+
117
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
118
+ const localVarHeaderParameter = {} as any;
119
+ const localVarQueryParameter = {} as any;
120
+
121
+ // authentication apiKeyAuth required
122
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
123
+
124
+ // authentication bearerAuth required
125
+ // http bearer authentication required
126
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
127
+
128
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
129
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
130
+ }
131
+
132
+
133
+
134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
137
+
138
+ return {
139
+ url: toPathString(localVarUrlObj),
140
+ options: localVarRequestOptions,
141
+ };
142
+ },
143
+ /**
144
+ * Gets ErrorCategoryType
145
+ * @summary Get ErrorCategoryType
146
+ * @param {string} vbasoftwareDatabase Target database
147
+ * @param {string} errorCategory Error Category
148
+ * @param {string} errorType Error Type
149
+ * @param {string} errorCode Error Code
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ getErrorCategoryType: async (vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
154
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
155
+ assertParamExists('getErrorCategoryType', 'vbasoftwareDatabase', vbasoftwareDatabase)
156
+ // verify required parameter 'errorCategory' is not null or undefined
157
+ assertParamExists('getErrorCategoryType', 'errorCategory', errorCategory)
158
+ // verify required parameter 'errorType' is not null or undefined
159
+ assertParamExists('getErrorCategoryType', 'errorType', errorType)
160
+ // verify required parameter 'errorCode' is not null or undefined
161
+ assertParamExists('getErrorCategoryType', 'errorCode', errorCode)
162
+ const localVarPath = `/error-category-types/{errorCategory}/{errorType}/{errorCode}`
163
+ .replace(`{${"errorCategory"}}`, encodeURIComponent(String(errorCategory)))
164
+ .replace(`{${"errorType"}}`, encodeURIComponent(String(errorType)))
165
+ .replace(`{${"errorCode"}}`, encodeURIComponent(String(errorCode)));
166
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
167
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
168
+ let baseOptions;
169
+ if (configuration) {
170
+ baseOptions = configuration.baseOptions;
171
+ }
172
+
173
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
174
+ const localVarHeaderParameter = {} as any;
175
+ const localVarQueryParameter = {} as any;
176
+
177
+ // authentication apiKeyAuth required
178
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
179
+
180
+ // authentication bearerAuth required
181
+ // http bearer authentication required
182
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
183
+
184
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
185
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
186
+ }
187
+
188
+
189
+
190
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
191
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
192
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
193
+
194
+ return {
195
+ url: toPathString(localVarUrlObj),
196
+ options: localVarRequestOptions,
197
+ };
198
+ },
199
+ /**
200
+ * Lists all ErrorCategoryType
201
+ * @summary List ErrorCategoryType
202
+ * @param {string} vbasoftwareDatabase Target database
203
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
204
+ * @param {number} [page] Page
205
+ * @param {number} [pageSize] Page Size
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ listErrorCategoryType: async (vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
210
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
211
+ assertParamExists('listErrorCategoryType', 'vbasoftwareDatabase', vbasoftwareDatabase)
212
+ const localVarPath = `/error-category-types`;
213
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
214
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
215
+ let baseOptions;
216
+ if (configuration) {
217
+ baseOptions = configuration.baseOptions;
218
+ }
219
+
220
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
221
+ const localVarHeaderParameter = {} as any;
222
+ const localVarQueryParameter = {} as any;
223
+
224
+ // authentication apiKeyAuth required
225
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
226
+
227
+ // authentication bearerAuth required
228
+ // http bearer authentication required
229
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
230
+
231
+ if (sortBy !== undefined) {
232
+ localVarQueryParameter['sortBy'] = sortBy;
233
+ }
234
+
235
+ if (page !== undefined) {
236
+ localVarQueryParameter['page'] = page;
237
+ }
238
+
239
+ if (pageSize !== undefined) {
240
+ localVarQueryParameter['pageSize'] = pageSize;
241
+ }
242
+
243
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
244
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
245
+ }
246
+
247
+
248
+
249
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
250
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
251
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
252
+
253
+ return {
254
+ url: toPathString(localVarUrlObj),
255
+ options: localVarRequestOptions,
256
+ };
257
+ },
258
+ /**
259
+ * Create or Update multiple ErrorCategoryType at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
260
+ * @summary Create or Update Batch ErrorCategoryType
261
+ * @param {string} vbasoftwareDatabase Target database
262
+ * @param {Array<ErrorCategoryType>} errorCategoryType
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ updateBatchErrorCategoryType: async (vbasoftwareDatabase: string, errorCategoryType: Array<ErrorCategoryType>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
267
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
268
+ assertParamExists('updateBatchErrorCategoryType', 'vbasoftwareDatabase', vbasoftwareDatabase)
269
+ // verify required parameter 'errorCategoryType' is not null or undefined
270
+ assertParamExists('updateBatchErrorCategoryType', 'errorCategoryType', errorCategoryType)
271
+ const localVarPath = `/error-category-types-batch`;
272
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
273
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
274
+ let baseOptions;
275
+ if (configuration) {
276
+ baseOptions = configuration.baseOptions;
277
+ }
278
+
279
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
280
+ const localVarHeaderParameter = {} as any;
281
+ const localVarQueryParameter = {} as any;
282
+
283
+ // authentication apiKeyAuth required
284
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
285
+
286
+ // authentication bearerAuth required
287
+ // http bearer authentication required
288
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
289
+
290
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
291
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
292
+ }
293
+
294
+
295
+
296
+ localVarHeaderParameter['Content-Type'] = 'application/json';
297
+
298
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
299
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
300
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
301
+ localVarRequestOptions.data = serializeDataIfNeeded(errorCategoryType, localVarRequestOptions, configuration)
302
+
303
+ return {
304
+ url: toPathString(localVarUrlObj),
305
+ options: localVarRequestOptions,
306
+ };
307
+ },
308
+ /**
309
+ * Updates a specific ErrorCategoryType.
310
+ * @summary Update ErrorCategoryType
311
+ * @param {string} vbasoftwareDatabase Target database
312
+ * @param {string} errorCategory Error Category
313
+ * @param {string} errorType Error Type
314
+ * @param {string} errorCode Error Code
315
+ * @param {ErrorCategoryType} errorCategoryType
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ updateErrorCategoryType: async (vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, errorCategoryType: ErrorCategoryType, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
320
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
321
+ assertParamExists('updateErrorCategoryType', 'vbasoftwareDatabase', vbasoftwareDatabase)
322
+ // verify required parameter 'errorCategory' is not null or undefined
323
+ assertParamExists('updateErrorCategoryType', 'errorCategory', errorCategory)
324
+ // verify required parameter 'errorType' is not null or undefined
325
+ assertParamExists('updateErrorCategoryType', 'errorType', errorType)
326
+ // verify required parameter 'errorCode' is not null or undefined
327
+ assertParamExists('updateErrorCategoryType', 'errorCode', errorCode)
328
+ // verify required parameter 'errorCategoryType' is not null or undefined
329
+ assertParamExists('updateErrorCategoryType', 'errorCategoryType', errorCategoryType)
330
+ const localVarPath = `/error-category-types/{errorCategory}/{errorType}/{errorCode}`
331
+ .replace(`{${"errorCategory"}}`, encodeURIComponent(String(errorCategory)))
332
+ .replace(`{${"errorType"}}`, encodeURIComponent(String(errorType)))
333
+ .replace(`{${"errorCode"}}`, encodeURIComponent(String(errorCode)));
334
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
335
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
336
+ let baseOptions;
337
+ if (configuration) {
338
+ baseOptions = configuration.baseOptions;
339
+ }
340
+
341
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
342
+ const localVarHeaderParameter = {} as any;
343
+ const localVarQueryParameter = {} as any;
344
+
345
+ // authentication apiKeyAuth required
346
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
347
+
348
+ // authentication bearerAuth required
349
+ // http bearer authentication required
350
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
351
+
352
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
353
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
354
+ }
355
+
356
+
357
+
358
+ localVarHeaderParameter['Content-Type'] = 'application/json';
359
+
360
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
361
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
362
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
363
+ localVarRequestOptions.data = serializeDataIfNeeded(errorCategoryType, localVarRequestOptions, configuration)
364
+
365
+ return {
366
+ url: toPathString(localVarUrlObj),
367
+ options: localVarRequestOptions,
368
+ };
369
+ },
370
+ }
371
+ };
372
+
373
+ /**
374
+ * ErrorCategoryTypesApi - functional programming interface
375
+ * @export
376
+ */
377
+ export const ErrorCategoryTypesApiFp = function(configuration?: Configuration) {
378
+ const localVarAxiosParamCreator = ErrorCategoryTypesApiAxiosParamCreator(configuration)
379
+ return {
380
+ /**
381
+ * Creates a new ErrorCategoryType
382
+ * @summary Create ErrorCategoryType
383
+ * @param {string} vbasoftwareDatabase Target database
384
+ * @param {ErrorCategoryType} errorCategoryType
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ */
388
+ async createErrorCategoryType(vbasoftwareDatabase: string, errorCategoryType: ErrorCategoryType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorCategoryTypeVBAResponse>> {
389
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createErrorCategoryType(vbasoftwareDatabase, errorCategoryType, options);
390
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
+ },
392
+ /**
393
+ * Deletes an ErrorCategoryType
394
+ * @summary Delete ErrorCategoryType
395
+ * @param {string} vbasoftwareDatabase Target database
396
+ * @param {string} errorCategory Error Category
397
+ * @param {string} errorType Error Type
398
+ * @param {string} errorCode Error Code
399
+ * @param {*} [options] Override http request option.
400
+ * @throws {RequiredError}
401
+ */
402
+ async deleteErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
403
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, options);
404
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
405
+ },
406
+ /**
407
+ * Gets ErrorCategoryType
408
+ * @summary Get ErrorCategoryType
409
+ * @param {string} vbasoftwareDatabase Target database
410
+ * @param {string} errorCategory Error Category
411
+ * @param {string} errorType Error Type
412
+ * @param {string} errorCode Error Code
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ async getErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorCategoryTypeVBAResponse>> {
417
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, options);
418
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
419
+ },
420
+ /**
421
+ * Lists all ErrorCategoryType
422
+ * @summary List ErrorCategoryType
423
+ * @param {string} vbasoftwareDatabase Target database
424
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
425
+ * @param {number} [page] Page
426
+ * @param {number} [pageSize] Page Size
427
+ * @param {*} [options] Override http request option.
428
+ * @throws {RequiredError}
429
+ */
430
+ async listErrorCategoryType(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorCategoryTypeListVBAResponse>> {
431
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listErrorCategoryType(vbasoftwareDatabase, sortBy, page, pageSize, options);
432
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
433
+ },
434
+ /**
435
+ * Create or Update multiple ErrorCategoryType at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
436
+ * @summary Create or Update Batch ErrorCategoryType
437
+ * @param {string} vbasoftwareDatabase Target database
438
+ * @param {Array<ErrorCategoryType>} errorCategoryType
439
+ * @param {*} [options] Override http request option.
440
+ * @throws {RequiredError}
441
+ */
442
+ async updateBatchErrorCategoryType(vbasoftwareDatabase: string, errorCategoryType: Array<ErrorCategoryType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
443
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchErrorCategoryType(vbasoftwareDatabase, errorCategoryType, options);
444
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
445
+ },
446
+ /**
447
+ * Updates a specific ErrorCategoryType.
448
+ * @summary Update ErrorCategoryType
449
+ * @param {string} vbasoftwareDatabase Target database
450
+ * @param {string} errorCategory Error Category
451
+ * @param {string} errorType Error Type
452
+ * @param {string} errorCode Error Code
453
+ * @param {ErrorCategoryType} errorCategoryType
454
+ * @param {*} [options] Override http request option.
455
+ * @throws {RequiredError}
456
+ */
457
+ async updateErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, errorCategoryType: ErrorCategoryType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorCategoryTypeVBAResponse>> {
458
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, errorCategoryType, options);
459
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
460
+ },
461
+ }
462
+ };
463
+
464
+ /**
465
+ * ErrorCategoryTypesApi - factory interface
466
+ * @export
467
+ */
468
+ export const ErrorCategoryTypesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
469
+ const localVarFp = ErrorCategoryTypesApiFp(configuration)
470
+ return {
471
+ /**
472
+ * Creates a new ErrorCategoryType
473
+ * @summary Create ErrorCategoryType
474
+ * @param {string} vbasoftwareDatabase Target database
475
+ * @param {ErrorCategoryType} errorCategoryType
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ */
479
+ createErrorCategoryType(vbasoftwareDatabase: string, errorCategoryType: ErrorCategoryType, options?: any): AxiosPromise<ErrorCategoryTypeVBAResponse> {
480
+ return localVarFp.createErrorCategoryType(vbasoftwareDatabase, errorCategoryType, options).then((request) => request(axios, basePath));
481
+ },
482
+ /**
483
+ * Deletes an ErrorCategoryType
484
+ * @summary Delete ErrorCategoryType
485
+ * @param {string} vbasoftwareDatabase Target database
486
+ * @param {string} errorCategory Error Category
487
+ * @param {string} errorType Error Type
488
+ * @param {string} errorCode Error Code
489
+ * @param {*} [options] Override http request option.
490
+ * @throws {RequiredError}
491
+ */
492
+ deleteErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options?: any): AxiosPromise<void> {
493
+ return localVarFp.deleteErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, options).then((request) => request(axios, basePath));
494
+ },
495
+ /**
496
+ * Gets ErrorCategoryType
497
+ * @summary Get ErrorCategoryType
498
+ * @param {string} vbasoftwareDatabase Target database
499
+ * @param {string} errorCategory Error Category
500
+ * @param {string} errorType Error Type
501
+ * @param {string} errorCode Error Code
502
+ * @param {*} [options] Override http request option.
503
+ * @throws {RequiredError}
504
+ */
505
+ getErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options?: any): AxiosPromise<ErrorCategoryTypeVBAResponse> {
506
+ return localVarFp.getErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, options).then((request) => request(axios, basePath));
507
+ },
508
+ /**
509
+ * Lists all ErrorCategoryType
510
+ * @summary List ErrorCategoryType
511
+ * @param {string} vbasoftwareDatabase Target database
512
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
513
+ * @param {number} [page] Page
514
+ * @param {number} [pageSize] Page Size
515
+ * @param {*} [options] Override http request option.
516
+ * @throws {RequiredError}
517
+ */
518
+ listErrorCategoryType(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ErrorCategoryTypeListVBAResponse> {
519
+ return localVarFp.listErrorCategoryType(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
520
+ },
521
+ /**
522
+ * Create or Update multiple ErrorCategoryType at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
523
+ * @summary Create or Update Batch ErrorCategoryType
524
+ * @param {string} vbasoftwareDatabase Target database
525
+ * @param {Array<ErrorCategoryType>} errorCategoryType
526
+ * @param {*} [options] Override http request option.
527
+ * @throws {RequiredError}
528
+ */
529
+ updateBatchErrorCategoryType(vbasoftwareDatabase: string, errorCategoryType: Array<ErrorCategoryType>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
530
+ return localVarFp.updateBatchErrorCategoryType(vbasoftwareDatabase, errorCategoryType, options).then((request) => request(axios, basePath));
531
+ },
532
+ /**
533
+ * Updates a specific ErrorCategoryType.
534
+ * @summary Update ErrorCategoryType
535
+ * @param {string} vbasoftwareDatabase Target database
536
+ * @param {string} errorCategory Error Category
537
+ * @param {string} errorType Error Type
538
+ * @param {string} errorCode Error Code
539
+ * @param {ErrorCategoryType} errorCategoryType
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ */
543
+ updateErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, errorCategoryType: ErrorCategoryType, options?: any): AxiosPromise<ErrorCategoryTypeVBAResponse> {
544
+ return localVarFp.updateErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, errorCategoryType, options).then((request) => request(axios, basePath));
545
+ },
546
+ };
547
+ };
548
+
549
+ /**
550
+ * ErrorCategoryTypesApi - interface
551
+ * @export
552
+ * @interface ErrorCategoryTypesApi
553
+ */
554
+ export interface ErrorCategoryTypesApiInterface {
555
+ /**
556
+ * Creates a new ErrorCategoryType
557
+ * @summary Create ErrorCategoryType
558
+ * @param {string} vbasoftwareDatabase Target database
559
+ * @param {ErrorCategoryType} errorCategoryType
560
+ * @param {*} [options] Override http request option.
561
+ * @throws {RequiredError}
562
+ * @memberof ErrorCategoryTypesApiInterface
563
+ */
564
+ createErrorCategoryType(vbasoftwareDatabase: string, errorCategoryType: ErrorCategoryType, options?: AxiosRequestConfig): AxiosPromise<ErrorCategoryTypeVBAResponse>;
565
+
566
+ /**
567
+ * Deletes an ErrorCategoryType
568
+ * @summary Delete ErrorCategoryType
569
+ * @param {string} vbasoftwareDatabase Target database
570
+ * @param {string} errorCategory Error Category
571
+ * @param {string} errorType Error Type
572
+ * @param {string} errorCode Error Code
573
+ * @param {*} [options] Override http request option.
574
+ * @throws {RequiredError}
575
+ * @memberof ErrorCategoryTypesApiInterface
576
+ */
577
+ deleteErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options?: AxiosRequestConfig): AxiosPromise<void>;
578
+
579
+ /**
580
+ * Gets ErrorCategoryType
581
+ * @summary Get ErrorCategoryType
582
+ * @param {string} vbasoftwareDatabase Target database
583
+ * @param {string} errorCategory Error Category
584
+ * @param {string} errorType Error Type
585
+ * @param {string} errorCode Error Code
586
+ * @param {*} [options] Override http request option.
587
+ * @throws {RequiredError}
588
+ * @memberof ErrorCategoryTypesApiInterface
589
+ */
590
+ getErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options?: AxiosRequestConfig): AxiosPromise<ErrorCategoryTypeVBAResponse>;
591
+
592
+ /**
593
+ * Lists all ErrorCategoryType
594
+ * @summary List ErrorCategoryType
595
+ * @param {string} vbasoftwareDatabase Target database
596
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
597
+ * @param {number} [page] Page
598
+ * @param {number} [pageSize] Page Size
599
+ * @param {*} [options] Override http request option.
600
+ * @throws {RequiredError}
601
+ * @memberof ErrorCategoryTypesApiInterface
602
+ */
603
+ listErrorCategoryType(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ErrorCategoryTypeListVBAResponse>;
604
+
605
+ /**
606
+ * Create or Update multiple ErrorCategoryType at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
607
+ * @summary Create or Update Batch ErrorCategoryType
608
+ * @param {string} vbasoftwareDatabase Target database
609
+ * @param {Array<ErrorCategoryType>} errorCategoryType
610
+ * @param {*} [options] Override http request option.
611
+ * @throws {RequiredError}
612
+ * @memberof ErrorCategoryTypesApiInterface
613
+ */
614
+ updateBatchErrorCategoryType(vbasoftwareDatabase: string, errorCategoryType: Array<ErrorCategoryType>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
615
+
616
+ /**
617
+ * Updates a specific ErrorCategoryType.
618
+ * @summary Update ErrorCategoryType
619
+ * @param {string} vbasoftwareDatabase Target database
620
+ * @param {string} errorCategory Error Category
621
+ * @param {string} errorType Error Type
622
+ * @param {string} errorCode Error Code
623
+ * @param {ErrorCategoryType} errorCategoryType
624
+ * @param {*} [options] Override http request option.
625
+ * @throws {RequiredError}
626
+ * @memberof ErrorCategoryTypesApiInterface
627
+ */
628
+ updateErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, errorCategoryType: ErrorCategoryType, options?: AxiosRequestConfig): AxiosPromise<ErrorCategoryTypeVBAResponse>;
629
+
630
+ }
631
+
632
+ /**
633
+ * ErrorCategoryTypesApi - object-oriented interface
634
+ * @export
635
+ * @class ErrorCategoryTypesApi
636
+ * @extends {BaseAPI}
637
+ */
638
+ export class ErrorCategoryTypesApi extends BaseAPI implements ErrorCategoryTypesApiInterface {
639
+ /**
640
+ * Creates a new ErrorCategoryType
641
+ * @summary Create ErrorCategoryType
642
+ * @param {string} vbasoftwareDatabase Target database
643
+ * @param {ErrorCategoryType} errorCategoryType
644
+ * @param {*} [options] Override http request option.
645
+ * @throws {RequiredError}
646
+ * @memberof ErrorCategoryTypesApi
647
+ */
648
+ public createErrorCategoryType(vbasoftwareDatabase: string, errorCategoryType: ErrorCategoryType, options?: AxiosRequestConfig) {
649
+ return ErrorCategoryTypesApiFp(this.configuration).createErrorCategoryType(vbasoftwareDatabase, errorCategoryType, options).then((request) => request(this.axios, this.basePath));
650
+ }
651
+
652
+ /**
653
+ * Deletes an ErrorCategoryType
654
+ * @summary Delete ErrorCategoryType
655
+ * @param {string} vbasoftwareDatabase Target database
656
+ * @param {string} errorCategory Error Category
657
+ * @param {string} errorType Error Type
658
+ * @param {string} errorCode Error Code
659
+ * @param {*} [options] Override http request option.
660
+ * @throws {RequiredError}
661
+ * @memberof ErrorCategoryTypesApi
662
+ */
663
+ public deleteErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options?: AxiosRequestConfig) {
664
+ return ErrorCategoryTypesApiFp(this.configuration).deleteErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, options).then((request) => request(this.axios, this.basePath));
665
+ }
666
+
667
+ /**
668
+ * Gets ErrorCategoryType
669
+ * @summary Get ErrorCategoryType
670
+ * @param {string} vbasoftwareDatabase Target database
671
+ * @param {string} errorCategory Error Category
672
+ * @param {string} errorType Error Type
673
+ * @param {string} errorCode Error Code
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ * @memberof ErrorCategoryTypesApi
677
+ */
678
+ public getErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, options?: AxiosRequestConfig) {
679
+ return ErrorCategoryTypesApiFp(this.configuration).getErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, options).then((request) => request(this.axios, this.basePath));
680
+ }
681
+
682
+ /**
683
+ * Lists all ErrorCategoryType
684
+ * @summary List ErrorCategoryType
685
+ * @param {string} vbasoftwareDatabase Target database
686
+ * @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \&#39;Property1:desc,Property2:asc,Property3:asc\&#39; sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
687
+ * @param {number} [page] Page
688
+ * @param {number} [pageSize] Page Size
689
+ * @param {*} [options] Override http request option.
690
+ * @throws {RequiredError}
691
+ * @memberof ErrorCategoryTypesApi
692
+ */
693
+ public listErrorCategoryType(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
694
+ return ErrorCategoryTypesApiFp(this.configuration).listErrorCategoryType(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
695
+ }
696
+
697
+ /**
698
+ * Create or Update multiple ErrorCategoryType at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
699
+ * @summary Create or Update Batch ErrorCategoryType
700
+ * @param {string} vbasoftwareDatabase Target database
701
+ * @param {Array<ErrorCategoryType>} errorCategoryType
702
+ * @param {*} [options] Override http request option.
703
+ * @throws {RequiredError}
704
+ * @memberof ErrorCategoryTypesApi
705
+ */
706
+ public updateBatchErrorCategoryType(vbasoftwareDatabase: string, errorCategoryType: Array<ErrorCategoryType>, options?: AxiosRequestConfig) {
707
+ return ErrorCategoryTypesApiFp(this.configuration).updateBatchErrorCategoryType(vbasoftwareDatabase, errorCategoryType, options).then((request) => request(this.axios, this.basePath));
708
+ }
709
+
710
+ /**
711
+ * Updates a specific ErrorCategoryType.
712
+ * @summary Update ErrorCategoryType
713
+ * @param {string} vbasoftwareDatabase Target database
714
+ * @param {string} errorCategory Error Category
715
+ * @param {string} errorType Error Type
716
+ * @param {string} errorCode Error Code
717
+ * @param {ErrorCategoryType} errorCategoryType
718
+ * @param {*} [options] Override http request option.
719
+ * @throws {RequiredError}
720
+ * @memberof ErrorCategoryTypesApi
721
+ */
722
+ public updateErrorCategoryType(vbasoftwareDatabase: string, errorCategory: string, errorType: string, errorCode: string, errorCategoryType: ErrorCategoryType, options?: AxiosRequestConfig) {
723
+ return ErrorCategoryTypesApiFp(this.configuration).updateErrorCategoryType(vbasoftwareDatabase, errorCategory, errorType, errorCode, errorCategoryType, options).then((request) => request(this.axios, this.basePath));
724
+ }
725
+ }