@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250124.1 → 1.20250207.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 +3 -0
- package/api/adv-billing-api.ts +120 -0
- package/api/adv-claim-api.ts +114 -0
- package/api/authentication-api.ts +244 -0
- package/api/group-contract-plans-api.ts +106 -0
- package/api/premium-payments-api.ts +120 -0
- package/api/support-api.ts +119 -1
- package/api/vbagateway-messaging-api.ts +98 -0
- package/api.ts +1 -0
- package/models/database-connection.ts +3 -3
- package/models/index.ts +2 -0
- package/models/transpose-request-meta-data-result-list-vbaresponse.ts +51 -0
- package/models/transpose-request-meta-data-result.ts +42 -0
- package/models/vbaclient.ts +11 -5
- package/models/vbaprocess-payment-file.ts +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -42,6 +42,7 @@ api/auth-review-type-api.ts
|
|
|
42
42
|
api/auth-review-urgency-type-api.ts
|
|
43
43
|
api/auth-type-places-api.ts
|
|
44
44
|
api/auth-types-api.ts
|
|
45
|
+
api/authentication-api.ts
|
|
45
46
|
api/benefit-categories-api.ts
|
|
46
47
|
api/benefit-diagnostic-codes-api.ts
|
|
47
48
|
api/benefit-places-api.ts
|
|
@@ -3309,6 +3310,8 @@ models/tooth-quadrant-vbaresponse.ts
|
|
|
3309
3310
|
models/tooth-quadrant.ts
|
|
3310
3311
|
models/tooth-vbaresponse.ts
|
|
3311
3312
|
models/tooth.ts
|
|
3313
|
+
models/transpose-request-meta-data-result-list-vbaresponse.ts
|
|
3314
|
+
models/transpose-request-meta-data-result.ts
|
|
3312
3315
|
models/treatment-type-list-vbaresponse.ts
|
|
3313
3316
|
models/treatment-type-vbaresponse.ts
|
|
3314
3317
|
models/treatment-type.ts
|
package/api/adv-billing-api.ts
CHANGED
|
@@ -32,6 +32,8 @@ import type { BillingRateModifyConfig } from '../models';
|
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import type { BillingRefund } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
|
+
import type { BooleanVBAResponse } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
35
37
|
import type { EnrollmentDisenrollAdjustmentListVBAResponse } from '../models';
|
|
36
38
|
// @ts-ignore
|
|
37
39
|
import type { GeneratePremInvoice } from '../models';
|
|
@@ -1492,6 +1494,67 @@ export const AdvBillingApiAxiosParamCreator = function (configuration?: Configur
|
|
|
1492
1494
|
|
|
1493
1495
|
|
|
1494
1496
|
|
|
1497
|
+
if (vbasoftwareDatabase != null) {
|
|
1498
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
1499
|
+
}
|
|
1500
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1501
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1502
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1503
|
+
|
|
1504
|
+
return {
|
|
1505
|
+
url: toPathString(localVarUrlObj),
|
|
1506
|
+
options: localVarRequestOptions,
|
|
1507
|
+
};
|
|
1508
|
+
},
|
|
1509
|
+
/**
|
|
1510
|
+
* Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
|
|
1511
|
+
* @summary Process or Check Invoice Tolerance
|
|
1512
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1513
|
+
* @param {number} invoiceKey Invoice Key
|
|
1514
|
+
* @param {number} amountDue Amount Due
|
|
1515
|
+
* @param {boolean} verifyOnly Verify Only
|
|
1516
|
+
* @param {*} [options] Override http request option.
|
|
1517
|
+
* @throws {RequiredError}
|
|
1518
|
+
*/
|
|
1519
|
+
processInvoiceTolerance: async (vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1520
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
1521
|
+
assertParamExists('processInvoiceTolerance', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
1522
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
1523
|
+
assertParamExists('processInvoiceTolerance', 'invoiceKey', invoiceKey)
|
|
1524
|
+
// verify required parameter 'amountDue' is not null or undefined
|
|
1525
|
+
assertParamExists('processInvoiceTolerance', 'amountDue', amountDue)
|
|
1526
|
+
// verify required parameter 'verifyOnly' is not null or undefined
|
|
1527
|
+
assertParamExists('processInvoiceTolerance', 'verifyOnly', verifyOnly)
|
|
1528
|
+
const localVarPath = `/process-invoice-tolerance/{invoiceKey}`
|
|
1529
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
1530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1532
|
+
let baseOptions;
|
|
1533
|
+
if (configuration) {
|
|
1534
|
+
baseOptions = configuration.baseOptions;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1538
|
+
const localVarHeaderParameter = {} as any;
|
|
1539
|
+
const localVarQueryParameter = {} as any;
|
|
1540
|
+
|
|
1541
|
+
// authentication apiKeyAuth required
|
|
1542
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
1543
|
+
|
|
1544
|
+
// authentication bearerAuth required
|
|
1545
|
+
// http bearer authentication required
|
|
1546
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1547
|
+
|
|
1548
|
+
if (amountDue !== undefined) {
|
|
1549
|
+
localVarQueryParameter['amountDue'] = amountDue;
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
if (verifyOnly !== undefined) {
|
|
1553
|
+
localVarQueryParameter['verifyOnly'] = verifyOnly;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
|
|
1495
1558
|
if (vbasoftwareDatabase != null) {
|
|
1496
1559
|
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
1497
1560
|
}
|
|
@@ -2063,6 +2126,22 @@ export const AdvBillingApiFp = function(configuration?: Configuration) {
|
|
|
2063
2126
|
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.premInvoiceAutoApplySelfAdmin']?.[localVarOperationServerIndex]?.url;
|
|
2064
2127
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2065
2128
|
},
|
|
2129
|
+
/**
|
|
2130
|
+
* Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
|
|
2131
|
+
* @summary Process or Check Invoice Tolerance
|
|
2132
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2133
|
+
* @param {number} invoiceKey Invoice Key
|
|
2134
|
+
* @param {number} amountDue Amount Due
|
|
2135
|
+
* @param {boolean} verifyOnly Verify Only
|
|
2136
|
+
* @param {*} [options] Override http request option.
|
|
2137
|
+
* @throws {RequiredError}
|
|
2138
|
+
*/
|
|
2139
|
+
async processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BooleanVBAResponse>> {
|
|
2140
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options);
|
|
2141
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2142
|
+
const localVarOperationServerBasePath = operationServerMap['AdvBillingApi.processInvoiceTolerance']?.[localVarOperationServerIndex]?.url;
|
|
2143
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2144
|
+
},
|
|
2066
2145
|
/**
|
|
2067
2146
|
* Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
|
|
2068
2147
|
* @summary Process Payment File
|
|
@@ -2437,6 +2516,19 @@ export const AdvBillingApiFactory = function (configuration?: Configuration, bas
|
|
|
2437
2516
|
premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2438
2517
|
return localVarFp.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
2439
2518
|
},
|
|
2519
|
+
/**
|
|
2520
|
+
* Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
|
|
2521
|
+
* @summary Process or Check Invoice Tolerance
|
|
2522
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2523
|
+
* @param {number} invoiceKey Invoice Key
|
|
2524
|
+
* @param {number} amountDue Amount Due
|
|
2525
|
+
* @param {boolean} verifyOnly Verify Only
|
|
2526
|
+
* @param {*} [options] Override http request option.
|
|
2527
|
+
* @throws {RequiredError}
|
|
2528
|
+
*/
|
|
2529
|
+
processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BooleanVBAResponse> {
|
|
2530
|
+
return localVarFp.processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options).then((request) => request(axios, basePath));
|
|
2531
|
+
},
|
|
2440
2532
|
/**
|
|
2441
2533
|
* Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
|
|
2442
2534
|
* @summary Process Payment File
|
|
@@ -2801,6 +2893,19 @@ export interface AdvBillingApiInterface {
|
|
|
2801
2893
|
*/
|
|
2802
2894
|
premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2803
2895
|
|
|
2896
|
+
/**
|
|
2897
|
+
* Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
|
|
2898
|
+
* @summary Process or Check Invoice Tolerance
|
|
2899
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2900
|
+
* @param {number} invoiceKey Invoice Key
|
|
2901
|
+
* @param {number} amountDue Amount Due
|
|
2902
|
+
* @param {boolean} verifyOnly Verify Only
|
|
2903
|
+
* @param {*} [options] Override http request option.
|
|
2904
|
+
* @throws {RequiredError}
|
|
2905
|
+
* @memberof AdvBillingApiInterface
|
|
2906
|
+
*/
|
|
2907
|
+
processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BooleanVBAResponse>;
|
|
2908
|
+
|
|
2804
2909
|
/**
|
|
2805
2910
|
* Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
|
|
2806
2911
|
* @summary Process Payment File
|
|
@@ -3221,6 +3326,21 @@ export class AdvBillingApi extends BaseAPI implements AdvBillingApiInterface {
|
|
|
3221
3326
|
return AdvBillingApiFp(this.configuration).premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
3222
3327
|
}
|
|
3223
3328
|
|
|
3329
|
+
/**
|
|
3330
|
+
* Given an Invoice and amount due, either check if an Invoice falls withing Tolerance range to performan a write-off, or go ahead and perform the write-off.
|
|
3331
|
+
* @summary Process or Check Invoice Tolerance
|
|
3332
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
3333
|
+
* @param {number} invoiceKey Invoice Key
|
|
3334
|
+
* @param {number} amountDue Amount Due
|
|
3335
|
+
* @param {boolean} verifyOnly Verify Only
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
* @memberof AdvBillingApi
|
|
3339
|
+
*/
|
|
3340
|
+
public processInvoiceTolerance(vbasoftwareDatabase: string, invoiceKey: number, amountDue: number, verifyOnly: boolean, options?: RawAxiosRequestConfig) {
|
|
3341
|
+
return AdvBillingApiFp(this.configuration).processInvoiceTolerance(vbasoftwareDatabase, invoiceKey, amountDue, verifyOnly, options).then((request) => request(this.axios, this.basePath));
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3224
3344
|
/**
|
|
3225
3345
|
* Import a defined Payment File in .csv format to then have payments created and, optionally, attached to invoices.
|
|
3226
3346
|
* @summary Process Payment File
|
package/api/adv-claim-api.ts
CHANGED
|
@@ -38,6 +38,8 @@ import type { Int32VBAResponse } from '../models';
|
|
|
38
38
|
// @ts-ignore
|
|
39
39
|
import type { LifeClaimAdvisor } from '../models';
|
|
40
40
|
// @ts-ignore
|
|
41
|
+
import type { StringVBAResponse } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
41
43
|
import type { SuspenseClaimList } from '../models';
|
|
42
44
|
// @ts-ignore
|
|
43
45
|
import type { VBADisabilityAdvisor } from '../models';
|
|
@@ -587,6 +589,61 @@ export const AdvClaimApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
587
589
|
options: localVarRequestOptions,
|
|
588
590
|
};
|
|
589
591
|
},
|
|
592
|
+
/**
|
|
593
|
+
* Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
|
|
594
|
+
* @summary Get Claim EDI XML
|
|
595
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
596
|
+
* @param {number} ediKey EDI Key
|
|
597
|
+
* @param {number} claimKey Claim Key
|
|
598
|
+
* @param {string} ediLocation EDI Location
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
*/
|
|
602
|
+
getClaimXML: async (vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
603
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
604
|
+
assertParamExists('getClaimXML', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
605
|
+
// verify required parameter 'ediKey' is not null or undefined
|
|
606
|
+
assertParamExists('getClaimXML', 'ediKey', ediKey)
|
|
607
|
+
// verify required parameter 'claimKey' is not null or undefined
|
|
608
|
+
assertParamExists('getClaimXML', 'claimKey', claimKey)
|
|
609
|
+
// verify required parameter 'ediLocation' is not null or undefined
|
|
610
|
+
assertParamExists('getClaimXML', 'ediLocation', ediLocation)
|
|
611
|
+
const localVarPath = `/edi-key/{ediKey}/edi-claim-key/{claimKey}/edi-location/{ediLocation}/edi-xml`
|
|
612
|
+
.replace(`{${"ediKey"}}`, encodeURIComponent(String(ediKey)))
|
|
613
|
+
.replace(`{${"claimKey"}}`, encodeURIComponent(String(claimKey)))
|
|
614
|
+
.replace(`{${"ediLocation"}}`, encodeURIComponent(String(ediLocation)));
|
|
615
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
616
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
617
|
+
let baseOptions;
|
|
618
|
+
if (configuration) {
|
|
619
|
+
baseOptions = configuration.baseOptions;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
623
|
+
const localVarHeaderParameter = {} as any;
|
|
624
|
+
const localVarQueryParameter = {} as any;
|
|
625
|
+
|
|
626
|
+
// authentication apiKeyAuth required
|
|
627
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
628
|
+
|
|
629
|
+
// authentication bearerAuth required
|
|
630
|
+
// http bearer authentication required
|
|
631
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
if (vbasoftwareDatabase != null) {
|
|
636
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
637
|
+
}
|
|
638
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
639
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
640
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
641
|
+
|
|
642
|
+
return {
|
|
643
|
+
url: toPathString(localVarUrlObj),
|
|
644
|
+
options: localVarRequestOptions,
|
|
645
|
+
};
|
|
646
|
+
},
|
|
590
647
|
/**
|
|
591
648
|
* List of potential benefit matches along with a match count for a specific claim service line.
|
|
592
649
|
* @summary List matching benefit detail
|
|
@@ -1016,6 +1073,22 @@ export const AdvClaimApiFp = function(configuration?: Configuration) {
|
|
|
1016
1073
|
const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.generateClaimInvoice']?.[localVarOperationServerIndex]?.url;
|
|
1017
1074
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1018
1075
|
},
|
|
1076
|
+
/**
|
|
1077
|
+
* Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
|
|
1078
|
+
* @summary Get Claim EDI XML
|
|
1079
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1080
|
+
* @param {number} ediKey EDI Key
|
|
1081
|
+
* @param {number} claimKey Claim Key
|
|
1082
|
+
* @param {string} ediLocation EDI Location
|
|
1083
|
+
* @param {*} [options] Override http request option.
|
|
1084
|
+
* @throws {RequiredError}
|
|
1085
|
+
*/
|
|
1086
|
+
async getClaimXML(vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
1087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimXML(vbasoftwareDatabase, ediKey, claimKey, ediLocation, options);
|
|
1088
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1089
|
+
const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.getClaimXML']?.[localVarOperationServerIndex]?.url;
|
|
1090
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1091
|
+
},
|
|
1019
1092
|
/**
|
|
1020
1093
|
* List of potential benefit matches along with a match count for a specific claim service line.
|
|
1021
1094
|
* @summary List matching benefit detail
|
|
@@ -1220,6 +1293,19 @@ export const AdvClaimApiFactory = function (configuration?: Configuration, baseP
|
|
|
1220
1293
|
generateClaimInvoice(vbasoftwareDatabase: string, claimInvoiceConfig: ClaimInvoiceConfig, options?: RawAxiosRequestConfig): AxiosPromise<ClaimBatchClaimBatchDetailListVBAResponse> {
|
|
1221
1294
|
return localVarFp.generateClaimInvoice(vbasoftwareDatabase, claimInvoiceConfig, options).then((request) => request(axios, basePath));
|
|
1222
1295
|
},
|
|
1296
|
+
/**
|
|
1297
|
+
* Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
|
|
1298
|
+
* @summary Get Claim EDI XML
|
|
1299
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1300
|
+
* @param {number} ediKey EDI Key
|
|
1301
|
+
* @param {number} claimKey Claim Key
|
|
1302
|
+
* @param {string} ediLocation EDI Location
|
|
1303
|
+
* @param {*} [options] Override http request option.
|
|
1304
|
+
* @throws {RequiredError}
|
|
1305
|
+
*/
|
|
1306
|
+
getClaimXML(vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options?: RawAxiosRequestConfig): AxiosPromise<StringVBAResponse> {
|
|
1307
|
+
return localVarFp.getClaimXML(vbasoftwareDatabase, ediKey, claimKey, ediLocation, options).then((request) => request(axios, basePath));
|
|
1308
|
+
},
|
|
1223
1309
|
/**
|
|
1224
1310
|
* List of potential benefit matches along with a match count for a specific claim service line.
|
|
1225
1311
|
* @summary List matching benefit detail
|
|
@@ -1408,6 +1494,19 @@ export interface AdvClaimApiInterface {
|
|
|
1408
1494
|
*/
|
|
1409
1495
|
generateClaimInvoice(vbasoftwareDatabase: string, claimInvoiceConfig: ClaimInvoiceConfig, options?: RawAxiosRequestConfig): AxiosPromise<ClaimBatchClaimBatchDetailListVBAResponse>;
|
|
1410
1496
|
|
|
1497
|
+
/**
|
|
1498
|
+
* Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
|
|
1499
|
+
* @summary Get Claim EDI XML
|
|
1500
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1501
|
+
* @param {number} ediKey EDI Key
|
|
1502
|
+
* @param {number} claimKey Claim Key
|
|
1503
|
+
* @param {string} ediLocation EDI Location
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
* @memberof AdvClaimApiInterface
|
|
1507
|
+
*/
|
|
1508
|
+
getClaimXML(vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options?: RawAxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1509
|
+
|
|
1411
1510
|
/**
|
|
1412
1511
|
* List of potential benefit matches along with a match count for a specific claim service line.
|
|
1413
1512
|
* @summary List matching benefit detail
|
|
@@ -1616,6 +1715,21 @@ export class AdvClaimApi extends BaseAPI implements AdvClaimApiInterface {
|
|
|
1616
1715
|
return AdvClaimApiFp(this.configuration).generateClaimInvoice(vbasoftwareDatabase, claimInvoiceConfig, options).then((request) => request(this.axios, this.basePath));
|
|
1617
1716
|
}
|
|
1618
1717
|
|
|
1718
|
+
/**
|
|
1719
|
+
* Get a full XML representation of this claim submitted via EDI into VBADataIntegration. The criteria for this is available in Search Config: VBADATAINT_CLAIM.
|
|
1720
|
+
* @summary Get Claim EDI XML
|
|
1721
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1722
|
+
* @param {number} ediKey EDI Key
|
|
1723
|
+
* @param {number} claimKey Claim Key
|
|
1724
|
+
* @param {string} ediLocation EDI Location
|
|
1725
|
+
* @param {*} [options] Override http request option.
|
|
1726
|
+
* @throws {RequiredError}
|
|
1727
|
+
* @memberof AdvClaimApi
|
|
1728
|
+
*/
|
|
1729
|
+
public getClaimXML(vbasoftwareDatabase: string, ediKey: number, claimKey: number, ediLocation: string, options?: RawAxiosRequestConfig) {
|
|
1730
|
+
return AdvClaimApiFp(this.configuration).getClaimXML(vbasoftwareDatabase, ediKey, claimKey, ediLocation, options).then((request) => request(this.axios, this.basePath));
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1619
1733
|
/**
|
|
1620
1734
|
* List of potential benefit matches along with a match count for a specific claim service line.
|
|
1621
1735
|
* @summary List matching benefit detail
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* VBASoftware
|
|
5
|
+
* APIs for VBASoftware
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
/**
|
|
25
|
+
* AuthenticationApi - axios parameter creator
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export const AuthenticationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29
|
+
return {
|
|
30
|
+
/**
|
|
31
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
32
|
+
* @summary Forcefully terminate the longest active user session
|
|
33
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
kickLongestSessionUser: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
39
|
+
assertParamExists('kickLongestSessionUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
40
|
+
const localVarPath = `/kick`;
|
|
41
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43
|
+
let baseOptions;
|
|
44
|
+
if (configuration) {
|
|
45
|
+
baseOptions = configuration.baseOptions;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
49
|
+
const localVarHeaderParameter = {} as any;
|
|
50
|
+
const localVarQueryParameter = {} as any;
|
|
51
|
+
|
|
52
|
+
// authentication apiKeyAuth required
|
|
53
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
54
|
+
|
|
55
|
+
// authentication bearerAuth required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
if (vbasoftwareDatabase != null) {
|
|
62
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
63
|
+
}
|
|
64
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
url: toPathString(localVarUrlObj),
|
|
70
|
+
options: localVarRequestOptions,
|
|
71
|
+
};
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
75
|
+
* @summary Log out user
|
|
76
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
logoutUser: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
81
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
82
|
+
assertParamExists('logoutUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
83
|
+
const localVarPath = `/logout`;
|
|
84
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
86
|
+
let baseOptions;
|
|
87
|
+
if (configuration) {
|
|
88
|
+
baseOptions = configuration.baseOptions;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
92
|
+
const localVarHeaderParameter = {} as any;
|
|
93
|
+
const localVarQueryParameter = {} as any;
|
|
94
|
+
|
|
95
|
+
// authentication apiKeyAuth required
|
|
96
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
97
|
+
|
|
98
|
+
// authentication bearerAuth required
|
|
99
|
+
// http bearer authentication required
|
|
100
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
if (vbasoftwareDatabase != null) {
|
|
105
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
106
|
+
}
|
|
107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
109
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
110
|
+
|
|
111
|
+
return {
|
|
112
|
+
url: toPathString(localVarUrlObj),
|
|
113
|
+
options: localVarRequestOptions,
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* AuthenticationApi - functional programming interface
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
export const AuthenticationApiFp = function(configuration?: Configuration) {
|
|
124
|
+
const localVarAxiosParamCreator = AuthenticationApiAxiosParamCreator(configuration)
|
|
125
|
+
return {
|
|
126
|
+
/**
|
|
127
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
128
|
+
* @summary Forcefully terminate the longest active user session
|
|
129
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
async kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.kickLongestSessionUser(vbasoftwareDatabase, options);
|
|
135
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
136
|
+
const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.kickLongestSessionUser']?.[localVarOperationServerIndex]?.url;
|
|
137
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
138
|
+
},
|
|
139
|
+
/**
|
|
140
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
141
|
+
* @summary Log out user
|
|
142
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
async logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
147
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.logoutUser(vbasoftwareDatabase, options);
|
|
148
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
149
|
+
const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.logoutUser']?.[localVarOperationServerIndex]?.url;
|
|
150
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
151
|
+
},
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* AuthenticationApi - factory interface
|
|
157
|
+
* @export
|
|
158
|
+
*/
|
|
159
|
+
export const AuthenticationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
160
|
+
const localVarFp = AuthenticationApiFp(configuration)
|
|
161
|
+
return {
|
|
162
|
+
/**
|
|
163
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
164
|
+
* @summary Forcefully terminate the longest active user session
|
|
165
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
170
|
+
return localVarFp.kickLongestSessionUser(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
174
|
+
* @summary Log out user
|
|
175
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
180
|
+
return localVarFp.logoutUser(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
181
|
+
},
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* AuthenticationApi - interface
|
|
187
|
+
* @export
|
|
188
|
+
* @interface AuthenticationApi
|
|
189
|
+
*/
|
|
190
|
+
export interface AuthenticationApiInterface {
|
|
191
|
+
/**
|
|
192
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
193
|
+
* @summary Forcefully terminate the longest active user session
|
|
194
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
* @memberof AuthenticationApiInterface
|
|
198
|
+
*/
|
|
199
|
+
kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
203
|
+
* @summary Log out user
|
|
204
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
* @memberof AuthenticationApiInterface
|
|
208
|
+
*/
|
|
209
|
+
logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
210
|
+
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* AuthenticationApi - object-oriented interface
|
|
215
|
+
* @export
|
|
216
|
+
* @class AuthenticationApi
|
|
217
|
+
* @extends {BaseAPI}
|
|
218
|
+
*/
|
|
219
|
+
export class AuthenticationApi extends BaseAPI implements AuthenticationApiInterface {
|
|
220
|
+
/**
|
|
221
|
+
* Ends the session of the user who has been logged in the longest, forcing them to log in again.
|
|
222
|
+
* @summary Forcefully terminate the longest active user session
|
|
223
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
* @memberof AuthenticationApi
|
|
227
|
+
*/
|
|
228
|
+
public kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
|
|
229
|
+
return AuthenticationApiFp(this.configuration).kickLongestSessionUser(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Terminates the current user\'s session and logs them out of the system.
|
|
234
|
+
* @summary Log out user
|
|
235
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
* @memberof AuthenticationApi
|
|
239
|
+
*/
|
|
240
|
+
public logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
|
|
241
|
+
return AuthenticationApiFp(this.configuration).logoutUser(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|