@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250307.1 → 1.20250314.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 +5 -0
- package/api/adv-groups-api.ts +96 -0
- package/api/bold-reports-api.ts +167 -0
- package/api/groups-api.ts +96 -0
- package/api/patient-status-api.ts +685 -0
- package/api.ts +2 -0
- package/models/index.ts +3 -0
- package/models/patient-status-list-vbaresponse.ts +51 -0
- package/models/patient-status-vbaresponse.ts +51 -0
- package/models/patient-status.ts +60 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -55,6 +55,7 @@ api/bill-types-api.ts
|
|
|
55
55
|
api/billing-api.ts
|
|
56
56
|
api/billing-basis-api.ts
|
|
57
57
|
api/billing-cycles-api.ts
|
|
58
|
+
api/bold-reports-api.ts
|
|
58
59
|
api/brokerage-api.ts
|
|
59
60
|
api/call-destinations-api.ts
|
|
60
61
|
api/call-statuses-api.ts
|
|
@@ -562,6 +563,7 @@ api/note-sources-api.ts
|
|
|
562
563
|
api/note-types-api.ts
|
|
563
564
|
api/objects-api.ts
|
|
564
565
|
api/occupations-api.ts
|
|
566
|
+
api/patient-status-api.ts
|
|
565
567
|
api/pay-frequency-api.ts
|
|
566
568
|
api/payee-accounts-api.ts
|
|
567
569
|
api/payees-api.ts
|
|
@@ -2522,6 +2524,9 @@ models/occupation-list-vbaresponse.ts
|
|
|
2522
2524
|
models/occupation-vbaresponse.ts
|
|
2523
2525
|
models/occupation.ts
|
|
2524
2526
|
models/option-criteria.ts
|
|
2527
|
+
models/patient-status-list-vbaresponse.ts
|
|
2528
|
+
models/patient-status-vbaresponse.ts
|
|
2529
|
+
models/patient-status.ts
|
|
2525
2530
|
models/payee-account-list-vbaresponse.ts
|
|
2526
2531
|
models/payee-account-vbaresponse.ts
|
|
2527
2532
|
models/payee-account.ts
|
package/api/adv-groups-api.ts
CHANGED
|
@@ -183,6 +183,53 @@ export const AdvGroupsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
183
183
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
184
184
|
localVarRequestOptions.data = serializeDataIfNeeded(enrollmentReenroll, localVarRequestOptions, configuration)
|
|
185
185
|
|
|
186
|
+
return {
|
|
187
|
+
url: toPathString(localVarUrlObj),
|
|
188
|
+
options: localVarRequestOptions,
|
|
189
|
+
};
|
|
190
|
+
},
|
|
191
|
+
/**
|
|
192
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
193
|
+
* @summary Recalculate Accumulators for Group
|
|
194
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
195
|
+
* @param {string} groupID Group ID
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
recalculateGroupAccumulators: async (vbasoftwareDatabase: string, groupID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
200
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
201
|
+
assertParamExists('recalculateGroupAccumulators', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
202
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
203
|
+
assertParamExists('recalculateGroupAccumulators', 'groupID', groupID)
|
|
204
|
+
const localVarPath = `/groups/{groupID}/recalculate-accumulators`
|
|
205
|
+
.replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)));
|
|
206
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
207
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
208
|
+
let baseOptions;
|
|
209
|
+
if (configuration) {
|
|
210
|
+
baseOptions = configuration.baseOptions;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
214
|
+
const localVarHeaderParameter = {} as any;
|
|
215
|
+
const localVarQueryParameter = {} as any;
|
|
216
|
+
|
|
217
|
+
// authentication apiKeyAuth required
|
|
218
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
219
|
+
|
|
220
|
+
// authentication bearerAuth required
|
|
221
|
+
// http bearer authentication required
|
|
222
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
if (vbasoftwareDatabase != null) {
|
|
227
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
228
|
+
}
|
|
229
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
232
|
+
|
|
186
233
|
return {
|
|
187
234
|
url: toPathString(localVarUrlObj),
|
|
188
235
|
options: localVarRequestOptions,
|
|
@@ -242,6 +289,20 @@ export const AdvGroupsApiFp = function(configuration?: Configuration) {
|
|
|
242
289
|
const localVarOperationServerBasePath = operationServerMap['AdvGroupsApi.groupReenroll']?.[localVarOperationServerIndex]?.url;
|
|
243
290
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
244
291
|
},
|
|
292
|
+
/**
|
|
293
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
294
|
+
* @summary Recalculate Accumulators for Group
|
|
295
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
296
|
+
* @param {string} groupID Group ID
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
async recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options);
|
|
302
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
303
|
+
const localVarOperationServerBasePath = operationServerMap['AdvGroupsApi.recalculateGroupAccumulators']?.[localVarOperationServerIndex]?.url;
|
|
304
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
305
|
+
},
|
|
245
306
|
}
|
|
246
307
|
};
|
|
247
308
|
|
|
@@ -287,6 +348,17 @@ export const AdvGroupsApiFactory = function (configuration?: Configuration, base
|
|
|
287
348
|
groupReenroll(vbasoftwareDatabase: string, groupID: string, enrollmentReenroll: EnrollmentReenroll, options?: RawAxiosRequestConfig): AxiosPromise<VBAProcessVBAResponse> {
|
|
288
349
|
return localVarFp.groupReenroll(vbasoftwareDatabase, groupID, enrollmentReenroll, options).then((request) => request(axios, basePath));
|
|
289
350
|
},
|
|
351
|
+
/**
|
|
352
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
353
|
+
* @summary Recalculate Accumulators for Group
|
|
354
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
355
|
+
* @param {string} groupID Group ID
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
360
|
+
return localVarFp.recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options).then((request) => request(axios, basePath));
|
|
361
|
+
},
|
|
290
362
|
};
|
|
291
363
|
};
|
|
292
364
|
|
|
@@ -331,6 +403,17 @@ export interface AdvGroupsApiInterface {
|
|
|
331
403
|
*/
|
|
332
404
|
groupReenroll(vbasoftwareDatabase: string, groupID: string, enrollmentReenroll: EnrollmentReenroll, options?: RawAxiosRequestConfig): AxiosPromise<VBAProcessVBAResponse>;
|
|
333
405
|
|
|
406
|
+
/**
|
|
407
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
408
|
+
* @summary Recalculate Accumulators for Group
|
|
409
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
410
|
+
* @param {string} groupID Group ID
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
* @memberof AdvGroupsApiInterface
|
|
414
|
+
*/
|
|
415
|
+
recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
416
|
+
|
|
334
417
|
}
|
|
335
418
|
|
|
336
419
|
/**
|
|
@@ -380,5 +463,18 @@ export class AdvGroupsApi extends BaseAPI implements AdvGroupsApiInterface {
|
|
|
380
463
|
public groupReenroll(vbasoftwareDatabase: string, groupID: string, enrollmentReenroll: EnrollmentReenroll, options?: RawAxiosRequestConfig) {
|
|
381
464
|
return AdvGroupsApiFp(this.configuration).groupReenroll(vbasoftwareDatabase, groupID, enrollmentReenroll, options).then((request) => request(this.axios, this.basePath));
|
|
382
465
|
}
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
469
|
+
* @summary Recalculate Accumulators for Group
|
|
470
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
471
|
+
* @param {string} groupID Group ID
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
* @memberof AdvGroupsApi
|
|
475
|
+
*/
|
|
476
|
+
public recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig) {
|
|
477
|
+
return AdvGroupsApiFp(this.configuration).recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options).then((request) => request(this.axios, this.basePath));
|
|
478
|
+
}
|
|
383
479
|
}
|
|
384
480
|
|
|
@@ -0,0 +1,167 @@
|
|
|
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 { VBAReportListVBAResponse } from '../models';
|
|
26
|
+
/**
|
|
27
|
+
* BoldReportsApi - axios parameter creator
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export const BoldReportsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31
|
+
return {
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves a list of all available Bold Reports.
|
|
34
|
+
* @summary List Bold Reports
|
|
35
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
36
|
+
* @param {string} [category] category
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
listBoldReports: async (vbasoftwareDatabase: string, category?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
42
|
+
assertParamExists('listBoldReports', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
43
|
+
const localVarPath = `/reports/vbareporting`;
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
52
|
+
const localVarHeaderParameter = {} as any;
|
|
53
|
+
const localVarQueryParameter = {} as any;
|
|
54
|
+
|
|
55
|
+
// authentication apiKeyAuth required
|
|
56
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
57
|
+
|
|
58
|
+
// authentication bearerAuth required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61
|
+
|
|
62
|
+
if (category !== undefined) {
|
|
63
|
+
localVarQueryParameter['category'] = category;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
if (vbasoftwareDatabase != null) {
|
|
69
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
70
|
+
}
|
|
71
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
url: toPathString(localVarUrlObj),
|
|
77
|
+
options: localVarRequestOptions,
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* BoldReportsApi - functional programming interface
|
|
85
|
+
* @export
|
|
86
|
+
*/
|
|
87
|
+
export const BoldReportsApiFp = function(configuration?: Configuration) {
|
|
88
|
+
const localVarAxiosParamCreator = BoldReportsApiAxiosParamCreator(configuration)
|
|
89
|
+
return {
|
|
90
|
+
/**
|
|
91
|
+
* Retrieves a list of all available Bold Reports.
|
|
92
|
+
* @summary List Bold Reports
|
|
93
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
94
|
+
* @param {string} [category] category
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
async listBoldReports(vbasoftwareDatabase: string, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAReportListVBAResponse>> {
|
|
99
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBoldReports(vbasoftwareDatabase, category, options);
|
|
100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
101
|
+
const localVarOperationServerBasePath = operationServerMap['BoldReportsApi.listBoldReports']?.[localVarOperationServerIndex]?.url;
|
|
102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103
|
+
},
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* BoldReportsApi - factory interface
|
|
109
|
+
* @export
|
|
110
|
+
*/
|
|
111
|
+
export const BoldReportsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
112
|
+
const localVarFp = BoldReportsApiFp(configuration)
|
|
113
|
+
return {
|
|
114
|
+
/**
|
|
115
|
+
* Retrieves a list of all available Bold Reports.
|
|
116
|
+
* @summary List Bold Reports
|
|
117
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
118
|
+
* @param {string} [category] category
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
listBoldReports(vbasoftwareDatabase: string, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAReportListVBAResponse> {
|
|
123
|
+
return localVarFp.listBoldReports(vbasoftwareDatabase, category, options).then((request) => request(axios, basePath));
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* BoldReportsApi - interface
|
|
130
|
+
* @export
|
|
131
|
+
* @interface BoldReportsApi
|
|
132
|
+
*/
|
|
133
|
+
export interface BoldReportsApiInterface {
|
|
134
|
+
/**
|
|
135
|
+
* Retrieves a list of all available Bold Reports.
|
|
136
|
+
* @summary List Bold Reports
|
|
137
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
138
|
+
* @param {string} [category] category
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
* @memberof BoldReportsApiInterface
|
|
142
|
+
*/
|
|
143
|
+
listBoldReports(vbasoftwareDatabase: string, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<VBAReportListVBAResponse>;
|
|
144
|
+
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* BoldReportsApi - object-oriented interface
|
|
149
|
+
* @export
|
|
150
|
+
* @class BoldReportsApi
|
|
151
|
+
* @extends {BaseAPI}
|
|
152
|
+
*/
|
|
153
|
+
export class BoldReportsApi extends BaseAPI implements BoldReportsApiInterface {
|
|
154
|
+
/**
|
|
155
|
+
* Retrieves a list of all available Bold Reports.
|
|
156
|
+
* @summary List Bold Reports
|
|
157
|
+
* @param {string} vbasoftwareDatabase The target database name to query.
|
|
158
|
+
* @param {string} [category] category
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
* @memberof BoldReportsApi
|
|
162
|
+
*/
|
|
163
|
+
public listBoldReports(vbasoftwareDatabase: string, category?: string, options?: RawAxiosRequestConfig) {
|
|
164
|
+
return BoldReportsApiFp(this.configuration).listBoldReports(vbasoftwareDatabase, category, options).then((request) => request(this.axios, this.basePath));
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
package/api/groups-api.ts
CHANGED
|
@@ -479,6 +479,53 @@ export const GroupsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
|
|
482
|
+
if (vbasoftwareDatabase != null) {
|
|
483
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
484
|
+
}
|
|
485
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
486
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
487
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
488
|
+
|
|
489
|
+
return {
|
|
490
|
+
url: toPathString(localVarUrlObj),
|
|
491
|
+
options: localVarRequestOptions,
|
|
492
|
+
};
|
|
493
|
+
},
|
|
494
|
+
/**
|
|
495
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
496
|
+
* @summary Recalculate Accumulators for Group
|
|
497
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
498
|
+
* @param {string} groupID Group ID
|
|
499
|
+
* @param {*} [options] Override http request option.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
recalculateGroupAccumulators: async (vbasoftwareDatabase: string, groupID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
503
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
504
|
+
assertParamExists('recalculateGroupAccumulators', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
505
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
506
|
+
assertParamExists('recalculateGroupAccumulators', 'groupID', groupID)
|
|
507
|
+
const localVarPath = `/groups/{groupID}/recalculate-accumulators`
|
|
508
|
+
.replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)));
|
|
509
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
510
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
511
|
+
let baseOptions;
|
|
512
|
+
if (configuration) {
|
|
513
|
+
baseOptions = configuration.baseOptions;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
517
|
+
const localVarHeaderParameter = {} as any;
|
|
518
|
+
const localVarQueryParameter = {} as any;
|
|
519
|
+
|
|
520
|
+
// authentication apiKeyAuth required
|
|
521
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
522
|
+
|
|
523
|
+
// authentication bearerAuth required
|
|
524
|
+
// http bearer authentication required
|
|
525
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
482
529
|
if (vbasoftwareDatabase != null) {
|
|
483
530
|
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
484
531
|
}
|
|
@@ -727,6 +774,20 @@ export const GroupsApiFp = function(configuration?: Configuration) {
|
|
|
727
774
|
const localVarOperationServerBasePath = operationServerMap['GroupsApi.listGroups']?.[localVarOperationServerIndex]?.url;
|
|
728
775
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
729
776
|
},
|
|
777
|
+
/**
|
|
778
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
779
|
+
* @summary Recalculate Accumulators for Group
|
|
780
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
781
|
+
* @param {string} groupID Group ID
|
|
782
|
+
* @param {*} [options] Override http request option.
|
|
783
|
+
* @throws {RequiredError}
|
|
784
|
+
*/
|
|
785
|
+
async recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
786
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options);
|
|
787
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
788
|
+
const localVarOperationServerBasePath = operationServerMap['GroupsApi.recalculateGroupAccumulators']?.[localVarOperationServerIndex]?.url;
|
|
789
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
790
|
+
},
|
|
730
791
|
/**
|
|
731
792
|
* Create or Update multiple Groups at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
732
793
|
* @summary Create or Update Batch Groups
|
|
@@ -866,6 +927,17 @@ export const GroupsApiFactory = function (configuration?: Configuration, basePat
|
|
|
866
927
|
listGroups(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: RawAxiosRequestConfig): AxiosPromise<GroupsListVBAResponse> {
|
|
867
928
|
return localVarFp.listGroups(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(axios, basePath));
|
|
868
929
|
},
|
|
930
|
+
/**
|
|
931
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
932
|
+
* @summary Recalculate Accumulators for Group
|
|
933
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
934
|
+
* @param {string} groupID Group ID
|
|
935
|
+
* @param {*} [options] Override http request option.
|
|
936
|
+
* @throws {RequiredError}
|
|
937
|
+
*/
|
|
938
|
+
recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
939
|
+
return localVarFp.recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options).then((request) => request(axios, basePath));
|
|
940
|
+
},
|
|
869
941
|
/**
|
|
870
942
|
* Create or Update multiple Groups at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
871
943
|
* @summary Create or Update Batch Groups
|
|
@@ -998,6 +1070,17 @@ export interface GroupsApiInterface {
|
|
|
998
1070
|
*/
|
|
999
1071
|
listGroups(vbasoftwareDatabase: string, page?: number, pageSize?: number, sortBy?: string, options?: RawAxiosRequestConfig): AxiosPromise<GroupsListVBAResponse>;
|
|
1000
1072
|
|
|
1073
|
+
/**
|
|
1074
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
1075
|
+
* @summary Recalculate Accumulators for Group
|
|
1076
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1077
|
+
* @param {string} groupID Group ID
|
|
1078
|
+
* @param {*} [options] Override http request option.
|
|
1079
|
+
* @throws {RequiredError}
|
|
1080
|
+
* @memberof GroupsApiInterface
|
|
1081
|
+
*/
|
|
1082
|
+
recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1083
|
+
|
|
1001
1084
|
/**
|
|
1002
1085
|
* Create or Update multiple Groups at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
1003
1086
|
* @summary Create or Update Batch Groups
|
|
@@ -1146,6 +1229,19 @@ export class GroupsApi extends BaseAPI implements GroupsApiInterface {
|
|
|
1146
1229
|
return GroupsApiFp(this.configuration).listGroups(vbasoftwareDatabase, page, pageSize, sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
1147
1230
|
}
|
|
1148
1231
|
|
|
1232
|
+
/**
|
|
1233
|
+
* Recalculate accumulators for all Subscribers in a given group.
|
|
1234
|
+
* @summary Recalculate Accumulators for Group
|
|
1235
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1236
|
+
* @param {string} groupID Group ID
|
|
1237
|
+
* @param {*} [options] Override http request option.
|
|
1238
|
+
* @throws {RequiredError}
|
|
1239
|
+
* @memberof GroupsApi
|
|
1240
|
+
*/
|
|
1241
|
+
public recalculateGroupAccumulators(vbasoftwareDatabase: string, groupID: string, options?: RawAxiosRequestConfig) {
|
|
1242
|
+
return GroupsApiFp(this.configuration).recalculateGroupAccumulators(vbasoftwareDatabase, groupID, options).then((request) => request(this.axios, this.basePath));
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1149
1245
|
/**
|
|
1150
1246
|
* Create or Update multiple Groups at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
1151
1247
|
* @summary Create or Update Batch Groups
|
|
@@ -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 { PatientStatus } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { PatientStatusListVBAResponse } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { PatientStatusVBAResponse } from '../models';
|
|
32
|
+
/**
|
|
33
|
+
* PatientStatusApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export const PatientStatusApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* Creates a new PatientStatus
|
|
40
|
+
* @summary Create PatientStatus
|
|
41
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
42
|
+
* @param {PatientStatus} patientStatus
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
createPatientStatus: async (vbasoftwareDatabase: string, patientStatus: PatientStatus, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
48
|
+
assertParamExists('createPatientStatus', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
49
|
+
// verify required parameter 'patientStatus' is not null or undefined
|
|
50
|
+
assertParamExists('createPatientStatus', 'patientStatus', patientStatus)
|
|
51
|
+
const localVarPath = `/patient-statuses`;
|
|
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(patientStatus, localVarRequestOptions, configuration)
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
url: toPathString(localVarUrlObj),
|
|
84
|
+
options: localVarRequestOptions,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* Deletes an PatientStatus
|
|
89
|
+
* @summary Delete PatientStatus
|
|
90
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
91
|
+
* @param {string} patientStatus Patient Status
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
deletePatientStatus: async (vbasoftwareDatabase: string, patientStatus: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
97
|
+
assertParamExists('deletePatientStatus', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
98
|
+
// verify required parameter 'patientStatus' is not null or undefined
|
|
99
|
+
assertParamExists('deletePatientStatus', 'patientStatus', patientStatus)
|
|
100
|
+
const localVarPath = `/patient-statuses/{Patient_Status}`
|
|
101
|
+
.replace(`{${"Patient_Status"}}`, encodeURIComponent(String(patientStatus)));
|
|
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 PatientStatus
|
|
136
|
+
* @summary Get PatientStatus
|
|
137
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
138
|
+
* @param {string} patientStatus Patient Status
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
getPatientStatus: async (vbasoftwareDatabase: string, patientStatus: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
143
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
144
|
+
assertParamExists('getPatientStatus', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
145
|
+
// verify required parameter 'patientStatus' is not null or undefined
|
|
146
|
+
assertParamExists('getPatientStatus', 'patientStatus', patientStatus)
|
|
147
|
+
const localVarPath = `/patient-statuses/{Patient_Status}`
|
|
148
|
+
.replace(`{${"Patient_Status"}}`, encodeURIComponent(String(patientStatus)));
|
|
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 PatientStatus
|
|
183
|
+
* @summary List PatientStatus
|
|
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., \'Property1:desc,Property2:asc,Property3:asc\' 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
|
+
listPatientStatus: 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('listPatientStatus', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
194
|
+
const localVarPath = `/patient-statuses`;
|
|
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 PatientStatus 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 PatientStatus
|
|
242
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
243
|
+
* @param {Array<PatientStatus>} patientStatus
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
updateBatchPatientStatus: async (vbasoftwareDatabase: string, patientStatus: Array<PatientStatus>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
248
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
249
|
+
assertParamExists('updateBatchPatientStatus', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
250
|
+
// verify required parameter 'patientStatus' is not null or undefined
|
|
251
|
+
assertParamExists('updateBatchPatientStatus', 'patientStatus', patientStatus)
|
|
252
|
+
const localVarPath = `/patient-statuses-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(patientStatus, localVarRequestOptions, configuration)
|
|
282
|
+
|
|
283
|
+
return {
|
|
284
|
+
url: toPathString(localVarUrlObj),
|
|
285
|
+
options: localVarRequestOptions,
|
|
286
|
+
};
|
|
287
|
+
},
|
|
288
|
+
/**
|
|
289
|
+
* Updates a specific PatientStatus.
|
|
290
|
+
* @summary Update PatientStatus
|
|
291
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
292
|
+
* @param {string} patientStatus Patient Status
|
|
293
|
+
* @param {PatientStatus} patientStatus2
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
*/
|
|
297
|
+
updatePatientStatus: async (vbasoftwareDatabase: string, patientStatus: string, patientStatus2: PatientStatus, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
298
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
299
|
+
assertParamExists('updatePatientStatus', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
300
|
+
// verify required parameter 'patientStatus' is not null or undefined
|
|
301
|
+
assertParamExists('updatePatientStatus', 'patientStatus', patientStatus)
|
|
302
|
+
// verify required parameter 'patientStatus2' is not null or undefined
|
|
303
|
+
assertParamExists('updatePatientStatus', 'patientStatus2', patientStatus2)
|
|
304
|
+
const localVarPath = `/patient-statuses/{Patient_Status}`
|
|
305
|
+
.replace(`{${"Patient_Status"}}`, encodeURIComponent(String(patientStatus)));
|
|
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(patientStatus2, localVarRequestOptions, configuration)
|
|
335
|
+
|
|
336
|
+
return {
|
|
337
|
+
url: toPathString(localVarUrlObj),
|
|
338
|
+
options: localVarRequestOptions,
|
|
339
|
+
};
|
|
340
|
+
},
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* PatientStatusApi - functional programming interface
|
|
346
|
+
* @export
|
|
347
|
+
*/
|
|
348
|
+
export const PatientStatusApiFp = function(configuration?: Configuration) {
|
|
349
|
+
const localVarAxiosParamCreator = PatientStatusApiAxiosParamCreator(configuration)
|
|
350
|
+
return {
|
|
351
|
+
/**
|
|
352
|
+
* Creates a new PatientStatus
|
|
353
|
+
* @summary Create PatientStatus
|
|
354
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
355
|
+
* @param {PatientStatus} patientStatus
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
async createPatientStatus(vbasoftwareDatabase: string, patientStatus: PatientStatus, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientStatusVBAResponse>> {
|
|
360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createPatientStatus(vbasoftwareDatabase, patientStatus, options);
|
|
361
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
362
|
+
const localVarOperationServerBasePath = operationServerMap['PatientStatusApi.createPatientStatus']?.[localVarOperationServerIndex]?.url;
|
|
363
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
* Deletes an PatientStatus
|
|
367
|
+
* @summary Delete PatientStatus
|
|
368
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
369
|
+
* @param {string} patientStatus Patient Status
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
async deletePatientStatus(vbasoftwareDatabase: string, patientStatus: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletePatientStatus(vbasoftwareDatabase, patientStatus, options);
|
|
375
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
376
|
+
const localVarOperationServerBasePath = operationServerMap['PatientStatusApi.deletePatientStatus']?.[localVarOperationServerIndex]?.url;
|
|
377
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
378
|
+
},
|
|
379
|
+
/**
|
|
380
|
+
* Gets PatientStatus
|
|
381
|
+
* @summary Get PatientStatus
|
|
382
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
383
|
+
* @param {string} patientStatus Patient Status
|
|
384
|
+
* @param {*} [options] Override http request option.
|
|
385
|
+
* @throws {RequiredError}
|
|
386
|
+
*/
|
|
387
|
+
async getPatientStatus(vbasoftwareDatabase: string, patientStatus: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientStatusVBAResponse>> {
|
|
388
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPatientStatus(vbasoftwareDatabase, patientStatus, options);
|
|
389
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
390
|
+
const localVarOperationServerBasePath = operationServerMap['PatientStatusApi.getPatientStatus']?.[localVarOperationServerIndex]?.url;
|
|
391
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
392
|
+
},
|
|
393
|
+
/**
|
|
394
|
+
* Lists all PatientStatus
|
|
395
|
+
* @summary List PatientStatus
|
|
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., \'Property1:desc,Property2:asc,Property3:asc\' 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 listPatientStatus(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientStatusListVBAResponse>> {
|
|
404
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPatientStatus(vbasoftwareDatabase, sortBy, page, pageSize, options);
|
|
405
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
406
|
+
const localVarOperationServerBasePath = operationServerMap['PatientStatusApi.listPatientStatus']?.[localVarOperationServerIndex]?.url;
|
|
407
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
408
|
+
},
|
|
409
|
+
/**
|
|
410
|
+
* Create or Update multiple PatientStatus 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 PatientStatus
|
|
412
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
413
|
+
* @param {Array<PatientStatus>} patientStatus
|
|
414
|
+
* @param {*} [options] Override http request option.
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
async updateBatchPatientStatus(vbasoftwareDatabase: string, patientStatus: Array<PatientStatus>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
|
|
418
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchPatientStatus(vbasoftwareDatabase, patientStatus, options);
|
|
419
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
420
|
+
const localVarOperationServerBasePath = operationServerMap['PatientStatusApi.updateBatchPatientStatus']?.[localVarOperationServerIndex]?.url;
|
|
421
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
422
|
+
},
|
|
423
|
+
/**
|
|
424
|
+
* Updates a specific PatientStatus.
|
|
425
|
+
* @summary Update PatientStatus
|
|
426
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
427
|
+
* @param {string} patientStatus Patient Status
|
|
428
|
+
* @param {PatientStatus} patientStatus2
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
async updatePatientStatus(vbasoftwareDatabase: string, patientStatus: string, patientStatus2: PatientStatus, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientStatusVBAResponse>> {
|
|
433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePatientStatus(vbasoftwareDatabase, patientStatus, patientStatus2, options);
|
|
434
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
435
|
+
const localVarOperationServerBasePath = operationServerMap['PatientStatusApi.updatePatientStatus']?.[localVarOperationServerIndex]?.url;
|
|
436
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
437
|
+
},
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* PatientStatusApi - factory interface
|
|
443
|
+
* @export
|
|
444
|
+
*/
|
|
445
|
+
export const PatientStatusApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
446
|
+
const localVarFp = PatientStatusApiFp(configuration)
|
|
447
|
+
return {
|
|
448
|
+
/**
|
|
449
|
+
* Creates a new PatientStatus
|
|
450
|
+
* @summary Create PatientStatus
|
|
451
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
452
|
+
* @param {PatientStatus} patientStatus
|
|
453
|
+
* @param {*} [options] Override http request option.
|
|
454
|
+
* @throws {RequiredError}
|
|
455
|
+
*/
|
|
456
|
+
createPatientStatus(vbasoftwareDatabase: string, patientStatus: PatientStatus, options?: RawAxiosRequestConfig): AxiosPromise<PatientStatusVBAResponse> {
|
|
457
|
+
return localVarFp.createPatientStatus(vbasoftwareDatabase, patientStatus, options).then((request) => request(axios, basePath));
|
|
458
|
+
},
|
|
459
|
+
/**
|
|
460
|
+
* Deletes an PatientStatus
|
|
461
|
+
* @summary Delete PatientStatus
|
|
462
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
463
|
+
* @param {string} patientStatus Patient Status
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
*/
|
|
467
|
+
deletePatientStatus(vbasoftwareDatabase: string, patientStatus: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
468
|
+
return localVarFp.deletePatientStatus(vbasoftwareDatabase, patientStatus, options).then((request) => request(axios, basePath));
|
|
469
|
+
},
|
|
470
|
+
/**
|
|
471
|
+
* Gets PatientStatus
|
|
472
|
+
* @summary Get PatientStatus
|
|
473
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
474
|
+
* @param {string} patientStatus Patient Status
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @throws {RequiredError}
|
|
477
|
+
*/
|
|
478
|
+
getPatientStatus(vbasoftwareDatabase: string, patientStatus: string, options?: RawAxiosRequestConfig): AxiosPromise<PatientStatusVBAResponse> {
|
|
479
|
+
return localVarFp.getPatientStatus(vbasoftwareDatabase, patientStatus, options).then((request) => request(axios, basePath));
|
|
480
|
+
},
|
|
481
|
+
/**
|
|
482
|
+
* Lists all PatientStatus
|
|
483
|
+
* @summary List PatientStatus
|
|
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., \'Property1:desc,Property2:asc,Property3:asc\' 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
|
+
listPatientStatus(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PatientStatusListVBAResponse> {
|
|
492
|
+
return localVarFp.listPatientStatus(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
|
|
493
|
+
},
|
|
494
|
+
/**
|
|
495
|
+
* Create or Update multiple PatientStatus 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 PatientStatus
|
|
497
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
498
|
+
* @param {Array<PatientStatus>} patientStatus
|
|
499
|
+
* @param {*} [options] Override http request option.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
updateBatchPatientStatus(vbasoftwareDatabase: string, patientStatus: Array<PatientStatus>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse> {
|
|
503
|
+
return localVarFp.updateBatchPatientStatus(vbasoftwareDatabase, patientStatus, options).then((request) => request(axios, basePath));
|
|
504
|
+
},
|
|
505
|
+
/**
|
|
506
|
+
* Updates a specific PatientStatus.
|
|
507
|
+
* @summary Update PatientStatus
|
|
508
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
509
|
+
* @param {string} patientStatus Patient Status
|
|
510
|
+
* @param {PatientStatus} patientStatus2
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
updatePatientStatus(vbasoftwareDatabase: string, patientStatus: string, patientStatus2: PatientStatus, options?: RawAxiosRequestConfig): AxiosPromise<PatientStatusVBAResponse> {
|
|
515
|
+
return localVarFp.updatePatientStatus(vbasoftwareDatabase, patientStatus, patientStatus2, options).then((request) => request(axios, basePath));
|
|
516
|
+
},
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* PatientStatusApi - interface
|
|
522
|
+
* @export
|
|
523
|
+
* @interface PatientStatusApi
|
|
524
|
+
*/
|
|
525
|
+
export interface PatientStatusApiInterface {
|
|
526
|
+
/**
|
|
527
|
+
* Creates a new PatientStatus
|
|
528
|
+
* @summary Create PatientStatus
|
|
529
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
530
|
+
* @param {PatientStatus} patientStatus
|
|
531
|
+
* @param {*} [options] Override http request option.
|
|
532
|
+
* @throws {RequiredError}
|
|
533
|
+
* @memberof PatientStatusApiInterface
|
|
534
|
+
*/
|
|
535
|
+
createPatientStatus(vbasoftwareDatabase: string, patientStatus: PatientStatus, options?: RawAxiosRequestConfig): AxiosPromise<PatientStatusVBAResponse>;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Deletes an PatientStatus
|
|
539
|
+
* @summary Delete PatientStatus
|
|
540
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
541
|
+
* @param {string} patientStatus Patient Status
|
|
542
|
+
* @param {*} [options] Override http request option.
|
|
543
|
+
* @throws {RequiredError}
|
|
544
|
+
* @memberof PatientStatusApiInterface
|
|
545
|
+
*/
|
|
546
|
+
deletePatientStatus(vbasoftwareDatabase: string, patientStatus: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Gets PatientStatus
|
|
550
|
+
* @summary Get PatientStatus
|
|
551
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
552
|
+
* @param {string} patientStatus Patient Status
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
* @memberof PatientStatusApiInterface
|
|
556
|
+
*/
|
|
557
|
+
getPatientStatus(vbasoftwareDatabase: string, patientStatus: string, options?: RawAxiosRequestConfig): AxiosPromise<PatientStatusVBAResponse>;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Lists all PatientStatus
|
|
561
|
+
* @summary List PatientStatus
|
|
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., \'Property1:desc,Property2:asc,Property3:asc\' 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 PatientStatusApiInterface
|
|
569
|
+
*/
|
|
570
|
+
listPatientStatus(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PatientStatusListVBAResponse>;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Create or Update multiple PatientStatus 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 PatientStatus
|
|
575
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
576
|
+
* @param {Array<PatientStatus>} patientStatus
|
|
577
|
+
* @param {*} [options] Override http request option.
|
|
578
|
+
* @throws {RequiredError}
|
|
579
|
+
* @memberof PatientStatusApiInterface
|
|
580
|
+
*/
|
|
581
|
+
updateBatchPatientStatus(vbasoftwareDatabase: string, patientStatus: Array<PatientStatus>, options?: RawAxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Updates a specific PatientStatus.
|
|
585
|
+
* @summary Update PatientStatus
|
|
586
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
587
|
+
* @param {string} patientStatus Patient Status
|
|
588
|
+
* @param {PatientStatus} patientStatus2
|
|
589
|
+
* @param {*} [options] Override http request option.
|
|
590
|
+
* @throws {RequiredError}
|
|
591
|
+
* @memberof PatientStatusApiInterface
|
|
592
|
+
*/
|
|
593
|
+
updatePatientStatus(vbasoftwareDatabase: string, patientStatus: string, patientStatus2: PatientStatus, options?: RawAxiosRequestConfig): AxiosPromise<PatientStatusVBAResponse>;
|
|
594
|
+
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* PatientStatusApi - object-oriented interface
|
|
599
|
+
* @export
|
|
600
|
+
* @class PatientStatusApi
|
|
601
|
+
* @extends {BaseAPI}
|
|
602
|
+
*/
|
|
603
|
+
export class PatientStatusApi extends BaseAPI implements PatientStatusApiInterface {
|
|
604
|
+
/**
|
|
605
|
+
* Creates a new PatientStatus
|
|
606
|
+
* @summary Create PatientStatus
|
|
607
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
608
|
+
* @param {PatientStatus} patientStatus
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
* @memberof PatientStatusApi
|
|
612
|
+
*/
|
|
613
|
+
public createPatientStatus(vbasoftwareDatabase: string, patientStatus: PatientStatus, options?: RawAxiosRequestConfig) {
|
|
614
|
+
return PatientStatusApiFp(this.configuration).createPatientStatus(vbasoftwareDatabase, patientStatus, options).then((request) => request(this.axios, this.basePath));
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Deletes an PatientStatus
|
|
619
|
+
* @summary Delete PatientStatus
|
|
620
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
621
|
+
* @param {string} patientStatus Patient Status
|
|
622
|
+
* @param {*} [options] Override http request option.
|
|
623
|
+
* @throws {RequiredError}
|
|
624
|
+
* @memberof PatientStatusApi
|
|
625
|
+
*/
|
|
626
|
+
public deletePatientStatus(vbasoftwareDatabase: string, patientStatus: string, options?: RawAxiosRequestConfig) {
|
|
627
|
+
return PatientStatusApiFp(this.configuration).deletePatientStatus(vbasoftwareDatabase, patientStatus, options).then((request) => request(this.axios, this.basePath));
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Gets PatientStatus
|
|
632
|
+
* @summary Get PatientStatus
|
|
633
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
634
|
+
* @param {string} patientStatus Patient Status
|
|
635
|
+
* @param {*} [options] Override http request option.
|
|
636
|
+
* @throws {RequiredError}
|
|
637
|
+
* @memberof PatientStatusApi
|
|
638
|
+
*/
|
|
639
|
+
public getPatientStatus(vbasoftwareDatabase: string, patientStatus: string, options?: RawAxiosRequestConfig) {
|
|
640
|
+
return PatientStatusApiFp(this.configuration).getPatientStatus(vbasoftwareDatabase, patientStatus, options).then((request) => request(this.axios, this.basePath));
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* Lists all PatientStatus
|
|
645
|
+
* @summary List PatientStatus
|
|
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., \'Property1:desc,Property2:asc,Property3:asc\' 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 PatientStatusApi
|
|
653
|
+
*/
|
|
654
|
+
public listPatientStatus(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
655
|
+
return PatientStatusApiFp(this.configuration).listPatientStatus(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Create or Update multiple PatientStatus 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 PatientStatus
|
|
661
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
662
|
+
* @param {Array<PatientStatus>} patientStatus
|
|
663
|
+
* @param {*} [options] Override http request option.
|
|
664
|
+
* @throws {RequiredError}
|
|
665
|
+
* @memberof PatientStatusApi
|
|
666
|
+
*/
|
|
667
|
+
public updateBatchPatientStatus(vbasoftwareDatabase: string, patientStatus: Array<PatientStatus>, options?: RawAxiosRequestConfig) {
|
|
668
|
+
return PatientStatusApiFp(this.configuration).updateBatchPatientStatus(vbasoftwareDatabase, patientStatus, options).then((request) => request(this.axios, this.basePath));
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Updates a specific PatientStatus.
|
|
673
|
+
* @summary Update PatientStatus
|
|
674
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
675
|
+
* @param {string} patientStatus Patient Status
|
|
676
|
+
* @param {PatientStatus} patientStatus2
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
* @memberof PatientStatusApi
|
|
680
|
+
*/
|
|
681
|
+
public updatePatientStatus(vbasoftwareDatabase: string, patientStatus: string, patientStatus2: PatientStatus, options?: RawAxiosRequestConfig) {
|
|
682
|
+
return PatientStatusApiFp(this.configuration).updatePatientStatus(vbasoftwareDatabase, patientStatus, patientStatus2, options).then((request) => request(this.axios, this.basePath));
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
package/api.ts
CHANGED
|
@@ -67,6 +67,7 @@ export * from './api/bill-types-api';
|
|
|
67
67
|
export * from './api/billing-api';
|
|
68
68
|
export * from './api/billing-basis-api';
|
|
69
69
|
export * from './api/billing-cycles-api';
|
|
70
|
+
export * from './api/bold-reports-api';
|
|
70
71
|
export * from './api/brokerage-api';
|
|
71
72
|
export * from './api/cliacertificate-api';
|
|
72
73
|
export * from './api/cliacertificate-procedure-codes-api';
|
|
@@ -575,6 +576,7 @@ export * from './api/note-types-api';
|
|
|
575
576
|
export * from './api/objects-api';
|
|
576
577
|
export * from './api/occupations-api';
|
|
577
578
|
export * from './api/pbmtypes-api';
|
|
579
|
+
export * from './api/patient-status-api';
|
|
578
580
|
export * from './api/pay-frequency-api';
|
|
579
581
|
export * from './api/payee-accounts-api';
|
|
580
582
|
export * from './api/payees-api';
|
package/models/index.ts
CHANGED
|
@@ -1641,6 +1641,9 @@ export * from './option-criteria';
|
|
|
1641
1641
|
export * from './pbmtype';
|
|
1642
1642
|
export * from './pbmtype-list-vbaresponse';
|
|
1643
1643
|
export * from './pbmtype-vbaresponse';
|
|
1644
|
+
export * from './patient-status';
|
|
1645
|
+
export * from './patient-status-list-vbaresponse';
|
|
1646
|
+
export * from './patient-status-vbaresponse';
|
|
1644
1647
|
export * from './payee';
|
|
1645
1648
|
export * from './payee-account';
|
|
1646
1649
|
export * from './payee-account-list-vbaresponse';
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { Debug } from './debug';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { PatientStatus } from './patient-status';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { VBAProblemDetails } from './vbaproblem-details';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface PatientStatusListVBAResponse
|
|
30
|
+
*/
|
|
31
|
+
export interface PatientStatusListVBAResponse {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<PatientStatus>}
|
|
35
|
+
* @memberof PatientStatusListVBAResponse
|
|
36
|
+
*/
|
|
37
|
+
'data'?: Array<PatientStatus> | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {VBAProblemDetails}
|
|
41
|
+
* @memberof PatientStatusListVBAResponse
|
|
42
|
+
*/
|
|
43
|
+
'error'?: VBAProblemDetails;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Debug}
|
|
47
|
+
* @memberof PatientStatusListVBAResponse
|
|
48
|
+
*/
|
|
49
|
+
'debug'?: Debug;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { Debug } from './debug';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import type { PatientStatus } from './patient-status';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { VBAProblemDetails } from './vbaproblem-details';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface PatientStatusVBAResponse
|
|
30
|
+
*/
|
|
31
|
+
export interface PatientStatusVBAResponse {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PatientStatus}
|
|
35
|
+
* @memberof PatientStatusVBAResponse
|
|
36
|
+
*/
|
|
37
|
+
'data'?: PatientStatus;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {VBAProblemDetails}
|
|
41
|
+
* @memberof PatientStatusVBAResponse
|
|
42
|
+
*/
|
|
43
|
+
'error'?: VBAProblemDetails;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Debug}
|
|
47
|
+
* @memberof PatientStatusVBAResponse
|
|
48
|
+
*/
|
|
49
|
+
'debug'?: Debug;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PatientStatus
|
|
21
|
+
*/
|
|
22
|
+
export interface PatientStatus {
|
|
23
|
+
/**
|
|
24
|
+
* Identifier for the specific patient status
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PatientStatus
|
|
27
|
+
*/
|
|
28
|
+
'patient_Status': string;
|
|
29
|
+
/**
|
|
30
|
+
* Description for the specific patient status
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PatientStatus
|
|
33
|
+
*/
|
|
34
|
+
'description'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Date record was first added to the system
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PatientStatus
|
|
39
|
+
*/
|
|
40
|
+
'entry_Date'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* User that first added the record to the system
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PatientStatus
|
|
45
|
+
*/
|
|
46
|
+
'entry_User'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Date the record was last updated in the system
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PatientStatus
|
|
51
|
+
*/
|
|
52
|
+
'update_Date'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* User that last updated the record in the system
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PatientStatus
|
|
57
|
+
*/
|
|
58
|
+
'update_User'?: string | null;
|
|
59
|
+
}
|
|
60
|
+
|