@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230121.1 → 1.20230208.2
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 +21 -0
- package/api/adv-accounting-api.ts +10 -26
- package/api/commission-rates-api.ts +98 -0
- package/api/event-args-api.ts +15 -15
- package/api/group-contract-plans-api.ts +105 -0
- package/api/group-contracts-api.ts +105 -0
- package/api/group-divisions-api.ts +115 -0
- package/api/group-volumes-api.ts +98 -0
- package/api/payor-accounts-api.ts +75 -130
- package/api/plan-auth-penalty-benefits-api.ts +232 -91
- package/api/plan-benefit-cascades-api.ts +15 -23
- package/api/premium-rates-api.ts +107 -0
- package/models/auth-adjustment.ts +6 -0
- package/models/commission-rate-division-config.ts +43 -0
- package/models/commission-rate-nested-list-vbaresponse.ts +45 -0
- package/models/commission-rate-nested.ts +43 -0
- package/models/commission-rate-plan-config.ts +43 -0
- package/models/commission-rate-rate.ts +36 -0
- package/models/copy-group-division.ts +132 -0
- package/models/group-volume-benefit-config.ts +43 -0
- package/models/group-volume-division-config.ts +43 -0
- package/models/group-volume-nested-list-vbaresponse.ts +45 -0
- package/models/group-volume-nested.ts +43 -0
- package/models/group-volume-plan-config.ts +43 -0
- package/models/index.ts +21 -0
- package/models/member-prior-accum.ts +28 -28
- package/models/plan-auth-penalty-benefit.ts +24 -0
- package/models/prem-rate-basis-config.ts +43 -0
- package/models/prem-rate-category-config.ts +43 -0
- package/models/prem-rate-division-config.ts +43 -0
- package/models/prem-rate-nested-list-vbaresponse.ts +45 -0
- package/models/prem-rate-nested.ts +43 -0
- package/models/prem-rate-plan-config.ts +43 -0
- package/models/prem-rate-rate.ts +36 -0
- package/models/vbagroup-contract-list-vbaresponse.ts +45 -0
- package/models/vbagroup-contract.ts +55 -0
- package/models/volume.ts +42 -0
- package/package.json +1 -1
|
@@ -33,6 +33,8 @@ import { GroupContractVBAResponse } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
+
import { VBAGroupContractListVBAResponse } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
36
38
|
import { VBAProcessVBAResponse } from '../models';
|
|
37
39
|
/**
|
|
38
40
|
* GroupContractsApi - axios parameter creator
|
|
@@ -379,6 +381,58 @@ export const GroupContractsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
379
381
|
|
|
380
382
|
|
|
381
383
|
|
|
384
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
385
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
386
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
387
|
+
|
|
388
|
+
return {
|
|
389
|
+
url: toPathString(localVarUrlObj),
|
|
390
|
+
options: localVarRequestOptions,
|
|
391
|
+
};
|
|
392
|
+
},
|
|
393
|
+
/**
|
|
394
|
+
* Lists all VBA_GroupContract for the given groupID and divisionID
|
|
395
|
+
* @summary List VBA_GroupContract
|
|
396
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
397
|
+
* @param {string} groupID Group ID
|
|
398
|
+
* @param {string} divisionID Division ID
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
listVBAGroupContract: async (vbasoftwareDatabase: string, groupID: string, divisionID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
403
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
404
|
+
assertParamExists('listVBAGroupContract', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
405
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
406
|
+
assertParamExists('listVBAGroupContract', 'groupID', groupID)
|
|
407
|
+
// verify required parameter 'divisionID' is not null or undefined
|
|
408
|
+
assertParamExists('listVBAGroupContract', 'divisionID', divisionID)
|
|
409
|
+
const localVarPath = `/groups/{groupID}/divisions/{divisionID}/vba-contracts`
|
|
410
|
+
.replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)))
|
|
411
|
+
.replace(`{${"divisionID"}}`, encodeURIComponent(String(divisionID)));
|
|
412
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
413
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
414
|
+
let baseOptions;
|
|
415
|
+
if (configuration) {
|
|
416
|
+
baseOptions = configuration.baseOptions;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
420
|
+
const localVarHeaderParameter = {} as any;
|
|
421
|
+
const localVarQueryParameter = {} as any;
|
|
422
|
+
|
|
423
|
+
// authentication apiKeyAuth required
|
|
424
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
425
|
+
|
|
426
|
+
// authentication bearerAuth required
|
|
427
|
+
// http bearer authentication required
|
|
428
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
429
|
+
|
|
430
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
431
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
382
436
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
383
437
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
384
438
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -661,6 +715,19 @@ export const GroupContractsApiFp = function(configuration?: Configuration) {
|
|
|
661
715
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupContract(vbasoftwareDatabase, groupID, divisionID, page, pageSize, options);
|
|
662
716
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
663
717
|
},
|
|
718
|
+
/**
|
|
719
|
+
* Lists all VBA_GroupContract for the given groupID and divisionID
|
|
720
|
+
* @summary List VBA_GroupContract
|
|
721
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
722
|
+
* @param {string} groupID Group ID
|
|
723
|
+
* @param {string} divisionID Division ID
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
async listVBAGroupContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VBAGroupContractListVBAResponse>> {
|
|
728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listVBAGroupContract(vbasoftwareDatabase, groupID, divisionID, options);
|
|
729
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
730
|
+
},
|
|
664
731
|
/**
|
|
665
732
|
* Changes the Coverage End for a contract. A VBAProcess object is returned representing the process state. See VBAProcess area for more information.
|
|
666
733
|
* @summary Set GroupContract Coverage End
|
|
@@ -793,6 +860,18 @@ export const GroupContractsApiFactory = function (configuration?: Configuration,
|
|
|
793
860
|
listGroupContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, page?: number, pageSize?: number, options?: any): AxiosPromise<GroupContractListVBAResponse> {
|
|
794
861
|
return localVarFp.listGroupContract(vbasoftwareDatabase, groupID, divisionID, page, pageSize, options).then((request) => request(axios, basePath));
|
|
795
862
|
},
|
|
863
|
+
/**
|
|
864
|
+
* Lists all VBA_GroupContract for the given groupID and divisionID
|
|
865
|
+
* @summary List VBA_GroupContract
|
|
866
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
867
|
+
* @param {string} groupID Group ID
|
|
868
|
+
* @param {string} divisionID Division ID
|
|
869
|
+
* @param {*} [options] Override http request option.
|
|
870
|
+
* @throws {RequiredError}
|
|
871
|
+
*/
|
|
872
|
+
listVBAGroupContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, options?: any): AxiosPromise<VBAGroupContractListVBAResponse> {
|
|
873
|
+
return localVarFp.listVBAGroupContract(vbasoftwareDatabase, groupID, divisionID, options).then((request) => request(axios, basePath));
|
|
874
|
+
},
|
|
796
875
|
/**
|
|
797
876
|
* Changes the Coverage End for a contract. A VBAProcess object is returned representing the process state. See VBAProcess area for more information.
|
|
798
877
|
* @summary Set GroupContract Coverage End
|
|
@@ -921,6 +1000,18 @@ export interface GroupContractsApiInterface {
|
|
|
921
1000
|
*/
|
|
922
1001
|
listGroupContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<GroupContractListVBAResponse>;
|
|
923
1002
|
|
|
1003
|
+
/**
|
|
1004
|
+
* Lists all VBA_GroupContract for the given groupID and divisionID
|
|
1005
|
+
* @summary List VBA_GroupContract
|
|
1006
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1007
|
+
* @param {string} groupID Group ID
|
|
1008
|
+
* @param {string} divisionID Division ID
|
|
1009
|
+
* @param {*} [options] Override http request option.
|
|
1010
|
+
* @throws {RequiredError}
|
|
1011
|
+
* @memberof GroupContractsApiInterface
|
|
1012
|
+
*/
|
|
1013
|
+
listVBAGroupContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, options?: AxiosRequestConfig): AxiosPromise<VBAGroupContractListVBAResponse>;
|
|
1014
|
+
|
|
924
1015
|
/**
|
|
925
1016
|
* Changes the Coverage End for a contract. A VBAProcess object is returned representing the process state. See VBAProcess area for more information.
|
|
926
1017
|
* @summary Set GroupContract Coverage End
|
|
@@ -1061,6 +1152,20 @@ export class GroupContractsApi extends BaseAPI implements GroupContractsApiInter
|
|
|
1061
1152
|
return GroupContractsApiFp(this.configuration).listGroupContract(vbasoftwareDatabase, groupID, divisionID, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1062
1153
|
}
|
|
1063
1154
|
|
|
1155
|
+
/**
|
|
1156
|
+
* Lists all VBA_GroupContract for the given groupID and divisionID
|
|
1157
|
+
* @summary List VBA_GroupContract
|
|
1158
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1159
|
+
* @param {string} groupID Group ID
|
|
1160
|
+
* @param {string} divisionID Division ID
|
|
1161
|
+
* @param {*} [options] Override http request option.
|
|
1162
|
+
* @throws {RequiredError}
|
|
1163
|
+
* @memberof GroupContractsApi
|
|
1164
|
+
*/
|
|
1165
|
+
public listVBAGroupContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, options?: AxiosRequestConfig) {
|
|
1166
|
+
return GroupContractsApiFp(this.configuration).listVBAGroupContract(vbasoftwareDatabase, groupID, divisionID, options).then((request) => request(this.axios, this.basePath));
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1064
1169
|
/**
|
|
1065
1170
|
* Changes the Coverage End for a contract. A VBAProcess object is returned representing the process state. See VBAProcess area for more information.
|
|
1066
1171
|
* @summary Set GroupContract Coverage End
|
|
@@ -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 { CopyGroupDivision } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { GroupDivision } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { GroupDivisionListVBAResponse } from '../models';
|
|
@@ -34,6 +36,64 @@ import { MultiCodeResponseListVBAResponse } from '../models';
|
|
|
34
36
|
*/
|
|
35
37
|
export const GroupDivisionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
38
|
return {
|
|
39
|
+
/**
|
|
40
|
+
* Copy a specific GroupDivision to a new GroupDivision
|
|
41
|
+
* @summary Copy a GroupDivision
|
|
42
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
43
|
+
* @param {string} groupID Group ID
|
|
44
|
+
* @param {string} divisionID Division ID
|
|
45
|
+
* @param {CopyGroupDivision} copyGroupDivision
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
copyGroupDivision: async (vbasoftwareDatabase: string, groupID: string, divisionID: string, copyGroupDivision: CopyGroupDivision, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
51
|
+
assertParamExists('copyGroupDivision', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
52
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
53
|
+
assertParamExists('copyGroupDivision', 'groupID', groupID)
|
|
54
|
+
// verify required parameter 'divisionID' is not null or undefined
|
|
55
|
+
assertParamExists('copyGroupDivision', 'divisionID', divisionID)
|
|
56
|
+
// verify required parameter 'copyGroupDivision' is not null or undefined
|
|
57
|
+
assertParamExists('copyGroupDivision', 'copyGroupDivision', copyGroupDivision)
|
|
58
|
+
const localVarPath = `/groups/{groupID}/divisions/{divisionID}/copy`
|
|
59
|
+
.replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)))
|
|
60
|
+
.replace(`{${"divisionID"}}`, encodeURIComponent(String(divisionID)));
|
|
61
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63
|
+
let baseOptions;
|
|
64
|
+
if (configuration) {
|
|
65
|
+
baseOptions = configuration.baseOptions;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
69
|
+
const localVarHeaderParameter = {} as any;
|
|
70
|
+
const localVarQueryParameter = {} as any;
|
|
71
|
+
|
|
72
|
+
// authentication apiKeyAuth required
|
|
73
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
74
|
+
|
|
75
|
+
// authentication bearerAuth required
|
|
76
|
+
// http bearer authentication required
|
|
77
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
78
|
+
|
|
79
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
80
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
86
|
+
|
|
87
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
88
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
90
|
+
localVarRequestOptions.data = serializeDataIfNeeded(copyGroupDivision, localVarRequestOptions, configuration)
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
url: toPathString(localVarUrlObj),
|
|
94
|
+
options: localVarRequestOptions,
|
|
95
|
+
};
|
|
96
|
+
},
|
|
37
97
|
/**
|
|
38
98
|
* Creates a new GroupDivision
|
|
39
99
|
* @summary Create GroupDivision
|
|
@@ -372,6 +432,20 @@ export const GroupDivisionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
372
432
|
export const GroupDivisionsApiFp = function(configuration?: Configuration) {
|
|
373
433
|
const localVarAxiosParamCreator = GroupDivisionsApiAxiosParamCreator(configuration)
|
|
374
434
|
return {
|
|
435
|
+
/**
|
|
436
|
+
* Copy a specific GroupDivision to a new GroupDivision
|
|
437
|
+
* @summary Copy a GroupDivision
|
|
438
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
439
|
+
* @param {string} groupID Group ID
|
|
440
|
+
* @param {string} divisionID Division ID
|
|
441
|
+
* @param {CopyGroupDivision} copyGroupDivision
|
|
442
|
+
* @param {*} [options] Override http request option.
|
|
443
|
+
* @throws {RequiredError}
|
|
444
|
+
*/
|
|
445
|
+
async copyGroupDivision(vbasoftwareDatabase: string, groupID: string, divisionID: string, copyGroupDivision: CopyGroupDivision, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupDivisionVBAResponse>> {
|
|
446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.copyGroupDivision(vbasoftwareDatabase, groupID, divisionID, copyGroupDivision, options);
|
|
447
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
448
|
+
},
|
|
375
449
|
/**
|
|
376
450
|
* Creates a new GroupDivision
|
|
377
451
|
* @summary Create GroupDivision
|
|
@@ -462,6 +536,19 @@ export const GroupDivisionsApiFp = function(configuration?: Configuration) {
|
|
|
462
536
|
export const GroupDivisionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
463
537
|
const localVarFp = GroupDivisionsApiFp(configuration)
|
|
464
538
|
return {
|
|
539
|
+
/**
|
|
540
|
+
* Copy a specific GroupDivision to a new GroupDivision
|
|
541
|
+
* @summary Copy a GroupDivision
|
|
542
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
543
|
+
* @param {string} groupID Group ID
|
|
544
|
+
* @param {string} divisionID Division ID
|
|
545
|
+
* @param {CopyGroupDivision} copyGroupDivision
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
*/
|
|
549
|
+
copyGroupDivision(vbasoftwareDatabase: string, groupID: string, divisionID: string, copyGroupDivision: CopyGroupDivision, options?: any): AxiosPromise<GroupDivisionVBAResponse> {
|
|
550
|
+
return localVarFp.copyGroupDivision(vbasoftwareDatabase, groupID, divisionID, copyGroupDivision, options).then((request) => request(axios, basePath));
|
|
551
|
+
},
|
|
465
552
|
/**
|
|
466
553
|
* Creates a new GroupDivision
|
|
467
554
|
* @summary Create GroupDivision
|
|
@@ -545,6 +632,19 @@ export const GroupDivisionsApiFactory = function (configuration?: Configuration,
|
|
|
545
632
|
* @interface GroupDivisionsApi
|
|
546
633
|
*/
|
|
547
634
|
export interface GroupDivisionsApiInterface {
|
|
635
|
+
/**
|
|
636
|
+
* Copy a specific GroupDivision to a new GroupDivision
|
|
637
|
+
* @summary Copy a GroupDivision
|
|
638
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
639
|
+
* @param {string} groupID Group ID
|
|
640
|
+
* @param {string} divisionID Division ID
|
|
641
|
+
* @param {CopyGroupDivision} copyGroupDivision
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
* @memberof GroupDivisionsApiInterface
|
|
645
|
+
*/
|
|
646
|
+
copyGroupDivision(vbasoftwareDatabase: string, groupID: string, divisionID: string, copyGroupDivision: CopyGroupDivision, options?: AxiosRequestConfig): AxiosPromise<GroupDivisionVBAResponse>;
|
|
647
|
+
|
|
548
648
|
/**
|
|
549
649
|
* Creates a new GroupDivision
|
|
550
650
|
* @summary Create GroupDivision
|
|
@@ -628,6 +728,21 @@ export interface GroupDivisionsApiInterface {
|
|
|
628
728
|
* @extends {BaseAPI}
|
|
629
729
|
*/
|
|
630
730
|
export class GroupDivisionsApi extends BaseAPI implements GroupDivisionsApiInterface {
|
|
731
|
+
/**
|
|
732
|
+
* Copy a specific GroupDivision to a new GroupDivision
|
|
733
|
+
* @summary Copy a GroupDivision
|
|
734
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
735
|
+
* @param {string} groupID Group ID
|
|
736
|
+
* @param {string} divisionID Division ID
|
|
737
|
+
* @param {CopyGroupDivision} copyGroupDivision
|
|
738
|
+
* @param {*} [options] Override http request option.
|
|
739
|
+
* @throws {RequiredError}
|
|
740
|
+
* @memberof GroupDivisionsApi
|
|
741
|
+
*/
|
|
742
|
+
public copyGroupDivision(vbasoftwareDatabase: string, groupID: string, divisionID: string, copyGroupDivision: CopyGroupDivision, options?: AxiosRequestConfig) {
|
|
743
|
+
return GroupDivisionsApiFp(this.configuration).copyGroupDivision(vbasoftwareDatabase, groupID, divisionID, copyGroupDivision, options).then((request) => request(this.axios, this.basePath));
|
|
744
|
+
}
|
|
745
|
+
|
|
631
746
|
/**
|
|
632
747
|
* Creates a new GroupDivision
|
|
633
748
|
* @summary Create GroupDivision
|
package/api/group-volumes-api.ts
CHANGED
|
@@ -25,6 +25,8 @@ import { GroupVolume } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { GroupVolumeListVBAResponse } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
+
import { GroupVolumeNestedListVBAResponse } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
28
30
|
import { GroupVolumeVBAResponse } from '../models';
|
|
29
31
|
// @ts-ignore
|
|
30
32
|
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
@@ -241,6 +243,55 @@ export const GroupVolumesApiAxiosParamCreator = function (configuration?: Config
|
|
|
241
243
|
|
|
242
244
|
|
|
243
245
|
|
|
246
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
248
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
249
|
+
|
|
250
|
+
return {
|
|
251
|
+
url: toPathString(localVarUrlObj),
|
|
252
|
+
options: localVarRequestOptions,
|
|
253
|
+
};
|
|
254
|
+
},
|
|
255
|
+
/**
|
|
256
|
+
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
257
|
+
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
258
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
259
|
+
* @param {string} [groupID] Group ID
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
listGroupVolumeNested: async (vbasoftwareDatabase: string, groupID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
264
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
265
|
+
assertParamExists('listGroupVolumeNested', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
266
|
+
const localVarPath = `/groups-volumes-nested`;
|
|
267
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
268
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
269
|
+
let baseOptions;
|
|
270
|
+
if (configuration) {
|
|
271
|
+
baseOptions = configuration.baseOptions;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
275
|
+
const localVarHeaderParameter = {} as any;
|
|
276
|
+
const localVarQueryParameter = {} as any;
|
|
277
|
+
|
|
278
|
+
// authentication apiKeyAuth required
|
|
279
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
280
|
+
|
|
281
|
+
// authentication bearerAuth required
|
|
282
|
+
// http bearer authentication required
|
|
283
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
284
|
+
|
|
285
|
+
if (groupID !== undefined) {
|
|
286
|
+
localVarQueryParameter['groupID'] = groupID;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
290
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
244
295
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
245
296
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
246
297
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -425,6 +476,18 @@ export const GroupVolumesApiFp = function(configuration?: Configuration) {
|
|
|
425
476
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupVolume(vbasoftwareDatabase, groupID, page, pageSize, options);
|
|
426
477
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
478
|
},
|
|
479
|
+
/**
|
|
480
|
+
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
481
|
+
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
482
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
483
|
+
* @param {string} [groupID] Group ID
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
async listGroupVolumeNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupVolumeNestedListVBAResponse>> {
|
|
488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupVolumeNested(vbasoftwareDatabase, groupID, options);
|
|
489
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
490
|
+
},
|
|
428
491
|
/**
|
|
429
492
|
* Create or Update multiple GroupVolume at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
430
493
|
* @summary Create or Update Batch GroupVolume
|
|
@@ -511,6 +574,17 @@ export const GroupVolumesApiFactory = function (configuration?: Configuration, b
|
|
|
511
574
|
listGroupVolume(vbasoftwareDatabase: string, groupID: string, page?: number, pageSize?: number, options?: any): AxiosPromise<GroupVolumeListVBAResponse> {
|
|
512
575
|
return localVarFp.listGroupVolume(vbasoftwareDatabase, groupID, page, pageSize, options).then((request) => request(axios, basePath));
|
|
513
576
|
},
|
|
577
|
+
/**
|
|
578
|
+
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
579
|
+
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
580
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
581
|
+
* @param {string} [groupID] Group ID
|
|
582
|
+
* @param {*} [options] Override http request option.
|
|
583
|
+
* @throws {RequiredError}
|
|
584
|
+
*/
|
|
585
|
+
listGroupVolumeNested(vbasoftwareDatabase: string, groupID?: string, options?: any): AxiosPromise<GroupVolumeNestedListVBAResponse> {
|
|
586
|
+
return localVarFp.listGroupVolumeNested(vbasoftwareDatabase, groupID, options).then((request) => request(axios, basePath));
|
|
587
|
+
},
|
|
514
588
|
/**
|
|
515
589
|
* Create or Update multiple GroupVolume at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
516
590
|
* @summary Create or Update Batch GroupVolume
|
|
@@ -594,6 +668,17 @@ export interface GroupVolumesApiInterface {
|
|
|
594
668
|
*/
|
|
595
669
|
listGroupVolume(vbasoftwareDatabase: string, groupID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<GroupVolumeListVBAResponse>;
|
|
596
670
|
|
|
671
|
+
/**
|
|
672
|
+
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
673
|
+
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
674
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
675
|
+
* @param {string} [groupID] Group ID
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
* @memberof GroupVolumesApiInterface
|
|
679
|
+
*/
|
|
680
|
+
listGroupVolumeNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig): AxiosPromise<GroupVolumeNestedListVBAResponse>;
|
|
681
|
+
|
|
597
682
|
/**
|
|
598
683
|
* Create or Update multiple GroupVolume at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
599
684
|
* @summary Create or Update Batch GroupVolume
|
|
@@ -685,6 +770,19 @@ export class GroupVolumesApi extends BaseAPI implements GroupVolumesApiInterface
|
|
|
685
770
|
return GroupVolumesApiFp(this.configuration).listGroupVolume(vbasoftwareDatabase, groupID, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
686
771
|
}
|
|
687
772
|
|
|
773
|
+
/**
|
|
774
|
+
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
775
|
+
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
776
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
777
|
+
* @param {string} [groupID] Group ID
|
|
778
|
+
* @param {*} [options] Override http request option.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
* @memberof GroupVolumesApi
|
|
781
|
+
*/
|
|
782
|
+
public listGroupVolumeNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig) {
|
|
783
|
+
return GroupVolumesApiFp(this.configuration).listGroupVolumeNested(vbasoftwareDatabase, groupID, options).then((request) => request(this.axios, this.basePath));
|
|
784
|
+
}
|
|
785
|
+
|
|
688
786
|
/**
|
|
689
787
|
* Create or Update multiple GroupVolume at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
690
788
|
* @summary Create or Update Batch GroupVolume
|