@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250328.1 → 1.20250425.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 (69) hide show
  1. package/.openapi-generator/FILES +46 -2
  2. package/api/adv-billing-api.ts +96 -0
  3. package/api/adv-claim-api.ts +438 -0
  4. package/api/group-state-surcharge-api.ts +733 -0
  5. package/api/hipaaremittance-codes-api.ts +685 -0
  6. package/api/member-alternate-payee-api.ts +781 -0
  7. package/api/member-alternate-payee-plan-api.ts +829 -0
  8. package/api/premium-invoices-api.ts +96 -0
  9. package/api/report-definitions-api.ts +108 -0
  10. package/api/state-surcharge-api.ts +685 -0
  11. package/api/subscribers-api.ts +98 -0
  12. package/api/vbareporting-api.ts +265 -0
  13. package/api/vbareports-api.ts +162 -55
  14. package/api.ts +6 -1
  15. package/models/all-enrollments-subscriber-result-list-vbaresponse.ts +51 -0
  16. package/models/all-enrollments-subscriber-result.ts +108 -0
  17. package/models/checks-detail.ts +6 -0
  18. package/models/claim-audit.ts +12 -0
  19. package/models/claim-batch-benefit.ts +36 -0
  20. package/models/claim-batch-payee.ts +108 -0
  21. package/models/claim-benefit.ts +36 -0
  22. package/models/claim-network.ts +36 -0
  23. package/models/claim-payee.ts +108 -0
  24. package/models/claim-plan.ts +36 -0
  25. package/models/claim-relationship.ts +36 -0
  26. package/models/claim-send-check-to.ts +36 -0
  27. package/models/company-data.ts +24 -0
  28. package/models/email-report-dto.ts +0 -6
  29. package/models/explanation-codes.ts +6 -0
  30. package/models/generate-prem-invoice.ts +12 -0
  31. package/models/group-contract-plan.ts +6 -0
  32. package/models/group-state-surcharge-list-vbaresponse.ts +51 -0
  33. package/models/group-state-surcharge-vbaresponse.ts +51 -0
  34. package/models/group-state-surcharge.ts +78 -0
  35. package/models/hipaaremittance-code-list-vbaresponse.ts +51 -0
  36. package/models/hipaaremittance-code-vbaresponse.ts +51 -0
  37. package/models/hipaaremittance-code.ts +60 -0
  38. package/models/index.ts +40 -1
  39. package/models/member-alternate-payee-list-vbaresponse.ts +51 -0
  40. package/models/member-alternate-payee-plan-list-vbaresponse.ts +51 -0
  41. package/models/member-alternate-payee-plan-vbaresponse.ts +51 -0
  42. package/models/member-alternate-payee-plan.ts +72 -0
  43. package/models/member-alternate-payee-vbaresponse.ts +51 -0
  44. package/models/member-alternate-payee.ts +150 -0
  45. package/models/plan-benefits.ts +6 -0
  46. package/models/reins-contract-conditional-specific-detail.ts +36 -0
  47. package/models/report-tracking-metadata.ts +42 -0
  48. package/models/smsdto.ts +0 -6
  49. package/models/state-surcharge-list-vbaresponse.ts +51 -0
  50. package/models/state-surcharge-vbaresponse.ts +51 -0
  51. package/models/state-surcharge.ts +96 -0
  52. package/models/vbaclaim-funding-member-pay-to-amount-list-vbaresponse.ts +51 -0
  53. package/models/vbaclaim-funding-member-pay-to-amount.ts +54 -0
  54. package/models/vbaclaim-funding-pay-to-amount-list-vbaresponse.ts +51 -0
  55. package/models/vbaclaim-funding-pay-to-amount.ts +42 -0
  56. package/models/vbaclaim-number-parm.ts +30 -0
  57. package/models/vbafull-claim-batch-vbaresponse.ts +51 -0
  58. package/models/vbafull-claim-batch.ts +426 -0
  59. package/models/vbafull-claim-vbaresponse.ts +51 -0
  60. package/models/vbafull-claim.ts +441 -0
  61. package/models/vbareport.ts +14 -2
  62. package/models/vbareporting-embed-token-vbaresponse.ts +51 -0
  63. package/models/vbareporting-embed-token.ts +30 -0
  64. package/models/vbareporting-report-list-vbaresponse.ts +51 -0
  65. package/models/vbareporting-report-vbaresponse.ts +51 -0
  66. package/models/vbareporting-report.ts +54 -0
  67. package/package.json +1 -1
  68. package/api/bold-reports-api.ts +0 -167
  69. package/models/trackable-report.ts +0 -78
@@ -0,0 +1,685 @@
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 type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ // @ts-ignore
25
+ import type { MultiCodeResponseListVBAResponse } from '../models';
26
+ // @ts-ignore
27
+ import type { StateSurcharge } from '../models';
28
+ // @ts-ignore
29
+ import type { StateSurchargeListVBAResponse } from '../models';
30
+ // @ts-ignore
31
+ import type { StateSurchargeVBAResponse } from '../models';
32
+ /**
33
+ * StateSurchargeApi - axios parameter creator
34
+ * @export
35
+ */
36
+ export const StateSurchargeApiAxiosParamCreator = function (configuration?: Configuration) {
37
+ return {
38
+ /**
39
+ * Creates a new StateSurcharge
40
+ * @summary Create StateSurcharge
41
+ * @param {string} vbasoftwareDatabase Target database
42
+ * @param {StateSurcharge} stateSurcharge
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ createStateSurcharge: async (vbasoftwareDatabase: string, stateSurcharge: StateSurcharge, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
47
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
48
+ assertParamExists('createStateSurcharge', 'vbasoftwareDatabase', vbasoftwareDatabase)
49
+ // verify required parameter 'stateSurcharge' is not null or undefined
50
+ assertParamExists('createStateSurcharge', 'stateSurcharge', stateSurcharge)
51
+ const localVarPath = `/state-surcharge`;
52
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
53
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
54
+ let baseOptions;
55
+ if (configuration) {
56
+ baseOptions = configuration.baseOptions;
57
+ }
58
+
59
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
60
+ const localVarHeaderParameter = {} as any;
61
+ const localVarQueryParameter = {} as any;
62
+
63
+ // authentication apiKeyAuth required
64
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
65
+
66
+ // authentication bearerAuth required
67
+ // http bearer authentication required
68
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
69
+
70
+
71
+
72
+ localVarHeaderParameter['Content-Type'] = 'application/json';
73
+
74
+ if (vbasoftwareDatabase != null) {
75
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
76
+ }
77
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
78
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
79
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80
+ localVarRequestOptions.data = serializeDataIfNeeded(stateSurcharge, localVarRequestOptions, configuration)
81
+
82
+ return {
83
+ url: toPathString(localVarUrlObj),
84
+ options: localVarRequestOptions,
85
+ };
86
+ },
87
+ /**
88
+ * Deletes an StateSurcharge
89
+ * @summary Delete StateSurcharge
90
+ * @param {string} vbasoftwareDatabase Target database
91
+ * @param {number} stateSurchargeKey StateSurcharge Key
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ deleteStateSurcharge: async (vbasoftwareDatabase: string, stateSurchargeKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
96
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
97
+ assertParamExists('deleteStateSurcharge', 'vbasoftwareDatabase', vbasoftwareDatabase)
98
+ // verify required parameter 'stateSurchargeKey' is not null or undefined
99
+ assertParamExists('deleteStateSurcharge', 'stateSurchargeKey', stateSurchargeKey)
100
+ const localVarPath = `/state-surcharge/{StateSurcharge_Key}`
101
+ .replace(`{${"StateSurcharge_Key"}}`, encodeURIComponent(String(stateSurchargeKey)));
102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
103
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104
+ let baseOptions;
105
+ if (configuration) {
106
+ baseOptions = configuration.baseOptions;
107
+ }
108
+
109
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
110
+ const localVarHeaderParameter = {} as any;
111
+ const localVarQueryParameter = {} as any;
112
+
113
+ // authentication apiKeyAuth required
114
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
115
+
116
+ // authentication bearerAuth required
117
+ // http bearer authentication required
118
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
119
+
120
+
121
+
122
+ if (vbasoftwareDatabase != null) {
123
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
124
+ }
125
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
126
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
128
+
129
+ return {
130
+ url: toPathString(localVarUrlObj),
131
+ options: localVarRequestOptions,
132
+ };
133
+ },
134
+ /**
135
+ * Gets StateSurcharge
136
+ * @summary Get StateSurcharge
137
+ * @param {string} vbasoftwareDatabase Target database
138
+ * @param {number} stateSurchargeKey StateSurcharge Key
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ getStateSurcharge: async (vbasoftwareDatabase: string, stateSurchargeKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
143
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
144
+ assertParamExists('getStateSurcharge', 'vbasoftwareDatabase', vbasoftwareDatabase)
145
+ // verify required parameter 'stateSurchargeKey' is not null or undefined
146
+ assertParamExists('getStateSurcharge', 'stateSurchargeKey', stateSurchargeKey)
147
+ const localVarPath = `/state-surcharge/{StateSurcharge_Key}`
148
+ .replace(`{${"StateSurcharge_Key"}}`, encodeURIComponent(String(stateSurchargeKey)));
149
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
150
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
151
+ let baseOptions;
152
+ if (configuration) {
153
+ baseOptions = configuration.baseOptions;
154
+ }
155
+
156
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
157
+ const localVarHeaderParameter = {} as any;
158
+ const localVarQueryParameter = {} as any;
159
+
160
+ // authentication apiKeyAuth required
161
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
162
+
163
+ // authentication bearerAuth required
164
+ // http bearer authentication required
165
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
166
+
167
+
168
+
169
+ if (vbasoftwareDatabase != null) {
170
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
171
+ }
172
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
173
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
174
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
175
+
176
+ return {
177
+ url: toPathString(localVarUrlObj),
178
+ options: localVarRequestOptions,
179
+ };
180
+ },
181
+ /**
182
+ * Lists all StateSurcharge
183
+ * @summary List StateSurcharge
184
+ * @param {string} vbasoftwareDatabase Target database
185
+ * @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.
186
+ * @param {number} [page] Page
187
+ * @param {number} [pageSize] Page Size
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ listStateSurcharge: async (vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
192
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
193
+ assertParamExists('listStateSurcharge', 'vbasoftwareDatabase', vbasoftwareDatabase)
194
+ const localVarPath = `/state-surcharge`;
195
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
196
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
197
+ let baseOptions;
198
+ if (configuration) {
199
+ baseOptions = configuration.baseOptions;
200
+ }
201
+
202
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
203
+ const localVarHeaderParameter = {} as any;
204
+ const localVarQueryParameter = {} as any;
205
+
206
+ // authentication apiKeyAuth required
207
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
208
+
209
+ // authentication bearerAuth required
210
+ // http bearer authentication required
211
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
212
+
213
+ if (sortBy !== undefined) {
214
+ localVarQueryParameter['sortBy'] = sortBy;
215
+ }
216
+
217
+ if (page !== undefined) {
218
+ localVarQueryParameter['page'] = page;
219
+ }
220
+
221
+ if (pageSize !== undefined) {
222
+ localVarQueryParameter['pageSize'] = pageSize;
223
+ }
224
+
225
+
226
+
227
+ if (vbasoftwareDatabase != null) {
228
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
229
+ }
230
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
231
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
233
+
234
+ return {
235
+ url: toPathString(localVarUrlObj),
236
+ options: localVarRequestOptions,
237
+ };
238
+ },
239
+ /**
240
+ * Create or Update multiple StateSurcharge at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
241
+ * @summary Create or Update Batch StateSurcharge
242
+ * @param {string} vbasoftwareDatabase Target database
243
+ * @param {Array<StateSurcharge>} stateSurcharge
244
+ * @param {*} [options] Override http request option.
245
+ * @throws {RequiredError}
246
+ */
247
+ updateBatchStateSurcharge: async (vbasoftwareDatabase: string, stateSurcharge: Array<StateSurcharge>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
248
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
249
+ assertParamExists('updateBatchStateSurcharge', 'vbasoftwareDatabase', vbasoftwareDatabase)
250
+ // verify required parameter 'stateSurcharge' is not null or undefined
251
+ assertParamExists('updateBatchStateSurcharge', 'stateSurcharge', stateSurcharge)
252
+ const localVarPath = `/state-surcharge-batch`;
253
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
254
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
255
+ let baseOptions;
256
+ if (configuration) {
257
+ baseOptions = configuration.baseOptions;
258
+ }
259
+
260
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
261
+ const localVarHeaderParameter = {} as any;
262
+ const localVarQueryParameter = {} as any;
263
+
264
+ // authentication apiKeyAuth required
265
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
266
+
267
+ // authentication bearerAuth required
268
+ // http bearer authentication required
269
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
270
+
271
+
272
+
273
+ localVarHeaderParameter['Content-Type'] = 'application/json';
274
+
275
+ if (vbasoftwareDatabase != null) {
276
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
277
+ }
278
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
279
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
280
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
281
+ localVarRequestOptions.data = serializeDataIfNeeded(stateSurcharge, localVarRequestOptions, configuration)
282
+
283
+ return {
284
+ url: toPathString(localVarUrlObj),
285
+ options: localVarRequestOptions,
286
+ };
287
+ },
288
+ /**
289
+ * Updates a specific StateSurcharge.
290
+ * @summary Update StateSurcharge
291
+ * @param {string} vbasoftwareDatabase Target database
292
+ * @param {number} stateSurchargeKey StateSurcharge Key
293
+ * @param {StateSurcharge} stateSurcharge
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ updateStateSurcharge: async (vbasoftwareDatabase: string, stateSurchargeKey: number, stateSurcharge: StateSurcharge, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
298
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
299
+ assertParamExists('updateStateSurcharge', 'vbasoftwareDatabase', vbasoftwareDatabase)
300
+ // verify required parameter 'stateSurchargeKey' is not null or undefined
301
+ assertParamExists('updateStateSurcharge', 'stateSurchargeKey', stateSurchargeKey)
302
+ // verify required parameter 'stateSurcharge' is not null or undefined
303
+ assertParamExists('updateStateSurcharge', 'stateSurcharge', stateSurcharge)
304
+ const localVarPath = `/state-surcharge/{StateSurcharge_Key}`
305
+ .replace(`{${"StateSurcharge_Key"}}`, encodeURIComponent(String(stateSurchargeKey)));
306
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
307
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
308
+ let baseOptions;
309
+ if (configuration) {
310
+ baseOptions = configuration.baseOptions;
311
+ }
312
+
313
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
314
+ const localVarHeaderParameter = {} as any;
315
+ const localVarQueryParameter = {} as any;
316
+
317
+ // authentication apiKeyAuth required
318
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
319
+
320
+ // authentication bearerAuth required
321
+ // http bearer authentication required
322
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
323
+
324
+
325
+
326
+ localVarHeaderParameter['Content-Type'] = 'application/json';
327
+
328
+ if (vbasoftwareDatabase != null) {
329
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
330
+ }
331
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
332
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
333
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
334
+ localVarRequestOptions.data = serializeDataIfNeeded(stateSurcharge, localVarRequestOptions, configuration)
335
+
336
+ return {
337
+ url: toPathString(localVarUrlObj),
338
+ options: localVarRequestOptions,
339
+ };
340
+ },
341
+ }
342
+ };
343
+
344
+ /**
345
+ * StateSurchargeApi - functional programming interface
346
+ * @export
347
+ */
348
+ export const StateSurchargeApiFp = function(configuration?: Configuration) {
349
+ const localVarAxiosParamCreator = StateSurchargeApiAxiosParamCreator(configuration)
350
+ return {
351
+ /**
352
+ * Creates a new StateSurcharge
353
+ * @summary Create StateSurcharge
354
+ * @param {string} vbasoftwareDatabase Target database
355
+ * @param {StateSurcharge} stateSurcharge
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ async createStateSurcharge(vbasoftwareDatabase: string, stateSurcharge: StateSurcharge, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateSurchargeVBAResponse>> {
360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createStateSurcharge(vbasoftwareDatabase, stateSurcharge, options);
361
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
362
+ const localVarOperationServerBasePath = operationServerMap['StateSurchargeApi.createStateSurcharge']?.[localVarOperationServerIndex]?.url;
363
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
364
+ },
365
+ /**
366
+ * Deletes an StateSurcharge
367
+ * @summary Delete StateSurcharge
368
+ * @param {string} vbasoftwareDatabase Target database
369
+ * @param {number} stateSurchargeKey StateSurcharge Key
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ async deleteStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
374
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, options);
375
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
376
+ const localVarOperationServerBasePath = operationServerMap['StateSurchargeApi.deleteStateSurcharge']?.[localVarOperationServerIndex]?.url;
377
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
378
+ },
379
+ /**
380
+ * Gets StateSurcharge
381
+ * @summary Get StateSurcharge
382
+ * @param {string} vbasoftwareDatabase Target database
383
+ * @param {number} stateSurchargeKey StateSurcharge Key
384
+ * @param {*} [options] Override http request option.
385
+ * @throws {RequiredError}
386
+ */
387
+ async getStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateSurchargeVBAResponse>> {
388
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, options);
389
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
390
+ const localVarOperationServerBasePath = operationServerMap['StateSurchargeApi.getStateSurcharge']?.[localVarOperationServerIndex]?.url;
391
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
392
+ },
393
+ /**
394
+ * Lists all StateSurcharge
395
+ * @summary List StateSurcharge
396
+ * @param {string} vbasoftwareDatabase Target database
397
+ * @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.
398
+ * @param {number} [page] Page
399
+ * @param {number} [pageSize] Page Size
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ */
403
+ async listStateSurcharge(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateSurchargeListVBAResponse>> {
404
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listStateSurcharge(vbasoftwareDatabase, sortBy, page, pageSize, options);
405
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
406
+ const localVarOperationServerBasePath = operationServerMap['StateSurchargeApi.listStateSurcharge']?.[localVarOperationServerIndex]?.url;
407
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
408
+ },
409
+ /**
410
+ * Create or Update multiple StateSurcharge at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
411
+ * @summary Create or Update Batch StateSurcharge
412
+ * @param {string} vbasoftwareDatabase Target database
413
+ * @param {Array<StateSurcharge>} stateSurcharge
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ async updateBatchStateSurcharge(vbasoftwareDatabase: string, stateSurcharge: Array<StateSurcharge>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchStateSurcharge(vbasoftwareDatabase, stateSurcharge, options);
419
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
420
+ const localVarOperationServerBasePath = operationServerMap['StateSurchargeApi.updateBatchStateSurcharge']?.[localVarOperationServerIndex]?.url;
421
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
422
+ },
423
+ /**
424
+ * Updates a specific StateSurcharge.
425
+ * @summary Update StateSurcharge
426
+ * @param {string} vbasoftwareDatabase Target database
427
+ * @param {number} stateSurchargeKey StateSurcharge Key
428
+ * @param {StateSurcharge} stateSurcharge
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ async updateStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, stateSurcharge: StateSurcharge, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateSurchargeVBAResponse>> {
433
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, stateSurcharge, options);
434
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
435
+ const localVarOperationServerBasePath = operationServerMap['StateSurchargeApi.updateStateSurcharge']?.[localVarOperationServerIndex]?.url;
436
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
437
+ },
438
+ }
439
+ };
440
+
441
+ /**
442
+ * StateSurchargeApi - factory interface
443
+ * @export
444
+ */
445
+ export const StateSurchargeApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
446
+ const localVarFp = StateSurchargeApiFp(configuration)
447
+ return {
448
+ /**
449
+ * Creates a new StateSurcharge
450
+ * @summary Create StateSurcharge
451
+ * @param {string} vbasoftwareDatabase Target database
452
+ * @param {StateSurcharge} stateSurcharge
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ createStateSurcharge(vbasoftwareDatabase: string, stateSurcharge: StateSurcharge, options?: RawAxiosRequestConfig): AxiosPromise<StateSurchargeVBAResponse> {
457
+ return localVarFp.createStateSurcharge(vbasoftwareDatabase, stateSurcharge, options).then((request) => request(axios, basePath));
458
+ },
459
+ /**
460
+ * Deletes an StateSurcharge
461
+ * @summary Delete StateSurcharge
462
+ * @param {string} vbasoftwareDatabase Target database
463
+ * @param {number} stateSurchargeKey StateSurcharge Key
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ deleteStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
468
+ return localVarFp.deleteStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, options).then((request) => request(axios, basePath));
469
+ },
470
+ /**
471
+ * Gets StateSurcharge
472
+ * @summary Get StateSurcharge
473
+ * @param {string} vbasoftwareDatabase Target database
474
+ * @param {number} stateSurchargeKey StateSurcharge Key
475
+ * @param {*} [options] Override http request option.
476
+ * @throws {RequiredError}
477
+ */
478
+ getStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, options?: RawAxiosRequestConfig): AxiosPromise<StateSurchargeVBAResponse> {
479
+ return localVarFp.getStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, options).then((request) => request(axios, basePath));
480
+ },
481
+ /**
482
+ * Lists all StateSurcharge
483
+ * @summary List StateSurcharge
484
+ * @param {string} vbasoftwareDatabase Target database
485
+ * @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.
486
+ * @param {number} [page] Page
487
+ * @param {number} [pageSize] Page Size
488
+ * @param {*} [options] Override http request option.
489
+ * @throws {RequiredError}
490
+ */
491
+ listStateSurcharge(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<StateSurchargeListVBAResponse> {
492
+ return localVarFp.listStateSurcharge(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
493
+ },
494
+ /**
495
+ * Create or Update multiple StateSurcharge at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
496
+ * @summary Create or Update Batch StateSurcharge
497
+ * @param {string} vbasoftwareDatabase Target database
498
+ * @param {Array<StateSurcharge>} stateSurcharge
499
+ * @param {*} [options] Override http request option.
500
+ * @throws {RequiredError}
501
+ */
502
+ updateBatchStateSurcharge(vbasoftwareDatabase: string, stateSurcharge: Array<StateSurcharge>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse> {
503
+ return localVarFp.updateBatchStateSurcharge(vbasoftwareDatabase, stateSurcharge, options).then((request) => request(axios, basePath));
504
+ },
505
+ /**
506
+ * Updates a specific StateSurcharge.
507
+ * @summary Update StateSurcharge
508
+ * @param {string} vbasoftwareDatabase Target database
509
+ * @param {number} stateSurchargeKey StateSurcharge Key
510
+ * @param {StateSurcharge} stateSurcharge
511
+ * @param {*} [options] Override http request option.
512
+ * @throws {RequiredError}
513
+ */
514
+ updateStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, stateSurcharge: StateSurcharge, options?: RawAxiosRequestConfig): AxiosPromise<StateSurchargeVBAResponse> {
515
+ return localVarFp.updateStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, stateSurcharge, options).then((request) => request(axios, basePath));
516
+ },
517
+ };
518
+ };
519
+
520
+ /**
521
+ * StateSurchargeApi - interface
522
+ * @export
523
+ * @interface StateSurchargeApi
524
+ */
525
+ export interface StateSurchargeApiInterface {
526
+ /**
527
+ * Creates a new StateSurcharge
528
+ * @summary Create StateSurcharge
529
+ * @param {string} vbasoftwareDatabase Target database
530
+ * @param {StateSurcharge} stateSurcharge
531
+ * @param {*} [options] Override http request option.
532
+ * @throws {RequiredError}
533
+ * @memberof StateSurchargeApiInterface
534
+ */
535
+ createStateSurcharge(vbasoftwareDatabase: string, stateSurcharge: StateSurcharge, options?: RawAxiosRequestConfig): AxiosPromise<StateSurchargeVBAResponse>;
536
+
537
+ /**
538
+ * Deletes an StateSurcharge
539
+ * @summary Delete StateSurcharge
540
+ * @param {string} vbasoftwareDatabase Target database
541
+ * @param {number} stateSurchargeKey StateSurcharge Key
542
+ * @param {*} [options] Override http request option.
543
+ * @throws {RequiredError}
544
+ * @memberof StateSurchargeApiInterface
545
+ */
546
+ deleteStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
547
+
548
+ /**
549
+ * Gets StateSurcharge
550
+ * @summary Get StateSurcharge
551
+ * @param {string} vbasoftwareDatabase Target database
552
+ * @param {number} stateSurchargeKey StateSurcharge Key
553
+ * @param {*} [options] Override http request option.
554
+ * @throws {RequiredError}
555
+ * @memberof StateSurchargeApiInterface
556
+ */
557
+ getStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, options?: RawAxiosRequestConfig): AxiosPromise<StateSurchargeVBAResponse>;
558
+
559
+ /**
560
+ * Lists all StateSurcharge
561
+ * @summary List StateSurcharge
562
+ * @param {string} vbasoftwareDatabase Target database
563
+ * @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.
564
+ * @param {number} [page] Page
565
+ * @param {number} [pageSize] Page Size
566
+ * @param {*} [options] Override http request option.
567
+ * @throws {RequiredError}
568
+ * @memberof StateSurchargeApiInterface
569
+ */
570
+ listStateSurcharge(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<StateSurchargeListVBAResponse>;
571
+
572
+ /**
573
+ * Create or Update multiple StateSurcharge at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
574
+ * @summary Create or Update Batch StateSurcharge
575
+ * @param {string} vbasoftwareDatabase Target database
576
+ * @param {Array<StateSurcharge>} stateSurcharge
577
+ * @param {*} [options] Override http request option.
578
+ * @throws {RequiredError}
579
+ * @memberof StateSurchargeApiInterface
580
+ */
581
+ updateBatchStateSurcharge(vbasoftwareDatabase: string, stateSurcharge: Array<StateSurcharge>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
582
+
583
+ /**
584
+ * Updates a specific StateSurcharge.
585
+ * @summary Update StateSurcharge
586
+ * @param {string} vbasoftwareDatabase Target database
587
+ * @param {number} stateSurchargeKey StateSurcharge Key
588
+ * @param {StateSurcharge} stateSurcharge
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ * @memberof StateSurchargeApiInterface
592
+ */
593
+ updateStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, stateSurcharge: StateSurcharge, options?: RawAxiosRequestConfig): AxiosPromise<StateSurchargeVBAResponse>;
594
+
595
+ }
596
+
597
+ /**
598
+ * StateSurchargeApi - object-oriented interface
599
+ * @export
600
+ * @class StateSurchargeApi
601
+ * @extends {BaseAPI}
602
+ */
603
+ export class StateSurchargeApi extends BaseAPI implements StateSurchargeApiInterface {
604
+ /**
605
+ * Creates a new StateSurcharge
606
+ * @summary Create StateSurcharge
607
+ * @param {string} vbasoftwareDatabase Target database
608
+ * @param {StateSurcharge} stateSurcharge
609
+ * @param {*} [options] Override http request option.
610
+ * @throws {RequiredError}
611
+ * @memberof StateSurchargeApi
612
+ */
613
+ public createStateSurcharge(vbasoftwareDatabase: string, stateSurcharge: StateSurcharge, options?: RawAxiosRequestConfig) {
614
+ return StateSurchargeApiFp(this.configuration).createStateSurcharge(vbasoftwareDatabase, stateSurcharge, options).then((request) => request(this.axios, this.basePath));
615
+ }
616
+
617
+ /**
618
+ * Deletes an StateSurcharge
619
+ * @summary Delete StateSurcharge
620
+ * @param {string} vbasoftwareDatabase Target database
621
+ * @param {number} stateSurchargeKey StateSurcharge Key
622
+ * @param {*} [options] Override http request option.
623
+ * @throws {RequiredError}
624
+ * @memberof StateSurchargeApi
625
+ */
626
+ public deleteStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, options?: RawAxiosRequestConfig) {
627
+ return StateSurchargeApiFp(this.configuration).deleteStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, options).then((request) => request(this.axios, this.basePath));
628
+ }
629
+
630
+ /**
631
+ * Gets StateSurcharge
632
+ * @summary Get StateSurcharge
633
+ * @param {string} vbasoftwareDatabase Target database
634
+ * @param {number} stateSurchargeKey StateSurcharge Key
635
+ * @param {*} [options] Override http request option.
636
+ * @throws {RequiredError}
637
+ * @memberof StateSurchargeApi
638
+ */
639
+ public getStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, options?: RawAxiosRequestConfig) {
640
+ return StateSurchargeApiFp(this.configuration).getStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, options).then((request) => request(this.axios, this.basePath));
641
+ }
642
+
643
+ /**
644
+ * Lists all StateSurcharge
645
+ * @summary List StateSurcharge
646
+ * @param {string} vbasoftwareDatabase Target database
647
+ * @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.
648
+ * @param {number} [page] Page
649
+ * @param {number} [pageSize] Page Size
650
+ * @param {*} [options] Override http request option.
651
+ * @throws {RequiredError}
652
+ * @memberof StateSurchargeApi
653
+ */
654
+ public listStateSurcharge(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
655
+ return StateSurchargeApiFp(this.configuration).listStateSurcharge(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
656
+ }
657
+
658
+ /**
659
+ * Create or Update multiple StateSurcharge at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
660
+ * @summary Create or Update Batch StateSurcharge
661
+ * @param {string} vbasoftwareDatabase Target database
662
+ * @param {Array<StateSurcharge>} stateSurcharge
663
+ * @param {*} [options] Override http request option.
664
+ * @throws {RequiredError}
665
+ * @memberof StateSurchargeApi
666
+ */
667
+ public updateBatchStateSurcharge(vbasoftwareDatabase: string, stateSurcharge: Array<StateSurcharge>, options?: RawAxiosRequestConfig) {
668
+ return StateSurchargeApiFp(this.configuration).updateBatchStateSurcharge(vbasoftwareDatabase, stateSurcharge, options).then((request) => request(this.axios, this.basePath));
669
+ }
670
+
671
+ /**
672
+ * Updates a specific StateSurcharge.
673
+ * @summary Update StateSurcharge
674
+ * @param {string} vbasoftwareDatabase Target database
675
+ * @param {number} stateSurchargeKey StateSurcharge Key
676
+ * @param {StateSurcharge} stateSurcharge
677
+ * @param {*} [options] Override http request option.
678
+ * @throws {RequiredError}
679
+ * @memberof StateSurchargeApi
680
+ */
681
+ public updateStateSurcharge(vbasoftwareDatabase: string, stateSurchargeKey: number, stateSurcharge: StateSurcharge, options?: RawAxiosRequestConfig) {
682
+ return StateSurchargeApiFp(this.configuration).updateStateSurcharge(vbasoftwareDatabase, stateSurchargeKey, stateSurcharge, options).then((request) => request(this.axios, this.basePath));
683
+ }
684
+ }
685
+