@cherryin/api-client 0.0.4 → 0.0.5

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 (127) hide show
  1. package/.openapi-generator/FILES +93 -11
  2. package/README.md +137 -17
  3. package/api.ts +5413 -2065
  4. package/dist/api.d.ts +2415 -555
  5. package/dist/api.js +4193 -1809
  6. package/dist/esm/api.d.ts +2415 -555
  7. package/dist/esm/api.js +4046 -1671
  8. package/docs/AIModelAdminServiceApi.md +53 -0
  9. package/docs/AIModelCheckConnectionResponse.md +25 -0
  10. package/docs/AIModelCheckItem.md +32 -0
  11. package/docs/AIModelCheckResult.md +23 -0
  12. package/docs/AIModelCreateResponse.md +2 -2
  13. package/docs/AIModelDeleteResponse.md +2 -2
  14. package/docs/AIModelDisableResponse.md +2 -2
  15. package/docs/AIModelGetResponse.md +2 -2
  16. package/docs/AIModelListResponse.md +2 -2
  17. package/docs/AIModelPublishResponse.md +2 -2
  18. package/docs/AIModelUpdateResponse.md +2 -2
  19. package/docs/Auth2Account.md +33 -0
  20. package/docs/Auth2Admin.md +33 -0
  21. package/docs/Auth2AdminServiceApi.md +469 -0
  22. package/docs/Auth2AdminSession.md +35 -0
  23. package/docs/{AuthTokenPair.md → Auth2IdToken.md} +10 -8
  24. package/docs/Auth2Session.md +35 -0
  25. package/docs/Auth2User.md +33 -0
  26. package/docs/Auth2UserServiceApi.md +1261 -0
  27. package/docs/AuthAdminChangePasswordRequest.md +24 -0
  28. package/docs/AuthAdminChangePasswordResponse.md +26 -0
  29. package/docs/AuthAdminGetSessionResponse.md +26 -0
  30. package/docs/AuthAdminListSessionsResponse.md +24 -0
  31. package/docs/AuthAdminRevokeOtherSessionsResponse.md +24 -0
  32. package/docs/{UserAuthFlowInitResponseOAuthResult.md → AuthAdminRevokeSessionRequest.md} +5 -5
  33. package/docs/AuthAdminRevokeSessionResponse.md +24 -0
  34. package/docs/AuthAdminRevokeSessionsResponse.md +24 -0
  35. package/docs/AuthAdminSignInEmailRequest.md +26 -0
  36. package/docs/AuthAdminSignInEmailResponse.md +26 -0
  37. package/docs/AuthAdminSignOutResponse.md +24 -0
  38. package/docs/AuthAdminUpdateUserRequest.md +22 -0
  39. package/docs/AuthAdminUpdateUserResponse.md +24 -0
  40. package/docs/AuthChangeEmailRequest.md +22 -0
  41. package/docs/AuthChangeEmailResponse.md +26 -0
  42. package/docs/AuthChangePasswordRequest.md +24 -0
  43. package/docs/AuthChangePasswordResponse.md +26 -0
  44. package/docs/AuthDeleteUserRequest.md +24 -0
  45. package/docs/AuthDeleteUserResponse.md +24 -0
  46. package/docs/AuthGetAccessTokenRequest.md +24 -0
  47. package/docs/AuthGetAccessTokenResponse.md +34 -0
  48. package/docs/AuthGetAccountInfoResponse.md +24 -0
  49. package/docs/AuthGetSessionResponse.md +26 -0
  50. package/docs/AuthLinkSocialRequest.md +30 -0
  51. package/docs/AuthLinkSocialResponse.md +28 -0
  52. package/docs/AuthListAccountsResponse.md +24 -0
  53. package/docs/AuthListSessionsResponse.md +24 -0
  54. package/docs/AuthOAuth2CallbackResponse.md +32 -0
  55. package/docs/AuthRefreshTokenRequest.md +24 -0
  56. package/docs/AuthRefreshTokenResponse.md +34 -0
  57. package/docs/AuthRequestPasswordResetRequest.md +22 -0
  58. package/docs/{UserAuthFlowOAuthCallbackRequest.md → AuthRequestPasswordResetResponse.md} +7 -7
  59. package/docs/AuthResetPasswordRequest.md +22 -0
  60. package/docs/{AdminAuthFlowInitResponse.md → AuthResetPasswordResponse.md} +5 -5
  61. package/docs/AuthRevokeOtherSessionsResponse.md +24 -0
  62. package/docs/{UserAuthInfo.md → AuthRevokeSessionRequest.md} +5 -5
  63. package/docs/AuthRevokeSessionResponse.md +24 -0
  64. package/docs/AuthRevokeSessionsResponse.md +24 -0
  65. package/docs/AuthSendVerificationEmailRequest.md +22 -0
  66. package/docs/{UserAuthFlowOAuthCallbackResponse.md → AuthSendVerificationEmailResponse.md} +5 -7
  67. package/docs/AuthSignInEmailRequest.md +26 -0
  68. package/docs/AuthSignInEmailResponse.md +30 -0
  69. package/docs/AuthSignInSocialRequest.md +30 -0
  70. package/docs/AuthSignInSocialResponse.md +30 -0
  71. package/docs/AuthSignOutResponse.md +24 -0
  72. package/docs/AuthSignUpEmailRequest.md +32 -0
  73. package/docs/AuthSignUpEmailResponse.md +28 -0
  74. package/docs/AuthUnlinkAccountRequest.md +22 -0
  75. package/docs/AuthUnlinkAccountResponse.md +24 -0
  76. package/docs/AuthUpdateUserRequest.md +22 -0
  77. package/docs/AuthUpdateUserResponse.md +24 -0
  78. package/docs/AuthVerifyEmailResponse.md +24 -0
  79. package/docs/BatchUpdateSessionsRequest.md +24 -0
  80. package/docs/BatchUpdateSessionsResponse.md +24 -0
  81. package/docs/ConfigItem.md +32 -0
  82. package/docs/ConfigItemHistory.md +22 -0
  83. package/docs/GetUserDetailResponse.md +24 -0
  84. package/docs/ListUsersRequest.md +36 -0
  85. package/docs/ListUsersResponse.md +30 -0
  86. package/docs/ProviderAdminServiceApi.md +1 -1
  87. package/docs/ProviderCreateResponse.md +2 -2
  88. package/docs/ProviderDeleteResponse.md +2 -2
  89. package/docs/ProviderGetResponse.md +2 -2
  90. package/docs/ProviderListResponse.md +2 -2
  91. package/docs/ProviderModelCreateResponse.md +2 -2
  92. package/docs/ProviderModelDeleteResponse.md +2 -2
  93. package/docs/ProviderModelGetResponse.md +2 -2
  94. package/docs/ProviderModelListResponse.md +2 -2
  95. package/docs/ProviderModelUpdateResponse.md +2 -2
  96. package/docs/ProviderUpdateResponse.md +2 -2
  97. package/docs/RemoteConfigAdminServiceApi.md +287 -0
  98. package/docs/RemoteConfigItemCreateRequest.md +20 -0
  99. package/docs/RemoteConfigItemCreateResponse.md +24 -0
  100. package/docs/RemoteConfigItemDeleteRequest.md +20 -0
  101. package/docs/RemoteConfigItemDeleteResponse.md +22 -0
  102. package/docs/RemoteConfigItemGetResponse.md +24 -0
  103. package/docs/RemoteConfigItemListResponse.md +26 -0
  104. package/docs/RemoteConfigItemUpdateRequest.md +22 -0
  105. package/docs/RemoteConfigItemUpdateResponse.md +24 -0
  106. package/docs/SetUserRoleRequest.md +22 -0
  107. package/docs/SetUserRoleResponse.md +24 -0
  108. package/docs/SetUserStatusRequest.md +22 -0
  109. package/docs/SetUserStatusResponse.md +26 -0
  110. package/docs/UpdateUserInfoRequest.md +26 -0
  111. package/docs/UpdateUserInfoResponse.md +24 -0
  112. package/docs/UserInfo.md +14 -8
  113. package/docs/UserManageAPIKey.md +38 -0
  114. package/docs/UserManageAdminServiceApi.md +330 -0
  115. package/docs/UserManageAuthMethod.md +32 -0
  116. package/docs/UserManageBalance.md +32 -0
  117. package/docs/UserManageDetail.md +47 -0
  118. package/docs/UserManageItem.md +39 -0
  119. package/docs/UserManageSession.md +34 -0
  120. package/docs/UserManageSettings.md +20 -0
  121. package/docs/UserPayServiceApi.md +12 -3
  122. package/package.json +1 -1
  123. package/docs/AdminAuthServiceApi.md +0 -81
  124. package/docs/AuthFlowResult.md +0 -23
  125. package/docs/UserAuthFlowCodeResponse.md +0 -26
  126. package/docs/UserAuthFlowInitResponse.md +0 -28
  127. package/docs/UserAuthServiceApi.md +0 -279
@@ -0,0 +1,24 @@
1
+ # AuthListAccountsResponse
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
+ **accounts** | [**Array<Auth2Account>**](Auth2Account.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AuthListAccountsResponse } from '@cherryin/api-client';
16
+
17
+ const instance: AuthListAccountsResponse = {
18
+ code,
19
+ message,
20
+ accounts,
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
+ # AuthListSessionsResponse
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<Auth2Session>**](Auth2Session.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AuthListSessionsResponse } from '@cherryin/api-client';
16
+
17
+ const instance: AuthListSessionsResponse = {
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,32 @@
1
+ # AuthOAuth2CallbackResponse
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
+ **url** | **string** | | [optional] [default to undefined]
12
+ **redirect** | **boolean** | | [optional] [default to undefined]
13
+ **user** | [**Auth2User**](Auth2User.md) | | [optional] [default to undefined]
14
+ **is_linked** | **boolean** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { AuthOAuth2CallbackResponse } from '@cherryin/api-client';
20
+
21
+ const instance: AuthOAuth2CallbackResponse = {
22
+ code,
23
+ message,
24
+ token,
25
+ url,
26
+ redirect,
27
+ user,
28
+ is_linked,
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
+ # AuthRefreshTokenRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **provider_id** | **string** | | [optional] [default to undefined]
9
+ **account_id** | **string** | | [optional] [default to undefined]
10
+ **user_id** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AuthRefreshTokenRequest } from '@cherryin/api-client';
16
+
17
+ const instance: AuthRefreshTokenRequest = {
18
+ provider_id,
19
+ account_id,
20
+ user_id,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,34 @@
1
+ # AuthRefreshTokenResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **token_type** | **string** | | [optional] [default to undefined]
11
+ **id_token** | **string** | | [optional] [default to undefined]
12
+ **access_token** | **string** | | [optional] [default to undefined]
13
+ **refresh_token** | **string** | | [optional] [default to undefined]
14
+ **access_token_expires_at** | **string** | | [optional] [default to undefined]
15
+ **refresh_token_expires_at** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { AuthRefreshTokenResponse } from '@cherryin/api-client';
21
+
22
+ const instance: AuthRefreshTokenResponse = {
23
+ code,
24
+ message,
25
+ token_type,
26
+ id_token,
27
+ access_token,
28
+ refresh_token,
29
+ access_token_expires_at,
30
+ refresh_token_expires_at,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # AuthRequestPasswordResetRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [optional] [default to undefined]
9
+ **redirect_to** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AuthRequestPasswordResetRequest } from '@cherryin/api-client';
15
+
16
+ const instance: AuthRequestPasswordResetRequest = {
17
+ email,
18
+ redirect_to,
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
- # UserAuthFlowOAuthCallbackRequest
1
+ # AuthRequestPasswordResetResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -6,18 +6,18 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **code** | **string** | | [optional] [default to undefined]
9
- **state** | **string** | | [optional] [default to undefined]
10
- **platform** | **number** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **status** | **boolean** | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import { UserAuthFlowOAuthCallbackRequest } from '@cherryin/api-client';
15
+ import { AuthRequestPasswordResetResponse } from '@cherryin/api-client';
16
16
 
17
- const instance: UserAuthFlowOAuthCallbackRequest = {
17
+ const instance: AuthRequestPasswordResetResponse = {
18
18
  code,
19
- state,
20
- platform,
19
+ message,
20
+ status,
21
21
  };
22
22
  ```
23
23
 
@@ -0,0 +1,22 @@
1
+ # AuthResetPasswordRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **new_password** | **string** | | [optional] [default to undefined]
9
+ **token** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AuthResetPasswordRequest } from '@cherryin/api-client';
15
+
16
+ const instance: AuthResetPasswordRequest = {
17
+ new_password,
18
+ token,
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
- # AdminAuthFlowInitResponse
1
+ # AuthResetPasswordResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -7,17 +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
- **auth_result** | [**AuthFlowResult**](AuthFlowResult.md) | 对于部分流程(例如邮箱密码登录),只需要 init 即可完成授权登录态,则会直接返回 AuthData 否则需要继续走完后续流程和调用相关接口. | [optional] [default to undefined]
10
+ **status** | **boolean** | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import { AdminAuthFlowInitResponse } from '@cherryin/api-client';
15
+ import { AuthResetPasswordResponse } from '@cherryin/api-client';
16
16
 
17
- const instance: AdminAuthFlowInitResponse = {
17
+ const instance: AuthResetPasswordResponse = {
18
18
  code,
19
19
  message,
20
- auth_result,
20
+ status,
21
21
  };
22
22
  ```
23
23
 
@@ -0,0 +1,24 @@
1
+ # AuthRevokeOtherSessionsResponse
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
+ **status** | **boolean** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AuthRevokeOtherSessionsResponse } from '@cherryin/api-client';
16
+
17
+ const instance: AuthRevokeOtherSessionsResponse = {
18
+ code,
19
+ message,
20
+ status,
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)
@@ -1,19 +1,19 @@
1
- # UserAuthInfo
1
+ # AuthRevokeSessionRequest
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **user_info** | [**UserInfo**](UserInfo.md) | | [optional] [default to undefined]
8
+ **token** | **string** | | [optional] [default to undefined]
9
9
 
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import { UserAuthInfo } from '@cherryin/api-client';
13
+ import { AuthRevokeSessionRequest } from '@cherryin/api-client';
14
14
 
15
- const instance: UserAuthInfo = {
16
- user_info,
15
+ const instance: AuthRevokeSessionRequest = {
16
+ token,
17
17
  };
18
18
  ```
19
19
 
@@ -0,0 +1,24 @@
1
+ # AuthRevokeSessionResponse
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
+ **status** | **boolean** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AuthRevokeSessionResponse } from '@cherryin/api-client';
16
+
17
+ const instance: AuthRevokeSessionResponse = {
18
+ code,
19
+ message,
20
+ status,
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
+ # AuthRevokeSessionsResponse
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
+ **status** | **boolean** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AuthRevokeSessionsResponse } from '@cherryin/api-client';
16
+
17
+ const instance: AuthRevokeSessionsResponse = {
18
+ code,
19
+ message,
20
+ status,
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
+ # AuthSendVerificationEmailRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [optional] [default to undefined]
9
+ **callback_url** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AuthSendVerificationEmailRequest } from '@cherryin/api-client';
15
+
16
+ const instance: AuthSendVerificationEmailRequest = {
17
+ email,
18
+ callback_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)
@@ -1,4 +1,4 @@
1
- # UserAuthFlowOAuthCallbackResponse
1
+ # AuthSendVerificationEmailResponse
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
- **auth_result** | [**AuthFlowResult**](AuthFlowResult.md) | | [optional] [default to undefined]
11
- **user_info** | [**UserAuthInfo**](UserAuthInfo.md) | | [optional] [default to undefined]
10
+ **status** | **boolean** | | [optional] [default to undefined]
12
11
 
13
12
  ## Example
14
13
 
15
14
  ```typescript
16
- import { UserAuthFlowOAuthCallbackResponse } from '@cherryin/api-client';
15
+ import { AuthSendVerificationEmailResponse } from '@cherryin/api-client';
17
16
 
18
- const instance: UserAuthFlowOAuthCallbackResponse = {
17
+ const instance: AuthSendVerificationEmailResponse = {
19
18
  code,
20
19
  message,
21
- auth_result,
22
- user_info,
20
+ status,
23
21
  };
24
22
  ```
25
23
 
@@ -0,0 +1,26 @@
1
+ # AuthSignInEmailRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **email** | **string** | | [optional] [default to undefined]
9
+ **password** | **string** | | [optional] [default to undefined]
10
+ **callback_url** | **string** | | [optional] [default to undefined]
11
+ **remember_me** | **boolean** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AuthSignInEmailRequest } from '@cherryin/api-client';
17
+
18
+ const instance: AuthSignInEmailRequest = {
19
+ email,
20
+ password,
21
+ callback_url,
22
+ remember_me,
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,30 @@
1
+ # AuthSignInEmailResponse
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
+ **token** | **string** | | [optional] [default to undefined]
12
+ **url** | **string** | | [optional] [default to undefined]
13
+ **user** | [**Auth2User**](Auth2User.md) | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { AuthSignInEmailResponse } from '@cherryin/api-client';
19
+
20
+ const instance: AuthSignInEmailResponse = {
21
+ code,
22
+ message,
23
+ redirect,
24
+ token,
25
+ url,
26
+ user,
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,30 @@
1
+ # AuthSignInSocialRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **provider** | **string** | | [optional] [default to undefined]
9
+ **callback_url** | **string** | | [optional] [default to undefined]
10
+ **error_callback_url** | **string** | | [optional] [default to undefined]
11
+ **disable_redirect** | **boolean** | | [optional] [default to undefined]
12
+ **id_token** | [**Auth2IdToken**](Auth2IdToken.md) | | [optional] [default to undefined]
13
+ **scopes** | **Array<string>** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { AuthSignInSocialRequest } from '@cherryin/api-client';
19
+
20
+ const instance: AuthSignInSocialRequest = {
21
+ provider,
22
+ callback_url,
23
+ error_callback_url,
24
+ disable_redirect,
25
+ id_token,
26
+ scopes,
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,30 @@
1
+ # AuthSignInSocialResponse
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
+ **token** | **string** | | [optional] [default to undefined]
12
+ **url** | **string** | | [optional] [default to undefined]
13
+ **user** | [**Auth2User**](Auth2User.md) | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { AuthSignInSocialResponse } from '@cherryin/api-client';
19
+
20
+ const instance: AuthSignInSocialResponse = {
21
+ code,
22
+ message,
23
+ redirect,
24
+ token,
25
+ url,
26
+ user,
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
+ # AuthSignOutResponse
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 { AuthSignOutResponse } from '@cherryin/api-client';
16
+
17
+ const instance: AuthSignOutResponse = {
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,32 @@
1
+ # AuthSignUpEmailRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **email** | **string** | | [optional] [default to undefined]
10
+ **password** | **string** | | [optional] [default to undefined]
11
+ **image** | **string** | | [optional] [default to undefined]
12
+ **callback_url** | **string** | | [optional] [default to undefined]
13
+ **remember_me** | **boolean** | | [optional] [default to undefined]
14
+ **disable_redirect** | **boolean** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { AuthSignUpEmailRequest } from '@cherryin/api-client';
20
+
21
+ const instance: AuthSignUpEmailRequest = {
22
+ name,
23
+ email,
24
+ password,
25
+ image,
26
+ callback_url,
27
+ remember_me,
28
+ disable_redirect,
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,28 @@
1
+ # AuthSignUpEmailResponse
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
+ **user** | [**Auth2User**](Auth2User.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { AuthSignUpEmailResponse } from '@cherryin/api-client';
18
+
19
+ const instance: AuthSignUpEmailResponse = {
20
+ code,
21
+ message,
22
+ redirect,
23
+ url,
24
+ user,
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
+ # AuthUnlinkAccountRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **provider_id** | **string** | | [optional] [default to undefined]
9
+ **account_id** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AuthUnlinkAccountRequest } from '@cherryin/api-client';
15
+
16
+ const instance: AuthUnlinkAccountRequest = {
17
+ provider_id,
18
+ account_id,
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
+ # AuthUnlinkAccountResponse
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
+ **status** | **boolean** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AuthUnlinkAccountResponse } from '@cherryin/api-client';
16
+
17
+ const instance: AuthUnlinkAccountResponse = {
18
+ code,
19
+ message,
20
+ status,
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)