@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.
Files changed (356) hide show
  1. package/.openapi-generator/FILES +265 -103
  2. package/README.md +391 -156
  3. package/api.ts +12793 -4366
  4. package/dist/api.d.ts +7771 -2676
  5. package/dist/api.js +6883 -1480
  6. package/dist/esm/api.d.ts +7771 -2676
  7. package/dist/esm/api.js +6838 -1459
  8. package/docs/AIModelAdminServiceApi.md +101 -90
  9. package/docs/AIModelPricingConfig.md +10 -10
  10. package/docs/AdminAIModel.md +73 -0
  11. package/docs/{AIModelCheckConnectionResponse.md → AdminAIModelCheckConnectionResponse.md} +4 -4
  12. package/docs/{AIModelCheckItem.md → AdminAIModelCheckItem.md} +3 -3
  13. package/docs/{AIModelCheckResult.md → AdminAIModelCheckResult.md} +5 -5
  14. package/docs/AdminAIModelCreateRequest.md +67 -0
  15. package/docs/AdminAIModelCreateResponse.md +25 -0
  16. package/docs/{AIModelDeleteResponse.md → AdminAIModelDeleteResponse.md} +4 -4
  17. package/docs/AdminAIModelDisableRequest.md +23 -0
  18. package/docs/AdminAIModelDisableResponse.md +25 -0
  19. package/docs/{AIModelDiscountConfig.md → AdminAIModelDiscountConfig.md} +4 -4
  20. package/docs/{AIModelGetResponse.md → AdminAIModelGetResponse.md} +5 -5
  21. package/docs/{AIModelListResponse.md → AdminAIModelListResponse.md} +5 -5
  22. package/docs/AdminAIModelProviderConfigItem.md +29 -0
  23. package/docs/AdminAIModelPublishRequest.md +23 -0
  24. package/docs/{AIModelDisableResponse.md → AdminAIModelPublishResponse.md} +5 -5
  25. package/docs/AdminAIModelUpdateRequest.md +25 -0
  26. package/docs/{AIModelUpdateResponse.md → AdminAIModelUpdateResponse.md} +5 -5
  27. package/docs/AdminAPIToken.md +41 -0
  28. package/docs/AdminAPITokenCreateRequest.md +25 -0
  29. package/docs/{AuthChangePasswordResponse.md → AdminAPITokenCreateResponse.md} +5 -5
  30. package/docs/AdminAPITokenDeleteResponse.md +22 -0
  31. package/docs/{AuthAdminRevokeSessionResponse.md → AdminAPITokenGetResponse.md} +5 -5
  32. package/docs/{AuthUnlinkAccountResponse.md → AdminAPITokenListResponse.md} +7 -5
  33. package/docs/AdminAPITokenRefreshRequest.md +21 -0
  34. package/docs/{AuthAdminSignInEmailResponse.md → AdminAPITokenRefreshResponse.md} +5 -5
  35. package/docs/AdminAPITokenScopes.md +25 -0
  36. package/docs/AdminAPITokenServiceApi.md +325 -0
  37. package/docs/AdminAPITokenUpdateRequest.md +29 -0
  38. package/docs/{AuthAdminUpdateUserResponse.md → AdminAPITokenUpdateResponse.md} +5 -5
  39. package/docs/AdminEnterpriseMaterials.md +24 -0
  40. package/docs/AdminEnterpriseUser.md +24 -0
  41. package/docs/AdminEnterpriseUserMaterials.md +22 -0
  42. package/docs/AdminPassportItem.md +24 -0
  43. package/docs/AdminProvider.md +46 -0
  44. package/docs/AdminProviderCreateRequest.md +41 -0
  45. package/docs/AdminProviderCreateResponse.md +25 -0
  46. package/docs/{ProviderModelDeleteResponse.md → AdminProviderDeleteResponse.md} +4 -4
  47. package/docs/AdminProviderGetResponse.md +25 -0
  48. package/docs/AdminProviderListResponse.md +27 -0
  49. package/docs/AdminProviderModel.md +68 -0
  50. package/docs/AdminProviderModelCreateRequest.md +63 -0
  51. package/docs/AdminProviderModelCreateResponse.md +25 -0
  52. package/docs/{ProviderDeleteResponse.md → AdminProviderModelDeleteResponse.md} +4 -4
  53. package/docs/{ProviderGetResponse.md → AdminProviderModelGetResponse.md} +5 -5
  54. package/docs/{ProviderModelListResponse.md → AdminProviderModelListResponse.md} +6 -6
  55. package/docs/AdminProviderModelUpdateRequest.md +27 -0
  56. package/docs/{AIModelCreateResponse.md → AdminProviderModelUpdateResponse.md} +5 -5
  57. package/docs/AdminProviderUpdateRequest.md +27 -0
  58. package/docs/{AIModelPublishResponse.md → AdminProviderUpdateResponse.md} +5 -5
  59. package/docs/AdminUserItem.md +26 -0
  60. package/docs/AudioPricing.md +8 -8
  61. package/docs/AuthAdminSession.md +39 -0
  62. package/docs/{Auth2Admin.md → AuthAdminUser.md} +7 -7
  63. package/docs/AuthEnterpriseMaterials.md +33 -0
  64. package/docs/AuthEnterpriseSession.md +37 -0
  65. package/docs/AuthEnterpriseUser.md +37 -0
  66. package/docs/{Auth2IdToken.md → AuthIdToken.md} +3 -3
  67. package/docs/AuthPassport.md +35 -0
  68. package/docs/AuthUser.md +39 -0
  69. package/docs/AuthUserMethod.md +39 -0
  70. package/docs/AuthUserSession.md +41 -0
  71. package/docs/CodeExecutionPricing.md +25 -0
  72. package/docs/ConfigItem.md +10 -6
  73. package/docs/DiscountDeleteResponse.md +1 -1
  74. package/docs/DiscountGetResponse.md +1 -1
  75. package/docs/DiscountListResponse.md +1 -1
  76. package/docs/DiscountUpdateResponse.md +1 -1
  77. package/docs/FeatureCostPricing.md +5 -5
  78. package/docs/FeaturePricing.md +27 -0
  79. package/docs/FrontAIModel.md +15 -17
  80. package/docs/FrontendModelExtraInfo.md +21 -0
  81. package/docs/FrontendModelPricing.md +57 -0
  82. package/docs/FrontendModelsResponse.md +29 -0
  83. package/docs/FrontendProviderInfo.md +31 -0
  84. package/docs/FrontendProviderModel.md +55 -0
  85. package/docs/FrontendProvidersResponse.md +29 -0
  86. package/docs/FrontendSearchContextCost.md +25 -0
  87. package/docs/ImagePricing.md +16 -10
  88. package/docs/LabelCreateResponse.md +1 -1
  89. package/docs/LabelDeleteResponse.md +1 -1
  90. package/docs/LabelListResponse.md +1 -1
  91. package/docs/LabelUpdateResponse.md +1 -1
  92. package/docs/ModelCapabilities.md +59 -0
  93. package/docs/ModelLimits.md +41 -0
  94. package/docs/{UserModelListResponse.md → ModelListResponse.md} +12 -13
  95. package/docs/ModelModalities.md +23 -0
  96. package/docs/MultimodalPricing.md +4 -4
  97. package/docs/{AuthRequestPasswordResetRequest.md → PassportAdminPasswordForgetRequest.md} +5 -5
  98. package/docs/{AuthRevokeSessionResponse.md → PassportAdminPasswordForgetResponse.md} +3 -5
  99. package/docs/PassportAdminPasswordResetRequest.md +28 -0
  100. package/docs/{AuthLinkSocialResponse.md → PassportAdminPasswordResetResponse.md} +3 -5
  101. package/docs/PassportAdminPasswordResetTokenVerifyRequest.md +20 -0
  102. package/docs/PassportAdminPasswordResetTokenVerifyResponse.md +26 -0
  103. package/docs/PassportAdminSendVerificationEmailRequest.md +26 -0
  104. package/docs/PassportAdminSendVerificationEmailResponse.md +22 -0
  105. package/docs/{AuthAdminSignInEmailRequest.md → PassportAdminSignInEmailRequest.md} +7 -5
  106. package/docs/{AuthGetSessionResponse.md → PassportAdminSignInEmailResponse.md} +6 -6
  107. package/docs/{AuthAdminRevokeSessionRequest.md → PassportAdminTokenAuthRequest.md} +3 -3
  108. package/docs/PassportAdminTokenAuthResponse.md +28 -0
  109. package/docs/{AuthAdminChangePasswordRequest.md → PassportAuthAdminChangePasswordRequest.md} +3 -3
  110. package/docs/PassportAuthAdminChangePasswordResponse.md +26 -0
  111. package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +28 -0
  112. package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +22 -0
  113. package/docs/PassportAuthAdminEnterpriseMaterialReviewResponse.md +22 -0
  114. package/docs/{AuthGetAccountInfoResponse.md → PassportAuthAdminGetInfoResponse.md} +4 -4
  115. package/docs/{AuthAdminGetSessionResponse.md → PassportAuthAdminGetSessionResponse.md} +5 -5
  116. package/docs/{AuthAdminListSessionsResponse.md → PassportAuthAdminListSessionsResponse.md} +4 -4
  117. package/docs/PassportAuthAdminPassportDisableRequest.md +22 -0
  118. package/docs/PassportAuthAdminPassportDisableResponse.md +22 -0
  119. package/docs/PassportAuthAdminPassportListRequest.md +28 -0
  120. package/docs/PassportAuthAdminPassportListResponse.md +28 -0
  121. package/docs/PassportAuthAdminPassportModifyInfoRequest.md +28 -0
  122. package/docs/PassportAuthAdminPassportModifyInfoResponse.md +24 -0
  123. package/docs/PassportAuthAdminRPCServiceApi.md +61 -0
  124. package/docs/{AuthResetPasswordRequest.md → PassportAuthAdminResetPasswordRequest.md} +3 -5
  125. package/docs/PassportAuthAdminResetPasswordResponse.md +22 -0
  126. package/docs/{AuthSignOutResponse.md → PassportAuthAdminRevokeOtherSessionsResponse.md} +3 -5
  127. package/docs/{AuthDeleteUserRequest.md → PassportAuthAdminRevokeSessionRequest.md} +3 -7
  128. package/docs/PassportAuthAdminRevokeSessionResponse.md +22 -0
  129. package/docs/PassportAuthAdminRevokeSessionsResponse.md +22 -0
  130. package/docs/PassportAuthAdminServiceApi.md +1286 -0
  131. package/docs/PassportAuthAdminSignOutResponse.md +22 -0
  132. package/docs/{AuthAdminUpdateUserRequest.md → PassportAuthAdminUpdateInfoRequest.md} +5 -5
  133. package/docs/{AuthUpdateUserResponse.md → PassportAuthAdminUpdateInfoResponse.md} +4 -4
  134. package/docs/PassportAuthAdminUserDisableRequest.md +26 -0
  135. package/docs/PassportAuthAdminUserDisableResponse.md +22 -0
  136. package/docs/PassportAuthAdminUserListRequest.md +28 -0
  137. package/docs/{AuthSendVerificationEmailResponse.md → PassportAuthAdminUserListResponse.md} +9 -5
  138. package/docs/PassportAuthAdminUserModifyInfoRequest.md +32 -0
  139. package/docs/{AuthResetPasswordResponse.md → PassportAuthAdminUserModifyInfoResponse.md} +5 -5
  140. package/docs/PassportAuthAdminUserModifyPermissionRequest.md +22 -0
  141. package/docs/PassportAuthAdminUserModifyPermissionResponse.md +24 -0
  142. package/docs/PassportAuthChangePasswordRequest.md +26 -0
  143. package/docs/PassportAuthChangePasswordResponse.md +26 -0
  144. package/docs/{AuthSignInEmailRequest.md → PassportAuthDeleteAllRequest.md} +9 -7
  145. package/docs/PassportAuthDeleteAllResponse.md +22 -0
  146. package/docs/{AuthChangePasswordRequest.md → PassportAuthEnterpriseChangePasswordRequest.md} +3 -3
  147. package/docs/{AuthAdminChangePasswordResponse.md → PassportAuthEnterpriseChangePasswordResponse.md} +4 -4
  148. package/docs/PassportAuthEnterpriseChangePhoneRequest.md +24 -0
  149. package/docs/PassportAuthEnterpriseChangePhoneResponse.md +22 -0
  150. package/docs/{AuthSignUpEmailRequest.md → PassportAuthEnterpriseDeleteRequest.md} +9 -13
  151. package/docs/PassportAuthEnterpriseDeleteResponse.md +22 -0
  152. package/docs/PassportAuthEnterpriseGetSessionResponse.md +24 -0
  153. package/docs/PassportAuthEnterpriseInfoGetResponse.md +24 -0
  154. package/docs/PassportAuthEnterpriseListSessionsResponse.md +24 -0
  155. package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +26 -0
  156. package/docs/{AuthAdminSignOutResponse.md → PassportAuthEnterpriseMaterialUploadResponse.md} +3 -5
  157. package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +24 -0
  158. package/docs/PassportAuthEnterpriseRPCServiceApi.md +61 -0
  159. package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +20 -0
  160. package/docs/PassportAuthEnterpriseRefreshTokenResponse.md +24 -0
  161. package/docs/PassportAuthEnterpriseResetPasswordRequest.md +22 -0
  162. package/docs/PassportAuthEnterpriseResetPasswordResponse.md +22 -0
  163. package/docs/PassportAuthEnterpriseRevokeOtherSessionsResponse.md +22 -0
  164. package/docs/PassportAuthEnterpriseRevokeSessionRequest.md +20 -0
  165. package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +22 -0
  166. package/docs/PassportAuthEnterpriseRevokeSessionsResponse.md +22 -0
  167. package/docs/PassportAuthEnterpriseServiceApi.md +1170 -0
  168. package/docs/PassportAuthEnterpriseSignOutRequest.md +20 -0
  169. package/docs/PassportAuthEnterpriseSignOutResponse.md +22 -0
  170. package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +22 -0
  171. package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +24 -0
  172. package/docs/{AuthSendVerificationEmailRequest.md → PassportAuthEnterpriseVerifyEmailRequest.md} +5 -3
  173. package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +22 -0
  174. package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +22 -0
  175. package/docs/PassportAuthInfoGetResponse.md +26 -0
  176. package/docs/{AuthSignInSocialRequest.md → PassportAuthLinkSocialRequest.md} +6 -4
  177. package/docs/{AuthSignUpEmailResponse.md → PassportAuthLinkSocialResponse.md} +5 -7
  178. package/docs/PassportAuthListMethodsResponse.md +24 -0
  179. package/docs/{AuthListSessionsResponse.md → PassportAuthListSessionsResponse.md} +4 -4
  180. package/docs/PassportAuthListSocialsResponse.md +24 -0
  181. package/docs/PassportAuthRefreshSessionTokenRequest.md +20 -0
  182. package/docs/PassportAuthRefreshSessionTokenResponse.md +24 -0
  183. package/docs/PassportAuthResetPasswordRequest.md +24 -0
  184. package/docs/PassportAuthResetPasswordResponse.md +22 -0
  185. package/docs/PassportAuthRevokeOtherSessionsRequest.md +20 -0
  186. package/docs/{AuthDeleteUserResponse.md → PassportAuthRevokeOtherSessionsResponse.md} +3 -3
  187. package/docs/PassportAuthRevokeSessionRequest.md +20 -0
  188. package/docs/PassportAuthRevokeSessionResponse.md +22 -0
  189. package/docs/PassportAuthRevokeSessionsRequest.md +20 -0
  190. package/docs/PassportAuthRevokeSessionsResponse.md +22 -0
  191. package/docs/PassportAuthSendVerificationEmailRequest.md +26 -0
  192. package/docs/PassportAuthSendVerificationEmailResponse.md +22 -0
  193. package/docs/PassportAuthSendVerificationPhoneRequest.md +26 -0
  194. package/docs/PassportAuthSendVerificationPhoneResponse.md +22 -0
  195. package/docs/{AuthRefreshTokenRequest.md → PassportAuthSocialGetAccessTokenRequest.md} +3 -3
  196. package/docs/{AuthRefreshTokenResponse.md → PassportAuthSocialGetAccessTokenResponse.md} +3 -3
  197. package/docs/{AuthGetAccessTokenRequest.md → PassportAuthSocialRefreshTokenRequest.md} +3 -3
  198. package/docs/{AuthGetAccessTokenResponse.md → PassportAuthSocialRefreshTokenResponse.md} +3 -3
  199. package/docs/{AuthUnlinkAccountRequest.md → PassportAuthUnlinkSocialRequest.md} +5 -3
  200. package/docs/PassportAuthUnlinkSocialResponse.md +22 -0
  201. package/docs/{AuthChangeEmailRequest.md → PassportAuthUserChangeEmailRequest.md} +5 -3
  202. package/docs/PassportAuthUserChangeEmailResponse.md +24 -0
  203. package/docs/PassportAuthUserChangePhoneRequest.md +26 -0
  204. package/docs/PassportAuthUserChangePhoneResponse.md +24 -0
  205. package/docs/PassportAuthUserDeleteRequest.md +30 -0
  206. package/docs/PassportAuthUserDeleteResponse.md +22 -0
  207. package/docs/PassportAuthUserGetSessionResponse.md +24 -0
  208. package/docs/{AuthRevokeOtherSessionsResponse.md → PassportAuthUserInfoGetResponse.md} +5 -5
  209. package/docs/PassportAuthUserRPCServiceApi.md +223 -0
  210. package/docs/PassportAuthUserServiceApi.md +2000 -0
  211. package/docs/PassportAuthUserSignOutRequest.md +22 -0
  212. package/docs/PassportAuthUserSignOutResponse.md +22 -0
  213. package/docs/PassportAuthUserUpdateInfoRequest.md +28 -0
  214. package/docs/PassportAuthUserUpdateInfoResponse.md +24 -0
  215. package/docs/{AuthUpdateUserRequest.md → PassportAuthUserUpdatePassportRequest.md} +5 -5
  216. package/docs/PassportAuthUserUpdatePassportResponse.md +24 -0
  217. package/docs/PassportAuthUserVerifyEmailRequest.md +26 -0
  218. package/docs/PassportAuthUserVerifyEmailResponse.md +22 -0
  219. package/docs/PassportAuthUserVerifyPhoneRequest.md +24 -0
  220. package/docs/PassportAuthUserVerifyPhoneResponse.md +22 -0
  221. package/docs/PassportEnterprisePasswordResetRequest.md +24 -0
  222. package/docs/{AuthSignInEmailResponse.md → PassportEnterprisePasswordResetResponse.md} +5 -9
  223. package/docs/PassportEnterpriseSendVerificationEmailRequest.md +24 -0
  224. package/docs/PassportEnterpriseSendVerificationEmailResponse.md +22 -0
  225. package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +24 -0
  226. package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +22 -0
  227. package/docs/PassportEnterpriseSignInEmailRequest.md +30 -0
  228. package/docs/{AuthOAuth2CallbackResponse.md → PassportEnterpriseSignInEmailResponse.md} +8 -10
  229. package/docs/PassportEnterpriseSignInPhoneRequest.md +24 -0
  230. package/docs/PassportEnterpriseSignInPhoneResponse.md +26 -0
  231. package/docs/PassportEnterpriseSignUpEmailRequest.md +34 -0
  232. package/docs/PassportEnterpriseSignUpEmailResponse.md +30 -0
  233. package/docs/PassportEnterpriseTokenAuthRequest.md +20 -0
  234. package/docs/PassportEnterpriseTokenAuthResponse.md +28 -0
  235. package/docs/PassportSendVerificationEmailRequest.md +26 -0
  236. package/docs/PassportSendVerificationEmailResponse.md +22 -0
  237. package/docs/PassportSendVerificationPhoneRequest.md +26 -0
  238. package/docs/PassportSendVerificationPhoneResponse.md +22 -0
  239. package/docs/PassportUserInfoBatchGetRequest.md +24 -0
  240. package/docs/{AuthRequestPasswordResetResponse.md → PassportUserInfoBatchGetResponse.md} +5 -5
  241. package/docs/PassportUserInfoGetRequest.md +24 -0
  242. package/docs/{AuthAdminRevokeSessionsResponse.md → PassportUserInfoGetResponse.md} +5 -5
  243. package/docs/PassportUserOAuthCallbackResponse.md +36 -0
  244. package/docs/PassportUserPasswordForgetRequest.md +24 -0
  245. package/docs/PassportUserPasswordForgetResponse.md +22 -0
  246. package/docs/PassportUserPasswordResetRequest.md +30 -0
  247. package/docs/{AuthSignInSocialResponse.md → PassportUserPasswordResetResponse.md} +5 -9
  248. package/docs/PassportUserPasswordResetTokenVerifyRequest.md +22 -0
  249. package/docs/{AuthListAccountsResponse.md → PassportUserPasswordResetTokenVerifyResponse.md} +7 -5
  250. package/docs/PassportUserSignInEmailRequest.md +32 -0
  251. package/docs/PassportUserSignInEmailResponse.md +32 -0
  252. package/docs/PassportUserSignInPhoneRequest.md +26 -0
  253. package/docs/PassportUserSignInPhoneResponse.md +28 -0
  254. package/docs/{AuthLinkSocialRequest.md → PassportUserSignInSocialRequest.md} +8 -6
  255. package/docs/PassportUserSignInSocialResponse.md +32 -0
  256. package/docs/PassportUserSignUpEmailRequest.md +36 -0
  257. package/docs/PassportUserSignUpEmailResponse.md +32 -0
  258. package/docs/{AuthRevokeSessionRequest.md → PassportUserTokenAuthRequest.md} +3 -3
  259. package/docs/PassportUserTokenAuthResponse.md +28 -0
  260. package/docs/PassportUserUpdateInfoRequest.md +30 -0
  261. package/docs/PassportUserUpdateInfoResponse.md +22 -0
  262. package/docs/PricingConditions.md +7 -7
  263. package/docs/PricingRules.md +10 -6
  264. package/docs/{AWSAuth.md → ProviderAWSAuth.md} +4 -3
  265. package/docs/ProviderAdminServiceApi.md +305 -53
  266. package/docs/ProviderAuth.md +6 -6
  267. package/docs/ProviderGCPAuth.md +27 -0
  268. package/docs/ProviderModelAdminServiceApi.md +366 -57
  269. package/docs/QRCodeAdminServiceApi.md +286 -0
  270. package/docs/QRCodeCreateRequest.md +37 -0
  271. package/docs/QRCodeCreateResponse.md +25 -0
  272. package/docs/QRCodeDeleteResponse.md +23 -0
  273. package/docs/QRCodeGetResponse.md +25 -0
  274. package/docs/QRCodeHistoryItem.md +29 -0
  275. package/docs/QRCodeInfo.md +59 -0
  276. package/docs/QRCodeListResponse.md +27 -0
  277. package/docs/QRCodeSnapshot.md +37 -0
  278. package/docs/QRCodeUpdateRequest.md +39 -0
  279. package/docs/QRCodeUpdateResponse.md +25 -0
  280. package/docs/QRCodeWithHistory.md +23 -0
  281. package/docs/ReasoningTokensPricing.md +21 -0
  282. package/docs/RemoteConfigAdminServiceApi.md +21 -3
  283. package/docs/RemoteConfigItemGetResponse.md +2 -2
  284. package/docs/RemoteConfigItemUpdateRequest.md +6 -0
  285. package/docs/RemoteConfigItemUpdateResponse.md +2 -2
  286. package/docs/RequestPricing.md +4 -4
  287. package/docs/TextTokenInputPricing.md +5 -5
  288. package/docs/TextTokenOutputPricing.md +4 -4
  289. package/docs/TextTokenPricing.md +3 -3
  290. package/docs/TokenTier.md +5 -5
  291. package/docs/UserAPIKey.md +15 -15
  292. package/docs/UserAPIKeyCreateRequest.md +9 -9
  293. package/docs/UserAPIKeyCreateResponse.md +4 -4
  294. package/docs/UserAPIKeyDeleteResponse.md +3 -3
  295. package/docs/UserAPIKeyGetResponse.md +4 -4
  296. package/docs/UserAPIKeyListResponse.md +5 -5
  297. package/docs/UserAPIKeyServiceApi.md +26 -27
  298. package/docs/UserAPIKeyUpdateResponse.md +3 -3
  299. package/docs/UserBalanceChangeResponse.md +2 -2
  300. package/docs/UserBalanceEditResponse.md +2 -2
  301. package/docs/UserBalanceListResponse.md +2 -2
  302. package/docs/UserBalanceServiceApi.md +4 -4
  303. package/docs/UserBasic.md +42 -0
  304. package/docs/UserExtendInfo.md +20 -0
  305. package/docs/UserInfoQueryOptions.md +28 -0
  306. package/docs/UserLabelListResponse.md +1 -1
  307. package/docs/UserLabelPairChangeResponse.md +1 -1
  308. package/docs/UserMeInfo.md +3 -3
  309. package/docs/UserModelActivitySummary.md +31 -0
  310. package/docs/UserModelHourActivity.md +28 -0
  311. package/docs/UserModelHourlyUsages.md +20 -0
  312. package/docs/UserModelServiceApi.md +124 -11
  313. package/docs/UserPaymentInfo.md +20 -0
  314. package/docs/UserPortalDashboard.md +25 -0
  315. package/docs/{AuthAdminRevokeOtherSessionsResponse.md → UserPortalDashboardResponse.md} +5 -5
  316. package/docs/UserPortalServiceApi.md +109 -0
  317. package/docs/UserPreferences.md +22 -0
  318. package/docs/VersionedAPISchema.md +6 -6
  319. package/docs/VideoPricing.md +8 -8
  320. package/docs/WebSearchPricing.md +31 -0
  321. package/package.json +1 -1
  322. package/docs/AIModel.md +0 -45
  323. package/docs/AIModelArchitecture.md +0 -25
  324. package/docs/AIModelCreateRequest.md +0 -35
  325. package/docs/AIModelDeleteRequest.md +0 -21
  326. package/docs/AIModelDisableRequest.md +0 -21
  327. package/docs/AIModelMeta.md +0 -25
  328. package/docs/AIModelProviderConfigItem.md +0 -29
  329. package/docs/AIModelPublishRequest.md +0 -21
  330. package/docs/AIModelUpdateRequest.md +0 -37
  331. package/docs/Auth2Account.md +0 -33
  332. package/docs/Auth2AdminServiceApi.md +0 -469
  333. package/docs/Auth2AdminSession.md +0 -35
  334. package/docs/Auth2Session.md +0 -35
  335. package/docs/Auth2User.md +0 -33
  336. package/docs/Auth2UserServiceApi.md +0 -1261
  337. package/docs/AuthChangeEmailResponse.md +0 -26
  338. package/docs/AuthRevokeSessionsResponse.md +0 -24
  339. package/docs/AuthVerifyEmailResponse.md +0 -24
  340. package/docs/GCPAuth.md +0 -27
  341. package/docs/Provider.md +0 -37
  342. package/docs/ProviderCreateRequest.md +0 -29
  343. package/docs/ProviderCreateResponse.md +0 -25
  344. package/docs/ProviderListResponse.md +0 -27
  345. package/docs/ProviderModel.md +0 -37
  346. package/docs/ProviderModelCreateRequest.md +0 -29
  347. package/docs/ProviderModelCreateResponse.md +0 -25
  348. package/docs/ProviderModelGetResponse.md +0 -25
  349. package/docs/ProviderModelPayload.md +0 -23
  350. package/docs/ProviderModelUpdateRequest.md +0 -31
  351. package/docs/ProviderModelUpdateResponse.md +0 -25
  352. package/docs/ProviderPayload.md +0 -21
  353. package/docs/ProviderUpdateRequest.md +0 -31
  354. package/docs/ProviderUpdateResponse.md +0 -25
  355. package/docs/UserAPIKeyDeleteRequest.md +0 -21
  356. package/docs/UserPoralServiceApi.md +0 -52
@@ -0,0 +1,67 @@
1
+ # AdminAIModelCreateRequest
2
+
3
+ AdminAIModelCreateRequest 创建 AIModel 的请求(草稿状态) Request message for creating a new AI model (draft status)
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
+ **pricing** | [**FrontendModelPricing**](FrontendModelPricing.md) | pricing 模型成本(注意需要和 AIModelPricingConfig 进行交叉比对) pricing_configs 是内部计价结构,pricing 是外部展示计价结构 | [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_configs** | [**Array<AdminAIModelProviderConfigItem>**](AdminAIModelProviderConfigItem.md) | provider_configs Provider 配置列表 | [optional] [default to undefined]
29
+ **pricing_configs** | [**Array<AIModelPricingConfig>**](AIModelPricingConfig.md) | pricing_configs 价格配置列表 (NEW) | [optional] [default to undefined]
30
+ **discount_config** | [**AdminAIModelDiscountConfig**](AdminAIModelDiscountConfig.md) | discount_config 折扣配置 | [optional] [default to undefined]
31
+ **model_group** | **string** | model_group 模型分组(内部概念) | [optional] [default to undefined]
32
+ **description** | **string** | description 模型描述 | [optional] [default to undefined]
33
+
34
+ ## Example
35
+
36
+ ```typescript
37
+ import { AdminAIModelCreateRequest } from '@cherryin/api-client';
38
+
39
+ const instance: AdminAIModelCreateRequest = {
40
+ id,
41
+ name,
42
+ family,
43
+ source,
44
+ model_card,
45
+ temperature,
46
+ knowledge,
47
+ release_date,
48
+ last_updated,
49
+ open_weights,
50
+ deprecation_date,
51
+ context_length,
52
+ modalities,
53
+ limits,
54
+ capabilities,
55
+ pricing,
56
+ extra_info,
57
+ is_official,
58
+ endpoints,
59
+ provider_configs,
60
+ pricing_configs,
61
+ discount_config,
62
+ model_group,
63
+ description,
64
+ };
65
+ ```
66
+
67
+ [[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,25 @@
1
+ # AdminAIModelCreateResponse
2
+
3
+ AdminAIModelCreateResponse 创建 AIModel 的响应 Response message for AI 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** | [**AdminAIModel**](AdminAIModel.md) | data 创建成功后返回的 AIModel 信息 | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminAIModelCreateResponse } from '@cherryin/api-client';
17
+
18
+ const instance: AdminAIModelCreateResponse = {
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,6 +1,6 @@
1
- # AIModelDeleteResponse
1
+ # AdminAIModelDeleteResponse
2
2
 
3
- AIModelDeleteResponse 删除 AIModel 的响应 Response message for AI model deletion
3
+ AdminAIModelDeleteResponse 删除 AIModel 的响应 Response message for AI model deletion
4
4
 
5
5
  ## Properties
6
6
 
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import { AIModelDeleteResponse } from '@cherryin/api-client';
15
+ import { AdminAIModelDeleteResponse } from '@cherryin/api-client';
16
16
 
17
- const instance: AIModelDeleteResponse = {
17
+ const instance: AdminAIModelDeleteResponse = {
18
18
  code,
19
19
  message,
20
20
  };
@@ -0,0 +1,23 @@
1
+ # AdminAIModelDisableRequest
2
+
3
+ AdminAIModelDisableRequest 禁用 AIModel 的请求
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Provider 的唯一标识符 @gotags: form:\"id\" | [optional] [default to undefined]
10
+ **record_id** | **string** | Provider 数据库自增 id - record_id @gotags: form:\"record_id\" | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminAIModelDisableRequest } from '@cherryin/api-client';
16
+
17
+ const instance: AdminAIModelDisableRequest = {
18
+ id,
19
+ record_id,
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)
@@ -0,0 +1,25 @@
1
+ # AdminAIModelDisableResponse
2
+
3
+ AdminAIModelDisableResponse 禁用 AIModel 的响应 Response message for AI model disable
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** | [**AdminAIModel**](AdminAIModel.md) | data 禁用后的 AIModel 信息 Disabled AI model information | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminAIModelDisableResponse } from '@cherryin/api-client';
17
+
18
+ const instance: AdminAIModelDisableResponse = {
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,6 +1,6 @@
1
- # AIModelDiscountConfig
1
+ # AdminAIModelDiscountConfig
2
2
 
3
- AIModelDiscountConfig AI模型折扣配置
3
+ AdminAIModelDiscountConfig AI模型折扣配置
4
4
 
5
5
  ## Properties
6
6
 
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { AIModelDiscountConfig } from '@cherryin/api-client';
14
+ import { AdminAIModelDiscountConfig } from '@cherryin/api-client';
15
15
 
16
- const instance: AIModelDiscountConfig = {
16
+ const instance: AdminAIModelDiscountConfig = {
17
17
  discount_ids,
18
18
  };
19
19
  ```
@@ -1,6 +1,6 @@
1
- # AIModelGetResponse
1
+ # AdminAIModelGetResponse
2
2
 
3
- AIModelGetResponse 获取单个 AIModel 的响应 Response message for AI model retrieval
3
+ AdminAIModelGetResponse 获取单个 AIModel 的响应
4
4
 
5
5
  ## Properties
6
6
 
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
10
  **message** | **string** | | [optional] [default to undefined]
11
- **data** | [**AIModel**](AIModel.md) | data AIModel 信息 AIModel information | [optional] [default to undefined]
11
+ **data** | [**AdminAIModel**](AdminAIModel.md) | data AIModel 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { AIModelGetResponse } from '@cherryin/api-client';
16
+ import { AdminAIModelGetResponse } from '@cherryin/api-client';
17
17
 
18
- const instance: AIModelGetResponse = {
18
+ const instance: AdminAIModelGetResponse = {
19
19
  code,
20
20
  message,
21
21
  data,
@@ -1,6 +1,6 @@
1
- # AIModelListResponse
1
+ # AdminAIModelListResponse
2
2
 
3
- AIModelListResponse 分页查询 AIModel 列表的响应 Response message for AI model listing
3
+ AdminAIModelListResponse 分页查询 AIModel 列表的响应 Response message for AI model listing
4
4
 
5
5
  ## Properties
6
6
 
@@ -8,15 +8,15 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
10
  **message** | **string** | | [optional] [default to undefined]
11
- **list** | [**Array<AIModel>**](AIModel.md) | list AIModel 列表 List of AI models | [optional] [default to undefined]
11
+ **list** | [**Array<AdminAIModel>**](AdminAIModel.md) | list AIModel 列表 List of AI models | [optional] [default to undefined]
12
12
  **total** | **string** | total 符合条件的 AIModel 总数 Total number of AI models matching the filter criteria | [optional] [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
16
16
  ```typescript
17
- import { AIModelListResponse } from '@cherryin/api-client';
17
+ import { AdminAIModelListResponse } from '@cherryin/api-client';
18
18
 
19
- const instance: AIModelListResponse = {
19
+ const instance: AdminAIModelListResponse = {
20
20
  code,
21
21
  message,
22
22
  list,
@@ -0,0 +1,29 @@
1
+ # AdminAIModelProviderConfigItem
2
+
3
+ AdminAIModelProviderConfigItem 代表创建/更新 AIModel 时的 Provider 配置项
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **provider_id** | **string** | provider_id 关联的 Provider ID | [optional] [default to undefined]
10
+ **provider_model_id** | **string** | provider_model_id 关联的 ProviderModel ID | [optional] [default to undefined]
11
+ **priority** | **string** | priority 优先级,数值越小优先级越高 | [optional] [default to undefined]
12
+ **traffic_permille** | **string** | traffic_permille 流量千分比 (0-1000) | [optional] [default to undefined]
13
+ **endpoint_mapping** | **{ [key: string]: string; }** | endpoint_mapping 端点映射配置 key: ai model endpoint id (e.g., \"openai:chat/completions\") value: provider api endpoint id (e.g., \"anthropic:messages\") | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { AdminAIModelProviderConfigItem } from '@cherryin/api-client';
19
+
20
+ const instance: AdminAIModelProviderConfigItem = {
21
+ provider_id,
22
+ provider_model_id,
23
+ priority,
24
+ traffic_permille,
25
+ endpoint_mapping,
26
+ };
27
+ ```
28
+
29
+ [[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,23 @@
1
+ # AdminAIModelPublishRequest
2
+
3
+ AdminAIModelPublishRequest 发布 AIModel 的请求
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Provider 的唯一标识符 @gotags: form:\"id\" | [optional] [default to undefined]
10
+ **record_id** | **string** | Provider 数据库自增 id - record_id @gotags: form:\"record_id\" | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminAIModelPublishRequest } from '@cherryin/api-client';
16
+
17
+ const instance: AdminAIModelPublishRequest = {
18
+ id,
19
+ record_id,
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,6 +1,6 @@
1
- # AIModelDisableResponse
1
+ # AdminAIModelPublishResponse
2
2
 
3
- AIModelDisableResponse 禁用 AIModel 的响应 Response message for AI model disable
3
+ AdminAIModelPublishResponse 发布 AIModel 的响应 Response message for AI model publish
4
4
 
5
5
  ## Properties
6
6
 
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
10
  **message** | **string** | | [optional] [default to undefined]
11
- **data** | [**AIModel**](AIModel.md) | data 禁用后的 AIModel 信息 Disabled AI model information | [optional] [default to undefined]
11
+ **data** | [**AdminAIModel**](AdminAIModel.md) | data 发布后的 AIModel 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { AIModelDisableResponse } from '@cherryin/api-client';
16
+ import { AdminAIModelPublishResponse } from '@cherryin/api-client';
17
17
 
18
- const instance: AIModelDisableResponse = {
18
+ const instance: AdminAIModelPublishResponse = {
19
19
  code,
20
20
  message,
21
21
  data,
@@ -0,0 +1,25 @@
1
+ # AdminAIModelUpdateRequest
2
+
3
+ AdminAIModelUpdateRequest 更新 AIModel 的请求 Request message for updating an existing AI 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** | [**AdminAIModel**](AdminAIModel.md) | payload 模型的配置详情 | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminAIModelUpdateRequest } from '@cherryin/api-client';
17
+
18
+ const instance: AdminAIModelUpdateRequest = {
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,6 +1,6 @@
1
- # AIModelUpdateResponse
1
+ # AdminAIModelUpdateResponse
2
2
 
3
- AIModelUpdateResponse 更新 AIModel 的响应 Response message for AI model update
3
+ AdminAIModelUpdateResponse 更新 AIModel 的响应 Response message for AI model update
4
4
 
5
5
  ## Properties
6
6
 
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
10
  **message** | **string** | | [optional] [default to undefined]
11
- **data** | [**AIModel**](AIModel.md) | data 更新后的 AIModel 信息 Updated AI model information | [optional] [default to undefined]
11
+ **data** | [**AdminAIModel**](AdminAIModel.md) | data 更新后的 AIModel 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { AIModelUpdateResponse } from '@cherryin/api-client';
16
+ import { AdminAIModelUpdateResponse } from '@cherryin/api-client';
17
17
 
18
- const instance: AIModelUpdateResponse = {
18
+ const instance: AdminAIModelUpdateResponse = {
19
19
  code,
20
20
  message,
21
21
  data,
@@ -0,0 +1,41 @@
1
+ # AdminAPIToken
2
+
3
+ AdminAPIToken 信息
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [optional] [default to undefined]
10
+ **uid** | **string** | | [optional] [default to undefined]
11
+ **token_prefix** | **string** | | [optional] [default to undefined]
12
+ **display_name** | **string** | | [optional] [default to undefined]
13
+ **token_status** | **number** | | [optional] [default to undefined]
14
+ **expires_at** | **string** | | [optional] [default to undefined]
15
+ **scopes** | [**AdminAPITokenScopes**](AdminAPITokenScopes.md) | | [optional] [default to undefined]
16
+ **last_used_at** | **string** | | [optional] [default to undefined]
17
+ **last_used_ip** | **string** | | [optional] [default to undefined]
18
+ **created_at** | **string** | | [optional] [default to undefined]
19
+ **updated_at** | **string** | | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { AdminAPIToken } from '@cherryin/api-client';
25
+
26
+ const instance: AdminAPIToken = {
27
+ id,
28
+ uid,
29
+ token_prefix,
30
+ display_name,
31
+ token_status,
32
+ expires_at,
33
+ scopes,
34
+ last_used_at,
35
+ last_used_ip,
36
+ created_at,
37
+ updated_at,
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)
@@ -0,0 +1,25 @@
1
+ # AdminAPITokenCreateRequest
2
+
3
+ Create
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **display_name** | **string** | | [optional] [default to undefined]
10
+ **expires_at** | **string** | | [optional] [default to undefined]
11
+ **scopes** | [**AdminAPITokenScopes**](AdminAPITokenScopes.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminAPITokenCreateRequest } from '@cherryin/api-client';
17
+
18
+ const instance: AdminAPITokenCreateRequest = {
19
+ display_name,
20
+ expires_at,
21
+ scopes,
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,4 +1,4 @@
1
- # AuthChangePasswordResponse
1
+ # AdminAPITokenCreateResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -8,18 +8,18 @@ Name | Type | Description | Notes
8
8
  **code** | **string** | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
10
  **token** | **string** | | [optional] [default to undefined]
11
- **user** | [**Auth2User**](Auth2User.md) | | [optional] [default to undefined]
11
+ **data** | [**AdminAPIToken**](AdminAPIToken.md) | | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { AuthChangePasswordResponse } from '@cherryin/api-client';
16
+ import { AdminAPITokenCreateResponse } from '@cherryin/api-client';
17
17
 
18
- const instance: AuthChangePasswordResponse = {
18
+ const instance: AdminAPITokenCreateResponse = {
19
19
  code,
20
20
  message,
21
21
  token,
22
- user,
22
+ data,
23
23
  };
24
24
  ```
25
25
 
@@ -0,0 +1,22 @@
1
+ # AdminAPITokenDeleteResponse
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 { AdminAPITokenDeleteResponse } from '@cherryin/api-client';
15
+
16
+ const instance: AdminAPITokenDeleteResponse = {
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
- # AuthAdminRevokeSessionResponse
1
+ # AdminAPITokenGetResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -7,17 +7,17 @@ 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]
10
+ **data** | [**AdminAPIToken**](AdminAPIToken.md) | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import { AuthAdminRevokeSessionResponse } from '@cherryin/api-client';
15
+ import { AdminAPITokenGetResponse } from '@cherryin/api-client';
16
16
 
17
- const instance: AuthAdminRevokeSessionResponse = {
17
+ const instance: AdminAPITokenGetResponse = {
18
18
  code,
19
19
  message,
20
- status,
20
+ data,
21
21
  };
22
22
  ```
23
23
 
@@ -1,4 +1,4 @@
1
- # AuthUnlinkAccountResponse
1
+ # AdminAPITokenListResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -7,17 +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
- **status** | **boolean** | | [optional] [default to undefined]
10
+ **data** | [**Array<AdminAPIToken>**](AdminAPIToken.md) | | [optional] [default to undefined]
11
+ **total** | **string** | | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
14
15
  ```typescript
15
- import { AuthUnlinkAccountResponse } from '@cherryin/api-client';
16
+ import { AdminAPITokenListResponse } from '@cherryin/api-client';
16
17
 
17
- const instance: AuthUnlinkAccountResponse = {
18
+ const instance: AdminAPITokenListResponse = {
18
19
  code,
19
20
  message,
20
- status,
21
+ data,
22
+ total,
21
23
  };
22
24
  ```
23
25
 
@@ -0,0 +1,21 @@
1
+ # AdminAPITokenRefreshRequest
2
+
3
+ Refresh (regenerate token)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AdminAPITokenRefreshRequest } from '@cherryin/api-client';
15
+
16
+ const instance: AdminAPITokenRefreshRequest = {
17
+ id,
18
+ };
19
+ ```
20
+
21
+ [[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
- # AuthAdminSignInEmailResponse
1
+ # AdminAPITokenRefreshResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -8,18 +8,18 @@ Name | Type | Description | Notes
8
8
  **code** | **string** | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
10
  **token** | **string** | | [optional] [default to undefined]
11
- **user** | [**Auth2Admin**](Auth2Admin.md) | | [optional] [default to undefined]
11
+ **data** | [**AdminAPIToken**](AdminAPIToken.md) | | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { AuthAdminSignInEmailResponse } from '@cherryin/api-client';
16
+ import { AdminAPITokenRefreshResponse } from '@cherryin/api-client';
17
17
 
18
- const instance: AuthAdminSignInEmailResponse = {
18
+ const instance: AdminAPITokenRefreshResponse = {
19
19
  code,
20
20
  message,
21
21
  token,
22
- user,
22
+ data,
23
23
  };
24
24
  ```
25
25
 
@@ -0,0 +1,25 @@
1
+ # AdminAPITokenScopes
2
+
3
+ AdminAPITokenScopes 权限范围
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **permissions** | **Array<string>** | | [optional] [default to undefined]
10
+ **allowed_endpoints** | **Array<string>** | | [optional] [default to undefined]
11
+ **denied_endpoints** | **Array<string>** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminAPITokenScopes } from '@cherryin/api-client';
17
+
18
+ const instance: AdminAPITokenScopes = {
19
+ permissions,
20
+ allowed_endpoints,
21
+ denied_endpoints,
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)