@cherryin/passport-api-client 0.1.0
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 +202 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +336 -0
- package/api.ts +8354 -0
- package/base.ts +62 -0
- package/common.ts +113 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +4798 -0
- package/dist/api.js +6070 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +28 -0
- package/dist/common.js +124 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +4798 -0
- package/dist/esm/api.js +6043 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +28 -0
- package/dist/esm/common.js +112 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AdminEnterpriseMaterials.md +24 -0
- package/docs/AdminEnterpriseUser.md +24 -0
- package/docs/AdminEnterpriseUserMaterials.md +22 -0
- package/docs/AdminPassportItem.md +24 -0
- package/docs/AdminUserItem.md +26 -0
- package/docs/Any.md +20 -0
- package/docs/AuthAdminSession.md +38 -0
- package/docs/AuthAdminUser.md +32 -0
- package/docs/AuthEnterpriseMaterials.md +32 -0
- package/docs/AuthEnterpriseSession.md +36 -0
- package/docs/AuthEnterpriseUser.md +36 -0
- package/docs/AuthIdToken.md +28 -0
- package/docs/AuthPassport.md +34 -0
- package/docs/AuthUser.md +38 -0
- package/docs/AuthUserMethod.md +38 -0
- package/docs/AuthUserSession.md +40 -0
- package/docs/PassportAdminPasswordForgetRequest.md +22 -0
- package/docs/PassportAdminPasswordForgetResponse.md +22 -0
- package/docs/PassportAdminPasswordResetRequest.md +28 -0
- package/docs/PassportAdminPasswordResetResponse.md +26 -0
- package/docs/PassportAdminPasswordResetTokenVerifyRequest.md +20 -0
- package/docs/PassportAdminPasswordResetTokenVerifyResponse.md +26 -0
- package/docs/PassportAdminSendVerificationEmailRequest.md +26 -0
- package/docs/PassportAdminSendVerificationEmailResponse.md +22 -0
- package/docs/PassportAdminSignInEmailRequest.md +28 -0
- package/docs/PassportAdminSignInEmailResponse.md +26 -0
- package/docs/PassportAdminTokenAuthRequest.md +20 -0
- package/docs/PassportAdminTokenAuthResponse.md +28 -0
- package/docs/PassportAuthAdminChangePasswordRequest.md +24 -0
- package/docs/PassportAuthAdminChangePasswordResponse.md +26 -0
- package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +28 -0
- package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +22 -0
- package/docs/PassportAuthAdminEnterpriseMaterialReviewResponse.md +22 -0
- package/docs/PassportAuthAdminGetInfoResponse.md +24 -0
- package/docs/PassportAuthAdminGetSessionResponse.md +26 -0
- package/docs/PassportAuthAdminListSessionsResponse.md +24 -0
- package/docs/PassportAuthAdminPassportDisableRequest.md +22 -0
- package/docs/PassportAuthAdminPassportDisableResponse.md +22 -0
- package/docs/PassportAuthAdminPassportListRequest.md +28 -0
- package/docs/PassportAuthAdminPassportListResponse.md +28 -0
- package/docs/PassportAuthAdminPassportModifyInfoRequest.md +28 -0
- package/docs/PassportAuthAdminPassportModifyInfoResponse.md +24 -0
- package/docs/PassportAuthAdminRPCServiceApi.md +60 -0
- package/docs/PassportAuthAdminResetPasswordRequest.md +20 -0
- package/docs/PassportAuthAdminResetPasswordResponse.md +22 -0
- package/docs/PassportAuthAdminRevokeOtherSessionsResponse.md +22 -0
- package/docs/PassportAuthAdminRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthAdminRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthAdminRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthAdminServiceApi.md +1267 -0
- package/docs/PassportAuthAdminSignOutResponse.md +22 -0
- package/docs/PassportAuthAdminUpdateInfoRequest.md +22 -0
- package/docs/PassportAuthAdminUpdateInfoResponse.md +24 -0
- package/docs/PassportAuthAdminUserDisableRequest.md +26 -0
- package/docs/PassportAuthAdminUserDisableResponse.md +22 -0
- package/docs/PassportAuthAdminUserListRequest.md +28 -0
- package/docs/PassportAuthAdminUserListResponse.md +28 -0
- package/docs/PassportAuthAdminUserModifyInfoRequest.md +32 -0
- package/docs/PassportAuthAdminUserModifyInfoResponse.md +24 -0
- package/docs/PassportAuthAdminUserModifyPermissionRequest.md +22 -0
- package/docs/PassportAuthAdminUserModifyPermissionResponse.md +24 -0
- package/docs/PassportAuthChangePasswordRequest.md +26 -0
- package/docs/PassportAuthChangePasswordResponse.md +26 -0
- package/docs/PassportAuthDeleteAllRequest.md +28 -0
- package/docs/PassportAuthDeleteAllResponse.md +22 -0
- package/docs/PassportAuthEnterpriseChangePasswordRequest.md +24 -0
- package/docs/PassportAuthEnterpriseChangePasswordResponse.md +26 -0
- package/docs/PassportAuthEnterpriseChangePhoneRequest.md +24 -0
- package/docs/PassportAuthEnterpriseChangePhoneResponse.md +22 -0
- package/docs/PassportAuthEnterpriseDeleteRequest.md +28 -0
- package/docs/PassportAuthEnterpriseDeleteResponse.md +22 -0
- package/docs/PassportAuthEnterpriseGetSessionResponse.md +24 -0
- package/docs/PassportAuthEnterpriseInfoGetResponse.md +24 -0
- package/docs/PassportAuthEnterpriseListSessionsResponse.md +24 -0
- package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +26 -0
- package/docs/PassportAuthEnterpriseMaterialUploadResponse.md +22 -0
- package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +24 -0
- package/docs/PassportAuthEnterpriseRPCServiceApi.md +60 -0
- package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +20 -0
- package/docs/PassportAuthEnterpriseRefreshTokenResponse.md +24 -0
- package/docs/PassportAuthEnterpriseResetPasswordRequest.md +22 -0
- package/docs/PassportAuthEnterpriseResetPasswordResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeOtherSessionsResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthEnterpriseServiceApi.md +1148 -0
- package/docs/PassportAuthEnterpriseSignOutRequest.md +20 -0
- package/docs/PassportAuthEnterpriseSignOutResponse.md +22 -0
- package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +22 -0
- package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +24 -0
- package/docs/PassportAuthEnterpriseVerifyEmailRequest.md +24 -0
- package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +22 -0
- package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +22 -0
- package/docs/PassportAuthInfoGetResponse.md +26 -0
- package/docs/PassportAuthLinkSocialRequest.md +32 -0
- package/docs/PassportAuthLinkSocialResponse.md +26 -0
- package/docs/PassportAuthListMethodsResponse.md +24 -0
- package/docs/PassportAuthListSessionsResponse.md +24 -0
- package/docs/PassportAuthListSocialsResponse.md +24 -0
- package/docs/PassportAuthRefreshSessionTokenRequest.md +20 -0
- package/docs/PassportAuthRefreshSessionTokenResponse.md +24 -0
- package/docs/PassportAuthResetPasswordRequest.md +24 -0
- package/docs/PassportAuthResetPasswordResponse.md +22 -0
- package/docs/PassportAuthRevokeOtherSessionsRequest.md +20 -0
- package/docs/PassportAuthRevokeOtherSessionsResponse.md +24 -0
- package/docs/PassportAuthRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthRevokeSessionsRequest.md +20 -0
- package/docs/PassportAuthRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthSendVerificationEmailRequest.md +26 -0
- package/docs/PassportAuthSendVerificationEmailResponse.md +22 -0
- package/docs/PassportAuthSendVerificationPhoneRequest.md +26 -0
- package/docs/PassportAuthSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportAuthSocialGetAccessTokenRequest.md +24 -0
- package/docs/PassportAuthSocialGetAccessTokenResponse.md +34 -0
- package/docs/PassportAuthSocialRefreshTokenRequest.md +24 -0
- package/docs/PassportAuthSocialRefreshTokenResponse.md +34 -0
- package/docs/PassportAuthUnlinkSocialRequest.md +24 -0
- package/docs/PassportAuthUnlinkSocialResponse.md +22 -0
- package/docs/PassportAuthUserChangeEmailRequest.md +24 -0
- package/docs/PassportAuthUserChangeEmailResponse.md +24 -0
- package/docs/PassportAuthUserChangePhoneRequest.md +26 -0
- package/docs/PassportAuthUserChangePhoneResponse.md +24 -0
- package/docs/PassportAuthUserDeleteRequest.md +30 -0
- package/docs/PassportAuthUserDeleteResponse.md +22 -0
- package/docs/PassportAuthUserGetSessionResponse.md +24 -0
- package/docs/PassportAuthUserInfoGetResponse.md +24 -0
- package/docs/PassportAuthUserRPCServiceApi.md +219 -0
- package/docs/PassportAuthUserServiceApi.md +1963 -0
- package/docs/PassportAuthUserSignOutRequest.md +22 -0
- package/docs/PassportAuthUserSignOutResponse.md +22 -0
- package/docs/PassportAuthUserUpdateInfoRequest.md +28 -0
- package/docs/PassportAuthUserUpdateInfoResponse.md +24 -0
- package/docs/PassportAuthUserUpdatePassportRequest.md +22 -0
- package/docs/PassportAuthUserUpdatePassportResponse.md +24 -0
- package/docs/PassportAuthUserVerifyEmailRequest.md +26 -0
- package/docs/PassportAuthUserVerifyEmailResponse.md +22 -0
- package/docs/PassportAuthUserVerifyPhoneRequest.md +24 -0
- package/docs/PassportAuthUserVerifyPhoneResponse.md +22 -0
- package/docs/PassportEnterprisePasswordResetRequest.md +24 -0
- package/docs/PassportEnterprisePasswordResetResponse.md +26 -0
- package/docs/PassportEnterpriseSendVerificationEmailRequest.md +24 -0
- package/docs/PassportEnterpriseSendVerificationEmailResponse.md +22 -0
- package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +24 -0
- package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportEnterpriseSignInEmailRequest.md +30 -0
- package/docs/PassportEnterpriseSignInEmailResponse.md +30 -0
- package/docs/PassportEnterpriseSignInPhoneRequest.md +24 -0
- package/docs/PassportEnterpriseSignInPhoneResponse.md +26 -0
- package/docs/PassportEnterpriseSignUpEmailRequest.md +34 -0
- package/docs/PassportEnterpriseSignUpEmailResponse.md +30 -0
- package/docs/PassportEnterpriseTokenAuthRequest.md +20 -0
- package/docs/PassportEnterpriseTokenAuthResponse.md +28 -0
- package/docs/PassportSendVerificationEmailRequest.md +26 -0
- package/docs/PassportSendVerificationEmailResponse.md +22 -0
- package/docs/PassportSendVerificationPhoneRequest.md +26 -0
- package/docs/PassportSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportUserInfoBatchGetRequest.md +24 -0
- package/docs/PassportUserInfoBatchGetResponse.md +24 -0
- package/docs/PassportUserInfoGetRequest.md +24 -0
- package/docs/PassportUserInfoGetResponse.md +24 -0
- package/docs/PassportUserOAuthCallbackResponse.md +36 -0
- package/docs/PassportUserPasswordForgetRequest.md +24 -0
- package/docs/PassportUserPasswordForgetResponse.md +22 -0
- package/docs/PassportUserPasswordResetRequest.md +30 -0
- package/docs/PassportUserPasswordResetResponse.md +26 -0
- package/docs/PassportUserPasswordResetTokenVerifyRequest.md +22 -0
- package/docs/PassportUserPasswordResetTokenVerifyResponse.md +26 -0
- package/docs/PassportUserSignInEmailRequest.md +32 -0
- package/docs/PassportUserSignInEmailResponse.md +32 -0
- package/docs/PassportUserSignInPhoneRequest.md +26 -0
- package/docs/PassportUserSignInPhoneResponse.md +28 -0
- package/docs/PassportUserSignInSocialRequest.md +32 -0
- package/docs/PassportUserSignInSocialResponse.md +32 -0
- package/docs/PassportUserSignUpEmailRequest.md +36 -0
- package/docs/PassportUserSignUpEmailResponse.md +32 -0
- package/docs/PassportUserTokenAuthRequest.md +20 -0
- package/docs/PassportUserTokenAuthResponse.md +28 -0
- package/docs/PassportUserUpdateInfoRequest.md +30 -0
- package/docs/PassportUserUpdateInfoResponse.md +22 -0
- package/docs/Status.md +24 -0
- package/docs/UserBasic.md +42 -0
- package/docs/UserExtendInfo.md +20 -0
- package/docs/UserInfo.md +28 -0
- package/docs/UserInfoQueryOptions.md +28 -0
- package/docs/UserPaymentInfo.md +20 -0
- package/docs/UserPreferences.md +22 -0
- package/docs/UserSettings.md +20 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +36 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
package/dist/api.d.ts
ADDED
|
@@ -0,0 +1,4798 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* passportpb/auth_base.proto
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import type { RequestArgs } from './base';
|
|
15
|
+
import { BaseAPI } from './base';
|
|
16
|
+
export interface AdminEnterpriseMaterials {
|
|
17
|
+
'materials'?: AuthEnterpriseMaterials;
|
|
18
|
+
'created_at'?: string;
|
|
19
|
+
'updated_at'?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface AdminEnterpriseUser {
|
|
22
|
+
'user'?: AuthEnterpriseUser;
|
|
23
|
+
'created_at'?: string;
|
|
24
|
+
'updated_at'?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface AdminEnterpriseUserMaterials {
|
|
27
|
+
'user'?: AdminEnterpriseUser;
|
|
28
|
+
'materials'?: AdminEnterpriseMaterials;
|
|
29
|
+
}
|
|
30
|
+
export interface AdminPassportItem {
|
|
31
|
+
'passport'?: AuthPassport;
|
|
32
|
+
'created_at'?: string;
|
|
33
|
+
'updated_at'?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface AdminUserItem {
|
|
36
|
+
'user'?: AuthUser;
|
|
37
|
+
'created_at'?: string;
|
|
38
|
+
'updated_at'?: string;
|
|
39
|
+
'role'?: number;
|
|
40
|
+
}
|
|
41
|
+
export interface Any {
|
|
42
|
+
[key: string]: object | any;
|
|
43
|
+
'@type'?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface AuthAdminSession {
|
|
46
|
+
'session_token'?: string;
|
|
47
|
+
'refresh_token'?: string;
|
|
48
|
+
'session_expires_at'?: string;
|
|
49
|
+
'refresh_expires_at'?: string;
|
|
50
|
+
'created_at'?: string;
|
|
51
|
+
'updated_at'?: string;
|
|
52
|
+
'ip'?: string;
|
|
53
|
+
'user_agent'?: string;
|
|
54
|
+
'aid'?: string;
|
|
55
|
+
'uid'?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface AuthAdminUser {
|
|
58
|
+
'uid'?: string;
|
|
59
|
+
'name'?: string;
|
|
60
|
+
'email'?: string;
|
|
61
|
+
'avatar_url'?: string;
|
|
62
|
+
'role'?: number;
|
|
63
|
+
'created_at'?: string;
|
|
64
|
+
'updated_at'?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface AuthEnterpriseMaterials {
|
|
67
|
+
/**
|
|
68
|
+
* EnterpriseMaterials.RequestedAt
|
|
69
|
+
*/
|
|
70
|
+
'requested_at'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* EnterpriseMaterials.VerifiedAt
|
|
73
|
+
*/
|
|
74
|
+
'verified_at'?: string;
|
|
75
|
+
/**
|
|
76
|
+
* EnterpriseMaterials.CompanyName
|
|
77
|
+
*/
|
|
78
|
+
'company_name'?: string;
|
|
79
|
+
/**
|
|
80
|
+
* EnterpriseMaterials.UnifiedSocialCreditCode
|
|
81
|
+
*/
|
|
82
|
+
'unified_social_credit_code'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* EnterpriseMaterials.LegalPersonName
|
|
85
|
+
*/
|
|
86
|
+
'legal_person_name'?: string;
|
|
87
|
+
/**
|
|
88
|
+
* EnterpriseMaterials.LegalPersonIDNumber
|
|
89
|
+
*/
|
|
90
|
+
'legal_person_id_number'?: string;
|
|
91
|
+
/**
|
|
92
|
+
* EnterpriseMaterials.ReviewStatus
|
|
93
|
+
*/
|
|
94
|
+
'review_status'?: number;
|
|
95
|
+
}
|
|
96
|
+
export interface AuthEnterpriseSession {
|
|
97
|
+
'session_token'?: string;
|
|
98
|
+
'refresh_token'?: string;
|
|
99
|
+
'session_expires_at'?: string;
|
|
100
|
+
'refresh_expires_at'?: string;
|
|
101
|
+
'created_at'?: string;
|
|
102
|
+
'updated_at'?: string;
|
|
103
|
+
'ip'?: string;
|
|
104
|
+
'user_agent'?: string;
|
|
105
|
+
'eid'?: string;
|
|
106
|
+
}
|
|
107
|
+
export interface AuthEnterpriseUser {
|
|
108
|
+
'eid'?: string;
|
|
109
|
+
'name'?: string;
|
|
110
|
+
'email'?: string;
|
|
111
|
+
'phone'?: string;
|
|
112
|
+
'avatar_url'?: string;
|
|
113
|
+
'register_at'?: string;
|
|
114
|
+
'email_verified_at'?: string;
|
|
115
|
+
'phone_verified_at'?: string;
|
|
116
|
+
'materials'?: AuthEnterpriseMaterials;
|
|
117
|
+
}
|
|
118
|
+
export interface AuthIdToken {
|
|
119
|
+
'token'?: string;
|
|
120
|
+
'nonce'?: string;
|
|
121
|
+
'access_token'?: string;
|
|
122
|
+
'refresh_token'?: string;
|
|
123
|
+
'expires_at'?: string;
|
|
124
|
+
}
|
|
125
|
+
export interface AuthPassport {
|
|
126
|
+
'aid'?: string;
|
|
127
|
+
'name'?: string;
|
|
128
|
+
'email'?: string;
|
|
129
|
+
'phone'?: string;
|
|
130
|
+
'avatar_url'?: string;
|
|
131
|
+
'register_at'?: string;
|
|
132
|
+
'email_verified_at'?: string;
|
|
133
|
+
'phone_verified_at'?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface AuthUser {
|
|
136
|
+
'uid'?: string;
|
|
137
|
+
'app_id'?: string;
|
|
138
|
+
'aid'?: string;
|
|
139
|
+
'name'?: string;
|
|
140
|
+
'email'?: string;
|
|
141
|
+
'phone'?: string;
|
|
142
|
+
'avatar_url'?: string;
|
|
143
|
+
'register_at'?: string;
|
|
144
|
+
'email_verified_at'?: string;
|
|
145
|
+
'phone_verified_at'?: string;
|
|
146
|
+
}
|
|
147
|
+
export interface AuthUserMethod {
|
|
148
|
+
'app_id'?: string;
|
|
149
|
+
'aid'?: string;
|
|
150
|
+
'uid'?: string;
|
|
151
|
+
'provider_id'?: string;
|
|
152
|
+
'email'?: string;
|
|
153
|
+
'phone'?: string;
|
|
154
|
+
'oauth_account_id'?: string;
|
|
155
|
+
'oauth_scopes'?: Array<string>;
|
|
156
|
+
'created_at'?: string;
|
|
157
|
+
'updated_at'?: string;
|
|
158
|
+
}
|
|
159
|
+
export interface AuthUserSession {
|
|
160
|
+
'session_token'?: string;
|
|
161
|
+
'refresh_token'?: string;
|
|
162
|
+
'session_expires_at'?: string;
|
|
163
|
+
'refresh_expires_at'?: string;
|
|
164
|
+
'app_id'?: string;
|
|
165
|
+
'aid'?: string;
|
|
166
|
+
'uid'?: string;
|
|
167
|
+
'created_at'?: string;
|
|
168
|
+
'updated_at'?: string;
|
|
169
|
+
'ip'?: string;
|
|
170
|
+
'user_agent'?: string;
|
|
171
|
+
}
|
|
172
|
+
export interface PassportAdminPasswordForgetRequest {
|
|
173
|
+
'email'?: string;
|
|
174
|
+
'callback_url'?: string;
|
|
175
|
+
}
|
|
176
|
+
export interface PassportAdminPasswordForgetResponse {
|
|
177
|
+
'code'?: string;
|
|
178
|
+
'message'?: string;
|
|
179
|
+
}
|
|
180
|
+
export interface PassportAdminPasswordResetRequest {
|
|
181
|
+
'email'?: string;
|
|
182
|
+
'verify_code'?: string;
|
|
183
|
+
'new_password'?: string;
|
|
184
|
+
'redirect'?: boolean;
|
|
185
|
+
'callback_url'?: string;
|
|
186
|
+
}
|
|
187
|
+
export interface PassportAdminPasswordResetResponse {
|
|
188
|
+
'code'?: string;
|
|
189
|
+
'message'?: string;
|
|
190
|
+
'url'?: string;
|
|
191
|
+
'redirect'?: boolean;
|
|
192
|
+
}
|
|
193
|
+
export interface PassportAdminPasswordResetTokenVerifyRequest {
|
|
194
|
+
'token'?: string;
|
|
195
|
+
}
|
|
196
|
+
export interface PassportAdminPasswordResetTokenVerifyResponse {
|
|
197
|
+
'code'?: string;
|
|
198
|
+
'message'?: string;
|
|
199
|
+
'email'?: string;
|
|
200
|
+
'verify_code'?: string;
|
|
201
|
+
}
|
|
202
|
+
export interface PassportAdminSendVerificationEmailRequest {
|
|
203
|
+
'app_ids'?: string;
|
|
204
|
+
'email'?: string;
|
|
205
|
+
'callback_url'?: string;
|
|
206
|
+
'purpose'?: string;
|
|
207
|
+
}
|
|
208
|
+
export interface PassportAdminSendVerificationEmailResponse {
|
|
209
|
+
'code'?: string;
|
|
210
|
+
'message'?: string;
|
|
211
|
+
}
|
|
212
|
+
export interface PassportAdminSignInEmailRequest {
|
|
213
|
+
'email'?: string;
|
|
214
|
+
'session_type'?: string;
|
|
215
|
+
/**
|
|
216
|
+
* required.
|
|
217
|
+
*/
|
|
218
|
+
'password'?: string;
|
|
219
|
+
'verify_code'?: string;
|
|
220
|
+
'remember_me'?: boolean;
|
|
221
|
+
}
|
|
222
|
+
export interface PassportAdminSignInEmailResponse {
|
|
223
|
+
'code'?: string;
|
|
224
|
+
'message'?: string;
|
|
225
|
+
'admin'?: AuthAdminUser;
|
|
226
|
+
'session'?: AuthAdminSession;
|
|
227
|
+
}
|
|
228
|
+
export interface PassportAdminTokenAuthRequest {
|
|
229
|
+
'token'?: string;
|
|
230
|
+
}
|
|
231
|
+
export interface PassportAdminTokenAuthResponse {
|
|
232
|
+
'code'?: string;
|
|
233
|
+
'message'?: string;
|
|
234
|
+
'is_valid'?: boolean;
|
|
235
|
+
'admin'?: AuthAdminUser;
|
|
236
|
+
'session'?: AuthAdminSession;
|
|
237
|
+
}
|
|
238
|
+
export interface PassportAuthAdminChangePasswordRequest {
|
|
239
|
+
'new_password'?: string;
|
|
240
|
+
'current_password'?: string;
|
|
241
|
+
'revoke_other_sessions'?: boolean;
|
|
242
|
+
}
|
|
243
|
+
export interface PassportAuthAdminChangePasswordResponse {
|
|
244
|
+
'code'?: string;
|
|
245
|
+
'message'?: string;
|
|
246
|
+
'session'?: AuthAdminSession;
|
|
247
|
+
'user'?: AuthAdminUser;
|
|
248
|
+
}
|
|
249
|
+
export interface PassportAuthAdminEnterpriseMaterialListResponse {
|
|
250
|
+
'code'?: string;
|
|
251
|
+
'message'?: string;
|
|
252
|
+
'users'?: Array<AdminEnterpriseUserMaterials>;
|
|
253
|
+
'total'?: string;
|
|
254
|
+
'has_more'?: boolean;
|
|
255
|
+
}
|
|
256
|
+
export interface PassportAuthAdminEnterpriseMaterialReviewRequest {
|
|
257
|
+
'eid'?: string;
|
|
258
|
+
'review_status'?: number;
|
|
259
|
+
}
|
|
260
|
+
export interface PassportAuthAdminEnterpriseMaterialReviewResponse {
|
|
261
|
+
'code'?: string;
|
|
262
|
+
'message'?: string;
|
|
263
|
+
}
|
|
264
|
+
export interface PassportAuthAdminGetInfoResponse {
|
|
265
|
+
'code'?: string;
|
|
266
|
+
'message'?: string;
|
|
267
|
+
'user'?: AuthAdminUser;
|
|
268
|
+
}
|
|
269
|
+
export interface PassportAuthAdminGetSessionResponse {
|
|
270
|
+
'code'?: string;
|
|
271
|
+
'message'?: string;
|
|
272
|
+
'session'?: AuthAdminSession;
|
|
273
|
+
'user'?: AuthAdminUser;
|
|
274
|
+
}
|
|
275
|
+
export interface PassportAuthAdminListSessionsResponse {
|
|
276
|
+
'code'?: string;
|
|
277
|
+
'message'?: string;
|
|
278
|
+
'sessions'?: Array<AuthAdminSession>;
|
|
279
|
+
}
|
|
280
|
+
export interface PassportAuthAdminPassportDisableRequest {
|
|
281
|
+
'aid_list'?: Array<string>;
|
|
282
|
+
'reason'?: string;
|
|
283
|
+
}
|
|
284
|
+
export interface PassportAuthAdminPassportDisableResponse {
|
|
285
|
+
'code'?: string;
|
|
286
|
+
'message'?: string;
|
|
287
|
+
}
|
|
288
|
+
export interface PassportAuthAdminPassportListRequest {
|
|
289
|
+
'page'?: number;
|
|
290
|
+
'page_size'?: number;
|
|
291
|
+
'status'?: Array<number>;
|
|
292
|
+
'email'?: string;
|
|
293
|
+
'phone'?: string;
|
|
294
|
+
}
|
|
295
|
+
export interface PassportAuthAdminPassportListResponse {
|
|
296
|
+
'code'?: string;
|
|
297
|
+
'message'?: string;
|
|
298
|
+
'passports'?: Array<AdminPassportItem>;
|
|
299
|
+
'total'?: string;
|
|
300
|
+
'has_more'?: boolean;
|
|
301
|
+
}
|
|
302
|
+
export interface PassportAuthAdminPassportModifyInfoRequest {
|
|
303
|
+
'aid'?: string;
|
|
304
|
+
'name'?: string;
|
|
305
|
+
'email'?: string;
|
|
306
|
+
'phone'?: string;
|
|
307
|
+
'avatar_url'?: string;
|
|
308
|
+
}
|
|
309
|
+
export interface PassportAuthAdminPassportModifyInfoResponse {
|
|
310
|
+
'code'?: string;
|
|
311
|
+
'message'?: string;
|
|
312
|
+
'passport'?: AdminPassportItem;
|
|
313
|
+
}
|
|
314
|
+
export interface PassportAuthAdminResetPasswordRequest {
|
|
315
|
+
'new_password'?: string;
|
|
316
|
+
}
|
|
317
|
+
export interface PassportAuthAdminResetPasswordResponse {
|
|
318
|
+
'code'?: string;
|
|
319
|
+
'message'?: string;
|
|
320
|
+
}
|
|
321
|
+
export interface PassportAuthAdminRevokeOtherSessionsResponse {
|
|
322
|
+
'code'?: string;
|
|
323
|
+
'message'?: string;
|
|
324
|
+
}
|
|
325
|
+
export interface PassportAuthAdminRevokeSessionRequest {
|
|
326
|
+
'token'?: string;
|
|
327
|
+
}
|
|
328
|
+
export interface PassportAuthAdminRevokeSessionResponse {
|
|
329
|
+
'code'?: string;
|
|
330
|
+
'message'?: string;
|
|
331
|
+
}
|
|
332
|
+
export interface PassportAuthAdminRevokeSessionsResponse {
|
|
333
|
+
'code'?: string;
|
|
334
|
+
'message'?: string;
|
|
335
|
+
}
|
|
336
|
+
export interface PassportAuthAdminSignOutResponse {
|
|
337
|
+
'code'?: string;
|
|
338
|
+
'message'?: string;
|
|
339
|
+
}
|
|
340
|
+
export interface PassportAuthAdminUpdateInfoRequest {
|
|
341
|
+
'name'?: string;
|
|
342
|
+
'avatar_url'?: string;
|
|
343
|
+
}
|
|
344
|
+
export interface PassportAuthAdminUpdateInfoResponse {
|
|
345
|
+
'code'?: string;
|
|
346
|
+
'message'?: string;
|
|
347
|
+
'user'?: AuthAdminUser;
|
|
348
|
+
}
|
|
349
|
+
export interface PassportAuthAdminUserDisableRequest {
|
|
350
|
+
'uid_list'?: Array<string>;
|
|
351
|
+
'reason'?: string;
|
|
352
|
+
'user_state'?: number;
|
|
353
|
+
'disable_until'?: string;
|
|
354
|
+
}
|
|
355
|
+
export interface PassportAuthAdminUserDisableResponse {
|
|
356
|
+
'code'?: string;
|
|
357
|
+
'message'?: string;
|
|
358
|
+
}
|
|
359
|
+
export interface PassportAuthAdminUserListRequest {
|
|
360
|
+
'page'?: number;
|
|
361
|
+
'page_size'?: number;
|
|
362
|
+
'status'?: Array<number>;
|
|
363
|
+
'email'?: string;
|
|
364
|
+
'phone'?: string;
|
|
365
|
+
}
|
|
366
|
+
export interface PassportAuthAdminUserListResponse {
|
|
367
|
+
'code'?: string;
|
|
368
|
+
'message'?: string;
|
|
369
|
+
'users'?: Array<AdminUserItem>;
|
|
370
|
+
'total'?: string;
|
|
371
|
+
'has_more'?: boolean;
|
|
372
|
+
}
|
|
373
|
+
export interface PassportAuthAdminUserModifyInfoRequest {
|
|
374
|
+
'uid'?: string;
|
|
375
|
+
'app_id'?: string;
|
|
376
|
+
'aid'?: string;
|
|
377
|
+
'name'?: string;
|
|
378
|
+
'email'?: string;
|
|
379
|
+
'phone'?: string;
|
|
380
|
+
'avatar_url'?: string;
|
|
381
|
+
}
|
|
382
|
+
export interface PassportAuthAdminUserModifyInfoResponse {
|
|
383
|
+
'code'?: string;
|
|
384
|
+
'message'?: string;
|
|
385
|
+
'user'?: AdminUserItem;
|
|
386
|
+
}
|
|
387
|
+
export interface PassportAuthAdminUserModifyPermissionRequest {
|
|
388
|
+
'uid'?: string;
|
|
389
|
+
'role'?: number;
|
|
390
|
+
}
|
|
391
|
+
export interface PassportAuthAdminUserModifyPermissionResponse {
|
|
392
|
+
'code'?: string;
|
|
393
|
+
'message'?: string;
|
|
394
|
+
'user'?: AdminUserItem;
|
|
395
|
+
}
|
|
396
|
+
export interface PassportAuthChangePasswordRequest {
|
|
397
|
+
'app_ids'?: string;
|
|
398
|
+
'new_password'?: string;
|
|
399
|
+
'current_password'?: string;
|
|
400
|
+
'revoke_other_sessions'?: boolean;
|
|
401
|
+
}
|
|
402
|
+
export interface PassportAuthChangePasswordResponse {
|
|
403
|
+
'code'?: string;
|
|
404
|
+
'message'?: string;
|
|
405
|
+
'sessions'?: Array<AuthUserSession>;
|
|
406
|
+
'users'?: Array<AuthUser>;
|
|
407
|
+
}
|
|
408
|
+
export interface PassportAuthDeleteAllRequest {
|
|
409
|
+
'callback_url'?: string;
|
|
410
|
+
'email'?: string;
|
|
411
|
+
'password'?: string;
|
|
412
|
+
'phone'?: string;
|
|
413
|
+
'code'?: string;
|
|
414
|
+
}
|
|
415
|
+
export interface PassportAuthDeleteAllResponse {
|
|
416
|
+
'code'?: string;
|
|
417
|
+
'message'?: string;
|
|
418
|
+
}
|
|
419
|
+
export interface PassportAuthEnterpriseChangePasswordRequest {
|
|
420
|
+
'new_password'?: string;
|
|
421
|
+
'current_password'?: string;
|
|
422
|
+
'revoke_other_sessions'?: boolean;
|
|
423
|
+
}
|
|
424
|
+
export interface PassportAuthEnterpriseChangePasswordResponse {
|
|
425
|
+
'code'?: string;
|
|
426
|
+
'message'?: string;
|
|
427
|
+
'token'?: string;
|
|
428
|
+
'user'?: AuthEnterpriseUser;
|
|
429
|
+
}
|
|
430
|
+
export interface PassportAuthEnterpriseChangePhoneRequest {
|
|
431
|
+
'new_phone'?: string;
|
|
432
|
+
'verify_code'?: string;
|
|
433
|
+
'callback_url'?: string;
|
|
434
|
+
}
|
|
435
|
+
export interface PassportAuthEnterpriseChangePhoneResponse {
|
|
436
|
+
'code'?: string;
|
|
437
|
+
'message'?: string;
|
|
438
|
+
}
|
|
439
|
+
export interface PassportAuthEnterpriseDeleteRequest {
|
|
440
|
+
'callback_url'?: string;
|
|
441
|
+
'email'?: string;
|
|
442
|
+
'password'?: string;
|
|
443
|
+
'phone'?: string;
|
|
444
|
+
'verify_code'?: string;
|
|
445
|
+
}
|
|
446
|
+
export interface PassportAuthEnterpriseDeleteResponse {
|
|
447
|
+
'code'?: string;
|
|
448
|
+
'message'?: string;
|
|
449
|
+
}
|
|
450
|
+
export interface PassportAuthEnterpriseGetSessionResponse {
|
|
451
|
+
'code'?: string;
|
|
452
|
+
'message'?: string;
|
|
453
|
+
'session'?: AuthUserSession;
|
|
454
|
+
}
|
|
455
|
+
export interface PassportAuthEnterpriseInfoGetResponse {
|
|
456
|
+
'code'?: string;
|
|
457
|
+
'message'?: string;
|
|
458
|
+
'users'?: Array<AuthUser>;
|
|
459
|
+
}
|
|
460
|
+
export interface PassportAuthEnterpriseListSessionsResponse {
|
|
461
|
+
'code'?: string;
|
|
462
|
+
'message'?: string;
|
|
463
|
+
'sessions'?: Array<AuthUserSession>;
|
|
464
|
+
}
|
|
465
|
+
export interface PassportAuthEnterpriseMaterialUploadRequest {
|
|
466
|
+
/**
|
|
467
|
+
* EnterpriseMaterials.CompanyName
|
|
468
|
+
*/
|
|
469
|
+
'company_name'?: string;
|
|
470
|
+
/**
|
|
471
|
+
* EnterpriseMaterials.UnifiedSocialCreditCode
|
|
472
|
+
*/
|
|
473
|
+
'unified_social_credit_code'?: string;
|
|
474
|
+
/**
|
|
475
|
+
* EnterpriseMaterials.LegalPersonName
|
|
476
|
+
*/
|
|
477
|
+
'legal_person_name'?: string;
|
|
478
|
+
/**
|
|
479
|
+
* EnterpriseMaterials.LegalPersonIDNumber
|
|
480
|
+
*/
|
|
481
|
+
'legal_person_id_number'?: string;
|
|
482
|
+
}
|
|
483
|
+
export interface PassportAuthEnterpriseMaterialUploadResponse {
|
|
484
|
+
'code'?: string;
|
|
485
|
+
'message'?: string;
|
|
486
|
+
}
|
|
487
|
+
export interface PassportAuthEnterpriseMaterialVerifyStateResponse {
|
|
488
|
+
'code'?: string;
|
|
489
|
+
'message'?: string;
|
|
490
|
+
'materials'?: AuthEnterpriseMaterials;
|
|
491
|
+
}
|
|
492
|
+
export interface PassportAuthEnterpriseRefreshTokenRequest {
|
|
493
|
+
'refresh_token'?: string;
|
|
494
|
+
}
|
|
495
|
+
export interface PassportAuthEnterpriseRefreshTokenResponse {
|
|
496
|
+
'code'?: string;
|
|
497
|
+
'message'?: string;
|
|
498
|
+
'session'?: AuthUserSession;
|
|
499
|
+
}
|
|
500
|
+
export interface PassportAuthEnterpriseResetPasswordRequest {
|
|
501
|
+
'new_password'?: string;
|
|
502
|
+
'verify_code'?: string;
|
|
503
|
+
}
|
|
504
|
+
export interface PassportAuthEnterpriseResetPasswordResponse {
|
|
505
|
+
'code'?: string;
|
|
506
|
+
'message'?: string;
|
|
507
|
+
}
|
|
508
|
+
export interface PassportAuthEnterpriseRevokeOtherSessionsResponse {
|
|
509
|
+
'code'?: string;
|
|
510
|
+
'message'?: string;
|
|
511
|
+
}
|
|
512
|
+
export interface PassportAuthEnterpriseRevokeSessionRequest {
|
|
513
|
+
'token'?: string;
|
|
514
|
+
}
|
|
515
|
+
export interface PassportAuthEnterpriseRevokeSessionResponse {
|
|
516
|
+
'code'?: string;
|
|
517
|
+
'message'?: string;
|
|
518
|
+
}
|
|
519
|
+
export interface PassportAuthEnterpriseRevokeSessionsResponse {
|
|
520
|
+
'code'?: string;
|
|
521
|
+
'message'?: string;
|
|
522
|
+
}
|
|
523
|
+
export interface PassportAuthEnterpriseSignOutRequest {
|
|
524
|
+
'sign_out_all'?: boolean;
|
|
525
|
+
}
|
|
526
|
+
export interface PassportAuthEnterpriseSignOutResponse {
|
|
527
|
+
'code'?: string;
|
|
528
|
+
'message'?: string;
|
|
529
|
+
}
|
|
530
|
+
export interface PassportAuthEnterpriseUpdateInfoRequest {
|
|
531
|
+
'name'?: string;
|
|
532
|
+
'avatar_url'?: string;
|
|
533
|
+
}
|
|
534
|
+
export interface PassportAuthEnterpriseUpdateInfoResponse {
|
|
535
|
+
'code'?: string;
|
|
536
|
+
'message'?: string;
|
|
537
|
+
'users'?: Array<AuthUser>;
|
|
538
|
+
}
|
|
539
|
+
export interface PassportAuthEnterpriseVerifyEmailRequest {
|
|
540
|
+
'email'?: string;
|
|
541
|
+
'verify_code'?: string;
|
|
542
|
+
'callback_url'?: string;
|
|
543
|
+
}
|
|
544
|
+
export interface PassportAuthEnterpriseVerifyEmailResponse {
|
|
545
|
+
'code'?: string;
|
|
546
|
+
'message'?: string;
|
|
547
|
+
}
|
|
548
|
+
export interface PassportAuthEnterpriseVerifyPhoneResponse {
|
|
549
|
+
'code'?: string;
|
|
550
|
+
'message'?: string;
|
|
551
|
+
}
|
|
552
|
+
export interface PassportAuthInfoGetResponse {
|
|
553
|
+
'code'?: string;
|
|
554
|
+
'message'?: string;
|
|
555
|
+
'passport'?: AuthPassport;
|
|
556
|
+
'users'?: Array<AuthUser>;
|
|
557
|
+
}
|
|
558
|
+
export interface PassportAuthLinkSocialRequest {
|
|
559
|
+
'app_ids'?: string;
|
|
560
|
+
'provider'?: string;
|
|
561
|
+
'callback_url'?: string;
|
|
562
|
+
'error_callback_url'?: string;
|
|
563
|
+
'disable_redirect'?: boolean;
|
|
564
|
+
'id_token'?: AuthIdToken;
|
|
565
|
+
'scopes'?: Array<string>;
|
|
566
|
+
}
|
|
567
|
+
export interface PassportAuthLinkSocialResponse {
|
|
568
|
+
'code'?: string;
|
|
569
|
+
'message'?: string;
|
|
570
|
+
'url'?: string;
|
|
571
|
+
'redirect'?: boolean;
|
|
572
|
+
}
|
|
573
|
+
export interface PassportAuthListMethodsResponse {
|
|
574
|
+
'code'?: string;
|
|
575
|
+
'message'?: string;
|
|
576
|
+
'auth_methods'?: Array<AuthUserMethod>;
|
|
577
|
+
}
|
|
578
|
+
export interface PassportAuthListSessionsResponse {
|
|
579
|
+
'code'?: string;
|
|
580
|
+
'message'?: string;
|
|
581
|
+
'sessions'?: Array<AuthUserSession>;
|
|
582
|
+
}
|
|
583
|
+
export interface PassportAuthListSocialsResponse {
|
|
584
|
+
'code'?: string;
|
|
585
|
+
'message'?: string;
|
|
586
|
+
'auth_methods'?: Array<AuthUserMethod>;
|
|
587
|
+
}
|
|
588
|
+
export interface PassportAuthRefreshSessionTokenRequest {
|
|
589
|
+
'refresh_token'?: string;
|
|
590
|
+
}
|
|
591
|
+
export interface PassportAuthRefreshSessionTokenResponse {
|
|
592
|
+
'code'?: string;
|
|
593
|
+
'message'?: string;
|
|
594
|
+
'session'?: AuthUserSession;
|
|
595
|
+
}
|
|
596
|
+
export interface PassportAuthResetPasswordRequest {
|
|
597
|
+
'app_ids'?: string;
|
|
598
|
+
'new_password'?: string;
|
|
599
|
+
'verify_code'?: string;
|
|
600
|
+
}
|
|
601
|
+
export interface PassportAuthResetPasswordResponse {
|
|
602
|
+
'code'?: string;
|
|
603
|
+
'message'?: string;
|
|
604
|
+
}
|
|
605
|
+
export interface PassportAuthRevokeOtherSessionsRequest {
|
|
606
|
+
'app_ids'?: string;
|
|
607
|
+
}
|
|
608
|
+
export interface PassportAuthRevokeOtherSessionsResponse {
|
|
609
|
+
'code'?: string;
|
|
610
|
+
'message'?: string;
|
|
611
|
+
'success'?: boolean;
|
|
612
|
+
}
|
|
613
|
+
export interface PassportAuthRevokeSessionRequest {
|
|
614
|
+
'token'?: string;
|
|
615
|
+
}
|
|
616
|
+
export interface PassportAuthRevokeSessionResponse {
|
|
617
|
+
'code'?: string;
|
|
618
|
+
'message'?: string;
|
|
619
|
+
}
|
|
620
|
+
export interface PassportAuthRevokeSessionsRequest {
|
|
621
|
+
'app_ids'?: string;
|
|
622
|
+
}
|
|
623
|
+
export interface PassportAuthRevokeSessionsResponse {
|
|
624
|
+
'code'?: string;
|
|
625
|
+
'message'?: string;
|
|
626
|
+
}
|
|
627
|
+
export interface PassportAuthSendVerificationEmailRequest {
|
|
628
|
+
'app_ids'?: string;
|
|
629
|
+
'email'?: string;
|
|
630
|
+
'callback_url'?: string;
|
|
631
|
+
'purpose'?: string;
|
|
632
|
+
}
|
|
633
|
+
export interface PassportAuthSendVerificationEmailResponse {
|
|
634
|
+
'code'?: string;
|
|
635
|
+
'message'?: string;
|
|
636
|
+
}
|
|
637
|
+
export interface PassportAuthSendVerificationPhoneRequest {
|
|
638
|
+
'app_ids'?: string;
|
|
639
|
+
'phone'?: string;
|
|
640
|
+
'callback_url'?: string;
|
|
641
|
+
'purpose'?: string;
|
|
642
|
+
}
|
|
643
|
+
export interface PassportAuthSendVerificationPhoneResponse {
|
|
644
|
+
'code'?: string;
|
|
645
|
+
'message'?: string;
|
|
646
|
+
}
|
|
647
|
+
export interface PassportAuthSocialGetAccessTokenRequest {
|
|
648
|
+
'provider_id'?: string;
|
|
649
|
+
'account_id'?: string;
|
|
650
|
+
'user_id'?: string;
|
|
651
|
+
}
|
|
652
|
+
export interface PassportAuthSocialGetAccessTokenResponse {
|
|
653
|
+
'code'?: string;
|
|
654
|
+
'message'?: string;
|
|
655
|
+
'token_type'?: string;
|
|
656
|
+
'id_token'?: string;
|
|
657
|
+
'access_token'?: string;
|
|
658
|
+
'refresh_token'?: string;
|
|
659
|
+
'access_token_expires_at'?: string;
|
|
660
|
+
'refresh_token_expires_at'?: string;
|
|
661
|
+
}
|
|
662
|
+
export interface PassportAuthSocialRefreshTokenRequest {
|
|
663
|
+
/**
|
|
664
|
+
* required: oauth2_google, oauth2_github...
|
|
665
|
+
*/
|
|
666
|
+
'provider_id'?: string;
|
|
667
|
+
'account_id'?: string;
|
|
668
|
+
'user_id'?: string;
|
|
669
|
+
}
|
|
670
|
+
export interface PassportAuthSocialRefreshTokenResponse {
|
|
671
|
+
'code'?: string;
|
|
672
|
+
'message'?: string;
|
|
673
|
+
'token_type'?: string;
|
|
674
|
+
'id_token'?: string;
|
|
675
|
+
'access_token'?: string;
|
|
676
|
+
'refresh_token'?: string;
|
|
677
|
+
'access_token_expires_at'?: string;
|
|
678
|
+
'refresh_token_expires_at'?: string;
|
|
679
|
+
}
|
|
680
|
+
export interface PassportAuthUnlinkSocialRequest {
|
|
681
|
+
'app_ids'?: string;
|
|
682
|
+
'provider_id'?: string;
|
|
683
|
+
'account_id'?: string;
|
|
684
|
+
}
|
|
685
|
+
export interface PassportAuthUnlinkSocialResponse {
|
|
686
|
+
'code'?: string;
|
|
687
|
+
'message'?: string;
|
|
688
|
+
}
|
|
689
|
+
export interface PassportAuthUserChangeEmailRequest {
|
|
690
|
+
'app_ids'?: string;
|
|
691
|
+
'new_email'?: string;
|
|
692
|
+
'callback_url'?: string;
|
|
693
|
+
}
|
|
694
|
+
export interface PassportAuthUserChangeEmailResponse {
|
|
695
|
+
'code'?: string;
|
|
696
|
+
'message'?: string;
|
|
697
|
+
'users'?: Array<AuthUser>;
|
|
698
|
+
}
|
|
699
|
+
export interface PassportAuthUserChangePhoneRequest {
|
|
700
|
+
'app_ids'?: string;
|
|
701
|
+
'new_phone'?: string;
|
|
702
|
+
'verify_code'?: string;
|
|
703
|
+
'callback_url'?: string;
|
|
704
|
+
}
|
|
705
|
+
export interface PassportAuthUserChangePhoneResponse {
|
|
706
|
+
'code'?: string;
|
|
707
|
+
'message'?: string;
|
|
708
|
+
'users'?: Array<AuthUser>;
|
|
709
|
+
}
|
|
710
|
+
export interface PassportAuthUserDeleteRequest {
|
|
711
|
+
'app_ids'?: string;
|
|
712
|
+
'callback_url'?: string;
|
|
713
|
+
'email'?: string;
|
|
714
|
+
'password'?: string;
|
|
715
|
+
'phone'?: string;
|
|
716
|
+
'code'?: string;
|
|
717
|
+
}
|
|
718
|
+
export interface PassportAuthUserDeleteResponse {
|
|
719
|
+
'code'?: string;
|
|
720
|
+
'message'?: string;
|
|
721
|
+
}
|
|
722
|
+
export interface PassportAuthUserGetSessionResponse {
|
|
723
|
+
'code'?: string;
|
|
724
|
+
'message'?: string;
|
|
725
|
+
'session'?: AuthUserSession;
|
|
726
|
+
}
|
|
727
|
+
export interface PassportAuthUserInfoGetResponse {
|
|
728
|
+
'code'?: string;
|
|
729
|
+
'message'?: string;
|
|
730
|
+
'users'?: Array<AuthUser>;
|
|
731
|
+
}
|
|
732
|
+
export interface PassportAuthUserSignOutRequest {
|
|
733
|
+
'app_ids'?: string;
|
|
734
|
+
'sign_out_all'?: boolean;
|
|
735
|
+
}
|
|
736
|
+
export interface PassportAuthUserSignOutResponse {
|
|
737
|
+
'code'?: string;
|
|
738
|
+
'message'?: string;
|
|
739
|
+
}
|
|
740
|
+
export interface PassportAuthUserUpdateInfoRequest {
|
|
741
|
+
'user'?: UserBasic;
|
|
742
|
+
'settings'?: UserSettings;
|
|
743
|
+
'preferences'?: UserPreferences;
|
|
744
|
+
'payment_info'?: UserPaymentInfo;
|
|
745
|
+
'extend_info'?: UserExtendInfo;
|
|
746
|
+
}
|
|
747
|
+
export interface PassportAuthUserUpdateInfoResponse {
|
|
748
|
+
'code'?: string;
|
|
749
|
+
'message'?: string;
|
|
750
|
+
'users'?: Array<AuthUser>;
|
|
751
|
+
}
|
|
752
|
+
export interface PassportAuthUserUpdatePassportRequest {
|
|
753
|
+
'name'?: string;
|
|
754
|
+
'avatar_url'?: string;
|
|
755
|
+
}
|
|
756
|
+
export interface PassportAuthUserUpdatePassportResponse {
|
|
757
|
+
'code'?: string;
|
|
758
|
+
'message'?: string;
|
|
759
|
+
'passport'?: AuthPassport;
|
|
760
|
+
}
|
|
761
|
+
export interface PassportAuthUserVerifyEmailRequest {
|
|
762
|
+
'app_ids'?: string;
|
|
763
|
+
'email'?: string;
|
|
764
|
+
'verify_code'?: string;
|
|
765
|
+
'callback_url'?: string;
|
|
766
|
+
}
|
|
767
|
+
export interface PassportAuthUserVerifyEmailResponse {
|
|
768
|
+
'code'?: string;
|
|
769
|
+
'message'?: string;
|
|
770
|
+
}
|
|
771
|
+
export interface PassportAuthUserVerifyPhoneRequest {
|
|
772
|
+
'app_ids'?: string;
|
|
773
|
+
'phone'?: string;
|
|
774
|
+
'verify_code'?: string;
|
|
775
|
+
}
|
|
776
|
+
export interface PassportAuthUserVerifyPhoneResponse {
|
|
777
|
+
'code'?: string;
|
|
778
|
+
'message'?: string;
|
|
779
|
+
}
|
|
780
|
+
export interface PassportEnterprisePasswordResetRequest {
|
|
781
|
+
'email'?: string;
|
|
782
|
+
'redirect'?: boolean;
|
|
783
|
+
'callback_url'?: string;
|
|
784
|
+
}
|
|
785
|
+
export interface PassportEnterprisePasswordResetResponse {
|
|
786
|
+
'code'?: string;
|
|
787
|
+
'message'?: string;
|
|
788
|
+
'url'?: string;
|
|
789
|
+
'redirect'?: boolean;
|
|
790
|
+
}
|
|
791
|
+
export interface PassportEnterpriseSendVerificationEmailRequest {
|
|
792
|
+
'email'?: string;
|
|
793
|
+
'callback_url'?: string;
|
|
794
|
+
'purpose'?: string;
|
|
795
|
+
}
|
|
796
|
+
export interface PassportEnterpriseSendVerificationEmailResponse {
|
|
797
|
+
'code'?: string;
|
|
798
|
+
'message'?: string;
|
|
799
|
+
}
|
|
800
|
+
export interface PassportEnterpriseSendVerificationPhoneRequest {
|
|
801
|
+
'phone'?: string;
|
|
802
|
+
'callback_url'?: string;
|
|
803
|
+
'purpose'?: string;
|
|
804
|
+
}
|
|
805
|
+
export interface PassportEnterpriseSendVerificationPhoneResponse {
|
|
806
|
+
'code'?: string;
|
|
807
|
+
'message'?: string;
|
|
808
|
+
}
|
|
809
|
+
export interface PassportEnterpriseSignInEmailRequest {
|
|
810
|
+
'email'?: string;
|
|
811
|
+
'password'?: string;
|
|
812
|
+
'verify_code'?: string;
|
|
813
|
+
'remember_me'?: boolean;
|
|
814
|
+
'redirect'?: boolean;
|
|
815
|
+
'callback_url'?: string;
|
|
816
|
+
}
|
|
817
|
+
export interface PassportEnterpriseSignInEmailResponse {
|
|
818
|
+
'code'?: string;
|
|
819
|
+
'message'?: string;
|
|
820
|
+
'redirect'?: boolean;
|
|
821
|
+
'url'?: string;
|
|
822
|
+
'session'?: AuthEnterpriseSession;
|
|
823
|
+
'user'?: AuthEnterpriseUser;
|
|
824
|
+
}
|
|
825
|
+
export interface PassportEnterpriseSignInPhoneRequest {
|
|
826
|
+
/**
|
|
827
|
+
* required
|
|
828
|
+
*/
|
|
829
|
+
'phone'?: string;
|
|
830
|
+
/**
|
|
831
|
+
* required
|
|
832
|
+
*/
|
|
833
|
+
'verify_code'?: string;
|
|
834
|
+
'disable_sign_up'?: boolean;
|
|
835
|
+
}
|
|
836
|
+
export interface PassportEnterpriseSignInPhoneResponse {
|
|
837
|
+
'code'?: string;
|
|
838
|
+
'message'?: string;
|
|
839
|
+
'session'?: AuthEnterpriseSession;
|
|
840
|
+
'user'?: AuthEnterpriseUser;
|
|
841
|
+
}
|
|
842
|
+
export interface PassportEnterpriseSignUpEmailRequest {
|
|
843
|
+
'email'?: string;
|
|
844
|
+
'name'?: string;
|
|
845
|
+
'password'?: string;
|
|
846
|
+
'verify_code'?: string;
|
|
847
|
+
'avatar_url'?: string;
|
|
848
|
+
'redirect'?: boolean;
|
|
849
|
+
'callback_url'?: string;
|
|
850
|
+
'remember_me'?: boolean;
|
|
851
|
+
}
|
|
852
|
+
export interface PassportEnterpriseSignUpEmailResponse {
|
|
853
|
+
'code'?: string;
|
|
854
|
+
'message'?: string;
|
|
855
|
+
'redirect'?: boolean;
|
|
856
|
+
'url'?: string;
|
|
857
|
+
'session'?: AuthEnterpriseSession;
|
|
858
|
+
'user'?: AuthEnterpriseUser;
|
|
859
|
+
}
|
|
860
|
+
export interface PassportEnterpriseTokenAuthRequest {
|
|
861
|
+
'token'?: string;
|
|
862
|
+
}
|
|
863
|
+
export interface PassportEnterpriseTokenAuthResponse {
|
|
864
|
+
'code'?: string;
|
|
865
|
+
'message'?: string;
|
|
866
|
+
'is_valid'?: boolean;
|
|
867
|
+
'session'?: AuthEnterpriseSession;
|
|
868
|
+
'user'?: AuthEnterpriseUser;
|
|
869
|
+
}
|
|
870
|
+
export interface PassportSendVerificationEmailRequest {
|
|
871
|
+
'app_ids'?: string;
|
|
872
|
+
'email'?: string;
|
|
873
|
+
'callback_url'?: string;
|
|
874
|
+
'purpose'?: string;
|
|
875
|
+
}
|
|
876
|
+
export interface PassportSendVerificationEmailResponse {
|
|
877
|
+
'code'?: string;
|
|
878
|
+
'message'?: string;
|
|
879
|
+
}
|
|
880
|
+
export interface PassportSendVerificationPhoneRequest {
|
|
881
|
+
'app_ids'?: string;
|
|
882
|
+
'phone'?: string;
|
|
883
|
+
'callback_url'?: string;
|
|
884
|
+
'purpose'?: string;
|
|
885
|
+
}
|
|
886
|
+
export interface PassportSendVerificationPhoneResponse {
|
|
887
|
+
'code'?: string;
|
|
888
|
+
'message'?: string;
|
|
889
|
+
}
|
|
890
|
+
export interface PassportUserInfoBatchGetRequest {
|
|
891
|
+
'uids'?: Array<string>;
|
|
892
|
+
'ignore_cache'?: boolean;
|
|
893
|
+
'query_options'?: UserInfoQueryOptions;
|
|
894
|
+
}
|
|
895
|
+
export interface PassportUserInfoBatchGetResponse {
|
|
896
|
+
'code'?: string;
|
|
897
|
+
'message'?: string;
|
|
898
|
+
'user_info_list'?: Array<UserInfo>;
|
|
899
|
+
}
|
|
900
|
+
export interface PassportUserInfoGetRequest {
|
|
901
|
+
'uid'?: string;
|
|
902
|
+
'ignore_cache'?: boolean;
|
|
903
|
+
'query_options'?: UserInfoQueryOptions;
|
|
904
|
+
}
|
|
905
|
+
export interface PassportUserInfoGetResponse {
|
|
906
|
+
'code'?: string;
|
|
907
|
+
'message'?: string;
|
|
908
|
+
'user_info'?: UserInfo;
|
|
909
|
+
}
|
|
910
|
+
export interface PassportUserOAuthCallbackResponse {
|
|
911
|
+
'code'?: string;
|
|
912
|
+
'message'?: string;
|
|
913
|
+
'token'?: string;
|
|
914
|
+
'url'?: string;
|
|
915
|
+
'redirect'?: boolean;
|
|
916
|
+
'is_linked'?: boolean;
|
|
917
|
+
'passport'?: AuthPassport;
|
|
918
|
+
'sessions'?: Array<AuthUserSession>;
|
|
919
|
+
'users'?: Array<AuthUser>;
|
|
920
|
+
}
|
|
921
|
+
export interface PassportUserPasswordForgetRequest {
|
|
922
|
+
'app_ids'?: string;
|
|
923
|
+
'email'?: string;
|
|
924
|
+
'callback_url'?: string;
|
|
925
|
+
}
|
|
926
|
+
export interface PassportUserPasswordForgetResponse {
|
|
927
|
+
'code'?: string;
|
|
928
|
+
'message'?: string;
|
|
929
|
+
}
|
|
930
|
+
export interface PassportUserPasswordResetRequest {
|
|
931
|
+
'app_ids'?: string;
|
|
932
|
+
'email'?: string;
|
|
933
|
+
'verify_code'?: string;
|
|
934
|
+
'new_password'?: string;
|
|
935
|
+
'redirect'?: boolean;
|
|
936
|
+
'callback_url'?: string;
|
|
937
|
+
}
|
|
938
|
+
export interface PassportUserPasswordResetResponse {
|
|
939
|
+
'code'?: string;
|
|
940
|
+
'message'?: string;
|
|
941
|
+
'url'?: string;
|
|
942
|
+
'redirect'?: boolean;
|
|
943
|
+
}
|
|
944
|
+
export interface PassportUserPasswordResetTokenVerifyRequest {
|
|
945
|
+
'app_ids'?: string;
|
|
946
|
+
'token'?: string;
|
|
947
|
+
}
|
|
948
|
+
export interface PassportUserPasswordResetTokenVerifyResponse {
|
|
949
|
+
'code'?: string;
|
|
950
|
+
'message'?: string;
|
|
951
|
+
'email'?: string;
|
|
952
|
+
'verify_code'?: string;
|
|
953
|
+
}
|
|
954
|
+
export interface PassportUserSignInEmailRequest {
|
|
955
|
+
/**
|
|
956
|
+
* required
|
|
957
|
+
*/
|
|
958
|
+
'app_ids'?: string;
|
|
959
|
+
'email'?: string;
|
|
960
|
+
'password'?: string;
|
|
961
|
+
'verify_code'?: string;
|
|
962
|
+
'remember_me'?: boolean;
|
|
963
|
+
'redirect'?: boolean;
|
|
964
|
+
'callback_url'?: string;
|
|
965
|
+
}
|
|
966
|
+
export interface PassportUserSignInEmailResponse {
|
|
967
|
+
'code'?: string;
|
|
968
|
+
'message'?: string;
|
|
969
|
+
'redirect'?: boolean;
|
|
970
|
+
'url'?: string;
|
|
971
|
+
'passport'?: AuthPassport;
|
|
972
|
+
'sessions'?: Array<AuthUserSession>;
|
|
973
|
+
'users'?: Array<AuthUser>;
|
|
974
|
+
}
|
|
975
|
+
export interface PassportUserSignInPhoneRequest {
|
|
976
|
+
/**
|
|
977
|
+
* required
|
|
978
|
+
*/
|
|
979
|
+
'app_ids'?: string;
|
|
980
|
+
/**
|
|
981
|
+
* required
|
|
982
|
+
*/
|
|
983
|
+
'phone_number'?: string;
|
|
984
|
+
/**
|
|
985
|
+
* required
|
|
986
|
+
*/
|
|
987
|
+
'verify_code'?: string;
|
|
988
|
+
'auto_register'?: boolean;
|
|
989
|
+
}
|
|
990
|
+
export interface PassportUserSignInPhoneResponse {
|
|
991
|
+
'code'?: string;
|
|
992
|
+
'message'?: string;
|
|
993
|
+
'passport'?: AuthPassport;
|
|
994
|
+
'sessions'?: Array<AuthUserSession>;
|
|
995
|
+
'users'?: Array<AuthUser>;
|
|
996
|
+
}
|
|
997
|
+
export interface PassportUserSignInSocialRequest {
|
|
998
|
+
/**
|
|
999
|
+
* required
|
|
1000
|
+
*/
|
|
1001
|
+
'app_ids'?: string;
|
|
1002
|
+
'provider'?: string;
|
|
1003
|
+
'callback_url'?: string;
|
|
1004
|
+
'error_callback_url'?: string;
|
|
1005
|
+
'redirect'?: boolean;
|
|
1006
|
+
'id_token'?: AuthIdToken;
|
|
1007
|
+
'scopes'?: Array<string>;
|
|
1008
|
+
}
|
|
1009
|
+
export interface PassportUserSignInSocialResponse {
|
|
1010
|
+
'code'?: string;
|
|
1011
|
+
'message'?: string;
|
|
1012
|
+
'redirect'?: boolean;
|
|
1013
|
+
'url'?: string;
|
|
1014
|
+
'passport'?: AuthPassport;
|
|
1015
|
+
'sessions'?: Array<AuthUserSession>;
|
|
1016
|
+
'users'?: Array<AuthUser>;
|
|
1017
|
+
}
|
|
1018
|
+
export interface PassportUserSignUpEmailRequest {
|
|
1019
|
+
/**
|
|
1020
|
+
* required
|
|
1021
|
+
*/
|
|
1022
|
+
'app_ids'?: string;
|
|
1023
|
+
'name'?: string;
|
|
1024
|
+
'email'?: string;
|
|
1025
|
+
'password'?: string;
|
|
1026
|
+
'verify_code'?: string;
|
|
1027
|
+
'avatar_url'?: string;
|
|
1028
|
+
'redirect'?: boolean;
|
|
1029
|
+
'callback_url'?: string;
|
|
1030
|
+
'remember_me'?: boolean;
|
|
1031
|
+
}
|
|
1032
|
+
export interface PassportUserSignUpEmailResponse {
|
|
1033
|
+
'code'?: string;
|
|
1034
|
+
'message'?: string;
|
|
1035
|
+
'redirect'?: boolean;
|
|
1036
|
+
'url'?: string;
|
|
1037
|
+
'passport'?: AuthPassport;
|
|
1038
|
+
'sessions'?: Array<AuthUserSession>;
|
|
1039
|
+
'users'?: Array<AuthUser>;
|
|
1040
|
+
}
|
|
1041
|
+
export interface PassportUserTokenAuthRequest {
|
|
1042
|
+
'token'?: string;
|
|
1043
|
+
}
|
|
1044
|
+
export interface PassportUserTokenAuthResponse {
|
|
1045
|
+
'code'?: string;
|
|
1046
|
+
'message'?: string;
|
|
1047
|
+
'is_valid'?: boolean;
|
|
1048
|
+
'session'?: AuthUserSession;
|
|
1049
|
+
'user'?: AuthUser;
|
|
1050
|
+
}
|
|
1051
|
+
export interface PassportUserUpdateInfoRequest {
|
|
1052
|
+
'uid'?: string;
|
|
1053
|
+
'user'?: UserBasic;
|
|
1054
|
+
'settings'?: UserSettings;
|
|
1055
|
+
'preferences'?: UserPreferences;
|
|
1056
|
+
'payment_info'?: UserPaymentInfo;
|
|
1057
|
+
'extend_info'?: UserExtendInfo;
|
|
1058
|
+
}
|
|
1059
|
+
export interface PassportUserUpdateInfoResponse {
|
|
1060
|
+
'code'?: string;
|
|
1061
|
+
'message'?: string;
|
|
1062
|
+
}
|
|
1063
|
+
export interface Status {
|
|
1064
|
+
'code'?: number;
|
|
1065
|
+
'message'?: string;
|
|
1066
|
+
'details'?: Array<Any>;
|
|
1067
|
+
}
|
|
1068
|
+
export interface UserBasic {
|
|
1069
|
+
'uid'?: string;
|
|
1070
|
+
'app_id'?: string;
|
|
1071
|
+
'aid'?: string;
|
|
1072
|
+
'name'?: string;
|
|
1073
|
+
'email'?: string;
|
|
1074
|
+
'phone'?: string;
|
|
1075
|
+
'avatar_url'?: string;
|
|
1076
|
+
'register_at'?: string;
|
|
1077
|
+
'email_verified_at'?: string;
|
|
1078
|
+
'phone_verified_at'?: string;
|
|
1079
|
+
'app_name'?: string;
|
|
1080
|
+
'user_status'?: number;
|
|
1081
|
+
}
|
|
1082
|
+
export interface UserExtendInfo {
|
|
1083
|
+
'user_groups'?: Array<string>;
|
|
1084
|
+
}
|
|
1085
|
+
export interface UserInfo {
|
|
1086
|
+
'user'?: UserBasic;
|
|
1087
|
+
'settings'?: UserSettings;
|
|
1088
|
+
'preferences'?: UserPreferences;
|
|
1089
|
+
'payment_info'?: UserPaymentInfo;
|
|
1090
|
+
'extend_info'?: UserExtendInfo;
|
|
1091
|
+
}
|
|
1092
|
+
export interface UserInfoQueryOptions {
|
|
1093
|
+
'opt_include_all'?: boolean;
|
|
1094
|
+
'opt_settings'?: boolean;
|
|
1095
|
+
'opt_preferences'?: boolean;
|
|
1096
|
+
'opt_payment_info'?: boolean;
|
|
1097
|
+
'opt_extend_info'?: boolean;
|
|
1098
|
+
}
|
|
1099
|
+
export interface UserPaymentInfo {
|
|
1100
|
+
'stripe_customer_id'?: string;
|
|
1101
|
+
}
|
|
1102
|
+
export interface UserPreferences {
|
|
1103
|
+
'language'?: string;
|
|
1104
|
+
'timezone'?: string;
|
|
1105
|
+
}
|
|
1106
|
+
export interface UserSettings {
|
|
1107
|
+
'email_notifications_enabled'?: boolean;
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* PassportAuthAdminRPCServiceApi - axios parameter creator
|
|
1111
|
+
*/
|
|
1112
|
+
export declare const PassportAuthAdminRPCServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1113
|
+
/**
|
|
1114
|
+
*
|
|
1115
|
+
* @summary Token 鉴权 - Admin
|
|
1116
|
+
* @param {PassportAdminTokenAuthRequest} body
|
|
1117
|
+
* @param {*} [options] Override http request option.
|
|
1118
|
+
* @throws {RequiredError}
|
|
1119
|
+
*/
|
|
1120
|
+
passportAuthAdminRPCServicePassportAdminTokenAuth: (body: PassportAdminTokenAuthRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1121
|
+
};
|
|
1122
|
+
/**
|
|
1123
|
+
* PassportAuthAdminRPCServiceApi - functional programming interface
|
|
1124
|
+
*/
|
|
1125
|
+
export declare const PassportAuthAdminRPCServiceApiFp: (configuration?: Configuration) => {
|
|
1126
|
+
/**
|
|
1127
|
+
*
|
|
1128
|
+
* @summary Token 鉴权 - Admin
|
|
1129
|
+
* @param {PassportAdminTokenAuthRequest} body
|
|
1130
|
+
* @param {*} [options] Override http request option.
|
|
1131
|
+
* @throws {RequiredError}
|
|
1132
|
+
*/
|
|
1133
|
+
passportAuthAdminRPCServicePassportAdminTokenAuth(body: PassportAdminTokenAuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAdminTokenAuthResponse>>;
|
|
1134
|
+
};
|
|
1135
|
+
/**
|
|
1136
|
+
* PassportAuthAdminRPCServiceApi - factory interface
|
|
1137
|
+
*/
|
|
1138
|
+
export declare const PassportAuthAdminRPCServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1139
|
+
/**
|
|
1140
|
+
*
|
|
1141
|
+
* @summary Token 鉴权 - Admin
|
|
1142
|
+
* @param {PassportAdminTokenAuthRequest} body
|
|
1143
|
+
* @param {*} [options] Override http request option.
|
|
1144
|
+
* @throws {RequiredError}
|
|
1145
|
+
*/
|
|
1146
|
+
passportAuthAdminRPCServicePassportAdminTokenAuth(body: PassportAdminTokenAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminTokenAuthResponse>;
|
|
1147
|
+
};
|
|
1148
|
+
/**
|
|
1149
|
+
* PassportAuthAdminRPCServiceApi - interface
|
|
1150
|
+
*/
|
|
1151
|
+
export interface PassportAuthAdminRPCServiceApiInterface {
|
|
1152
|
+
/**
|
|
1153
|
+
*
|
|
1154
|
+
* @summary Token 鉴权 - Admin
|
|
1155
|
+
* @param {PassportAdminTokenAuthRequest} body
|
|
1156
|
+
* @param {*} [options] Override http request option.
|
|
1157
|
+
* @throws {RequiredError}
|
|
1158
|
+
*/
|
|
1159
|
+
passportAuthAdminRPCServicePassportAdminTokenAuth(body: PassportAdminTokenAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminTokenAuthResponse>;
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* PassportAuthAdminRPCServiceApi - object-oriented interface
|
|
1163
|
+
*/
|
|
1164
|
+
export declare class PassportAuthAdminRPCServiceApi extends BaseAPI implements PassportAuthAdminRPCServiceApiInterface {
|
|
1165
|
+
/**
|
|
1166
|
+
*
|
|
1167
|
+
* @summary Token 鉴权 - Admin
|
|
1168
|
+
* @param {PassportAdminTokenAuthRequest} body
|
|
1169
|
+
* @param {*} [options] Override http request option.
|
|
1170
|
+
* @throws {RequiredError}
|
|
1171
|
+
*/
|
|
1172
|
+
passportAuthAdminRPCServicePassportAdminTokenAuth(body: PassportAdminTokenAuthRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAdminTokenAuthResponse, any, {}>>;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* PassportAuthAdminServiceApi - axios parameter creator
|
|
1176
|
+
*/
|
|
1177
|
+
export declare const PassportAuthAdminServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1178
|
+
/**
|
|
1179
|
+
*
|
|
1180
|
+
* @summary 未登录 - 忘记密码请求
|
|
1181
|
+
* @param {PassportAdminPasswordForgetRequest} body
|
|
1182
|
+
* @param {*} [options] Override http request option.
|
|
1183
|
+
* @throws {RequiredError}
|
|
1184
|
+
*/
|
|
1185
|
+
passportAuthAdminServicePassportAdminPasswordForget: (body: PassportAdminPasswordForgetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1186
|
+
/**
|
|
1187
|
+
*
|
|
1188
|
+
* @summary 未登录 - 重置密码
|
|
1189
|
+
* @param {PassportAdminPasswordResetRequest} body
|
|
1190
|
+
* @param {*} [options] Override http request option.
|
|
1191
|
+
* @throws {RequiredError}
|
|
1192
|
+
*/
|
|
1193
|
+
passportAuthAdminServicePassportAdminPasswordReset: (body: PassportAdminPasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1194
|
+
/**
|
|
1195
|
+
*
|
|
1196
|
+
* @summary 未登录 - 验证重置 Token
|
|
1197
|
+
* @param {PassportAdminPasswordResetTokenVerifyRequest} body
|
|
1198
|
+
* @param {*} [options] Override http request option.
|
|
1199
|
+
* @throws {RequiredError}
|
|
1200
|
+
*/
|
|
1201
|
+
passportAuthAdminServicePassportAdminPasswordResetTokenVerify: (body: PassportAdminPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1202
|
+
/**
|
|
1203
|
+
*
|
|
1204
|
+
* @summary 发送验证邮件 - code
|
|
1205
|
+
* @param {PassportAdminSendVerificationEmailRequest} body
|
|
1206
|
+
* @param {*} [options] Override http request option.
|
|
1207
|
+
* @throws {RequiredError}
|
|
1208
|
+
*/
|
|
1209
|
+
passportAuthAdminServicePassportAdminSendVerificationEmail: (body: PassportAdminSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1210
|
+
/**
|
|
1211
|
+
*
|
|
1212
|
+
* @summary 通过邮箱登录 - password / code
|
|
1213
|
+
* @param {PassportAdminSignInEmailRequest} body
|
|
1214
|
+
* @param {*} [options] Override http request option.
|
|
1215
|
+
* @throws {RequiredError}
|
|
1216
|
+
*/
|
|
1217
|
+
passportAuthAdminServicePassportAdminSignInEmail: (body: PassportAdminSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1218
|
+
/**
|
|
1219
|
+
*
|
|
1220
|
+
* @summary 已登录 - 修改密码(需当前密码)
|
|
1221
|
+
* @param {PassportAuthAdminChangePasswordRequest} body
|
|
1222
|
+
* @param {*} [options] Override http request option.
|
|
1223
|
+
* @throws {RequiredError}
|
|
1224
|
+
*/
|
|
1225
|
+
passportAuthAdminServicePassportAuthAdminChangePassword: (body: PassportAuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1226
|
+
/**
|
|
1227
|
+
*
|
|
1228
|
+
* @summary 获取企业信息+认证材料列表
|
|
1229
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
1230
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
1231
|
+
* @param {Array<number>} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
1232
|
+
* @param {string} [enterpriseName] enterprise_name 按名称前缀过滤(可选) @gotags: form:\"enterprise_name\"
|
|
1233
|
+
* @param {*} [options] Override http request option.
|
|
1234
|
+
* @throws {RequiredError}
|
|
1235
|
+
*/
|
|
1236
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList: (page?: number, pageSize?: number, status?: Array<number>, enterpriseName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1237
|
+
/**
|
|
1238
|
+
*
|
|
1239
|
+
* @summary 审核企业认证材料
|
|
1240
|
+
* @param {PassportAuthAdminEnterpriseMaterialReviewRequest} body
|
|
1241
|
+
* @param {*} [options] Override http request option.
|
|
1242
|
+
* @throws {RequiredError}
|
|
1243
|
+
*/
|
|
1244
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview: (body: PassportAuthAdminEnterpriseMaterialReviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1245
|
+
/**
|
|
1246
|
+
*
|
|
1247
|
+
* @summary 获取管理员个人信息
|
|
1248
|
+
* @param {object} body
|
|
1249
|
+
* @param {*} [options] Override http request option.
|
|
1250
|
+
* @throws {RequiredError}
|
|
1251
|
+
*/
|
|
1252
|
+
passportAuthAdminServicePassportAuthAdminGetInfo: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @param {*} [options] Override http request option.
|
|
1256
|
+
* @throws {RequiredError}
|
|
1257
|
+
*/
|
|
1258
|
+
passportAuthAdminServicePassportAuthAdminGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1259
|
+
/**
|
|
1260
|
+
*
|
|
1261
|
+
* @param {*} [options] Override http request option.
|
|
1262
|
+
* @throws {RequiredError}
|
|
1263
|
+
*/
|
|
1264
|
+
passportAuthAdminServicePassportAuthAdminListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1265
|
+
/**
|
|
1266
|
+
*
|
|
1267
|
+
* @summary 禁用通行证
|
|
1268
|
+
* @param {PassportAuthAdminPassportDisableRequest} body
|
|
1269
|
+
* @param {*} [options] Override http request option.
|
|
1270
|
+
* @throws {RequiredError}
|
|
1271
|
+
*/
|
|
1272
|
+
passportAuthAdminServicePassportAuthAdminPassportDisable: (body: PassportAuthAdminPassportDisableRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1273
|
+
/**
|
|
1274
|
+
*
|
|
1275
|
+
* @summary 管理员查看通行证列表
|
|
1276
|
+
* @param {PassportAuthAdminPassportListRequest} body
|
|
1277
|
+
* @param {*} [options] Override http request option.
|
|
1278
|
+
* @throws {RequiredError}
|
|
1279
|
+
*/
|
|
1280
|
+
passportAuthAdminServicePassportAuthAdminPassportList: (body: PassportAuthAdminPassportListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1281
|
+
/**
|
|
1282
|
+
*
|
|
1283
|
+
* @summary 修改通行证信息
|
|
1284
|
+
* @param {PassportAuthAdminPassportModifyInfoRequest} body
|
|
1285
|
+
* @param {*} [options] Override http request option.
|
|
1286
|
+
* @throws {RequiredError}
|
|
1287
|
+
*/
|
|
1288
|
+
passportAuthAdminServicePassportAuthAdminPassportModifyInfo: (body: PassportAuthAdminPassportModifyInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1289
|
+
/**
|
|
1290
|
+
*
|
|
1291
|
+
* @summary 已登录 - 重置密码(简化版,无需验证码)
|
|
1292
|
+
* @param {PassportAuthAdminResetPasswordRequest} body
|
|
1293
|
+
* @param {*} [options] Override http request option.
|
|
1294
|
+
* @throws {RequiredError}
|
|
1295
|
+
*/
|
|
1296
|
+
passportAuthAdminServicePassportAuthAdminResetPassword: (body: PassportAuthAdminResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1297
|
+
/**
|
|
1298
|
+
*
|
|
1299
|
+
* @param {object} body
|
|
1300
|
+
* @param {*} [options] Override http request option.
|
|
1301
|
+
* @throws {RequiredError}
|
|
1302
|
+
*/
|
|
1303
|
+
passportAuthAdminServicePassportAuthAdminRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1304
|
+
/**
|
|
1305
|
+
*
|
|
1306
|
+
* @param {PassportAuthAdminRevokeSessionRequest} body
|
|
1307
|
+
* @param {*} [options] Override http request option.
|
|
1308
|
+
* @throws {RequiredError}
|
|
1309
|
+
*/
|
|
1310
|
+
passportAuthAdminServicePassportAuthAdminRevokeSession: (body: PassportAuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1311
|
+
/**
|
|
1312
|
+
*
|
|
1313
|
+
* @param {object} body
|
|
1314
|
+
* @param {*} [options] Override http request option.
|
|
1315
|
+
* @throws {RequiredError}
|
|
1316
|
+
*/
|
|
1317
|
+
passportAuthAdminServicePassportAuthAdminRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1318
|
+
/**
|
|
1319
|
+
*
|
|
1320
|
+
* @summary 用户退出登录
|
|
1321
|
+
* @param {object} body
|
|
1322
|
+
* @param {*} [options] Override http request option.
|
|
1323
|
+
* @throws {RequiredError}
|
|
1324
|
+
*/
|
|
1325
|
+
passportAuthAdminServicePassportAuthAdminSignOut: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @summary 修改管理员个人信息
|
|
1329
|
+
* @param {PassportAuthAdminUpdateInfoRequest} body
|
|
1330
|
+
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @throws {RequiredError}
|
|
1332
|
+
*/
|
|
1333
|
+
passportAuthAdminServicePassportAuthAdminUpdateInfo: (body: PassportAuthAdminUpdateInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1334
|
+
/**
|
|
1335
|
+
*
|
|
1336
|
+
* @summary 禁用用户
|
|
1337
|
+
* @param {PassportAuthAdminUserDisableRequest} body
|
|
1338
|
+
* @param {*} [options] Override http request option.
|
|
1339
|
+
* @throws {RequiredError}
|
|
1340
|
+
*/
|
|
1341
|
+
passportAuthAdminServicePassportAuthAdminUserDisable: (body: PassportAuthAdminUserDisableRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1342
|
+
/**
|
|
1343
|
+
*
|
|
1344
|
+
* @summary 管理员查看用户列表
|
|
1345
|
+
* @param {PassportAuthAdminUserListRequest} body
|
|
1346
|
+
* @param {*} [options] Override http request option.
|
|
1347
|
+
* @throws {RequiredError}
|
|
1348
|
+
*/
|
|
1349
|
+
passportAuthAdminServicePassportAuthAdminUserList: (body: PassportAuthAdminUserListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
* @summary 管理员修改用户信息
|
|
1353
|
+
* @param {PassportAuthAdminUserModifyInfoRequest} body
|
|
1354
|
+
* @param {*} [options] Override http request option.
|
|
1355
|
+
* @throws {RequiredError}
|
|
1356
|
+
*/
|
|
1357
|
+
passportAuthAdminServicePassportAuthAdminUserModifyInfo: (body: PassportAuthAdminUserModifyInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1358
|
+
/**
|
|
1359
|
+
*
|
|
1360
|
+
* @summary 管理员修改用户权限
|
|
1361
|
+
* @param {PassportAuthAdminUserModifyPermissionRequest} body
|
|
1362
|
+
* @param {*} [options] Override http request option.
|
|
1363
|
+
* @throws {RequiredError}
|
|
1364
|
+
*/
|
|
1365
|
+
passportAuthAdminServicePassportAuthAdminUserModifyPermission: (body: PassportAuthAdminUserModifyPermissionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1366
|
+
};
|
|
1367
|
+
/**
|
|
1368
|
+
* PassportAuthAdminServiceApi - functional programming interface
|
|
1369
|
+
*/
|
|
1370
|
+
export declare const PassportAuthAdminServiceApiFp: (configuration?: Configuration) => {
|
|
1371
|
+
/**
|
|
1372
|
+
*
|
|
1373
|
+
* @summary 未登录 - 忘记密码请求
|
|
1374
|
+
* @param {PassportAdminPasswordForgetRequest} body
|
|
1375
|
+
* @param {*} [options] Override http request option.
|
|
1376
|
+
* @throws {RequiredError}
|
|
1377
|
+
*/
|
|
1378
|
+
passportAuthAdminServicePassportAdminPasswordForget(body: PassportAdminPasswordForgetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAdminPasswordForgetResponse>>;
|
|
1379
|
+
/**
|
|
1380
|
+
*
|
|
1381
|
+
* @summary 未登录 - 重置密码
|
|
1382
|
+
* @param {PassportAdminPasswordResetRequest} body
|
|
1383
|
+
* @param {*} [options] Override http request option.
|
|
1384
|
+
* @throws {RequiredError}
|
|
1385
|
+
*/
|
|
1386
|
+
passportAuthAdminServicePassportAdminPasswordReset(body: PassportAdminPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAdminPasswordResetResponse>>;
|
|
1387
|
+
/**
|
|
1388
|
+
*
|
|
1389
|
+
* @summary 未登录 - 验证重置 Token
|
|
1390
|
+
* @param {PassportAdminPasswordResetTokenVerifyRequest} body
|
|
1391
|
+
* @param {*} [options] Override http request option.
|
|
1392
|
+
* @throws {RequiredError}
|
|
1393
|
+
*/
|
|
1394
|
+
passportAuthAdminServicePassportAdminPasswordResetTokenVerify(body: PassportAdminPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAdminPasswordResetTokenVerifyResponse>>;
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @summary 发送验证邮件 - code
|
|
1398
|
+
* @param {PassportAdminSendVerificationEmailRequest} body
|
|
1399
|
+
* @param {*} [options] Override http request option.
|
|
1400
|
+
* @throws {RequiredError}
|
|
1401
|
+
*/
|
|
1402
|
+
passportAuthAdminServicePassportAdminSendVerificationEmail(body: PassportAdminSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAdminSendVerificationEmailResponse>>;
|
|
1403
|
+
/**
|
|
1404
|
+
*
|
|
1405
|
+
* @summary 通过邮箱登录 - password / code
|
|
1406
|
+
* @param {PassportAdminSignInEmailRequest} body
|
|
1407
|
+
* @param {*} [options] Override http request option.
|
|
1408
|
+
* @throws {RequiredError}
|
|
1409
|
+
*/
|
|
1410
|
+
passportAuthAdminServicePassportAdminSignInEmail(body: PassportAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAdminSignInEmailResponse>>;
|
|
1411
|
+
/**
|
|
1412
|
+
*
|
|
1413
|
+
* @summary 已登录 - 修改密码(需当前密码)
|
|
1414
|
+
* @param {PassportAuthAdminChangePasswordRequest} body
|
|
1415
|
+
* @param {*} [options] Override http request option.
|
|
1416
|
+
* @throws {RequiredError}
|
|
1417
|
+
*/
|
|
1418
|
+
passportAuthAdminServicePassportAuthAdminChangePassword(body: PassportAuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminChangePasswordResponse>>;
|
|
1419
|
+
/**
|
|
1420
|
+
*
|
|
1421
|
+
* @summary 获取企业信息+认证材料列表
|
|
1422
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
1423
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
1424
|
+
* @param {Array<number>} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
1425
|
+
* @param {string} [enterpriseName] enterprise_name 按名称前缀过滤(可选) @gotags: form:\"enterprise_name\"
|
|
1426
|
+
* @param {*} [options] Override http request option.
|
|
1427
|
+
* @throws {RequiredError}
|
|
1428
|
+
*/
|
|
1429
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList(page?: number, pageSize?: number, status?: Array<number>, enterpriseName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminEnterpriseMaterialListResponse>>;
|
|
1430
|
+
/**
|
|
1431
|
+
*
|
|
1432
|
+
* @summary 审核企业认证材料
|
|
1433
|
+
* @param {PassportAuthAdminEnterpriseMaterialReviewRequest} body
|
|
1434
|
+
* @param {*} [options] Override http request option.
|
|
1435
|
+
* @throws {RequiredError}
|
|
1436
|
+
*/
|
|
1437
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview(body: PassportAuthAdminEnterpriseMaterialReviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminEnterpriseMaterialReviewResponse>>;
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @summary 获取管理员个人信息
|
|
1441
|
+
* @param {object} body
|
|
1442
|
+
* @param {*} [options] Override http request option.
|
|
1443
|
+
* @throws {RequiredError}
|
|
1444
|
+
*/
|
|
1445
|
+
passportAuthAdminServicePassportAuthAdminGetInfo(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminGetInfoResponse>>;
|
|
1446
|
+
/**
|
|
1447
|
+
*
|
|
1448
|
+
* @param {*} [options] Override http request option.
|
|
1449
|
+
* @throws {RequiredError}
|
|
1450
|
+
*/
|
|
1451
|
+
passportAuthAdminServicePassportAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminGetSessionResponse>>;
|
|
1452
|
+
/**
|
|
1453
|
+
*
|
|
1454
|
+
* @param {*} [options] Override http request option.
|
|
1455
|
+
* @throws {RequiredError}
|
|
1456
|
+
*/
|
|
1457
|
+
passportAuthAdminServicePassportAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminListSessionsResponse>>;
|
|
1458
|
+
/**
|
|
1459
|
+
*
|
|
1460
|
+
* @summary 禁用通行证
|
|
1461
|
+
* @param {PassportAuthAdminPassportDisableRequest} body
|
|
1462
|
+
* @param {*} [options] Override http request option.
|
|
1463
|
+
* @throws {RequiredError}
|
|
1464
|
+
*/
|
|
1465
|
+
passportAuthAdminServicePassportAuthAdminPassportDisable(body: PassportAuthAdminPassportDisableRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminPassportDisableResponse>>;
|
|
1466
|
+
/**
|
|
1467
|
+
*
|
|
1468
|
+
* @summary 管理员查看通行证列表
|
|
1469
|
+
* @param {PassportAuthAdminPassportListRequest} body
|
|
1470
|
+
* @param {*} [options] Override http request option.
|
|
1471
|
+
* @throws {RequiredError}
|
|
1472
|
+
*/
|
|
1473
|
+
passportAuthAdminServicePassportAuthAdminPassportList(body: PassportAuthAdminPassportListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminPassportListResponse>>;
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* @summary 修改通行证信息
|
|
1477
|
+
* @param {PassportAuthAdminPassportModifyInfoRequest} body
|
|
1478
|
+
* @param {*} [options] Override http request option.
|
|
1479
|
+
* @throws {RequiredError}
|
|
1480
|
+
*/
|
|
1481
|
+
passportAuthAdminServicePassportAuthAdminPassportModifyInfo(body: PassportAuthAdminPassportModifyInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminPassportModifyInfoResponse>>;
|
|
1482
|
+
/**
|
|
1483
|
+
*
|
|
1484
|
+
* @summary 已登录 - 重置密码(简化版,无需验证码)
|
|
1485
|
+
* @param {PassportAuthAdminResetPasswordRequest} body
|
|
1486
|
+
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @throws {RequiredError}
|
|
1488
|
+
*/
|
|
1489
|
+
passportAuthAdminServicePassportAuthAdminResetPassword(body: PassportAuthAdminResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminResetPasswordResponse>>;
|
|
1490
|
+
/**
|
|
1491
|
+
*
|
|
1492
|
+
* @param {object} body
|
|
1493
|
+
* @param {*} [options] Override http request option.
|
|
1494
|
+
* @throws {RequiredError}
|
|
1495
|
+
*/
|
|
1496
|
+
passportAuthAdminServicePassportAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminRevokeOtherSessionsResponse>>;
|
|
1497
|
+
/**
|
|
1498
|
+
*
|
|
1499
|
+
* @param {PassportAuthAdminRevokeSessionRequest} body
|
|
1500
|
+
* @param {*} [options] Override http request option.
|
|
1501
|
+
* @throws {RequiredError}
|
|
1502
|
+
*/
|
|
1503
|
+
passportAuthAdminServicePassportAuthAdminRevokeSession(body: PassportAuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminRevokeSessionResponse>>;
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @param {object} body
|
|
1507
|
+
* @param {*} [options] Override http request option.
|
|
1508
|
+
* @throws {RequiredError}
|
|
1509
|
+
*/
|
|
1510
|
+
passportAuthAdminServicePassportAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminRevokeSessionsResponse>>;
|
|
1511
|
+
/**
|
|
1512
|
+
*
|
|
1513
|
+
* @summary 用户退出登录
|
|
1514
|
+
* @param {object} body
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @throws {RequiredError}
|
|
1517
|
+
*/
|
|
1518
|
+
passportAuthAdminServicePassportAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminSignOutResponse>>;
|
|
1519
|
+
/**
|
|
1520
|
+
*
|
|
1521
|
+
* @summary 修改管理员个人信息
|
|
1522
|
+
* @param {PassportAuthAdminUpdateInfoRequest} body
|
|
1523
|
+
* @param {*} [options] Override http request option.
|
|
1524
|
+
* @throws {RequiredError}
|
|
1525
|
+
*/
|
|
1526
|
+
passportAuthAdminServicePassportAuthAdminUpdateInfo(body: PassportAuthAdminUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminUpdateInfoResponse>>;
|
|
1527
|
+
/**
|
|
1528
|
+
*
|
|
1529
|
+
* @summary 禁用用户
|
|
1530
|
+
* @param {PassportAuthAdminUserDisableRequest} body
|
|
1531
|
+
* @param {*} [options] Override http request option.
|
|
1532
|
+
* @throws {RequiredError}
|
|
1533
|
+
*/
|
|
1534
|
+
passportAuthAdminServicePassportAuthAdminUserDisable(body: PassportAuthAdminUserDisableRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminUserDisableResponse>>;
|
|
1535
|
+
/**
|
|
1536
|
+
*
|
|
1537
|
+
* @summary 管理员查看用户列表
|
|
1538
|
+
* @param {PassportAuthAdminUserListRequest} body
|
|
1539
|
+
* @param {*} [options] Override http request option.
|
|
1540
|
+
* @throws {RequiredError}
|
|
1541
|
+
*/
|
|
1542
|
+
passportAuthAdminServicePassportAuthAdminUserList(body: PassportAuthAdminUserListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminUserListResponse>>;
|
|
1543
|
+
/**
|
|
1544
|
+
*
|
|
1545
|
+
* @summary 管理员修改用户信息
|
|
1546
|
+
* @param {PassportAuthAdminUserModifyInfoRequest} body
|
|
1547
|
+
* @param {*} [options] Override http request option.
|
|
1548
|
+
* @throws {RequiredError}
|
|
1549
|
+
*/
|
|
1550
|
+
passportAuthAdminServicePassportAuthAdminUserModifyInfo(body: PassportAuthAdminUserModifyInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminUserModifyInfoResponse>>;
|
|
1551
|
+
/**
|
|
1552
|
+
*
|
|
1553
|
+
* @summary 管理员修改用户权限
|
|
1554
|
+
* @param {PassportAuthAdminUserModifyPermissionRequest} body
|
|
1555
|
+
* @param {*} [options] Override http request option.
|
|
1556
|
+
* @throws {RequiredError}
|
|
1557
|
+
*/
|
|
1558
|
+
passportAuthAdminServicePassportAuthAdminUserModifyPermission(body: PassportAuthAdminUserModifyPermissionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthAdminUserModifyPermissionResponse>>;
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* PassportAuthAdminServiceApi - factory interface
|
|
1562
|
+
*/
|
|
1563
|
+
export declare const PassportAuthAdminServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1564
|
+
/**
|
|
1565
|
+
*
|
|
1566
|
+
* @summary 未登录 - 忘记密码请求
|
|
1567
|
+
* @param {PassportAdminPasswordForgetRequest} body
|
|
1568
|
+
* @param {*} [options] Override http request option.
|
|
1569
|
+
* @throws {RequiredError}
|
|
1570
|
+
*/
|
|
1571
|
+
passportAuthAdminServicePassportAdminPasswordForget(body: PassportAdminPasswordForgetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminPasswordForgetResponse>;
|
|
1572
|
+
/**
|
|
1573
|
+
*
|
|
1574
|
+
* @summary 未登录 - 重置密码
|
|
1575
|
+
* @param {PassportAdminPasswordResetRequest} body
|
|
1576
|
+
* @param {*} [options] Override http request option.
|
|
1577
|
+
* @throws {RequiredError}
|
|
1578
|
+
*/
|
|
1579
|
+
passportAuthAdminServicePassportAdminPasswordReset(body: PassportAdminPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminPasswordResetResponse>;
|
|
1580
|
+
/**
|
|
1581
|
+
*
|
|
1582
|
+
* @summary 未登录 - 验证重置 Token
|
|
1583
|
+
* @param {PassportAdminPasswordResetTokenVerifyRequest} body
|
|
1584
|
+
* @param {*} [options] Override http request option.
|
|
1585
|
+
* @throws {RequiredError}
|
|
1586
|
+
*/
|
|
1587
|
+
passportAuthAdminServicePassportAdminPasswordResetTokenVerify(body: PassportAdminPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminPasswordResetTokenVerifyResponse>;
|
|
1588
|
+
/**
|
|
1589
|
+
*
|
|
1590
|
+
* @summary 发送验证邮件 - code
|
|
1591
|
+
* @param {PassportAdminSendVerificationEmailRequest} body
|
|
1592
|
+
* @param {*} [options] Override http request option.
|
|
1593
|
+
* @throws {RequiredError}
|
|
1594
|
+
*/
|
|
1595
|
+
passportAuthAdminServicePassportAdminSendVerificationEmail(body: PassportAdminSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminSendVerificationEmailResponse>;
|
|
1596
|
+
/**
|
|
1597
|
+
*
|
|
1598
|
+
* @summary 通过邮箱登录 - password / code
|
|
1599
|
+
* @param {PassportAdminSignInEmailRequest} body
|
|
1600
|
+
* @param {*} [options] Override http request option.
|
|
1601
|
+
* @throws {RequiredError}
|
|
1602
|
+
*/
|
|
1603
|
+
passportAuthAdminServicePassportAdminSignInEmail(body: PassportAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminSignInEmailResponse>;
|
|
1604
|
+
/**
|
|
1605
|
+
*
|
|
1606
|
+
* @summary 已登录 - 修改密码(需当前密码)
|
|
1607
|
+
* @param {PassportAuthAdminChangePasswordRequest} body
|
|
1608
|
+
* @param {*} [options] Override http request option.
|
|
1609
|
+
* @throws {RequiredError}
|
|
1610
|
+
*/
|
|
1611
|
+
passportAuthAdminServicePassportAuthAdminChangePassword(body: PassportAuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminChangePasswordResponse>;
|
|
1612
|
+
/**
|
|
1613
|
+
*
|
|
1614
|
+
* @summary 获取企业信息+认证材料列表
|
|
1615
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
1616
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
1617
|
+
* @param {Array<number>} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
1618
|
+
* @param {string} [enterpriseName] enterprise_name 按名称前缀过滤(可选) @gotags: form:\"enterprise_name\"
|
|
1619
|
+
* @param {*} [options] Override http request option.
|
|
1620
|
+
* @throws {RequiredError}
|
|
1621
|
+
*/
|
|
1622
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList(page?: number, pageSize?: number, status?: Array<number>, enterpriseName?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminEnterpriseMaterialListResponse>;
|
|
1623
|
+
/**
|
|
1624
|
+
*
|
|
1625
|
+
* @summary 审核企业认证材料
|
|
1626
|
+
* @param {PassportAuthAdminEnterpriseMaterialReviewRequest} body
|
|
1627
|
+
* @param {*} [options] Override http request option.
|
|
1628
|
+
* @throws {RequiredError}
|
|
1629
|
+
*/
|
|
1630
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview(body: PassportAuthAdminEnterpriseMaterialReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminEnterpriseMaterialReviewResponse>;
|
|
1631
|
+
/**
|
|
1632
|
+
*
|
|
1633
|
+
* @summary 获取管理员个人信息
|
|
1634
|
+
* @param {object} body
|
|
1635
|
+
* @param {*} [options] Override http request option.
|
|
1636
|
+
* @throws {RequiredError}
|
|
1637
|
+
*/
|
|
1638
|
+
passportAuthAdminServicePassportAuthAdminGetInfo(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminGetInfoResponse>;
|
|
1639
|
+
/**
|
|
1640
|
+
*
|
|
1641
|
+
* @param {*} [options] Override http request option.
|
|
1642
|
+
* @throws {RequiredError}
|
|
1643
|
+
*/
|
|
1644
|
+
passportAuthAdminServicePassportAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminGetSessionResponse>;
|
|
1645
|
+
/**
|
|
1646
|
+
*
|
|
1647
|
+
* @param {*} [options] Override http request option.
|
|
1648
|
+
* @throws {RequiredError}
|
|
1649
|
+
*/
|
|
1650
|
+
passportAuthAdminServicePassportAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminListSessionsResponse>;
|
|
1651
|
+
/**
|
|
1652
|
+
*
|
|
1653
|
+
* @summary 禁用通行证
|
|
1654
|
+
* @param {PassportAuthAdminPassportDisableRequest} body
|
|
1655
|
+
* @param {*} [options] Override http request option.
|
|
1656
|
+
* @throws {RequiredError}
|
|
1657
|
+
*/
|
|
1658
|
+
passportAuthAdminServicePassportAuthAdminPassportDisable(body: PassportAuthAdminPassportDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminPassportDisableResponse>;
|
|
1659
|
+
/**
|
|
1660
|
+
*
|
|
1661
|
+
* @summary 管理员查看通行证列表
|
|
1662
|
+
* @param {PassportAuthAdminPassportListRequest} body
|
|
1663
|
+
* @param {*} [options] Override http request option.
|
|
1664
|
+
* @throws {RequiredError}
|
|
1665
|
+
*/
|
|
1666
|
+
passportAuthAdminServicePassportAuthAdminPassportList(body: PassportAuthAdminPassportListRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminPassportListResponse>;
|
|
1667
|
+
/**
|
|
1668
|
+
*
|
|
1669
|
+
* @summary 修改通行证信息
|
|
1670
|
+
* @param {PassportAuthAdminPassportModifyInfoRequest} body
|
|
1671
|
+
* @param {*} [options] Override http request option.
|
|
1672
|
+
* @throws {RequiredError}
|
|
1673
|
+
*/
|
|
1674
|
+
passportAuthAdminServicePassportAuthAdminPassportModifyInfo(body: PassportAuthAdminPassportModifyInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminPassportModifyInfoResponse>;
|
|
1675
|
+
/**
|
|
1676
|
+
*
|
|
1677
|
+
* @summary 已登录 - 重置密码(简化版,无需验证码)
|
|
1678
|
+
* @param {PassportAuthAdminResetPasswordRequest} body
|
|
1679
|
+
* @param {*} [options] Override http request option.
|
|
1680
|
+
* @throws {RequiredError}
|
|
1681
|
+
*/
|
|
1682
|
+
passportAuthAdminServicePassportAuthAdminResetPassword(body: PassportAuthAdminResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminResetPasswordResponse>;
|
|
1683
|
+
/**
|
|
1684
|
+
*
|
|
1685
|
+
* @param {object} body
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
passportAuthAdminServicePassportAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminRevokeOtherSessionsResponse>;
|
|
1690
|
+
/**
|
|
1691
|
+
*
|
|
1692
|
+
* @param {PassportAuthAdminRevokeSessionRequest} body
|
|
1693
|
+
* @param {*} [options] Override http request option.
|
|
1694
|
+
* @throws {RequiredError}
|
|
1695
|
+
*/
|
|
1696
|
+
passportAuthAdminServicePassportAuthAdminRevokeSession(body: PassportAuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminRevokeSessionResponse>;
|
|
1697
|
+
/**
|
|
1698
|
+
*
|
|
1699
|
+
* @param {object} body
|
|
1700
|
+
* @param {*} [options] Override http request option.
|
|
1701
|
+
* @throws {RequiredError}
|
|
1702
|
+
*/
|
|
1703
|
+
passportAuthAdminServicePassportAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminRevokeSessionsResponse>;
|
|
1704
|
+
/**
|
|
1705
|
+
*
|
|
1706
|
+
* @summary 用户退出登录
|
|
1707
|
+
* @param {object} body
|
|
1708
|
+
* @param {*} [options] Override http request option.
|
|
1709
|
+
* @throws {RequiredError}
|
|
1710
|
+
*/
|
|
1711
|
+
passportAuthAdminServicePassportAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminSignOutResponse>;
|
|
1712
|
+
/**
|
|
1713
|
+
*
|
|
1714
|
+
* @summary 修改管理员个人信息
|
|
1715
|
+
* @param {PassportAuthAdminUpdateInfoRequest} body
|
|
1716
|
+
* @param {*} [options] Override http request option.
|
|
1717
|
+
* @throws {RequiredError}
|
|
1718
|
+
*/
|
|
1719
|
+
passportAuthAdminServicePassportAuthAdminUpdateInfo(body: PassportAuthAdminUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUpdateInfoResponse>;
|
|
1720
|
+
/**
|
|
1721
|
+
*
|
|
1722
|
+
* @summary 禁用用户
|
|
1723
|
+
* @param {PassportAuthAdminUserDisableRequest} body
|
|
1724
|
+
* @param {*} [options] Override http request option.
|
|
1725
|
+
* @throws {RequiredError}
|
|
1726
|
+
*/
|
|
1727
|
+
passportAuthAdminServicePassportAuthAdminUserDisable(body: PassportAuthAdminUserDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUserDisableResponse>;
|
|
1728
|
+
/**
|
|
1729
|
+
*
|
|
1730
|
+
* @summary 管理员查看用户列表
|
|
1731
|
+
* @param {PassportAuthAdminUserListRequest} body
|
|
1732
|
+
* @param {*} [options] Override http request option.
|
|
1733
|
+
* @throws {RequiredError}
|
|
1734
|
+
*/
|
|
1735
|
+
passportAuthAdminServicePassportAuthAdminUserList(body: PassportAuthAdminUserListRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUserListResponse>;
|
|
1736
|
+
/**
|
|
1737
|
+
*
|
|
1738
|
+
* @summary 管理员修改用户信息
|
|
1739
|
+
* @param {PassportAuthAdminUserModifyInfoRequest} body
|
|
1740
|
+
* @param {*} [options] Override http request option.
|
|
1741
|
+
* @throws {RequiredError}
|
|
1742
|
+
*/
|
|
1743
|
+
passportAuthAdminServicePassportAuthAdminUserModifyInfo(body: PassportAuthAdminUserModifyInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUserModifyInfoResponse>;
|
|
1744
|
+
/**
|
|
1745
|
+
*
|
|
1746
|
+
* @summary 管理员修改用户权限
|
|
1747
|
+
* @param {PassportAuthAdminUserModifyPermissionRequest} body
|
|
1748
|
+
* @param {*} [options] Override http request option.
|
|
1749
|
+
* @throws {RequiredError}
|
|
1750
|
+
*/
|
|
1751
|
+
passportAuthAdminServicePassportAuthAdminUserModifyPermission(body: PassportAuthAdminUserModifyPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUserModifyPermissionResponse>;
|
|
1752
|
+
};
|
|
1753
|
+
/**
|
|
1754
|
+
* PassportAuthAdminServiceApi - interface
|
|
1755
|
+
*/
|
|
1756
|
+
export interface PassportAuthAdminServiceApiInterface {
|
|
1757
|
+
/**
|
|
1758
|
+
*
|
|
1759
|
+
* @summary 未登录 - 忘记密码请求
|
|
1760
|
+
* @param {PassportAdminPasswordForgetRequest} body
|
|
1761
|
+
* @param {*} [options] Override http request option.
|
|
1762
|
+
* @throws {RequiredError}
|
|
1763
|
+
*/
|
|
1764
|
+
passportAuthAdminServicePassportAdminPasswordForget(body: PassportAdminPasswordForgetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminPasswordForgetResponse>;
|
|
1765
|
+
/**
|
|
1766
|
+
*
|
|
1767
|
+
* @summary 未登录 - 重置密码
|
|
1768
|
+
* @param {PassportAdminPasswordResetRequest} body
|
|
1769
|
+
* @param {*} [options] Override http request option.
|
|
1770
|
+
* @throws {RequiredError}
|
|
1771
|
+
*/
|
|
1772
|
+
passportAuthAdminServicePassportAdminPasswordReset(body: PassportAdminPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminPasswordResetResponse>;
|
|
1773
|
+
/**
|
|
1774
|
+
*
|
|
1775
|
+
* @summary 未登录 - 验证重置 Token
|
|
1776
|
+
* @param {PassportAdminPasswordResetTokenVerifyRequest} body
|
|
1777
|
+
* @param {*} [options] Override http request option.
|
|
1778
|
+
* @throws {RequiredError}
|
|
1779
|
+
*/
|
|
1780
|
+
passportAuthAdminServicePassportAdminPasswordResetTokenVerify(body: PassportAdminPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminPasswordResetTokenVerifyResponse>;
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @summary 发送验证邮件 - code
|
|
1784
|
+
* @param {PassportAdminSendVerificationEmailRequest} body
|
|
1785
|
+
* @param {*} [options] Override http request option.
|
|
1786
|
+
* @throws {RequiredError}
|
|
1787
|
+
*/
|
|
1788
|
+
passportAuthAdminServicePassportAdminSendVerificationEmail(body: PassportAdminSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminSendVerificationEmailResponse>;
|
|
1789
|
+
/**
|
|
1790
|
+
*
|
|
1791
|
+
* @summary 通过邮箱登录 - password / code
|
|
1792
|
+
* @param {PassportAdminSignInEmailRequest} body
|
|
1793
|
+
* @param {*} [options] Override http request option.
|
|
1794
|
+
* @throws {RequiredError}
|
|
1795
|
+
*/
|
|
1796
|
+
passportAuthAdminServicePassportAdminSignInEmail(body: PassportAdminSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAdminSignInEmailResponse>;
|
|
1797
|
+
/**
|
|
1798
|
+
*
|
|
1799
|
+
* @summary 已登录 - 修改密码(需当前密码)
|
|
1800
|
+
* @param {PassportAuthAdminChangePasswordRequest} body
|
|
1801
|
+
* @param {*} [options] Override http request option.
|
|
1802
|
+
* @throws {RequiredError}
|
|
1803
|
+
*/
|
|
1804
|
+
passportAuthAdminServicePassportAuthAdminChangePassword(body: PassportAuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminChangePasswordResponse>;
|
|
1805
|
+
/**
|
|
1806
|
+
*
|
|
1807
|
+
* @summary 获取企业信息+认证材料列表
|
|
1808
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
1809
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
1810
|
+
* @param {Array<number>} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
1811
|
+
* @param {string} [enterpriseName] enterprise_name 按名称前缀过滤(可选) @gotags: form:\"enterprise_name\"
|
|
1812
|
+
* @param {*} [options] Override http request option.
|
|
1813
|
+
* @throws {RequiredError}
|
|
1814
|
+
*/
|
|
1815
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList(page?: number, pageSize?: number, status?: Array<number>, enterpriseName?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminEnterpriseMaterialListResponse>;
|
|
1816
|
+
/**
|
|
1817
|
+
*
|
|
1818
|
+
* @summary 审核企业认证材料
|
|
1819
|
+
* @param {PassportAuthAdminEnterpriseMaterialReviewRequest} body
|
|
1820
|
+
* @param {*} [options] Override http request option.
|
|
1821
|
+
* @throws {RequiredError}
|
|
1822
|
+
*/
|
|
1823
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview(body: PassportAuthAdminEnterpriseMaterialReviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminEnterpriseMaterialReviewResponse>;
|
|
1824
|
+
/**
|
|
1825
|
+
*
|
|
1826
|
+
* @summary 获取管理员个人信息
|
|
1827
|
+
* @param {object} body
|
|
1828
|
+
* @param {*} [options] Override http request option.
|
|
1829
|
+
* @throws {RequiredError}
|
|
1830
|
+
*/
|
|
1831
|
+
passportAuthAdminServicePassportAuthAdminGetInfo(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminGetInfoResponse>;
|
|
1832
|
+
/**
|
|
1833
|
+
*
|
|
1834
|
+
* @param {*} [options] Override http request option.
|
|
1835
|
+
* @throws {RequiredError}
|
|
1836
|
+
*/
|
|
1837
|
+
passportAuthAdminServicePassportAuthAdminGetSession(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminGetSessionResponse>;
|
|
1838
|
+
/**
|
|
1839
|
+
*
|
|
1840
|
+
* @param {*} [options] Override http request option.
|
|
1841
|
+
* @throws {RequiredError}
|
|
1842
|
+
*/
|
|
1843
|
+
passportAuthAdminServicePassportAuthAdminListSessions(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminListSessionsResponse>;
|
|
1844
|
+
/**
|
|
1845
|
+
*
|
|
1846
|
+
* @summary 禁用通行证
|
|
1847
|
+
* @param {PassportAuthAdminPassportDisableRequest} body
|
|
1848
|
+
* @param {*} [options] Override http request option.
|
|
1849
|
+
* @throws {RequiredError}
|
|
1850
|
+
*/
|
|
1851
|
+
passportAuthAdminServicePassportAuthAdminPassportDisable(body: PassportAuthAdminPassportDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminPassportDisableResponse>;
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @summary 管理员查看通行证列表
|
|
1855
|
+
* @param {PassportAuthAdminPassportListRequest} body
|
|
1856
|
+
* @param {*} [options] Override http request option.
|
|
1857
|
+
* @throws {RequiredError}
|
|
1858
|
+
*/
|
|
1859
|
+
passportAuthAdminServicePassportAuthAdminPassportList(body: PassportAuthAdminPassportListRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminPassportListResponse>;
|
|
1860
|
+
/**
|
|
1861
|
+
*
|
|
1862
|
+
* @summary 修改通行证信息
|
|
1863
|
+
* @param {PassportAuthAdminPassportModifyInfoRequest} body
|
|
1864
|
+
* @param {*} [options] Override http request option.
|
|
1865
|
+
* @throws {RequiredError}
|
|
1866
|
+
*/
|
|
1867
|
+
passportAuthAdminServicePassportAuthAdminPassportModifyInfo(body: PassportAuthAdminPassportModifyInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminPassportModifyInfoResponse>;
|
|
1868
|
+
/**
|
|
1869
|
+
*
|
|
1870
|
+
* @summary 已登录 - 重置密码(简化版,无需验证码)
|
|
1871
|
+
* @param {PassportAuthAdminResetPasswordRequest} body
|
|
1872
|
+
* @param {*} [options] Override http request option.
|
|
1873
|
+
* @throws {RequiredError}
|
|
1874
|
+
*/
|
|
1875
|
+
passportAuthAdminServicePassportAuthAdminResetPassword(body: PassportAuthAdminResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminResetPasswordResponse>;
|
|
1876
|
+
/**
|
|
1877
|
+
*
|
|
1878
|
+
* @param {object} body
|
|
1879
|
+
* @param {*} [options] Override http request option.
|
|
1880
|
+
* @throws {RequiredError}
|
|
1881
|
+
*/
|
|
1882
|
+
passportAuthAdminServicePassportAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminRevokeOtherSessionsResponse>;
|
|
1883
|
+
/**
|
|
1884
|
+
*
|
|
1885
|
+
* @param {PassportAuthAdminRevokeSessionRequest} body
|
|
1886
|
+
* @param {*} [options] Override http request option.
|
|
1887
|
+
* @throws {RequiredError}
|
|
1888
|
+
*/
|
|
1889
|
+
passportAuthAdminServicePassportAuthAdminRevokeSession(body: PassportAuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminRevokeSessionResponse>;
|
|
1890
|
+
/**
|
|
1891
|
+
*
|
|
1892
|
+
* @param {object} body
|
|
1893
|
+
* @param {*} [options] Override http request option.
|
|
1894
|
+
* @throws {RequiredError}
|
|
1895
|
+
*/
|
|
1896
|
+
passportAuthAdminServicePassportAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminRevokeSessionsResponse>;
|
|
1897
|
+
/**
|
|
1898
|
+
*
|
|
1899
|
+
* @summary 用户退出登录
|
|
1900
|
+
* @param {object} body
|
|
1901
|
+
* @param {*} [options] Override http request option.
|
|
1902
|
+
* @throws {RequiredError}
|
|
1903
|
+
*/
|
|
1904
|
+
passportAuthAdminServicePassportAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminSignOutResponse>;
|
|
1905
|
+
/**
|
|
1906
|
+
*
|
|
1907
|
+
* @summary 修改管理员个人信息
|
|
1908
|
+
* @param {PassportAuthAdminUpdateInfoRequest} body
|
|
1909
|
+
* @param {*} [options] Override http request option.
|
|
1910
|
+
* @throws {RequiredError}
|
|
1911
|
+
*/
|
|
1912
|
+
passportAuthAdminServicePassportAuthAdminUpdateInfo(body: PassportAuthAdminUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUpdateInfoResponse>;
|
|
1913
|
+
/**
|
|
1914
|
+
*
|
|
1915
|
+
* @summary 禁用用户
|
|
1916
|
+
* @param {PassportAuthAdminUserDisableRequest} body
|
|
1917
|
+
* @param {*} [options] Override http request option.
|
|
1918
|
+
* @throws {RequiredError}
|
|
1919
|
+
*/
|
|
1920
|
+
passportAuthAdminServicePassportAuthAdminUserDisable(body: PassportAuthAdminUserDisableRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUserDisableResponse>;
|
|
1921
|
+
/**
|
|
1922
|
+
*
|
|
1923
|
+
* @summary 管理员查看用户列表
|
|
1924
|
+
* @param {PassportAuthAdminUserListRequest} body
|
|
1925
|
+
* @param {*} [options] Override http request option.
|
|
1926
|
+
* @throws {RequiredError}
|
|
1927
|
+
*/
|
|
1928
|
+
passportAuthAdminServicePassportAuthAdminUserList(body: PassportAuthAdminUserListRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUserListResponse>;
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @summary 管理员修改用户信息
|
|
1932
|
+
* @param {PassportAuthAdminUserModifyInfoRequest} body
|
|
1933
|
+
* @param {*} [options] Override http request option.
|
|
1934
|
+
* @throws {RequiredError}
|
|
1935
|
+
*/
|
|
1936
|
+
passportAuthAdminServicePassportAuthAdminUserModifyInfo(body: PassportAuthAdminUserModifyInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUserModifyInfoResponse>;
|
|
1937
|
+
/**
|
|
1938
|
+
*
|
|
1939
|
+
* @summary 管理员修改用户权限
|
|
1940
|
+
* @param {PassportAuthAdminUserModifyPermissionRequest} body
|
|
1941
|
+
* @param {*} [options] Override http request option.
|
|
1942
|
+
* @throws {RequiredError}
|
|
1943
|
+
*/
|
|
1944
|
+
passportAuthAdminServicePassportAuthAdminUserModifyPermission(body: PassportAuthAdminUserModifyPermissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthAdminUserModifyPermissionResponse>;
|
|
1945
|
+
}
|
|
1946
|
+
/**
|
|
1947
|
+
* PassportAuthAdminServiceApi - object-oriented interface
|
|
1948
|
+
*/
|
|
1949
|
+
export declare class PassportAuthAdminServiceApi extends BaseAPI implements PassportAuthAdminServiceApiInterface {
|
|
1950
|
+
/**
|
|
1951
|
+
*
|
|
1952
|
+
* @summary 未登录 - 忘记密码请求
|
|
1953
|
+
* @param {PassportAdminPasswordForgetRequest} body
|
|
1954
|
+
* @param {*} [options] Override http request option.
|
|
1955
|
+
* @throws {RequiredError}
|
|
1956
|
+
*/
|
|
1957
|
+
passportAuthAdminServicePassportAdminPasswordForget(body: PassportAdminPasswordForgetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAdminPasswordForgetResponse, any, {}>>;
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @summary 未登录 - 重置密码
|
|
1961
|
+
* @param {PassportAdminPasswordResetRequest} body
|
|
1962
|
+
* @param {*} [options] Override http request option.
|
|
1963
|
+
* @throws {RequiredError}
|
|
1964
|
+
*/
|
|
1965
|
+
passportAuthAdminServicePassportAdminPasswordReset(body: PassportAdminPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAdminPasswordResetResponse, any, {}>>;
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @summary 未登录 - 验证重置 Token
|
|
1969
|
+
* @param {PassportAdminPasswordResetTokenVerifyRequest} body
|
|
1970
|
+
* @param {*} [options] Override http request option.
|
|
1971
|
+
* @throws {RequiredError}
|
|
1972
|
+
*/
|
|
1973
|
+
passportAuthAdminServicePassportAdminPasswordResetTokenVerify(body: PassportAdminPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAdminPasswordResetTokenVerifyResponse, any, {}>>;
|
|
1974
|
+
/**
|
|
1975
|
+
*
|
|
1976
|
+
* @summary 发送验证邮件 - code
|
|
1977
|
+
* @param {PassportAdminSendVerificationEmailRequest} body
|
|
1978
|
+
* @param {*} [options] Override http request option.
|
|
1979
|
+
* @throws {RequiredError}
|
|
1980
|
+
*/
|
|
1981
|
+
passportAuthAdminServicePassportAdminSendVerificationEmail(body: PassportAdminSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAdminSendVerificationEmailResponse, any, {}>>;
|
|
1982
|
+
/**
|
|
1983
|
+
*
|
|
1984
|
+
* @summary 通过邮箱登录 - password / code
|
|
1985
|
+
* @param {PassportAdminSignInEmailRequest} body
|
|
1986
|
+
* @param {*} [options] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
1988
|
+
*/
|
|
1989
|
+
passportAuthAdminServicePassportAdminSignInEmail(body: PassportAdminSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAdminSignInEmailResponse, any, {}>>;
|
|
1990
|
+
/**
|
|
1991
|
+
*
|
|
1992
|
+
* @summary 已登录 - 修改密码(需当前密码)
|
|
1993
|
+
* @param {PassportAuthAdminChangePasswordRequest} body
|
|
1994
|
+
* @param {*} [options] Override http request option.
|
|
1995
|
+
* @throws {RequiredError}
|
|
1996
|
+
*/
|
|
1997
|
+
passportAuthAdminServicePassportAuthAdminChangePassword(body: PassportAuthAdminChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminChangePasswordResponse, any, {}>>;
|
|
1998
|
+
/**
|
|
1999
|
+
*
|
|
2000
|
+
* @summary 获取企业信息+认证材料列表
|
|
2001
|
+
* @param {number} [page] page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\"
|
|
2002
|
+
* @param {number} [pageSize] page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\"
|
|
2003
|
+
* @param {Array<number>} [status] status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\"
|
|
2004
|
+
* @param {string} [enterpriseName] enterprise_name 按名称前缀过滤(可选) @gotags: form:\"enterprise_name\"
|
|
2005
|
+
* @param {*} [options] Override http request option.
|
|
2006
|
+
* @throws {RequiredError}
|
|
2007
|
+
*/
|
|
2008
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList(page?: number, pageSize?: number, status?: Array<number>, enterpriseName?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminEnterpriseMaterialListResponse, any, {}>>;
|
|
2009
|
+
/**
|
|
2010
|
+
*
|
|
2011
|
+
* @summary 审核企业认证材料
|
|
2012
|
+
* @param {PassportAuthAdminEnterpriseMaterialReviewRequest} body
|
|
2013
|
+
* @param {*} [options] Override http request option.
|
|
2014
|
+
* @throws {RequiredError}
|
|
2015
|
+
*/
|
|
2016
|
+
passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview(body: PassportAuthAdminEnterpriseMaterialReviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminEnterpriseMaterialReviewResponse, any, {}>>;
|
|
2017
|
+
/**
|
|
2018
|
+
*
|
|
2019
|
+
* @summary 获取管理员个人信息
|
|
2020
|
+
* @param {object} body
|
|
2021
|
+
* @param {*} [options] Override http request option.
|
|
2022
|
+
* @throws {RequiredError}
|
|
2023
|
+
*/
|
|
2024
|
+
passportAuthAdminServicePassportAuthAdminGetInfo(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminGetInfoResponse, any, {}>>;
|
|
2025
|
+
/**
|
|
2026
|
+
*
|
|
2027
|
+
* @param {*} [options] Override http request option.
|
|
2028
|
+
* @throws {RequiredError}
|
|
2029
|
+
*/
|
|
2030
|
+
passportAuthAdminServicePassportAuthAdminGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminGetSessionResponse, any, {}>>;
|
|
2031
|
+
/**
|
|
2032
|
+
*
|
|
2033
|
+
* @param {*} [options] Override http request option.
|
|
2034
|
+
* @throws {RequiredError}
|
|
2035
|
+
*/
|
|
2036
|
+
passportAuthAdminServicePassportAuthAdminListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminListSessionsResponse, any, {}>>;
|
|
2037
|
+
/**
|
|
2038
|
+
*
|
|
2039
|
+
* @summary 禁用通行证
|
|
2040
|
+
* @param {PassportAuthAdminPassportDisableRequest} body
|
|
2041
|
+
* @param {*} [options] Override http request option.
|
|
2042
|
+
* @throws {RequiredError}
|
|
2043
|
+
*/
|
|
2044
|
+
passportAuthAdminServicePassportAuthAdminPassportDisable(body: PassportAuthAdminPassportDisableRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminPassportDisableResponse, any, {}>>;
|
|
2045
|
+
/**
|
|
2046
|
+
*
|
|
2047
|
+
* @summary 管理员查看通行证列表
|
|
2048
|
+
* @param {PassportAuthAdminPassportListRequest} body
|
|
2049
|
+
* @param {*} [options] Override http request option.
|
|
2050
|
+
* @throws {RequiredError}
|
|
2051
|
+
*/
|
|
2052
|
+
passportAuthAdminServicePassportAuthAdminPassportList(body: PassportAuthAdminPassportListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminPassportListResponse, any, {}>>;
|
|
2053
|
+
/**
|
|
2054
|
+
*
|
|
2055
|
+
* @summary 修改通行证信息
|
|
2056
|
+
* @param {PassportAuthAdminPassportModifyInfoRequest} body
|
|
2057
|
+
* @param {*} [options] Override http request option.
|
|
2058
|
+
* @throws {RequiredError}
|
|
2059
|
+
*/
|
|
2060
|
+
passportAuthAdminServicePassportAuthAdminPassportModifyInfo(body: PassportAuthAdminPassportModifyInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminPassportModifyInfoResponse, any, {}>>;
|
|
2061
|
+
/**
|
|
2062
|
+
*
|
|
2063
|
+
* @summary 已登录 - 重置密码(简化版,无需验证码)
|
|
2064
|
+
* @param {PassportAuthAdminResetPasswordRequest} body
|
|
2065
|
+
* @param {*} [options] Override http request option.
|
|
2066
|
+
* @throws {RequiredError}
|
|
2067
|
+
*/
|
|
2068
|
+
passportAuthAdminServicePassportAuthAdminResetPassword(body: PassportAuthAdminResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminResetPasswordResponse, any, {}>>;
|
|
2069
|
+
/**
|
|
2070
|
+
*
|
|
2071
|
+
* @param {object} body
|
|
2072
|
+
* @param {*} [options] Override http request option.
|
|
2073
|
+
* @throws {RequiredError}
|
|
2074
|
+
*/
|
|
2075
|
+
passportAuthAdminServicePassportAuthAdminRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminRevokeOtherSessionsResponse, any, {}>>;
|
|
2076
|
+
/**
|
|
2077
|
+
*
|
|
2078
|
+
* @param {PassportAuthAdminRevokeSessionRequest} body
|
|
2079
|
+
* @param {*} [options] Override http request option.
|
|
2080
|
+
* @throws {RequiredError}
|
|
2081
|
+
*/
|
|
2082
|
+
passportAuthAdminServicePassportAuthAdminRevokeSession(body: PassportAuthAdminRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminRevokeSessionResponse, any, {}>>;
|
|
2083
|
+
/**
|
|
2084
|
+
*
|
|
2085
|
+
* @param {object} body
|
|
2086
|
+
* @param {*} [options] Override http request option.
|
|
2087
|
+
* @throws {RequiredError}
|
|
2088
|
+
*/
|
|
2089
|
+
passportAuthAdminServicePassportAuthAdminRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminRevokeSessionsResponse, any, {}>>;
|
|
2090
|
+
/**
|
|
2091
|
+
*
|
|
2092
|
+
* @summary 用户退出登录
|
|
2093
|
+
* @param {object} body
|
|
2094
|
+
* @param {*} [options] Override http request option.
|
|
2095
|
+
* @throws {RequiredError}
|
|
2096
|
+
*/
|
|
2097
|
+
passportAuthAdminServicePassportAuthAdminSignOut(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminSignOutResponse, any, {}>>;
|
|
2098
|
+
/**
|
|
2099
|
+
*
|
|
2100
|
+
* @summary 修改管理员个人信息
|
|
2101
|
+
* @param {PassportAuthAdminUpdateInfoRequest} body
|
|
2102
|
+
* @param {*} [options] Override http request option.
|
|
2103
|
+
* @throws {RequiredError}
|
|
2104
|
+
*/
|
|
2105
|
+
passportAuthAdminServicePassportAuthAdminUpdateInfo(body: PassportAuthAdminUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminUpdateInfoResponse, any, {}>>;
|
|
2106
|
+
/**
|
|
2107
|
+
*
|
|
2108
|
+
* @summary 禁用用户
|
|
2109
|
+
* @param {PassportAuthAdminUserDisableRequest} body
|
|
2110
|
+
* @param {*} [options] Override http request option.
|
|
2111
|
+
* @throws {RequiredError}
|
|
2112
|
+
*/
|
|
2113
|
+
passportAuthAdminServicePassportAuthAdminUserDisable(body: PassportAuthAdminUserDisableRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminUserDisableResponse, any, {}>>;
|
|
2114
|
+
/**
|
|
2115
|
+
*
|
|
2116
|
+
* @summary 管理员查看用户列表
|
|
2117
|
+
* @param {PassportAuthAdminUserListRequest} body
|
|
2118
|
+
* @param {*} [options] Override http request option.
|
|
2119
|
+
* @throws {RequiredError}
|
|
2120
|
+
*/
|
|
2121
|
+
passportAuthAdminServicePassportAuthAdminUserList(body: PassportAuthAdminUserListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminUserListResponse, any, {}>>;
|
|
2122
|
+
/**
|
|
2123
|
+
*
|
|
2124
|
+
* @summary 管理员修改用户信息
|
|
2125
|
+
* @param {PassportAuthAdminUserModifyInfoRequest} body
|
|
2126
|
+
* @param {*} [options] Override http request option.
|
|
2127
|
+
* @throws {RequiredError}
|
|
2128
|
+
*/
|
|
2129
|
+
passportAuthAdminServicePassportAuthAdminUserModifyInfo(body: PassportAuthAdminUserModifyInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminUserModifyInfoResponse, any, {}>>;
|
|
2130
|
+
/**
|
|
2131
|
+
*
|
|
2132
|
+
* @summary 管理员修改用户权限
|
|
2133
|
+
* @param {PassportAuthAdminUserModifyPermissionRequest} body
|
|
2134
|
+
* @param {*} [options] Override http request option.
|
|
2135
|
+
* @throws {RequiredError}
|
|
2136
|
+
*/
|
|
2137
|
+
passportAuthAdminServicePassportAuthAdminUserModifyPermission(body: PassportAuthAdminUserModifyPermissionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthAdminUserModifyPermissionResponse, any, {}>>;
|
|
2138
|
+
}
|
|
2139
|
+
/**
|
|
2140
|
+
* PassportAuthEnterpriseRPCServiceApi - axios parameter creator
|
|
2141
|
+
*/
|
|
2142
|
+
export declare const PassportAuthEnterpriseRPCServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2143
|
+
/**
|
|
2144
|
+
*
|
|
2145
|
+
* @summary Token 鉴权 - Enterprise
|
|
2146
|
+
* @param {PassportEnterpriseTokenAuthRequest} body
|
|
2147
|
+
* @param {*} [options] Override http request option.
|
|
2148
|
+
* @throws {RequiredError}
|
|
2149
|
+
*/
|
|
2150
|
+
passportAuthEnterpriseRPCServicePassportEnterpriseTokenAuth: (body: PassportEnterpriseTokenAuthRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2151
|
+
};
|
|
2152
|
+
/**
|
|
2153
|
+
* PassportAuthEnterpriseRPCServiceApi - functional programming interface
|
|
2154
|
+
*/
|
|
2155
|
+
export declare const PassportAuthEnterpriseRPCServiceApiFp: (configuration?: Configuration) => {
|
|
2156
|
+
/**
|
|
2157
|
+
*
|
|
2158
|
+
* @summary Token 鉴权 - Enterprise
|
|
2159
|
+
* @param {PassportEnterpriseTokenAuthRequest} body
|
|
2160
|
+
* @param {*} [options] Override http request option.
|
|
2161
|
+
* @throws {RequiredError}
|
|
2162
|
+
*/
|
|
2163
|
+
passportAuthEnterpriseRPCServicePassportEnterpriseTokenAuth(body: PassportEnterpriseTokenAuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportEnterpriseTokenAuthResponse>>;
|
|
2164
|
+
};
|
|
2165
|
+
/**
|
|
2166
|
+
* PassportAuthEnterpriseRPCServiceApi - factory interface
|
|
2167
|
+
*/
|
|
2168
|
+
export declare const PassportAuthEnterpriseRPCServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2169
|
+
/**
|
|
2170
|
+
*
|
|
2171
|
+
* @summary Token 鉴权 - Enterprise
|
|
2172
|
+
* @param {PassportEnterpriseTokenAuthRequest} body
|
|
2173
|
+
* @param {*} [options] Override http request option.
|
|
2174
|
+
* @throws {RequiredError}
|
|
2175
|
+
*/
|
|
2176
|
+
passportAuthEnterpriseRPCServicePassportEnterpriseTokenAuth(body: PassportEnterpriseTokenAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseTokenAuthResponse>;
|
|
2177
|
+
};
|
|
2178
|
+
/**
|
|
2179
|
+
* PassportAuthEnterpriseRPCServiceApi - interface
|
|
2180
|
+
*/
|
|
2181
|
+
export interface PassportAuthEnterpriseRPCServiceApiInterface {
|
|
2182
|
+
/**
|
|
2183
|
+
*
|
|
2184
|
+
* @summary Token 鉴权 - Enterprise
|
|
2185
|
+
* @param {PassportEnterpriseTokenAuthRequest} body
|
|
2186
|
+
* @param {*} [options] Override http request option.
|
|
2187
|
+
* @throws {RequiredError}
|
|
2188
|
+
*/
|
|
2189
|
+
passportAuthEnterpriseRPCServicePassportEnterpriseTokenAuth(body: PassportEnterpriseTokenAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseTokenAuthResponse>;
|
|
2190
|
+
}
|
|
2191
|
+
/**
|
|
2192
|
+
* PassportAuthEnterpriseRPCServiceApi - object-oriented interface
|
|
2193
|
+
*/
|
|
2194
|
+
export declare class PassportAuthEnterpriseRPCServiceApi extends BaseAPI implements PassportAuthEnterpriseRPCServiceApiInterface {
|
|
2195
|
+
/**
|
|
2196
|
+
*
|
|
2197
|
+
* @summary Token 鉴权 - Enterprise
|
|
2198
|
+
* @param {PassportEnterpriseTokenAuthRequest} body
|
|
2199
|
+
* @param {*} [options] Override http request option.
|
|
2200
|
+
* @throws {RequiredError}
|
|
2201
|
+
*/
|
|
2202
|
+
passportAuthEnterpriseRPCServicePassportEnterpriseTokenAuth(body: PassportEnterpriseTokenAuthRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportEnterpriseTokenAuthResponse, any, {}>>;
|
|
2203
|
+
}
|
|
2204
|
+
/**
|
|
2205
|
+
* PassportAuthEnterpriseServiceApi - axios parameter creator
|
|
2206
|
+
*/
|
|
2207
|
+
export declare const PassportAuthEnterpriseServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2208
|
+
/**
|
|
2209
|
+
*
|
|
2210
|
+
* @summary 已登录用户修改密码
|
|
2211
|
+
* @param {PassportAuthEnterpriseChangePasswordRequest} body
|
|
2212
|
+
* @param {*} [options] Override http request option.
|
|
2213
|
+
* @throws {RequiredError}
|
|
2214
|
+
*/
|
|
2215
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword: (body: PassportAuthEnterpriseChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2216
|
+
/**
|
|
2217
|
+
*
|
|
2218
|
+
* @summary 已登录用户更换手机号
|
|
2219
|
+
* @param {PassportAuthEnterpriseChangePhoneRequest} body
|
|
2220
|
+
* @param {*} [options] Override http request option.
|
|
2221
|
+
* @throws {RequiredError}
|
|
2222
|
+
*/
|
|
2223
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone: (body: PassportAuthEnterpriseChangePhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2224
|
+
/**
|
|
2225
|
+
*
|
|
2226
|
+
* @summary 请求删除用户
|
|
2227
|
+
* @param {PassportAuthEnterpriseDeleteRequest} body
|
|
2228
|
+
* @param {*} [options] Override http request option.
|
|
2229
|
+
* @throws {RequiredError}
|
|
2230
|
+
*/
|
|
2231
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseDelete: (body: PassportAuthEnterpriseDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2232
|
+
/**
|
|
2233
|
+
*
|
|
2234
|
+
* @summary 获取当前会话信息
|
|
2235
|
+
* @param {*} [options] Override http request option.
|
|
2236
|
+
* @throws {RequiredError}
|
|
2237
|
+
*/
|
|
2238
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2239
|
+
/**
|
|
2240
|
+
*
|
|
2241
|
+
* @summary 获取用户信息
|
|
2242
|
+
* @param {*} [options] Override http request option.
|
|
2243
|
+
* @throws {RequiredError}
|
|
2244
|
+
*/
|
|
2245
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2246
|
+
/**
|
|
2247
|
+
*
|
|
2248
|
+
* @summary 获取当前用户的所有会话列表
|
|
2249
|
+
* @param {*} [options] Override http request option.
|
|
2250
|
+
* @throws {RequiredError}
|
|
2251
|
+
*/
|
|
2252
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseListSessions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2253
|
+
/**
|
|
2254
|
+
*
|
|
2255
|
+
* @summary 上传企业认证材料
|
|
2256
|
+
* @param {PassportAuthEnterpriseMaterialUploadRequest} body
|
|
2257
|
+
* @param {*} [options] Override http request option.
|
|
2258
|
+
* @throws {RequiredError}
|
|
2259
|
+
*/
|
|
2260
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload: (body: PassportAuthEnterpriseMaterialUploadRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2261
|
+
/**
|
|
2262
|
+
*
|
|
2263
|
+
* @summary 获取企业认证材料审核状态
|
|
2264
|
+
* @param {object} body
|
|
2265
|
+
* @param {*} [options] Override http request option.
|
|
2266
|
+
* @throws {RequiredError}
|
|
2267
|
+
*/
|
|
2268
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2269
|
+
/**
|
|
2270
|
+
*
|
|
2271
|
+
* @summary 会话 token 刷新
|
|
2272
|
+
* @param {PassportAuthEnterpriseRefreshTokenRequest} body
|
|
2273
|
+
* @param {*} [options] Override http request option.
|
|
2274
|
+
* @throws {RequiredError}
|
|
2275
|
+
*/
|
|
2276
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken: (body: PassportAuthEnterpriseRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2277
|
+
/**
|
|
2278
|
+
*
|
|
2279
|
+
* @summary 已登录用户重置密码
|
|
2280
|
+
* @param {PassportAuthEnterpriseResetPasswordRequest} body
|
|
2281
|
+
* @param {*} [options] Override http request option.
|
|
2282
|
+
* @throws {RequiredError}
|
|
2283
|
+
*/
|
|
2284
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword: (body: PassportAuthEnterpriseResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2285
|
+
/**
|
|
2286
|
+
*
|
|
2287
|
+
* @summary 注销其他会话
|
|
2288
|
+
* @param {object} body
|
|
2289
|
+
* @param {*} [options] Override http request option.
|
|
2290
|
+
* @throws {RequiredError}
|
|
2291
|
+
*/
|
|
2292
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2293
|
+
/**
|
|
2294
|
+
*
|
|
2295
|
+
* @summary 注销指定会话
|
|
2296
|
+
* @param {PassportAuthEnterpriseRevokeSessionRequest} body
|
|
2297
|
+
* @param {*} [options] Override http request option.
|
|
2298
|
+
* @throws {RequiredError}
|
|
2299
|
+
*/
|
|
2300
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession: (body: PassportAuthEnterpriseRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2301
|
+
/**
|
|
2302
|
+
*
|
|
2303
|
+
* @summary 注销所有会话
|
|
2304
|
+
* @param {object} body
|
|
2305
|
+
* @param {*} [options] Override http request option.
|
|
2306
|
+
* @throws {RequiredError}
|
|
2307
|
+
*/
|
|
2308
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2309
|
+
/**
|
|
2310
|
+
*
|
|
2311
|
+
* @summary 用户登出
|
|
2312
|
+
* @param {PassportAuthEnterpriseSignOutRequest} body
|
|
2313
|
+
* @param {*} [options] Override http request option.
|
|
2314
|
+
* @throws {RequiredError}
|
|
2315
|
+
*/
|
|
2316
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseSignOut: (body: PassportAuthEnterpriseSignOutRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2317
|
+
/**
|
|
2318
|
+
*
|
|
2319
|
+
* @summary 更新用户信息
|
|
2320
|
+
* @param {PassportAuthEnterpriseUpdateInfoRequest} body
|
|
2321
|
+
* @param {*} [options] Override http request option.
|
|
2322
|
+
* @throws {RequiredError}
|
|
2323
|
+
*/
|
|
2324
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo: (body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2325
|
+
/**
|
|
2326
|
+
*
|
|
2327
|
+
* @summary 已登录用户验证邮箱
|
|
2328
|
+
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
2329
|
+
* @param {*} [options] Override http request option.
|
|
2330
|
+
* @throws {RequiredError}
|
|
2331
|
+
*/
|
|
2332
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail: (body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2333
|
+
/**
|
|
2334
|
+
*
|
|
2335
|
+
* @summary 已登录用户验证手机号
|
|
2336
|
+
* @param {string} [phone]
|
|
2337
|
+
* @param {string} [verifyCode]
|
|
2338
|
+
* @param {*} [options] Override http request option.
|
|
2339
|
+
* @throws {RequiredError}
|
|
2340
|
+
*/
|
|
2341
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone: (phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2342
|
+
/**
|
|
2343
|
+
*
|
|
2344
|
+
* @summary 登录/注册流程中发送验证码
|
|
2345
|
+
* @param {PassportEnterpriseSendVerificationEmailRequest} body
|
|
2346
|
+
* @param {*} [options] Override http request option.
|
|
2347
|
+
* @throws {RequiredError}
|
|
2348
|
+
*/
|
|
2349
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail: (body: PassportEnterpriseSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2350
|
+
/**
|
|
2351
|
+
*
|
|
2352
|
+
* @summary 登录/注册流程中发送验证码
|
|
2353
|
+
* @param {PassportEnterpriseSendVerificationPhoneRequest} body
|
|
2354
|
+
* @param {*} [options] Override http request option.
|
|
2355
|
+
* @throws {RequiredError}
|
|
2356
|
+
*/
|
|
2357
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone: (body: PassportEnterpriseSendVerificationPhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2358
|
+
/**
|
|
2359
|
+
*
|
|
2360
|
+
* @summary 邮箱登录
|
|
2361
|
+
* @param {PassportEnterpriseSignInEmailRequest} body
|
|
2362
|
+
* @param {*} [options] Override http request option.
|
|
2363
|
+
* @throws {RequiredError}
|
|
2364
|
+
*/
|
|
2365
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInEmail: (body: PassportEnterpriseSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2366
|
+
/**
|
|
2367
|
+
*
|
|
2368
|
+
* @summary 手机登录
|
|
2369
|
+
* @param {PassportEnterpriseSignInPhoneRequest} body
|
|
2370
|
+
* @param {*} [options] Override http request option.
|
|
2371
|
+
* @throws {RequiredError}
|
|
2372
|
+
*/
|
|
2373
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInPhone: (body: PassportEnterpriseSignInPhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2374
|
+
/**
|
|
2375
|
+
*
|
|
2376
|
+
* @summary 邮箱注册
|
|
2377
|
+
* @param {PassportEnterpriseSignUpEmailRequest} body
|
|
2378
|
+
* @param {*} [options] Override http request option.
|
|
2379
|
+
* @throws {RequiredError}
|
|
2380
|
+
*/
|
|
2381
|
+
passportAuthEnterpriseServicePassportEnterpriseSignUpEmail: (body: PassportEnterpriseSignUpEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2382
|
+
};
|
|
2383
|
+
/**
|
|
2384
|
+
* PassportAuthEnterpriseServiceApi - functional programming interface
|
|
2385
|
+
*/
|
|
2386
|
+
export declare const PassportAuthEnterpriseServiceApiFp: (configuration?: Configuration) => {
|
|
2387
|
+
/**
|
|
2388
|
+
*
|
|
2389
|
+
* @summary 已登录用户修改密码
|
|
2390
|
+
* @param {PassportAuthEnterpriseChangePasswordRequest} body
|
|
2391
|
+
* @param {*} [options] Override http request option.
|
|
2392
|
+
* @throws {RequiredError}
|
|
2393
|
+
*/
|
|
2394
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword(body: PassportAuthEnterpriseChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseChangePasswordResponse>>;
|
|
2395
|
+
/**
|
|
2396
|
+
*
|
|
2397
|
+
* @summary 已登录用户更换手机号
|
|
2398
|
+
* @param {PassportAuthEnterpriseChangePhoneRequest} body
|
|
2399
|
+
* @param {*} [options] Override http request option.
|
|
2400
|
+
* @throws {RequiredError}
|
|
2401
|
+
*/
|
|
2402
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone(body: PassportAuthEnterpriseChangePhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseChangePhoneResponse>>;
|
|
2403
|
+
/**
|
|
2404
|
+
*
|
|
2405
|
+
* @summary 请求删除用户
|
|
2406
|
+
* @param {PassportAuthEnterpriseDeleteRequest} body
|
|
2407
|
+
* @param {*} [options] Override http request option.
|
|
2408
|
+
* @throws {RequiredError}
|
|
2409
|
+
*/
|
|
2410
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseDelete(body: PassportAuthEnterpriseDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseDeleteResponse>>;
|
|
2411
|
+
/**
|
|
2412
|
+
*
|
|
2413
|
+
* @summary 获取当前会话信息
|
|
2414
|
+
* @param {*} [options] Override http request option.
|
|
2415
|
+
* @throws {RequiredError}
|
|
2416
|
+
*/
|
|
2417
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseGetSessionResponse>>;
|
|
2418
|
+
/**
|
|
2419
|
+
*
|
|
2420
|
+
* @summary 获取用户信息
|
|
2421
|
+
* @param {*} [options] Override http request option.
|
|
2422
|
+
* @throws {RequiredError}
|
|
2423
|
+
*/
|
|
2424
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseInfoGetResponse>>;
|
|
2425
|
+
/**
|
|
2426
|
+
*
|
|
2427
|
+
* @summary 获取当前用户的所有会话列表
|
|
2428
|
+
* @param {*} [options] Override http request option.
|
|
2429
|
+
* @throws {RequiredError}
|
|
2430
|
+
*/
|
|
2431
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseListSessions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseListSessionsResponse>>;
|
|
2432
|
+
/**
|
|
2433
|
+
*
|
|
2434
|
+
* @summary 上传企业认证材料
|
|
2435
|
+
* @param {PassportAuthEnterpriseMaterialUploadRequest} body
|
|
2436
|
+
* @param {*} [options] Override http request option.
|
|
2437
|
+
* @throws {RequiredError}
|
|
2438
|
+
*/
|
|
2439
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload(body: PassportAuthEnterpriseMaterialUploadRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseMaterialUploadResponse>>;
|
|
2440
|
+
/**
|
|
2441
|
+
*
|
|
2442
|
+
* @summary 获取企业认证材料审核状态
|
|
2443
|
+
* @param {object} body
|
|
2444
|
+
* @param {*} [options] Override http request option.
|
|
2445
|
+
* @throws {RequiredError}
|
|
2446
|
+
*/
|
|
2447
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseMaterialVerifyStateResponse>>;
|
|
2448
|
+
/**
|
|
2449
|
+
*
|
|
2450
|
+
* @summary 会话 token 刷新
|
|
2451
|
+
* @param {PassportAuthEnterpriseRefreshTokenRequest} body
|
|
2452
|
+
* @param {*} [options] Override http request option.
|
|
2453
|
+
* @throws {RequiredError}
|
|
2454
|
+
*/
|
|
2455
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken(body: PassportAuthEnterpriseRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseRefreshTokenResponse>>;
|
|
2456
|
+
/**
|
|
2457
|
+
*
|
|
2458
|
+
* @summary 已登录用户重置密码
|
|
2459
|
+
* @param {PassportAuthEnterpriseResetPasswordRequest} body
|
|
2460
|
+
* @param {*} [options] Override http request option.
|
|
2461
|
+
* @throws {RequiredError}
|
|
2462
|
+
*/
|
|
2463
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword(body: PassportAuthEnterpriseResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseResetPasswordResponse>>;
|
|
2464
|
+
/**
|
|
2465
|
+
*
|
|
2466
|
+
* @summary 注销其他会话
|
|
2467
|
+
* @param {object} body
|
|
2468
|
+
* @param {*} [options] Override http request option.
|
|
2469
|
+
* @throws {RequiredError}
|
|
2470
|
+
*/
|
|
2471
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseRevokeOtherSessionsResponse>>;
|
|
2472
|
+
/**
|
|
2473
|
+
*
|
|
2474
|
+
* @summary 注销指定会话
|
|
2475
|
+
* @param {PassportAuthEnterpriseRevokeSessionRequest} body
|
|
2476
|
+
* @param {*} [options] Override http request option.
|
|
2477
|
+
* @throws {RequiredError}
|
|
2478
|
+
*/
|
|
2479
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession(body: PassportAuthEnterpriseRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseRevokeSessionResponse>>;
|
|
2480
|
+
/**
|
|
2481
|
+
*
|
|
2482
|
+
* @summary 注销所有会话
|
|
2483
|
+
* @param {object} body
|
|
2484
|
+
* @param {*} [options] Override http request option.
|
|
2485
|
+
* @throws {RequiredError}
|
|
2486
|
+
*/
|
|
2487
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseRevokeSessionsResponse>>;
|
|
2488
|
+
/**
|
|
2489
|
+
*
|
|
2490
|
+
* @summary 用户登出
|
|
2491
|
+
* @param {PassportAuthEnterpriseSignOutRequest} body
|
|
2492
|
+
* @param {*} [options] Override http request option.
|
|
2493
|
+
* @throws {RequiredError}
|
|
2494
|
+
*/
|
|
2495
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseSignOut(body: PassportAuthEnterpriseSignOutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseSignOutResponse>>;
|
|
2496
|
+
/**
|
|
2497
|
+
*
|
|
2498
|
+
* @summary 更新用户信息
|
|
2499
|
+
* @param {PassportAuthEnterpriseUpdateInfoRequest} body
|
|
2500
|
+
* @param {*} [options] Override http request option.
|
|
2501
|
+
* @throws {RequiredError}
|
|
2502
|
+
*/
|
|
2503
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseUpdateInfoResponse>>;
|
|
2504
|
+
/**
|
|
2505
|
+
*
|
|
2506
|
+
* @summary 已登录用户验证邮箱
|
|
2507
|
+
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
2508
|
+
* @param {*} [options] Override http request option.
|
|
2509
|
+
* @throws {RequiredError}
|
|
2510
|
+
*/
|
|
2511
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseVerifyEmailResponse>>;
|
|
2512
|
+
/**
|
|
2513
|
+
*
|
|
2514
|
+
* @summary 已登录用户验证手机号
|
|
2515
|
+
* @param {string} [phone]
|
|
2516
|
+
* @param {string} [verifyCode]
|
|
2517
|
+
* @param {*} [options] Override http request option.
|
|
2518
|
+
* @throws {RequiredError}
|
|
2519
|
+
*/
|
|
2520
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthEnterpriseVerifyPhoneResponse>>;
|
|
2521
|
+
/**
|
|
2522
|
+
*
|
|
2523
|
+
* @summary 登录/注册流程中发送验证码
|
|
2524
|
+
* @param {PassportEnterpriseSendVerificationEmailRequest} body
|
|
2525
|
+
* @param {*} [options] Override http request option.
|
|
2526
|
+
* @throws {RequiredError}
|
|
2527
|
+
*/
|
|
2528
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail(body: PassportEnterpriseSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportEnterpriseSendVerificationEmailResponse>>;
|
|
2529
|
+
/**
|
|
2530
|
+
*
|
|
2531
|
+
* @summary 登录/注册流程中发送验证码
|
|
2532
|
+
* @param {PassportEnterpriseSendVerificationPhoneRequest} body
|
|
2533
|
+
* @param {*} [options] Override http request option.
|
|
2534
|
+
* @throws {RequiredError}
|
|
2535
|
+
*/
|
|
2536
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone(body: PassportEnterpriseSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportEnterpriseSendVerificationPhoneResponse>>;
|
|
2537
|
+
/**
|
|
2538
|
+
*
|
|
2539
|
+
* @summary 邮箱登录
|
|
2540
|
+
* @param {PassportEnterpriseSignInEmailRequest} body
|
|
2541
|
+
* @param {*} [options] Override http request option.
|
|
2542
|
+
* @throws {RequiredError}
|
|
2543
|
+
*/
|
|
2544
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInEmail(body: PassportEnterpriseSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportEnterpriseSignInEmailResponse>>;
|
|
2545
|
+
/**
|
|
2546
|
+
*
|
|
2547
|
+
* @summary 手机登录
|
|
2548
|
+
* @param {PassportEnterpriseSignInPhoneRequest} body
|
|
2549
|
+
* @param {*} [options] Override http request option.
|
|
2550
|
+
* @throws {RequiredError}
|
|
2551
|
+
*/
|
|
2552
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInPhone(body: PassportEnterpriseSignInPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportEnterpriseSignInPhoneResponse>>;
|
|
2553
|
+
/**
|
|
2554
|
+
*
|
|
2555
|
+
* @summary 邮箱注册
|
|
2556
|
+
* @param {PassportEnterpriseSignUpEmailRequest} body
|
|
2557
|
+
* @param {*} [options] Override http request option.
|
|
2558
|
+
* @throws {RequiredError}
|
|
2559
|
+
*/
|
|
2560
|
+
passportAuthEnterpriseServicePassportEnterpriseSignUpEmail(body: PassportEnterpriseSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportEnterpriseSignUpEmailResponse>>;
|
|
2561
|
+
};
|
|
2562
|
+
/**
|
|
2563
|
+
* PassportAuthEnterpriseServiceApi - factory interface
|
|
2564
|
+
*/
|
|
2565
|
+
export declare const PassportAuthEnterpriseServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2566
|
+
/**
|
|
2567
|
+
*
|
|
2568
|
+
* @summary 已登录用户修改密码
|
|
2569
|
+
* @param {PassportAuthEnterpriseChangePasswordRequest} body
|
|
2570
|
+
* @param {*} [options] Override http request option.
|
|
2571
|
+
* @throws {RequiredError}
|
|
2572
|
+
*/
|
|
2573
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword(body: PassportAuthEnterpriseChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseChangePasswordResponse>;
|
|
2574
|
+
/**
|
|
2575
|
+
*
|
|
2576
|
+
* @summary 已登录用户更换手机号
|
|
2577
|
+
* @param {PassportAuthEnterpriseChangePhoneRequest} body
|
|
2578
|
+
* @param {*} [options] Override http request option.
|
|
2579
|
+
* @throws {RequiredError}
|
|
2580
|
+
*/
|
|
2581
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone(body: PassportAuthEnterpriseChangePhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseChangePhoneResponse>;
|
|
2582
|
+
/**
|
|
2583
|
+
*
|
|
2584
|
+
* @summary 请求删除用户
|
|
2585
|
+
* @param {PassportAuthEnterpriseDeleteRequest} body
|
|
2586
|
+
* @param {*} [options] Override http request option.
|
|
2587
|
+
* @throws {RequiredError}
|
|
2588
|
+
*/
|
|
2589
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseDelete(body: PassportAuthEnterpriseDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseDeleteResponse>;
|
|
2590
|
+
/**
|
|
2591
|
+
*
|
|
2592
|
+
* @summary 获取当前会话信息
|
|
2593
|
+
* @param {*} [options] Override http request option.
|
|
2594
|
+
* @throws {RequiredError}
|
|
2595
|
+
*/
|
|
2596
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseGetSession(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseGetSessionResponse>;
|
|
2597
|
+
/**
|
|
2598
|
+
*
|
|
2599
|
+
* @summary 获取用户信息
|
|
2600
|
+
* @param {*} [options] Override http request option.
|
|
2601
|
+
* @throws {RequiredError}
|
|
2602
|
+
*/
|
|
2603
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseInfoGetResponse>;
|
|
2604
|
+
/**
|
|
2605
|
+
*
|
|
2606
|
+
* @summary 获取当前用户的所有会话列表
|
|
2607
|
+
* @param {*} [options] Override http request option.
|
|
2608
|
+
* @throws {RequiredError}
|
|
2609
|
+
*/
|
|
2610
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseListSessions(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseListSessionsResponse>;
|
|
2611
|
+
/**
|
|
2612
|
+
*
|
|
2613
|
+
* @summary 上传企业认证材料
|
|
2614
|
+
* @param {PassportAuthEnterpriseMaterialUploadRequest} body
|
|
2615
|
+
* @param {*} [options] Override http request option.
|
|
2616
|
+
* @throws {RequiredError}
|
|
2617
|
+
*/
|
|
2618
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload(body: PassportAuthEnterpriseMaterialUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialUploadResponse>;
|
|
2619
|
+
/**
|
|
2620
|
+
*
|
|
2621
|
+
* @summary 获取企业认证材料审核状态
|
|
2622
|
+
* @param {object} body
|
|
2623
|
+
* @param {*} [options] Override http request option.
|
|
2624
|
+
* @throws {RequiredError}
|
|
2625
|
+
*/
|
|
2626
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialVerifyStateResponse>;
|
|
2627
|
+
/**
|
|
2628
|
+
*
|
|
2629
|
+
* @summary 会话 token 刷新
|
|
2630
|
+
* @param {PassportAuthEnterpriseRefreshTokenRequest} body
|
|
2631
|
+
* @param {*} [options] Override http request option.
|
|
2632
|
+
* @throws {RequiredError}
|
|
2633
|
+
*/
|
|
2634
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken(body: PassportAuthEnterpriseRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseRefreshTokenResponse>;
|
|
2635
|
+
/**
|
|
2636
|
+
*
|
|
2637
|
+
* @summary 已登录用户重置密码
|
|
2638
|
+
* @param {PassportAuthEnterpriseResetPasswordRequest} body
|
|
2639
|
+
* @param {*} [options] Override http request option.
|
|
2640
|
+
* @throws {RequiredError}
|
|
2641
|
+
*/
|
|
2642
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword(body: PassportAuthEnterpriseResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseResetPasswordResponse>;
|
|
2643
|
+
/**
|
|
2644
|
+
*
|
|
2645
|
+
* @summary 注销其他会话
|
|
2646
|
+
* @param {object} body
|
|
2647
|
+
* @param {*} [options] Override http request option.
|
|
2648
|
+
* @throws {RequiredError}
|
|
2649
|
+
*/
|
|
2650
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseRevokeOtherSessionsResponse>;
|
|
2651
|
+
/**
|
|
2652
|
+
*
|
|
2653
|
+
* @summary 注销指定会话
|
|
2654
|
+
* @param {PassportAuthEnterpriseRevokeSessionRequest} body
|
|
2655
|
+
* @param {*} [options] Override http request option.
|
|
2656
|
+
* @throws {RequiredError}
|
|
2657
|
+
*/
|
|
2658
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession(body: PassportAuthEnterpriseRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseRevokeSessionResponse>;
|
|
2659
|
+
/**
|
|
2660
|
+
*
|
|
2661
|
+
* @summary 注销所有会话
|
|
2662
|
+
* @param {object} body
|
|
2663
|
+
* @param {*} [options] Override http request option.
|
|
2664
|
+
* @throws {RequiredError}
|
|
2665
|
+
*/
|
|
2666
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseRevokeSessionsResponse>;
|
|
2667
|
+
/**
|
|
2668
|
+
*
|
|
2669
|
+
* @summary 用户登出
|
|
2670
|
+
* @param {PassportAuthEnterpriseSignOutRequest} body
|
|
2671
|
+
* @param {*} [options] Override http request option.
|
|
2672
|
+
* @throws {RequiredError}
|
|
2673
|
+
*/
|
|
2674
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseSignOut(body: PassportAuthEnterpriseSignOutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseSignOutResponse>;
|
|
2675
|
+
/**
|
|
2676
|
+
*
|
|
2677
|
+
* @summary 更新用户信息
|
|
2678
|
+
* @param {PassportAuthEnterpriseUpdateInfoRequest} body
|
|
2679
|
+
* @param {*} [options] Override http request option.
|
|
2680
|
+
* @throws {RequiredError}
|
|
2681
|
+
*/
|
|
2682
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseUpdateInfoResponse>;
|
|
2683
|
+
/**
|
|
2684
|
+
*
|
|
2685
|
+
* @summary 已登录用户验证邮箱
|
|
2686
|
+
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
2687
|
+
* @param {*} [options] Override http request option.
|
|
2688
|
+
* @throws {RequiredError}
|
|
2689
|
+
*/
|
|
2690
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseVerifyEmailResponse>;
|
|
2691
|
+
/**
|
|
2692
|
+
*
|
|
2693
|
+
* @summary 已登录用户验证手机号
|
|
2694
|
+
* @param {string} [phone]
|
|
2695
|
+
* @param {string} [verifyCode]
|
|
2696
|
+
* @param {*} [options] Override http request option.
|
|
2697
|
+
* @throws {RequiredError}
|
|
2698
|
+
*/
|
|
2699
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseVerifyPhoneResponse>;
|
|
2700
|
+
/**
|
|
2701
|
+
*
|
|
2702
|
+
* @summary 登录/注册流程中发送验证码
|
|
2703
|
+
* @param {PassportEnterpriseSendVerificationEmailRequest} body
|
|
2704
|
+
* @param {*} [options] Override http request option.
|
|
2705
|
+
* @throws {RequiredError}
|
|
2706
|
+
*/
|
|
2707
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail(body: PassportEnterpriseSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSendVerificationEmailResponse>;
|
|
2708
|
+
/**
|
|
2709
|
+
*
|
|
2710
|
+
* @summary 登录/注册流程中发送验证码
|
|
2711
|
+
* @param {PassportEnterpriseSendVerificationPhoneRequest} body
|
|
2712
|
+
* @param {*} [options] Override http request option.
|
|
2713
|
+
* @throws {RequiredError}
|
|
2714
|
+
*/
|
|
2715
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone(body: PassportEnterpriseSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSendVerificationPhoneResponse>;
|
|
2716
|
+
/**
|
|
2717
|
+
*
|
|
2718
|
+
* @summary 邮箱登录
|
|
2719
|
+
* @param {PassportEnterpriseSignInEmailRequest} body
|
|
2720
|
+
* @param {*} [options] Override http request option.
|
|
2721
|
+
* @throws {RequiredError}
|
|
2722
|
+
*/
|
|
2723
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInEmail(body: PassportEnterpriseSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSignInEmailResponse>;
|
|
2724
|
+
/**
|
|
2725
|
+
*
|
|
2726
|
+
* @summary 手机登录
|
|
2727
|
+
* @param {PassportEnterpriseSignInPhoneRequest} body
|
|
2728
|
+
* @param {*} [options] Override http request option.
|
|
2729
|
+
* @throws {RequiredError}
|
|
2730
|
+
*/
|
|
2731
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInPhone(body: PassportEnterpriseSignInPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSignInPhoneResponse>;
|
|
2732
|
+
/**
|
|
2733
|
+
*
|
|
2734
|
+
* @summary 邮箱注册
|
|
2735
|
+
* @param {PassportEnterpriseSignUpEmailRequest} body
|
|
2736
|
+
* @param {*} [options] Override http request option.
|
|
2737
|
+
* @throws {RequiredError}
|
|
2738
|
+
*/
|
|
2739
|
+
passportAuthEnterpriseServicePassportEnterpriseSignUpEmail(body: PassportEnterpriseSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSignUpEmailResponse>;
|
|
2740
|
+
};
|
|
2741
|
+
/**
|
|
2742
|
+
* PassportAuthEnterpriseServiceApi - interface
|
|
2743
|
+
*/
|
|
2744
|
+
export interface PassportAuthEnterpriseServiceApiInterface {
|
|
2745
|
+
/**
|
|
2746
|
+
*
|
|
2747
|
+
* @summary 已登录用户修改密码
|
|
2748
|
+
* @param {PassportAuthEnterpriseChangePasswordRequest} body
|
|
2749
|
+
* @param {*} [options] Override http request option.
|
|
2750
|
+
* @throws {RequiredError}
|
|
2751
|
+
*/
|
|
2752
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword(body: PassportAuthEnterpriseChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseChangePasswordResponse>;
|
|
2753
|
+
/**
|
|
2754
|
+
*
|
|
2755
|
+
* @summary 已登录用户更换手机号
|
|
2756
|
+
* @param {PassportAuthEnterpriseChangePhoneRequest} body
|
|
2757
|
+
* @param {*} [options] Override http request option.
|
|
2758
|
+
* @throws {RequiredError}
|
|
2759
|
+
*/
|
|
2760
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone(body: PassportAuthEnterpriseChangePhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseChangePhoneResponse>;
|
|
2761
|
+
/**
|
|
2762
|
+
*
|
|
2763
|
+
* @summary 请求删除用户
|
|
2764
|
+
* @param {PassportAuthEnterpriseDeleteRequest} body
|
|
2765
|
+
* @param {*} [options] Override http request option.
|
|
2766
|
+
* @throws {RequiredError}
|
|
2767
|
+
*/
|
|
2768
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseDelete(body: PassportAuthEnterpriseDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseDeleteResponse>;
|
|
2769
|
+
/**
|
|
2770
|
+
*
|
|
2771
|
+
* @summary 获取当前会话信息
|
|
2772
|
+
* @param {*} [options] Override http request option.
|
|
2773
|
+
* @throws {RequiredError}
|
|
2774
|
+
*/
|
|
2775
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseGetSession(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseGetSessionResponse>;
|
|
2776
|
+
/**
|
|
2777
|
+
*
|
|
2778
|
+
* @summary 获取用户信息
|
|
2779
|
+
* @param {*} [options] Override http request option.
|
|
2780
|
+
* @throws {RequiredError}
|
|
2781
|
+
*/
|
|
2782
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseInfoGetResponse>;
|
|
2783
|
+
/**
|
|
2784
|
+
*
|
|
2785
|
+
* @summary 获取当前用户的所有会话列表
|
|
2786
|
+
* @param {*} [options] Override http request option.
|
|
2787
|
+
* @throws {RequiredError}
|
|
2788
|
+
*/
|
|
2789
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseListSessions(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseListSessionsResponse>;
|
|
2790
|
+
/**
|
|
2791
|
+
*
|
|
2792
|
+
* @summary 上传企业认证材料
|
|
2793
|
+
* @param {PassportAuthEnterpriseMaterialUploadRequest} body
|
|
2794
|
+
* @param {*} [options] Override http request option.
|
|
2795
|
+
* @throws {RequiredError}
|
|
2796
|
+
*/
|
|
2797
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload(body: PassportAuthEnterpriseMaterialUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialUploadResponse>;
|
|
2798
|
+
/**
|
|
2799
|
+
*
|
|
2800
|
+
* @summary 获取企业认证材料审核状态
|
|
2801
|
+
* @param {object} body
|
|
2802
|
+
* @param {*} [options] Override http request option.
|
|
2803
|
+
* @throws {RequiredError}
|
|
2804
|
+
*/
|
|
2805
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseMaterialVerifyStateResponse>;
|
|
2806
|
+
/**
|
|
2807
|
+
*
|
|
2808
|
+
* @summary 会话 token 刷新
|
|
2809
|
+
* @param {PassportAuthEnterpriseRefreshTokenRequest} body
|
|
2810
|
+
* @param {*} [options] Override http request option.
|
|
2811
|
+
* @throws {RequiredError}
|
|
2812
|
+
*/
|
|
2813
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken(body: PassportAuthEnterpriseRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseRefreshTokenResponse>;
|
|
2814
|
+
/**
|
|
2815
|
+
*
|
|
2816
|
+
* @summary 已登录用户重置密码
|
|
2817
|
+
* @param {PassportAuthEnterpriseResetPasswordRequest} body
|
|
2818
|
+
* @param {*} [options] Override http request option.
|
|
2819
|
+
* @throws {RequiredError}
|
|
2820
|
+
*/
|
|
2821
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword(body: PassportAuthEnterpriseResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseResetPasswordResponse>;
|
|
2822
|
+
/**
|
|
2823
|
+
*
|
|
2824
|
+
* @summary 注销其他会话
|
|
2825
|
+
* @param {object} body
|
|
2826
|
+
* @param {*} [options] Override http request option.
|
|
2827
|
+
* @throws {RequiredError}
|
|
2828
|
+
*/
|
|
2829
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseRevokeOtherSessionsResponse>;
|
|
2830
|
+
/**
|
|
2831
|
+
*
|
|
2832
|
+
* @summary 注销指定会话
|
|
2833
|
+
* @param {PassportAuthEnterpriseRevokeSessionRequest} body
|
|
2834
|
+
* @param {*} [options] Override http request option.
|
|
2835
|
+
* @throws {RequiredError}
|
|
2836
|
+
*/
|
|
2837
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession(body: PassportAuthEnterpriseRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseRevokeSessionResponse>;
|
|
2838
|
+
/**
|
|
2839
|
+
*
|
|
2840
|
+
* @summary 注销所有会话
|
|
2841
|
+
* @param {object} body
|
|
2842
|
+
* @param {*} [options] Override http request option.
|
|
2843
|
+
* @throws {RequiredError}
|
|
2844
|
+
*/
|
|
2845
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions(body: object, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseRevokeSessionsResponse>;
|
|
2846
|
+
/**
|
|
2847
|
+
*
|
|
2848
|
+
* @summary 用户登出
|
|
2849
|
+
* @param {PassportAuthEnterpriseSignOutRequest} body
|
|
2850
|
+
* @param {*} [options] Override http request option.
|
|
2851
|
+
* @throws {RequiredError}
|
|
2852
|
+
*/
|
|
2853
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseSignOut(body: PassportAuthEnterpriseSignOutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseSignOutResponse>;
|
|
2854
|
+
/**
|
|
2855
|
+
*
|
|
2856
|
+
* @summary 更新用户信息
|
|
2857
|
+
* @param {PassportAuthEnterpriseUpdateInfoRequest} body
|
|
2858
|
+
* @param {*} [options] Override http request option.
|
|
2859
|
+
* @throws {RequiredError}
|
|
2860
|
+
*/
|
|
2861
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseUpdateInfoResponse>;
|
|
2862
|
+
/**
|
|
2863
|
+
*
|
|
2864
|
+
* @summary 已登录用户验证邮箱
|
|
2865
|
+
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
2866
|
+
* @param {*} [options] Override http request option.
|
|
2867
|
+
* @throws {RequiredError}
|
|
2868
|
+
*/
|
|
2869
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseVerifyEmailResponse>;
|
|
2870
|
+
/**
|
|
2871
|
+
*
|
|
2872
|
+
* @summary 已登录用户验证手机号
|
|
2873
|
+
* @param {string} [phone]
|
|
2874
|
+
* @param {string} [verifyCode]
|
|
2875
|
+
* @param {*} [options] Override http request option.
|
|
2876
|
+
* @throws {RequiredError}
|
|
2877
|
+
*/
|
|
2878
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthEnterpriseVerifyPhoneResponse>;
|
|
2879
|
+
/**
|
|
2880
|
+
*
|
|
2881
|
+
* @summary 登录/注册流程中发送验证码
|
|
2882
|
+
* @param {PassportEnterpriseSendVerificationEmailRequest} body
|
|
2883
|
+
* @param {*} [options] Override http request option.
|
|
2884
|
+
* @throws {RequiredError}
|
|
2885
|
+
*/
|
|
2886
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail(body: PassportEnterpriseSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSendVerificationEmailResponse>;
|
|
2887
|
+
/**
|
|
2888
|
+
*
|
|
2889
|
+
* @summary 登录/注册流程中发送验证码
|
|
2890
|
+
* @param {PassportEnterpriseSendVerificationPhoneRequest} body
|
|
2891
|
+
* @param {*} [options] Override http request option.
|
|
2892
|
+
* @throws {RequiredError}
|
|
2893
|
+
*/
|
|
2894
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone(body: PassportEnterpriseSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSendVerificationPhoneResponse>;
|
|
2895
|
+
/**
|
|
2896
|
+
*
|
|
2897
|
+
* @summary 邮箱登录
|
|
2898
|
+
* @param {PassportEnterpriseSignInEmailRequest} body
|
|
2899
|
+
* @param {*} [options] Override http request option.
|
|
2900
|
+
* @throws {RequiredError}
|
|
2901
|
+
*/
|
|
2902
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInEmail(body: PassportEnterpriseSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSignInEmailResponse>;
|
|
2903
|
+
/**
|
|
2904
|
+
*
|
|
2905
|
+
* @summary 手机登录
|
|
2906
|
+
* @param {PassportEnterpriseSignInPhoneRequest} body
|
|
2907
|
+
* @param {*} [options] Override http request option.
|
|
2908
|
+
* @throws {RequiredError}
|
|
2909
|
+
*/
|
|
2910
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInPhone(body: PassportEnterpriseSignInPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSignInPhoneResponse>;
|
|
2911
|
+
/**
|
|
2912
|
+
*
|
|
2913
|
+
* @summary 邮箱注册
|
|
2914
|
+
* @param {PassportEnterpriseSignUpEmailRequest} body
|
|
2915
|
+
* @param {*} [options] Override http request option.
|
|
2916
|
+
* @throws {RequiredError}
|
|
2917
|
+
*/
|
|
2918
|
+
passportAuthEnterpriseServicePassportEnterpriseSignUpEmail(body: PassportEnterpriseSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportEnterpriseSignUpEmailResponse>;
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
* PassportAuthEnterpriseServiceApi - object-oriented interface
|
|
2922
|
+
*/
|
|
2923
|
+
export declare class PassportAuthEnterpriseServiceApi extends BaseAPI implements PassportAuthEnterpriseServiceApiInterface {
|
|
2924
|
+
/**
|
|
2925
|
+
*
|
|
2926
|
+
* @summary 已登录用户修改密码
|
|
2927
|
+
* @param {PassportAuthEnterpriseChangePasswordRequest} body
|
|
2928
|
+
* @param {*} [options] Override http request option.
|
|
2929
|
+
* @throws {RequiredError}
|
|
2930
|
+
*/
|
|
2931
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword(body: PassportAuthEnterpriseChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseChangePasswordResponse, any, {}>>;
|
|
2932
|
+
/**
|
|
2933
|
+
*
|
|
2934
|
+
* @summary 已登录用户更换手机号
|
|
2935
|
+
* @param {PassportAuthEnterpriseChangePhoneRequest} body
|
|
2936
|
+
* @param {*} [options] Override http request option.
|
|
2937
|
+
* @throws {RequiredError}
|
|
2938
|
+
*/
|
|
2939
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone(body: PassportAuthEnterpriseChangePhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseChangePhoneResponse, any, {}>>;
|
|
2940
|
+
/**
|
|
2941
|
+
*
|
|
2942
|
+
* @summary 请求删除用户
|
|
2943
|
+
* @param {PassportAuthEnterpriseDeleteRequest} body
|
|
2944
|
+
* @param {*} [options] Override http request option.
|
|
2945
|
+
* @throws {RequiredError}
|
|
2946
|
+
*/
|
|
2947
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseDelete(body: PassportAuthEnterpriseDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseDeleteResponse, any, {}>>;
|
|
2948
|
+
/**
|
|
2949
|
+
*
|
|
2950
|
+
* @summary 获取当前会话信息
|
|
2951
|
+
* @param {*} [options] Override http request option.
|
|
2952
|
+
* @throws {RequiredError}
|
|
2953
|
+
*/
|
|
2954
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseGetSessionResponse, any, {}>>;
|
|
2955
|
+
/**
|
|
2956
|
+
*
|
|
2957
|
+
* @summary 获取用户信息
|
|
2958
|
+
* @param {*} [options] Override http request option.
|
|
2959
|
+
* @throws {RequiredError}
|
|
2960
|
+
*/
|
|
2961
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseInfoGetResponse, any, {}>>;
|
|
2962
|
+
/**
|
|
2963
|
+
*
|
|
2964
|
+
* @summary 获取当前用户的所有会话列表
|
|
2965
|
+
* @param {*} [options] Override http request option.
|
|
2966
|
+
* @throws {RequiredError}
|
|
2967
|
+
*/
|
|
2968
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseListSessions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseListSessionsResponse, any, {}>>;
|
|
2969
|
+
/**
|
|
2970
|
+
*
|
|
2971
|
+
* @summary 上传企业认证材料
|
|
2972
|
+
* @param {PassportAuthEnterpriseMaterialUploadRequest} body
|
|
2973
|
+
* @param {*} [options] Override http request option.
|
|
2974
|
+
* @throws {RequiredError}
|
|
2975
|
+
*/
|
|
2976
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload(body: PassportAuthEnterpriseMaterialUploadRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseMaterialUploadResponse, any, {}>>;
|
|
2977
|
+
/**
|
|
2978
|
+
*
|
|
2979
|
+
* @summary 获取企业认证材料审核状态
|
|
2980
|
+
* @param {object} body
|
|
2981
|
+
* @param {*} [options] Override http request option.
|
|
2982
|
+
* @throws {RequiredError}
|
|
2983
|
+
*/
|
|
2984
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseMaterialVerifyStateResponse, any, {}>>;
|
|
2985
|
+
/**
|
|
2986
|
+
*
|
|
2987
|
+
* @summary 会话 token 刷新
|
|
2988
|
+
* @param {PassportAuthEnterpriseRefreshTokenRequest} body
|
|
2989
|
+
* @param {*} [options] Override http request option.
|
|
2990
|
+
* @throws {RequiredError}
|
|
2991
|
+
*/
|
|
2992
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken(body: PassportAuthEnterpriseRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseRefreshTokenResponse, any, {}>>;
|
|
2993
|
+
/**
|
|
2994
|
+
*
|
|
2995
|
+
* @summary 已登录用户重置密码
|
|
2996
|
+
* @param {PassportAuthEnterpriseResetPasswordRequest} body
|
|
2997
|
+
* @param {*} [options] Override http request option.
|
|
2998
|
+
* @throws {RequiredError}
|
|
2999
|
+
*/
|
|
3000
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword(body: PassportAuthEnterpriseResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseResetPasswordResponse, any, {}>>;
|
|
3001
|
+
/**
|
|
3002
|
+
*
|
|
3003
|
+
* @summary 注销其他会话
|
|
3004
|
+
* @param {object} body
|
|
3005
|
+
* @param {*} [options] Override http request option.
|
|
3006
|
+
* @throws {RequiredError}
|
|
3007
|
+
*/
|
|
3008
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseRevokeOtherSessionsResponse, any, {}>>;
|
|
3009
|
+
/**
|
|
3010
|
+
*
|
|
3011
|
+
* @summary 注销指定会话
|
|
3012
|
+
* @param {PassportAuthEnterpriseRevokeSessionRequest} body
|
|
3013
|
+
* @param {*} [options] Override http request option.
|
|
3014
|
+
* @throws {RequiredError}
|
|
3015
|
+
*/
|
|
3016
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession(body: PassportAuthEnterpriseRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseRevokeSessionResponse, any, {}>>;
|
|
3017
|
+
/**
|
|
3018
|
+
*
|
|
3019
|
+
* @summary 注销所有会话
|
|
3020
|
+
* @param {object} body
|
|
3021
|
+
* @param {*} [options] Override http request option.
|
|
3022
|
+
* @throws {RequiredError}
|
|
3023
|
+
*/
|
|
3024
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseRevokeSessionsResponse, any, {}>>;
|
|
3025
|
+
/**
|
|
3026
|
+
*
|
|
3027
|
+
* @summary 用户登出
|
|
3028
|
+
* @param {PassportAuthEnterpriseSignOutRequest} body
|
|
3029
|
+
* @param {*} [options] Override http request option.
|
|
3030
|
+
* @throws {RequiredError}
|
|
3031
|
+
*/
|
|
3032
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseSignOut(body: PassportAuthEnterpriseSignOutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseSignOutResponse, any, {}>>;
|
|
3033
|
+
/**
|
|
3034
|
+
*
|
|
3035
|
+
* @summary 更新用户信息
|
|
3036
|
+
* @param {PassportAuthEnterpriseUpdateInfoRequest} body
|
|
3037
|
+
* @param {*} [options] Override http request option.
|
|
3038
|
+
* @throws {RequiredError}
|
|
3039
|
+
*/
|
|
3040
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(body: PassportAuthEnterpriseUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseUpdateInfoResponse, any, {}>>;
|
|
3041
|
+
/**
|
|
3042
|
+
*
|
|
3043
|
+
* @summary 已登录用户验证邮箱
|
|
3044
|
+
* @param {PassportAuthEnterpriseVerifyEmailRequest} body
|
|
3045
|
+
* @param {*} [options] Override http request option.
|
|
3046
|
+
* @throws {RequiredError}
|
|
3047
|
+
*/
|
|
3048
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(body: PassportAuthEnterpriseVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseVerifyEmailResponse, any, {}>>;
|
|
3049
|
+
/**
|
|
3050
|
+
*
|
|
3051
|
+
* @summary 已登录用户验证手机号
|
|
3052
|
+
* @param {string} [phone]
|
|
3053
|
+
* @param {string} [verifyCode]
|
|
3054
|
+
* @param {*} [options] Override http request option.
|
|
3055
|
+
* @throws {RequiredError}
|
|
3056
|
+
*/
|
|
3057
|
+
passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(phone?: string, verifyCode?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthEnterpriseVerifyPhoneResponse, any, {}>>;
|
|
3058
|
+
/**
|
|
3059
|
+
*
|
|
3060
|
+
* @summary 登录/注册流程中发送验证码
|
|
3061
|
+
* @param {PassportEnterpriseSendVerificationEmailRequest} body
|
|
3062
|
+
* @param {*} [options] Override http request option.
|
|
3063
|
+
* @throws {RequiredError}
|
|
3064
|
+
*/
|
|
3065
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail(body: PassportEnterpriseSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportEnterpriseSendVerificationEmailResponse, any, {}>>;
|
|
3066
|
+
/**
|
|
3067
|
+
*
|
|
3068
|
+
* @summary 登录/注册流程中发送验证码
|
|
3069
|
+
* @param {PassportEnterpriseSendVerificationPhoneRequest} body
|
|
3070
|
+
* @param {*} [options] Override http request option.
|
|
3071
|
+
* @throws {RequiredError}
|
|
3072
|
+
*/
|
|
3073
|
+
passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone(body: PassportEnterpriseSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportEnterpriseSendVerificationPhoneResponse, any, {}>>;
|
|
3074
|
+
/**
|
|
3075
|
+
*
|
|
3076
|
+
* @summary 邮箱登录
|
|
3077
|
+
* @param {PassportEnterpriseSignInEmailRequest} body
|
|
3078
|
+
* @param {*} [options] Override http request option.
|
|
3079
|
+
* @throws {RequiredError}
|
|
3080
|
+
*/
|
|
3081
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInEmail(body: PassportEnterpriseSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportEnterpriseSignInEmailResponse, any, {}>>;
|
|
3082
|
+
/**
|
|
3083
|
+
*
|
|
3084
|
+
* @summary 手机登录
|
|
3085
|
+
* @param {PassportEnterpriseSignInPhoneRequest} body
|
|
3086
|
+
* @param {*} [options] Override http request option.
|
|
3087
|
+
* @throws {RequiredError}
|
|
3088
|
+
*/
|
|
3089
|
+
passportAuthEnterpriseServicePassportEnterpriseSignInPhone(body: PassportEnterpriseSignInPhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportEnterpriseSignInPhoneResponse, any, {}>>;
|
|
3090
|
+
/**
|
|
3091
|
+
*
|
|
3092
|
+
* @summary 邮箱注册
|
|
3093
|
+
* @param {PassportEnterpriseSignUpEmailRequest} body
|
|
3094
|
+
* @param {*} [options] Override http request option.
|
|
3095
|
+
* @throws {RequiredError}
|
|
3096
|
+
*/
|
|
3097
|
+
passportAuthEnterpriseServicePassportEnterpriseSignUpEmail(body: PassportEnterpriseSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportEnterpriseSignUpEmailResponse, any, {}>>;
|
|
3098
|
+
}
|
|
3099
|
+
/**
|
|
3100
|
+
* PassportAuthUserRPCServiceApi - axios parameter creator
|
|
3101
|
+
*/
|
|
3102
|
+
export declare const PassportAuthUserRPCServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3103
|
+
/**
|
|
3104
|
+
*
|
|
3105
|
+
* @summary 批量获取用户信息
|
|
3106
|
+
* @param {PassportUserInfoBatchGetRequest} body
|
|
3107
|
+
* @param {*} [options] Override http request option.
|
|
3108
|
+
* @throws {RequiredError}
|
|
3109
|
+
*/
|
|
3110
|
+
passportAuthUserRPCServicePassportUserInfoBatchGet: (body: PassportUserInfoBatchGetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3111
|
+
/**
|
|
3112
|
+
*
|
|
3113
|
+
* @summary 获取用户信息
|
|
3114
|
+
* @param {PassportUserInfoGetRequest} body
|
|
3115
|
+
* @param {*} [options] Override http request option.
|
|
3116
|
+
* @throws {RequiredError}
|
|
3117
|
+
*/
|
|
3118
|
+
passportAuthUserRPCServicePassportUserInfoGet: (body: PassportUserInfoGetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3119
|
+
/**
|
|
3120
|
+
*
|
|
3121
|
+
* @summary Token 鉴权 - User
|
|
3122
|
+
* @param {PassportUserTokenAuthRequest} body
|
|
3123
|
+
* @param {*} [options] Override http request option.
|
|
3124
|
+
* @throws {RequiredError}
|
|
3125
|
+
*/
|
|
3126
|
+
passportAuthUserRPCServicePassportUserTokenAuth: (body: PassportUserTokenAuthRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3127
|
+
/**
|
|
3128
|
+
*
|
|
3129
|
+
* @summary 更新用户信息
|
|
3130
|
+
* @param {PassportUserUpdateInfoRequest} body
|
|
3131
|
+
* @param {*} [options] Override http request option.
|
|
3132
|
+
* @throws {RequiredError}
|
|
3133
|
+
*/
|
|
3134
|
+
passportAuthUserRPCServicePassportUserUpdateInfo: (body: PassportUserUpdateInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3135
|
+
};
|
|
3136
|
+
/**
|
|
3137
|
+
* PassportAuthUserRPCServiceApi - functional programming interface
|
|
3138
|
+
*/
|
|
3139
|
+
export declare const PassportAuthUserRPCServiceApiFp: (configuration?: Configuration) => {
|
|
3140
|
+
/**
|
|
3141
|
+
*
|
|
3142
|
+
* @summary 批量获取用户信息
|
|
3143
|
+
* @param {PassportUserInfoBatchGetRequest} body
|
|
3144
|
+
* @param {*} [options] Override http request option.
|
|
3145
|
+
* @throws {RequiredError}
|
|
3146
|
+
*/
|
|
3147
|
+
passportAuthUserRPCServicePassportUserInfoBatchGet(body: PassportUserInfoBatchGetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserInfoBatchGetResponse>>;
|
|
3148
|
+
/**
|
|
3149
|
+
*
|
|
3150
|
+
* @summary 获取用户信息
|
|
3151
|
+
* @param {PassportUserInfoGetRequest} body
|
|
3152
|
+
* @param {*} [options] Override http request option.
|
|
3153
|
+
* @throws {RequiredError}
|
|
3154
|
+
*/
|
|
3155
|
+
passportAuthUserRPCServicePassportUserInfoGet(body: PassportUserInfoGetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserInfoGetResponse>>;
|
|
3156
|
+
/**
|
|
3157
|
+
*
|
|
3158
|
+
* @summary Token 鉴权 - User
|
|
3159
|
+
* @param {PassportUserTokenAuthRequest} body
|
|
3160
|
+
* @param {*} [options] Override http request option.
|
|
3161
|
+
* @throws {RequiredError}
|
|
3162
|
+
*/
|
|
3163
|
+
passportAuthUserRPCServicePassportUserTokenAuth(body: PassportUserTokenAuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserTokenAuthResponse>>;
|
|
3164
|
+
/**
|
|
3165
|
+
*
|
|
3166
|
+
* @summary 更新用户信息
|
|
3167
|
+
* @param {PassportUserUpdateInfoRequest} body
|
|
3168
|
+
* @param {*} [options] Override http request option.
|
|
3169
|
+
* @throws {RequiredError}
|
|
3170
|
+
*/
|
|
3171
|
+
passportAuthUserRPCServicePassportUserUpdateInfo(body: PassportUserUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserUpdateInfoResponse>>;
|
|
3172
|
+
};
|
|
3173
|
+
/**
|
|
3174
|
+
* PassportAuthUserRPCServiceApi - factory interface
|
|
3175
|
+
*/
|
|
3176
|
+
export declare const PassportAuthUserRPCServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3177
|
+
/**
|
|
3178
|
+
*
|
|
3179
|
+
* @summary 批量获取用户信息
|
|
3180
|
+
* @param {PassportUserInfoBatchGetRequest} body
|
|
3181
|
+
* @param {*} [options] Override http request option.
|
|
3182
|
+
* @throws {RequiredError}
|
|
3183
|
+
*/
|
|
3184
|
+
passportAuthUserRPCServicePassportUserInfoBatchGet(body: PassportUserInfoBatchGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserInfoBatchGetResponse>;
|
|
3185
|
+
/**
|
|
3186
|
+
*
|
|
3187
|
+
* @summary 获取用户信息
|
|
3188
|
+
* @param {PassportUserInfoGetRequest} body
|
|
3189
|
+
* @param {*} [options] Override http request option.
|
|
3190
|
+
* @throws {RequiredError}
|
|
3191
|
+
*/
|
|
3192
|
+
passportAuthUserRPCServicePassportUserInfoGet(body: PassportUserInfoGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserInfoGetResponse>;
|
|
3193
|
+
/**
|
|
3194
|
+
*
|
|
3195
|
+
* @summary Token 鉴权 - User
|
|
3196
|
+
* @param {PassportUserTokenAuthRequest} body
|
|
3197
|
+
* @param {*} [options] Override http request option.
|
|
3198
|
+
* @throws {RequiredError}
|
|
3199
|
+
*/
|
|
3200
|
+
passportAuthUserRPCServicePassportUserTokenAuth(body: PassportUserTokenAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserTokenAuthResponse>;
|
|
3201
|
+
/**
|
|
3202
|
+
*
|
|
3203
|
+
* @summary 更新用户信息
|
|
3204
|
+
* @param {PassportUserUpdateInfoRequest} body
|
|
3205
|
+
* @param {*} [options] Override http request option.
|
|
3206
|
+
* @throws {RequiredError}
|
|
3207
|
+
*/
|
|
3208
|
+
passportAuthUserRPCServicePassportUserUpdateInfo(body: PassportUserUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserUpdateInfoResponse>;
|
|
3209
|
+
};
|
|
3210
|
+
/**
|
|
3211
|
+
* PassportAuthUserRPCServiceApi - interface
|
|
3212
|
+
*/
|
|
3213
|
+
export interface PassportAuthUserRPCServiceApiInterface {
|
|
3214
|
+
/**
|
|
3215
|
+
*
|
|
3216
|
+
* @summary 批量获取用户信息
|
|
3217
|
+
* @param {PassportUserInfoBatchGetRequest} body
|
|
3218
|
+
* @param {*} [options] Override http request option.
|
|
3219
|
+
* @throws {RequiredError}
|
|
3220
|
+
*/
|
|
3221
|
+
passportAuthUserRPCServicePassportUserInfoBatchGet(body: PassportUserInfoBatchGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserInfoBatchGetResponse>;
|
|
3222
|
+
/**
|
|
3223
|
+
*
|
|
3224
|
+
* @summary 获取用户信息
|
|
3225
|
+
* @param {PassportUserInfoGetRequest} body
|
|
3226
|
+
* @param {*} [options] Override http request option.
|
|
3227
|
+
* @throws {RequiredError}
|
|
3228
|
+
*/
|
|
3229
|
+
passportAuthUserRPCServicePassportUserInfoGet(body: PassportUserInfoGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserInfoGetResponse>;
|
|
3230
|
+
/**
|
|
3231
|
+
*
|
|
3232
|
+
* @summary Token 鉴权 - User
|
|
3233
|
+
* @param {PassportUserTokenAuthRequest} body
|
|
3234
|
+
* @param {*} [options] Override http request option.
|
|
3235
|
+
* @throws {RequiredError}
|
|
3236
|
+
*/
|
|
3237
|
+
passportAuthUserRPCServicePassportUserTokenAuth(body: PassportUserTokenAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserTokenAuthResponse>;
|
|
3238
|
+
/**
|
|
3239
|
+
*
|
|
3240
|
+
* @summary 更新用户信息
|
|
3241
|
+
* @param {PassportUserUpdateInfoRequest} body
|
|
3242
|
+
* @param {*} [options] Override http request option.
|
|
3243
|
+
* @throws {RequiredError}
|
|
3244
|
+
*/
|
|
3245
|
+
passportAuthUserRPCServicePassportUserUpdateInfo(body: PassportUserUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserUpdateInfoResponse>;
|
|
3246
|
+
}
|
|
3247
|
+
/**
|
|
3248
|
+
* PassportAuthUserRPCServiceApi - object-oriented interface
|
|
3249
|
+
*/
|
|
3250
|
+
export declare class PassportAuthUserRPCServiceApi extends BaseAPI implements PassportAuthUserRPCServiceApiInterface {
|
|
3251
|
+
/**
|
|
3252
|
+
*
|
|
3253
|
+
* @summary 批量获取用户信息
|
|
3254
|
+
* @param {PassportUserInfoBatchGetRequest} body
|
|
3255
|
+
* @param {*} [options] Override http request option.
|
|
3256
|
+
* @throws {RequiredError}
|
|
3257
|
+
*/
|
|
3258
|
+
passportAuthUserRPCServicePassportUserInfoBatchGet(body: PassportUserInfoBatchGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserInfoBatchGetResponse, any, {}>>;
|
|
3259
|
+
/**
|
|
3260
|
+
*
|
|
3261
|
+
* @summary 获取用户信息
|
|
3262
|
+
* @param {PassportUserInfoGetRequest} body
|
|
3263
|
+
* @param {*} [options] Override http request option.
|
|
3264
|
+
* @throws {RequiredError}
|
|
3265
|
+
*/
|
|
3266
|
+
passportAuthUserRPCServicePassportUserInfoGet(body: PassportUserInfoGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserInfoGetResponse, any, {}>>;
|
|
3267
|
+
/**
|
|
3268
|
+
*
|
|
3269
|
+
* @summary Token 鉴权 - User
|
|
3270
|
+
* @param {PassportUserTokenAuthRequest} body
|
|
3271
|
+
* @param {*} [options] Override http request option.
|
|
3272
|
+
* @throws {RequiredError}
|
|
3273
|
+
*/
|
|
3274
|
+
passportAuthUserRPCServicePassportUserTokenAuth(body: PassportUserTokenAuthRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserTokenAuthResponse, any, {}>>;
|
|
3275
|
+
/**
|
|
3276
|
+
*
|
|
3277
|
+
* @summary 更新用户信息
|
|
3278
|
+
* @param {PassportUserUpdateInfoRequest} body
|
|
3279
|
+
* @param {*} [options] Override http request option.
|
|
3280
|
+
* @throws {RequiredError}
|
|
3281
|
+
*/
|
|
3282
|
+
passportAuthUserRPCServicePassportUserUpdateInfo(body: PassportUserUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserUpdateInfoResponse, any, {}>>;
|
|
3283
|
+
}
|
|
3284
|
+
/**
|
|
3285
|
+
* PassportAuthUserServiceApi - axios parameter creator
|
|
3286
|
+
*/
|
|
3287
|
+
export declare const PassportAuthUserServiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3288
|
+
/**
|
|
3289
|
+
*
|
|
3290
|
+
* @summary 已登录用户修改密码
|
|
3291
|
+
* @param {PassportAuthChangePasswordRequest} body
|
|
3292
|
+
* @param {*} [options] Override http request option.
|
|
3293
|
+
* @throws {RequiredError}
|
|
3294
|
+
*/
|
|
3295
|
+
passportAuthUserServicePassportAuthChangePassword: (body: PassportAuthChangePasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3296
|
+
/**
|
|
3297
|
+
*
|
|
3298
|
+
* @summary 删除通行证及所有关联用户
|
|
3299
|
+
* @param {PassportAuthDeleteAllRequest} body
|
|
3300
|
+
* @param {*} [options] Override http request option.
|
|
3301
|
+
* @throws {RequiredError}
|
|
3302
|
+
*/
|
|
3303
|
+
passportAuthUserServicePassportAuthDeleteAll: (body: PassportAuthDeleteAllRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3304
|
+
/**
|
|
3305
|
+
*
|
|
3306
|
+
* @summary 获取通行证及用户信息
|
|
3307
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表, 如果不指定则获取所有应用的用户信息
|
|
3308
|
+
* @param {*} [options] Override http request option.
|
|
3309
|
+
* @throws {RequiredError}
|
|
3310
|
+
*/
|
|
3311
|
+
passportAuthUserServicePassportAuthInfoGet: (appIds?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3312
|
+
/**
|
|
3313
|
+
*
|
|
3314
|
+
* @summary 已登录用户关联社交账号
|
|
3315
|
+
* @param {PassportAuthLinkSocialRequest} body
|
|
3316
|
+
* @param {*} [options] Override http request option.
|
|
3317
|
+
* @throws {RequiredError}
|
|
3318
|
+
*/
|
|
3319
|
+
passportAuthUserServicePassportAuthLinkSocial: (body: PassportAuthLinkSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3320
|
+
/**
|
|
3321
|
+
*
|
|
3322
|
+
* @summary 列出已关联的认证方法(包含 邮箱/社交账号等)
|
|
3323
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
3324
|
+
* @param {*} [options] Override http request option.
|
|
3325
|
+
* @throws {RequiredError}
|
|
3326
|
+
*/
|
|
3327
|
+
passportAuthUserServicePassportAuthListMethods: (appIds?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3328
|
+
/**
|
|
3329
|
+
*
|
|
3330
|
+
* @summary 获取当前用户的所有会话列表
|
|
3331
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
3332
|
+
* @param {*} [options] Override http request option.
|
|
3333
|
+
* @throws {RequiredError}
|
|
3334
|
+
*/
|
|
3335
|
+
passportAuthUserServicePassportAuthListSessions: (appIds?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3336
|
+
/**
|
|
3337
|
+
*
|
|
3338
|
+
* @summary 列出已关联的认证方法(列出社交账号)
|
|
3339
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
3340
|
+
* @param {*} [options] Override http request option.
|
|
3341
|
+
* @throws {RequiredError}
|
|
3342
|
+
*/
|
|
3343
|
+
passportAuthUserServicePassportAuthListSocials: (appIds?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3344
|
+
/**
|
|
3345
|
+
*
|
|
3346
|
+
* @summary 会话 token 刷新
|
|
3347
|
+
* @param {PassportAuthRefreshSessionTokenRequest} body
|
|
3348
|
+
* @param {*} [options] Override http request option.
|
|
3349
|
+
* @throws {RequiredError}
|
|
3350
|
+
*/
|
|
3351
|
+
passportAuthUserServicePassportAuthRefreshSessionToken: (body: PassportAuthRefreshSessionTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3352
|
+
/**
|
|
3353
|
+
*
|
|
3354
|
+
* @summary 已登录用户重置密码
|
|
3355
|
+
* @param {PassportAuthResetPasswordRequest} body
|
|
3356
|
+
* @param {*} [options] Override http request option.
|
|
3357
|
+
* @throws {RequiredError}
|
|
3358
|
+
*/
|
|
3359
|
+
passportAuthUserServicePassportAuthResetPassword: (body: PassportAuthResetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3360
|
+
/**
|
|
3361
|
+
*
|
|
3362
|
+
* @summary 注销其他会话
|
|
3363
|
+
* @param {PassportAuthRevokeOtherSessionsRequest} body
|
|
3364
|
+
* @param {*} [options] Override http request option.
|
|
3365
|
+
* @throws {RequiredError}
|
|
3366
|
+
*/
|
|
3367
|
+
passportAuthUserServicePassportAuthRevokeOtherSessions: (body: PassportAuthRevokeOtherSessionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3368
|
+
/**
|
|
3369
|
+
*
|
|
3370
|
+
* @summary 注销指定会话
|
|
3371
|
+
* @param {PassportAuthRevokeSessionRequest} body
|
|
3372
|
+
* @param {*} [options] Override http request option.
|
|
3373
|
+
* @throws {RequiredError}
|
|
3374
|
+
*/
|
|
3375
|
+
passportAuthUserServicePassportAuthRevokeSession: (body: PassportAuthRevokeSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3376
|
+
/**
|
|
3377
|
+
*
|
|
3378
|
+
* @summary 注销所有会话
|
|
3379
|
+
* @param {PassportAuthRevokeSessionsRequest} body
|
|
3380
|
+
* @param {*} [options] Override http request option.
|
|
3381
|
+
* @throws {RequiredError}
|
|
3382
|
+
*/
|
|
3383
|
+
passportAuthUserServicePassportAuthRevokeSessions: (body: PassportAuthRevokeSessionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3384
|
+
/**
|
|
3385
|
+
*
|
|
3386
|
+
* @summary 用户认证后发送验证码
|
|
3387
|
+
* @param {PassportAuthSendVerificationEmailRequest} body
|
|
3388
|
+
* @param {*} [options] Override http request option.
|
|
3389
|
+
* @throws {RequiredError}
|
|
3390
|
+
*/
|
|
3391
|
+
passportAuthUserServicePassportAuthSendVerificationEmail: (body: PassportAuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3392
|
+
/**
|
|
3393
|
+
*
|
|
3394
|
+
* @summary 用户认证后发送验证码
|
|
3395
|
+
* @param {PassportAuthSendVerificationPhoneRequest} body
|
|
3396
|
+
* @param {*} [options] Override http request option.
|
|
3397
|
+
* @throws {RequiredError}
|
|
3398
|
+
*/
|
|
3399
|
+
passportAuthUserServicePassportAuthSendVerificationPhone: (body: PassportAuthSendVerificationPhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3400
|
+
/**
|
|
3401
|
+
*
|
|
3402
|
+
* @summary 获取社交账号访问令牌
|
|
3403
|
+
* @param {PassportAuthSocialGetAccessTokenRequest} body
|
|
3404
|
+
* @param {*} [options] Override http request option.
|
|
3405
|
+
* @throws {RequiredError}
|
|
3406
|
+
*/
|
|
3407
|
+
passportAuthUserServicePassportAuthSocialGetAccessToken: (body: PassportAuthSocialGetAccessTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3408
|
+
/**
|
|
3409
|
+
*
|
|
3410
|
+
* @summary 社交账号刷新 Token
|
|
3411
|
+
* @param {PassportAuthSocialRefreshTokenRequest} body
|
|
3412
|
+
* @param {*} [options] Override http request option.
|
|
3413
|
+
* @throws {RequiredError}
|
|
3414
|
+
*/
|
|
3415
|
+
passportAuthUserServicePassportAuthSocialRefreshToken: (body: PassportAuthSocialRefreshTokenRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3416
|
+
/**
|
|
3417
|
+
*
|
|
3418
|
+
* @summary 已登录用户取消关联社交账号
|
|
3419
|
+
* @param {PassportAuthUnlinkSocialRequest} body
|
|
3420
|
+
* @param {*} [options] Override http request option.
|
|
3421
|
+
* @throws {RequiredError}
|
|
3422
|
+
*/
|
|
3423
|
+
passportAuthUserServicePassportAuthUnlinkSocial: (body: PassportAuthUnlinkSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3424
|
+
/**
|
|
3425
|
+
*
|
|
3426
|
+
* @summary 已登录用户更换邮箱
|
|
3427
|
+
* @param {PassportAuthUserChangeEmailRequest} body
|
|
3428
|
+
* @param {*} [options] Override http request option.
|
|
3429
|
+
* @throws {RequiredError}
|
|
3430
|
+
*/
|
|
3431
|
+
passportAuthUserServicePassportAuthUserChangeEmail: (body: PassportAuthUserChangeEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3432
|
+
/**
|
|
3433
|
+
*
|
|
3434
|
+
* @summary 已登录用户更换手机号
|
|
3435
|
+
* @param {PassportAuthUserChangePhoneRequest} body
|
|
3436
|
+
* @param {*} [options] Override http request option.
|
|
3437
|
+
* @throws {RequiredError}
|
|
3438
|
+
*/
|
|
3439
|
+
passportAuthUserServicePassportAuthUserChangePhone: (body: PassportAuthUserChangePhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3440
|
+
/**
|
|
3441
|
+
*
|
|
3442
|
+
* @summary 请求删除用户
|
|
3443
|
+
* @param {PassportAuthUserDeleteRequest} body
|
|
3444
|
+
* @param {*} [options] Override http request option.
|
|
3445
|
+
* @throws {RequiredError}
|
|
3446
|
+
*/
|
|
3447
|
+
passportAuthUserServicePassportAuthUserDelete: (body: PassportAuthUserDeleteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3448
|
+
/**
|
|
3449
|
+
*
|
|
3450
|
+
* @summary 获取当前会话信息
|
|
3451
|
+
* @param {*} [options] Override http request option.
|
|
3452
|
+
* @throws {RequiredError}
|
|
3453
|
+
*/
|
|
3454
|
+
passportAuthUserServicePassportAuthUserGetSession: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3455
|
+
/**
|
|
3456
|
+
*
|
|
3457
|
+
* @summary 获取用户信息
|
|
3458
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
3459
|
+
* @param {*} [options] Override http request option.
|
|
3460
|
+
* @throws {RequiredError}
|
|
3461
|
+
*/
|
|
3462
|
+
passportAuthUserServicePassportAuthUserInfoGet: (appIds?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3463
|
+
/**
|
|
3464
|
+
*
|
|
3465
|
+
* @summary 用户登出
|
|
3466
|
+
* @param {PassportAuthUserSignOutRequest} body
|
|
3467
|
+
* @param {*} [options] Override http request option.
|
|
3468
|
+
* @throws {RequiredError}
|
|
3469
|
+
*/
|
|
3470
|
+
passportAuthUserServicePassportAuthUserSignOut: (body: PassportAuthUserSignOutRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3471
|
+
/**
|
|
3472
|
+
*
|
|
3473
|
+
* @summary 更新用户信息
|
|
3474
|
+
* @param {PassportAuthUserUpdateInfoRequest} body
|
|
3475
|
+
* @param {*} [options] Override http request option.
|
|
3476
|
+
* @throws {RequiredError}
|
|
3477
|
+
*/
|
|
3478
|
+
passportAuthUserServicePassportAuthUserUpdateInfo: (body: PassportAuthUserUpdateInfoRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3479
|
+
/**
|
|
3480
|
+
*
|
|
3481
|
+
* @summary 更新通行证信息
|
|
3482
|
+
* @param {PassportAuthUserUpdatePassportRequest} body
|
|
3483
|
+
* @param {*} [options] Override http request option.
|
|
3484
|
+
* @throws {RequiredError}
|
|
3485
|
+
*/
|
|
3486
|
+
passportAuthUserServicePassportAuthUserUpdatePassport: (body: PassportAuthUserUpdatePassportRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3487
|
+
/**
|
|
3488
|
+
*
|
|
3489
|
+
* @summary 已登录用户验证邮箱
|
|
3490
|
+
* @param {PassportAuthUserVerifyEmailRequest} body
|
|
3491
|
+
* @param {*} [options] Override http request option.
|
|
3492
|
+
* @throws {RequiredError}
|
|
3493
|
+
*/
|
|
3494
|
+
passportAuthUserServicePassportAuthUserVerifyEmail: (body: PassportAuthUserVerifyEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3495
|
+
/**
|
|
3496
|
+
*
|
|
3497
|
+
* @summary 已登录用户验证手机号
|
|
3498
|
+
* @param {PassportAuthUserVerifyPhoneRequest} body
|
|
3499
|
+
* @param {*} [options] Override http request option.
|
|
3500
|
+
* @throws {RequiredError}
|
|
3501
|
+
*/
|
|
3502
|
+
passportAuthUserServicePassportAuthUserVerifyPhone: (body: PassportAuthUserVerifyPhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3503
|
+
/**
|
|
3504
|
+
*
|
|
3505
|
+
* @summary 登录/注册流程中发送验证码
|
|
3506
|
+
* @param {PassportSendVerificationEmailRequest} body
|
|
3507
|
+
* @param {*} [options] Override http request option.
|
|
3508
|
+
* @throws {RequiredError}
|
|
3509
|
+
*/
|
|
3510
|
+
passportAuthUserServicePassportSendVerificationEmail: (body: PassportSendVerificationEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3511
|
+
/**
|
|
3512
|
+
*
|
|
3513
|
+
* @summary 登录/注册流程中发送验证码
|
|
3514
|
+
* @param {PassportSendVerificationPhoneRequest} body
|
|
3515
|
+
* @param {*} [options] Override http request option.
|
|
3516
|
+
* @throws {RequiredError}
|
|
3517
|
+
*/
|
|
3518
|
+
passportAuthUserServicePassportSendVerificationPhone: (body: PassportSendVerificationPhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3519
|
+
/**
|
|
3520
|
+
*
|
|
3521
|
+
* @summary OAuth 回调处理
|
|
3522
|
+
* @param {string} platform @gotags: form:\"platform\" google/github
|
|
3523
|
+
* @param {string} [appIds] User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
3524
|
+
* @param {string} [code] @gotags: form:\"code\" OAuth 授权码
|
|
3525
|
+
* @param {string} [state] @gotags: form:\"state\" CSRF state
|
|
3526
|
+
* @param {*} [options] Override http request option.
|
|
3527
|
+
* @throws {RequiredError}
|
|
3528
|
+
*/
|
|
3529
|
+
passportAuthUserServicePassportUserOAuthCallback: (platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3530
|
+
/**
|
|
3531
|
+
*
|
|
3532
|
+
* @summary 未登录 - 用户遗忘密码请求重置
|
|
3533
|
+
* @param {PassportUserPasswordForgetRequest} body
|
|
3534
|
+
* @param {*} [options] Override http request option.
|
|
3535
|
+
* @throws {RequiredError}
|
|
3536
|
+
*/
|
|
3537
|
+
passportAuthUserServicePassportUserPasswordForget: (body: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3538
|
+
/**
|
|
3539
|
+
*
|
|
3540
|
+
* @summary 未登录 - 用户重置密码
|
|
3541
|
+
* @param {PassportUserPasswordResetRequest} body
|
|
3542
|
+
* @param {*} [options] Override http request option.
|
|
3543
|
+
* @throws {RequiredError}
|
|
3544
|
+
*/
|
|
3545
|
+
passportAuthUserServicePassportUserPasswordReset: (body: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3546
|
+
/**
|
|
3547
|
+
*
|
|
3548
|
+
* @summary 未登录 - 验证重置密码请求 token
|
|
3549
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} body
|
|
3550
|
+
* @param {*} [options] Override http request option.
|
|
3551
|
+
* @throws {RequiredError}
|
|
3552
|
+
*/
|
|
3553
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify: (body: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3554
|
+
/**
|
|
3555
|
+
*
|
|
3556
|
+
* @summary 邮箱登录
|
|
3557
|
+
* @param {PassportUserSignInEmailRequest} body
|
|
3558
|
+
* @param {*} [options] Override http request option.
|
|
3559
|
+
* @throws {RequiredError}
|
|
3560
|
+
*/
|
|
3561
|
+
passportAuthUserServicePassportUserSignInEmail: (body: PassportUserSignInEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3562
|
+
/**
|
|
3563
|
+
*
|
|
3564
|
+
* @summary 手机登录
|
|
3565
|
+
* @param {PassportUserSignInPhoneRequest} body
|
|
3566
|
+
* @param {*} [options] Override http request option.
|
|
3567
|
+
* @throws {RequiredError}
|
|
3568
|
+
*/
|
|
3569
|
+
passportAuthUserServicePassportUserSignInPhone: (body: PassportUserSignInPhoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3570
|
+
/**
|
|
3571
|
+
*
|
|
3572
|
+
* @summary 社交登录
|
|
3573
|
+
* @param {PassportUserSignInSocialRequest} body
|
|
3574
|
+
* @param {*} [options] Override http request option.
|
|
3575
|
+
* @throws {RequiredError}
|
|
3576
|
+
*/
|
|
3577
|
+
passportAuthUserServicePassportUserSignInSocial: (body: PassportUserSignInSocialRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3578
|
+
/**
|
|
3579
|
+
*
|
|
3580
|
+
* @summary 邮箱注册
|
|
3581
|
+
* @param {PassportUserSignUpEmailRequest} body
|
|
3582
|
+
* @param {*} [options] Override http request option.
|
|
3583
|
+
* @throws {RequiredError}
|
|
3584
|
+
*/
|
|
3585
|
+
passportAuthUserServicePassportUserSignUpEmail: (body: PassportUserSignUpEmailRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3586
|
+
};
|
|
3587
|
+
/**
|
|
3588
|
+
* PassportAuthUserServiceApi - functional programming interface
|
|
3589
|
+
*/
|
|
3590
|
+
export declare const PassportAuthUserServiceApiFp: (configuration?: Configuration) => {
|
|
3591
|
+
/**
|
|
3592
|
+
*
|
|
3593
|
+
* @summary 已登录用户修改密码
|
|
3594
|
+
* @param {PassportAuthChangePasswordRequest} body
|
|
3595
|
+
* @param {*} [options] Override http request option.
|
|
3596
|
+
* @throws {RequiredError}
|
|
3597
|
+
*/
|
|
3598
|
+
passportAuthUserServicePassportAuthChangePassword(body: PassportAuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthChangePasswordResponse>>;
|
|
3599
|
+
/**
|
|
3600
|
+
*
|
|
3601
|
+
* @summary 删除通行证及所有关联用户
|
|
3602
|
+
* @param {PassportAuthDeleteAllRequest} body
|
|
3603
|
+
* @param {*} [options] Override http request option.
|
|
3604
|
+
* @throws {RequiredError}
|
|
3605
|
+
*/
|
|
3606
|
+
passportAuthUserServicePassportAuthDeleteAll(body: PassportAuthDeleteAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthDeleteAllResponse>>;
|
|
3607
|
+
/**
|
|
3608
|
+
*
|
|
3609
|
+
* @summary 获取通行证及用户信息
|
|
3610
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表, 如果不指定则获取所有应用的用户信息
|
|
3611
|
+
* @param {*} [options] Override http request option.
|
|
3612
|
+
* @throws {RequiredError}
|
|
3613
|
+
*/
|
|
3614
|
+
passportAuthUserServicePassportAuthInfoGet(appIds?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthInfoGetResponse>>;
|
|
3615
|
+
/**
|
|
3616
|
+
*
|
|
3617
|
+
* @summary 已登录用户关联社交账号
|
|
3618
|
+
* @param {PassportAuthLinkSocialRequest} body
|
|
3619
|
+
* @param {*} [options] Override http request option.
|
|
3620
|
+
* @throws {RequiredError}
|
|
3621
|
+
*/
|
|
3622
|
+
passportAuthUserServicePassportAuthLinkSocial(body: PassportAuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthLinkSocialResponse>>;
|
|
3623
|
+
/**
|
|
3624
|
+
*
|
|
3625
|
+
* @summary 列出已关联的认证方法(包含 邮箱/社交账号等)
|
|
3626
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
3627
|
+
* @param {*} [options] Override http request option.
|
|
3628
|
+
* @throws {RequiredError}
|
|
3629
|
+
*/
|
|
3630
|
+
passportAuthUserServicePassportAuthListMethods(appIds?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthListMethodsResponse>>;
|
|
3631
|
+
/**
|
|
3632
|
+
*
|
|
3633
|
+
* @summary 获取当前用户的所有会话列表
|
|
3634
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
3635
|
+
* @param {*} [options] Override http request option.
|
|
3636
|
+
* @throws {RequiredError}
|
|
3637
|
+
*/
|
|
3638
|
+
passportAuthUserServicePassportAuthListSessions(appIds?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthListSessionsResponse>>;
|
|
3639
|
+
/**
|
|
3640
|
+
*
|
|
3641
|
+
* @summary 列出已关联的认证方法(列出社交账号)
|
|
3642
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
3643
|
+
* @param {*} [options] Override http request option.
|
|
3644
|
+
* @throws {RequiredError}
|
|
3645
|
+
*/
|
|
3646
|
+
passportAuthUserServicePassportAuthListSocials(appIds?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthListSocialsResponse>>;
|
|
3647
|
+
/**
|
|
3648
|
+
*
|
|
3649
|
+
* @summary 会话 token 刷新
|
|
3650
|
+
* @param {PassportAuthRefreshSessionTokenRequest} body
|
|
3651
|
+
* @param {*} [options] Override http request option.
|
|
3652
|
+
* @throws {RequiredError}
|
|
3653
|
+
*/
|
|
3654
|
+
passportAuthUserServicePassportAuthRefreshSessionToken(body: PassportAuthRefreshSessionTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthRefreshSessionTokenResponse>>;
|
|
3655
|
+
/**
|
|
3656
|
+
*
|
|
3657
|
+
* @summary 已登录用户重置密码
|
|
3658
|
+
* @param {PassportAuthResetPasswordRequest} body
|
|
3659
|
+
* @param {*} [options] Override http request option.
|
|
3660
|
+
* @throws {RequiredError}
|
|
3661
|
+
*/
|
|
3662
|
+
passportAuthUserServicePassportAuthResetPassword(body: PassportAuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthResetPasswordResponse>>;
|
|
3663
|
+
/**
|
|
3664
|
+
*
|
|
3665
|
+
* @summary 注销其他会话
|
|
3666
|
+
* @param {PassportAuthRevokeOtherSessionsRequest} body
|
|
3667
|
+
* @param {*} [options] Override http request option.
|
|
3668
|
+
* @throws {RequiredError}
|
|
3669
|
+
*/
|
|
3670
|
+
passportAuthUserServicePassportAuthRevokeOtherSessions(body: PassportAuthRevokeOtherSessionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthRevokeOtherSessionsResponse>>;
|
|
3671
|
+
/**
|
|
3672
|
+
*
|
|
3673
|
+
* @summary 注销指定会话
|
|
3674
|
+
* @param {PassportAuthRevokeSessionRequest} body
|
|
3675
|
+
* @param {*} [options] Override http request option.
|
|
3676
|
+
* @throws {RequiredError}
|
|
3677
|
+
*/
|
|
3678
|
+
passportAuthUserServicePassportAuthRevokeSession(body: PassportAuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthRevokeSessionResponse>>;
|
|
3679
|
+
/**
|
|
3680
|
+
*
|
|
3681
|
+
* @summary 注销所有会话
|
|
3682
|
+
* @param {PassportAuthRevokeSessionsRequest} body
|
|
3683
|
+
* @param {*} [options] Override http request option.
|
|
3684
|
+
* @throws {RequiredError}
|
|
3685
|
+
*/
|
|
3686
|
+
passportAuthUserServicePassportAuthRevokeSessions(body: PassportAuthRevokeSessionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthRevokeSessionsResponse>>;
|
|
3687
|
+
/**
|
|
3688
|
+
*
|
|
3689
|
+
* @summary 用户认证后发送验证码
|
|
3690
|
+
* @param {PassportAuthSendVerificationEmailRequest} body
|
|
3691
|
+
* @param {*} [options] Override http request option.
|
|
3692
|
+
* @throws {RequiredError}
|
|
3693
|
+
*/
|
|
3694
|
+
passportAuthUserServicePassportAuthSendVerificationEmail(body: PassportAuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthSendVerificationEmailResponse>>;
|
|
3695
|
+
/**
|
|
3696
|
+
*
|
|
3697
|
+
* @summary 用户认证后发送验证码
|
|
3698
|
+
* @param {PassportAuthSendVerificationPhoneRequest} body
|
|
3699
|
+
* @param {*} [options] Override http request option.
|
|
3700
|
+
* @throws {RequiredError}
|
|
3701
|
+
*/
|
|
3702
|
+
passportAuthUserServicePassportAuthSendVerificationPhone(body: PassportAuthSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthSendVerificationPhoneResponse>>;
|
|
3703
|
+
/**
|
|
3704
|
+
*
|
|
3705
|
+
* @summary 获取社交账号访问令牌
|
|
3706
|
+
* @param {PassportAuthSocialGetAccessTokenRequest} body
|
|
3707
|
+
* @param {*} [options] Override http request option.
|
|
3708
|
+
* @throws {RequiredError}
|
|
3709
|
+
*/
|
|
3710
|
+
passportAuthUserServicePassportAuthSocialGetAccessToken(body: PassportAuthSocialGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthSocialGetAccessTokenResponse>>;
|
|
3711
|
+
/**
|
|
3712
|
+
*
|
|
3713
|
+
* @summary 社交账号刷新 Token
|
|
3714
|
+
* @param {PassportAuthSocialRefreshTokenRequest} body
|
|
3715
|
+
* @param {*} [options] Override http request option.
|
|
3716
|
+
* @throws {RequiredError}
|
|
3717
|
+
*/
|
|
3718
|
+
passportAuthUserServicePassportAuthSocialRefreshToken(body: PassportAuthSocialRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthSocialRefreshTokenResponse>>;
|
|
3719
|
+
/**
|
|
3720
|
+
*
|
|
3721
|
+
* @summary 已登录用户取消关联社交账号
|
|
3722
|
+
* @param {PassportAuthUnlinkSocialRequest} body
|
|
3723
|
+
* @param {*} [options] Override http request option.
|
|
3724
|
+
* @throws {RequiredError}
|
|
3725
|
+
*/
|
|
3726
|
+
passportAuthUserServicePassportAuthUnlinkSocial(body: PassportAuthUnlinkSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUnlinkSocialResponse>>;
|
|
3727
|
+
/**
|
|
3728
|
+
*
|
|
3729
|
+
* @summary 已登录用户更换邮箱
|
|
3730
|
+
* @param {PassportAuthUserChangeEmailRequest} body
|
|
3731
|
+
* @param {*} [options] Override http request option.
|
|
3732
|
+
* @throws {RequiredError}
|
|
3733
|
+
*/
|
|
3734
|
+
passportAuthUserServicePassportAuthUserChangeEmail(body: PassportAuthUserChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserChangeEmailResponse>>;
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @summary 已登录用户更换手机号
|
|
3738
|
+
* @param {PassportAuthUserChangePhoneRequest} body
|
|
3739
|
+
* @param {*} [options] Override http request option.
|
|
3740
|
+
* @throws {RequiredError}
|
|
3741
|
+
*/
|
|
3742
|
+
passportAuthUserServicePassportAuthUserChangePhone(body: PassportAuthUserChangePhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserChangePhoneResponse>>;
|
|
3743
|
+
/**
|
|
3744
|
+
*
|
|
3745
|
+
* @summary 请求删除用户
|
|
3746
|
+
* @param {PassportAuthUserDeleteRequest} body
|
|
3747
|
+
* @param {*} [options] Override http request option.
|
|
3748
|
+
* @throws {RequiredError}
|
|
3749
|
+
*/
|
|
3750
|
+
passportAuthUserServicePassportAuthUserDelete(body: PassportAuthUserDeleteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserDeleteResponse>>;
|
|
3751
|
+
/**
|
|
3752
|
+
*
|
|
3753
|
+
* @summary 获取当前会话信息
|
|
3754
|
+
* @param {*} [options] Override http request option.
|
|
3755
|
+
* @throws {RequiredError}
|
|
3756
|
+
*/
|
|
3757
|
+
passportAuthUserServicePassportAuthUserGetSession(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserGetSessionResponse>>;
|
|
3758
|
+
/**
|
|
3759
|
+
*
|
|
3760
|
+
* @summary 获取用户信息
|
|
3761
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
3762
|
+
* @param {*} [options] Override http request option.
|
|
3763
|
+
* @throws {RequiredError}
|
|
3764
|
+
*/
|
|
3765
|
+
passportAuthUserServicePassportAuthUserInfoGet(appIds?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserInfoGetResponse>>;
|
|
3766
|
+
/**
|
|
3767
|
+
*
|
|
3768
|
+
* @summary 用户登出
|
|
3769
|
+
* @param {PassportAuthUserSignOutRequest} body
|
|
3770
|
+
* @param {*} [options] Override http request option.
|
|
3771
|
+
* @throws {RequiredError}
|
|
3772
|
+
*/
|
|
3773
|
+
passportAuthUserServicePassportAuthUserSignOut(body: PassportAuthUserSignOutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserSignOutResponse>>;
|
|
3774
|
+
/**
|
|
3775
|
+
*
|
|
3776
|
+
* @summary 更新用户信息
|
|
3777
|
+
* @param {PassportAuthUserUpdateInfoRequest} body
|
|
3778
|
+
* @param {*} [options] Override http request option.
|
|
3779
|
+
* @throws {RequiredError}
|
|
3780
|
+
*/
|
|
3781
|
+
passportAuthUserServicePassportAuthUserUpdateInfo(body: PassportAuthUserUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserUpdateInfoResponse>>;
|
|
3782
|
+
/**
|
|
3783
|
+
*
|
|
3784
|
+
* @summary 更新通行证信息
|
|
3785
|
+
* @param {PassportAuthUserUpdatePassportRequest} body
|
|
3786
|
+
* @param {*} [options] Override http request option.
|
|
3787
|
+
* @throws {RequiredError}
|
|
3788
|
+
*/
|
|
3789
|
+
passportAuthUserServicePassportAuthUserUpdatePassport(body: PassportAuthUserUpdatePassportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserUpdatePassportResponse>>;
|
|
3790
|
+
/**
|
|
3791
|
+
*
|
|
3792
|
+
* @summary 已登录用户验证邮箱
|
|
3793
|
+
* @param {PassportAuthUserVerifyEmailRequest} body
|
|
3794
|
+
* @param {*} [options] Override http request option.
|
|
3795
|
+
* @throws {RequiredError}
|
|
3796
|
+
*/
|
|
3797
|
+
passportAuthUserServicePassportAuthUserVerifyEmail(body: PassportAuthUserVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserVerifyEmailResponse>>;
|
|
3798
|
+
/**
|
|
3799
|
+
*
|
|
3800
|
+
* @summary 已登录用户验证手机号
|
|
3801
|
+
* @param {PassportAuthUserVerifyPhoneRequest} body
|
|
3802
|
+
* @param {*} [options] Override http request option.
|
|
3803
|
+
* @throws {RequiredError}
|
|
3804
|
+
*/
|
|
3805
|
+
passportAuthUserServicePassportAuthUserVerifyPhone(body: PassportAuthUserVerifyPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportAuthUserVerifyPhoneResponse>>;
|
|
3806
|
+
/**
|
|
3807
|
+
*
|
|
3808
|
+
* @summary 登录/注册流程中发送验证码
|
|
3809
|
+
* @param {PassportSendVerificationEmailRequest} body
|
|
3810
|
+
* @param {*} [options] Override http request option.
|
|
3811
|
+
* @throws {RequiredError}
|
|
3812
|
+
*/
|
|
3813
|
+
passportAuthUserServicePassportSendVerificationEmail(body: PassportSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportSendVerificationEmailResponse>>;
|
|
3814
|
+
/**
|
|
3815
|
+
*
|
|
3816
|
+
* @summary 登录/注册流程中发送验证码
|
|
3817
|
+
* @param {PassportSendVerificationPhoneRequest} body
|
|
3818
|
+
* @param {*} [options] Override http request option.
|
|
3819
|
+
* @throws {RequiredError}
|
|
3820
|
+
*/
|
|
3821
|
+
passportAuthUserServicePassportSendVerificationPhone(body: PassportSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportSendVerificationPhoneResponse>>;
|
|
3822
|
+
/**
|
|
3823
|
+
*
|
|
3824
|
+
* @summary OAuth 回调处理
|
|
3825
|
+
* @param {string} platform @gotags: form:\"platform\" google/github
|
|
3826
|
+
* @param {string} [appIds] User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
3827
|
+
* @param {string} [code] @gotags: form:\"code\" OAuth 授权码
|
|
3828
|
+
* @param {string} [state] @gotags: form:\"state\" CSRF state
|
|
3829
|
+
* @param {*} [options] Override http request option.
|
|
3830
|
+
* @throws {RequiredError}
|
|
3831
|
+
*/
|
|
3832
|
+
passportAuthUserServicePassportUserOAuthCallback(platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserOAuthCallbackResponse>>;
|
|
3833
|
+
/**
|
|
3834
|
+
*
|
|
3835
|
+
* @summary 未登录 - 用户遗忘密码请求重置
|
|
3836
|
+
* @param {PassportUserPasswordForgetRequest} body
|
|
3837
|
+
* @param {*} [options] Override http request option.
|
|
3838
|
+
* @throws {RequiredError}
|
|
3839
|
+
*/
|
|
3840
|
+
passportAuthUserServicePassportUserPasswordForget(body: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserPasswordForgetResponse>>;
|
|
3841
|
+
/**
|
|
3842
|
+
*
|
|
3843
|
+
* @summary 未登录 - 用户重置密码
|
|
3844
|
+
* @param {PassportUserPasswordResetRequest} body
|
|
3845
|
+
* @param {*} [options] Override http request option.
|
|
3846
|
+
* @throws {RequiredError}
|
|
3847
|
+
*/
|
|
3848
|
+
passportAuthUserServicePassportUserPasswordReset(body: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserPasswordResetResponse>>;
|
|
3849
|
+
/**
|
|
3850
|
+
*
|
|
3851
|
+
* @summary 未登录 - 验证重置密码请求 token
|
|
3852
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} body
|
|
3853
|
+
* @param {*} [options] Override http request option.
|
|
3854
|
+
* @throws {RequiredError}
|
|
3855
|
+
*/
|
|
3856
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify(body: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserPasswordResetTokenVerifyResponse>>;
|
|
3857
|
+
/**
|
|
3858
|
+
*
|
|
3859
|
+
* @summary 邮箱登录
|
|
3860
|
+
* @param {PassportUserSignInEmailRequest} body
|
|
3861
|
+
* @param {*} [options] Override http request option.
|
|
3862
|
+
* @throws {RequiredError}
|
|
3863
|
+
*/
|
|
3864
|
+
passportAuthUserServicePassportUserSignInEmail(body: PassportUserSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserSignInEmailResponse>>;
|
|
3865
|
+
/**
|
|
3866
|
+
*
|
|
3867
|
+
* @summary 手机登录
|
|
3868
|
+
* @param {PassportUserSignInPhoneRequest} body
|
|
3869
|
+
* @param {*} [options] Override http request option.
|
|
3870
|
+
* @throws {RequiredError}
|
|
3871
|
+
*/
|
|
3872
|
+
passportAuthUserServicePassportUserSignInPhone(body: PassportUserSignInPhoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserSignInPhoneResponse>>;
|
|
3873
|
+
/**
|
|
3874
|
+
*
|
|
3875
|
+
* @summary 社交登录
|
|
3876
|
+
* @param {PassportUserSignInSocialRequest} body
|
|
3877
|
+
* @param {*} [options] Override http request option.
|
|
3878
|
+
* @throws {RequiredError}
|
|
3879
|
+
*/
|
|
3880
|
+
passportAuthUserServicePassportUserSignInSocial(body: PassportUserSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserSignInSocialResponse>>;
|
|
3881
|
+
/**
|
|
3882
|
+
*
|
|
3883
|
+
* @summary 邮箱注册
|
|
3884
|
+
* @param {PassportUserSignUpEmailRequest} body
|
|
3885
|
+
* @param {*} [options] Override http request option.
|
|
3886
|
+
* @throws {RequiredError}
|
|
3887
|
+
*/
|
|
3888
|
+
passportAuthUserServicePassportUserSignUpEmail(body: PassportUserSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PassportUserSignUpEmailResponse>>;
|
|
3889
|
+
};
|
|
3890
|
+
/**
|
|
3891
|
+
* PassportAuthUserServiceApi - factory interface
|
|
3892
|
+
*/
|
|
3893
|
+
export declare const PassportAuthUserServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3894
|
+
/**
|
|
3895
|
+
*
|
|
3896
|
+
* @summary 已登录用户修改密码
|
|
3897
|
+
* @param {PassportAuthChangePasswordRequest} body
|
|
3898
|
+
* @param {*} [options] Override http request option.
|
|
3899
|
+
* @throws {RequiredError}
|
|
3900
|
+
*/
|
|
3901
|
+
passportAuthUserServicePassportAuthChangePassword(body: PassportAuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthChangePasswordResponse>;
|
|
3902
|
+
/**
|
|
3903
|
+
*
|
|
3904
|
+
* @summary 删除通行证及所有关联用户
|
|
3905
|
+
* @param {PassportAuthDeleteAllRequest} body
|
|
3906
|
+
* @param {*} [options] Override http request option.
|
|
3907
|
+
* @throws {RequiredError}
|
|
3908
|
+
*/
|
|
3909
|
+
passportAuthUserServicePassportAuthDeleteAll(body: PassportAuthDeleteAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthDeleteAllResponse>;
|
|
3910
|
+
/**
|
|
3911
|
+
*
|
|
3912
|
+
* @summary 获取通行证及用户信息
|
|
3913
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表, 如果不指定则获取所有应用的用户信息
|
|
3914
|
+
* @param {*} [options] Override http request option.
|
|
3915
|
+
* @throws {RequiredError}
|
|
3916
|
+
*/
|
|
3917
|
+
passportAuthUserServicePassportAuthInfoGet(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthInfoGetResponse>;
|
|
3918
|
+
/**
|
|
3919
|
+
*
|
|
3920
|
+
* @summary 已登录用户关联社交账号
|
|
3921
|
+
* @param {PassportAuthLinkSocialRequest} body
|
|
3922
|
+
* @param {*} [options] Override http request option.
|
|
3923
|
+
* @throws {RequiredError}
|
|
3924
|
+
*/
|
|
3925
|
+
passportAuthUserServicePassportAuthLinkSocial(body: PassportAuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthLinkSocialResponse>;
|
|
3926
|
+
/**
|
|
3927
|
+
*
|
|
3928
|
+
* @summary 列出已关联的认证方法(包含 邮箱/社交账号等)
|
|
3929
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
3930
|
+
* @param {*} [options] Override http request option.
|
|
3931
|
+
* @throws {RequiredError}
|
|
3932
|
+
*/
|
|
3933
|
+
passportAuthUserServicePassportAuthListMethods(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthListMethodsResponse>;
|
|
3934
|
+
/**
|
|
3935
|
+
*
|
|
3936
|
+
* @summary 获取当前用户的所有会话列表
|
|
3937
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
3938
|
+
* @param {*} [options] Override http request option.
|
|
3939
|
+
* @throws {RequiredError}
|
|
3940
|
+
*/
|
|
3941
|
+
passportAuthUserServicePassportAuthListSessions(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthListSessionsResponse>;
|
|
3942
|
+
/**
|
|
3943
|
+
*
|
|
3944
|
+
* @summary 列出已关联的认证方法(列出社交账号)
|
|
3945
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
3946
|
+
* @param {*} [options] Override http request option.
|
|
3947
|
+
* @throws {RequiredError}
|
|
3948
|
+
*/
|
|
3949
|
+
passportAuthUserServicePassportAuthListSocials(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthListSocialsResponse>;
|
|
3950
|
+
/**
|
|
3951
|
+
*
|
|
3952
|
+
* @summary 会话 token 刷新
|
|
3953
|
+
* @param {PassportAuthRefreshSessionTokenRequest} body
|
|
3954
|
+
* @param {*} [options] Override http request option.
|
|
3955
|
+
* @throws {RequiredError}
|
|
3956
|
+
*/
|
|
3957
|
+
passportAuthUserServicePassportAuthRefreshSessionToken(body: PassportAuthRefreshSessionTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthRefreshSessionTokenResponse>;
|
|
3958
|
+
/**
|
|
3959
|
+
*
|
|
3960
|
+
* @summary 已登录用户重置密码
|
|
3961
|
+
* @param {PassportAuthResetPasswordRequest} body
|
|
3962
|
+
* @param {*} [options] Override http request option.
|
|
3963
|
+
* @throws {RequiredError}
|
|
3964
|
+
*/
|
|
3965
|
+
passportAuthUserServicePassportAuthResetPassword(body: PassportAuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthResetPasswordResponse>;
|
|
3966
|
+
/**
|
|
3967
|
+
*
|
|
3968
|
+
* @summary 注销其他会话
|
|
3969
|
+
* @param {PassportAuthRevokeOtherSessionsRequest} body
|
|
3970
|
+
* @param {*} [options] Override http request option.
|
|
3971
|
+
* @throws {RequiredError}
|
|
3972
|
+
*/
|
|
3973
|
+
passportAuthUserServicePassportAuthRevokeOtherSessions(body: PassportAuthRevokeOtherSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthRevokeOtherSessionsResponse>;
|
|
3974
|
+
/**
|
|
3975
|
+
*
|
|
3976
|
+
* @summary 注销指定会话
|
|
3977
|
+
* @param {PassportAuthRevokeSessionRequest} body
|
|
3978
|
+
* @param {*} [options] Override http request option.
|
|
3979
|
+
* @throws {RequiredError}
|
|
3980
|
+
*/
|
|
3981
|
+
passportAuthUserServicePassportAuthRevokeSession(body: PassportAuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthRevokeSessionResponse>;
|
|
3982
|
+
/**
|
|
3983
|
+
*
|
|
3984
|
+
* @summary 注销所有会话
|
|
3985
|
+
* @param {PassportAuthRevokeSessionsRequest} body
|
|
3986
|
+
* @param {*} [options] Override http request option.
|
|
3987
|
+
* @throws {RequiredError}
|
|
3988
|
+
*/
|
|
3989
|
+
passportAuthUserServicePassportAuthRevokeSessions(body: PassportAuthRevokeSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthRevokeSessionsResponse>;
|
|
3990
|
+
/**
|
|
3991
|
+
*
|
|
3992
|
+
* @summary 用户认证后发送验证码
|
|
3993
|
+
* @param {PassportAuthSendVerificationEmailRequest} body
|
|
3994
|
+
* @param {*} [options] Override http request option.
|
|
3995
|
+
* @throws {RequiredError}
|
|
3996
|
+
*/
|
|
3997
|
+
passportAuthUserServicePassportAuthSendVerificationEmail(body: PassportAuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthSendVerificationEmailResponse>;
|
|
3998
|
+
/**
|
|
3999
|
+
*
|
|
4000
|
+
* @summary 用户认证后发送验证码
|
|
4001
|
+
* @param {PassportAuthSendVerificationPhoneRequest} body
|
|
4002
|
+
* @param {*} [options] Override http request option.
|
|
4003
|
+
* @throws {RequiredError}
|
|
4004
|
+
*/
|
|
4005
|
+
passportAuthUserServicePassportAuthSendVerificationPhone(body: PassportAuthSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthSendVerificationPhoneResponse>;
|
|
4006
|
+
/**
|
|
4007
|
+
*
|
|
4008
|
+
* @summary 获取社交账号访问令牌
|
|
4009
|
+
* @param {PassportAuthSocialGetAccessTokenRequest} body
|
|
4010
|
+
* @param {*} [options] Override http request option.
|
|
4011
|
+
* @throws {RequiredError}
|
|
4012
|
+
*/
|
|
4013
|
+
passportAuthUserServicePassportAuthSocialGetAccessToken(body: PassportAuthSocialGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthSocialGetAccessTokenResponse>;
|
|
4014
|
+
/**
|
|
4015
|
+
*
|
|
4016
|
+
* @summary 社交账号刷新 Token
|
|
4017
|
+
* @param {PassportAuthSocialRefreshTokenRequest} body
|
|
4018
|
+
* @param {*} [options] Override http request option.
|
|
4019
|
+
* @throws {RequiredError}
|
|
4020
|
+
*/
|
|
4021
|
+
passportAuthUserServicePassportAuthSocialRefreshToken(body: PassportAuthSocialRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthSocialRefreshTokenResponse>;
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @summary 已登录用户取消关联社交账号
|
|
4025
|
+
* @param {PassportAuthUnlinkSocialRequest} body
|
|
4026
|
+
* @param {*} [options] Override http request option.
|
|
4027
|
+
* @throws {RequiredError}
|
|
4028
|
+
*/
|
|
4029
|
+
passportAuthUserServicePassportAuthUnlinkSocial(body: PassportAuthUnlinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUnlinkSocialResponse>;
|
|
4030
|
+
/**
|
|
4031
|
+
*
|
|
4032
|
+
* @summary 已登录用户更换邮箱
|
|
4033
|
+
* @param {PassportAuthUserChangeEmailRequest} body
|
|
4034
|
+
* @param {*} [options] Override http request option.
|
|
4035
|
+
* @throws {RequiredError}
|
|
4036
|
+
*/
|
|
4037
|
+
passportAuthUserServicePassportAuthUserChangeEmail(body: PassportAuthUserChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserChangeEmailResponse>;
|
|
4038
|
+
/**
|
|
4039
|
+
*
|
|
4040
|
+
* @summary 已登录用户更换手机号
|
|
4041
|
+
* @param {PassportAuthUserChangePhoneRequest} body
|
|
4042
|
+
* @param {*} [options] Override http request option.
|
|
4043
|
+
* @throws {RequiredError}
|
|
4044
|
+
*/
|
|
4045
|
+
passportAuthUserServicePassportAuthUserChangePhone(body: PassportAuthUserChangePhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserChangePhoneResponse>;
|
|
4046
|
+
/**
|
|
4047
|
+
*
|
|
4048
|
+
* @summary 请求删除用户
|
|
4049
|
+
* @param {PassportAuthUserDeleteRequest} body
|
|
4050
|
+
* @param {*} [options] Override http request option.
|
|
4051
|
+
* @throws {RequiredError}
|
|
4052
|
+
*/
|
|
4053
|
+
passportAuthUserServicePassportAuthUserDelete(body: PassportAuthUserDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserDeleteResponse>;
|
|
4054
|
+
/**
|
|
4055
|
+
*
|
|
4056
|
+
* @summary 获取当前会话信息
|
|
4057
|
+
* @param {*} [options] Override http request option.
|
|
4058
|
+
* @throws {RequiredError}
|
|
4059
|
+
*/
|
|
4060
|
+
passportAuthUserServicePassportAuthUserGetSession(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserGetSessionResponse>;
|
|
4061
|
+
/**
|
|
4062
|
+
*
|
|
4063
|
+
* @summary 获取用户信息
|
|
4064
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
4065
|
+
* @param {*} [options] Override http request option.
|
|
4066
|
+
* @throws {RequiredError}
|
|
4067
|
+
*/
|
|
4068
|
+
passportAuthUserServicePassportAuthUserInfoGet(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserInfoGetResponse>;
|
|
4069
|
+
/**
|
|
4070
|
+
*
|
|
4071
|
+
* @summary 用户登出
|
|
4072
|
+
* @param {PassportAuthUserSignOutRequest} body
|
|
4073
|
+
* @param {*} [options] Override http request option.
|
|
4074
|
+
* @throws {RequiredError}
|
|
4075
|
+
*/
|
|
4076
|
+
passportAuthUserServicePassportAuthUserSignOut(body: PassportAuthUserSignOutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserSignOutResponse>;
|
|
4077
|
+
/**
|
|
4078
|
+
*
|
|
4079
|
+
* @summary 更新用户信息
|
|
4080
|
+
* @param {PassportAuthUserUpdateInfoRequest} body
|
|
4081
|
+
* @param {*} [options] Override http request option.
|
|
4082
|
+
* @throws {RequiredError}
|
|
4083
|
+
*/
|
|
4084
|
+
passportAuthUserServicePassportAuthUserUpdateInfo(body: PassportAuthUserUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserUpdateInfoResponse>;
|
|
4085
|
+
/**
|
|
4086
|
+
*
|
|
4087
|
+
* @summary 更新通行证信息
|
|
4088
|
+
* @param {PassportAuthUserUpdatePassportRequest} body
|
|
4089
|
+
* @param {*} [options] Override http request option.
|
|
4090
|
+
* @throws {RequiredError}
|
|
4091
|
+
*/
|
|
4092
|
+
passportAuthUserServicePassportAuthUserUpdatePassport(body: PassportAuthUserUpdatePassportRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserUpdatePassportResponse>;
|
|
4093
|
+
/**
|
|
4094
|
+
*
|
|
4095
|
+
* @summary 已登录用户验证邮箱
|
|
4096
|
+
* @param {PassportAuthUserVerifyEmailRequest} body
|
|
4097
|
+
* @param {*} [options] Override http request option.
|
|
4098
|
+
* @throws {RequiredError}
|
|
4099
|
+
*/
|
|
4100
|
+
passportAuthUserServicePassportAuthUserVerifyEmail(body: PassportAuthUserVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserVerifyEmailResponse>;
|
|
4101
|
+
/**
|
|
4102
|
+
*
|
|
4103
|
+
* @summary 已登录用户验证手机号
|
|
4104
|
+
* @param {PassportAuthUserVerifyPhoneRequest} body
|
|
4105
|
+
* @param {*} [options] Override http request option.
|
|
4106
|
+
* @throws {RequiredError}
|
|
4107
|
+
*/
|
|
4108
|
+
passportAuthUserServicePassportAuthUserVerifyPhone(body: PassportAuthUserVerifyPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserVerifyPhoneResponse>;
|
|
4109
|
+
/**
|
|
4110
|
+
*
|
|
4111
|
+
* @summary 登录/注册流程中发送验证码
|
|
4112
|
+
* @param {PassportSendVerificationEmailRequest} body
|
|
4113
|
+
* @param {*} [options] Override http request option.
|
|
4114
|
+
* @throws {RequiredError}
|
|
4115
|
+
*/
|
|
4116
|
+
passportAuthUserServicePassportSendVerificationEmail(body: PassportSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportSendVerificationEmailResponse>;
|
|
4117
|
+
/**
|
|
4118
|
+
*
|
|
4119
|
+
* @summary 登录/注册流程中发送验证码
|
|
4120
|
+
* @param {PassportSendVerificationPhoneRequest} body
|
|
4121
|
+
* @param {*} [options] Override http request option.
|
|
4122
|
+
* @throws {RequiredError}
|
|
4123
|
+
*/
|
|
4124
|
+
passportAuthUserServicePassportSendVerificationPhone(body: PassportSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportSendVerificationPhoneResponse>;
|
|
4125
|
+
/**
|
|
4126
|
+
*
|
|
4127
|
+
* @summary OAuth 回调处理
|
|
4128
|
+
* @param {string} platform @gotags: form:\"platform\" google/github
|
|
4129
|
+
* @param {string} [appIds] User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
4130
|
+
* @param {string} [code] @gotags: form:\"code\" OAuth 授权码
|
|
4131
|
+
* @param {string} [state] @gotags: form:\"state\" CSRF state
|
|
4132
|
+
* @param {*} [options] Override http request option.
|
|
4133
|
+
* @throws {RequiredError}
|
|
4134
|
+
*/
|
|
4135
|
+
passportAuthUserServicePassportUserOAuthCallback(platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserOAuthCallbackResponse>;
|
|
4136
|
+
/**
|
|
4137
|
+
*
|
|
4138
|
+
* @summary 未登录 - 用户遗忘密码请求重置
|
|
4139
|
+
* @param {PassportUserPasswordForgetRequest} body
|
|
4140
|
+
* @param {*} [options] Override http request option.
|
|
4141
|
+
* @throws {RequiredError}
|
|
4142
|
+
*/
|
|
4143
|
+
passportAuthUserServicePassportUserPasswordForget(body: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordForgetResponse>;
|
|
4144
|
+
/**
|
|
4145
|
+
*
|
|
4146
|
+
* @summary 未登录 - 用户重置密码
|
|
4147
|
+
* @param {PassportUserPasswordResetRequest} body
|
|
4148
|
+
* @param {*} [options] Override http request option.
|
|
4149
|
+
* @throws {RequiredError}
|
|
4150
|
+
*/
|
|
4151
|
+
passportAuthUserServicePassportUserPasswordReset(body: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordResetResponse>;
|
|
4152
|
+
/**
|
|
4153
|
+
*
|
|
4154
|
+
* @summary 未登录 - 验证重置密码请求 token
|
|
4155
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} body
|
|
4156
|
+
* @param {*} [options] Override http request option.
|
|
4157
|
+
* @throws {RequiredError}
|
|
4158
|
+
*/
|
|
4159
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify(body: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordResetTokenVerifyResponse>;
|
|
4160
|
+
/**
|
|
4161
|
+
*
|
|
4162
|
+
* @summary 邮箱登录
|
|
4163
|
+
* @param {PassportUserSignInEmailRequest} body
|
|
4164
|
+
* @param {*} [options] Override http request option.
|
|
4165
|
+
* @throws {RequiredError}
|
|
4166
|
+
*/
|
|
4167
|
+
passportAuthUserServicePassportUserSignInEmail(body: PassportUserSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserSignInEmailResponse>;
|
|
4168
|
+
/**
|
|
4169
|
+
*
|
|
4170
|
+
* @summary 手机登录
|
|
4171
|
+
* @param {PassportUserSignInPhoneRequest} body
|
|
4172
|
+
* @param {*} [options] Override http request option.
|
|
4173
|
+
* @throws {RequiredError}
|
|
4174
|
+
*/
|
|
4175
|
+
passportAuthUserServicePassportUserSignInPhone(body: PassportUserSignInPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserSignInPhoneResponse>;
|
|
4176
|
+
/**
|
|
4177
|
+
*
|
|
4178
|
+
* @summary 社交登录
|
|
4179
|
+
* @param {PassportUserSignInSocialRequest} body
|
|
4180
|
+
* @param {*} [options] Override http request option.
|
|
4181
|
+
* @throws {RequiredError}
|
|
4182
|
+
*/
|
|
4183
|
+
passportAuthUserServicePassportUserSignInSocial(body: PassportUserSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserSignInSocialResponse>;
|
|
4184
|
+
/**
|
|
4185
|
+
*
|
|
4186
|
+
* @summary 邮箱注册
|
|
4187
|
+
* @param {PassportUserSignUpEmailRequest} body
|
|
4188
|
+
* @param {*} [options] Override http request option.
|
|
4189
|
+
* @throws {RequiredError}
|
|
4190
|
+
*/
|
|
4191
|
+
passportAuthUserServicePassportUserSignUpEmail(body: PassportUserSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserSignUpEmailResponse>;
|
|
4192
|
+
};
|
|
4193
|
+
/**
|
|
4194
|
+
* PassportAuthUserServiceApi - interface
|
|
4195
|
+
*/
|
|
4196
|
+
export interface PassportAuthUserServiceApiInterface {
|
|
4197
|
+
/**
|
|
4198
|
+
*
|
|
4199
|
+
* @summary 已登录用户修改密码
|
|
4200
|
+
* @param {PassportAuthChangePasswordRequest} body
|
|
4201
|
+
* @param {*} [options] Override http request option.
|
|
4202
|
+
* @throws {RequiredError}
|
|
4203
|
+
*/
|
|
4204
|
+
passportAuthUserServicePassportAuthChangePassword(body: PassportAuthChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthChangePasswordResponse>;
|
|
4205
|
+
/**
|
|
4206
|
+
*
|
|
4207
|
+
* @summary 删除通行证及所有关联用户
|
|
4208
|
+
* @param {PassportAuthDeleteAllRequest} body
|
|
4209
|
+
* @param {*} [options] Override http request option.
|
|
4210
|
+
* @throws {RequiredError}
|
|
4211
|
+
*/
|
|
4212
|
+
passportAuthUserServicePassportAuthDeleteAll(body: PassportAuthDeleteAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthDeleteAllResponse>;
|
|
4213
|
+
/**
|
|
4214
|
+
*
|
|
4215
|
+
* @summary 获取通行证及用户信息
|
|
4216
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表, 如果不指定则获取所有应用的用户信息
|
|
4217
|
+
* @param {*} [options] Override http request option.
|
|
4218
|
+
* @throws {RequiredError}
|
|
4219
|
+
*/
|
|
4220
|
+
passportAuthUserServicePassportAuthInfoGet(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthInfoGetResponse>;
|
|
4221
|
+
/**
|
|
4222
|
+
*
|
|
4223
|
+
* @summary 已登录用户关联社交账号
|
|
4224
|
+
* @param {PassportAuthLinkSocialRequest} body
|
|
4225
|
+
* @param {*} [options] Override http request option.
|
|
4226
|
+
* @throws {RequiredError}
|
|
4227
|
+
*/
|
|
4228
|
+
passportAuthUserServicePassportAuthLinkSocial(body: PassportAuthLinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthLinkSocialResponse>;
|
|
4229
|
+
/**
|
|
4230
|
+
*
|
|
4231
|
+
* @summary 列出已关联的认证方法(包含 邮箱/社交账号等)
|
|
4232
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
4233
|
+
* @param {*} [options] Override http request option.
|
|
4234
|
+
* @throws {RequiredError}
|
|
4235
|
+
*/
|
|
4236
|
+
passportAuthUserServicePassportAuthListMethods(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthListMethodsResponse>;
|
|
4237
|
+
/**
|
|
4238
|
+
*
|
|
4239
|
+
* @summary 获取当前用户的所有会话列表
|
|
4240
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
4241
|
+
* @param {*} [options] Override http request option.
|
|
4242
|
+
* @throws {RequiredError}
|
|
4243
|
+
*/
|
|
4244
|
+
passportAuthUserServicePassportAuthListSessions(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthListSessionsResponse>;
|
|
4245
|
+
/**
|
|
4246
|
+
*
|
|
4247
|
+
* @summary 列出已关联的认证方法(列出社交账号)
|
|
4248
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
4249
|
+
* @param {*} [options] Override http request option.
|
|
4250
|
+
* @throws {RequiredError}
|
|
4251
|
+
*/
|
|
4252
|
+
passportAuthUserServicePassportAuthListSocials(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthListSocialsResponse>;
|
|
4253
|
+
/**
|
|
4254
|
+
*
|
|
4255
|
+
* @summary 会话 token 刷新
|
|
4256
|
+
* @param {PassportAuthRefreshSessionTokenRequest} body
|
|
4257
|
+
* @param {*} [options] Override http request option.
|
|
4258
|
+
* @throws {RequiredError}
|
|
4259
|
+
*/
|
|
4260
|
+
passportAuthUserServicePassportAuthRefreshSessionToken(body: PassportAuthRefreshSessionTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthRefreshSessionTokenResponse>;
|
|
4261
|
+
/**
|
|
4262
|
+
*
|
|
4263
|
+
* @summary 已登录用户重置密码
|
|
4264
|
+
* @param {PassportAuthResetPasswordRequest} body
|
|
4265
|
+
* @param {*} [options] Override http request option.
|
|
4266
|
+
* @throws {RequiredError}
|
|
4267
|
+
*/
|
|
4268
|
+
passportAuthUserServicePassportAuthResetPassword(body: PassportAuthResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthResetPasswordResponse>;
|
|
4269
|
+
/**
|
|
4270
|
+
*
|
|
4271
|
+
* @summary 注销其他会话
|
|
4272
|
+
* @param {PassportAuthRevokeOtherSessionsRequest} body
|
|
4273
|
+
* @param {*} [options] Override http request option.
|
|
4274
|
+
* @throws {RequiredError}
|
|
4275
|
+
*/
|
|
4276
|
+
passportAuthUserServicePassportAuthRevokeOtherSessions(body: PassportAuthRevokeOtherSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthRevokeOtherSessionsResponse>;
|
|
4277
|
+
/**
|
|
4278
|
+
*
|
|
4279
|
+
* @summary 注销指定会话
|
|
4280
|
+
* @param {PassportAuthRevokeSessionRequest} body
|
|
4281
|
+
* @param {*} [options] Override http request option.
|
|
4282
|
+
* @throws {RequiredError}
|
|
4283
|
+
*/
|
|
4284
|
+
passportAuthUserServicePassportAuthRevokeSession(body: PassportAuthRevokeSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthRevokeSessionResponse>;
|
|
4285
|
+
/**
|
|
4286
|
+
*
|
|
4287
|
+
* @summary 注销所有会话
|
|
4288
|
+
* @param {PassportAuthRevokeSessionsRequest} body
|
|
4289
|
+
* @param {*} [options] Override http request option.
|
|
4290
|
+
* @throws {RequiredError}
|
|
4291
|
+
*/
|
|
4292
|
+
passportAuthUserServicePassportAuthRevokeSessions(body: PassportAuthRevokeSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthRevokeSessionsResponse>;
|
|
4293
|
+
/**
|
|
4294
|
+
*
|
|
4295
|
+
* @summary 用户认证后发送验证码
|
|
4296
|
+
* @param {PassportAuthSendVerificationEmailRequest} body
|
|
4297
|
+
* @param {*} [options] Override http request option.
|
|
4298
|
+
* @throws {RequiredError}
|
|
4299
|
+
*/
|
|
4300
|
+
passportAuthUserServicePassportAuthSendVerificationEmail(body: PassportAuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthSendVerificationEmailResponse>;
|
|
4301
|
+
/**
|
|
4302
|
+
*
|
|
4303
|
+
* @summary 用户认证后发送验证码
|
|
4304
|
+
* @param {PassportAuthSendVerificationPhoneRequest} body
|
|
4305
|
+
* @param {*} [options] Override http request option.
|
|
4306
|
+
* @throws {RequiredError}
|
|
4307
|
+
*/
|
|
4308
|
+
passportAuthUserServicePassportAuthSendVerificationPhone(body: PassportAuthSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthSendVerificationPhoneResponse>;
|
|
4309
|
+
/**
|
|
4310
|
+
*
|
|
4311
|
+
* @summary 获取社交账号访问令牌
|
|
4312
|
+
* @param {PassportAuthSocialGetAccessTokenRequest} body
|
|
4313
|
+
* @param {*} [options] Override http request option.
|
|
4314
|
+
* @throws {RequiredError}
|
|
4315
|
+
*/
|
|
4316
|
+
passportAuthUserServicePassportAuthSocialGetAccessToken(body: PassportAuthSocialGetAccessTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthSocialGetAccessTokenResponse>;
|
|
4317
|
+
/**
|
|
4318
|
+
*
|
|
4319
|
+
* @summary 社交账号刷新 Token
|
|
4320
|
+
* @param {PassportAuthSocialRefreshTokenRequest} body
|
|
4321
|
+
* @param {*} [options] Override http request option.
|
|
4322
|
+
* @throws {RequiredError}
|
|
4323
|
+
*/
|
|
4324
|
+
passportAuthUserServicePassportAuthSocialRefreshToken(body: PassportAuthSocialRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthSocialRefreshTokenResponse>;
|
|
4325
|
+
/**
|
|
4326
|
+
*
|
|
4327
|
+
* @summary 已登录用户取消关联社交账号
|
|
4328
|
+
* @param {PassportAuthUnlinkSocialRequest} body
|
|
4329
|
+
* @param {*} [options] Override http request option.
|
|
4330
|
+
* @throws {RequiredError}
|
|
4331
|
+
*/
|
|
4332
|
+
passportAuthUserServicePassportAuthUnlinkSocial(body: PassportAuthUnlinkSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUnlinkSocialResponse>;
|
|
4333
|
+
/**
|
|
4334
|
+
*
|
|
4335
|
+
* @summary 已登录用户更换邮箱
|
|
4336
|
+
* @param {PassportAuthUserChangeEmailRequest} body
|
|
4337
|
+
* @param {*} [options] Override http request option.
|
|
4338
|
+
* @throws {RequiredError}
|
|
4339
|
+
*/
|
|
4340
|
+
passportAuthUserServicePassportAuthUserChangeEmail(body: PassportAuthUserChangeEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserChangeEmailResponse>;
|
|
4341
|
+
/**
|
|
4342
|
+
*
|
|
4343
|
+
* @summary 已登录用户更换手机号
|
|
4344
|
+
* @param {PassportAuthUserChangePhoneRequest} body
|
|
4345
|
+
* @param {*} [options] Override http request option.
|
|
4346
|
+
* @throws {RequiredError}
|
|
4347
|
+
*/
|
|
4348
|
+
passportAuthUserServicePassportAuthUserChangePhone(body: PassportAuthUserChangePhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserChangePhoneResponse>;
|
|
4349
|
+
/**
|
|
4350
|
+
*
|
|
4351
|
+
* @summary 请求删除用户
|
|
4352
|
+
* @param {PassportAuthUserDeleteRequest} body
|
|
4353
|
+
* @param {*} [options] Override http request option.
|
|
4354
|
+
* @throws {RequiredError}
|
|
4355
|
+
*/
|
|
4356
|
+
passportAuthUserServicePassportAuthUserDelete(body: PassportAuthUserDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserDeleteResponse>;
|
|
4357
|
+
/**
|
|
4358
|
+
*
|
|
4359
|
+
* @summary 获取当前会话信息
|
|
4360
|
+
* @param {*} [options] Override http request option.
|
|
4361
|
+
* @throws {RequiredError}
|
|
4362
|
+
*/
|
|
4363
|
+
passportAuthUserServicePassportAuthUserGetSession(options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserGetSessionResponse>;
|
|
4364
|
+
/**
|
|
4365
|
+
*
|
|
4366
|
+
* @summary 获取用户信息
|
|
4367
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
4368
|
+
* @param {*} [options] Override http request option.
|
|
4369
|
+
* @throws {RequiredError}
|
|
4370
|
+
*/
|
|
4371
|
+
passportAuthUserServicePassportAuthUserInfoGet(appIds?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserInfoGetResponse>;
|
|
4372
|
+
/**
|
|
4373
|
+
*
|
|
4374
|
+
* @summary 用户登出
|
|
4375
|
+
* @param {PassportAuthUserSignOutRequest} body
|
|
4376
|
+
* @param {*} [options] Override http request option.
|
|
4377
|
+
* @throws {RequiredError}
|
|
4378
|
+
*/
|
|
4379
|
+
passportAuthUserServicePassportAuthUserSignOut(body: PassportAuthUserSignOutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserSignOutResponse>;
|
|
4380
|
+
/**
|
|
4381
|
+
*
|
|
4382
|
+
* @summary 更新用户信息
|
|
4383
|
+
* @param {PassportAuthUserUpdateInfoRequest} body
|
|
4384
|
+
* @param {*} [options] Override http request option.
|
|
4385
|
+
* @throws {RequiredError}
|
|
4386
|
+
*/
|
|
4387
|
+
passportAuthUserServicePassportAuthUserUpdateInfo(body: PassportAuthUserUpdateInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserUpdateInfoResponse>;
|
|
4388
|
+
/**
|
|
4389
|
+
*
|
|
4390
|
+
* @summary 更新通行证信息
|
|
4391
|
+
* @param {PassportAuthUserUpdatePassportRequest} body
|
|
4392
|
+
* @param {*} [options] Override http request option.
|
|
4393
|
+
* @throws {RequiredError}
|
|
4394
|
+
*/
|
|
4395
|
+
passportAuthUserServicePassportAuthUserUpdatePassport(body: PassportAuthUserUpdatePassportRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserUpdatePassportResponse>;
|
|
4396
|
+
/**
|
|
4397
|
+
*
|
|
4398
|
+
* @summary 已登录用户验证邮箱
|
|
4399
|
+
* @param {PassportAuthUserVerifyEmailRequest} body
|
|
4400
|
+
* @param {*} [options] Override http request option.
|
|
4401
|
+
* @throws {RequiredError}
|
|
4402
|
+
*/
|
|
4403
|
+
passportAuthUserServicePassportAuthUserVerifyEmail(body: PassportAuthUserVerifyEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserVerifyEmailResponse>;
|
|
4404
|
+
/**
|
|
4405
|
+
*
|
|
4406
|
+
* @summary 已登录用户验证手机号
|
|
4407
|
+
* @param {PassportAuthUserVerifyPhoneRequest} body
|
|
4408
|
+
* @param {*} [options] Override http request option.
|
|
4409
|
+
* @throws {RequiredError}
|
|
4410
|
+
*/
|
|
4411
|
+
passportAuthUserServicePassportAuthUserVerifyPhone(body: PassportAuthUserVerifyPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportAuthUserVerifyPhoneResponse>;
|
|
4412
|
+
/**
|
|
4413
|
+
*
|
|
4414
|
+
* @summary 登录/注册流程中发送验证码
|
|
4415
|
+
* @param {PassportSendVerificationEmailRequest} body
|
|
4416
|
+
* @param {*} [options] Override http request option.
|
|
4417
|
+
* @throws {RequiredError}
|
|
4418
|
+
*/
|
|
4419
|
+
passportAuthUserServicePassportSendVerificationEmail(body: PassportSendVerificationEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportSendVerificationEmailResponse>;
|
|
4420
|
+
/**
|
|
4421
|
+
*
|
|
4422
|
+
* @summary 登录/注册流程中发送验证码
|
|
4423
|
+
* @param {PassportSendVerificationPhoneRequest} body
|
|
4424
|
+
* @param {*} [options] Override http request option.
|
|
4425
|
+
* @throws {RequiredError}
|
|
4426
|
+
*/
|
|
4427
|
+
passportAuthUserServicePassportSendVerificationPhone(body: PassportSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportSendVerificationPhoneResponse>;
|
|
4428
|
+
/**
|
|
4429
|
+
*
|
|
4430
|
+
* @summary OAuth 回调处理
|
|
4431
|
+
* @param {string} platform @gotags: form:\"platform\" google/github
|
|
4432
|
+
* @param {string} [appIds] User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
4433
|
+
* @param {string} [code] @gotags: form:\"code\" OAuth 授权码
|
|
4434
|
+
* @param {string} [state] @gotags: form:\"state\" CSRF state
|
|
4435
|
+
* @param {*} [options] Override http request option.
|
|
4436
|
+
* @throws {RequiredError}
|
|
4437
|
+
*/
|
|
4438
|
+
passportAuthUserServicePassportUserOAuthCallback(platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserOAuthCallbackResponse>;
|
|
4439
|
+
/**
|
|
4440
|
+
*
|
|
4441
|
+
* @summary 未登录 - 用户遗忘密码请求重置
|
|
4442
|
+
* @param {PassportUserPasswordForgetRequest} body
|
|
4443
|
+
* @param {*} [options] Override http request option.
|
|
4444
|
+
* @throws {RequiredError}
|
|
4445
|
+
*/
|
|
4446
|
+
passportAuthUserServicePassportUserPasswordForget(body: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordForgetResponse>;
|
|
4447
|
+
/**
|
|
4448
|
+
*
|
|
4449
|
+
* @summary 未登录 - 用户重置密码
|
|
4450
|
+
* @param {PassportUserPasswordResetRequest} body
|
|
4451
|
+
* @param {*} [options] Override http request option.
|
|
4452
|
+
* @throws {RequiredError}
|
|
4453
|
+
*/
|
|
4454
|
+
passportAuthUserServicePassportUserPasswordReset(body: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordResetResponse>;
|
|
4455
|
+
/**
|
|
4456
|
+
*
|
|
4457
|
+
* @summary 未登录 - 验证重置密码请求 token
|
|
4458
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} body
|
|
4459
|
+
* @param {*} [options] Override http request option.
|
|
4460
|
+
* @throws {RequiredError}
|
|
4461
|
+
*/
|
|
4462
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify(body: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserPasswordResetTokenVerifyResponse>;
|
|
4463
|
+
/**
|
|
4464
|
+
*
|
|
4465
|
+
* @summary 邮箱登录
|
|
4466
|
+
* @param {PassportUserSignInEmailRequest} body
|
|
4467
|
+
* @param {*} [options] Override http request option.
|
|
4468
|
+
* @throws {RequiredError}
|
|
4469
|
+
*/
|
|
4470
|
+
passportAuthUserServicePassportUserSignInEmail(body: PassportUserSignInEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserSignInEmailResponse>;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @summary 手机登录
|
|
4474
|
+
* @param {PassportUserSignInPhoneRequest} body
|
|
4475
|
+
* @param {*} [options] Override http request option.
|
|
4476
|
+
* @throws {RequiredError}
|
|
4477
|
+
*/
|
|
4478
|
+
passportAuthUserServicePassportUserSignInPhone(body: PassportUserSignInPhoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserSignInPhoneResponse>;
|
|
4479
|
+
/**
|
|
4480
|
+
*
|
|
4481
|
+
* @summary 社交登录
|
|
4482
|
+
* @param {PassportUserSignInSocialRequest} body
|
|
4483
|
+
* @param {*} [options] Override http request option.
|
|
4484
|
+
* @throws {RequiredError}
|
|
4485
|
+
*/
|
|
4486
|
+
passportAuthUserServicePassportUserSignInSocial(body: PassportUserSignInSocialRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserSignInSocialResponse>;
|
|
4487
|
+
/**
|
|
4488
|
+
*
|
|
4489
|
+
* @summary 邮箱注册
|
|
4490
|
+
* @param {PassportUserSignUpEmailRequest} body
|
|
4491
|
+
* @param {*} [options] Override http request option.
|
|
4492
|
+
* @throws {RequiredError}
|
|
4493
|
+
*/
|
|
4494
|
+
passportAuthUserServicePassportUserSignUpEmail(body: PassportUserSignUpEmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<PassportUserSignUpEmailResponse>;
|
|
4495
|
+
}
|
|
4496
|
+
/**
|
|
4497
|
+
* PassportAuthUserServiceApi - object-oriented interface
|
|
4498
|
+
*/
|
|
4499
|
+
export declare class PassportAuthUserServiceApi extends BaseAPI implements PassportAuthUserServiceApiInterface {
|
|
4500
|
+
/**
|
|
4501
|
+
*
|
|
4502
|
+
* @summary 已登录用户修改密码
|
|
4503
|
+
* @param {PassportAuthChangePasswordRequest} body
|
|
4504
|
+
* @param {*} [options] Override http request option.
|
|
4505
|
+
* @throws {RequiredError}
|
|
4506
|
+
*/
|
|
4507
|
+
passportAuthUserServicePassportAuthChangePassword(body: PassportAuthChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthChangePasswordResponse, any, {}>>;
|
|
4508
|
+
/**
|
|
4509
|
+
*
|
|
4510
|
+
* @summary 删除通行证及所有关联用户
|
|
4511
|
+
* @param {PassportAuthDeleteAllRequest} body
|
|
4512
|
+
* @param {*} [options] Override http request option.
|
|
4513
|
+
* @throws {RequiredError}
|
|
4514
|
+
*/
|
|
4515
|
+
passportAuthUserServicePassportAuthDeleteAll(body: PassportAuthDeleteAllRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthDeleteAllResponse, any, {}>>;
|
|
4516
|
+
/**
|
|
4517
|
+
*
|
|
4518
|
+
* @summary 获取通行证及用户信息
|
|
4519
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表, 如果不指定则获取所有应用的用户信息
|
|
4520
|
+
* @param {*} [options] Override http request option.
|
|
4521
|
+
* @throws {RequiredError}
|
|
4522
|
+
*/
|
|
4523
|
+
passportAuthUserServicePassportAuthInfoGet(appIds?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthInfoGetResponse, any, {}>>;
|
|
4524
|
+
/**
|
|
4525
|
+
*
|
|
4526
|
+
* @summary 已登录用户关联社交账号
|
|
4527
|
+
* @param {PassportAuthLinkSocialRequest} body
|
|
4528
|
+
* @param {*} [options] Override http request option.
|
|
4529
|
+
* @throws {RequiredError}
|
|
4530
|
+
*/
|
|
4531
|
+
passportAuthUserServicePassportAuthLinkSocial(body: PassportAuthLinkSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthLinkSocialResponse, any, {}>>;
|
|
4532
|
+
/**
|
|
4533
|
+
*
|
|
4534
|
+
* @summary 列出已关联的认证方法(包含 邮箱/社交账号等)
|
|
4535
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
4536
|
+
* @param {*} [options] Override http request option.
|
|
4537
|
+
* @throws {RequiredError}
|
|
4538
|
+
*/
|
|
4539
|
+
passportAuthUserServicePassportAuthListMethods(appIds?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthListMethodsResponse, any, {}>>;
|
|
4540
|
+
/**
|
|
4541
|
+
*
|
|
4542
|
+
* @summary 获取当前用户的所有会话列表
|
|
4543
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
4544
|
+
* @param {*} [options] Override http request option.
|
|
4545
|
+
* @throws {RequiredError}
|
|
4546
|
+
*/
|
|
4547
|
+
passportAuthUserServicePassportAuthListSessions(appIds?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthListSessionsResponse, any, {}>>;
|
|
4548
|
+
/**
|
|
4549
|
+
*
|
|
4550
|
+
* @summary 列出已关联的认证方法(列出社交账号)
|
|
4551
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
4552
|
+
* @param {*} [options] Override http request option.
|
|
4553
|
+
* @throws {RequiredError}
|
|
4554
|
+
*/
|
|
4555
|
+
passportAuthUserServicePassportAuthListSocials(appIds?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthListSocialsResponse, any, {}>>;
|
|
4556
|
+
/**
|
|
4557
|
+
*
|
|
4558
|
+
* @summary 会话 token 刷新
|
|
4559
|
+
* @param {PassportAuthRefreshSessionTokenRequest} body
|
|
4560
|
+
* @param {*} [options] Override http request option.
|
|
4561
|
+
* @throws {RequiredError}
|
|
4562
|
+
*/
|
|
4563
|
+
passportAuthUserServicePassportAuthRefreshSessionToken(body: PassportAuthRefreshSessionTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthRefreshSessionTokenResponse, any, {}>>;
|
|
4564
|
+
/**
|
|
4565
|
+
*
|
|
4566
|
+
* @summary 已登录用户重置密码
|
|
4567
|
+
* @param {PassportAuthResetPasswordRequest} body
|
|
4568
|
+
* @param {*} [options] Override http request option.
|
|
4569
|
+
* @throws {RequiredError}
|
|
4570
|
+
*/
|
|
4571
|
+
passportAuthUserServicePassportAuthResetPassword(body: PassportAuthResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthResetPasswordResponse, any, {}>>;
|
|
4572
|
+
/**
|
|
4573
|
+
*
|
|
4574
|
+
* @summary 注销其他会话
|
|
4575
|
+
* @param {PassportAuthRevokeOtherSessionsRequest} body
|
|
4576
|
+
* @param {*} [options] Override http request option.
|
|
4577
|
+
* @throws {RequiredError}
|
|
4578
|
+
*/
|
|
4579
|
+
passportAuthUserServicePassportAuthRevokeOtherSessions(body: PassportAuthRevokeOtherSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthRevokeOtherSessionsResponse, any, {}>>;
|
|
4580
|
+
/**
|
|
4581
|
+
*
|
|
4582
|
+
* @summary 注销指定会话
|
|
4583
|
+
* @param {PassportAuthRevokeSessionRequest} body
|
|
4584
|
+
* @param {*} [options] Override http request option.
|
|
4585
|
+
* @throws {RequiredError}
|
|
4586
|
+
*/
|
|
4587
|
+
passportAuthUserServicePassportAuthRevokeSession(body: PassportAuthRevokeSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthRevokeSessionResponse, any, {}>>;
|
|
4588
|
+
/**
|
|
4589
|
+
*
|
|
4590
|
+
* @summary 注销所有会话
|
|
4591
|
+
* @param {PassportAuthRevokeSessionsRequest} body
|
|
4592
|
+
* @param {*} [options] Override http request option.
|
|
4593
|
+
* @throws {RequiredError}
|
|
4594
|
+
*/
|
|
4595
|
+
passportAuthUserServicePassportAuthRevokeSessions(body: PassportAuthRevokeSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthRevokeSessionsResponse, any, {}>>;
|
|
4596
|
+
/**
|
|
4597
|
+
*
|
|
4598
|
+
* @summary 用户认证后发送验证码
|
|
4599
|
+
* @param {PassportAuthSendVerificationEmailRequest} body
|
|
4600
|
+
* @param {*} [options] Override http request option.
|
|
4601
|
+
* @throws {RequiredError}
|
|
4602
|
+
*/
|
|
4603
|
+
passportAuthUserServicePassportAuthSendVerificationEmail(body: PassportAuthSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthSendVerificationEmailResponse, any, {}>>;
|
|
4604
|
+
/**
|
|
4605
|
+
*
|
|
4606
|
+
* @summary 用户认证后发送验证码
|
|
4607
|
+
* @param {PassportAuthSendVerificationPhoneRequest} body
|
|
4608
|
+
* @param {*} [options] Override http request option.
|
|
4609
|
+
* @throws {RequiredError}
|
|
4610
|
+
*/
|
|
4611
|
+
passportAuthUserServicePassportAuthSendVerificationPhone(body: PassportAuthSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthSendVerificationPhoneResponse, any, {}>>;
|
|
4612
|
+
/**
|
|
4613
|
+
*
|
|
4614
|
+
* @summary 获取社交账号访问令牌
|
|
4615
|
+
* @param {PassportAuthSocialGetAccessTokenRequest} body
|
|
4616
|
+
* @param {*} [options] Override http request option.
|
|
4617
|
+
* @throws {RequiredError}
|
|
4618
|
+
*/
|
|
4619
|
+
passportAuthUserServicePassportAuthSocialGetAccessToken(body: PassportAuthSocialGetAccessTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthSocialGetAccessTokenResponse, any, {}>>;
|
|
4620
|
+
/**
|
|
4621
|
+
*
|
|
4622
|
+
* @summary 社交账号刷新 Token
|
|
4623
|
+
* @param {PassportAuthSocialRefreshTokenRequest} body
|
|
4624
|
+
* @param {*} [options] Override http request option.
|
|
4625
|
+
* @throws {RequiredError}
|
|
4626
|
+
*/
|
|
4627
|
+
passportAuthUserServicePassportAuthSocialRefreshToken(body: PassportAuthSocialRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthSocialRefreshTokenResponse, any, {}>>;
|
|
4628
|
+
/**
|
|
4629
|
+
*
|
|
4630
|
+
* @summary 已登录用户取消关联社交账号
|
|
4631
|
+
* @param {PassportAuthUnlinkSocialRequest} body
|
|
4632
|
+
* @param {*} [options] Override http request option.
|
|
4633
|
+
* @throws {RequiredError}
|
|
4634
|
+
*/
|
|
4635
|
+
passportAuthUserServicePassportAuthUnlinkSocial(body: PassportAuthUnlinkSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUnlinkSocialResponse, any, {}>>;
|
|
4636
|
+
/**
|
|
4637
|
+
*
|
|
4638
|
+
* @summary 已登录用户更换邮箱
|
|
4639
|
+
* @param {PassportAuthUserChangeEmailRequest} body
|
|
4640
|
+
* @param {*} [options] Override http request option.
|
|
4641
|
+
* @throws {RequiredError}
|
|
4642
|
+
*/
|
|
4643
|
+
passportAuthUserServicePassportAuthUserChangeEmail(body: PassportAuthUserChangeEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserChangeEmailResponse, any, {}>>;
|
|
4644
|
+
/**
|
|
4645
|
+
*
|
|
4646
|
+
* @summary 已登录用户更换手机号
|
|
4647
|
+
* @param {PassportAuthUserChangePhoneRequest} body
|
|
4648
|
+
* @param {*} [options] Override http request option.
|
|
4649
|
+
* @throws {RequiredError}
|
|
4650
|
+
*/
|
|
4651
|
+
passportAuthUserServicePassportAuthUserChangePhone(body: PassportAuthUserChangePhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserChangePhoneResponse, any, {}>>;
|
|
4652
|
+
/**
|
|
4653
|
+
*
|
|
4654
|
+
* @summary 请求删除用户
|
|
4655
|
+
* @param {PassportAuthUserDeleteRequest} body
|
|
4656
|
+
* @param {*} [options] Override http request option.
|
|
4657
|
+
* @throws {RequiredError}
|
|
4658
|
+
*/
|
|
4659
|
+
passportAuthUserServicePassportAuthUserDelete(body: PassportAuthUserDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserDeleteResponse, any, {}>>;
|
|
4660
|
+
/**
|
|
4661
|
+
*
|
|
4662
|
+
* @summary 获取当前会话信息
|
|
4663
|
+
* @param {*} [options] Override http request option.
|
|
4664
|
+
* @throws {RequiredError}
|
|
4665
|
+
*/
|
|
4666
|
+
passportAuthUserServicePassportAuthUserGetSession(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserGetSessionResponse, any, {}>>;
|
|
4667
|
+
/**
|
|
4668
|
+
*
|
|
4669
|
+
* @summary 获取用户信息
|
|
4670
|
+
* @param {string} [appIds] NOTE: app_ids 是 \':\' 分隔的字符串列表
|
|
4671
|
+
* @param {*} [options] Override http request option.
|
|
4672
|
+
* @throws {RequiredError}
|
|
4673
|
+
*/
|
|
4674
|
+
passportAuthUserServicePassportAuthUserInfoGet(appIds?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserInfoGetResponse, any, {}>>;
|
|
4675
|
+
/**
|
|
4676
|
+
*
|
|
4677
|
+
* @summary 用户登出
|
|
4678
|
+
* @param {PassportAuthUserSignOutRequest} body
|
|
4679
|
+
* @param {*} [options] Override http request option.
|
|
4680
|
+
* @throws {RequiredError}
|
|
4681
|
+
*/
|
|
4682
|
+
passportAuthUserServicePassportAuthUserSignOut(body: PassportAuthUserSignOutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserSignOutResponse, any, {}>>;
|
|
4683
|
+
/**
|
|
4684
|
+
*
|
|
4685
|
+
* @summary 更新用户信息
|
|
4686
|
+
* @param {PassportAuthUserUpdateInfoRequest} body
|
|
4687
|
+
* @param {*} [options] Override http request option.
|
|
4688
|
+
* @throws {RequiredError}
|
|
4689
|
+
*/
|
|
4690
|
+
passportAuthUserServicePassportAuthUserUpdateInfo(body: PassportAuthUserUpdateInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserUpdateInfoResponse, any, {}>>;
|
|
4691
|
+
/**
|
|
4692
|
+
*
|
|
4693
|
+
* @summary 更新通行证信息
|
|
4694
|
+
* @param {PassportAuthUserUpdatePassportRequest} body
|
|
4695
|
+
* @param {*} [options] Override http request option.
|
|
4696
|
+
* @throws {RequiredError}
|
|
4697
|
+
*/
|
|
4698
|
+
passportAuthUserServicePassportAuthUserUpdatePassport(body: PassportAuthUserUpdatePassportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserUpdatePassportResponse, any, {}>>;
|
|
4699
|
+
/**
|
|
4700
|
+
*
|
|
4701
|
+
* @summary 已登录用户验证邮箱
|
|
4702
|
+
* @param {PassportAuthUserVerifyEmailRequest} body
|
|
4703
|
+
* @param {*} [options] Override http request option.
|
|
4704
|
+
* @throws {RequiredError}
|
|
4705
|
+
*/
|
|
4706
|
+
passportAuthUserServicePassportAuthUserVerifyEmail(body: PassportAuthUserVerifyEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserVerifyEmailResponse, any, {}>>;
|
|
4707
|
+
/**
|
|
4708
|
+
*
|
|
4709
|
+
* @summary 已登录用户验证手机号
|
|
4710
|
+
* @param {PassportAuthUserVerifyPhoneRequest} body
|
|
4711
|
+
* @param {*} [options] Override http request option.
|
|
4712
|
+
* @throws {RequiredError}
|
|
4713
|
+
*/
|
|
4714
|
+
passportAuthUserServicePassportAuthUserVerifyPhone(body: PassportAuthUserVerifyPhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportAuthUserVerifyPhoneResponse, any, {}>>;
|
|
4715
|
+
/**
|
|
4716
|
+
*
|
|
4717
|
+
* @summary 登录/注册流程中发送验证码
|
|
4718
|
+
* @param {PassportSendVerificationEmailRequest} body
|
|
4719
|
+
* @param {*} [options] Override http request option.
|
|
4720
|
+
* @throws {RequiredError}
|
|
4721
|
+
*/
|
|
4722
|
+
passportAuthUserServicePassportSendVerificationEmail(body: PassportSendVerificationEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportSendVerificationEmailResponse, any, {}>>;
|
|
4723
|
+
/**
|
|
4724
|
+
*
|
|
4725
|
+
* @summary 登录/注册流程中发送验证码
|
|
4726
|
+
* @param {PassportSendVerificationPhoneRequest} body
|
|
4727
|
+
* @param {*} [options] Override http request option.
|
|
4728
|
+
* @throws {RequiredError}
|
|
4729
|
+
*/
|
|
4730
|
+
passportAuthUserServicePassportSendVerificationPhone(body: PassportSendVerificationPhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportSendVerificationPhoneResponse, any, {}>>;
|
|
4731
|
+
/**
|
|
4732
|
+
*
|
|
4733
|
+
* @summary OAuth 回调处理
|
|
4734
|
+
* @param {string} platform @gotags: form:\"platform\" google/github
|
|
4735
|
+
* @param {string} [appIds] User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 @gotags: form:\"app_ids\"
|
|
4736
|
+
* @param {string} [code] @gotags: form:\"code\" OAuth 授权码
|
|
4737
|
+
* @param {string} [state] @gotags: form:\"state\" CSRF state
|
|
4738
|
+
* @param {*} [options] Override http request option.
|
|
4739
|
+
* @throws {RequiredError}
|
|
4740
|
+
*/
|
|
4741
|
+
passportAuthUserServicePassportUserOAuthCallback(platform: string, appIds?: string, code?: string, state?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserOAuthCallbackResponse, any, {}>>;
|
|
4742
|
+
/**
|
|
4743
|
+
*
|
|
4744
|
+
* @summary 未登录 - 用户遗忘密码请求重置
|
|
4745
|
+
* @param {PassportUserPasswordForgetRequest} body
|
|
4746
|
+
* @param {*} [options] Override http request option.
|
|
4747
|
+
* @throws {RequiredError}
|
|
4748
|
+
*/
|
|
4749
|
+
passportAuthUserServicePassportUserPasswordForget(body: PassportUserPasswordForgetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserPasswordForgetResponse, any, {}>>;
|
|
4750
|
+
/**
|
|
4751
|
+
*
|
|
4752
|
+
* @summary 未登录 - 用户重置密码
|
|
4753
|
+
* @param {PassportUserPasswordResetRequest} body
|
|
4754
|
+
* @param {*} [options] Override http request option.
|
|
4755
|
+
* @throws {RequiredError}
|
|
4756
|
+
*/
|
|
4757
|
+
passportAuthUserServicePassportUserPasswordReset(body: PassportUserPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserPasswordResetResponse, any, {}>>;
|
|
4758
|
+
/**
|
|
4759
|
+
*
|
|
4760
|
+
* @summary 未登录 - 验证重置密码请求 token
|
|
4761
|
+
* @param {PassportUserPasswordResetTokenVerifyRequest} body
|
|
4762
|
+
* @param {*} [options] Override http request option.
|
|
4763
|
+
* @throws {RequiredError}
|
|
4764
|
+
*/
|
|
4765
|
+
passportAuthUserServicePassportUserPasswordResetTokenVerify(body: PassportUserPasswordResetTokenVerifyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserPasswordResetTokenVerifyResponse, any, {}>>;
|
|
4766
|
+
/**
|
|
4767
|
+
*
|
|
4768
|
+
* @summary 邮箱登录
|
|
4769
|
+
* @param {PassportUserSignInEmailRequest} body
|
|
4770
|
+
* @param {*} [options] Override http request option.
|
|
4771
|
+
* @throws {RequiredError}
|
|
4772
|
+
*/
|
|
4773
|
+
passportAuthUserServicePassportUserSignInEmail(body: PassportUserSignInEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserSignInEmailResponse, any, {}>>;
|
|
4774
|
+
/**
|
|
4775
|
+
*
|
|
4776
|
+
* @summary 手机登录
|
|
4777
|
+
* @param {PassportUserSignInPhoneRequest} body
|
|
4778
|
+
* @param {*} [options] Override http request option.
|
|
4779
|
+
* @throws {RequiredError}
|
|
4780
|
+
*/
|
|
4781
|
+
passportAuthUserServicePassportUserSignInPhone(body: PassportUserSignInPhoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserSignInPhoneResponse, any, {}>>;
|
|
4782
|
+
/**
|
|
4783
|
+
*
|
|
4784
|
+
* @summary 社交登录
|
|
4785
|
+
* @param {PassportUserSignInSocialRequest} body
|
|
4786
|
+
* @param {*} [options] Override http request option.
|
|
4787
|
+
* @throws {RequiredError}
|
|
4788
|
+
*/
|
|
4789
|
+
passportAuthUserServicePassportUserSignInSocial(body: PassportUserSignInSocialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserSignInSocialResponse, any, {}>>;
|
|
4790
|
+
/**
|
|
4791
|
+
*
|
|
4792
|
+
* @summary 邮箱注册
|
|
4793
|
+
* @param {PassportUserSignUpEmailRequest} body
|
|
4794
|
+
* @param {*} [options] Override http request option.
|
|
4795
|
+
* @throws {RequiredError}
|
|
4796
|
+
*/
|
|
4797
|
+
passportAuthUserServicePassportUserSignUpEmail(body: PassportUserSignUpEmailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PassportUserSignUpEmailResponse, any, {}>>;
|
|
4798
|
+
}
|