@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,24 +0,0 @@
|
|
|
1
|
-
# AdminPassportItem
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**passport** | [**AuthPassport**](AuthPassport.md) | | [optional] [default to undefined]
|
|
9
|
-
**created_at** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**updated_at** | **string** | | [optional] [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { AdminPassportItem } from '@cherryin/api-client';
|
|
16
|
-
|
|
17
|
-
const instance: AdminPassportItem = {
|
|
18
|
-
passport,
|
|
19
|
-
created_at,
|
|
20
|
-
updated_at,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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/AdminProvider.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# AdminProvider
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | id 供应商 ID | [optional] [default to undefined]
|
|
9
|
-
**name** | **string** | name 供应商名称 | [optional] [default to undefined]
|
|
10
|
-
**env** | **Array<string>** | env 供应商使用的环境变量 | [optional] [default to undefined]
|
|
11
|
-
**npm** | **string** | npm 供应商提供的 NPM 包 | [optional] [default to undefined]
|
|
12
|
-
**api** | **string** | api 供应商的 API BaseURL | [optional] [default to undefined]
|
|
13
|
-
**doc** | **string** | doc 供应商官方文档地址 | [optional] [default to undefined]
|
|
14
|
-
**provider_status** | **number** | provider_status Provider 状态 1: 启用 (Active) 2: 禁用 (Disabled) | [optional] [default to undefined]
|
|
15
|
-
**provider_auth** | [**ProviderAuth**](ProviderAuth.md) | provider_auth 供应商的认证授权配置 | [optional] [default to undefined]
|
|
16
|
-
**is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
|
|
17
|
-
**record_id** | **string** | 数据库自增 id,方便区别 | [optional] [default to undefined]
|
|
18
|
-
**created_at** | **string** | created_at 创建时间戳(Unix 时间戳) | [optional] [default to undefined]
|
|
19
|
-
**updated_at** | **string** | updated_at 更新时间戳(Unix 时间戳) | [optional] [default to undefined]
|
|
20
|
-
**deleted_at** | **string** | deleted_at 软删除时间戳,0 表示未删除 | [optional] [default to undefined]
|
|
21
|
-
**provider_type** | **string** | provider_type 供应商类型, 对齐创建供应商时的类型 | [optional] [default to undefined]
|
|
22
|
-
|
|
23
|
-
## Example
|
|
24
|
-
|
|
25
|
-
```typescript
|
|
26
|
-
import { AdminProvider } from '@cherryin/api-client';
|
|
27
|
-
|
|
28
|
-
const instance: AdminProvider = {
|
|
29
|
-
id,
|
|
30
|
-
name,
|
|
31
|
-
env,
|
|
32
|
-
npm,
|
|
33
|
-
api,
|
|
34
|
-
doc,
|
|
35
|
-
provider_status,
|
|
36
|
-
provider_auth,
|
|
37
|
-
is_official,
|
|
38
|
-
record_id,
|
|
39
|
-
created_at,
|
|
40
|
-
updated_at,
|
|
41
|
-
deleted_at,
|
|
42
|
-
provider_type,
|
|
43
|
-
};
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
[[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,39 +0,0 @@
|
|
|
1
|
-
# AdminProviderCreateRequest
|
|
2
|
-
|
|
3
|
-
AdminProviderCreateRequest 创建 Provider 的请求
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **string** | id 供应商 ID | [optional] [default to undefined]
|
|
10
|
-
**name** | **string** | name 供应商名称 | [optional] [default to undefined]
|
|
11
|
-
**env** | **Array<string>** | env 供应商使用的环境变量 | [optional] [default to undefined]
|
|
12
|
-
**npm** | **string** | npm 供应商提供的 NPM 包 | [optional] [default to undefined]
|
|
13
|
-
**api** | **string** | api 供应商的 API BaseURL | [optional] [default to undefined]
|
|
14
|
-
**doc** | **string** | doc 供应商官方文档地址 | [optional] [default to undefined]
|
|
15
|
-
**provider_status** | **number** | provider_status Provider 状态 1: 启用 (Active) 2: 禁用 (Disabled) | [optional] [default to undefined]
|
|
16
|
-
**provider_auth** | [**ProviderAuth**](ProviderAuth.md) | provider_auth 供应商的认证授权配置 | [optional] [default to undefined]
|
|
17
|
-
**is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
|
|
18
|
-
**provider_type** | **string** | provider_type 供应商类型 目前支持: - openai - anthropic - vertex - gemini - azure | [optional] [default to undefined]
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { AdminProviderCreateRequest } from '@cherryin/api-client';
|
|
24
|
-
|
|
25
|
-
const instance: AdminProviderCreateRequest = {
|
|
26
|
-
id,
|
|
27
|
-
name,
|
|
28
|
-
env,
|
|
29
|
-
npm,
|
|
30
|
-
api,
|
|
31
|
-
doc,
|
|
32
|
-
provider_status,
|
|
33
|
-
provider_auth,
|
|
34
|
-
is_official,
|
|
35
|
-
provider_type,
|
|
36
|
-
};
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
[[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,66 +0,0 @@
|
|
|
1
|
-
# AdminProviderModel
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | id 模型 ID | [optional] [default to undefined]
|
|
9
|
-
**name** | **string** | name 模型名称 | [optional] [default to undefined]
|
|
10
|
-
**family** | **string** | family 模型家族 | [optional] [default to undefined]
|
|
11
|
-
**source** | **string** | source 模型信息源 | [optional] [default to undefined]
|
|
12
|
-
**model_card** | **string** | model_card 模型卡片 URL | [optional] [default to undefined]
|
|
13
|
-
**temperature** | **boolean** | temperature 是否支持温度参数 | [optional] [default to undefined]
|
|
14
|
-
**knowledge** | **string** | knowledge 知识截止日期 | [optional] [default to undefined]
|
|
15
|
-
**release_date** | **string** | release_date 发布日期 | [optional] [default to undefined]
|
|
16
|
-
**last_updated** | **string** | last_updated 最后更新日期 | [optional] [default to undefined]
|
|
17
|
-
**open_weights** | **boolean** | open_weights 是否开源权重 | [optional] [default to undefined]
|
|
18
|
-
**deprecation_date** | **string** | deprecation_date 弃用日期 | [optional] [default to undefined]
|
|
19
|
-
**context_length** | **string** | 最大上下文长度(即 limits.max_input_tokens + max_output_tokens) | [optional] [default to undefined]
|
|
20
|
-
**modalities** | [**ModelModalities**](ModelModalities.md) | modalities 模态信息 | [optional] [default to undefined]
|
|
21
|
-
**limits** | [**ModelLimits**](ModelLimits.md) | limits 模型限制 | [optional] [default to undefined]
|
|
22
|
-
**capabilities** | [**ModelCapabilities**](ModelCapabilities.md) | capabilities 模型能力 | [optional] [default to undefined]
|
|
23
|
-
**cost** | [**FrontendModelCost**](FrontendModelCost.md) | cost 模型成本 | [optional] [default to undefined]
|
|
24
|
-
**extra_info** | [**FrontendModelExtraInfo**](FrontendModelExtraInfo.md) | extra_info 额外信息 | [optional] [default to undefined]
|
|
25
|
-
**is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
|
|
26
|
-
**endpoints** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | endpoints 端点配置列表 - 供应商往往支持多个 API 端点 注意,这是 CherryIN 网关独有的配置,需要和 ModelCapabilities.supported_endpoints 进行映射检查 | [optional] [default to undefined]
|
|
27
|
-
**provider_id** | **string** | 关联的 AdminProvider id | [optional] [default to undefined]
|
|
28
|
-
**record_id** | **string** | 数据库自增 id,方便区别 | [optional] [default to undefined]
|
|
29
|
-
**created_at** | **string** | created_at 创建时间戳(Unix 时间戳) | [optional] [default to undefined]
|
|
30
|
-
**updated_at** | **string** | updated_at 更新时间戳(Unix 时间戳) | [optional] [default to undefined]
|
|
31
|
-
**deleted_at** | **string** | deleted_at 软删除时间戳,0 表示未删除 | [optional] [default to undefined]
|
|
32
|
-
|
|
33
|
-
## Example
|
|
34
|
-
|
|
35
|
-
```typescript
|
|
36
|
-
import { AdminProviderModel } from '@cherryin/api-client';
|
|
37
|
-
|
|
38
|
-
const instance: AdminProviderModel = {
|
|
39
|
-
id,
|
|
40
|
-
name,
|
|
41
|
-
family,
|
|
42
|
-
source,
|
|
43
|
-
model_card,
|
|
44
|
-
temperature,
|
|
45
|
-
knowledge,
|
|
46
|
-
release_date,
|
|
47
|
-
last_updated,
|
|
48
|
-
open_weights,
|
|
49
|
-
deprecation_date,
|
|
50
|
-
context_length,
|
|
51
|
-
modalities,
|
|
52
|
-
limits,
|
|
53
|
-
capabilities,
|
|
54
|
-
cost,
|
|
55
|
-
extra_info,
|
|
56
|
-
is_official,
|
|
57
|
-
endpoints,
|
|
58
|
-
provider_id,
|
|
59
|
-
record_id,
|
|
60
|
-
created_at,
|
|
61
|
-
updated_at,
|
|
62
|
-
deleted_at,
|
|
63
|
-
};
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
[[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,59 +0,0 @@
|
|
|
1
|
-
# AdminProviderModelCreateRequest
|
|
2
|
-
|
|
3
|
-
AdminProviderModelCreateRequest 创建 ProviderModel 的请求
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **string** | id 模型 ID | [optional] [default to undefined]
|
|
10
|
-
**name** | **string** | name 模型名称 | [optional] [default to undefined]
|
|
11
|
-
**family** | **string** | family 模型家族 | [optional] [default to undefined]
|
|
12
|
-
**source** | **string** | source 模型信息源 | [optional] [default to undefined]
|
|
13
|
-
**model_card** | **string** | model_card 模型卡片 URL | [optional] [default to undefined]
|
|
14
|
-
**temperature** | **boolean** | temperature 是否支持温度参数 | [optional] [default to undefined]
|
|
15
|
-
**knowledge** | **string** | knowledge 知识截止日期 | [optional] [default to undefined]
|
|
16
|
-
**release_date** | **string** | release_date 发布日期 | [optional] [default to undefined]
|
|
17
|
-
**last_updated** | **string** | last_updated 最后更新日期 | [optional] [default to undefined]
|
|
18
|
-
**open_weights** | **boolean** | open_weights 是否开源权重 | [optional] [default to undefined]
|
|
19
|
-
**deprecation_date** | **string** | deprecation_date 弃用日期 | [optional] [default to undefined]
|
|
20
|
-
**context_length** | **string** | 最大上下文长度(即 limits.max_input_tokens + max_output_tokens) | [optional] [default to undefined]
|
|
21
|
-
**modalities** | [**ModelModalities**](ModelModalities.md) | modalities 模态信息 | [optional] [default to undefined]
|
|
22
|
-
**limits** | [**ModelLimits**](ModelLimits.md) | limits 模型限制 | [optional] [default to undefined]
|
|
23
|
-
**capabilities** | [**ModelCapabilities**](ModelCapabilities.md) | capabilities 模型能力 | [optional] [default to undefined]
|
|
24
|
-
**cost** | [**FrontendModelCost**](FrontendModelCost.md) | cost 模型成本 | [optional] [default to undefined]
|
|
25
|
-
**extra_info** | [**FrontendModelExtraInfo**](FrontendModelExtraInfo.md) | extra_info 额外信息 | [optional] [default to undefined]
|
|
26
|
-
**is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
|
|
27
|
-
**endpoints** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | endpoints 端点配置列表 - 供应商往往支持多个 API 端点 注意,这是 CherryIN 网关独有的配置,需要和 ModelCapabilities.supported_endpoints 进行映射检查 | [optional] [default to undefined]
|
|
28
|
-
**provider_id** | **string** | 关联的 AdminProvider id | [optional] [default to undefined]
|
|
29
|
-
|
|
30
|
-
## Example
|
|
31
|
-
|
|
32
|
-
```typescript
|
|
33
|
-
import { AdminProviderModelCreateRequest } from '@cherryin/api-client';
|
|
34
|
-
|
|
35
|
-
const instance: AdminProviderModelCreateRequest = {
|
|
36
|
-
id,
|
|
37
|
-
name,
|
|
38
|
-
family,
|
|
39
|
-
source,
|
|
40
|
-
model_card,
|
|
41
|
-
temperature,
|
|
42
|
-
knowledge,
|
|
43
|
-
release_date,
|
|
44
|
-
last_updated,
|
|
45
|
-
open_weights,
|
|
46
|
-
deprecation_date,
|
|
47
|
-
context_length,
|
|
48
|
-
modalities,
|
|
49
|
-
limits,
|
|
50
|
-
capabilities,
|
|
51
|
-
cost,
|
|
52
|
-
extra_info,
|
|
53
|
-
is_official,
|
|
54
|
-
endpoints,
|
|
55
|
-
provider_id,
|
|
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)
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# AdminProviderModelCreateResponse
|
|
2
|
-
|
|
3
|
-
AdminProviderModelCreateResponse 创建 ProviderModel 的响应 Response message for provider model creation
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
|
|
10
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**data** | [**AdminProviderModel**](AdminProviderModel.md) | data 创建成功后返回的 ProviderModel 信息 | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { AdminProviderModelCreateResponse } from '@cherryin/api-client';
|
|
17
|
-
|
|
18
|
-
const instance: AdminProviderModelCreateResponse = {
|
|
19
|
-
code,
|
|
20
|
-
message,
|
|
21
|
-
data,
|
|
22
|
-
};
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
[[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,25 +0,0 @@
|
|
|
1
|
-
# AdminProviderModelUpdateRequest
|
|
2
|
-
|
|
3
|
-
AdminProviderModelUpdateRequest 更新 ProviderModel 的请求 Request message for updating an existing provider model
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **string** | Provider 的唯一标识符 | [optional] [default to undefined]
|
|
10
|
-
**record_id** | **string** | Provider 数据库自增 id - record_id optional: id or record_id | [optional] [default to undefined]
|
|
11
|
-
**payload** | [**AdminProviderModel**](AdminProviderModel.md) | payload 模型的配置详情 | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { AdminProviderModelUpdateRequest } from '@cherryin/api-client';
|
|
17
|
-
|
|
18
|
-
const instance: AdminProviderModelUpdateRequest = {
|
|
19
|
-
id,
|
|
20
|
-
record_id,
|
|
21
|
-
payload,
|
|
22
|
-
};
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
[[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,25 +0,0 @@
|
|
|
1
|
-
# AdminProviderUpdateRequest
|
|
2
|
-
|
|
3
|
-
AdminProviderUpdateRequest 更新 Provider 的请求 Request message for updating an existing provider
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **string** | Provider 的唯一标识符 | [optional] [default to undefined]
|
|
10
|
-
**record_id** | **string** | Provider 数据库自增 id - record_id optional: id or record_id | [optional] [default to undefined]
|
|
11
|
-
**payload** | [**AdminProvider**](AdminProvider.md) | 需要修改的数据 | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { AdminProviderUpdateRequest } from '@cherryin/api-client';
|
|
17
|
-
|
|
18
|
-
const instance: AdminProviderUpdateRequest = {
|
|
19
|
-
id,
|
|
20
|
-
record_id,
|
|
21
|
-
payload,
|
|
22
|
-
};
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
[[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,25 +0,0 @@
|
|
|
1
|
-
# AdminProviderUpdateResponse
|
|
2
|
-
|
|
3
|
-
AdminProviderUpdateResponse 更新 Provider 的响应 Response message for provider update
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
|
|
10
|
-
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**data** | [**AdminProvider**](AdminProvider.md) | data 更新后的 Provider 信息 | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { AdminProviderUpdateResponse } from '@cherryin/api-client';
|
|
17
|
-
|
|
18
|
-
const instance: AdminProviderUpdateResponse = {
|
|
19
|
-
code,
|
|
20
|
-
message,
|
|
21
|
-
data,
|
|
22
|
-
};
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
[[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/AdminUserItem.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# AdminUserItem
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**user** | [**AuthUser**](AuthUser.md) | | [optional] [default to undefined]
|
|
9
|
-
**created_at** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**updated_at** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**role** | **number** | | [optional] [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { AdminUserItem } from '@cherryin/api-client';
|
|
17
|
-
|
|
18
|
-
const instance: AdminUserItem = {
|
|
19
|
-
user,
|
|
20
|
-
created_at,
|
|
21
|
-
updated_at,
|
|
22
|
-
role,
|
|
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)
|
package/docs/AuthAdminSession.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# AuthAdminSession
|
|
2
|
-
|
|
3
|
-
管理员会话信息 (映射 db.UserSession)
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**session_token** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**refresh_token** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**session_expires_at** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**refresh_expires_at** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**created_at** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**updated_at** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**ip** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**user_agent** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**aid** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**uid** | **string** | | [optional] [default to undefined]
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { AuthAdminSession } from '@cherryin/api-client';
|
|
24
|
-
|
|
25
|
-
const instance: AuthAdminSession = {
|
|
26
|
-
session_token,
|
|
27
|
-
refresh_token,
|
|
28
|
-
session_expires_at,
|
|
29
|
-
refresh_expires_at,
|
|
30
|
-
created_at,
|
|
31
|
-
updated_at,
|
|
32
|
-
ip,
|
|
33
|
-
user_agent,
|
|
34
|
-
aid,
|
|
35
|
-
uid,
|
|
36
|
-
};
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
[[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,33 +0,0 @@
|
|
|
1
|
-
# AuthEnterpriseMaterials
|
|
2
|
-
|
|
3
|
-
企业认证材料信息
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**requested_at** | **string** | 提交认证时间 Unix 时间戳 | [optional] [default to undefined]
|
|
10
|
-
**verified_at** | **string** | 认证通过时间 Unix 时间戳 | [optional] [default to undefined]
|
|
11
|
-
**company_name** | **string** | 企业名称 | [optional] [default to undefined]
|
|
12
|
-
**unified_social_credit_code** | **string** | 统一社会信用代码 | [optional] [default to undefined]
|
|
13
|
-
**legal_person_name** | **string** | 法定代表人姓名 | [optional] [default to undefined]
|
|
14
|
-
**legal_person_id_number** | **string** | 法定代表人身份证号码 | [optional] [default to undefined]
|
|
15
|
-
**review_status** | **number** | 审核状态 | [optional] [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { AuthEnterpriseMaterials } from '@cherryin/api-client';
|
|
21
|
-
|
|
22
|
-
const instance: AuthEnterpriseMaterials = {
|
|
23
|
-
requested_at,
|
|
24
|
-
verified_at,
|
|
25
|
-
company_name,
|
|
26
|
-
unified_social_credit_code,
|
|
27
|
-
legal_person_name,
|
|
28
|
-
legal_person_id_number,
|
|
29
|
-
review_status,
|
|
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)
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# AuthEnterpriseSession
|
|
2
|
-
|
|
3
|
-
管理员会话信息 (映射 db.UserSession)
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**session_token** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**refresh_token** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**session_expires_at** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**refresh_expires_at** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**created_at** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**updated_at** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**ip** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**user_agent** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**eid** | **string** | | [optional] [default to undefined]
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import { AuthEnterpriseSession } from '@cherryin/api-client';
|
|
23
|
-
|
|
24
|
-
const instance: AuthEnterpriseSession = {
|
|
25
|
-
session_token,
|
|
26
|
-
refresh_token,
|
|
27
|
-
session_expires_at,
|
|
28
|
-
refresh_expires_at,
|
|
29
|
-
created_at,
|
|
30
|
-
updated_at,
|
|
31
|
-
ip,
|
|
32
|
-
user_agent,
|
|
33
|
-
eid,
|
|
34
|
-
};
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
[[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,37 +0,0 @@
|
|
|
1
|
-
# AuthEnterpriseUser
|
|
2
|
-
|
|
3
|
-
企业用户信息
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**eid** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**avatar_url** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**register_at** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**email_verified_at** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**phone_verified_at** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**materials** | [**AuthEnterpriseMaterials**](AuthEnterpriseMaterials.md) | | [optional] [default to undefined]
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import { AuthEnterpriseUser } from '@cherryin/api-client';
|
|
23
|
-
|
|
24
|
-
const instance: AuthEnterpriseUser = {
|
|
25
|
-
eid,
|
|
26
|
-
name,
|
|
27
|
-
email,
|
|
28
|
-
phone,
|
|
29
|
-
avatar_url,
|
|
30
|
-
register_at,
|
|
31
|
-
email_verified_at,
|
|
32
|
-
phone_verified_at,
|
|
33
|
-
materials,
|
|
34
|
-
};
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
[[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/AuthPassport.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# AuthPassport
|
|
2
|
-
|
|
3
|
-
通行证信息 (映射 db.Passport)
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**aid** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**avatar_url** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**register_at** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**email_verified_at** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**phone_verified_at** | **string** | | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { AuthPassport } from '@cherryin/api-client';
|
|
22
|
-
|
|
23
|
-
const instance: AuthPassport = {
|
|
24
|
-
aid,
|
|
25
|
-
name,
|
|
26
|
-
email,
|
|
27
|
-
phone,
|
|
28
|
-
avatar_url,
|
|
29
|
-
register_at,
|
|
30
|
-
email_verified_at,
|
|
31
|
-
phone_verified_at,
|
|
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)
|
package/docs/AuthUser.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# AuthUser
|
|
2
|
-
|
|
3
|
-
用户信息
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**uid** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**app_id** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**aid** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**name** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**avatar_url** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**register_at** | **string** | | [optional] [default to undefined]
|
|
17
|
-
**email_verified_at** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**phone_verified_at** | **string** | | [optional] [default to undefined]
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { AuthUser } from '@cherryin/api-client';
|
|
24
|
-
|
|
25
|
-
const instance: AuthUser = {
|
|
26
|
-
uid,
|
|
27
|
-
app_id,
|
|
28
|
-
aid,
|
|
29
|
-
name,
|
|
30
|
-
email,
|
|
31
|
-
phone,
|
|
32
|
-
avatar_url,
|
|
33
|
-
register_at,
|
|
34
|
-
email_verified_at,
|
|
35
|
-
phone_verified_at,
|
|
36
|
-
};
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
[[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/AuthUserMethod.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# AuthUserMethod
|
|
2
|
-
|
|
3
|
-
关联账号信息 (映射 db.UserAuthMethod)
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**app_id** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**aid** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**uid** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**provider_id** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**email** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**phone** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**oauth_account_id** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**oauth_scopes** | **Array<string>** | | [optional] [default to undefined]
|
|
17
|
-
**created_at** | **string** | | [optional] [default to undefined]
|
|
18
|
-
**updated_at** | **string** | | [optional] [default to undefined]
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { AuthUserMethod } from '@cherryin/api-client';
|
|
24
|
-
|
|
25
|
-
const instance: AuthUserMethod = {
|
|
26
|
-
app_id,
|
|
27
|
-
aid,
|
|
28
|
-
uid,
|
|
29
|
-
provider_id,
|
|
30
|
-
email,
|
|
31
|
-
phone,
|
|
32
|
-
oauth_account_id,
|
|
33
|
-
oauth_scopes,
|
|
34
|
-
created_at,
|
|
35
|
-
updated_at,
|
|
36
|
-
};
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|