@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.
Files changed (154) hide show
  1. package/.openapi-generator/FILES +125 -46
  2. package/README.md +202 -87
  3. package/api.ts +4701 -1302
  4. package/dist/api.d.ts +3501 -1543
  5. package/dist/api.js +3191 -890
  6. package/dist/esm/api.d.ts +3501 -1543
  7. package/dist/esm/api.js +3191 -894
  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 +2 -2
  16. package/docs/AuthEnterpriseMaterials.md +33 -0
  17. package/docs/AuthEnterpriseSession.md +37 -0
  18. package/docs/AuthEnterpriseUser.md +37 -0
  19. package/docs/AuthPassport.md +8 -8
  20. package/docs/AuthUser.md +10 -10
  21. package/docs/AuthUserMethod.md +8 -8
  22. package/docs/AuthUserSession.md +10 -6
  23. package/docs/ConfigItem.md +4 -0
  24. package/docs/PassportAdminSendVerificationEmailRequest.md +26 -0
  25. package/docs/PassportAdminSendVerificationEmailResponse.md +22 -0
  26. package/docs/{PassportAuthAdminSignInEmailRequest.md → PassportAdminSignInEmailRequest.md} +7 -5
  27. package/docs/PassportAdminSignInEmailResponse.md +26 -0
  28. package/docs/PassportAuthAdminChangePasswordResponse.md +2 -2
  29. package/docs/PassportAuthAdminEnterpriseMaterialListResponse.md +28 -0
  30. package/docs/PassportAuthAdminEnterpriseMaterialReviewRequest.md +22 -0
  31. package/docs/PassportAuthAdminEnterpriseMaterialReviewResponse.md +22 -0
  32. package/docs/{PassportAuthAdminSignInEmailResponse.md → PassportAuthAdminGetInfoResponse.md} +3 -5
  33. package/docs/PassportAuthAdminGetSessionResponse.md +1 -1
  34. package/docs/PassportAuthAdminListSessionsResponse.md +1 -1
  35. package/docs/PassportAuthAdminPassportDisableRequest.md +22 -0
  36. package/docs/PassportAuthAdminPassportDisableResponse.md +22 -0
  37. package/docs/PassportAuthAdminPassportListRequest.md +28 -0
  38. package/docs/PassportAuthAdminPassportListResponse.md +28 -0
  39. package/docs/PassportAuthAdminPassportModifyInfoRequest.md +28 -0
  40. package/docs/{PassportAuthUserRevokeOtherSessionsResponse.md → PassportAuthAdminPassportModifyInfoResponse.md} +5 -5
  41. package/docs/PassportAuthAdminServiceApi.md +637 -37
  42. package/docs/{PassportAuthAdminUpdateUserRequest.md → PassportAuthAdminUpdateInfoRequest.md} +5 -5
  43. package/docs/{PassportAuthAdminUpdateUserResponse.md → PassportAuthAdminUpdateInfoResponse.md} +3 -3
  44. package/docs/PassportAuthAdminUserDisableRequest.md +26 -0
  45. package/docs/{PassportAuthUserRevokeSessionsResponse.md → PassportAuthAdminUserDisableResponse.md} +3 -3
  46. package/docs/PassportAuthAdminUserListRequest.md +28 -0
  47. package/docs/PassportAuthAdminUserListResponse.md +28 -0
  48. package/docs/PassportAuthAdminUserModifyInfoRequest.md +32 -0
  49. package/docs/PassportAuthAdminUserModifyInfoResponse.md +24 -0
  50. package/docs/PassportAuthAdminUserModifyPermissionRequest.md +22 -0
  51. package/docs/{PassportAuthUserSendVerificationEmailResponse.md → PassportAuthAdminUserModifyPermissionResponse.md} +5 -3
  52. package/docs/{PassportAuthUserChangePasswordRequest.md → PassportAuthChangePasswordRequest.md} +3 -3
  53. package/docs/{PassportAuthUserSignInPhoneResponse.md → PassportAuthChangePasswordResponse.md} +3 -5
  54. package/docs/{PassportAuthUserDeletePassportRequest.md → PassportAuthDeleteAllRequest.md} +9 -3
  55. package/docs/PassportAuthDeleteAllResponse.md +22 -0
  56. package/docs/PassportAuthEnterpriseChangePasswordRequest.md +24 -0
  57. package/docs/PassportAuthEnterpriseChangePasswordResponse.md +26 -0
  58. package/docs/PassportAuthEnterpriseChangePhoneRequest.md +24 -0
  59. package/docs/PassportAuthEnterpriseChangePhoneResponse.md +22 -0
  60. package/docs/PassportAuthEnterpriseDeleteRequest.md +28 -0
  61. package/docs/PassportAuthEnterpriseDeleteResponse.md +22 -0
  62. package/docs/PassportAuthEnterpriseGetSessionResponse.md +24 -0
  63. package/docs/{PassportAuthUserGetAccountInfoResponse.md → PassportAuthEnterpriseInfoGetResponse.md} +3 -3
  64. package/docs/PassportAuthEnterpriseListSessionsResponse.md +24 -0
  65. package/docs/PassportAuthEnterpriseMaterialUploadRequest.md +26 -0
  66. package/docs/{PassportAuthUserRequestPasswordResetResponse.md → PassportAuthEnterpriseMaterialUploadResponse.md} +3 -3
  67. package/docs/PassportAuthEnterpriseMaterialVerifyStateResponse.md +24 -0
  68. package/docs/PassportAuthEnterpriseRefreshTokenRequest.md +20 -0
  69. package/docs/PassportAuthEnterpriseRefreshTokenResponse.md +24 -0
  70. package/docs/PassportAuthEnterpriseResetPasswordRequest.md +22 -0
  71. package/docs/PassportAuthEnterpriseResetPasswordResponse.md +22 -0
  72. package/docs/{PassportAuthUserDeletePassportResponse.md → PassportAuthEnterpriseRevokeOtherSessionsResponse.md} +3 -3
  73. package/docs/PassportAuthEnterpriseRevokeSessionRequest.md +20 -0
  74. package/docs/PassportAuthEnterpriseRevokeSessionResponse.md +22 -0
  75. package/docs/PassportAuthEnterpriseRevokeSessionsResponse.md +22 -0
  76. package/docs/PassportAuthEnterpriseServiceApi.md +1170 -0
  77. package/docs/PassportAuthEnterpriseSignOutRequest.md +20 -0
  78. package/docs/{PassportAuthUserUnlinkAccountResponse.md → PassportAuthEnterpriseSignOutResponse.md} +3 -3
  79. package/docs/PassportAuthEnterpriseUpdateInfoRequest.md +22 -0
  80. package/docs/{PassportAuthUserChangePasswordResponse.md → PassportAuthEnterpriseUpdateInfoResponse.md} +3 -5
  81. package/docs/PassportAuthEnterpriseVerifyEmailRequest.md +24 -0
  82. package/docs/PassportAuthEnterpriseVerifyEmailResponse.md +22 -0
  83. package/docs/PassportAuthEnterpriseVerifyPhoneResponse.md +22 -0
  84. package/docs/{PassportAuthUserGetPassportInfoResponse.md → PassportAuthInfoGetResponse.md} +3 -3
  85. package/docs/{PassportAuthUserLinkSocialRequest.md → PassportAuthLinkSocialRequest.md} +3 -3
  86. package/docs/{PassportAuthUserLinkSocialResponse.md → PassportAuthLinkSocialResponse.md} +3 -3
  87. package/docs/{PassportAuthUserListMethodsResponse.md → PassportAuthListMethodsResponse.md} +3 -3
  88. package/docs/{PassportAuthUserListSessionsResponse.md → PassportAuthListSessionsResponse.md} +3 -3
  89. package/docs/{PassportAuthUserListAccountsResponse.md → PassportAuthListSocialsResponse.md} +3 -3
  90. package/docs/PassportAuthRefreshSessionTokenRequest.md +20 -0
  91. package/docs/PassportAuthRefreshSessionTokenResponse.md +24 -0
  92. package/docs/{PassportAuthUserResetPasswordRequest.md → PassportAuthResetPasswordRequest.md} +5 -5
  93. package/docs/PassportAuthResetPasswordResponse.md +22 -0
  94. package/docs/{PassportAuthUserRevokeOtherSessionsRequest.md → PassportAuthRevokeOtherSessionsRequest.md} +3 -3
  95. package/docs/{PassportAuthUserDeleteUserResponse.md → PassportAuthRevokeOtherSessionsResponse.md} +3 -3
  96. package/docs/{PassportAuthUserRevokeSessionRequest.md → PassportAuthRevokeSessionRequest.md} +3 -3
  97. package/docs/PassportAuthRevokeSessionResponse.md +22 -0
  98. package/docs/{PassportAuthUserRevokeSessionsRequest.md → PassportAuthRevokeSessionsRequest.md} +3 -3
  99. package/docs/PassportAuthRevokeSessionsResponse.md +22 -0
  100. package/docs/{PassportAuthUserSendVerificationEmailRequest.md → PassportAuthSendVerificationEmailRequest.md} +3 -3
  101. package/docs/PassportAuthSendVerificationEmailResponse.md +22 -0
  102. package/docs/PassportAuthSendVerificationPhoneRequest.md +26 -0
  103. package/docs/PassportAuthSendVerificationPhoneResponse.md +22 -0
  104. package/docs/{PassportAuthUserRefreshTokenRequest.md → PassportAuthSocialGetAccessTokenRequest.md} +3 -3
  105. package/docs/{PassportAuthUserRefreshTokenResponse.md → PassportAuthSocialGetAccessTokenResponse.md} +3 -3
  106. package/docs/{PassportAuthUserGetAccessTokenRequest.md → PassportAuthSocialRefreshTokenRequest.md} +3 -3
  107. package/docs/{PassportAuthUserGetAccessTokenResponse.md → PassportAuthSocialRefreshTokenResponse.md} +3 -3
  108. package/docs/{PassportAuthUserUnlinkAccountRequest.md → PassportAuthUnlinkSocialRequest.md} +3 -3
  109. package/docs/PassportAuthUnlinkSocialResponse.md +22 -0
  110. package/docs/PassportAuthUserChangePhoneRequest.md +4 -4
  111. package/docs/{PassportAuthUserDeleteUserRequest.md → PassportAuthUserDeleteRequest.md} +9 -3
  112. package/docs/PassportAuthUserDeleteResponse.md +22 -0
  113. package/docs/PassportAuthUserGetSessionResponse.md +2 -2
  114. package/docs/PassportAuthUserInfoGetResponse.md +24 -0
  115. package/docs/PassportAuthUserServiceApi.md +546 -329
  116. package/docs/PassportAuthUserSignOutResponse.md +0 -2
  117. package/docs/{PassportAuthUserUpdateUserRequest.md → PassportAuthUserUpdateInfoRequest.md} +3 -3
  118. package/docs/{PassportAuthUserUpdateUserResponse.md → PassportAuthUserUpdateInfoResponse.md} +3 -3
  119. package/docs/{PassportAuthUserRequestPasswordResetRequest.md → PassportAuthUserVerifyEmailRequest.md} +7 -5
  120. package/docs/PassportAuthUserVerifyEmailResponse.md +0 -2
  121. package/docs/PassportAuthUserVerifyPhoneRequest.md +24 -0
  122. package/docs/PassportAuthUserVerifyPhoneResponse.md +0 -2
  123. package/docs/PassportEnterprisePasswordResetRequest.md +24 -0
  124. package/docs/{PassportAuthUserSignUpEmailResponse.md → PassportEnterprisePasswordResetResponse.md} +5 -9
  125. package/docs/PassportEnterpriseSendVerificationEmailRequest.md +24 -0
  126. package/docs/PassportEnterpriseSendVerificationEmailResponse.md +22 -0
  127. package/docs/PassportEnterpriseSendVerificationPhoneRequest.md +24 -0
  128. package/docs/PassportEnterpriseSendVerificationPhoneResponse.md +22 -0
  129. package/docs/PassportEnterpriseSignInEmailRequest.md +30 -0
  130. package/docs/PassportEnterpriseSignInEmailResponse.md +30 -0
  131. package/docs/PassportEnterpriseSignInPhoneRequest.md +24 -0
  132. package/docs/PassportEnterpriseSignInPhoneResponse.md +26 -0
  133. package/docs/PassportEnterpriseSignUpEmailRequest.md +34 -0
  134. package/docs/PassportEnterpriseSignUpEmailResponse.md +26 -0
  135. package/docs/PassportSendVerificationEmailRequest.md +26 -0
  136. package/docs/{PassportAuthUserRevokeSessionResponse.md → PassportSendVerificationEmailResponse.md} +3 -3
  137. package/docs/PassportSendVerificationPhoneRequest.md +26 -0
  138. package/docs/{PassportAuthUserResetPasswordResponse.md → PassportSendVerificationPhoneResponse.md} +3 -3
  139. package/docs/{PassportAuthUserOAuthCallbackResponse.md → PassportUserOAuthCallbackResponse.md} +6 -6
  140. package/docs/PassportUserPasswordResetRequest.md +28 -0
  141. package/docs/PassportUserPasswordResetResponse.md +26 -0
  142. package/docs/{PassportAuthUserSignInEmailRequest.md → PassportUserSignInEmailRequest.md} +9 -5
  143. package/docs/{PassportAuthUserSignInSocialResponse.md → PassportUserSignInEmailResponse.md} +6 -6
  144. package/docs/{PassportAuthUserSignInPhoneRequest.md → PassportUserSignInPhoneRequest.md} +7 -5
  145. package/docs/PassportUserSignInPhoneResponse.md +28 -0
  146. package/docs/{PassportAuthUserSignInSocialRequest.md → PassportUserSignInSocialRequest.md} +5 -5
  147. package/docs/PassportUserSignInSocialResponse.md +32 -0
  148. package/docs/{PassportAuthUserSignUpEmailRequest.md → PassportUserSignUpEmailRequest.md} +8 -6
  149. package/docs/{PassportAuthUserSignInEmailResponse.md → PassportUserSignUpEmailResponse.md} +6 -6
  150. package/docs/RemoteConfigAdminServiceApi.md +18 -3
  151. package/docs/RemoteConfigItemGetResponse.md +2 -2
  152. package/docs/RemoteConfigItemUpdateRequest.md +6 -0
  153. package/docs/RemoteConfigItemUpdateResponse.md +2 -2
  154. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- # PassportAuthUserSignInEmailRequest
1
+ # PassportUserSignInEmailRequest
2
2
 
3
3
 
4
4
  ## Properties
@@ -8,20 +8,24 @@ Name | Type | Description | Notes
8
8
  **app_ids** | **string** | User.AppID, 支持多个应用同时登录,如果对应 App 的账号,无法完成登录 NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
9
9
  **email** | **string** | | [optional] [default to undefined]
10
10
  **password** | **string** | | [optional] [default to undefined]
11
+ **verify_code** | **string** | | [optional] [default to undefined]
12
+ **remember_me** | **boolean** | 保留参数, 目前暂不设置 cookie | [optional] [default to undefined]
13
+ **redirect** | **boolean** | 是否禁用服务端重定向, 携带 callback_url 时有效 | [optional] [default to undefined]
11
14
  **callback_url** | **string** | | [optional] [default to undefined]
12
- **remember_me** | **boolean** | | [optional] [default to undefined]
13
15
 
14
16
  ## Example
15
17
 
16
18
  ```typescript
17
- import { PassportAuthUserSignInEmailRequest } from '@cherryin/api-client';
19
+ import { PassportUserSignInEmailRequest } from '@cherryin/api-client';
18
20
 
19
- const instance: PassportAuthUserSignInEmailRequest = {
21
+ const instance: PassportUserSignInEmailRequest = {
20
22
  app_ids,
21
23
  email,
22
24
  password,
23
- callback_url,
25
+ verify_code,
24
26
  remember_me,
27
+ redirect,
28
+ callback_url,
25
29
  };
26
30
  ```
27
31
 
@@ -1,4 +1,4 @@
1
- # PassportAuthUserSignInSocialResponse
1
+ # PassportUserSignInEmailResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -9,16 +9,16 @@ Name | Type | Description | Notes
9
9
  **message** | **string** | | [optional] [default to undefined]
10
10
  **redirect** | **boolean** | | [optional] [default to undefined]
11
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]
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
15
 
16
16
  ## Example
17
17
 
18
18
  ```typescript
19
- import { PassportAuthUserSignInSocialResponse } from '@cherryin/api-client';
19
+ import { PassportUserSignInEmailResponse } from '@cherryin/api-client';
20
20
 
21
- const instance: PassportAuthUserSignInSocialResponse = {
21
+ const instance: PassportUserSignInEmailResponse = {
22
22
  code,
23
23
  message,
24
24
  redirect,
@@ -1,4 +1,4 @@
1
- # PassportAuthUserSignInPhoneRequest
1
+ # PassportUserSignInPhoneRequest
2
2
 
3
3
 
4
4
  ## Properties
@@ -6,18 +6,20 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
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]
9
+ **phone_number** | **string** | 手机号,E164 格式 | [optional] [default to undefined]
10
+ **verify_code** | **string** | 验证码 | [optional] [default to undefined]
11
+ **auto_register** | **boolean** | 登录即注册,开启后默认是通过手机号登录验证通过,没有对应用户时会自动注册新用户 | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
14
15
  ```typescript
15
- import { PassportAuthUserSignInPhoneRequest } from '@cherryin/api-client';
16
+ import { PassportUserSignInPhoneRequest } from '@cherryin/api-client';
16
17
 
17
- const instance: PassportAuthUserSignInPhoneRequest = {
18
+ const instance: PassportUserSignInPhoneRequest = {
18
19
  app_ids,
19
20
  phone_number,
20
21
  verify_code,
22
+ auto_register,
21
23
  };
22
24
  ```
23
25
 
@@ -0,0 +1,28 @@
1
+ # PassportUserSignInPhoneResponse
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 { PassportUserSignInPhoneResponse } from '@cherryin/api-client';
18
+
19
+ const instance: PassportUserSignInPhoneResponse = {
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)
@@ -1,4 +1,4 @@
1
- # PassportAuthUserSignInSocialRequest
1
+ # PassportUserSignInSocialRequest
2
2
 
3
3
 
4
4
  ## Properties
@@ -9,21 +9,21 @@ Name | Type | Description | Notes
9
9
  **provider** | **string** | | [optional] [default to undefined]
10
10
  **callback_url** | **string** | | [optional] [default to undefined]
11
11
  **error_callback_url** | **string** | | [optional] [default to undefined]
12
- **disable_redirect** | **boolean** | | [optional] [default to undefined]
12
+ **redirect** | **boolean** | | [optional] [default to undefined]
13
13
  **id_token** | [**AuthIdToken**](AuthIdToken.md) | | [optional] [default to undefined]
14
14
  **scopes** | **Array<string>** | | [optional] [default to undefined]
15
15
 
16
16
  ## Example
17
17
 
18
18
  ```typescript
19
- import { PassportAuthUserSignInSocialRequest } from '@cherryin/api-client';
19
+ import { PassportUserSignInSocialRequest } from '@cherryin/api-client';
20
20
 
21
- const instance: PassportAuthUserSignInSocialRequest = {
21
+ const instance: PassportUserSignInSocialRequest = {
22
22
  app_ids,
23
23
  provider,
24
24
  callback_url,
25
25
  error_callback_url,
26
- disable_redirect,
26
+ redirect,
27
27
  id_token,
28
28
  scopes,
29
29
  };
@@ -0,0 +1,32 @@
1
+ # PassportUserSignInSocialResponse
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 { PassportUserSignInSocialResponse } from '@cherryin/api-client';
20
+
21
+ const instance: PassportUserSignInSocialResponse = {
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)
@@ -1,4 +1,4 @@
1
- # PassportAuthUserSignUpEmailRequest
1
+ # PassportUserSignUpEmailRequest
2
2
 
3
3
 
4
4
  ## Properties
@@ -9,25 +9,27 @@ Name | Type | Description | Notes
9
9
  **name** | **string** | | [optional] [default to undefined]
10
10
  **email** | **string** | | [optional] [default to undefined]
11
11
  **password** | **string** | | [optional] [default to undefined]
12
+ **verify_code** | **string** | | [optional] [default to undefined]
12
13
  **avatar_url** | **string** | | [optional] [default to undefined]
14
+ **redirect** | **boolean** | 是否禁用服务端重定向, 携带 callback_url 时有效 | [optional] [default to undefined]
13
15
  **callback_url** | **string** | | [optional] [default to undefined]
14
- **remember_me** | **boolean** | | [optional] [default to undefined]
15
- **disable_redirect** | **boolean** | | [optional] [default to undefined]
16
+ **remember_me** | **boolean** | 保留参数, 目前暂不设置 cookie | [optional] [default to undefined]
16
17
 
17
18
  ## Example
18
19
 
19
20
  ```typescript
20
- import { PassportAuthUserSignUpEmailRequest } from '@cherryin/api-client';
21
+ import { PassportUserSignUpEmailRequest } from '@cherryin/api-client';
21
22
 
22
- const instance: PassportAuthUserSignUpEmailRequest = {
23
+ const instance: PassportUserSignUpEmailRequest = {
23
24
  app_ids,
24
25
  name,
25
26
  email,
26
27
  password,
28
+ verify_code,
27
29
  avatar_url,
30
+ redirect,
28
31
  callback_url,
29
32
  remember_me,
30
- disable_redirect,
31
33
  };
32
34
  ```
33
35
 
@@ -1,4 +1,4 @@
1
- # PassportAuthUserSignInEmailResponse
1
+ # PassportUserSignUpEmailResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -9,16 +9,16 @@ Name | Type | Description | Notes
9
9
  **message** | **string** | | [optional] [default to undefined]
10
10
  **redirect** | **boolean** | | [optional] [default to undefined]
11
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]
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
15
 
16
16
  ## Example
17
17
 
18
18
  ```typescript
19
- import { PassportAuthUserSignInEmailResponse } from '@cherryin/api-client';
19
+ import { PassportUserSignUpEmailResponse } from '@cherryin/api-client';
20
20
 
21
- const instance: PassportAuthUserSignInEmailResponse = {
21
+ const instance: PassportUserSignUpEmailResponse = {
22
22
  code,
23
23
  message,
24
24
  redirect,
@@ -79,10 +79,14 @@ import {
79
79
  const configuration = new Configuration();
80
80
  const apiInstance = new RemoteConfigAdminServiceApi(configuration);
81
81
 
82
+ let service: string; // (optional) (default to undefined)
82
83
  let key: string; // (optional) (default to undefined)
84
+ let envList: Array<string>; //要删除的环境列表,若为空则删除所有环境 (optional) (default to undefined)
83
85
 
84
86
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemDelete(
85
- key
87
+ service,
88
+ key,
89
+ envList
86
90
  );
87
91
  ```
88
92
 
@@ -90,7 +94,9 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
90
94
 
91
95
  |Name | Type | Description | Notes|
92
96
  |------------- | ------------- | ------------- | -------------|
97
+ | **service** | [**string**] | | (optional) defaults to undefined|
93
98
  | **key** | [**string**] | | (optional) defaults to undefined|
99
+ | **envList** | **Array&lt;string&gt;** | 要删除的环境列表,若为空则删除所有环境 | (optional) defaults to undefined|
94
100
 
95
101
 
96
102
  ### Return type
@@ -131,10 +137,12 @@ import {
131
137
  const configuration = new Configuration();
132
138
  const apiInstance = new RemoteConfigAdminServiceApi(configuration);
133
139
 
140
+ let service: string; //@gotags: form:\"service\" binding:\"required\" (optional) (default to undefined)
134
141
  let key: string; //@gotags: form:\"key\" binding:\"required\" (optional) (default to undefined)
135
142
  let historyLimit: number; //@gotags: form:\"history_limit\" (optional) (default to undefined)
136
143
 
137
144
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemGet(
145
+ service,
138
146
  key,
139
147
  historyLimit
140
148
  );
@@ -144,6 +152,7 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
144
152
 
145
153
  |Name | Type | Description | Notes|
146
154
  |------------- | ------------- | ------------- | -------------|
155
+ | **service** | [**string**] | @gotags: form:\&quot;service\&quot; binding:\&quot;required\&quot; | (optional) defaults to undefined|
147
156
  | **key** | [**string**] | @gotags: form:\&quot;key\&quot; binding:\&quot;required\&quot; | (optional) defaults to undefined|
148
157
  | **historyLimit** | [**number**] | @gotags: form:\&quot;history_limit\&quot; | (optional) defaults to undefined|
149
158
 
@@ -188,13 +197,17 @@ const apiInstance = new RemoteConfigAdminServiceApi(configuration);
188
197
 
189
198
  let page: number; // (optional) (default to undefined)
190
199
  let pageSize: number; // (optional) (default to undefined)
200
+ let services: Array<string>; // (optional) (default to undefined)
191
201
  let keys: Array<string>; // (optional) (default to undefined)
192
- let keyword: string; // (optional) (default to undefined)
202
+ let envList: Array<string>; // (optional) (default to undefined)
203
+ let keyword: string; //搜索关键词,模糊匹配 key + payload + values 字段 (optional) (default to undefined)
193
204
 
194
205
  const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigItemList(
195
206
  page,
196
207
  pageSize,
208
+ services,
197
209
  keys,
210
+ envList,
198
211
  keyword
199
212
  );
200
213
  ```
@@ -205,8 +218,10 @@ const { status, data } = await apiInstance.remoteConfigAdminServiceRemoteConfigI
205
218
  |------------- | ------------- | ------------- | -------------|
206
219
  | **page** | [**number**] | | (optional) defaults to undefined|
207
220
  | **pageSize** | [**number**] | | (optional) defaults to undefined|
221
+ | **services** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
208
222
  | **keys** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
209
- | **keyword** | [**string**] | | (optional) defaults to undefined|
223
+ | **envList** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
224
+ | **keyword** | [**string**] | 搜索关键词,模糊匹配 key + payload + values 字段 | (optional) defaults to undefined|
210
225
 
211
226
 
212
227
  ### Return type
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **code** | **string** | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
- **data** | [**ConfigItemHistory**](ConfigItemHistory.md) | | [optional] [default to undefined]
10
+ **items** | [**Array&lt;ConfigItemHistory&gt;**](ConfigItemHistory.md) | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -17,7 +17,7 @@ import { RemoteConfigItemGetResponse } from '@cherryin/api-client';
17
17
  const instance: RemoteConfigItemGetResponse = {
18
18
  code,
19
19
  message,
20
- data,
20
+ items,
21
21
  };
22
22
  ```
23
23
 
@@ -5,7 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **service** | **string** | | [optional] [default to undefined]
8
9
  **key** | **string** | | [optional] [default to undefined]
10
+ **envList** | **Array&lt;string&gt;** | | [optional] [default to undefined]
11
+ **forceUpdateEnvs** | **boolean** | 是否强制更新所有环境的配置项,若为 true 则忽略 env_list,仅更新 item 中指定的环境配置 如果为 false,则仅更新 env_list 中指定的环境配置,并且 env_list 不能为空 | [optional] [default to undefined]
9
12
  **item** | [**ConfigItem**](ConfigItem.md) | | [optional] [default to undefined]
10
13
 
11
14
  ## Example
@@ -14,7 +17,10 @@ Name | Type | Description | Notes
14
17
  import { RemoteConfigItemUpdateRequest } from '@cherryin/api-client';
15
18
 
16
19
  const instance: RemoteConfigItemUpdateRequest = {
20
+ service,
17
21
  key,
22
+ envList,
23
+ forceUpdateEnvs,
18
24
  item,
19
25
  };
20
26
  ```
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **code** | **string** | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
- **item** | [**ConfigItem**](ConfigItem.md) | | [optional] [default to undefined]
10
+ **items** | [**Array&lt;ConfigItem&gt;**](ConfigItem.md) | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -17,7 +17,7 @@ import { RemoteConfigItemUpdateResponse } from '@cherryin/api-client';
17
17
  const instance: RemoteConfigItemUpdateResponse = {
18
18
  code,
19
19
  message,
20
- item,
20
+ items,
21
21
  };
22
22
  ```
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherryin/api-client",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "OpenAPI client for @cherryin/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {