@cherryin/api-client 0.1.0 → 0.1.2
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 +265 -103
- package/README.md +391 -156
- package/api.ts +12793 -4366
- package/dist/api.d.ts +7771 -2676
- package/dist/api.js +6883 -1480
- package/dist/esm/api.d.ts +7771 -2676
- package/dist/esm/api.js +6838 -1459
- package/docs/AIModelAdminServiceApi.md +101 -90
- package/docs/AIModelPricingConfig.md +10 -10
- package/docs/AdminAIModel.md +73 -0
- package/docs/{AIModelCheckConnectionResponse.md → AdminAIModelCheckConnectionResponse.md} +4 -4
- package/docs/{AIModelCheckItem.md → AdminAIModelCheckItem.md} +3 -3
- package/docs/{AIModelCheckResult.md → AdminAIModelCheckResult.md} +5 -5
- package/docs/AdminAIModelCreateRequest.md +67 -0
- package/docs/AdminAIModelCreateResponse.md +25 -0
- package/docs/{AIModelDeleteResponse.md → AdminAIModelDeleteResponse.md} +4 -4
- package/docs/AdminAIModelDisableRequest.md +23 -0
- package/docs/AdminAIModelDisableResponse.md +25 -0
- package/docs/{AIModelDiscountConfig.md → AdminAIModelDiscountConfig.md} +4 -4
- package/docs/{AIModelGetResponse.md → AdminAIModelGetResponse.md} +5 -5
- package/docs/{AIModelListResponse.md → AdminAIModelListResponse.md} +5 -5
- package/docs/AdminAIModelProviderConfigItem.md +29 -0
- package/docs/AdminAIModelPublishRequest.md +23 -0
- package/docs/{AIModelDisableResponse.md → AdminAIModelPublishResponse.md} +5 -5
- package/docs/AdminAIModelUpdateRequest.md +25 -0
- package/docs/{AIModelUpdateResponse.md → AdminAIModelUpdateResponse.md} +5 -5
- package/docs/AdminAPIToken.md +41 -0
- package/docs/AdminAPITokenCreateRequest.md +25 -0
- package/docs/{AuthChangePasswordResponse.md → AdminAPITokenCreateResponse.md} +5 -5
- package/docs/AdminAPITokenDeleteResponse.md +22 -0
- package/docs/{AuthAdminRevokeSessionResponse.md → AdminAPITokenGetResponse.md} +5 -5
- package/docs/{AuthUnlinkAccountResponse.md → AdminAPITokenListResponse.md} +7 -5
- package/docs/AdminAPITokenRefreshRequest.md +21 -0
- package/docs/{AuthAdminSignInEmailResponse.md → AdminAPITokenRefreshResponse.md} +5 -5
- package/docs/AdminAPITokenScopes.md +25 -0
- package/docs/AdminAPITokenServiceApi.md +325 -0
- package/docs/AdminAPITokenUpdateRequest.md +29 -0
- package/docs/{AuthAdminUpdateUserResponse.md → AdminAPITokenUpdateResponse.md} +5 -5
- package/docs/AdminEnterpriseMaterials.md +24 -0
- package/docs/AdminEnterpriseUser.md +24 -0
- package/docs/AdminEnterpriseUserMaterials.md +22 -0
- package/docs/AdminPassportItem.md +24 -0
- package/docs/AdminProvider.md +46 -0
- package/docs/AdminProviderCreateRequest.md +41 -0
- package/docs/AdminProviderCreateResponse.md +25 -0
- package/docs/{ProviderModelDeleteResponse.md → AdminProviderDeleteResponse.md} +4 -4
- package/docs/AdminProviderGetResponse.md +25 -0
- package/docs/AdminProviderListResponse.md +27 -0
- package/docs/AdminProviderModel.md +68 -0
- package/docs/AdminProviderModelCreateRequest.md +63 -0
- package/docs/AdminProviderModelCreateResponse.md +25 -0
- package/docs/{ProviderDeleteResponse.md → AdminProviderModelDeleteResponse.md} +4 -4
- package/docs/{ProviderGetResponse.md → AdminProviderModelGetResponse.md} +5 -5
- package/docs/{ProviderModelListResponse.md → AdminProviderModelListResponse.md} +6 -6
- package/docs/AdminProviderModelUpdateRequest.md +27 -0
- package/docs/{AIModelCreateResponse.md → AdminProviderModelUpdateResponse.md} +5 -5
- package/docs/AdminProviderUpdateRequest.md +27 -0
- package/docs/{AIModelPublishResponse.md → AdminProviderUpdateResponse.md} +5 -5
- package/docs/AdminUserItem.md +26 -0
- package/docs/AudioPricing.md +8 -8
- package/docs/AuthAdminSession.md +39 -0
- package/docs/{Auth2Admin.md → AuthAdminUser.md} +7 -7
- package/docs/AuthEnterpriseMaterials.md +33 -0
- package/docs/AuthEnterpriseSession.md +37 -0
- package/docs/AuthEnterpriseUser.md +37 -0
- package/docs/{Auth2IdToken.md → AuthIdToken.md} +3 -3
- package/docs/AuthPassport.md +35 -0
- package/docs/AuthUser.md +39 -0
- package/docs/AuthUserMethod.md +39 -0
- package/docs/AuthUserSession.md +41 -0
- package/docs/CodeExecutionPricing.md +25 -0
- package/docs/ConfigItem.md +10 -6
- 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/FeaturePricing.md +27 -0
- package/docs/FrontAIModel.md +15 -17
- package/docs/FrontendModelExtraInfo.md +21 -0
- package/docs/FrontendModelPricing.md +57 -0
- package/docs/FrontendModelsResponse.md +29 -0
- package/docs/FrontendProviderInfo.md +31 -0
- package/docs/FrontendProviderModel.md +55 -0
- package/docs/FrontendProvidersResponse.md +29 -0
- package/docs/FrontendSearchContextCost.md +25 -0
- package/docs/ImagePricing.md +16 -10
- 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/ModelCapabilities.md +59 -0
- package/docs/ModelLimits.md +41 -0
- package/docs/{UserModelListResponse.md → ModelListResponse.md} +12 -13
- package/docs/ModelModalities.md +23 -0
- package/docs/MultimodalPricing.md +4 -4
- package/docs/{AuthRequestPasswordResetRequest.md → PassportAdminPasswordForgetRequest.md} +5 -5
- package/docs/{AuthRevokeSessionResponse.md → PassportAdminPasswordForgetResponse.md} +3 -5
- package/docs/PassportAdminPasswordResetRequest.md +28 -0
- package/docs/{AuthLinkSocialResponse.md → PassportAdminPasswordResetResponse.md} +3 -5
- package/docs/PassportAdminPasswordResetTokenVerifyRequest.md +20 -0
- package/docs/PassportAdminPasswordResetTokenVerifyResponse.md +26 -0
- package/docs/PassportAdminSendVerificationEmailRequest.md +26 -0
- package/docs/PassportAdminSendVerificationEmailResponse.md +22 -0
- package/docs/{AuthAdminSignInEmailRequest.md → PassportAdminSignInEmailRequest.md} +7 -5
- package/docs/{AuthGetSessionResponse.md → PassportAdminSignInEmailResponse.md} +6 -6
- package/docs/{AuthAdminRevokeSessionRequest.md → PassportAdminTokenAuthRequest.md} +3 -3
- package/docs/PassportAdminTokenAuthResponse.md +28 -0
- package/docs/{AuthAdminChangePasswordRequest.md → PassportAuthAdminChangePasswordRequest.md} +3 -3
- package/docs/PassportAuthAdminChangePasswordResponse.md +26 -0
- package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +28 -0
- package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +22 -0
- package/docs/PassportAuthAdminEnterpriseMaterialReviewResponse.md +22 -0
- package/docs/{AuthGetAccountInfoResponse.md → PassportAuthAdminGetInfoResponse.md} +4 -4
- package/docs/{AuthAdminGetSessionResponse.md → PassportAuthAdminGetSessionResponse.md} +5 -5
- package/docs/{AuthAdminListSessionsResponse.md → PassportAuthAdminListSessionsResponse.md} +4 -4
- package/docs/PassportAuthAdminPassportDisableRequest.md +22 -0
- package/docs/PassportAuthAdminPassportDisableResponse.md +22 -0
- package/docs/PassportAuthAdminPassportListRequest.md +28 -0
- package/docs/PassportAuthAdminPassportListResponse.md +28 -0
- package/docs/PassportAuthAdminPassportModifyInfoRequest.md +28 -0
- package/docs/PassportAuthAdminPassportModifyInfoResponse.md +24 -0
- package/docs/PassportAuthAdminRPCServiceApi.md +61 -0
- package/docs/{AuthResetPasswordRequest.md → PassportAuthAdminResetPasswordRequest.md} +3 -5
- package/docs/PassportAuthAdminResetPasswordResponse.md +22 -0
- package/docs/{AuthSignOutResponse.md → PassportAuthAdminRevokeOtherSessionsResponse.md} +3 -5
- package/docs/{AuthDeleteUserRequest.md → PassportAuthAdminRevokeSessionRequest.md} +3 -7
- package/docs/PassportAuthAdminRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthAdminRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthAdminServiceApi.md +1286 -0
- package/docs/PassportAuthAdminSignOutResponse.md +22 -0
- package/docs/{AuthAdminUpdateUserRequest.md → PassportAuthAdminUpdateInfoRequest.md} +5 -5
- package/docs/{AuthUpdateUserResponse.md → PassportAuthAdminUpdateInfoResponse.md} +4 -4
- package/docs/PassportAuthAdminUserDisableRequest.md +26 -0
- package/docs/PassportAuthAdminUserDisableResponse.md +22 -0
- package/docs/PassportAuthAdminUserListRequest.md +28 -0
- package/docs/{AuthSendVerificationEmailResponse.md → PassportAuthAdminUserListResponse.md} +9 -5
- package/docs/PassportAuthAdminUserModifyInfoRequest.md +32 -0
- package/docs/{AuthResetPasswordResponse.md → PassportAuthAdminUserModifyInfoResponse.md} +5 -5
- package/docs/PassportAuthAdminUserModifyPermissionRequest.md +22 -0
- package/docs/PassportAuthAdminUserModifyPermissionResponse.md +24 -0
- package/docs/PassportAuthChangePasswordRequest.md +26 -0
- package/docs/PassportAuthChangePasswordResponse.md +26 -0
- package/docs/{AuthSignInEmailRequest.md → PassportAuthDeleteAllRequest.md} +9 -7
- package/docs/PassportAuthDeleteAllResponse.md +22 -0
- package/docs/{AuthChangePasswordRequest.md → PassportAuthEnterpriseChangePasswordRequest.md} +3 -3
- package/docs/{AuthAdminChangePasswordResponse.md → PassportAuthEnterpriseChangePasswordResponse.md} +4 -4
- package/docs/PassportAuthEnterpriseChangePhoneRequest.md +24 -0
- package/docs/PassportAuthEnterpriseChangePhoneResponse.md +22 -0
- package/docs/{AuthSignUpEmailRequest.md → PassportAuthEnterpriseDeleteRequest.md} +9 -13
- package/docs/PassportAuthEnterpriseDeleteResponse.md +22 -0
- package/docs/PassportAuthEnterpriseGetSessionResponse.md +24 -0
- package/docs/PassportAuthEnterpriseInfoGetResponse.md +24 -0
- package/docs/PassportAuthEnterpriseListSessionsResponse.md +24 -0
- package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +26 -0
- package/docs/{AuthAdminSignOutResponse.md → PassportAuthEnterpriseMaterialUploadResponse.md} +3 -5
- package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +24 -0
- package/docs/PassportAuthEnterpriseRPCServiceApi.md +61 -0
- package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +20 -0
- package/docs/PassportAuthEnterpriseRefreshTokenResponse.md +24 -0
- package/docs/PassportAuthEnterpriseResetPasswordRequest.md +22 -0
- package/docs/PassportAuthEnterpriseResetPasswordResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeOtherSessionsResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthEnterpriseServiceApi.md +1170 -0
- package/docs/PassportAuthEnterpriseSignOutRequest.md +20 -0
- package/docs/PassportAuthEnterpriseSignOutResponse.md +22 -0
- package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +22 -0
- package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +24 -0
- package/docs/{AuthSendVerificationEmailRequest.md → PassportAuthEnterpriseVerifyEmailRequest.md} +5 -3
- package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +22 -0
- package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +22 -0
- package/docs/PassportAuthInfoGetResponse.md +26 -0
- package/docs/{AuthSignInSocialRequest.md → PassportAuthLinkSocialRequest.md} +6 -4
- package/docs/{AuthSignUpEmailResponse.md → PassportAuthLinkSocialResponse.md} +5 -7
- package/docs/PassportAuthListMethodsResponse.md +24 -0
- package/docs/{AuthListSessionsResponse.md → PassportAuthListSessionsResponse.md} +4 -4
- package/docs/PassportAuthListSocialsResponse.md +24 -0
- package/docs/PassportAuthRefreshSessionTokenRequest.md +20 -0
- package/docs/PassportAuthRefreshSessionTokenResponse.md +24 -0
- package/docs/PassportAuthResetPasswordRequest.md +24 -0
- package/docs/PassportAuthResetPasswordResponse.md +22 -0
- package/docs/PassportAuthRevokeOtherSessionsRequest.md +20 -0
- package/docs/{AuthDeleteUserResponse.md → PassportAuthRevokeOtherSessionsResponse.md} +3 -3
- package/docs/PassportAuthRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthRevokeSessionsRequest.md +20 -0
- package/docs/PassportAuthRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthSendVerificationEmailRequest.md +26 -0
- package/docs/PassportAuthSendVerificationEmailResponse.md +22 -0
- package/docs/PassportAuthSendVerificationPhoneRequest.md +26 -0
- package/docs/PassportAuthSendVerificationPhoneResponse.md +22 -0
- package/docs/{AuthRefreshTokenRequest.md → PassportAuthSocialGetAccessTokenRequest.md} +3 -3
- package/docs/{AuthRefreshTokenResponse.md → PassportAuthSocialGetAccessTokenResponse.md} +3 -3
- package/docs/{AuthGetAccessTokenRequest.md → PassportAuthSocialRefreshTokenRequest.md} +3 -3
- package/docs/{AuthGetAccessTokenResponse.md → PassportAuthSocialRefreshTokenResponse.md} +3 -3
- package/docs/{AuthUnlinkAccountRequest.md → PassportAuthUnlinkSocialRequest.md} +5 -3
- package/docs/PassportAuthUnlinkSocialResponse.md +22 -0
- package/docs/{AuthChangeEmailRequest.md → PassportAuthUserChangeEmailRequest.md} +5 -3
- package/docs/PassportAuthUserChangeEmailResponse.md +24 -0
- package/docs/PassportAuthUserChangePhoneRequest.md +26 -0
- package/docs/PassportAuthUserChangePhoneResponse.md +24 -0
- package/docs/PassportAuthUserDeleteRequest.md +30 -0
- package/docs/PassportAuthUserDeleteResponse.md +22 -0
- package/docs/PassportAuthUserGetSessionResponse.md +24 -0
- package/docs/{AuthRevokeOtherSessionsResponse.md → PassportAuthUserInfoGetResponse.md} +5 -5
- package/docs/PassportAuthUserRPCServiceApi.md +223 -0
- package/docs/PassportAuthUserServiceApi.md +2000 -0
- package/docs/PassportAuthUserSignOutRequest.md +22 -0
- package/docs/PassportAuthUserSignOutResponse.md +22 -0
- package/docs/PassportAuthUserUpdateInfoRequest.md +28 -0
- package/docs/PassportAuthUserUpdateInfoResponse.md +24 -0
- package/docs/{AuthUpdateUserRequest.md → PassportAuthUserUpdatePassportRequest.md} +5 -5
- package/docs/PassportAuthUserUpdatePassportResponse.md +24 -0
- package/docs/PassportAuthUserVerifyEmailRequest.md +26 -0
- package/docs/PassportAuthUserVerifyEmailResponse.md +22 -0
- package/docs/PassportAuthUserVerifyPhoneRequest.md +24 -0
- package/docs/PassportAuthUserVerifyPhoneResponse.md +22 -0
- package/docs/PassportEnterprisePasswordResetRequest.md +24 -0
- package/docs/{AuthSignInEmailResponse.md → PassportEnterprisePasswordResetResponse.md} +5 -9
- package/docs/PassportEnterpriseSendVerificationEmailRequest.md +24 -0
- package/docs/PassportEnterpriseSendVerificationEmailResponse.md +22 -0
- package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +24 -0
- package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportEnterpriseSignInEmailRequest.md +30 -0
- package/docs/{AuthOAuth2CallbackResponse.md → PassportEnterpriseSignInEmailResponse.md} +8 -10
- package/docs/PassportEnterpriseSignInPhoneRequest.md +24 -0
- package/docs/PassportEnterpriseSignInPhoneResponse.md +26 -0
- package/docs/PassportEnterpriseSignUpEmailRequest.md +34 -0
- package/docs/PassportEnterpriseSignUpEmailResponse.md +30 -0
- package/docs/PassportEnterpriseTokenAuthRequest.md +20 -0
- package/docs/PassportEnterpriseTokenAuthResponse.md +28 -0
- package/docs/PassportSendVerificationEmailRequest.md +26 -0
- package/docs/PassportSendVerificationEmailResponse.md +22 -0
- package/docs/PassportSendVerificationPhoneRequest.md +26 -0
- package/docs/PassportSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportUserInfoBatchGetRequest.md +24 -0
- package/docs/{AuthRequestPasswordResetResponse.md → PassportUserInfoBatchGetResponse.md} +5 -5
- package/docs/PassportUserInfoGetRequest.md +24 -0
- package/docs/{AuthAdminRevokeSessionsResponse.md → PassportUserInfoGetResponse.md} +5 -5
- package/docs/PassportUserOAuthCallbackResponse.md +36 -0
- package/docs/PassportUserPasswordForgetRequest.md +24 -0
- package/docs/PassportUserPasswordForgetResponse.md +22 -0
- package/docs/PassportUserPasswordResetRequest.md +30 -0
- package/docs/{AuthSignInSocialResponse.md → PassportUserPasswordResetResponse.md} +5 -9
- package/docs/PassportUserPasswordResetTokenVerifyRequest.md +22 -0
- package/docs/{AuthListAccountsResponse.md → PassportUserPasswordResetTokenVerifyResponse.md} +7 -5
- package/docs/PassportUserSignInEmailRequest.md +32 -0
- package/docs/PassportUserSignInEmailResponse.md +32 -0
- package/docs/PassportUserSignInPhoneRequest.md +26 -0
- package/docs/PassportUserSignInPhoneResponse.md +28 -0
- package/docs/{AuthLinkSocialRequest.md → PassportUserSignInSocialRequest.md} +8 -6
- package/docs/PassportUserSignInSocialResponse.md +32 -0
- package/docs/PassportUserSignUpEmailRequest.md +36 -0
- package/docs/PassportUserSignUpEmailResponse.md +32 -0
- package/docs/{AuthRevokeSessionRequest.md → PassportUserTokenAuthRequest.md} +3 -3
- package/docs/PassportUserTokenAuthResponse.md +28 -0
- package/docs/PassportUserUpdateInfoRequest.md +30 -0
- package/docs/PassportUserUpdateInfoResponse.md +22 -0
- package/docs/PricingConditions.md +7 -7
- package/docs/PricingRules.md +10 -6
- package/docs/{AWSAuth.md → ProviderAWSAuth.md} +4 -3
- package/docs/ProviderAdminServiceApi.md +305 -53
- package/docs/ProviderAuth.md +6 -6
- package/docs/ProviderGCPAuth.md +27 -0
- package/docs/ProviderModelAdminServiceApi.md +366 -57
- package/docs/QRCodeAdminServiceApi.md +286 -0
- package/docs/QRCodeCreateRequest.md +37 -0
- package/docs/QRCodeCreateResponse.md +25 -0
- package/docs/QRCodeDeleteResponse.md +23 -0
- package/docs/QRCodeGetResponse.md +25 -0
- package/docs/QRCodeHistoryItem.md +29 -0
- package/docs/QRCodeInfo.md +59 -0
- package/docs/QRCodeListResponse.md +27 -0
- package/docs/QRCodeSnapshot.md +37 -0
- package/docs/QRCodeUpdateRequest.md +39 -0
- package/docs/QRCodeUpdateResponse.md +25 -0
- package/docs/QRCodeWithHistory.md +23 -0
- package/docs/ReasoningTokensPricing.md +21 -0
- package/docs/RemoteConfigAdminServiceApi.md +21 -3
- package/docs/RemoteConfigItemGetResponse.md +2 -2
- package/docs/RemoteConfigItemUpdateRequest.md +6 -0
- package/docs/RemoteConfigItemUpdateResponse.md +2 -2
- package/docs/RequestPricing.md +4 -4
- package/docs/TextTokenInputPricing.md +5 -5
- package/docs/TextTokenOutputPricing.md +4 -4
- package/docs/TextTokenPricing.md +3 -3
- package/docs/TokenTier.md +5 -5
- package/docs/UserAPIKey.md +15 -15
- package/docs/UserAPIKeyCreateRequest.md +9 -9
- package/docs/UserAPIKeyCreateResponse.md +4 -4
- package/docs/UserAPIKeyDeleteResponse.md +3 -3
- package/docs/UserAPIKeyGetResponse.md +4 -4
- package/docs/UserAPIKeyListResponse.md +5 -5
- package/docs/UserAPIKeyServiceApi.md +26 -27
- 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/UserBasic.md +42 -0
- package/docs/UserExtendInfo.md +20 -0
- package/docs/UserInfoQueryOptions.md +28 -0
- package/docs/UserLabelListResponse.md +1 -1
- package/docs/UserLabelPairChangeResponse.md +1 -1
- package/docs/UserMeInfo.md +3 -3
- package/docs/UserModelActivitySummary.md +31 -0
- package/docs/UserModelHourActivity.md +28 -0
- package/docs/UserModelHourlyUsages.md +20 -0
- package/docs/UserModelServiceApi.md +124 -11
- package/docs/UserPaymentInfo.md +20 -0
- package/docs/UserPortalDashboard.md +25 -0
- package/docs/{AuthAdminRevokeOtherSessionsResponse.md → UserPortalDashboardResponse.md} +5 -5
- package/docs/UserPortalServiceApi.md +109 -0
- package/docs/UserPreferences.md +22 -0
- package/docs/VersionedAPISchema.md +6 -6
- package/docs/VideoPricing.md +8 -8
- package/docs/WebSearchPricing.md +31 -0
- package/package.json +1 -1
- package/docs/AIModel.md +0 -45
- package/docs/AIModelArchitecture.md +0 -25
- package/docs/AIModelCreateRequest.md +0 -35
- package/docs/AIModelDeleteRequest.md +0 -21
- package/docs/AIModelDisableRequest.md +0 -21
- package/docs/AIModelMeta.md +0 -25
- package/docs/AIModelProviderConfigItem.md +0 -29
- package/docs/AIModelPublishRequest.md +0 -21
- package/docs/AIModelUpdateRequest.md +0 -37
- package/docs/Auth2Account.md +0 -33
- package/docs/Auth2AdminServiceApi.md +0 -469
- package/docs/Auth2AdminSession.md +0 -35
- package/docs/Auth2Session.md +0 -35
- package/docs/Auth2User.md +0 -33
- package/docs/Auth2UserServiceApi.md +0 -1261
- package/docs/AuthChangeEmailResponse.md +0 -26
- package/docs/AuthRevokeSessionsResponse.md +0 -24
- package/docs/AuthVerifyEmailResponse.md +0 -24
- package/docs/GCPAuth.md +0 -27
- package/docs/Provider.md +0 -37
- package/docs/ProviderCreateRequest.md +0 -29
- package/docs/ProviderCreateResponse.md +0 -25
- package/docs/ProviderListResponse.md +0 -27
- package/docs/ProviderModel.md +0 -37
- package/docs/ProviderModelCreateRequest.md +0 -29
- package/docs/ProviderModelCreateResponse.md +0 -25
- package/docs/ProviderModelGetResponse.md +0 -25
- package/docs/ProviderModelPayload.md +0 -23
- package/docs/ProviderModelUpdateRequest.md +0 -31
- package/docs/ProviderModelUpdateResponse.md +0 -25
- package/docs/ProviderPayload.md +0 -21
- package/docs/ProviderUpdateRequest.md +0 -31
- package/docs/ProviderUpdateResponse.md +0 -25
- package/docs/UserAPIKeyDeleteRequest.md +0 -21
- package/docs/UserPoralServiceApi.md +0 -52
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**code** | **string** | code 响应状态码,
|
|
8
|
+
**code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
|
|
9
9
|
**message** | **string** | message 响应消息 | [optional] [default to undefined]
|
|
10
10
|
**data** | [**Array<Label>**](Label.md) | | [optional] [default to undefined]
|
|
11
11
|
**total** | **string** | | [optional] [default to undefined]
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**code** | **string** | code 响应状态码,
|
|
8
|
+
**code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
|
|
9
9
|
**message** | **string** | message 响应消息 | [optional] [default to undefined]
|
|
10
10
|
**data** | [**Label**](Label.md) | 创建的 Discount 信息 | [optional] [default to undefined]
|
|
11
11
|
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# ModelCapabilities
|
|
2
|
+
|
|
3
|
+
ModelCapabilities 模型能力标记
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**supported_endpoints** | **{ [key: string]: string; }** | supported_endpoints 支持的端点 API 列表 | [optional] [default to undefined]
|
|
10
|
+
**supported_regions** | **Array<string>** | supported_regions 支持的地区 | [optional] [default to undefined]
|
|
11
|
+
**supported_resolutions** | **Array<string>** | supported_resolutions 支持的输出图片分辨率 | [optional] [default to undefined]
|
|
12
|
+
**supports_audio_input** | **boolean** | supports_audio_input 支持音频输入 | [optional] [default to undefined]
|
|
13
|
+
**supports_vision** | **boolean** | supports_vision 支持视觉 | [optional] [default to undefined]
|
|
14
|
+
**supports_pdf_input** | **boolean** | supports_pdf_input 支持 PDF 输入 | [optional] [default to undefined]
|
|
15
|
+
**supports_video_input** | **boolean** | supports_video_input 支持视频输入 | [optional] [default to undefined]
|
|
16
|
+
**supports_audio_output** | **boolean** | supports_audio_output 支持音频输出 | [optional] [default to undefined]
|
|
17
|
+
**supports_tool_call** | **boolean** | supports_tool_call 支持 ToolCall (Anthropic/Google) | [optional] [default to undefined]
|
|
18
|
+
**supports_function_calling** | **boolean** | supports_function_calling 支持 FunctionCalling (专指 OpenAI) | [optional] [default to undefined]
|
|
19
|
+
**supports_parallel_function_calling** | **boolean** | supports_parallel_function_calling 支持并行 FunctionCalling | [optional] [default to undefined]
|
|
20
|
+
**supports_prompt_caching** | **boolean** | supports_prompt_caching 支持提示词缓存 | [optional] [default to undefined]
|
|
21
|
+
**supports_reasoning** | **boolean** | supports_reasoning 支持推理 | [optional] [default to undefined]
|
|
22
|
+
**supports_response_schema** | **boolean** | supports_response_schema 支持响应结构化 | [optional] [default to undefined]
|
|
23
|
+
**supports_system_messages** | **boolean** | supports_system_messages 支持设置系统提示词 | [optional] [default to undefined]
|
|
24
|
+
**supports_web_search** | **boolean** | supports_web_search 支持 WebSearch | [optional] [default to undefined]
|
|
25
|
+
**supports_assistant_prefill** | **boolean** | supports_assistant_prefill 支持助手预填 | [optional] [default to undefined]
|
|
26
|
+
**supports_tool_choice** | **boolean** | supports_tool_choice 支持 ToolChoice | [optional] [default to undefined]
|
|
27
|
+
**supports_computer_use** | **boolean** | supports_computer_use 支持 computer use | [optional] [default to undefined]
|
|
28
|
+
**supports_native_streaming** | **boolean** | supports_native_streaming 支持 OpenAI Native Streaming | [optional] [default to undefined]
|
|
29
|
+
|
|
30
|
+
## Example
|
|
31
|
+
|
|
32
|
+
```typescript
|
|
33
|
+
import { ModelCapabilities } from '@cherryin/api-client';
|
|
34
|
+
|
|
35
|
+
const instance: ModelCapabilities = {
|
|
36
|
+
supported_endpoints,
|
|
37
|
+
supported_regions,
|
|
38
|
+
supported_resolutions,
|
|
39
|
+
supports_audio_input,
|
|
40
|
+
supports_vision,
|
|
41
|
+
supports_pdf_input,
|
|
42
|
+
supports_video_input,
|
|
43
|
+
supports_audio_output,
|
|
44
|
+
supports_tool_call,
|
|
45
|
+
supports_function_calling,
|
|
46
|
+
supports_parallel_function_calling,
|
|
47
|
+
supports_prompt_caching,
|
|
48
|
+
supports_reasoning,
|
|
49
|
+
supports_response_schema,
|
|
50
|
+
supports_system_messages,
|
|
51
|
+
supports_web_search,
|
|
52
|
+
supports_assistant_prefill,
|
|
53
|
+
supports_tool_choice,
|
|
54
|
+
supports_computer_use,
|
|
55
|
+
supports_native_streaming,
|
|
56
|
+
};
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
[[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,41 @@
|
|
|
1
|
+
# ModelLimits
|
|
2
|
+
|
|
3
|
+
ModelLimits 模型限制
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**rpm** | **number** | rpm 每分钟请求数 | [optional] [default to undefined]
|
|
10
|
+
**tpm** | **number** | tpm 每分钟 token 数 | [optional] [default to undefined]
|
|
11
|
+
**max_tokens** | **number** | max_tokens 最大输出 token 数(老定义) | [optional] [default to undefined]
|
|
12
|
+
**max_input_tokens** | **number** | max_input_tokens 最大输入 token 数 | [optional] [default to undefined]
|
|
13
|
+
**max_output_tokens** | **number** | max_output_tokens 最大输出 token 数 | [optional] [default to undefined]
|
|
14
|
+
**max_audio_length_hours** | **number** | max_audio_length_hours 最大音频时长(小时) | [optional] [default to undefined]
|
|
15
|
+
**max_audio_per_prompt** | **number** | max_audio_per_prompt 每次请求最大音频数 | [optional] [default to undefined]
|
|
16
|
+
**max_images_per_prompt** | **number** | max_images_per_prompt 每次请求最大图片数 | [optional] [default to undefined]
|
|
17
|
+
**max_pdf_size_mb** | **number** | max_pdf_size_mb 最大 PDF 大小(MB) | [optional] [default to undefined]
|
|
18
|
+
**max_video_length** | **number** | max_video_length 最大视频时长 | [optional] [default to undefined]
|
|
19
|
+
**max_videos_per_prompt** | **number** | max_videos_per_prompt 每次请求最大视频数 | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { ModelLimits } from '@cherryin/api-client';
|
|
25
|
+
|
|
26
|
+
const instance: ModelLimits = {
|
|
27
|
+
rpm,
|
|
28
|
+
tpm,
|
|
29
|
+
max_tokens,
|
|
30
|
+
max_input_tokens,
|
|
31
|
+
max_output_tokens,
|
|
32
|
+
max_audio_length_hours,
|
|
33
|
+
max_audio_per_prompt,
|
|
34
|
+
max_images_per_prompt,
|
|
35
|
+
max_pdf_size_mb,
|
|
36
|
+
max_video_length,
|
|
37
|
+
max_videos_per_prompt,
|
|
38
|
+
};
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[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,32 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ModelListResponse
|
|
2
2
|
|
|
3
|
-
UserModelListResponse 模型列表响应(符合 OpenAI API 格式) Model list response (OpenAI API compatible format)
|
|
4
3
|
|
|
5
4
|
## Properties
|
|
6
5
|
|
|
7
6
|
Name | Type | Description | Notes
|
|
8
7
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**code** | **string** | code 响应状态码,
|
|
10
|
-
**object** | **string** | object 对象类型,固定为 \"list\"(OpenAI API 格式)
|
|
11
|
-
**data** | [**Array<FrontAIModel>**](FrontAIModel.md) | models FrontAIModel 列表,对应 OpenAI API 的 \"data\" 字段
|
|
8
|
+
**code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
|
|
9
|
+
**object** | **string** | object 对象类型,固定为 \"list\"(OpenAI API 格式) | [optional] [default to undefined]
|
|
10
|
+
**data** | [**Array<FrontAIModel>**](FrontAIModel.md) | models FrontAIModel 列表,对应 OpenAI API 的 \"data\" 字段 | [optional] [default to undefined]
|
|
12
11
|
**model_apis** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | apis API schema 列表 NOTE: FrontAIModel.AIModelMeta.endpoints 里面只会包含 endpoint ID,不包含完整的 schema 信息 可以通过此字段获取完整的 schema 列表 | [optional] [default to undefined]
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**
|
|
12
|
+
**first_id** | **string** | 分页信息 | [optional] [default to undefined]
|
|
13
|
+
**last_id** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**has_more** | **boolean** | | [optional] [default to undefined]
|
|
16
15
|
|
|
17
16
|
## Example
|
|
18
17
|
|
|
19
18
|
```typescript
|
|
20
|
-
import {
|
|
19
|
+
import { ModelListResponse } from '@cherryin/api-client';
|
|
21
20
|
|
|
22
|
-
const instance:
|
|
21
|
+
const instance: ModelListResponse = {
|
|
23
22
|
code,
|
|
24
23
|
object,
|
|
25
24
|
data,
|
|
26
25
|
model_apis,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
first_id,
|
|
27
|
+
last_id,
|
|
28
|
+
has_more,
|
|
30
29
|
};
|
|
31
30
|
```
|
|
32
31
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# ModelModalities
|
|
2
|
+
|
|
3
|
+
ModelModalities 模型模态信息
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**input** | **Array<string>** | input 输入模态列表 | [optional] [default to undefined]
|
|
10
|
+
**output** | **Array<string>** | output 输出模态列表 | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ModelModalities } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: ModelModalities = {
|
|
18
|
+
input,
|
|
19
|
+
output,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[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,14 +1,14 @@
|
|
|
1
1
|
# MultimodalPricing
|
|
2
2
|
|
|
3
|
-
MultimodalPricing 多模态计费
|
|
3
|
+
MultimodalPricing 多模态计费
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**image** | [**ImagePricing**](ImagePricing.md) | image 图片计费
|
|
10
|
-
**audio** | [**AudioPricing**](AudioPricing.md) | audio 音频计费
|
|
11
|
-
**video** | [**VideoPricing**](VideoPricing.md) | video 视频计费
|
|
9
|
+
**image** | [**ImagePricing**](ImagePricing.md) | image 图片计费 | [optional] [default to undefined]
|
|
10
|
+
**audio** | [**AudioPricing**](AudioPricing.md) | audio 音频计费 | [optional] [default to undefined]
|
|
11
|
+
**video** | [**VideoPricing**](VideoPricing.md) | video 视频计费 | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAdminPasswordForgetRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**email** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**
|
|
9
|
+
**callback_url** | **string** | 前端回调地址,用于管理员邮箱点击跳转前端重置密码页 | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { PassportAdminPasswordForgetRequest } from '@cherryin/api-client';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
16
|
+
const instance: PassportAdminPasswordForgetRequest = {
|
|
17
17
|
email,
|
|
18
|
-
|
|
18
|
+
callback_url,
|
|
19
19
|
};
|
|
20
20
|
```
|
|
21
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAdminPasswordForgetResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -7,17 +7,15 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**code** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**status** | **boolean** | | [optional] [default to undefined]
|
|
11
10
|
|
|
12
11
|
## Example
|
|
13
12
|
|
|
14
13
|
```typescript
|
|
15
|
-
import {
|
|
14
|
+
import { PassportAdminPasswordForgetResponse } from '@cherryin/api-client';
|
|
16
15
|
|
|
17
|
-
const instance:
|
|
16
|
+
const instance: PassportAdminPasswordForgetResponse = {
|
|
18
17
|
code,
|
|
19
18
|
message,
|
|
20
|
-
status,
|
|
21
19
|
};
|
|
22
20
|
```
|
|
23
21
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PassportAdminPasswordResetRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**verify_code** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**new_password** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**redirect** | **boolean** | 是否禁用服务端重定向, 携带 callback_url 时有效 | [optional] [default to undefined]
|
|
12
|
+
**callback_url** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PassportAdminPasswordResetRequest } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: PassportAdminPasswordResetRequest = {
|
|
20
|
+
email,
|
|
21
|
+
verify_code,
|
|
22
|
+
new_password,
|
|
23
|
+
redirect,
|
|
24
|
+
callback_url,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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
|
+
# PassportAdminPasswordResetResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -9,19 +9,17 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**message** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**url** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**redirect** | **boolean** | | [optional] [default to undefined]
|
|
12
|
-
**status** | **boolean** | | [optional] [default to undefined]
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
16
15
|
```typescript
|
|
17
|
-
import {
|
|
16
|
+
import { PassportAdminPasswordResetResponse } from '@cherryin/api-client';
|
|
18
17
|
|
|
19
|
-
const instance:
|
|
18
|
+
const instance: PassportAdminPasswordResetResponse = {
|
|
20
19
|
code,
|
|
21
20
|
message,
|
|
22
21
|
url,
|
|
23
22
|
redirect,
|
|
24
|
-
status,
|
|
25
23
|
};
|
|
26
24
|
```
|
|
27
25
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# PassportAdminPasswordResetTokenVerifyRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**token** | **string** | 重置密码请求的 token | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PassportAdminPasswordResetTokenVerifyRequest } from '@cherryin/api-client';
|
|
14
|
+
|
|
15
|
+
const instance: PassportAdminPasswordResetTokenVerifyRequest = {
|
|
16
|
+
token,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,26 @@
|
|
|
1
|
+
# PassportAdminPasswordResetTokenVerifyResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**verify_code** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PassportAdminPasswordResetTokenVerifyResponse } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: PassportAdminPasswordResetTokenVerifyResponse = {
|
|
19
|
+
code,
|
|
20
|
+
message,
|
|
21
|
+
email,
|
|
22
|
+
verify_code,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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,26 @@
|
|
|
1
|
+
# PassportAdminSendVerificationEmailRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**app_ids** | **string** | NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**callback_url** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**purpose** | **string** | 验证目的,可选值:register(注册)、logincode(登录)、resetpassword(重置密码)、bindemail(绑定邮箱) | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PassportAdminSendVerificationEmailRequest } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: PassportAdminSendVerificationEmailRequest = {
|
|
19
|
+
app_ids,
|
|
20
|
+
email,
|
|
21
|
+
callback_url,
|
|
22
|
+
purpose,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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,22 @@
|
|
|
1
|
+
# PassportAdminSendVerificationEmailResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PassportAdminSendVerificationEmailResponse } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAdminSendVerificationEmailResponse = {
|
|
17
|
+
code,
|
|
18
|
+
message,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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
|
+
# PassportAdminSignInEmailRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -6,19 +6,21 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**email** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**password** | **string** | | [optional] [default to undefined]
|
|
10
9
|
**session_type** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**password** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**verify_code** | **string** | | [optional] [default to undefined]
|
|
11
12
|
**remember_me** | **boolean** | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
15
16
|
```typescript
|
|
16
|
-
import {
|
|
17
|
+
import { PassportAdminSignInEmailRequest } from '@cherryin/api-client';
|
|
17
18
|
|
|
18
|
-
const instance:
|
|
19
|
+
const instance: PassportAdminSignInEmailRequest = {
|
|
19
20
|
email,
|
|
20
|
-
password,
|
|
21
21
|
session_type,
|
|
22
|
+
password,
|
|
23
|
+
verify_code,
|
|
22
24
|
remember_me,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAdminSignInEmailResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -7,19 +7,19 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**code** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**
|
|
11
|
-
**
|
|
10
|
+
**admin** | [**AuthAdminUser**](AuthAdminUser.md) | | [optional] [default to undefined]
|
|
11
|
+
**session** | [**AuthAdminSession**](AuthAdminSession.md) | | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import {
|
|
16
|
+
import { PassportAdminSignInEmailResponse } from '@cherryin/api-client';
|
|
17
17
|
|
|
18
|
-
const instance:
|
|
18
|
+
const instance: PassportAdminSignInEmailResponse = {
|
|
19
19
|
code,
|
|
20
20
|
message,
|
|
21
|
+
admin,
|
|
21
22
|
session,
|
|
22
|
-
user,
|
|
23
23
|
};
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAdminTokenAuthRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -10,9 +10,9 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import {
|
|
13
|
+
import { PassportAdminTokenAuthRequest } from '@cherryin/api-client';
|
|
14
14
|
|
|
15
|
-
const instance:
|
|
15
|
+
const instance: PassportAdminTokenAuthRequest = {
|
|
16
16
|
token,
|
|
17
17
|
};
|
|
18
18
|
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PassportAdminTokenAuthResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**is_valid** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**admin** | [**AuthAdminUser**](AuthAdminUser.md) | | [optional] [default to undefined]
|
|
12
|
+
**session** | [**AuthAdminSession**](AuthAdminSession.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PassportAdminTokenAuthResponse } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: PassportAdminTokenAuthResponse = {
|
|
20
|
+
code,
|
|
21
|
+
message,
|
|
22
|
+
is_valid,
|
|
23
|
+
admin,
|
|
24
|
+
session,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/{AuthAdminChangePasswordRequest.md → PassportAuthAdminChangePasswordRequest.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthAdminChangePasswordRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import {
|
|
15
|
+
import { PassportAuthAdminChangePasswordRequest } from '@cherryin/api-client';
|
|
16
16
|
|
|
17
|
-
const instance:
|
|
17
|
+
const instance: PassportAuthAdminChangePasswordRequest = {
|
|
18
18
|
new_password,
|
|
19
19
|
current_password,
|
|
20
20
|
revoke_other_sessions,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# PassportAuthAdminChangePasswordResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**session** | [**AuthAdminSession**](AuthAdminSession.md) | | [optional] [default to undefined]
|
|
11
|
+
**user** | [**AuthAdminUser**](AuthAdminUser.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PassportAuthAdminChangePasswordResponse } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: PassportAuthAdminChangePasswordResponse = {
|
|
19
|
+
code,
|
|
20
|
+
message,
|
|
21
|
+
session,
|
|
22
|
+
user,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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,28 @@
|
|
|
1
|
+
# PassportAuthAdminEnterpriseMaterialListResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**users** | [**Array<AdminEnterpriseUserMaterials>**](AdminEnterpriseUserMaterials.md) | | [optional] [default to undefined]
|
|
11
|
+
**total** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**has_more** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PassportAuthAdminEnterpriseMaterialListResponse } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: PassportAuthAdminEnterpriseMaterialListResponse = {
|
|
20
|
+
code,
|
|
21
|
+
message,
|
|
22
|
+
users,
|
|
23
|
+
total,
|
|
24
|
+
has_more,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[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,22 @@
|
|
|
1
|
+
# PassportAuthAdminEnterpriseMaterialReviewRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**eid** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**review_status** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PassportAuthAdminEnterpriseMaterialReviewRequest } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthAdminEnterpriseMaterialReviewRequest = {
|
|
17
|
+
eid,
|
|
18
|
+
review_status,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[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,22 @@
|
|
|
1
|
+
# PassportAuthAdminEnterpriseMaterialReviewResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PassportAuthAdminEnterpriseMaterialReviewResponse } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthAdminEnterpriseMaterialReviewResponse = {
|
|
17
|
+
code,
|
|
18
|
+
message,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|