@cherryin/api-client 0.0.8 → 0.0.10

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 (180) hide show
  1. package/.openapi-generator/FILES +165 -0
  2. package/README.md +245 -2
  3. package/api.ts +10050 -2478
  4. package/dist/api.d.ts +5919 -1623
  5. package/dist/api.js +5433 -168
  6. package/dist/esm/api.d.ts +5919 -1623
  7. package/dist/esm/api.js +5415 -166
  8. package/docs/AIModelAdminServiceApi.md +6 -6
  9. package/docs/AdminEnterpriseMaterials.md +24 -0
  10. package/docs/AdminEnterpriseUser.md +24 -0
  11. package/docs/AdminEnterpriseUserMaterials.md +22 -0
  12. package/docs/AdminPassportItem.md +24 -0
  13. package/docs/AdminUserItem.md +26 -0
  14. package/docs/AuthAdminSession.md +39 -0
  15. package/docs/AuthAdminUser.md +33 -0
  16. package/docs/AuthEnterpriseMaterials.md +33 -0
  17. package/docs/AuthEnterpriseSession.md +37 -0
  18. package/docs/AuthEnterpriseUser.md +37 -0
  19. package/docs/AuthIdToken.md +29 -0
  20. package/docs/AuthPassport.md +35 -0
  21. package/docs/AuthUser.md +39 -0
  22. package/docs/AuthUserMethod.md +39 -0
  23. package/docs/AuthUserSession.md +41 -0
  24. package/docs/ConfigItem.md +4 -0
  25. package/docs/PassportAdminSendVerificationEmailRequest.md +26 -0
  26. package/docs/PassportAdminSendVerificationEmailResponse.md +22 -0
  27. package/docs/PassportAdminSignInEmailRequest.md +28 -0
  28. package/docs/PassportAdminSignInEmailResponse.md +26 -0
  29. package/docs/PassportAuthAdminChangePasswordRequest.md +24 -0
  30. package/docs/PassportAuthAdminChangePasswordResponse.md +26 -0
  31. package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +28 -0
  32. package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +22 -0
  33. package/docs/PassportAuthAdminEnterpriseMaterialReviewResponse.md +22 -0
  34. package/docs/PassportAuthAdminGetInfoResponse.md +24 -0
  35. package/docs/PassportAuthAdminGetSessionResponse.md +26 -0
  36. package/docs/PassportAuthAdminListSessionsResponse.md +24 -0
  37. package/docs/PassportAuthAdminPassportDisableRequest.md +22 -0
  38. package/docs/PassportAuthAdminPassportDisableResponse.md +22 -0
  39. package/docs/PassportAuthAdminPassportListRequest.md +28 -0
  40. package/docs/PassportAuthAdminPassportListResponse.md +28 -0
  41. package/docs/PassportAuthAdminPassportModifyInfoRequest.md +28 -0
  42. package/docs/PassportAuthAdminPassportModifyInfoResponse.md +24 -0
  43. package/docs/PassportAuthAdminRevokeOtherSessionsResponse.md +22 -0
  44. package/docs/PassportAuthAdminRevokeSessionRequest.md +20 -0
  45. package/docs/PassportAuthAdminRevokeSessionResponse.md +22 -0
  46. package/docs/PassportAuthAdminRevokeSessionsResponse.md +22 -0
  47. package/docs/PassportAuthAdminServiceApi.md +1069 -0
  48. package/docs/PassportAuthAdminSignOutResponse.md +22 -0
  49. package/docs/PassportAuthAdminUpdateInfoRequest.md +22 -0
  50. package/docs/PassportAuthAdminUpdateInfoResponse.md +24 -0
  51. package/docs/PassportAuthAdminUserDisableRequest.md +26 -0
  52. package/docs/PassportAuthAdminUserDisableResponse.md +22 -0
  53. package/docs/PassportAuthAdminUserListRequest.md +28 -0
  54. package/docs/PassportAuthAdminUserListResponse.md +28 -0
  55. package/docs/PassportAuthAdminUserModifyInfoRequest.md +32 -0
  56. package/docs/PassportAuthAdminUserModifyInfoResponse.md +24 -0
  57. package/docs/PassportAuthAdminUserModifyPermissionRequest.md +22 -0
  58. package/docs/PassportAuthAdminUserModifyPermissionResponse.md +24 -0
  59. package/docs/PassportAuthChangePasswordRequest.md +26 -0
  60. package/docs/PassportAuthChangePasswordResponse.md +26 -0
  61. package/docs/PassportAuthDeleteAllRequest.md +28 -0
  62. package/docs/PassportAuthDeleteAllResponse.md +22 -0
  63. package/docs/PassportAuthEnterpriseChangePasswordRequest.md +24 -0
  64. package/docs/PassportAuthEnterpriseChangePasswordResponse.md +26 -0
  65. package/docs/PassportAuthEnterpriseChangePhoneRequest.md +24 -0
  66. package/docs/PassportAuthEnterpriseChangePhoneResponse.md +22 -0
  67. package/docs/PassportAuthEnterpriseDeleteRequest.md +28 -0
  68. package/docs/PassportAuthEnterpriseDeleteResponse.md +22 -0
  69. package/docs/PassportAuthEnterpriseGetSessionResponse.md +24 -0
  70. package/docs/PassportAuthEnterpriseInfoGetResponse.md +24 -0
  71. package/docs/PassportAuthEnterpriseListSessionsResponse.md +24 -0
  72. package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +26 -0
  73. package/docs/PassportAuthEnterpriseMaterialUploadResponse.md +22 -0
  74. package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +24 -0
  75. package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +20 -0
  76. package/docs/PassportAuthEnterpriseRefreshTokenResponse.md +24 -0
  77. package/docs/PassportAuthEnterpriseResetPasswordRequest.md +22 -0
  78. package/docs/PassportAuthEnterpriseResetPasswordResponse.md +22 -0
  79. package/docs/PassportAuthEnterpriseRevokeOtherSessionsResponse.md +24 -0
  80. package/docs/PassportAuthEnterpriseRevokeSessionRequest.md +20 -0
  81. package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +22 -0
  82. package/docs/PassportAuthEnterpriseRevokeSessionsResponse.md +22 -0
  83. package/docs/PassportAuthEnterpriseServiceApi.md +1170 -0
  84. package/docs/PassportAuthEnterpriseSignOutRequest.md +20 -0
  85. package/docs/PassportAuthEnterpriseSignOutResponse.md +22 -0
  86. package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +22 -0
  87. package/docs/PassportAuthEnterpriseUpdateInfoResponse.md +24 -0
  88. package/docs/PassportAuthEnterpriseVerifyEmailRequest.md +24 -0
  89. package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +22 -0
  90. package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +22 -0
  91. package/docs/PassportAuthInfoGetResponse.md +26 -0
  92. package/docs/PassportAuthLinkSocialRequest.md +32 -0
  93. package/docs/PassportAuthLinkSocialResponse.md +26 -0
  94. package/docs/PassportAuthListMethodsResponse.md +24 -0
  95. package/docs/PassportAuthListSessionsResponse.md +24 -0
  96. package/docs/PassportAuthListSocialsResponse.md +24 -0
  97. package/docs/PassportAuthRefreshSessionTokenRequest.md +20 -0
  98. package/docs/PassportAuthRefreshSessionTokenResponse.md +24 -0
  99. package/docs/PassportAuthResetPasswordRequest.md +24 -0
  100. package/docs/PassportAuthResetPasswordResponse.md +22 -0
  101. package/docs/PassportAuthRevokeOtherSessionsRequest.md +20 -0
  102. package/docs/PassportAuthRevokeOtherSessionsResponse.md +24 -0
  103. package/docs/PassportAuthRevokeSessionRequest.md +20 -0
  104. package/docs/PassportAuthRevokeSessionResponse.md +22 -0
  105. package/docs/PassportAuthRevokeSessionsRequest.md +20 -0
  106. package/docs/PassportAuthRevokeSessionsResponse.md +22 -0
  107. package/docs/PassportAuthSendVerificationEmailRequest.md +26 -0
  108. package/docs/PassportAuthSendVerificationEmailResponse.md +22 -0
  109. package/docs/PassportAuthSendVerificationPhoneRequest.md +26 -0
  110. package/docs/PassportAuthSendVerificationPhoneResponse.md +22 -0
  111. package/docs/PassportAuthSocialGetAccessTokenRequest.md +24 -0
  112. package/docs/PassportAuthSocialGetAccessTokenResponse.md +34 -0
  113. package/docs/PassportAuthSocialRefreshTokenRequest.md +24 -0
  114. package/docs/PassportAuthSocialRefreshTokenResponse.md +34 -0
  115. package/docs/PassportAuthUnlinkSocialRequest.md +24 -0
  116. package/docs/PassportAuthUnlinkSocialResponse.md +22 -0
  117. package/docs/PassportAuthUserChangeEmailRequest.md +24 -0
  118. package/docs/PassportAuthUserChangeEmailResponse.md +24 -0
  119. package/docs/PassportAuthUserChangePhoneRequest.md +26 -0
  120. package/docs/PassportAuthUserChangePhoneResponse.md +24 -0
  121. package/docs/PassportAuthUserDeleteRequest.md +30 -0
  122. package/docs/PassportAuthUserDeleteResponse.md +22 -0
  123. package/docs/PassportAuthUserGetSessionResponse.md +24 -0
  124. package/docs/PassportAuthUserInfoGetResponse.md +24 -0
  125. package/docs/PassportAuthUserServiceApi.md +1892 -0
  126. package/docs/PassportAuthUserSignOutRequest.md +22 -0
  127. package/docs/PassportAuthUserSignOutResponse.md +22 -0
  128. package/docs/PassportAuthUserUpdateInfoRequest.md +24 -0
  129. package/docs/PassportAuthUserUpdateInfoResponse.md +24 -0
  130. package/docs/PassportAuthUserUpdatePassportRequest.md +22 -0
  131. package/docs/PassportAuthUserUpdatePassportResponse.md +24 -0
  132. package/docs/PassportAuthUserVerifyEmailRequest.md +26 -0
  133. package/docs/PassportAuthUserVerifyEmailResponse.md +22 -0
  134. package/docs/PassportAuthUserVerifyPhoneRequest.md +24 -0
  135. package/docs/PassportAuthUserVerifyPhoneResponse.md +22 -0
  136. package/docs/PassportEnterprisePasswordResetRequest.md +24 -0
  137. package/docs/PassportEnterprisePasswordResetResponse.md +26 -0
  138. package/docs/PassportEnterpriseSendVerificationEmailRequest.md +24 -0
  139. package/docs/PassportEnterpriseSendVerificationEmailResponse.md +22 -0
  140. package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +24 -0
  141. package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +22 -0
  142. package/docs/PassportEnterpriseSignInEmailRequest.md +30 -0
  143. package/docs/PassportEnterpriseSignInEmailResponse.md +30 -0
  144. package/docs/PassportEnterpriseSignInPhoneRequest.md +24 -0
  145. package/docs/PassportEnterpriseSignInPhoneResponse.md +26 -0
  146. package/docs/PassportEnterpriseSignUpEmailRequest.md +34 -0
  147. package/docs/PassportEnterpriseSignUpEmailResponse.md +26 -0
  148. package/docs/PassportSendVerificationEmailRequest.md +26 -0
  149. package/docs/PassportSendVerificationEmailResponse.md +22 -0
  150. package/docs/PassportSendVerificationPhoneRequest.md +26 -0
  151. package/docs/PassportSendVerificationPhoneResponse.md +22 -0
  152. package/docs/PassportUserOAuthCallbackResponse.md +36 -0
  153. package/docs/PassportUserPasswordResetRequest.md +28 -0
  154. package/docs/PassportUserPasswordResetResponse.md +26 -0
  155. package/docs/PassportUserSignInEmailRequest.md +32 -0
  156. package/docs/PassportUserSignInEmailResponse.md +32 -0
  157. package/docs/PassportUserSignInPhoneRequest.md +26 -0
  158. package/docs/PassportUserSignInPhoneResponse.md +28 -0
  159. package/docs/PassportUserSignInSocialRequest.md +32 -0
  160. package/docs/PassportUserSignInSocialResponse.md +32 -0
  161. package/docs/PassportUserSignUpEmailRequest.md +36 -0
  162. package/docs/PassportUserSignUpEmailResponse.md +32 -0
  163. package/docs/QRCodeAdminServiceApi.md +286 -0
  164. package/docs/QRCodeCreateRequest.md +37 -0
  165. package/docs/QRCodeCreateResponse.md +25 -0
  166. package/docs/QRCodeDeleteResponse.md +23 -0
  167. package/docs/QRCodeGetResponse.md +25 -0
  168. package/docs/QRCodeHistoryItem.md +29 -0
  169. package/docs/QRCodeInfo.md +59 -0
  170. package/docs/QRCodeListResponse.md +27 -0
  171. package/docs/QRCodeSnapshot.md +37 -0
  172. package/docs/QRCodeUpdateRequest.md +39 -0
  173. package/docs/QRCodeUpdateResponse.md +25 -0
  174. package/docs/QRCodeWithHistory.md +23 -0
  175. package/docs/RemoteConfigAdminServiceApi.md +18 -3
  176. package/docs/RemoteConfigItemGetResponse.md +2 -2
  177. package/docs/RemoteConfigItemUpdateRequest.md +6 -0
  178. package/docs/RemoteConfigItemUpdateResponse.md +2 -2
  179. package/docs/Status.md +1 -1
  180. package/package.json +1 -1
@@ -0,0 +1,1069 @@
1
+ # PassportAuthAdminServiceApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**passportAuthAdminServicePassportAdminSendVerificationEmail**](#passportauthadminservicepassportadminsendverificationemail) | **POST** /passport/admin/auth/verification/send-email | |
8
+ |[**passportAuthAdminServicePassportAdminSignInEmail**](#passportauthadminservicepassportadminsigninemail) | **POST** /passport/admin/auth/sign-in/email | |
9
+ |[**passportAuthAdminServicePassportAuthAdminChangePassword**](#passportauthadminservicepassportauthadminchangepassword) | **POST** /passport/admin/authed/change-password | |
10
+ |[**passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList**](#passportauthadminservicepassportauthadminenterprisemateriallist) | **GET** /passport/admin/authed/enterprise/material/list | |
11
+ |[**passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview**](#passportauthadminservicepassportauthadminenterprisematerialreview) | **POST** /passport/admin/authed/enterprise/material/review | |
12
+ |[**passportAuthAdminServicePassportAuthAdminGetInfo**](#passportauthadminservicepassportauthadmingetinfo) | **POST** /passport/admin/authed/personal/info/get | |
13
+ |[**passportAuthAdminServicePassportAuthAdminGetSession**](#passportauthadminservicepassportauthadmingetsession) | **GET** /passport/admin/authed/session/get | |
14
+ |[**passportAuthAdminServicePassportAuthAdminListSessions**](#passportauthadminservicepassportauthadminlistsessions) | **GET** /passport/admin/authed/sessions/list | |
15
+ |[**passportAuthAdminServicePassportAuthAdminPassportDisable**](#passportauthadminservicepassportauthadminpassportdisable) | **POST** /passport/admin/authed/passport/disable | |
16
+ |[**passportAuthAdminServicePassportAuthAdminPassportList**](#passportauthadminservicepassportauthadminpassportlist) | **POST** /passport/admin/authed/passport/list | |
17
+ |[**passportAuthAdminServicePassportAuthAdminPassportModifyInfo**](#passportauthadminservicepassportauthadminpassportmodifyinfo) | **POST** /passport/admin/authed/passport/modify/info | |
18
+ |[**passportAuthAdminServicePassportAuthAdminRevokeOtherSessions**](#passportauthadminservicepassportauthadminrevokeothersessions) | **POST** /passport/admin/authed/sessions/revoke-other | |
19
+ |[**passportAuthAdminServicePassportAuthAdminRevokeSession**](#passportauthadminservicepassportauthadminrevokesession) | **POST** /passport/admin/authed/session/revoke | |
20
+ |[**passportAuthAdminServicePassportAuthAdminRevokeSessions**](#passportauthadminservicepassportauthadminrevokesessions) | **POST** /passport/admin/authed/sessions/revoke-all | |
21
+ |[**passportAuthAdminServicePassportAuthAdminSignOut**](#passportauthadminservicepassportauthadminsignout) | **POST** /passport/admin/authed/sign-out | |
22
+ |[**passportAuthAdminServicePassportAuthAdminUpdateInfo**](#passportauthadminservicepassportauthadminupdateinfo) | **POST** /passport/admin/authed/personal/info/update | |
23
+ |[**passportAuthAdminServicePassportAuthAdminUserDisable**](#passportauthadminservicepassportauthadminuserdisable) | **POST** /passport/admin/authed/user/disable | |
24
+ |[**passportAuthAdminServicePassportAuthAdminUserList**](#passportauthadminservicepassportauthadminuserlist) | **POST** /passport/admin/authed/user/list | |
25
+ |[**passportAuthAdminServicePassportAuthAdminUserModifyInfo**](#passportauthadminservicepassportauthadminusermodifyinfo) | **POST** /passport/admin/authed/user/modify/info | |
26
+ |[**passportAuthAdminServicePassportAuthAdminUserModifyPermission**](#passportauthadminservicepassportauthadminusermodifypermission) | **POST** /passport/admin/authed/user/modify/permission | |
27
+
28
+ # **passportAuthAdminServicePassportAdminSendVerificationEmail**
29
+ > PassportAdminSendVerificationEmailResponse passportAuthAdminServicePassportAdminSendVerificationEmail(passportAdminSendVerificationEmailRequest)
30
+
31
+ 发送验证邮件 - code
32
+
33
+ ### Example
34
+
35
+ ```typescript
36
+ import {
37
+ PassportAuthAdminServiceApi,
38
+ Configuration,
39
+ PassportAdminSendVerificationEmailRequest
40
+ } from '@cherryin/api-client';
41
+
42
+ const configuration = new Configuration();
43
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
44
+
45
+ let passportAdminSendVerificationEmailRequest: PassportAdminSendVerificationEmailRequest; //
46
+
47
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAdminSendVerificationEmail(
48
+ passportAdminSendVerificationEmailRequest
49
+ );
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+ |Name | Type | Description | Notes|
55
+ |------------- | ------------- | ------------- | -------------|
56
+ | **passportAdminSendVerificationEmailRequest** | **PassportAdminSendVerificationEmailRequest**| | |
57
+
58
+
59
+ ### Return type
60
+
61
+ **PassportAdminSendVerificationEmailResponse**
62
+
63
+ ### Authorization
64
+
65
+ No authorization required
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: application/json
70
+ - **Accept**: application/json
71
+
72
+
73
+ ### HTTP response details
74
+ | Status code | Description | Response headers |
75
+ |-------------|-------------|------------------|
76
+ |**200** | OK | - |
77
+ |**0** | Default error response | - |
78
+
79
+ [[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)
80
+
81
+ # **passportAuthAdminServicePassportAdminSignInEmail**
82
+ > PassportAdminSignInEmailResponse passportAuthAdminServicePassportAdminSignInEmail(passportAdminSignInEmailRequest)
83
+
84
+ 通过邮箱登录 - password / code
85
+
86
+ ### Example
87
+
88
+ ```typescript
89
+ import {
90
+ PassportAuthAdminServiceApi,
91
+ Configuration,
92
+ PassportAdminSignInEmailRequest
93
+ } from '@cherryin/api-client';
94
+
95
+ const configuration = new Configuration();
96
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
97
+
98
+ let passportAdminSignInEmailRequest: PassportAdminSignInEmailRequest; //
99
+
100
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAdminSignInEmail(
101
+ passportAdminSignInEmailRequest
102
+ );
103
+ ```
104
+
105
+ ### Parameters
106
+
107
+ |Name | Type | Description | Notes|
108
+ |------------- | ------------- | ------------- | -------------|
109
+ | **passportAdminSignInEmailRequest** | **PassportAdminSignInEmailRequest**| | |
110
+
111
+
112
+ ### Return type
113
+
114
+ **PassportAdminSignInEmailResponse**
115
+
116
+ ### Authorization
117
+
118
+ No authorization required
119
+
120
+ ### HTTP request headers
121
+
122
+ - **Content-Type**: application/json
123
+ - **Accept**: application/json
124
+
125
+
126
+ ### HTTP response details
127
+ | Status code | Description | Response headers |
128
+ |-------------|-------------|------------------|
129
+ |**200** | OK | - |
130
+ |**0** | Default error response | - |
131
+
132
+ [[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)
133
+
134
+ # **passportAuthAdminServicePassportAuthAdminChangePassword**
135
+ > PassportAuthAdminChangePasswordResponse passportAuthAdminServicePassportAuthAdminChangePassword(passportAuthAdminChangePasswordRequest)
136
+
137
+
138
+ ### Example
139
+
140
+ ```typescript
141
+ import {
142
+ PassportAuthAdminServiceApi,
143
+ Configuration,
144
+ PassportAuthAdminChangePasswordRequest
145
+ } from '@cherryin/api-client';
146
+
147
+ const configuration = new Configuration();
148
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
149
+
150
+ let passportAuthAdminChangePasswordRequest: PassportAuthAdminChangePasswordRequest; //
151
+
152
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminChangePassword(
153
+ passportAuthAdminChangePasswordRequest
154
+ );
155
+ ```
156
+
157
+ ### Parameters
158
+
159
+ |Name | Type | Description | Notes|
160
+ |------------- | ------------- | ------------- | -------------|
161
+ | **passportAuthAdminChangePasswordRequest** | **PassportAuthAdminChangePasswordRequest**| | |
162
+
163
+
164
+ ### Return type
165
+
166
+ **PassportAuthAdminChangePasswordResponse**
167
+
168
+ ### Authorization
169
+
170
+ No authorization required
171
+
172
+ ### HTTP request headers
173
+
174
+ - **Content-Type**: application/json
175
+ - **Accept**: application/json
176
+
177
+
178
+ ### HTTP response details
179
+ | Status code | Description | Response headers |
180
+ |-------------|-------------|------------------|
181
+ |**200** | OK | - |
182
+ |**0** | Default error response | - |
183
+
184
+ [[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)
185
+
186
+ # **passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList**
187
+ > PassportAuthAdminEnterpriseMaterialListResponse passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList()
188
+
189
+ 获取企业信息+认证材料列表
190
+
191
+ ### Example
192
+
193
+ ```typescript
194
+ import {
195
+ PassportAuthAdminServiceApi,
196
+ Configuration
197
+ } from '@cherryin/api-client';
198
+
199
+ const configuration = new Configuration();
200
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
201
+
202
+ let page: number; //page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\" (optional) (default to undefined)
203
+ let pageSize: number; //page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\" (optional) (default to undefined)
204
+ let status: Array<number>; //status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\"status\" (optional) (default to undefined)
205
+ let enterpriseName: string; //enterprise_name 按名称前缀过滤(可选) @gotags: form:\"enterprise_name\" (optional) (default to undefined)
206
+
207
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList(
208
+ page,
209
+ pageSize,
210
+ status,
211
+ enterpriseName
212
+ );
213
+ ```
214
+
215
+ ### Parameters
216
+
217
+ |Name | Type | Description | Notes|
218
+ |------------- | ------------- | ------------- | -------------|
219
+ | **page** | [**number**] | page 页码,从 1 开始 默认值: 1 @gotags: form:\&quot;page\&quot; | (optional) defaults to undefined|
220
+ | **pageSize** | [**number**] | page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\&quot;page_size\&quot; | (optional) defaults to undefined|
221
+ | **status** | **Array&lt;number&gt;** | status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 @gotags: form:\&quot;status\&quot; | (optional) defaults to undefined|
222
+ | **enterpriseName** | [**string**] | enterprise_name 按名称前缀过滤(可选) @gotags: form:\&quot;enterprise_name\&quot; | (optional) defaults to undefined|
223
+
224
+
225
+ ### Return type
226
+
227
+ **PassportAuthAdminEnterpriseMaterialListResponse**
228
+
229
+ ### Authorization
230
+
231
+ No authorization required
232
+
233
+ ### HTTP request headers
234
+
235
+ - **Content-Type**: Not defined
236
+ - **Accept**: application/json
237
+
238
+
239
+ ### HTTP response details
240
+ | Status code | Description | Response headers |
241
+ |-------------|-------------|------------------|
242
+ |**200** | OK | - |
243
+ |**0** | Default error response | - |
244
+
245
+ [[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)
246
+
247
+ # **passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview**
248
+ > PassportAuthAdminEnterpriseMaterialReviewResponse passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview(passportAuthAdminEnterpriseMaterialReviewRequest)
249
+
250
+ 审核企业认证材料
251
+
252
+ ### Example
253
+
254
+ ```typescript
255
+ import {
256
+ PassportAuthAdminServiceApi,
257
+ Configuration,
258
+ PassportAuthAdminEnterpriseMaterialReviewRequest
259
+ } from '@cherryin/api-client';
260
+
261
+ const configuration = new Configuration();
262
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
263
+
264
+ let passportAuthAdminEnterpriseMaterialReviewRequest: PassportAuthAdminEnterpriseMaterialReviewRequest; //
265
+
266
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview(
267
+ passportAuthAdminEnterpriseMaterialReviewRequest
268
+ );
269
+ ```
270
+
271
+ ### Parameters
272
+
273
+ |Name | Type | Description | Notes|
274
+ |------------- | ------------- | ------------- | -------------|
275
+ | **passportAuthAdminEnterpriseMaterialReviewRequest** | **PassportAuthAdminEnterpriseMaterialReviewRequest**| | |
276
+
277
+
278
+ ### Return type
279
+
280
+ **PassportAuthAdminEnterpriseMaterialReviewResponse**
281
+
282
+ ### Authorization
283
+
284
+ No authorization required
285
+
286
+ ### HTTP request headers
287
+
288
+ - **Content-Type**: application/json
289
+ - **Accept**: application/json
290
+
291
+
292
+ ### HTTP response details
293
+ | Status code | Description | Response headers |
294
+ |-------------|-------------|------------------|
295
+ |**200** | OK | - |
296
+ |**0** | Default error response | - |
297
+
298
+ [[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)
299
+
300
+ # **passportAuthAdminServicePassportAuthAdminGetInfo**
301
+ > PassportAuthAdminGetInfoResponse passportAuthAdminServicePassportAuthAdminGetInfo(body)
302
+
303
+ 获取管理员个人信息
304
+
305
+ ### Example
306
+
307
+ ```typescript
308
+ import {
309
+ PassportAuthAdminServiceApi,
310
+ Configuration
311
+ } from '@cherryin/api-client';
312
+
313
+ const configuration = new Configuration();
314
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
315
+
316
+ let body: object; //
317
+
318
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminGetInfo(
319
+ body
320
+ );
321
+ ```
322
+
323
+ ### Parameters
324
+
325
+ |Name | Type | Description | Notes|
326
+ |------------- | ------------- | ------------- | -------------|
327
+ | **body** | **object**| | |
328
+
329
+
330
+ ### Return type
331
+
332
+ **PassportAuthAdminGetInfoResponse**
333
+
334
+ ### Authorization
335
+
336
+ No authorization required
337
+
338
+ ### HTTP request headers
339
+
340
+ - **Content-Type**: application/json
341
+ - **Accept**: application/json
342
+
343
+
344
+ ### HTTP response details
345
+ | Status code | Description | Response headers |
346
+ |-------------|-------------|------------------|
347
+ |**200** | OK | - |
348
+ |**0** | Default error response | - |
349
+
350
+ [[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)
351
+
352
+ # **passportAuthAdminServicePassportAuthAdminGetSession**
353
+ > PassportAuthAdminGetSessionResponse passportAuthAdminServicePassportAuthAdminGetSession()
354
+
355
+
356
+ ### Example
357
+
358
+ ```typescript
359
+ import {
360
+ PassportAuthAdminServiceApi,
361
+ Configuration
362
+ } from '@cherryin/api-client';
363
+
364
+ const configuration = new Configuration();
365
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
366
+
367
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminGetSession();
368
+ ```
369
+
370
+ ### Parameters
371
+ This endpoint does not have any parameters.
372
+
373
+
374
+ ### Return type
375
+
376
+ **PassportAuthAdminGetSessionResponse**
377
+
378
+ ### Authorization
379
+
380
+ No authorization required
381
+
382
+ ### HTTP request headers
383
+
384
+ - **Content-Type**: Not defined
385
+ - **Accept**: application/json
386
+
387
+
388
+ ### HTTP response details
389
+ | Status code | Description | Response headers |
390
+ |-------------|-------------|------------------|
391
+ |**200** | OK | - |
392
+ |**0** | Default error response | - |
393
+
394
+ [[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)
395
+
396
+ # **passportAuthAdminServicePassportAuthAdminListSessions**
397
+ > PassportAuthAdminListSessionsResponse passportAuthAdminServicePassportAuthAdminListSessions()
398
+
399
+
400
+ ### Example
401
+
402
+ ```typescript
403
+ import {
404
+ PassportAuthAdminServiceApi,
405
+ Configuration
406
+ } from '@cherryin/api-client';
407
+
408
+ const configuration = new Configuration();
409
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
410
+
411
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminListSessions();
412
+ ```
413
+
414
+ ### Parameters
415
+ This endpoint does not have any parameters.
416
+
417
+
418
+ ### Return type
419
+
420
+ **PassportAuthAdminListSessionsResponse**
421
+
422
+ ### Authorization
423
+
424
+ No authorization required
425
+
426
+ ### HTTP request headers
427
+
428
+ - **Content-Type**: Not defined
429
+ - **Accept**: application/json
430
+
431
+
432
+ ### HTTP response details
433
+ | Status code | Description | Response headers |
434
+ |-------------|-------------|------------------|
435
+ |**200** | OK | - |
436
+ |**0** | Default error response | - |
437
+
438
+ [[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)
439
+
440
+ # **passportAuthAdminServicePassportAuthAdminPassportDisable**
441
+ > PassportAuthAdminPassportDisableResponse passportAuthAdminServicePassportAuthAdminPassportDisable(passportAuthAdminPassportDisableRequest)
442
+
443
+ 禁用通行证
444
+
445
+ ### Example
446
+
447
+ ```typescript
448
+ import {
449
+ PassportAuthAdminServiceApi,
450
+ Configuration,
451
+ PassportAuthAdminPassportDisableRequest
452
+ } from '@cherryin/api-client';
453
+
454
+ const configuration = new Configuration();
455
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
456
+
457
+ let passportAuthAdminPassportDisableRequest: PassportAuthAdminPassportDisableRequest; //
458
+
459
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminPassportDisable(
460
+ passportAuthAdminPassportDisableRequest
461
+ );
462
+ ```
463
+
464
+ ### Parameters
465
+
466
+ |Name | Type | Description | Notes|
467
+ |------------- | ------------- | ------------- | -------------|
468
+ | **passportAuthAdminPassportDisableRequest** | **PassportAuthAdminPassportDisableRequest**| | |
469
+
470
+
471
+ ### Return type
472
+
473
+ **PassportAuthAdminPassportDisableResponse**
474
+
475
+ ### Authorization
476
+
477
+ No authorization required
478
+
479
+ ### HTTP request headers
480
+
481
+ - **Content-Type**: application/json
482
+ - **Accept**: application/json
483
+
484
+
485
+ ### HTTP response details
486
+ | Status code | Description | Response headers |
487
+ |-------------|-------------|------------------|
488
+ |**200** | OK | - |
489
+ |**0** | Default error response | - |
490
+
491
+ [[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)
492
+
493
+ # **passportAuthAdminServicePassportAuthAdminPassportList**
494
+ > PassportAuthAdminPassportListResponse passportAuthAdminServicePassportAuthAdminPassportList(passportAuthAdminPassportListRequest)
495
+
496
+ 管理员查看通行证列表
497
+
498
+ ### Example
499
+
500
+ ```typescript
501
+ import {
502
+ PassportAuthAdminServiceApi,
503
+ Configuration,
504
+ PassportAuthAdminPassportListRequest
505
+ } from '@cherryin/api-client';
506
+
507
+ const configuration = new Configuration();
508
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
509
+
510
+ let passportAuthAdminPassportListRequest: PassportAuthAdminPassportListRequest; //
511
+
512
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminPassportList(
513
+ passportAuthAdminPassportListRequest
514
+ );
515
+ ```
516
+
517
+ ### Parameters
518
+
519
+ |Name | Type | Description | Notes|
520
+ |------------- | ------------- | ------------- | -------------|
521
+ | **passportAuthAdminPassportListRequest** | **PassportAuthAdminPassportListRequest**| | |
522
+
523
+
524
+ ### Return type
525
+
526
+ **PassportAuthAdminPassportListResponse**
527
+
528
+ ### Authorization
529
+
530
+ No authorization required
531
+
532
+ ### HTTP request headers
533
+
534
+ - **Content-Type**: application/json
535
+ - **Accept**: application/json
536
+
537
+
538
+ ### HTTP response details
539
+ | Status code | Description | Response headers |
540
+ |-------------|-------------|------------------|
541
+ |**200** | OK | - |
542
+ |**0** | Default error response | - |
543
+
544
+ [[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)
545
+
546
+ # **passportAuthAdminServicePassportAuthAdminPassportModifyInfo**
547
+ > PassportAuthAdminPassportModifyInfoResponse passportAuthAdminServicePassportAuthAdminPassportModifyInfo(passportAuthAdminPassportModifyInfoRequest)
548
+
549
+ 修改通行证信息
550
+
551
+ ### Example
552
+
553
+ ```typescript
554
+ import {
555
+ PassportAuthAdminServiceApi,
556
+ Configuration,
557
+ PassportAuthAdminPassportModifyInfoRequest
558
+ } from '@cherryin/api-client';
559
+
560
+ const configuration = new Configuration();
561
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
562
+
563
+ let passportAuthAdminPassportModifyInfoRequest: PassportAuthAdminPassportModifyInfoRequest; //
564
+
565
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminPassportModifyInfo(
566
+ passportAuthAdminPassportModifyInfoRequest
567
+ );
568
+ ```
569
+
570
+ ### Parameters
571
+
572
+ |Name | Type | Description | Notes|
573
+ |------------- | ------------- | ------------- | -------------|
574
+ | **passportAuthAdminPassportModifyInfoRequest** | **PassportAuthAdminPassportModifyInfoRequest**| | |
575
+
576
+
577
+ ### Return type
578
+
579
+ **PassportAuthAdminPassportModifyInfoResponse**
580
+
581
+ ### Authorization
582
+
583
+ No authorization required
584
+
585
+ ### HTTP request headers
586
+
587
+ - **Content-Type**: application/json
588
+ - **Accept**: application/json
589
+
590
+
591
+ ### HTTP response details
592
+ | Status code | Description | Response headers |
593
+ |-------------|-------------|------------------|
594
+ |**200** | OK | - |
595
+ |**0** | Default error response | - |
596
+
597
+ [[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)
598
+
599
+ # **passportAuthAdminServicePassportAuthAdminRevokeOtherSessions**
600
+ > PassportAuthAdminRevokeOtherSessionsResponse passportAuthAdminServicePassportAuthAdminRevokeOtherSessions(body)
601
+
602
+
603
+ ### Example
604
+
605
+ ```typescript
606
+ import {
607
+ PassportAuthAdminServiceApi,
608
+ Configuration
609
+ } from '@cherryin/api-client';
610
+
611
+ const configuration = new Configuration();
612
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
613
+
614
+ let body: object; //
615
+
616
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminRevokeOtherSessions(
617
+ body
618
+ );
619
+ ```
620
+
621
+ ### Parameters
622
+
623
+ |Name | Type | Description | Notes|
624
+ |------------- | ------------- | ------------- | -------------|
625
+ | **body** | **object**| | |
626
+
627
+
628
+ ### Return type
629
+
630
+ **PassportAuthAdminRevokeOtherSessionsResponse**
631
+
632
+ ### Authorization
633
+
634
+ No authorization required
635
+
636
+ ### HTTP request headers
637
+
638
+ - **Content-Type**: application/json
639
+ - **Accept**: application/json
640
+
641
+
642
+ ### HTTP response details
643
+ | Status code | Description | Response headers |
644
+ |-------------|-------------|------------------|
645
+ |**200** | OK | - |
646
+ |**0** | Default error response | - |
647
+
648
+ [[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)
649
+
650
+ # **passportAuthAdminServicePassportAuthAdminRevokeSession**
651
+ > PassportAuthAdminRevokeSessionResponse passportAuthAdminServicePassportAuthAdminRevokeSession(passportAuthAdminRevokeSessionRequest)
652
+
653
+
654
+ ### Example
655
+
656
+ ```typescript
657
+ import {
658
+ PassportAuthAdminServiceApi,
659
+ Configuration,
660
+ PassportAuthAdminRevokeSessionRequest
661
+ } from '@cherryin/api-client';
662
+
663
+ const configuration = new Configuration();
664
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
665
+
666
+ let passportAuthAdminRevokeSessionRequest: PassportAuthAdminRevokeSessionRequest; //
667
+
668
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminRevokeSession(
669
+ passportAuthAdminRevokeSessionRequest
670
+ );
671
+ ```
672
+
673
+ ### Parameters
674
+
675
+ |Name | Type | Description | Notes|
676
+ |------------- | ------------- | ------------- | -------------|
677
+ | **passportAuthAdminRevokeSessionRequest** | **PassportAuthAdminRevokeSessionRequest**| | |
678
+
679
+
680
+ ### Return type
681
+
682
+ **PassportAuthAdminRevokeSessionResponse**
683
+
684
+ ### Authorization
685
+
686
+ No authorization required
687
+
688
+ ### HTTP request headers
689
+
690
+ - **Content-Type**: application/json
691
+ - **Accept**: application/json
692
+
693
+
694
+ ### HTTP response details
695
+ | Status code | Description | Response headers |
696
+ |-------------|-------------|------------------|
697
+ |**200** | OK | - |
698
+ |**0** | Default error response | - |
699
+
700
+ [[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)
701
+
702
+ # **passportAuthAdminServicePassportAuthAdminRevokeSessions**
703
+ > PassportAuthAdminRevokeSessionsResponse passportAuthAdminServicePassportAuthAdminRevokeSessions(body)
704
+
705
+
706
+ ### Example
707
+
708
+ ```typescript
709
+ import {
710
+ PassportAuthAdminServiceApi,
711
+ Configuration
712
+ } from '@cherryin/api-client';
713
+
714
+ const configuration = new Configuration();
715
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
716
+
717
+ let body: object; //
718
+
719
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminRevokeSessions(
720
+ body
721
+ );
722
+ ```
723
+
724
+ ### Parameters
725
+
726
+ |Name | Type | Description | Notes|
727
+ |------------- | ------------- | ------------- | -------------|
728
+ | **body** | **object**| | |
729
+
730
+
731
+ ### Return type
732
+
733
+ **PassportAuthAdminRevokeSessionsResponse**
734
+
735
+ ### Authorization
736
+
737
+ No authorization required
738
+
739
+ ### HTTP request headers
740
+
741
+ - **Content-Type**: application/json
742
+ - **Accept**: application/json
743
+
744
+
745
+ ### HTTP response details
746
+ | Status code | Description | Response headers |
747
+ |-------------|-------------|------------------|
748
+ |**200** | OK | - |
749
+ |**0** | Default error response | - |
750
+
751
+ [[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)
752
+
753
+ # **passportAuthAdminServicePassportAuthAdminSignOut**
754
+ > PassportAuthAdminSignOutResponse passportAuthAdminServicePassportAuthAdminSignOut(body)
755
+
756
+ 用户退出登录
757
+
758
+ ### Example
759
+
760
+ ```typescript
761
+ import {
762
+ PassportAuthAdminServiceApi,
763
+ Configuration
764
+ } from '@cherryin/api-client';
765
+
766
+ const configuration = new Configuration();
767
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
768
+
769
+ let body: object; //
770
+
771
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminSignOut(
772
+ body
773
+ );
774
+ ```
775
+
776
+ ### Parameters
777
+
778
+ |Name | Type | Description | Notes|
779
+ |------------- | ------------- | ------------- | -------------|
780
+ | **body** | **object**| | |
781
+
782
+
783
+ ### Return type
784
+
785
+ **PassportAuthAdminSignOutResponse**
786
+
787
+ ### Authorization
788
+
789
+ No authorization required
790
+
791
+ ### HTTP request headers
792
+
793
+ - **Content-Type**: application/json
794
+ - **Accept**: application/json
795
+
796
+
797
+ ### HTTP response details
798
+ | Status code | Description | Response headers |
799
+ |-------------|-------------|------------------|
800
+ |**200** | OK | - |
801
+ |**0** | Default error response | - |
802
+
803
+ [[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)
804
+
805
+ # **passportAuthAdminServicePassportAuthAdminUpdateInfo**
806
+ > PassportAuthAdminUpdateInfoResponse passportAuthAdminServicePassportAuthAdminUpdateInfo(passportAuthAdminUpdateInfoRequest)
807
+
808
+ 修改管理员个人信息
809
+
810
+ ### Example
811
+
812
+ ```typescript
813
+ import {
814
+ PassportAuthAdminServiceApi,
815
+ Configuration,
816
+ PassportAuthAdminUpdateInfoRequest
817
+ } from '@cherryin/api-client';
818
+
819
+ const configuration = new Configuration();
820
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
821
+
822
+ let passportAuthAdminUpdateInfoRequest: PassportAuthAdminUpdateInfoRequest; //
823
+
824
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminUpdateInfo(
825
+ passportAuthAdminUpdateInfoRequest
826
+ );
827
+ ```
828
+
829
+ ### Parameters
830
+
831
+ |Name | Type | Description | Notes|
832
+ |------------- | ------------- | ------------- | -------------|
833
+ | **passportAuthAdminUpdateInfoRequest** | **PassportAuthAdminUpdateInfoRequest**| | |
834
+
835
+
836
+ ### Return type
837
+
838
+ **PassportAuthAdminUpdateInfoResponse**
839
+
840
+ ### Authorization
841
+
842
+ No authorization required
843
+
844
+ ### HTTP request headers
845
+
846
+ - **Content-Type**: application/json
847
+ - **Accept**: application/json
848
+
849
+
850
+ ### HTTP response details
851
+ | Status code | Description | Response headers |
852
+ |-------------|-------------|------------------|
853
+ |**200** | OK | - |
854
+ |**0** | Default error response | - |
855
+
856
+ [[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)
857
+
858
+ # **passportAuthAdminServicePassportAuthAdminUserDisable**
859
+ > PassportAuthAdminUserDisableResponse passportAuthAdminServicePassportAuthAdminUserDisable(passportAuthAdminUserDisableRequest)
860
+
861
+ 禁用用户
862
+
863
+ ### Example
864
+
865
+ ```typescript
866
+ import {
867
+ PassportAuthAdminServiceApi,
868
+ Configuration,
869
+ PassportAuthAdminUserDisableRequest
870
+ } from '@cherryin/api-client';
871
+
872
+ const configuration = new Configuration();
873
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
874
+
875
+ let passportAuthAdminUserDisableRequest: PassportAuthAdminUserDisableRequest; //
876
+
877
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminUserDisable(
878
+ passportAuthAdminUserDisableRequest
879
+ );
880
+ ```
881
+
882
+ ### Parameters
883
+
884
+ |Name | Type | Description | Notes|
885
+ |------------- | ------------- | ------------- | -------------|
886
+ | **passportAuthAdminUserDisableRequest** | **PassportAuthAdminUserDisableRequest**| | |
887
+
888
+
889
+ ### Return type
890
+
891
+ **PassportAuthAdminUserDisableResponse**
892
+
893
+ ### Authorization
894
+
895
+ No authorization required
896
+
897
+ ### HTTP request headers
898
+
899
+ - **Content-Type**: application/json
900
+ - **Accept**: application/json
901
+
902
+
903
+ ### HTTP response details
904
+ | Status code | Description | Response headers |
905
+ |-------------|-------------|------------------|
906
+ |**200** | OK | - |
907
+ |**0** | Default error response | - |
908
+
909
+ [[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)
910
+
911
+ # **passportAuthAdminServicePassportAuthAdminUserList**
912
+ > PassportAuthAdminUserListResponse passportAuthAdminServicePassportAuthAdminUserList(passportAuthAdminUserListRequest)
913
+
914
+ 管理员查看用户列表
915
+
916
+ ### Example
917
+
918
+ ```typescript
919
+ import {
920
+ PassportAuthAdminServiceApi,
921
+ Configuration,
922
+ PassportAuthAdminUserListRequest
923
+ } from '@cherryin/api-client';
924
+
925
+ const configuration = new Configuration();
926
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
927
+
928
+ let passportAuthAdminUserListRequest: PassportAuthAdminUserListRequest; //
929
+
930
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminUserList(
931
+ passportAuthAdminUserListRequest
932
+ );
933
+ ```
934
+
935
+ ### Parameters
936
+
937
+ |Name | Type | Description | Notes|
938
+ |------------- | ------------- | ------------- | -------------|
939
+ | **passportAuthAdminUserListRequest** | **PassportAuthAdminUserListRequest**| | |
940
+
941
+
942
+ ### Return type
943
+
944
+ **PassportAuthAdminUserListResponse**
945
+
946
+ ### Authorization
947
+
948
+ No authorization required
949
+
950
+ ### HTTP request headers
951
+
952
+ - **Content-Type**: application/json
953
+ - **Accept**: application/json
954
+
955
+
956
+ ### HTTP response details
957
+ | Status code | Description | Response headers |
958
+ |-------------|-------------|------------------|
959
+ |**200** | OK | - |
960
+ |**0** | Default error response | - |
961
+
962
+ [[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)
963
+
964
+ # **passportAuthAdminServicePassportAuthAdminUserModifyInfo**
965
+ > PassportAuthAdminUserModifyInfoResponse passportAuthAdminServicePassportAuthAdminUserModifyInfo(passportAuthAdminUserModifyInfoRequest)
966
+
967
+ 管理员修改用户信息
968
+
969
+ ### Example
970
+
971
+ ```typescript
972
+ import {
973
+ PassportAuthAdminServiceApi,
974
+ Configuration,
975
+ PassportAuthAdminUserModifyInfoRequest
976
+ } from '@cherryin/api-client';
977
+
978
+ const configuration = new Configuration();
979
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
980
+
981
+ let passportAuthAdminUserModifyInfoRequest: PassportAuthAdminUserModifyInfoRequest; //
982
+
983
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminUserModifyInfo(
984
+ passportAuthAdminUserModifyInfoRequest
985
+ );
986
+ ```
987
+
988
+ ### Parameters
989
+
990
+ |Name | Type | Description | Notes|
991
+ |------------- | ------------- | ------------- | -------------|
992
+ | **passportAuthAdminUserModifyInfoRequest** | **PassportAuthAdminUserModifyInfoRequest**| | |
993
+
994
+
995
+ ### Return type
996
+
997
+ **PassportAuthAdminUserModifyInfoResponse**
998
+
999
+ ### Authorization
1000
+
1001
+ No authorization required
1002
+
1003
+ ### HTTP request headers
1004
+
1005
+ - **Content-Type**: application/json
1006
+ - **Accept**: application/json
1007
+
1008
+
1009
+ ### HTTP response details
1010
+ | Status code | Description | Response headers |
1011
+ |-------------|-------------|------------------|
1012
+ |**200** | OK | - |
1013
+ |**0** | Default error response | - |
1014
+
1015
+ [[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)
1016
+
1017
+ # **passportAuthAdminServicePassportAuthAdminUserModifyPermission**
1018
+ > PassportAuthAdminUserModifyPermissionResponse passportAuthAdminServicePassportAuthAdminUserModifyPermission(passportAuthAdminUserModifyPermissionRequest)
1019
+
1020
+ 管理员修改用户权限
1021
+
1022
+ ### Example
1023
+
1024
+ ```typescript
1025
+ import {
1026
+ PassportAuthAdminServiceApi,
1027
+ Configuration,
1028
+ PassportAuthAdminUserModifyPermissionRequest
1029
+ } from '@cherryin/api-client';
1030
+
1031
+ const configuration = new Configuration();
1032
+ const apiInstance = new PassportAuthAdminServiceApi(configuration);
1033
+
1034
+ let passportAuthAdminUserModifyPermissionRequest: PassportAuthAdminUserModifyPermissionRequest; //
1035
+
1036
+ const { status, data } = await apiInstance.passportAuthAdminServicePassportAuthAdminUserModifyPermission(
1037
+ passportAuthAdminUserModifyPermissionRequest
1038
+ );
1039
+ ```
1040
+
1041
+ ### Parameters
1042
+
1043
+ |Name | Type | Description | Notes|
1044
+ |------------- | ------------- | ------------- | -------------|
1045
+ | **passportAuthAdminUserModifyPermissionRequest** | **PassportAuthAdminUserModifyPermissionRequest**| | |
1046
+
1047
+
1048
+ ### Return type
1049
+
1050
+ **PassportAuthAdminUserModifyPermissionResponse**
1051
+
1052
+ ### Authorization
1053
+
1054
+ No authorization required
1055
+
1056
+ ### HTTP request headers
1057
+
1058
+ - **Content-Type**: application/json
1059
+ - **Accept**: application/json
1060
+
1061
+
1062
+ ### HTTP response details
1063
+ | Status code | Description | Response headers |
1064
+ |-------------|-------------|------------------|
1065
+ |**200** | OK | - |
1066
+ |**0** | Default error response | - |
1067
+
1068
+ [[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)
1069
+