@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230208.2 → 1.20230403.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 +19 -0
- package/api/adv-group-api.ts +17 -17
- package/api/chat-gptapi.ts +154 -0
- package/api/events-api.ts +87 -0
- package/api/groups-api.ts +17 -17
- package/api/prem-rate-types-api.ts +668 -0
- package/api/premium-invoice-payments-api.ts +124 -0
- package/api/premium-invoices-api.ts +336 -5
- package/api/premium-rate-distribution-types-api.ts +155 -0
- package/api/state-interest-api.ts +668 -0
- package/api/subscriber-plan-policies-api.ts +43 -91
- package/api/user-api.ts +394 -0
- package/api.ts +4 -0
- package/models/chat-message.ts +30 -0
- package/models/claim-batch-detail.ts +152 -140
- package/models/claim-batch.ts +1697 -479
- package/models/claim-detail.ts +137 -125
- package/models/claim-pre-batch-detail.ts +101 -95
- package/models/claim-pre-batch.ts +1703 -425
- package/models/claim.ts +1562 -338
- package/models/company-data.ts +433 -403
- package/models/cost-contain-zelis-ex-code.ts +12 -6
- package/models/enrollment-disenroll-group.ts +84 -0
- package/models/enrollment-disenroll.ts +28 -34
- package/models/groups.ts +18 -18
- package/models/idcard-request.ts +3 -3
- package/models/index.ts +15 -0
- 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-medicare-resp.ts +50 -26
- package/models/members.ts +1 -1
- package/models/network-procedure-cluster.ts +15 -9
- package/models/plan-benefit-cluster.ts +12 -12
- package/models/plan-benefit-rate.ts +5 -5
- package/models/plan-benefits.ts +58 -52
- package/models/plan-type.ts +21 -21
- package/models/plans.ts +41 -41
- package/models/prem-invoice-group-summary-vbaresponse.ts +45 -0
- package/models/prem-invoice-group-summary.ts +114 -0
- package/models/prem-invoice-payment-ext-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-payment-ext.ts +102 -0
- package/models/prem-invoice-slim-list-vbaresponse.ts +45 -0
- package/models/prem-invoice-slim.ts +42 -0
- package/models/prem-rate-type-list-vbaresponse.ts +45 -0
- package/models/prem-rate-type-vbaresponse.ts +45 -0
- package/models/prem-rate-type.ts +72 -0
- package/models/prem-rate.ts +91 -85
- package/models/state-interest-list-vbaresponse.ts +45 -0
- package/models/state-interest-vbaresponse.ts +45 -0
- package/models/state-interest.ts +84 -0
- package/models/sub-enrollment-plan.ts +10 -10
- package/models/sub-enrollment-rider.ts +14 -14
- package/models/subscribers.ts +2 -2
- package/models/user-reset-password-request.ts +42 -0
- package/models/users.ts +8 -8
- package/package.json +1 -1
package/api/user-api.ts
CHANGED
|
@@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { StringVBAResponse } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { UserAuthenticationResponseVBAResponse } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
28
30
|
import { UserChangeTempPasswordRequest } from '../models';
|
|
@@ -37,6 +39,8 @@ import { UserForgotPasswordRequest } from '../models';
|
|
|
37
39
|
// @ts-ignore
|
|
38
40
|
import { UserForgotPasswordResponseVBAResponse } from '../models';
|
|
39
41
|
// @ts-ignore
|
|
42
|
+
import { UserResetPasswordRequest } from '../models';
|
|
43
|
+
// @ts-ignore
|
|
40
44
|
import { Users } from '../models';
|
|
41
45
|
// @ts-ignore
|
|
42
46
|
import { UsersListVBAResponse } from '../models';
|
|
@@ -48,6 +52,102 @@ import { UsersVBAResponse } from '../models';
|
|
|
48
52
|
*/
|
|
49
53
|
export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
50
54
|
return {
|
|
55
|
+
/**
|
|
56
|
+
* Admin request to disable a User.
|
|
57
|
+
* @summary Admin Disable User
|
|
58
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
59
|
+
* @param {string} userID User ID
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
adminDisableUser: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
65
|
+
assertParamExists('adminDisableUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
66
|
+
// verify required parameter 'userID' is not null or undefined
|
|
67
|
+
assertParamExists('adminDisableUser', 'userID', userID)
|
|
68
|
+
const localVarPath = `/users/{userID}/admin-disable`
|
|
69
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
70
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
71
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
72
|
+
let baseOptions;
|
|
73
|
+
if (configuration) {
|
|
74
|
+
baseOptions = configuration.baseOptions;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
78
|
+
const localVarHeaderParameter = {} as any;
|
|
79
|
+
const localVarQueryParameter = {} as any;
|
|
80
|
+
|
|
81
|
+
// authentication apiKeyAuth required
|
|
82
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
83
|
+
|
|
84
|
+
// authentication bearerAuth required
|
|
85
|
+
// http bearer authentication required
|
|
86
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
87
|
+
|
|
88
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
89
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
url: toPathString(localVarUrlObj),
|
|
100
|
+
options: localVarRequestOptions,
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
/**
|
|
104
|
+
* Admin request to enable a User.
|
|
105
|
+
* @summary Admin Enable User
|
|
106
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
107
|
+
* @param {string} userID User ID
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
adminEnableUser: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
112
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
113
|
+
assertParamExists('adminEnableUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
114
|
+
// verify required parameter 'userID' is not null or undefined
|
|
115
|
+
assertParamExists('adminEnableUser', 'userID', userID)
|
|
116
|
+
const localVarPath = `/users/{userID}/admin-enable`
|
|
117
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
118
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
119
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120
|
+
let baseOptions;
|
|
121
|
+
if (configuration) {
|
|
122
|
+
baseOptions = configuration.baseOptions;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
126
|
+
const localVarHeaderParameter = {} as any;
|
|
127
|
+
const localVarQueryParameter = {} as any;
|
|
128
|
+
|
|
129
|
+
// authentication apiKeyAuth required
|
|
130
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
131
|
+
|
|
132
|
+
// authentication bearerAuth required
|
|
133
|
+
// http bearer authentication required
|
|
134
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
135
|
+
|
|
136
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
137
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
144
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
url: toPathString(localVarUrlObj),
|
|
148
|
+
options: localVarRequestOptions,
|
|
149
|
+
};
|
|
150
|
+
},
|
|
51
151
|
/**
|
|
52
152
|
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
53
153
|
* @summary Confirm Forgot Password
|
|
@@ -520,6 +620,60 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
520
620
|
options: localVarRequestOptions,
|
|
521
621
|
};
|
|
522
622
|
},
|
|
623
|
+
/**
|
|
624
|
+
* User requests to change their password.
|
|
625
|
+
* @summary User Change Password
|
|
626
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
627
|
+
* @param {string} userID User ID
|
|
628
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
629
|
+
* @param {*} [options] Override http request option.
|
|
630
|
+
* @throws {RequiredError}
|
|
631
|
+
*/
|
|
632
|
+
userChangePassword: async (vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
633
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
634
|
+
assertParamExists('userChangePassword', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
635
|
+
// verify required parameter 'userID' is not null or undefined
|
|
636
|
+
assertParamExists('userChangePassword', 'userID', userID)
|
|
637
|
+
// verify required parameter 'userResetPasswordRequest' is not null or undefined
|
|
638
|
+
assertParamExists('userChangePassword', 'userResetPasswordRequest', userResetPasswordRequest)
|
|
639
|
+
const localVarPath = `/users/{userID}/change-password`
|
|
640
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
641
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
642
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
643
|
+
let baseOptions;
|
|
644
|
+
if (configuration) {
|
|
645
|
+
baseOptions = configuration.baseOptions;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
649
|
+
const localVarHeaderParameter = {} as any;
|
|
650
|
+
const localVarQueryParameter = {} as any;
|
|
651
|
+
|
|
652
|
+
// authentication apiKeyAuth required
|
|
653
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
654
|
+
|
|
655
|
+
// authentication bearerAuth required
|
|
656
|
+
// http bearer authentication required
|
|
657
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
658
|
+
|
|
659
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
660
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
666
|
+
|
|
667
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
668
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
669
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
670
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userResetPasswordRequest, localVarRequestOptions, configuration)
|
|
671
|
+
|
|
672
|
+
return {
|
|
673
|
+
url: toPathString(localVarUrlObj),
|
|
674
|
+
options: localVarRequestOptions,
|
|
675
|
+
};
|
|
676
|
+
},
|
|
523
677
|
/**
|
|
524
678
|
* Changes a User\'s temporary password.
|
|
525
679
|
* @summary Change Temporary Password
|
|
@@ -575,6 +729,54 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
575
729
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
576
730
|
localVarRequestOptions.data = serializeDataIfNeeded(userChangeTempPasswordRequest, localVarRequestOptions, configuration)
|
|
577
731
|
|
|
732
|
+
return {
|
|
733
|
+
url: toPathString(localVarUrlObj),
|
|
734
|
+
options: localVarRequestOptions,
|
|
735
|
+
};
|
|
736
|
+
},
|
|
737
|
+
/**
|
|
738
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
739
|
+
* @summary Admin Reset User Password
|
|
740
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
741
|
+
* @param {string} userID User ID
|
|
742
|
+
* @param {*} [options] Override http request option.
|
|
743
|
+
* @throws {RequiredError}
|
|
744
|
+
*/
|
|
745
|
+
userResetPassword: async (vbasoftwareDatabase: string, userID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
746
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
747
|
+
assertParamExists('userResetPassword', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
748
|
+
// verify required parameter 'userID' is not null or undefined
|
|
749
|
+
assertParamExists('userResetPassword', 'userID', userID)
|
|
750
|
+
const localVarPath = `/users/{userID}/admin-reset-password`
|
|
751
|
+
.replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
|
|
752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
754
|
+
let baseOptions;
|
|
755
|
+
if (configuration) {
|
|
756
|
+
baseOptions = configuration.baseOptions;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
760
|
+
const localVarHeaderParameter = {} as any;
|
|
761
|
+
const localVarQueryParameter = {} as any;
|
|
762
|
+
|
|
763
|
+
// authentication apiKeyAuth required
|
|
764
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
765
|
+
|
|
766
|
+
// authentication bearerAuth required
|
|
767
|
+
// http bearer authentication required
|
|
768
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
769
|
+
|
|
770
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
771
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
777
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
778
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
779
|
+
|
|
578
780
|
return {
|
|
579
781
|
url: toPathString(localVarUrlObj),
|
|
580
782
|
options: localVarRequestOptions,
|
|
@@ -590,6 +792,30 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
590
792
|
export const UserApiFp = function(configuration?: Configuration) {
|
|
591
793
|
const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
|
|
592
794
|
return {
|
|
795
|
+
/**
|
|
796
|
+
* Admin request to disable a User.
|
|
797
|
+
* @summary Admin Disable User
|
|
798
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
799
|
+
* @param {string} userID User ID
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
*/
|
|
803
|
+
async adminDisableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminDisableUser(vbasoftwareDatabase, userID, options);
|
|
805
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
806
|
+
},
|
|
807
|
+
/**
|
|
808
|
+
* Admin request to enable a User.
|
|
809
|
+
* @summary Admin Enable User
|
|
810
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
811
|
+
* @param {string} userID User ID
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
*/
|
|
815
|
+
async adminEnableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
816
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminEnableUser(vbasoftwareDatabase, userID, options);
|
|
817
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
818
|
+
},
|
|
593
819
|
/**
|
|
594
820
|
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
595
821
|
* @summary Confirm Forgot Password
|
|
@@ -703,6 +929,19 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
703
929
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userAuthentication(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, options);
|
|
704
930
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
705
931
|
},
|
|
932
|
+
/**
|
|
933
|
+
* User requests to change their password.
|
|
934
|
+
* @summary User Change Password
|
|
935
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
936
|
+
* @param {string} userID User ID
|
|
937
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
938
|
+
* @param {*} [options] Override http request option.
|
|
939
|
+
* @throws {RequiredError}
|
|
940
|
+
*/
|
|
941
|
+
async userChangePassword(vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userChangePassword(vbasoftwareDatabase, userID, userResetPasswordRequest, options);
|
|
943
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
944
|
+
},
|
|
706
945
|
/**
|
|
707
946
|
* Changes a User\'s temporary password.
|
|
708
947
|
* @summary Change Temporary Password
|
|
@@ -717,6 +956,18 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
717
956
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userChangeTempPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userChangeTempPasswordRequest, options);
|
|
718
957
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
719
958
|
},
|
|
959
|
+
/**
|
|
960
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
961
|
+
* @summary Admin Reset User Password
|
|
962
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
963
|
+
* @param {string} userID User ID
|
|
964
|
+
* @param {*} [options] Override http request option.
|
|
965
|
+
* @throws {RequiredError}
|
|
966
|
+
*/
|
|
967
|
+
async userResetPassword(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringVBAResponse>> {
|
|
968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userResetPassword(vbasoftwareDatabase, userID, options);
|
|
969
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
970
|
+
},
|
|
720
971
|
}
|
|
721
972
|
};
|
|
722
973
|
|
|
@@ -727,6 +978,28 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
727
978
|
export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
728
979
|
const localVarFp = UserApiFp(configuration)
|
|
729
980
|
return {
|
|
981
|
+
/**
|
|
982
|
+
* Admin request to disable a User.
|
|
983
|
+
* @summary Admin Disable User
|
|
984
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
985
|
+
* @param {string} userID User ID
|
|
986
|
+
* @param {*} [options] Override http request option.
|
|
987
|
+
* @throws {RequiredError}
|
|
988
|
+
*/
|
|
989
|
+
adminDisableUser(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringVBAResponse> {
|
|
990
|
+
return localVarFp.adminDisableUser(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
991
|
+
},
|
|
992
|
+
/**
|
|
993
|
+
* Admin request to enable a User.
|
|
994
|
+
* @summary Admin Enable User
|
|
995
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
996
|
+
* @param {string} userID User ID
|
|
997
|
+
* @param {*} [options] Override http request option.
|
|
998
|
+
* @throws {RequiredError}
|
|
999
|
+
*/
|
|
1000
|
+
adminEnableUser(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringVBAResponse> {
|
|
1001
|
+
return localVarFp.adminEnableUser(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
1002
|
+
},
|
|
730
1003
|
/**
|
|
731
1004
|
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
732
1005
|
* @summary Confirm Forgot Password
|
|
@@ -831,6 +1104,18 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
831
1104
|
userAuthentication(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, options?: any): AxiosPromise<UserAuthenticationResponseVBAResponse> {
|
|
832
1105
|
return localVarFp.userAuthentication(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
833
1106
|
},
|
|
1107
|
+
/**
|
|
1108
|
+
* User requests to change their password.
|
|
1109
|
+
* @summary User Change Password
|
|
1110
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1111
|
+
* @param {string} userID User ID
|
|
1112
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
1113
|
+
* @param {*} [options] Override http request option.
|
|
1114
|
+
* @throws {RequiredError}
|
|
1115
|
+
*/
|
|
1116
|
+
userChangePassword(vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options?: any): AxiosPromise<StringVBAResponse> {
|
|
1117
|
+
return localVarFp.userChangePassword(vbasoftwareDatabase, userID, userResetPasswordRequest, options).then((request) => request(axios, basePath));
|
|
1118
|
+
},
|
|
834
1119
|
/**
|
|
835
1120
|
* Changes a User\'s temporary password.
|
|
836
1121
|
* @summary Change Temporary Password
|
|
@@ -844,6 +1129,17 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
844
1129
|
userChangeTempPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userChangeTempPasswordRequest: UserChangeTempPasswordRequest, options?: any): AxiosPromise<UserChangeTempPasswordResponseVBAResponse> {
|
|
845
1130
|
return localVarFp.userChangeTempPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userChangeTempPasswordRequest, options).then((request) => request(axios, basePath));
|
|
846
1131
|
},
|
|
1132
|
+
/**
|
|
1133
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
1134
|
+
* @summary Admin Reset User Password
|
|
1135
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1136
|
+
* @param {string} userID User ID
|
|
1137
|
+
* @param {*} [options] Override http request option.
|
|
1138
|
+
* @throws {RequiredError}
|
|
1139
|
+
*/
|
|
1140
|
+
userResetPassword(vbasoftwareDatabase: string, userID: string, options?: any): AxiosPromise<StringVBAResponse> {
|
|
1141
|
+
return localVarFp.userResetPassword(vbasoftwareDatabase, userID, options).then((request) => request(axios, basePath));
|
|
1142
|
+
},
|
|
847
1143
|
};
|
|
848
1144
|
};
|
|
849
1145
|
|
|
@@ -853,6 +1149,28 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
853
1149
|
* @interface UserApi
|
|
854
1150
|
*/
|
|
855
1151
|
export interface UserApiInterface {
|
|
1152
|
+
/**
|
|
1153
|
+
* Admin request to disable a User.
|
|
1154
|
+
* @summary Admin Disable User
|
|
1155
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1156
|
+
* @param {string} userID User ID
|
|
1157
|
+
* @param {*} [options] Override http request option.
|
|
1158
|
+
* @throws {RequiredError}
|
|
1159
|
+
* @memberof UserApiInterface
|
|
1160
|
+
*/
|
|
1161
|
+
adminDisableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Admin request to enable a User.
|
|
1165
|
+
* @summary Admin Enable User
|
|
1166
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1167
|
+
* @param {string} userID User ID
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
* @memberof UserApiInterface
|
|
1171
|
+
*/
|
|
1172
|
+
adminEnableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1173
|
+
|
|
856
1174
|
/**
|
|
857
1175
|
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
858
1176
|
* @summary Confirm Forgot Password
|
|
@@ -957,6 +1275,18 @@ export interface UserApiInterface {
|
|
|
957
1275
|
*/
|
|
958
1276
|
userAuthentication(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<UserAuthenticationResponseVBAResponse>;
|
|
959
1277
|
|
|
1278
|
+
/**
|
|
1279
|
+
* User requests to change their password.
|
|
1280
|
+
* @summary User Change Password
|
|
1281
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1282
|
+
* @param {string} userID User ID
|
|
1283
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
1284
|
+
* @param {*} [options] Override http request option.
|
|
1285
|
+
* @throws {RequiredError}
|
|
1286
|
+
* @memberof UserApiInterface
|
|
1287
|
+
*/
|
|
1288
|
+
userChangePassword(vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1289
|
+
|
|
960
1290
|
/**
|
|
961
1291
|
* Changes a User\'s temporary password.
|
|
962
1292
|
* @summary Change Temporary Password
|
|
@@ -970,6 +1300,17 @@ export interface UserApiInterface {
|
|
|
970
1300
|
*/
|
|
971
1301
|
userChangeTempPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userChangeTempPasswordRequest: UserChangeTempPasswordRequest, options?: AxiosRequestConfig): AxiosPromise<UserChangeTempPasswordResponseVBAResponse>;
|
|
972
1302
|
|
|
1303
|
+
/**
|
|
1304
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
1305
|
+
* @summary Admin Reset User Password
|
|
1306
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1307
|
+
* @param {string} userID User ID
|
|
1308
|
+
* @param {*} [options] Override http request option.
|
|
1309
|
+
* @throws {RequiredError}
|
|
1310
|
+
* @memberof UserApiInterface
|
|
1311
|
+
*/
|
|
1312
|
+
userResetPassword(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig): AxiosPromise<StringVBAResponse>;
|
|
1313
|
+
|
|
973
1314
|
}
|
|
974
1315
|
|
|
975
1316
|
/**
|
|
@@ -979,6 +1320,32 @@ export interface UserApiInterface {
|
|
|
979
1320
|
* @extends {BaseAPI}
|
|
980
1321
|
*/
|
|
981
1322
|
export class UserApi extends BaseAPI implements UserApiInterface {
|
|
1323
|
+
/**
|
|
1324
|
+
* Admin request to disable a User.
|
|
1325
|
+
* @summary Admin Disable User
|
|
1326
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1327
|
+
* @param {string} userID User ID
|
|
1328
|
+
* @param {*} [options] Override http request option.
|
|
1329
|
+
* @throws {RequiredError}
|
|
1330
|
+
* @memberof UserApi
|
|
1331
|
+
*/
|
|
1332
|
+
public adminDisableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1333
|
+
return UserApiFp(this.configuration).adminDisableUser(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* Admin request to enable a User.
|
|
1338
|
+
* @summary Admin Enable User
|
|
1339
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1340
|
+
* @param {string} userID User ID
|
|
1341
|
+
* @param {*} [options] Override http request option.
|
|
1342
|
+
* @throws {RequiredError}
|
|
1343
|
+
* @memberof UserApi
|
|
1344
|
+
*/
|
|
1345
|
+
public adminEnableUser(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1346
|
+
return UserApiFp(this.configuration).adminEnableUser(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1347
|
+
}
|
|
1348
|
+
|
|
982
1349
|
/**
|
|
983
1350
|
* Allows a user to enter a confirmation code to reset a forgotten password.
|
|
984
1351
|
* @summary Confirm Forgot Password
|
|
@@ -1101,6 +1468,20 @@ export class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1101
1468
|
return UserApiFp(this.configuration).userAuthentication(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
1102
1469
|
}
|
|
1103
1470
|
|
|
1471
|
+
/**
|
|
1472
|
+
* User requests to change their password.
|
|
1473
|
+
* @summary User Change Password
|
|
1474
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1475
|
+
* @param {string} userID User ID
|
|
1476
|
+
* @param {UserResetPasswordRequest} userResetPasswordRequest
|
|
1477
|
+
* @param {*} [options] Override http request option.
|
|
1478
|
+
* @throws {RequiredError}
|
|
1479
|
+
* @memberof UserApi
|
|
1480
|
+
*/
|
|
1481
|
+
public userChangePassword(vbasoftwareDatabase: string, userID: string, userResetPasswordRequest: UserResetPasswordRequest, options?: AxiosRequestConfig) {
|
|
1482
|
+
return UserApiFp(this.configuration).userChangePassword(vbasoftwareDatabase, userID, userResetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1104
1485
|
/**
|
|
1105
1486
|
* Changes a User\'s temporary password.
|
|
1106
1487
|
* @summary Change Temporary Password
|
|
@@ -1115,4 +1496,17 @@ export class UserApi extends BaseAPI implements UserApiInterface {
|
|
|
1115
1496
|
public userChangeTempPassword(vbasoftwareClientId: string, vbasoftwareClientCode: string, vbasoftwareDatabase: string, userChangeTempPasswordRequest: UserChangeTempPasswordRequest, options?: AxiosRequestConfig) {
|
|
1116
1497
|
return UserApiFp(this.configuration).userChangeTempPassword(vbasoftwareClientId, vbasoftwareClientCode, vbasoftwareDatabase, userChangeTempPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1117
1498
|
}
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Admin request to reset a User\'s password. When an Administrator calls this API, the User\'s current password is invalidated and must be changed. If a user tries to sign in after the API is called, the User will get a `PasswordResetRequired` message back and should use the `forgot password` flow. In addition, if a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
|
|
1502
|
+
* @summary Admin Reset User Password
|
|
1503
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1504
|
+
* @param {string} userID User ID
|
|
1505
|
+
* @param {*} [options] Override http request option.
|
|
1506
|
+
* @throws {RequiredError}
|
|
1507
|
+
* @memberof UserApi
|
|
1508
|
+
*/
|
|
1509
|
+
public userResetPassword(vbasoftwareDatabase: string, userID: string, options?: AxiosRequestConfig) {
|
|
1510
|
+
return UserApiFp(this.configuration).userResetPassword(vbasoftwareDatabase, userID, options).then((request) => request(this.axios, this.basePath));
|
|
1511
|
+
}
|
|
1118
1512
|
}
|
package/api.ts
CHANGED
|
@@ -142,6 +142,7 @@ export * from './api/case-priorities-api';
|
|
|
142
142
|
export * from './api/case-reasons-api';
|
|
143
143
|
export * from './api/case-status-reasons-api';
|
|
144
144
|
export * from './api/case-statuses-api';
|
|
145
|
+
export * from './api/chat-gptapi';
|
|
145
146
|
export * from './api/check-batches-api';
|
|
146
147
|
export * from './api/check-details-api';
|
|
147
148
|
export * from './api/check-edit-details-api';
|
|
@@ -564,6 +565,7 @@ export * from './api/plan-types-api';
|
|
|
564
565
|
export * from './api/plans-api';
|
|
565
566
|
export * from './api/policy-forfeiture-ext-details-api';
|
|
566
567
|
export * from './api/policy-statuses-api';
|
|
568
|
+
export * from './api/prem-rate-types-api';
|
|
567
569
|
export * from './api/premium-claim-api';
|
|
568
570
|
export * from './api/premium-distributions-api';
|
|
569
571
|
export * from './api/premium-invoice-adjustments-api';
|
|
@@ -586,6 +588,7 @@ export * from './api/premium-payments-on-subscribers-api';
|
|
|
586
588
|
export * from './api/premium-rate-age-types-api';
|
|
587
589
|
export * from './api/premium-rate-basis-api';
|
|
588
590
|
export * from './api/premium-rate-categories-api';
|
|
591
|
+
export * from './api/premium-rate-distribution-types-api';
|
|
589
592
|
export * from './api/premium-rate-excludes-api';
|
|
590
593
|
export * from './api/premium-rate-members-api';
|
|
591
594
|
export * from './api/premium-rate-min-max-api';
|
|
@@ -719,6 +722,7 @@ export * from './api/send-to-api';
|
|
|
719
722
|
export * from './api/sex-codes-api';
|
|
720
723
|
export * from './api/signatures-api';
|
|
721
724
|
export * from './api/specialty-api';
|
|
725
|
+
export * from './api/state-interest-api';
|
|
722
726
|
export * from './api/state-procedure-code-taxes-api';
|
|
723
727
|
export * from './api/states-api';
|
|
724
728
|
export * from './api/subscriber-accumulators-api';
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ChatMessage
|
|
21
|
+
*/
|
|
22
|
+
export interface ChatMessage {
|
|
23
|
+
/**
|
|
24
|
+
* The message from the user.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ChatMessage
|
|
27
|
+
*/
|
|
28
|
+
'message'?: string | null;
|
|
29
|
+
}
|
|
30
|
+
|