@cherryin/api-client 0.1.1 → 0.1.3

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 +392 -156
  3. package/api.ts +12821 -4320
  4. package/dist/api.d.ts +7803 -2673
  5. package/dist/api.js +6985 -1520
  6. package/dist/esm/api.d.ts +7803 -2673
  7. package/dist/esm/api.js +7091 -1650
  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 +359 -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
@@ -1,1261 +0,0 @@
1
- # Auth2UserServiceApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- |Method | HTTP request | Description|
6
- |------------- | ------------- | -------------|
7
- |[**auth2UserServiceAuthChangeEmail**](#auth2userserviceauthchangeemail) | **POST** /authed/v1/change-email | |
8
- |[**auth2UserServiceAuthChangePassword**](#auth2userserviceauthchangepassword) | **POST** /authed/v1/change-password | |
9
- |[**auth2UserServiceAuthDeleteUser**](#auth2userserviceauthdeleteuser) | **POST** /authed/v1/delete-user | |
10
- |[**auth2UserServiceAuthGetAccessToken**](#auth2userserviceauthgetaccesstoken) | **POST** /authed/v1/get-access-token | |
11
- |[**auth2UserServiceAuthGetAccountInfo**](#auth2userserviceauthgetaccountinfo) | **GET** /authed/v1/account-info | |
12
- |[**auth2UserServiceAuthGetSession**](#auth2userserviceauthgetsession) | **GET** /authed/v1/get-session | |
13
- |[**auth2UserServiceAuthLinkSocial**](#auth2userserviceauthlinksocial) | **POST** /authed/v1/link-social | |
14
- |[**auth2UserServiceAuthListAccounts**](#auth2userserviceauthlistaccounts) | **GET** /authed/v1/list-accounts | |
15
- |[**auth2UserServiceAuthListSessions**](#auth2userserviceauthlistsessions) | **GET** /authed/v1/list-sessions | |
16
- |[**auth2UserServiceAuthOAuth2Callback**](#auth2userserviceauthoauth2callback) | **GET** /oauth2/{platform}/callback | |
17
- |[**auth2UserServiceAuthRefreshToken**](#auth2userserviceauthrefreshtoken) | **POST** /authed/v1/refresh-token | |
18
- |[**auth2UserServiceAuthRequestPasswordReset**](#auth2userserviceauthrequestpasswordreset) | **POST** /authed/v1/request-password-reset | |
19
- |[**auth2UserServiceAuthResetPassword**](#auth2userserviceauthresetpassword) | **POST** /authed/v1/reset-password | |
20
- |[**auth2UserServiceAuthRevokeOtherSessions**](#auth2userserviceauthrevokeothersessions) | **POST** /authed/v1/revoke-other-sessions | |
21
- |[**auth2UserServiceAuthRevokeSession**](#auth2userserviceauthrevokesession) | **POST** /authed/v1/revoke-session | |
22
- |[**auth2UserServiceAuthRevokeSessions**](#auth2userserviceauthrevokesessions) | **POST** /authed/v1/revoke-sessions | |
23
- |[**auth2UserServiceAuthSendVerificationEmail**](#auth2userserviceauthsendverificationemail) | **POST** /authed/v1/send-verification-email | |
24
- |[**auth2UserServiceAuthSignInEmail**](#auth2userserviceauthsigninemail) | **POST** /auth/v1/sign-in/email | |
25
- |[**auth2UserServiceAuthSignInSocial**](#auth2userserviceauthsigninsocial) | **POST** /auth/v1/sign-in/social | |
26
- |[**auth2UserServiceAuthSignOut**](#auth2userserviceauthsignout) | **POST** /authed/v1/sign-out | |
27
- |[**auth2UserServiceAuthSignUpEmail**](#auth2userserviceauthsignupemail) | **POST** /auth/v1/sign-up/email | |
28
- |[**auth2UserServiceAuthUnlinkAccount**](#auth2userserviceauthunlinkaccount) | **POST** /authed/v1/unlink-account | |
29
- |[**auth2UserServiceAuthUpdateUser**](#auth2userserviceauthupdateuser) | **POST** /authed/v1/update-user | |
30
- |[**auth2UserServiceAuthVerifyEmail**](#auth2userserviceauthverifyemail) | **GET** /authed/v1/verify-email | |
31
-
32
- # **auth2UserServiceAuthChangeEmail**
33
- > AuthChangeEmailResponse auth2UserServiceAuthChangeEmail(authChangeEmailRequest)
34
-
35
-
36
- ### Example
37
-
38
- ```typescript
39
- import {
40
- Auth2UserServiceApi,
41
- Configuration,
42
- AuthChangeEmailRequest
43
- } from '@cherryin/api-client';
44
-
45
- const configuration = new Configuration();
46
- const apiInstance = new Auth2UserServiceApi(configuration);
47
-
48
- let authChangeEmailRequest: AuthChangeEmailRequest; //
49
-
50
- const { status, data } = await apiInstance.auth2UserServiceAuthChangeEmail(
51
- authChangeEmailRequest
52
- );
53
- ```
54
-
55
- ### Parameters
56
-
57
- |Name | Type | Description | Notes|
58
- |------------- | ------------- | ------------- | -------------|
59
- | **authChangeEmailRequest** | **AuthChangeEmailRequest**| | |
60
-
61
-
62
- ### Return type
63
-
64
- **AuthChangeEmailResponse**
65
-
66
- ### Authorization
67
-
68
- No authorization required
69
-
70
- ### HTTP request headers
71
-
72
- - **Content-Type**: application/json
73
- - **Accept**: application/json
74
-
75
-
76
- ### HTTP response details
77
- | Status code | Description | Response headers |
78
- |-------------|-------------|------------------|
79
- |**200** | OK | - |
80
- |**0** | Default error response | - |
81
-
82
- [[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)
83
-
84
- # **auth2UserServiceAuthChangePassword**
85
- > AuthChangePasswordResponse auth2UserServiceAuthChangePassword(authChangePasswordRequest)
86
-
87
- ============ 密码管理 ============
88
-
89
- ### Example
90
-
91
- ```typescript
92
- import {
93
- Auth2UserServiceApi,
94
- Configuration,
95
- AuthChangePasswordRequest
96
- } from '@cherryin/api-client';
97
-
98
- const configuration = new Configuration();
99
- const apiInstance = new Auth2UserServiceApi(configuration);
100
-
101
- let authChangePasswordRequest: AuthChangePasswordRequest; //
102
-
103
- const { status, data } = await apiInstance.auth2UserServiceAuthChangePassword(
104
- authChangePasswordRequest
105
- );
106
- ```
107
-
108
- ### Parameters
109
-
110
- |Name | Type | Description | Notes|
111
- |------------- | ------------- | ------------- | -------------|
112
- | **authChangePasswordRequest** | **AuthChangePasswordRequest**| | |
113
-
114
-
115
- ### Return type
116
-
117
- **AuthChangePasswordResponse**
118
-
119
- ### Authorization
120
-
121
- No authorization required
122
-
123
- ### HTTP request headers
124
-
125
- - **Content-Type**: application/json
126
- - **Accept**: application/json
127
-
128
-
129
- ### HTTP response details
130
- | Status code | Description | Response headers |
131
- |-------------|-------------|------------------|
132
- |**200** | OK | - |
133
- |**0** | Default error response | - |
134
-
135
- [[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)
136
-
137
- # **auth2UserServiceAuthDeleteUser**
138
- > AuthDeleteUserResponse auth2UserServiceAuthDeleteUser(authDeleteUserRequest)
139
-
140
-
141
- ### Example
142
-
143
- ```typescript
144
- import {
145
- Auth2UserServiceApi,
146
- Configuration,
147
- AuthDeleteUserRequest
148
- } from '@cherryin/api-client';
149
-
150
- const configuration = new Configuration();
151
- const apiInstance = new Auth2UserServiceApi(configuration);
152
-
153
- let authDeleteUserRequest: AuthDeleteUserRequest; //
154
-
155
- const { status, data } = await apiInstance.auth2UserServiceAuthDeleteUser(
156
- authDeleteUserRequest
157
- );
158
- ```
159
-
160
- ### Parameters
161
-
162
- |Name | Type | Description | Notes|
163
- |------------- | ------------- | ------------- | -------------|
164
- | **authDeleteUserRequest** | **AuthDeleteUserRequest**| | |
165
-
166
-
167
- ### Return type
168
-
169
- **AuthDeleteUserResponse**
170
-
171
- ### Authorization
172
-
173
- No authorization required
174
-
175
- ### HTTP request headers
176
-
177
- - **Content-Type**: application/json
178
- - **Accept**: application/json
179
-
180
-
181
- ### HTTP response details
182
- | Status code | Description | Response headers |
183
- |-------------|-------------|------------------|
184
- |**200** | OK | - |
185
- |**0** | Default error response | - |
186
-
187
- [[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)
188
-
189
- # **auth2UserServiceAuthGetAccessToken**
190
- > AuthGetAccessTokenResponse auth2UserServiceAuthGetAccessToken(authGetAccessTokenRequest)
191
-
192
-
193
- ### Example
194
-
195
- ```typescript
196
- import {
197
- Auth2UserServiceApi,
198
- Configuration,
199
- AuthGetAccessTokenRequest
200
- } from '@cherryin/api-client';
201
-
202
- const configuration = new Configuration();
203
- const apiInstance = new Auth2UserServiceApi(configuration);
204
-
205
- let authGetAccessTokenRequest: AuthGetAccessTokenRequest; //
206
-
207
- const { status, data } = await apiInstance.auth2UserServiceAuthGetAccessToken(
208
- authGetAccessTokenRequest
209
- );
210
- ```
211
-
212
- ### Parameters
213
-
214
- |Name | Type | Description | Notes|
215
- |------------- | ------------- | ------------- | -------------|
216
- | **authGetAccessTokenRequest** | **AuthGetAccessTokenRequest**| | |
217
-
218
-
219
- ### Return type
220
-
221
- **AuthGetAccessTokenResponse**
222
-
223
- ### Authorization
224
-
225
- No authorization required
226
-
227
- ### HTTP request headers
228
-
229
- - **Content-Type**: application/json
230
- - **Accept**: application/json
231
-
232
-
233
- ### HTTP response details
234
- | Status code | Description | Response headers |
235
- |-------------|-------------|------------------|
236
- |**200** | OK | - |
237
- |**0** | Default error response | - |
238
-
239
- [[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)
240
-
241
- # **auth2UserServiceAuthGetAccountInfo**
242
- > AuthGetAccountInfoResponse auth2UserServiceAuthGetAccountInfo()
243
-
244
-
245
- ### Example
246
-
247
- ```typescript
248
- import {
249
- Auth2UserServiceApi,
250
- Configuration
251
- } from '@cherryin/api-client';
252
-
253
- const configuration = new Configuration();
254
- const apiInstance = new Auth2UserServiceApi(configuration);
255
-
256
- const { status, data } = await apiInstance.auth2UserServiceAuthGetAccountInfo();
257
- ```
258
-
259
- ### Parameters
260
- This endpoint does not have any parameters.
261
-
262
-
263
- ### Return type
264
-
265
- **AuthGetAccountInfoResponse**
266
-
267
- ### Authorization
268
-
269
- No authorization required
270
-
271
- ### HTTP request headers
272
-
273
- - **Content-Type**: Not defined
274
- - **Accept**: application/json
275
-
276
-
277
- ### HTTP response details
278
- | Status code | Description | Response headers |
279
- |-------------|-------------|------------------|
280
- |**200** | OK | - |
281
- |**0** | Default error response | - |
282
-
283
- [[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)
284
-
285
- # **auth2UserServiceAuthGetSession**
286
- > AuthGetSessionResponse auth2UserServiceAuthGetSession()
287
-
288
-
289
- ### Example
290
-
291
- ```typescript
292
- import {
293
- Auth2UserServiceApi,
294
- Configuration
295
- } from '@cherryin/api-client';
296
-
297
- const configuration = new Configuration();
298
- const apiInstance = new Auth2UserServiceApi(configuration);
299
-
300
- const { status, data } = await apiInstance.auth2UserServiceAuthGetSession();
301
- ```
302
-
303
- ### Parameters
304
- This endpoint does not have any parameters.
305
-
306
-
307
- ### Return type
308
-
309
- **AuthGetSessionResponse**
310
-
311
- ### Authorization
312
-
313
- No authorization required
314
-
315
- ### HTTP request headers
316
-
317
- - **Content-Type**: Not defined
318
- - **Accept**: application/json
319
-
320
-
321
- ### HTTP response details
322
- | Status code | Description | Response headers |
323
- |-------------|-------------|------------------|
324
- |**200** | OK | - |
325
- |**0** | Default error response | - |
326
-
327
- [[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)
328
-
329
- # **auth2UserServiceAuthLinkSocial**
330
- > AuthLinkSocialResponse auth2UserServiceAuthLinkSocial(authLinkSocialRequest)
331
-
332
- ============ 账号关联 ============
333
-
334
- ### Example
335
-
336
- ```typescript
337
- import {
338
- Auth2UserServiceApi,
339
- Configuration,
340
- AuthLinkSocialRequest
341
- } from '@cherryin/api-client';
342
-
343
- const configuration = new Configuration();
344
- const apiInstance = new Auth2UserServiceApi(configuration);
345
-
346
- let authLinkSocialRequest: AuthLinkSocialRequest; //
347
-
348
- const { status, data } = await apiInstance.auth2UserServiceAuthLinkSocial(
349
- authLinkSocialRequest
350
- );
351
- ```
352
-
353
- ### Parameters
354
-
355
- |Name | Type | Description | Notes|
356
- |------------- | ------------- | ------------- | -------------|
357
- | **authLinkSocialRequest** | **AuthLinkSocialRequest**| | |
358
-
359
-
360
- ### Return type
361
-
362
- **AuthLinkSocialResponse**
363
-
364
- ### Authorization
365
-
366
- No authorization required
367
-
368
- ### HTTP request headers
369
-
370
- - **Content-Type**: application/json
371
- - **Accept**: application/json
372
-
373
-
374
- ### HTTP response details
375
- | Status code | Description | Response headers |
376
- |-------------|-------------|------------------|
377
- |**200** | OK | - |
378
- |**0** | Default error response | - |
379
-
380
- [[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)
381
-
382
- # **auth2UserServiceAuthListAccounts**
383
- > AuthListAccountsResponse auth2UserServiceAuthListAccounts()
384
-
385
-
386
- ### Example
387
-
388
- ```typescript
389
- import {
390
- Auth2UserServiceApi,
391
- Configuration
392
- } from '@cherryin/api-client';
393
-
394
- const configuration = new Configuration();
395
- const apiInstance = new Auth2UserServiceApi(configuration);
396
-
397
- const { status, data } = await apiInstance.auth2UserServiceAuthListAccounts();
398
- ```
399
-
400
- ### Parameters
401
- This endpoint does not have any parameters.
402
-
403
-
404
- ### Return type
405
-
406
- **AuthListAccountsResponse**
407
-
408
- ### Authorization
409
-
410
- No authorization required
411
-
412
- ### HTTP request headers
413
-
414
- - **Content-Type**: Not defined
415
- - **Accept**: application/json
416
-
417
-
418
- ### HTTP response details
419
- | Status code | Description | Response headers |
420
- |-------------|-------------|------------------|
421
- |**200** | OK | - |
422
- |**0** | Default error response | - |
423
-
424
- [[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)
425
-
426
- # **auth2UserServiceAuthListSessions**
427
- > AuthListSessionsResponse auth2UserServiceAuthListSessions()
428
-
429
- ============ 会话管理 ============
430
-
431
- ### Example
432
-
433
- ```typescript
434
- import {
435
- Auth2UserServiceApi,
436
- Configuration
437
- } from '@cherryin/api-client';
438
-
439
- const configuration = new Configuration();
440
- const apiInstance = new Auth2UserServiceApi(configuration);
441
-
442
- const { status, data } = await apiInstance.auth2UserServiceAuthListSessions();
443
- ```
444
-
445
- ### Parameters
446
- This endpoint does not have any parameters.
447
-
448
-
449
- ### Return type
450
-
451
- **AuthListSessionsResponse**
452
-
453
- ### Authorization
454
-
455
- No authorization required
456
-
457
- ### HTTP request headers
458
-
459
- - **Content-Type**: Not defined
460
- - **Accept**: application/json
461
-
462
-
463
- ### HTTP response details
464
- | Status code | Description | Response headers |
465
- |-------------|-------------|------------------|
466
- |**200** | OK | - |
467
- |**0** | Default error response | - |
468
-
469
- [[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)
470
-
471
- # **auth2UserServiceAuthOAuth2Callback**
472
- > AuthOAuth2CallbackResponse auth2UserServiceAuthOAuth2Callback()
473
-
474
-
475
- ### Example
476
-
477
- ```typescript
478
- import {
479
- Auth2UserServiceApi,
480
- Configuration
481
- } from '@cherryin/api-client';
482
-
483
- const configuration = new Configuration();
484
- const apiInstance = new Auth2UserServiceApi(configuration);
485
-
486
- let platform: string; // (default to undefined)
487
- let code: string; // (optional) (default to undefined)
488
- let state: string; // (optional) (default to undefined)
489
-
490
- const { status, data } = await apiInstance.auth2UserServiceAuthOAuth2Callback(
491
- platform,
492
- code,
493
- state
494
- );
495
- ```
496
-
497
- ### Parameters
498
-
499
- |Name | Type | Description | Notes|
500
- |------------- | ------------- | ------------- | -------------|
501
- | **platform** | [**string**] | | defaults to undefined|
502
- | **code** | [**string**] | | (optional) defaults to undefined|
503
- | **state** | [**string**] | | (optional) defaults to undefined|
504
-
505
-
506
- ### Return type
507
-
508
- **AuthOAuth2CallbackResponse**
509
-
510
- ### Authorization
511
-
512
- No authorization required
513
-
514
- ### HTTP request headers
515
-
516
- - **Content-Type**: Not defined
517
- - **Accept**: application/json
518
-
519
-
520
- ### HTTP response details
521
- | Status code | Description | Response headers |
522
- |-------------|-------------|------------------|
523
- |**200** | OK | - |
524
- |**0** | Default error response | - |
525
-
526
- [[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)
527
-
528
- # **auth2UserServiceAuthRefreshToken**
529
- > AuthRefreshTokenResponse auth2UserServiceAuthRefreshToken(authRefreshTokenRequest)
530
-
531
- ============ Token 管理 ============
532
-
533
- ### Example
534
-
535
- ```typescript
536
- import {
537
- Auth2UserServiceApi,
538
- Configuration,
539
- AuthRefreshTokenRequest
540
- } from '@cherryin/api-client';
541
-
542
- const configuration = new Configuration();
543
- const apiInstance = new Auth2UserServiceApi(configuration);
544
-
545
- let authRefreshTokenRequest: AuthRefreshTokenRequest; //
546
-
547
- const { status, data } = await apiInstance.auth2UserServiceAuthRefreshToken(
548
- authRefreshTokenRequest
549
- );
550
- ```
551
-
552
- ### Parameters
553
-
554
- |Name | Type | Description | Notes|
555
- |------------- | ------------- | ------------- | -------------|
556
- | **authRefreshTokenRequest** | **AuthRefreshTokenRequest**| | |
557
-
558
-
559
- ### Return type
560
-
561
- **AuthRefreshTokenResponse**
562
-
563
- ### Authorization
564
-
565
- No authorization required
566
-
567
- ### HTTP request headers
568
-
569
- - **Content-Type**: application/json
570
- - **Accept**: application/json
571
-
572
-
573
- ### HTTP response details
574
- | Status code | Description | Response headers |
575
- |-------------|-------------|------------------|
576
- |**200** | OK | - |
577
- |**0** | Default error response | - |
578
-
579
- [[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)
580
-
581
- # **auth2UserServiceAuthRequestPasswordReset**
582
- > AuthRequestPasswordResetResponse auth2UserServiceAuthRequestPasswordReset(authRequestPasswordResetRequest)
583
-
584
-
585
- ### Example
586
-
587
- ```typescript
588
- import {
589
- Auth2UserServiceApi,
590
- Configuration,
591
- AuthRequestPasswordResetRequest
592
- } from '@cherryin/api-client';
593
-
594
- const configuration = new Configuration();
595
- const apiInstance = new Auth2UserServiceApi(configuration);
596
-
597
- let authRequestPasswordResetRequest: AuthRequestPasswordResetRequest; //
598
-
599
- const { status, data } = await apiInstance.auth2UserServiceAuthRequestPasswordReset(
600
- authRequestPasswordResetRequest
601
- );
602
- ```
603
-
604
- ### Parameters
605
-
606
- |Name | Type | Description | Notes|
607
- |------------- | ------------- | ------------- | -------------|
608
- | **authRequestPasswordResetRequest** | **AuthRequestPasswordResetRequest**| | |
609
-
610
-
611
- ### Return type
612
-
613
- **AuthRequestPasswordResetResponse**
614
-
615
- ### Authorization
616
-
617
- No authorization required
618
-
619
- ### HTTP request headers
620
-
621
- - **Content-Type**: application/json
622
- - **Accept**: application/json
623
-
624
-
625
- ### HTTP response details
626
- | Status code | Description | Response headers |
627
- |-------------|-------------|------------------|
628
- |**200** | OK | - |
629
- |**0** | Default error response | - |
630
-
631
- [[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)
632
-
633
- # **auth2UserServiceAuthResetPassword**
634
- > AuthResetPasswordResponse auth2UserServiceAuthResetPassword(authResetPasswordRequest)
635
-
636
-
637
- ### Example
638
-
639
- ```typescript
640
- import {
641
- Auth2UserServiceApi,
642
- Configuration,
643
- AuthResetPasswordRequest
644
- } from '@cherryin/api-client';
645
-
646
- const configuration = new Configuration();
647
- const apiInstance = new Auth2UserServiceApi(configuration);
648
-
649
- let authResetPasswordRequest: AuthResetPasswordRequest; //
650
-
651
- const { status, data } = await apiInstance.auth2UserServiceAuthResetPassword(
652
- authResetPasswordRequest
653
- );
654
- ```
655
-
656
- ### Parameters
657
-
658
- |Name | Type | Description | Notes|
659
- |------------- | ------------- | ------------- | -------------|
660
- | **authResetPasswordRequest** | **AuthResetPasswordRequest**| | |
661
-
662
-
663
- ### Return type
664
-
665
- **AuthResetPasswordResponse**
666
-
667
- ### Authorization
668
-
669
- No authorization required
670
-
671
- ### HTTP request headers
672
-
673
- - **Content-Type**: application/json
674
- - **Accept**: application/json
675
-
676
-
677
- ### HTTP response details
678
- | Status code | Description | Response headers |
679
- |-------------|-------------|------------------|
680
- |**200** | OK | - |
681
- |**0** | Default error response | - |
682
-
683
- [[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)
684
-
685
- # **auth2UserServiceAuthRevokeOtherSessions**
686
- > AuthRevokeOtherSessionsResponse auth2UserServiceAuthRevokeOtherSessions(body)
687
-
688
-
689
- ### Example
690
-
691
- ```typescript
692
- import {
693
- Auth2UserServiceApi,
694
- Configuration
695
- } from '@cherryin/api-client';
696
-
697
- const configuration = new Configuration();
698
- const apiInstance = new Auth2UserServiceApi(configuration);
699
-
700
- let body: object; //
701
-
702
- const { status, data } = await apiInstance.auth2UserServiceAuthRevokeOtherSessions(
703
- body
704
- );
705
- ```
706
-
707
- ### Parameters
708
-
709
- |Name | Type | Description | Notes|
710
- |------------- | ------------- | ------------- | -------------|
711
- | **body** | **object**| | |
712
-
713
-
714
- ### Return type
715
-
716
- **AuthRevokeOtherSessionsResponse**
717
-
718
- ### Authorization
719
-
720
- No authorization required
721
-
722
- ### HTTP request headers
723
-
724
- - **Content-Type**: application/json
725
- - **Accept**: application/json
726
-
727
-
728
- ### HTTP response details
729
- | Status code | Description | Response headers |
730
- |-------------|-------------|------------------|
731
- |**200** | OK | - |
732
- |**0** | Default error response | - |
733
-
734
- [[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)
735
-
736
- # **auth2UserServiceAuthRevokeSession**
737
- > AuthRevokeSessionResponse auth2UserServiceAuthRevokeSession(authRevokeSessionRequest)
738
-
739
-
740
- ### Example
741
-
742
- ```typescript
743
- import {
744
- Auth2UserServiceApi,
745
- Configuration,
746
- AuthRevokeSessionRequest
747
- } from '@cherryin/api-client';
748
-
749
- const configuration = new Configuration();
750
- const apiInstance = new Auth2UserServiceApi(configuration);
751
-
752
- let authRevokeSessionRequest: AuthRevokeSessionRequest; //
753
-
754
- const { status, data } = await apiInstance.auth2UserServiceAuthRevokeSession(
755
- authRevokeSessionRequest
756
- );
757
- ```
758
-
759
- ### Parameters
760
-
761
- |Name | Type | Description | Notes|
762
- |------------- | ------------- | ------------- | -------------|
763
- | **authRevokeSessionRequest** | **AuthRevokeSessionRequest**| | |
764
-
765
-
766
- ### Return type
767
-
768
- **AuthRevokeSessionResponse**
769
-
770
- ### Authorization
771
-
772
- No authorization required
773
-
774
- ### HTTP request headers
775
-
776
- - **Content-Type**: application/json
777
- - **Accept**: application/json
778
-
779
-
780
- ### HTTP response details
781
- | Status code | Description | Response headers |
782
- |-------------|-------------|------------------|
783
- |**200** | OK | - |
784
- |**0** | Default error response | - |
785
-
786
- [[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)
787
-
788
- # **auth2UserServiceAuthRevokeSessions**
789
- > AuthRevokeSessionsResponse auth2UserServiceAuthRevokeSessions(body)
790
-
791
-
792
- ### Example
793
-
794
- ```typescript
795
- import {
796
- Auth2UserServiceApi,
797
- Configuration
798
- } from '@cherryin/api-client';
799
-
800
- const configuration = new Configuration();
801
- const apiInstance = new Auth2UserServiceApi(configuration);
802
-
803
- let body: object; //
804
-
805
- const { status, data } = await apiInstance.auth2UserServiceAuthRevokeSessions(
806
- body
807
- );
808
- ```
809
-
810
- ### Parameters
811
-
812
- |Name | Type | Description | Notes|
813
- |------------- | ------------- | ------------- | -------------|
814
- | **body** | **object**| | |
815
-
816
-
817
- ### Return type
818
-
819
- **AuthRevokeSessionsResponse**
820
-
821
- ### Authorization
822
-
823
- No authorization required
824
-
825
- ### HTTP request headers
826
-
827
- - **Content-Type**: application/json
828
- - **Accept**: application/json
829
-
830
-
831
- ### HTTP response details
832
- | Status code | Description | Response headers |
833
- |-------------|-------------|------------------|
834
- |**200** | OK | - |
835
- |**0** | Default error response | - |
836
-
837
- [[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)
838
-
839
- # **auth2UserServiceAuthSendVerificationEmail**
840
- > AuthSendVerificationEmailResponse auth2UserServiceAuthSendVerificationEmail(authSendVerificationEmailRequest)
841
-
842
- ============ 邮箱验证 ============
843
-
844
- ### Example
845
-
846
- ```typescript
847
- import {
848
- Auth2UserServiceApi,
849
- Configuration,
850
- AuthSendVerificationEmailRequest
851
- } from '@cherryin/api-client';
852
-
853
- const configuration = new Configuration();
854
- const apiInstance = new Auth2UserServiceApi(configuration);
855
-
856
- let authSendVerificationEmailRequest: AuthSendVerificationEmailRequest; //
857
-
858
- const { status, data } = await apiInstance.auth2UserServiceAuthSendVerificationEmail(
859
- authSendVerificationEmailRequest
860
- );
861
- ```
862
-
863
- ### Parameters
864
-
865
- |Name | Type | Description | Notes|
866
- |------------- | ------------- | ------------- | -------------|
867
- | **authSendVerificationEmailRequest** | **AuthSendVerificationEmailRequest**| | |
868
-
869
-
870
- ### Return type
871
-
872
- **AuthSendVerificationEmailResponse**
873
-
874
- ### Authorization
875
-
876
- No authorization required
877
-
878
- ### HTTP request headers
879
-
880
- - **Content-Type**: application/json
881
- - **Accept**: application/json
882
-
883
-
884
- ### HTTP response details
885
- | Status code | Description | Response headers |
886
- |-------------|-------------|------------------|
887
- |**200** | OK | - |
888
- |**0** | Default error response | - |
889
-
890
- [[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)
891
-
892
- # **auth2UserServiceAuthSignInEmail**
893
- > AuthSignInEmailResponse auth2UserServiceAuthSignInEmail(authSignInEmailRequest)
894
-
895
-
896
- ### Example
897
-
898
- ```typescript
899
- import {
900
- Auth2UserServiceApi,
901
- Configuration,
902
- AuthSignInEmailRequest
903
- } from '@cherryin/api-client';
904
-
905
- const configuration = new Configuration();
906
- const apiInstance = new Auth2UserServiceApi(configuration);
907
-
908
- let authSignInEmailRequest: AuthSignInEmailRequest; //
909
-
910
- const { status, data } = await apiInstance.auth2UserServiceAuthSignInEmail(
911
- authSignInEmailRequest
912
- );
913
- ```
914
-
915
- ### Parameters
916
-
917
- |Name | Type | Description | Notes|
918
- |------------- | ------------- | ------------- | -------------|
919
- | **authSignInEmailRequest** | **AuthSignInEmailRequest**| | |
920
-
921
-
922
- ### Return type
923
-
924
- **AuthSignInEmailResponse**
925
-
926
- ### Authorization
927
-
928
- No authorization required
929
-
930
- ### HTTP request headers
931
-
932
- - **Content-Type**: application/json
933
- - **Accept**: application/json
934
-
935
-
936
- ### HTTP response details
937
- | Status code | Description | Response headers |
938
- |-------------|-------------|------------------|
939
- |**200** | OK | - |
940
- |**0** | Default error response | - |
941
-
942
- [[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)
943
-
944
- # **auth2UserServiceAuthSignInSocial**
945
- > AuthSignInSocialResponse auth2UserServiceAuthSignInSocial(authSignInSocialRequest)
946
-
947
-
948
- ### Example
949
-
950
- ```typescript
951
- import {
952
- Auth2UserServiceApi,
953
- Configuration,
954
- AuthSignInSocialRequest
955
- } from '@cherryin/api-client';
956
-
957
- const configuration = new Configuration();
958
- const apiInstance = new Auth2UserServiceApi(configuration);
959
-
960
- let authSignInSocialRequest: AuthSignInSocialRequest; //
961
-
962
- const { status, data } = await apiInstance.auth2UserServiceAuthSignInSocial(
963
- authSignInSocialRequest
964
- );
965
- ```
966
-
967
- ### Parameters
968
-
969
- |Name | Type | Description | Notes|
970
- |------------- | ------------- | ------------- | -------------|
971
- | **authSignInSocialRequest** | **AuthSignInSocialRequest**| | |
972
-
973
-
974
- ### Return type
975
-
976
- **AuthSignInSocialResponse**
977
-
978
- ### Authorization
979
-
980
- No authorization required
981
-
982
- ### HTTP request headers
983
-
984
- - **Content-Type**: application/json
985
- - **Accept**: application/json
986
-
987
-
988
- ### HTTP response details
989
- | Status code | Description | Response headers |
990
- |-------------|-------------|------------------|
991
- |**200** | OK | - |
992
- |**0** | Default error response | - |
993
-
994
- [[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)
995
-
996
- # **auth2UserServiceAuthSignOut**
997
- > AuthSignOutResponse auth2UserServiceAuthSignOut(body)
998
-
999
-
1000
- ### Example
1001
-
1002
- ```typescript
1003
- import {
1004
- Auth2UserServiceApi,
1005
- Configuration
1006
- } from '@cherryin/api-client';
1007
-
1008
- const configuration = new Configuration();
1009
- const apiInstance = new Auth2UserServiceApi(configuration);
1010
-
1011
- let body: object; //
1012
-
1013
- const { status, data } = await apiInstance.auth2UserServiceAuthSignOut(
1014
- body
1015
- );
1016
- ```
1017
-
1018
- ### Parameters
1019
-
1020
- |Name | Type | Description | Notes|
1021
- |------------- | ------------- | ------------- | -------------|
1022
- | **body** | **object**| | |
1023
-
1024
-
1025
- ### Return type
1026
-
1027
- **AuthSignOutResponse**
1028
-
1029
- ### Authorization
1030
-
1031
- No authorization required
1032
-
1033
- ### HTTP request headers
1034
-
1035
- - **Content-Type**: application/json
1036
- - **Accept**: application/json
1037
-
1038
-
1039
- ### HTTP response details
1040
- | Status code | Description | Response headers |
1041
- |-------------|-------------|------------------|
1042
- |**200** | OK | - |
1043
- |**0** | Default error response | - |
1044
-
1045
- [[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)
1046
-
1047
- # **auth2UserServiceAuthSignUpEmail**
1048
- > AuthSignUpEmailResponse auth2UserServiceAuthSignUpEmail(authSignUpEmailRequest)
1049
-
1050
- ============ 认证 ============
1051
-
1052
- ### Example
1053
-
1054
- ```typescript
1055
- import {
1056
- Auth2UserServiceApi,
1057
- Configuration,
1058
- AuthSignUpEmailRequest
1059
- } from '@cherryin/api-client';
1060
-
1061
- const configuration = new Configuration();
1062
- const apiInstance = new Auth2UserServiceApi(configuration);
1063
-
1064
- let authSignUpEmailRequest: AuthSignUpEmailRequest; //
1065
-
1066
- const { status, data } = await apiInstance.auth2UserServiceAuthSignUpEmail(
1067
- authSignUpEmailRequest
1068
- );
1069
- ```
1070
-
1071
- ### Parameters
1072
-
1073
- |Name | Type | Description | Notes|
1074
- |------------- | ------------- | ------------- | -------------|
1075
- | **authSignUpEmailRequest** | **AuthSignUpEmailRequest**| | |
1076
-
1077
-
1078
- ### Return type
1079
-
1080
- **AuthSignUpEmailResponse**
1081
-
1082
- ### Authorization
1083
-
1084
- No authorization required
1085
-
1086
- ### HTTP request headers
1087
-
1088
- - **Content-Type**: application/json
1089
- - **Accept**: application/json
1090
-
1091
-
1092
- ### HTTP response details
1093
- | Status code | Description | Response headers |
1094
- |-------------|-------------|------------------|
1095
- |**200** | OK | - |
1096
- |**0** | Default error response | - |
1097
-
1098
- [[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)
1099
-
1100
- # **auth2UserServiceAuthUnlinkAccount**
1101
- > AuthUnlinkAccountResponse auth2UserServiceAuthUnlinkAccount(authUnlinkAccountRequest)
1102
-
1103
-
1104
- ### Example
1105
-
1106
- ```typescript
1107
- import {
1108
- Auth2UserServiceApi,
1109
- Configuration,
1110
- AuthUnlinkAccountRequest
1111
- } from '@cherryin/api-client';
1112
-
1113
- const configuration = new Configuration();
1114
- const apiInstance = new Auth2UserServiceApi(configuration);
1115
-
1116
- let authUnlinkAccountRequest: AuthUnlinkAccountRequest; //
1117
-
1118
- const { status, data } = await apiInstance.auth2UserServiceAuthUnlinkAccount(
1119
- authUnlinkAccountRequest
1120
- );
1121
- ```
1122
-
1123
- ### Parameters
1124
-
1125
- |Name | Type | Description | Notes|
1126
- |------------- | ------------- | ------------- | -------------|
1127
- | **authUnlinkAccountRequest** | **AuthUnlinkAccountRequest**| | |
1128
-
1129
-
1130
- ### Return type
1131
-
1132
- **AuthUnlinkAccountResponse**
1133
-
1134
- ### Authorization
1135
-
1136
- No authorization required
1137
-
1138
- ### HTTP request headers
1139
-
1140
- - **Content-Type**: application/json
1141
- - **Accept**: application/json
1142
-
1143
-
1144
- ### HTTP response details
1145
- | Status code | Description | Response headers |
1146
- |-------------|-------------|------------------|
1147
- |**200** | OK | - |
1148
- |**0** | Default error response | - |
1149
-
1150
- [[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)
1151
-
1152
- # **auth2UserServiceAuthUpdateUser**
1153
- > AuthUpdateUserResponse auth2UserServiceAuthUpdateUser(authUpdateUserRequest)
1154
-
1155
- ============ 用户管理 ============
1156
-
1157
- ### Example
1158
-
1159
- ```typescript
1160
- import {
1161
- Auth2UserServiceApi,
1162
- Configuration,
1163
- AuthUpdateUserRequest
1164
- } from '@cherryin/api-client';
1165
-
1166
- const configuration = new Configuration();
1167
- const apiInstance = new Auth2UserServiceApi(configuration);
1168
-
1169
- let authUpdateUserRequest: AuthUpdateUserRequest; //
1170
-
1171
- const { status, data } = await apiInstance.auth2UserServiceAuthUpdateUser(
1172
- authUpdateUserRequest
1173
- );
1174
- ```
1175
-
1176
- ### Parameters
1177
-
1178
- |Name | Type | Description | Notes|
1179
- |------------- | ------------- | ------------- | -------------|
1180
- | **authUpdateUserRequest** | **AuthUpdateUserRequest**| | |
1181
-
1182
-
1183
- ### Return type
1184
-
1185
- **AuthUpdateUserResponse**
1186
-
1187
- ### Authorization
1188
-
1189
- No authorization required
1190
-
1191
- ### HTTP request headers
1192
-
1193
- - **Content-Type**: application/json
1194
- - **Accept**: application/json
1195
-
1196
-
1197
- ### HTTP response details
1198
- | Status code | Description | Response headers |
1199
- |-------------|-------------|------------------|
1200
- |**200** | OK | - |
1201
- |**0** | Default error response | - |
1202
-
1203
- [[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)
1204
-
1205
- # **auth2UserServiceAuthVerifyEmail**
1206
- > AuthVerifyEmailResponse auth2UserServiceAuthVerifyEmail()
1207
-
1208
-
1209
- ### Example
1210
-
1211
- ```typescript
1212
- import {
1213
- Auth2UserServiceApi,
1214
- Configuration
1215
- } from '@cherryin/api-client';
1216
-
1217
- const configuration = new Configuration();
1218
- const apiInstance = new Auth2UserServiceApi(configuration);
1219
-
1220
- let email: string; // (optional) (default to undefined)
1221
- let authCode: string; // (optional) (default to undefined)
1222
- let callbackUrl: string; // (optional) (default to undefined)
1223
-
1224
- const { status, data } = await apiInstance.auth2UserServiceAuthVerifyEmail(
1225
- email,
1226
- authCode,
1227
- callbackUrl
1228
- );
1229
- ```
1230
-
1231
- ### Parameters
1232
-
1233
- |Name | Type | Description | Notes|
1234
- |------------- | ------------- | ------------- | -------------|
1235
- | **email** | [**string**] | | (optional) defaults to undefined|
1236
- | **authCode** | [**string**] | | (optional) defaults to undefined|
1237
- | **callbackUrl** | [**string**] | | (optional) defaults to undefined|
1238
-
1239
-
1240
- ### Return type
1241
-
1242
- **AuthVerifyEmailResponse**
1243
-
1244
- ### Authorization
1245
-
1246
- No authorization required
1247
-
1248
- ### HTTP request headers
1249
-
1250
- - **Content-Type**: Not defined
1251
- - **Accept**: application/json
1252
-
1253
-
1254
- ### HTTP response details
1255
- | Status code | Description | Response headers |
1256
- |-------------|-------------|------------------|
1257
- |**200** | OK | - |
1258
- |**0** | Default error response | - |
1259
-
1260
- [[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)
1261
-