@cherryin/passport-api-client 0.1.0

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 (222) hide show
  1. package/.openapi-generator/FILES +202 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +336 -0
  5. package/api.ts +8354 -0
  6. package/base.ts +62 -0
  7. package/common.ts +113 -0
  8. package/configuration.ts +121 -0
  9. package/dist/api.d.ts +4798 -0
  10. package/dist/api.js +6070 -0
  11. package/dist/base.d.ts +42 -0
  12. package/dist/base.js +46 -0
  13. package/dist/common.d.ts +28 -0
  14. package/dist/common.js +124 -0
  15. package/dist/configuration.d.ts +98 -0
  16. package/dist/configuration.js +44 -0
  17. package/dist/esm/api.d.ts +4798 -0
  18. package/dist/esm/api.js +6043 -0
  19. package/dist/esm/base.d.ts +42 -0
  20. package/dist/esm/base.js +41 -0
  21. package/dist/esm/common.d.ts +28 -0
  22. package/dist/esm/common.js +112 -0
  23. package/dist/esm/configuration.d.ts +98 -0
  24. package/dist/esm/configuration.js +40 -0
  25. package/dist/esm/index.d.ts +13 -0
  26. package/dist/esm/index.js +15 -0
  27. package/dist/index.d.ts +13 -0
  28. package/dist/index.js +31 -0
  29. package/docs/AdminEnterpriseMaterials.md +24 -0
  30. package/docs/AdminEnterpriseUser.md +24 -0
  31. package/docs/AdminEnterpriseUserMaterials.md +22 -0
  32. package/docs/AdminPassportItem.md +24 -0
  33. package/docs/AdminUserItem.md +26 -0
  34. package/docs/Any.md +20 -0
  35. package/docs/AuthAdminSession.md +38 -0
  36. package/docs/AuthAdminUser.md +32 -0
  37. package/docs/AuthEnterpriseMaterials.md +32 -0
  38. package/docs/AuthEnterpriseSession.md +36 -0
  39. package/docs/AuthEnterpriseUser.md +36 -0
  40. package/docs/AuthIdToken.md +28 -0
  41. package/docs/AuthPassport.md +34 -0
  42. package/docs/AuthUser.md +38 -0
  43. package/docs/AuthUserMethod.md +38 -0
  44. package/docs/AuthUserSession.md +40 -0
  45. package/docs/PassportAdminPasswordForgetRequest.md +22 -0
  46. package/docs/PassportAdminPasswordForgetResponse.md +22 -0
  47. package/docs/PassportAdminPasswordResetRequest.md +28 -0
  48. package/docs/PassportAdminPasswordResetResponse.md +26 -0
  49. package/docs/PassportAdminPasswordResetTokenVerifyRequest.md +20 -0
  50. package/docs/PassportAdminPasswordResetTokenVerifyResponse.md +26 -0
  51. package/docs/PassportAdminSendVerificationEmailRequest.md +26 -0
  52. package/docs/PassportAdminSendVerificationEmailResponse.md +22 -0
  53. package/docs/PassportAdminSignInEmailRequest.md +28 -0
  54. package/docs/PassportAdminSignInEmailResponse.md +26 -0
  55. package/docs/PassportAdminTokenAuthRequest.md +20 -0
  56. package/docs/PassportAdminTokenAuthResponse.md +28 -0
  57. package/docs/PassportAuthAdminChangePasswordRequest.md +24 -0
  58. package/docs/PassportAuthAdminChangePasswordResponse.md +26 -0
  59. package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +28 -0
  60. package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +22 -0
  61. package/docs/PassportAuthAdminEnterpriseMaterialReviewResponse.md +22 -0
  62. package/docs/PassportAuthAdminGetInfoResponse.md +24 -0
  63. package/docs/PassportAuthAdminGetSessionResponse.md +26 -0
  64. package/docs/PassportAuthAdminListSessionsResponse.md +24 -0
  65. package/docs/PassportAuthAdminPassportDisableRequest.md +22 -0
  66. package/docs/PassportAuthAdminPassportDisableResponse.md +22 -0
  67. package/docs/PassportAuthAdminPassportListRequest.md +28 -0
  68. package/docs/PassportAuthAdminPassportListResponse.md +28 -0
  69. package/docs/PassportAuthAdminPassportModifyInfoRequest.md +28 -0
  70. package/docs/PassportAuthAdminPassportModifyInfoResponse.md +24 -0
  71. package/docs/PassportAuthAdminRPCServiceApi.md +60 -0
  72. package/docs/PassportAuthAdminResetPasswordRequest.md +20 -0
  73. package/docs/PassportAuthAdminResetPasswordResponse.md +22 -0
  74. package/docs/PassportAuthAdminRevokeOtherSessionsResponse.md +22 -0
  75. package/docs/PassportAuthAdminRevokeSessionRequest.md +20 -0
  76. package/docs/PassportAuthAdminRevokeSessionResponse.md +22 -0
  77. package/docs/PassportAuthAdminRevokeSessionsResponse.md +22 -0
  78. package/docs/PassportAuthAdminServiceApi.md +1267 -0
  79. package/docs/PassportAuthAdminSignOutResponse.md +22 -0
  80. package/docs/PassportAuthAdminUpdateInfoRequest.md +22 -0
  81. package/docs/PassportAuthAdminUpdateInfoResponse.md +24 -0
  82. package/docs/PassportAuthAdminUserDisableRequest.md +26 -0
  83. package/docs/PassportAuthAdminUserDisableResponse.md +22 -0
  84. package/docs/PassportAuthAdminUserListRequest.md +28 -0
  85. package/docs/PassportAuthAdminUserListResponse.md +28 -0
  86. package/docs/PassportAuthAdminUserModifyInfoRequest.md +32 -0
  87. package/docs/PassportAuthAdminUserModifyInfoResponse.md +24 -0
  88. package/docs/PassportAuthAdminUserModifyPermissionRequest.md +22 -0
  89. package/docs/PassportAuthAdminUserModifyPermissionResponse.md +24 -0
  90. package/docs/PassportAuthChangePasswordRequest.md +26 -0
  91. package/docs/PassportAuthChangePasswordResponse.md +26 -0
  92. package/docs/PassportAuthDeleteAllRequest.md +28 -0
  93. package/docs/PassportAuthDeleteAllResponse.md +22 -0
  94. package/docs/PassportAuthEnterpriseChangePasswordRequest.md +24 -0
  95. package/docs/PassportAuthEnterpriseChangePasswordResponse.md +26 -0
  96. package/docs/PassportAuthEnterpriseChangePhoneRequest.md +24 -0
  97. package/docs/PassportAuthEnterpriseChangePhoneResponse.md +22 -0
  98. package/docs/PassportAuthEnterpriseDeleteRequest.md +28 -0
  99. package/docs/PassportAuthEnterpriseDeleteResponse.md +22 -0
  100. package/docs/PassportAuthEnterpriseGetSessionResponse.md +24 -0
  101. package/docs/PassportAuthEnterpriseInfoGetResponse.md +24 -0
  102. package/docs/PassportAuthEnterpriseListSessionsResponse.md +24 -0
  103. package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +26 -0
  104. package/docs/PassportAuthEnterpriseMaterialUploadResponse.md +22 -0
  105. package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +24 -0
  106. package/docs/PassportAuthEnterpriseRPCServiceApi.md +60 -0
  107. package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +20 -0
  108. package/docs/PassportAuthEnterpriseRefreshTokenResponse.md +24 -0
  109. package/docs/PassportAuthEnterpriseResetPasswordRequest.md +22 -0
  110. package/docs/PassportAuthEnterpriseResetPasswordResponse.md +22 -0
  111. package/docs/PassportAuthEnterpriseRevokeOtherSessionsResponse.md +22 -0
  112. package/docs/PassportAuthEnterpriseRevokeSessionRequest.md +20 -0
  113. package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +22 -0
  114. package/docs/PassportAuthEnterpriseRevokeSessionsResponse.md +22 -0
  115. package/docs/PassportAuthEnterpriseServiceApi.md +1148 -0
  116. package/docs/PassportAuthEnterpriseSignOutRequest.md +20 -0
  117. package/docs/PassportAuthEnterpriseSignOutResponse.md +22 -0
  118. package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +22 -0
  119. package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +24 -0
  120. package/docs/PassportAuthEnterpriseVerifyEmailRequest.md +24 -0
  121. package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +22 -0
  122. package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +22 -0
  123. package/docs/PassportAuthInfoGetResponse.md +26 -0
  124. package/docs/PassportAuthLinkSocialRequest.md +32 -0
  125. package/docs/PassportAuthLinkSocialResponse.md +26 -0
  126. package/docs/PassportAuthListMethodsResponse.md +24 -0
  127. package/docs/PassportAuthListSessionsResponse.md +24 -0
  128. package/docs/PassportAuthListSocialsResponse.md +24 -0
  129. package/docs/PassportAuthRefreshSessionTokenRequest.md +20 -0
  130. package/docs/PassportAuthRefreshSessionTokenResponse.md +24 -0
  131. package/docs/PassportAuthResetPasswordRequest.md +24 -0
  132. package/docs/PassportAuthResetPasswordResponse.md +22 -0
  133. package/docs/PassportAuthRevokeOtherSessionsRequest.md +20 -0
  134. package/docs/PassportAuthRevokeOtherSessionsResponse.md +24 -0
  135. package/docs/PassportAuthRevokeSessionRequest.md +20 -0
  136. package/docs/PassportAuthRevokeSessionResponse.md +22 -0
  137. package/docs/PassportAuthRevokeSessionsRequest.md +20 -0
  138. package/docs/PassportAuthRevokeSessionsResponse.md +22 -0
  139. package/docs/PassportAuthSendVerificationEmailRequest.md +26 -0
  140. package/docs/PassportAuthSendVerificationEmailResponse.md +22 -0
  141. package/docs/PassportAuthSendVerificationPhoneRequest.md +26 -0
  142. package/docs/PassportAuthSendVerificationPhoneResponse.md +22 -0
  143. package/docs/PassportAuthSocialGetAccessTokenRequest.md +24 -0
  144. package/docs/PassportAuthSocialGetAccessTokenResponse.md +34 -0
  145. package/docs/PassportAuthSocialRefreshTokenRequest.md +24 -0
  146. package/docs/PassportAuthSocialRefreshTokenResponse.md +34 -0
  147. package/docs/PassportAuthUnlinkSocialRequest.md +24 -0
  148. package/docs/PassportAuthUnlinkSocialResponse.md +22 -0
  149. package/docs/PassportAuthUserChangeEmailRequest.md +24 -0
  150. package/docs/PassportAuthUserChangeEmailResponse.md +24 -0
  151. package/docs/PassportAuthUserChangePhoneRequest.md +26 -0
  152. package/docs/PassportAuthUserChangePhoneResponse.md +24 -0
  153. package/docs/PassportAuthUserDeleteRequest.md +30 -0
  154. package/docs/PassportAuthUserDeleteResponse.md +22 -0
  155. package/docs/PassportAuthUserGetSessionResponse.md +24 -0
  156. package/docs/PassportAuthUserInfoGetResponse.md +24 -0
  157. package/docs/PassportAuthUserRPCServiceApi.md +219 -0
  158. package/docs/PassportAuthUserServiceApi.md +1963 -0
  159. package/docs/PassportAuthUserSignOutRequest.md +22 -0
  160. package/docs/PassportAuthUserSignOutResponse.md +22 -0
  161. package/docs/PassportAuthUserUpdateInfoRequest.md +28 -0
  162. package/docs/PassportAuthUserUpdateInfoResponse.md +24 -0
  163. package/docs/PassportAuthUserUpdatePassportRequest.md +22 -0
  164. package/docs/PassportAuthUserUpdatePassportResponse.md +24 -0
  165. package/docs/PassportAuthUserVerifyEmailRequest.md +26 -0
  166. package/docs/PassportAuthUserVerifyEmailResponse.md +22 -0
  167. package/docs/PassportAuthUserVerifyPhoneRequest.md +24 -0
  168. package/docs/PassportAuthUserVerifyPhoneResponse.md +22 -0
  169. package/docs/PassportEnterprisePasswordResetRequest.md +24 -0
  170. package/docs/PassportEnterprisePasswordResetResponse.md +26 -0
  171. package/docs/PassportEnterpriseSendVerificationEmailRequest.md +24 -0
  172. package/docs/PassportEnterpriseSendVerificationEmailResponse.md +22 -0
  173. package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +24 -0
  174. package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +22 -0
  175. package/docs/PassportEnterpriseSignInEmailRequest.md +30 -0
  176. package/docs/PassportEnterpriseSignInEmailResponse.md +30 -0
  177. package/docs/PassportEnterpriseSignInPhoneRequest.md +24 -0
  178. package/docs/PassportEnterpriseSignInPhoneResponse.md +26 -0
  179. package/docs/PassportEnterpriseSignUpEmailRequest.md +34 -0
  180. package/docs/PassportEnterpriseSignUpEmailResponse.md +30 -0
  181. package/docs/PassportEnterpriseTokenAuthRequest.md +20 -0
  182. package/docs/PassportEnterpriseTokenAuthResponse.md +28 -0
  183. package/docs/PassportSendVerificationEmailRequest.md +26 -0
  184. package/docs/PassportSendVerificationEmailResponse.md +22 -0
  185. package/docs/PassportSendVerificationPhoneRequest.md +26 -0
  186. package/docs/PassportSendVerificationPhoneResponse.md +22 -0
  187. package/docs/PassportUserInfoBatchGetRequest.md +24 -0
  188. package/docs/PassportUserInfoBatchGetResponse.md +24 -0
  189. package/docs/PassportUserInfoGetRequest.md +24 -0
  190. package/docs/PassportUserInfoGetResponse.md +24 -0
  191. package/docs/PassportUserOAuthCallbackResponse.md +36 -0
  192. package/docs/PassportUserPasswordForgetRequest.md +24 -0
  193. package/docs/PassportUserPasswordForgetResponse.md +22 -0
  194. package/docs/PassportUserPasswordResetRequest.md +30 -0
  195. package/docs/PassportUserPasswordResetResponse.md +26 -0
  196. package/docs/PassportUserPasswordResetTokenVerifyRequest.md +22 -0
  197. package/docs/PassportUserPasswordResetTokenVerifyResponse.md +26 -0
  198. package/docs/PassportUserSignInEmailRequest.md +32 -0
  199. package/docs/PassportUserSignInEmailResponse.md +32 -0
  200. package/docs/PassportUserSignInPhoneRequest.md +26 -0
  201. package/docs/PassportUserSignInPhoneResponse.md +28 -0
  202. package/docs/PassportUserSignInSocialRequest.md +32 -0
  203. package/docs/PassportUserSignInSocialResponse.md +32 -0
  204. package/docs/PassportUserSignUpEmailRequest.md +36 -0
  205. package/docs/PassportUserSignUpEmailResponse.md +32 -0
  206. package/docs/PassportUserTokenAuthRequest.md +20 -0
  207. package/docs/PassportUserTokenAuthResponse.md +28 -0
  208. package/docs/PassportUserUpdateInfoRequest.md +30 -0
  209. package/docs/PassportUserUpdateInfoResponse.md +22 -0
  210. package/docs/Status.md +24 -0
  211. package/docs/UserBasic.md +42 -0
  212. package/docs/UserExtendInfo.md +20 -0
  213. package/docs/UserInfo.md +28 -0
  214. package/docs/UserInfoQueryOptions.md +28 -0
  215. package/docs/UserPaymentInfo.md +20 -0
  216. package/docs/UserPreferences.md +22 -0
  217. package/docs/UserSettings.md +20 -0
  218. package/git_push.sh +57 -0
  219. package/index.ts +18 -0
  220. package/package.json +36 -0
  221. package/tsconfig.esm.json +7 -0
  222. package/tsconfig.json +18 -0
@@ -0,0 +1,24 @@
1
+ # PassportAuthSocialGetAccessTokenRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **provider_id** | **string** | | [optional] [default to undefined]
9
+ **account_id** | **string** | | [optional] [default to undefined]
10
+ **user_id** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthSocialGetAccessTokenRequest } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthSocialGetAccessTokenRequest = {
18
+ provider_id,
19
+ account_id,
20
+ user_id,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,34 @@
1
+ # PassportAuthSocialGetAccessTokenResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **token_type** | **string** | | [optional] [default to undefined]
11
+ **id_token** | **string** | | [optional] [default to undefined]
12
+ **access_token** | **string** | | [optional] [default to undefined]
13
+ **refresh_token** | **string** | | [optional] [default to undefined]
14
+ **access_token_expires_at** | **string** | | [optional] [default to undefined]
15
+ **refresh_token_expires_at** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { PassportAuthSocialGetAccessTokenResponse } from '@cherryin/passport-api-client';
21
+
22
+ const instance: PassportAuthSocialGetAccessTokenResponse = {
23
+ code,
24
+ message,
25
+ token_type,
26
+ id_token,
27
+ access_token,
28
+ refresh_token,
29
+ access_token_expires_at,
30
+ refresh_token_expires_at,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PassportAuthSocialRefreshTokenRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **provider_id** | **string** | required: oauth2_google, oauth2_github... | [optional] [default to undefined]
9
+ **account_id** | **string** | | [optional] [default to undefined]
10
+ **user_id** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthSocialRefreshTokenRequest } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthSocialRefreshTokenRequest = {
18
+ provider_id,
19
+ account_id,
20
+ user_id,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,34 @@
1
+ # PassportAuthSocialRefreshTokenResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **token_type** | **string** | | [optional] [default to undefined]
11
+ **id_token** | **string** | | [optional] [default to undefined]
12
+ **access_token** | **string** | | [optional] [default to undefined]
13
+ **refresh_token** | **string** | | [optional] [default to undefined]
14
+ **access_token_expires_at** | **string** | | [optional] [default to undefined]
15
+ **refresh_token_expires_at** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { PassportAuthSocialRefreshTokenResponse } from '@cherryin/passport-api-client';
21
+
22
+ const instance: PassportAuthSocialRefreshTokenResponse = {
23
+ code,
24
+ message,
25
+ token_type,
26
+ id_token,
27
+ access_token,
28
+ refresh_token,
29
+ access_token_expires_at,
30
+ refresh_token_expires_at,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PassportAuthUnlinkSocialRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **app_ids** | **string** | | [optional] [default to undefined]
9
+ **provider_id** | **string** | | [optional] [default to undefined]
10
+ **account_id** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthUnlinkSocialRequest } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthUnlinkSocialRequest = {
18
+ app_ids,
19
+ provider_id,
20
+ account_id,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # PassportAuthUnlinkSocialResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PassportAuthUnlinkSocialResponse } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthUnlinkSocialResponse = {
17
+ code,
18
+ message,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PassportAuthUserChangeEmailRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **app_ids** | **string** | | [optional] [default to undefined]
9
+ **new_email** | **string** | | [optional] [default to undefined]
10
+ **callback_url** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthUserChangeEmailRequest } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthUserChangeEmailRequest = {
18
+ app_ids,
19
+ new_email,
20
+ callback_url,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PassportAuthUserChangeEmailResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthUserChangeEmailResponse } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthUserChangeEmailResponse = {
18
+ code,
19
+ message,
20
+ users,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # PassportAuthUserChangePhoneRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **app_ids** | **string** | | [optional] [default to undefined]
9
+ **new_phone** | **string** | | [optional] [default to undefined]
10
+ **verify_code** | **string** | | [optional] [default to undefined]
11
+ **callback_url** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { PassportAuthUserChangePhoneRequest } from '@cherryin/passport-api-client';
17
+
18
+ const instance: PassportAuthUserChangePhoneRequest = {
19
+ app_ids,
20
+ new_phone,
21
+ verify_code,
22
+ callback_url,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PassportAuthUserChangePhoneResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthUserChangePhoneResponse } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthUserChangePhoneResponse = {
18
+ code,
19
+ message,
20
+ users,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # PassportAuthUserDeleteRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **app_ids** | **string** | | [optional] [default to undefined]
9
+ **callback_url** | **string** | | [optional] [default to undefined]
10
+ **email** | **string** | | [optional] [default to undefined]
11
+ **password** | **string** | | [optional] [default to undefined]
12
+ **phone** | **string** | | [optional] [default to undefined]
13
+ **code** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { PassportAuthUserDeleteRequest } from '@cherryin/passport-api-client';
19
+
20
+ const instance: PassportAuthUserDeleteRequest = {
21
+ app_ids,
22
+ callback_url,
23
+ email,
24
+ password,
25
+ phone,
26
+ code,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # PassportAuthUserDeleteResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PassportAuthUserDeleteResponse } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthUserDeleteResponse = {
17
+ code,
18
+ message,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PassportAuthUserGetSessionResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **session** | [**AuthUserSession**](AuthUserSession.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthUserGetSessionResponse } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthUserGetSessionResponse = {
18
+ code,
19
+ message,
20
+ session,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # PassportAuthUserInfoGetResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthUserInfoGetResponse } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthUserInfoGetResponse = {
18
+ code,
19
+ message,
20
+ users,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,219 @@
1
+ # PassportAuthUserRPCServiceApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**passportAuthUserRPCServicePassportUserInfoBatchGet**](#passportauthuserrpcservicepassportuserinfobatchget) | **POST** /passport/authed/v1/users/batch_get | 批量获取用户信息|
8
+ |[**passportAuthUserRPCServicePassportUserInfoGet**](#passportauthuserrpcservicepassportuserinfoget) | **POST** /passport/authed/v1/user/get | 获取用户信息|
9
+ |[**passportAuthUserRPCServicePassportUserTokenAuth**](#passportauthuserrpcservicepassportusertokenauth) | **POST** /passport/authed/v1/passports | Token 鉴权 - User|
10
+ |[**passportAuthUserRPCServicePassportUserUpdateInfo**](#passportauthuserrpcservicepassportuserupdateinfo) | **POST** /passport/authed/v1/user/update | 更新用户信息|
11
+
12
+ # **passportAuthUserRPCServicePassportUserInfoBatchGet**
13
+ > PassportUserInfoBatchGetResponse passportAuthUserRPCServicePassportUserInfoBatchGet(body)
14
+
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ PassportAuthUserRPCServiceApi,
21
+ Configuration,
22
+ PassportUserInfoBatchGetRequest
23
+ } from '@cherryin/passport-api-client';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new PassportAuthUserRPCServiceApi(configuration);
27
+
28
+ let body: PassportUserInfoBatchGetRequest; //
29
+
30
+ const { status, data } = await apiInstance.passportAuthUserRPCServicePassportUserInfoBatchGet(
31
+ body
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **body** | **PassportUserInfoBatchGetRequest**| | |
40
+
41
+
42
+ ### Return type
43
+
44
+ **PassportUserInfoBatchGetResponse**
45
+
46
+ ### Authorization
47
+
48
+ No authorization required
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | A successful response. | - |
60
+ |**0** | An unexpected error response. | - |
61
+
62
+ [[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)
63
+
64
+ # **passportAuthUserRPCServicePassportUserInfoGet**
65
+ > PassportUserInfoGetResponse passportAuthUserRPCServicePassportUserInfoGet(body)
66
+
67
+
68
+ ### Example
69
+
70
+ ```typescript
71
+ import {
72
+ PassportAuthUserRPCServiceApi,
73
+ Configuration,
74
+ PassportUserInfoGetRequest
75
+ } from '@cherryin/passport-api-client';
76
+
77
+ const configuration = new Configuration();
78
+ const apiInstance = new PassportAuthUserRPCServiceApi(configuration);
79
+
80
+ let body: PassportUserInfoGetRequest; //
81
+
82
+ const { status, data } = await apiInstance.passportAuthUserRPCServicePassportUserInfoGet(
83
+ body
84
+ );
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+ |Name | Type | Description | Notes|
90
+ |------------- | ------------- | ------------- | -------------|
91
+ | **body** | **PassportUserInfoGetRequest**| | |
92
+
93
+
94
+ ### Return type
95
+
96
+ **PassportUserInfoGetResponse**
97
+
98
+ ### Authorization
99
+
100
+ No authorization required
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: application/json
105
+ - **Accept**: application/json
106
+
107
+
108
+ ### HTTP response details
109
+ | Status code | Description | Response headers |
110
+ |-------------|-------------|------------------|
111
+ |**200** | A successful response. | - |
112
+ |**0** | An unexpected error response. | - |
113
+
114
+ [[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)
115
+
116
+ # **passportAuthUserRPCServicePassportUserTokenAuth**
117
+ > PassportUserTokenAuthResponse passportAuthUserRPCServicePassportUserTokenAuth(body)
118
+
119
+
120
+ ### Example
121
+
122
+ ```typescript
123
+ import {
124
+ PassportAuthUserRPCServiceApi,
125
+ Configuration,
126
+ PassportUserTokenAuthRequest
127
+ } from '@cherryin/passport-api-client';
128
+
129
+ const configuration = new Configuration();
130
+ const apiInstance = new PassportAuthUserRPCServiceApi(configuration);
131
+
132
+ let body: PassportUserTokenAuthRequest; //
133
+
134
+ const { status, data } = await apiInstance.passportAuthUserRPCServicePassportUserTokenAuth(
135
+ body
136
+ );
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ |Name | Type | Description | Notes|
142
+ |------------- | ------------- | ------------- | -------------|
143
+ | **body** | **PassportUserTokenAuthRequest**| | |
144
+
145
+
146
+ ### Return type
147
+
148
+ **PassportUserTokenAuthResponse**
149
+
150
+ ### Authorization
151
+
152
+ No authorization required
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: application/json
157
+ - **Accept**: application/json
158
+
159
+
160
+ ### HTTP response details
161
+ | Status code | Description | Response headers |
162
+ |-------------|-------------|------------------|
163
+ |**200** | A successful response. | - |
164
+ |**0** | An unexpected error response. | - |
165
+
166
+ [[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)
167
+
168
+ # **passportAuthUserRPCServicePassportUserUpdateInfo**
169
+ > PassportUserUpdateInfoResponse passportAuthUserRPCServicePassportUserUpdateInfo(body)
170
+
171
+
172
+ ### Example
173
+
174
+ ```typescript
175
+ import {
176
+ PassportAuthUserRPCServiceApi,
177
+ Configuration,
178
+ PassportUserUpdateInfoRequest
179
+ } from '@cherryin/passport-api-client';
180
+
181
+ const configuration = new Configuration();
182
+ const apiInstance = new PassportAuthUserRPCServiceApi(configuration);
183
+
184
+ let body: PassportUserUpdateInfoRequest; //
185
+
186
+ const { status, data } = await apiInstance.passportAuthUserRPCServicePassportUserUpdateInfo(
187
+ body
188
+ );
189
+ ```
190
+
191
+ ### Parameters
192
+
193
+ |Name | Type | Description | Notes|
194
+ |------------- | ------------- | ------------- | -------------|
195
+ | **body** | **PassportUserUpdateInfoRequest**| | |
196
+
197
+
198
+ ### Return type
199
+
200
+ **PassportUserUpdateInfoResponse**
201
+
202
+ ### Authorization
203
+
204
+ No authorization required
205
+
206
+ ### HTTP request headers
207
+
208
+ - **Content-Type**: application/json
209
+ - **Accept**: application/json
210
+
211
+
212
+ ### HTTP response details
213
+ | Status code | Description | Response headers |
214
+ |-------------|-------------|------------------|
215
+ |**200** | A successful response. | - |
216
+ |**0** | An unexpected error response. | - |
217
+
218
+ [[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)
219
+