@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,28 @@
1
+ # FrontendModelsResponse
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** | [**Array<FrontendProviderModel>**](FrontendProviderModel.md) | | [optional] [default to undefined]
11
+ **total** | **string** | | [optional] [default to undefined]
12
+ **has_more** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { FrontendModelsResponse } from '@cherryin/aigw-api-client';
18
+
19
+ const instance: FrontendModelsResponse = {
20
+ code,
21
+ message,
22
+ data,
23
+ total,
24
+ has_more,
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,30 @@
1
+ # FrontendProviderInfo
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
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { FrontendProviderInfo } from '@cherryin/aigw-api-client';
19
+
20
+ const instance: FrontendProviderInfo = {
21
+ id,
22
+ name,
23
+ env,
24
+ npm,
25
+ api,
26
+ doc,
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,54 @@
1
+ # FrontendProviderModel
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
+ **provider_id** | **string** | | [optional] [default to undefined]
26
+
27
+ ## Example
28
+
29
+ ```typescript
30
+ import { FrontendProviderModel } from '@cherryin/aigw-api-client';
31
+
32
+ const instance: FrontendProviderModel = {
33
+ id,
34
+ name,
35
+ family,
36
+ source,
37
+ model_card,
38
+ temperature,
39
+ knowledge,
40
+ release_date,
41
+ last_updated,
42
+ open_weights,
43
+ deprecation_date,
44
+ context_length,
45
+ modalities,
46
+ limits,
47
+ capabilities,
48
+ pricing,
49
+ extra_info,
50
+ provider_id,
51
+ };
52
+ ```
53
+
54
+ [[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
+ # FrontendProvidersResponse
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** | [**Array<FrontendProviderInfo>**](FrontendProviderInfo.md) | | [optional] [default to undefined]
11
+ **total** | **string** | | [optional] [default to undefined]
12
+ **has_more** | **boolean** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { FrontendProvidersResponse } from '@cherryin/aigw-api-client';
18
+
19
+ const instance: FrontendProvidersResponse = {
20
+ code,
21
+ message,
22
+ data,
23
+ total,
24
+ has_more,
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
+ # FrontendSearchContextCost
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **search_context_size_high** | **string** | | [optional] [default to undefined]
9
+ **search_context_size_low** | **string** | | [optional] [default to undefined]
10
+ **search_context_size_medium** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { FrontendSearchContextCost } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: FrontendSearchContextCost = {
18
+ search_context_size_high,
19
+ search_context_size_low,
20
+ search_context_size_medium,
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
+ # GetUserDetailResponse
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
+ **user** | [**UserManageDetail**](UserManageDetail.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GetUserDetailResponse } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: GetUserDetailResponse = {
18
+ code,
19
+ message,
20
+ user,
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,36 @@
1
+ # ImagePricing
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **mode** | **string** | | [optional] [default to undefined]
10
+ **input_per_item** | **string** | | [optional] [default to undefined]
11
+ **input_per_token** | **string** | | [optional] [default to undefined]
12
+ **input_per_pixel** | **string** | | [optional] [default to undefined]
13
+ **output_per_item** | **string** | | [optional] [default to undefined]
14
+ **output_per_token** | **string** | | [optional] [default to undefined]
15
+ **output_per_pixel** | **string** | | [optional] [default to undefined]
16
+ **extra** | **{ [key: string]: string; }** | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { ImagePricing } from '@cherryin/aigw-api-client';
22
+
23
+ const instance: ImagePricing = {
24
+ id,
25
+ mode,
26
+ input_per_item,
27
+ input_per_token,
28
+ input_per_pixel,
29
+ output_per_item,
30
+ output_per_token,
31
+ output_per_pixel,
32
+ extra,
33
+ };
34
+ ```
35
+
36
+ [[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
+ # LabelCreateRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **description** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { LabelCreateRequest } from '@cherryin/aigw-api-client';
15
+
16
+ const instance: LabelCreateRequest = {
17
+ name,
18
+ description,
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
+ # LabelCreateResponse
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** | [**AigwpbLabel**](AigwpbLabel.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { LabelCreateResponse } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: LabelCreateResponse = {
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
+ # LabelDeleteResponse
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 { LabelDeleteResponse } from '@cherryin/aigw-api-client';
15
+
16
+ const instance: LabelDeleteResponse = {
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
+ # LabelGetResponse
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** | [**AigwpbLabel**](AigwpbLabel.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { LabelGetResponse } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: LabelGetResponse = {
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
+ # LabelListResponse
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** | [**Array<AigwpbLabel>**](AigwpbLabel.md) | | [optional] [default to undefined]
11
+ **total** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { LabelListResponse } from '@cherryin/aigw-api-client';
17
+
18
+ const instance: LabelListResponse = {
19
+ code,
20
+ message,
21
+ data,
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,24 @@
1
+ # LabelUpdateRequest
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
+ **description** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { LabelUpdateRequest } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: LabelUpdateRequest = {
18
+ id,
19
+ name,
20
+ description,
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
+ # LabelUpdateResponse
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** | [**AigwpbLabel**](AigwpbLabel.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { LabelUpdateResponse } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: LabelUpdateResponse = {
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,36 @@
1
+ # ListUsersRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **page** | **number** | 页码,从1开始 | [optional] [default to undefined]
9
+ **page_size** | **number** | | [optional] [default to undefined]
10
+ **uids** | **Array<string>** | UID 列表过滤 | [optional] [default to undefined]
11
+ **display_name** | **string** | | [optional] [default to undefined]
12
+ **email** | **string** | | [optional] [default to undefined]
13
+ **user_statuses** | **Array<number>** | | [optional] [default to undefined]
14
+ **user_roles** | **Array<number>** | | [optional] [default to undefined]
15
+ **order_by** | **string** | 排序字段:created_at, updated_at | [optional] [default to undefined]
16
+ **order_dir** | **string** | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { ListUsersRequest } from '@cherryin/aigw-api-client';
22
+
23
+ const instance: ListUsersRequest = {
24
+ page,
25
+ page_size,
26
+ uids,
27
+ display_name,
28
+ email,
29
+ user_statuses,
30
+ user_roles,
31
+ order_by,
32
+ order_dir,
33
+ };
34
+ ```
35
+
36
+ [[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
+ # ListUsersResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **users** | [**Array<UserManageItem>**](UserManageItem.md) | | [optional] [default to undefined]
11
+ **total** | **string** | | [optional] [default to undefined]
12
+ **page** | **number** | | [optional] [default to undefined]
13
+ **page_size** | **number** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { ListUsersResponse } from '@cherryin/aigw-api-client';
19
+
20
+ const instance: ListUsersResponse = {
21
+ code,
22
+ message,
23
+ users,
24
+ total,
25
+ page,
26
+ page_size,
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,58 @@
1
+ # ModelCapabilities
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **supported_endpoints** | **{ [key: string]: string; }** | | [optional] [default to undefined]
9
+ **supported_regions** | **Array<string>** | | [optional] [default to undefined]
10
+ **supported_resolutions** | **Array<string>** | | [optional] [default to undefined]
11
+ **supports_audio_input** | **boolean** | | [optional] [default to undefined]
12
+ **supports_vision** | **boolean** | | [optional] [default to undefined]
13
+ **supports_pdf_input** | **boolean** | | [optional] [default to undefined]
14
+ **supports_video_input** | **boolean** | | [optional] [default to undefined]
15
+ **supports_audio_output** | **boolean** | | [optional] [default to undefined]
16
+ **supports_tool_call** | **boolean** | | [optional] [default to undefined]
17
+ **supports_function_calling** | **boolean** | | [optional] [default to undefined]
18
+ **supports_parallel_function_calling** | **boolean** | | [optional] [default to undefined]
19
+ **supports_prompt_caching** | **boolean** | | [optional] [default to undefined]
20
+ **supports_reasoning** | **boolean** | | [optional] [default to undefined]
21
+ **supports_response_schema** | **boolean** | | [optional] [default to undefined]
22
+ **supports_system_messages** | **boolean** | | [optional] [default to undefined]
23
+ **supports_web_search** | **boolean** | | [optional] [default to undefined]
24
+ **supports_assistant_prefill** | **boolean** | | [optional] [default to undefined]
25
+ **supports_tool_choice** | **boolean** | | [optional] [default to undefined]
26
+ **supports_computer_use** | **boolean** | | [optional] [default to undefined]
27
+ **supports_native_streaming** | **boolean** | | [optional] [default to undefined]
28
+
29
+ ## Example
30
+
31
+ ```typescript
32
+ import { ModelCapabilities } from '@cherryin/aigw-api-client';
33
+
34
+ const instance: ModelCapabilities = {
35
+ supported_endpoints,
36
+ supported_regions,
37
+ supported_resolutions,
38
+ supports_audio_input,
39
+ supports_vision,
40
+ supports_pdf_input,
41
+ supports_video_input,
42
+ supports_audio_output,
43
+ supports_tool_call,
44
+ supports_function_calling,
45
+ supports_parallel_function_calling,
46
+ supports_prompt_caching,
47
+ supports_reasoning,
48
+ supports_response_schema,
49
+ supports_system_messages,
50
+ supports_web_search,
51
+ supports_assistant_prefill,
52
+ supports_tool_choice,
53
+ supports_computer_use,
54
+ supports_native_streaming,
55
+ };
56
+ ```
57
+
58
+ [[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
+ # ModelLimits
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **rpm** | **number** | | [optional] [default to undefined]
9
+ **tpm** | **number** | | [optional] [default to undefined]
10
+ **max_tokens** | **number** | | [optional] [default to undefined]
11
+ **max_input_tokens** | **number** | | [optional] [default to undefined]
12
+ **max_output_tokens** | **number** | | [optional] [default to undefined]
13
+ **max_audio_length_hours** | **number** | | [optional] [default to undefined]
14
+ **max_audio_per_prompt** | **number** | | [optional] [default to undefined]
15
+ **max_images_per_prompt** | **number** | | [optional] [default to undefined]
16
+ **max_pdf_size_mb** | **number** | | [optional] [default to undefined]
17
+ **max_video_length** | **number** | | [optional] [default to undefined]
18
+ **max_videos_per_prompt** | **number** | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { ModelLimits } from '@cherryin/aigw-api-client';
24
+
25
+ const instance: ModelLimits = {
26
+ rpm,
27
+ tpm,
28
+ max_tokens,
29
+ max_input_tokens,
30
+ max_output_tokens,
31
+ max_audio_length_hours,
32
+ max_audio_per_prompt,
33
+ max_images_per_prompt,
34
+ max_pdf_size_mb,
35
+ max_video_length,
36
+ max_videos_per_prompt,
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,32 @@
1
+ # ModelListResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [optional] [default to undefined]
9
+ **object** | **string** | | [optional] [default to undefined]
10
+ **data** | [**Array<FrontAIModel>**](FrontAIModel.md) | | [optional] [default to undefined]
11
+ **model_apis** | [**Array<VersionedAPISchema>**](VersionedAPISchema.md) | | [optional] [default to undefined]
12
+ **first_id** | **string** | | [optional] [default to undefined]
13
+ **last_id** | **string** | | [optional] [default to undefined]
14
+ **has_more** | **boolean** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ModelListResponse } from '@cherryin/aigw-api-client';
20
+
21
+ const instance: ModelListResponse = {
22
+ code,
23
+ object,
24
+ data,
25
+ model_apis,
26
+ first_id,
27
+ last_id,
28
+ has_more,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # ModelModalities
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **input** | **Array<string>** | | [optional] [default to undefined]
9
+ **output** | **Array<string>** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ModelModalities } from '@cherryin/aigw-api-client';
15
+
16
+ const instance: ModelModalities = {
17
+ input,
18
+ output,
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
+ # MultimodalPricing
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **image** | [**ImagePricing**](ImagePricing.md) | | [optional] [default to undefined]
9
+ **audio** | [**AudioPricing**](AudioPricing.md) | | [optional] [default to undefined]
10
+ **video** | [**VideoPricing**](VideoPricing.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { MultimodalPricing } from '@cherryin/aigw-api-client';
16
+
17
+ const instance: MultimodalPricing = {
18
+ image,
19
+ audio,
20
+ video,
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)