tencentcloud-sdk-nodejs-iotexplorer 4.1.263 → 4.1.269

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.
@@ -291,6 +291,27 @@ export interface DescribeTWeTalkProductConfigResponse {
291
291
  */
292
292
  RequestId?: string;
293
293
  }
294
+ /**
295
+ * Webhook鉴权配置
296
+ */
297
+ export interface TalkWebhookAuth {
298
+ /**
299
+ * 鉴权类型:none、hmac、static_headers、bearer
300
+ */
301
+ Type: string;
302
+ /**
303
+ * HMAC签名密钥,Type=hmac时必填
304
+ */
305
+ SignKey?: string;
306
+ /**
307
+ * 静态鉴权请求头,JSON对象字符串,仅允许白名单header名
308
+ */
309
+ Headers?: string;
310
+ /**
311
+ * Bearer Token,Type=bearer时用于生成Authorization请求头
312
+ */
313
+ BearerToken?: string;
314
+ }
294
315
  /**
295
316
  * Talk激活审计信息。
296
317
  */
@@ -618,6 +639,55 @@ export interface DescribeCloudStorageOrderRequest {
618
639
  */
619
640
  OrderId: string;
620
641
  }
642
+ /**
643
+ * CreateTWeTalkAgent请求参数结构体
644
+ */
645
+ export interface CreateTWeTalkAgentRequest {
646
+ /**
647
+ * <p>语音识别配置</p>
648
+ */
649
+ STTConfig: TalkSTTConfig;
650
+ /**
651
+ * <p>大模型配置</p>
652
+ */
653
+ LLMConfig: TalkLLMConfig;
654
+ /**
655
+ * <p>语音合成配置</p>
656
+ */
657
+ TTSConfig: TalkTTSConfig;
658
+ /**
659
+ * <p>智能体名称;为空时使用默认智能体名称</p>
660
+ */
661
+ Name?: string;
662
+ /**
663
+ * <p>实例ID</p>
664
+ */
665
+ InstanceId?: string;
666
+ /**
667
+ * <p>智能体描述,最长1024字符</p>
668
+ */
669
+ Description?: string;
670
+ /**
671
+ * <p>对话行为配置</p>
672
+ */
673
+ ConversationConfig?: TalkConversationConfig;
674
+ /**
675
+ * <p>长期记忆配置</p>
676
+ */
677
+ MemoryConfig?: TalkMemoryConfig;
678
+ /**
679
+ * <p>IoT工具配置列表</p>
680
+ */
681
+ IOTTools?: Array<TalkIOTTool>;
682
+ /**
683
+ * <p>Webhook工具配置列表</p>
684
+ */
685
+ WebhookTools?: Array<TalkWebhookTool>;
686
+ /**
687
+ * <p>元信息扩展JSON对象字符串</p>
688
+ */
689
+ Metadata?: string;
690
+ }
621
691
  /**
622
692
  * 会话配置信息。
623
693
  */
@@ -790,6 +860,27 @@ export interface InvokeTWeSeeComprehensionRequest {
790
860
  */
791
861
  CallbackId?: string;
792
862
  }
863
+ /**
864
+ * IoT工具配置列表
865
+ */
866
+ export interface TalkIOTTool {
867
+ /**
868
+ * 工具名称,同时作为IoT ActionId
869
+ */
870
+ Name: string;
871
+ /**
872
+ * 工具描述,用于模型判断何时调用
873
+ */
874
+ Description: string;
875
+ /**
876
+ * 工具参数JSON Schema,JSON对象字符串,必须为type=object
877
+ */
878
+ Parameters: string;
879
+ /**
880
+ * 必填参数名列表,必须存在于Parameters.properties中
881
+ */
882
+ Required?: Array<string>;
883
+ }
793
884
  /**
794
885
  * DescribeDeviceFirmWare请求参数结构体
795
886
  */
@@ -820,6 +911,15 @@ export interface BindCloudStorageUserRequest {
820
911
  */
821
912
  UserId: string;
822
913
  }
914
+ /**
915
+ * UnbindTWeTalkAgent返回参数结构体
916
+ */
917
+ export interface UnbindTWeTalkAgentResponse {
918
+ /**
919
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
920
+ */
921
+ RequestId?: string;
922
+ }
823
923
  /**
824
924
  * CreateLoRaFrequency请求参数结构体
825
925
  */
@@ -1412,6 +1512,23 @@ export interface DeleteTWeSeeCallbackResponse {
1412
1512
  */
1413
1513
  RequestId?: string;
1414
1514
  }
1515
+ /**
1516
+ * DescribeTWeTalkAgentList返回参数结构体
1517
+ */
1518
+ export interface DescribeTWeTalkAgentListResponse {
1519
+ /**
1520
+ * <p>总数</p>
1521
+ */
1522
+ TotalCount?: number;
1523
+ /**
1524
+ * <p>智能体列</p>
1525
+ */
1526
+ Data?: Array<TalkAgentInfo>;
1527
+ /**
1528
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1529
+ */
1530
+ RequestId?: string;
1531
+ }
1415
1532
  /**
1416
1533
  * DescribeTWeSeeTaskStatistics返回参数结构体
1417
1534
  */
@@ -2073,6 +2190,31 @@ export interface DeleteDevicesRequest {
2073
2190
  */
2074
2191
  DevicesItems: Array<DevicesItem>;
2075
2192
  }
2193
+ /**
2194
+ * BindTWeTalkAgent请求参数结构体
2195
+ */
2196
+ export interface BindTWeTalkAgentRequest {
2197
+ /**
2198
+ * <p>产品 ID</p>
2199
+ */
2200
+ ProductId: string;
2201
+ /**
2202
+ * <p>智能体 ID</p>
2203
+ */
2204
+ AgentId: string;
2205
+ /**
2206
+ * <p>绑定维度:product 或 device</p>
2207
+ */
2208
+ BindingScope: string;
2209
+ /**
2210
+ * <p>设备名称;<code>BindingScope=device</code> 时必填</p>
2211
+ */
2212
+ DeviceName?: string;
2213
+ /**
2214
+ * <p>绑定优先级,数值越小优先级越高</p>
2215
+ */
2216
+ Priority?: number;
2217
+ }
2076
2218
  /**
2077
2219
  * ModifyProject返回参数结构体
2078
2220
  */
@@ -2149,41 +2291,21 @@ export interface CreateExternalSourceAIServiceTaskRequest {
2149
2291
  ROI?: string;
2150
2292
  }
2151
2293
  /**
2152
- * GetDeviceSumStatistics返回参数结构体
2294
+ * DescribeCloudStorageAIServiceCallback返回参数结构体
2153
2295
  */
2154
- export interface GetDeviceSumStatisticsResponse {
2155
- /**
2156
- * 激活设备总数
2157
- */
2158
- ActivationCount?: number;
2159
- /**
2160
- * 在线设备总数
2161
- */
2162
- OnlineCount?: number;
2163
- /**
2164
- * 前一天激活设备数
2165
- */
2166
- ActivationBeforeDay?: number;
2167
- /**
2168
- * 前一天活跃设备数
2169
- */
2170
- ActiveBeforeDay?: number;
2171
- /**
2172
- * 前一周激活设备数
2173
- */
2174
- ActivationWeekDayCount?: number;
2296
+ export interface DescribeCloudStorageAIServiceCallbackResponse {
2175
2297
  /**
2176
- * 前一周活跃设备数
2298
+ * 推送类型。http:HTTP 回调
2177
2299
  */
2178
- ActiveWeekDayCount?: number;
2300
+ Type?: string;
2179
2301
  /**
2180
- * 上一周激活设备数
2302
+ * HTTP 回调 URL
2181
2303
  */
2182
- ActivationBeforeWeekDayCount?: number;
2304
+ CallbackUrl?: string;
2183
2305
  /**
2184
- * 上一周活跃设备数
2306
+ * HTTP 回调鉴权 Token
2185
2307
  */
2186
- ActiveBeforeWeekDayCount?: number;
2308
+ CallbackToken?: string;
2187
2309
  /**
2188
2310
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2189
2311
  */
@@ -2245,6 +2367,79 @@ export interface PauseTWeCallDeviceRequest {
2245
2367
  */
2246
2368
  DeviceList?: Array<TWeCallInfo>;
2247
2369
  }
2370
+ /**
2371
+ * TWeTalk智能体配置信息描述
2372
+ */
2373
+ export interface TalkAgentInfo {
2374
+ /**
2375
+ * 主账号UIN
2376
+ */
2377
+ Uin?: number;
2378
+ /**
2379
+ * 账号AppId
2380
+ */
2381
+ AppId?: number;
2382
+ /**
2383
+ * 实例 ID
2384
+ */
2385
+ InstanceId?: string;
2386
+ /**
2387
+ * 智能体ID
2388
+ */
2389
+ AgentId?: string;
2390
+ /**
2391
+ * 智能体名称
2392
+ */
2393
+ Name?: string;
2394
+ /**
2395
+ * 智能体描述
2396
+ */
2397
+ Description?: string;
2398
+ /**
2399
+ * 语音识别配置
2400
+ */
2401
+ STTConfig?: TalkSTTConfig;
2402
+ /**
2403
+ * 大模型配置
2404
+ */
2405
+ LLMConfig?: TalkLLMConfig;
2406
+ /**
2407
+ * 语音合成配置
2408
+ */
2409
+ TTSConfig?: TalkTTSConfig;
2410
+ /**
2411
+ * 对话行为配置
2412
+ */
2413
+ ConversationConfig?: TalkConversationConfig;
2414
+ /**
2415
+ * 长期记忆配置
2416
+ */
2417
+ MemoryConfig?: TalkMemoryConfig;
2418
+ /**
2419
+ * IoT 工具列表
2420
+ */
2421
+ IOTTools?: Array<TalkIOTTool>;
2422
+ /**
2423
+ * Webhook 工具列表
2424
+ */
2425
+ WebhookTools?: Array<TalkWebhookTool>;
2426
+ /**
2427
+ * 元信息JSON object 字符串
2428
+ */
2429
+ Metadata?: string;
2430
+ /**
2431
+ * 绑定关系列表
2432
+ */
2433
+ Bindings?: Array<TalkAgentBinding>;
2434
+ /**
2435
+ * 创建时间,Unix 秒
2436
+ */
2437
+ CreateTime?: number;
2438
+ /**
2439
+ * 更新时间,Unix 秒
2440
+ */
2441
+ UpdateTime?: number;
2442
+ }
2248
2443
  /**
2249
2444
  * ModifyTWeSeeCallback返回参数结构体
2250
2445
  */
@@ -3031,13 +3226,25 @@ export interface DescribeGatewaySubProductsResponse {
3031
3226
  RequestId?: string;
3032
3227
  }
3033
3228
  /**
3034
- * BindProducts返回参数结构体
3229
+ * 批量创建 TWeSee 语义理解任务的响应
3035
3230
  */
3036
- export interface BindProductsResponse {
3231
+ export interface CreateVisionRecognitionTaskOutput {
3037
3232
  /**
3038
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3233
+ * 创建任务成功
3039
3234
  */
3040
- RequestId?: string;
3235
+ Created?: boolean;
3236
+ /**
3237
+ * 任务 ID
3238
+ */
3239
+ TaskId?: string;
3240
+ /**
3241
+ * 错误码
3242
+ */
3243
+ ErrorCode?: string;
3244
+ /**
3245
+ * 错误消息
3246
+ */
3247
+ ErrorMessage?: string;
3041
3248
  }
3042
3249
  /**
3043
3250
  * GetDeviceList返回参数结构体
@@ -3515,6 +3722,19 @@ export interface ListTopicPolicyResponse {
3515
3722
  */
3516
3723
  RequestId?: string;
3517
3724
  }
3725
+ /**
3726
+ * CreateTWeTalkAgent返回参数结构体
3727
+ */
3728
+ export interface CreateTWeTalkAgentResponse {
3729
+ /**
3730
+ * <p>智能体ID</p>
3731
+ */
3732
+ AgentId?: string;
3733
+ /**
3734
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3735
+ */
3736
+ RequestId?: string;
3737
+ }
3518
3738
  /**
3519
3739
  * CreateAISearchTaskAsync请求参数结构体
3520
3740
  */
@@ -3866,27 +4086,6 @@ export interface SearchPositionSpaceRequest {
3866
4086
  */
3867
4087
  Limit: number;
3868
4088
  }
3869
- /**
3870
- * DescribeCloudStorageAIServiceCallback返回参数结构体
3871
- */
3872
- export interface DescribeCloudStorageAIServiceCallbackResponse {
3873
- /**
3874
- * 推送类型。http:HTTP 回调
3875
- */
3876
- Type?: string;
3877
- /**
3878
- * HTTP 回调 URL
3879
- */
3880
- CallbackUrl?: string;
3881
- /**
3882
- * HTTP 回调鉴权 Token
3883
- */
3884
- CallbackToken?: string;
3885
- /**
3886
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3887
- */
3888
- RequestId?: string;
3889
- }
3890
4089
  /**
3891
4090
  * DescribeTWeTalkAIBot请求参数结构体
3892
4091
  */
@@ -3922,6 +4121,27 @@ export interface ModifyLoRaGatewayResponse {
3922
4121
  */
3923
4122
  RequestId?: string;
3924
4123
  }
4124
+ /**
4125
+ * 对话行为配置
4126
+ */
4127
+ export interface TalkConversationConfig {
4128
+ /**
4129
+ * 欢迎语
4130
+ */
4131
+ WelcomeMessage?: string;
4132
+ /**
4133
+ * 欢迎语优先级。`0`=默认,`1`=高优不可打断
4134
+ */
4135
+ WelcomeMessagePriority?: number;
4136
+ /**
4137
+ * 智能打断模式。`0`=服务端自动打断,`1`=端上发送打断信令
4138
+ */
4139
+ InterruptMode?: number;
4140
+ /**
4141
+ * 打断词列表。AI 说话期间,仅当用户说出列表中的词才打断 AI;不会触发新的回复
4142
+ */
4143
+ InterruptWordList?: Array<string>;
4144
+ }
3925
4145
  /**
3926
4146
  * CallDeviceActionSync返回参数结构体
3927
4147
  */
@@ -4285,6 +4505,19 @@ export interface DescribePackageConsumeTaskResponse {
4285
4505
  */
4286
4506
  RequestId?: string;
4287
4507
  }
4508
+ /**
4509
+ * 当前仅支持 `flow`(TRTC Flow TTS)
4510
+ */
4511
+ export interface TalkTTSConfig {
4512
+ /**
4513
+ * TTS的类型
4514
+ */
4515
+ Type: string;
4516
+ /**
4517
+ * Flow TTS 的具体配置
4518
+ */
4519
+ Flow?: TalkTTSFlow;
4520
+ }
4288
4521
  /**
4289
4522
  * CheckFirmwareUpdate请求参数结构体
4290
4523
  */
@@ -4298,6 +4531,23 @@ export interface CheckFirmwareUpdateRequest {
4298
4531
  */
4299
4532
  DeviceName: string;
4300
4533
  }
4534
+ /**
4535
+ * DescribeTWeTalkAgentBinding返回参数结构体
4536
+ */
4537
+ export interface DescribeTWeTalkAgentBindingResponse {
4538
+ /**
4539
+ * <p>总数</p>
4540
+ */
4541
+ TotalCount?: number;
4542
+ /**
4543
+ * <p>绑定关系列表</p>
4544
+ */
4545
+ Bindings?: Array<TalkAgentBinding>;
4546
+ /**
4547
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4548
+ */
4549
+ RequestId?: string;
4550
+ }
4301
4551
  /**
4302
4552
  * RemoveUserByRoomIdFromTRTC请求参数结构体
4303
4553
  */
@@ -4429,14 +4679,64 @@ export interface TalkIdleDetectionConfigInfo {
4429
4679
  IdleResponses?: Array<IdleResponseInfo>;
4430
4680
  }
4431
4681
  /**
4432
- * CreateFenceBind返回参数结构体
4682
+ * DeleteTWeTalkAgent请求参数结构体
4433
4683
  */
4434
- export interface CreateFenceBindResponse {
4684
+ export interface DeleteTWeTalkAgentRequest {
4685
+ /**
4686
+ * <p>智能体ID</p>
4687
+ */
4688
+ AgentId: string;
4689
+ }
4690
+ /**
4691
+ * CreateFenceBind返回参数结构体
4692
+ */
4693
+ export interface CreateFenceBindResponse {
4435
4694
  /**
4436
4695
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4437
4696
  */
4438
4697
  RequestId?: string;
4439
4698
  }
4699
+ /**
4700
+ * 大模型配置。基础对话必填;如使用平台默认能力,请显式设置 Type=default。
4701
+ */
4702
+ export interface TalkLLMConfig {
4703
+ /**
4704
+ * <p>LLM类型:default-平台默认;openai-OpenAI兼容模型</p>
4705
+ */
4706
+ Type: string;
4707
+ /**
4708
+ * <p>系统提示词</p>
4709
+ */
4710
+ SystemPrompt?: string;
4711
+ /**
4712
+ * <p>采样温度,建议范围0-2</p>
4713
+ */
4714
+ Temperature?: number;
4715
+ /**
4716
+ * <p>上下文历史轮数,建议范围0-50</p>
4717
+ */
4718
+ History?: number;
4719
+ /**
4720
+ * <p>超时时间,秒</p>
4721
+ */
4722
+ Timeout?: number;
4723
+ /**
4724
+ * <p>OpenAI兼容模型Base URL,仅支持 80 和 443 端口,Type=openai时必填</p>
4725
+ */
4726
+ BaseUrl?: string;
4727
+ /**
4728
+ * <p>模型名称,Type=openai时必填</p>
4729
+ */
4730
+ Model?: string;
4731
+ /**
4732
+ * <p>模型API Key,Type=openai时必填</p>
4733
+ */
4734
+ ApiKey?: string;
4735
+ /**
4736
+ * <p>额外模型请求体参数,JSON对象字符串,只允许JSON object,不允许普通字符串</p>
4737
+ */
4738
+ ExtraBody?: string;
4739
+ }
4440
4740
  /**
4441
4741
  * DescribeBindedProducts返回参数结构体
4442
4742
  */
@@ -5108,6 +5408,15 @@ export interface ResetTWeCallDeviceResponse {
5108
5408
  */
5109
5409
  RequestId?: string;
5110
5410
  }
5411
+ /**
5412
+ * ModifyTWeTalkAgent返回参数结构体
5413
+ */
5414
+ export interface ModifyTWeTalkAgentResponse {
5415
+ /**
5416
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5417
+ */
5418
+ RequestId?: string;
5419
+ }
5111
5420
  /**
5112
5421
  * 云api直接绑定设备出参
5113
5422
  */
@@ -5182,6 +5491,39 @@ export interface DescribeCloudStorageResponse {
5182
5491
  */
5183
5492
  RequestId?: string;
5184
5493
  }
5494
+ /**
5495
+ * 智能体绑定配置
5496
+ */
5497
+ export interface TalkAgentBinding {
5498
+ /**
5499
+ * product 或 device
5500
+ */
5501
+ BindingScope?: string;
5502
+ /**
5503
+ * 产品ID
5504
+ */
5505
+ ProductId?: string;
5506
+ /**
5507
+ * 设备名称
5508
+ */
5509
+ DeviceName?: string;
5510
+ /**
5511
+ * 智能体ID
5512
+ */
5513
+ AgentId?: string;
5514
+ /**
5515
+ * 绑定优先级
5516
+ */
5517
+ Priority?: number;
5518
+ /**
5519
+ * 创建时间,Unix 秒
5520
+ */
5521
+ CreateTime?: number;
5522
+ /**
5523
+ * 更新时间,Unix 秒
5524
+ */
5525
+ UpdateTime?: number;
5526
+ }
5185
5527
  /**
5186
5528
  * DescribeCloudStorageStreamData请求参数结构体
5187
5529
  */
@@ -6593,6 +6935,35 @@ export interface DescribeSubscribedTopicPolicyRequest {
6593
6935
  */
6594
6936
  DeviceName: string;
6595
6937
  }
6938
+ /**
6939
+ * Webhook工具配置列表
6940
+ */
6941
+ export interface TalkWebhookTool {
6942
+ /**
6943
+ * Webhook工具名称
6944
+ */
6945
+ Name: string;
6946
+ /**
6947
+ * Webhook工具描述
6948
+ */
6949
+ Description: string;
6950
+ /**
6951
+ * 工具参数JSON Schema,JSON对象字符串,必须为type=object
6952
+ */
6953
+ Parameters: string;
6954
+ /**
6955
+ * Webhook HTTP端点配置
6956
+ */
6957
+ Endpoint: TalkWebhookEndpoint;
6958
+ /**
6959
+ * 必填参数名列表,必须存在于Parameters.properties中
6960
+ */
6961
+ Required?: Array<string>;
6962
+ /**
6963
+ * Webhook鉴权配置
6964
+ */
6965
+ Auth?: TalkWebhookAuth;
6966
+ }
6596
6967
  /**
6597
6968
  * BatchInvokeTWeSeeRecognitionTask请求参数结构体
6598
6969
  */
@@ -6845,6 +7216,15 @@ export interface ListFirmwaresResponse {
6845
7216
  */
6846
7217
  RequestId?: string;
6847
7218
  }
7219
+ /**
7220
+ * 长期记忆配置。
7221
+ */
7222
+ export interface TalkMemoryConfig {
7223
+ /**
7224
+ * 是否启用长期记忆;启用时需满足产品和运行时能力要求
7225
+ */
7226
+ Enabled?: boolean;
7227
+ }
6848
7228
  /**
6849
7229
  * ReleaseStudioProduct返回参数结构体
6850
7230
  */
@@ -7137,23 +7517,33 @@ export interface DescribeCsReportCountDataInfoResponse {
7137
7517
  RequestId?: string;
7138
7518
  }
7139
7519
  /**
7140
- * DescribeFirmwareTaskDevices返回参数结构体
7520
+ * DescribeTWeTalkAgentBinding请求参数结构体
7141
7521
  */
7142
- export interface DescribeFirmwareTaskDevicesResponse {
7522
+ export interface DescribeTWeTalkAgentBindingRequest {
7143
7523
  /**
7144
- * 固件升级任务的设备总数
7145
- 注意:此字段可能返回 null,表示取不到有效值。
7524
+ * <p>产品 ID</p>
7146
7525
  */
7147
- Total?: number;
7526
+ ProductId?: string;
7148
7527
  /**
7149
- * 固件升级任务的设备列表
7150
- 注意:此字段可能返回 null,表示取不到有效值。
7528
+ * <p>设备名称</p>
7151
7529
  */
7152
- Devices?: Array<DeviceUpdateStatus>;
7530
+ DeviceName?: string;
7153
7531
  /**
7154
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7532
+ * <p>绑定维度:product device</p>
7155
7533
  */
7156
- RequestId?: string;
7534
+ BindingScope?: string;
7535
+ /**
7536
+ * <p>智能体 ID</p>
7537
+ */
7538
+ AgentId?: string;
7539
+ /**
7540
+ * <p>偏移量</p>
7541
+ */
7542
+ Offset?: number;
7543
+ /**
7544
+ * <p>返回数量,最大 100</p>
7545
+ */
7546
+ Limit?: number;
7157
7547
  }
7158
7548
  /**
7159
7549
  * ModifyCloudStorageAIService请求参数结构体
@@ -7438,6 +7828,15 @@ export interface DescribeCloudStorageAIServiceTasksRequest {
7438
7828
  */
7439
7829
  FileURLExpireTime?: number;
7440
7830
  }
7831
+ /**
7832
+ * DescribeTWeTalkAgent请求参数结构体
7833
+ */
7834
+ export interface DescribeTWeTalkAgentRequest {
7835
+ /**
7836
+ * <p>智能体ID</p>
7837
+ */
7838
+ AgentId: string;
7839
+ }
7441
7840
  /**
7442
7841
  * ListFirmwares请求参数结构体
7443
7842
  */
@@ -7488,6 +7887,34 @@ export interface PublishMessageRequest {
7488
7887
  */
7489
7888
  PayloadEncoding?: string;
7490
7889
  }
7890
+ /**
7891
+ * DescribeFirmwareTaskDevices返回参数结构体
7892
+ */
7893
+ export interface DescribeFirmwareTaskDevicesResponse {
7894
+ /**
7895
+ * 固件升级任务的设备总数
7896
+ 注意:此字段可能返回 null,表示取不到有效值。
7897
+ */
7898
+ Total?: number;
7899
+ /**
7900
+ * 固件升级任务的设备列表
7901
+ 注意:此字段可能返回 null,表示取不到有效值。
7902
+ */
7903
+ Devices?: Array<DeviceUpdateStatus>;
7904
+ /**
7905
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7906
+ */
7907
+ RequestId?: string;
7908
+ }
7909
+ /**
7910
+ * UnbindDevices返回参数结构体
7911
+ */
7912
+ export interface UnbindDevicesResponse {
7913
+ /**
7914
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7915
+ */
7916
+ RequestId?: string;
7917
+ }
7491
7918
  /**
7492
7919
  * ModifySpaceProperty请求参数结构体
7493
7920
  */
@@ -7591,29 +8018,21 @@ export interface GenerateCloudStorageAIServiceTaskFileURLResponse {
7591
8018
  RequestId?: string;
7592
8019
  }
7593
8020
  /**
7594
- * 设备激活详情信息
8021
+ * ChangeP2PRoute请求参数结构体
7595
8022
  */
7596
- export interface ActivateDeviceInfo {
7597
- /**
7598
- * 实例ID
7599
- */
7600
- InstanceId: string;
7601
- /**
7602
- * 实例类型
7603
- */
7604
- InstanceType: number;
8023
+ export interface ChangeP2PRouteRequest {
7605
8024
  /**
7606
- * 设备激活信息
8025
+ * 产品ID
7607
8026
  */
7608
- DeviceActivationDetails: DeviceActivationDetail;
8027
+ ProductId: string;
7609
8028
  /**
7610
- * 已注册设备类型信息
8029
+ * 设备名称
7611
8030
  */
7612
- RegisteredDeviceType: RegisteredDeviceTypeInfo;
8031
+ DeviceName: string;
7613
8032
  /**
7614
- * 已注册设备通信类型信息
8033
+ * P2P线路
7615
8034
  */
7616
- RegisteredDeviceNetType: RegisteredDeviceNetTypeInfo;
8035
+ RouteId: number;
7617
8036
  }
7618
8037
  /**
7619
8038
  * CreateTWeSeePostPaidService返回参数结构体
@@ -7671,6 +8090,19 @@ export interface CallDeviceActionAsyncResponse {
7671
8090
  */
7672
8091
  RequestId?: string;
7673
8092
  }
8093
+ /**
8094
+ * DescribeTWeTalkAgent返回参数结构体
8095
+ */
8096
+ export interface DescribeTWeTalkAgentResponse {
8097
+ /**
8098
+ * <p>智能体详情</p>
8099
+ */
8100
+ Data?: TalkAgentInfo;
8101
+ /**
8102
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8103
+ */
8104
+ RequestId?: string;
8105
+ }
7674
8106
  /**
7675
8107
  * TerminateTWeSeeSubscription请求参数结构体
7676
8108
  */
@@ -8015,6 +8447,43 @@ export interface DescribeDevicePackagesResponse {
8015
8447
  */
8016
8448
  RequestId?: string;
8017
8449
  }
8450
+ /**
8451
+ * DescribeTWeTalkAgentList请求参数结构体
8452
+ */
8453
+ export interface DescribeTWeTalkAgentListRequest {
8454
+ /**
8455
+ * <p>产品 ID</p>
8456
+ */
8457
+ ProductId?: string;
8458
+ /**
8459
+ * <p>设备名称,设备级绑定查询时使用</p>
8460
+ */
8461
+ DeviceName?: string;
8462
+ /**
8463
+ * <p>绑定维度:product 或 device</p>
8464
+ */
8465
+ BindingScope?: string;
8466
+ /**
8467
+ * <p>智能体 ID</p>
8468
+ */
8469
+ AgentId?: string;
8470
+ /**
8471
+ * <p>实例 ID</p>
8472
+ */
8473
+ InstanceId?: string;
8474
+ /**
8475
+ * <p>智能体名称筛选</p>
8476
+ */
8477
+ Name?: string;
8478
+ /**
8479
+ * <p>偏移量</p>
8480
+ */
8481
+ Offset?: number;
8482
+ /**
8483
+ * <p>返回数量,最大 100</p>
8484
+ */
8485
+ Limit?: number;
8486
+ }
8018
8487
  /**
8019
8488
  * DeleteDeviceSDP请求参数结构体
8020
8489
  */
@@ -8118,6 +8587,27 @@ export interface GetFamilyDeviceUserListResponse {
8118
8587
  */
8119
8588
  RequestId?: string;
8120
8589
  }
8590
+ /**
8591
+ * UnbindTWeTalkAgent请求参数结构体
8592
+ */
8593
+ export interface UnbindTWeTalkAgentRequest {
8594
+ /**
8595
+ * <p>产品 ID</p>
8596
+ */
8597
+ ProductId: string;
8598
+ /**
8599
+ * <p>智能体 ID</p>
8600
+ */
8601
+ AgentId: string;
8602
+ /**
8603
+ * <p>设备名称;BindingScope=device 时必填</p>
8604
+ */
8605
+ DeviceName?: string;
8606
+ /**
8607
+ * <p>绑定维度:product 或 device</p>
8608
+ */
8609
+ BindingScope?: string;
8610
+ }
8121
8611
  /**
8122
8612
  * DeleteLoRaGateway返回参数结构体
8123
8613
  */
@@ -8128,21 +8618,13 @@ export interface DeleteLoRaGatewayResponse {
8128
8618
  RequestId?: string;
8129
8619
  }
8130
8620
  /**
8131
- * ChangeP2PRoute请求参数结构体
8621
+ * DeleteTWeTalkAgent返回参数结构体
8132
8622
  */
8133
- export interface ChangeP2PRouteRequest {
8134
- /**
8135
- * 产品ID
8136
- */
8137
- ProductId: string;
8138
- /**
8139
- * 设备名称
8140
- */
8141
- DeviceName: string;
8623
+ export interface DeleteTWeTalkAgentResponse {
8142
8624
  /**
8143
- * P2P线路
8625
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8144
8626
  */
8145
- RouteId: number;
8627
+ RequestId?: string;
8146
8628
  }
8147
8629
  /**
8148
8630
  * LoRa 网关信息
@@ -8206,6 +8688,23 @@ export interface BindTWeTalkAIBotRequest {
8206
8688
  */
8207
8689
  ProductId: string;
8208
8690
  }
8691
+ /**
8692
+ * TRTC STT配置
8693
+ */
8694
+ export interface TalkSTTTRTC {
8695
+ /**
8696
+ * <p>识别语言,只支持 <code>zh</code>、<code>16k_zh_large</code></p>
8697
+ */
8698
+ Language?: string;
8699
+ /**
8700
+ * <p>VAD 静默检测时间,单位 ms,范围 240–2000</p>
8701
+ */
8702
+ VADSilenceTime?: number;
8703
+ /**
8704
+ * <p>远场人声抑制等级,范围 0–5</p>
8705
+ */
8706
+ VADLevel?: number;
8707
+ }
8209
8708
  /**
8210
8709
  * UpdateOtaModule请求参数结构体
8211
8710
  */
@@ -8483,25 +8982,13 @@ export interface GenSingleDeviceSignatureOfPublicRequest {
8483
8982
  Expire: number;
8484
8983
  }
8485
8984
  /**
8486
- * 批量创建 TWeSee 语义理解任务的响应
8985
+ * BindProducts返回参数结构体
8487
8986
  */
8488
- export interface CreateVisionRecognitionTaskOutput {
8489
- /**
8490
- * 创建任务成功
8491
- */
8492
- Created?: boolean;
8493
- /**
8494
- * 任务 ID
8495
- */
8496
- TaskId?: string;
8497
- /**
8498
- * 错误码
8499
- */
8500
- ErrorCode?: string;
8987
+ export interface BindProductsResponse {
8501
8988
  /**
8502
- * 错误消息
8989
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8503
8990
  */
8504
- ErrorMessage?: string;
8991
+ RequestId?: string;
8505
8992
  }
8506
8993
  /**
8507
8994
  * BatchCreateTWeSeeRecognitionTask返回参数结构体
@@ -9594,6 +10081,47 @@ export interface DescribeFirmwareUpdateStatusRequest {
9594
10081
  */
9595
10082
  DeviceName: string;
9596
10083
  }
10084
+ /**
10085
+ * GetDeviceSumStatistics返回参数结构体
10086
+ */
10087
+ export interface GetDeviceSumStatisticsResponse {
10088
+ /**
10089
+ * 激活设备总数
10090
+ */
10091
+ ActivationCount?: number;
10092
+ /**
10093
+ * 在线设备总数
10094
+ */
10095
+ OnlineCount?: number;
10096
+ /**
10097
+ * 前一天激活设备数
10098
+ */
10099
+ ActivationBeforeDay?: number;
10100
+ /**
10101
+ * 前一天活跃设备数
10102
+ */
10103
+ ActiveBeforeDay?: number;
10104
+ /**
10105
+ * 前一周激活设备数
10106
+ */
10107
+ ActivationWeekDayCount?: number;
10108
+ /**
10109
+ * 前一周活跃设备数
10110
+ */
10111
+ ActiveWeekDayCount?: number;
10112
+ /**
10113
+ * 上一周激活设备数
10114
+ */
10115
+ ActivationBeforeWeekDayCount?: number;
10116
+ /**
10117
+ * 上一周活跃设备数
10118
+ */
10119
+ ActiveBeforeWeekDayCount?: number;
10120
+ /**
10121
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10122
+ */
10123
+ RequestId?: string;
10124
+ }
9597
10125
  /**
9598
10126
  * DescribeDevicePositionList返回参数结构体
9599
10127
  */
@@ -9611,6 +10139,19 @@ export interface DescribeDevicePositionListResponse {
9611
10139
  */
9612
10140
  RequestId?: string;
9613
10141
  }
10142
+ /**
10143
+ * 语音识别配置
10144
+ */
10145
+ export interface TalkSTTConfig {
10146
+ /**
10147
+ * 当前仅支持 `trtc`(使用 TRTC 内置语音识别)。
10148
+ */
10149
+ Type: string;
10150
+ /**
10151
+ * `Type=trtc` 时生效。整体省略表示全部使用 TRTC 默认值。
10152
+ */
10153
+ TRTC?: TalkSTTTRTC;
10154
+ }
9614
10155
  /**
9615
10156
  * DescribeProject返回参数结构体
9616
10157
  */
@@ -9865,6 +10406,31 @@ export interface GenerateSignedVideoURLResponse {
9865
10406
  */
9866
10407
  RequestId?: string;
9867
10408
  }
10409
+ /**
10410
+ * 设备激活详情信息
10411
+ */
10412
+ export interface ActivateDeviceInfo {
10413
+ /**
10414
+ * 实例ID
10415
+ */
10416
+ InstanceId: string;
10417
+ /**
10418
+ * 实例类型
10419
+ */
10420
+ InstanceType: number;
10421
+ /**
10422
+ * 设备激活信息
10423
+ */
10424
+ DeviceActivationDetails: DeviceActivationDetail;
10425
+ /**
10426
+ * 已注册设备类型信息
10427
+ */
10428
+ RegisteredDeviceType: RegisteredDeviceTypeInfo;
10429
+ /**
10430
+ * 已注册设备通信类型信息
10431
+ */
10432
+ RegisteredDeviceNetType: RegisteredDeviceNetTypeInfo;
10433
+ }
9868
10434
  /**
9869
10435
  * InvokeVideosKeywordsAnalyzer请求参数结构体
9870
10436
  */
@@ -9931,6 +10497,19 @@ export interface DescribeFirmwareTaskDevicesRequest {
9931
10497
  */
9932
10498
  FwType?: string;
9933
10499
  }
10500
+ /**
10501
+ * Flow TTS 的具体配置
10502
+ */
10503
+ export interface TalkTTSFlow {
10504
+ /**
10505
+ * <p>精品音色 ID 或克隆音色 ID:具体可参考https://cloud.tencent.com/document/product/647/115414</p>
10506
+ */
10507
+ VoiceId: string;
10508
+ /**
10509
+ * <p>语速,范围 0.5–2.0;为 0 表示采用默认值</p>
10510
+ */
10511
+ Speed?: number;
10512
+ }
9934
10513
  /**
9935
10514
  * InvokeExternalSourceAIServiceTask请求参数结构体
9936
10515
  */
@@ -10397,6 +10976,19 @@ export interface CreateTWeTalkAIBotRequest {
10397
10976
  */
10398
10977
  RAGConfig?: string;
10399
10978
  }
10979
+ /**
10980
+ * Webhook工具配置列表
10981
+ */
10982
+ export interface TalkWebhookEndpoint {
10983
+ /**
10984
+ * <p>Webhook地址,仅支持 80 和 443 端口</p>
10985
+ */
10986
+ Url: string;
10987
+ /**
10988
+ * <p>超时时间,0~30 秒</p><p>取值范围:[0, 30]</p>
10989
+ */
10990
+ Timeout?: number;
10991
+ }
10400
10992
  /**
10401
10993
  * 授权小程序信息
10402
10994
  */
@@ -11445,9 +12037,9 @@ export interface DiarySHLConfig {
11445
12037
  OutDuration?: number;
11446
12038
  }
11447
12039
  /**
11448
- * UnbindDevices返回参数结构体
12040
+ * BindTWeTalkAgent返回参数结构体
11449
12041
  */
11450
- export interface UnbindDevicesResponse {
12042
+ export interface BindTWeTalkAgentResponse {
11451
12043
  /**
11452
12044
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11453
12045
  */
@@ -11462,6 +12054,55 @@ export interface CreateOtaModuleResponse {
11462
12054
  */
11463
12055
  RequestId?: string;
11464
12056
  }
12057
+ /**
12058
+ * ModifyTWeTalkAgent请求参数结构体
12059
+ */
12060
+ export interface ModifyTWeTalkAgentRequest {
12061
+ /**
12062
+ * <p>智能体ID</p>
12063
+ */
12064
+ AgentId: string;
12065
+ /**
12066
+ * <p>智能体名称</p>
12067
+ */
12068
+ Name?: string;
12069
+ /**
12070
+ * <p>智能体描述</p>
12071
+ */
12072
+ Description?: string;
12073
+ /**
12074
+ * <p>语音识别配置</p>
12075
+ */
12076
+ STTConfig?: TalkSTTConfig;
12077
+ /**
12078
+ * <p>大模型配置</p>
12079
+ */
12080
+ LLMConfig?: TalkLLMConfig;
12081
+ /**
12082
+ * <p>语音合成配置</p>
12083
+ */
12084
+ TTSConfig?: TalkTTSConfig;
12085
+ /**
12086
+ * <p>对话行为配置</p>
12087
+ */
12088
+ ConversationConfig?: TalkConversationConfig;
12089
+ /**
12090
+ * <p>长期记忆配置</p>
12091
+ */
12092
+ MemoryConfig?: TalkMemoryConfig;
12093
+ /**
12094
+ * <p>IoT工具配置列表</p>
12095
+ */
12096
+ IOTTools?: Array<TalkIOTTool>;
12097
+ /**
12098
+ * <p>Webhook工具配置列表</p>
12099
+ */
12100
+ WebhookTools?: Array<TalkWebhookTool>;
12101
+ /**
12102
+ * <p>元信息扩展JSON对象字符串</p>
12103
+ */
12104
+ Metadata?: string;
12105
+ }
11465
12106
  /**
11466
12107
  * CreateBatchProduction返回参数结构体
11467
12108
  */