tencentcloud-sdk-nodejs-workbuddyenterprise 4.1.346 → 4.1.352

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-workbuddyenterprise",
3
- "version": "4.1.346",
3
+ "version": "4.1.352",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -41,7 +41,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
41
41
  /**
42
42
  * 删除指定的物料,删除后不可恢复。
43
43
  */
44
- DeleteSessionArtifactList(req?: DeleteSessionArtifactListRequest, cb?: (error: string, rep: DeleteSessionArtifactListResponse) => void): Promise<DeleteSessionArtifactListResponse>;
44
+ DeleteSessionArtifactList(req: DeleteSessionArtifactListRequest, cb?: (error: string, rep: DeleteSessionArtifactListResponse) => void): Promise<DeleteSessionArtifactListResponse>;
45
45
  /**
46
46
  * 覆盖式写入 Agent 路由配置(版本权重)。所有 VersionId 必须属于同一 Agent 且未弃用;允许空数组(下线 Agent 对外流量);非空时权重总和须等于 1。
47
47
  */
@@ -97,7 +97,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
97
97
  /**
98
98
  * 分页查询会话物料列表。
99
99
  */
100
- DescribeSessionArtifactList(req?: DescribeSessionArtifactListRequest, cb?: (error: string, rep: DescribeSessionArtifactListResponse) => void): Promise<DescribeSessionArtifactListResponse>;
100
+ DescribeSessionArtifactList(req: DescribeSessionArtifactListRequest, cb?: (error: string, rep: DescribeSessionArtifactListResponse) => void): Promise<DescribeSessionArtifactListResponse>;
101
101
  /**
102
102
  * 查询某 managed agent 绑定的单个外部 agent 详情
103
103
  */
@@ -117,7 +117,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
117
117
  /**
118
118
  * 获取会话物料下载链接。
119
119
  */
120
- DescribeSessionArtifactDownloadUrl(req?: DescribeSessionArtifactDownloadUrlRequest, cb?: (error: string, rep: DescribeSessionArtifactDownloadUrlResponse) => void): Promise<DescribeSessionArtifactDownloadUrlResponse>;
120
+ DescribeSessionArtifactDownloadUrl(req: DescribeSessionArtifactDownloadUrlRequest, cb?: (error: string, rep: DescribeSessionArtifactDownloadUrlResponse) => void): Promise<DescribeSessionArtifactDownloadUrlResponse>;
121
121
  /**
122
122
  * 按 Session 分页查询消息事件
123
123
  */
@@ -301,7 +301,16 @@ export interface DescribeAgentSessionResponse {
301
301
  /**
302
302
  * DeleteSessionArtifactList请求参数结构体
303
303
  */
304
- export type DeleteSessionArtifactListRequest = null;
304
+ export interface DeleteSessionArtifactListRequest {
305
+ /**
306
+ * <p>会话ID</p>
307
+ */
308
+ SessionId?: string;
309
+ /**
310
+ * <p>需要删除的物料ID集合</p>
311
+ */
312
+ ArtifactIds?: Array<string>;
313
+ }
305
314
  /**
306
315
  * Token用量
307
316
  */
@@ -458,6 +467,55 @@ export interface CreateAgentVersionFromSourceResponse {
458
467
  */
459
468
  RequestId?: string;
460
469
  }
470
+ /**
471
+ * 会话物料结构
472
+ */
473
+ export interface SessionArtifactDetail {
474
+ /**
475
+ * <p>物料ID</p>
476
+ */
477
+ ArtifactId?: string;
478
+ /**
479
+ * <p>会话ID</p>
480
+ */
481
+ SessionId?: string;
482
+ /**
483
+ * <p>AgentID</p>
484
+ */
485
+ AgentId?: string;
486
+ /**
487
+ * <p>文件名</p>
488
+ */
489
+ FileName?: string;
490
+ /**
491
+ * <p>文件沙箱内路径</p>
492
+ */
493
+ FilePath?: string;
494
+ /**
495
+ * <p>文件字节数</p>
496
+ */
497
+ FileSizeBytes?: number;
498
+ /**
499
+ * <p>文件摘要值(Sha256)</p>
500
+ */
501
+ FileSha256?: string;
502
+ /**
503
+ * <p>物料状态</p><p>枚举值:</p><ul><li>PENDING: 处理中</li><li>READY: 准备完毕</li><li>FAILED: 失败</li></ul>
504
+ */
505
+ Status?: string;
506
+ /**
507
+ * <p>创建时间</p><p>参数格式:RFC3339 UTC</p>
508
+ */
509
+ CreatedTime?: string;
510
+ /**
511
+ * <p>更新时间</p><p>参数格式:RFC3339 UTC</p>
512
+ */
513
+ UploadedTime?: string;
514
+ /**
515
+ * <p>过期时间</p><p>参数格式:RFC3339 UTC</p>
516
+ */
517
+ ExpiredTime?: string;
518
+ }
461
519
  /**
462
520
  * 工具调用
463
521
  */
@@ -652,6 +710,14 @@ export interface SessionItem {
652
710
  * DescribeSessionArtifactList返回参数结构体
653
711
  */
654
712
  export interface DescribeSessionArtifactListResponse {
713
+ /**
714
+ * <p>符合条件的物料总数(按 ID 批量时为实际命中数)</p>
715
+ */
716
+ TotalCount?: number;
717
+ /**
718
+ * <p>返回的物料集合</p>
719
+ */
720
+ ArtifactSet?: Array<SessionArtifactDetail>;
655
721
  /**
656
722
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
657
723
  */
@@ -960,6 +1026,26 @@ export interface CreateAgentRequest {
960
1026
  * DescribeSessionArtifactDownloadUrl返回参数结构体
961
1027
  */
962
1028
  export interface DescribeSessionArtifactDownloadUrlResponse {
1029
+ /**
1030
+ * <p>产物下载地址</p>
1031
+ */
1032
+ DownloadUrl?: string;
1033
+ /**
1034
+ * <p>产物过期时间</p>
1035
+ */
1036
+ ExpiredTime?: string;
1037
+ /**
1038
+ * <p>产物对应文件名</p>
1039
+ */
1040
+ FileName?: string;
1041
+ /**
1042
+ * <p>产物文件大小</p>
1043
+ */
1044
+ FileSizeBytes?: number;
1045
+ /**
1046
+ * <p>文件摘要</p>
1047
+ */
1048
+ FileSha256?: string;
963
1049
  /**
964
1050
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
965
1051
  */
@@ -1014,6 +1100,10 @@ export interface ChatEndpoint {
1014
1100
  * DeleteSessionArtifactList返回参数结构体
1015
1101
  */
1016
1102
  export interface DeleteSessionArtifactListResponse {
1103
+ /**
1104
+ * <p>删除的物料数量</p>
1105
+ */
1106
+ DeletedCount?: number;
1017
1107
  /**
1018
1108
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1019
1109
  */
@@ -2081,7 +2171,16 @@ export interface Header {
2081
2171
  /**
2082
2172
  * DescribeSessionArtifactDownloadUrl请求参数结构体
2083
2173
  */
2084
- export type DescribeSessionArtifactDownloadUrlRequest = null;
2174
+ export interface DescribeSessionArtifactDownloadUrlRequest {
2175
+ /**
2176
+ * <p>物料ID</p>
2177
+ */
2178
+ ArtifactId: string;
2179
+ /**
2180
+ * <p>产物过期时间</p><p>单位:s</p>
2181
+ */
2182
+ ExpiredSeconds?: number;
2183
+ }
2085
2184
  /**
2086
2185
  * MigrateAgentSession请求参数结构体
2087
2186
  */
@@ -2260,7 +2359,24 @@ export interface TargetOptions {
2260
2359
  /**
2261
2360
  * DescribeSessionArtifactList请求参数结构体
2262
2361
  */
2263
- export type DescribeSessionArtifactListRequest = null;
2362
+ export interface DescribeSessionArtifactListRequest {
2363
+ /**
2364
+ * <p>会话ID</p>
2365
+ */
2366
+ SessionId?: string;
2367
+ /**
2368
+ * <p>偏移量,从 0 开始,默认 0(按 ID 批量查询时忽略)</p>
2369
+ */
2370
+ Offset?: number;
2371
+ /**
2372
+ * <p>每页数量,默认 20,最大 200(按 ID 批量查询时忽略)</p>
2373
+ */
2374
+ Limit?: number;
2375
+ /**
2376
+ * <p>标准过滤条件:ArtifactId(精确,多值 OR,携带即按 ID 批量查询,忽略分页)/ Keyword(模糊)</p>
2377
+ */
2378
+ Filters?: Array<Filter>;
2379
+ }
2264
2380
  /**
2265
2381
  * CreateAgent返回参数结构体
2266
2382
  */
@@ -2416,6 +2532,10 @@ export interface CreateAgentSessionRequest {
2416
2532
  * <p>指定版本 ID(可选)。非空且合法时固定使用该版本,跳过 routing_config 权重挑选;指定版本需归属同一 Agent 且未被废弃</p>
2417
2533
  */
2418
2534
  VersionId?: string;
2535
+ /**
2536
+ * <p>会话创建来源,仅用于监控统计,不参与鉴权。</p><p>page 表示页面端,adk 表示 ADK/API;不传或无法识别时统计为 unknown。</p>
2537
+ */
2538
+ MetricEntry?: string;
2419
2539
  }
2420
2540
  /**
2421
2541
  * CreateAgentVersionFromSource请求参数结构体