@cherryin/api-client 0.0.9 → 0.0.11
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.
- package/.openapi-generator/FILES +125 -46
- package/README.md +202 -87
- package/api.ts +4701 -1302
- package/dist/api.d.ts +3501 -1543
- package/dist/api.js +3191 -890
- package/dist/esm/api.d.ts +3501 -1543
- package/dist/esm/api.js +3191 -894
- package/docs/AIModelAdminServiceApi.md +6 -6
- package/docs/AdminEnterpriseMaterials.md +24 -0
- package/docs/AdminEnterpriseUser.md +24 -0
- package/docs/AdminEnterpriseUserMaterials.md +22 -0
- package/docs/AdminPassportItem.md +24 -0
- package/docs/AdminUserItem.md +26 -0
- package/docs/AuthAdminSession.md +39 -0
- package/docs/AuthAdminUser.md +2 -2
- package/docs/AuthEnterpriseMaterials.md +33 -0
- package/docs/AuthEnterpriseSession.md +37 -0
- package/docs/AuthEnterpriseUser.md +37 -0
- package/docs/AuthPassport.md +8 -8
- package/docs/AuthUser.md +10 -10
- package/docs/AuthUserMethod.md +8 -8
- package/docs/AuthUserSession.md +10 -6
- package/docs/ConfigItem.md +4 -0
- package/docs/PassportAdminSendVerificationEmailRequest.md +26 -0
- package/docs/PassportAdminSendVerificationEmailResponse.md +22 -0
- package/docs/{PassportAuthAdminSignInEmailRequest.md → PassportAdminSignInEmailRequest.md} +7 -5
- package/docs/PassportAdminSignInEmailResponse.md +26 -0
- package/docs/PassportAuthAdminChangePasswordResponse.md +2 -2
- package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +28 -0
- package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +22 -0
- package/docs/PassportAuthAdminEnterpriseMaterialReviewResponse.md +22 -0
- package/docs/{PassportAuthAdminSignInEmailResponse.md → PassportAuthAdminGetInfoResponse.md} +3 -5
- package/docs/PassportAuthAdminGetSessionResponse.md +1 -1
- package/docs/PassportAuthAdminListSessionsResponse.md +1 -1
- package/docs/PassportAuthAdminPassportDisableRequest.md +22 -0
- package/docs/PassportAuthAdminPassportDisableResponse.md +22 -0
- package/docs/PassportAuthAdminPassportListRequest.md +28 -0
- package/docs/PassportAuthAdminPassportListResponse.md +28 -0
- package/docs/PassportAuthAdminPassportModifyInfoRequest.md +28 -0
- package/docs/{PassportAuthUserRevokeOtherSessionsResponse.md → PassportAuthAdminPassportModifyInfoResponse.md} +5 -5
- package/docs/PassportAuthAdminServiceApi.md +637 -37
- package/docs/{PassportAuthAdminUpdateUserRequest.md → PassportAuthAdminUpdateInfoRequest.md} +5 -5
- package/docs/{PassportAuthAdminUpdateUserResponse.md → PassportAuthAdminUpdateInfoResponse.md} +3 -3
- package/docs/PassportAuthAdminUserDisableRequest.md +26 -0
- package/docs/{PassportAuthUserRevokeSessionsResponse.md → PassportAuthAdminUserDisableResponse.md} +3 -3
- package/docs/PassportAuthAdminUserListRequest.md +28 -0
- package/docs/PassportAuthAdminUserListResponse.md +28 -0
- package/docs/PassportAuthAdminUserModifyInfoRequest.md +32 -0
- package/docs/PassportAuthAdminUserModifyInfoResponse.md +24 -0
- package/docs/PassportAuthAdminUserModifyPermissionRequest.md +22 -0
- package/docs/{PassportAuthUserSendVerificationEmailResponse.md → PassportAuthAdminUserModifyPermissionResponse.md} +5 -3
- package/docs/{PassportAuthUserChangePasswordRequest.md → PassportAuthChangePasswordRequest.md} +3 -3
- package/docs/{PassportAuthUserSignInPhoneResponse.md → PassportAuthChangePasswordResponse.md} +3 -5
- package/docs/{PassportAuthUserDeletePassportRequest.md → PassportAuthDeleteAllRequest.md} +9 -3
- package/docs/PassportAuthDeleteAllResponse.md +22 -0
- package/docs/PassportAuthEnterpriseChangePasswordRequest.md +24 -0
- package/docs/PassportAuthEnterpriseChangePasswordResponse.md +26 -0
- package/docs/PassportAuthEnterpriseChangePhoneRequest.md +24 -0
- package/docs/PassportAuthEnterpriseChangePhoneResponse.md +22 -0
- package/docs/PassportAuthEnterpriseDeleteRequest.md +28 -0
- package/docs/PassportAuthEnterpriseDeleteResponse.md +22 -0
- package/docs/PassportAuthEnterpriseGetSessionResponse.md +24 -0
- package/docs/{PassportAuthUserGetAccountInfoResponse.md → PassportAuthEnterpriseInfoGetResponse.md} +3 -3
- package/docs/PassportAuthEnterpriseListSessionsResponse.md +24 -0
- package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +26 -0
- package/docs/{PassportAuthUserRequestPasswordResetResponse.md → PassportAuthEnterpriseMaterialUploadResponse.md} +3 -3
- package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +24 -0
- package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +20 -0
- package/docs/PassportAuthEnterpriseRefreshTokenResponse.md +24 -0
- package/docs/PassportAuthEnterpriseResetPasswordRequest.md +22 -0
- package/docs/PassportAuthEnterpriseResetPasswordResponse.md +22 -0
- package/docs/{PassportAuthUserDeletePassportResponse.md → PassportAuthEnterpriseRevokeOtherSessionsResponse.md} +3 -3
- package/docs/PassportAuthEnterpriseRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthEnterpriseRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthEnterpriseServiceApi.md +1170 -0
- package/docs/PassportAuthEnterpriseSignOutRequest.md +20 -0
- package/docs/{PassportAuthUserUnlinkAccountResponse.md → PassportAuthEnterpriseSignOutResponse.md} +3 -3
- package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +22 -0
- package/docs/{PassportAuthUserChangePasswordResponse.md → PassportAuthEnterpriseUpdateInfoResponse.md} +3 -5
- package/docs/PassportAuthEnterpriseVerifyEmailRequest.md +24 -0
- package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +22 -0
- package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +22 -0
- package/docs/{PassportAuthUserGetPassportInfoResponse.md → PassportAuthInfoGetResponse.md} +3 -3
- package/docs/{PassportAuthUserLinkSocialRequest.md → PassportAuthLinkSocialRequest.md} +3 -3
- package/docs/{PassportAuthUserLinkSocialResponse.md → PassportAuthLinkSocialResponse.md} +3 -3
- package/docs/{PassportAuthUserListMethodsResponse.md → PassportAuthListMethodsResponse.md} +3 -3
- package/docs/{PassportAuthUserListSessionsResponse.md → PassportAuthListSessionsResponse.md} +3 -3
- package/docs/{PassportAuthUserListAccountsResponse.md → PassportAuthListSocialsResponse.md} +3 -3
- package/docs/PassportAuthRefreshSessionTokenRequest.md +20 -0
- package/docs/PassportAuthRefreshSessionTokenResponse.md +24 -0
- package/docs/{PassportAuthUserResetPasswordRequest.md → PassportAuthResetPasswordRequest.md} +5 -5
- package/docs/PassportAuthResetPasswordResponse.md +22 -0
- package/docs/{PassportAuthUserRevokeOtherSessionsRequest.md → PassportAuthRevokeOtherSessionsRequest.md} +3 -3
- package/docs/{PassportAuthUserDeleteUserResponse.md → PassportAuthRevokeOtherSessionsResponse.md} +3 -3
- package/docs/{PassportAuthUserRevokeSessionRequest.md → PassportAuthRevokeSessionRequest.md} +3 -3
- package/docs/PassportAuthRevokeSessionResponse.md +22 -0
- package/docs/{PassportAuthUserRevokeSessionsRequest.md → PassportAuthRevokeSessionsRequest.md} +3 -3
- package/docs/PassportAuthRevokeSessionsResponse.md +22 -0
- package/docs/{PassportAuthUserSendVerificationEmailRequest.md → PassportAuthSendVerificationEmailRequest.md} +3 -3
- package/docs/PassportAuthSendVerificationEmailResponse.md +22 -0
- package/docs/PassportAuthSendVerificationPhoneRequest.md +26 -0
- package/docs/PassportAuthSendVerificationPhoneResponse.md +22 -0
- package/docs/{PassportAuthUserRefreshTokenRequest.md → PassportAuthSocialGetAccessTokenRequest.md} +3 -3
- package/docs/{PassportAuthUserRefreshTokenResponse.md → PassportAuthSocialGetAccessTokenResponse.md} +3 -3
- package/docs/{PassportAuthUserGetAccessTokenRequest.md → PassportAuthSocialRefreshTokenRequest.md} +3 -3
- package/docs/{PassportAuthUserGetAccessTokenResponse.md → PassportAuthSocialRefreshTokenResponse.md} +3 -3
- package/docs/{PassportAuthUserUnlinkAccountRequest.md → PassportAuthUnlinkSocialRequest.md} +3 -3
- package/docs/PassportAuthUnlinkSocialResponse.md +22 -0
- package/docs/PassportAuthUserChangePhoneRequest.md +4 -4
- package/docs/{PassportAuthUserDeleteUserRequest.md → PassportAuthUserDeleteRequest.md} +9 -3
- package/docs/PassportAuthUserDeleteResponse.md +22 -0
- package/docs/PassportAuthUserGetSessionResponse.md +2 -2
- package/docs/PassportAuthUserInfoGetResponse.md +24 -0
- package/docs/PassportAuthUserServiceApi.md +546 -329
- package/docs/PassportAuthUserSignOutResponse.md +0 -2
- package/docs/{PassportAuthUserUpdateUserRequest.md → PassportAuthUserUpdateInfoRequest.md} +3 -3
- package/docs/{PassportAuthUserUpdateUserResponse.md → PassportAuthUserUpdateInfoResponse.md} +3 -3
- package/docs/{PassportAuthUserRequestPasswordResetRequest.md → PassportAuthUserVerifyEmailRequest.md} +7 -5
- package/docs/PassportAuthUserVerifyEmailResponse.md +0 -2
- package/docs/PassportAuthUserVerifyPhoneRequest.md +24 -0
- package/docs/PassportAuthUserVerifyPhoneResponse.md +0 -2
- package/docs/PassportEnterprisePasswordResetRequest.md +24 -0
- package/docs/{PassportAuthUserSignUpEmailResponse.md → PassportEnterprisePasswordResetResponse.md} +5 -9
- package/docs/PassportEnterpriseSendVerificationEmailRequest.md +24 -0
- package/docs/PassportEnterpriseSendVerificationEmailResponse.md +22 -0
- package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +24 -0
- package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +22 -0
- package/docs/PassportEnterpriseSignInEmailRequest.md +30 -0
- package/docs/PassportEnterpriseSignInEmailResponse.md +30 -0
- package/docs/PassportEnterpriseSignInPhoneRequest.md +24 -0
- package/docs/PassportEnterpriseSignInPhoneResponse.md +26 -0
- package/docs/PassportEnterpriseSignUpEmailRequest.md +34 -0
- package/docs/PassportEnterpriseSignUpEmailResponse.md +26 -0
- package/docs/PassportSendVerificationEmailRequest.md +26 -0
- package/docs/{PassportAuthUserRevokeSessionResponse.md → PassportSendVerificationEmailResponse.md} +3 -3
- package/docs/PassportSendVerificationPhoneRequest.md +26 -0
- package/docs/{PassportAuthUserResetPasswordResponse.md → PassportSendVerificationPhoneResponse.md} +3 -3
- package/docs/{PassportAuthUserOAuthCallbackResponse.md → PassportUserOAuthCallbackResponse.md} +6 -6
- package/docs/PassportUserPasswordResetRequest.md +28 -0
- package/docs/PassportUserPasswordResetResponse.md +26 -0
- package/docs/{PassportAuthUserSignInEmailRequest.md → PassportUserSignInEmailRequest.md} +9 -5
- package/docs/{PassportAuthUserSignInSocialResponse.md → PassportUserSignInEmailResponse.md} +6 -6
- package/docs/{PassportAuthUserSignInPhoneRequest.md → PassportUserSignInPhoneRequest.md} +7 -5
- package/docs/PassportUserSignInPhoneResponse.md +28 -0
- package/docs/{PassportAuthUserSignInSocialRequest.md → PassportUserSignInSocialRequest.md} +5 -5
- package/docs/PassportUserSignInSocialResponse.md +32 -0
- package/docs/{PassportAuthUserSignUpEmailRequest.md → PassportUserSignUpEmailRequest.md} +8 -6
- package/docs/{PassportAuthUserSignInEmailResponse.md → PassportUserSignUpEmailResponse.md} +6 -6
- package/docs/RemoteConfigAdminServiceApi.md +18 -3
- package/docs/RemoteConfigItemGetResponse.md +2 -2
- package/docs/RemoteConfigItemUpdateRequest.md +6 -0
- package/docs/RemoteConfigItemUpdateResponse.md +2 -2
- package/package.json +1 -1
package/docs/{PassportAuthAdminUpdateUserRequest.md → PassportAuthAdminUpdateInfoRequest.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthAdminUpdateInfoRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**
|
|
9
|
+
**avatar_url** | **string** | | [optional] [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { PassportAuthAdminUpdateInfoRequest } from '@cherryin/api-client';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
16
|
+
const instance: PassportAuthAdminUpdateInfoRequest = {
|
|
17
17
|
name,
|
|
18
|
-
|
|
18
|
+
avatar_url,
|
|
19
19
|
};
|
|
20
20
|
```
|
|
21
21
|
|
package/docs/{PassportAuthAdminUpdateUserResponse.md → PassportAuthAdminUpdateInfoResponse.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthAdminUpdateInfoResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import {
|
|
15
|
+
import { PassportAuthAdminUpdateInfoResponse } from '@cherryin/api-client';
|
|
16
16
|
|
|
17
|
-
const instance:
|
|
17
|
+
const instance: PassportAuthAdminUpdateInfoResponse = {
|
|
18
18
|
code,
|
|
19
19
|
message,
|
|
20
20
|
user,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# PassportAuthAdminUserDisableRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uid_list** | **Array<string>** | | [optional] [default to undefined]
|
|
9
|
+
**reason** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**user_state** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**disable_until** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PassportAuthAdminUserDisableRequest } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: PassportAuthAdminUserDisableRequest = {
|
|
19
|
+
uid_list,
|
|
20
|
+
reason,
|
|
21
|
+
user_state,
|
|
22
|
+
disable_until,
|
|
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)
|
package/docs/{PassportAuthUserRevokeSessionsResponse.md → PassportAuthAdminUserDisableResponse.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthAdminUserDisableResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { PassportAuthAdminUserDisableResponse } from '@cherryin/api-client';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
16
|
+
const instance: PassportAuthAdminUserDisableResponse = {
|
|
17
17
|
code,
|
|
18
18
|
message,
|
|
19
19
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PassportAuthAdminUserListRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**page** | **number** | page 页码,从 1 开始 默认值: 1 | [optional] [default to undefined]
|
|
9
|
+
**page_size** | **number** | page_size 每页数量 默认值: 20,最大值: 100 | [optional] [default to undefined]
|
|
10
|
+
**status** | **Array<number>** | status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回草稿状态 2: 仅返回已发布状态 3: 仅返回已禁用状态 | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | email 过滤 | [optional] [default to undefined]
|
|
12
|
+
**phone** | **string** | phone 过滤 | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PassportAuthAdminUserListRequest } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: PassportAuthAdminUserListRequest = {
|
|
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
|
+
# PassportAuthAdminUserListResponse
|
|
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<AdminUserItem>**](AdminUserItem.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 { PassportAuthAdminUserListResponse } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: PassportAuthAdminUserListResponse = {
|
|
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,32 @@
|
|
|
1
|
+
# PassportAuthAdminUserModifyInfoRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uid** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**app_id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**aid** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**phone** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**avatar_url** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PassportAuthAdminUserModifyInfoRequest } from '@cherryin/api-client';
|
|
20
|
+
|
|
21
|
+
const instance: PassportAuthAdminUserModifyInfoRequest = {
|
|
22
|
+
uid,
|
|
23
|
+
app_id,
|
|
24
|
+
aid,
|
|
25
|
+
name,
|
|
26
|
+
email,
|
|
27
|
+
phone,
|
|
28
|
+
avatar_url,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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
|
+
# PassportAuthAdminUserModifyInfoResponse
|
|
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** | [**AdminUserItem**](AdminUserItem.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthAdminUserModifyInfoResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthAdminUserModifyInfoResponse = {
|
|
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,22 @@
|
|
|
1
|
+
# PassportAuthAdminUserModifyPermissionRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**uid** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**role** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PassportAuthAdminUserModifyPermissionRequest } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthAdminUserModifyPermissionRequest = {
|
|
17
|
+
uid,
|
|
18
|
+
role,
|
|
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)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthAdminUserModifyPermissionResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -7,15 +7,17 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**code** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**user** | [**AdminUserItem**](AdminUserItem.md) | | [optional] [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
13
14
|
```typescript
|
|
14
|
-
import {
|
|
15
|
+
import { PassportAuthAdminUserModifyPermissionResponse } from '@cherryin/api-client';
|
|
15
16
|
|
|
16
|
-
const instance:
|
|
17
|
+
const instance: PassportAuthAdminUserModifyPermissionResponse = {
|
|
17
18
|
code,
|
|
18
19
|
message,
|
|
20
|
+
user,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
package/docs/{PassportAuthUserChangePasswordRequest.md → PassportAuthChangePasswordRequest.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthChangePasswordRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import {
|
|
16
|
+
import { PassportAuthChangePasswordRequest } from '@cherryin/api-client';
|
|
17
17
|
|
|
18
|
-
const instance:
|
|
18
|
+
const instance: PassportAuthChangePasswordRequest = {
|
|
19
19
|
app_ids,
|
|
20
20
|
new_password,
|
|
21
21
|
current_password,
|
package/docs/{PassportAuthUserSignInPhoneResponse.md → PassportAuthChangePasswordResponse.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthChangePasswordResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -7,19 +7,17 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**code** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**passport** | [**AuthPassport**](AuthPassport.md) | | [optional] [default to undefined]
|
|
11
10
|
**sessions** | [**Array<AuthUserSession>**](AuthUserSession.md) | | [optional] [default to undefined]
|
|
12
11
|
**users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
16
15
|
```typescript
|
|
17
|
-
import {
|
|
16
|
+
import { PassportAuthChangePasswordResponse } from '@cherryin/api-client';
|
|
18
17
|
|
|
19
|
-
const instance:
|
|
18
|
+
const instance: PassportAuthChangePasswordResponse = {
|
|
20
19
|
code,
|
|
21
20
|
message,
|
|
22
|
-
passport,
|
|
23
21
|
sessions,
|
|
24
22
|
users,
|
|
25
23
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthDeleteAllRequest
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -6,16 +6,22 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**callback_url** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
9
10
|
**password** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**phone** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
10
13
|
|
|
11
14
|
## Example
|
|
12
15
|
|
|
13
16
|
```typescript
|
|
14
|
-
import {
|
|
17
|
+
import { PassportAuthDeleteAllRequest } from '@cherryin/api-client';
|
|
15
18
|
|
|
16
|
-
const instance:
|
|
19
|
+
const instance: PassportAuthDeleteAllRequest = {
|
|
17
20
|
callback_url,
|
|
21
|
+
email,
|
|
18
22
|
password,
|
|
23
|
+
phone,
|
|
24
|
+
code,
|
|
19
25
|
};
|
|
20
26
|
```
|
|
21
27
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PassportAuthDeleteAllResponse
|
|
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 { PassportAuthDeleteAllResponse } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthDeleteAllResponse = {
|
|
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
|
+
# PassportAuthEnterpriseChangePasswordRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**new_password** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**current_password** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**revoke_other_sessions** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthEnterpriseChangePasswordRequest } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthEnterpriseChangePasswordRequest = {
|
|
18
|
+
new_password,
|
|
19
|
+
current_password,
|
|
20
|
+
revoke_other_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,26 @@
|
|
|
1
|
+
# PassportAuthEnterpriseChangePasswordResponse
|
|
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** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**user** | [**AuthEnterpriseUser**](AuthEnterpriseUser.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PassportAuthEnterpriseChangePasswordResponse } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: PassportAuthEnterpriseChangePasswordResponse = {
|
|
19
|
+
code,
|
|
20
|
+
message,
|
|
21
|
+
token,
|
|
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
|
+
# PassportAuthEnterpriseChangePhoneRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**new_phone** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**verify_code** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**callback_url** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthEnterpriseChangePhoneRequest } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthEnterpriseChangePhoneRequest = {
|
|
18
|
+
new_phone,
|
|
19
|
+
verify_code,
|
|
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,22 @@
|
|
|
1
|
+
# PassportAuthEnterpriseChangePhoneResponse
|
|
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 { PassportAuthEnterpriseChangePhoneResponse } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthEnterpriseChangePhoneResponse = {
|
|
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
|
+
# PassportAuthEnterpriseDeleteRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**callback_url** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**password** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**phone** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**verify_code** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PassportAuthEnterpriseDeleteRequest } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: PassportAuthEnterpriseDeleteRequest = {
|
|
20
|
+
callback_url,
|
|
21
|
+
email,
|
|
22
|
+
password,
|
|
23
|
+
phone,
|
|
24
|
+
verify_code,
|
|
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
|
+
# PassportAuthEnterpriseDeleteResponse
|
|
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 { PassportAuthEnterpriseDeleteResponse } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthEnterpriseDeleteResponse = {
|
|
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
|
+
# PassportAuthEnterpriseGetSessionResponse
|
|
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 { PassportAuthEnterpriseGetSessionResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthEnterpriseGetSessionResponse = {
|
|
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)
|
package/docs/{PassportAuthUserGetAccountInfoResponse.md → PassportAuthEnterpriseInfoGetResponse.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthEnterpriseInfoGetResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import {
|
|
15
|
+
import { PassportAuthEnterpriseInfoGetResponse } from '@cherryin/api-client';
|
|
16
16
|
|
|
17
|
-
const instance:
|
|
17
|
+
const instance: PassportAuthEnterpriseInfoGetResponse = {
|
|
18
18
|
code,
|
|
19
19
|
message,
|
|
20
20
|
users,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PassportAuthEnterpriseListSessionsResponse
|
|
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<AuthUserSession>**](AuthUserSession.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthEnterpriseListSessionsResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthEnterpriseListSessionsResponse = {
|
|
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,26 @@
|
|
|
1
|
+
# PassportAuthEnterpriseMaterialUploadRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**company_name** | **string** | 企业名称 | [optional] [default to undefined]
|
|
9
|
+
**unified_social_credit_code** | **string** | 统一社会信用代码 | [optional] [default to undefined]
|
|
10
|
+
**legal_person_name** | **string** | 法定代表人姓名 | [optional] [default to undefined]
|
|
11
|
+
**legal_person_id_number** | **string** | 法定代表人身份证号码 | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { PassportAuthEnterpriseMaterialUploadRequest } from '@cherryin/api-client';
|
|
17
|
+
|
|
18
|
+
const instance: PassportAuthEnterpriseMaterialUploadRequest = {
|
|
19
|
+
company_name,
|
|
20
|
+
unified_social_credit_code,
|
|
21
|
+
legal_person_name,
|
|
22
|
+
legal_person_id_number,
|
|
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)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PassportAuthEnterpriseMaterialUploadResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { PassportAuthEnterpriseMaterialUploadResponse } from '@cherryin/api-client';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
16
|
+
const instance: PassportAuthEnterpriseMaterialUploadResponse = {
|
|
17
17
|
code,
|
|
18
18
|
message,
|
|
19
19
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PassportAuthEnterpriseMaterialVerifyStateResponse
|
|
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
|
+
**materials** | [**AuthEnterpriseMaterials**](AuthEnterpriseMaterials.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthEnterpriseMaterialVerifyStateResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthEnterpriseMaterialVerifyStateResponse = {
|
|
18
|
+
code,
|
|
19
|
+
message,
|
|
20
|
+
materials,
|
|
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)
|