@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
@@ -79,10 +79,16 @@ import {
79
79
  const configuration = new Configuration();
80
80
  const apiInstance = new RemoteConfigAdminServiceApi(configuration);
81
81
 
82
+ let service: string; // (optional) (default to undefined)
82
83
  let key: string; // (optional) (default to undefined)
84
+ let envList: Array<string>; //是否强制更新所有环境的配置项,若为 true 则忽略 env_list,仅更新 item 中指定的环境配置 如果为 false,则仅更新 env_list 中指定的环境配置,并且 env_list 不能为空 (optional) (default to undefined)
85
+ let forceUpdateEnvs: boolean; // (optional) (default to undefined)
83
86
 
84
87
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemDelete(
85
- key
88
+ service,
89
+ key,
90
+ envList,
91
+ forceUpdateEnvs
86
92
  );
87
93
  ```
88
94
 
@@ -90,7 +96,10 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
90
96
 
91
97
  |Name | Type | Description | Notes|
92
98
  |------------- | ------------- | ------------- | -------------|
99
+ | **service** | [**string**] | | (optional) defaults to undefined|
93
100
  | **key** | [**string**] | | (optional) defaults to undefined|
101
+ | **envList** | **Array&lt;string&gt;** | 是否强制更新所有环境的配置项,若为 true 则忽略 env_list,仅更新 item 中指定的环境配置 如果为 false,则仅更新 env_list 中指定的环境配置,并且 env_list 不能为空 | (optional) defaults to undefined|
102
+ | **forceUpdateEnvs** | [**boolean**] | | (optional) defaults to undefined|
94
103
 
95
104
 
96
105
  ### Return type
@@ -131,10 +140,12 @@ import {
131
140
  const configuration = new Configuration();
132
141
  const apiInstance = new RemoteConfigAdminServiceApi(configuration);
133
142
 
143
+ let service: string; //@gotags: form:\"service\" binding:\"required\" (optional) (default to undefined)
134
144
  let key: string; //@gotags: form:\"key\" binding:\"required\" (optional) (default to undefined)
135
145
  let historyLimit: number; //@gotags: form:\"history_limit\" (optional) (default to undefined)
136
146
 
137
147
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemGet(
148
+ service,
138
149
  key,
139
150
  historyLimit
140
151
  );
@@ -144,6 +155,7 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
144
155
 
145
156
  |Name | Type | Description | Notes|
146
157
  |------------- | ------------- | ------------- | -------------|
158
+ | **service** | [**string**] | @gotags: form:\&quot;service\&quot; binding:\&quot;required\&quot; | (optional) defaults to undefined|
147
159
  | **key** | [**string**] | @gotags: form:\&quot;key\&quot; binding:\&quot;required\&quot; | (optional) defaults to undefined|
148
160
  | **historyLimit** | [**number**] | @gotags: form:\&quot;history_limit\&quot; | (optional) defaults to undefined|
149
161
 
@@ -188,13 +200,17 @@ const apiInstance = new RemoteConfigAdminServiceApi(configuration);
188
200
 
189
201
  let page: number; // (optional) (default to undefined)
190
202
  let pageSize: number; // (optional) (default to undefined)
203
+ let services: Array<string>; // (optional) (default to undefined)
191
204
  let keys: Array<string>; // (optional) (default to undefined)
192
- let keyword: string; // (optional) (default to undefined)
205
+ let envList: Array<string>; // (optional) (default to undefined)
206
+ let keyword: string; //搜索关键词,模糊匹配 key + payload + values 字段 (optional) (default to undefined)
193
207
 
194
208
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemList(
195
209
  page,
196
210
  pageSize,
211
+ services,
197
212
  keys,
213
+ envList,
198
214
  keyword
199
215
  );
200
216
  ```
@@ -205,8 +221,10 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
205
221
  |------------- | ------------- | ------------- | -------------|
206
222
  | **page** | [**number**] | | (optional) defaults to undefined|
207
223
  | **pageSize** | [**number**] | | (optional) defaults to undefined|
224
+ | **services** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
208
225
  | **keys** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
209
- | **keyword** | [**string**] | | (optional) defaults to undefined|
226
+ | **envList** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
227
+ | **keyword** | [**string**] | 搜索关键词,模糊匹配 key + payload + values 字段 | (optional) defaults to undefined|
210
228
 
211
229
 
212
230
  ### Return type
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **code** | **string** | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
- **data** | [**ConfigItemHistory**](ConfigItemHistory.md) | | [optional] [default to undefined]
10
+ **items** | [**Array&lt;ConfigItemHistory&gt;**](ConfigItemHistory.md) | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -17,7 +17,7 @@ import { RemoteConfigItemGetResponse } from '@cherryin/api-client';
17
17
  const instance: RemoteConfigItemGetResponse = {
18
18
  code,
19
19
  message,
20
- data,
20
+ items,
21
21
  };
22
22
  ```
23
23
 
@@ -5,7 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **service** | **string** | | [optional] [default to undefined]
8
9
  **key** | **string** | | [optional] [default to undefined]
10
+ **env_list** | **Array&lt;string&gt;** | | [optional] [default to undefined]
11
+ **force_update_envs** | **boolean** | 是否强制更新所有环境的配置项,若为 true 则忽略 env_list,仅更新 item 中指定的环境配置 如果为 false,则仅更新 env_list 中指定的环境配置,并且 env_list 不能为空 | [optional] [default to undefined]
9
12
  **item** | [**ConfigItem**](ConfigItem.md) | | [optional] [default to undefined]
10
13
 
11
14
  ## Example
@@ -14,7 +17,10 @@ Name | Type | Description | Notes
14
17
  import { RemoteConfigItemUpdateRequest } from '@cherryin/api-client';
15
18
 
16
19
  const instance: RemoteConfigItemUpdateRequest = {
20
+ service,
17
21
  key,
22
+ env_list,
23
+ force_update_envs,
18
24
  item,
19
25
  };
20
26
  ```
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **code** | **string** | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
- **item** | [**ConfigItem**](ConfigItem.md) | | [optional] [default to undefined]
10
+ **items** | [**Array&lt;ConfigItem&gt;**](ConfigItem.md) | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -17,7 +17,7 @@ import { RemoteConfigItemUpdateResponse } from '@cherryin/api-client';
17
17
  const instance: RemoteConfigItemUpdateResponse = {
18
18
  code,
19
19
  message,
20
- item,
20
+ items,
21
21
  };
22
22
  ```
23
23
 
@@ -1,13 +1,13 @@
1
1
  # RequestPricing
2
2
 
3
- RequestPricing 请求级别计费 Request-level pricing
3
+ RequestPricing 请求级别计费
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **base_fee** | **string** | base_fee 每请求基础费用 Base fee per request | [optional] [default to undefined]
10
- **per_thousand_requests** | **string** | per_thousand_requests 每千次请求费用 Fee per thousand requests | [optional] [default to undefined]
9
+ **base_fee** | **string** | base_fee 每请求基础费用 | [optional] [default to undefined]
10
+ **request_fee** | **string** | request_fee 每次请求费用 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -16,7 +16,7 @@ import { RequestPricing } from '@cherryin/api-client';
16
16
 
17
17
  const instance: RequestPricing = {
18
18
  base_fee,
19
- per_thousand_requests,
19
+ request_fee,
20
20
  };
21
21
  ```
22
22
 
@@ -1,15 +1,15 @@
1
1
  # TextTokenInputPricing
2
2
 
3
- TextTokenInputPricing 输入Token价格配置 Input token price configuration
3
+ TextTokenInputPricing 输入Token价格配置
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | id 价格配置ID Price configuration ID | [optional] [default to undefined]
10
- **regular** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | regular 常规价格层级 Regular price tiers | [optional] [default to undefined]
11
- **cached** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | cached 缓存Token价格层级 Cached token price tiers | [optional] [default to undefined]
12
- **cache_write** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | cache_write 缓存写入价格层级 Cache write price tiers | [optional] [default to undefined]
9
+ **id** | **string** | id 价格配置ID | [optional] [default to undefined]
10
+ **regular** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | regular 常规价格层级 | [optional] [default to undefined]
11
+ **cached** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | cached 缓存Token价格层级 | [optional] [default to undefined]
12
+ **cache_write** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | cache_write 缓存写入价格层级 | [optional] [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
@@ -1,14 +1,14 @@
1
1
  # TextTokenOutputPricing
2
2
 
3
- TextTokenOutputPricing 输出Token价格配置 Output token price configuration
3
+ TextTokenOutputPricing 输出Token价格配置
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | id 价格配置ID Price configuration ID | [optional] [default to undefined]
10
- **regular** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | regular 常规价格层级 Regular price tiers | [optional] [default to undefined]
11
- **reasoning** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | reasoning 推理Token价格层级(如o1模型) Reasoning token price tiers (e.g., o1 models) | [optional] [default to undefined]
9
+ **id** | **string** | id 价格配置ID | [optional] [default to undefined]
10
+ **regular** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | regular 常规价格层级 | [optional] [default to undefined]
11
+ **reasoning** | [**Array&lt;TokenTier&gt;**](TokenTier.md) | reasoning 推理Token价格层级(如o1模型) | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,13 +1,13 @@
1
1
  # TextTokenPricing
2
2
 
3
- TextTokenPricing Token计费规则 Text token pricing rules
3
+ TextTokenPricing Token计费规则
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **input** | [**TextTokenInputPricing**](TextTokenInputPricing.md) | input 输入Token价格配置 Input token price configuration | [optional] [default to undefined]
10
- **output** | [**TextTokenOutputPricing**](TextTokenOutputPricing.md) | output 输出Token价格配置 Output token price configuration | [optional] [default to undefined]
9
+ **input** | [**TextTokenInputPricing**](TextTokenInputPricing.md) | input 输入Token价格配置 | [optional] [default to undefined]
10
+ **output** | [**TextTokenOutputPricing**](TextTokenOutputPricing.md) | output 输出Token价格配置 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
package/docs/TokenTier.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # TokenTier
2
2
 
3
- TokenTier Token价格层级 Token price tier
3
+ TokenTier Token价格层级
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **min_tokens** | **string** | min_tokens 最小token数量 Minimum token count | [optional] [default to undefined]
10
- **max_tokens** | **string** | max_tokens 最大token数量(0表示无限) Maximum token count (0 means unlimited) | [optional] [default to undefined]
11
- **price_per_million** | **string** | price_per_million 每百万token价格(使用字符串避免精度损失) Price per million tokens (string to avoid precision loss) | [optional] [default to undefined]
9
+ **min_tokens** | **string** | min_tokens 最小token数量 | [optional] [default to undefined]
10
+ **max_tokens** | **string** | max_tokens 最大token数量(0表示无限) | [optional] [default to undefined]
11
+ **per_token_price** | **string** | per_token_price token价格(使用字符串避免精度损失) | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -18,7 +18,7 @@ import { TokenTier } from '@cherryin/api-client';
18
18
  const instance: TokenTier = {
19
19
  min_tokens,
20
20
  max_tokens,
21
- price_per_million,
21
+ per_token_price,
22
22
  };
23
23
  ```
24
24
 
@@ -1,25 +1,25 @@
1
1
  # UserAPIKey
2
2
 
3
- UserAPIKey 代表用户的 API 密钥 UserAPIKey represents a user\'s API key
3
+ UserAPIKey 代表用户的 API 密钥
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | id UserAPIKey 的唯一标识符 Unique identifier for the UserAPIKey | [optional] [default to undefined]
10
- **created_at** | **string** | created_at 创建时间戳(Unix 时间戳) Creation timestamp (Unix timestamp) | [optional] [default to undefined]
11
- **updated_at** | **string** | updated_at 更新时间戳(Unix 时间戳) Last update timestamp (Unix timestamp) | [optional] [default to undefined]
12
- **deleted_at** | **string** | deleted_at 软删除时间戳,0 表示未删除 Soft deletion timestamp, 0 means not deleted | [optional] [default to undefined]
13
- **uid** | **string** | uid 用户 ID User ID | [optional] [default to undefined]
14
- **name** | **string** | name API Key 的唯一名称标识 Unique name identifier for the API key | [optional] [default to undefined]
15
- **key_group** | **string** | key_group API Key 分组 API Key group | [optional] [default to undefined]
16
- **display_name** | **string** | display_name API Key 的显示名称 Display name for the API key | [optional] [default to undefined]
17
- **quota_balance_total** | **string** | quota_balance_total 总配额余额,使用 DECIMAL(24,12) 精度存储 Total quota balance, stored with DECIMAL(24,12) precision 字符串格式,例如:\&quot;100.50\&quot; 表示 $100.50 或 ¥100.50 String format, e.g., \&quot;100.50\&quot; represents $100.50 or ¥100.50 | [optional] [default to undefined]
18
- **quota_balance_used** | **string** | quota_balance_used 已使用配额余额,使用 DECIMAL(24,12) 精度存储 Used quota balance, stored with DECIMAL(24,12) precision 字符串格式,例如:\&quot;25.75\&quot; 表示已使用 $25.75 或 ¥25.75 String format, e.g., \&quot;25.75\&quot; represents $25.75 or ¥25.75 used | [optional] [default to undefined]
19
- **balance_code** | **string** | balance_code 余额货币代码 Balance currency code USD: 美元 (US Dollar) CNY: 人民币 (Chinese Yuan) | [optional] [default to undefined]
20
- **quota_mode** | **number** | quota_mode 配额模式 Quota mode 1: 有限配额 (Limited) 2: 无限配额 (Unlimited) | [optional] [default to undefined]
21
- **key_status** | **string** | key_status API Key 状态 API Key status 1: 启用 (Enabled) 2: 禁用 (Disabled) | [optional] [default to undefined]
22
- **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 Expiration timestamp, 0 means never expires | [optional] [default to undefined]
9
+ **id** | **string** | id UserAPIKey 的唯一标识符 | [optional] [default to undefined]
10
+ **created_at** | **string** | created_at 创建时间戳(Unix 时间戳) | [optional] [default to undefined]
11
+ **updated_at** | **string** | updated_at 更新时间戳(Unix 时间戳) | [optional] [default to undefined]
12
+ **deleted_at** | **string** | deleted_at 软删除时间戳,0 表示未删除 | [optional] [default to undefined]
13
+ **uid** | **string** | uid 用户 ID | [optional] [default to undefined]
14
+ **name** | **string** | name API Key 的唯一名称标识 | [optional] [default to undefined]
15
+ **key_group** | **string** | key_group API Key 分组 | [optional] [default to undefined]
16
+ **display_name** | **string** | display_name API Key 的显示名称 | [optional] [default to undefined]
17
+ **quota_balance_total** | **string** | quota_balance_total 总配额余额,使用 DECIMAL(24,12) 精度存储 字符串格式,例如:\&quot;100.50\&quot; 表示 $100.50 或 ¥100.50 | [optional] [default to undefined]
18
+ **quota_balance_used** | **string** | quota_balance_used 已使用配额余额,使用 DECIMAL(24,12) 精度存储 字符串格式,例如:\&quot;25.75\&quot; 表示已使用 $25.75 或 ¥25.75 | [optional] [default to undefined]
19
+ **balance_code** | **string** | balance_code 余额货币代码 USD: 美元 (US Dollar) CNY: 人民币 (Chinese Yuan) | [optional] [default to undefined]
20
+ **quota_mode** | **number** | quota_mode 配额模式 1: 有限配额 (Limited) 2: 无限配额 (Unlimited) | [optional] [default to undefined]
21
+ **key_status** | **string** | key_status API Key 状态 1: 启用 (Enabled) 2: 禁用 (Disabled) | [optional] [default to undefined]
22
+ **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 | [optional] [default to undefined]
23
23
 
24
24
  ## Example
25
25
 
@@ -1,20 +1,20 @@
1
1
  # UserAPIKeyCreateRequest
2
2
 
3
- UserAPIKeyCreateRequest 创建 UserAPIKey 的请求 Request message for creating a new UserAPIKey
3
+ UserAPIKeyCreateRequest 创建 UserAPIKey 的请求
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **uid** | **string** | uid 用户 ID(管理员可以指定,普通用户自动使用当前用户) User ID (admin can specify, normal user uses current user automatically) | [optional] [default to undefined]
10
- **name** | **string** | name API Key 的唯一名称标识 Unique name identifier for the API key | [optional] [default to undefined]
11
- **key_group** | **string** | key_group API Key 分组(可选) API Key group (optional) | [optional] [default to undefined]
12
- **display_name** | **string** | display_name API Key 的显示名称 Display name for the API key | [optional] [default to undefined]
13
- **quota_balance_total** | **string** | quota_balance_total 总配额余额 Total quota balance 字符串格式,使用 DECIMAL(24,12) 精度,例如:\&quot;100.50\&quot; String format with DECIMAL(24,12) precision, e.g., \&quot;100.50\&quot; | [optional] [default to undefined]
14
- **balance_code** | **string** | balance_code 余额货币代码(仅管理员可指定,默认从 user_balances 读取) Balance currency code (admin only, defaults to reading from user_balances) USD: 美元 (US Dollar) CNY: 人民币 (Chinese Yuan) | [optional] [default to undefined]
15
- **quota_mode** | **number** | quota_mode 配额模式 Quota mode 1: 有限配额 (Limited) 2: 无限配额 (Unlimited) | [optional] [default to undefined]
9
+ **uid** | **string** | uid 用户 ID(管理员可以指定,普通用户自动使用当前用户) | [optional] [default to undefined]
10
+ **name** | **string** | name API Key 的唯一名称标识 | [optional] [default to undefined]
11
+ **key_group** | **string** | key_group API Key 分组(可选) | [optional] [default to undefined]
12
+ **display_name** | **string** | display_name API Key 的显示名称 | [optional] [default to undefined]
13
+ **quota_balance_total** | **string** | quota_balance_total 总配额余额 字符串格式,使用 DECIMAL(24,12) 精度,例如:\&quot;100.50\&quot; | [optional] [default to undefined]
14
+ **balance_code** | **string** | balance_code 余额货币代码(仅管理员可指定,默认从 user_balances 读取) USD: 美元 (US Dollar) CNY: 人民币 (Chinese Yuan) | [optional] [default to undefined]
15
+ **quota_mode** | **number** | quota_mode 配额模式 1: 有限配额 (Limited) 2: 无限配额 (Unlimited) | [optional] [default to undefined]
16
16
  **key_status** | **string** | key_status API Key 状态 API Key status 1: 启用 (Enabled) 2: 禁用 (Disabled) | [optional] [default to undefined]
17
- **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 Expiration timestamp, 0 means never expires | [optional] [default to undefined]
17
+ **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 | [optional] [default to undefined]
18
18
 
19
19
  ## Example
20
20
 
@@ -1,14 +1,14 @@
1
1
  # UserAPIKeyCreateResponse
2
2
 
3
- UserAPIKeyCreateResponse 创建 UserAPIKey 的响应 Response message for UserAPIKey creation
3
+ UserAPIKeyCreateResponse 创建 UserAPIKey 的响应
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
11
- **data** | [**UserAPIKey**](UserAPIKey.md) | data 创建成功后返回的 UserAPIKey 信息 UserAPIKey information returned after successful creation | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,20200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
+ **data** | [**UserAPIKey**](UserAPIKey.md) | data 创建成功后返回的 UserAPIKey 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,13 +1,13 @@
1
1
  # UserAPIKeyDeleteResponse
2
2
 
3
- UserAPIKeyDeleteResponse 删除 UserAPIKey 的响应 Response message for UserAPIKey deletion
3
+ UserAPIKeyDeleteResponse 删除 UserAPIKey 的响应
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -1,14 +1,14 @@
1
1
  # UserAPIKeyGetResponse
2
2
 
3
- UserAPIKeyGetResponse 获取单个 UserAPIKey 的响应 Response message for UserAPIKey retrieval
3
+ UserAPIKeyGetResponse 获取单个 UserAPIKey 的响应
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
11
- **data** | [**UserAPIKey**](UserAPIKey.md) | data UserAPIKey 信息 UserAPIKey information | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
+ **data** | [**UserAPIKey**](UserAPIKey.md) | data UserAPIKey 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,15 +1,15 @@
1
1
  # UserAPIKeyListResponse
2
2
 
3
- UserAPIKeyListResponse 分页查询 UserAPIKey 列表的响应 Response message for UserAPIKey listing
3
+ UserAPIKeyListResponse 分页查询 UserAPIKey 列表的响应
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
11
- **list** | [**Array&lt;UserAPIKey&gt;**](UserAPIKey.md) | list UserAPIKey 列表 List of UserAPIKeys | [optional] [default to undefined]
12
- **total** | **string** | total 符合条件的 UserAPIKey 总数 Total number of UserAPIKeys matching the filter criteria | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
+ **list** | [**Array&lt;UserAPIKey&gt;**](UserAPIKey.md) | list UserAPIKey 列表 | [optional] [default to undefined]
12
+ **total** | **string** | total 符合条件的 UserAPIKey 总数 | [optional] [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
@@ -5,7 +5,7 @@ All URIs are relative to *http://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**userAPIKeyServiceUserAPIKeyCreate**](#userapikeyserviceuserapikeycreate) | **POST** /api/v1/user/api-key/create | |
8
- |[**userAPIKeyServiceUserAPIKeyDelete**](#userapikeyserviceuserapikeydelete) | **POST** /api/v1/user/api-key/delete | |
8
+ |[**userAPIKeyServiceUserAPIKeyDelete**](#userapikeyserviceuserapikeydelete) | **DELETE** /api/v1/user/api-key/delete | |
9
9
  |[**userAPIKeyServiceUserAPIKeyGet**](#userapikeyserviceuserapikeyget) | **GET** /api/v1/user/api-key/get | |
10
10
  |[**userAPIKeyServiceUserAPIKeyList**](#userapikeyserviceuserapikeylist) | **GET** /api/v1/user/api-key/list | |
11
11
  |[**userAPIKeyServiceUserAPIKeyUpdate**](#userapikeyserviceuserapikeyupdate) | **POST** /api/v1/user/api-key/update | |
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost*
13
13
  # **userAPIKeyServiceUserAPIKeyCreate**
14
14
  > UserAPIKeyCreateResponse userAPIKeyServiceUserAPIKeyCreate(userAPIKeyCreateRequest)
15
15
 
16
- UserAPIKeyCreate 创建新的 UserAPIKey Create a new UserAPIKey 请求路径: POST /api/user/api-key/create Request path: POST /api/user/api-key/create 权限要求: 需要用户认证 Permission: Requires user authentication
16
+ UserAPIKeyCreate 创建新的 UserAPIKey 请求路径: POST /api/user/api-key/create
17
17
 
18
18
  ### Example
19
19
 
@@ -64,26 +64,25 @@ No authorization required
64
64
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
65
65
 
66
66
  # **userAPIKeyServiceUserAPIKeyDelete**
67
- > UserAPIKeyDeleteResponse userAPIKeyServiceUserAPIKeyDelete(userAPIKeyDeleteRequest)
67
+ > UserAPIKeyDeleteResponse userAPIKeyServiceUserAPIKeyDelete()
68
68
 
69
- UserAPIKeyDelete 删除 UserAPIKey(软删除) Delete a UserAPIKey (soft delete) 请求路径: POST /api/user/api-key/delete Request path: POST /api/user/api-key/delete 权限要求: 需要用户认证 Permission: Requires user authentication
69
+ UserAPIKeyDelete 删除 UserAPIKey(软删除) 请求路径: POST /api/user/api-key/delete
70
70
 
71
71
  ### Example
72
72
 
73
73
  ```typescript
74
74
  import {
75
75
  UserAPIKeyServiceApi,
76
- Configuration,
77
- UserAPIKeyDeleteRequest
76
+ Configuration
78
77
  } from '@cherryin/api-client';
79
78
 
80
79
  const configuration = new Configuration();
81
80
  const apiInstance = new UserAPIKeyServiceApi(configuration);
82
81
 
83
- let userAPIKeyDeleteRequest: UserAPIKeyDeleteRequest; //
82
+ let id: string; //id 要删除的 UserAPIKey 的唯一标识符 @gotags: form:\"id\" binding:\"required\" (optional) (default to undefined)
84
83
 
85
84
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyDelete(
86
- userAPIKeyDeleteRequest
85
+ id
87
86
  );
88
87
  ```
89
88
 
@@ -91,7 +90,7 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyDelete(
91
90
 
92
91
  |Name | Type | Description | Notes|
93
92
  |------------- | ------------- | ------------- | -------------|
94
- | **userAPIKeyDeleteRequest** | **UserAPIKeyDeleteRequest**| | |
93
+ | **id** | [**string**] | id 要删除的 UserAPIKey 的唯一标识符 @gotags: form:\&quot;id\&quot; binding:\&quot;required\&quot; | (optional) defaults to undefined|
95
94
 
96
95
 
97
96
  ### Return type
@@ -104,7 +103,7 @@ No authorization required
104
103
 
105
104
  ### HTTP request headers
106
105
 
107
- - **Content-Type**: application/json
106
+ - **Content-Type**: Not defined
108
107
  - **Accept**: application/json
109
108
 
110
109
 
@@ -119,7 +118,7 @@ No authorization required
119
118
  # **userAPIKeyServiceUserAPIKeyGet**
120
119
  > UserAPIKeyGetResponse userAPIKeyServiceUserAPIKeyGet()
121
120
 
122
- UserAPIKeyGet 根据 ID 或名称获取单个 UserAPIKey Retrieve a single UserAPIKey by ID or name 请求路径: GET /api/user/api-key/get?id={id} 或 GET /api/user/api-key/get?name={name} Request path: GET /api/user/api-key/get?id={id} or GET /api/user/api-key/get?name={name} 权限要求: 需要用户认证 Permission: Requires user authentication
121
+ UserAPIKeyGet 根据 ID 或名称获取单个 UserAPIKey Request path: GET /api/user/api-key/get?id={id} or GET /api/user/api-key/get?name={name}
123
122
 
124
123
  ### Example
125
124
 
@@ -132,8 +131,8 @@ import {
132
131
  const configuration = new Configuration();
133
132
  const apiInstance = new UserAPIKeyServiceApi(configuration);
134
133
 
135
- let id: string; //id 要获取的 UserAPIKey 的唯一标识符 Unique identifier of the UserAPIKey to retrieve @gotags: form:\"id\" (optional) (default to undefined)
136
- let name: string; //name 要获取的 UserAPIKey 的名称 Name of the UserAPIKey to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\" (optional) (default to undefined)
134
+ let id: string; //id 要获取的 UserAPIKey 的唯一标识符 @gotags: form:\"id\" (optional) (default to undefined)
135
+ let name: string; //name 要获取的 UserAPIKey 的名称 如果同时提供 id 和 name,以 id 为准 @gotags: form:\"name\" (optional) (default to undefined)
137
136
 
138
137
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyGet(
139
138
  id,
@@ -145,8 +144,8 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyGet(
145
144
 
146
145
  |Name | Type | Description | Notes|
147
146
  |------------- | ------------- | ------------- | -------------|
148
- | **id** | [**string**] | id 要获取的 UserAPIKey 的唯一标识符 Unique identifier of the UserAPIKey to retrieve @gotags: form:\&quot;id\&quot; | (optional) defaults to undefined|
149
- | **name** | [**string**] | name 要获取的 UserAPIKey 的名称 Name of the UserAPIKey to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\&quot;name\&quot; | (optional) defaults to undefined|
147
+ | **id** | [**string**] | id 要获取的 UserAPIKey 的唯一标识符 @gotags: form:\&quot;id\&quot; | (optional) defaults to undefined|
148
+ | **name** | [**string**] | name 要获取的 UserAPIKey 的名称 如果同时提供 id 和 name,以 id 为准 @gotags: form:\&quot;name\&quot; | (optional) defaults to undefined|
150
149
 
151
150
 
152
151
  ### Return type
@@ -174,7 +173,7 @@ No authorization required
174
173
  # **userAPIKeyServiceUserAPIKeyList**
175
174
  > UserAPIKeyListResponse userAPIKeyServiceUserAPIKeyList()
176
175
 
177
- UserAPIKeyList 分页查询 UserAPIKey 列表,支持按状态和分组过滤 List UserAPIKeys with pagination, supports filtering by status and key group 请求路径: GET /api/user/api-key/list?page={page}&page_size={page_size}&key_status={status}&key_group={group} Request path: GET /api/user/api-key/list?page={page}&page_size={page_size}&key_status={status}&key_group={group} 权限要求: 需要用户认证 Permission: Requires user authentication
176
+ UserAPIKeyList 分页查询 UserAPIKey 列表,支持按状态和分组过滤 请求路径: GET /api/user/api-key/list?page={page}&page_size={page_size}&key_status={status}&key_group={group}
178
177
 
179
178
  ### Example
180
179
 
@@ -187,11 +186,11 @@ import {
187
186
  const configuration = new Configuration();
188
187
  const apiInstance = new UserAPIKeyServiceApi(configuration);
189
188
 
190
- let page: number; //page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\" (optional) (default to undefined)
191
- let pageSize: number; //page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\" (optional) (default to undefined)
192
- let uid: string; //uid 按用户 ID 过滤(可选,管理员可用) Filter by user ID (optional, admin only) 0: 返回所有用户的 API Key(仅管理员) > 0: 仅返回指定用户的 API Key 0: return API keys from all users (admin only) > 0: return API keys from specific user only @gotags: form:\"uid\" (optional) (default to undefined)
193
- let keyStatus: string; //key_status 按状态过滤(可选) Filter by status (optional) 0: 返回所有状态 1: 仅返回启用的 API Key 2: 仅返回禁用的 API Key 0: return all statuses 1: return enabled API keys only 2: return disabled API keys only @gotags: form:\"key_status\" (optional) (default to undefined)
194
- let keyGroup: string; //key_group 按分组过滤(可选) Filter by key group (optional) @gotags: form:\"key_group\" (optional) (default to undefined)
189
+ let page: number; //page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\" (optional) (default to undefined)
190
+ let pageSize: number; //page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\" (optional) (default to undefined)
191
+ let uid: string; //uid 按用户 ID 过滤(可选,管理员可用) 0: return API keys from all users (admin only) > 0: return API keys from specific user only @gotags: form:\"uid\" (optional) (default to undefined)
192
+ let keyStatus: string; //key_status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回启用的 API Key 2: 仅返回禁用的 API Key @gotags: form:\"key_status\" (optional) (default to undefined)
193
+ let keyGroup: string; //key_group 按分组过滤(可选) @gotags: form:\"key_group\" (optional) (default to undefined)
195
194
 
196
195
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyList(
197
196
  page,
@@ -206,11 +205,11 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyList(
206
205
 
207
206
  |Name | Type | Description | Notes|
208
207
  |------------- | ------------- | ------------- | -------------|
209
- | **page** | [**number**] | page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot; | (optional) defaults to undefined|
210
- | **pageSize** | [**number**] | page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot; | (optional) defaults to undefined|
211
- | **uid** | [**string**] | uid 按用户 ID 过滤(可选,管理员可用) Filter by user ID (optional, admin only) 0: 返回所有用户的 API Key(仅管理员) &gt; 0: 仅返回指定用户的 API Key 0: return API keys from all users (admin only) &gt; 0: return API keys from specific user only @gotags: form:\&quot;uid\&quot; | (optional) defaults to undefined|
212
- | **keyStatus** | [**string**] | key_status 按状态过滤(可选) Filter by status (optional) 0: 返回所有状态 1: 仅返回启用的 API Key 2: 仅返回禁用的 API Key 0: return all statuses 1: return enabled API keys only 2: return disabled API keys only @gotags: form:\&quot;key_status\&quot; | (optional) defaults to undefined|
213
- | **keyGroup** | [**string**] | key_group 按分组过滤(可选) Filter by key group (optional) @gotags: form:\&quot;key_group\&quot; | (optional) defaults to undefined|
208
+ | **page** | [**number**] | page 页码,从 1 开始 默认值: 1 @gotags: form:\&quot;page\&quot; | (optional) defaults to undefined|
209
+ | **pageSize** | [**number**] | page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\&quot;page_size\&quot; | (optional) defaults to undefined|
210
+ | **uid** | [**string**] | uid 按用户 ID 过滤(可选,管理员可用) 0: return API keys from all users (admin only) &gt; 0: return API keys from specific user only @gotags: form:\&quot;uid\&quot; | (optional) defaults to undefined|
211
+ | **keyStatus** | [**string**] | key_status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回启用的 API Key 2: 仅返回禁用的 API Key @gotags: form:\&quot;key_status\&quot; | (optional) defaults to undefined|
212
+ | **keyGroup** | [**string**] | key_group 按分组过滤(可选) @gotags: form:\&quot;key_group\&quot; | (optional) defaults to undefined|
214
213
 
215
214
 
216
215
  ### Return type
@@ -238,7 +237,7 @@ No authorization required
238
237
  # **userAPIKeyServiceUserAPIKeyUpdate**
239
238
  > UserAPIKeyUpdateResponse userAPIKeyServiceUserAPIKeyUpdate(userAPIKeyUpdateRequest)
240
239
 
241
- UserAPIKeyUpdate 更新现有的 UserAPIKey Update an existing UserAPIKey 请求路径: POST /api/user/api-key/update Request path: POST /api/user/api-key/update 权限要求: 需要用户认证 Permission: Requires user authentication
240
+ UserAPIKeyUpdate 更新现有的 UserAPIKey 请求路径: POST /api/user/api-key/update
242
241
 
243
242
  ### Example
244
243
 
@@ -6,9 +6,9 @@ UserAPIKeyUpdateResponse 更新 UserAPIKey 的响应 Response message for UserA
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
11
- **data** | [**UserAPIKey**](UserAPIKey.md) | data 更新后的 UserAPIKey 信息 Updated UserAPIKey information | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
+ **data** | [**UserAPIKey**](UserAPIKey.md) | data 更新后的 UserAPIKey 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
10
10
  **data** | [**UserBalance**](UserBalance.md) | data 更新后的 UserBalance 信息 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
10
10
  **data** | [**UserBalance**](UserBalance.md) | data 更新后的 UserBalance 信息 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
10
10
  **list** | [**Array&lt;UserBalance&gt;**](UserBalance.md) | list UserBalance 列表 | [optional] [default to undefined]
11
11
  **total** | **string** | total 符合条件的 UserBalance 总数 | [optional] [default to undefined]
12
12