@cherryin/aigw-api-client 0.1.0

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 (200) hide show
  1. package/.openapi-generator/FILES +180 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +289 -0
  5. package/api.ts +8041 -0
  6. package/base.ts +62 -0
  7. package/common.ts +113 -0
  8. package/configuration.ts +121 -0
  9. package/dist/api.d.ts +4760 -0
  10. package/dist/api.js +5694 -0
  11. package/dist/base.d.ts +42 -0
  12. package/dist/base.js +46 -0
  13. package/dist/common.d.ts +28 -0
  14. package/dist/common.js +124 -0
  15. package/dist/configuration.d.ts +98 -0
  16. package/dist/configuration.js +44 -0
  17. package/dist/esm/api.d.ts +4760 -0
  18. package/dist/esm/api.js +5638 -0
  19. package/dist/esm/base.d.ts +42 -0
  20. package/dist/esm/base.js +41 -0
  21. package/dist/esm/common.d.ts +28 -0
  22. package/dist/esm/common.js +112 -0
  23. package/dist/esm/configuration.d.ts +98 -0
  24. package/dist/esm/configuration.js +40 -0
  25. package/dist/esm/index.d.ts +13 -0
  26. package/dist/esm/index.js +15 -0
  27. package/dist/index.d.ts +13 -0
  28. package/dist/index.js +31 -0
  29. package/docs/AIModelAdminServiceApi.md +454 -0
  30. package/docs/AIModelPricingConfig.md +36 -0
  31. package/docs/AdminAIModel.md +72 -0
  32. package/docs/AdminAIModelCheckConnectionResponse.md +24 -0
  33. package/docs/AdminAIModelCheckItem.md +32 -0
  34. package/docs/AdminAIModelCheckResult.md +22 -0
  35. package/docs/AdminAIModelCreateRequest.md +66 -0
  36. package/docs/AdminAIModelCreateResponse.md +24 -0
  37. package/docs/AdminAIModelDeleteResponse.md +22 -0
  38. package/docs/AdminAIModelDisableRequest.md +22 -0
  39. package/docs/AdminAIModelDisableResponse.md +24 -0
  40. package/docs/AdminAIModelDiscountConfig.md +20 -0
  41. package/docs/AdminAIModelGetResponse.md +24 -0
  42. package/docs/AdminAIModelListResponse.md +26 -0
  43. package/docs/AdminAIModelProviderConfigItem.md +28 -0
  44. package/docs/AdminAIModelPublishRequest.md +22 -0
  45. package/docs/AdminAIModelPublishResponse.md +24 -0
  46. package/docs/AdminAIModelUpdateRequest.md +24 -0
  47. package/docs/AdminAIModelUpdateResponse.md +24 -0
  48. package/docs/AdminAPIToken.md +40 -0
  49. package/docs/AdminAPITokenCreateRequest.md +24 -0
  50. package/docs/AdminAPITokenCreateResponse.md +26 -0
  51. package/docs/AdminAPITokenDeleteResponse.md +22 -0
  52. package/docs/AdminAPITokenGetResponse.md +24 -0
  53. package/docs/AdminAPITokenListResponse.md +26 -0
  54. package/docs/AdminAPITokenRefreshRequest.md +20 -0
  55. package/docs/AdminAPITokenRefreshResponse.md +26 -0
  56. package/docs/AdminAPITokenScopes.md +24 -0
  57. package/docs/AdminAPITokenServiceApi.md +325 -0
  58. package/docs/AdminAPITokenUpdateRequest.md +28 -0
  59. package/docs/AdminAPITokenUpdateResponse.md +24 -0
  60. package/docs/AdminProvider.md +46 -0
  61. package/docs/AdminProviderCreateRequest.md +40 -0
  62. package/docs/AdminProviderCreateResponse.md +24 -0
  63. package/docs/AdminProviderDeleteResponse.md +22 -0
  64. package/docs/AdminProviderGetResponse.md +24 -0
  65. package/docs/AdminProviderListResponse.md +26 -0
  66. package/docs/AdminProviderModel.md +68 -0
  67. package/docs/AdminProviderModelCreateRequest.md +62 -0
  68. package/docs/AdminProviderModelCreateResponse.md +24 -0
  69. package/docs/AdminProviderModelDeleteResponse.md +22 -0
  70. package/docs/AdminProviderModelGetResponse.md +24 -0
  71. package/docs/AdminProviderModelListResponse.md +26 -0
  72. package/docs/AdminProviderModelUpdateRequest.md +26 -0
  73. package/docs/AdminProviderModelUpdateResponse.md +24 -0
  74. package/docs/AdminProviderUpdateRequest.md +26 -0
  75. package/docs/AdminProviderUpdateResponse.md +24 -0
  76. package/docs/AigwpbLabel.md +28 -0
  77. package/docs/AigwpbUserMeInfo.md +24 -0
  78. package/docs/AigwpbUserPayStripeCheckout.md +20 -0
  79. package/docs/AigwpbUserPortalDashboard.md +24 -0
  80. package/docs/Any.md +20 -0
  81. package/docs/AudioPricing.md +32 -0
  82. package/docs/BatchUpdateSessionsRequest.md +24 -0
  83. package/docs/BatchUpdateSessionsResponse.md +24 -0
  84. package/docs/CodeExecutionPricing.md +24 -0
  85. package/docs/DiscountAdminServiceApi.md +275 -0
  86. package/docs/DiscountCreateRequest.md +36 -0
  87. package/docs/DiscountDeleteResponse.md +22 -0
  88. package/docs/DiscountGetResponse.md +24 -0
  89. package/docs/DiscountInfo.md +42 -0
  90. package/docs/DiscountListResponse.md +26 -0
  91. package/docs/DiscountUpdateRequest.md +38 -0
  92. package/docs/DiscountUpdateResponse.md +24 -0
  93. package/docs/FeatureCostPricing.md +26 -0
  94. package/docs/FeaturePricing.md +26 -0
  95. package/docs/FrontAIModel.md +42 -0
  96. package/docs/FrontendModelExtraInfo.md +20 -0
  97. package/docs/FrontendModelPricing.md +58 -0
  98. package/docs/FrontendModelsResponse.md +28 -0
  99. package/docs/FrontendProviderInfo.md +30 -0
  100. package/docs/FrontendProviderModel.md +54 -0
  101. package/docs/FrontendProvidersResponse.md +28 -0
  102. package/docs/FrontendSearchContextCost.md +24 -0
  103. package/docs/GetUserDetailResponse.md +24 -0
  104. package/docs/ImagePricing.md +36 -0
  105. package/docs/LabelCreateRequest.md +22 -0
  106. package/docs/LabelCreateResponse.md +24 -0
  107. package/docs/LabelDeleteResponse.md +22 -0
  108. package/docs/LabelGetResponse.md +24 -0
  109. package/docs/LabelListResponse.md +26 -0
  110. package/docs/LabelUpdateRequest.md +24 -0
  111. package/docs/LabelUpdateResponse.md +24 -0
  112. package/docs/ListUsersRequest.md +36 -0
  113. package/docs/ListUsersResponse.md +30 -0
  114. package/docs/ModelCapabilities.md +58 -0
  115. package/docs/ModelLimits.md +40 -0
  116. package/docs/ModelListResponse.md +32 -0
  117. package/docs/ModelModalities.md +22 -0
  118. package/docs/MultimodalPricing.md +24 -0
  119. package/docs/PricingConditions.md +30 -0
  120. package/docs/PricingRules.md +32 -0
  121. package/docs/ProviderAWSAuth.md +24 -0
  122. package/docs/ProviderAdminServiceApi.md +579 -0
  123. package/docs/ProviderAuth.md +28 -0
  124. package/docs/ProviderGCPAuth.md +26 -0
  125. package/docs/ProviderModelAdminServiceApi.md +591 -0
  126. package/docs/QRCodeAdminServiceApi.md +281 -0
  127. package/docs/QRCodeCreateRequest.md +36 -0
  128. package/docs/QRCodeCreateResponse.md +24 -0
  129. package/docs/QRCodeDeleteResponse.md +22 -0
  130. package/docs/QRCodeGetResponse.md +24 -0
  131. package/docs/QRCodeHistoryItem.md +28 -0
  132. package/docs/QRCodeInfo.md +58 -0
  133. package/docs/QRCodeListResponse.md +26 -0
  134. package/docs/QRCodeSnapshot.md +36 -0
  135. package/docs/QRCodeUpdateRequest.md +38 -0
  136. package/docs/QRCodeUpdateResponse.md +24 -0
  137. package/docs/QRCodeWithHistory.md +22 -0
  138. package/docs/ReasoningTokensPricing.md +20 -0
  139. package/docs/RequestPricing.md +22 -0
  140. package/docs/SessionAction.md +11 -0
  141. package/docs/SetUserRoleRequest.md +22 -0
  142. package/docs/SetUserRoleResponse.md +24 -0
  143. package/docs/SetUserStatusRequest.md +22 -0
  144. package/docs/SetUserStatusResponse.md +26 -0
  145. package/docs/Status.md +24 -0
  146. package/docs/TextTokenInputPricing.md +26 -0
  147. package/docs/TextTokenOutputPricing.md +24 -0
  148. package/docs/TextTokenPricing.md +22 -0
  149. package/docs/TokenTier.md +24 -0
  150. package/docs/UpdateUserInfoRequest.md +26 -0
  151. package/docs/UpdateUserInfoResponse.md +24 -0
  152. package/docs/UserAPIKey.md +46 -0
  153. package/docs/UserAPIKeyCreateRequest.md +36 -0
  154. package/docs/UserAPIKeyCreateResponse.md +24 -0
  155. package/docs/UserAPIKeyDeleteResponse.md +22 -0
  156. package/docs/UserAPIKeyGetResponse.md +24 -0
  157. package/docs/UserAPIKeyListResponse.md +26 -0
  158. package/docs/UserAPIKeyServiceApi.md +284 -0
  159. package/docs/UserAPIKeyUpdateRequest.md +32 -0
  160. package/docs/UserAPIKeyUpdateResponse.md +24 -0
  161. package/docs/UserBalance.md +42 -0
  162. package/docs/UserBalanceBrief.md +32 -0
  163. package/docs/UserBalanceChangeResponse.md +24 -0
  164. package/docs/UserBalanceEditResponse.md +24 -0
  165. package/docs/UserBalanceListResponse.md +26 -0
  166. package/docs/UserBalanceServiceApi.md +223 -0
  167. package/docs/UserInfo.md +32 -0
  168. package/docs/UserLabelItem.md +22 -0
  169. package/docs/UserLabelListResponse.md +26 -0
  170. package/docs/UserLabelPair.md +22 -0
  171. package/docs/UserLabelPairChangeAction.md +22 -0
  172. package/docs/UserLabelPairChangeRequest.md +20 -0
  173. package/docs/UserLabelPairChangeResponse.md +22 -0
  174. package/docs/UserLabelServiceApi.md +392 -0
  175. package/docs/UserManageAPIKey.md +38 -0
  176. package/docs/UserManageAdminServiceApi.md +324 -0
  177. package/docs/UserManageAuthMethod.md +32 -0
  178. package/docs/UserManageBalance.md +32 -0
  179. package/docs/UserManageDetail.md +46 -0
  180. package/docs/UserManageItem.md +38 -0
  181. package/docs/UserManageSession.md +34 -0
  182. package/docs/UserManageSettings.md +20 -0
  183. package/docs/UserMeInfoResponse.md +24 -0
  184. package/docs/UserModelActivitySummary.md +30 -0
  185. package/docs/UserModelHourActivity.md +28 -0
  186. package/docs/UserModelHourlyUsages.md +20 -0
  187. package/docs/UserModelServiceApi.md +181 -0
  188. package/docs/UserPayServiceApi.md +71 -0
  189. package/docs/UserPayStripeCheckoutResponse.md +24 -0
  190. package/docs/UserPortalDashboardResponse.md +24 -0
  191. package/docs/UserPortalServiceApi.md +107 -0
  192. package/docs/UserSettings.md +20 -0
  193. package/docs/VersionedAPISchema.md +30 -0
  194. package/docs/VideoPricing.md +32 -0
  195. package/docs/WebSearchPricing.md +30 -0
  196. package/git_push.sh +57 -0
  197. package/index.ts +18 -0
  198. package/package.json +36 -0
  199. package/tsconfig.esm.json +7 -0
  200. package/tsconfig.json +18 -0
@@ -0,0 +1,325 @@
1
+ # AdminAPITokenServiceApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**adminAPITokenServiceAdminAPITokenCreate**](#adminapitokenserviceadminapitokencreate) | **POST** /admin/api-token/create | |
8
+ |[**adminAPITokenServiceAdminAPITokenDelete**](#adminapitokenserviceadminapitokendelete) | **DELETE** /admin/api-token/delete | |
9
+ |[**adminAPITokenServiceAdminAPITokenGet**](#adminapitokenserviceadminapitokenget) | **GET** /admin/api-token/get | |
10
+ |[**adminAPITokenServiceAdminAPITokenList**](#adminapitokenserviceadminapitokenlist) | **GET** /admin/api-token/list | |
11
+ |[**adminAPITokenServiceAdminAPITokenRefresh**](#adminapitokenserviceadminapitokenrefresh) | **POST** /admin/api-token/refresh | |
12
+ |[**adminAPITokenServiceAdminAPITokenUpdate**](#adminapitokenserviceadminapitokenupdate) | **POST** /admin/api-token/update | |
13
+
14
+ # **adminAPITokenServiceAdminAPITokenCreate**
15
+ > AdminAPITokenCreateResponse adminAPITokenServiceAdminAPITokenCreate(body)
16
+
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ AdminAPITokenServiceApi,
23
+ Configuration,
24
+ AdminAPITokenCreateRequest
25
+ } from '@cherryin/aigw-api-client';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new AdminAPITokenServiceApi(configuration);
29
+
30
+ let body: AdminAPITokenCreateRequest; //
31
+
32
+ const { status, data } = await apiInstance.adminAPITokenServiceAdminAPITokenCreate(
33
+ body
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **body** | **AdminAPITokenCreateRequest**| | |
42
+
43
+
44
+ ### Return type
45
+
46
+ **AdminAPITokenCreateResponse**
47
+
48
+ ### Authorization
49
+
50
+ No authorization required
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: application/json
55
+ - **Accept**: application/json
56
+
57
+
58
+ ### HTTP response details
59
+ | Status code | Description | Response headers |
60
+ |-------------|-------------|------------------|
61
+ |**200** | A successful response. | - |
62
+ |**0** | An unexpected error response. | - |
63
+
64
+ [[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)
65
+
66
+ # **adminAPITokenServiceAdminAPITokenDelete**
67
+ > AdminAPITokenDeleteResponse adminAPITokenServiceAdminAPITokenDelete()
68
+
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ AdminAPITokenServiceApi,
75
+ Configuration
76
+ } from '@cherryin/aigw-api-client';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new AdminAPITokenServiceApi(configuration);
80
+
81
+ let id: string; //@gotags: form:\"id\" (optional) (default to undefined)
82
+
83
+ const { status, data } = await apiInstance.adminAPITokenServiceAdminAPITokenDelete(
84
+ id
85
+ );
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ |Name | Type | Description | Notes|
91
+ |------------- | ------------- | ------------- | -------------|
92
+ | **id** | [**string**] | @gotags: form:\"id\" | (optional) defaults to undefined|
93
+
94
+
95
+ ### Return type
96
+
97
+ **AdminAPITokenDeleteResponse**
98
+
99
+ ### Authorization
100
+
101
+ No authorization required
102
+
103
+ ### HTTP request headers
104
+
105
+ - **Content-Type**: Not defined
106
+ - **Accept**: application/json
107
+
108
+
109
+ ### HTTP response details
110
+ | Status code | Description | Response headers |
111
+ |-------------|-------------|------------------|
112
+ |**200** | A successful response. | - |
113
+ |**0** | An unexpected error response. | - |
114
+
115
+ [[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)
116
+
117
+ # **adminAPITokenServiceAdminAPITokenGet**
118
+ > AdminAPITokenGetResponse adminAPITokenServiceAdminAPITokenGet()
119
+
120
+
121
+ ### Example
122
+
123
+ ```typescript
124
+ import {
125
+ AdminAPITokenServiceApi,
126
+ Configuration
127
+ } from '@cherryin/aigw-api-client';
128
+
129
+ const configuration = new Configuration();
130
+ const apiInstance = new AdminAPITokenServiceApi(configuration);
131
+
132
+ let id: string; //@gotags: form:\"id\" (optional) (default to undefined)
133
+
134
+ const { status, data } = await apiInstance.adminAPITokenServiceAdminAPITokenGet(
135
+ id
136
+ );
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ |Name | Type | Description | Notes|
142
+ |------------- | ------------- | ------------- | -------------|
143
+ | **id** | [**string**] | @gotags: form:\"id\" | (optional) defaults to undefined|
144
+
145
+
146
+ ### Return type
147
+
148
+ **AdminAPITokenGetResponse**
149
+
150
+ ### Authorization
151
+
152
+ No authorization required
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: Not defined
157
+ - **Accept**: application/json
158
+
159
+
160
+ ### HTTP response details
161
+ | Status code | Description | Response headers |
162
+ |-------------|-------------|------------------|
163
+ |**200** | A successful response. | - |
164
+ |**0** | An unexpected error response. | - |
165
+
166
+ [[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)
167
+
168
+ # **adminAPITokenServiceAdminAPITokenList**
169
+ > AdminAPITokenListResponse adminAPITokenServiceAdminAPITokenList()
170
+
171
+
172
+ ### Example
173
+
174
+ ```typescript
175
+ import {
176
+ AdminAPITokenServiceApi,
177
+ Configuration
178
+ } from '@cherryin/aigw-api-client';
179
+
180
+ const configuration = new Configuration();
181
+ const apiInstance = new AdminAPITokenServiceApi(configuration);
182
+
183
+ let page: number; //@gotags: form:\"page\" (optional) (default to undefined)
184
+ let pageSize: number; //@gotags: form:\"page_size\" (optional) (default to undefined)
185
+
186
+ const { status, data } = await apiInstance.adminAPITokenServiceAdminAPITokenList(
187
+ page,
188
+ pageSize
189
+ );
190
+ ```
191
+
192
+ ### Parameters
193
+
194
+ |Name | Type | Description | Notes|
195
+ |------------- | ------------- | ------------- | -------------|
196
+ | **page** | [**number**] | @gotags: form:\"page\" | (optional) defaults to undefined|
197
+ | **pageSize** | [**number**] | @gotags: form:\"page_size\" | (optional) defaults to undefined|
198
+
199
+
200
+ ### Return type
201
+
202
+ **AdminAPITokenListResponse**
203
+
204
+ ### Authorization
205
+
206
+ No authorization required
207
+
208
+ ### HTTP request headers
209
+
210
+ - **Content-Type**: Not defined
211
+ - **Accept**: application/json
212
+
213
+
214
+ ### HTTP response details
215
+ | Status code | Description | Response headers |
216
+ |-------------|-------------|------------------|
217
+ |**200** | A successful response. | - |
218
+ |**0** | An unexpected error response. | - |
219
+
220
+ [[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)
221
+
222
+ # **adminAPITokenServiceAdminAPITokenRefresh**
223
+ > AdminAPITokenRefreshResponse adminAPITokenServiceAdminAPITokenRefresh(body)
224
+
225
+
226
+ ### Example
227
+
228
+ ```typescript
229
+ import {
230
+ AdminAPITokenServiceApi,
231
+ Configuration,
232
+ AdminAPITokenRefreshRequest
233
+ } from '@cherryin/aigw-api-client';
234
+
235
+ const configuration = new Configuration();
236
+ const apiInstance = new AdminAPITokenServiceApi(configuration);
237
+
238
+ let body: AdminAPITokenRefreshRequest; //
239
+
240
+ const { status, data } = await apiInstance.adminAPITokenServiceAdminAPITokenRefresh(
241
+ body
242
+ );
243
+ ```
244
+
245
+ ### Parameters
246
+
247
+ |Name | Type | Description | Notes|
248
+ |------------- | ------------- | ------------- | -------------|
249
+ | **body** | **AdminAPITokenRefreshRequest**| | |
250
+
251
+
252
+ ### Return type
253
+
254
+ **AdminAPITokenRefreshResponse**
255
+
256
+ ### Authorization
257
+
258
+ No authorization required
259
+
260
+ ### HTTP request headers
261
+
262
+ - **Content-Type**: application/json
263
+ - **Accept**: application/json
264
+
265
+
266
+ ### HTTP response details
267
+ | Status code | Description | Response headers |
268
+ |-------------|-------------|------------------|
269
+ |**200** | A successful response. | - |
270
+ |**0** | An unexpected error response. | - |
271
+
272
+ [[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)
273
+
274
+ # **adminAPITokenServiceAdminAPITokenUpdate**
275
+ > AdminAPITokenUpdateResponse adminAPITokenServiceAdminAPITokenUpdate(body)
276
+
277
+
278
+ ### Example
279
+
280
+ ```typescript
281
+ import {
282
+ AdminAPITokenServiceApi,
283
+ Configuration,
284
+ AdminAPITokenUpdateRequest
285
+ } from '@cherryin/aigw-api-client';
286
+
287
+ const configuration = new Configuration();
288
+ const apiInstance = new AdminAPITokenServiceApi(configuration);
289
+
290
+ let body: AdminAPITokenUpdateRequest; //
291
+
292
+ const { status, data } = await apiInstance.adminAPITokenServiceAdminAPITokenUpdate(
293
+ body
294
+ );
295
+ ```
296
+
297
+ ### Parameters
298
+
299
+ |Name | Type | Description | Notes|
300
+ |------------- | ------------- | ------------- | -------------|
301
+ | **body** | **AdminAPITokenUpdateRequest**| | |
302
+
303
+
304
+ ### Return type
305
+
306
+ **AdminAPITokenUpdateResponse**
307
+
308
+ ### Authorization
309
+
310
+ No authorization required
311
+
312
+ ### HTTP request headers
313
+
314
+ - **Content-Type**: application/json
315
+ - **Accept**: application/json
316
+
317
+
318
+ ### HTTP response details
319
+ | Status code | Description | Response headers |
320
+ |-------------|-------------|------------------|
321
+ |**200** | A successful response. | - |
322
+ |**0** | An unexpected error response. | - |
323
+
324
+ [[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)
325
+
@@ -0,0 +1,28 @@
1
+ # AdminAPITokenUpdateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **display_name** | **string** | | [optional] [default to undefined]
10
+ **token_status** | **number** | | [optional] [default to undefined]
11
+ **expires_at** | **string** | | [optional] [default to undefined]
12
+ **scopes** | [**AdminAPITokenScopes**](AdminAPITokenScopes.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { AdminAPITokenUpdateRequest } from '@cherryin/aigw-api-client';
18
+
19
+ const instance: AdminAPITokenUpdateRequest = {
20
+ id,
21
+ display_name,
22
+ token_status,
23
+ expires_at,
24
+ scopes,
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,24 @@
1
+ # AdminAPITokenUpdateResponse
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
+ **data** | [**AdminAPIToken**](AdminAPIToken.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminAPITokenUpdateResponse } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: AdminAPITokenUpdateResponse = {
18
+ code,
19
+ message,
20
+ data,
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,46 @@
1
+ # AdminProvider
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **env** | **Array<string>** | | [optional] [default to undefined]
11
+ **npm** | **string** | | [optional] [default to undefined]
12
+ **api** | **string** | | [optional] [default to undefined]
13
+ **doc** | **string** | | [optional] [default to undefined]
14
+ **provider_status** | **number** | | [optional] [default to undefined]
15
+ **provider_auth** | [**ProviderAuth**](ProviderAuth.md) | | [optional] [default to undefined]
16
+ **is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
17
+ **record_id** | **string** | | [optional] [default to undefined]
18
+ **created_at** | **string** | | [optional] [default to undefined]
19
+ **updated_at** | **string** | | [optional] [default to undefined]
20
+ **deleted_at** | **string** | | [optional] [default to undefined]
21
+ **provider_type** | **string** | | [optional] [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { AdminProvider } from '@cherryin/aigw-api-client';
27
+
28
+ const instance: AdminProvider = {
29
+ id,
30
+ name,
31
+ env,
32
+ npm,
33
+ api,
34
+ doc,
35
+ provider_status,
36
+ provider_auth,
37
+ is_official,
38
+ record_id,
39
+ created_at,
40
+ updated_at,
41
+ deleted_at,
42
+ provider_type,
43
+ };
44
+ ```
45
+
46
+ [[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,40 @@
1
+ # AdminProviderCreateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **env** | **Array<string>** | | [optional] [default to undefined]
11
+ **npm** | **string** | | [optional] [default to undefined]
12
+ **api** | **string** | | [optional] [default to undefined]
13
+ **doc** | **string** | | [optional] [default to undefined]
14
+ **provider_status** | **number** | | [optional] [default to undefined]
15
+ **provider_auth** | [**ProviderAuth**](ProviderAuth.md) | | [optional] [default to undefined]
16
+ **is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
17
+ **provider_type** | **string** | | [optional] [default to undefined]
18
+ **is_sync** | **boolean** | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { AdminProviderCreateRequest } from '@cherryin/aigw-api-client';
24
+
25
+ const instance: AdminProviderCreateRequest = {
26
+ id,
27
+ name,
28
+ env,
29
+ npm,
30
+ api,
31
+ doc,
32
+ provider_status,
33
+ provider_auth,
34
+ is_official,
35
+ provider_type,
36
+ is_sync,
37
+ };
38
+ ```
39
+
40
+ [[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
+ # AdminProviderCreateResponse
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
+ **data** | [**AdminProvider**](AdminProvider.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminProviderCreateResponse } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: AdminProviderCreateResponse = {
18
+ code,
19
+ message,
20
+ data,
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
+ # AdminProviderDeleteResponse
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 { AdminProviderDeleteResponse } from '@cherryin/aigw-api-client';
15
+
16
+ const instance: AdminProviderDeleteResponse = {
17
+ code,
18
+ message,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # AdminProviderGetResponse
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
+ **data** | [**AdminProvider**](AdminProvider.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AdminProviderGetResponse } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: AdminProviderGetResponse = {
18
+ code,
19
+ message,
20
+ data,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # AdminProviderListResponse
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
+ **list** | [**Array<AdminProvider>**](AdminProvider.md) | | [optional] [default to undefined]
11
+ **total** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AdminProviderListResponse } from '@cherryin/aigw-api-client';
17
+
18
+ const instance: AdminProviderListResponse = {
19
+ code,
20
+ message,
21
+ list,
22
+ total,
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,68 @@
1
+ # AdminProviderModel
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **family** | **string** | | [optional] [default to undefined]
11
+ **source** | **string** | | [optional] [default to undefined]
12
+ **model_card** | **string** | | [optional] [default to undefined]
13
+ **temperature** | **boolean** | | [optional] [default to undefined]
14
+ **knowledge** | **string** | | [optional] [default to undefined]
15
+ **release_date** | **string** | | [optional] [default to undefined]
16
+ **last_updated** | **string** | | [optional] [default to undefined]
17
+ **open_weights** | **boolean** | | [optional] [default to undefined]
18
+ **deprecation_date** | **string** | | [optional] [default to undefined]
19
+ **context_length** | **string** | | [optional] [default to undefined]
20
+ **modalities** | [**ModelModalities**](ModelModalities.md) | | [optional] [default to undefined]
21
+ **limits** | [**ModelLimits**](ModelLimits.md) | | [optional] [default to undefined]
22
+ **capabilities** | [**ModelCapabilities**](ModelCapabilities.md) | | [optional] [default to undefined]
23
+ **pricing** | [**FrontendModelPricing**](FrontendModelPricing.md) | | [optional] [default to undefined]
24
+ **extra_info** | [**FrontendModelExtraInfo**](FrontendModelExtraInfo.md) | | [optional] [default to undefined]
25
+ **is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
26
+ **endpoints** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | | [optional] [default to undefined]
27
+ **provider_id** | **string** | | [optional] [default to undefined]
28
+ **record_id** | **string** | | [optional] [default to undefined]
29
+ **created_at** | **string** | | [optional] [default to undefined]
30
+ **updated_at** | **string** | | [optional] [default to undefined]
31
+ **deleted_at** | **string** | | [optional] [default to undefined]
32
+ **model_status** | **number** | | [optional] [default to undefined]
33
+
34
+ ## Example
35
+
36
+ ```typescript
37
+ import { AdminProviderModel } from '@cherryin/aigw-api-client';
38
+
39
+ const instance: AdminProviderModel = {
40
+ id,
41
+ name,
42
+ family,
43
+ source,
44
+ model_card,
45
+ temperature,
46
+ knowledge,
47
+ release_date,
48
+ last_updated,
49
+ open_weights,
50
+ deprecation_date,
51
+ context_length,
52
+ modalities,
53
+ limits,
54
+ capabilities,
55
+ pricing,
56
+ extra_info,
57
+ is_official,
58
+ endpoints,
59
+ provider_id,
60
+ record_id,
61
+ created_at,
62
+ updated_at,
63
+ deleted_at,
64
+ model_status,
65
+ };
66
+ ```
67
+
68
+ [[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,62 @@
1
+ # AdminProviderModelCreateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **family** | **string** | | [optional] [default to undefined]
11
+ **source** | **string** | | [optional] [default to undefined]
12
+ **model_card** | **string** | | [optional] [default to undefined]
13
+ **temperature** | **boolean** | | [optional] [default to undefined]
14
+ **knowledge** | **string** | | [optional] [default to undefined]
15
+ **release_date** | **string** | | [optional] [default to undefined]
16
+ **last_updated** | **string** | | [optional] [default to undefined]
17
+ **open_weights** | **boolean** | | [optional] [default to undefined]
18
+ **deprecation_date** | **string** | | [optional] [default to undefined]
19
+ **context_length** | **string** | | [optional] [default to undefined]
20
+ **modalities** | [**ModelModalities**](ModelModalities.md) | | [optional] [default to undefined]
21
+ **limits** | [**ModelLimits**](ModelLimits.md) | | [optional] [default to undefined]
22
+ **capabilities** | [**ModelCapabilities**](ModelCapabilities.md) | | [optional] [default to undefined]
23
+ **pricing** | [**FrontendModelPricing**](FrontendModelPricing.md) | | [optional] [default to undefined]
24
+ **extra_info** | [**FrontendModelExtraInfo**](FrontendModelExtraInfo.md) | | [optional] [default to undefined]
25
+ **is_official** | **boolean** | 是否为官方供应商,官方供应商会额外写官方供应商表. | [optional] [default to undefined]
26
+ **endpoints** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | | [optional] [default to undefined]
27
+ **provider_id** | **string** | | [optional] [default to undefined]
28
+ **model_status** | **number** | | [optional] [default to undefined]
29
+ **is_sync** | **boolean** | | [optional] [default to undefined]
30
+
31
+ ## Example
32
+
33
+ ```typescript
34
+ import { AdminProviderModelCreateRequest } from '@cherryin/aigw-api-client';
35
+
36
+ const instance: AdminProviderModelCreateRequest = {
37
+ id,
38
+ name,
39
+ family,
40
+ source,
41
+ model_card,
42
+ temperature,
43
+ knowledge,
44
+ release_date,
45
+ last_updated,
46
+ open_weights,
47
+ deprecation_date,
48
+ context_length,
49
+ modalities,
50
+ limits,
51
+ capabilities,
52
+ pricing,
53
+ extra_info,
54
+ is_official,
55
+ endpoints,
56
+ provider_id,
57
+ model_status,
58
+ is_sync,
59
+ };
60
+ ```
61
+
62
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)