@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230130.2 → 1.20230225.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 +18 -3
- 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/events-api.ts +87 -0
- 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 +15 -14
- 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/claim-batch-detail.ts +145 -139
- package/models/claim-batch.ts +668 -446
- package/models/claim-detail.ts +130 -124
- package/models/claim-pre-batch-detail.ts +100 -94
- package/models/claim-pre-batch.ts +600 -378
- package/models/claim.ts +508 -280
- 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/company-data.ts +421 -403
- package/models/copy-group-division.ts +132 -0
- package/models/cost-contain-zelis-ex-code.ts +6 -6
- package/models/{benefit-config.ts → group-volume-benefit-config.ts} +5 -5
- package/models/group-volume-division-config.ts +43 -0
- package/models/group-volume-nested.ts +3 -3
- package/models/group-volume-plan-config.ts +43 -0
- package/models/groups.ts +18 -18
- package/models/idcard-request.ts +3 -3
- package/models/index.ts +18 -3
- package/models/mem-enrollment-plan.ts +9 -9
- package/models/mem-enrollment-rider.ts +10 -10
- package/models/member-beneficiary.ts +3 -3
- package/models/member-language.ts +38 -2
- package/models/member-prior-accum.ts +28 -28
- package/models/plan-auth-penalty-benefit.ts +24 -0
- package/models/plan-benefit-cluster.ts +12 -12
- package/models/plan-benefit-rate.ts +5 -5
- package/models/plan-benefits.ts +57 -51
- package/models/plan-type.ts +21 -21
- package/models/plans.ts +41 -41
- package/models/prem-rate-basis-config.ts +43 -0
- package/models/prem-rate-category-config.ts +43 -0
- package/models/{division-config.ts → prem-rate-division-config.ts} +8 -8
- package/models/prem-rate-nested-list-vbaresponse.ts +45 -0
- package/models/prem-rate-nested.ts +43 -0
- package/models/{plan-config.ts → prem-rate-plan-config.ts} +8 -8
- package/models/prem-rate-rate.ts +36 -0
- package/models/prem-rate.ts +85 -85
- package/models/sub-enrollment-plan.ts +10 -10
- package/models/sub-enrollment-rider.ts +14 -14
- package/models/subscribers.ts +2 -2
- package/models/users.ts +8 -8
- package/models/vbagroup-contract-list-vbaresponse.ts +45 -0
- package/models/vbagroup-contract.ts +55 -0
- package/package.json +1 -1
|
@@ -28,6 +28,8 @@ import { GroupContractPlanListVBAResponse } from '../models';
|
|
|
28
28
|
import { GroupContractPlanVBAResponse } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { PlansListVBAResponse } from '../models';
|
|
31
33
|
/**
|
|
32
34
|
* GroupContractPlansApi - axios parameter creator
|
|
33
35
|
* @export
|
|
@@ -273,6 +275,58 @@ export const GroupContractPlansApiAxiosParamCreator = function (configuration?:
|
|
|
273
275
|
|
|
274
276
|
|
|
275
277
|
|
|
278
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
279
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
280
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
281
|
+
|
|
282
|
+
return {
|
|
283
|
+
url: toPathString(localVarUrlObj),
|
|
284
|
+
options: localVarRequestOptions,
|
|
285
|
+
};
|
|
286
|
+
},
|
|
287
|
+
/**
|
|
288
|
+
* A unique list of Plans for all GroupContractPlan for the given groupID and divisionID
|
|
289
|
+
* @summary List Plans by Group and Division
|
|
290
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
291
|
+
* @param {string} groupID Group ID
|
|
292
|
+
* @param {string} divisionID Division ID
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
listPlanNoContract: async (vbasoftwareDatabase: string, groupID: string, divisionID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
297
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
298
|
+
assertParamExists('listPlanNoContract', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
299
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
300
|
+
assertParamExists('listPlanNoContract', 'groupID', groupID)
|
|
301
|
+
// verify required parameter 'divisionID' is not null or undefined
|
|
302
|
+
assertParamExists('listPlanNoContract', 'divisionID', divisionID)
|
|
303
|
+
const localVarPath = `/groups/{groupID}/divisions/{divisionID}/plans-no-contracts`
|
|
304
|
+
.replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)))
|
|
305
|
+
.replace(`{${"divisionID"}}`, encodeURIComponent(String(divisionID)));
|
|
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: 'GET', ...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
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
325
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
276
330
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
277
331
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
278
332
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -481,6 +535,19 @@ export const GroupContractPlansApiFp = function(configuration?: Configuration) {
|
|
|
481
535
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupContractPlan(vbasoftwareDatabase, groupID, divisionID, coverageStart, page, pageSize, options);
|
|
482
536
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
483
537
|
},
|
|
538
|
+
/**
|
|
539
|
+
* A unique list of Plans for all GroupContractPlan for the given groupID and divisionID
|
|
540
|
+
* @summary List Plans by Group and Division
|
|
541
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
542
|
+
* @param {string} groupID Group ID
|
|
543
|
+
* @param {string} divisionID Division ID
|
|
544
|
+
* @param {*} [options] Override http request option.
|
|
545
|
+
* @throws {RequiredError}
|
|
546
|
+
*/
|
|
547
|
+
async listPlanNoContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlansListVBAResponse>> {
|
|
548
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlanNoContract(vbasoftwareDatabase, groupID, divisionID, options);
|
|
549
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
550
|
+
},
|
|
484
551
|
/**
|
|
485
552
|
* Create or Update multiple GroupContractPlan at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
486
553
|
* @summary Create or Update Batch GroupContractPlan
|
|
@@ -579,6 +646,18 @@ export const GroupContractPlansApiFactory = function (configuration?: Configurat
|
|
|
579
646
|
listGroupContractPlan(vbasoftwareDatabase: string, groupID: string, divisionID: string, coverageStart: string, page?: number, pageSize?: number, options?: any): AxiosPromise<GroupContractPlanListVBAResponse> {
|
|
580
647
|
return localVarFp.listGroupContractPlan(vbasoftwareDatabase, groupID, divisionID, coverageStart, page, pageSize, options).then((request) => request(axios, basePath));
|
|
581
648
|
},
|
|
649
|
+
/**
|
|
650
|
+
* A unique list of Plans for all GroupContractPlan for the given groupID and divisionID
|
|
651
|
+
* @summary List Plans by Group and Division
|
|
652
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
653
|
+
* @param {string} groupID Group ID
|
|
654
|
+
* @param {string} divisionID Division ID
|
|
655
|
+
* @param {*} [options] Override http request option.
|
|
656
|
+
* @throws {RequiredError}
|
|
657
|
+
*/
|
|
658
|
+
listPlanNoContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, options?: any): AxiosPromise<PlansListVBAResponse> {
|
|
659
|
+
return localVarFp.listPlanNoContract(vbasoftwareDatabase, groupID, divisionID, options).then((request) => request(axios, basePath));
|
|
660
|
+
},
|
|
582
661
|
/**
|
|
583
662
|
* Create or Update multiple GroupContractPlan at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
584
663
|
* @summary Create or Update Batch GroupContractPlan
|
|
@@ -674,6 +753,18 @@ export interface GroupContractPlansApiInterface {
|
|
|
674
753
|
*/
|
|
675
754
|
listGroupContractPlan(vbasoftwareDatabase: string, groupID: string, divisionID: string, coverageStart: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<GroupContractPlanListVBAResponse>;
|
|
676
755
|
|
|
756
|
+
/**
|
|
757
|
+
* A unique list of Plans for all GroupContractPlan for the given groupID and divisionID
|
|
758
|
+
* @summary List Plans by Group and Division
|
|
759
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
760
|
+
* @param {string} groupID Group ID
|
|
761
|
+
* @param {string} divisionID Division ID
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @throws {RequiredError}
|
|
764
|
+
* @memberof GroupContractPlansApiInterface
|
|
765
|
+
*/
|
|
766
|
+
listPlanNoContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, options?: AxiosRequestConfig): AxiosPromise<PlansListVBAResponse>;
|
|
767
|
+
|
|
677
768
|
/**
|
|
678
769
|
* Create or Update multiple GroupContractPlan at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
679
770
|
* @summary Create or Update Batch GroupContractPlan
|
|
@@ -777,6 +868,20 @@ export class GroupContractPlansApi extends BaseAPI implements GroupContractPlans
|
|
|
777
868
|
return GroupContractPlansApiFp(this.configuration).listGroupContractPlan(vbasoftwareDatabase, groupID, divisionID, coverageStart, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
778
869
|
}
|
|
779
870
|
|
|
871
|
+
/**
|
|
872
|
+
* A unique list of Plans for all GroupContractPlan for the given groupID and divisionID
|
|
873
|
+
* @summary List Plans by Group and Division
|
|
874
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
875
|
+
* @param {string} groupID Group ID
|
|
876
|
+
* @param {string} divisionID Division ID
|
|
877
|
+
* @param {*} [options] Override http request option.
|
|
878
|
+
* @throws {RequiredError}
|
|
879
|
+
* @memberof GroupContractPlansApi
|
|
880
|
+
*/
|
|
881
|
+
public listPlanNoContract(vbasoftwareDatabase: string, groupID: string, divisionID: string, options?: AxiosRequestConfig) {
|
|
882
|
+
return GroupContractPlansApiFp(this.configuration).listPlanNoContract(vbasoftwareDatabase, groupID, divisionID, options).then((request) => request(this.axios, this.basePath));
|
|
883
|
+
}
|
|
884
|
+
|
|
780
885
|
/**
|
|
781
886
|
* Create or Update multiple GroupContractPlan at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
782
887
|
* @summary Create or Update Batch GroupContractPlan
|
|
@@ -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
|
@@ -256,17 +256,14 @@ export const GroupVolumesApiAxiosParamCreator = function (configuration?: Config
|
|
|
256
256
|
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
257
257
|
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
258
258
|
* @param {string} vbasoftwareDatabase Target database
|
|
259
|
-
* @param {string} groupID Group ID
|
|
259
|
+
* @param {string} [groupID] Group ID
|
|
260
260
|
* @param {*} [options] Override http request option.
|
|
261
261
|
* @throws {RequiredError}
|
|
262
262
|
*/
|
|
263
|
-
listGroupVolumeNested: async (vbasoftwareDatabase: string, groupID
|
|
263
|
+
listGroupVolumeNested: async (vbasoftwareDatabase: string, groupID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
264
264
|
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
265
265
|
assertParamExists('listGroupVolumeNested', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
266
|
-
|
|
267
|
-
assertParamExists('listGroupVolumeNested', 'groupID', groupID)
|
|
268
|
-
const localVarPath = `/groups/{groupID}/volumes-nested`
|
|
269
|
-
.replace(`{${"groupID"}}`, encodeURIComponent(String(groupID)));
|
|
266
|
+
const localVarPath = `/groups-volumes-nested`;
|
|
270
267
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
271
268
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
272
269
|
let baseOptions;
|
|
@@ -285,6 +282,10 @@ export const GroupVolumesApiAxiosParamCreator = function (configuration?: Config
|
|
|
285
282
|
// http bearer authentication required
|
|
286
283
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
287
284
|
|
|
285
|
+
if (groupID !== undefined) {
|
|
286
|
+
localVarQueryParameter['groupID'] = groupID;
|
|
287
|
+
}
|
|
288
|
+
|
|
288
289
|
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
289
290
|
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
290
291
|
}
|
|
@@ -479,11 +480,11 @@ export const GroupVolumesApiFp = function(configuration?: Configuration) {
|
|
|
479
480
|
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
480
481
|
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
481
482
|
* @param {string} vbasoftwareDatabase Target database
|
|
482
|
-
* @param {string} groupID Group ID
|
|
483
|
+
* @param {string} [groupID] Group ID
|
|
483
484
|
* @param {*} [options] Override http request option.
|
|
484
485
|
* @throws {RequiredError}
|
|
485
486
|
*/
|
|
486
|
-
async listGroupVolumeNested(vbasoftwareDatabase: string, groupID
|
|
487
|
+
async listGroupVolumeNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupVolumeNestedListVBAResponse>> {
|
|
487
488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listGroupVolumeNested(vbasoftwareDatabase, groupID, options);
|
|
488
489
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
489
490
|
},
|
|
@@ -577,11 +578,11 @@ export const GroupVolumesApiFactory = function (configuration?: Configuration, b
|
|
|
577
578
|
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
578
579
|
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
579
580
|
* @param {string} vbasoftwareDatabase Target database
|
|
580
|
-
* @param {string} groupID Group ID
|
|
581
|
+
* @param {string} [groupID] Group ID
|
|
581
582
|
* @param {*} [options] Override http request option.
|
|
582
583
|
* @throws {RequiredError}
|
|
583
584
|
*/
|
|
584
|
-
listGroupVolumeNested(vbasoftwareDatabase: string, groupID
|
|
585
|
+
listGroupVolumeNested(vbasoftwareDatabase: string, groupID?: string, options?: any): AxiosPromise<GroupVolumeNestedListVBAResponse> {
|
|
585
586
|
return localVarFp.listGroupVolumeNested(vbasoftwareDatabase, groupID, options).then((request) => request(axios, basePath));
|
|
586
587
|
},
|
|
587
588
|
/**
|
|
@@ -671,12 +672,12 @@ export interface GroupVolumesApiInterface {
|
|
|
671
672
|
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
672
673
|
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
673
674
|
* @param {string} vbasoftwareDatabase Target database
|
|
674
|
-
* @param {string} groupID Group ID
|
|
675
|
+
* @param {string} [groupID] Group ID
|
|
675
676
|
* @param {*} [options] Override http request option.
|
|
676
677
|
* @throws {RequiredError}
|
|
677
678
|
* @memberof GroupVolumesApiInterface
|
|
678
679
|
*/
|
|
679
|
-
listGroupVolumeNested(vbasoftwareDatabase: string, groupID
|
|
680
|
+
listGroupVolumeNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig): AxiosPromise<GroupVolumeNestedListVBAResponse>;
|
|
680
681
|
|
|
681
682
|
/**
|
|
682
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.
|
|
@@ -773,12 +774,12 @@ export class GroupVolumesApi extends BaseAPI implements GroupVolumesApiInterface
|
|
|
773
774
|
* Lists all GroupVolume for the given groupID and have it nested by Division, then by Plan, then by Benefit.
|
|
774
775
|
* @summary List GroupVolume nested by Division/Plan/Benefit
|
|
775
776
|
* @param {string} vbasoftwareDatabase Target database
|
|
776
|
-
* @param {string} groupID Group ID
|
|
777
|
+
* @param {string} [groupID] Group ID
|
|
777
778
|
* @param {*} [options] Override http request option.
|
|
778
779
|
* @throws {RequiredError}
|
|
779
780
|
* @memberof GroupVolumesApi
|
|
780
781
|
*/
|
|
781
|
-
public listGroupVolumeNested(vbasoftwareDatabase: string, groupID
|
|
782
|
+
public listGroupVolumeNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig) {
|
|
782
783
|
return GroupVolumesApiFp(this.configuration).listGroupVolumeNested(vbasoftwareDatabase, groupID, options).then((request) => request(this.axios, this.basePath));
|
|
783
784
|
}
|
|
784
785
|
|