@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230923.2 → 1.20230927.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
CHANGED
|
@@ -811,6 +811,8 @@ common.ts
|
|
|
811
811
|
configuration.ts
|
|
812
812
|
git_push.sh
|
|
813
813
|
index.ts
|
|
814
|
+
models/active-subscriber-list-vbaresponse.ts
|
|
815
|
+
models/active-subscriber.ts
|
|
814
816
|
models/add-enrollment-request.ts
|
|
815
817
|
models/admission-type-place-list-vbaresponse.ts
|
|
816
818
|
models/admission-type-place-vbaresponse.ts
|
package/api/subscribers-api.ts
CHANGED
|
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { ActiveSubscriberListVBAResponse } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { AddEnrollmentRequest } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { ChangeSubscriberIDRequest } from '../models';
|
|
@@ -239,6 +241,72 @@ export const SubscribersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
239
241
|
|
|
240
242
|
|
|
241
243
|
|
|
244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
246
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
247
|
+
|
|
248
|
+
return {
|
|
249
|
+
url: toPathString(localVarUrlObj),
|
|
250
|
+
options: localVarRequestOptions,
|
|
251
|
+
};
|
|
252
|
+
},
|
|
253
|
+
/**
|
|
254
|
+
* Lists all Subscribers for the given Group & Division. If division is omitted, all divisions will be included. Active is defined by a plan start date <= today and plan end date >= today.
|
|
255
|
+
* @summary List Active Subscribers for a Groupd & Division
|
|
256
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
257
|
+
* @param {string} groupId Group ID
|
|
258
|
+
* @param {string} [divisionId] Division ID
|
|
259
|
+
* @param {number} [page] Page
|
|
260
|
+
* @param {number} [pageSize] Page Size
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
listActiveSubscribers: async (vbasoftwareDatabase: string, groupId: string, divisionId?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
265
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
266
|
+
assertParamExists('listActiveSubscribers', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
267
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
268
|
+
assertParamExists('listActiveSubscribers', 'groupId', groupId)
|
|
269
|
+
const localVarPath = `/active-subscribers`;
|
|
270
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
271
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
272
|
+
let baseOptions;
|
|
273
|
+
if (configuration) {
|
|
274
|
+
baseOptions = configuration.baseOptions;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
278
|
+
const localVarHeaderParameter = {} as any;
|
|
279
|
+
const localVarQueryParameter = {} as any;
|
|
280
|
+
|
|
281
|
+
// authentication apiKeyAuth required
|
|
282
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
283
|
+
|
|
284
|
+
// authentication bearerAuth required
|
|
285
|
+
// http bearer authentication required
|
|
286
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
287
|
+
|
|
288
|
+
if (groupId !== undefined) {
|
|
289
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
if (divisionId !== undefined) {
|
|
293
|
+
localVarQueryParameter['divisionId'] = divisionId;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
if (page !== undefined) {
|
|
297
|
+
localVarQueryParameter['page'] = page;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
if (pageSize !== undefined) {
|
|
301
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
305
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
242
310
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
243
311
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
244
312
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -859,6 +927,21 @@ export const SubscribersApiFp = function(configuration?: Configuration) {
|
|
|
859
927
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSubscribers(vbasoftwareDatabase, subscriberID, options);
|
|
860
928
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
861
929
|
},
|
|
930
|
+
/**
|
|
931
|
+
* Lists all Subscribers for the given Group & Division. If division is omitted, all divisions will be included. Active is defined by a plan start date <= today and plan end date >= today.
|
|
932
|
+
* @summary List Active Subscribers for a Groupd & Division
|
|
933
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
934
|
+
* @param {string} groupId Group ID
|
|
935
|
+
* @param {string} [divisionId] Division ID
|
|
936
|
+
* @param {number} [page] Page
|
|
937
|
+
* @param {number} [pageSize] Page Size
|
|
938
|
+
* @param {*} [options] Override http request option.
|
|
939
|
+
* @throws {RequiredError}
|
|
940
|
+
*/
|
|
941
|
+
async listActiveSubscribers(vbasoftwareDatabase: string, groupId: string, divisionId?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActiveSubscriberListVBAResponse>> {
|
|
942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listActiveSubscribers(vbasoftwareDatabase, groupId, divisionId, page, pageSize, options);
|
|
943
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
944
|
+
},
|
|
862
945
|
/**
|
|
863
946
|
* List of all Cobra Disenroll Reason Types
|
|
864
947
|
* @summary List Cobra Disenroll Reason Types
|
|
@@ -1049,6 +1132,20 @@ export const SubscribersApiFactory = function (configuration?: Configuration, ba
|
|
|
1049
1132
|
getSubscribers(vbasoftwareDatabase: string, subscriberID: string, options?: any): AxiosPromise<SubscribersVBAResponse> {
|
|
1050
1133
|
return localVarFp.getSubscribers(vbasoftwareDatabase, subscriberID, options).then((request) => request(axios, basePath));
|
|
1051
1134
|
},
|
|
1135
|
+
/**
|
|
1136
|
+
* Lists all Subscribers for the given Group & Division. If division is omitted, all divisions will be included. Active is defined by a plan start date <= today and plan end date >= today.
|
|
1137
|
+
* @summary List Active Subscribers for a Groupd & Division
|
|
1138
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1139
|
+
* @param {string} groupId Group ID
|
|
1140
|
+
* @param {string} [divisionId] Division ID
|
|
1141
|
+
* @param {number} [page] Page
|
|
1142
|
+
* @param {number} [pageSize] Page Size
|
|
1143
|
+
* @param {*} [options] Override http request option.
|
|
1144
|
+
* @throws {RequiredError}
|
|
1145
|
+
*/
|
|
1146
|
+
listActiveSubscribers(vbasoftwareDatabase: string, groupId: string, divisionId?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ActiveSubscriberListVBAResponse> {
|
|
1147
|
+
return localVarFp.listActiveSubscribers(vbasoftwareDatabase, groupId, divisionId, page, pageSize, options).then((request) => request(axios, basePath));
|
|
1148
|
+
},
|
|
1052
1149
|
/**
|
|
1053
1150
|
* List of all Cobra Disenroll Reason Types
|
|
1054
1151
|
* @summary List Cobra Disenroll Reason Types
|
|
@@ -1227,6 +1324,20 @@ export interface SubscribersApiInterface {
|
|
|
1227
1324
|
*/
|
|
1228
1325
|
getSubscribers(vbasoftwareDatabase: string, subscriberID: string, options?: AxiosRequestConfig): AxiosPromise<SubscribersVBAResponse>;
|
|
1229
1326
|
|
|
1327
|
+
/**
|
|
1328
|
+
* Lists all Subscribers for the given Group & Division. If division is omitted, all divisions will be included. Active is defined by a plan start date <= today and plan end date >= today.
|
|
1329
|
+
* @summary List Active Subscribers for a Groupd & Division
|
|
1330
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1331
|
+
* @param {string} groupId Group ID
|
|
1332
|
+
* @param {string} [divisionId] Division ID
|
|
1333
|
+
* @param {number} [page] Page
|
|
1334
|
+
* @param {number} [pageSize] Page Size
|
|
1335
|
+
* @param {*} [options] Override http request option.
|
|
1336
|
+
* @throws {RequiredError}
|
|
1337
|
+
* @memberof SubscribersApiInterface
|
|
1338
|
+
*/
|
|
1339
|
+
listActiveSubscribers(vbasoftwareDatabase: string, groupId: string, divisionId?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ActiveSubscriberListVBAResponse>;
|
|
1340
|
+
|
|
1230
1341
|
/**
|
|
1231
1342
|
* List of all Cobra Disenroll Reason Types
|
|
1232
1343
|
* @summary List Cobra Disenroll Reason Types
|
|
@@ -1413,6 +1524,22 @@ export class SubscribersApi extends BaseAPI implements SubscribersApiInterface {
|
|
|
1413
1524
|
return SubscribersApiFp(this.configuration).getSubscribers(vbasoftwareDatabase, subscriberID, options).then((request) => request(this.axios, this.basePath));
|
|
1414
1525
|
}
|
|
1415
1526
|
|
|
1527
|
+
/**
|
|
1528
|
+
* Lists all Subscribers for the given Group & Division. If division is omitted, all divisions will be included. Active is defined by a plan start date <= today and plan end date >= today.
|
|
1529
|
+
* @summary List Active Subscribers for a Groupd & Division
|
|
1530
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1531
|
+
* @param {string} groupId Group ID
|
|
1532
|
+
* @param {string} [divisionId] Division ID
|
|
1533
|
+
* @param {number} [page] Page
|
|
1534
|
+
* @param {number} [pageSize] Page Size
|
|
1535
|
+
* @param {*} [options] Override http request option.
|
|
1536
|
+
* @throws {RequiredError}
|
|
1537
|
+
* @memberof SubscribersApi
|
|
1538
|
+
*/
|
|
1539
|
+
public listActiveSubscribers(vbasoftwareDatabase: string, groupId: string, divisionId?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
1540
|
+
return SubscribersApiFp(this.configuration).listActiveSubscribers(vbasoftwareDatabase, groupId, divisionId, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1416
1543
|
/**
|
|
1417
1544
|
* List of all Cobra Disenroll Reason Types
|
|
1418
1545
|
* @summary List Cobra Disenroll Reason Types
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { ActiveSubscriber } from './active-subscriber';
|
|
17
|
+
import { Debug } from './debug';
|
|
18
|
+
import { VBAProblemDetails } from './vbaproblem-details';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ActiveSubscriberListVBAResponse
|
|
24
|
+
*/
|
|
25
|
+
export interface ActiveSubscriberListVBAResponse {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ActiveSubscriber>}
|
|
29
|
+
* @memberof ActiveSubscriberListVBAResponse
|
|
30
|
+
*/
|
|
31
|
+
'data'?: Array<ActiveSubscriber> | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {VBAProblemDetails}
|
|
35
|
+
* @memberof ActiveSubscriberListVBAResponse
|
|
36
|
+
*/
|
|
37
|
+
'error'?: VBAProblemDetails;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Debug}
|
|
41
|
+
* @memberof ActiveSubscriberListVBAResponse
|
|
42
|
+
*/
|
|
43
|
+
'debug'?: Debug;
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
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 ActiveSubscriber
|
|
21
|
+
*/
|
|
22
|
+
export interface ActiveSubscriber {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ActiveSubscriber
|
|
27
|
+
*/
|
|
28
|
+
'subscriberId'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ActiveSubscriber
|
|
33
|
+
*/
|
|
34
|
+
'memberSeq'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ActiveSubscriber
|
|
39
|
+
*/
|
|
40
|
+
'birthDate'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ActiveSubscriber
|
|
45
|
+
*/
|
|
46
|
+
'firstName'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ActiveSubscriber
|
|
51
|
+
*/
|
|
52
|
+
'lastName'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ActiveSubscriber
|
|
57
|
+
*/
|
|
58
|
+
'planDescription'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ActiveSubscriber
|
|
63
|
+
*/
|
|
64
|
+
'tierDescription'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ActiveSubscriber
|
|
69
|
+
*/
|
|
70
|
+
'startDate'?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ActiveSubscriber
|
|
75
|
+
*/
|
|
76
|
+
'endDate'?: string | null;
|
|
77
|
+
}
|
|
78
|
+
|
package/models/index.ts
CHANGED
|
@@ -7,6 +7,8 @@ export * from './apcschedule-vbaresponse';
|
|
|
7
7
|
export * from './apcweight';
|
|
8
8
|
export * from './apcweight-list-vbaresponse';
|
|
9
9
|
export * from './apcweight-vbaresponse';
|
|
10
|
+
export * from './active-subscriber';
|
|
11
|
+
export * from './active-subscriber-list-vbaresponse';
|
|
10
12
|
export * from './add-enrollment-request';
|
|
11
13
|
export * from './admission-type-place';
|
|
12
14
|
export * from './admission-type-place-list-vbaresponse';
|