@cherryin/api-client 0.0.19 → 0.0.20

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 (120) hide show
  1. package/.openapi-generator/FILES +46 -41
  2. package/README.md +69 -62
  3. package/api.ts +3081 -2198
  4. package/dist/api.d.ts +2070 -1336
  5. package/dist/api.js +712 -458
  6. package/dist/esm/api.d.ts +2070 -1336
  7. package/dist/esm/api.js +712 -458
  8. package/docs/AIModelAdminServiceApi.md +98 -87
  9. package/docs/AIModelPricingConfig.md +10 -10
  10. package/docs/AdminAIModel.md +73 -0
  11. package/docs/{AIModelCheckConnectionResponse.md → AdminAIModelCheckConnectionResponse.md} +4 -4
  12. package/docs/{AIModelCheckItem.md → AdminAIModelCheckItem.md} +3 -3
  13. package/docs/{AIModelCheckResult.md → AdminAIModelCheckResult.md} +5 -5
  14. package/docs/AdminAIModelCreateRequest.md +63 -0
  15. package/docs/AdminAIModelCreateResponse.md +25 -0
  16. package/docs/{AIModelDeleteResponse.md → AdminAIModelDeleteResponse.md} +4 -4
  17. package/docs/AdminAIModelDisableRequest.md +23 -0
  18. package/docs/AdminAIModelDisableResponse.md +25 -0
  19. package/docs/{AIModelDiscountConfig.md → AdminAIModelDiscountConfig.md} +4 -4
  20. package/docs/{AIModelGetResponse.md → AdminAIModelGetResponse.md} +5 -5
  21. package/docs/{AIModelListResponse.md → AdminAIModelListResponse.md} +5 -5
  22. package/docs/AdminAIModelProviderConfigItem.md +29 -0
  23. package/docs/AdminAIModelPublishRequest.md +23 -0
  24. package/docs/{AIModelDisableResponse.md → AdminAIModelPublishResponse.md} +5 -5
  25. package/docs/AdminAIModelUpdateRequest.md +25 -0
  26. package/docs/{AIModelUpdateResponse.md → AdminAIModelUpdateResponse.md} +5 -5
  27. package/docs/AdminProvider.md +46 -0
  28. package/docs/AdminProviderCreateRequest.md +39 -0
  29. package/docs/AdminProviderCreateResponse.md +25 -0
  30. package/docs/{ProviderModelDeleteResponse.md → AdminProviderDeleteResponse.md} +4 -4
  31. package/docs/AdminProviderGetResponse.md +25 -0
  32. package/docs/AdminProviderListResponse.md +27 -0
  33. package/docs/AdminProviderModel.md +66 -0
  34. package/docs/AdminProviderModelCreateRequest.md +59 -0
  35. package/docs/AdminProviderModelCreateResponse.md +25 -0
  36. package/docs/{ProviderDeleteResponse.md → AdminProviderModelDeleteResponse.md} +4 -4
  37. package/docs/{ProviderGetResponse.md → AdminProviderModelGetResponse.md} +5 -5
  38. package/docs/{ProviderModelListResponse.md → AdminProviderModelListResponse.md} +6 -6
  39. package/docs/AdminProviderModelUpdateRequest.md +25 -0
  40. package/docs/{AIModelCreateResponse.md → AdminProviderModelUpdateResponse.md} +5 -5
  41. package/docs/AdminProviderUpdateRequest.md +25 -0
  42. package/docs/{AIModelPublishResponse.md → AdminProviderUpdateResponse.md} +5 -5
  43. package/docs/AudioPricing.md +8 -8
  44. package/docs/DiscountDeleteResponse.md +1 -1
  45. package/docs/DiscountGetResponse.md +1 -1
  46. package/docs/DiscountListResponse.md +1 -1
  47. package/docs/DiscountUpdateResponse.md +1 -1
  48. package/docs/FeatureCostPricing.md +5 -5
  49. package/docs/FrontAIModel.md +15 -17
  50. package/docs/FrontendModelCost.md +57 -0
  51. package/docs/FrontendModelExtraInfo.md +21 -0
  52. package/docs/FrontendModelsResponse.md +29 -0
  53. package/docs/FrontendProviderInfo.md +31 -0
  54. package/docs/FrontendProviderModel.md +55 -0
  55. package/docs/FrontendProvidersResponse.md +29 -0
  56. package/docs/FrontendSearchContextCost.md +25 -0
  57. package/docs/ImagePricing.md +7 -7
  58. package/docs/LabelCreateResponse.md +1 -1
  59. package/docs/LabelDeleteResponse.md +1 -1
  60. package/docs/LabelListResponse.md +1 -1
  61. package/docs/LabelUpdateResponse.md +1 -1
  62. package/docs/ModelCapabilities.md +59 -0
  63. package/docs/ModelLimits.md +41 -0
  64. package/docs/{UserModelListResponse.md → ModelListResponse.md} +10 -11
  65. package/docs/ModelModalities.md +23 -0
  66. package/docs/MultimodalPricing.md +4 -4
  67. package/docs/PricingConditions.md +7 -7
  68. package/docs/PricingRules.md +6 -6
  69. package/docs/{AWSAuth.md → ProviderAWSAuth.md} +4 -3
  70. package/docs/ProviderAdminServiceApi.md +74 -53
  71. package/docs/ProviderAuth.md +6 -6
  72. package/docs/ProviderGCPAuth.md +27 -0
  73. package/docs/ProviderModelAdminServiceApi.md +74 -56
  74. package/docs/RequestPricing.md +3 -3
  75. package/docs/TextTokenInputPricing.md +5 -5
  76. package/docs/TextTokenOutputPricing.md +4 -4
  77. package/docs/TextTokenPricing.md +3 -3
  78. package/docs/TokenTier.md +4 -4
  79. package/docs/UserAPIKey.md +15 -15
  80. package/docs/UserAPIKeyCreateRequest.md +9 -9
  81. package/docs/UserAPIKeyCreateResponse.md +4 -4
  82. package/docs/UserAPIKeyDeleteResponse.md +3 -3
  83. package/docs/UserAPIKeyGetResponse.md +4 -4
  84. package/docs/UserAPIKeyListResponse.md +5 -5
  85. package/docs/UserAPIKeyServiceApi.md +21 -21
  86. package/docs/UserAPIKeyUpdateResponse.md +3 -3
  87. package/docs/UserBalanceChangeResponse.md +2 -2
  88. package/docs/UserBalanceEditResponse.md +2 -2
  89. package/docs/UserBalanceListResponse.md +2 -2
  90. package/docs/UserBalanceServiceApi.md +4 -4
  91. package/docs/UserLabelListResponse.md +1 -1
  92. package/docs/UserLabelPairChangeResponse.md +1 -1
  93. package/docs/UserModelServiceApi.md +124 -11
  94. package/docs/VersionedAPISchema.md +6 -6
  95. package/docs/VideoPricing.md +8 -8
  96. package/package.json +1 -1
  97. package/docs/AIModel.md +0 -45
  98. package/docs/AIModelArchitecture.md +0 -25
  99. package/docs/AIModelCreateRequest.md +0 -35
  100. package/docs/AIModelDeleteRequest.md +0 -21
  101. package/docs/AIModelDisableRequest.md +0 -21
  102. package/docs/AIModelMeta.md +0 -25
  103. package/docs/AIModelProviderConfigItem.md +0 -29
  104. package/docs/AIModelPublishRequest.md +0 -21
  105. package/docs/AIModelUpdateRequest.md +0 -37
  106. package/docs/GCPAuth.md +0 -27
  107. package/docs/Provider.md +0 -37
  108. package/docs/ProviderCreateRequest.md +0 -29
  109. package/docs/ProviderCreateResponse.md +0 -25
  110. package/docs/ProviderListResponse.md +0 -27
  111. package/docs/ProviderModel.md +0 -37
  112. package/docs/ProviderModelCreateRequest.md +0 -29
  113. package/docs/ProviderModelCreateResponse.md +0 -25
  114. package/docs/ProviderModelGetResponse.md +0 -25
  115. package/docs/ProviderModelPayload.md +0 -23
  116. package/docs/ProviderModelUpdateRequest.md +0 -31
  117. package/docs/ProviderModelUpdateResponse.md +0 -25
  118. package/docs/ProviderPayload.md +0 -21
  119. package/docs/ProviderUpdateRequest.md +0 -31
  120. package/docs/ProviderUpdateResponse.md +0 -25
@@ -1,15 +1,15 @@
1
1
  # TextTokenInputPricing
2
2
 
3
- TextTokenInputPricing 输入Token价格配置 Input token price configuration
3
+ TextTokenInputPricing 输入Token价格配置
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | id 价格配置ID Price configuration ID | [optional] [default to undefined]
10
- **regular** | [**Array<TokenTier>**](TokenTier.md) | regular 常规价格层级 Regular price tiers | [optional] [default to undefined]
11
- **cached** | [**Array<TokenTier>**](TokenTier.md) | cached 缓存Token价格层级 Cached token price tiers | [optional] [default to undefined]
12
- **cache_write** | [**Array<TokenTier>**](TokenTier.md) | cache_write 缓存写入价格层级 Cache write price tiers | [optional] [default to undefined]
9
+ **id** | **string** | id 价格配置ID | [optional] [default to undefined]
10
+ **regular** | [**Array<TokenTier>**](TokenTier.md) | regular 常规价格层级 | [optional] [default to undefined]
11
+ **cached** | [**Array<TokenTier>**](TokenTier.md) | cached 缓存Token价格层级 | [optional] [default to undefined]
12
+ **cache_write** | [**Array<TokenTier>**](TokenTier.md) | cache_write 缓存写入价格层级 | [optional] [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
@@ -1,14 +1,14 @@
1
1
  # TextTokenOutputPricing
2
2
 
3
- TextTokenOutputPricing 输出Token价格配置 Output token price configuration
3
+ TextTokenOutputPricing 输出Token价格配置
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | id 价格配置ID Price configuration ID | [optional] [default to undefined]
10
- **regular** | [**Array<TokenTier>**](TokenTier.md) | regular 常规价格层级 Regular price tiers | [optional] [default to undefined]
11
- **reasoning** | [**Array<TokenTier>**](TokenTier.md) | reasoning 推理Token价格层级(如o1模型) Reasoning token price tiers (e.g., o1 models) | [optional] [default to undefined]
9
+ **id** | **string** | id 价格配置ID | [optional] [default to undefined]
10
+ **regular** | [**Array<TokenTier>**](TokenTier.md) | regular 常规价格层级 | [optional] [default to undefined]
11
+ **reasoning** | [**Array<TokenTier>**](TokenTier.md) | reasoning 推理Token价格层级(如o1模型) | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,13 +1,13 @@
1
1
  # TextTokenPricing
2
2
 
3
- TextTokenPricing Token计费规则 Text token pricing rules
3
+ TextTokenPricing Token计费规则
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **input** | [**TextTokenInputPricing**](TextTokenInputPricing.md) | input 输入Token价格配置 Input token price configuration | [optional] [default to undefined]
10
- **output** | [**TextTokenOutputPricing**](TextTokenOutputPricing.md) | output 输出Token价格配置 Output token price configuration | [optional] [default to undefined]
9
+ **input** | [**TextTokenInputPricing**](TextTokenInputPricing.md) | input 输入Token价格配置 | [optional] [default to undefined]
10
+ **output** | [**TextTokenOutputPricing**](TextTokenOutputPricing.md) | output 输出Token价格配置 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
package/docs/TokenTier.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # TokenTier
2
2
 
3
- TokenTier Token价格层级 Token price tier
3
+ TokenTier Token价格层级
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **min_tokens** | **string** | min_tokens 最小token数量 Minimum token count | [optional] [default to undefined]
10
- **max_tokens** | **string** | max_tokens 最大token数量(0表示无限) Maximum token count (0 means unlimited) | [optional] [default to undefined]
11
- **price_per_million** | **string** | price_per_million 每百万token价格(使用字符串避免精度损失) Price per million tokens (string to avoid precision loss) | [optional] [default to undefined]
9
+ **min_tokens** | **string** | min_tokens 最小token数量 | [optional] [default to undefined]
10
+ **max_tokens** | **string** | max_tokens 最大token数量(0表示无限) | [optional] [default to undefined]
11
+ **price_per_million** | **string** | price_per_million 每百万token价格(使用字符串避免精度损失) | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,25 +1,25 @@
1
1
  # UserAPIKey
2
2
 
3
- UserAPIKey 代表用户的 API 密钥 UserAPIKey represents a user\'s API key
3
+ UserAPIKey 代表用户的 API 密钥
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **id** | **string** | id UserAPIKey 的唯一标识符 Unique identifier for the UserAPIKey | [optional] [default to undefined]
10
- **created_at** | **string** | created_at 创建时间戳(Unix 时间戳) Creation timestamp (Unix timestamp) | [optional] [default to undefined]
11
- **updated_at** | **string** | updated_at 更新时间戳(Unix 时间戳) Last update timestamp (Unix timestamp) | [optional] [default to undefined]
12
- **deleted_at** | **string** | deleted_at 软删除时间戳,0 表示未删除 Soft deletion timestamp, 0 means not deleted | [optional] [default to undefined]
13
- **uid** | **string** | uid 用户 ID User ID | [optional] [default to undefined]
14
- **name** | **string** | name API Key 的唯一名称标识 Unique name identifier for the API key | [optional] [default to undefined]
15
- **key_group** | **string** | key_group API Key 分组 API Key group | [optional] [default to undefined]
16
- **display_name** | **string** | display_name API Key 的显示名称 Display name for the API key | [optional] [default to undefined]
17
- **quota_balance_total** | **string** | quota_balance_total 总配额余额,使用 DECIMAL(24,12) 精度存储 Total quota balance, stored with DECIMAL(24,12) precision 字符串格式,例如:\"100.50\" 表示 $100.50 或 ¥100.50 String format, e.g., \"100.50\" represents $100.50 or ¥100.50 | [optional] [default to undefined]
18
- **quota_balance_used** | **string** | quota_balance_used 已使用配额余额,使用 DECIMAL(24,12) 精度存储 Used quota balance, stored with DECIMAL(24,12) precision 字符串格式,例如:\"25.75\" 表示已使用 $25.75 或 ¥25.75 String format, e.g., \"25.75\" represents $25.75 or ¥25.75 used | [optional] [default to undefined]
19
- **balance_code** | **string** | balance_code 余额货币代码 Balance currency code USD: 美元 (US Dollar) CNY: 人民币 (Chinese Yuan) | [optional] [default to undefined]
20
- **quota_mode** | **number** | quota_mode 配额模式 Quota mode 1: 有限配额 (Limited) 2: 无限配额 (Unlimited) | [optional] [default to undefined]
21
- **key_status** | **string** | key_status API Key 状态 API Key status 1: 启用 (Enabled) 2: 禁用 (Disabled) | [optional] [default to undefined]
22
- **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 Expiration timestamp, 0 means never expires | [optional] [default to undefined]
9
+ **id** | **string** | id UserAPIKey 的唯一标识符 | [optional] [default to undefined]
10
+ **created_at** | **string** | created_at 创建时间戳(Unix 时间戳) | [optional] [default to undefined]
11
+ **updated_at** | **string** | updated_at 更新时间戳(Unix 时间戳) | [optional] [default to undefined]
12
+ **deleted_at** | **string** | deleted_at 软删除时间戳,0 表示未删除 | [optional] [default to undefined]
13
+ **uid** | **string** | uid 用户 ID | [optional] [default to undefined]
14
+ **name** | **string** | name API Key 的唯一名称标识 | [optional] [default to undefined]
15
+ **key_group** | **string** | key_group API Key 分组 | [optional] [default to undefined]
16
+ **display_name** | **string** | display_name API Key 的显示名称 | [optional] [default to undefined]
17
+ **quota_balance_total** | **string** | quota_balance_total 总配额余额,使用 DECIMAL(24,12) 精度存储 字符串格式,例如:\"100.50\" 表示 $100.50 或 ¥100.50 | [optional] [default to undefined]
18
+ **quota_balance_used** | **string** | quota_balance_used 已使用配额余额,使用 DECIMAL(24,12) 精度存储 字符串格式,例如:\"25.75\" 表示已使用 $25.75 或 ¥25.75 | [optional] [default to undefined]
19
+ **balance_code** | **string** | balance_code 余额货币代码 USD: 美元 (US Dollar) CNY: 人民币 (Chinese Yuan) | [optional] [default to undefined]
20
+ **quota_mode** | **number** | quota_mode 配额模式 1: 有限配额 (Limited) 2: 无限配额 (Unlimited) | [optional] [default to undefined]
21
+ **key_status** | **string** | key_status API Key 状态 1: 启用 (Enabled) 2: 禁用 (Disabled) | [optional] [default to undefined]
22
+ **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 | [optional] [default to undefined]
23
23
 
24
24
  ## Example
25
25
 
@@ -1,20 +1,20 @@
1
1
  # UserAPIKeyCreateRequest
2
2
 
3
- UserAPIKeyCreateRequest 创建 UserAPIKey 的请求 Request message for creating a new UserAPIKey
3
+ UserAPIKeyCreateRequest 创建 UserAPIKey 的请求
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **uid** | **string** | uid 用户 ID(管理员可以指定,普通用户自动使用当前用户) User ID (admin can specify, normal user uses current user automatically) | [optional] [default to undefined]
10
- **name** | **string** | name API Key 的唯一名称标识 Unique name identifier for the API key | [optional] [default to undefined]
11
- **key_group** | **string** | key_group API Key 分组(可选) API Key group (optional) | [optional] [default to undefined]
12
- **display_name** | **string** | display_name API Key 的显示名称 Display name for the API key | [optional] [default to undefined]
13
- **quota_balance_total** | **string** | quota_balance_total 总配额余额 Total quota balance 字符串格式,使用 DECIMAL(24,12) 精度,例如:\"100.50\" String format with DECIMAL(24,12) precision, e.g., \"100.50\" | [optional] [default to undefined]
14
- **balance_code** | **string** | balance_code 余额货币代码(仅管理员可指定,默认从 user_balances 读取) Balance currency code (admin only, defaults to reading from user_balances) USD: 美元 (US Dollar) CNY: 人民币 (Chinese Yuan) | [optional] [default to undefined]
15
- **quota_mode** | **number** | quota_mode 配额模式 Quota mode 1: 有限配额 (Limited) 2: 无限配额 (Unlimited) | [optional] [default to undefined]
9
+ **uid** | **string** | uid 用户 ID(管理员可以指定,普通用户自动使用当前用户) | [optional] [default to undefined]
10
+ **name** | **string** | name API Key 的唯一名称标识 | [optional] [default to undefined]
11
+ **key_group** | **string** | key_group API Key 分组(可选) | [optional] [default to undefined]
12
+ **display_name** | **string** | display_name API Key 的显示名称 | [optional] [default to undefined]
13
+ **quota_balance_total** | **string** | quota_balance_total 总配额余额 字符串格式,使用 DECIMAL(24,12) 精度,例如:\"100.50\" | [optional] [default to undefined]
14
+ **balance_code** | **string** | balance_code 余额货币代码(仅管理员可指定,默认从 user_balances 读取) USD: 美元 (US Dollar) CNY: 人民币 (Chinese Yuan) | [optional] [default to undefined]
15
+ **quota_mode** | **number** | quota_mode 配额模式 1: 有限配额 (Limited) 2: 无限配额 (Unlimited) | [optional] [default to undefined]
16
16
  **key_status** | **string** | key_status API Key 状态 API Key status 1: 启用 (Enabled) 2: 禁用 (Disabled) | [optional] [default to undefined]
17
- **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 Expiration timestamp, 0 means never expires | [optional] [default to undefined]
17
+ **expires_at** | **string** | expires_at 过期时间戳,0 表示永不过期 | [optional] [default to undefined]
18
18
 
19
19
  ## Example
20
20
 
@@ -1,14 +1,14 @@
1
1
  # UserAPIKeyCreateResponse
2
2
 
3
- UserAPIKeyCreateResponse 创建 UserAPIKey 的响应 Response message for UserAPIKey creation
3
+ UserAPIKeyCreateResponse 创建 UserAPIKey 的响应
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
11
- **data** | [**UserAPIKey**](UserAPIKey.md) | data 创建成功后返回的 UserAPIKey 信息 UserAPIKey information returned after successful creation | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,20200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
+ **data** | [**UserAPIKey**](UserAPIKey.md) | data 创建成功后返回的 UserAPIKey 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,13 +1,13 @@
1
1
  # UserAPIKeyDeleteResponse
2
2
 
3
- UserAPIKeyDeleteResponse 删除 UserAPIKey 的响应 Response message for UserAPIKey deletion
3
+ UserAPIKeyDeleteResponse 删除 UserAPIKey 的响应
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
@@ -1,14 +1,14 @@
1
1
  # UserAPIKeyGetResponse
2
2
 
3
- UserAPIKeyGetResponse 获取单个 UserAPIKey 的响应 Response message for UserAPIKey retrieval
3
+ UserAPIKeyGetResponse 获取单个 UserAPIKey 的响应
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
11
- **data** | [**UserAPIKey**](UserAPIKey.md) | data UserAPIKey 信息 UserAPIKey information | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
+ **data** | [**UserAPIKey**](UserAPIKey.md) | data UserAPIKey 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -1,15 +1,15 @@
1
1
  # UserAPIKeyListResponse
2
2
 
3
- UserAPIKeyListResponse 分页查询 UserAPIKey 列表的响应 Response message for UserAPIKey listing
3
+ UserAPIKeyListResponse 分页查询 UserAPIKey 列表的响应
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
11
- **list** | [**Array<UserAPIKey>**](UserAPIKey.md) | list UserAPIKey 列表 List of UserAPIKeys | [optional] [default to undefined]
12
- **total** | **string** | total 符合条件的 UserAPIKey 总数 Total number of UserAPIKeys matching the filter criteria | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
+ **list** | [**Array<UserAPIKey>**](UserAPIKey.md) | list UserAPIKey 列表 | [optional] [default to undefined]
12
+ **total** | **string** | total 符合条件的 UserAPIKey 总数 | [optional] [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost*
13
13
  # **userAPIKeyServiceUserAPIKeyCreate**
14
14
  > UserAPIKeyCreateResponse userAPIKeyServiceUserAPIKeyCreate(userAPIKeyCreateRequest)
15
15
 
16
- UserAPIKeyCreate 创建新的 UserAPIKey Create a new UserAPIKey 请求路径: POST /api/user/api-key/create Request path: POST /api/user/api-key/create 权限要求: 需要用户认证 Permission: Requires user authentication
16
+ UserAPIKeyCreate 创建新的 UserAPIKey 请求路径: POST /api/user/api-key/create
17
17
 
18
18
  ### Example
19
19
 
@@ -66,7 +66,7 @@ No authorization required
66
66
  # **userAPIKeyServiceUserAPIKeyDelete**
67
67
  > UserAPIKeyDeleteResponse userAPIKeyServiceUserAPIKeyDelete()
68
68
 
69
- UserAPIKeyDelete 删除 UserAPIKey(软删除) Delete a UserAPIKey (soft delete) 请求路径: POST /api/user/api-key/delete Request path: POST /api/user/api-key/delete 权限要求: 需要用户认证 Permission: Requires user authentication
69
+ UserAPIKeyDelete 删除 UserAPIKey(软删除) 请求路径: POST /api/user/api-key/delete
70
70
 
71
71
  ### Example
72
72
 
@@ -79,7 +79,7 @@ import {
79
79
  const configuration = new Configuration();
80
80
  const apiInstance = new UserAPIKeyServiceApi(configuration);
81
81
 
82
- let id: string; //id 要删除的 UserAPIKey 的唯一标识符 Unique identifier of the UserAPIKey to delete @gotags: form:\"id\" binding:\"required\" (optional) (default to undefined)
82
+ let id: string; //id 要删除的 UserAPIKey 的唯一标识符 @gotags: form:\"id\" binding:\"required\" (optional) (default to undefined)
83
83
 
84
84
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyDelete(
85
85
  id
@@ -90,7 +90,7 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyDelete(
90
90
 
91
91
  |Name | Type | Description | Notes|
92
92
  |------------- | ------------- | ------------- | -------------|
93
- | **id** | [**string**] | id 要删除的 UserAPIKey 的唯一标识符 Unique identifier of the UserAPIKey to delete @gotags: form:\"id\" binding:\"required\" | (optional) defaults to undefined|
93
+ | **id** | [**string**] | id 要删除的 UserAPIKey 的唯一标识符 @gotags: form:\"id\" binding:\"required\" | (optional) defaults to undefined|
94
94
 
95
95
 
96
96
  ### Return type
@@ -118,7 +118,7 @@ No authorization required
118
118
  # **userAPIKeyServiceUserAPIKeyGet**
119
119
  > UserAPIKeyGetResponse userAPIKeyServiceUserAPIKeyGet()
120
120
 
121
- UserAPIKeyGet 根据 ID 或名称获取单个 UserAPIKey Retrieve a single UserAPIKey by ID or name 请求路径: GET /api/user/api-key/get?id={id} 或 GET /api/user/api-key/get?name={name} Request path: GET /api/user/api-key/get?id={id} or GET /api/user/api-key/get?name={name} 权限要求: 需要用户认证 Permission: Requires user authentication
121
+ UserAPIKeyGet 根据 ID 或名称获取单个 UserAPIKey Request path: GET /api/user/api-key/get?id={id} or GET /api/user/api-key/get?name={name}
122
122
 
123
123
  ### Example
124
124
 
@@ -131,8 +131,8 @@ import {
131
131
  const configuration = new Configuration();
132
132
  const apiInstance = new UserAPIKeyServiceApi(configuration);
133
133
 
134
- let id: string; //id 要获取的 UserAPIKey 的唯一标识符 Unique identifier of the UserAPIKey to retrieve @gotags: form:\"id\" (optional) (default to undefined)
135
- let name: string; //name 要获取的 UserAPIKey 的名称 Name of the UserAPIKey to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\" (optional) (default to undefined)
134
+ let id: string; //id 要获取的 UserAPIKey 的唯一标识符 @gotags: form:\"id\" (optional) (default to undefined)
135
+ let name: string; //name 要获取的 UserAPIKey 的名称 如果同时提供 id 和 name,以 id 为准 @gotags: form:\"name\" (optional) (default to undefined)
136
136
 
137
137
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyGet(
138
138
  id,
@@ -144,8 +144,8 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyGet(
144
144
 
145
145
  |Name | Type | Description | Notes|
146
146
  |------------- | ------------- | ------------- | -------------|
147
- | **id** | [**string**] | id 要获取的 UserAPIKey 的唯一标识符 Unique identifier of the UserAPIKey to retrieve @gotags: form:\"id\" | (optional) defaults to undefined|
148
- | **name** | [**string**] | name 要获取的 UserAPIKey 的名称 Name of the UserAPIKey to retrieve 如果同时提供 id 和 name,以 id 为准 If both id and name are provided, id takes precedence @gotags: form:\"name\" | (optional) defaults to undefined|
147
+ | **id** | [**string**] | id 要获取的 UserAPIKey 的唯一标识符 @gotags: form:\"id\" | (optional) defaults to undefined|
148
+ | **name** | [**string**] | name 要获取的 UserAPIKey 的名称 如果同时提供 id 和 name,以 id 为准 @gotags: form:\"name\" | (optional) defaults to undefined|
149
149
 
150
150
 
151
151
  ### Return type
@@ -173,7 +173,7 @@ No authorization required
173
173
  # **userAPIKeyServiceUserAPIKeyList**
174
174
  > UserAPIKeyListResponse userAPIKeyServiceUserAPIKeyList()
175
175
 
176
- UserAPIKeyList 分页查询 UserAPIKey 列表,支持按状态和分组过滤 List UserAPIKeys with pagination, supports filtering by status and key group 请求路径: GET /api/user/api-key/list?page={page}&page_size={page_size}&key_status={status}&key_group={group} Request path: GET /api/user/api-key/list?page={page}&page_size={page_size}&key_status={status}&key_group={group} 权限要求: 需要用户认证 Permission: Requires user authentication
176
+ UserAPIKeyList 分页查询 UserAPIKey 列表,支持按状态和分组过滤 请求路径: GET /api/user/api-key/list?page={page}&page_size={page_size}&key_status={status}&key_group={group}
177
177
 
178
178
  ### Example
179
179
 
@@ -186,11 +186,11 @@ import {
186
186
  const configuration = new Configuration();
187
187
  const apiInstance = new UserAPIKeyServiceApi(configuration);
188
188
 
189
- let page: number; //page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\" (optional) (default to undefined)
190
- let pageSize: number; //page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\" (optional) (default to undefined)
191
- let uid: string; //uid 按用户 ID 过滤(可选,管理员可用) Filter by user ID (optional, admin only) 0: 返回所有用户的 API Key(仅管理员) > 0: 仅返回指定用户的 API Key 0: return API keys from all users (admin only) > 0: return API keys from specific user only @gotags: form:\"uid\" (optional) (default to undefined)
192
- let keyStatus: string; //key_status 按状态过滤(可选) Filter by status (optional) 0: 返回所有状态 1: 仅返回启用的 API Key 2: 仅返回禁用的 API Key 0: return all statuses 1: return enabled API keys only 2: return disabled API keys only @gotags: form:\"key_status\" (optional) (default to undefined)
193
- let keyGroup: string; //key_group 按分组过滤(可选) Filter by key group (optional) @gotags: form:\"key_group\" (optional) (default to undefined)
189
+ let page: number; //page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\" (optional) (default to undefined)
190
+ let pageSize: number; //page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\" (optional) (default to undefined)
191
+ let uid: string; //uid 按用户 ID 过滤(可选,管理员可用) 0: return API keys from all users (admin only) > 0: return API keys from specific user only @gotags: form:\"uid\" (optional) (default to undefined)
192
+ let keyStatus: string; //key_status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回启用的 API Key 2: 仅返回禁用的 API Key @gotags: form:\"key_status\" (optional) (default to undefined)
193
+ let keyGroup: string; //key_group 按分组过滤(可选) @gotags: form:\"key_group\" (optional) (default to undefined)
194
194
 
195
195
  const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyList(
196
196
  page,
@@ -205,11 +205,11 @@ const { status, data } = await apiInstance.userAPIKeyServiceUserAPIKeyList(
205
205
 
206
206
  |Name | Type | Description | Notes|
207
207
  |------------- | ------------- | ------------- | -------------|
208
- | **page** | [**number**] | page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\" | (optional) defaults to undefined|
209
- | **pageSize** | [**number**] | page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\" | (optional) defaults to undefined|
210
- | **uid** | [**string**] | uid 按用户 ID 过滤(可选,管理员可用) Filter by user ID (optional, admin only) 0: 返回所有用户的 API Key(仅管理员) > 0: 仅返回指定用户的 API Key 0: return API keys from all users (admin only) > 0: return API keys from specific user only @gotags: form:\"uid\" | (optional) defaults to undefined|
211
- | **keyStatus** | [**string**] | key_status 按状态过滤(可选) Filter by status (optional) 0: 返回所有状态 1: 仅返回启用的 API Key 2: 仅返回禁用的 API Key 0: return all statuses 1: return enabled API keys only 2: return disabled API keys only @gotags: form:\"key_status\" | (optional) defaults to undefined|
212
- | **keyGroup** | [**string**] | key_group 按分组过滤(可选) Filter by key group (optional) @gotags: form:\"key_group\" | (optional) defaults to undefined|
208
+ | **page** | [**number**] | page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\" | (optional) defaults to undefined|
209
+ | **pageSize** | [**number**] | page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\" | (optional) defaults to undefined|
210
+ | **uid** | [**string**] | uid 按用户 ID 过滤(可选,管理员可用) 0: return API keys from all users (admin only) > 0: return API keys from specific user only @gotags: form:\"uid\" | (optional) defaults to undefined|
211
+ | **keyStatus** | [**string**] | key_status 按状态过滤(可选) 0: 返回所有状态 1: 仅返回启用的 API Key 2: 仅返回禁用的 API Key @gotags: form:\"key_status\" | (optional) defaults to undefined|
212
+ | **keyGroup** | [**string**] | key_group 按分组过滤(可选) @gotags: form:\"key_group\" | (optional) defaults to undefined|
213
213
 
214
214
 
215
215
  ### Return type
@@ -237,7 +237,7 @@ No authorization required
237
237
  # **userAPIKeyServiceUserAPIKeyUpdate**
238
238
  > UserAPIKeyUpdateResponse userAPIKeyServiceUserAPIKeyUpdate(userAPIKeyUpdateRequest)
239
239
 
240
- UserAPIKeyUpdate 更新现有的 UserAPIKey Update an existing UserAPIKey 请求路径: POST /api/user/api-key/update Request path: POST /api/user/api-key/update 权限要求: 需要用户认证 Permission: Requires user authentication
240
+ UserAPIKeyUpdate 更新现有的 UserAPIKey 请求路径: POST /api/user/api-key/update
241
241
 
242
242
  ### Example
243
243
 
@@ -6,9 +6,9 @@ UserAPIKeyUpdateResponse 更新 UserAPIKey 的响应 Response message for UserA
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
10
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
11
- **data** | [**UserAPIKey**](UserAPIKey.md) | data 更新后的 UserAPIKey 信息 Updated UserAPIKey information | [optional] [default to undefined]
9
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
10
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
11
+ **data** | [**UserAPIKey**](UserAPIKey.md) | data 更新后的 UserAPIKey 信息 | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
10
10
  **data** | [**UserBalance**](UserBalance.md) | data 更新后的 UserBalance 信息 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
10
10
  **data** | [**UserBalance**](UserBalance.md) | data 更新后的 UserBalance 信息 | [optional] [default to undefined]
11
11
 
12
12
  ## Example
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | code 响应状态码,0 表示成功 Response code, 0 indicates success | [optional] [default to undefined]
9
- **message** | **string** | message 响应消息 Response message | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
9
+ **message** | **string** | message 响应消息 | [optional] [default to undefined]
10
10
  **list** | [**Array<UserBalance>**](UserBalance.md) | list UserBalance 列表 | [optional] [default to undefined]
11
11
  **total** | **string** | total 符合条件的 UserBalance 总数 | [optional] [default to undefined]
12
12
 
@@ -182,8 +182,8 @@ import {
182
182
  const configuration = new Configuration();
183
183
  const apiInstance = new UserBalanceServiceApi(configuration);
184
184
 
185
- let page: number; //page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\"page\" (optional) (default to undefined)
186
- let pageSize: number; //page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\"page_size\" (optional) (default to undefined)
185
+ let page: number; //page 页码,从 1 开始 默认值: 1 @gotags: form:\"page\" (optional) (default to undefined)
186
+ let pageSize: number; //page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\"page_size\" (optional) (default to undefined)
187
187
  let uidList: Array<string>; //uid_list 用户 ID 列表,空表示不按用户 ID 过滤 (optional) (default to undefined)
188
188
 
189
189
  const { status, data } = await apiInstance.userBalanceServiceUserBalanceList(
@@ -197,8 +197,8 @@ const { status, data } = await apiInstance.userBalanceServiceUserBalanceList(
197
197
 
198
198
  |Name | Type | Description | Notes|
199
199
  |------------- | ------------- | ------------- | -------------|
200
- | **page** | [**number**] | page 页码,从 1 开始 Page number, starts from 1 默认值: 1 Default: 1 @gotags: form:\&quot;page\&quot; | (optional) defaults to undefined|
201
- | **pageSize** | [**number**] | page_size 每页数量 Number of items per page 默认值: 20,最大值: 100 Default: 20, Maximum: 100 @gotags: form:\&quot;page_size\&quot; | (optional) defaults to undefined|
200
+ | **page** | [**number**] | page 页码,从 1 开始 默认值: 1 @gotags: form:\&quot;page\&quot; | (optional) defaults to undefined|
201
+ | **pageSize** | [**number**] | page_size 每页数量 默认值: 20,最大值: 100 @gotags: form:\&quot;page_size\&quot; | (optional) defaults to undefined|
202
202
  | **uidList** | **Array&lt;string&gt;** | uid_list 用户 ID 列表,空表示不按用户 ID 过滤 | (optional) defaults to undefined|
203
203
 
204
204
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | code 响应状态码,0 表示成功 | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
9
9
  **message** | **string** | message 响应消息 | [optional] [default to undefined]
10
10
  **data** | [**Array&lt;UserLabelItem&gt;**](UserLabelItem.md) | | [optional] [default to undefined]
11
11
  **total** | **string** | | [optional] [default to undefined]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **code** | **string** | code 响应状态码,0 表示成功 | [optional] [default to undefined]
8
+ **code** | **string** | code 响应状态码,200 表示成功 | [optional] [default to undefined]
9
9
  **message** | **string** | message 响应消息 | [optional] [default to undefined]
10
10
 
11
11
  ## Example
@@ -4,11 +4,127 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**userModelServiceUserModelList**](#usermodelserviceusermodellist) | **GET** /v1/models | |
7
+ |[**userModelServiceFrontendModels**](#usermodelservicefrontendmodels) | **GET** /v1/frontend/models | |
8
+ |[**userModelServiceFrontendProviders**](#usermodelservicefrontendproviders) | **GET** /v1/frontend/providers | |
9
+ |[**userModelServiceModelList**](#usermodelservicemodellist) | **GET** /v1/models | |
8
10
 
9
- # **userModelServiceUserModelList**
10
- > UserModelListResponse userModelServiceUserModelList()
11
+ # **userModelServiceFrontendModels**
12
+ > FrontendModelsResponse userModelServiceFrontendModels()
11
13
 
14
+ FrontendModels 获取前端模型列表 NOTE: 暂时不需要鉴权
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ UserModelServiceApi,
21
+ Configuration
22
+ } from '@cherryin/api-client';
23
+
24
+ const configuration = new Configuration();
25
+ const apiInstance = new UserModelServiceApi(configuration);
26
+
27
+ let providerId: string; //provider_id 可选的供应商 ID 过滤 @gotags: form:\"provider_id\" (optional) (default to undefined)
28
+ let limit: number; //limit 每页数量,0 或不传表示返回全部(默认不分页) Page size, 0 or not set means return all (no pagination by default) @gotags: form:\"limit\" (optional) (default to undefined)
29
+ let offset: number; //offset 偏移量,配合 limit 使用 Offset, used with limit @gotags: form:\"offset\" (optional) (default to undefined)
30
+
31
+ const { status, data } = await apiInstance.userModelServiceFrontendModels(
32
+ providerId,
33
+ limit,
34
+ offset
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **providerId** | [**string**] | provider_id 可选的供应商 ID 过滤 @gotags: form:\&quot;provider_id\&quot; | (optional) defaults to undefined|
43
+ | **limit** | [**number**] | limit 每页数量,0 或不传表示返回全部(默认不分页) Page size, 0 or not set means return all (no pagination by default) @gotags: form:\&quot;limit\&quot; | (optional) defaults to undefined|
44
+ | **offset** | [**number**] | offset 偏移量,配合 limit 使用 Offset, used with limit @gotags: form:\&quot;offset\&quot; | (optional) defaults to undefined|
45
+
46
+
47
+ ### Return type
48
+
49
+ **FrontendModelsResponse**
50
+
51
+ ### Authorization
52
+
53
+ No authorization required
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: Not defined
58
+ - **Accept**: application/json
59
+
60
+
61
+ ### HTTP response details
62
+ | Status code | Description | Response headers |
63
+ |-------------|-------------|------------------|
64
+ |**200** | OK | - |
65
+ |**0** | Default error response | - |
66
+
67
+ [[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)
68
+
69
+ # **userModelServiceFrontendProviders**
70
+ > FrontendProvidersResponse userModelServiceFrontendProviders()
71
+
72
+ FrontendProviders 获取前端供应商列表 NOTE: 暂时不需要鉴权
73
+
74
+ ### Example
75
+
76
+ ```typescript
77
+ import {
78
+ UserModelServiceApi,
79
+ Configuration
80
+ } from '@cherryin/api-client';
81
+
82
+ const configuration = new Configuration();
83
+ const apiInstance = new UserModelServiceApi(configuration);
84
+
85
+ let limit: number; //limit 每页数量,0 或不传表示返回全部(默认不分页) Page size, 0 or not set means return all (no pagination by default) @gotags: form:\"limit\" (optional) (default to undefined)
86
+ let offset: number; //offset 偏移量,配合 limit 使用 Offset, used with limit @gotags: form:\"offset\" (optional) (default to undefined)
87
+
88
+ const { status, data } = await apiInstance.userModelServiceFrontendProviders(
89
+ limit,
90
+ offset
91
+ );
92
+ ```
93
+
94
+ ### Parameters
95
+
96
+ |Name | Type | Description | Notes|
97
+ |------------- | ------------- | ------------- | -------------|
98
+ | **limit** | [**number**] | limit 每页数量,0 或不传表示返回全部(默认不分页) Page size, 0 or not set means return all (no pagination by default) @gotags: form:\&quot;limit\&quot; | (optional) defaults to undefined|
99
+ | **offset** | [**number**] | offset 偏移量,配合 limit 使用 Offset, used with limit @gotags: form:\&quot;offset\&quot; | (optional) defaults to undefined|
100
+
101
+
102
+ ### Return type
103
+
104
+ **FrontendProvidersResponse**
105
+
106
+ ### Authorization
107
+
108
+ No authorization required
109
+
110
+ ### HTTP request headers
111
+
112
+ - **Content-Type**: Not defined
113
+ - **Accept**: application/json
114
+
115
+
116
+ ### HTTP response details
117
+ | Status code | Description | Response headers |
118
+ |-------------|-------------|------------------|
119
+ |**200** | OK | - |
120
+ |**0** | Default error response | - |
121
+
122
+ [[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)
123
+
124
+ # **userModelServiceModelList**
125
+ > ModelListResponse userModelServiceModelList()
126
+
127
+ ModelList OpenAI 通用模型列表 NOTE: 暂时不需要鉴权
12
128
 
13
129
  ### Example
14
130
 
@@ -21,18 +137,16 @@ import {
21
137
  const configuration = new Configuration();
22
138
  const apiInstance = new UserModelServiceApi(configuration);
23
139
 
24
- let currencyCode: string; //货币代码过滤,例如 \"USD\", \"CNY\" Filter by currency code, e.g., \"USD\", \"CNY\" @gotags: form:\"currency_code\" (optional) (default to undefined)
25
140
  let beforeId: string; //ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object. @gotags: form:\"before_id\" (optional) (default to undefined)
26
141
  let afterId: string; //ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object. @gotags: form:\"after_id\" (optional) (default to undefined)
27
142
  let limit: string; //Number of items to return per page. Defaults to 0. Ranges from 1 to 1000. if limit is 0, server will return all models. @gotags: form:\"limit\" (optional) (default to undefined)
28
- let withPricing: boolean; //optional extra info @gotags: form:\"with_pricing\" (optional) (default to undefined)
143
+ let pricingCode: string; //model pricing currency code. eg. USD/CNY @gotags: form:\"pricing_code\" (optional) (default to undefined)
29
144
 
30
- const { status, data } = await apiInstance.userModelServiceUserModelList(
31
- currencyCode,
145
+ const { status, data } = await apiInstance.userModelServiceModelList(
32
146
  beforeId,
33
147
  afterId,
34
148
  limit,
35
- withPricing
149
+ pricingCode
36
150
  );
37
151
  ```
38
152
 
@@ -40,16 +154,15 @@ const { status, data } = await apiInstance.userModelServiceUserModelList(
40
154
 
41
155
  |Name | Type | Description | Notes|
42
156
  |------------- | ------------- | ------------- | -------------|
43
- | **currencyCode** | [**string**] | 货币代码过滤,例如 \&quot;USD\&quot;, \&quot;CNY\&quot; Filter by currency code, e.g., \&quot;USD\&quot;, \&quot;CNY\&quot; @gotags: form:\&quot;currency_code\&quot; | (optional) defaults to undefined|
44
157
  | **beforeId** | [**string**] | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object. @gotags: form:\&quot;before_id\&quot; | (optional) defaults to undefined|
45
158
  | **afterId** | [**string**] | ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object. @gotags: form:\&quot;after_id\&quot; | (optional) defaults to undefined|
46
159
  | **limit** | [**string**] | Number of items to return per page. Defaults to 0. Ranges from 1 to 1000. if limit is 0, server will return all models. @gotags: form:\&quot;limit\&quot; | (optional) defaults to undefined|
47
- | **withPricing** | [**boolean**] | optional extra info @gotags: form:\&quot;with_pricing\&quot; | (optional) defaults to undefined|
160
+ | **pricingCode** | [**string**] | model pricing currency code. eg. USD/CNY @gotags: form:\&quot;pricing_code\&quot; | (optional) defaults to undefined|
48
161
 
49
162
 
50
163
  ### Return type
51
164
 
52
- **UserModelListResponse**
165
+ **ModelListResponse**
53
166
 
54
167
  ### Authorization
55
168