@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
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
# Auth2AdminServiceApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**auth2AdminServiceAuthAdminChangePassword**](#auth2adminserviceauthadminchangepassword) | **POST** /admin/authed/change-password | |
|
|
8
|
+
|[**auth2AdminServiceAuthAdminGetSession**](#auth2adminserviceauthadmingetsession) | **GET** /admin/authed/get-session | |
|
|
9
|
+
|[**auth2AdminServiceAuthAdminListSessions**](#auth2adminserviceauthadminlistsessions) | **GET** /admin/authed/list-sessions | |
|
|
10
|
+
|[**auth2AdminServiceAuthAdminRevokeOtherSessions**](#auth2adminserviceauthadminrevokeothersessions) | **POST** /admin/authed/revoke-other-sessions | |
|
|
11
|
+
|[**auth2AdminServiceAuthAdminRevokeSession**](#auth2adminserviceauthadminrevokesession) | **POST** /admin/authed/revoke-session | |
|
|
12
|
+
|[**auth2AdminServiceAuthAdminRevokeSessions**](#auth2adminserviceauthadminrevokesessions) | **POST** /admin/authed/revoke-sessions | |
|
|
13
|
+
|[**auth2AdminServiceAuthAdminSignInEmail**](#auth2adminserviceauthadminsigninemail) | **POST** /admin/auth/sign-in/email | |
|
|
14
|
+
|[**auth2AdminServiceAuthAdminSignOut**](#auth2adminserviceauthadminsignout) | **POST** /admin/authed/sign-out | |
|
|
15
|
+
|[**auth2AdminServiceAuthAdminUpdateUser**](#auth2adminserviceauthadminupdateuser) | **POST** /admin/authed/update-user | |
|
|
16
|
+
|
|
17
|
+
# **auth2AdminServiceAuthAdminChangePassword**
|
|
18
|
+
> AuthAdminChangePasswordResponse auth2AdminServiceAuthAdminChangePassword(authAdminChangePasswordRequest)
|
|
19
|
+
|
|
20
|
+
============ 密码管理 ============
|
|
21
|
+
|
|
22
|
+
### Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import {
|
|
26
|
+
Auth2AdminServiceApi,
|
|
27
|
+
Configuration,
|
|
28
|
+
AuthAdminChangePasswordRequest
|
|
29
|
+
} from '@cherryin/api-client';
|
|
30
|
+
|
|
31
|
+
const configuration = new Configuration();
|
|
32
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
33
|
+
|
|
34
|
+
let authAdminChangePasswordRequest: AuthAdminChangePasswordRequest; //
|
|
35
|
+
|
|
36
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminChangePassword(
|
|
37
|
+
authAdminChangePasswordRequest
|
|
38
|
+
);
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Parameters
|
|
42
|
+
|
|
43
|
+
|Name | Type | Description | Notes|
|
|
44
|
+
|------------- | ------------- | ------------- | -------------|
|
|
45
|
+
| **authAdminChangePasswordRequest** | **AuthAdminChangePasswordRequest**| | |
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Return type
|
|
49
|
+
|
|
50
|
+
**AuthAdminChangePasswordResponse**
|
|
51
|
+
|
|
52
|
+
### Authorization
|
|
53
|
+
|
|
54
|
+
No authorization required
|
|
55
|
+
|
|
56
|
+
### HTTP request headers
|
|
57
|
+
|
|
58
|
+
- **Content-Type**: application/json
|
|
59
|
+
- **Accept**: application/json
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### HTTP response details
|
|
63
|
+
| Status code | Description | Response headers |
|
|
64
|
+
|-------------|-------------|------------------|
|
|
65
|
+
|**200** | OK | - |
|
|
66
|
+
|**0** | Default error response | - |
|
|
67
|
+
|
|
68
|
+
[[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)
|
|
69
|
+
|
|
70
|
+
# **auth2AdminServiceAuthAdminGetSession**
|
|
71
|
+
> AuthAdminGetSessionResponse auth2AdminServiceAuthAdminGetSession()
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Example
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
import {
|
|
78
|
+
Auth2AdminServiceApi,
|
|
79
|
+
Configuration
|
|
80
|
+
} from '@cherryin/api-client';
|
|
81
|
+
|
|
82
|
+
const configuration = new Configuration();
|
|
83
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
84
|
+
|
|
85
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminGetSession();
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Parameters
|
|
89
|
+
This endpoint does not have any parameters.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Return type
|
|
93
|
+
|
|
94
|
+
**AuthAdminGetSessionResponse**
|
|
95
|
+
|
|
96
|
+
### Authorization
|
|
97
|
+
|
|
98
|
+
No authorization required
|
|
99
|
+
|
|
100
|
+
### HTTP request headers
|
|
101
|
+
|
|
102
|
+
- **Content-Type**: Not defined
|
|
103
|
+
- **Accept**: application/json
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### HTTP response details
|
|
107
|
+
| Status code | Description | Response headers |
|
|
108
|
+
|-------------|-------------|------------------|
|
|
109
|
+
|**200** | OK | - |
|
|
110
|
+
|**0** | Default error response | - |
|
|
111
|
+
|
|
112
|
+
[[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)
|
|
113
|
+
|
|
114
|
+
# **auth2AdminServiceAuthAdminListSessions**
|
|
115
|
+
> AuthAdminListSessionsResponse auth2AdminServiceAuthAdminListSessions()
|
|
116
|
+
|
|
117
|
+
============ 会话管理 ============
|
|
118
|
+
|
|
119
|
+
### Example
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import {
|
|
123
|
+
Auth2AdminServiceApi,
|
|
124
|
+
Configuration
|
|
125
|
+
} from '@cherryin/api-client';
|
|
126
|
+
|
|
127
|
+
const configuration = new Configuration();
|
|
128
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
129
|
+
|
|
130
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminListSessions();
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Parameters
|
|
134
|
+
This endpoint does not have any parameters.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Return type
|
|
138
|
+
|
|
139
|
+
**AuthAdminListSessionsResponse**
|
|
140
|
+
|
|
141
|
+
### Authorization
|
|
142
|
+
|
|
143
|
+
No authorization required
|
|
144
|
+
|
|
145
|
+
### HTTP request headers
|
|
146
|
+
|
|
147
|
+
- **Content-Type**: Not defined
|
|
148
|
+
- **Accept**: application/json
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### HTTP response details
|
|
152
|
+
| Status code | Description | Response headers |
|
|
153
|
+
|-------------|-------------|------------------|
|
|
154
|
+
|**200** | OK | - |
|
|
155
|
+
|**0** | Default error response | - |
|
|
156
|
+
|
|
157
|
+
[[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)
|
|
158
|
+
|
|
159
|
+
# **auth2AdminServiceAuthAdminRevokeOtherSessions**
|
|
160
|
+
> AuthAdminRevokeOtherSessionsResponse auth2AdminServiceAuthAdminRevokeOtherSessions(body)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
### Example
|
|
164
|
+
|
|
165
|
+
```typescript
|
|
166
|
+
import {
|
|
167
|
+
Auth2AdminServiceApi,
|
|
168
|
+
Configuration
|
|
169
|
+
} from '@cherryin/api-client';
|
|
170
|
+
|
|
171
|
+
const configuration = new Configuration();
|
|
172
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
173
|
+
|
|
174
|
+
let body: object; //
|
|
175
|
+
|
|
176
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminRevokeOtherSessions(
|
|
177
|
+
body
|
|
178
|
+
);
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Parameters
|
|
182
|
+
|
|
183
|
+
|Name | Type | Description | Notes|
|
|
184
|
+
|------------- | ------------- | ------------- | -------------|
|
|
185
|
+
| **body** | **object**| | |
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Return type
|
|
189
|
+
|
|
190
|
+
**AuthAdminRevokeOtherSessionsResponse**
|
|
191
|
+
|
|
192
|
+
### Authorization
|
|
193
|
+
|
|
194
|
+
No authorization required
|
|
195
|
+
|
|
196
|
+
### HTTP request headers
|
|
197
|
+
|
|
198
|
+
- **Content-Type**: application/json
|
|
199
|
+
- **Accept**: application/json
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
### HTTP response details
|
|
203
|
+
| Status code | Description | Response headers |
|
|
204
|
+
|-------------|-------------|------------------|
|
|
205
|
+
|**200** | OK | - |
|
|
206
|
+
|**0** | Default error response | - |
|
|
207
|
+
|
|
208
|
+
[[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)
|
|
209
|
+
|
|
210
|
+
# **auth2AdminServiceAuthAdminRevokeSession**
|
|
211
|
+
> AuthAdminRevokeSessionResponse auth2AdminServiceAuthAdminRevokeSession(authAdminRevokeSessionRequest)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
### Example
|
|
215
|
+
|
|
216
|
+
```typescript
|
|
217
|
+
import {
|
|
218
|
+
Auth2AdminServiceApi,
|
|
219
|
+
Configuration,
|
|
220
|
+
AuthAdminRevokeSessionRequest
|
|
221
|
+
} from '@cherryin/api-client';
|
|
222
|
+
|
|
223
|
+
const configuration = new Configuration();
|
|
224
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
225
|
+
|
|
226
|
+
let authAdminRevokeSessionRequest: AuthAdminRevokeSessionRequest; //
|
|
227
|
+
|
|
228
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminRevokeSession(
|
|
229
|
+
authAdminRevokeSessionRequest
|
|
230
|
+
);
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### Parameters
|
|
234
|
+
|
|
235
|
+
|Name | Type | Description | Notes|
|
|
236
|
+
|------------- | ------------- | ------------- | -------------|
|
|
237
|
+
| **authAdminRevokeSessionRequest** | **AuthAdminRevokeSessionRequest**| | |
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
### Return type
|
|
241
|
+
|
|
242
|
+
**AuthAdminRevokeSessionResponse**
|
|
243
|
+
|
|
244
|
+
### Authorization
|
|
245
|
+
|
|
246
|
+
No authorization required
|
|
247
|
+
|
|
248
|
+
### HTTP request headers
|
|
249
|
+
|
|
250
|
+
- **Content-Type**: application/json
|
|
251
|
+
- **Accept**: application/json
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### HTTP response details
|
|
255
|
+
| Status code | Description | Response headers |
|
|
256
|
+
|-------------|-------------|------------------|
|
|
257
|
+
|**200** | OK | - |
|
|
258
|
+
|**0** | Default error response | - |
|
|
259
|
+
|
|
260
|
+
[[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)
|
|
261
|
+
|
|
262
|
+
# **auth2AdminServiceAuthAdminRevokeSessions**
|
|
263
|
+
> AuthAdminRevokeSessionsResponse auth2AdminServiceAuthAdminRevokeSessions(body)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### Example
|
|
267
|
+
|
|
268
|
+
```typescript
|
|
269
|
+
import {
|
|
270
|
+
Auth2AdminServiceApi,
|
|
271
|
+
Configuration
|
|
272
|
+
} from '@cherryin/api-client';
|
|
273
|
+
|
|
274
|
+
const configuration = new Configuration();
|
|
275
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
276
|
+
|
|
277
|
+
let body: object; //
|
|
278
|
+
|
|
279
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminRevokeSessions(
|
|
280
|
+
body
|
|
281
|
+
);
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### Parameters
|
|
285
|
+
|
|
286
|
+
|Name | Type | Description | Notes|
|
|
287
|
+
|------------- | ------------- | ------------- | -------------|
|
|
288
|
+
| **body** | **object**| | |
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
### Return type
|
|
292
|
+
|
|
293
|
+
**AuthAdminRevokeSessionsResponse**
|
|
294
|
+
|
|
295
|
+
### Authorization
|
|
296
|
+
|
|
297
|
+
No authorization required
|
|
298
|
+
|
|
299
|
+
### HTTP request headers
|
|
300
|
+
|
|
301
|
+
- **Content-Type**: application/json
|
|
302
|
+
- **Accept**: application/json
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
### HTTP response details
|
|
306
|
+
| Status code | Description | Response headers |
|
|
307
|
+
|-------------|-------------|------------------|
|
|
308
|
+
|**200** | OK | - |
|
|
309
|
+
|**0** | Default error response | - |
|
|
310
|
+
|
|
311
|
+
[[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)
|
|
312
|
+
|
|
313
|
+
# **auth2AdminServiceAuthAdminSignInEmail**
|
|
314
|
+
> AuthAdminSignInEmailResponse auth2AdminServiceAuthAdminSignInEmail(authAdminSignInEmailRequest)
|
|
315
|
+
|
|
316
|
+
============ 认证 ============
|
|
317
|
+
|
|
318
|
+
### Example
|
|
319
|
+
|
|
320
|
+
```typescript
|
|
321
|
+
import {
|
|
322
|
+
Auth2AdminServiceApi,
|
|
323
|
+
Configuration,
|
|
324
|
+
AuthAdminSignInEmailRequest
|
|
325
|
+
} from '@cherryin/api-client';
|
|
326
|
+
|
|
327
|
+
const configuration = new Configuration();
|
|
328
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
329
|
+
|
|
330
|
+
let authAdminSignInEmailRequest: AuthAdminSignInEmailRequest; //
|
|
331
|
+
|
|
332
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminSignInEmail(
|
|
333
|
+
authAdminSignInEmailRequest
|
|
334
|
+
);
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Parameters
|
|
338
|
+
|
|
339
|
+
|Name | Type | Description | Notes|
|
|
340
|
+
|------------- | ------------- | ------------- | -------------|
|
|
341
|
+
| **authAdminSignInEmailRequest** | **AuthAdminSignInEmailRequest**| | |
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
### Return type
|
|
345
|
+
|
|
346
|
+
**AuthAdminSignInEmailResponse**
|
|
347
|
+
|
|
348
|
+
### Authorization
|
|
349
|
+
|
|
350
|
+
No authorization required
|
|
351
|
+
|
|
352
|
+
### HTTP request headers
|
|
353
|
+
|
|
354
|
+
- **Content-Type**: application/json
|
|
355
|
+
- **Accept**: application/json
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
### HTTP response details
|
|
359
|
+
| Status code | Description | Response headers |
|
|
360
|
+
|-------------|-------------|------------------|
|
|
361
|
+
|**200** | OK | - |
|
|
362
|
+
|**0** | Default error response | - |
|
|
363
|
+
|
|
364
|
+
[[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)
|
|
365
|
+
|
|
366
|
+
# **auth2AdminServiceAuthAdminSignOut**
|
|
367
|
+
> AuthAdminSignOutResponse auth2AdminServiceAuthAdminSignOut(body)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
### Example
|
|
371
|
+
|
|
372
|
+
```typescript
|
|
373
|
+
import {
|
|
374
|
+
Auth2AdminServiceApi,
|
|
375
|
+
Configuration
|
|
376
|
+
} from '@cherryin/api-client';
|
|
377
|
+
|
|
378
|
+
const configuration = new Configuration();
|
|
379
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
380
|
+
|
|
381
|
+
let body: object; //
|
|
382
|
+
|
|
383
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminSignOut(
|
|
384
|
+
body
|
|
385
|
+
);
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
### Parameters
|
|
389
|
+
|
|
390
|
+
|Name | Type | Description | Notes|
|
|
391
|
+
|------------- | ------------- | ------------- | -------------|
|
|
392
|
+
| **body** | **object**| | |
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
### Return type
|
|
396
|
+
|
|
397
|
+
**AuthAdminSignOutResponse**
|
|
398
|
+
|
|
399
|
+
### Authorization
|
|
400
|
+
|
|
401
|
+
No authorization required
|
|
402
|
+
|
|
403
|
+
### HTTP request headers
|
|
404
|
+
|
|
405
|
+
- **Content-Type**: application/json
|
|
406
|
+
- **Accept**: application/json
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
### HTTP response details
|
|
410
|
+
| Status code | Description | Response headers |
|
|
411
|
+
|-------------|-------------|------------------|
|
|
412
|
+
|**200** | OK | - |
|
|
413
|
+
|**0** | Default error response | - |
|
|
414
|
+
|
|
415
|
+
[[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)
|
|
416
|
+
|
|
417
|
+
# **auth2AdminServiceAuthAdminUpdateUser**
|
|
418
|
+
> AuthAdminUpdateUserResponse auth2AdminServiceAuthAdminUpdateUser(authAdminUpdateUserRequest)
|
|
419
|
+
|
|
420
|
+
============ 管理员信息管理 ============
|
|
421
|
+
|
|
422
|
+
### Example
|
|
423
|
+
|
|
424
|
+
```typescript
|
|
425
|
+
import {
|
|
426
|
+
Auth2AdminServiceApi,
|
|
427
|
+
Configuration,
|
|
428
|
+
AuthAdminUpdateUserRequest
|
|
429
|
+
} from '@cherryin/api-client';
|
|
430
|
+
|
|
431
|
+
const configuration = new Configuration();
|
|
432
|
+
const apiInstance = new Auth2AdminServiceApi(configuration);
|
|
433
|
+
|
|
434
|
+
let authAdminUpdateUserRequest: AuthAdminUpdateUserRequest; //
|
|
435
|
+
|
|
436
|
+
const { status, data } = await apiInstance.auth2AdminServiceAuthAdminUpdateUser(
|
|
437
|
+
authAdminUpdateUserRequest
|
|
438
|
+
);
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
### Parameters
|
|
442
|
+
|
|
443
|
+
|Name | Type | Description | Notes|
|
|
444
|
+
|------------- | ------------- | ------------- | -------------|
|
|
445
|
+
| **authAdminUpdateUserRequest** | **AuthAdminUpdateUserRequest**| | |
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
### Return type
|
|
449
|
+
|
|
450
|
+
**AuthAdminUpdateUserResponse**
|
|
451
|
+
|
|
452
|
+
### Authorization
|
|
453
|
+
|
|
454
|
+
No authorization required
|
|
455
|
+
|
|
456
|
+
### HTTP request headers
|
|
457
|
+
|
|
458
|
+
- **Content-Type**: application/json
|
|
459
|
+
- **Accept**: application/json
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
### HTTP response details
|
|
463
|
+
| Status code | Description | Response headers |
|
|
464
|
+
|-------------|-------------|------------------|
|
|
465
|
+
|**200** | OK | - |
|
|
466
|
+
|**0** | Default error response | - |
|
|
467
|
+
|
|
468
|
+
[[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)
|
|
469
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Auth2AdminSession
|
|
2
|
+
|
|
3
|
+
管理员会话信息 (映射 db.UserSession)
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**token** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**expires_at** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**ip_address** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**user_agent** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**user_id** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { Auth2AdminSession } from '@cherryin/api-client';
|
|
22
|
+
|
|
23
|
+
const instance: Auth2AdminSession = {
|
|
24
|
+
id,
|
|
25
|
+
token,
|
|
26
|
+
expires_at,
|
|
27
|
+
created_at,
|
|
28
|
+
updated_at,
|
|
29
|
+
ip_address,
|
|
30
|
+
user_agent,
|
|
31
|
+
user_id,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Auth2IdToken
|
|
2
2
|
|
|
3
3
|
社交登录 ID Token
|
|
4
4
|
|
|
@@ -15,9 +15,9 @@ Name | Type | Description | Notes
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
import {
|
|
18
|
+
import { Auth2IdToken } from '@cherryin/api-client';
|
|
19
19
|
|
|
20
|
-
const instance:
|
|
20
|
+
const instance: Auth2IdToken = {
|
|
21
21
|
token,
|
|
22
22
|
nonce,
|
|
23
23
|
access_token,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Auth2Session
|
|
2
|
+
|
|
3
|
+
会话信息 (映射 db.UserSession)
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**token** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**expires_at** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**ip_address** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**user_agent** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**user_id** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { Auth2Session } from '@cherryin/api-client';
|
|
22
|
+
|
|
23
|
+
const instance: Auth2Session = {
|
|
24
|
+
id,
|
|
25
|
+
token,
|
|
26
|
+
expires_at,
|
|
27
|
+
created_at,
|
|
28
|
+
updated_at,
|
|
29
|
+
ip_address,
|
|
30
|
+
user_agent,
|
|
31
|
+
user_id,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Auth2User
|
|
2
|
+
|
|
3
|
+
用户信息
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**email_verified** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
**image** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**created_at** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**updated_at** | **string** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { Auth2User } from '@cherryin/api-client';
|
|
21
|
+
|
|
22
|
+
const instance: Auth2User = {
|
|
23
|
+
id,
|
|
24
|
+
name,
|
|
25
|
+
email,
|
|
26
|
+
email_verified,
|
|
27
|
+
image,
|
|
28
|
+
created_at,
|
|
29
|
+
updated_at,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|