@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250131.1 → 1.20250207.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 +1 -0
- package/api/authentication-api.ts +244 -0
- package/api/group-contract-plans-api.ts +106 -0
- package/api.ts +1 -0
- package/models/database-connection.ts +3 -3
- package/models/vbaclient.ts +11 -5
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -0,0 +1,244 @@
|
|
|
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
|
+
/**
|
|
25
|
+
* AuthenticationApi - axios parameter creator
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export const AuthenticationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29
|
+
return {
|
|
30
|
+
/**
|
|
31
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
32
|
+
* @summary Forcefully terminate the longest active user session
|
|
33
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
kickLongestSessionUser: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
39
|
+
assertParamExists('kickLongestSessionUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
40
|
+
const localVarPath = `/kick`;
|
|
41
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43
|
+
let baseOptions;
|
|
44
|
+
if (configuration) {
|
|
45
|
+
baseOptions = configuration.baseOptions;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
49
|
+
const localVarHeaderParameter = {} as any;
|
|
50
|
+
const localVarQueryParameter = {} as any;
|
|
51
|
+
|
|
52
|
+
// authentication apiKeyAuth required
|
|
53
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
54
|
+
|
|
55
|
+
// authentication bearerAuth required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
if (vbasoftwareDatabase != null) {
|
|
62
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
63
|
+
}
|
|
64
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
url: toPathString(localVarUrlObj),
|
|
70
|
+
options: localVarRequestOptions,
|
|
71
|
+
};
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
75
|
+
* @summary Log out user
|
|
76
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
logoutUser: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
81
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
82
|
+
assertParamExists('logoutUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
83
|
+
const localVarPath = `/logout`;
|
|
84
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
86
|
+
let baseOptions;
|
|
87
|
+
if (configuration) {
|
|
88
|
+
baseOptions = configuration.baseOptions;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
92
|
+
const localVarHeaderParameter = {} as any;
|
|
93
|
+
const localVarQueryParameter = {} as any;
|
|
94
|
+
|
|
95
|
+
// authentication apiKeyAuth required
|
|
96
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
97
|
+
|
|
98
|
+
// authentication bearerAuth required
|
|
99
|
+
// http bearer authentication required
|
|
100
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
if (vbasoftwareDatabase != null) {
|
|
105
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
106
|
+
}
|
|
107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
109
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
110
|
+
|
|
111
|
+
return {
|
|
112
|
+
url: toPathString(localVarUrlObj),
|
|
113
|
+
options: localVarRequestOptions,
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* AuthenticationApi - functional programming interface
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
export const AuthenticationApiFp = function(configuration?: Configuration) {
|
|
124
|
+
const localVarAxiosParamCreator = AuthenticationApiAxiosParamCreator(configuration)
|
|
125
|
+
return {
|
|
126
|
+
/**
|
|
127
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
128
|
+
* @summary Forcefully terminate the longest active user session
|
|
129
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
async kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.kickLongestSessionUser(vbasoftwareDatabase, options);
|
|
135
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
136
|
+
const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.kickLongestSessionUser']?.[localVarOperationServerIndex]?.url;
|
|
137
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
138
|
+
},
|
|
139
|
+
/**
|
|
140
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
141
|
+
* @summary Log out user
|
|
142
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
async logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
147
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.logoutUser(vbasoftwareDatabase, options);
|
|
148
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
149
|
+
const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.logoutUser']?.[localVarOperationServerIndex]?.url;
|
|
150
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
151
|
+
},
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* AuthenticationApi - factory interface
|
|
157
|
+
* @export
|
|
158
|
+
*/
|
|
159
|
+
export const AuthenticationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
160
|
+
const localVarFp = AuthenticationApiFp(configuration)
|
|
161
|
+
return {
|
|
162
|
+
/**
|
|
163
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
164
|
+
* @summary Forcefully terminate the longest active user session
|
|
165
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
170
|
+
return localVarFp.kickLongestSessionUser(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
174
|
+
* @summary Log out user
|
|
175
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
180
|
+
return localVarFp.logoutUser(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
181
|
+
},
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* AuthenticationApi - interface
|
|
187
|
+
* @export
|
|
188
|
+
* @interface AuthenticationApi
|
|
189
|
+
*/
|
|
190
|
+
export interface AuthenticationApiInterface {
|
|
191
|
+
/**
|
|
192
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
193
|
+
* @summary Forcefully terminate the longest active user session
|
|
194
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
* @memberof AuthenticationApiInterface
|
|
198
|
+
*/
|
|
199
|
+
kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
203
|
+
* @summary Log out user
|
|
204
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
* @memberof AuthenticationApiInterface
|
|
208
|
+
*/
|
|
209
|
+
logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
210
|
+
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* AuthenticationApi - object-oriented interface
|
|
215
|
+
* @export
|
|
216
|
+
* @class AuthenticationApi
|
|
217
|
+
* @extends {BaseAPI}
|
|
218
|
+
*/
|
|
219
|
+
export class AuthenticationApi extends BaseAPI implements AuthenticationApiInterface {
|
|
220
|
+
/**
|
|
221
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
222
|
+
* @summary Forcefully terminate the longest active user session
|
|
223
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
* @memberof AuthenticationApi
|
|
227
|
+
*/
|
|
228
|
+
public kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
|
|
229
|
+
return AuthenticationApiFp(this.configuration).kickLongestSessionUser(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
234
|
+
* @summary Log out user
|
|
235
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
* @memberof AuthenticationApi
|
|
239
|
+
*/
|
|
240
|
+
public logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
|
|
241
|
+
return AuthenticationApiFp(this.configuration).logoutUser(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
@@ -37,6 +37,59 @@ import type { PlansListVBAResponse } from '../models';
|
|
|
37
37
|
*/
|
|
38
38
|
export const GroupContractPlansApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39
39
|
return {
|
|
40
|
+
/**
|
|
41
|
+
* Using an existing GroupContractPlan, pass in a Plan ID to be updated that then updates downstream SubenrollmentPlan and MemenrollmentPlan records.
|
|
42
|
+
* @summary Cascade Plan Update to GroupContractPlan
|
|
43
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
44
|
+
* @param {string} planId Plan ID
|
|
45
|
+
* @param {GroupContractPlan} groupContractPlan
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
cascadeUpdateGroupContractPlan: async (vbasoftwareDatabase: string, planId: string, groupContractPlan: GroupContractPlan, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
51
|
+
assertParamExists('cascadeUpdateGroupContractPlan', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
52
|
+
// verify required parameter 'planId' is not null or undefined
|
|
53
|
+
assertParamExists('cascadeUpdateGroupContractPlan', 'planId', planId)
|
|
54
|
+
// verify required parameter 'groupContractPlan' is not null or undefined
|
|
55
|
+
assertParamExists('cascadeUpdateGroupContractPlan', 'groupContractPlan', groupContractPlan)
|
|
56
|
+
const localVarPath = `/group-contract-plan-cascade-update/{planId}`
|
|
57
|
+
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
58
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60
|
+
let baseOptions;
|
|
61
|
+
if (configuration) {
|
|
62
|
+
baseOptions = configuration.baseOptions;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
66
|
+
const localVarHeaderParameter = {} as any;
|
|
67
|
+
const localVarQueryParameter = {} as any;
|
|
68
|
+
|
|
69
|
+
// authentication apiKeyAuth required
|
|
70
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
71
|
+
|
|
72
|
+
// authentication bearerAuth required
|
|
73
|
+
// http bearer authentication required
|
|
74
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
79
|
+
|
|
80
|
+
if (vbasoftwareDatabase != null) {
|
|
81
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
82
|
+
}
|
|
83
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
84
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
85
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
86
|
+
localVarRequestOptions.data = serializeDataIfNeeded(groupContractPlan, localVarRequestOptions, configuration)
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
url: toPathString(localVarUrlObj),
|
|
90
|
+
options: localVarRequestOptions,
|
|
91
|
+
};
|
|
92
|
+
},
|
|
40
93
|
/**
|
|
41
94
|
* Creates a new GroupContractPlan
|
|
42
95
|
* @summary Create GroupContractPlan
|
|
@@ -473,6 +526,21 @@ export const GroupContractPlansApiAxiosParamCreator = function (configuration?:
|
|
|
473
526
|
export const GroupContractPlansApiFp = function(configuration?: Configuration) {
|
|
474
527
|
const localVarAxiosParamCreator = GroupContractPlansApiAxiosParamCreator(configuration)
|
|
475
528
|
return {
|
|
529
|
+
/**
|
|
530
|
+
* Using an existing GroupContractPlan, pass in a Plan ID to be updated that then updates downstream SubenrollmentPlan and MemenrollmentPlan records.
|
|
531
|
+
* @summary Cascade Plan Update to GroupContractPlan
|
|
532
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
533
|
+
* @param {string} planId Plan ID
|
|
534
|
+
* @param {GroupContractPlan} groupContractPlan
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
*/
|
|
538
|
+
async cascadeUpdateGroupContractPlan(vbasoftwareDatabase: string, planId: string, groupContractPlan: GroupContractPlan, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupContractPlanVBAResponse>> {
|
|
539
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cascadeUpdateGroupContractPlan(vbasoftwareDatabase, planId, groupContractPlan, options);
|
|
540
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
541
|
+
const localVarOperationServerBasePath = operationServerMap['GroupContractPlansApi.cascadeUpdateGroupContractPlan']?.[localVarOperationServerIndex]?.url;
|
|
542
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
543
|
+
},
|
|
476
544
|
/**
|
|
477
545
|
* Creates a new GroupContractPlan
|
|
478
546
|
* @summary Create GroupContractPlan
|
|
@@ -603,6 +671,18 @@ export const GroupContractPlansApiFp = function(configuration?: Configuration) {
|
|
|
603
671
|
export const GroupContractPlansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
604
672
|
const localVarFp = GroupContractPlansApiFp(configuration)
|
|
605
673
|
return {
|
|
674
|
+
/**
|
|
675
|
+
* Using an existing GroupContractPlan, pass in a Plan ID to be updated that then updates downstream SubenrollmentPlan and MemenrollmentPlan records.
|
|
676
|
+
* @summary Cascade Plan Update to GroupContractPlan
|
|
677
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
678
|
+
* @param {string} planId Plan ID
|
|
679
|
+
* @param {GroupContractPlan} groupContractPlan
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
cascadeUpdateGroupContractPlan(vbasoftwareDatabase: string, planId: string, groupContractPlan: GroupContractPlan, options?: RawAxiosRequestConfig): AxiosPromise<GroupContractPlanVBAResponse> {
|
|
684
|
+
return localVarFp.cascadeUpdateGroupContractPlan(vbasoftwareDatabase, planId, groupContractPlan, options).then((request) => request(axios, basePath));
|
|
685
|
+
},
|
|
606
686
|
/**
|
|
607
687
|
* Creates a new GroupContractPlan
|
|
608
688
|
* @summary Create GroupContractPlan
|
|
@@ -711,6 +791,18 @@ export const GroupContractPlansApiFactory = function (configuration?: Configurat
|
|
|
711
791
|
* @interface GroupContractPlansApi
|
|
712
792
|
*/
|
|
713
793
|
export interface GroupContractPlansApiInterface {
|
|
794
|
+
/**
|
|
795
|
+
* Using an existing GroupContractPlan, pass in a Plan ID to be updated that then updates downstream SubenrollmentPlan and MemenrollmentPlan records.
|
|
796
|
+
* @summary Cascade Plan Update to GroupContractPlan
|
|
797
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
798
|
+
* @param {string} planId Plan ID
|
|
799
|
+
* @param {GroupContractPlan} groupContractPlan
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
* @memberof GroupContractPlansApiInterface
|
|
803
|
+
*/
|
|
804
|
+
cascadeUpdateGroupContractPlan(vbasoftwareDatabase: string, planId: string, groupContractPlan: GroupContractPlan, options?: RawAxiosRequestConfig): AxiosPromise<GroupContractPlanVBAResponse>;
|
|
805
|
+
|
|
714
806
|
/**
|
|
715
807
|
* Creates a new GroupContractPlan
|
|
716
808
|
* @summary Create GroupContractPlan
|
|
@@ -819,6 +911,20 @@ export interface GroupContractPlansApiInterface {
|
|
|
819
911
|
* @extends {BaseAPI}
|
|
820
912
|
*/
|
|
821
913
|
export class GroupContractPlansApi extends BaseAPI implements GroupContractPlansApiInterface {
|
|
914
|
+
/**
|
|
915
|
+
* Using an existing GroupContractPlan, pass in a Plan ID to be updated that then updates downstream SubenrollmentPlan and MemenrollmentPlan records.
|
|
916
|
+
* @summary Cascade Plan Update to GroupContractPlan
|
|
917
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
918
|
+
* @param {string} planId Plan ID
|
|
919
|
+
* @param {GroupContractPlan} groupContractPlan
|
|
920
|
+
* @param {*} [options] Override http request option.
|
|
921
|
+
* @throws {RequiredError}
|
|
922
|
+
* @memberof GroupContractPlansApi
|
|
923
|
+
*/
|
|
924
|
+
public cascadeUpdateGroupContractPlan(vbasoftwareDatabase: string, planId: string, groupContractPlan: GroupContractPlan, options?: RawAxiosRequestConfig) {
|
|
925
|
+
return GroupContractPlansApiFp(this.configuration).cascadeUpdateGroupContractPlan(vbasoftwareDatabase, planId, groupContractPlan, options).then((request) => request(this.axios, this.basePath));
|
|
926
|
+
}
|
|
927
|
+
|
|
822
928
|
/**
|
|
823
929
|
* Creates a new GroupContractPlan
|
|
824
930
|
* @summary Create GroupContractPlan
|
package/api.ts
CHANGED
|
@@ -54,6 +54,7 @@ export * from './api/auth-review-type-api';
|
|
|
54
54
|
export * from './api/auth-review-urgency-type-api';
|
|
55
55
|
export * from './api/auth-type-places-api';
|
|
56
56
|
export * from './api/auth-types-api';
|
|
57
|
+
export * from './api/authentication-api';
|
|
57
58
|
export * from './api/benefit-categories-api';
|
|
58
59
|
export * from './api/benefit-diagnostic-codes-api';
|
|
59
60
|
export * from './api/benefit-places-api';
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Represents a connection to a database for the client.
|
|
19
19
|
* @export
|
|
20
20
|
* @interface DatabaseConnection
|
|
21
21
|
*/
|
|
22
22
|
export interface DatabaseConnection {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Name of the database.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof DatabaseConnection
|
|
27
27
|
*/
|
|
28
28
|
'databaseName'?: string | null;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Connection string used to access the database.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof DatabaseConnection
|
|
33
33
|
*/
|
package/models/vbaclient.ts
CHANGED
|
@@ -24,31 +24,37 @@ import type { DatabaseConnection } from './database-connection';
|
|
|
24
24
|
*/
|
|
25
25
|
export interface VBAClient {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Unique identifier for the client.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof VBAClient
|
|
30
30
|
*/
|
|
31
31
|
'id'?: string | null;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Name of the client.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof VBAClient
|
|
36
36
|
*/
|
|
37
37
|
'name'?: string | null;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Unique client identifier used for authentication or tracking.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof VBAClient
|
|
42
42
|
*/
|
|
43
43
|
'clientId'?: string | null;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Internal client code used within the system.
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof VBAClient
|
|
48
48
|
*/
|
|
49
49
|
'clientCode'?: string | null;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Maximum number of users allowed for this client.
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof VBAClient
|
|
54
|
+
*/
|
|
55
|
+
'maxUsers'?: number;
|
|
56
|
+
/**
|
|
57
|
+
* List of database connections associated with the client.
|
|
52
58
|
* @type {Array<DatabaseConnection>}
|
|
53
59
|
* @memberof VBAClient
|
|
54
60
|
*/
|