@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
package/.openapi-generator/FILES
CHANGED
|
@@ -851,7 +851,6 @@ models/benefit-category.ts
|
|
|
851
851
|
models/benefit-codes-list-vbaresponse.ts
|
|
852
852
|
models/benefit-codes-vbaresponse.ts
|
|
853
853
|
models/benefit-codes.ts
|
|
854
|
-
models/benefit-config.ts
|
|
855
854
|
models/benefit-diag-codes-list-vbaresponse.ts
|
|
856
855
|
models/benefit-diag-codes-vbaresponse.ts
|
|
857
856
|
models/benefit-diag-codes.ts
|
|
@@ -1406,7 +1405,12 @@ models/commission-rate-cluster-rate-vbaresponse.ts
|
|
|
1406
1405
|
models/commission-rate-cluster-rate.ts
|
|
1407
1406
|
models/commission-rate-cluster-vbaresponse.ts
|
|
1408
1407
|
models/commission-rate-cluster.ts
|
|
1408
|
+
models/commission-rate-division-config.ts
|
|
1409
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
|
|
1410
1414
|
models/commission-rate-subscriber-list-vbaresponse.ts
|
|
1411
1415
|
models/commission-rate-subscriber-vbaresponse.ts
|
|
1412
1416
|
models/commission-rate-subscriber.ts
|
|
@@ -1465,6 +1469,7 @@ models/contact.ts
|
|
|
1465
1469
|
models/contribution-schedule-list-vbaresponse.ts
|
|
1466
1470
|
models/contribution-schedule-vbaresponse.ts
|
|
1467
1471
|
models/contribution-schedule.ts
|
|
1472
|
+
models/copy-group-division.ts
|
|
1468
1473
|
models/cost-contain-context4-case-index-list-vbaresponse.ts
|
|
1469
1474
|
models/cost-contain-context4-case-index-vbaresponse.ts
|
|
1470
1475
|
models/cost-contain-context4-case-index.ts
|
|
@@ -1605,7 +1610,6 @@ models/diagnostic-code.ts
|
|
|
1605
1610
|
models/disability-plan-limit-list-vbaresponse.ts
|
|
1606
1611
|
models/disability-plan-limit-vbaresponse.ts
|
|
1607
1612
|
models/disability-plan-limit.ts
|
|
1608
|
-
models/division-config.ts
|
|
1609
1613
|
models/drgcluster-detail-list-vbaresponse.ts
|
|
1610
1614
|
models/drgcluster-detail-vbaresponse.ts
|
|
1611
1615
|
models/drgcluster-detail.ts
|
|
@@ -1948,9 +1952,12 @@ models/group-ucpercent.ts
|
|
|
1948
1952
|
models/group-vbaplan-type-subscriber-id.ts
|
|
1949
1953
|
models/group-vbaplan-type-subscriber-idlist-vbaresponse.ts
|
|
1950
1954
|
models/group-vbaplan-type-subscriber-idvbaresponse.ts
|
|
1955
|
+
models/group-volume-benefit-config.ts
|
|
1956
|
+
models/group-volume-division-config.ts
|
|
1951
1957
|
models/group-volume-list-vbaresponse.ts
|
|
1952
1958
|
models/group-volume-nested-list-vbaresponse.ts
|
|
1953
1959
|
models/group-volume-nested.ts
|
|
1960
|
+
models/group-volume-plan-config.ts
|
|
1954
1961
|
models/group-volume-vbaresponse.ts
|
|
1955
1962
|
models/group-volume.ts
|
|
1956
1963
|
models/groups-list-vbaresponse.ts
|
|
@@ -2299,7 +2306,6 @@ models/plan-benefits-procedures-vbaresponse.ts
|
|
|
2299
2306
|
models/plan-benefits-procedures.ts
|
|
2300
2307
|
models/plan-benefits-vbaresponse.ts
|
|
2301
2308
|
models/plan-benefits.ts
|
|
2302
|
-
models/plan-config.ts
|
|
2303
2309
|
models/plan-copy.ts
|
|
2304
2310
|
models/plan-diagnosis-age-list-vbaresponse.ts
|
|
2305
2311
|
models/plan-diagnosis-age-vbaresponse.ts
|
|
@@ -2417,12 +2423,15 @@ models/prem-payment.ts
|
|
|
2417
2423
|
models/prem-rate-age-type-list-vbaresponse.ts
|
|
2418
2424
|
models/prem-rate-age-type-vbaresponse.ts
|
|
2419
2425
|
models/prem-rate-age-type.ts
|
|
2426
|
+
models/prem-rate-basis-config.ts
|
|
2420
2427
|
models/prem-rate-basis-list-vbaresponse.ts
|
|
2421
2428
|
models/prem-rate-basis-vbaresponse.ts
|
|
2422
2429
|
models/prem-rate-basis.ts
|
|
2430
|
+
models/prem-rate-category-config.ts
|
|
2423
2431
|
models/prem-rate-category-list-vbaresponse.ts
|
|
2424
2432
|
models/prem-rate-category-vbaresponse.ts
|
|
2425
2433
|
models/prem-rate-category.ts
|
|
2434
|
+
models/prem-rate-division-config.ts
|
|
2426
2435
|
models/prem-rate-exclude-list-vbaresponse.ts
|
|
2427
2436
|
models/prem-rate-exclude-vbaresponse.ts
|
|
2428
2437
|
models/prem-rate-exclude.ts
|
|
@@ -2436,6 +2445,8 @@ models/prem-rate-min-max-detail.ts
|
|
|
2436
2445
|
models/prem-rate-min-max-list-vbaresponse.ts
|
|
2437
2446
|
models/prem-rate-min-max-vbaresponse.ts
|
|
2438
2447
|
models/prem-rate-min-max.ts
|
|
2448
|
+
models/prem-rate-nested-list-vbaresponse.ts
|
|
2449
|
+
models/prem-rate-nested.ts
|
|
2439
2450
|
models/prem-rate-pace-list-vbaresponse.ts
|
|
2440
2451
|
models/prem-rate-pace-type-list-vbaresponse.ts
|
|
2441
2452
|
models/prem-rate-pace-type-vbaresponse.ts
|
|
@@ -2445,6 +2456,8 @@ models/prem-rate-pace.ts
|
|
|
2445
2456
|
models/prem-rate-payee-list-vbaresponse.ts
|
|
2446
2457
|
models/prem-rate-payee-vbaresponse.ts
|
|
2447
2458
|
models/prem-rate-payee.ts
|
|
2459
|
+
models/prem-rate-plan-config.ts
|
|
2460
|
+
models/prem-rate-rate.ts
|
|
2448
2461
|
models/prem-rate-vbaresponse.ts
|
|
2449
2462
|
models/prem-rate-zip-list-vbaresponse.ts
|
|
2450
2463
|
models/prem-rate-zip-vbaresponse.ts
|
|
@@ -2961,6 +2974,8 @@ models/vbagateway-subscription-detail.ts
|
|
|
2961
2974
|
models/vbagateway-subscription-list-vbaresponse.ts
|
|
2962
2975
|
models/vbagateway-subscription-vbaresponse.ts
|
|
2963
2976
|
models/vbagateway-subscription.ts
|
|
2977
|
+
models/vbagroup-contract-list-vbaresponse.ts
|
|
2978
|
+
models/vbagroup-contract.ts
|
|
2964
2979
|
models/vbainterface-idcode-list-vbaresponse.ts
|
|
2965
2980
|
models/vbainterface-idcode-vbaresponse.ts
|
|
2966
2981
|
models/vbainterface-idcode.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,
|
|
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
|
-
|
|
271
|
-
|
|
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,
|
|
700
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPayorAccountBalance(vbasoftwareDatabase,
|
|
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,
|
|
846
|
-
return localVarFp.getPayorAccountBalance(vbasoftwareDatabase,
|
|
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,
|
|
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,
|
|
1131
|
-
return AdvAccountingApiFp(this.configuration).getPayorAccountBalance(vbasoftwareDatabase,
|
|
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
|
package/api/event-args-api.ts
CHANGED
|
@@ -193,16 +193,16 @@ export const EventArgsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
193
193
|
};
|
|
194
194
|
},
|
|
195
195
|
/**
|
|
196
|
-
* Lists all
|
|
196
|
+
* Lists all EventArgs for the given EventID
|
|
197
197
|
* @summary List EventArg
|
|
198
198
|
* @param {string} vbasoftwareDatabase Target database
|
|
199
|
-
* @param {
|
|
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:
|
|
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
|
|
415
|
+
* Lists all EventArgs for the given EventID
|
|
416
416
|
* @summary List EventArg
|
|
417
417
|
* @param {string} vbasoftwareDatabase Target database
|
|
418
|
-
* @param {
|
|
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:
|
|
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
|
|
502
|
+
* Lists all EventArgs for the given EventID
|
|
503
503
|
* @summary List EventArg
|
|
504
504
|
* @param {string} vbasoftwareDatabase Target database
|
|
505
|
-
* @param {
|
|
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:
|
|
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
|
|
585
|
+
* Lists all EventArgs for the given EventID
|
|
586
586
|
* @summary List EventArg
|
|
587
587
|
* @param {string} vbasoftwareDatabase Target database
|
|
588
|
-
* @param {
|
|
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:
|
|
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
|
|
674
|
+
* Lists all EventArgs for the given EventID
|
|
675
675
|
* @summary List EventArg
|
|
676
676
|
* @param {string} vbasoftwareDatabase Target database
|
|
677
|
-
* @param {
|
|
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:
|
|
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
|
|
package/api/events-api.ts
CHANGED
|
@@ -499,6 +499,50 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
499
499
|
|
|
500
500
|
|
|
501
501
|
|
|
502
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
503
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
504
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
505
|
+
|
|
506
|
+
return {
|
|
507
|
+
url: toPathString(localVarUrlObj),
|
|
508
|
+
options: localVarRequestOptions,
|
|
509
|
+
};
|
|
510
|
+
},
|
|
511
|
+
/**
|
|
512
|
+
* List Report Args
|
|
513
|
+
* @summary List Report Args
|
|
514
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
515
|
+
* @param {*} [options] Override http request option.
|
|
516
|
+
* @throws {RequiredError}
|
|
517
|
+
*/
|
|
518
|
+
listReportArgs: async (vbasoftwareDatabase: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
519
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
520
|
+
assertParamExists('listReportArgs', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
521
|
+
const localVarPath = `/report-args`;
|
|
522
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
523
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
524
|
+
let baseOptions;
|
|
525
|
+
if (configuration) {
|
|
526
|
+
baseOptions = configuration.baseOptions;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
530
|
+
const localVarHeaderParameter = {} as any;
|
|
531
|
+
const localVarQueryParameter = {} as any;
|
|
532
|
+
|
|
533
|
+
// authentication apiKeyAuth required
|
|
534
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
535
|
+
|
|
536
|
+
// authentication bearerAuth required
|
|
537
|
+
// http bearer authentication required
|
|
538
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
539
|
+
|
|
540
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
541
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
502
546
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
503
547
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
504
548
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1113,6 +1157,17 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
1113
1157
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPriorities(vbasoftwareDatabase, options);
|
|
1114
1158
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1115
1159
|
},
|
|
1160
|
+
/**
|
|
1161
|
+
* List Report Args
|
|
1162
|
+
* @summary List Report Args
|
|
1163
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1164
|
+
* @param {*} [options] Override http request option.
|
|
1165
|
+
* @throws {RequiredError}
|
|
1166
|
+
*/
|
|
1167
|
+
async listReportArgs(vbasoftwareDatabase: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringStaticOptionListVBAResponse>> {
|
|
1168
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReportArgs(vbasoftwareDatabase, options);
|
|
1169
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1170
|
+
},
|
|
1116
1171
|
/**
|
|
1117
1172
|
* List Schedule Actions
|
|
1118
1173
|
* @summary List Schedule Actions
|
|
@@ -1347,6 +1402,16 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
1347
1402
|
listPriorities(vbasoftwareDatabase: string, options?: any): AxiosPromise<StringStaticOptionListVBAResponse> {
|
|
1348
1403
|
return localVarFp.listPriorities(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
1349
1404
|
},
|
|
1405
|
+
/**
|
|
1406
|
+
* List Report Args
|
|
1407
|
+
* @summary List Report Args
|
|
1408
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1409
|
+
* @param {*} [options] Override http request option.
|
|
1410
|
+
* @throws {RequiredError}
|
|
1411
|
+
*/
|
|
1412
|
+
listReportArgs(vbasoftwareDatabase: string, options?: any): AxiosPromise<StringStaticOptionListVBAResponse> {
|
|
1413
|
+
return localVarFp.listReportArgs(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
1414
|
+
},
|
|
1350
1415
|
/**
|
|
1351
1416
|
* List Schedule Actions
|
|
1352
1417
|
* @summary List Schedule Actions
|
|
@@ -1570,6 +1635,16 @@ export interface EventsApiInterface {
|
|
|
1570
1635
|
*/
|
|
1571
1636
|
listPriorities(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
|
|
1572
1637
|
|
|
1638
|
+
/**
|
|
1639
|
+
* List Report Args
|
|
1640
|
+
* @summary List Report Args
|
|
1641
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1642
|
+
* @param {*} [options] Override http request option.
|
|
1643
|
+
* @throws {RequiredError}
|
|
1644
|
+
* @memberof EventsApiInterface
|
|
1645
|
+
*/
|
|
1646
|
+
listReportArgs(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
|
|
1647
|
+
|
|
1573
1648
|
/**
|
|
1574
1649
|
* List Schedule Actions
|
|
1575
1650
|
* @summary List Schedule Actions
|
|
@@ -1813,6 +1888,18 @@ export class EventsApi extends BaseAPI implements EventsApiInterface {
|
|
|
1813
1888
|
return EventsApiFp(this.configuration).listPriorities(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
1814
1889
|
}
|
|
1815
1890
|
|
|
1891
|
+
/**
|
|
1892
|
+
* List Report Args
|
|
1893
|
+
* @summary List Report Args
|
|
1894
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1895
|
+
* @param {*} [options] Override http request option.
|
|
1896
|
+
* @throws {RequiredError}
|
|
1897
|
+
* @memberof EventsApi
|
|
1898
|
+
*/
|
|
1899
|
+
public listReportArgs(vbasoftwareDatabase: string, options?: AxiosRequestConfig) {
|
|
1900
|
+
return EventsApiFp(this.configuration).listReportArgs(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1816
1903
|
/**
|
|
1817
1904
|
* List Schedule Actions
|
|
1818
1905
|
* @summary List Schedule Actions
|