@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20221108.4 → 1.20221210.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 +11 -1
- package/api/adv-benefits-api.ts +167 -0
- package/api/auth-reference-api.ts +5 -5
- package/api/cost-contain-zelis-ex-codes-api.ts +668 -0
- package/api/plan-benefit-clusters-api.ts +668 -0
- package/api/plans-api.ts +99 -0
- package/api.ts +3 -0
- package/models/{auth-reference-list-vbaresponse.ts → auth-list-vbaresponse.ts} +8 -8
- package/models/claim-batch.ts +6 -0
- package/models/claim.ts +6 -0
- package/models/company-data.ts +24 -0
- package/models/cost-contain-zelis-ex-code-list-vbaresponse.ts +45 -0
- package/models/cost-contain-zelis-ex-code-vbaresponse.ts +45 -0
- package/models/cost-contain-zelis-ex-code.ts +60 -0
- package/models/index.ts +8 -1
- package/models/plan-benefit-cluster-list-vbaresponse.ts +45 -0
- package/models/plan-benefit-cluster-vbaresponse.ts +45 -0
- package/models/plan-benefit-cluster.ts +96 -0
- package/models/plan-copy.ts +192 -0
- package/models/plans.ts +128 -98
- package/models/prem-rate.ts +6 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -5,6 +5,7 @@ api.ts
|
|
|
5
5
|
api/admission-type-places-api.ts
|
|
6
6
|
api/adv-accounting-api.ts
|
|
7
7
|
api/adv-auth-api.ts
|
|
8
|
+
api/adv-benefits-api.ts
|
|
8
9
|
api/adv-capitation-api.ts
|
|
9
10
|
api/adv-commission-api.ts
|
|
10
11
|
api/adv-enrollment-api.ts
|
|
@@ -242,6 +243,7 @@ api/context4-health-cost-containment-message-types-api.ts
|
|
|
242
243
|
api/context4-health-cost-containment-option-pricing-api.ts
|
|
243
244
|
api/context4-health-cost-containment-options-api.ts
|
|
244
245
|
api/contribution-schedules-api.ts
|
|
246
|
+
api/cost-contain-zelis-ex-codes-api.ts
|
|
245
247
|
api/country-api.ts
|
|
246
248
|
api/country-dialing-codes-api.ts
|
|
247
249
|
api/county-api.ts
|
|
@@ -505,6 +507,7 @@ api/plan-accumulators-api.ts
|
|
|
505
507
|
api/plan-auth-penalties-api.ts
|
|
506
508
|
api/plan-auth-penalty-benefits-api.ts
|
|
507
509
|
api/plan-benefit-cascades-api.ts
|
|
510
|
+
api/plan-benefit-clusters-api.ts
|
|
508
511
|
api/plan-benefit-diagnosis-ex-codes-api.ts
|
|
509
512
|
api/plan-benefit-diagnostic-codes-api.ts
|
|
510
513
|
api/plan-benefit-levels-api.ts
|
|
@@ -799,10 +802,10 @@ models/auth-code.ts
|
|
|
799
802
|
models/auth-diag-codes-list-vbaresponse.ts
|
|
800
803
|
models/auth-diag-codes-vbaresponse.ts
|
|
801
804
|
models/auth-diag-codes.ts
|
|
805
|
+
models/auth-list-vbaresponse.ts
|
|
802
806
|
models/auth-proc-codes-list-vbaresponse.ts
|
|
803
807
|
models/auth-proc-codes-vbaresponse.ts
|
|
804
808
|
models/auth-proc-codes.ts
|
|
805
|
-
models/auth-reference-list-vbaresponse.ts
|
|
806
809
|
models/auth-reference-vbaresponse.ts
|
|
807
810
|
models/auth-reference.ts
|
|
808
811
|
models/auth-review-level-list-vbaresponse.ts
|
|
@@ -1481,6 +1484,9 @@ models/cost-contain-zelis-edit-code.ts
|
|
|
1481
1484
|
models/cost-contain-zelis-eobcode-list-vbaresponse.ts
|
|
1482
1485
|
models/cost-contain-zelis-eobcode-vbaresponse.ts
|
|
1483
1486
|
models/cost-contain-zelis-eobcode.ts
|
|
1487
|
+
models/cost-contain-zelis-ex-code-list-vbaresponse.ts
|
|
1488
|
+
models/cost-contain-zelis-ex-code-vbaresponse.ts
|
|
1489
|
+
models/cost-contain-zelis-ex-code.ts
|
|
1484
1490
|
models/cost-contain-zelis-poll-list-vbaresponse.ts
|
|
1485
1491
|
models/cost-contain-zelis-poll-vbaresponse.ts
|
|
1486
1492
|
models/cost-contain-zelis-poll.ts
|
|
@@ -2231,6 +2237,9 @@ models/plan-ben-code-specialty.ts
|
|
|
2231
2237
|
models/plan-benefit-cascade-list-vbaresponse.ts
|
|
2232
2238
|
models/plan-benefit-cascade-vbaresponse.ts
|
|
2233
2239
|
models/plan-benefit-cascade.ts
|
|
2240
|
+
models/plan-benefit-cluster-list-vbaresponse.ts
|
|
2241
|
+
models/plan-benefit-cluster-vbaresponse.ts
|
|
2242
|
+
models/plan-benefit-cluster.ts
|
|
2234
2243
|
models/plan-benefit-level-list-vbaresponse.ts
|
|
2235
2244
|
models/plan-benefit-level-vbaresponse.ts
|
|
2236
2245
|
models/plan-benefit-level.ts
|
|
@@ -2264,6 +2273,7 @@ models/plan-benefits-procedures-vbaresponse.ts
|
|
|
2264
2273
|
models/plan-benefits-procedures.ts
|
|
2265
2274
|
models/plan-benefits-vbaresponse.ts
|
|
2266
2275
|
models/plan-benefits.ts
|
|
2276
|
+
models/plan-copy.ts
|
|
2267
2277
|
models/plan-diagnosis-age-list-vbaresponse.ts
|
|
2268
2278
|
models/plan-diagnosis-age-vbaresponse.ts
|
|
2269
2279
|
models/plan-diagnosis-age.ts
|
|
@@ -0,0 +1,167 @@
|
|
|
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 globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { PlanCopy } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { PlansVBAResponse } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* AdvBenefitsApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const AdvBenefitsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
* Copies an existing plan. This copy can be to a completely new Plan ID, or to overwrite an existing Plan ID.
|
|
35
|
+
* @summary Copy Plan
|
|
36
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
37
|
+
* @param {PlanCopy} planCopy
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
copyPlan: async (vbasoftwareDatabase: string, planCopy: PlanCopy, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
43
|
+
assertParamExists('copyPlan', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
44
|
+
// verify required parameter 'planCopy' is not null or undefined
|
|
45
|
+
assertParamExists('copyPlan', 'planCopy', planCopy)
|
|
46
|
+
const localVarPath = `/plans-copy`;
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
55
|
+
const localVarHeaderParameter = {} as any;
|
|
56
|
+
const localVarQueryParameter = {} as any;
|
|
57
|
+
|
|
58
|
+
// authentication apiKeyAuth required
|
|
59
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
60
|
+
|
|
61
|
+
// authentication bearerAuth required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
64
|
+
|
|
65
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
66
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
72
|
+
|
|
73
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
76
|
+
localVarRequestOptions.data = serializeDataIfNeeded(planCopy, localVarRequestOptions, configuration)
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
url: toPathString(localVarUrlObj),
|
|
80
|
+
options: localVarRequestOptions,
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* AdvBenefitsApi - functional programming interface
|
|
88
|
+
* @export
|
|
89
|
+
*/
|
|
90
|
+
export const AdvBenefitsApiFp = function(configuration?: Configuration) {
|
|
91
|
+
const localVarAxiosParamCreator = AdvBenefitsApiAxiosParamCreator(configuration)
|
|
92
|
+
return {
|
|
93
|
+
/**
|
|
94
|
+
* Copies an existing plan. This copy can be to a completely new Plan ID, or to overwrite an existing Plan ID.
|
|
95
|
+
* @summary Copy Plan
|
|
96
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
97
|
+
* @param {PlanCopy} planCopy
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
async copyPlan(vbasoftwareDatabase: string, planCopy: PlanCopy, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlansVBAResponse>> {
|
|
102
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.copyPlan(vbasoftwareDatabase, planCopy, options);
|
|
103
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
104
|
+
},
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* AdvBenefitsApi - factory interface
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export const AdvBenefitsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
113
|
+
const localVarFp = AdvBenefitsApiFp(configuration)
|
|
114
|
+
return {
|
|
115
|
+
/**
|
|
116
|
+
* Copies an existing plan. This copy can be to a completely new Plan ID, or to overwrite an existing Plan ID.
|
|
117
|
+
* @summary Copy Plan
|
|
118
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
119
|
+
* @param {PlanCopy} planCopy
|
|
120
|
+
* @param {*} [options] Override http request option.
|
|
121
|
+
* @throws {RequiredError}
|
|
122
|
+
*/
|
|
123
|
+
copyPlan(vbasoftwareDatabase: string, planCopy: PlanCopy, options?: any): AxiosPromise<PlansVBAResponse> {
|
|
124
|
+
return localVarFp.copyPlan(vbasoftwareDatabase, planCopy, options).then((request) => request(axios, basePath));
|
|
125
|
+
},
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* AdvBenefitsApi - interface
|
|
131
|
+
* @export
|
|
132
|
+
* @interface AdvBenefitsApi
|
|
133
|
+
*/
|
|
134
|
+
export interface AdvBenefitsApiInterface {
|
|
135
|
+
/**
|
|
136
|
+
* Copies an existing plan. This copy can be to a completely new Plan ID, or to overwrite an existing Plan ID.
|
|
137
|
+
* @summary Copy Plan
|
|
138
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
139
|
+
* @param {PlanCopy} planCopy
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
* @memberof AdvBenefitsApiInterface
|
|
143
|
+
*/
|
|
144
|
+
copyPlan(vbasoftwareDatabase: string, planCopy: PlanCopy, options?: AxiosRequestConfig): AxiosPromise<PlansVBAResponse>;
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* AdvBenefitsApi - object-oriented interface
|
|
150
|
+
* @export
|
|
151
|
+
* @class AdvBenefitsApi
|
|
152
|
+
* @extends {BaseAPI}
|
|
153
|
+
*/
|
|
154
|
+
export class AdvBenefitsApi extends BaseAPI implements AdvBenefitsApiInterface {
|
|
155
|
+
/**
|
|
156
|
+
* Copies an existing plan. This copy can be to a completely new Plan ID, or to overwrite an existing Plan ID.
|
|
157
|
+
* @summary Copy Plan
|
|
158
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
159
|
+
* @param {PlanCopy} planCopy
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
* @memberof AdvBenefitsApi
|
|
163
|
+
*/
|
|
164
|
+
public copyPlan(vbasoftwareDatabase: string, planCopy: PlanCopy, options?: AxiosRequestConfig) {
|
|
165
|
+
return AdvBenefitsApiFp(this.configuration).copyPlan(vbasoftwareDatabase, planCopy, options).then((request) => request(this.axios, this.basePath));
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -21,9 +21,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import {
|
|
24
|
+
import { AuthListVBAResponse } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import {
|
|
26
|
+
import { AuthReference } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { AuthReferenceVBAResponse } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
@@ -409,7 +409,7 @@ export const AuthReferenceApiFp = function(configuration?: Configuration) {
|
|
|
409
409
|
* @param {*} [options] Override http request option.
|
|
410
410
|
* @throws {RequiredError}
|
|
411
411
|
*/
|
|
412
|
-
async listAuthReferenceForAuth(vbasoftwareDatabase: string, originalAuthNumber: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
412
|
+
async listAuthReferenceForAuth(vbasoftwareDatabase: string, originalAuthNumber: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthListVBAResponse>> {
|
|
413
413
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAuthReferenceForAuth(vbasoftwareDatabase, originalAuthNumber, options);
|
|
414
414
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
415
415
|
},
|
|
@@ -494,7 +494,7 @@ export const AuthReferenceApiFactory = function (configuration?: Configuration,
|
|
|
494
494
|
* @param {*} [options] Override http request option.
|
|
495
495
|
* @throws {RequiredError}
|
|
496
496
|
*/
|
|
497
|
-
listAuthReferenceForAuth(vbasoftwareDatabase: string, originalAuthNumber: string, options?: any): AxiosPromise<
|
|
497
|
+
listAuthReferenceForAuth(vbasoftwareDatabase: string, originalAuthNumber: string, options?: any): AxiosPromise<AuthListVBAResponse> {
|
|
498
498
|
return localVarFp.listAuthReferenceForAuth(vbasoftwareDatabase, originalAuthNumber, options).then((request) => request(axios, basePath));
|
|
499
499
|
},
|
|
500
500
|
/**
|
|
@@ -576,7 +576,7 @@ export interface AuthReferenceApiInterface {
|
|
|
576
576
|
* @throws {RequiredError}
|
|
577
577
|
* @memberof AuthReferenceApiInterface
|
|
578
578
|
*/
|
|
579
|
-
listAuthReferenceForAuth(vbasoftwareDatabase: string, originalAuthNumber: string, options?: AxiosRequestConfig): AxiosPromise<
|
|
579
|
+
listAuthReferenceForAuth(vbasoftwareDatabase: string, originalAuthNumber: string, options?: AxiosRequestConfig): AxiosPromise<AuthListVBAResponse>;
|
|
580
580
|
|
|
581
581
|
/**
|
|
582
582
|
* Updates a specific AuthReference.
|