@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,28 @@
1
+ # PassportAuthAdminEnterpriseMaterialListResponse
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<AdminEnterpriseUserMaterials>**](AdminEnterpriseUserMaterials.md) | | [optional] [default to undefined]
11
+ **total** | **string** | | [optional] [default to undefined]
12
+ **has_more** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { PassportAuthAdminEnterpriseMaterialListResponse } from '@cherryin/passport-api-client';
18
+
19
+ const instance: PassportAuthAdminEnterpriseMaterialListResponse = {
20
+ code,
21
+ message,
22
+ users,
23
+ total,
24
+ has_more,
25
+ };
26
+ ```
27
+
28
+ [[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
+ # PassportAuthAdminEnterpriseMaterialReviewRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **eid** | **string** | | [optional] [default to undefined]
9
+ **review_status** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PassportAuthAdminEnterpriseMaterialReviewRequest } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthAdminEnterpriseMaterialReviewRequest = {
17
+ eid,
18
+ review_status,
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,22 @@
1
+ # PassportAuthAdminEnterpriseMaterialReviewResponse
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 { PassportAuthAdminEnterpriseMaterialReviewResponse } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthAdminEnterpriseMaterialReviewResponse = {
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
+ # PassportAuthAdminGetInfoResponse
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
+ **user** | [**AuthAdminUser**](AuthAdminUser.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthAdminGetInfoResponse } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthAdminGetInfoResponse = {
18
+ code,
19
+ message,
20
+ user,
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
+ # PassportAuthAdminGetSessionResponse
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** | [**AuthAdminSession**](AuthAdminSession.md) | | [optional] [default to undefined]
11
+ **user** | [**AuthAdminUser**](AuthAdminUser.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { PassportAuthAdminGetSessionResponse } from '@cherryin/passport-api-client';
17
+
18
+ const instance: PassportAuthAdminGetSessionResponse = {
19
+ code,
20
+ message,
21
+ session,
22
+ user,
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
+ # PassportAuthAdminListSessionsResponse
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
+ **sessions** | [**Array<AuthAdminSession>**](AuthAdminSession.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthAdminListSessionsResponse } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthAdminListSessionsResponse = {
18
+ code,
19
+ message,
20
+ sessions,
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
+ # PassportAuthAdminPassportDisableRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **aid_list** | **Array<string>** | | [optional] [default to undefined]
9
+ **reason** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PassportAuthAdminPassportDisableRequest } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthAdminPassportDisableRequest = {
17
+ aid_list,
18
+ reason,
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,22 @@
1
+ # PassportAuthAdminPassportDisableResponse
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 { PassportAuthAdminPassportDisableResponse } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthAdminPassportDisableResponse = {
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,28 @@
1
+ # PassportAuthAdminPassportListRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **page** | **number** | | [optional] [default to undefined]
9
+ **page_size** | **number** | | [optional] [default to undefined]
10
+ **status** | **Array<number>** | | [optional] [default to undefined]
11
+ **email** | **string** | | [optional] [default to undefined]
12
+ **phone** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { PassportAuthAdminPassportListRequest } from '@cherryin/passport-api-client';
18
+
19
+ const instance: PassportAuthAdminPassportListRequest = {
20
+ page,
21
+ page_size,
22
+ status,
23
+ email,
24
+ phone,
25
+ };
26
+ ```
27
+
28
+ [[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,28 @@
1
+ # PassportAuthAdminPassportListResponse
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
+ **passports** | [**Array<AdminPassportItem>**](AdminPassportItem.md) | | [optional] [default to undefined]
11
+ **total** | **string** | | [optional] [default to undefined]
12
+ **has_more** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { PassportAuthAdminPassportListResponse } from '@cherryin/passport-api-client';
18
+
19
+ const instance: PassportAuthAdminPassportListResponse = {
20
+ code,
21
+ message,
22
+ passports,
23
+ total,
24
+ has_more,
25
+ };
26
+ ```
27
+
28
+ [[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,28 @@
1
+ # PassportAuthAdminPassportModifyInfoRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **aid** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **email** | **string** | | [optional] [default to undefined]
11
+ **phone** | **string** | | [optional] [default to undefined]
12
+ **avatar_url** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { PassportAuthAdminPassportModifyInfoRequest } from '@cherryin/passport-api-client';
18
+
19
+ const instance: PassportAuthAdminPassportModifyInfoRequest = {
20
+ aid,
21
+ name,
22
+ email,
23
+ phone,
24
+ avatar_url,
25
+ };
26
+ ```
27
+
28
+ [[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
+ # PassportAuthAdminPassportModifyInfoResponse
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
+ **passport** | [**AdminPassportItem**](AdminPassportItem.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { PassportAuthAdminPassportModifyInfoResponse } from '@cherryin/passport-api-client';
16
+
17
+ const instance: PassportAuthAdminPassportModifyInfoResponse = {
18
+ code,
19
+ message,
20
+ passport,
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,60 @@
1
+ # PassportAuthAdminRPCServiceApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**passportAuthAdminRPCServicePassportAdminTokenAuth**](#passportauthadminrpcservicepassportadmintokenauth) | **POST** /passport/admin/authed/v1/passports | Token 鉴权 - Admin|
8
+
9
+ # **passportAuthAdminRPCServicePassportAdminTokenAuth**
10
+ > PassportAdminTokenAuthResponse passportAuthAdminRPCServicePassportAdminTokenAuth(body)
11
+
12
+
13
+ ### Example
14
+
15
+ ```typescript
16
+ import {
17
+ PassportAuthAdminRPCServiceApi,
18
+ Configuration,
19
+ PassportAdminTokenAuthRequest
20
+ } from '@cherryin/passport-api-client';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new PassportAuthAdminRPCServiceApi(configuration);
24
+
25
+ let body: PassportAdminTokenAuthRequest; //
26
+
27
+ const { status, data } = await apiInstance.passportAuthAdminRPCServicePassportAdminTokenAuth(
28
+ body
29
+ );
30
+ ```
31
+
32
+ ### Parameters
33
+
34
+ |Name | Type | Description | Notes|
35
+ |------------- | ------------- | ------------- | -------------|
36
+ | **body** | **PassportAdminTokenAuthRequest**| | |
37
+
38
+
39
+ ### Return type
40
+
41
+ **PassportAdminTokenAuthResponse**
42
+
43
+ ### Authorization
44
+
45
+ No authorization required
46
+
47
+ ### HTTP request headers
48
+
49
+ - **Content-Type**: application/json
50
+ - **Accept**: application/json
51
+
52
+
53
+ ### HTTP response details
54
+ | Status code | Description | Response headers |
55
+ |-------------|-------------|------------------|
56
+ |**200** | A successful response. | - |
57
+ |**0** | An unexpected error response. | - |
58
+
59
+ [[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)
60
+
@@ -0,0 +1,20 @@
1
+ # PassportAuthAdminResetPasswordRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **new_password** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PassportAuthAdminResetPasswordRequest } from '@cherryin/passport-api-client';
14
+
15
+ const instance: PassportAuthAdminResetPasswordRequest = {
16
+ new_password,
17
+ };
18
+ ```
19
+
20
+ [[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
+ # PassportAuthAdminResetPasswordResponse
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 { PassportAuthAdminResetPasswordResponse } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthAdminResetPasswordResponse = {
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,22 @@
1
+ # PassportAuthAdminRevokeOtherSessionsResponse
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 { PassportAuthAdminRevokeOtherSessionsResponse } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthAdminRevokeOtherSessionsResponse = {
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,20 @@
1
+ # PassportAuthAdminRevokeSessionRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **token** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { PassportAuthAdminRevokeSessionRequest } from '@cherryin/passport-api-client';
14
+
15
+ const instance: PassportAuthAdminRevokeSessionRequest = {
16
+ token,
17
+ };
18
+ ```
19
+
20
+ [[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
+ # PassportAuthAdminRevokeSessionResponse
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 { PassportAuthAdminRevokeSessionResponse } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthAdminRevokeSessionResponse = {
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,22 @@
1
+ # PassportAuthAdminRevokeSessionsResponse
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 { PassportAuthAdminRevokeSessionsResponse } from '@cherryin/passport-api-client';
15
+
16
+ const instance: PassportAuthAdminRevokeSessionsResponse = {
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)