tencentcloud-sdk-nodejs 4.1.314 → 4.1.315
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.
- package/es/common/sdk_version.js +1 -1
- package/es/services/adp/v20260520/adp_client.js +3 -0
- package/es/services/ags/v20250920/ags_client.js +106 -10
- package/es/services/csip/v20221121/csip_client.js +9 -12
- package/es/services/databuddy/v20260715/databuddy_client.js +16 -4
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +19 -4
- package/es/services/live/v20180801/live_client.js +31 -10
- package/es/services/mongodb/v20190725/mongodb_client.js +3 -0
- package/es/services/teo/v20220901/teo_client.js +5 -2
- package/es/services/wedata/v20210820/wedata_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +5 -1
- package/tencentcloud/services/adp/v20260520/adp_client.js +6 -0
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +145 -70
- package/tencentcloud/services/ags/v20250920/ags_client.d.ts +151 -11
- package/tencentcloud/services/ags/v20250920/ags_client.js +219 -15
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +1633 -627
- package/tencentcloud/services/apis/v20240801/apis_models.d.ts +15 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -3
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +8 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +4 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +197 -143
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +1 -1
- package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +88 -11
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +12 -16
- package/tencentcloud/services/csip/v20221121/csip_client.js +16 -22
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +201 -132
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -58
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +11 -7
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +27 -11
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +39 -15
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +558 -240
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +3 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2 -2
- package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +25 -5
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +36 -6
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +389 -41
- package/tencentcloud/services/live/v20180801/live_client.d.ts +40 -12
- package/tencentcloud/services/live/v20180801/live_client.js +58 -16
- package/tencentcloud/services/live/v20180801/live_models.d.ts +594 -250
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +67 -17
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +20 -27
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +26 -6
- package/tencentcloud/services/teo/v20220901/teo_client.js +28 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +133 -74
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +4 -4
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +112 -36
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +7 -7
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +11 -15
|
@@ -33,6 +33,18 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async CreatePreCacheImageTask(req, cb) {
|
|
34
34
|
return this.request("CreatePreCacheImageTask", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 对 Record 的指定 Version 或 Label 目标发起一次预览调用。VersionId 与 Label 互斥;均省略时使用 Stable。不创建 Version、不修改 Label。
|
|
38
|
+
*/
|
|
39
|
+
async PreviewRegistryRecord(req, cb) {
|
|
40
|
+
return this.request("PreviewRegistryRecord", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 更新沙箱实例
|
|
44
|
+
*/
|
|
45
|
+
async UpdateSandboxInstance(req, cb) {
|
|
46
|
+
return this.request("UpdateSandboxInstance", req, cb);
|
|
47
|
+
}
|
|
36
48
|
/**
|
|
37
49
|
* 修改 Deployment
|
|
38
50
|
*/
|
|
@@ -40,10 +52,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
40
52
|
return this.request("ModifyDeployment", req, cb);
|
|
41
53
|
}
|
|
42
54
|
/**
|
|
43
|
-
*
|
|
55
|
+
* 启动沙箱实例
|
|
44
56
|
*/
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
57
|
+
async StartSandboxInstance(req, cb) {
|
|
58
|
+
return this.request("StartSandboxInstance", req, cb);
|
|
47
59
|
}
|
|
48
60
|
/**
|
|
49
61
|
* 获取访问沙箱工具时所需要使用的访问Token,创建沙箱实例后需调用此接口获取沙箱实例访问Token。
|
|
@@ -52,12 +64,44 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
52
64
|
async AcquireSandboxInstanceToken(req, cb) {
|
|
53
65
|
return this.request("AcquireSandboxInstanceToken", req, cb);
|
|
54
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* 查询事件列表。
|
|
69
|
+
|
|
70
|
+
查询指定会话的事件流,支持按作者和起始时间筛选。
|
|
71
|
+
*/
|
|
72
|
+
async DescribeEvents(req, cb) {
|
|
73
|
+
return this.request("DescribeEvents", req, cb);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* 创建 Agent Registry(注册中心)。
|
|
77
|
+
*/
|
|
78
|
+
async CreateRegistry(req, cb) {
|
|
79
|
+
return this.request("CreateRegistry", req, cb);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* 触发一次从远端拉取描述符 / 元数据的同步。可通过互斥的 VersionId 或 Label 指定来源 Version,均省略时默认使用 Stable。有变化时创建新 Version 并移动 Latest;来源必须 SourceType=URL_IMPORT,否则返回 UnsupportedOperation.SourceType。
|
|
83
|
+
*/
|
|
84
|
+
async SyncRegistryRecord(req, cb) {
|
|
85
|
+
return this.request("SyncRegistryRecord", req, cb);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* 分页查询指定Registry / Record / Version的审计日志。
|
|
89
|
+
*/
|
|
90
|
+
async DescribeRegistryAuditLogList(req, cb) {
|
|
91
|
+
return this.request("DescribeRegistryAuditLogList", req, cb);
|
|
92
|
+
}
|
|
55
93
|
/**
|
|
56
94
|
* 创建新的API密钥,用于调用Agent Sandbox接口。相较于腾讯云Secret ID Secret Key支持调用所有接口使用,仅有部分接口支持使用API密钥调用。
|
|
57
95
|
*/
|
|
58
96
|
async CreateAPIKey(req, cb) {
|
|
59
97
|
return this.request("CreateAPIKey", req, cb);
|
|
60
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* 更新 Registry 的可变元数据。
|
|
101
|
+
*/
|
|
102
|
+
async UpdateRegistry(req, cb) {
|
|
103
|
+
return this.request("UpdateRegistry", req, cb);
|
|
104
|
+
}
|
|
61
105
|
/**
|
|
62
106
|
* 创建 Deployment
|
|
63
107
|
*/
|
|
@@ -65,10 +109,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
65
109
|
return this.request("CreateDeployment", req, cb);
|
|
66
110
|
}
|
|
67
111
|
/**
|
|
68
|
-
*
|
|
112
|
+
* 追加事件。
|
|
113
|
+
|
|
114
|
+
向指定会话追加一条事件。
|
|
69
115
|
*/
|
|
70
|
-
async
|
|
71
|
-
return this.request("
|
|
116
|
+
async AppendEvent(req, cb) {
|
|
117
|
+
return this.request("AppendEvent", req, cb);
|
|
72
118
|
}
|
|
73
119
|
/**
|
|
74
120
|
* 更新沙箱工具
|
|
@@ -83,10 +129,22 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
83
129
|
return this.request("DescribeDeployment", req, cb);
|
|
84
130
|
}
|
|
85
131
|
/**
|
|
86
|
-
*
|
|
132
|
+
* 分页查询 Record 的 Version 列表。list 类接口不接入 CAM 转发鉴权。
|
|
87
133
|
*/
|
|
88
|
-
async
|
|
89
|
-
return this.request("
|
|
134
|
+
async DescribeRegistryRecordVersionList(req, cb) {
|
|
135
|
+
return this.request("DescribeRegistryRecordVersionList", req, cb);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* 通过 Version 审批:PENDING_APPROVAL → APPROVED。Comment 必填。
|
|
139
|
+
*/
|
|
140
|
+
async ApproveRegistryRecord(req, cb) {
|
|
141
|
+
return this.request("ApproveRegistryRecord", req, cb);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* 分页查询 Registry 下的 Record 列表。list 类接口不接入 CAM 转发鉴权;业务侧按 CAM 二次过滤。
|
|
145
|
+
*/
|
|
146
|
+
async DescribeRegistryRecordList(req, cb) {
|
|
147
|
+
return this.request("DescribeRegistryRecordList", req, cb);
|
|
90
148
|
}
|
|
91
149
|
/**
|
|
92
150
|
* 查询沙箱实例列表
|
|
@@ -95,10 +153,41 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
95
153
|
return this.request("DescribeSandboxInstanceList", req, cb);
|
|
96
154
|
}
|
|
97
155
|
/**
|
|
98
|
-
*
|
|
156
|
+
* 恢复沙箱实例
|
|
99
157
|
*/
|
|
100
|
-
async
|
|
101
|
-
return this.request("
|
|
158
|
+
async ResumeSandboxInstance(req, cb) {
|
|
159
|
+
return this.request("ResumeSandboxInstance", req, cb);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* 统一创建 Registry Record(含 revision 1)。请求通过 DescriptorType 与严格内容输入 Union 选择底层类型:MCPSource / AgentSource / SkillSource / CustomDescriptors 四选一,必须与 DescriptorType 对应。不接受 RecordId 或 ChangeLog;同名 Record 返回冲突,不隐式追加 Version。追加 Version 请使用 UpdateRegistryRecord。
|
|
163
|
+
*/
|
|
164
|
+
async CreateRegistryRecord(req, cb) {
|
|
165
|
+
return this.request("CreateRegistryRecord", req, cb);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* PREPARING/PENDING_APPROVAL → CANCELED。Comment 必填。
|
|
169
|
+
*/
|
|
170
|
+
async CancelRegistryRecord(req, cb) {
|
|
171
|
+
return this.request("CancelRegistryRecord", req, cb);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* 删除会话空间。
|
|
175
|
+
删除指定的会话空间。仅允许删除不包含会话、事件或用户状态数据的非默认会话空间;系统默认会话空间不能删除。删除成功后不再返回会话空间信息。
|
|
176
|
+
*/
|
|
177
|
+
async DeleteSessionSpace(req, cb) {
|
|
178
|
+
return this.request("DeleteSessionSpace", req, cb);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* 删除 Registry。
|
|
182
|
+
*/
|
|
183
|
+
async DeleteRegistry(req, cb) {
|
|
184
|
+
return this.request("DeleteRegistry", req, cb);
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* 修改会话信息
|
|
188
|
+
*/
|
|
189
|
+
async ModifySession(req, cb) {
|
|
190
|
+
return this.request("ModifySession", req, cb);
|
|
102
191
|
}
|
|
103
192
|
/**
|
|
104
193
|
* 删除 Deployment
|
|
@@ -112,18 +201,67 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
112
201
|
async CreateSandboxTool(req, cb) {
|
|
113
202
|
return this.request("CreateSandboxTool", req, cb);
|
|
114
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* 为 FAILED / EXPIRED 的 TAR Skill Version 生成新的上传尝试;VersionId 与 Revision 保持不变。
|
|
206
|
+
*/
|
|
207
|
+
async GetSkillPackageUploadURL(req, cb) {
|
|
208
|
+
return this.request("GetSkillPackageUploadURL", req, cb);
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* 查询 Record 详情和其中一个 Version。请求可通过互斥的 VersionId 或 Label 选择 Version;均省略时默认 Label=stable。取代原 DescribeRegistryRecordVersion。
|
|
212
|
+
*/
|
|
213
|
+
async DescribeRegistryRecord(req, cb) {
|
|
214
|
+
return this.request("DescribeRegistryRecord", req, cb);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* 修改会话空间。
|
|
218
|
+
修改指定会话空间的名称和描述,修改成功后返回更新后的会话空间信息。默认会话空间允许修改名称和描述。
|
|
219
|
+
*/
|
|
220
|
+
async ModifySessionSpace(req, cb) {
|
|
221
|
+
return this.request("ModifySessionSpace", req, cb);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* 删除 Registry Record 或指定 Version。省略 VersionId 时对整个 Record 进行软删除;传入 VersionId 时只删除指定 Version(Stable 指向的 Version 不允许删除;仅剩一个 Approved Version 时不允许删除)。取代原 DeleteRegistryRecordVersion。
|
|
225
|
+
*/
|
|
226
|
+
async DeleteRegistryRecord(req, cb) {
|
|
227
|
+
return this.request("DeleteRegistryRecord", req, cb);
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* 查询会话列表
|
|
231
|
+
*/
|
|
232
|
+
async DescribeSessions(req, cb) {
|
|
233
|
+
return this.request("DescribeSessions", req, cb);
|
|
234
|
+
}
|
|
115
235
|
/**
|
|
116
236
|
* 查询沙箱工具列表
|
|
117
237
|
*/
|
|
118
238
|
async DescribeSandboxToolList(req, cb) {
|
|
119
239
|
return this.request("DescribeSandboxToolList", req, cb);
|
|
120
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* 获取 Skill 包下载 URL。VersionId 与 Label 互斥;均省略时使用 Stable。响应包含 ResolvedVersionId,便于调用方回填。
|
|
243
|
+
*/
|
|
244
|
+
async GetSkillPackageDownloadURL(req, cb) {
|
|
245
|
+
return this.request("GetSkillPackageDownloadURL", req, cb);
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* 驳回 Version 审批:PENDING_APPROVAL → REJECTED。Comment 必填。
|
|
249
|
+
*/
|
|
250
|
+
async RejectRegistryRecord(req, cb) {
|
|
251
|
+
return this.request("RejectRegistryRecord", req, cb);
|
|
252
|
+
}
|
|
121
253
|
/**
|
|
122
254
|
* 获取API密钥列表,包含API密钥简略信息,包含名称、创建时间等。
|
|
123
255
|
*/
|
|
124
256
|
async DescribeAPIKeyList(req, cb) {
|
|
125
257
|
return this.request("DescribeAPIKeyList", req, cb);
|
|
126
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* 更新 Registry Record。两种互斥模式:①Record 更新模式:不提交任何 Source / CustomDescriptors,可通过 Description、LabelMutations 修改元数据与 Label(至少提交一项);②Version 创建模式:提交且仅提交一种与现有 DescriptorType 匹配的内容输入,可选 VersionName / ChangeLog,禁止 Description / LabelMutations,服务端在 Record 下创建下一个 Revision。取代原 ChangeRegistryRecordStableVersion / RollbackRegistryRecordVersion / Create*RegistryRecordVersion。
|
|
261
|
+
*/
|
|
262
|
+
async UpdateRegistryRecord(req, cb) {
|
|
263
|
+
return this.request("UpdateRegistryRecord", req, cb);
|
|
264
|
+
}
|
|
127
265
|
/**
|
|
128
266
|
* 删除沙箱工具
|
|
129
267
|
*/
|
|
@@ -131,10 +269,49 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
131
269
|
return this.request("DeleteSandboxTool", req, cb);
|
|
132
270
|
}
|
|
133
271
|
/**
|
|
134
|
-
*
|
|
272
|
+
* 暂停沙箱实例
|
|
135
273
|
*/
|
|
136
|
-
async
|
|
137
|
-
return this.request("
|
|
274
|
+
async PauseSandboxInstance(req, cb) {
|
|
275
|
+
return this.request("PauseSandboxInstance", req, cb);
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* 创建会话。
|
|
279
|
+
|
|
280
|
+
为指定 Agent 和用户创建会话,创建成功后返回会话信息。
|
|
281
|
+
*/
|
|
282
|
+
async CreateSession(req, cb) {
|
|
283
|
+
return this.request("CreateSession", req, cb);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* 创建会话空间。
|
|
287
|
+
为当前应用在指定地域创建会话空间,创建成功后返回会话空间信息。会话空间用于隔离不同业务场景下的用户、会话、事件及状态数据。
|
|
288
|
+
*/
|
|
289
|
+
async CreateSessionSpace(req, cb) {
|
|
290
|
+
return this.request("CreateSessionSpace", req, cb);
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* 分页查询当前应用和地域下的会话空间。
|
|
294
|
+
*/
|
|
295
|
+
async DescribeSessionSpaces(req, cb) {
|
|
296
|
+
return this.request("DescribeSessionSpaces", req, cb);
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* 分页查询当前租户可见的 Registry 列表。
|
|
300
|
+
*/
|
|
301
|
+
async DescribeRegistryList(req, cb) {
|
|
302
|
+
return this.request("DescribeRegistryList", req, cb);
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* 删除会话
|
|
306
|
+
*/
|
|
307
|
+
async DeleteSession(req, cb) {
|
|
308
|
+
return this.request("DeleteSession", req, cb);
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* 查询 Deployment 列表
|
|
312
|
+
*/
|
|
313
|
+
async DescribeDeploymentList(req, cb) {
|
|
314
|
+
return this.request("DescribeDeploymentList", req, cb);
|
|
138
315
|
}
|
|
139
316
|
/**
|
|
140
317
|
* 查询镜像预热任务信息
|
|
@@ -148,12 +325,39 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
148
325
|
async StopSandboxInstance(req, cb) {
|
|
149
326
|
return this.request("StopSandboxInstance", req, cb);
|
|
150
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* 按 RegistryId 查询 Registry 详情。
|
|
330
|
+
*/
|
|
331
|
+
async DescribeRegistry(req, cb) {
|
|
332
|
+
return this.request("DescribeRegistry", req, cb);
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* 查询会话。
|
|
336
|
+
|
|
337
|
+
查询指定会话的信息。
|
|
338
|
+
*/
|
|
339
|
+
async DescribeSession(req, cb) {
|
|
340
|
+
return this.request("DescribeSession", req, cb);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* 查询会话空间详情。
|
|
344
|
+
查询指定会话空间的详细信息,查询成功后返回会话空间的名称、描述、状态、所属地域及创建时间等信息。
|
|
345
|
+
*/
|
|
346
|
+
async DescribeSessionSpace(req, cb) {
|
|
347
|
+
return this.request("DescribeSessionSpace", req, cb);
|
|
348
|
+
}
|
|
151
349
|
/**
|
|
152
350
|
* 删除API密钥。注意区别于腾讯云Secret ID Secret Key,本接口删除的是Agent Sandbox专用API key。
|
|
153
351
|
*/
|
|
154
352
|
async DeleteAPIKey(req, cb) {
|
|
155
353
|
return this.request("DeleteAPIKey", req, cb);
|
|
156
354
|
}
|
|
355
|
+
/**
|
|
356
|
+
* 查询当前调用账号的资源配额和当前总用量,以及账号下各配额组的资源配额和当前用量
|
|
357
|
+
*/
|
|
358
|
+
async DescribeQuotaOverview(req, cb) {
|
|
359
|
+
return this.request("DescribeQuotaOverview", req, cb);
|
|
360
|
+
}
|
|
157
361
|
/**
|
|
158
362
|
* 获取 Deployment 访问 Token
|
|
159
363
|
*/
|