@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.
Files changed (38) hide show
  1. package/.openapi-generator/FILES +21 -0
  2. package/api/adv-accounting-api.ts +10 -26
  3. package/api/commission-rates-api.ts +98 -0
  4. package/api/event-args-api.ts +15 -15
  5. package/api/group-contract-plans-api.ts +105 -0
  6. package/api/group-contracts-api.ts +105 -0
  7. package/api/group-divisions-api.ts +115 -0
  8. package/api/group-volumes-api.ts +98 -0
  9. package/api/payor-accounts-api.ts +75 -130
  10. package/api/plan-auth-penalty-benefits-api.ts +232 -91
  11. package/api/plan-benefit-cascades-api.ts +15 -23
  12. package/api/premium-rates-api.ts +107 -0
  13. package/models/auth-adjustment.ts +6 -0
  14. package/models/commission-rate-division-config.ts +43 -0
  15. package/models/commission-rate-nested-list-vbaresponse.ts +45 -0
  16. package/models/commission-rate-nested.ts +43 -0
  17. package/models/commission-rate-plan-config.ts +43 -0
  18. package/models/commission-rate-rate.ts +36 -0
  19. package/models/copy-group-division.ts +132 -0
  20. package/models/group-volume-benefit-config.ts +43 -0
  21. package/models/group-volume-division-config.ts +43 -0
  22. package/models/group-volume-nested-list-vbaresponse.ts +45 -0
  23. package/models/group-volume-nested.ts +43 -0
  24. package/models/group-volume-plan-config.ts +43 -0
  25. package/models/index.ts +21 -0
  26. package/models/member-prior-accum.ts +28 -28
  27. package/models/plan-auth-penalty-benefit.ts +24 -0
  28. package/models/prem-rate-basis-config.ts +43 -0
  29. package/models/prem-rate-category-config.ts +43 -0
  30. package/models/prem-rate-division-config.ts +43 -0
  31. package/models/prem-rate-nested-list-vbaresponse.ts +45 -0
  32. package/models/prem-rate-nested.ts +43 -0
  33. package/models/prem-rate-plan-config.ts +43 -0
  34. package/models/prem-rate-rate.ts +36 -0
  35. package/models/vbagroup-contract-list-vbaresponse.ts +45 -0
  36. package/models/vbagroup-contract.ts +55 -0
  37. package/models/volume.ts +42 -0
  38. package/package.json +1 -1
@@ -1405,7 +1405,12 @@ models/commission-rate-cluster-rate-vbaresponse.ts
1405
1405
  models/commission-rate-cluster-rate.ts
1406
1406
  models/commission-rate-cluster-vbaresponse.ts
1407
1407
  models/commission-rate-cluster.ts
1408
+ models/commission-rate-division-config.ts
1408
1409
  models/commission-rate-list-vbaresponse.ts
1410
+ models/commission-rate-nested-list-vbaresponse.ts
1411
+ models/commission-rate-nested.ts
1412
+ models/commission-rate-plan-config.ts
1413
+ models/commission-rate-rate.ts
1409
1414
  models/commission-rate-subscriber-list-vbaresponse.ts
1410
1415
  models/commission-rate-subscriber-vbaresponse.ts
1411
1416
  models/commission-rate-subscriber.ts
@@ -1464,6 +1469,7 @@ models/contact.ts
1464
1469
  models/contribution-schedule-list-vbaresponse.ts
1465
1470
  models/contribution-schedule-vbaresponse.ts
1466
1471
  models/contribution-schedule.ts
1472
+ models/copy-group-division.ts
1467
1473
  models/cost-contain-context4-case-index-list-vbaresponse.ts
1468
1474
  models/cost-contain-context4-case-index-vbaresponse.ts
1469
1475
  models/cost-contain-context4-case-index.ts
@@ -1946,7 +1952,12 @@ models/group-ucpercent.ts
1946
1952
  models/group-vbaplan-type-subscriber-id.ts
1947
1953
  models/group-vbaplan-type-subscriber-idlist-vbaresponse.ts
1948
1954
  models/group-vbaplan-type-subscriber-idvbaresponse.ts
1955
+ models/group-volume-benefit-config.ts
1956
+ models/group-volume-division-config.ts
1949
1957
  models/group-volume-list-vbaresponse.ts
1958
+ models/group-volume-nested-list-vbaresponse.ts
1959
+ models/group-volume-nested.ts
1960
+ models/group-volume-plan-config.ts
1950
1961
  models/group-volume-vbaresponse.ts
1951
1962
  models/group-volume.ts
1952
1963
  models/groups-list-vbaresponse.ts
@@ -2412,12 +2423,15 @@ models/prem-payment.ts
2412
2423
  models/prem-rate-age-type-list-vbaresponse.ts
2413
2424
  models/prem-rate-age-type-vbaresponse.ts
2414
2425
  models/prem-rate-age-type.ts
2426
+ models/prem-rate-basis-config.ts
2415
2427
  models/prem-rate-basis-list-vbaresponse.ts
2416
2428
  models/prem-rate-basis-vbaresponse.ts
2417
2429
  models/prem-rate-basis.ts
2430
+ models/prem-rate-category-config.ts
2418
2431
  models/prem-rate-category-list-vbaresponse.ts
2419
2432
  models/prem-rate-category-vbaresponse.ts
2420
2433
  models/prem-rate-category.ts
2434
+ models/prem-rate-division-config.ts
2421
2435
  models/prem-rate-exclude-list-vbaresponse.ts
2422
2436
  models/prem-rate-exclude-vbaresponse.ts
2423
2437
  models/prem-rate-exclude.ts
@@ -2431,6 +2445,8 @@ models/prem-rate-min-max-detail.ts
2431
2445
  models/prem-rate-min-max-list-vbaresponse.ts
2432
2446
  models/prem-rate-min-max-vbaresponse.ts
2433
2447
  models/prem-rate-min-max.ts
2448
+ models/prem-rate-nested-list-vbaresponse.ts
2449
+ models/prem-rate-nested.ts
2434
2450
  models/prem-rate-pace-list-vbaresponse.ts
2435
2451
  models/prem-rate-pace-type-list-vbaresponse.ts
2436
2452
  models/prem-rate-pace-type-vbaresponse.ts
@@ -2440,6 +2456,8 @@ models/prem-rate-pace.ts
2440
2456
  models/prem-rate-payee-list-vbaresponse.ts
2441
2457
  models/prem-rate-payee-vbaresponse.ts
2442
2458
  models/prem-rate-payee.ts
2459
+ models/prem-rate-plan-config.ts
2460
+ models/prem-rate-rate.ts
2443
2461
  models/prem-rate-vbaresponse.ts
2444
2462
  models/prem-rate-zip-list-vbaresponse.ts
2445
2463
  models/prem-rate-zip-vbaresponse.ts
@@ -2956,6 +2974,8 @@ models/vbagateway-subscription-detail.ts
2956
2974
  models/vbagateway-subscription-list-vbaresponse.ts
2957
2975
  models/vbagateway-subscription-vbaresponse.ts
2958
2976
  models/vbagateway-subscription.ts
2977
+ models/vbagroup-contract-list-vbaresponse.ts
2978
+ models/vbagroup-contract.ts
2959
2979
  models/vbainterface-idcode-list-vbaresponse.ts
2960
2980
  models/vbainterface-idcode-vbaresponse.ts
2961
2981
  models/vbainterface-idcode.ts
@@ -2981,6 +3001,7 @@ models/vbaprocess-parameter-vbaresponse.ts
2981
3001
  models/vbaprocess-parameter.ts
2982
3002
  models/vbaprocess-vbaresponse.ts
2983
3003
  models/vbaprocess.ts
3004
+ models/volume.ts
2984
3005
  models/workflow-detail-list-vbaresponse.ts
2985
3006
  models/workflow-detail-vbaresponse.ts
2986
3007
  models/workflow-detail.ts
@@ -254,25 +254,17 @@ export const AdvAccountingApiAxiosParamCreator = function (configuration?: Confi
254
254
  * Gets PayorAccount Balance details
255
255
  * @summary Get PayorAccount Balance
256
256
  * @param {string} vbasoftwareDatabase Target database
257
- * @param {string} payorID Payor ID
258
257
  * @param {number} payorAccountKey Payor Account Key
259
- * @param {string} clientId
260
258
  * @param {*} [options] Override http request option.
261
259
  * @throws {RequiredError}
262
260
  */
263
- getPayorAccountBalance: async (vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
261
+ getPayorAccountBalance: async (vbasoftwareDatabase: string, payorAccountKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
264
262
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
265
263
  assertParamExists('getPayorAccountBalance', 'vbasoftwareDatabase', vbasoftwareDatabase)
266
- // verify required parameter 'payorID' is not null or undefined
267
- assertParamExists('getPayorAccountBalance', 'payorID', payorID)
268
264
  // verify required parameter 'payorAccountKey' is not null or undefined
269
265
  assertParamExists('getPayorAccountBalance', 'payorAccountKey', payorAccountKey)
270
- // verify required parameter 'clientId' is not null or undefined
271
- assertParamExists('getPayorAccountBalance', 'clientId', clientId)
272
- const localVarPath = `/clients/{clientId}/payors/{payorID}/accounts/{payorAccountKey}/account-balance`
273
- .replace(`{${"payorID"}}`, encodeURIComponent(String(payorID)))
274
- .replace(`{${"payorAccountKey"}}`, encodeURIComponent(String(payorAccountKey)))
275
- .replace(`{${"clientId"}}`, encodeURIComponent(String(clientId)));
266
+ const localVarPath = `/payor-accounts/{payorAccountKey}/account-balance`
267
+ .replace(`{${"payorAccountKey"}}`, encodeURIComponent(String(payorAccountKey)));
276
268
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
277
269
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
278
270
  let baseOptions;
@@ -690,14 +682,12 @@ export const AdvAccountingApiFp = function(configuration?: Configuration) {
690
682
  * Gets PayorAccount Balance details
691
683
  * @summary Get PayorAccount Balance
692
684
  * @param {string} vbasoftwareDatabase Target database
693
- * @param {string} payorID Payor ID
694
685
  * @param {number} payorAccountKey Payor Account Key
695
- * @param {string} clientId
696
686
  * @param {*} [options] Override http request option.
697
687
  * @throws {RequiredError}
698
688
  */
699
- async getPayorAccountBalance(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FundingAccountBalanceVBAResponse>> {
700
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPayorAccountBalance(vbasoftwareDatabase, payorID, payorAccountKey, clientId, options);
689
+ async getPayorAccountBalance(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FundingAccountBalanceVBAResponse>> {
690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPayorAccountBalance(vbasoftwareDatabase, payorAccountKey, options);
701
691
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
702
692
  },
703
693
  /**
@@ -836,14 +826,12 @@ export const AdvAccountingApiFactory = function (configuration?: Configuration,
836
826
  * Gets PayorAccount Balance details
837
827
  * @summary Get PayorAccount Balance
838
828
  * @param {string} vbasoftwareDatabase Target database
839
- * @param {string} payorID Payor ID
840
829
  * @param {number} payorAccountKey Payor Account Key
841
- * @param {string} clientId
842
830
  * @param {*} [options] Override http request option.
843
831
  * @throws {RequiredError}
844
832
  */
845
- getPayorAccountBalance(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options?: any): AxiosPromise<FundingAccountBalanceVBAResponse> {
846
- return localVarFp.getPayorAccountBalance(vbasoftwareDatabase, payorID, payorAccountKey, clientId, options).then((request) => request(axios, basePath));
833
+ getPayorAccountBalance(vbasoftwareDatabase: string, payorAccountKey: number, options?: any): AxiosPromise<FundingAccountBalanceVBAResponse> {
834
+ return localVarFp.getPayorAccountBalance(vbasoftwareDatabase, payorAccountKey, options).then((request) => request(axios, basePath));
847
835
  },
848
836
  /**
849
837
  * Lower the existing funding item by the hold amount and create a new funding for the hold amount.
@@ -974,14 +962,12 @@ export interface AdvAccountingApiInterface {
974
962
  * Gets PayorAccount Balance details
975
963
  * @summary Get PayorAccount Balance
976
964
  * @param {string} vbasoftwareDatabase Target database
977
- * @param {string} payorID Payor ID
978
965
  * @param {number} payorAccountKey Payor Account Key
979
- * @param {string} clientId
980
966
  * @param {*} [options] Override http request option.
981
967
  * @throws {RequiredError}
982
968
  * @memberof AdvAccountingApiInterface
983
969
  */
984
- getPayorAccountBalance(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options?: AxiosRequestConfig): AxiosPromise<FundingAccountBalanceVBAResponse>;
970
+ getPayorAccountBalance(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig): AxiosPromise<FundingAccountBalanceVBAResponse>;
985
971
 
986
972
  /**
987
973
  * Lower the existing funding item by the hold amount and create a new funding for the hold amount.
@@ -1120,15 +1106,13 @@ export class AdvAccountingApi extends BaseAPI implements AdvAccountingApiInterfa
1120
1106
  * Gets PayorAccount Balance details
1121
1107
  * @summary Get PayorAccount Balance
1122
1108
  * @param {string} vbasoftwareDatabase Target database
1123
- * @param {string} payorID Payor ID
1124
1109
  * @param {number} payorAccountKey Payor Account Key
1125
- * @param {string} clientId
1126
1110
  * @param {*} [options] Override http request option.
1127
1111
  * @throws {RequiredError}
1128
1112
  * @memberof AdvAccountingApi
1129
1113
  */
1130
- public getPayorAccountBalance(vbasoftwareDatabase: string, payorID: string, payorAccountKey: number, clientId: string, options?: AxiosRequestConfig) {
1131
- return AdvAccountingApiFp(this.configuration).getPayorAccountBalance(vbasoftwareDatabase, payorID, payorAccountKey, clientId, options).then((request) => request(this.axios, this.basePath));
1114
+ public getPayorAccountBalance(vbasoftwareDatabase: string, payorAccountKey: number, options?: AxiosRequestConfig) {
1115
+ return AdvAccountingApiFp(this.configuration).getPayorAccountBalance(vbasoftwareDatabase, payorAccountKey, options).then((request) => request(this.axios, this.basePath));
1132
1116
  }
1133
1117
 
1134
1118
  /**
@@ -25,6 +25,8 @@ import { CommissionRate } from '../models';
25
25
  // @ts-ignore
26
26
  import { CommissionRateListVBAResponse } from '../models';
27
27
  // @ts-ignore
28
+ import { CommissionRateNestedListVBAResponse } from '../models';
29
+ // @ts-ignore
28
30
  import { CommissionRateVBAResponse } from '../models';
29
31
  // @ts-ignore
30
32
  import { MultiCodeResponseListVBAResponse } from '../models';
@@ -383,6 +385,55 @@ export const CommissionRatesApiAxiosParamCreator = function (configuration?: Con
383
385
 
384
386
 
385
387
 
388
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
389
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
390
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
391
+
392
+ return {
393
+ url: toPathString(localVarUrlObj),
394
+ options: localVarRequestOptions,
395
+ };
396
+ },
397
+ /**
398
+ * Lists all Commission Rates for the given groupID and have it nested by Division, then by Plan.
399
+ * @summary List Commission Rates nested by Division/Plan
400
+ * @param {string} vbasoftwareDatabase Target database
401
+ * @param {string} [groupID] Group ID
402
+ * @param {*} [options] Override http request option.
403
+ * @throws {RequiredError}
404
+ */
405
+ listCommissionRateNested: async (vbasoftwareDatabase: string, groupID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
406
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
407
+ assertParamExists('listCommissionRateNested', 'vbasoftwareDatabase', vbasoftwareDatabase)
408
+ const localVarPath = `/commission-rates-nested`;
409
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
410
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
411
+ let baseOptions;
412
+ if (configuration) {
413
+ baseOptions = configuration.baseOptions;
414
+ }
415
+
416
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
417
+ const localVarHeaderParameter = {} as any;
418
+ const localVarQueryParameter = {} as any;
419
+
420
+ // authentication apiKeyAuth required
421
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
422
+
423
+ // authentication bearerAuth required
424
+ // http bearer authentication required
425
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
426
+
427
+ if (groupID !== undefined) {
428
+ localVarQueryParameter['groupID'] = groupID;
429
+ }
430
+
431
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
432
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
433
+ }
434
+
435
+
436
+
386
437
  setSearchParams(localVarUrlObj, localVarQueryParameter);
387
438
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
388
439
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -594,6 +645,18 @@ export const CommissionRatesApiFp = function(configuration?: Configuration) {
594
645
  const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionRate(vbasoftwareDatabase, page, pageSize, options);
595
646
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
596
647
  },
648
+ /**
649
+ * Lists all Commission Rates for the given groupID and have it nested by Division, then by Plan.
650
+ * @summary List Commission Rates nested by Division/Plan
651
+ * @param {string} vbasoftwareDatabase Target database
652
+ * @param {string} [groupID] Group ID
653
+ * @param {*} [options] Override http request option.
654
+ * @throws {RequiredError}
655
+ */
656
+ async listCommissionRateNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionRateNestedListVBAResponse>> {
657
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionRateNested(vbasoftwareDatabase, groupID, options);
658
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
659
+ },
597
660
  /**
598
661
  * Create or Update multiple CommissionRate at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
599
662
  * @summary Create or Update Batch CommissionRate
@@ -710,6 +773,17 @@ export const CommissionRatesApiFactory = function (configuration?: Configuration
710
773
  listCommissionRate(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: any): AxiosPromise<CommissionRateListVBAResponse> {
711
774
  return localVarFp.listCommissionRate(vbasoftwareDatabase, page, pageSize, options).then((request) => request(axios, basePath));
712
775
  },
776
+ /**
777
+ * Lists all Commission Rates for the given groupID and have it nested by Division, then by Plan.
778
+ * @summary List Commission Rates nested by Division/Plan
779
+ * @param {string} vbasoftwareDatabase Target database
780
+ * @param {string} [groupID] Group ID
781
+ * @param {*} [options] Override http request option.
782
+ * @throws {RequiredError}
783
+ */
784
+ listCommissionRateNested(vbasoftwareDatabase: string, groupID?: string, options?: any): AxiosPromise<CommissionRateNestedListVBAResponse> {
785
+ return localVarFp.listCommissionRateNested(vbasoftwareDatabase, groupID, options).then((request) => request(axios, basePath));
786
+ },
713
787
  /**
714
788
  * Create or Update multiple CommissionRate at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
715
789
  * @summary Create or Update Batch CommissionRate
@@ -823,6 +897,17 @@ export interface CommissionRatesApiInterface {
823
897
  */
824
898
  listCommissionRate(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<CommissionRateListVBAResponse>;
825
899
 
900
+ /**
901
+ * Lists all Commission Rates for the given groupID and have it nested by Division, then by Plan.
902
+ * @summary List Commission Rates nested by Division/Plan
903
+ * @param {string} vbasoftwareDatabase Target database
904
+ * @param {string} [groupID] Group ID
905
+ * @param {*} [options] Override http request option.
906
+ * @throws {RequiredError}
907
+ * @memberof CommissionRatesApiInterface
908
+ */
909
+ listCommissionRateNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig): AxiosPromise<CommissionRateNestedListVBAResponse>;
910
+
826
911
  /**
827
912
  * Create or Update multiple CommissionRate at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
828
913
  * @summary Create or Update Batch CommissionRate
@@ -950,6 +1035,19 @@ export class CommissionRatesApi extends BaseAPI implements CommissionRatesApiInt
950
1035
  return CommissionRatesApiFp(this.configuration).listCommissionRate(vbasoftwareDatabase, page, pageSize, options).then((request) => request(this.axios, this.basePath));
951
1036
  }
952
1037
 
1038
+ /**
1039
+ * Lists all Commission Rates for the given groupID and have it nested by Division, then by Plan.
1040
+ * @summary List Commission Rates nested by Division/Plan
1041
+ * @param {string} vbasoftwareDatabase Target database
1042
+ * @param {string} [groupID] Group ID
1043
+ * @param {*} [options] Override http request option.
1044
+ * @throws {RequiredError}
1045
+ * @memberof CommissionRatesApi
1046
+ */
1047
+ public listCommissionRateNested(vbasoftwareDatabase: string, groupID?: string, options?: AxiosRequestConfig) {
1048
+ return CommissionRatesApiFp(this.configuration).listCommissionRateNested(vbasoftwareDatabase, groupID, options).then((request) => request(this.axios, this.basePath));
1049
+ }
1050
+
953
1051
  /**
954
1052
  * Create or Update multiple CommissionRate at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
955
1053
  * @summary Create or Update Batch CommissionRate
@@ -193,16 +193,16 @@ export const EventArgsApiAxiosParamCreator = function (configuration?: Configura
193
193
  };
194
194
  },
195
195
  /**
196
- * Lists all EventArg
196
+ * Lists all EventArgs for the given EventID
197
197
  * @summary List EventArg
198
198
  * @param {string} vbasoftwareDatabase Target database
199
- * @param {string} eventID
199
+ * @param {number} eventID Event ID
200
200
  * @param {number} [page] Page
201
201
  * @param {number} [pageSize] Page Size
202
202
  * @param {*} [options] Override http request option.
203
203
  * @throws {RequiredError}
204
204
  */
205
- listEventArg: async (vbasoftwareDatabase: string, eventID: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
205
+ listEventArg: async (vbasoftwareDatabase: string, eventID: number, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
206
206
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
207
207
  assertParamExists('listEventArg', 'vbasoftwareDatabase', vbasoftwareDatabase)
208
208
  // verify required parameter 'eventID' is not null or undefined
@@ -412,16 +412,16 @@ export const EventArgsApiFp = function(configuration?: Configuration) {
412
412
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
413
413
  },
414
414
  /**
415
- * Lists all EventArg
415
+ * Lists all EventArgs for the given EventID
416
416
  * @summary List EventArg
417
417
  * @param {string} vbasoftwareDatabase Target database
418
- * @param {string} eventID
418
+ * @param {number} eventID Event ID
419
419
  * @param {number} [page] Page
420
420
  * @param {number} [pageSize] Page Size
421
421
  * @param {*} [options] Override http request option.
422
422
  * @throws {RequiredError}
423
423
  */
424
- async listEventArg(vbasoftwareDatabase: string, eventID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventArgListVBAResponse>> {
424
+ async listEventArg(vbasoftwareDatabase: string, eventID: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventArgListVBAResponse>> {
425
425
  const localVarAxiosArgs = await localVarAxiosParamCreator.listEventArg(vbasoftwareDatabase, eventID, page, pageSize, options);
426
426
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
427
427
  },
@@ -499,16 +499,16 @@ export const EventArgsApiFactory = function (configuration?: Configuration, base
499
499
  return localVarFp.getEventArg(vbasoftwareDatabase, eventID, argumentName, options).then((request) => request(axios, basePath));
500
500
  },
501
501
  /**
502
- * Lists all EventArg
502
+ * Lists all EventArgs for the given EventID
503
503
  * @summary List EventArg
504
504
  * @param {string} vbasoftwareDatabase Target database
505
- * @param {string} eventID
505
+ * @param {number} eventID Event ID
506
506
  * @param {number} [page] Page
507
507
  * @param {number} [pageSize] Page Size
508
508
  * @param {*} [options] Override http request option.
509
509
  * @throws {RequiredError}
510
510
  */
511
- listEventArg(vbasoftwareDatabase: string, eventID: string, page?: number, pageSize?: number, options?: any): AxiosPromise<EventArgListVBAResponse> {
511
+ listEventArg(vbasoftwareDatabase: string, eventID: number, page?: number, pageSize?: number, options?: any): AxiosPromise<EventArgListVBAResponse> {
512
512
  return localVarFp.listEventArg(vbasoftwareDatabase, eventID, page, pageSize, options).then((request) => request(axios, basePath));
513
513
  },
514
514
  /**
@@ -582,17 +582,17 @@ export interface EventArgsApiInterface {
582
582
  getEventArg(vbasoftwareDatabase: string, eventID: number, argumentName: string, options?: AxiosRequestConfig): AxiosPromise<EventArgVBAResponse>;
583
583
 
584
584
  /**
585
- * Lists all EventArg
585
+ * Lists all EventArgs for the given EventID
586
586
  * @summary List EventArg
587
587
  * @param {string} vbasoftwareDatabase Target database
588
- * @param {string} eventID
588
+ * @param {number} eventID Event ID
589
589
  * @param {number} [page] Page
590
590
  * @param {number} [pageSize] Page Size
591
591
  * @param {*} [options] Override http request option.
592
592
  * @throws {RequiredError}
593
593
  * @memberof EventArgsApiInterface
594
594
  */
595
- listEventArg(vbasoftwareDatabase: string, eventID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<EventArgListVBAResponse>;
595
+ listEventArg(vbasoftwareDatabase: string, eventID: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<EventArgListVBAResponse>;
596
596
 
597
597
  /**
598
598
  * Create or Update multiple EventArg at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
@@ -671,17 +671,17 @@ export class EventArgsApi extends BaseAPI implements EventArgsApiInterface {
671
671
  }
672
672
 
673
673
  /**
674
- * Lists all EventArg
674
+ * Lists all EventArgs for the given EventID
675
675
  * @summary List EventArg
676
676
  * @param {string} vbasoftwareDatabase Target database
677
- * @param {string} eventID
677
+ * @param {number} eventID Event ID
678
678
  * @param {number} [page] Page
679
679
  * @param {number} [pageSize] Page Size
680
680
  * @param {*} [options] Override http request option.
681
681
  * @throws {RequiredError}
682
682
  * @memberof EventArgsApi
683
683
  */
684
- public listEventArg(vbasoftwareDatabase: string, eventID: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
684
+ public listEventArg(vbasoftwareDatabase: string, eventID: number, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
685
685
  return EventArgsApiFp(this.configuration).listEventArg(vbasoftwareDatabase, eventID, page, pageSize, options).then((request) => request(this.axios, this.basePath));
686
686
  }
687
687
 
@@ -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