@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250509.1 → 1.20250627.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 (72) hide show
  1. package/.openapi-generator/FILES +34 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/api/adv-billing-api.ts +184 -0
  4. package/api/adv-care-management-api.ts +166 -0
  5. package/api/adv-claim-api.ts +204 -6
  6. package/api/adv-commission-api.ts +96 -0
  7. package/api/adv-enrollment-api.ts +88 -0
  8. package/api/adv-vbagateway-api.ts +168 -0
  9. package/api/care-cases-api.ts +609 -0
  10. package/api/claim-offset-api.ts +685 -0
  11. package/api/claim-offset-detail-api.ts +694 -0
  12. package/api/claims-api.ts +25 -25
  13. package/api/funding-reconciliations-api.ts +96 -0
  14. package/api/funding-request-claim-remove-api.ts +773 -0
  15. package/api/plans-api.ts +26 -8
  16. package/api/premium-invoices-api.ts +88 -0
  17. package/api/security-area-user-groups-api.ts +119 -13
  18. package/api.ts +5 -0
  19. package/common.ts +4 -4
  20. package/docs/AdvBillingApi.md +109 -0
  21. package/docs/AdvCareManagementApi.md +63 -0
  22. package/docs/AdvClaimApi.md +117 -4
  23. package/docs/AdvCommissionApi.md +56 -0
  24. package/docs/AdvEnrollmentApi.md +53 -0
  25. package/docs/AdvVBAGatewayApi.md +64 -0
  26. package/docs/CareCasesApi.md +347 -0
  27. package/docs/ClaimBatchPayee.md +2 -0
  28. package/docs/ClaimOffset.md +30 -0
  29. package/docs/ClaimOffsetApi.md +354 -0
  30. package/docs/ClaimOffsetDetail.md +36 -0
  31. package/docs/ClaimOffsetDetailApi.md +357 -0
  32. package/docs/ClaimOffsetDetailListVBAResponse.md +24 -0
  33. package/docs/ClaimOffsetDetailVBAResponse.md +24 -0
  34. package/docs/ClaimOffsetListVBAResponse.md +24 -0
  35. package/docs/ClaimOffsetVBAResponse.md +24 -0
  36. package/docs/ClaimPayee.md +2 -0
  37. package/docs/ClaimsApi.md +5 -5
  38. package/docs/CompanyData.md +2 -0
  39. package/docs/FundingReconciliationsApi.md +56 -0
  40. package/docs/FundingRequestClaimRemove.md +38 -0
  41. package/docs/FundingRequestClaimRemoveApi.md +387 -0
  42. package/docs/FundingRequestClaimRemoveListVBAResponse.md +24 -0
  43. package/docs/FundingRequestClaimRemoveVBAResponse.md +24 -0
  44. package/docs/Members.md +4 -0
  45. package/docs/PlansApi.md +7 -1
  46. package/docs/PremiumInvoicesApi.md +53 -0
  47. package/docs/ReportSeriesProcess.md +2 -0
  48. package/docs/ReportSeriesStep.md +16 -0
  49. package/docs/SecurityAreaUserGroupsApi.md +61 -2
  50. package/docs/VBAClaimBatchCopy.md +60 -0
  51. package/docs/VBAClaimBatchCopyVBAResponse.md +24 -0
  52. package/docs/VBAVBAGatewayProcessRequest.md +32 -0
  53. package/models/claim-batch-payee.ts +6 -0
  54. package/models/claim-offset-detail-list-vbaresponse.ts +51 -0
  55. package/models/claim-offset-detail-vbaresponse.ts +51 -0
  56. package/models/claim-offset-detail.ts +78 -0
  57. package/models/claim-offset-list-vbaresponse.ts +51 -0
  58. package/models/claim-offset-vbaresponse.ts +51 -0
  59. package/models/claim-offset.ts +60 -0
  60. package/models/claim-payee.ts +6 -0
  61. package/models/company-data.ts +6 -0
  62. package/models/funding-request-claim-remove-list-vbaresponse.ts +51 -0
  63. package/models/funding-request-claim-remove-vbaresponse.ts +51 -0
  64. package/models/funding-request-claim-remove.ts +84 -0
  65. package/models/index.ts +12 -0
  66. package/models/members.ts +12 -0
  67. package/models/report-series-process.ts +6 -0
  68. package/models/report-series-step.ts +48 -0
  69. package/models/vbaclaim-batch-copy-vbaresponse.ts +51 -0
  70. package/models/vbaclaim-batch-copy.ts +150 -0
  71. package/models/vbavbagateway-process-request.ts +66 -0
  72. package/package.json +1 -1
@@ -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 { ClaimOffset } from '../models';
26
+ // @ts-ignore
27
+ import type { ClaimOffsetListVBAResponse } from '../models';
28
+ // @ts-ignore
29
+ import type { ClaimOffsetVBAResponse } from '../models';
30
+ // @ts-ignore
31
+ import type { MultiCodeResponseListVBAResponse } from '../models';
32
+ /**
33
+ * ClaimOffsetApi - axios parameter creator
34
+ * @export
35
+ */
36
+ export const ClaimOffsetApiAxiosParamCreator = function (configuration?: Configuration) {
37
+ return {
38
+ /**
39
+ * Creates a new ClaimOffset
40
+ * @summary Create ClaimOffset
41
+ * @param {string} vbasoftwareDatabase Target database
42
+ * @param {ClaimOffset} claimOffset
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ createClaimOffset: async (vbasoftwareDatabase: string, claimOffset: ClaimOffset, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
47
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
48
+ assertParamExists('createClaimOffset', 'vbasoftwareDatabase', vbasoftwareDatabase)
49
+ // verify required parameter 'claimOffset' is not null or undefined
50
+ assertParamExists('createClaimOffset', 'claimOffset', claimOffset)
51
+ const localVarPath = `/claim-offsets`;
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(claimOffset, localVarRequestOptions, configuration)
81
+
82
+ return {
83
+ url: toPathString(localVarUrlObj),
84
+ options: localVarRequestOptions,
85
+ };
86
+ },
87
+ /**
88
+ * Deletes an ClaimOffset
89
+ * @summary Delete ClaimOffset
90
+ * @param {string} vbasoftwareDatabase Target database
91
+ * @param {number} claimOffsetKey ClaimOffset Key
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ deleteClaimOffset: async (vbasoftwareDatabase: string, claimOffsetKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
96
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
97
+ assertParamExists('deleteClaimOffset', 'vbasoftwareDatabase', vbasoftwareDatabase)
98
+ // verify required parameter 'claimOffsetKey' is not null or undefined
99
+ assertParamExists('deleteClaimOffset', 'claimOffsetKey', claimOffsetKey)
100
+ const localVarPath = `/claim-offsets/{ClaimOffset_Key}`
101
+ .replace(`{${"ClaimOffset_Key"}}`, encodeURIComponent(String(claimOffsetKey)));
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 ClaimOffset
136
+ * @summary Get ClaimOffset
137
+ * @param {string} vbasoftwareDatabase Target database
138
+ * @param {number} claimOffsetKey ClaimOffset Key
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ getClaimOffset: async (vbasoftwareDatabase: string, claimOffsetKey: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
143
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
144
+ assertParamExists('getClaimOffset', 'vbasoftwareDatabase', vbasoftwareDatabase)
145
+ // verify required parameter 'claimOffsetKey' is not null or undefined
146
+ assertParamExists('getClaimOffset', 'claimOffsetKey', claimOffsetKey)
147
+ const localVarPath = `/claim-offsets/{ClaimOffset_Key}`
148
+ .replace(`{${"ClaimOffset_Key"}}`, encodeURIComponent(String(claimOffsetKey)));
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 ClaimOffset
183
+ * @summary List ClaimOffset
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
+ listClaimOffset: 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('listClaimOffset', 'vbasoftwareDatabase', vbasoftwareDatabase)
194
+ const localVarPath = `/claim-offsets`;
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 ClaimOffset 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 ClaimOffset
242
+ * @param {string} vbasoftwareDatabase Target database
243
+ * @param {Array<ClaimOffset>} claimOffset
244
+ * @param {*} [options] Override http request option.
245
+ * @throws {RequiredError}
246
+ */
247
+ updateBatchClaimOffset: async (vbasoftwareDatabase: string, claimOffset: Array<ClaimOffset>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
248
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
249
+ assertParamExists('updateBatchClaimOffset', 'vbasoftwareDatabase', vbasoftwareDatabase)
250
+ // verify required parameter 'claimOffset' is not null or undefined
251
+ assertParamExists('updateBatchClaimOffset', 'claimOffset', claimOffset)
252
+ const localVarPath = `/claim-offsets-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(claimOffset, localVarRequestOptions, configuration)
282
+
283
+ return {
284
+ url: toPathString(localVarUrlObj),
285
+ options: localVarRequestOptions,
286
+ };
287
+ },
288
+ /**
289
+ * Updates a specific ClaimOffset.
290
+ * @summary Update ClaimOffset
291
+ * @param {string} vbasoftwareDatabase Target database
292
+ * @param {number} claimOffsetKey ClaimOffset Key
293
+ * @param {ClaimOffset} claimOffset
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ updateClaimOffset: async (vbasoftwareDatabase: string, claimOffsetKey: number, claimOffset: ClaimOffset, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
298
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
299
+ assertParamExists('updateClaimOffset', 'vbasoftwareDatabase', vbasoftwareDatabase)
300
+ // verify required parameter 'claimOffsetKey' is not null or undefined
301
+ assertParamExists('updateClaimOffset', 'claimOffsetKey', claimOffsetKey)
302
+ // verify required parameter 'claimOffset' is not null or undefined
303
+ assertParamExists('updateClaimOffset', 'claimOffset', claimOffset)
304
+ const localVarPath = `/claim-offsets/{ClaimOffset_Key}`
305
+ .replace(`{${"ClaimOffset_Key"}}`, encodeURIComponent(String(claimOffsetKey)));
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(claimOffset, localVarRequestOptions, configuration)
335
+
336
+ return {
337
+ url: toPathString(localVarUrlObj),
338
+ options: localVarRequestOptions,
339
+ };
340
+ },
341
+ }
342
+ };
343
+
344
+ /**
345
+ * ClaimOffsetApi - functional programming interface
346
+ * @export
347
+ */
348
+ export const ClaimOffsetApiFp = function(configuration?: Configuration) {
349
+ const localVarAxiosParamCreator = ClaimOffsetApiAxiosParamCreator(configuration)
350
+ return {
351
+ /**
352
+ * Creates a new ClaimOffset
353
+ * @summary Create ClaimOffset
354
+ * @param {string} vbasoftwareDatabase Target database
355
+ * @param {ClaimOffset} claimOffset
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ async createClaimOffset(vbasoftwareDatabase: string, claimOffset: ClaimOffset, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimOffsetVBAResponse>> {
360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimOffset(vbasoftwareDatabase, claimOffset, options);
361
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
362
+ const localVarOperationServerBasePath = operationServerMap['ClaimOffsetApi.createClaimOffset']?.[localVarOperationServerIndex]?.url;
363
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
364
+ },
365
+ /**
366
+ * Deletes an ClaimOffset
367
+ * @summary Delete ClaimOffset
368
+ * @param {string} vbasoftwareDatabase Target database
369
+ * @param {number} claimOffsetKey ClaimOffset Key
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ async deleteClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
374
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimOffset(vbasoftwareDatabase, claimOffsetKey, options);
375
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
376
+ const localVarOperationServerBasePath = operationServerMap['ClaimOffsetApi.deleteClaimOffset']?.[localVarOperationServerIndex]?.url;
377
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
378
+ },
379
+ /**
380
+ * Gets ClaimOffset
381
+ * @summary Get ClaimOffset
382
+ * @param {string} vbasoftwareDatabase Target database
383
+ * @param {number} claimOffsetKey ClaimOffset Key
384
+ * @param {*} [options] Override http request option.
385
+ * @throws {RequiredError}
386
+ */
387
+ async getClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimOffsetVBAResponse>> {
388
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimOffset(vbasoftwareDatabase, claimOffsetKey, options);
389
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
390
+ const localVarOperationServerBasePath = operationServerMap['ClaimOffsetApi.getClaimOffset']?.[localVarOperationServerIndex]?.url;
391
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
392
+ },
393
+ /**
394
+ * Lists all ClaimOffset
395
+ * @summary List ClaimOffset
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 listClaimOffset(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimOffsetListVBAResponse>> {
404
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimOffset(vbasoftwareDatabase, sortBy, page, pageSize, options);
405
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
406
+ const localVarOperationServerBasePath = operationServerMap['ClaimOffsetApi.listClaimOffset']?.[localVarOperationServerIndex]?.url;
407
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
408
+ },
409
+ /**
410
+ * Create or Update multiple ClaimOffset 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 ClaimOffset
412
+ * @param {string} vbasoftwareDatabase Target database
413
+ * @param {Array<ClaimOffset>} claimOffset
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ async updateBatchClaimOffset(vbasoftwareDatabase: string, claimOffset: Array<ClaimOffset>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchClaimOffset(vbasoftwareDatabase, claimOffset, options);
419
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
420
+ const localVarOperationServerBasePath = operationServerMap['ClaimOffsetApi.updateBatchClaimOffset']?.[localVarOperationServerIndex]?.url;
421
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
422
+ },
423
+ /**
424
+ * Updates a specific ClaimOffset.
425
+ * @summary Update ClaimOffset
426
+ * @param {string} vbasoftwareDatabase Target database
427
+ * @param {number} claimOffsetKey ClaimOffset Key
428
+ * @param {ClaimOffset} claimOffset
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ async updateClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, claimOffset: ClaimOffset, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimOffsetVBAResponse>> {
433
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimOffset(vbasoftwareDatabase, claimOffsetKey, claimOffset, options);
434
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
435
+ const localVarOperationServerBasePath = operationServerMap['ClaimOffsetApi.updateClaimOffset']?.[localVarOperationServerIndex]?.url;
436
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
437
+ },
438
+ }
439
+ };
440
+
441
+ /**
442
+ * ClaimOffsetApi - factory interface
443
+ * @export
444
+ */
445
+ export const ClaimOffsetApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
446
+ const localVarFp = ClaimOffsetApiFp(configuration)
447
+ return {
448
+ /**
449
+ * Creates a new ClaimOffset
450
+ * @summary Create ClaimOffset
451
+ * @param {string} vbasoftwareDatabase Target database
452
+ * @param {ClaimOffset} claimOffset
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ createClaimOffset(vbasoftwareDatabase: string, claimOffset: ClaimOffset, options?: RawAxiosRequestConfig): AxiosPromise<ClaimOffsetVBAResponse> {
457
+ return localVarFp.createClaimOffset(vbasoftwareDatabase, claimOffset, options).then((request) => request(axios, basePath));
458
+ },
459
+ /**
460
+ * Deletes an ClaimOffset
461
+ * @summary Delete ClaimOffset
462
+ * @param {string} vbasoftwareDatabase Target database
463
+ * @param {number} claimOffsetKey ClaimOffset Key
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ deleteClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
468
+ return localVarFp.deleteClaimOffset(vbasoftwareDatabase, claimOffsetKey, options).then((request) => request(axios, basePath));
469
+ },
470
+ /**
471
+ * Gets ClaimOffset
472
+ * @summary Get ClaimOffset
473
+ * @param {string} vbasoftwareDatabase Target database
474
+ * @param {number} claimOffsetKey ClaimOffset Key
475
+ * @param {*} [options] Override http request option.
476
+ * @throws {RequiredError}
477
+ */
478
+ getClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, options?: RawAxiosRequestConfig): AxiosPromise<ClaimOffsetVBAResponse> {
479
+ return localVarFp.getClaimOffset(vbasoftwareDatabase, claimOffsetKey, options).then((request) => request(axios, basePath));
480
+ },
481
+ /**
482
+ * Lists all ClaimOffset
483
+ * @summary List ClaimOffset
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
+ listClaimOffset(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ClaimOffsetListVBAResponse> {
492
+ return localVarFp.listClaimOffset(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
493
+ },
494
+ /**
495
+ * Create or Update multiple ClaimOffset 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 ClaimOffset
497
+ * @param {string} vbasoftwareDatabase Target database
498
+ * @param {Array<ClaimOffset>} claimOffset
499
+ * @param {*} [options] Override http request option.
500
+ * @throws {RequiredError}
501
+ */
502
+ updateBatchClaimOffset(vbasoftwareDatabase: string, claimOffset: Array<ClaimOffset>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse> {
503
+ return localVarFp.updateBatchClaimOffset(vbasoftwareDatabase, claimOffset, options).then((request) => request(axios, basePath));
504
+ },
505
+ /**
506
+ * Updates a specific ClaimOffset.
507
+ * @summary Update ClaimOffset
508
+ * @param {string} vbasoftwareDatabase Target database
509
+ * @param {number} claimOffsetKey ClaimOffset Key
510
+ * @param {ClaimOffset} claimOffset
511
+ * @param {*} [options] Override http request option.
512
+ * @throws {RequiredError}
513
+ */
514
+ updateClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, claimOffset: ClaimOffset, options?: RawAxiosRequestConfig): AxiosPromise<ClaimOffsetVBAResponse> {
515
+ return localVarFp.updateClaimOffset(vbasoftwareDatabase, claimOffsetKey, claimOffset, options).then((request) => request(axios, basePath));
516
+ },
517
+ };
518
+ };
519
+
520
+ /**
521
+ * ClaimOffsetApi - interface
522
+ * @export
523
+ * @interface ClaimOffsetApi
524
+ */
525
+ export interface ClaimOffsetApiInterface {
526
+ /**
527
+ * Creates a new ClaimOffset
528
+ * @summary Create ClaimOffset
529
+ * @param {string} vbasoftwareDatabase Target database
530
+ * @param {ClaimOffset} claimOffset
531
+ * @param {*} [options] Override http request option.
532
+ * @throws {RequiredError}
533
+ * @memberof ClaimOffsetApiInterface
534
+ */
535
+ createClaimOffset(vbasoftwareDatabase: string, claimOffset: ClaimOffset, options?: RawAxiosRequestConfig): AxiosPromise<ClaimOffsetVBAResponse>;
536
+
537
+ /**
538
+ * Deletes an ClaimOffset
539
+ * @summary Delete ClaimOffset
540
+ * @param {string} vbasoftwareDatabase Target database
541
+ * @param {number} claimOffsetKey ClaimOffset Key
542
+ * @param {*} [options] Override http request option.
543
+ * @throws {RequiredError}
544
+ * @memberof ClaimOffsetApiInterface
545
+ */
546
+ deleteClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
547
+
548
+ /**
549
+ * Gets ClaimOffset
550
+ * @summary Get ClaimOffset
551
+ * @param {string} vbasoftwareDatabase Target database
552
+ * @param {number} claimOffsetKey ClaimOffset Key
553
+ * @param {*} [options] Override http request option.
554
+ * @throws {RequiredError}
555
+ * @memberof ClaimOffsetApiInterface
556
+ */
557
+ getClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, options?: RawAxiosRequestConfig): AxiosPromise<ClaimOffsetVBAResponse>;
558
+
559
+ /**
560
+ * Lists all ClaimOffset
561
+ * @summary List ClaimOffset
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 ClaimOffsetApiInterface
569
+ */
570
+ listClaimOffset(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ClaimOffsetListVBAResponse>;
571
+
572
+ /**
573
+ * Create or Update multiple ClaimOffset 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 ClaimOffset
575
+ * @param {string} vbasoftwareDatabase Target database
576
+ * @param {Array<ClaimOffset>} claimOffset
577
+ * @param {*} [options] Override http request option.
578
+ * @throws {RequiredError}
579
+ * @memberof ClaimOffsetApiInterface
580
+ */
581
+ updateBatchClaimOffset(vbasoftwareDatabase: string, claimOffset: Array<ClaimOffset>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
582
+
583
+ /**
584
+ * Updates a specific ClaimOffset.
585
+ * @summary Update ClaimOffset
586
+ * @param {string} vbasoftwareDatabase Target database
587
+ * @param {number} claimOffsetKey ClaimOffset Key
588
+ * @param {ClaimOffset} claimOffset
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ * @memberof ClaimOffsetApiInterface
592
+ */
593
+ updateClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, claimOffset: ClaimOffset, options?: RawAxiosRequestConfig): AxiosPromise<ClaimOffsetVBAResponse>;
594
+
595
+ }
596
+
597
+ /**
598
+ * ClaimOffsetApi - object-oriented interface
599
+ * @export
600
+ * @class ClaimOffsetApi
601
+ * @extends {BaseAPI}
602
+ */
603
+ export class ClaimOffsetApi extends BaseAPI implements ClaimOffsetApiInterface {
604
+ /**
605
+ * Creates a new ClaimOffset
606
+ * @summary Create ClaimOffset
607
+ * @param {string} vbasoftwareDatabase Target database
608
+ * @param {ClaimOffset} claimOffset
609
+ * @param {*} [options] Override http request option.
610
+ * @throws {RequiredError}
611
+ * @memberof ClaimOffsetApi
612
+ */
613
+ public createClaimOffset(vbasoftwareDatabase: string, claimOffset: ClaimOffset, options?: RawAxiosRequestConfig) {
614
+ return ClaimOffsetApiFp(this.configuration).createClaimOffset(vbasoftwareDatabase, claimOffset, options).then((request) => request(this.axios, this.basePath));
615
+ }
616
+
617
+ /**
618
+ * Deletes an ClaimOffset
619
+ * @summary Delete ClaimOffset
620
+ * @param {string} vbasoftwareDatabase Target database
621
+ * @param {number} claimOffsetKey ClaimOffset Key
622
+ * @param {*} [options] Override http request option.
623
+ * @throws {RequiredError}
624
+ * @memberof ClaimOffsetApi
625
+ */
626
+ public deleteClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, options?: RawAxiosRequestConfig) {
627
+ return ClaimOffsetApiFp(this.configuration).deleteClaimOffset(vbasoftwareDatabase, claimOffsetKey, options).then((request) => request(this.axios, this.basePath));
628
+ }
629
+
630
+ /**
631
+ * Gets ClaimOffset
632
+ * @summary Get ClaimOffset
633
+ * @param {string} vbasoftwareDatabase Target database
634
+ * @param {number} claimOffsetKey ClaimOffset Key
635
+ * @param {*} [options] Override http request option.
636
+ * @throws {RequiredError}
637
+ * @memberof ClaimOffsetApi
638
+ */
639
+ public getClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, options?: RawAxiosRequestConfig) {
640
+ return ClaimOffsetApiFp(this.configuration).getClaimOffset(vbasoftwareDatabase, claimOffsetKey, options).then((request) => request(this.axios, this.basePath));
641
+ }
642
+
643
+ /**
644
+ * Lists all ClaimOffset
645
+ * @summary List ClaimOffset
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 ClaimOffsetApi
653
+ */
654
+ public listClaimOffset(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
655
+ return ClaimOffsetApiFp(this.configuration).listClaimOffset(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
656
+ }
657
+
658
+ /**
659
+ * Create or Update multiple ClaimOffset 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 ClaimOffset
661
+ * @param {string} vbasoftwareDatabase Target database
662
+ * @param {Array<ClaimOffset>} claimOffset
663
+ * @param {*} [options] Override http request option.
664
+ * @throws {RequiredError}
665
+ * @memberof ClaimOffsetApi
666
+ */
667
+ public updateBatchClaimOffset(vbasoftwareDatabase: string, claimOffset: Array<ClaimOffset>, options?: RawAxiosRequestConfig) {
668
+ return ClaimOffsetApiFp(this.configuration).updateBatchClaimOffset(vbasoftwareDatabase, claimOffset, options).then((request) => request(this.axios, this.basePath));
669
+ }
670
+
671
+ /**
672
+ * Updates a specific ClaimOffset.
673
+ * @summary Update ClaimOffset
674
+ * @param {string} vbasoftwareDatabase Target database
675
+ * @param {number} claimOffsetKey ClaimOffset Key
676
+ * @param {ClaimOffset} claimOffset
677
+ * @param {*} [options] Override http request option.
678
+ * @throws {RequiredError}
679
+ * @memberof ClaimOffsetApi
680
+ */
681
+ public updateClaimOffset(vbasoftwareDatabase: string, claimOffsetKey: number, claimOffset: ClaimOffset, options?: RawAxiosRequestConfig) {
682
+ return ClaimOffsetApiFp(this.configuration).updateClaimOffset(vbasoftwareDatabase, claimOffsetKey, claimOffset, options).then((request) => request(this.axios, this.basePath));
683
+ }
684
+ }
685
+