@cherryin/api-client 0.0.8 → 0.0.9
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 +86 -0
- package/README.md +130 -2
- package/api.ts +4491 -318
- package/dist/api.d.ts +2406 -68
- package/dist/api.js +2966 -2
- package/dist/esm/api.d.ts +2406 -68
- package/dist/esm/api.js +2952 -0
- package/docs/AuthAdminUser.md +33 -0
- package/docs/AuthIdToken.md +29 -0
- package/docs/AuthPassport.md +35 -0
- package/docs/AuthUser.md +39 -0
- package/docs/AuthUserMethod.md +39 -0
- package/docs/AuthUserSession.md +37 -0
- package/docs/PassportAuthAdminChangePasswordRequest.md +24 -0
- package/docs/PassportAuthAdminChangePasswordResponse.md +26 -0
- package/docs/PassportAuthAdminGetSessionResponse.md +26 -0
- package/docs/PassportAuthAdminListSessionsResponse.md +24 -0
- package/docs/PassportAuthAdminRevokeOtherSessionsResponse.md +22 -0
- package/docs/PassportAuthAdminRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthAdminRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthAdminRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthAdminServiceApi.md +469 -0
- package/docs/PassportAuthAdminSignInEmailRequest.md +26 -0
- package/docs/PassportAuthAdminSignInEmailResponse.md +26 -0
- package/docs/PassportAuthAdminSignOutResponse.md +22 -0
- package/docs/PassportAuthAdminUpdateUserRequest.md +22 -0
- package/docs/PassportAuthAdminUpdateUserResponse.md +24 -0
- package/docs/PassportAuthUserChangeEmailRequest.md +24 -0
- package/docs/PassportAuthUserChangeEmailResponse.md +24 -0
- package/docs/PassportAuthUserChangePasswordRequest.md +26 -0
- package/docs/PassportAuthUserChangePasswordResponse.md +26 -0
- package/docs/PassportAuthUserChangePhoneRequest.md +26 -0
- package/docs/PassportAuthUserChangePhoneResponse.md +24 -0
- package/docs/PassportAuthUserDeletePassportRequest.md +22 -0
- package/docs/PassportAuthUserDeletePassportResponse.md +24 -0
- package/docs/PassportAuthUserDeleteUserRequest.md +24 -0
- package/docs/PassportAuthUserDeleteUserResponse.md +24 -0
- package/docs/PassportAuthUserGetAccessTokenRequest.md +24 -0
- package/docs/PassportAuthUserGetAccessTokenResponse.md +34 -0
- package/docs/PassportAuthUserGetAccountInfoResponse.md +24 -0
- package/docs/PassportAuthUserGetPassportInfoResponse.md +26 -0
- package/docs/PassportAuthUserGetSessionResponse.md +24 -0
- package/docs/PassportAuthUserLinkSocialRequest.md +32 -0
- package/docs/PassportAuthUserLinkSocialResponse.md +26 -0
- package/docs/PassportAuthUserListAccountsResponse.md +24 -0
- package/docs/PassportAuthUserListMethodsResponse.md +24 -0
- package/docs/PassportAuthUserListSessionsResponse.md +24 -0
- package/docs/PassportAuthUserOAuthCallbackResponse.md +36 -0
- package/docs/PassportAuthUserRefreshTokenRequest.md +24 -0
- package/docs/PassportAuthUserRefreshTokenResponse.md +34 -0
- package/docs/PassportAuthUserRequestPasswordResetRequest.md +24 -0
- package/docs/PassportAuthUserRequestPasswordResetResponse.md +22 -0
- package/docs/PassportAuthUserResetPasswordRequest.md +24 -0
- package/docs/PassportAuthUserResetPasswordResponse.md +22 -0
- package/docs/PassportAuthUserRevokeOtherSessionsRequest.md +20 -0
- package/docs/PassportAuthUserRevokeOtherSessionsResponse.md +24 -0
- package/docs/PassportAuthUserRevokeSessionRequest.md +20 -0
- package/docs/PassportAuthUserRevokeSessionResponse.md +22 -0
- package/docs/PassportAuthUserRevokeSessionsRequest.md +20 -0
- package/docs/PassportAuthUserRevokeSessionsResponse.md +22 -0
- package/docs/PassportAuthUserSendVerificationEmailRequest.md +26 -0
- package/docs/PassportAuthUserSendVerificationEmailResponse.md +22 -0
- package/docs/PassportAuthUserServiceApi.md +1675 -0
- package/docs/PassportAuthUserSignInEmailRequest.md +28 -0
- package/docs/PassportAuthUserSignInEmailResponse.md +32 -0
- package/docs/PassportAuthUserSignInPhoneRequest.md +24 -0
- package/docs/PassportAuthUserSignInPhoneResponse.md +28 -0
- package/docs/PassportAuthUserSignInSocialRequest.md +32 -0
- package/docs/PassportAuthUserSignInSocialResponse.md +32 -0
- package/docs/PassportAuthUserSignOutRequest.md +22 -0
- package/docs/PassportAuthUserSignOutResponse.md +24 -0
- package/docs/PassportAuthUserSignUpEmailRequest.md +34 -0
- package/docs/PassportAuthUserSignUpEmailResponse.md +30 -0
- package/docs/PassportAuthUserUnlinkAccountRequest.md +24 -0
- package/docs/PassportAuthUserUnlinkAccountResponse.md +22 -0
- package/docs/PassportAuthUserUpdatePassportRequest.md +22 -0
- package/docs/PassportAuthUserUpdatePassportResponse.md +24 -0
- package/docs/PassportAuthUserUpdateUserRequest.md +24 -0
- package/docs/PassportAuthUserUpdateUserResponse.md +24 -0
- package/docs/PassportAuthUserVerifyEmailResponse.md +24 -0
- package/docs/PassportAuthUserVerifyPhoneResponse.md +24 -0
- package/docs/QRCodeAdminServiceApi.md +286 -0
- package/docs/QRCodeCreateRequest.md +37 -0
- package/docs/QRCodeCreateResponse.md +25 -0
- package/docs/QRCodeDeleteResponse.md +23 -0
- package/docs/QRCodeGetResponse.md +25 -0
- package/docs/QRCodeHistoryItem.md +29 -0
- package/docs/QRCodeInfo.md +59 -0
- package/docs/QRCodeListResponse.md +27 -0
- package/docs/QRCodeSnapshot.md +37 -0
- package/docs/QRCodeUpdateRequest.md +39 -0
- package/docs/QRCodeUpdateResponse.md +25 -0
- package/docs/QRCodeWithHistory.md +23 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# PassportAuthUserSignInEmailRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**app_ids** | **string** | User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**password** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**callback_url** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**remember_me** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PassportAuthUserSignInEmailRequest } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: PassportAuthUserSignInEmailRequest = {
|
|
20
|
+
app_ids,
|
|
21
|
+
email,
|
|
22
|
+
password,
|
|
23
|
+
callback_url,
|
|
24
|
+
remember_me,
|
|
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
|
+
# PassportAuthUserSignInEmailResponse
|
|
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
|
+
**redirect** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**url** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**passport** | [**AuthPassport**](AuthPassport.md) | | [optional] [default to undefined]
|
|
13
|
+
**sessions** | [**Array<AuthUserSession>**](AuthUserSession.md) | | [optional] [default to undefined]
|
|
14
|
+
**users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PassportAuthUserSignInEmailResponse } from '@cherryin/api-client';
|
|
20
|
+
|
|
21
|
+
const instance: PassportAuthUserSignInEmailResponse = {
|
|
22
|
+
code,
|
|
23
|
+
message,
|
|
24
|
+
redirect,
|
|
25
|
+
url,
|
|
26
|
+
passport,
|
|
27
|
+
sessions,
|
|
28
|
+
users,
|
|
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
|
+
# PassportAuthUserSignInPhoneRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**app_ids** | **string** | User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
|
|
9
|
+
**phone_number** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**verify_code** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthUserSignInPhoneRequest } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthUserSignInPhoneRequest = {
|
|
18
|
+
app_ids,
|
|
19
|
+
phone_number,
|
|
20
|
+
verify_code,
|
|
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,28 @@
|
|
|
1
|
+
# PassportAuthUserSignInPhoneResponse
|
|
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** | [**AuthPassport**](AuthPassport.md) | | [optional] [default to undefined]
|
|
11
|
+
**sessions** | [**Array<AuthUserSession>**](AuthUserSession.md) | | [optional] [default to undefined]
|
|
12
|
+
**users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { PassportAuthUserSignInPhoneResponse } from '@cherryin/api-client';
|
|
18
|
+
|
|
19
|
+
const instance: PassportAuthUserSignInPhoneResponse = {
|
|
20
|
+
code,
|
|
21
|
+
message,
|
|
22
|
+
passport,
|
|
23
|
+
sessions,
|
|
24
|
+
users,
|
|
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
|
+
# PassportAuthUserSignInSocialRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**app_ids** | **string** | User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
|
|
9
|
+
**provider** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**callback_url** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**error_callback_url** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**disable_redirect** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
**id_token** | [**AuthIdToken**](AuthIdToken.md) | | [optional] [default to undefined]
|
|
14
|
+
**scopes** | **Array<string>** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PassportAuthUserSignInSocialRequest } from '@cherryin/api-client';
|
|
20
|
+
|
|
21
|
+
const instance: PassportAuthUserSignInSocialRequest = {
|
|
22
|
+
app_ids,
|
|
23
|
+
provider,
|
|
24
|
+
callback_url,
|
|
25
|
+
error_callback_url,
|
|
26
|
+
disable_redirect,
|
|
27
|
+
id_token,
|
|
28
|
+
scopes,
|
|
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,32 @@
|
|
|
1
|
+
# PassportAuthUserSignInSocialResponse
|
|
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
|
+
**redirect** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**url** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**passport** | [**AuthPassport**](AuthPassport.md) | | [optional] [default to undefined]
|
|
13
|
+
**sessions** | [**Array<AuthUserSession>**](AuthUserSession.md) | | [optional] [default to undefined]
|
|
14
|
+
**users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { PassportAuthUserSignInSocialResponse } from '@cherryin/api-client';
|
|
20
|
+
|
|
21
|
+
const instance: PassportAuthUserSignInSocialResponse = {
|
|
22
|
+
code,
|
|
23
|
+
message,
|
|
24
|
+
redirect,
|
|
25
|
+
url,
|
|
26
|
+
passport,
|
|
27
|
+
sessions,
|
|
28
|
+
users,
|
|
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,22 @@
|
|
|
1
|
+
# PassportAuthUserSignOutRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**app_ids** | **string** | NOTE: app_ids 是 \':\' 分隔的字符串列表 如果想仅登出某些应用的会话,则指定 app_ids | [optional] [default to undefined]
|
|
9
|
+
**sign_out_all** | **boolean** | 如果为 true,则登出所有应用的所有会话 | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PassportAuthUserSignOutRequest } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthUserSignOutRequest = {
|
|
17
|
+
app_ids,
|
|
18
|
+
sign_out_all,
|
|
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
|
+
# PassportAuthUserSignOutResponse
|
|
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
|
+
**success** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthUserSignOutResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthUserSignOutResponse = {
|
|
18
|
+
code,
|
|
19
|
+
message,
|
|
20
|
+
success,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# PassportAuthUserSignUpEmailRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**app_ids** | **string** | User.AppID, 支持多个应用同时注册,如果没有通行证,则创建新通行证 NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**password** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**avatar_url** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**callback_url** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**remember_me** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**disable_redirect** | **boolean** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { PassportAuthUserSignUpEmailRequest } from '@cherryin/api-client';
|
|
21
|
+
|
|
22
|
+
const instance: PassportAuthUserSignUpEmailRequest = {
|
|
23
|
+
app_ids,
|
|
24
|
+
name,
|
|
25
|
+
email,
|
|
26
|
+
password,
|
|
27
|
+
avatar_url,
|
|
28
|
+
callback_url,
|
|
29
|
+
remember_me,
|
|
30
|
+
disable_redirect,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# PassportAuthUserSignUpEmailResponse
|
|
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
|
+
**redirect** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**url** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**passport** | [**AuthPassport**](AuthPassport.md) | | [optional] [default to undefined]
|
|
13
|
+
**users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { PassportAuthUserSignUpEmailResponse } from '@cherryin/api-client';
|
|
19
|
+
|
|
20
|
+
const instance: PassportAuthUserSignUpEmailResponse = {
|
|
21
|
+
code,
|
|
22
|
+
message,
|
|
23
|
+
redirect,
|
|
24
|
+
url,
|
|
25
|
+
passport,
|
|
26
|
+
users,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PassportAuthUserUnlinkAccountRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**app_ids** | **string** | NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
|
|
9
|
+
**provider_id** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**account_id** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthUserUnlinkAccountRequest } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthUserUnlinkAccountRequest = {
|
|
18
|
+
app_ids,
|
|
19
|
+
provider_id,
|
|
20
|
+
account_id,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PassportAuthUserUnlinkAccountResponse
|
|
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 { PassportAuthUserUnlinkAccountResponse } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthUserUnlinkAccountResponse = {
|
|
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
|
+
# PassportAuthUserUpdatePassportRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**avatar_url** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { PassportAuthUserUpdatePassportRequest } from '@cherryin/api-client';
|
|
15
|
+
|
|
16
|
+
const instance: PassportAuthUserUpdatePassportRequest = {
|
|
17
|
+
name,
|
|
18
|
+
avatar_url,
|
|
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
|
+
# PassportAuthUserUpdatePassportResponse
|
|
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** | [**AuthPassport**](AuthPassport.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthUserUpdatePassportResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthUserUpdatePassportResponse = {
|
|
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,24 @@
|
|
|
1
|
+
# PassportAuthUserUpdateUserRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**app_ids** | **string** | NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**avatar_url** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthUserUpdateUserRequest } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthUserUpdateUserRequest = {
|
|
18
|
+
app_ids,
|
|
19
|
+
name,
|
|
20
|
+
avatar_url,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PassportAuthUserUpdateUserResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthUserUpdateUserResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthUserUpdateUserResponse = {
|
|
18
|
+
code,
|
|
19
|
+
message,
|
|
20
|
+
users,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PassportAuthUserVerifyEmailResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthUserVerifyEmailResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthUserVerifyEmailResponse = {
|
|
18
|
+
code,
|
|
19
|
+
message,
|
|
20
|
+
users,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PassportAuthUserVerifyPhoneResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**users** | [**Array<AuthUser>**](AuthUser.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { PassportAuthUserVerifyPhoneResponse } from '@cherryin/api-client';
|
|
16
|
+
|
|
17
|
+
const instance: PassportAuthUserVerifyPhoneResponse = {
|
|
18
|
+
code,
|
|
19
|
+
message,
|
|
20
|
+
users,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|