tencentcloud-sdk-nodejs 4.1.316 → 4.1.317

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 (48) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/apm/v20210622/apm_client.js +3 -0
  3. package/es/services/index.js +1 -0
  4. package/es/services/live/v20180801/live_client.js +37 -10
  5. package/es/services/tcb/v20180608/tcb_client.js +9 -0
  6. package/es/services/workbuddyenterprise/index.js +4 -0
  7. package/es/services/workbuddyenterprise/v20260709/index.js +6 -0
  8. package/es/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +81 -0
  9. package/es/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.js +1 -0
  10. package/package.json +1 -1
  11. package/tencentcloud/common/sdk_version.d.ts +1 -1
  12. package/tencentcloud/common/sdk_version.js +1 -1
  13. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
  14. package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
  15. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +13 -0
  16. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +4 -0
  17. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -5
  18. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  19. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +217 -1
  20. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -0
  21. package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +27 -29
  22. package/tencentcloud/services/fwm/v20250611/fwm_models.d.ts +6 -6
  23. package/tencentcloud/services/hai/v20230812/hai_client.d.ts +1 -1
  24. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +18 -1
  25. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +63 -21
  26. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +63 -21
  27. package/tencentcloud/services/index.d.ts +1 -0
  28. package/tencentcloud/services/index.js +3 -1
  29. package/tencentcloud/services/live/v20180801/live_client.d.ts +47 -11
  30. package/tencentcloud/services/live/v20180801/live_client.js +69 -15
  31. package/tencentcloud/services/live/v20180801/live_models.d.ts +547 -177
  32. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +6 -2
  33. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +13 -1
  34. package/tencentcloud/services/tcb/v20180608/tcb_client.js +18 -0
  35. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +131 -0
  36. package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +8 -0
  37. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
  38. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +125 -58
  39. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +1 -1
  40. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +15 -16
  41. package/tencentcloud/services/workbuddyenterprise/index.d.ts +6 -0
  42. package/tencentcloud/services/workbuddyenterprise/index.js +7 -0
  43. package/tencentcloud/services/workbuddyenterprise/v20260709/index.d.ts +6 -0
  44. package/tencentcloud/services/workbuddyenterprise/v20260709/index.js +10 -0
  45. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.d.ts +110 -0
  46. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_client.js +181 -0
  47. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.d.ts +2100 -0
  48. package/tencentcloud/services/workbuddyenterprise/v20260709/workbuddyenterprise_models.js +18 -0
@@ -0,0 +1,181 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const abstract_client_1 = require("../../../common/abstract_client");
22
+ /**
23
+ * workbuddyenterprise client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("workbuddyenterprise.tencentcloudapi.com", "2026-07-09", clientConfig);
29
+ }
30
+ /**
31
+ * 分页查询 Expert 列表,支持关键词、分类、发布状态过滤。
32
+ */
33
+ async DescribeExpertList(req, cb) {
34
+ return this.request("DescribeExpertList", req, cb);
35
+ }
36
+ /**
37
+ * 解除外部 agent 与 managed agent 的绑定
38
+ */
39
+ async UnbindExternalAgent(req, cb) {
40
+ return this.request("UnbindExternalAgent", req, cb);
41
+ }
42
+ /**
43
+ * 查询单个 Agent 会话详情:返回会话基础信息(会话名称 / Agent / 版本 / 状态 / 来源 / 发起人)与可用的聊天接入点列表(EndpointSet)。数据面鉴权走 DescribeUserAccessToken 的用户级访问令牌。
44
+ */
45
+ async DescribeAgentSession(req, cb) {
46
+ return this.request("DescribeAgentSession", req, cb);
47
+ }
48
+ /**
49
+ * 修改 Agent 的 A2A 配置。A2AEnabled 是 Agent 级唯一开关,与具体版本和流量分发策略无关。
50
+ */
51
+ async ModifyAgentA2AConfig(req, cb) {
52
+ return this.request("ModifyAgentA2AConfig", req, cb);
53
+ }
54
+ /**
55
+ * 查询单个版本的详细信息,包括 Manifest、Model、状态等。
56
+ */
57
+ async DescribeAgentVersion(req, cb) {
58
+ return this.request("DescribeAgentVersion", req, cb);
59
+ }
60
+ /**
61
+ * 列某 managed agent 绑定的外部 agent 列表
62
+ */
63
+ async DescribeExternalAgentList(req, cb) {
64
+ return this.request("DescribeExternalAgentList", req, cb);
65
+ }
66
+ /**
67
+ * 查询指定 Agent 下的版本列表,支持分页和版本类型过滤。
68
+ */
69
+ async DescribeAgentVersionList(req, cb) {
70
+ return this.request("DescribeAgentVersionList", req, cb);
71
+ }
72
+ /**
73
+ * 将指定会话迁移到目标版本。SessionID / RuntimeID 保持不变,通过 AgentOS UpdateSession 在原沙箱上更新 manifest 到新版本;AgentId 必须与原 Session 一致(禁止跨 Agent 迁移);ChatToken 复用旧值不轮转。
74
+ */
75
+ async MigrateAgentSession(req, cb) {
76
+ return this.request("MigrateAgentSession", req, cb);
77
+ }
78
+ /**
79
+ * 覆盖式写入 Agent 路由配置(版本权重)。所有 VersionId 必须属于同一 Agent 且未弃用;允许空数组(下线 Agent 对外流量);非空时权重总和须等于 1。
80
+ */
81
+ async ModifyAgentRouting(req, cb) {
82
+ return this.request("ModifyAgentRouting", req, cb);
83
+ }
84
+ /**
85
+ * 查询指定企业下的连接器列表(PageNumber/PageSize 分页,支持名称模糊与状态、来源过滤)。
86
+ */
87
+ async DescribeConnectorList(req, cb) {
88
+ return this.request("DescribeConnectorList", req, cb);
89
+ }
90
+ /**
91
+ * 分页查询 Skill 列表,支持关键词、分类、发布状态过滤。
92
+ */
93
+ async DescribeSkillList(req, cb) {
94
+ return this.request("DescribeSkillList", req, cb);
95
+ }
96
+ /**
97
+ * 分页查询企业下所有会话(跨 Agent):支持按 SessionId / Status / AgentId / UserId 过滤,按创建 / 更新时间排序,返回会话摘要列表。
98
+ */
99
+ async DescribeAgentSessionList(req, cb) {
100
+ return this.request("DescribeAgentSessionList", req, cb);
101
+ }
102
+ /**
103
+ * 查询当前企业的内置模型列表,支持分页与过滤。内置模型由平台预置,企业可按需启用/停用。过滤字段支持:ModelId(模型ID,模糊)、Name(模型名称,模糊)、Vendor(供应商,模糊)、Status(状态,精确:enabled/disabled)。
104
+ */
105
+ async DescribeBuiltinModelList(req, cb) {
106
+ return this.request("DescribeBuiltinModelList", req, cb);
107
+ }
108
+ /**
109
+ * 修改 Agent 基础信息(名称、描述、头像)。AgentName / Description / AvatarUrl 均为可选,仅传递需要更新的字段。
110
+ */
111
+ async ModifyAgent(req, cb) {
112
+ return this.request("ModifyAgent", req, cb);
113
+ }
114
+ /**
115
+ * 创建一个新的 Managed Agent,同时自动生成 default 版本。配置采用 Manifest v2.0。
116
+ */
117
+ async CreateAgent(req, cb) {
118
+ return this.request("CreateAgent", req, cb);
119
+ }
120
+ /**
121
+ * 基于源版本创建新版本:Manifest / Model / Description 传入即整体覆盖,未传则沿用源版本。
122
+ */
123
+ async CreateAgentVersionFromSource(req, cb) {
124
+ return this.request("CreateAgentVersionFromSource", req, cb);
125
+ }
126
+ /**
127
+ * 原地更新 default 或 test 版本的 Manifest / Model / Description / SandboxTemplateId / ConnectorSet(prod 版本冻结不可修改),五个可选字段至少提供一个。ConnectorSet 为全量覆盖语义:缺省表示不改动连接器绑定;空数组表示解绑全部连接器。
128
+ */
129
+ async ModifyAgentVersion(req, cb) {
130
+ return this.request("ModifyAgentVersion", req, cb);
131
+ }
132
+ /**
133
+ * 把外部 agent 绑定到某 managed agent
134
+ */
135
+ async BindExternalAgent(req, cb) {
136
+ return this.request("BindExternalAgent", req, cb);
137
+ }
138
+ /**
139
+ * 查询某 managed agent 绑定的单个外部 agent 详情
140
+ */
141
+ async DescribeExternalAgent(req, cb) {
142
+ return this.request("DescribeExternalAgent", req, cb);
143
+ }
144
+ /**
145
+ * 为指定 Agent 创建新的会话,返回会话 ID 和聊天凭证。
146
+ */
147
+ async CreateAgentSession(req, cb) {
148
+ return this.request("CreateAgentSession", req, cb);
149
+ }
150
+ /**
151
+ * 按 Session 分页查询消息事件
152
+ */
153
+ async DescribeMessageEventList(req, cb) {
154
+ return this.request("DescribeMessageEventList", req, cb);
155
+ }
156
+ /**
157
+ * 查询单个 Agent 的详细信息,包括基础配置和路由配置。
158
+ */
159
+ async DescribeAgent(req, cb) {
160
+ return this.request("DescribeAgent", req, cb);
161
+ }
162
+ /**
163
+ * 删除指定的 Agent 及其所有版本。删除后不可恢复。
164
+ */
165
+ async DeleteAgent(req, cb) {
166
+ return this.request("DeleteAgent", req, cb);
167
+ }
168
+ /**
169
+ * 完全新建版本:外部准备完整 Manifest 后直接传入,不引用任何已有版本。
170
+ */
171
+ async CreateAgentVersion(req, cb) {
172
+ return this.request("CreateAgentVersion", req, cb);
173
+ }
174
+ /**
175
+ * 查询当前企业的 Agent 列表,支持分页、过滤和排序。
176
+ */
177
+ async DescribeAgentList(req, cb) {
178
+ return this.request("DescribeAgentList", req, cb);
179
+ }
180
+ }
181
+ exports.Client = Client;