tencentcloud-sdk-nodejs-workbuddyenterprise 4.1.356 → 4.1.359
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/package.json +1 -1
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.d.ts +10 -6
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +10 -6
- package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +37 -37
package/package.json
CHANGED
|
@@ -67,8 +67,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
67
67
|
*/
|
|
68
68
|
ModifyAgent(req: ModifyAgentRequest, cb?: (error: string, rep: ModifyAgentResponse) => void): Promise<ModifyAgentResponse>;
|
|
69
69
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
* 创建一个新的 Managed Agent,同时自动生成 default 版本。配置采用 Manifest v2.0。
|
|
71
|
+
|
|
72
|
+
Manifest v2.0结构见数据结构 AgentManifest,字段明细与校验规则见[《Agent Manifest 字段说明》](https://cloud.tencent.com/document/product/1831/139534)。
|
|
73
|
+
*/
|
|
72
74
|
CreateAgent(req: CreateAgentRequest, cb?: (error: string, rep: CreateAgentResponse) => void): Promise<CreateAgentResponse>;
|
|
73
75
|
/**
|
|
74
76
|
* 部分更新自动化任务配置(Patch 语义:仅传递需要更新的字段),支持启停状态切换。
|
|
@@ -91,8 +93,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
91
93
|
*/
|
|
92
94
|
BindExternalAgent(req: BindExternalAgentRequest, cb?: (error: string, rep: BindExternalAgentResponse) => void): Promise<BindExternalAgentResponse>;
|
|
93
95
|
/**
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
* 完全新建版本:外部准备完整 Manifest 后直接传入,不引用任何已有版本。
|
|
97
|
+
Manifest v2.0结构见数据结构 AgentManifest,字段明细与校验规则见[《Agent Manifest 字段说明》](https://cloud.tencent.com/document/product/1831/139534)。
|
|
98
|
+
*/
|
|
96
99
|
CreateAgentVersion(req: CreateAgentVersionRequest, cb?: (error: string, rep: CreateAgentVersionResponse) => void): Promise<CreateAgentVersionResponse>;
|
|
97
100
|
/**
|
|
98
101
|
* 分页查询会话物料列表。
|
|
@@ -123,8 +126,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
123
126
|
*/
|
|
124
127
|
DescribeMessageEventList(req: DescribeMessageEventListRequest, cb?: (error: string, rep: DescribeMessageEventListResponse) => void): Promise<DescribeMessageEventListResponse>;
|
|
125
128
|
/**
|
|
126
|
-
|
|
127
|
-
|
|
129
|
+
* 原地更新 default 或 test 版本的 Manifest / Model / Description / SandboxTemplateId / ConnectorSet,五个可选字段至少提供一个。ConnectorSet 为全量覆盖语义:缺省表示不改动连接器绑定;空数组表示解绑全部连接器。
|
|
130
|
+
Manifest v2.0结构见数据结构 AgentManifest,字段明细与校验规则见[《Agent Manifest 字段说明》](https://cloud.tencent.com/document/product/1831/139534)。
|
|
131
|
+
*/
|
|
128
132
|
ModifyAgentVersion(req: ModifyAgentVersionRequest, cb?: (error: string, rep: ModifyAgentVersionResponse) => void): Promise<ModifyAgentVersionResponse>;
|
|
129
133
|
/**
|
|
130
134
|
* 查询单个 Agent 的详细信息,包括基础配置和路由配置。
|
|
@@ -119,8 +119,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
119
119
|
return this.request("ModifyAgent", req, cb);
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
* 创建一个新的 Managed Agent,同时自动生成 default 版本。配置采用 Manifest v2.0。
|
|
123
|
+
|
|
124
|
+
Manifest v2.0结构见数据结构 AgentManifest,字段明细与校验规则见[《Agent Manifest 字段说明》](https://cloud.tencent.com/document/product/1831/139534)。
|
|
125
|
+
*/
|
|
124
126
|
async CreateAgent(req, cb) {
|
|
125
127
|
return this.request("CreateAgent", req, cb);
|
|
126
128
|
}
|
|
@@ -155,8 +157,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
155
157
|
return this.request("BindExternalAgent", req, cb);
|
|
156
158
|
}
|
|
157
159
|
/**
|
|
158
|
-
|
|
159
|
-
|
|
160
|
+
* 完全新建版本:外部准备完整 Manifest 后直接传入,不引用任何已有版本。
|
|
161
|
+
Manifest v2.0结构见数据结构 AgentManifest,字段明细与校验规则见[《Agent Manifest 字段说明》](https://cloud.tencent.com/document/product/1831/139534)。
|
|
162
|
+
*/
|
|
160
163
|
async CreateAgentVersion(req, cb) {
|
|
161
164
|
return this.request("CreateAgentVersion", req, cb);
|
|
162
165
|
}
|
|
@@ -203,8 +206,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
203
206
|
return this.request("DescribeMessageEventList", req, cb);
|
|
204
207
|
}
|
|
205
208
|
/**
|
|
206
|
-
|
|
207
|
-
|
|
209
|
+
* 原地更新 default 或 test 版本的 Manifest / Model / Description / SandboxTemplateId / ConnectorSet,五个可选字段至少提供一个。ConnectorSet 为全量覆盖语义:缺省表示不改动连接器绑定;空数组表示解绑全部连接器。
|
|
210
|
+
Manifest v2.0结构见数据结构 AgentManifest,字段明细与校验规则见[《Agent Manifest 字段说明》](https://cloud.tencent.com/document/product/1831/139534)。
|
|
211
|
+
*/
|
|
208
212
|
async ModifyAgentVersion(req, cb) {
|
|
209
213
|
return this.request("ModifyAgentVersion", req, cb);
|
|
210
214
|
}
|
|
@@ -218,31 +218,31 @@ export interface CreateAgentVersionRequest {
|
|
|
218
218
|
*/
|
|
219
219
|
export interface ModifyAgentVersionRequest {
|
|
220
220
|
/**
|
|
221
|
-
* Agent 业务 ID
|
|
221
|
+
* <p>Agent 业务 ID</p>
|
|
222
222
|
*/
|
|
223
223
|
AgentId: string;
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* <p>版本 ID(仅 default 或 test 版本可原地更新,prod 拒绝)</p>
|
|
226
226
|
*/
|
|
227
227
|
VersionId: string;
|
|
228
228
|
/**
|
|
229
|
-
* Manifest v2.0 原文(可选;Manifest / Model / Description / SandboxTemplateId / ConnectorSet
|
|
229
|
+
* <p>Manifest v2.0 原文(可选;Manifest / Model / Description / SandboxTemplateId / ConnectorSet 五个可选字段至少提供一个)</p>
|
|
230
230
|
*/
|
|
231
231
|
Manifest?: string;
|
|
232
232
|
/**
|
|
233
|
-
*
|
|
233
|
+
* <p>模型标识(可选)</p>
|
|
234
234
|
*/
|
|
235
235
|
Model?: string;
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* <p>版本变更说明(可选)</p>
|
|
238
238
|
*/
|
|
239
239
|
Description?: string;
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* <p>沙箱模板 ID。可选,patch 语义:null 不修改;空串解绑(恢复系统默认模板);非空时模板须属于当前企业且可用(未删除、状态正常)。</p>
|
|
242
242
|
*/
|
|
243
243
|
SandboxTemplateId?: string;
|
|
244
244
|
/**
|
|
245
|
-
*
|
|
245
|
+
* <p>该版本最终绑定的连接器集合(全量覆盖语义):缺省 = 本次不改动连接器绑定;空数组 = 解绑全部连接器;非空 = 物化为 manifest v2 mcp_servers 网关条目,manifest 中不在本集合内的连接器条目会被移除(解绑在服务端闭环,无需调用方改写 Manifest)</p>
|
|
246
246
|
*/
|
|
247
247
|
ConnectorSet?: Array<ConnectorRefInput>;
|
|
248
248
|
}
|
|
@@ -378,7 +378,7 @@ export interface ConnectorInfo {
|
|
|
378
378
|
*/
|
|
379
379
|
EnterpriseId?: string;
|
|
380
380
|
/**
|
|
381
|
-
* <p>连接器类型:MCP_SERVER / A2A / API_SERVICE</p>
|
|
381
|
+
* <p>连接器类型:MCP_SERVER / A2A / API_SERVICE / CUSTOM</p>
|
|
382
382
|
*/
|
|
383
383
|
Type?: string;
|
|
384
384
|
/**
|
|
@@ -913,47 +913,47 @@ export interface DeleteScheduledTaskResponse {
|
|
|
913
913
|
*/
|
|
914
914
|
export interface ModifyAgentVersionResponse {
|
|
915
915
|
/**
|
|
916
|
-
*
|
|
916
|
+
* <p>版本 ID</p>
|
|
917
917
|
*/
|
|
918
918
|
VersionId?: string;
|
|
919
919
|
/**
|
|
920
|
-
* Agent 业务 ID
|
|
920
|
+
* <p>Agent 业务 ID</p>
|
|
921
921
|
*/
|
|
922
922
|
AgentId?: string;
|
|
923
923
|
/**
|
|
924
|
-
*
|
|
924
|
+
* <p>版本名称</p>
|
|
925
925
|
*/
|
|
926
926
|
VersionName?: string;
|
|
927
927
|
/**
|
|
928
|
-
*
|
|
928
|
+
* <p>版本类型:DEFAULT / TEST / PROD</p>
|
|
929
929
|
*/
|
|
930
930
|
VersionType?: string;
|
|
931
931
|
/**
|
|
932
|
-
*
|
|
932
|
+
* <p>版本变更说明</p>
|
|
933
933
|
*/
|
|
934
934
|
Description?: string;
|
|
935
935
|
/**
|
|
936
|
-
*
|
|
936
|
+
* <p>模型标识</p>
|
|
937
937
|
*/
|
|
938
938
|
Model?: string;
|
|
939
939
|
/**
|
|
940
|
-
* Manifest v2.0 精简 manifest 原文(JSON
|
|
940
|
+
* <p>Manifest v2.0 精简 manifest 原文(JSON 字符串)</p>
|
|
941
941
|
*/
|
|
942
942
|
Manifest?: string;
|
|
943
943
|
/**
|
|
944
|
-
*
|
|
944
|
+
* <p>版本状态:DRAFT / ENABLED / DISABLED</p>
|
|
945
945
|
*/
|
|
946
946
|
Status?: string;
|
|
947
947
|
/**
|
|
948
|
-
*
|
|
948
|
+
* <p>创建时间</p>
|
|
949
949
|
*/
|
|
950
950
|
CreatedTime?: string;
|
|
951
951
|
/**
|
|
952
|
-
*
|
|
952
|
+
* <p>更新时间</p>
|
|
953
953
|
*/
|
|
954
954
|
ModifiedTime?: string;
|
|
955
955
|
/**
|
|
956
|
-
*
|
|
956
|
+
* <p>绑定的沙箱模板 ID;未绑定时为空,创建会话沙箱使用系统默认模板。</p>
|
|
957
957
|
*/
|
|
958
958
|
SandboxTemplateId?: string;
|
|
959
959
|
/**
|
|
@@ -999,35 +999,35 @@ export interface DescribeExternalAgentRequest {
|
|
|
999
999
|
*/
|
|
1000
1000
|
export interface CreateAgentRequest {
|
|
1001
1001
|
/**
|
|
1002
|
-
* Agent
|
|
1002
|
+
* <p>Agent 名称</p>
|
|
1003
1003
|
*/
|
|
1004
1004
|
AgentName: string;
|
|
1005
1005
|
/**
|
|
1006
|
-
* Agent
|
|
1006
|
+
* <p>Agent 描述</p>
|
|
1007
1007
|
*/
|
|
1008
1008
|
Description?: string;
|
|
1009
1009
|
/**
|
|
1010
|
-
*
|
|
1010
|
+
* <p>头像 URL</p>
|
|
1011
1011
|
*/
|
|
1012
1012
|
AvatarUrl?: string;
|
|
1013
1013
|
/**
|
|
1014
|
-
*
|
|
1014
|
+
* <p>模型标识</p>
|
|
1015
1015
|
*/
|
|
1016
1016
|
Model?: string;
|
|
1017
1017
|
/**
|
|
1018
|
-
* Manifest v2.0 原文(JSON 字符串),作为 default 版本初始内容。ConnectorSet 非空时 Manifest 不可为空,否则返回 InvalidParameter
|
|
1018
|
+
* <p>Manifest v2.0 原文(JSON 字符串),作为 default 版本初始内容。ConnectorSet 非空时 Manifest 不可为空,否则返回 InvalidParameter</p>
|
|
1019
1019
|
*/
|
|
1020
1020
|
Manifest?: string;
|
|
1021
1021
|
/**
|
|
1022
|
-
*
|
|
1022
|
+
* <p>该 Agent 最终绑定的连接器集合(全量覆盖语义):缺省 = 不绑定连接器;非空 = 物化为 manifest v2 mcp_servers 网关条目。ConnectorSet 非空时 Manifest 不可为空,否则返回 InvalidParameter</p>
|
|
1023
1023
|
*/
|
|
1024
1024
|
ConnectorSet?: Array<ConnectorRefInput>;
|
|
1025
1025
|
/**
|
|
1026
|
-
*
|
|
1026
|
+
* <p>绑定的 OneID 企业账号 ID。非空时必须是当前主账号已在企业授权表(t_managed_agent_enterprise_authorization)中授权的租户,否则返回 UnauthorizedOperation.AccountNotAuthorized。绑定后不可修改。TrimSpace 后长度 1~64 字符</p>
|
|
1027
1027
|
*/
|
|
1028
1028
|
AccountId?: string;
|
|
1029
1029
|
/**
|
|
1030
|
-
*
|
|
1030
|
+
* <p>记忆开关</p>
|
|
1031
1031
|
*/
|
|
1032
1032
|
MemoryEnabled?: boolean;
|
|
1033
1033
|
}
|
|
@@ -2411,43 +2411,43 @@ export interface DescribeSessionArtifactListRequest {
|
|
|
2411
2411
|
*/
|
|
2412
2412
|
export interface CreateAgentResponse {
|
|
2413
2413
|
/**
|
|
2414
|
-
* Agent 业务 ID
|
|
2414
|
+
* <p>Agent 业务 ID</p>
|
|
2415
2415
|
*/
|
|
2416
2416
|
AgentId?: string;
|
|
2417
2417
|
/**
|
|
2418
|
-
* Agent
|
|
2418
|
+
* <p>Agent 名称</p>
|
|
2419
2419
|
*/
|
|
2420
2420
|
AgentName?: string;
|
|
2421
2421
|
/**
|
|
2422
|
-
* Agent
|
|
2422
|
+
* <p>Agent 描述</p>
|
|
2423
2423
|
*/
|
|
2424
2424
|
Description?: string;
|
|
2425
2425
|
/**
|
|
2426
|
-
*
|
|
2426
|
+
* <p>头像 URL</p>
|
|
2427
2427
|
*/
|
|
2428
2428
|
AvatarUrl?: string;
|
|
2429
2429
|
/**
|
|
2430
|
-
*
|
|
2430
|
+
* <p>是否调试 Agent</p>
|
|
2431
2431
|
*/
|
|
2432
2432
|
IsDebug?: boolean;
|
|
2433
2433
|
/**
|
|
2434
|
-
*
|
|
2434
|
+
* <p>创建时间(RFC3339)</p>
|
|
2435
2435
|
*/
|
|
2436
2436
|
CreatedTime?: string;
|
|
2437
2437
|
/**
|
|
2438
|
-
*
|
|
2438
|
+
* <p>更新时间(RFC3339)</p>
|
|
2439
2439
|
*/
|
|
2440
2440
|
ModifiedTime?: string;
|
|
2441
2441
|
/**
|
|
2442
|
-
*
|
|
2442
|
+
* <p>流量路由配置(VersionId 恒为字符串,防 JS 精度丢失)</p>
|
|
2443
2443
|
*/
|
|
2444
2444
|
RoutingSet?: Array<RoutingItem>;
|
|
2445
2445
|
/**
|
|
2446
|
-
* A2A
|
|
2446
|
+
* <p>A2A 对外互通配置与注册态(只读回显;原四个平铺字段收进结构)</p>
|
|
2447
2447
|
*/
|
|
2448
2448
|
A2AConfig?: A2AConfig;
|
|
2449
2449
|
/**
|
|
2450
|
-
*
|
|
2450
|
+
* <p>绑定的 OneID 企业账号 ID。允许为空:未绑定的存量与新建 Agent 该字段缺省,绑定后回显绑定值</p>
|
|
2451
2451
|
*/
|
|
2452
2452
|
AccountId?: string;
|
|
2453
2453
|
/**
|