@ucloud-sdks/ucloud-sdk-js 0.2.45 → 0.2.47

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.
@@ -11,6 +11,7 @@ export declare class Client extends BaseClient {
11
11
  ipsecvpn(): any;
12
12
  pathx(): any;
13
13
  sandbox(): any;
14
+ ses(): any;
14
15
  uaccount(): any;
15
16
  uai_modelverse(): any;
16
17
  ubill(): any;
@@ -7,6 +7,7 @@ const CubeClient = require('./cube').default;
7
7
  const IPSecVPNClient = require('./ipsecvpn').default;
8
8
  const PathXClient = require('./pathx').default;
9
9
  const SandboxClient = require('./sandbox').default;
10
+ const SESClient = require('./ses').default;
10
11
  const UAccountClient = require('./uaccount').default;
11
12
  const UAIModelverseClient = require('./uai_modelverse').default;
12
13
  const UBillClient = require('./ubill').default;
@@ -74,6 +75,12 @@ class Client extends BaseClient {
74
75
  credential: this.credential,
75
76
  });
76
77
  }
78
+ ses() {
79
+ return new SESClient({
80
+ config: this.config,
81
+ credential: this.credential,
82
+ });
83
+ }
77
84
  uaccount() {
78
85
  return new UAccountClient({
79
86
  config: this.config,
@@ -0,0 +1,263 @@
1
+ import Client from '../../core/client';
2
+ import { ConfigOptions } from '../../core/config';
3
+ import { CredentialOptions } from '../../core/credential';
4
+ /**
5
+ * This client is used to call actions of **ses** service
6
+ */
7
+ export default class SESClient extends Client {
8
+ constructor({ config, credential, }: {
9
+ config: ConfigOptions;
10
+ credential: CredentialOptions;
11
+ });
12
+ /**
13
+ * SendSESEmail - 直接发送邮件,无需创建发送任务和模版,支持 HTML/纯文本内容、主题、抄送/密送、附件和邮件头,单次最多 100 个收件人。
14
+ *
15
+ * See also: https://docs.ucloud.cn/api/ses-api/send_ses_email
16
+ */
17
+ sendSESEmail(request?: SendSESEmailRequest): Promise<SendSESEmailResponse>;
18
+ /**
19
+ * SendSESEmailTemplate - 通过模版发送邮件,无需创建发送任务。支持自定义主题、摘要、预览文本、抄送/密送、附件和邮件头,单次最多 100 个收件人。
20
+ *
21
+ * See also: https://docs.ucloud.cn/api/ses-api/send_ses_email_template
22
+ */
23
+ sendSESEmailTemplate(request?: SendSESEmailTemplateRequest): Promise<SendSESEmailTemplateResponse>;
24
+ }
25
+ /**
26
+ * SendSESEmail - 直接发送邮件,无需创建发送任务和模版,支持 HTML/纯文本内容、主题、抄送/密送、附件和邮件头,单次最多 100 个收件人。
27
+ */
28
+ export interface SendSESEmailRequest {
29
+ /**
30
+ * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
31
+ */
32
+ Zone?: string;
33
+ /**
34
+ * 邮件主题(长度 1~200 字符)
35
+ */
36
+ Subject: string;
37
+ /**
38
+ * 发件人邮箱,配置地址:https://console.ucloud.cn/ses/email-config?tab=sender-list
39
+ */
40
+ From: string;
41
+ /**
42
+ * 收件人
43
+ */
44
+ To: string[];
45
+ /**
46
+ * HTML 内容 (与Text二选一,长度上限 10,485,760个字符)
47
+ */
48
+ Html?: string;
49
+ /**
50
+ * 纯文本内容 (与Html二选一,长度上限 10,485,760个字符)
51
+ */
52
+ Text?: string;
53
+ /**
54
+ * 邮件预览文本
55
+ */
56
+ PreHeader?: string;
57
+ /**
58
+ * 发件人名称,不传或为空时,自动回落到该发件人在控制台配置的别名(Alias)
59
+ */
60
+ FromName?: string;
61
+ /**
62
+ * 抄送(抄送+密送总数量不能超过100)
63
+ */
64
+ Cc?: string[];
65
+ /**
66
+ * 密送(抄送+密送总数量不能超过100)
67
+ */
68
+ Bcc?: string[];
69
+ /**
70
+ *
71
+ */
72
+ Attachments?: {
73
+ /**
74
+ * 附件文件名
75
+ */
76
+ Filename?: string;
77
+ /**
78
+ * MIME 类型,如: application/pdf
79
+ */
80
+ ContentType?: string;
81
+ /**
82
+ * 附件内容(Base64 编码),单次请求最多 10 个附件;总大小不超过 10MB
83
+ */
84
+ Data?: string;
85
+ }[];
86
+ /**
87
+ *
88
+ */
89
+ Headers?: {
90
+ /**
91
+ * 邮件头名称,最多 20 个且仅允许字母、数字和 -(正则 ^[A-Za-z0-9-]+$)。禁止使用保留名称:From/To/Cc/Bcc/Subject/Reply-To/Content-Type/Mime-Version,以及 X-SES- 前缀(均不区分大小写)。
92
+ */
93
+ Name?: string;
94
+ /**
95
+ * 邮件头值
96
+ */
97
+ Value?: string;
98
+ }[];
99
+ }
100
+ /**
101
+ * SendSESEmail - 直接发送邮件,无需创建发送任务和模版,支持 HTML/纯文本内容、主题、抄送/密送、附件和邮件头,单次最多 100 个收件人。
102
+ */
103
+ export interface SendSESEmailResponse {
104
+ /**
105
+ * 本次发送任务的唯一标识
106
+ */
107
+ SessionNo: string;
108
+ /**
109
+ * 发送成功数
110
+ */
111
+ SuccessCount: number;
112
+ /**
113
+ * 发送失败的收件人列表
114
+ */
115
+ FailContent: {
116
+ /**
117
+ * 收件人
118
+ */
119
+ To?: string;
120
+ /**
121
+ * 收件邮箱
122
+ */
123
+ EmailAddress?: string;
124
+ /**
125
+ * 抄送
126
+ */
127
+ Cc?: string[];
128
+ /**
129
+ * 密送
130
+ */
131
+ Bcc?: string[];
132
+ /**
133
+ * 模版变量
134
+ */
135
+ TemplateVariableParams?: string[];
136
+ /**
137
+ * 失败原因
138
+ */
139
+ FailureReason?: string;
140
+ }[];
141
+ }
142
+ /**
143
+ * SendSESEmailTemplate - 通过模版发送邮件,无需创建发送任务。支持自定义主题、摘要、预览文本、抄送/密送、附件和邮件头,单次最多 100 个收件人。
144
+ */
145
+ export interface SendSESEmailTemplateRequest {
146
+ /**
147
+ * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
148
+ */
149
+ Zone?: string;
150
+ /**
151
+ * 模版 ID,获取:https://console.ucloud.cn/ses/email-config?tab=template
152
+ */
153
+ TemplateId: string;
154
+ /**
155
+ * 发件人邮箱
156
+ */
157
+ From: string;
158
+ /**
159
+ * 邮件主题
160
+ */
161
+ Subject: string;
162
+ /**
163
+ * 邮件预览文本
164
+ */
165
+ PreHeader?: string;
166
+ /**
167
+ *
168
+ */
169
+ EmailContent?: {
170
+ /**
171
+ * 收件人,最多100条
172
+ */
173
+ To?: string;
174
+ /**
175
+ * 抄送(抄送+密送总数量不能超过100)
176
+ */
177
+ Cc?: string[];
178
+ /**
179
+ * 密送(抄送+密送总数量不能超过100)
180
+ */
181
+ Bcc?: string[];
182
+ /**
183
+ * 模版变量,格式 variableName{##}variableValue (例:{"name{##}Tom", "code{##}1234"})
184
+ */
185
+ TemplateVariableParams?: string[];
186
+ }[];
187
+ /**
188
+ * 发件人名称,不传或为空时,自动回落到该发件人在控制台配置的别名(Alias)
189
+ */
190
+ FromName?: string;
191
+ /**
192
+ *
193
+ */
194
+ Attachments?: {
195
+ /**
196
+ * 附件文件名
197
+ */
198
+ Filename?: string;
199
+ /**
200
+ * MIME 类型,如: application/pdf
201
+ */
202
+ ContentType?: string;
203
+ /**
204
+ * 附件内容(Base64 编码),单次请求最多 10 个附件;总大小不超过 10MB
205
+ */
206
+ Data?: string;
207
+ }[];
208
+ /**
209
+ *
210
+ */
211
+ Headers?: {
212
+ /**
213
+ * 邮件头名称,最多 20 个且仅允许字母、数字和 -(正则 ^[A-Za-z0-9-]+$)。禁止使用保留名称:From/To/Cc/Bcc/Subject/Reply-To/Content-Type/Mime-Version,以及 X-SES- 前缀(均不区分大小写)。
214
+ */
215
+ Name?: string;
216
+ /**
217
+ * 邮件头值
218
+ */
219
+ Value?: string;
220
+ }[];
221
+ }
222
+ /**
223
+ * SendSESEmailTemplate - 通过模版发送邮件,无需创建发送任务。支持自定义主题、摘要、预览文本、抄送/密送、附件和邮件头,单次最多 100 个收件人。
224
+ */
225
+ export interface SendSESEmailTemplateResponse {
226
+ /**
227
+ * 本次发送任务的唯一标识
228
+ */
229
+ SessionNo: string;
230
+ /**
231
+ * 发送成功数
232
+ */
233
+ SuccessCount: number;
234
+ /**
235
+ * 发送失败的收件人列表
236
+ */
237
+ FailContent: {
238
+ /**
239
+ * 收件人
240
+ */
241
+ To?: string;
242
+ /**
243
+ * 收件邮箱
244
+ */
245
+ EmailAddress?: string;
246
+ /**
247
+ * 抄送
248
+ */
249
+ Cc?: string[];
250
+ /**
251
+ * 密送
252
+ */
253
+ Bcc?: string[];
254
+ /**
255
+ * 模版变量
256
+ */
257
+ TemplateVariableParams?: string[];
258
+ /**
259
+ * 失败原因
260
+ */
261
+ FailureReason?: string;
262
+ }[];
263
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const client_1 = __importDefault(require("../../core/client"));
7
+ const request_1 = __importDefault(require("../../core/request"));
8
+ /**
9
+ * This client is used to call actions of **ses** service
10
+ */
11
+ class SESClient extends client_1.default {
12
+ constructor({ config, credential, }) {
13
+ super({ config, credential });
14
+ }
15
+ /**
16
+ * SendSESEmail - 直接发送邮件,无需创建发送任务和模版,支持 HTML/纯文本内容、主题、抄送/密送、附件和邮件头,单次最多 100 个收件人。
17
+ *
18
+ * See also: https://docs.ucloud.cn/api/ses-api/send_ses_email
19
+ */
20
+ sendSESEmail(request) {
21
+ const args = Object.assign({ Action: 'SendSESEmail' }, (request || {}));
22
+ return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
23
+ }
24
+ /**
25
+ * SendSESEmailTemplate - 通过模版发送邮件,无需创建发送任务。支持自定义主题、摘要、预览文本、抄送/密送、附件和邮件头,单次最多 100 个收件人。
26
+ *
27
+ * See also: https://docs.ucloud.cn/api/ses-api/send_ses_email_template
28
+ */
29
+ sendSESEmailTemplate(request) {
30
+ const args = Object.assign({ Action: 'SendSESEmailTemplate' }, (request || {}));
31
+ return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
32
+ }
33
+ }
34
+ exports.default = SESClient;
@@ -801,7 +801,15 @@ export interface GetUFSquareModelDetailResponse {
801
801
  /**
802
802
  * 关联的 batch 模型广场id
803
803
  */
804
- BatchSquareModelId: string;
804
+ BatchSquareModelId?: string;
805
+ /**
806
+ * 一级分类
807
+ */
808
+ ModelCategory?: string;
809
+ /**
810
+ * 二级分类列表
811
+ */
812
+ ModelSubCategories?: string;
805
813
  /**
806
814
  * 是否关联有可用 batch 模型
807
815
  */
@@ -810,6 +818,39 @@ export interface GetUFSquareModelDetailResponse {
810
818
  * 关联的 batch 模型名称
811
819
  */
812
820
  BatchName?: string;
821
+ /**
822
+ * 是否有关联的推理地域模型
823
+ */
824
+ IsHasInferenceRegions?: boolean;
825
+ /**
826
+ * 推理地域模型列表
827
+ */
828
+ InferenceRegions?: {
829
+ /**
830
+ * 地域代码: sg(新加坡)/us(美国)/hk(香港)
831
+ */
832
+ RegionCode?: string;
833
+ /**
834
+ * 地域名称: 新加坡/美国/香港
835
+ */
836
+ RegionName?: string;
837
+ /**
838
+ * 地域名称(英文): Singapore/United States/Hong Kong
839
+ */
840
+ RegionNameEn?: string;
841
+ /**
842
+ * 地域模型ID (例如: deepseek-v4-flash-sg)
843
+ */
844
+ ModelId?: string;
845
+ /**
846
+ * 广场模型ID (umodel-xxx)
847
+ */
848
+ SquareModelId?: string;
849
+ /**
850
+ * 状态: published(已发布)/unpublished(未发布)
851
+ */
852
+ Status?: string;
853
+ }[];
813
854
  /**
814
855
  * 制造商
815
856
  */
@@ -835,13 +876,62 @@ export interface GetUFSquareModelDetailResponse {
835
876
  */
836
877
  Language?: string[];
837
878
  /**
838
- * 模型长度
879
+ * 模型长度,单位 token
839
880
  */
840
881
  MaxModelLen?: number;
882
+ /**
883
+ * 模型长度,单位 K tokens
884
+ */
885
+ MaxModelLenNew?: number;
886
+ /**
887
+ * 最大输入token数
888
+ */
889
+ MaxInputTokens?: number;
890
+ /**
891
+ * 最大输出token数
892
+ */
893
+ MaxOutputTokens?: number;
894
+ /**
895
+ * 模型类型映射
896
+ */
897
+ ModelTypeMap?: {
898
+ /**
899
+ * 文生文模型,true 表示是文生文模型,下同
900
+ */
901
+ TextGeneration?: boolean;
902
+ /**
903
+ * 图生图模型
904
+ */
905
+ ImageToImage?: boolean;
906
+ /**
907
+ * 文生图模型
908
+ */
909
+ TextToImage?: boolean;
910
+ /**
911
+ * 文生视频模型
912
+ */
913
+ TextToVideo?: boolean;
914
+ /**
915
+ * 图生视频模型
916
+ */
917
+ ImageToVideo?: boolean;
918
+ /**
919
+ * 海外模型
920
+ */
921
+ Sensitive?: boolean;
922
+ /**
923
+ * 微调模型
924
+ */
925
+ Inference?: boolean;
926
+ };
841
927
  /**
842
928
  * 模型类型
843
929
  */
844
930
  ModelType?: string;
931
+ /**
932
+ * 模型封面链接
933
+ */
934
+ CoverUrl?: string;
845
935
  /**
846
936
  * HuggingFace 更新时间
847
937
  */
@@ -858,6 +948,76 @@ export interface GetUFSquareModelDetailResponse {
858
948
  * 模型能力
859
949
  */
860
950
  SupportedCapabilities?: string[];
951
+ /**
952
+ * 模型能力详细映射
953
+ */
954
+ Capabilities?: {
955
+ /**
956
+ * 是否支持上下文缓存
957
+ */
958
+ ContextCaching?: boolean;
959
+ /**
960
+ * 是否支持批量推理
961
+ */
962
+ BatchInference?: boolean;
963
+ /**
964
+ * 是否支持结构化输出
965
+ */
966
+ StructuredOutput?: boolean;
967
+ /**
968
+ * 是否支持函数调用
969
+ */
970
+ FunctionCall?: boolean;
971
+ /**
972
+ * 是否支持联网搜索
973
+ */
974
+ WebSearch?: boolean;
975
+ /**
976
+ * 是否支持知识库
977
+ */
978
+ KnowledgeBase?: boolean;
979
+ /**
980
+ * 是否支持MCP
981
+ */
982
+ Mcp?: boolean;
983
+ /**
984
+ * 是否支持体验
985
+ */
986
+ Experience?: boolean;
987
+ };
988
+ /**
989
+ * 模型额外标签
990
+ */
991
+ ExtraModelTags?: string[];
992
+ /**
993
+ * api协议映射
994
+ */
995
+ ApiProtocols?: {
996
+ /**
997
+ * 是否支持chat协议
998
+ */
999
+ ChatCompletions?: boolean;
1000
+ /**
1001
+ * 是否支持responses协议
1002
+ */
1003
+ Responses?: boolean;
1004
+ /**
1005
+ * 是否支持gemini协议
1006
+ */
1007
+ Gemini?: boolean;
1008
+ /**
1009
+ * 是否支持Anthropic协议
1010
+ */
1011
+ Anthropic?: boolean;
1012
+ };
1013
+ /**
1014
+ * 输入模态
1015
+ */
1016
+ InputModalities?: string[];
1017
+ /**
1018
+ * 输出模态
1019
+ */
1020
+ OutputModalities?: string[];
861
1021
  /**
862
1022
  * 图标
863
1023
  */
@@ -1581,7 +1741,15 @@ export interface ListUFSquareModelResponse {
1581
1741
  /**
1582
1742
  * 关联的 batch 模型广场id
1583
1743
  */
1584
- BatchSquareModelId: string;
1744
+ BatchSquareModelId?: string;
1745
+ /**
1746
+ * 一级分类
1747
+ */
1748
+ ModelCategory?: string;
1749
+ /**
1750
+ * 二级分类列表
1751
+ */
1752
+ ModelSubCategories?: string;
1585
1753
  /**
1586
1754
  * 是否关联有可用 batch 模型
1587
1755
  */
@@ -1590,6 +1758,39 @@ export interface ListUFSquareModelResponse {
1590
1758
  * 关联的 batch 模型名称
1591
1759
  */
1592
1760
  BatchName?: string;
1761
+ /**
1762
+ * 是否有关联的推理地域模型
1763
+ */
1764
+ IsHasInferenceRegions?: boolean;
1765
+ /**
1766
+ * 推理地域模型列表
1767
+ */
1768
+ InferenceRegions?: {
1769
+ /**
1770
+ * 地域代码: sg(新加坡)/us(美国)/hk(香港)
1771
+ */
1772
+ RegionCode?: string;
1773
+ /**
1774
+ * 地域名称: 新加坡/美国/香港
1775
+ */
1776
+ RegionName?: string;
1777
+ /**
1778
+ * 地域名称(英文): Singapore/United States/Hong Kong
1779
+ */
1780
+ RegionNameEn?: string;
1781
+ /**
1782
+ * 地域模型ID (例如: deepseek-v4-flash-sg)
1783
+ */
1784
+ ModelId?: string;
1785
+ /**
1786
+ * 广场模型ID (umodel-xxx)
1787
+ */
1788
+ SquareModelId?: string;
1789
+ /**
1790
+ * 状态: published(已发布)/unpublished(未发布)
1791
+ */
1792
+ Status?: string;
1793
+ }[];
1593
1794
  /**
1594
1795
  * 制造商
1595
1796
  */
@@ -1615,13 +1816,62 @@ export interface ListUFSquareModelResponse {
1615
1816
  */
1616
1817
  Language?: string[];
1617
1818
  /**
1618
- * 模型长度
1819
+ * 模型长度,单位 token
1619
1820
  */
1620
1821
  MaxModelLen?: number;
1822
+ /**
1823
+ * 模型长度,单位 K tokens
1824
+ */
1825
+ MaxModelLenNew?: number;
1826
+ /**
1827
+ * 最大输入token数
1828
+ */
1829
+ MaxInputTokens?: number;
1830
+ /**
1831
+ * 最大输出token数
1832
+ */
1833
+ MaxOutputTokens?: number;
1834
+ /**
1835
+ * 模型类型映射
1836
+ */
1837
+ ModelTypeMap?: {
1838
+ /**
1839
+ * 文生文模型,true 表示是文生文模型,下同
1840
+ */
1841
+ TextGeneration?: boolean;
1842
+ /**
1843
+ * 图生图模型
1844
+ */
1845
+ ImageToImage?: boolean;
1846
+ /**
1847
+ * 文生图模型
1848
+ */
1849
+ TextToImage?: boolean;
1850
+ /**
1851
+ * 文生视频模型
1852
+ */
1853
+ TextToVideo?: boolean;
1854
+ /**
1855
+ * 图生视频模型
1856
+ */
1857
+ ImageToVideo?: boolean;
1858
+ /**
1859
+ * 海外模型
1860
+ */
1861
+ Sensitive?: boolean;
1862
+ /**
1863
+ * 微调模型
1864
+ */
1865
+ Inference?: boolean;
1866
+ };
1621
1867
  /**
1622
1868
  * 模型类型
1623
1869
  */
1624
1870
  ModelType?: string;
1871
+ /**
1872
+ * 模型封面链接
1873
+ */
1874
+ CoverUrl?: string;
1625
1875
  /**
1626
1876
  * HuggingFace 更新时间
1627
1877
  */
@@ -1638,6 +1888,76 @@ export interface ListUFSquareModelResponse {
1638
1888
  * 模型能力
1639
1889
  */
1640
1890
  SupportedCapabilities?: string[];
1891
+ /**
1892
+ * 模型能力详细映射
1893
+ */
1894
+ Capabilities?: {
1895
+ /**
1896
+ * 是否支持上下文缓存
1897
+ */
1898
+ ContextCaching?: boolean;
1899
+ /**
1900
+ * 是否支持批量推理
1901
+ */
1902
+ BatchInference?: boolean;
1903
+ /**
1904
+ * 是否支持结构化输出
1905
+ */
1906
+ StructuredOutput?: boolean;
1907
+ /**
1908
+ * 是否支持函数调用
1909
+ */
1910
+ FunctionCall?: boolean;
1911
+ /**
1912
+ * 是否支持联网搜索
1913
+ */
1914
+ WebSearch?: boolean;
1915
+ /**
1916
+ * 是否支持知识库
1917
+ */
1918
+ KnowledgeBase?: boolean;
1919
+ /**
1920
+ * 是否支持MCP
1921
+ */
1922
+ Mcp?: boolean;
1923
+ /**
1924
+ * 是否支持体验
1925
+ */
1926
+ Experience?: boolean;
1927
+ };
1928
+ /**
1929
+ * 模型额外标签
1930
+ */
1931
+ ExtraModelTags?: string[];
1932
+ /**
1933
+ * api协议映射
1934
+ */
1935
+ ApiProtocols?: {
1936
+ /**
1937
+ * 是否支持chat协议
1938
+ */
1939
+ ChatCompletions?: boolean;
1940
+ /**
1941
+ * 是否支持responses协议
1942
+ */
1943
+ Responses?: boolean;
1944
+ /**
1945
+ * 是否支持gemini协议
1946
+ */
1947
+ Gemini?: boolean;
1948
+ /**
1949
+ * 是否支持Anthropic协议
1950
+ */
1951
+ Anthropic?: boolean;
1952
+ };
1953
+ /**
1954
+ * 输入模态
1955
+ */
1956
+ InputModalities?: string[];
1957
+ /**
1958
+ * 输出模态
1959
+ */
1960
+ OutputModalities?: string[];
1641
1961
  /**
1642
1962
  * 图标
1643
1963
  */
@@ -1740,6 +2060,195 @@ export interface ListUFSquareModelFiltersAuthRequest {
1740
2060
  * ListUFSquareModelFiltersAuth - 登录状态下获取模型广场过滤器中内容
1741
2061
  */
1742
2062
  export interface ListUFSquareModelFiltersAuthResponse {
2063
+ /**
2064
+ * 模型类型筛选(一级/二级分类树)
2065
+ */
2066
+ ModalTypes?: {
2067
+ /**
2068
+ *
2069
+ */
2070
+ Children: string;
2071
+ /**
2072
+ * 显示标签
2073
+ */
2074
+ Label?: string;
2075
+ /**
2076
+ * 英文标签
2077
+ */
2078
+ LabelEn?: string;
2079
+ /**
2080
+ * 枚举值
2081
+ */
2082
+ Value?: string;
2083
+ }[];
2084
+ /**
2085
+ * 厂商选项
2086
+ */
2087
+ Manufacturers?: {
2088
+ /**
2089
+ *
2090
+ */
2091
+ Children: string;
2092
+ /**
2093
+ * 显示标签
2094
+ */
2095
+ Label?: string;
2096
+ /**
2097
+ * 英文标签
2098
+ */
2099
+ LabelEn?: string;
2100
+ /**
2101
+ * 枚举值
2102
+ */
2103
+ Value?: string;
2104
+ }[];
2105
+ /**
2106
+ * 最大上下文长度选项
2107
+ */
2108
+ MaxModelLens?: {
2109
+ /**
2110
+ *
2111
+ */
2112
+ Children: string;
2113
+ /**
2114
+ * 显示标签
2115
+ */
2116
+ Label?: string;
2117
+ /**
2118
+ * 英文标签
2119
+ */
2120
+ LabelEn?: string;
2121
+ /**
2122
+ * 枚举值
2123
+ */
2124
+ Value?: string;
2125
+ }[];
2126
+ /**
2127
+ * 能力选项
2128
+ */
2129
+ Capabilities?: {
2130
+ /**
2131
+ *
2132
+ */
2133
+ Children: string;
2134
+ /**
2135
+ * 显示标签
2136
+ */
2137
+ Label?: string;
2138
+ /**
2139
+ * 英文标签
2140
+ */
2141
+ LabelEn?: string;
2142
+ /**
2143
+ * 枚举值
2144
+ */
2145
+ Value?: string;
2146
+ }[];
2147
+ /**
2148
+ * 输入模态选项
2149
+ */
2150
+ InputModalities?: {
2151
+ /**
2152
+ *
2153
+ */
2154
+ Children: string;
2155
+ /**
2156
+ * 显示标签
2157
+ */
2158
+ Label?: string;
2159
+ /**
2160
+ * 英文标签
2161
+ */
2162
+ LabelEn?: string;
2163
+ /**
2164
+ * 枚举值
2165
+ */
2166
+ Value?: string;
2167
+ }[];
2168
+ /**
2169
+ * 输出模态选项
2170
+ */
2171
+ OutputModalities?: {
2172
+ /**
2173
+ *
2174
+ */
2175
+ Children: string;
2176
+ /**
2177
+ * 显示标签
2178
+ */
2179
+ Label?: string;
2180
+ /**
2181
+ * 英文标签
2182
+ */
2183
+ LabelEn?: string;
2184
+ /**
2185
+ * 枚举值
2186
+ */
2187
+ Value?: string;
2188
+ }[];
2189
+ /**
2190
+ * API协议选项
2191
+ */
2192
+ ApiProtocols?: {
2193
+ /**
2194
+ *
2195
+ */
2196
+ Children: string;
2197
+ /**
2198
+ * 显示标签
2199
+ */
2200
+ Label?: string;
2201
+ /**
2202
+ * 英文标签
2203
+ */
2204
+ LabelEn?: string;
2205
+ /**
2206
+ * 枚举值
2207
+ */
2208
+ Value?: string;
2209
+ }[];
2210
+ /**
2211
+ * 推理地域选项
2212
+ */
2213
+ InferenceRegions?: {
2214
+ /**
2215
+ *
2216
+ */
2217
+ Children: string;
2218
+ /**
2219
+ * 显示标签
2220
+ */
2221
+ Label?: string;
2222
+ /**
2223
+ * 英文标签
2224
+ */
2225
+ LabelEn?: string;
2226
+ /**
2227
+ * 枚举值
2228
+ */
2229
+ Value?: string;
2230
+ }[];
2231
+ /**
2232
+ * 模型状态选项
2233
+ */
2234
+ IsComingOffline?: {
2235
+ /**
2236
+ *
2237
+ */
2238
+ Children: string;
2239
+ /**
2240
+ * 显示标签
2241
+ */
2242
+ Label?: string;
2243
+ /**
2244
+ * 英文标签
2245
+ */
2246
+ LabelEn?: string;
2247
+ /**
2248
+ * 枚举值
2249
+ */
2250
+ Value?: string;
2251
+ }[];
1743
2252
  }
1744
2253
  /**
1745
2254
  * ListUMInferAPIKey - 列表查询apikey
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ucloud-sdks/ucloud-sdk-js",
3
3
  "description": "ucloud-sdk-js",
4
- "version": "0.2.45",
4
+ "version": "0.2.47",
5
5
  "author": "oas@ucloud.cn",
6
6
  "license": "MIT",
7
7
  "private": false,