@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230208.2 → 1.20230403.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.
- package/.openapi-generator/FILES +19 -0
- package/api/adv-group-api.ts +17 -17
- package/api/chat-gptapi.ts +154 -0
- package/api/events-api.ts +87 -0
- package/api/groups-api.ts +17 -17
- package/api/prem-rate-types-api.ts +668 -0
- package/api/premium-invoice-payments-api.ts +124 -0
- package/api/premium-invoices-api.ts +336 -5
- package/api/premium-rate-distribution-types-api.ts +155 -0
- package/api/state-interest-api.ts +668 -0
- package/api/subscriber-plan-policies-api.ts +43 -91
- package/api/user-api.ts +394 -0
- package/api.ts +4 -0
- package/models/chat-message.ts +30 -0
- package/models/claim-batch-detail.ts +152 -140
- package/models/claim-batch.ts +1697 -479
- package/models/claim-detail.ts +137 -125
- package/models/claim-pre-batch-detail.ts +101 -95
- package/models/claim-pre-batch.ts +1703 -425
- package/models/claim.ts +1562 -338
- package/models/company-data.ts +433 -403
- package/models/cost-contain-zelis-ex-code.ts +12 -6
- package/models/enrollment-disenroll-group.ts +84 -0
- package/models/enrollment-disenroll.ts +28 -34
- package/models/groups.ts +18 -18
- package/models/idcard-request.ts +3 -3
- package/models/index.ts +15 -0
- package/models/mem-enrollment-plan.ts +9 -9
- package/models/mem-enrollment-rider.ts +10 -10
- package/models/member-beneficiary.ts +3 -3
- package/models/member-language.ts +38 -2
- package/models/member-medicare-resp.ts +50 -26
- package/models/members.ts +1 -1
- package/models/network-procedure-cluster.ts +15 -9
- package/models/plan-benefit-cluster.ts +12 -12
- package/models/plan-benefit-rate.ts +5 -5
- package/models/plan-benefits.ts +58 -52
- package/models/plan-type.ts +21 -21
- package/models/plans.ts +41 -41
- package/models/prem-invoice-group-summary-vbaresponse.ts +45 -0
- package/models/prem-invoice-group-summary.ts +114 -0
- package/models/prem-invoice-payment-ext-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-payment-ext.ts +102 -0
- package/models/prem-invoice-slim-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-slim.ts +42 -0
- package/models/prem-rate-type-list-vbaresponse.ts +45 -0
- package/models/prem-rate-type-vbaresponse.ts +45 -0
- package/models/prem-rate-type.ts +72 -0
- package/models/prem-rate.ts +91 -85
- package/models/state-interest-list-vbaresponse.ts +45 -0
- package/models/state-interest-vbaresponse.ts +45 -0
- package/models/state-interest.ts +84 -0
- package/models/sub-enrollment-plan.ts +10 -10
- package/models/sub-enrollment-rider.ts +14 -14
- package/models/subscribers.ts +2 -2
- package/models/user-reset-password-request.ts +42 -0
- package/models/users.ts +8 -8
- package/package.json +1 -1
|
@@ -0,0 +1,668 @@
|
|
|
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 { MultiCodeResponseListVBAResponse } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { StateInterest } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { StateInterestListVBAResponse } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { StateInterestVBAResponse } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* StateInterestApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const StateInterestApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new StateInterest
|
|
39
|
+
* @summary Create StateInterest
|
|
40
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
41
|
+
* @param {StateInterest} stateInterest
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
createStateInterest: async (vbasoftwareDatabase: string, stateInterest: StateInterest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
47
|
+
assertParamExists('createStateInterest', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
48
|
+
// verify required parameter 'stateInterest' is not null or undefined
|
|
49
|
+
assertParamExists('createStateInterest', 'stateInterest', stateInterest)
|
|
50
|
+
const localVarPath = `/state-interests`;
|
|
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(stateInterest, localVarRequestOptions, configuration)
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
url: toPathString(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Deletes an StateInterest
|
|
89
|
+
* @summary Delete StateInterest
|
|
90
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
91
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
deleteStateInterest: async (vbasoftwareDatabase: string, stateInterestKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
97
|
+
assertParamExists('deleteStateInterest', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
98
|
+
// verify required parameter 'stateInterestKey' is not null or undefined
|
|
99
|
+
assertParamExists('deleteStateInterest', 'stateInterestKey', stateInterestKey)
|
|
100
|
+
const localVarPath = `/state-interests/{stateInterestKey}`
|
|
101
|
+
.replace(`{${"stateInterestKey"}}`, encodeURIComponent(String(stateInterestKey)));
|
|
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
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
121
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
129
|
+
|
|
130
|
+
return {
|
|
131
|
+
url: toPathString(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Gets StateInterest
|
|
137
|
+
* @summary Get StateInterest
|
|
138
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
139
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
getStateInterest: async (vbasoftwareDatabase: string, stateInterestKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
145
|
+
assertParamExists('getStateInterest', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
146
|
+
// verify required parameter 'stateInterestKey' is not null or undefined
|
|
147
|
+
assertParamExists('getStateInterest', 'stateInterestKey', stateInterestKey)
|
|
148
|
+
const localVarPath = `/state-interests/{stateInterestKey}`
|
|
149
|
+
.replace(`{${"stateInterestKey"}}`, encodeURIComponent(String(stateInterestKey)));
|
|
150
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
152
|
+
let baseOptions;
|
|
153
|
+
if (configuration) {
|
|
154
|
+
baseOptions = configuration.baseOptions;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
158
|
+
const localVarHeaderParameter = {} as any;
|
|
159
|
+
const localVarQueryParameter = {} as any;
|
|
160
|
+
|
|
161
|
+
// authentication apiKeyAuth required
|
|
162
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
163
|
+
|
|
164
|
+
// authentication bearerAuth required
|
|
165
|
+
// http bearer authentication required
|
|
166
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
167
|
+
|
|
168
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
169
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
176
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
177
|
+
|
|
178
|
+
return {
|
|
179
|
+
url: toPathString(localVarUrlObj),
|
|
180
|
+
options: localVarRequestOptions,
|
|
181
|
+
};
|
|
182
|
+
},
|
|
183
|
+
/**
|
|
184
|
+
* Lists all StateInterest
|
|
185
|
+
* @summary List StateInterest
|
|
186
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
187
|
+
* @param {number} [page] Page
|
|
188
|
+
* @param {number} [pageSize] Page Size
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
listStateInterest: async (vbasoftwareDatabase: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
194
|
+
assertParamExists('listStateInterest', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
195
|
+
const localVarPath = `/state-interests`;
|
|
196
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
197
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
198
|
+
let baseOptions;
|
|
199
|
+
if (configuration) {
|
|
200
|
+
baseOptions = configuration.baseOptions;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
204
|
+
const localVarHeaderParameter = {} as any;
|
|
205
|
+
const localVarQueryParameter = {} as any;
|
|
206
|
+
|
|
207
|
+
// authentication apiKeyAuth required
|
|
208
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
209
|
+
|
|
210
|
+
// authentication bearerAuth required
|
|
211
|
+
// http bearer authentication required
|
|
212
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
213
|
+
|
|
214
|
+
if (page !== undefined) {
|
|
215
|
+
localVarQueryParameter['page'] = page;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
if (pageSize !== undefined) {
|
|
219
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
223
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
229
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
230
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
231
|
+
|
|
232
|
+
return {
|
|
233
|
+
url: toPathString(localVarUrlObj),
|
|
234
|
+
options: localVarRequestOptions,
|
|
235
|
+
};
|
|
236
|
+
},
|
|
237
|
+
/**
|
|
238
|
+
* Create or Update multiple StateInterest at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
239
|
+
* @summary Create or Update Batch StateInterest
|
|
240
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
241
|
+
* @param {Array<StateInterest>} stateInterest
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
updateBatchStateInterest: async (vbasoftwareDatabase: string, stateInterest: Array<StateInterest>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
246
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
247
|
+
assertParamExists('updateBatchStateInterest', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
248
|
+
// verify required parameter 'stateInterest' is not null or undefined
|
|
249
|
+
assertParamExists('updateBatchStateInterest', 'stateInterest', stateInterest)
|
|
250
|
+
const localVarPath = `/state-interests-batch`;
|
|
251
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
252
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
253
|
+
let baseOptions;
|
|
254
|
+
if (configuration) {
|
|
255
|
+
baseOptions = configuration.baseOptions;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
259
|
+
const localVarHeaderParameter = {} as any;
|
|
260
|
+
const localVarQueryParameter = {} as any;
|
|
261
|
+
|
|
262
|
+
// authentication apiKeyAuth required
|
|
263
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
264
|
+
|
|
265
|
+
// authentication bearerAuth required
|
|
266
|
+
// http bearer authentication required
|
|
267
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
268
|
+
|
|
269
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
270
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
276
|
+
|
|
277
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
279
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
280
|
+
localVarRequestOptions.data = serializeDataIfNeeded(stateInterest, localVarRequestOptions, configuration)
|
|
281
|
+
|
|
282
|
+
return {
|
|
283
|
+
url: toPathString(localVarUrlObj),
|
|
284
|
+
options: localVarRequestOptions,
|
|
285
|
+
};
|
|
286
|
+
},
|
|
287
|
+
/**
|
|
288
|
+
* Updates a specific StateInterest.
|
|
289
|
+
* @summary Update StateInterest
|
|
290
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
291
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
292
|
+
* @param {StateInterest} stateInterest
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
updateStateInterest: async (vbasoftwareDatabase: string, stateInterestKey: number, stateInterest: StateInterest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
297
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
298
|
+
assertParamExists('updateStateInterest', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
299
|
+
// verify required parameter 'stateInterestKey' is not null or undefined
|
|
300
|
+
assertParamExists('updateStateInterest', 'stateInterestKey', stateInterestKey)
|
|
301
|
+
// verify required parameter 'stateInterest' is not null or undefined
|
|
302
|
+
assertParamExists('updateStateInterest', 'stateInterest', stateInterest)
|
|
303
|
+
const localVarPath = `/state-interests/{stateInterestKey}`
|
|
304
|
+
.replace(`{${"stateInterestKey"}}`, encodeURIComponent(String(stateInterestKey)));
|
|
305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
307
|
+
let baseOptions;
|
|
308
|
+
if (configuration) {
|
|
309
|
+
baseOptions = configuration.baseOptions;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
313
|
+
const localVarHeaderParameter = {} as any;
|
|
314
|
+
const localVarQueryParameter = {} as any;
|
|
315
|
+
|
|
316
|
+
// authentication apiKeyAuth required
|
|
317
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
318
|
+
|
|
319
|
+
// authentication bearerAuth required
|
|
320
|
+
// http bearer authentication required
|
|
321
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
322
|
+
|
|
323
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
324
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
330
|
+
|
|
331
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
332
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
333
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
334
|
+
localVarRequestOptions.data = serializeDataIfNeeded(stateInterest, localVarRequestOptions, configuration)
|
|
335
|
+
|
|
336
|
+
return {
|
|
337
|
+
url: toPathString(localVarUrlObj),
|
|
338
|
+
options: localVarRequestOptions,
|
|
339
|
+
};
|
|
340
|
+
},
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* StateInterestApi - functional programming interface
|
|
346
|
+
* @export
|
|
347
|
+
*/
|
|
348
|
+
export const StateInterestApiFp = function(configuration?: Configuration) {
|
|
349
|
+
const localVarAxiosParamCreator = StateInterestApiAxiosParamCreator(configuration)
|
|
350
|
+
return {
|
|
351
|
+
/**
|
|
352
|
+
* Creates a new StateInterest
|
|
353
|
+
* @summary Create StateInterest
|
|
354
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
355
|
+
* @param {StateInterest} stateInterest
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
async createStateInterest(vbasoftwareDatabase: string, stateInterest: StateInterest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateInterestVBAResponse>> {
|
|
360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createStateInterest(vbasoftwareDatabase, stateInterest, options);
|
|
361
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
362
|
+
},
|
|
363
|
+
/**
|
|
364
|
+
* Deletes an StateInterest
|
|
365
|
+
* @summary Delete StateInterest
|
|
366
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
367
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
async deleteStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteStateInterest(vbasoftwareDatabase, stateInterestKey, options);
|
|
373
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
|
+
},
|
|
375
|
+
/**
|
|
376
|
+
* Gets StateInterest
|
|
377
|
+
* @summary Get StateInterest
|
|
378
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
379
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
*/
|
|
383
|
+
async getStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateInterestVBAResponse>> {
|
|
384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStateInterest(vbasoftwareDatabase, stateInterestKey, options);
|
|
385
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
386
|
+
},
|
|
387
|
+
/**
|
|
388
|
+
* Lists all StateInterest
|
|
389
|
+
* @summary List StateInterest
|
|
390
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
391
|
+
* @param {number} [page] Page
|
|
392
|
+
* @param {number} [pageSize] Page Size
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
async listStateInterest(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateInterestListVBAResponse>> {
|
|
397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listStateInterest(vbasoftwareDatabase, page, pageSize, options);
|
|
398
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
399
|
+
},
|
|
400
|
+
/**
|
|
401
|
+
* Create or Update multiple StateInterest at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
402
|
+
* @summary Create or Update Batch StateInterest
|
|
403
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
404
|
+
* @param {Array<StateInterest>} stateInterest
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
*/
|
|
408
|
+
async updateBatchStateInterest(vbasoftwareDatabase: string, stateInterest: Array<StateInterest>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
409
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchStateInterest(vbasoftwareDatabase, stateInterest, options);
|
|
410
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
411
|
+
},
|
|
412
|
+
/**
|
|
413
|
+
* Updates a specific StateInterest.
|
|
414
|
+
* @summary Update StateInterest
|
|
415
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
416
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
417
|
+
* @param {StateInterest} stateInterest
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
*/
|
|
421
|
+
async updateStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, stateInterest: StateInterest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StateInterestVBAResponse>> {
|
|
422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateStateInterest(vbasoftwareDatabase, stateInterestKey, stateInterest, options);
|
|
423
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
424
|
+
},
|
|
425
|
+
}
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* StateInterestApi - factory interface
|
|
430
|
+
* @export
|
|
431
|
+
*/
|
|
432
|
+
export const StateInterestApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
433
|
+
const localVarFp = StateInterestApiFp(configuration)
|
|
434
|
+
return {
|
|
435
|
+
/**
|
|
436
|
+
* Creates a new StateInterest
|
|
437
|
+
* @summary Create StateInterest
|
|
438
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
439
|
+
* @param {StateInterest} stateInterest
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
createStateInterest(vbasoftwareDatabase: string, stateInterest: StateInterest, options?: any): AxiosPromise<StateInterestVBAResponse> {
|
|
444
|
+
return localVarFp.createStateInterest(vbasoftwareDatabase, stateInterest, options).then((request) => request(axios, basePath));
|
|
445
|
+
},
|
|
446
|
+
/**
|
|
447
|
+
* Deletes an StateInterest
|
|
448
|
+
* @summary Delete StateInterest
|
|
449
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
450
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
451
|
+
* @param {*} [options] Override http request option.
|
|
452
|
+
* @throws {RequiredError}
|
|
453
|
+
*/
|
|
454
|
+
deleteStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, options?: any): AxiosPromise<void> {
|
|
455
|
+
return localVarFp.deleteStateInterest(vbasoftwareDatabase, stateInterestKey, options).then((request) => request(axios, basePath));
|
|
456
|
+
},
|
|
457
|
+
/**
|
|
458
|
+
* Gets StateInterest
|
|
459
|
+
* @summary Get StateInterest
|
|
460
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
461
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
*/
|
|
465
|
+
getStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, options?: any): AxiosPromise<StateInterestVBAResponse> {
|
|
466
|
+
return localVarFp.getStateInterest(vbasoftwareDatabase, stateInterestKey, options).then((request) => request(axios, basePath));
|
|
467
|
+
},
|
|
468
|
+
/**
|
|
469
|
+
* Lists all StateInterest
|
|
470
|
+
* @summary List StateInterest
|
|
471
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
472
|
+
* @param {number} [page] Page
|
|
473
|
+
* @param {number} [pageSize] Page Size
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
*/
|
|
477
|
+
listStateInterest(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: any): AxiosPromise<StateInterestListVBAResponse> {
|
|
478
|
+
return localVarFp.listStateInterest(vbasoftwareDatabase, page, pageSize, options).then((request) => request(axios, basePath));
|
|
479
|
+
},
|
|
480
|
+
/**
|
|
481
|
+
* Create or Update multiple StateInterest at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
482
|
+
* @summary Create or Update Batch StateInterest
|
|
483
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
484
|
+
* @param {Array<StateInterest>} stateInterest
|
|
485
|
+
* @param {*} [options] Override http request option.
|
|
486
|
+
* @throws {RequiredError}
|
|
487
|
+
*/
|
|
488
|
+
updateBatchStateInterest(vbasoftwareDatabase: string, stateInterest: Array<StateInterest>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
489
|
+
return localVarFp.updateBatchStateInterest(vbasoftwareDatabase, stateInterest, options).then((request) => request(axios, basePath));
|
|
490
|
+
},
|
|
491
|
+
/**
|
|
492
|
+
* Updates a specific StateInterest.
|
|
493
|
+
* @summary Update StateInterest
|
|
494
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
495
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
496
|
+
* @param {StateInterest} stateInterest
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
updateStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, stateInterest: StateInterest, options?: any): AxiosPromise<StateInterestVBAResponse> {
|
|
501
|
+
return localVarFp.updateStateInterest(vbasoftwareDatabase, stateInterestKey, stateInterest, options).then((request) => request(axios, basePath));
|
|
502
|
+
},
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* StateInterestApi - interface
|
|
508
|
+
* @export
|
|
509
|
+
* @interface StateInterestApi
|
|
510
|
+
*/
|
|
511
|
+
export interface StateInterestApiInterface {
|
|
512
|
+
/**
|
|
513
|
+
* Creates a new StateInterest
|
|
514
|
+
* @summary Create StateInterest
|
|
515
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
516
|
+
* @param {StateInterest} stateInterest
|
|
517
|
+
* @param {*} [options] Override http request option.
|
|
518
|
+
* @throws {RequiredError}
|
|
519
|
+
* @memberof StateInterestApiInterface
|
|
520
|
+
*/
|
|
521
|
+
createStateInterest(vbasoftwareDatabase: string, stateInterest: StateInterest, options?: AxiosRequestConfig): AxiosPromise<StateInterestVBAResponse>;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Deletes an StateInterest
|
|
525
|
+
* @summary Delete StateInterest
|
|
526
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
527
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
* @memberof StateInterestApiInterface
|
|
531
|
+
*/
|
|
532
|
+
deleteStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Gets StateInterest
|
|
536
|
+
* @summary Get StateInterest
|
|
537
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
538
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
* @memberof StateInterestApiInterface
|
|
542
|
+
*/
|
|
543
|
+
getStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, options?: AxiosRequestConfig): AxiosPromise<StateInterestVBAResponse>;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Lists all StateInterest
|
|
547
|
+
* @summary List StateInterest
|
|
548
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
549
|
+
* @param {number} [page] Page
|
|
550
|
+
* @param {number} [pageSize] Page Size
|
|
551
|
+
* @param {*} [options] Override http request option.
|
|
552
|
+
* @throws {RequiredError}
|
|
553
|
+
* @memberof StateInterestApiInterface
|
|
554
|
+
*/
|
|
555
|
+
listStateInterest(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<StateInterestListVBAResponse>;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Create or Update multiple StateInterest at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
559
|
+
* @summary Create or Update Batch StateInterest
|
|
560
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
561
|
+
* @param {Array<StateInterest>} stateInterest
|
|
562
|
+
* @param {*} [options] Override http request option.
|
|
563
|
+
* @throws {RequiredError}
|
|
564
|
+
* @memberof StateInterestApiInterface
|
|
565
|
+
*/
|
|
566
|
+
updateBatchStateInterest(vbasoftwareDatabase: string, stateInterest: Array<StateInterest>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Updates a specific StateInterest.
|
|
570
|
+
* @summary Update StateInterest
|
|
571
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
572
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
573
|
+
* @param {StateInterest} stateInterest
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
* @memberof StateInterestApiInterface
|
|
577
|
+
*/
|
|
578
|
+
updateStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, stateInterest: StateInterest, options?: AxiosRequestConfig): AxiosPromise<StateInterestVBAResponse>;
|
|
579
|
+
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* StateInterestApi - object-oriented interface
|
|
584
|
+
* @export
|
|
585
|
+
* @class StateInterestApi
|
|
586
|
+
* @extends {BaseAPI}
|
|
587
|
+
*/
|
|
588
|
+
export class StateInterestApi extends BaseAPI implements StateInterestApiInterface {
|
|
589
|
+
/**
|
|
590
|
+
* Creates a new StateInterest
|
|
591
|
+
* @summary Create StateInterest
|
|
592
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
593
|
+
* @param {StateInterest} stateInterest
|
|
594
|
+
* @param {*} [options] Override http request option.
|
|
595
|
+
* @throws {RequiredError}
|
|
596
|
+
* @memberof StateInterestApi
|
|
597
|
+
*/
|
|
598
|
+
public createStateInterest(vbasoftwareDatabase: string, stateInterest: StateInterest, options?: AxiosRequestConfig) {
|
|
599
|
+
return StateInterestApiFp(this.configuration).createStateInterest(vbasoftwareDatabase, stateInterest, options).then((request) => request(this.axios, this.basePath));
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Deletes an StateInterest
|
|
604
|
+
* @summary Delete StateInterest
|
|
605
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
606
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
* @memberof StateInterestApi
|
|
610
|
+
*/
|
|
611
|
+
public deleteStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, options?: AxiosRequestConfig) {
|
|
612
|
+
return StateInterestApiFp(this.configuration).deleteStateInterest(vbasoftwareDatabase, stateInterestKey, options).then((request) => request(this.axios, this.basePath));
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Gets StateInterest
|
|
617
|
+
* @summary Get StateInterest
|
|
618
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
619
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
620
|
+
* @param {*} [options] Override http request option.
|
|
621
|
+
* @throws {RequiredError}
|
|
622
|
+
* @memberof StateInterestApi
|
|
623
|
+
*/
|
|
624
|
+
public getStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, options?: AxiosRequestConfig) {
|
|
625
|
+
return StateInterestApiFp(this.configuration).getStateInterest(vbasoftwareDatabase, stateInterestKey, options).then((request) => request(this.axios, this.basePath));
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Lists all StateInterest
|
|
630
|
+
* @summary List StateInterest
|
|
631
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
632
|
+
* @param {number} [page] Page
|
|
633
|
+
* @param {number} [pageSize] Page Size
|
|
634
|
+
* @param {*} [options] Override http request option.
|
|
635
|
+
* @throws {RequiredError}
|
|
636
|
+
* @memberof StateInterestApi
|
|
637
|
+
*/
|
|
638
|
+
public listStateInterest(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
639
|
+
return StateInterestApiFp(this.configuration).listStateInterest(vbasoftwareDatabase, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Create or Update multiple StateInterest at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
644
|
+
* @summary Create or Update Batch StateInterest
|
|
645
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
646
|
+
* @param {Array<StateInterest>} stateInterest
|
|
647
|
+
* @param {*} [options] Override http request option.
|
|
648
|
+
* @throws {RequiredError}
|
|
649
|
+
* @memberof StateInterestApi
|
|
650
|
+
*/
|
|
651
|
+
public updateBatchStateInterest(vbasoftwareDatabase: string, stateInterest: Array<StateInterest>, options?: AxiosRequestConfig) {
|
|
652
|
+
return StateInterestApiFp(this.configuration).updateBatchStateInterest(vbasoftwareDatabase, stateInterest, options).then((request) => request(this.axios, this.basePath));
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Updates a specific StateInterest.
|
|
657
|
+
* @summary Update StateInterest
|
|
658
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
659
|
+
* @param {number} stateInterestKey StateInterest Key
|
|
660
|
+
* @param {StateInterest} stateInterest
|
|
661
|
+
* @param {*} [options] Override http request option.
|
|
662
|
+
* @throws {RequiredError}
|
|
663
|
+
* @memberof StateInterestApi
|
|
664
|
+
*/
|
|
665
|
+
public updateStateInterest(vbasoftwareDatabase: string, stateInterestKey: number, stateInterest: StateInterest, options?: AxiosRequestConfig) {
|
|
666
|
+
return StateInterestApiFp(this.configuration).updateStateInterest(vbasoftwareDatabase, stateInterestKey, stateInterest, options).then((request) => request(this.axios, this.basePath));
|
|
667
|
+
}
|
|
668
|
+
}
|