@cherryin/api-client 0.0.20 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +102 -235
- package/README.md +155 -342
- package/api.ts +3375 -9798
- package/dist/api.d.ts +2595 -6538
- package/dist/api.js +1630 -5652
- package/dist/esm/api.d.ts +2595 -6538
- package/dist/esm/api.js +1609 -5611
- package/docs/AIModel.md +45 -0
- package/docs/AIModelAdminServiceApi.md +90 -101
- package/docs/AIModelArchitecture.md +25 -0
- package/docs/{AdminAIModelCheckConnectionResponse.md → AIModelCheckConnectionResponse.md} +4 -4
- package/docs/{AdminAIModelCheckItem.md → AIModelCheckItem.md} +3 -3
- package/docs/{AdminAIModelCheckResult.md → AIModelCheckResult.md} +5 -5
- package/docs/AIModelCreateRequest.md +35 -0
- package/docs/{AdminAIModelCreateResponse.md → AIModelCreateResponse.md} +5 -5
- package/docs/AIModelDeleteRequest.md +21 -0
- package/docs/{AdminProviderModelDeleteResponse.md → AIModelDeleteResponse.md} +4 -4
- package/docs/AIModelDisableRequest.md +21 -0
- package/docs/{AdminAIModelPublishResponse.md → AIModelDisableResponse.md} +5 -5
- package/docs/{AdminAIModelDiscountConfig.md → AIModelDiscountConfig.md} +4 -4
- package/docs/{AdminAIModelGetResponse.md → AIModelGetResponse.md} +5 -5
- package/docs/{AdminAIModelListResponse.md → AIModelListResponse.md} +5 -5
- package/docs/AIModelMeta.md +25 -0
- package/docs/AIModelPricingConfig.md +10 -10
- package/docs/AIModelProviderConfigItem.md +29 -0
- package/docs/AIModelPublishRequest.md +21 -0
- package/docs/{AdminAIModelUpdateResponse.md → AIModelPublishResponse.md} +5 -5
- package/docs/AIModelUpdateRequest.md +37 -0
- package/docs/{AdminProviderGetResponse.md → AIModelUpdateResponse.md} +5 -5
- package/docs/{ProviderAWSAuth.md → AWSAuth.md} +3 -4
- package/docs/AudioPricing.md +8 -8
- package/docs/Auth2Account.md +33 -0
- package/docs/{AuthAdminUser.md → Auth2Admin.md} +7 -7
- package/docs/Auth2AdminServiceApi.md +469 -0
- package/docs/Auth2AdminSession.md +35 -0
- package/docs/{AuthIdToken.md → Auth2IdToken.md} +3 -3
- package/docs/Auth2Session.md +35 -0
- package/docs/Auth2User.md +33 -0
- package/docs/Auth2UserServiceApi.md +1261 -0
- package/docs/{PassportAuthAdminChangePasswordRequest.md → AuthAdminChangePasswordRequest.md} +3 -3
- package/docs/{PassportAuthEnterpriseChangePasswordResponse.md → AuthAdminChangePasswordResponse.md} +4 -4
- package/docs/{PassportAuthEnterpriseRefreshTokenResponse.md → AuthAdminGetSessionResponse.md} +6 -4
- package/docs/{PassportAuthListSessionsResponse.md → AuthAdminListSessionsResponse.md} +4 -4
- package/docs/{PassportAuthAdminUserDisableResponse.md → AuthAdminRevokeOtherSessionsResponse.md} +5 -3
- package/docs/{PassportAdminTokenAuthRequest.md → AuthAdminRevokeSessionRequest.md} +3 -3
- package/docs/{PassportAuthUserDeleteResponse.md → AuthAdminRevokeSessionResponse.md} +5 -3
- package/docs/{PassportAuthUserSignOutResponse.md → AuthAdminRevokeSessionsResponse.md} +5 -3
- package/docs/{PassportAdminSignInEmailRequest.md → AuthAdminSignInEmailRequest.md} +5 -7
- package/docs/{PassportAuthAdminUserModifyPermissionResponse.md → AuthAdminSignInEmailResponse.md} +6 -4
- package/docs/{PassportAuthRevokeOtherSessionsResponse.md → AuthAdminSignOutResponse.md} +3 -3
- package/docs/{PassportAuthAdminUpdateInfoRequest.md → AuthAdminUpdateUserRequest.md} +5 -5
- package/docs/{PassportUserInfoGetResponse.md → AuthAdminUpdateUserResponse.md} +5 -5
- package/docs/{PassportAuthUserChangeEmailRequest.md → AuthChangeEmailRequest.md} +3 -5
- package/docs/{PassportAuthAdminUpdateInfoResponse.md → AuthChangeEmailResponse.md} +6 -4
- package/docs/{PassportAuthEnterpriseChangePasswordRequest.md → AuthChangePasswordRequest.md} +3 -3
- package/docs/{PassportAuthAdminGetInfoResponse.md → AuthChangePasswordResponse.md} +6 -4
- package/docs/{PassportAuthRevokeSessionRequest.md → AuthDeleteUserRequest.md} +7 -3
- package/docs/{PassportAuthAdminRevokeOtherSessionsResponse.md → AuthDeleteUserResponse.md} +5 -3
- package/docs/{PassportAuthSocialRefreshTokenRequest.md → AuthGetAccessTokenRequest.md} +3 -3
- package/docs/{PassportAuthSocialRefreshTokenResponse.md → AuthGetAccessTokenResponse.md} +3 -3
- package/docs/AuthGetAccountInfoResponse.md +24 -0
- package/docs/{PassportAuthEnterpriseGetSessionResponse.md → AuthGetSessionResponse.md} +6 -4
- package/docs/{PassportAuthLinkSocialRequest.md → AuthLinkSocialRequest.md} +4 -6
- package/docs/{PassportAuthLinkSocialResponse.md → AuthLinkSocialResponse.md} +5 -3
- package/docs/{PassportAuthEnterpriseRevokeSessionsResponse.md → AuthListAccountsResponse.md} +5 -3
- package/docs/AuthListSessionsResponse.md +24 -0
- package/docs/{PassportEnterpriseSignUpEmailResponse.md → AuthOAuth2CallbackResponse.md} +10 -8
- package/docs/{PassportAuthSocialGetAccessTokenRequest.md → AuthRefreshTokenRequest.md} +3 -3
- package/docs/{PassportAuthSocialGetAccessTokenResponse.md → AuthRefreshTokenResponse.md} +3 -3
- package/docs/AuthRequestPasswordResetRequest.md +22 -0
- package/docs/{PassportAuthAdminSignOutResponse.md → AuthRequestPasswordResetResponse.md} +5 -3
- package/docs/{PassportAuthEnterpriseRevokeSessionRequest.md → AuthResetPasswordRequest.md} +5 -3
- package/docs/{PassportAuthAdminUserModifyInfoResponse.md → AuthResetPasswordResponse.md} +5 -5
- package/docs/AuthRevokeOtherSessionsResponse.md +24 -0
- package/docs/{PassportUserTokenAuthRequest.md → AuthRevokeSessionRequest.md} +3 -3
- package/docs/{PassportAdminSendVerificationEmailResponse.md → AuthRevokeSessionResponse.md} +5 -3
- package/docs/{PassportAuthAdminPassportDisableResponse.md → AuthRevokeSessionsResponse.md} +5 -3
- package/docs/{PassportAuthEnterpriseVerifyEmailRequest.md → AuthSendVerificationEmailRequest.md} +3 -5
- package/docs/{PassportAuthResetPasswordResponse.md → AuthSendVerificationEmailResponse.md} +5 -3
- package/docs/{PassportAuthDeleteAllRequest.md → AuthSignInEmailRequest.md} +7 -9
- package/docs/{PassportUserPasswordResetResponse.md → AuthSignInEmailResponse.md} +9 -5
- package/docs/{PassportUserSignInSocialRequest.md → AuthSignInSocialRequest.md} +6 -8
- package/docs/{PassportEnterpriseSignInEmailResponse.md → AuthSignInSocialResponse.md} +6 -6
- package/docs/{PassportAuthEnterpriseMaterialUploadResponse.md → AuthSignOutResponse.md} +5 -3
- package/docs/{PassportAuthEnterpriseDeleteRequest.md → AuthSignUpEmailRequest.md} +13 -9
- package/docs/{PassportEnterprisePasswordResetResponse.md → AuthSignUpEmailResponse.md} +7 -5
- package/docs/{PassportAuthUnlinkSocialRequest.md → AuthUnlinkAccountRequest.md} +3 -5
- package/docs/{PassportAuthAdminEnterpriseMaterialReviewResponse.md → AuthUnlinkAccountResponse.md} +5 -3
- package/docs/{PassportAuthUserUpdatePassportRequest.md → AuthUpdateUserRequest.md} +5 -5
- package/docs/AuthUpdateUserResponse.md +24 -0
- package/docs/AuthVerifyEmailResponse.md +24 -0
- package/docs/ConfigItem.md +0 -4
- package/docs/DiscountDeleteResponse.md +1 -1
- package/docs/DiscountGetResponse.md +1 -1
- package/docs/DiscountListResponse.md +1 -1
- package/docs/DiscountUpdateResponse.md +1 -1
- package/docs/FeatureCostPricing.md +5 -5
- package/docs/FrontAIModel.md +17 -15
- package/docs/GCPAuth.md +27 -0
- package/docs/ImagePricing.md +7 -7
- package/docs/LabelCreateResponse.md +1 -1
- package/docs/LabelDeleteResponse.md +1 -1
- package/docs/LabelListResponse.md +1 -1
- package/docs/LabelUpdateResponse.md +1 -1
- package/docs/MultimodalPricing.md +4 -4
- package/docs/PricingConditions.md +7 -7
- package/docs/PricingRules.md +6 -6
- package/docs/Provider.md +37 -0
- package/docs/ProviderAdminServiceApi.md +53 -74
- package/docs/ProviderAuth.md +6 -6
- package/docs/ProviderCreateRequest.md +29 -0
- package/docs/{AdminAIModelDisableResponse.md → ProviderCreateResponse.md} +5 -5
- package/docs/{AdminAIModelDeleteResponse.md → ProviderDeleteResponse.md} +4 -4
- package/docs/{AdminProviderModelGetResponse.md → ProviderGetResponse.md} +5 -5
- package/docs/{AdminProviderListResponse.md → ProviderListResponse.md} +6 -6
- package/docs/ProviderModel.md +37 -0
- package/docs/ProviderModelAdminServiceApi.md +56 -74
- package/docs/ProviderModelCreateRequest.md +29 -0
- package/docs/{AdminProviderModelUpdateResponse.md → ProviderModelCreateResponse.md} +5 -5
- package/docs/{AdminProviderDeleteResponse.md → ProviderModelDeleteResponse.md} +4 -4
- package/docs/ProviderModelGetResponse.md +25 -0
- package/docs/{AdminProviderModelListResponse.md → ProviderModelListResponse.md} +6 -6
- package/docs/ProviderModelPayload.md +23 -0
- package/docs/ProviderModelUpdateRequest.md +31 -0
- package/docs/{AdminProviderCreateResponse.md → ProviderModelUpdateResponse.md} +5 -5
- package/docs/ProviderPayload.md +21 -0
- package/docs/ProviderUpdateRequest.md +31 -0
- package/docs/ProviderUpdateResponse.md +25 -0
- package/docs/RemoteConfigAdminServiceApi.md +3 -18
- package/docs/RemoteConfigItemGetResponse.md +2 -2
- package/docs/RemoteConfigItemUpdateRequest.md +0 -6
- package/docs/RemoteConfigItemUpdateResponse.md +2 -2
- package/docs/RequestPricing.md +3 -3
- package/docs/TextTokenInputPricing.md +5 -5
- package/docs/TextTokenOutputPricing.md +4 -4
- package/docs/TextTokenPricing.md +3 -3
- package/docs/TokenTier.md +4 -4
- package/docs/UserAPIKey.md +15 -15
- package/docs/UserAPIKeyCreateRequest.md +9 -9
- package/docs/UserAPIKeyCreateResponse.md +4 -4
- package/docs/UserAPIKeyDeleteRequest.md +21 -0
- package/docs/UserAPIKeyDeleteResponse.md +3 -3
- package/docs/UserAPIKeyGetResponse.md +4 -4
- package/docs/UserAPIKeyListResponse.md +5 -5
- package/docs/UserAPIKeyServiceApi.md +27 -26
- package/docs/UserAPIKeyUpdateResponse.md +3 -3
- package/docs/UserBalanceChangeResponse.md +2 -2
- package/docs/UserBalanceEditResponse.md +2 -2
- package/docs/UserBalanceListResponse.md +2 -2
- package/docs/UserBalanceServiceApi.md +4 -4
- package/docs/UserLabelListResponse.md +1 -1
- package/docs/UserLabelPairChangeResponse.md +1 -1
- package/docs/{ModelListResponse.md → UserModelListResponse.md} +11 -10
- package/docs/UserModelServiceApi.md +11 -124
- package/docs/VersionedAPISchema.md +6 -6
- package/docs/VideoPricing.md +8 -8
- package/package.json +1 -1
- package/docs/AdminAIModel.md +0 -73
- package/docs/AdminAIModelCreateRequest.md +0 -63
- package/docs/AdminAIModelDisableRequest.md +0 -23
- package/docs/AdminAIModelProviderConfigItem.md +0 -29
- package/docs/AdminAIModelPublishRequest.md +0 -23
- package/docs/AdminAIModelUpdateRequest.md +0 -25
- package/docs/AdminEnterpriseMaterials.md +0 -24
- package/docs/AdminEnterpriseUser.md +0 -24
- package/docs/AdminEnterpriseUserMaterials.md +0 -22
- package/docs/AdminPassportItem.md +0 -24
- package/docs/AdminProvider.md +0 -46
- package/docs/AdminProviderCreateRequest.md +0 -39
- package/docs/AdminProviderModel.md +0 -66
- package/docs/AdminProviderModelCreateRequest.md +0 -59
- package/docs/AdminProviderModelCreateResponse.md +0 -25
- package/docs/AdminProviderModelUpdateRequest.md +0 -25
- package/docs/AdminProviderUpdateRequest.md +0 -25
- package/docs/AdminProviderUpdateResponse.md +0 -25
- package/docs/AdminUserItem.md +0 -26
- package/docs/AuthAdminSession.md +0 -39
- package/docs/AuthEnterpriseMaterials.md +0 -33
- package/docs/AuthEnterpriseSession.md +0 -37
- package/docs/AuthEnterpriseUser.md +0 -37
- package/docs/AuthPassport.md +0 -35
- package/docs/AuthUser.md +0 -39
- package/docs/AuthUserMethod.md +0 -39
- package/docs/AuthUserSession.md +0 -41
- package/docs/FrontendModelCost.md +0 -57
- package/docs/FrontendModelExtraInfo.md +0 -21
- package/docs/FrontendModelsResponse.md +0 -29
- package/docs/FrontendProviderInfo.md +0 -31
- package/docs/FrontendProviderModel.md +0 -55
- package/docs/FrontendProvidersResponse.md +0 -29
- package/docs/FrontendSearchContextCost.md +0 -25
- package/docs/ModelCapabilities.md +0 -59
- package/docs/ModelLimits.md +0 -41
- package/docs/ModelModalities.md +0 -23
- package/docs/PassportAdminSendVerificationEmailRequest.md +0 -26
- package/docs/PassportAdminSignInEmailResponse.md +0 -26
- package/docs/PassportAdminTokenAuthResponse.md +0 -28
- package/docs/PassportAuthAdminChangePasswordResponse.md +0 -26
- package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +0 -28
- package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +0 -22
- package/docs/PassportAuthAdminGetSessionResponse.md +0 -26
- package/docs/PassportAuthAdminListSessionsResponse.md +0 -24
- package/docs/PassportAuthAdminPassportDisableRequest.md +0 -22
- package/docs/PassportAuthAdminPassportListRequest.md +0 -28
- package/docs/PassportAuthAdminPassportListResponse.md +0 -28
- package/docs/PassportAuthAdminPassportModifyInfoRequest.md +0 -28
- package/docs/PassportAuthAdminPassportModifyInfoResponse.md +0 -24
- package/docs/PassportAuthAdminRPCServiceApi.md +0 -61
- package/docs/PassportAuthAdminRevokeSessionRequest.md +0 -20
- package/docs/PassportAuthAdminRevokeSessionResponse.md +0 -22
- package/docs/PassportAuthAdminRevokeSessionsResponse.md +0 -22
- package/docs/PassportAuthAdminServiceApi.md +0 -1069
- package/docs/PassportAuthAdminUserDisableRequest.md +0 -26
- package/docs/PassportAuthAdminUserListRequest.md +0 -28
- package/docs/PassportAuthAdminUserListResponse.md +0 -28
- package/docs/PassportAuthAdminUserModifyInfoRequest.md +0 -32
- package/docs/PassportAuthAdminUserModifyPermissionRequest.md +0 -22
- package/docs/PassportAuthChangePasswordRequest.md +0 -26
- package/docs/PassportAuthChangePasswordResponse.md +0 -26
- package/docs/PassportAuthDeleteAllResponse.md +0 -22
- package/docs/PassportAuthEnterpriseChangePhoneRequest.md +0 -24
- package/docs/PassportAuthEnterpriseChangePhoneResponse.md +0 -22
- package/docs/PassportAuthEnterpriseDeleteResponse.md +0 -22
- package/docs/PassportAuthEnterpriseInfoGetResponse.md +0 -24
- package/docs/PassportAuthEnterpriseListSessionsResponse.md +0 -24
- package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +0 -26
- package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +0 -24
- package/docs/PassportAuthEnterpriseRPCServiceApi.md +0 -61
- package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +0 -20
- package/docs/PassportAuthEnterpriseResetPasswordRequest.md +0 -22
- package/docs/PassportAuthEnterpriseResetPasswordResponse.md +0 -22
- package/docs/PassportAuthEnterpriseRevokeOtherSessionsResponse.md +0 -22
- package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +0 -22
- package/docs/PassportAuthEnterpriseServiceApi.md +0 -1170
- package/docs/PassportAuthEnterpriseSignOutRequest.md +0 -20
- package/docs/PassportAuthEnterpriseSignOutResponse.md +0 -22
- package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +0 -22
- package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +0 -24
- package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +0 -22
- package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +0 -22
- package/docs/PassportAuthInfoGetResponse.md +0 -26
- package/docs/PassportAuthListMethodsResponse.md +0 -24
- package/docs/PassportAuthListSocialsResponse.md +0 -24
- package/docs/PassportAuthRefreshSessionTokenRequest.md +0 -20
- package/docs/PassportAuthRefreshSessionTokenResponse.md +0 -24
- package/docs/PassportAuthResetPasswordRequest.md +0 -24
- package/docs/PassportAuthRevokeOtherSessionsRequest.md +0 -20
- package/docs/PassportAuthRevokeSessionResponse.md +0 -22
- package/docs/PassportAuthRevokeSessionsRequest.md +0 -20
- package/docs/PassportAuthRevokeSessionsResponse.md +0 -22
- package/docs/PassportAuthSendVerificationEmailRequest.md +0 -26
- package/docs/PassportAuthSendVerificationEmailResponse.md +0 -22
- package/docs/PassportAuthSendVerificationPhoneRequest.md +0 -26
- package/docs/PassportAuthSendVerificationPhoneResponse.md +0 -22
- package/docs/PassportAuthUnlinkSocialResponse.md +0 -22
- package/docs/PassportAuthUserChangeEmailResponse.md +0 -24
- package/docs/PassportAuthUserChangePhoneRequest.md +0 -26
- package/docs/PassportAuthUserChangePhoneResponse.md +0 -24
- package/docs/PassportAuthUserDeleteRequest.md +0 -30
- package/docs/PassportAuthUserGetSessionResponse.md +0 -24
- package/docs/PassportAuthUserInfoGetResponse.md +0 -24
- package/docs/PassportAuthUserRPCServiceApi.md +0 -223
- package/docs/PassportAuthUserServiceApi.md +0 -2000
- package/docs/PassportAuthUserSignOutRequest.md +0 -22
- package/docs/PassportAuthUserUpdateInfoRequest.md +0 -28
- package/docs/PassportAuthUserUpdateInfoResponse.md +0 -24
- package/docs/PassportAuthUserUpdatePassportResponse.md +0 -24
- package/docs/PassportAuthUserVerifyEmailRequest.md +0 -26
- package/docs/PassportAuthUserVerifyEmailResponse.md +0 -22
- package/docs/PassportAuthUserVerifyPhoneRequest.md +0 -24
- package/docs/PassportAuthUserVerifyPhoneResponse.md +0 -22
- package/docs/PassportEnterprisePasswordResetRequest.md +0 -24
- package/docs/PassportEnterpriseSendVerificationEmailRequest.md +0 -24
- package/docs/PassportEnterpriseSendVerificationEmailResponse.md +0 -22
- package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +0 -24
- package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +0 -22
- package/docs/PassportEnterpriseSignInEmailRequest.md +0 -30
- package/docs/PassportEnterpriseSignInPhoneRequest.md +0 -24
- package/docs/PassportEnterpriseSignInPhoneResponse.md +0 -26
- package/docs/PassportEnterpriseSignUpEmailRequest.md +0 -34
- package/docs/PassportEnterpriseTokenAuthRequest.md +0 -20
- package/docs/PassportEnterpriseTokenAuthResponse.md +0 -28
- package/docs/PassportSendVerificationEmailRequest.md +0 -26
- package/docs/PassportSendVerificationEmailResponse.md +0 -22
- package/docs/PassportSendVerificationPhoneRequest.md +0 -26
- package/docs/PassportSendVerificationPhoneResponse.md +0 -22
- package/docs/PassportUserInfoBatchGetRequest.md +0 -24
- package/docs/PassportUserInfoBatchGetResponse.md +0 -24
- package/docs/PassportUserInfoGetRequest.md +0 -24
- package/docs/PassportUserOAuthCallbackResponse.md +0 -36
- package/docs/PassportUserPasswordForgetRequest.md +0 -24
- package/docs/PassportUserPasswordForgetResponse.md +0 -22
- package/docs/PassportUserPasswordResetRequest.md +0 -30
- package/docs/PassportUserPasswordResetTokenVerifyRequest.md +0 -22
- package/docs/PassportUserPasswordResetTokenVerifyResponse.md +0 -26
- package/docs/PassportUserSignInEmailRequest.md +0 -32
- package/docs/PassportUserSignInEmailResponse.md +0 -32
- package/docs/PassportUserSignInPhoneRequest.md +0 -26
- package/docs/PassportUserSignInPhoneResponse.md +0 -28
- package/docs/PassportUserSignInSocialResponse.md +0 -32
- package/docs/PassportUserSignUpEmailRequest.md +0 -36
- package/docs/PassportUserSignUpEmailResponse.md +0 -32
- package/docs/PassportUserTokenAuthResponse.md +0 -28
- package/docs/PassportUserUpdateInfoRequest.md +0 -30
- package/docs/PassportUserUpdateInfoResponse.md +0 -22
- package/docs/ProviderGCPAuth.md +0 -27
- package/docs/QRCodeAdminServiceApi.md +0 -286
- package/docs/QRCodeCreateRequest.md +0 -37
- package/docs/QRCodeCreateResponse.md +0 -25
- package/docs/QRCodeDeleteResponse.md +0 -23
- package/docs/QRCodeGetResponse.md +0 -25
- package/docs/QRCodeHistoryItem.md +0 -29
- package/docs/QRCodeInfo.md +0 -59
- package/docs/QRCodeListResponse.md +0 -27
- package/docs/QRCodeSnapshot.md +0 -37
- package/docs/QRCodeUpdateRequest.md +0 -39
- package/docs/QRCodeUpdateResponse.md +0 -25
- package/docs/QRCodeWithHistory.md +0 -23
- package/docs/UserBasic.md +0 -42
- package/docs/UserExtendInfo.md +0 -20
- package/docs/UserInfoQueryOptions.md +0 -28
- package/docs/UserPaymentInfo.md +0 -20
- package/docs/UserPreferences.md +0 -22
|
@@ -1,1170 +0,0 @@
|
|
|
1
|
-
# PassportAuthEnterpriseServiceApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword**](#passportauthenterpriseservicepassportauthenterprisechangepassword) | **POST** /passport/enterprise/authed/v1/password/change | |
|
|
8
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone**](#passportauthenterpriseservicepassportauthenterprisechangephone) | **POST** /passport/enterprise/authed/v1/phone/change | |
|
|
9
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseDelete**](#passportauthenterpriseservicepassportauthenterprisedelete) | **POST** /passport/enterprise/authed/v1/user/request-delete | |
|
|
10
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseGetSession**](#passportauthenterpriseservicepassportauthenterprisegetsession) | **GET** /passport/enterprise/authed/v1/session/get | |
|
|
11
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet**](#passportauthenterpriseservicepassportauthenterpriseinfoget) | **GET** /passport/enterprise/authed/v1/user/info | |
|
|
12
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseListSessions**](#passportauthenterpriseservicepassportauthenterpriselistsessions) | **GET** /passport/enterprise/authed/v1/sessions/list | |
|
|
13
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload**](#passportauthenterpriseservicepassportauthenterprisematerialupload) | **POST** /passport/enterprise/authed/v1/materials/upload | |
|
|
14
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState**](#passportauthenterpriseservicepassportauthenterprisematerialverifystate) | **POST** /passport/enterprise/authed/v1/materials/verified-state | |
|
|
15
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken**](#passportauthenterpriseservicepassportauthenterpriserefreshtoken) | **POST** /passport/enterprise/authed/v1/session/refresh-token | |
|
|
16
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword**](#passportauthenterpriseservicepassportauthenterpriseresetpassword) | **POST** /passport/enterprise/authed/v1/password/request-reset | |
|
|
17
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions**](#passportauthenterpriseservicepassportauthenterpriserevokeothersessions) | **POST** /passport/enterprise/authed/v1/sessions/revoke-other | |
|
|
18
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession**](#passportauthenterpriseservicepassportauthenterpriserevokesession) | **POST** /passport/enterprise/authed/v1/session/revoke | |
|
|
19
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions**](#passportauthenterpriseservicepassportauthenterpriserevokesessions) | **POST** /passport/enterprise/authed/v1/sessions/revoke-all | |
|
|
20
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseSignOut**](#passportauthenterpriseservicepassportauthenterprisesignout) | **POST** /passport/enterprise/authed/v1/sign-out | |
|
|
21
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo**](#passportauthenterpriseservicepassportauthenterpriseupdateinfo) | **POST** /passport/enterprise/authed/v1/user/update-info | |
|
|
22
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail**](#passportauthenterpriseservicepassportauthenterpriseverifyemail) | **POST** /passport/enterprise/auth/v1/password/request-reset | |
|
|
23
|
-
|[**passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone**](#passportauthenterpriseservicepassportauthenterpriseverifyphone) | **GET** /passport/enterprise/authed/v1/phone/verify | |
|
|
24
|
-
|[**passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail**](#passportauthenterpriseservicepassportenterprisesendverificationemail) | **POST** /passport/enterprise/auth/v1/verification/send-email | |
|
|
25
|
-
|[**passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone**](#passportauthenterpriseservicepassportenterprisesendverificationphone) | **POST** /passport/enterprise/auth/v1/verification/send-phone | |
|
|
26
|
-
|[**passportAuthEnterpriseServicePassportEnterpriseSignInEmail**](#passportauthenterpriseservicepassportenterprisesigninemail) | **POST** /passport/enterprise/auth/v1/sign-in/email | |
|
|
27
|
-
|[**passportAuthEnterpriseServicePassportEnterpriseSignInPhone**](#passportauthenterpriseservicepassportenterprisesigninphone) | **POST** /passport/enterprise/auth/v1/sign-in/phone | |
|
|
28
|
-
|[**passportAuthEnterpriseServicePassportEnterpriseSignUpEmail**](#passportauthenterpriseservicepassportenterprisesignupemail) | **POST** /passport/enterprise/auth/v1/sign-up/email | |
|
|
29
|
-
|
|
30
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword**
|
|
31
|
-
> PassportAuthEnterpriseChangePasswordResponse passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword(passportAuthEnterpriseChangePasswordRequest)
|
|
32
|
-
|
|
33
|
-
已登录用户修改密码
|
|
34
|
-
|
|
35
|
-
### Example
|
|
36
|
-
|
|
37
|
-
```typescript
|
|
38
|
-
import {
|
|
39
|
-
PassportAuthEnterpriseServiceApi,
|
|
40
|
-
Configuration,
|
|
41
|
-
PassportAuthEnterpriseChangePasswordRequest
|
|
42
|
-
} from '@cherryin/api-client';
|
|
43
|
-
|
|
44
|
-
const configuration = new Configuration();
|
|
45
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
46
|
-
|
|
47
|
-
let passportAuthEnterpriseChangePasswordRequest: PassportAuthEnterpriseChangePasswordRequest; //
|
|
48
|
-
|
|
49
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseChangePassword(
|
|
50
|
-
passportAuthEnterpriseChangePasswordRequest
|
|
51
|
-
);
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Parameters
|
|
55
|
-
|
|
56
|
-
|Name | Type | Description | Notes|
|
|
57
|
-
|------------- | ------------- | ------------- | -------------|
|
|
58
|
-
| **passportAuthEnterpriseChangePasswordRequest** | **PassportAuthEnterpriseChangePasswordRequest**| | |
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
### Return type
|
|
62
|
-
|
|
63
|
-
**PassportAuthEnterpriseChangePasswordResponse**
|
|
64
|
-
|
|
65
|
-
### Authorization
|
|
66
|
-
|
|
67
|
-
No authorization required
|
|
68
|
-
|
|
69
|
-
### HTTP request headers
|
|
70
|
-
|
|
71
|
-
- **Content-Type**: application/json
|
|
72
|
-
- **Accept**: application/json
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
### HTTP response details
|
|
76
|
-
| Status code | Description | Response headers |
|
|
77
|
-
|-------------|-------------|------------------|
|
|
78
|
-
|**200** | OK | - |
|
|
79
|
-
|**0** | Default error response | - |
|
|
80
|
-
|
|
81
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
82
|
-
|
|
83
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone**
|
|
84
|
-
> PassportAuthEnterpriseChangePhoneResponse passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone(passportAuthEnterpriseChangePhoneRequest)
|
|
85
|
-
|
|
86
|
-
已登录用户更换手机号
|
|
87
|
-
|
|
88
|
-
### Example
|
|
89
|
-
|
|
90
|
-
```typescript
|
|
91
|
-
import {
|
|
92
|
-
PassportAuthEnterpriseServiceApi,
|
|
93
|
-
Configuration,
|
|
94
|
-
PassportAuthEnterpriseChangePhoneRequest
|
|
95
|
-
} from '@cherryin/api-client';
|
|
96
|
-
|
|
97
|
-
const configuration = new Configuration();
|
|
98
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
99
|
-
|
|
100
|
-
let passportAuthEnterpriseChangePhoneRequest: PassportAuthEnterpriseChangePhoneRequest; //
|
|
101
|
-
|
|
102
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseChangePhone(
|
|
103
|
-
passportAuthEnterpriseChangePhoneRequest
|
|
104
|
-
);
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### Parameters
|
|
108
|
-
|
|
109
|
-
|Name | Type | Description | Notes|
|
|
110
|
-
|------------- | ------------- | ------------- | -------------|
|
|
111
|
-
| **passportAuthEnterpriseChangePhoneRequest** | **PassportAuthEnterpriseChangePhoneRequest**| | |
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### Return type
|
|
115
|
-
|
|
116
|
-
**PassportAuthEnterpriseChangePhoneResponse**
|
|
117
|
-
|
|
118
|
-
### Authorization
|
|
119
|
-
|
|
120
|
-
No authorization required
|
|
121
|
-
|
|
122
|
-
### HTTP request headers
|
|
123
|
-
|
|
124
|
-
- **Content-Type**: application/json
|
|
125
|
-
- **Accept**: application/json
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
### HTTP response details
|
|
129
|
-
| Status code | Description | Response headers |
|
|
130
|
-
|-------------|-------------|------------------|
|
|
131
|
-
|**200** | OK | - |
|
|
132
|
-
|**0** | Default error response | - |
|
|
133
|
-
|
|
134
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
135
|
-
|
|
136
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseDelete**
|
|
137
|
-
> PassportAuthEnterpriseDeleteResponse passportAuthEnterpriseServicePassportAuthEnterpriseDelete(passportAuthEnterpriseDeleteRequest)
|
|
138
|
-
|
|
139
|
-
请求删除用户
|
|
140
|
-
|
|
141
|
-
### Example
|
|
142
|
-
|
|
143
|
-
```typescript
|
|
144
|
-
import {
|
|
145
|
-
PassportAuthEnterpriseServiceApi,
|
|
146
|
-
Configuration,
|
|
147
|
-
PassportAuthEnterpriseDeleteRequest
|
|
148
|
-
} from '@cherryin/api-client';
|
|
149
|
-
|
|
150
|
-
const configuration = new Configuration();
|
|
151
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
152
|
-
|
|
153
|
-
let passportAuthEnterpriseDeleteRequest: PassportAuthEnterpriseDeleteRequest; //
|
|
154
|
-
|
|
155
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseDelete(
|
|
156
|
-
passportAuthEnterpriseDeleteRequest
|
|
157
|
-
);
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### Parameters
|
|
161
|
-
|
|
162
|
-
|Name | Type | Description | Notes|
|
|
163
|
-
|------------- | ------------- | ------------- | -------------|
|
|
164
|
-
| **passportAuthEnterpriseDeleteRequest** | **PassportAuthEnterpriseDeleteRequest**| | |
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
### Return type
|
|
168
|
-
|
|
169
|
-
**PassportAuthEnterpriseDeleteResponse**
|
|
170
|
-
|
|
171
|
-
### Authorization
|
|
172
|
-
|
|
173
|
-
No authorization required
|
|
174
|
-
|
|
175
|
-
### HTTP request headers
|
|
176
|
-
|
|
177
|
-
- **Content-Type**: application/json
|
|
178
|
-
- **Accept**: application/json
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
### HTTP response details
|
|
182
|
-
| Status code | Description | Response headers |
|
|
183
|
-
|-------------|-------------|------------------|
|
|
184
|
-
|**200** | OK | - |
|
|
185
|
-
|**0** | Default error response | - |
|
|
186
|
-
|
|
187
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
188
|
-
|
|
189
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseGetSession**
|
|
190
|
-
> PassportAuthEnterpriseGetSessionResponse passportAuthEnterpriseServicePassportAuthEnterpriseGetSession()
|
|
191
|
-
|
|
192
|
-
获取当前会话信息
|
|
193
|
-
|
|
194
|
-
### Example
|
|
195
|
-
|
|
196
|
-
```typescript
|
|
197
|
-
import {
|
|
198
|
-
PassportAuthEnterpriseServiceApi,
|
|
199
|
-
Configuration
|
|
200
|
-
} from '@cherryin/api-client';
|
|
201
|
-
|
|
202
|
-
const configuration = new Configuration();
|
|
203
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
204
|
-
|
|
205
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseGetSession();
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### Parameters
|
|
209
|
-
This endpoint does not have any parameters.
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
### Return type
|
|
213
|
-
|
|
214
|
-
**PassportAuthEnterpriseGetSessionResponse**
|
|
215
|
-
|
|
216
|
-
### Authorization
|
|
217
|
-
|
|
218
|
-
No authorization required
|
|
219
|
-
|
|
220
|
-
### HTTP request headers
|
|
221
|
-
|
|
222
|
-
- **Content-Type**: Not defined
|
|
223
|
-
- **Accept**: application/json
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
### HTTP response details
|
|
227
|
-
| Status code | Description | Response headers |
|
|
228
|
-
|-------------|-------------|------------------|
|
|
229
|
-
|**200** | OK | - |
|
|
230
|
-
|**0** | Default error response | - |
|
|
231
|
-
|
|
232
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
233
|
-
|
|
234
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet**
|
|
235
|
-
> PassportAuthEnterpriseInfoGetResponse passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet()
|
|
236
|
-
|
|
237
|
-
获取用户信息
|
|
238
|
-
|
|
239
|
-
### Example
|
|
240
|
-
|
|
241
|
-
```typescript
|
|
242
|
-
import {
|
|
243
|
-
PassportAuthEnterpriseServiceApi,
|
|
244
|
-
Configuration
|
|
245
|
-
} from '@cherryin/api-client';
|
|
246
|
-
|
|
247
|
-
const configuration = new Configuration();
|
|
248
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
249
|
-
|
|
250
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseInfoGet();
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
### Parameters
|
|
254
|
-
This endpoint does not have any parameters.
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
### Return type
|
|
258
|
-
|
|
259
|
-
**PassportAuthEnterpriseInfoGetResponse**
|
|
260
|
-
|
|
261
|
-
### Authorization
|
|
262
|
-
|
|
263
|
-
No authorization required
|
|
264
|
-
|
|
265
|
-
### HTTP request headers
|
|
266
|
-
|
|
267
|
-
- **Content-Type**: Not defined
|
|
268
|
-
- **Accept**: application/json
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
### HTTP response details
|
|
272
|
-
| Status code | Description | Response headers |
|
|
273
|
-
|-------------|-------------|------------------|
|
|
274
|
-
|**200** | OK | - |
|
|
275
|
-
|**0** | Default error response | - |
|
|
276
|
-
|
|
277
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
278
|
-
|
|
279
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseListSessions**
|
|
280
|
-
> PassportAuthEnterpriseListSessionsResponse passportAuthEnterpriseServicePassportAuthEnterpriseListSessions()
|
|
281
|
-
|
|
282
|
-
获取当前用户的所有会话列表
|
|
283
|
-
|
|
284
|
-
### Example
|
|
285
|
-
|
|
286
|
-
```typescript
|
|
287
|
-
import {
|
|
288
|
-
PassportAuthEnterpriseServiceApi,
|
|
289
|
-
Configuration
|
|
290
|
-
} from '@cherryin/api-client';
|
|
291
|
-
|
|
292
|
-
const configuration = new Configuration();
|
|
293
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
294
|
-
|
|
295
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseListSessions();
|
|
296
|
-
```
|
|
297
|
-
|
|
298
|
-
### Parameters
|
|
299
|
-
This endpoint does not have any parameters.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
### Return type
|
|
303
|
-
|
|
304
|
-
**PassportAuthEnterpriseListSessionsResponse**
|
|
305
|
-
|
|
306
|
-
### Authorization
|
|
307
|
-
|
|
308
|
-
No authorization required
|
|
309
|
-
|
|
310
|
-
### HTTP request headers
|
|
311
|
-
|
|
312
|
-
- **Content-Type**: Not defined
|
|
313
|
-
- **Accept**: application/json
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
### HTTP response details
|
|
317
|
-
| Status code | Description | Response headers |
|
|
318
|
-
|-------------|-------------|------------------|
|
|
319
|
-
|**200** | OK | - |
|
|
320
|
-
|**0** | Default error response | - |
|
|
321
|
-
|
|
322
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
323
|
-
|
|
324
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload**
|
|
325
|
-
> PassportAuthEnterpriseMaterialUploadResponse passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload(passportAuthEnterpriseMaterialUploadRequest)
|
|
326
|
-
|
|
327
|
-
上传企业认证材料
|
|
328
|
-
|
|
329
|
-
### Example
|
|
330
|
-
|
|
331
|
-
```typescript
|
|
332
|
-
import {
|
|
333
|
-
PassportAuthEnterpriseServiceApi,
|
|
334
|
-
Configuration,
|
|
335
|
-
PassportAuthEnterpriseMaterialUploadRequest
|
|
336
|
-
} from '@cherryin/api-client';
|
|
337
|
-
|
|
338
|
-
const configuration = new Configuration();
|
|
339
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
340
|
-
|
|
341
|
-
let passportAuthEnterpriseMaterialUploadRequest: PassportAuthEnterpriseMaterialUploadRequest; //
|
|
342
|
-
|
|
343
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialUpload(
|
|
344
|
-
passportAuthEnterpriseMaterialUploadRequest
|
|
345
|
-
);
|
|
346
|
-
```
|
|
347
|
-
|
|
348
|
-
### Parameters
|
|
349
|
-
|
|
350
|
-
|Name | Type | Description | Notes|
|
|
351
|
-
|------------- | ------------- | ------------- | -------------|
|
|
352
|
-
| **passportAuthEnterpriseMaterialUploadRequest** | **PassportAuthEnterpriseMaterialUploadRequest**| | |
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
### Return type
|
|
356
|
-
|
|
357
|
-
**PassportAuthEnterpriseMaterialUploadResponse**
|
|
358
|
-
|
|
359
|
-
### Authorization
|
|
360
|
-
|
|
361
|
-
No authorization required
|
|
362
|
-
|
|
363
|
-
### HTTP request headers
|
|
364
|
-
|
|
365
|
-
- **Content-Type**: application/json
|
|
366
|
-
- **Accept**: application/json
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
### HTTP response details
|
|
370
|
-
| Status code | Description | Response headers |
|
|
371
|
-
|-------------|-------------|------------------|
|
|
372
|
-
|**200** | OK | - |
|
|
373
|
-
|**0** | Default error response | - |
|
|
374
|
-
|
|
375
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
376
|
-
|
|
377
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState**
|
|
378
|
-
> PassportAuthEnterpriseMaterialVerifyStateResponse passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(body)
|
|
379
|
-
|
|
380
|
-
获取企业认证材料审核状态
|
|
381
|
-
|
|
382
|
-
### Example
|
|
383
|
-
|
|
384
|
-
```typescript
|
|
385
|
-
import {
|
|
386
|
-
PassportAuthEnterpriseServiceApi,
|
|
387
|
-
Configuration
|
|
388
|
-
} from '@cherryin/api-client';
|
|
389
|
-
|
|
390
|
-
const configuration = new Configuration();
|
|
391
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
392
|
-
|
|
393
|
-
let body: object; //
|
|
394
|
-
|
|
395
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseMaterialVerifyState(
|
|
396
|
-
body
|
|
397
|
-
);
|
|
398
|
-
```
|
|
399
|
-
|
|
400
|
-
### Parameters
|
|
401
|
-
|
|
402
|
-
|Name | Type | Description | Notes|
|
|
403
|
-
|------------- | ------------- | ------------- | -------------|
|
|
404
|
-
| **body** | **object**| | |
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
### Return type
|
|
408
|
-
|
|
409
|
-
**PassportAuthEnterpriseMaterialVerifyStateResponse**
|
|
410
|
-
|
|
411
|
-
### Authorization
|
|
412
|
-
|
|
413
|
-
No authorization required
|
|
414
|
-
|
|
415
|
-
### HTTP request headers
|
|
416
|
-
|
|
417
|
-
- **Content-Type**: application/json
|
|
418
|
-
- **Accept**: application/json
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
### HTTP response details
|
|
422
|
-
| Status code | Description | Response headers |
|
|
423
|
-
|-------------|-------------|------------------|
|
|
424
|
-
|**200** | OK | - |
|
|
425
|
-
|**0** | Default error response | - |
|
|
426
|
-
|
|
427
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
428
|
-
|
|
429
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken**
|
|
430
|
-
> PassportAuthEnterpriseRefreshTokenResponse passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken(passportAuthEnterpriseRefreshTokenRequest)
|
|
431
|
-
|
|
432
|
-
会话 token 刷新
|
|
433
|
-
|
|
434
|
-
### Example
|
|
435
|
-
|
|
436
|
-
```typescript
|
|
437
|
-
import {
|
|
438
|
-
PassportAuthEnterpriseServiceApi,
|
|
439
|
-
Configuration,
|
|
440
|
-
PassportAuthEnterpriseRefreshTokenRequest
|
|
441
|
-
} from '@cherryin/api-client';
|
|
442
|
-
|
|
443
|
-
const configuration = new Configuration();
|
|
444
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
445
|
-
|
|
446
|
-
let passportAuthEnterpriseRefreshTokenRequest: PassportAuthEnterpriseRefreshTokenRequest; //
|
|
447
|
-
|
|
448
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseRefreshToken(
|
|
449
|
-
passportAuthEnterpriseRefreshTokenRequest
|
|
450
|
-
);
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
### Parameters
|
|
454
|
-
|
|
455
|
-
|Name | Type | Description | Notes|
|
|
456
|
-
|------------- | ------------- | ------------- | -------------|
|
|
457
|
-
| **passportAuthEnterpriseRefreshTokenRequest** | **PassportAuthEnterpriseRefreshTokenRequest**| | |
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
### Return type
|
|
461
|
-
|
|
462
|
-
**PassportAuthEnterpriseRefreshTokenResponse**
|
|
463
|
-
|
|
464
|
-
### Authorization
|
|
465
|
-
|
|
466
|
-
No authorization required
|
|
467
|
-
|
|
468
|
-
### HTTP request headers
|
|
469
|
-
|
|
470
|
-
- **Content-Type**: application/json
|
|
471
|
-
- **Accept**: application/json
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
### HTTP response details
|
|
475
|
-
| Status code | Description | Response headers |
|
|
476
|
-
|-------------|-------------|------------------|
|
|
477
|
-
|**200** | OK | - |
|
|
478
|
-
|**0** | Default error response | - |
|
|
479
|
-
|
|
480
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
481
|
-
|
|
482
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword**
|
|
483
|
-
> PassportAuthEnterpriseResetPasswordResponse passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword(passportAuthEnterpriseResetPasswordRequest)
|
|
484
|
-
|
|
485
|
-
已登录用户重置密码
|
|
486
|
-
|
|
487
|
-
### Example
|
|
488
|
-
|
|
489
|
-
```typescript
|
|
490
|
-
import {
|
|
491
|
-
PassportAuthEnterpriseServiceApi,
|
|
492
|
-
Configuration,
|
|
493
|
-
PassportAuthEnterpriseResetPasswordRequest
|
|
494
|
-
} from '@cherryin/api-client';
|
|
495
|
-
|
|
496
|
-
const configuration = new Configuration();
|
|
497
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
498
|
-
|
|
499
|
-
let passportAuthEnterpriseResetPasswordRequest: PassportAuthEnterpriseResetPasswordRequest; //
|
|
500
|
-
|
|
501
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword(
|
|
502
|
-
passportAuthEnterpriseResetPasswordRequest
|
|
503
|
-
);
|
|
504
|
-
```
|
|
505
|
-
|
|
506
|
-
### Parameters
|
|
507
|
-
|
|
508
|
-
|Name | Type | Description | Notes|
|
|
509
|
-
|------------- | ------------- | ------------- | -------------|
|
|
510
|
-
| **passportAuthEnterpriseResetPasswordRequest** | **PassportAuthEnterpriseResetPasswordRequest**| | |
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
### Return type
|
|
514
|
-
|
|
515
|
-
**PassportAuthEnterpriseResetPasswordResponse**
|
|
516
|
-
|
|
517
|
-
### Authorization
|
|
518
|
-
|
|
519
|
-
No authorization required
|
|
520
|
-
|
|
521
|
-
### HTTP request headers
|
|
522
|
-
|
|
523
|
-
- **Content-Type**: application/json
|
|
524
|
-
- **Accept**: application/json
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
### HTTP response details
|
|
528
|
-
| Status code | Description | Response headers |
|
|
529
|
-
|-------------|-------------|------------------|
|
|
530
|
-
|**200** | OK | - |
|
|
531
|
-
|**0** | Default error response | - |
|
|
532
|
-
|
|
533
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
534
|
-
|
|
535
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions**
|
|
536
|
-
> PassportAuthEnterpriseRevokeOtherSessionsResponse passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions(body)
|
|
537
|
-
|
|
538
|
-
注销其他会话
|
|
539
|
-
|
|
540
|
-
### Example
|
|
541
|
-
|
|
542
|
-
```typescript
|
|
543
|
-
import {
|
|
544
|
-
PassportAuthEnterpriseServiceApi,
|
|
545
|
-
Configuration
|
|
546
|
-
} from '@cherryin/api-client';
|
|
547
|
-
|
|
548
|
-
const configuration = new Configuration();
|
|
549
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
550
|
-
|
|
551
|
-
let body: object; //
|
|
552
|
-
|
|
553
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions(
|
|
554
|
-
body
|
|
555
|
-
);
|
|
556
|
-
```
|
|
557
|
-
|
|
558
|
-
### Parameters
|
|
559
|
-
|
|
560
|
-
|Name | Type | Description | Notes|
|
|
561
|
-
|------------- | ------------- | ------------- | -------------|
|
|
562
|
-
| **body** | **object**| | |
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
### Return type
|
|
566
|
-
|
|
567
|
-
**PassportAuthEnterpriseRevokeOtherSessionsResponse**
|
|
568
|
-
|
|
569
|
-
### Authorization
|
|
570
|
-
|
|
571
|
-
No authorization required
|
|
572
|
-
|
|
573
|
-
### HTTP request headers
|
|
574
|
-
|
|
575
|
-
- **Content-Type**: application/json
|
|
576
|
-
- **Accept**: application/json
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
### HTTP response details
|
|
580
|
-
| Status code | Description | Response headers |
|
|
581
|
-
|-------------|-------------|------------------|
|
|
582
|
-
|**200** | OK | - |
|
|
583
|
-
|**0** | Default error response | - |
|
|
584
|
-
|
|
585
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
586
|
-
|
|
587
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession**
|
|
588
|
-
> PassportAuthEnterpriseRevokeSessionResponse passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession(passportAuthEnterpriseRevokeSessionRequest)
|
|
589
|
-
|
|
590
|
-
注销指定会话
|
|
591
|
-
|
|
592
|
-
### Example
|
|
593
|
-
|
|
594
|
-
```typescript
|
|
595
|
-
import {
|
|
596
|
-
PassportAuthEnterpriseServiceApi,
|
|
597
|
-
Configuration,
|
|
598
|
-
PassportAuthEnterpriseRevokeSessionRequest
|
|
599
|
-
} from '@cherryin/api-client';
|
|
600
|
-
|
|
601
|
-
const configuration = new Configuration();
|
|
602
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
603
|
-
|
|
604
|
-
let passportAuthEnterpriseRevokeSessionRequest: PassportAuthEnterpriseRevokeSessionRequest; //
|
|
605
|
-
|
|
606
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession(
|
|
607
|
-
passportAuthEnterpriseRevokeSessionRequest
|
|
608
|
-
);
|
|
609
|
-
```
|
|
610
|
-
|
|
611
|
-
### Parameters
|
|
612
|
-
|
|
613
|
-
|Name | Type | Description | Notes|
|
|
614
|
-
|------------- | ------------- | ------------- | -------------|
|
|
615
|
-
| **passportAuthEnterpriseRevokeSessionRequest** | **PassportAuthEnterpriseRevokeSessionRequest**| | |
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
### Return type
|
|
619
|
-
|
|
620
|
-
**PassportAuthEnterpriseRevokeSessionResponse**
|
|
621
|
-
|
|
622
|
-
### Authorization
|
|
623
|
-
|
|
624
|
-
No authorization required
|
|
625
|
-
|
|
626
|
-
### HTTP request headers
|
|
627
|
-
|
|
628
|
-
- **Content-Type**: application/json
|
|
629
|
-
- **Accept**: application/json
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
### HTTP response details
|
|
633
|
-
| Status code | Description | Response headers |
|
|
634
|
-
|-------------|-------------|------------------|
|
|
635
|
-
|**200** | OK | - |
|
|
636
|
-
|**0** | Default error response | - |
|
|
637
|
-
|
|
638
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
639
|
-
|
|
640
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions**
|
|
641
|
-
> PassportAuthEnterpriseRevokeSessionsResponse passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions(body)
|
|
642
|
-
|
|
643
|
-
注销所有会话
|
|
644
|
-
|
|
645
|
-
### Example
|
|
646
|
-
|
|
647
|
-
```typescript
|
|
648
|
-
import {
|
|
649
|
-
PassportAuthEnterpriseServiceApi,
|
|
650
|
-
Configuration
|
|
651
|
-
} from '@cherryin/api-client';
|
|
652
|
-
|
|
653
|
-
const configuration = new Configuration();
|
|
654
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
655
|
-
|
|
656
|
-
let body: object; //
|
|
657
|
-
|
|
658
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions(
|
|
659
|
-
body
|
|
660
|
-
);
|
|
661
|
-
```
|
|
662
|
-
|
|
663
|
-
### Parameters
|
|
664
|
-
|
|
665
|
-
|Name | Type | Description | Notes|
|
|
666
|
-
|------------- | ------------- | ------------- | -------------|
|
|
667
|
-
| **body** | **object**| | |
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
### Return type
|
|
671
|
-
|
|
672
|
-
**PassportAuthEnterpriseRevokeSessionsResponse**
|
|
673
|
-
|
|
674
|
-
### Authorization
|
|
675
|
-
|
|
676
|
-
No authorization required
|
|
677
|
-
|
|
678
|
-
### HTTP request headers
|
|
679
|
-
|
|
680
|
-
- **Content-Type**: application/json
|
|
681
|
-
- **Accept**: application/json
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
### HTTP response details
|
|
685
|
-
| Status code | Description | Response headers |
|
|
686
|
-
|-------------|-------------|------------------|
|
|
687
|
-
|**200** | OK | - |
|
|
688
|
-
|**0** | Default error response | - |
|
|
689
|
-
|
|
690
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
691
|
-
|
|
692
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseSignOut**
|
|
693
|
-
> PassportAuthEnterpriseSignOutResponse passportAuthEnterpriseServicePassportAuthEnterpriseSignOut(passportAuthEnterpriseSignOutRequest)
|
|
694
|
-
|
|
695
|
-
用户登出
|
|
696
|
-
|
|
697
|
-
### Example
|
|
698
|
-
|
|
699
|
-
```typescript
|
|
700
|
-
import {
|
|
701
|
-
PassportAuthEnterpriseServiceApi,
|
|
702
|
-
Configuration,
|
|
703
|
-
PassportAuthEnterpriseSignOutRequest
|
|
704
|
-
} from '@cherryin/api-client';
|
|
705
|
-
|
|
706
|
-
const configuration = new Configuration();
|
|
707
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
708
|
-
|
|
709
|
-
let passportAuthEnterpriseSignOutRequest: PassportAuthEnterpriseSignOutRequest; //
|
|
710
|
-
|
|
711
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseSignOut(
|
|
712
|
-
passportAuthEnterpriseSignOutRequest
|
|
713
|
-
);
|
|
714
|
-
```
|
|
715
|
-
|
|
716
|
-
### Parameters
|
|
717
|
-
|
|
718
|
-
|Name | Type | Description | Notes|
|
|
719
|
-
|------------- | ------------- | ------------- | -------------|
|
|
720
|
-
| **passportAuthEnterpriseSignOutRequest** | **PassportAuthEnterpriseSignOutRequest**| | |
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
### Return type
|
|
724
|
-
|
|
725
|
-
**PassportAuthEnterpriseSignOutResponse**
|
|
726
|
-
|
|
727
|
-
### Authorization
|
|
728
|
-
|
|
729
|
-
No authorization required
|
|
730
|
-
|
|
731
|
-
### HTTP request headers
|
|
732
|
-
|
|
733
|
-
- **Content-Type**: application/json
|
|
734
|
-
- **Accept**: application/json
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
### HTTP response details
|
|
738
|
-
| Status code | Description | Response headers |
|
|
739
|
-
|-------------|-------------|------------------|
|
|
740
|
-
|**200** | OK | - |
|
|
741
|
-
|**0** | Default error response | - |
|
|
742
|
-
|
|
743
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
744
|
-
|
|
745
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo**
|
|
746
|
-
> PassportAuthEnterpriseUpdateInfoResponse passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(passportAuthEnterpriseUpdateInfoRequest)
|
|
747
|
-
|
|
748
|
-
更新用户信息
|
|
749
|
-
|
|
750
|
-
### Example
|
|
751
|
-
|
|
752
|
-
```typescript
|
|
753
|
-
import {
|
|
754
|
-
PassportAuthEnterpriseServiceApi,
|
|
755
|
-
Configuration,
|
|
756
|
-
PassportAuthEnterpriseUpdateInfoRequest
|
|
757
|
-
} from '@cherryin/api-client';
|
|
758
|
-
|
|
759
|
-
const configuration = new Configuration();
|
|
760
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
761
|
-
|
|
762
|
-
let passportAuthEnterpriseUpdateInfoRequest: PassportAuthEnterpriseUpdateInfoRequest; //
|
|
763
|
-
|
|
764
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo(
|
|
765
|
-
passportAuthEnterpriseUpdateInfoRequest
|
|
766
|
-
);
|
|
767
|
-
```
|
|
768
|
-
|
|
769
|
-
### Parameters
|
|
770
|
-
|
|
771
|
-
|Name | Type | Description | Notes|
|
|
772
|
-
|------------- | ------------- | ------------- | -------------|
|
|
773
|
-
| **passportAuthEnterpriseUpdateInfoRequest** | **PassportAuthEnterpriseUpdateInfoRequest**| | |
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
### Return type
|
|
777
|
-
|
|
778
|
-
**PassportAuthEnterpriseUpdateInfoResponse**
|
|
779
|
-
|
|
780
|
-
### Authorization
|
|
781
|
-
|
|
782
|
-
No authorization required
|
|
783
|
-
|
|
784
|
-
### HTTP request headers
|
|
785
|
-
|
|
786
|
-
- **Content-Type**: application/json
|
|
787
|
-
- **Accept**: application/json
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
### HTTP response details
|
|
791
|
-
| Status code | Description | Response headers |
|
|
792
|
-
|-------------|-------------|------------------|
|
|
793
|
-
|**200** | OK | - |
|
|
794
|
-
|**0** | Default error response | - |
|
|
795
|
-
|
|
796
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
797
|
-
|
|
798
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail**
|
|
799
|
-
> PassportAuthEnterpriseVerifyEmailResponse passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(passportAuthEnterpriseVerifyEmailRequest)
|
|
800
|
-
|
|
801
|
-
已登录用户验证邮箱
|
|
802
|
-
|
|
803
|
-
### Example
|
|
804
|
-
|
|
805
|
-
```typescript
|
|
806
|
-
import {
|
|
807
|
-
PassportAuthEnterpriseServiceApi,
|
|
808
|
-
Configuration,
|
|
809
|
-
PassportAuthEnterpriseVerifyEmailRequest
|
|
810
|
-
} from '@cherryin/api-client';
|
|
811
|
-
|
|
812
|
-
const configuration = new Configuration();
|
|
813
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
814
|
-
|
|
815
|
-
let passportAuthEnterpriseVerifyEmailRequest: PassportAuthEnterpriseVerifyEmailRequest; //
|
|
816
|
-
|
|
817
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail(
|
|
818
|
-
passportAuthEnterpriseVerifyEmailRequest
|
|
819
|
-
);
|
|
820
|
-
```
|
|
821
|
-
|
|
822
|
-
### Parameters
|
|
823
|
-
|
|
824
|
-
|Name | Type | Description | Notes|
|
|
825
|
-
|------------- | ------------- | ------------- | -------------|
|
|
826
|
-
| **passportAuthEnterpriseVerifyEmailRequest** | **PassportAuthEnterpriseVerifyEmailRequest**| | |
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
### Return type
|
|
830
|
-
|
|
831
|
-
**PassportAuthEnterpriseVerifyEmailResponse**
|
|
832
|
-
|
|
833
|
-
### Authorization
|
|
834
|
-
|
|
835
|
-
No authorization required
|
|
836
|
-
|
|
837
|
-
### HTTP request headers
|
|
838
|
-
|
|
839
|
-
- **Content-Type**: application/json
|
|
840
|
-
- **Accept**: application/json
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
### HTTP response details
|
|
844
|
-
| Status code | Description | Response headers |
|
|
845
|
-
|-------------|-------------|------------------|
|
|
846
|
-
|**200** | OK | - |
|
|
847
|
-
|**0** | Default error response | - |
|
|
848
|
-
|
|
849
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
850
|
-
|
|
851
|
-
# **passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone**
|
|
852
|
-
> PassportAuthEnterpriseVerifyPhoneResponse passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone()
|
|
853
|
-
|
|
854
|
-
已登录用户验证手机号
|
|
855
|
-
|
|
856
|
-
### Example
|
|
857
|
-
|
|
858
|
-
```typescript
|
|
859
|
-
import {
|
|
860
|
-
PassportAuthEnterpriseServiceApi,
|
|
861
|
-
Configuration
|
|
862
|
-
} from '@cherryin/api-client';
|
|
863
|
-
|
|
864
|
-
const configuration = new Configuration();
|
|
865
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
866
|
-
|
|
867
|
-
let phone: string; // (optional) (default to undefined)
|
|
868
|
-
let verifyCode: string; // (optional) (default to undefined)
|
|
869
|
-
|
|
870
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportAuthEnterpriseVerifyPhone(
|
|
871
|
-
phone,
|
|
872
|
-
verifyCode
|
|
873
|
-
);
|
|
874
|
-
```
|
|
875
|
-
|
|
876
|
-
### Parameters
|
|
877
|
-
|
|
878
|
-
|Name | Type | Description | Notes|
|
|
879
|
-
|------------- | ------------- | ------------- | -------------|
|
|
880
|
-
| **phone** | [**string**] | | (optional) defaults to undefined|
|
|
881
|
-
| **verifyCode** | [**string**] | | (optional) defaults to undefined|
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
### Return type
|
|
885
|
-
|
|
886
|
-
**PassportAuthEnterpriseVerifyPhoneResponse**
|
|
887
|
-
|
|
888
|
-
### Authorization
|
|
889
|
-
|
|
890
|
-
No authorization required
|
|
891
|
-
|
|
892
|
-
### HTTP request headers
|
|
893
|
-
|
|
894
|
-
- **Content-Type**: Not defined
|
|
895
|
-
- **Accept**: application/json
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
### HTTP response details
|
|
899
|
-
| Status code | Description | Response headers |
|
|
900
|
-
|-------------|-------------|------------------|
|
|
901
|
-
|**200** | OK | - |
|
|
902
|
-
|**0** | Default error response | - |
|
|
903
|
-
|
|
904
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
905
|
-
|
|
906
|
-
# **passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail**
|
|
907
|
-
> PassportEnterpriseSendVerificationEmailResponse passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail(passportEnterpriseSendVerificationEmailRequest)
|
|
908
|
-
|
|
909
|
-
登录/注册流程中发送验证码
|
|
910
|
-
|
|
911
|
-
### Example
|
|
912
|
-
|
|
913
|
-
```typescript
|
|
914
|
-
import {
|
|
915
|
-
PassportAuthEnterpriseServiceApi,
|
|
916
|
-
Configuration,
|
|
917
|
-
PassportEnterpriseSendVerificationEmailRequest
|
|
918
|
-
} from '@cherryin/api-client';
|
|
919
|
-
|
|
920
|
-
const configuration = new Configuration();
|
|
921
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
922
|
-
|
|
923
|
-
let passportEnterpriseSendVerificationEmailRequest: PassportEnterpriseSendVerificationEmailRequest; //
|
|
924
|
-
|
|
925
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportEnterpriseSendVerificationEmail(
|
|
926
|
-
passportEnterpriseSendVerificationEmailRequest
|
|
927
|
-
);
|
|
928
|
-
```
|
|
929
|
-
|
|
930
|
-
### Parameters
|
|
931
|
-
|
|
932
|
-
|Name | Type | Description | Notes|
|
|
933
|
-
|------------- | ------------- | ------------- | -------------|
|
|
934
|
-
| **passportEnterpriseSendVerificationEmailRequest** | **PassportEnterpriseSendVerificationEmailRequest**| | |
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
### Return type
|
|
938
|
-
|
|
939
|
-
**PassportEnterpriseSendVerificationEmailResponse**
|
|
940
|
-
|
|
941
|
-
### Authorization
|
|
942
|
-
|
|
943
|
-
No authorization required
|
|
944
|
-
|
|
945
|
-
### HTTP request headers
|
|
946
|
-
|
|
947
|
-
- **Content-Type**: application/json
|
|
948
|
-
- **Accept**: application/json
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
### HTTP response details
|
|
952
|
-
| Status code | Description | Response headers |
|
|
953
|
-
|-------------|-------------|------------------|
|
|
954
|
-
|**200** | OK | - |
|
|
955
|
-
|**0** | Default error response | - |
|
|
956
|
-
|
|
957
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
958
|
-
|
|
959
|
-
# **passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone**
|
|
960
|
-
> PassportEnterpriseSendVerificationPhoneResponse passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone(passportEnterpriseSendVerificationPhoneRequest)
|
|
961
|
-
|
|
962
|
-
登录/注册流程中发送验证码
|
|
963
|
-
|
|
964
|
-
### Example
|
|
965
|
-
|
|
966
|
-
```typescript
|
|
967
|
-
import {
|
|
968
|
-
PassportAuthEnterpriseServiceApi,
|
|
969
|
-
Configuration,
|
|
970
|
-
PassportEnterpriseSendVerificationPhoneRequest
|
|
971
|
-
} from '@cherryin/api-client';
|
|
972
|
-
|
|
973
|
-
const configuration = new Configuration();
|
|
974
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
975
|
-
|
|
976
|
-
let passportEnterpriseSendVerificationPhoneRequest: PassportEnterpriseSendVerificationPhoneRequest; //
|
|
977
|
-
|
|
978
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportEnterpriseSendVerificationPhone(
|
|
979
|
-
passportEnterpriseSendVerificationPhoneRequest
|
|
980
|
-
);
|
|
981
|
-
```
|
|
982
|
-
|
|
983
|
-
### Parameters
|
|
984
|
-
|
|
985
|
-
|Name | Type | Description | Notes|
|
|
986
|
-
|------------- | ------------- | ------------- | -------------|
|
|
987
|
-
| **passportEnterpriseSendVerificationPhoneRequest** | **PassportEnterpriseSendVerificationPhoneRequest**| | |
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
### Return type
|
|
991
|
-
|
|
992
|
-
**PassportEnterpriseSendVerificationPhoneResponse**
|
|
993
|
-
|
|
994
|
-
### Authorization
|
|
995
|
-
|
|
996
|
-
No authorization required
|
|
997
|
-
|
|
998
|
-
### HTTP request headers
|
|
999
|
-
|
|
1000
|
-
- **Content-Type**: application/json
|
|
1001
|
-
- **Accept**: application/json
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
### HTTP response details
|
|
1005
|
-
| Status code | Description | Response headers |
|
|
1006
|
-
|-------------|-------------|------------------|
|
|
1007
|
-
|**200** | OK | - |
|
|
1008
|
-
|**0** | Default error response | - |
|
|
1009
|
-
|
|
1010
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1011
|
-
|
|
1012
|
-
# **passportAuthEnterpriseServicePassportEnterpriseSignInEmail**
|
|
1013
|
-
> PassportEnterpriseSignInEmailResponse passportAuthEnterpriseServicePassportEnterpriseSignInEmail(passportEnterpriseSignInEmailRequest)
|
|
1014
|
-
|
|
1015
|
-
邮箱登录
|
|
1016
|
-
|
|
1017
|
-
### Example
|
|
1018
|
-
|
|
1019
|
-
```typescript
|
|
1020
|
-
import {
|
|
1021
|
-
PassportAuthEnterpriseServiceApi,
|
|
1022
|
-
Configuration,
|
|
1023
|
-
PassportEnterpriseSignInEmailRequest
|
|
1024
|
-
} from '@cherryin/api-client';
|
|
1025
|
-
|
|
1026
|
-
const configuration = new Configuration();
|
|
1027
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
1028
|
-
|
|
1029
|
-
let passportEnterpriseSignInEmailRequest: PassportEnterpriseSignInEmailRequest; //
|
|
1030
|
-
|
|
1031
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportEnterpriseSignInEmail(
|
|
1032
|
-
passportEnterpriseSignInEmailRequest
|
|
1033
|
-
);
|
|
1034
|
-
```
|
|
1035
|
-
|
|
1036
|
-
### Parameters
|
|
1037
|
-
|
|
1038
|
-
|Name | Type | Description | Notes|
|
|
1039
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1040
|
-
| **passportEnterpriseSignInEmailRequest** | **PassportEnterpriseSignInEmailRequest**| | |
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
### Return type
|
|
1044
|
-
|
|
1045
|
-
**PassportEnterpriseSignInEmailResponse**
|
|
1046
|
-
|
|
1047
|
-
### Authorization
|
|
1048
|
-
|
|
1049
|
-
No authorization required
|
|
1050
|
-
|
|
1051
|
-
### HTTP request headers
|
|
1052
|
-
|
|
1053
|
-
- **Content-Type**: application/json
|
|
1054
|
-
- **Accept**: application/json
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
### HTTP response details
|
|
1058
|
-
| Status code | Description | Response headers |
|
|
1059
|
-
|-------------|-------------|------------------|
|
|
1060
|
-
|**200** | OK | - |
|
|
1061
|
-
|**0** | Default error response | - |
|
|
1062
|
-
|
|
1063
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1064
|
-
|
|
1065
|
-
# **passportAuthEnterpriseServicePassportEnterpriseSignInPhone**
|
|
1066
|
-
> PassportEnterpriseSignInPhoneResponse passportAuthEnterpriseServicePassportEnterpriseSignInPhone(passportEnterpriseSignInPhoneRequest)
|
|
1067
|
-
|
|
1068
|
-
手机登录
|
|
1069
|
-
|
|
1070
|
-
### Example
|
|
1071
|
-
|
|
1072
|
-
```typescript
|
|
1073
|
-
import {
|
|
1074
|
-
PassportAuthEnterpriseServiceApi,
|
|
1075
|
-
Configuration,
|
|
1076
|
-
PassportEnterpriseSignInPhoneRequest
|
|
1077
|
-
} from '@cherryin/api-client';
|
|
1078
|
-
|
|
1079
|
-
const configuration = new Configuration();
|
|
1080
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
1081
|
-
|
|
1082
|
-
let passportEnterpriseSignInPhoneRequest: PassportEnterpriseSignInPhoneRequest; //
|
|
1083
|
-
|
|
1084
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportEnterpriseSignInPhone(
|
|
1085
|
-
passportEnterpriseSignInPhoneRequest
|
|
1086
|
-
);
|
|
1087
|
-
```
|
|
1088
|
-
|
|
1089
|
-
### Parameters
|
|
1090
|
-
|
|
1091
|
-
|Name | Type | Description | Notes|
|
|
1092
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1093
|
-
| **passportEnterpriseSignInPhoneRequest** | **PassportEnterpriseSignInPhoneRequest**| | |
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
### Return type
|
|
1097
|
-
|
|
1098
|
-
**PassportEnterpriseSignInPhoneResponse**
|
|
1099
|
-
|
|
1100
|
-
### Authorization
|
|
1101
|
-
|
|
1102
|
-
No authorization required
|
|
1103
|
-
|
|
1104
|
-
### HTTP request headers
|
|
1105
|
-
|
|
1106
|
-
- **Content-Type**: application/json
|
|
1107
|
-
- **Accept**: application/json
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
### HTTP response details
|
|
1111
|
-
| Status code | Description | Response headers |
|
|
1112
|
-
|-------------|-------------|------------------|
|
|
1113
|
-
|**200** | OK | - |
|
|
1114
|
-
|**0** | Default error response | - |
|
|
1115
|
-
|
|
1116
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1117
|
-
|
|
1118
|
-
# **passportAuthEnterpriseServicePassportEnterpriseSignUpEmail**
|
|
1119
|
-
> PassportEnterpriseSignUpEmailResponse passportAuthEnterpriseServicePassportEnterpriseSignUpEmail(passportEnterpriseSignUpEmailRequest)
|
|
1120
|
-
|
|
1121
|
-
邮箱注册
|
|
1122
|
-
|
|
1123
|
-
### Example
|
|
1124
|
-
|
|
1125
|
-
```typescript
|
|
1126
|
-
import {
|
|
1127
|
-
PassportAuthEnterpriseServiceApi,
|
|
1128
|
-
Configuration,
|
|
1129
|
-
PassportEnterpriseSignUpEmailRequest
|
|
1130
|
-
} from '@cherryin/api-client';
|
|
1131
|
-
|
|
1132
|
-
const configuration = new Configuration();
|
|
1133
|
-
const apiInstance = new PassportAuthEnterpriseServiceApi(configuration);
|
|
1134
|
-
|
|
1135
|
-
let passportEnterpriseSignUpEmailRequest: PassportEnterpriseSignUpEmailRequest; //
|
|
1136
|
-
|
|
1137
|
-
const { status, data } = await apiInstance.passportAuthEnterpriseServicePassportEnterpriseSignUpEmail(
|
|
1138
|
-
passportEnterpriseSignUpEmailRequest
|
|
1139
|
-
);
|
|
1140
|
-
```
|
|
1141
|
-
|
|
1142
|
-
### Parameters
|
|
1143
|
-
|
|
1144
|
-
|Name | Type | Description | Notes|
|
|
1145
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1146
|
-
| **passportEnterpriseSignUpEmailRequest** | **PassportEnterpriseSignUpEmailRequest**| | |
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
### Return type
|
|
1150
|
-
|
|
1151
|
-
**PassportEnterpriseSignUpEmailResponse**
|
|
1152
|
-
|
|
1153
|
-
### Authorization
|
|
1154
|
-
|
|
1155
|
-
No authorization required
|
|
1156
|
-
|
|
1157
|
-
### HTTP request headers
|
|
1158
|
-
|
|
1159
|
-
- **Content-Type**: application/json
|
|
1160
|
-
- **Accept**: application/json
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
### HTTP response details
|
|
1164
|
-
| Status code | Description | Response headers |
|
|
1165
|
-
|-------------|-------------|------------------|
|
|
1166
|
-
|**200** | OK | - |
|
|
1167
|
-
|**0** | Default error response | - |
|
|
1168
|
-
|
|
1169
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1170
|
-
|