@cherryin/api-client 0.0.3 → 0.0.4

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 (106) hide show
  1. package/.openapi-generator/FILES +11 -73
  2. package/README.md +16 -110
  3. package/api.ts +749 -3348
  4. package/dist/api.d.ts +614 -2017
  5. package/dist/api.js +922 -2828
  6. package/dist/esm/api.d.ts +614 -2017
  7. package/dist/esm/api.js +902 -2803
  8. package/docs/AIModelAdminServiceApi.md +0 -53
  9. package/docs/AIModelCreateResponse.md +2 -2
  10. package/docs/AIModelDeleteResponse.md +2 -2
  11. package/docs/AIModelDisableResponse.md +2 -2
  12. package/docs/AIModelGetResponse.md +2 -2
  13. package/docs/AIModelListResponse.md +2 -2
  14. package/docs/AIModelPublishResponse.md +2 -2
  15. package/docs/AIModelUpdateResponse.md +2 -2
  16. package/docs/{AuthResetPasswordResponse.md → AdminAuthFlowInitResponse.md} +5 -5
  17. package/docs/AdminAuthServiceApi.md +81 -0
  18. package/docs/AuthFlowResult.md +23 -0
  19. package/docs/{Auth2IdToken.md → AuthTokenPair.md} +8 -10
  20. package/docs/ProviderCreateResponse.md +2 -2
  21. package/docs/ProviderDeleteResponse.md +2 -2
  22. package/docs/ProviderGetResponse.md +2 -2
  23. package/docs/ProviderListResponse.md +2 -2
  24. package/docs/ProviderModelCreateResponse.md +2 -2
  25. package/docs/ProviderModelDeleteResponse.md +2 -2
  26. package/docs/ProviderModelGetResponse.md +2 -2
  27. package/docs/ProviderModelListResponse.md +2 -2
  28. package/docs/ProviderModelUpdateResponse.md +2 -2
  29. package/docs/ProviderUpdateResponse.md +2 -2
  30. package/docs/UserAuthFlowCodeResponse.md +26 -0
  31. package/docs/UserAuthFlowInitResponse.md +28 -0
  32. package/docs/{RemoteConfigItemDeleteRequest.md → UserAuthFlowInitResponseOAuthResult.md} +5 -5
  33. package/docs/{AuthRequestPasswordResetResponse.md → UserAuthFlowOAuthCallbackRequest.md} +7 -7
  34. package/docs/{AuthSendVerificationEmailResponse.md → UserAuthFlowOAuthCallbackResponse.md} +7 -5
  35. package/docs/{AuthRevokeSessionRequest.md → UserAuthInfo.md} +5 -5
  36. package/docs/UserAuthServiceApi.md +279 -0
  37. package/docs/UserInfo.md +8 -14
  38. package/docs/UserPayServiceApi.md +3 -12
  39. package/package.json +1 -1
  40. package/docs/AIModelCheckConnectionResponse.md +0 -25
  41. package/docs/AIModelCheckItem.md +0 -32
  42. package/docs/AIModelCheckResult.md +0 -23
  43. package/docs/Auth2Account.md +0 -33
  44. package/docs/Auth2Admin.md +0 -33
  45. package/docs/Auth2AdminServiceApi.md +0 -469
  46. package/docs/Auth2AdminSession.md +0 -35
  47. package/docs/Auth2Session.md +0 -35
  48. package/docs/Auth2User.md +0 -33
  49. package/docs/Auth2UserServiceApi.md +0 -1203
  50. package/docs/AuthAdminChangePasswordRequest.md +0 -24
  51. package/docs/AuthAdminChangePasswordResponse.md +0 -26
  52. package/docs/AuthAdminGetSessionResponse.md +0 -26
  53. package/docs/AuthAdminListSessionsResponse.md +0 -24
  54. package/docs/AuthAdminRevokeOtherSessionsResponse.md +0 -24
  55. package/docs/AuthAdminRevokeSessionRequest.md +0 -20
  56. package/docs/AuthAdminRevokeSessionResponse.md +0 -24
  57. package/docs/AuthAdminRevokeSessionsResponse.md +0 -24
  58. package/docs/AuthAdminSignInEmailRequest.md +0 -26
  59. package/docs/AuthAdminSignInEmailResponse.md +0 -26
  60. package/docs/AuthAdminSignOutResponse.md +0 -24
  61. package/docs/AuthAdminUpdateUserRequest.md +0 -22
  62. package/docs/AuthAdminUpdateUserResponse.md +0 -24
  63. package/docs/AuthChangeEmailRequest.md +0 -22
  64. package/docs/AuthChangeEmailResponse.md +0 -26
  65. package/docs/AuthChangePasswordRequest.md +0 -24
  66. package/docs/AuthChangePasswordResponse.md +0 -26
  67. package/docs/AuthDeleteUserRequest.md +0 -24
  68. package/docs/AuthDeleteUserResponse.md +0 -24
  69. package/docs/AuthGetAccessTokenRequest.md +0 -24
  70. package/docs/AuthGetAccessTokenResponse.md +0 -34
  71. package/docs/AuthGetAccountInfoResponse.md +0 -24
  72. package/docs/AuthGetSessionResponse.md +0 -26
  73. package/docs/AuthLinkSocialRequest.md +0 -30
  74. package/docs/AuthLinkSocialResponse.md +0 -28
  75. package/docs/AuthListAccountsResponse.md +0 -24
  76. package/docs/AuthListSessionsResponse.md +0 -24
  77. package/docs/AuthRefreshTokenRequest.md +0 -24
  78. package/docs/AuthRefreshTokenResponse.md +0 -34
  79. package/docs/AuthRequestPasswordResetRequest.md +0 -22
  80. package/docs/AuthResetPasswordRequest.md +0 -22
  81. package/docs/AuthRevokeOtherSessionsResponse.md +0 -24
  82. package/docs/AuthRevokeSessionResponse.md +0 -24
  83. package/docs/AuthRevokeSessionsResponse.md +0 -24
  84. package/docs/AuthSendVerificationEmailRequest.md +0 -22
  85. package/docs/AuthSignInEmailRequest.md +0 -26
  86. package/docs/AuthSignInEmailResponse.md +0 -30
  87. package/docs/AuthSignInSocialRequest.md +0 -30
  88. package/docs/AuthSignInSocialResponse.md +0 -30
  89. package/docs/AuthSignOutResponse.md +0 -24
  90. package/docs/AuthSignUpEmailRequest.md +0 -32
  91. package/docs/AuthSignUpEmailResponse.md +0 -28
  92. package/docs/AuthUnlinkAccountRequest.md +0 -22
  93. package/docs/AuthUnlinkAccountResponse.md +0 -24
  94. package/docs/AuthUpdateUserRequest.md +0 -22
  95. package/docs/AuthUpdateUserResponse.md +0 -24
  96. package/docs/AuthVerifyEmailResponse.md +0 -24
  97. package/docs/ConfigItem.md +0 -32
  98. package/docs/ConfigItemHistory.md +0 -22
  99. package/docs/RemoteConfigAdminServiceApi.md +0 -287
  100. package/docs/RemoteConfigItemCreateRequest.md +0 -20
  101. package/docs/RemoteConfigItemCreateResponse.md +0 -24
  102. package/docs/RemoteConfigItemDeleteResponse.md +0 -22
  103. package/docs/RemoteConfigItemGetResponse.md +0 -24
  104. package/docs/RemoteConfigItemListResponse.md +0 -26
  105. package/docs/RemoteConfigItemUpdateRequest.md +0 -22
  106. package/docs/RemoteConfigItemUpdateResponse.md +0 -24
@@ -0,0 +1,279 @@
1
+ # UserAuthServiceApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**userAuthServiceUserAuthFlowCode**](#userauthserviceuserauthflowcode) | **POST** /auth/v1/flow/code | |
8
+ |[**userAuthServiceUserAuthFlowInit**](#userauthserviceuserauthflowinit) | **POST** /auth/v1/flow/init | |
9
+ |[**userAuthServiceUserAuthFlowOAuthCallback**](#userauthserviceuserauthflowoauthcallback) | **GET** /auth/v1/flow/oauth/cb | |
10
+ |[**userAuthServiceUserAuthFlowTokenRefresh**](#userauthserviceuserauthflowtokenrefresh) | **POST** /auth/v1/flow/refresh_token | |
11
+
12
+ # **userAuthServiceUserAuthFlowCode**
13
+ > UserAuthFlowCodeResponse userAuthServiceUserAuthFlowCode()
14
+
15
+ 提交验证码流程
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ UserAuthServiceApi,
22
+ Configuration
23
+ } from '@cherryin/api-client';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new UserAuthServiceApi(configuration);
27
+
28
+ let authType: number; // (optional) (default to undefined)
29
+ let authAction: number; // (optional) (default to undefined)
30
+ let payloadEmailPayloadUserEmail: string; // (optional) (default to undefined)
31
+ let payloadEmailPayloadAuthCode: string; // (optional) (default to undefined)
32
+ let payloadEmailPayloadUserPasswordEncrypt: string; // (optional) (default to undefined)
33
+ let authAt: string; // (optional) (default to undefined)
34
+ let nonce: string; // (optional) (default to undefined)
35
+ let signature: string; //加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt ) (optional) (default to undefined)
36
+
37
+ const { status, data } = await apiInstance.userAuthServiceUserAuthFlowCode(
38
+ authType,
39
+ authAction,
40
+ payloadEmailPayloadUserEmail,
41
+ payloadEmailPayloadAuthCode,
42
+ payloadEmailPayloadUserPasswordEncrypt,
43
+ authAt,
44
+ nonce,
45
+ signature
46
+ );
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+ |Name | Type | Description | Notes|
52
+ |------------- | ------------- | ------------- | -------------|
53
+ | **authType** | [**number**] | | (optional) defaults to undefined|
54
+ | **authAction** | [**number**] | | (optional) defaults to undefined|
55
+ | **payloadEmailPayloadUserEmail** | [**string**] | | (optional) defaults to undefined|
56
+ | **payloadEmailPayloadAuthCode** | [**string**] | | (optional) defaults to undefined|
57
+ | **payloadEmailPayloadUserPasswordEncrypt** | [**string**] | | (optional) defaults to undefined|
58
+ | **authAt** | [**string**] | | (optional) defaults to undefined|
59
+ | **nonce** | [**string**] | | (optional) defaults to undefined|
60
+ | **signature** | [**string**] | 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | AuthCode | UserPasswordEncrypt ) | (optional) defaults to undefined|
61
+
62
+
63
+ ### Return type
64
+
65
+ **UserAuthFlowCodeResponse**
66
+
67
+ ### Authorization
68
+
69
+ No authorization required
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: Not defined
74
+ - **Accept**: application/json
75
+
76
+
77
+ ### HTTP response details
78
+ | Status code | Description | Response headers |
79
+ |-------------|-------------|------------------|
80
+ |**200** | OK | - |
81
+ |**0** | Default error response | - |
82
+
83
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
84
+
85
+ # **userAuthServiceUserAuthFlowInit**
86
+ > UserAuthFlowInitResponse userAuthServiceUserAuthFlowInit()
87
+
88
+ 鉴权流程启动
89
+
90
+ ### Example
91
+
92
+ ```typescript
93
+ import {
94
+ UserAuthServiceApi,
95
+ Configuration
96
+ } from '@cherryin/api-client';
97
+
98
+ const configuration = new Configuration();
99
+ const apiInstance = new UserAuthServiceApi(configuration);
100
+
101
+ let authType: number; // (optional) (default to undefined)
102
+ let authAction: number; // (optional) (default to undefined)
103
+ let payloadEmailPayloadUserEmail: string; // (optional) (default to undefined)
104
+ let payloadEmailPayloadUserPasswordEncrypt: string; // (optional) (default to undefined)
105
+ let payloadEmailPayloadDisplayName: string; // (optional) (default to undefined)
106
+ let payloadOauth2PayloadPlatform: number; // (optional) (default to undefined)
107
+ let authAt: string; // (optional) (default to undefined)
108
+ let nonce: string; // (optional) (default to undefined)
109
+ let signature: string; //加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform ) (optional) (default to undefined)
110
+
111
+ const { status, data } = await apiInstance.userAuthServiceUserAuthFlowInit(
112
+ authType,
113
+ authAction,
114
+ payloadEmailPayloadUserEmail,
115
+ payloadEmailPayloadUserPasswordEncrypt,
116
+ payloadEmailPayloadDisplayName,
117
+ payloadOauth2PayloadPlatform,
118
+ authAt,
119
+ nonce,
120
+ signature
121
+ );
122
+ ```
123
+
124
+ ### Parameters
125
+
126
+ |Name | Type | Description | Notes|
127
+ |------------- | ------------- | ------------- | -------------|
128
+ | **authType** | [**number**] | | (optional) defaults to undefined|
129
+ | **authAction** | [**number**] | | (optional) defaults to undefined|
130
+ | **payloadEmailPayloadUserEmail** | [**string**] | | (optional) defaults to undefined|
131
+ | **payloadEmailPayloadUserPasswordEncrypt** | [**string**] | | (optional) defaults to undefined|
132
+ | **payloadEmailPayloadDisplayName** | [**string**] | | (optional) defaults to undefined|
133
+ | **payloadOauth2PayloadPlatform** | [**number**] | | (optional) defaults to undefined|
134
+ | **authAt** | [**string**] | | (optional) defaults to undefined|
135
+ | **nonce** | [**string**] | | (optional) defaults to undefined|
136
+ | **signature** | [**string**] | 加密方式: step1: 拼接一个字符串: s = \"cherryin_v1:{auth_type}:{auth_action}:{auth_at}:{nonce}:{payload.k1}:{payload.k2}:...}\" step2: md5(s) step3: hex_encode(step2) Payload 字段参与加密的字段如下: AuthType=Email:(空字符串也需要拼接) * UserEmail | UserPasswordEncrypt | DisplayName AuthType=OAuth2: * Platform ) | (optional) defaults to undefined|
137
+
138
+
139
+ ### Return type
140
+
141
+ **UserAuthFlowInitResponse**
142
+
143
+ ### Authorization
144
+
145
+ No authorization required
146
+
147
+ ### HTTP request headers
148
+
149
+ - **Content-Type**: Not defined
150
+ - **Accept**: application/json
151
+
152
+
153
+ ### HTTP response details
154
+ | Status code | Description | Response headers |
155
+ |-------------|-------------|------------------|
156
+ |**200** | OK | - |
157
+ |**0** | Default error response | - |
158
+
159
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
160
+
161
+ # **userAuthServiceUserAuthFlowOAuthCallback**
162
+ > UserAuthFlowOAuthCallbackResponse userAuthServiceUserAuthFlowOAuthCallback()
163
+
164
+ OAUTH 流程验证回调
165
+
166
+ ### Example
167
+
168
+ ```typescript
169
+ import {
170
+ UserAuthServiceApi,
171
+ Configuration
172
+ } from '@cherryin/api-client';
173
+
174
+ const configuration = new Configuration();
175
+ const apiInstance = new UserAuthServiceApi(configuration);
176
+
177
+ let code: string; // (optional) (default to undefined)
178
+ let state: string; // (optional) (default to undefined)
179
+ let platform: number; // (optional) (default to undefined)
180
+
181
+ const { status, data } = await apiInstance.userAuthServiceUserAuthFlowOAuthCallback(
182
+ code,
183
+ state,
184
+ platform
185
+ );
186
+ ```
187
+
188
+ ### Parameters
189
+
190
+ |Name | Type | Description | Notes|
191
+ |------------- | ------------- | ------------- | -------------|
192
+ | **code** | [**string**] | | (optional) defaults to undefined|
193
+ | **state** | [**string**] | | (optional) defaults to undefined|
194
+ | **platform** | [**number**] | | (optional) defaults to undefined|
195
+
196
+
197
+ ### Return type
198
+
199
+ **UserAuthFlowOAuthCallbackResponse**
200
+
201
+ ### Authorization
202
+
203
+ No authorization required
204
+
205
+ ### HTTP request headers
206
+
207
+ - **Content-Type**: Not defined
208
+ - **Accept**: application/json
209
+
210
+
211
+ ### HTTP response details
212
+ | Status code | Description | Response headers |
213
+ |-------------|-------------|------------------|
214
+ |**200** | OK | - |
215
+ |**0** | Default error response | - |
216
+
217
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
218
+
219
+ # **userAuthServiceUserAuthFlowTokenRefresh**
220
+ > UserAuthFlowOAuthCallbackRequest userAuthServiceUserAuthFlowTokenRefresh()
221
+
222
+ Auth Token 刷新接口
223
+
224
+ ### Example
225
+
226
+ ```typescript
227
+ import {
228
+ UserAuthServiceApi,
229
+ Configuration
230
+ } from '@cherryin/api-client';
231
+
232
+ const configuration = new Configuration();
233
+ const apiInstance = new UserAuthServiceApi(configuration);
234
+
235
+ let refreshToken: string; // (optional) (default to undefined)
236
+ let authAt: string; // (optional) (default to undefined)
237
+ let nonce: string; // (optional) (default to undefined)
238
+ let signature: string; // (optional) (default to undefined)
239
+
240
+ const { status, data } = await apiInstance.userAuthServiceUserAuthFlowTokenRefresh(
241
+ refreshToken,
242
+ authAt,
243
+ nonce,
244
+ signature
245
+ );
246
+ ```
247
+
248
+ ### Parameters
249
+
250
+ |Name | Type | Description | Notes|
251
+ |------------- | ------------- | ------------- | -------------|
252
+ | **refreshToken** | [**string**] | | (optional) defaults to undefined|
253
+ | **authAt** | [**string**] | | (optional) defaults to undefined|
254
+ | **nonce** | [**string**] | | (optional) defaults to undefined|
255
+ | **signature** | [**string**] | | (optional) defaults to undefined|
256
+
257
+
258
+ ### Return type
259
+
260
+ **UserAuthFlowOAuthCallbackRequest**
261
+
262
+ ### Authorization
263
+
264
+ No authorization required
265
+
266
+ ### HTTP request headers
267
+
268
+ - **Content-Type**: Not defined
269
+ - **Accept**: application/json
270
+
271
+
272
+ ### HTTP response details
273
+ | Status code | Description | Response headers |
274
+ |-------------|-------------|------------------|
275
+ |**200** | OK | - |
276
+ |**0** | Default error response | - |
277
+
278
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
279
+
package/docs/UserInfo.md CHANGED
@@ -5,13 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [optional] [default to undefined]
9
- **name** | **string** | | [optional] [default to undefined]
10
- **email** | **string** | | [optional] [default to undefined]
11
- **email_verified** | **boolean** | | [optional] [default to undefined]
12
- **image** | **string** | | [optional] [default to undefined]
13
- **created_at** | **string** | | [optional] [default to undefined]
14
- **updated_at** | **string** | | [optional] [default to undefined]
8
+ **user_id** | **string** | | [optional] [default to undefined]
9
+ **display_name** | **string** | | [optional] [default to undefined]
10
+ **avatar_url** | **string** | | [optional] [default to undefined]
11
+ **contact_email** | **string** | | [optional] [default to undefined]
15
12
 
16
13
  ## Example
17
14
 
@@ -19,13 +16,10 @@ Name | Type | Description | Notes
19
16
  import { UserInfo } from '@cherryin/api-client';
20
17
 
21
18
  const instance: UserInfo = {
22
- id,
23
- name,
24
- email,
25
- email_verified,
26
- image,
27
- created_at,
28
- updated_at,
19
+ user_id,
20
+ display_name,
21
+ avatar_url,
22
+ contact_email,
29
23
  };
30
24
  ```
31
25
 
@@ -22,17 +22,11 @@ const configuration = new Configuration();
22
22
  const apiInstance = new UserPayServiceApi(configuration);
23
23
 
24
24
  let currencyCode: string; // (optional) (default to undefined)
25
- let chargeAmount: string; // (optional) (default to undefined)
26
- let redirect: boolean; // (optional) (default to undefined)
27
- let successUrl: string; // (optional) (default to undefined)
28
- let cancelUrl: string; // (optional) (default to undefined)
25
+ let chargeAmount: number; // (optional) (default to undefined)
29
26
 
30
27
  const { status, data } = await apiInstance.userPayServiceUserPayStripeCheckout(
31
28
  currencyCode,
32
- chargeAmount,
33
- redirect,
34
- successUrl,
35
- cancelUrl
29
+ chargeAmount
36
30
  );
37
31
  ```
38
32
 
@@ -41,10 +35,7 @@ const { status, data } = await apiInstance.userPayServiceUserPayStripeCheckout(
41
35
  |Name | Type | Description | Notes|
42
36
  |------------- | ------------- | ------------- | -------------|
43
37
  | **currencyCode** | [**string**] | | (optional) defaults to undefined|
44
- | **chargeAmount** | [**string**] | | (optional) defaults to undefined|
45
- | **redirect** | [**boolean**] | | (optional) defaults to undefined|
46
- | **successUrl** | [**string**] | | (optional) defaults to undefined|
47
- | **cancelUrl** | [**string**] | | (optional) defaults to undefined|
38
+ | **chargeAmount** | [**number**] | | (optional) defaults to undefined|
48
39
 
49
40
 
50
41
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherryin/api-client",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "OpenAPI client for @cherryin/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,25 +0,0 @@
1
- # AIModelCheckConnectionResponse
2
-
3
- AIModelCheckResult AI 模型连接检查结果
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
- **message** | **string** | | [optional] [default to undefined]
11
- **results** | [**Array<AIModelCheckResult>**](AIModelCheckResult.md) | | [optional] [default to undefined]
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import { AIModelCheckConnectionResponse } from '@cherryin/api-client';
17
-
18
- const instance: AIModelCheckConnectionResponse = {
19
- code,
20
- message,
21
- results,
22
- };
23
- ```
24
-
25
- [[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,32 +0,0 @@
1
- # AIModelCheckItem
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **ai_model_name** | **string** | AI 模型名称 | [optional] [default to undefined]
9
- **provider_name** | **string** | 供应商名称 | [optional] [default to undefined]
10
- **provider_model_name** | **string** | 供应商模型名称 | [optional] [default to undefined]
11
- **ai_model_endpoint** | **string** | AI 模型端点 | [optional] [default to undefined]
12
- **provider_model_endpoint** | **string** | 供应商模型端点 | [optional] [default to undefined]
13
- **is_valid** | **boolean** | 是否有效 | [optional] [default to undefined]
14
- **error** | **string** | 错误信息 | [optional] [default to undefined]
15
-
16
- ## Example
17
-
18
- ```typescript
19
- import { AIModelCheckItem } from '@cherryin/api-client';
20
-
21
- const instance: AIModelCheckItem = {
22
- ai_model_name,
23
- provider_name,
24
- provider_model_name,
25
- ai_model_endpoint,
26
- provider_model_endpoint,
27
- is_valid,
28
- error,
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,23 +0,0 @@
1
- # AIModelCheckResult
2
-
3
- AIModelCheckResult AI 模型验证结果
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **ai_model_name** | **string** | AI 模型名称 | [optional] [default to undefined]
10
- **items** | [**Array<AIModelCheckItem>**](AIModelCheckItem.md) | 供应商名称 | [optional] [default to undefined]
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import { AIModelCheckResult } from '@cherryin/api-client';
16
-
17
- const instance: AIModelCheckResult = {
18
- ai_model_name,
19
- items,
20
- };
21
- ```
22
-
23
- [[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,33 +0,0 @@
1
- # Auth2Account
2
-
3
- 关联账号信息 (映射 db.UserAuthMethod)
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | | [optional] [default to undefined]
10
- **account_id** | **string** | | [optional] [default to undefined]
11
- **provider_id** | **string** | | [optional] [default to undefined]
12
- **user_id** | **string** | | [optional] [default to undefined]
13
- **created_at** | **string** | | [optional] [default to undefined]
14
- **updated_at** | **string** | | [optional] [default to undefined]
15
- **scopes** | **Array<string>** | | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { Auth2Account } from '@cherryin/api-client';
21
-
22
- const instance: Auth2Account = {
23
- id,
24
- account_id,
25
- provider_id,
26
- user_id,
27
- created_at,
28
- updated_at,
29
- scopes,
30
- };
31
- ```
32
-
33
- [[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,33 +0,0 @@
1
- # Auth2Admin
2
-
3
- 管理员用户信息 (映射 db.User,包含角色信息)
4
-
5
- ## Properties
6
-
7
- Name | Type | Description | Notes
8
- ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | | [optional] [default to undefined]
10
- **name** | **string** | | [optional] [default to undefined]
11
- **email** | **string** | | [optional] [default to undefined]
12
- **image** | **string** | | [optional] [default to undefined]
13
- **role** | **number** | | [optional] [default to undefined]
14
- **created_at** | **string** | | [optional] [default to undefined]
15
- **updated_at** | **string** | | [optional] [default to undefined]
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import { Auth2Admin } from '@cherryin/api-client';
21
-
22
- const instance: Auth2Admin = {
23
- id,
24
- name,
25
- email,
26
- image,
27
- role,
28
- created_at,
29
- updated_at,
30
- };
31
- ```
32
-
33
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)