@cherryin/api-client 0.0.20 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/.openapi-generator/FILES +102 -235
  2. package/README.md +155 -342
  3. package/api.ts +3375 -9798
  4. package/dist/api.d.ts +2595 -6538
  5. package/dist/api.js +1630 -5652
  6. package/dist/esm/api.d.ts +2595 -6538
  7. package/dist/esm/api.js +1609 -5611
  8. package/docs/AIModel.md +45 -0
  9. package/docs/AIModelAdminServiceApi.md +90 -101
  10. package/docs/AIModelArchitecture.md +25 -0
  11. package/docs/{AdminAIModelCheckConnectionResponse.md → AIModelCheckConnectionResponse.md} +4 -4
  12. package/docs/{AdminAIModelCheckItem.md → AIModelCheckItem.md} +3 -3
  13. package/docs/{AdminAIModelCheckResult.md → AIModelCheckResult.md} +5 -5
  14. package/docs/AIModelCreateRequest.md +35 -0
  15. package/docs/{AdminAIModelCreateResponse.md → AIModelCreateResponse.md} +5 -5
  16. package/docs/AIModelDeleteRequest.md +21 -0
  17. package/docs/{AdminProviderModelDeleteResponse.md → AIModelDeleteResponse.md} +4 -4
  18. package/docs/AIModelDisableRequest.md +21 -0
  19. package/docs/{AdminAIModelPublishResponse.md → AIModelDisableResponse.md} +5 -5
  20. package/docs/{AdminAIModelDiscountConfig.md → AIModelDiscountConfig.md} +4 -4
  21. package/docs/{AdminAIModelGetResponse.md → AIModelGetResponse.md} +5 -5
  22. package/docs/{AdminAIModelListResponse.md → AIModelListResponse.md} +5 -5
  23. package/docs/AIModelMeta.md +25 -0
  24. package/docs/AIModelPricingConfig.md +10 -10
  25. package/docs/AIModelProviderConfigItem.md +29 -0
  26. package/docs/AIModelPublishRequest.md +21 -0
  27. package/docs/{AdminAIModelUpdateResponse.md → AIModelPublishResponse.md} +5 -5
  28. package/docs/AIModelUpdateRequest.md +37 -0
  29. package/docs/{AdminProviderGetResponse.md → AIModelUpdateResponse.md} +5 -5
  30. package/docs/{ProviderAWSAuth.md → AWSAuth.md} +3 -4
  31. package/docs/AudioPricing.md +8 -8
  32. package/docs/Auth2Account.md +33 -0
  33. package/docs/{AuthAdminUser.md → Auth2Admin.md} +7 -7
  34. package/docs/Auth2AdminServiceApi.md +469 -0
  35. package/docs/Auth2AdminSession.md +35 -0
  36. package/docs/{AuthIdToken.md → Auth2IdToken.md} +3 -3
  37. package/docs/Auth2Session.md +35 -0
  38. package/docs/Auth2User.md +33 -0
  39. package/docs/Auth2UserServiceApi.md +1261 -0
  40. package/docs/{PassportAuthAdminChangePasswordRequest.md → AuthAdminChangePasswordRequest.md} +3 -3
  41. package/docs/{PassportAuthEnterpriseChangePasswordResponse.md → AuthAdminChangePasswordResponse.md} +4 -4
  42. package/docs/{PassportAuthEnterpriseRefreshTokenResponse.md → AuthAdminGetSessionResponse.md} +6 -4
  43. package/docs/{PassportAuthListSessionsResponse.md → AuthAdminListSessionsResponse.md} +4 -4
  44. package/docs/{PassportAuthAdminUserDisableResponse.md → AuthAdminRevokeOtherSessionsResponse.md} +5 -3
  45. package/docs/{PassportAdminTokenAuthRequest.md → AuthAdminRevokeSessionRequest.md} +3 -3
  46. package/docs/{PassportAuthUserDeleteResponse.md → AuthAdminRevokeSessionResponse.md} +5 -3
  47. package/docs/{PassportAuthUserSignOutResponse.md → AuthAdminRevokeSessionsResponse.md} +5 -3
  48. package/docs/{PassportAdminSignInEmailRequest.md → AuthAdminSignInEmailRequest.md} +5 -7
  49. package/docs/{PassportAuthAdminUserModifyPermissionResponse.md → AuthAdminSignInEmailResponse.md} +6 -4
  50. package/docs/{PassportAuthRevokeOtherSessionsResponse.md → AuthAdminSignOutResponse.md} +3 -3
  51. package/docs/{PassportAuthAdminUpdateInfoRequest.md → AuthAdminUpdateUserRequest.md} +5 -5
  52. package/docs/{PassportUserInfoGetResponse.md → AuthAdminUpdateUserResponse.md} +5 -5
  53. package/docs/{PassportAuthUserChangeEmailRequest.md → AuthChangeEmailRequest.md} +3 -5
  54. package/docs/{PassportAuthAdminUpdateInfoResponse.md → AuthChangeEmailResponse.md} +6 -4
  55. package/docs/{PassportAuthEnterpriseChangePasswordRequest.md → AuthChangePasswordRequest.md} +3 -3
  56. package/docs/{PassportAuthAdminGetInfoResponse.md → AuthChangePasswordResponse.md} +6 -4
  57. package/docs/{PassportAuthRevokeSessionRequest.md → AuthDeleteUserRequest.md} +7 -3
  58. package/docs/{PassportAuthAdminRevokeOtherSessionsResponse.md → AuthDeleteUserResponse.md} +5 -3
  59. package/docs/{PassportAuthSocialRefreshTokenRequest.md → AuthGetAccessTokenRequest.md} +3 -3
  60. package/docs/{PassportAuthSocialRefreshTokenResponse.md → AuthGetAccessTokenResponse.md} +3 -3
  61. package/docs/AuthGetAccountInfoResponse.md +24 -0
  62. package/docs/{PassportAuthEnterpriseGetSessionResponse.md → AuthGetSessionResponse.md} +6 -4
  63. package/docs/{PassportAuthLinkSocialRequest.md → AuthLinkSocialRequest.md} +4 -6
  64. package/docs/{PassportAuthLinkSocialResponse.md → AuthLinkSocialResponse.md} +5 -3
  65. package/docs/{PassportAuthEnterpriseRevokeSessionsResponse.md → AuthListAccountsResponse.md} +5 -3
  66. package/docs/AuthListSessionsResponse.md +24 -0
  67. package/docs/{PassportEnterpriseSignUpEmailResponse.md → AuthOAuth2CallbackResponse.md} +10 -8
  68. package/docs/{PassportAuthSocialGetAccessTokenRequest.md → AuthRefreshTokenRequest.md} +3 -3
  69. package/docs/{PassportAuthSocialGetAccessTokenResponse.md → AuthRefreshTokenResponse.md} +3 -3
  70. package/docs/AuthRequestPasswordResetRequest.md +22 -0
  71. package/docs/{PassportAuthAdminSignOutResponse.md → AuthRequestPasswordResetResponse.md} +5 -3
  72. package/docs/{PassportAuthEnterpriseRevokeSessionRequest.md → AuthResetPasswordRequest.md} +5 -3
  73. package/docs/{PassportAuthAdminUserModifyInfoResponse.md → AuthResetPasswordResponse.md} +5 -5
  74. package/docs/AuthRevokeOtherSessionsResponse.md +24 -0
  75. package/docs/{PassportUserTokenAuthRequest.md → AuthRevokeSessionRequest.md} +3 -3
  76. package/docs/{PassportAdminSendVerificationEmailResponse.md → AuthRevokeSessionResponse.md} +5 -3
  77. package/docs/{PassportAuthAdminPassportDisableResponse.md → AuthRevokeSessionsResponse.md} +5 -3
  78. package/docs/{PassportAuthEnterpriseVerifyEmailRequest.md → AuthSendVerificationEmailRequest.md} +3 -5
  79. package/docs/{PassportAuthResetPasswordResponse.md → AuthSendVerificationEmailResponse.md} +5 -3
  80. package/docs/{PassportAuthDeleteAllRequest.md → AuthSignInEmailRequest.md} +7 -9
  81. package/docs/{PassportUserPasswordResetResponse.md → AuthSignInEmailResponse.md} +9 -5
  82. package/docs/{PassportUserSignInSocialRequest.md → AuthSignInSocialRequest.md} +6 -8
  83. package/docs/{PassportEnterpriseSignInEmailResponse.md → AuthSignInSocialResponse.md} +6 -6
  84. package/docs/{PassportAuthEnterpriseMaterialUploadResponse.md → AuthSignOutResponse.md} +5 -3
  85. package/docs/{PassportAuthEnterpriseDeleteRequest.md → AuthSignUpEmailRequest.md} +13 -9
  86. package/docs/{PassportEnterprisePasswordResetResponse.md → AuthSignUpEmailResponse.md} +7 -5
  87. package/docs/{PassportAuthUnlinkSocialRequest.md → AuthUnlinkAccountRequest.md} +3 -5
  88. package/docs/{PassportAuthAdminEnterpriseMaterialReviewResponse.md → AuthUnlinkAccountResponse.md} +5 -3
  89. package/docs/{PassportAuthUserUpdatePassportRequest.md → AuthUpdateUserRequest.md} +5 -5
  90. package/docs/AuthUpdateUserResponse.md +24 -0
  91. package/docs/AuthVerifyEmailResponse.md +24 -0
  92. package/docs/ConfigItem.md +0 -4
  93. package/docs/DiscountDeleteResponse.md +1 -1
  94. package/docs/DiscountGetResponse.md +1 -1
  95. package/docs/DiscountListResponse.md +1 -1
  96. package/docs/DiscountUpdateResponse.md +1 -1
  97. package/docs/FeatureCostPricing.md +5 -5
  98. package/docs/FrontAIModel.md +17 -15
  99. package/docs/GCPAuth.md +27 -0
  100. package/docs/ImagePricing.md +7 -7
  101. package/docs/LabelCreateResponse.md +1 -1
  102. package/docs/LabelDeleteResponse.md +1 -1
  103. package/docs/LabelListResponse.md +1 -1
  104. package/docs/LabelUpdateResponse.md +1 -1
  105. package/docs/MultimodalPricing.md +4 -4
  106. package/docs/PricingConditions.md +7 -7
  107. package/docs/PricingRules.md +6 -6
  108. package/docs/Provider.md +37 -0
  109. package/docs/ProviderAdminServiceApi.md +53 -74
  110. package/docs/ProviderAuth.md +6 -6
  111. package/docs/ProviderCreateRequest.md +29 -0
  112. package/docs/{AdminAIModelDisableResponse.md → ProviderCreateResponse.md} +5 -5
  113. package/docs/{AdminAIModelDeleteResponse.md → ProviderDeleteResponse.md} +4 -4
  114. package/docs/{AdminProviderModelGetResponse.md → ProviderGetResponse.md} +5 -5
  115. package/docs/{AdminProviderListResponse.md → ProviderListResponse.md} +6 -6
  116. package/docs/ProviderModel.md +37 -0
  117. package/docs/ProviderModelAdminServiceApi.md +56 -74
  118. package/docs/ProviderModelCreateRequest.md +29 -0
  119. package/docs/{AdminProviderModelUpdateResponse.md → ProviderModelCreateResponse.md} +5 -5
  120. package/docs/{AdminProviderDeleteResponse.md → ProviderModelDeleteResponse.md} +4 -4
  121. package/docs/ProviderModelGetResponse.md +25 -0
  122. package/docs/{AdminProviderModelListResponse.md → ProviderModelListResponse.md} +6 -6
  123. package/docs/ProviderModelPayload.md +23 -0
  124. package/docs/ProviderModelUpdateRequest.md +31 -0
  125. package/docs/{AdminProviderCreateResponse.md → ProviderModelUpdateResponse.md} +5 -5
  126. package/docs/ProviderPayload.md +21 -0
  127. package/docs/ProviderUpdateRequest.md +31 -0
  128. package/docs/ProviderUpdateResponse.md +25 -0
  129. package/docs/RemoteConfigAdminServiceApi.md +3 -18
  130. package/docs/RemoteConfigItemGetResponse.md +2 -2
  131. package/docs/RemoteConfigItemUpdateRequest.md +0 -6
  132. package/docs/RemoteConfigItemUpdateResponse.md +2 -2
  133. package/docs/RequestPricing.md +3 -3
  134. package/docs/TextTokenInputPricing.md +5 -5
  135. package/docs/TextTokenOutputPricing.md +4 -4
  136. package/docs/TextTokenPricing.md +3 -3
  137. package/docs/TokenTier.md +4 -4
  138. package/docs/UserAPIKey.md +15 -15
  139. package/docs/UserAPIKeyCreateRequest.md +9 -9
  140. package/docs/UserAPIKeyCreateResponse.md +4 -4
  141. package/docs/UserAPIKeyDeleteRequest.md +21 -0
  142. package/docs/UserAPIKeyDeleteResponse.md +3 -3
  143. package/docs/UserAPIKeyGetResponse.md +4 -4
  144. package/docs/UserAPIKeyListResponse.md +5 -5
  145. package/docs/UserAPIKeyServiceApi.md +27 -26
  146. package/docs/UserAPIKeyUpdateResponse.md +3 -3
  147. package/docs/UserBalanceChangeResponse.md +2 -2
  148. package/docs/UserBalanceEditResponse.md +2 -2
  149. package/docs/UserBalanceListResponse.md +2 -2
  150. package/docs/UserBalanceServiceApi.md +4 -4
  151. package/docs/UserLabelListResponse.md +1 -1
  152. package/docs/UserLabelPairChangeResponse.md +1 -1
  153. package/docs/{ModelListResponse.md → UserModelListResponse.md} +11 -10
  154. package/docs/UserModelServiceApi.md +11 -124
  155. package/docs/VersionedAPISchema.md +6 -6
  156. package/docs/VideoPricing.md +8 -8
  157. package/package.json +1 -1
  158. package/docs/AdminAIModel.md +0 -73
  159. package/docs/AdminAIModelCreateRequest.md +0 -63
  160. package/docs/AdminAIModelDisableRequest.md +0 -23
  161. package/docs/AdminAIModelProviderConfigItem.md +0 -29
  162. package/docs/AdminAIModelPublishRequest.md +0 -23
  163. package/docs/AdminAIModelUpdateRequest.md +0 -25
  164. package/docs/AdminEnterpriseMaterials.md +0 -24
  165. package/docs/AdminEnterpriseUser.md +0 -24
  166. package/docs/AdminEnterpriseUserMaterials.md +0 -22
  167. package/docs/AdminPassportItem.md +0 -24
  168. package/docs/AdminProvider.md +0 -46
  169. package/docs/AdminProviderCreateRequest.md +0 -39
  170. package/docs/AdminProviderModel.md +0 -66
  171. package/docs/AdminProviderModelCreateRequest.md +0 -59
  172. package/docs/AdminProviderModelCreateResponse.md +0 -25
  173. package/docs/AdminProviderModelUpdateRequest.md +0 -25
  174. package/docs/AdminProviderUpdateRequest.md +0 -25
  175. package/docs/AdminProviderUpdateResponse.md +0 -25
  176. package/docs/AdminUserItem.md +0 -26
  177. package/docs/AuthAdminSession.md +0 -39
  178. package/docs/AuthEnterpriseMaterials.md +0 -33
  179. package/docs/AuthEnterpriseSession.md +0 -37
  180. package/docs/AuthEnterpriseUser.md +0 -37
  181. package/docs/AuthPassport.md +0 -35
  182. package/docs/AuthUser.md +0 -39
  183. package/docs/AuthUserMethod.md +0 -39
  184. package/docs/AuthUserSession.md +0 -41
  185. package/docs/FrontendModelCost.md +0 -57
  186. package/docs/FrontendModelExtraInfo.md +0 -21
  187. package/docs/FrontendModelsResponse.md +0 -29
  188. package/docs/FrontendProviderInfo.md +0 -31
  189. package/docs/FrontendProviderModel.md +0 -55
  190. package/docs/FrontendProvidersResponse.md +0 -29
  191. package/docs/FrontendSearchContextCost.md +0 -25
  192. package/docs/ModelCapabilities.md +0 -59
  193. package/docs/ModelLimits.md +0 -41
  194. package/docs/ModelModalities.md +0 -23
  195. package/docs/PassportAdminSendVerificationEmailRequest.md +0 -26
  196. package/docs/PassportAdminSignInEmailResponse.md +0 -26
  197. package/docs/PassportAdminTokenAuthResponse.md +0 -28
  198. package/docs/PassportAuthAdminChangePasswordResponse.md +0 -26
  199. package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +0 -28
  200. package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +0 -22
  201. package/docs/PassportAuthAdminGetSessionResponse.md +0 -26
  202. package/docs/PassportAuthAdminListSessionsResponse.md +0 -24
  203. package/docs/PassportAuthAdminPassportDisableRequest.md +0 -22
  204. package/docs/PassportAuthAdminPassportListRequest.md +0 -28
  205. package/docs/PassportAuthAdminPassportListResponse.md +0 -28
  206. package/docs/PassportAuthAdminPassportModifyInfoRequest.md +0 -28
  207. package/docs/PassportAuthAdminPassportModifyInfoResponse.md +0 -24
  208. package/docs/PassportAuthAdminRPCServiceApi.md +0 -61
  209. package/docs/PassportAuthAdminRevokeSessionRequest.md +0 -20
  210. package/docs/PassportAuthAdminRevokeSessionResponse.md +0 -22
  211. package/docs/PassportAuthAdminRevokeSessionsResponse.md +0 -22
  212. package/docs/PassportAuthAdminServiceApi.md +0 -1069
  213. package/docs/PassportAuthAdminUserDisableRequest.md +0 -26
  214. package/docs/PassportAuthAdminUserListRequest.md +0 -28
  215. package/docs/PassportAuthAdminUserListResponse.md +0 -28
  216. package/docs/PassportAuthAdminUserModifyInfoRequest.md +0 -32
  217. package/docs/PassportAuthAdminUserModifyPermissionRequest.md +0 -22
  218. package/docs/PassportAuthChangePasswordRequest.md +0 -26
  219. package/docs/PassportAuthChangePasswordResponse.md +0 -26
  220. package/docs/PassportAuthDeleteAllResponse.md +0 -22
  221. package/docs/PassportAuthEnterpriseChangePhoneRequest.md +0 -24
  222. package/docs/PassportAuthEnterpriseChangePhoneResponse.md +0 -22
  223. package/docs/PassportAuthEnterpriseDeleteResponse.md +0 -22
  224. package/docs/PassportAuthEnterpriseInfoGetResponse.md +0 -24
  225. package/docs/PassportAuthEnterpriseListSessionsResponse.md +0 -24
  226. package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +0 -26
  227. package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +0 -24
  228. package/docs/PassportAuthEnterpriseRPCServiceApi.md +0 -61
  229. package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +0 -20
  230. package/docs/PassportAuthEnterpriseResetPasswordRequest.md +0 -22
  231. package/docs/PassportAuthEnterpriseResetPasswordResponse.md +0 -22
  232. package/docs/PassportAuthEnterpriseRevokeOtherSessionsResponse.md +0 -22
  233. package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +0 -22
  234. package/docs/PassportAuthEnterpriseServiceApi.md +0 -1170
  235. package/docs/PassportAuthEnterpriseSignOutRequest.md +0 -20
  236. package/docs/PassportAuthEnterpriseSignOutResponse.md +0 -22
  237. package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +0 -22
  238. package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +0 -24
  239. package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +0 -22
  240. package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +0 -22
  241. package/docs/PassportAuthInfoGetResponse.md +0 -26
  242. package/docs/PassportAuthListMethodsResponse.md +0 -24
  243. package/docs/PassportAuthListSocialsResponse.md +0 -24
  244. package/docs/PassportAuthRefreshSessionTokenRequest.md +0 -20
  245. package/docs/PassportAuthRefreshSessionTokenResponse.md +0 -24
  246. package/docs/PassportAuthResetPasswordRequest.md +0 -24
  247. package/docs/PassportAuthRevokeOtherSessionsRequest.md +0 -20
  248. package/docs/PassportAuthRevokeSessionResponse.md +0 -22
  249. package/docs/PassportAuthRevokeSessionsRequest.md +0 -20
  250. package/docs/PassportAuthRevokeSessionsResponse.md +0 -22
  251. package/docs/PassportAuthSendVerificationEmailRequest.md +0 -26
  252. package/docs/PassportAuthSendVerificationEmailResponse.md +0 -22
  253. package/docs/PassportAuthSendVerificationPhoneRequest.md +0 -26
  254. package/docs/PassportAuthSendVerificationPhoneResponse.md +0 -22
  255. package/docs/PassportAuthUnlinkSocialResponse.md +0 -22
  256. package/docs/PassportAuthUserChangeEmailResponse.md +0 -24
  257. package/docs/PassportAuthUserChangePhoneRequest.md +0 -26
  258. package/docs/PassportAuthUserChangePhoneResponse.md +0 -24
  259. package/docs/PassportAuthUserDeleteRequest.md +0 -30
  260. package/docs/PassportAuthUserGetSessionResponse.md +0 -24
  261. package/docs/PassportAuthUserInfoGetResponse.md +0 -24
  262. package/docs/PassportAuthUserRPCServiceApi.md +0 -223
  263. package/docs/PassportAuthUserServiceApi.md +0 -2000
  264. package/docs/PassportAuthUserSignOutRequest.md +0 -22
  265. package/docs/PassportAuthUserUpdateInfoRequest.md +0 -28
  266. package/docs/PassportAuthUserUpdateInfoResponse.md +0 -24
  267. package/docs/PassportAuthUserUpdatePassportResponse.md +0 -24
  268. package/docs/PassportAuthUserVerifyEmailRequest.md +0 -26
  269. package/docs/PassportAuthUserVerifyEmailResponse.md +0 -22
  270. package/docs/PassportAuthUserVerifyPhoneRequest.md +0 -24
  271. package/docs/PassportAuthUserVerifyPhoneResponse.md +0 -22
  272. package/docs/PassportEnterprisePasswordResetRequest.md +0 -24
  273. package/docs/PassportEnterpriseSendVerificationEmailRequest.md +0 -24
  274. package/docs/PassportEnterpriseSendVerificationEmailResponse.md +0 -22
  275. package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +0 -24
  276. package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +0 -22
  277. package/docs/PassportEnterpriseSignInEmailRequest.md +0 -30
  278. package/docs/PassportEnterpriseSignInPhoneRequest.md +0 -24
  279. package/docs/PassportEnterpriseSignInPhoneResponse.md +0 -26
  280. package/docs/PassportEnterpriseSignUpEmailRequest.md +0 -34
  281. package/docs/PassportEnterpriseTokenAuthRequest.md +0 -20
  282. package/docs/PassportEnterpriseTokenAuthResponse.md +0 -28
  283. package/docs/PassportSendVerificationEmailRequest.md +0 -26
  284. package/docs/PassportSendVerificationEmailResponse.md +0 -22
  285. package/docs/PassportSendVerificationPhoneRequest.md +0 -26
  286. package/docs/PassportSendVerificationPhoneResponse.md +0 -22
  287. package/docs/PassportUserInfoBatchGetRequest.md +0 -24
  288. package/docs/PassportUserInfoBatchGetResponse.md +0 -24
  289. package/docs/PassportUserInfoGetRequest.md +0 -24
  290. package/docs/PassportUserOAuthCallbackResponse.md +0 -36
  291. package/docs/PassportUserPasswordForgetRequest.md +0 -24
  292. package/docs/PassportUserPasswordForgetResponse.md +0 -22
  293. package/docs/PassportUserPasswordResetRequest.md +0 -30
  294. package/docs/PassportUserPasswordResetTokenVerifyRequest.md +0 -22
  295. package/docs/PassportUserPasswordResetTokenVerifyResponse.md +0 -26
  296. package/docs/PassportUserSignInEmailRequest.md +0 -32
  297. package/docs/PassportUserSignInEmailResponse.md +0 -32
  298. package/docs/PassportUserSignInPhoneRequest.md +0 -26
  299. package/docs/PassportUserSignInPhoneResponse.md +0 -28
  300. package/docs/PassportUserSignInSocialResponse.md +0 -32
  301. package/docs/PassportUserSignUpEmailRequest.md +0 -36
  302. package/docs/PassportUserSignUpEmailResponse.md +0 -32
  303. package/docs/PassportUserTokenAuthResponse.md +0 -28
  304. package/docs/PassportUserUpdateInfoRequest.md +0 -30
  305. package/docs/PassportUserUpdateInfoResponse.md +0 -22
  306. package/docs/ProviderGCPAuth.md +0 -27
  307. package/docs/QRCodeAdminServiceApi.md +0 -286
  308. package/docs/QRCodeCreateRequest.md +0 -37
  309. package/docs/QRCodeCreateResponse.md +0 -25
  310. package/docs/QRCodeDeleteResponse.md +0 -23
  311. package/docs/QRCodeGetResponse.md +0 -25
  312. package/docs/QRCodeHistoryItem.md +0 -29
  313. package/docs/QRCodeInfo.md +0 -59
  314. package/docs/QRCodeListResponse.md +0 -27
  315. package/docs/QRCodeSnapshot.md +0 -37
  316. package/docs/QRCodeUpdateRequest.md +0 -39
  317. package/docs/QRCodeUpdateResponse.md +0 -25
  318. package/docs/QRCodeWithHistory.md +0 -23
  319. package/docs/UserBasic.md +0 -42
  320. package/docs/UserExtendInfo.md +0 -20
  321. package/docs/UserInfoQueryOptions.md +0 -28
  322. package/docs/UserPaymentInfo.md +0 -20
  323. package/docs/UserPreferences.md +0 -22
@@ -79,14 +79,10 @@ import {
79
79
  const configuration = new Configuration();
80
80
  const apiInstance = new RemoteConfigAdminServiceApi(configuration);
81
81
 
82
- let service: string; // (optional) (default to undefined)
83
82
  let key: string; // (optional) (default to undefined)
84
- let envList: Array<string>; //要删除的环境列表,若为空则删除所有环境 (optional) (default to undefined)
85
83
 
86
84
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemDelete(
87
- service,
88
- key,
89
- envList
85
+ key
90
86
  );
91
87
  ```
92
88
 
@@ -94,9 +90,7 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
94
90
 
95
91
  |Name | Type | Description | Notes|
96
92
  |------------- | ------------- | ------------- | -------------|
97
- | **service** | [**string**] | | (optional) defaults to undefined|
98
93
  | **key** | [**string**] | | (optional) defaults to undefined|
99
- | **envList** | **Array&lt;string&gt;** | 要删除的环境列表,若为空则删除所有环境 | (optional) defaults to undefined|
100
94
 
101
95
 
102
96
  ### Return type
@@ -137,12 +131,10 @@ import {
137
131
  const configuration = new Configuration();
138
132
  const apiInstance = new RemoteConfigAdminServiceApi(configuration);
139
133
 
140
- let service: string; //@gotags: form:\"service\" binding:\"required\" (optional) (default to undefined)
141
134
  let key: string; //@gotags: form:\"key\" binding:\"required\" (optional) (default to undefined)
142
135
  let historyLimit: number; //@gotags: form:\"history_limit\" (optional) (default to undefined)
143
136
 
144
137
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemGet(
145
- service,
146
138
  key,
147
139
  historyLimit
148
140
  );
@@ -152,7 +144,6 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
152
144
 
153
145
  |Name | Type | Description | Notes|
154
146
  |------------- | ------------- | ------------- | -------------|
155
- | **service** | [**string**] | @gotags: form:\&quot;service\&quot; binding:\&quot;required\&quot; | (optional) defaults to undefined|
156
147
  | **key** | [**string**] | @gotags: form:\&quot;key\&quot; binding:\&quot;required\&quot; | (optional) defaults to undefined|
157
148
  | **historyLimit** | [**number**] | @gotags: form:\&quot;history_limit\&quot; | (optional) defaults to undefined|
158
149
 
@@ -197,17 +188,13 @@ const apiInstance = new RemoteConfigAdminServiceApi(configuration);
197
188
 
198
189
  let page: number; // (optional) (default to undefined)
199
190
  let pageSize: number; // (optional) (default to undefined)
200
- let services: Array<string>; // (optional) (default to undefined)
201
191
  let keys: Array<string>; // (optional) (default to undefined)
202
- let envList: Array<string>; // (optional) (default to undefined)
203
- let keyword: string; //搜索关键词,模糊匹配 key + payload + values 字段 (optional) (default to undefined)
192
+ let keyword: string; // (optional) (default to undefined)
204
193
 
205
194
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemList(
206
195
  page,
207
196
  pageSize,
208
- services,
209
197
  keys,
210
- envList,
211
198
  keyword
212
199
  );
213
200
  ```
@@ -218,10 +205,8 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
218
205
  |------------- | ------------- | ------------- | -------------|
219
206
  | **page** | [**number**] | | (optional) defaults to undefined|
220
207
  | **pageSize** | [**number**] | | (optional) defaults to undefined|
221
- | **services** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
222
208
  | **keys** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
223
- | **envList** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
224
- | **keyword** | [**string**] | 搜索关键词,模糊匹配 key + payload + values 字段 | (optional) defaults to undefined|
209
+ | **keyword** | [**string**] | | (optional) defaults to undefined|
225
210
 
226
211
 
227
212
  ### 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
- **items** | [**Array&lt;ConfigItemHistory&gt;**](ConfigItemHistory.md) | | [optional] [default to undefined]
10
+ **data** | [**ConfigItemHistory**](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
- items,
20
+ data,
21
21
  };
22
22
  ```
23
23
 
@@ -5,10 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **service** | **string** | | [optional] [default to undefined]
9
8
  **key** | **string** | | [optional] [default to undefined]
10
- **envList** | **Array&lt;string&gt;** | | [optional] [default to undefined]
11
- **forceUpdateEnvs** | **boolean** | 是否强制更新所有环境的配置项,若为 true 则忽略 env_list,仅更新 item 中指定的环境配置 如果为 false,则仅更新 env_list 中指定的环境配置,并且 env_list 不能为空 | [optional] [default to undefined]
12
9
  **item** | [**ConfigItem**](ConfigItem.md) | | [optional] [default to undefined]
13
10
 
14
11
  ## Example
@@ -17,10 +14,7 @@ Name | Type | Description | Notes
17
14
  import { RemoteConfigItemUpdateRequest } from '@cherryin/api-client';
18
15
 
19
16
  const instance: RemoteConfigItemUpdateRequest = {
20
- service,
21
17
  key,
22
- envList,
23
- forceUpdateEnvs,
24
18
  item,
25
19
  };
26
20
  ```
@@ -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
- **items** | [**Array&lt;ConfigItem&gt;**](ConfigItem.md) | | [optional] [default to undefined]
10
+ **item** | [**ConfigItem**](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
- items,
20
+ item,
21
21
  };
22
22
  ```
23
23
 
@@ -1,13 +1,13 @@
1
1
  # RequestPricing
2
2
 
3
- RequestPricing 请求级别计费
3
+ RequestPricing 请求级别计费 Request-level pricing
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **base_fee** | **string** | base_fee 每请求基础费用 | [optional] [default to undefined]
10
- **per_thousand_requests** | **string** | per_thousand_requests 每千次请求费用 | [optional] [default to undefined]
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]
11
11
 
12
12
  ## Example
13
13
 
@@ -1,15 +1,15 @@
1
1
  # TextTokenInputPricing
2
2
 
3
- TextTokenInputPricing 输入Token价格配置
3
+ TextTokenInputPricing 输入Token价格配置 Input token price configuration
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
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]
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]
13
13
 
14
14
  ## Example
15
15
 
@@ -1,14 +1,14 @@
1
1
  # TextTokenOutputPricing
2
2
 
3
- TextTokenOutputPricing 输出Token价格配置
3
+ TextTokenOutputPricing 输出Token价格配置 Output token price configuration
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
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]
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]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,13 +1,13 @@
1
1
  # TextTokenPricing
2
2
 
3
- TextTokenPricing Token计费规则
3
+ TextTokenPricing Token计费规则 Text token pricing rules
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **input** | [**TextTokenInputPricing**](TextTokenInputPricing.md) | input 输入Token价格配置 | [optional] [default to undefined]
10
- **output** | [**TextTokenOutputPricing**](TextTokenOutputPricing.md) | output 输出Token价格配置 | [optional] [default to undefined]
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]
11
11
 
12
12
  ## Example
13
13
 
package/docs/TokenTier.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # TokenTier
2
2
 
3
- TokenTier Token价格层级
3
+ TokenTier Token价格层级 Token price tier
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **min_tokens** | **string** | min_tokens 最小token数量 | [optional] [default to undefined]
10
- **max_tokens** | **string** | max_tokens 最大token数量(0表示无限) | [optional] [default to undefined]
11
- **price_per_million** | **string** | price_per_million 每百万token价格(使用字符串避免精度损失) | [optional] [default to undefined]
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]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,25 +1,25 @@
1
1
  # UserAPIKey
2
2
 
3
- UserAPIKey 代表用户的 API 密钥
3
+ UserAPIKey 代表用户的 API 密钥 UserAPIKey represents a user\'s API key
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
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]
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]
23
23
 
24
24
  ## Example
25
25
 
@@ -1,20 +1,20 @@
1
1
  # UserAPIKeyCreateRequest
2
2
 
3
- UserAPIKeyCreateRequest 创建 UserAPIKey 的请求
3
+ UserAPIKeyCreateRequest 创建 UserAPIKey 的请求 Request message for creating a new UserAPIKey
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
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]
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]
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 表示永不过期 | [optional] [default to undefined]
17
+ **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 Expiration timestamp, 0 means never expires | [optional] [default to undefined]
18
18
 
19
19
  ## Example
20
20
 
@@ -1,14 +1,14 @@
1
1
  # UserAPIKeyCreateResponse
2
2
 
3
- UserAPIKeyCreateResponse 创建 UserAPIKey 的响应
3
+ UserAPIKeyCreateResponse 创建 UserAPIKey 的响应 Response message for UserAPIKey creation
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
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]
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]
12
12
 
13
13
  ## Example
14
14
 
@@ -0,0 +1,21 @@
1
+ # UserAPIKeyDeleteRequest
2
+
3
+ UserAPIKeyDeleteRequest 删除 UserAPIKey 的请求 Request message for deleting a UserAPIKey
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | id 要删除的 UserAPIKey 的唯一标识符 Unique identifier of the UserAPIKey to delete @gotags: form:\&quot;id\&quot; binding:\&quot;required\&quot; | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UserAPIKeyDeleteRequest } from '@cherryin/api-client';
15
+
16
+ const instance: UserAPIKeyDeleteRequest = {
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,13 +1,13 @@
1
1
  # UserAPIKeyDeleteResponse
2
2
 
3
- UserAPIKeyDeleteResponse 删除 UserAPIKey 的响应
3
+ UserAPIKeyDeleteResponse 删除 UserAPIKey 的响应 Response message for UserAPIKey deletion
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 | [optional] [default to undefined]
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
11
 
12
12
  ## Example
13
13
 
@@ -1,14 +1,14 @@
1
1
  # UserAPIKeyGetResponse
2
2
 
3
- UserAPIKeyGetResponse 获取单个 UserAPIKey 的响应
3
+ UserAPIKeyGetResponse 获取单个 UserAPIKey 的响应 Response message for UserAPIKey retrieval
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
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]
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]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,15 +1,15 @@
1
1
  # UserAPIKeyListResponse
2
2
 
3
- UserAPIKeyListResponse 分页查询 UserAPIKey 列表的响应
3
+ UserAPIKeyListResponse 分页查询 UserAPIKey 列表的响应 Response message for UserAPIKey listing
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
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]
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]
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) | **DELETE** /api/v1/user/api-key/delete | |
8
+ |[**userAPIKeyServiceUserAPIKeyDelete**](#userapikeyserviceuserapikeydelete) | **POST** /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 请求路径: POST /api/user/api-key/create
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
17
17
 
18
18
  ### Example
19
19
 
@@ -64,25 +64,26 @@ 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()
67
+ > UserAPIKeyDeleteResponse userAPIKeyServiceUserAPIKeyDelete(userAPIKeyDeleteRequest)
68
68
 
69
- UserAPIKeyDelete 删除 UserAPIKey(软删除) 请求路径: POST /api/user/api-key/delete
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
70
70
 
71
71
  ### Example
72
72
 
73
73
  ```typescript
74
74
  import {
75
75
  UserAPIKeyServiceApi,
76
- Configuration
76
+ Configuration,
77
+ UserAPIKeyDeleteRequest
77
78
  } from '@cherryin/api-client';
78
79
 
79
80
  const configuration = new Configuration();
80
81
  const apiInstance = new UserAPIKeyServiceApi(configuration);
81
82
 
82
- let id: string; //id 要删除的 UserAPIKey 的唯一标识符 @gotags: form:\"id\" binding:\"required\" (optional) (default to undefined)
83
+ let userAPIKeyDeleteRequest: UserAPIKeyDeleteRequest; //
83
84
 
84
85
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyDelete(
85
- id
86
+ userAPIKeyDeleteRequest
86
87
  );
87
88
  ```
88
89
 
@@ -90,7 +91,7 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyDelete(
90
91
 
91
92
  |Name | Type | Description | Notes|
92
93
  |------------- | ------------- | ------------- | -------------|
93
- | **id** | [**string**] | id 要删除的 UserAPIKey 的唯一标识符 @gotags: form:\&quot;id\&quot; binding:\&quot;required\&quot; | (optional) defaults to undefined|
94
+ | **userAPIKeyDeleteRequest** | **UserAPIKeyDeleteRequest**| | |
94
95
 
95
96
 
96
97
  ### Return type
@@ -103,7 +104,7 @@ No authorization required
103
104
 
104
105
  ### HTTP request headers
105
106
 
106
- - **Content-Type**: Not defined
107
+ - **Content-Type**: application/json
107
108
  - **Accept**: application/json
108
109
 
109
110
 
@@ -118,7 +119,7 @@ No authorization required
118
119
  # **userAPIKeyServiceUserAPIKeyGet**
119
120
  > UserAPIKeyGetResponse userAPIKeyServiceUserAPIKeyGet()
120
121
 
121
- UserAPIKeyGet 根据 ID 或名称获取单个 UserAPIKey Request path: GET /api/user/api-key/get?id={id} or GET /api/user/api-key/get?name={name}
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
122
123
 
123
124
  ### Example
124
125
 
@@ -131,8 +132,8 @@ import {
131
132
  const configuration = new Configuration();
132
133
  const apiInstance = new UserAPIKeyServiceApi(configuration);
133
134
 
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)
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)
136
137
 
137
138
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyGet(
138
139
  id,
@@ -144,8 +145,8 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyGet(
144
145
 
145
146
  |Name | Type | Description | Notes|
146
147
  |------------- | ------------- | ------------- | -------------|
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|
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|
149
150
 
150
151
 
151
152
  ### Return type
@@ -173,7 +174,7 @@ No authorization required
173
174
  # **userAPIKeyServiceUserAPIKeyList**
174
175
  > UserAPIKeyListResponse userAPIKeyServiceUserAPIKeyList()
175
176
 
176
- UserAPIKeyList 分页查询 UserAPIKey 列表,支持按状态和分组过滤 请求路径: GET /api/user/api-key/list?page={page}&page_size={page_size}&key_status={status}&key_group={group}
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
177
178
 
178
179
  ### Example
179
180
 
@@ -186,11 +187,11 @@ import {
186
187
  const configuration = new Configuration();
187
188
  const apiInstance = new UserAPIKeyServiceApi(configuration);
188
189
 
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)
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)
194
195
 
195
196
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyList(
196
197
  page,
@@ -205,11 +206,11 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyList(
205
206
 
206
207
  |Name | Type | Description | Notes|
207
208
  |------------- | ------------- | ------------- | -------------|
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|
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|
213
214
 
214
215
 
215
216
  ### Return type
@@ -237,7 +238,7 @@ No authorization required
237
238
  # **userAPIKeyServiceUserAPIKeyUpdate**
238
239
  > UserAPIKeyUpdateResponse userAPIKeyServiceUserAPIKeyUpdate(userAPIKeyUpdateRequest)
239
240
 
240
- UserAPIKeyUpdate 更新现有的 UserAPIKey 请求路径: POST /api/user/api-key/update
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
241
242
 
242
243
  ### Example
243
244
 
@@ -6,9 +6,9 @@ UserAPIKeyUpdateResponse 更新 UserAPIKey 的响应 Response message for UserA
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
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]
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]
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 响应状态码,200 表示成功 | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 Response 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 响应状态码,200 表示成功 | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 Response 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 响应状态码,200 表示成功 | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 Response 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