tencentcloud-sdk-nodejs-intl-en 3.0.1474 → 3.0.1475
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/common/sdk_version.js +1 -1
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +6 -5
- package/tencentcloud/lighthouse/v20200324/models.js +180 -86
- package/tencentcloud/trtc/v20190722/models.js +1552 -215
- package/tencentcloud/trtc/v20190722/trtc_client.js +91 -13
|
@@ -515,6 +515,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
+
/**
|
|
519
|
+
* TTS configuration for conversation tasks.
|
|
520
|
+
* @class
|
|
521
|
+
*/
|
|
522
|
+
class VoiceConversationTTSConfig extends AbstractModel {
|
|
523
|
+
constructor(){
|
|
524
|
+
super();
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* <p>TTS providers, such as trtc.</p>
|
|
528
|
+
* @type {string || null}
|
|
529
|
+
*/
|
|
530
|
+
this.Provider = null;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* <p>Manufacturer exclusive parameter, string after JSON serialization.</p>
|
|
534
|
+
* @type {string || null}
|
|
535
|
+
*/
|
|
536
|
+
this.Params = null;
|
|
537
|
+
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @private
|
|
542
|
+
*/
|
|
543
|
+
deserialize(params) {
|
|
544
|
+
if (!params) {
|
|
545
|
+
return;
|
|
546
|
+
}
|
|
547
|
+
this.Provider = 'Provider' in params ? params.Provider : null;
|
|
548
|
+
this.Params = 'Params' in params ? params.Params : null;
|
|
549
|
+
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
518
553
|
/**
|
|
519
554
|
* Audio transcoding parameters
|
|
520
555
|
* @class
|
|
@@ -1330,6 +1365,46 @@ class VoiceCloneRequest extends AbstractModel {
|
|
|
1330
1365
|
}
|
|
1331
1366
|
}
|
|
1332
1367
|
|
|
1368
|
+
/**
|
|
1369
|
+
* The server proactively sends a request to TTS.
|
|
1370
|
+
* @class
|
|
1371
|
+
*/
|
|
1372
|
+
class VoiceConversationInvokeTTS extends AbstractModel {
|
|
1373
|
+
constructor(){
|
|
1374
|
+
super();
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* <p>Content to inject.</p>
|
|
1378
|
+
* @type {string || null}
|
|
1379
|
+
*/
|
|
1380
|
+
this.Content = null;
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Priority. If no conversation is in progress, the injected content is sent to TTS. Otherwise, the behavior depends on this value. Default: 0.
|
|
1384
|
+
Valid values:
|
|
1385
|
+
- 0: High. Interrupt the current conversation, clear the waiting queue, and send the injected content to TTS.
|
|
1386
|
+
- 1: Medium. Do not interrupt the current conversation. Clear the waiting queue and queue the injected content. If no conversation is in progress, the injected content is still queued.
|
|
1387
|
+
- 2: Low. Discard the injected content.
|
|
1388
|
+
`InvokeLLM` and `InvokeTTS` share one queue. The queue can hold only one Invoke event.
|
|
1389
|
+
* @type {number || null}
|
|
1390
|
+
*/
|
|
1391
|
+
this.Priority = null;
|
|
1392
|
+
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* @private
|
|
1397
|
+
*/
|
|
1398
|
+
deserialize(params) {
|
|
1399
|
+
if (!params) {
|
|
1400
|
+
return;
|
|
1401
|
+
}
|
|
1402
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
1403
|
+
this.Priority = 'Priority' in params ? params.Priority : null;
|
|
1404
|
+
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1333
1408
|
/**
|
|
1334
1409
|
* SetUserBlocked request structure.
|
|
1335
1410
|
* @class
|
|
@@ -1483,6 +1558,53 @@ class DeleteCloudModerationRequest extends AbstractModel {
|
|
|
1483
1558
|
}
|
|
1484
1559
|
}
|
|
1485
1560
|
|
|
1561
|
+
/**
|
|
1562
|
+
* DescribeVoiceConversation request structure.
|
|
1563
|
+
* @class
|
|
1564
|
+
*/
|
|
1565
|
+
class DescribeVoiceConversationRequest extends AbstractModel {
|
|
1566
|
+
constructor(){
|
|
1567
|
+
super();
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* The TRTC [SdkAppId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#sdkappid). It must be the same SdkAppId as the conversation room.
|
|
1571
|
+
* @type {number || null}
|
|
1572
|
+
*/
|
|
1573
|
+
this.SdkAppId = null;
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* Unique ID of the conversation task. Returned when the conversation task starts successfully.
|
|
1577
|
+
* @type {string || null}
|
|
1578
|
+
*/
|
|
1579
|
+
this.TaskId = null;
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* Whether to include the conversation history.
|
|
1583
|
+
Valid values:
|
|
1584
|
+
- 0: Do not include the conversation history.
|
|
1585
|
+
- 1: Include the conversation history.
|
|
1586
|
+
|
|
1587
|
+
Default: 0
|
|
1588
|
+
* @type {number || null}
|
|
1589
|
+
*/
|
|
1590
|
+
this.DescribeType = null;
|
|
1591
|
+
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* @private
|
|
1596
|
+
*/
|
|
1597
|
+
deserialize(params) {
|
|
1598
|
+
if (!params) {
|
|
1599
|
+
return;
|
|
1600
|
+
}
|
|
1601
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
1602
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
1603
|
+
this.DescribeType = 'DescribeType' in params ? params.DescribeType : null;
|
|
1604
|
+
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1486
1608
|
/**
|
|
1487
1609
|
* SetUserBlocked response structure.
|
|
1488
1610
|
* @class
|
|
@@ -1553,6 +1675,45 @@ class McuBackgroundCustomRender extends AbstractModel {
|
|
|
1553
1675
|
}
|
|
1554
1676
|
}
|
|
1555
1677
|
|
|
1678
|
+
/**
|
|
1679
|
+
* The server proactively sends a request to the LLM.
|
|
1680
|
+
* @class
|
|
1681
|
+
*/
|
|
1682
|
+
class VoiceConversationInvokeLLM extends AbstractModel {
|
|
1683
|
+
constructor(){
|
|
1684
|
+
super();
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* <p>The injected content.</p>
|
|
1688
|
+
* @type {string || null}
|
|
1689
|
+
*/
|
|
1690
|
+
this.Content = null;
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Priority. If no conversation is in progress, the injected content is sent to the LLM. Otherwise, the behavior depends on this value. Default: 0.
|
|
1694
|
+
Valid values:
|
|
1695
|
+
- 0: High. Interrupt the current conversation, clear the waiting queue, and send the injected content to the LLM.
|
|
1696
|
+
- 1: Medium. Do not interrupt the current conversation. Clear the waiting queue and queue the injected content. If no conversation is in progress, the injected content is still queued.
|
|
1697
|
+
- 2: Low. Discard the injected content.
|
|
1698
|
+
* @type {number || null}
|
|
1699
|
+
*/
|
|
1700
|
+
this.Priority = null;
|
|
1701
|
+
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* @private
|
|
1706
|
+
*/
|
|
1707
|
+
deserialize(params) {
|
|
1708
|
+
if (!params) {
|
|
1709
|
+
return;
|
|
1710
|
+
}
|
|
1711
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
1712
|
+
this.Priority = 'Priority' in params ? params.Priority : null;
|
|
1713
|
+
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1556
1717
|
/**
|
|
1557
1718
|
*
|
|
1558
1719
|
* @class
|
|
@@ -1709,7 +1870,7 @@ class TranscriptionUserInfoParams extends AbstractModel {
|
|
|
1709
1870
|
super();
|
|
1710
1871
|
|
|
1711
1872
|
/**
|
|
1712
|
-
*
|
|
1873
|
+
* <p>uid.</p>
|
|
1713
1874
|
* @type {string || null}
|
|
1714
1875
|
*/
|
|
1715
1876
|
this.UserId = null;
|
|
@@ -2465,6 +2626,48 @@ The default value is 0, indicating other categories.
|
|
|
2465
2626
|
}
|
|
2466
2627
|
}
|
|
2467
2628
|
|
|
2629
|
+
/**
|
|
2630
|
+
* Configuration parameters for the end-to-end large speech model of an AI conversation task.
|
|
2631
|
+
* @class
|
|
2632
|
+
*/
|
|
2633
|
+
class VoiceConversationS2SConfig extends AbstractModel {
|
|
2634
|
+
constructor(){
|
|
2635
|
+
super();
|
|
2636
|
+
|
|
2637
|
+
/**
|
|
2638
|
+
* <p>S2S manufacturer identification, for example, "tencent".</p>
|
|
2639
|
+
* @type {string || null}
|
|
2640
|
+
*/
|
|
2641
|
+
this.Provider = null;
|
|
2642
|
+
|
|
2643
|
+
/**
|
|
2644
|
+
* <p>Manufacturer exclusive parameter, JSON serialized string.</p>
|
|
2645
|
+
* @type {string || null}
|
|
2646
|
+
*/
|
|
2647
|
+
this.Params = null;
|
|
2648
|
+
|
|
2649
|
+
/**
|
|
2650
|
+
* <p>The welcome message played when the host enters the room for the first time. It will play again if the host leaves and re-enters the room.</p>
|
|
2651
|
+
* @type {string || null}
|
|
2652
|
+
*/
|
|
2653
|
+
this.WelcomeMessage = null;
|
|
2654
|
+
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* @private
|
|
2659
|
+
*/
|
|
2660
|
+
deserialize(params) {
|
|
2661
|
+
if (!params) {
|
|
2662
|
+
return;
|
|
2663
|
+
}
|
|
2664
|
+
this.Provider = 'Provider' in params ? params.Provider : null;
|
|
2665
|
+
this.Params = 'Params' in params ? params.Params : null;
|
|
2666
|
+
this.WelcomeMessage = 'WelcomeMessage' in params ? params.WelcomeMessage : null;
|
|
2667
|
+
|
|
2668
|
+
}
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2468
2671
|
/**
|
|
2469
2672
|
* DescribeWebRecord response structure.
|
|
2470
2673
|
* @class
|
|
@@ -2642,6 +2845,86 @@ Array length: 1-100.
|
|
|
2642
2845
|
}
|
|
2643
2846
|
}
|
|
2644
2847
|
|
|
2848
|
+
/**
|
|
2849
|
+
* AI transcribe parameters.
|
|
2850
|
+
* @class
|
|
2851
|
+
*/
|
|
2852
|
+
class TranscriptionParams extends AbstractModel {
|
|
2853
|
+
constructor(){
|
|
2854
|
+
super();
|
|
2855
|
+
|
|
2856
|
+
/**
|
|
2857
|
+
* The transcription robot's UserId is used to enter the room and trigger a transcription task. note that this UserId cannot be the same as the host or audience [UserId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#UserId) in the current room. if multiple transcription tasks are initiated in a room, the robot's UserId must also be unique to avoid interrupting the previous task. ensure the transcription robot's UserId is unique in the room.
|
|
2858
|
+
* @type {string || null}
|
|
2859
|
+
*/
|
|
2860
|
+
this.UserId = null;
|
|
2861
|
+
|
|
2862
|
+
/**
|
|
2863
|
+
* Verification signature corresponding to the transcription bot's UserId, namely, the UserId and UserSig serve as the login password for the transcription bot to enter the room. for specific calculation methods, see TRTC solution for calculating.
|
|
2864
|
+
* @type {string || null}
|
|
2865
|
+
*/
|
|
2866
|
+
this.UserSig = null;
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* After all push users exit the room and exceed MaxIdleTime seconds, the backend automation shuts down the transcription task. default value is 60s.
|
|
2870
|
+
* @type {number || null}
|
|
2871
|
+
*/
|
|
2872
|
+
this.MaxIdleTime = null;
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* 1 means the robot subscribes to the stream of an individual, and 0 means the robot subscribes to the stream of the entire room. if left empty, it defaults to subscribing to the stream of the entire room.
|
|
2876
|
+
* @type {number || null}
|
|
2877
|
+
*/
|
|
2878
|
+
this.TranscriptionMode = null;
|
|
2879
|
+
|
|
2880
|
+
/**
|
|
2881
|
+
* Required when TranscriptionMode is 1, the robot only pulls streams from this userid and ignores other users in the room.
|
|
2882
|
+
* @type {string || null}
|
|
2883
|
+
*/
|
|
2884
|
+
this.TargetUserId = null;
|
|
2885
|
+
|
|
2886
|
+
/**
|
|
2887
|
+
* Voiceprint configuration.
|
|
2888
|
+
* @type {VoicePrint || null}
|
|
2889
|
+
*/
|
|
2890
|
+
this.VoicePrint = null;
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* Semantic sentence segmentation detection.
|
|
2894
|
+
* @type {TurnDetection || null}
|
|
2895
|
+
*/
|
|
2896
|
+
this.TurnDetection = null;
|
|
2897
|
+
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* @private
|
|
2902
|
+
*/
|
|
2903
|
+
deserialize(params) {
|
|
2904
|
+
if (!params) {
|
|
2905
|
+
return;
|
|
2906
|
+
}
|
|
2907
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
2908
|
+
this.UserSig = 'UserSig' in params ? params.UserSig : null;
|
|
2909
|
+
this.MaxIdleTime = 'MaxIdleTime' in params ? params.MaxIdleTime : null;
|
|
2910
|
+
this.TranscriptionMode = 'TranscriptionMode' in params ? params.TranscriptionMode : null;
|
|
2911
|
+
this.TargetUserId = 'TargetUserId' in params ? params.TargetUserId : null;
|
|
2912
|
+
|
|
2913
|
+
if (params.VoicePrint) {
|
|
2914
|
+
let obj = new VoicePrint();
|
|
2915
|
+
obj.deserialize(params.VoicePrint)
|
|
2916
|
+
this.VoicePrint = obj;
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
if (params.TurnDetection) {
|
|
2920
|
+
let obj = new TurnDetection();
|
|
2921
|
+
obj.deserialize(params.TurnDetection)
|
|
2922
|
+
this.TurnDetection = obj;
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2645
2928
|
/**
|
|
2646
2929
|
* DeleteCloudModeration response structure.
|
|
2647
2930
|
* @class
|
|
@@ -2792,49 +3075,43 @@ class CloudStorage extends AbstractModel {
|
|
|
2792
3075
|
super();
|
|
2793
3076
|
|
|
2794
3077
|
/**
|
|
2795
|
-
*
|
|
2796
|
-
`0`: Tencent Cloud COS; `1`: AWS storage. Other vendors are not supported currently.
|
|
3078
|
+
* <p>Information about Tencent Cloud object storage COS and third-party cloud storage accounts<br>0: Tencent Cloud object storage COS<br>1: AWS<br>[Note] Currently, only AWS is supported for third-party cloud storage. More third-party cloud storage options are being added.</p>
|
|
2797
3079
|
* @type {number || null}
|
|
2798
3080
|
*/
|
|
2799
3081
|
this.Vendor = null;
|
|
2800
3082
|
|
|
2801
3083
|
/**
|
|
2802
|
-
* [Region information](https://www.tencentcloud.com/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of
|
|
2803
|
-
Example value: cn-shanghai-1.
|
|
2804
|
-
|
|
2805
|
-
[Region information](https://docs.AWS.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions) of AWS S3.
|
|
3084
|
+
* <p>[Region information](https://www.tencentcloud.com/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of Tencent Cloud object storage.<br>Example value: cn-shanghai-1</p><p>[Region information](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions) of AWS S3</p>
|
|
2806
3085
|
* @type {string || null}
|
|
2807
3086
|
*/
|
|
2808
3087
|
this.Region = null;
|
|
2809
3088
|
|
|
2810
3089
|
/**
|
|
2811
|
-
*
|
|
3090
|
+
* <p>Cloud bucket name.</p>
|
|
2812
3091
|
* @type {string || null}
|
|
2813
3092
|
*/
|
|
2814
3093
|
this.Bucket = null;
|
|
2815
3094
|
|
|
2816
3095
|
/**
|
|
2817
|
-
*
|
|
2818
|
-
To store files to tencent cloud object storage (COS), visit https://console.cloud.tencent.com/cam/capi to view or create the SecretId value corresponding to the key fields in the link.
|
|
3096
|
+
* <p>access key account information for cloud storage.<br>To store files to tencent cloud Object Storage (COS), visit https://console.cloud.tencent.com/cam/capi to view or create the SecretId value corresponding to the key field in the link.</p>
|
|
2819
3097
|
* @type {string || null}
|
|
2820
3098
|
*/
|
|
2821
3099
|
this.AccessKey = null;
|
|
2822
3100
|
|
|
2823
3101
|
/**
|
|
2824
|
-
* secret_key account information
|
|
2825
|
-
To store files to tencent cloud object storage (COS), visit https://console.cloud.tencent.com/cam/capi to view or create the SecretKey value corresponding to the key fields in the link.
|
|
3102
|
+
* <p>The secret_key account information for cloud storage.<br>To store files to Tencent Cloud Object Storage (COS), visit https://console.cloud.tencent.com/cam/capi to view or create the SecretKey value corresponding to the key fields in the link.</p>
|
|
2826
3103
|
* @type {string || null}
|
|
2827
3104
|
*/
|
|
2828
3105
|
this.SecretKey = null;
|
|
2829
3106
|
|
|
2830
3107
|
/**
|
|
2831
|
-
* The specified
|
|
3108
|
+
* <p>The user-specified location in the cloud storage bucket consists of an array of strings. Valid string range: az, az, 0-9, '_' and '-'. For example, with ["prefix1", "prefix2"], the recording file xxx.m3u8 becomes prefix1/prefix2/TaskId/xxx.m3u8.</p>
|
|
2832
3109
|
* @type {Array.<string> || null}
|
|
2833
3110
|
*/
|
|
2834
3111
|
this.FileNamePrefix = null;
|
|
2835
3112
|
|
|
2836
3113
|
/**
|
|
2837
|
-
*
|
|
3114
|
+
* <p>When this parameter is set up for an S3-compatible endpoint override (for example, Cloudflare R2), the client will use this endpoint rather than the default AWS S3 endpoint. Example: "account_id.R2.cloudflarestorage.com"</p>
|
|
2838
3115
|
* @type {string || null}
|
|
2839
3116
|
*/
|
|
2840
3117
|
this.EndpointUrl = null;
|
|
@@ -3367,25 +3644,89 @@ Example value: test-secretkey.
|
|
|
3367
3644
|
}
|
|
3368
3645
|
|
|
3369
3646
|
/**
|
|
3370
|
-
*
|
|
3647
|
+
* The watermark layout.
|
|
3371
3648
|
* @class
|
|
3372
3649
|
*/
|
|
3373
|
-
class
|
|
3650
|
+
class WaterMark extends AbstractModel {
|
|
3374
3651
|
constructor(){
|
|
3375
3652
|
super();
|
|
3376
3653
|
|
|
3377
3654
|
/**
|
|
3378
|
-
*
|
|
3379
|
-
Mobile phone.
|
|
3380
|
-
Tablet.
|
|
3655
|
+
* The watermark type. 0 (default): image; 1: text; 2: timestamp.
|
|
3381
3656
|
* @type {number || null}
|
|
3382
3657
|
*/
|
|
3383
|
-
this.
|
|
3658
|
+
this.WaterMarkType = null;
|
|
3384
3659
|
|
|
3385
3660
|
/**
|
|
3386
|
-
*
|
|
3387
|
-
|
|
3388
|
-
|
|
3661
|
+
* The information of watermark images. This parameter is required if the watermark type is image.
|
|
3662
|
+
* @type {WaterMarkImage || null}
|
|
3663
|
+
*/
|
|
3664
|
+
this.WaterMarkImage = null;
|
|
3665
|
+
|
|
3666
|
+
/**
|
|
3667
|
+
* The information of the text watermark. This parameter is required if `WaterMarkType` is `1`.
|
|
3668
|
+
* @type {WaterMarkChar || null}
|
|
3669
|
+
*/
|
|
3670
|
+
this.WaterMarkChar = null;
|
|
3671
|
+
|
|
3672
|
+
/**
|
|
3673
|
+
* The information of the timestamp watermark. This parameter is required if `WaterMarkType` is `2`.
|
|
3674
|
+
* @type {WaterMarkTimestamp || null}
|
|
3675
|
+
*/
|
|
3676
|
+
this.WaterMarkTimestamp = null;
|
|
3677
|
+
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
/**
|
|
3681
|
+
* @private
|
|
3682
|
+
*/
|
|
3683
|
+
deserialize(params) {
|
|
3684
|
+
if (!params) {
|
|
3685
|
+
return;
|
|
3686
|
+
}
|
|
3687
|
+
this.WaterMarkType = 'WaterMarkType' in params ? params.WaterMarkType : null;
|
|
3688
|
+
|
|
3689
|
+
if (params.WaterMarkImage) {
|
|
3690
|
+
let obj = new WaterMarkImage();
|
|
3691
|
+
obj.deserialize(params.WaterMarkImage)
|
|
3692
|
+
this.WaterMarkImage = obj;
|
|
3693
|
+
}
|
|
3694
|
+
|
|
3695
|
+
if (params.WaterMarkChar) {
|
|
3696
|
+
let obj = new WaterMarkChar();
|
|
3697
|
+
obj.deserialize(params.WaterMarkChar)
|
|
3698
|
+
this.WaterMarkChar = obj;
|
|
3699
|
+
}
|
|
3700
|
+
|
|
3701
|
+
if (params.WaterMarkTimestamp) {
|
|
3702
|
+
let obj = new WaterMarkTimestamp();
|
|
3703
|
+
obj.deserialize(params.WaterMarkTimestamp)
|
|
3704
|
+
this.WaterMarkTimestamp = obj;
|
|
3705
|
+
}
|
|
3706
|
+
|
|
3707
|
+
}
|
|
3708
|
+
}
|
|
3709
|
+
|
|
3710
|
+
/**
|
|
3711
|
+
* Render the mobile mode parameter. do not set this parameter when not rendering mobile mode.
|
|
3712
|
+
* @class
|
|
3713
|
+
*/
|
|
3714
|
+
class EmulateMobileParams extends AbstractModel {
|
|
3715
|
+
constructor(){
|
|
3716
|
+
super();
|
|
3717
|
+
|
|
3718
|
+
/**
|
|
3719
|
+
* Mobile device type.
|
|
3720
|
+
Mobile phone.
|
|
3721
|
+
Tablet.
|
|
3722
|
+
* @type {number || null}
|
|
3723
|
+
*/
|
|
3724
|
+
this.MobileDeviceType = null;
|
|
3725
|
+
|
|
3726
|
+
/**
|
|
3727
|
+
* Screen orientation.
|
|
3728
|
+
Portrait mode.
|
|
3729
|
+
Landscape mode.
|
|
3389
3730
|
* @type {number || null}
|
|
3390
3731
|
*/
|
|
3391
3732
|
this.ScreenOrientation = null;
|
|
@@ -3596,6 +3937,41 @@ class McuCustomCrop extends AbstractModel {
|
|
|
3596
3937
|
}
|
|
3597
3938
|
}
|
|
3598
3939
|
|
|
3940
|
+
/**
|
|
3941
|
+
* Historical messages of AI conversations.
|
|
3942
|
+
* @class
|
|
3943
|
+
*/
|
|
3944
|
+
class VoiceConversationHistoryMessage extends AbstractModel {
|
|
3945
|
+
constructor(){
|
|
3946
|
+
super();
|
|
3947
|
+
|
|
3948
|
+
/**
|
|
3949
|
+
* <p>The Conversation role, for example, "user", "assistant", "system".</p>
|
|
3950
|
+
* @type {string || null}
|
|
3951
|
+
*/
|
|
3952
|
+
this.Role = null;
|
|
3953
|
+
|
|
3954
|
+
/**
|
|
3955
|
+
* <p>Conversation content.</p>
|
|
3956
|
+
* @type {string || null}
|
|
3957
|
+
*/
|
|
3958
|
+
this.Content = null;
|
|
3959
|
+
|
|
3960
|
+
}
|
|
3961
|
+
|
|
3962
|
+
/**
|
|
3963
|
+
* @private
|
|
3964
|
+
*/
|
|
3965
|
+
deserialize(params) {
|
|
3966
|
+
if (!params) {
|
|
3967
|
+
return;
|
|
3968
|
+
}
|
|
3969
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
3970
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
3971
|
+
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
|
|
3599
3975
|
/**
|
|
3600
3976
|
* DescribeMixTranscodingUsage request structure.
|
|
3601
3977
|
* @class
|
|
@@ -3936,6 +4312,41 @@ class SubscribeStreamUserIds extends AbstractModel {
|
|
|
3936
4312
|
}
|
|
3937
4313
|
}
|
|
3938
4314
|
|
|
4315
|
+
/**
|
|
4316
|
+
* DeleteVoiceConversation request structure.
|
|
4317
|
+
* @class
|
|
4318
|
+
*/
|
|
4319
|
+
class DeleteVoiceConversationRequest extends AbstractModel {
|
|
4320
|
+
constructor(){
|
|
4321
|
+
super();
|
|
4322
|
+
|
|
4323
|
+
/**
|
|
4324
|
+
* The TRTC [SdkAppId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#sdkappid). It must be the same SdkAppId as the conversation room.
|
|
4325
|
+
* @type {number || null}
|
|
4326
|
+
*/
|
|
4327
|
+
this.SdkAppId = null;
|
|
4328
|
+
|
|
4329
|
+
/**
|
|
4330
|
+
* Unique ID of the conversation task. Returned when the conversation task starts successfully.
|
|
4331
|
+
* @type {string || null}
|
|
4332
|
+
*/
|
|
4333
|
+
this.TaskId = null;
|
|
4334
|
+
|
|
4335
|
+
}
|
|
4336
|
+
|
|
4337
|
+
/**
|
|
4338
|
+
* @private
|
|
4339
|
+
*/
|
|
4340
|
+
deserialize(params) {
|
|
4341
|
+
if (!params) {
|
|
4342
|
+
return;
|
|
4343
|
+
}
|
|
4344
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
4345
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
4346
|
+
|
|
4347
|
+
}
|
|
4348
|
+
}
|
|
4349
|
+
|
|
3939
4350
|
/**
|
|
3940
4351
|
* The information of watermark images.
|
|
3941
4352
|
* @class
|
|
@@ -4788,6 +5199,53 @@ class RemoveUserByStrRoomIdResponse extends AbstractModel {
|
|
|
4788
5199
|
}
|
|
4789
5200
|
}
|
|
4790
5201
|
|
|
5202
|
+
/**
|
|
5203
|
+
* Parameter configuration related to AI conversation visual understanding.
|
|
5204
|
+
* @class
|
|
5205
|
+
*/
|
|
5206
|
+
class VoiceConversationVisionConfig extends AbstractModel {
|
|
5207
|
+
constructor(){
|
|
5208
|
+
super();
|
|
5209
|
+
|
|
5210
|
+
/**
|
|
5211
|
+
* <p>Whether to enable visual understanding.</p>
|
|
5212
|
+
* @type {boolean || null}
|
|
5213
|
+
*/
|
|
5214
|
+
this.Enable = null;
|
|
5215
|
+
|
|
5216
|
+
/**
|
|
5217
|
+
* <p>Storage type.</p><p>Enumeration values:</p><ul><li>0: Do not store.</li><li>1: Specify cloud storage. In such cases, the CloudStorage parameter is required.</li></ul><p>Default value: 0</p>
|
|
5218
|
+
* @type {number || null}
|
|
5219
|
+
*/
|
|
5220
|
+
this.StorageType = null;
|
|
5221
|
+
|
|
5222
|
+
/**
|
|
5223
|
+
* <p>Third-party Cloud Storage archive configuration. After configuration, the backend will automatically upload I-frames received from the SDK to the designated cloud bucket for persistent storage.</p>
|
|
5224
|
+
* @type {CloudStorage || null}
|
|
5225
|
+
*/
|
|
5226
|
+
this.CloudStorage = null;
|
|
5227
|
+
|
|
5228
|
+
}
|
|
5229
|
+
|
|
5230
|
+
/**
|
|
5231
|
+
* @private
|
|
5232
|
+
*/
|
|
5233
|
+
deserialize(params) {
|
|
5234
|
+
if (!params) {
|
|
5235
|
+
return;
|
|
5236
|
+
}
|
|
5237
|
+
this.Enable = 'Enable' in params ? params.Enable : null;
|
|
5238
|
+
this.StorageType = 'StorageType' in params ? params.StorageType : null;
|
|
5239
|
+
|
|
5240
|
+
if (params.CloudStorage) {
|
|
5241
|
+
let obj = new CloudStorage();
|
|
5242
|
+
obj.deserialize(params.CloudStorage)
|
|
5243
|
+
this.CloudStorage = obj;
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
}
|
|
5247
|
+
}
|
|
5248
|
+
|
|
4791
5249
|
/**
|
|
4792
5250
|
* UpdateStreamIngest response structure.
|
|
4793
5251
|
* @class
|
|
@@ -5438,36 +5896,24 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5438
5896
|
}
|
|
5439
5897
|
|
|
5440
5898
|
/**
|
|
5441
|
-
*
|
|
5899
|
+
* ControlVoiceConversation response structure.
|
|
5442
5900
|
* @class
|
|
5443
5901
|
*/
|
|
5444
|
-
class
|
|
5902
|
+
class ControlVoiceConversationResponse extends AbstractModel {
|
|
5445
5903
|
constructor(){
|
|
5446
5904
|
super();
|
|
5447
5905
|
|
|
5448
5906
|
/**
|
|
5449
|
-
*
|
|
5450
|
-
* @type {
|
|
5451
|
-
*/
|
|
5452
|
-
this.WaterMarkType = null;
|
|
5453
|
-
|
|
5454
|
-
/**
|
|
5455
|
-
* The information of watermark images. This parameter is required if the watermark type is image.
|
|
5456
|
-
* @type {WaterMarkImage || null}
|
|
5457
|
-
*/
|
|
5458
|
-
this.WaterMarkImage = null;
|
|
5459
|
-
|
|
5460
|
-
/**
|
|
5461
|
-
* The information of the text watermark. This parameter is required if `WaterMarkType` is `1`.
|
|
5462
|
-
* @type {WaterMarkChar || null}
|
|
5907
|
+
* Unique ID of the conversation task.
|
|
5908
|
+
* @type {string || null}
|
|
5463
5909
|
*/
|
|
5464
|
-
this.
|
|
5910
|
+
this.TaskId = null;
|
|
5465
5911
|
|
|
5466
5912
|
/**
|
|
5467
|
-
* The
|
|
5468
|
-
* @type {
|
|
5913
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5914
|
+
* @type {string || null}
|
|
5469
5915
|
*/
|
|
5470
|
-
this.
|
|
5916
|
+
this.RequestId = null;
|
|
5471
5917
|
|
|
5472
5918
|
}
|
|
5473
5919
|
|
|
@@ -5478,25 +5924,8 @@ class WaterMark extends AbstractModel {
|
|
|
5478
5924
|
if (!params) {
|
|
5479
5925
|
return;
|
|
5480
5926
|
}
|
|
5481
|
-
this.
|
|
5482
|
-
|
|
5483
|
-
if (params.WaterMarkImage) {
|
|
5484
|
-
let obj = new WaterMarkImage();
|
|
5485
|
-
obj.deserialize(params.WaterMarkImage)
|
|
5486
|
-
this.WaterMarkImage = obj;
|
|
5487
|
-
}
|
|
5488
|
-
|
|
5489
|
-
if (params.WaterMarkChar) {
|
|
5490
|
-
let obj = new WaterMarkChar();
|
|
5491
|
-
obj.deserialize(params.WaterMarkChar)
|
|
5492
|
-
this.WaterMarkChar = obj;
|
|
5493
|
-
}
|
|
5494
|
-
|
|
5495
|
-
if (params.WaterMarkTimestamp) {
|
|
5496
|
-
let obj = new WaterMarkTimestamp();
|
|
5497
|
-
obj.deserialize(params.WaterMarkTimestamp)
|
|
5498
|
-
this.WaterMarkTimestamp = obj;
|
|
5499
|
-
}
|
|
5927
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
5928
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5500
5929
|
|
|
5501
5930
|
}
|
|
5502
5931
|
}
|
|
@@ -6017,6 +6446,41 @@ Regardless of the mode, it will eventually split and send to a large model for r
|
|
|
6017
6446
|
}
|
|
6018
6447
|
}
|
|
6019
6448
|
|
|
6449
|
+
/**
|
|
6450
|
+
* DeleteVoiceConversation response structure.
|
|
6451
|
+
* @class
|
|
6452
|
+
*/
|
|
6453
|
+
class DeleteVoiceConversationResponse extends AbstractModel {
|
|
6454
|
+
constructor(){
|
|
6455
|
+
super();
|
|
6456
|
+
|
|
6457
|
+
/**
|
|
6458
|
+
* Unique ID of the conversation task.
|
|
6459
|
+
* @type {string || null}
|
|
6460
|
+
*/
|
|
6461
|
+
this.TaskId = null;
|
|
6462
|
+
|
|
6463
|
+
/**
|
|
6464
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
6465
|
+
* @type {string || null}
|
|
6466
|
+
*/
|
|
6467
|
+
this.RequestId = null;
|
|
6468
|
+
|
|
6469
|
+
}
|
|
6470
|
+
|
|
6471
|
+
/**
|
|
6472
|
+
* @private
|
|
6473
|
+
*/
|
|
6474
|
+
deserialize(params) {
|
|
6475
|
+
if (!params) {
|
|
6476
|
+
return;
|
|
6477
|
+
}
|
|
6478
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
6479
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6480
|
+
|
|
6481
|
+
}
|
|
6482
|
+
}
|
|
6483
|
+
|
|
6020
6484
|
/**
|
|
6021
6485
|
* The audio encoding parameters.
|
|
6022
6486
|
* @class
|
|
@@ -6193,22 +6657,57 @@ class DismissRoomRequest extends AbstractModel {
|
|
|
6193
6657
|
}
|
|
6194
6658
|
|
|
6195
6659
|
/**
|
|
6196
|
-
*
|
|
6660
|
+
* Historical conversation content.
|
|
6197
6661
|
* @class
|
|
6198
6662
|
*/
|
|
6199
|
-
class
|
|
6663
|
+
class VoiceConversationHistoryContent extends AbstractModel {
|
|
6200
6664
|
constructor(){
|
|
6201
6665
|
super();
|
|
6202
6666
|
|
|
6203
6667
|
/**
|
|
6204
|
-
*
|
|
6205
|
-
* @type {
|
|
6668
|
+
* <p>Conversation role.</p>
|
|
6669
|
+
* @type {string || null}
|
|
6206
6670
|
*/
|
|
6207
|
-
this.
|
|
6671
|
+
this.Role = null;
|
|
6208
6672
|
|
|
6209
6673
|
/**
|
|
6210
|
-
*
|
|
6211
|
-
|
|
6674
|
+
* <p>Conversation content.</p>
|
|
6675
|
+
* @type {string || null}
|
|
6676
|
+
*/
|
|
6677
|
+
this.Content = null;
|
|
6678
|
+
|
|
6679
|
+
}
|
|
6680
|
+
|
|
6681
|
+
/**
|
|
6682
|
+
* @private
|
|
6683
|
+
*/
|
|
6684
|
+
deserialize(params) {
|
|
6685
|
+
if (!params) {
|
|
6686
|
+
return;
|
|
6687
|
+
}
|
|
6688
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
6689
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
6690
|
+
|
|
6691
|
+
}
|
|
6692
|
+
}
|
|
6693
|
+
|
|
6694
|
+
/**
|
|
6695
|
+
* DescribeUnusualEvent request structure.
|
|
6696
|
+
* @class
|
|
6697
|
+
*/
|
|
6698
|
+
class DescribeUnusualEventRequest extends AbstractModel {
|
|
6699
|
+
constructor(){
|
|
6700
|
+
super();
|
|
6701
|
+
|
|
6702
|
+
/**
|
|
6703
|
+
* User SdkAppId (for example: 1400xxxxxx).
|
|
6704
|
+
* @type {number || null}
|
|
6705
|
+
*/
|
|
6706
|
+
this.SdkAppId = null;
|
|
6707
|
+
|
|
6708
|
+
/**
|
|
6709
|
+
* Query start time, local unix timestamp, in seconds (for example: 1590065777).
|
|
6710
|
+
Note: support querying data within the last 14 days.
|
|
6212
6711
|
* @type {number || null}
|
|
6213
6712
|
*/
|
|
6214
6713
|
this.StartTime = null;
|
|
@@ -6242,6 +6741,84 @@ Note: support querying data within the last 14 days.
|
|
|
6242
6741
|
}
|
|
6243
6742
|
}
|
|
6244
6743
|
|
|
6744
|
+
/**
|
|
6745
|
+
* ModifyVoiceConversation request structure.
|
|
6746
|
+
* @class
|
|
6747
|
+
*/
|
|
6748
|
+
class ModifyVoiceConversationRequest extends AbstractModel {
|
|
6749
|
+
constructor(){
|
|
6750
|
+
super();
|
|
6751
|
+
|
|
6752
|
+
/**
|
|
6753
|
+
* <p>The <a href="https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#sdkappid">SdkAppId</a> of TRTC, which is the same as the SdkAppId corresponding to the conversation room.</p>
|
|
6754
|
+
* @type {number || null}
|
|
6755
|
+
*/
|
|
6756
|
+
this.SdkAppId = null;
|
|
6757
|
+
|
|
6758
|
+
/**
|
|
6759
|
+
* Unique ID of the conversation task. Returned when the conversation task starts successfully.
|
|
6760
|
+
* @type {string || null}
|
|
6761
|
+
*/
|
|
6762
|
+
this.TaskId = null;
|
|
6763
|
+
|
|
6764
|
+
/**
|
|
6765
|
+
* For the same task, `SequenceNumber` must increase with each modification request. This prevents requests from being applied out of order.
|
|
6766
|
+
* @type {number || null}
|
|
6767
|
+
*/
|
|
6768
|
+
this.SequenceNumber = null;
|
|
6769
|
+
|
|
6770
|
+
/**
|
|
6771
|
+
* Large language model (LLM) configuration. Applies only in `Cascade` mode. In `S2S` mode, the request returns an error.
|
|
6772
|
+
* @type {VoiceConversationLLMConfig || null}
|
|
6773
|
+
*/
|
|
6774
|
+
this.LLMConfig = null;
|
|
6775
|
+
|
|
6776
|
+
/**
|
|
6777
|
+
* End-to-end speech-to-speech model configuration. Applies only in `S2S` mode. In `Cascade` mode, the request returns an error.
|
|
6778
|
+
* @type {VoiceConversationS2SConfig || null}
|
|
6779
|
+
*/
|
|
6780
|
+
this.S2SConfig = null;
|
|
6781
|
+
|
|
6782
|
+
/**
|
|
6783
|
+
* Conversation control configuration. Applies only in `Cascade` mode.
|
|
6784
|
+
* @type {VoiceConversationDialogConfig || null}
|
|
6785
|
+
*/
|
|
6786
|
+
this.DialogConfig = null;
|
|
6787
|
+
|
|
6788
|
+
}
|
|
6789
|
+
|
|
6790
|
+
/**
|
|
6791
|
+
* @private
|
|
6792
|
+
*/
|
|
6793
|
+
deserialize(params) {
|
|
6794
|
+
if (!params) {
|
|
6795
|
+
return;
|
|
6796
|
+
}
|
|
6797
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
6798
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
6799
|
+
this.SequenceNumber = 'SequenceNumber' in params ? params.SequenceNumber : null;
|
|
6800
|
+
|
|
6801
|
+
if (params.LLMConfig) {
|
|
6802
|
+
let obj = new VoiceConversationLLMConfig();
|
|
6803
|
+
obj.deserialize(params.LLMConfig)
|
|
6804
|
+
this.LLMConfig = obj;
|
|
6805
|
+
}
|
|
6806
|
+
|
|
6807
|
+
if (params.S2SConfig) {
|
|
6808
|
+
let obj = new VoiceConversationS2SConfig();
|
|
6809
|
+
obj.deserialize(params.S2SConfig)
|
|
6810
|
+
this.S2SConfig = obj;
|
|
6811
|
+
}
|
|
6812
|
+
|
|
6813
|
+
if (params.DialogConfig) {
|
|
6814
|
+
let obj = new VoiceConversationDialogConfig();
|
|
6815
|
+
obj.deserialize(params.DialogConfig)
|
|
6816
|
+
this.DialogConfig = obj;
|
|
6817
|
+
}
|
|
6818
|
+
|
|
6819
|
+
}
|
|
6820
|
+
}
|
|
6821
|
+
|
|
6245
6822
|
/**
|
|
6246
6823
|
* DescribeCloudRecording request structure.
|
|
6247
6824
|
* @class
|
|
@@ -6455,6 +7032,70 @@ class StartWebRecordResponse extends AbstractModel {
|
|
|
6455
7032
|
}
|
|
6456
7033
|
}
|
|
6457
7034
|
|
|
7035
|
+
/**
|
|
7036
|
+
* MCP Sever parameters.
|
|
7037
|
+
* @class
|
|
7038
|
+
*/
|
|
7039
|
+
class VoiceConversationMcpServer extends AbstractModel {
|
|
7040
|
+
constructor(){
|
|
7041
|
+
super();
|
|
7042
|
+
|
|
7043
|
+
/**
|
|
7044
|
+
* <p>The unique mcp identifier.</p>
|
|
7045
|
+
* @type {string || null}
|
|
7046
|
+
*/
|
|
7047
|
+
this.Name = null;
|
|
7048
|
+
|
|
7049
|
+
/**
|
|
7050
|
+
* <p>Endpoint URL.</p>
|
|
7051
|
+
* @type {string || null}
|
|
7052
|
+
*/
|
|
7053
|
+
this.Url = null;
|
|
7054
|
+
|
|
7055
|
+
/**
|
|
7056
|
+
* <p>Request timeout in ms. Default: 5000. This value should not exceed 30000.</p>
|
|
7057
|
+
* @type {number || null}
|
|
7058
|
+
*/
|
|
7059
|
+
this.Timeout = null;
|
|
7060
|
+
|
|
7061
|
+
/**
|
|
7062
|
+
* <p>Custom request headers, such as authentication information.</p>
|
|
7063
|
+
* @type {Array.<KeyValueItem> || null}
|
|
7064
|
+
*/
|
|
7065
|
+
this.Headers = null;
|
|
7066
|
+
|
|
7067
|
+
/**
|
|
7068
|
+
* <p>Allowlist of tools that can be used.</p>
|
|
7069
|
+
* @type {Array.<string> || null}
|
|
7070
|
+
*/
|
|
7071
|
+
this.ToolList = null;
|
|
7072
|
+
|
|
7073
|
+
}
|
|
7074
|
+
|
|
7075
|
+
/**
|
|
7076
|
+
* @private
|
|
7077
|
+
*/
|
|
7078
|
+
deserialize(params) {
|
|
7079
|
+
if (!params) {
|
|
7080
|
+
return;
|
|
7081
|
+
}
|
|
7082
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
7083
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
7084
|
+
this.Timeout = 'Timeout' in params ? params.Timeout : null;
|
|
7085
|
+
|
|
7086
|
+
if (params.Headers) {
|
|
7087
|
+
this.Headers = new Array();
|
|
7088
|
+
for (let z in params.Headers) {
|
|
7089
|
+
let obj = new KeyValueItem();
|
|
7090
|
+
obj.deserialize(params.Headers[z]);
|
|
7091
|
+
this.Headers.push(obj);
|
|
7092
|
+
}
|
|
7093
|
+
}
|
|
7094
|
+
this.ToolList = 'ToolList' in params ? params.ToolList : null;
|
|
7095
|
+
|
|
7096
|
+
}
|
|
7097
|
+
}
|
|
7098
|
+
|
|
6458
7099
|
/**
|
|
6459
7100
|
* SetUserBlockedByStrRoomId response structure.
|
|
6460
7101
|
* @class
|
|
@@ -6861,6 +7502,75 @@ Note: does not support entering "zh-dialect".
|
|
|
6861
7502
|
}
|
|
6862
7503
|
}
|
|
6863
7504
|
|
|
7505
|
+
/**
|
|
7506
|
+
* Configuration for AI conversation.
|
|
7507
|
+
* @class
|
|
7508
|
+
*/
|
|
7509
|
+
class VoiceConversationDialogConfig extends AbstractModel {
|
|
7510
|
+
constructor(){
|
|
7511
|
+
super();
|
|
7512
|
+
|
|
7513
|
+
/**
|
|
7514
|
+
* Interrupt mode. Default: 0.
|
|
7515
|
+
Valid values:
|
|
7516
|
+
- 0: Automatic. When STT returns text, it interrupts TTS playback. Use this mode with InterruptSpeechDuration.
|
|
7517
|
+
- 1: Manual. The bot is interrupted only by the Interrupt command from the server or client API.
|
|
7518
|
+
- 2: Keyword.
|
|
7519
|
+
* @type {number || null}
|
|
7520
|
+
*/
|
|
7521
|
+
this.InterruptMode = null;
|
|
7522
|
+
|
|
7523
|
+
/**
|
|
7524
|
+
* Minimum duration of user speech that triggers an automatic interrupt. Default: 200. Unit: ms.
|
|
7525
|
+
* @type {number || null}
|
|
7526
|
+
*/
|
|
7527
|
+
this.InterruptSpeechDuration = null;
|
|
7528
|
+
|
|
7529
|
+
/**
|
|
7530
|
+
* Preset keywords that interrupt the bot. Use them when the user must explicitly indicate the intent to interrupt. You can set up to 128 keywords. Applies only when `InterruptMode` is 2.
|
|
7531
|
+
* @type {Array.<string> || null}
|
|
7532
|
+
*/
|
|
7533
|
+
this.InterruptKeywords = null;
|
|
7534
|
+
|
|
7535
|
+
/**
|
|
7536
|
+
* How long the user is silent before the bot asks a follow-up question. Valid range: 0 to 300. 0 turns this off. Default: 0. Unit: seconds.
|
|
7537
|
+
|
|
7538
|
+
|
|
7539
|
+
* @type {number || null}
|
|
7540
|
+
*/
|
|
7541
|
+
this.SilenceFollowUp = null;
|
|
7542
|
+
|
|
7543
|
+
/**
|
|
7544
|
+
* <p>Text of the proactive follow-up question.</p>
|
|
7545
|
+
* @type {string || null}
|
|
7546
|
+
*/
|
|
7547
|
+
this.SilenceFollowUpText = null;
|
|
7548
|
+
|
|
7549
|
+
/**
|
|
7550
|
+
* Welcome message the bot broadcasts when an anchor enters the room for the first time. It is broadcast again when the anchor leaves the room and enters again.
|
|
7551
|
+
* @type {string || null}
|
|
7552
|
+
*/
|
|
7553
|
+
this.WelcomeMessage = null;
|
|
7554
|
+
|
|
7555
|
+
}
|
|
7556
|
+
|
|
7557
|
+
/**
|
|
7558
|
+
* @private
|
|
7559
|
+
*/
|
|
7560
|
+
deserialize(params) {
|
|
7561
|
+
if (!params) {
|
|
7562
|
+
return;
|
|
7563
|
+
}
|
|
7564
|
+
this.InterruptMode = 'InterruptMode' in params ? params.InterruptMode : null;
|
|
7565
|
+
this.InterruptSpeechDuration = 'InterruptSpeechDuration' in params ? params.InterruptSpeechDuration : null;
|
|
7566
|
+
this.InterruptKeywords = 'InterruptKeywords' in params ? params.InterruptKeywords : null;
|
|
7567
|
+
this.SilenceFollowUp = 'SilenceFollowUp' in params ? params.SilenceFollowUp : null;
|
|
7568
|
+
this.SilenceFollowUpText = 'SilenceFollowUpText' in params ? params.SilenceFollowUpText : null;
|
|
7569
|
+
this.WelcomeMessage = 'WelcomeMessage' in params ? params.WelcomeMessage : null;
|
|
7570
|
+
|
|
7571
|
+
}
|
|
7572
|
+
}
|
|
7573
|
+
|
|
6864
7574
|
/**
|
|
6865
7575
|
* DeleteCloudRecording response structure.
|
|
6866
7576
|
* @class
|
|
@@ -6983,6 +7693,101 @@ When TranscriptionMode is 0, ensure only one task is initiated in a room. if mul
|
|
|
6983
7693
|
}
|
|
6984
7694
|
}
|
|
6985
7695
|
|
|
7696
|
+
/**
|
|
7697
|
+
* Task parameters for an AI conversation.
|
|
7698
|
+
* @class
|
|
7699
|
+
*/
|
|
7700
|
+
class VoiceConversationConfig extends AbstractModel {
|
|
7701
|
+
constructor(){
|
|
7702
|
+
super();
|
|
7703
|
+
|
|
7704
|
+
/**
|
|
7705
|
+
* [UserId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#userid) used by the conversation service in the TRTC room. It must not match a UserId already used by another TRTC user or by the conversation service. Include the room ID in the UserId.
|
|
7706
|
+
* @type {string || null}
|
|
7707
|
+
*/
|
|
7708
|
+
this.UserId = null;
|
|
7709
|
+
|
|
7710
|
+
/**
|
|
7711
|
+
* [UserSig](https://www.tencentcloud.com/document/product/647/45910?from_cn_redirect=1#UserSig) for the conversation service to join the TRTC room. It is the authentication signature of this UserId and works like a login password. For how to calculate UserSig, see the linked topic.
|
|
7712
|
+
* @type {string || null}
|
|
7713
|
+
*/
|
|
7714
|
+
this.UserSig = null;
|
|
7715
|
+
|
|
7716
|
+
/**
|
|
7717
|
+
* <p>UserId of the anchor whose audio the conversation service subscribes to. Specify one anchor only.</p>
|
|
7718
|
+
* @type {Array.<string> || null}
|
|
7719
|
+
*/
|
|
7720
|
+
this.TargetUserId = null;
|
|
7721
|
+
|
|
7722
|
+
/**
|
|
7723
|
+
* <p>Parameters of the bot that publishes TTS audio back to the room.</p>
|
|
7724
|
+
* @type {TranscriptionUserInfoParams || null}
|
|
7725
|
+
*/
|
|
7726
|
+
this.TTSPushRoomParams = null;
|
|
7727
|
+
|
|
7728
|
+
/**
|
|
7729
|
+
* <p>If an anchor in the conversation stays out of the TRTC room, or stays in the audience role, for longer than `MaxIdleTime`, the conversation task stops automatically. Valid range: 5 to 86400 (24 hours). Default: 30. Unit: seconds.</p>
|
|
7730
|
+
* @type {number || null}
|
|
7731
|
+
*/
|
|
7732
|
+
this.MaxIdleTime = null;
|
|
7733
|
+
|
|
7734
|
+
/**
|
|
7735
|
+
* Filters content returned by the LLM. Text inside the specified brackets is not played. If this parameter is not set, nothing is filtered. Valid range: 1 to 5. Example: 1.
|
|
7736
|
+
Not supported in S2S mode.
|
|
7737
|
+
Valid values:
|
|
7738
|
+
- 1: Chinese parentheses
|
|
7739
|
+
- 2: English parentheses
|
|
7740
|
+
- 3: Chinese square brackets
|
|
7741
|
+
- 4: English square brackets
|
|
7742
|
+
- 5: English curly braces
|
|
7743
|
+
* @type {Array.<number> || null}
|
|
7744
|
+
*/
|
|
7745
|
+
this.FilterBracketsContent = null;
|
|
7746
|
+
|
|
7747
|
+
/**
|
|
7748
|
+
* Subtitle display mode. Not supported in S2S mode.
|
|
7749
|
+
Valid values:
|
|
7750
|
+
- 0: Show subtitles as soon as possible.
|
|
7751
|
+
- 1: Show subtitles sentence by sentence in real time.
|
|
7752
|
+
* @type {number || null}
|
|
7753
|
+
*/
|
|
7754
|
+
this.SubtitleMode = null;
|
|
7755
|
+
|
|
7756
|
+
/**
|
|
7757
|
+
* Controls how a new conversation turn starts. Default: `auto`. Not supported in S2S mode.
|
|
7758
|
+
Valid values:
|
|
7759
|
+
|
|
7760
|
+
- `auto`: The backend detects the end of a sentence from the silence duration, and then calls the LLM.
|
|
7761
|
+
* @type {string || null}
|
|
7762
|
+
*/
|
|
7763
|
+
this.TurnDetectionMode = null;
|
|
7764
|
+
|
|
7765
|
+
}
|
|
7766
|
+
|
|
7767
|
+
/**
|
|
7768
|
+
* @private
|
|
7769
|
+
*/
|
|
7770
|
+
deserialize(params) {
|
|
7771
|
+
if (!params) {
|
|
7772
|
+
return;
|
|
7773
|
+
}
|
|
7774
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
7775
|
+
this.UserSig = 'UserSig' in params ? params.UserSig : null;
|
|
7776
|
+
this.TargetUserId = 'TargetUserId' in params ? params.TargetUserId : null;
|
|
7777
|
+
|
|
7778
|
+
if (params.TTSPushRoomParams) {
|
|
7779
|
+
let obj = new TranscriptionUserInfoParams();
|
|
7780
|
+
obj.deserialize(params.TTSPushRoomParams)
|
|
7781
|
+
this.TTSPushRoomParams = obj;
|
|
7782
|
+
}
|
|
7783
|
+
this.MaxIdleTime = 'MaxIdleTime' in params ? params.MaxIdleTime : null;
|
|
7784
|
+
this.FilterBracketsContent = 'FilterBracketsContent' in params ? params.FilterBracketsContent : null;
|
|
7785
|
+
this.SubtitleMode = 'SubtitleMode' in params ? params.SubtitleMode : null;
|
|
7786
|
+
this.TurnDetectionMode = 'TurnDetectionMode' in params ? params.TurnDetectionMode : null;
|
|
7787
|
+
|
|
7788
|
+
}
|
|
7789
|
+
}
|
|
7790
|
+
|
|
6986
7791
|
/**
|
|
6987
7792
|
* The quality data returned by ES.
|
|
6988
7793
|
* @class
|
|
@@ -7134,18 +7939,85 @@ class ModifyCloudRecordingRequest extends AbstractModel {
|
|
|
7134
7939
|
}
|
|
7135
7940
|
|
|
7136
7941
|
/**
|
|
7137
|
-
*
|
|
7942
|
+
* CreateVoiceConversation request structure.
|
|
7138
7943
|
* @class
|
|
7139
7944
|
*/
|
|
7140
|
-
class
|
|
7945
|
+
class CreateVoiceConversationRequest extends AbstractModel {
|
|
7141
7946
|
constructor(){
|
|
7142
7947
|
super();
|
|
7143
7948
|
|
|
7144
7949
|
/**
|
|
7145
|
-
* The
|
|
7950
|
+
* The TRTC [SdkAppId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#sdkappid). It must be the same SdkAppId as the conversation room.
|
|
7951
|
+
* @type {number || null}
|
|
7952
|
+
*/
|
|
7953
|
+
this.SdkAppId = null;
|
|
7954
|
+
|
|
7955
|
+
/**
|
|
7956
|
+
* [Room ID](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#roomid) of the TRTC room where the conversation runs. Room IDs are numeric by default. If the room ID is a string, set RoomIdType to 1.
|
|
7146
7957
|
* @type {string || null}
|
|
7147
7958
|
*/
|
|
7148
|
-
this.
|
|
7959
|
+
this.RoomId = null;
|
|
7960
|
+
|
|
7961
|
+
/**
|
|
7962
|
+
* Room ID type. It must match the room ID type of the conversation room. 0 is a numeric room ID, and 1 is a string room ID.
|
|
7963
|
+
Valid values:
|
|
7964
|
+
- 0: numeric room ID (Default)
|
|
7965
|
+
- 1: string room ID
|
|
7966
|
+
* @type {number || null}
|
|
7967
|
+
*/
|
|
7968
|
+
this.RoomIdType = null;
|
|
7969
|
+
|
|
7970
|
+
/**
|
|
7971
|
+
* <p>Chatbot configuration.</p>
|
|
7972
|
+
* @type {VoiceConversationConfig || null}
|
|
7973
|
+
*/
|
|
7974
|
+
this.AgentConfig = null;
|
|
7975
|
+
|
|
7976
|
+
/**
|
|
7977
|
+
* Conversation pipeline mode: `Cascade` (default, three-stage pipeline) or `S2S` (end-to-end speech-to-speech model).
|
|
7978
|
+
Valid values:
|
|
7979
|
+
- Cascade: three-stage pipeline (default). Speech recognition, a large language model, and text-to-speech.
|
|
7980
|
+
- S2S: end-to-end speech-to-speech model.
|
|
7981
|
+
Default: Cascade
|
|
7982
|
+
* @type {string || null}
|
|
7983
|
+
*/
|
|
7984
|
+
this.ConversationMode = null;
|
|
7985
|
+
|
|
7986
|
+
/**
|
|
7987
|
+
* End-to-end speech-to-speech model configuration. Required only in `S2S` mode. Ignored in `Cascade` mode.
|
|
7988
|
+
* @type {VoiceConversationS2SConfig || null}
|
|
7989
|
+
*/
|
|
7990
|
+
this.S2SConfig = null;
|
|
7991
|
+
|
|
7992
|
+
/**
|
|
7993
|
+
* <p>Speech recognition configuration. <strong>Required only in <code>Cascade</code> mode</strong>; ignored in <code>S2S</code> mode.</p>
|
|
7994
|
+
* @type {VoiceConversationSTTConfig || null}
|
|
7995
|
+
*/
|
|
7996
|
+
this.STTConfig = null;
|
|
7997
|
+
|
|
7998
|
+
/**
|
|
7999
|
+
* Large language model (LLM) configuration. Required only in `Cascade` mode. Ignored in `S2S` mode.
|
|
8000
|
+
* @type {VoiceConversationLLMConfig || null}
|
|
8001
|
+
*/
|
|
8002
|
+
this.LLMConfig = null;
|
|
8003
|
+
|
|
8004
|
+
/**
|
|
8005
|
+
* <p>Text to speech configuration. <strong>Required only in <code>Cascade</code> mode</strong>; ignored in <code>S2S</code> mode.</p>
|
|
8006
|
+
* @type {VoiceConversationTTSConfig || null}
|
|
8007
|
+
*/
|
|
8008
|
+
this.TTSConfig = null;
|
|
8009
|
+
|
|
8010
|
+
/**
|
|
8011
|
+
* Conversation control configuration. Not supported in `S2S` mode.
|
|
8012
|
+
* @type {VoiceConversationDialogConfig || null}
|
|
8013
|
+
*/
|
|
8014
|
+
this.DialogConfig = null;
|
|
8015
|
+
|
|
8016
|
+
/**
|
|
8017
|
+
* Visual understanding configuration. Not supported in `S2S` mode.
|
|
8018
|
+
* @type {VoiceConversationVisionConfig || null}
|
|
8019
|
+
*/
|
|
8020
|
+
this.VisionConfig = null;
|
|
7149
8021
|
|
|
7150
8022
|
}
|
|
7151
8023
|
|
|
@@ -7156,7 +8028,52 @@ class StopAIConversationResponse extends AbstractModel {
|
|
|
7156
8028
|
if (!params) {
|
|
7157
8029
|
return;
|
|
7158
8030
|
}
|
|
7159
|
-
this.
|
|
8031
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
8032
|
+
this.RoomId = 'RoomId' in params ? params.RoomId : null;
|
|
8033
|
+
this.RoomIdType = 'RoomIdType' in params ? params.RoomIdType : null;
|
|
8034
|
+
|
|
8035
|
+
if (params.AgentConfig) {
|
|
8036
|
+
let obj = new VoiceConversationConfig();
|
|
8037
|
+
obj.deserialize(params.AgentConfig)
|
|
8038
|
+
this.AgentConfig = obj;
|
|
8039
|
+
}
|
|
8040
|
+
this.ConversationMode = 'ConversationMode' in params ? params.ConversationMode : null;
|
|
8041
|
+
|
|
8042
|
+
if (params.S2SConfig) {
|
|
8043
|
+
let obj = new VoiceConversationS2SConfig();
|
|
8044
|
+
obj.deserialize(params.S2SConfig)
|
|
8045
|
+
this.S2SConfig = obj;
|
|
8046
|
+
}
|
|
8047
|
+
|
|
8048
|
+
if (params.STTConfig) {
|
|
8049
|
+
let obj = new VoiceConversationSTTConfig();
|
|
8050
|
+
obj.deserialize(params.STTConfig)
|
|
8051
|
+
this.STTConfig = obj;
|
|
8052
|
+
}
|
|
8053
|
+
|
|
8054
|
+
if (params.LLMConfig) {
|
|
8055
|
+
let obj = new VoiceConversationLLMConfig();
|
|
8056
|
+
obj.deserialize(params.LLMConfig)
|
|
8057
|
+
this.LLMConfig = obj;
|
|
8058
|
+
}
|
|
8059
|
+
|
|
8060
|
+
if (params.TTSConfig) {
|
|
8061
|
+
let obj = new VoiceConversationTTSConfig();
|
|
8062
|
+
obj.deserialize(params.TTSConfig)
|
|
8063
|
+
this.TTSConfig = obj;
|
|
8064
|
+
}
|
|
8065
|
+
|
|
8066
|
+
if (params.DialogConfig) {
|
|
8067
|
+
let obj = new VoiceConversationDialogConfig();
|
|
8068
|
+
obj.deserialize(params.DialogConfig)
|
|
8069
|
+
this.DialogConfig = obj;
|
|
8070
|
+
}
|
|
8071
|
+
|
|
8072
|
+
if (params.VisionConfig) {
|
|
8073
|
+
let obj = new VoiceConversationVisionConfig();
|
|
8074
|
+
obj.deserialize(params.VisionConfig)
|
|
8075
|
+
this.VisionConfig = obj;
|
|
8076
|
+
}
|
|
7160
8077
|
|
|
7161
8078
|
}
|
|
7162
8079
|
}
|
|
@@ -7579,31 +8496,89 @@ class CreateCloudSliceTaskResponse extends AbstractModel {
|
|
|
7579
8496
|
return;
|
|
7580
8497
|
}
|
|
7581
8498
|
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
7582
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8499
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8500
|
+
|
|
8501
|
+
}
|
|
8502
|
+
}
|
|
8503
|
+
|
|
8504
|
+
/**
|
|
8505
|
+
* DeleteCloudRecording request structure.
|
|
8506
|
+
* @class
|
|
8507
|
+
*/
|
|
8508
|
+
class DeleteCloudRecordingRequest extends AbstractModel {
|
|
8509
|
+
constructor(){
|
|
8510
|
+
super();
|
|
8511
|
+
|
|
8512
|
+
/**
|
|
8513
|
+
* The `SDKAppID` of the room whose streams are recorded.
|
|
8514
|
+
* @type {number || null}
|
|
8515
|
+
*/
|
|
8516
|
+
this.SdkAppId = null;
|
|
8517
|
+
|
|
8518
|
+
/**
|
|
8519
|
+
* The unique ID of the recording task, which is returned after recording starts successfully.
|
|
8520
|
+
* @type {string || null}
|
|
8521
|
+
*/
|
|
8522
|
+
this.TaskId = null;
|
|
8523
|
+
|
|
8524
|
+
}
|
|
8525
|
+
|
|
8526
|
+
/**
|
|
8527
|
+
* @private
|
|
8528
|
+
*/
|
|
8529
|
+
deserialize(params) {
|
|
8530
|
+
if (!params) {
|
|
8531
|
+
return;
|
|
8532
|
+
}
|
|
8533
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
8534
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
7583
8535
|
|
|
7584
8536
|
}
|
|
7585
8537
|
}
|
|
7586
8538
|
|
|
7587
8539
|
/**
|
|
7588
|
-
*
|
|
8540
|
+
* ControlVoiceConversation request structure.
|
|
7589
8541
|
* @class
|
|
7590
8542
|
*/
|
|
7591
|
-
class
|
|
8543
|
+
class ControlVoiceConversationRequest extends AbstractModel {
|
|
7592
8544
|
constructor(){
|
|
7593
8545
|
super();
|
|
7594
8546
|
|
|
7595
8547
|
/**
|
|
7596
|
-
* The
|
|
8548
|
+
* The TRTC [SdkAppId](https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#sdkappid). It must be the same SdkAppId as the conversation room.
|
|
7597
8549
|
* @type {number || null}
|
|
7598
8550
|
*/
|
|
7599
8551
|
this.SdkAppId = null;
|
|
7600
8552
|
|
|
7601
8553
|
/**
|
|
7602
|
-
*
|
|
8554
|
+
* Unique ID of the conversation task. Returned when the conversation task starts successfully.
|
|
7603
8555
|
* @type {string || null}
|
|
7604
8556
|
*/
|
|
7605
8557
|
this.TaskId = null;
|
|
7606
8558
|
|
|
8559
|
+
/**
|
|
8560
|
+
* Control command.
|
|
8561
|
+
Valid values:
|
|
8562
|
+
|
|
8563
|
+
- `Interrupt`: Force-interrupt the AI bot's current speech.
|
|
8564
|
+
- `invokellm`: Inject text into the current conversation context to trigger one LLM response. Not supported in `S2S` mode.
|
|
8565
|
+
- `invoketts`: Inject text into the current TTS so the AI bot broadcasts it. Not supported in `S2S` mode.
|
|
8566
|
+
* @type {string || null}
|
|
8567
|
+
*/
|
|
8568
|
+
this.Command = null;
|
|
8569
|
+
|
|
8570
|
+
/**
|
|
8571
|
+
* Configuration for injecting text into the LLM. Required when `Command` is `invokellm`.
|
|
8572
|
+
* @type {VoiceConversationInvokeLLM || null}
|
|
8573
|
+
*/
|
|
8574
|
+
this.InvokeLLM = null;
|
|
8575
|
+
|
|
8576
|
+
/**
|
|
8577
|
+
* Configuration for injecting text into TTS. Required when `Command` is `invoketts`.
|
|
8578
|
+
* @type {VoiceConversationInvokeTTS || null}
|
|
8579
|
+
*/
|
|
8580
|
+
this.InvokeTTS = null;
|
|
8581
|
+
|
|
7607
8582
|
}
|
|
7608
8583
|
|
|
7609
8584
|
/**
|
|
@@ -7615,6 +8590,19 @@ class DeleteCloudRecordingRequest extends AbstractModel {
|
|
|
7615
8590
|
}
|
|
7616
8591
|
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
7617
8592
|
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
8593
|
+
this.Command = 'Command' in params ? params.Command : null;
|
|
8594
|
+
|
|
8595
|
+
if (params.InvokeLLM) {
|
|
8596
|
+
let obj = new VoiceConversationInvokeLLM();
|
|
8597
|
+
obj.deserialize(params.InvokeLLM)
|
|
8598
|
+
this.InvokeLLM = obj;
|
|
8599
|
+
}
|
|
8600
|
+
|
|
8601
|
+
if (params.InvokeTTS) {
|
|
8602
|
+
let obj = new VoiceConversationInvokeTTS();
|
|
8603
|
+
obj.deserialize(params.InvokeTTS)
|
|
8604
|
+
this.InvokeTTS = obj;
|
|
8605
|
+
}
|
|
7618
8606
|
|
|
7619
8607
|
}
|
|
7620
8608
|
}
|
|
@@ -7897,6 +8885,175 @@ class SetUserBlockedByStrRoomIdRequest extends AbstractModel {
|
|
|
7897
8885
|
}
|
|
7898
8886
|
}
|
|
7899
8887
|
|
|
8888
|
+
/**
|
|
8889
|
+
* LLM parameter configuration for AI conversation.
|
|
8890
|
+
* @class
|
|
8891
|
+
*/
|
|
8892
|
+
class VoiceConversationLLMConfig extends AbstractModel {
|
|
8893
|
+
constructor(){
|
|
8894
|
+
super();
|
|
8895
|
+
|
|
8896
|
+
/**
|
|
8897
|
+
* <p>LLM API type, for example, openai (OpenAI-compatible API).</p>
|
|
8898
|
+
* @type {string || null}
|
|
8899
|
+
*/
|
|
8900
|
+
this.LLMType = null;
|
|
8901
|
+
|
|
8902
|
+
/**
|
|
8903
|
+
* <p>Model name, for example, gpt-4o-mini</p>
|
|
8904
|
+
* @type {string || null}
|
|
8905
|
+
*/
|
|
8906
|
+
this.Model = null;
|
|
8907
|
+
|
|
8908
|
+
/**
|
|
8909
|
+
* <p>OpenAI-compatible endpoint.</p>
|
|
8910
|
+
* @type {string || null}
|
|
8911
|
+
*/
|
|
8912
|
+
this.APIUrl = null;
|
|
8913
|
+
|
|
8914
|
+
/**
|
|
8915
|
+
* Provider API key.
|
|
8916
|
+
* @type {string || null}
|
|
8917
|
+
*/
|
|
8918
|
+
this.APIKey = null;
|
|
8919
|
+
|
|
8920
|
+
/**
|
|
8921
|
+
* <p>System prompt.</p>
|
|
8922
|
+
* @type {string || null}
|
|
8923
|
+
*/
|
|
8924
|
+
this.SystemPrompt = null;
|
|
8925
|
+
|
|
8926
|
+
/**
|
|
8927
|
+
* <p>Text used to generate TTS audio when the LLM call fails.</p>
|
|
8928
|
+
* @type {string || null}
|
|
8929
|
+
*/
|
|
8930
|
+
this.FailureMessage = null;
|
|
8931
|
+
|
|
8932
|
+
/**
|
|
8933
|
+
* <p>Maximum number of tokens in a single response. 0 means no limit. Default: 0. If the model outputs more tokens than MaxTokens, the response is truncated.</p>
|
|
8934
|
+
* @type {number || null}
|
|
8935
|
+
*/
|
|
8936
|
+
this.MaxTokens = null;
|
|
8937
|
+
|
|
8938
|
+
/**
|
|
8939
|
+
* <p>Whether to enable thinking mode. Availability depends on the model provider. Enabling thinking mode consumes output tokens.</p>
|
|
8940
|
+
* @type {boolean || null}
|
|
8941
|
+
*/
|
|
8942
|
+
this.ThinkingMode = null;
|
|
8943
|
+
|
|
8944
|
+
/**
|
|
8945
|
+
* <p>Number of conversation turns cached for the LLM. Valid range: 0 to 50. Recommended range: 10 to 30. The total number of tokens in this context must not exceed the LLM context limit.</p>
|
|
8946
|
+
* @type {number || null}
|
|
8947
|
+
*/
|
|
8948
|
+
this.MaxHistory = null;
|
|
8949
|
+
|
|
8950
|
+
/**
|
|
8951
|
+
* <p>Maximum rounds of MCP tool calls, ranging from 0 to 50. Default: 10.</p>
|
|
8952
|
+
* @type {number || null}
|
|
8953
|
+
*/
|
|
8954
|
+
this.MaxToolRound = null;
|
|
8955
|
+
|
|
8956
|
+
/**
|
|
8957
|
+
* Timeout for a single request, in milliseconds. Valid range: 1000 to 60000. Default: 10000.
|
|
8958
|
+
* @type {number || null}
|
|
8959
|
+
*/
|
|
8960
|
+
this.Timeout = null;
|
|
8961
|
+
|
|
8962
|
+
/**
|
|
8963
|
+
* <p>Sampling temperature, ranging from 0.0 to 2.0. Default: 1.0.</p>
|
|
8964
|
+
* @type {number || null}
|
|
8965
|
+
*/
|
|
8966
|
+
this.Temperature = null;
|
|
8967
|
+
|
|
8968
|
+
/**
|
|
8969
|
+
* <p>Top p nucleus sampling. Valid range: 0.0 to 1.0. Default: 1.0.</p>
|
|
8970
|
+
* @type {number || null}
|
|
8971
|
+
*/
|
|
8972
|
+
this.TopP = null;
|
|
8973
|
+
|
|
8974
|
+
/**
|
|
8975
|
+
* <p>MCP Server parameters.</p>
|
|
8976
|
+
* @type {VoiceConversationMcpServer || null}
|
|
8977
|
+
*/
|
|
8978
|
+
this.McpServer = null;
|
|
8979
|
+
|
|
8980
|
+
/**
|
|
8981
|
+
* <p>Custom HTTP request headers.</p>
|
|
8982
|
+
* @type {Array.<KeyValueItem> || null}
|
|
8983
|
+
*/
|
|
8984
|
+
this.CustomHeaders = null;
|
|
8985
|
+
|
|
8986
|
+
/**
|
|
8987
|
+
* Provider-specific parameters, such as DeepSeek's reasoning_effort and Hunyuan's enable_enhancement.
|
|
8988
|
+
* @type {Array.<KeyValueItem> || null}
|
|
8989
|
+
*/
|
|
8990
|
+
this.CustomFields = null;
|
|
8991
|
+
|
|
8992
|
+
/**
|
|
8993
|
+
* <p>Initial conversation history. Each item uses this format: `{"Role": "user"/"assistant"/"system", "Content": "xxx"}`.</p>
|
|
8994
|
+
* @type {Array.<VoiceConversationHistoryMessage> || null}
|
|
8995
|
+
*/
|
|
8996
|
+
this.HistoryMessages = null;
|
|
8997
|
+
|
|
8998
|
+
}
|
|
8999
|
+
|
|
9000
|
+
/**
|
|
9001
|
+
* @private
|
|
9002
|
+
*/
|
|
9003
|
+
deserialize(params) {
|
|
9004
|
+
if (!params) {
|
|
9005
|
+
return;
|
|
9006
|
+
}
|
|
9007
|
+
this.LLMType = 'LLMType' in params ? params.LLMType : null;
|
|
9008
|
+
this.Model = 'Model' in params ? params.Model : null;
|
|
9009
|
+
this.APIUrl = 'APIUrl' in params ? params.APIUrl : null;
|
|
9010
|
+
this.APIKey = 'APIKey' in params ? params.APIKey : null;
|
|
9011
|
+
this.SystemPrompt = 'SystemPrompt' in params ? params.SystemPrompt : null;
|
|
9012
|
+
this.FailureMessage = 'FailureMessage' in params ? params.FailureMessage : null;
|
|
9013
|
+
this.MaxTokens = 'MaxTokens' in params ? params.MaxTokens : null;
|
|
9014
|
+
this.ThinkingMode = 'ThinkingMode' in params ? params.ThinkingMode : null;
|
|
9015
|
+
this.MaxHistory = 'MaxHistory' in params ? params.MaxHistory : null;
|
|
9016
|
+
this.MaxToolRound = 'MaxToolRound' in params ? params.MaxToolRound : null;
|
|
9017
|
+
this.Timeout = 'Timeout' in params ? params.Timeout : null;
|
|
9018
|
+
this.Temperature = 'Temperature' in params ? params.Temperature : null;
|
|
9019
|
+
this.TopP = 'TopP' in params ? params.TopP : null;
|
|
9020
|
+
|
|
9021
|
+
if (params.McpServer) {
|
|
9022
|
+
let obj = new VoiceConversationMcpServer();
|
|
9023
|
+
obj.deserialize(params.McpServer)
|
|
9024
|
+
this.McpServer = obj;
|
|
9025
|
+
}
|
|
9026
|
+
|
|
9027
|
+
if (params.CustomHeaders) {
|
|
9028
|
+
this.CustomHeaders = new Array();
|
|
9029
|
+
for (let z in params.CustomHeaders) {
|
|
9030
|
+
let obj = new KeyValueItem();
|
|
9031
|
+
obj.deserialize(params.CustomHeaders[z]);
|
|
9032
|
+
this.CustomHeaders.push(obj);
|
|
9033
|
+
}
|
|
9034
|
+
}
|
|
9035
|
+
|
|
9036
|
+
if (params.CustomFields) {
|
|
9037
|
+
this.CustomFields = new Array();
|
|
9038
|
+
for (let z in params.CustomFields) {
|
|
9039
|
+
let obj = new KeyValueItem();
|
|
9040
|
+
obj.deserialize(params.CustomFields[z]);
|
|
9041
|
+
this.CustomFields.push(obj);
|
|
9042
|
+
}
|
|
9043
|
+
}
|
|
9044
|
+
|
|
9045
|
+
if (params.HistoryMessages) {
|
|
9046
|
+
this.HistoryMessages = new Array();
|
|
9047
|
+
for (let z in params.HistoryMessages) {
|
|
9048
|
+
let obj = new VoiceConversationHistoryMessage();
|
|
9049
|
+
obj.deserialize(params.HistoryMessages[z]);
|
|
9050
|
+
this.HistoryMessages.push(obj);
|
|
9051
|
+
}
|
|
9052
|
+
}
|
|
9053
|
+
|
|
9054
|
+
}
|
|
9055
|
+
}
|
|
9056
|
+
|
|
7900
9057
|
/**
|
|
7901
9058
|
* DescribeTrtcRoomUsage request structure.
|
|
7902
9059
|
* @class
|
|
@@ -8907,24 +10064,44 @@ class MixUserInfo extends AbstractModel {
|
|
|
8907
10064
|
}
|
|
8908
10065
|
|
|
8909
10066
|
/**
|
|
8910
|
-
*
|
|
10067
|
+
* DescribeTRTCMarketQualityData request structure.
|
|
8911
10068
|
* @class
|
|
8912
10069
|
*/
|
|
8913
|
-
class
|
|
10070
|
+
class DescribeTRTCMarketQualityDataRequest extends AbstractModel {
|
|
8914
10071
|
constructor(){
|
|
8915
10072
|
super();
|
|
8916
10073
|
|
|
8917
10074
|
/**
|
|
8918
|
-
*
|
|
8919
|
-
* @type {
|
|
10075
|
+
* User SdkAppId (for example: 1400xxxxxx).
|
|
10076
|
+
* @type {string || null}
|
|
8920
10077
|
*/
|
|
8921
10078
|
this.SdkAppId = null;
|
|
8922
10079
|
|
|
8923
10080
|
/**
|
|
8924
|
-
*
|
|
10081
|
+
* Query start time, and the format is YYYY-MM-DD. (query time range is based on the monitoring dashboard feature version. the basic version supports querying the last 30 days, and the advanced version supports querying the last 60 days).
|
|
8925
10082
|
* @type {string || null}
|
|
8926
10083
|
*/
|
|
8927
|
-
this.
|
|
10084
|
+
this.StartTime = null;
|
|
10085
|
+
|
|
10086
|
+
/**
|
|
10087
|
+
* Query end time in YYYY-MM-DD format.
|
|
10088
|
+
* @type {string || null}
|
|
10089
|
+
*/
|
|
10090
|
+
this.EndTime = null;
|
|
10091
|
+
|
|
10092
|
+
/**
|
|
10093
|
+
* The granularity of returned data supports the following values:.
|
|
10094
|
+
d: day. at this time, return the data of UTC time at zero point within a specified time range.
|
|
10095
|
+
h: billed hourly. at this point, return the data of full hour UTC time within a specified time range.
|
|
10096
|
+
* @type {string || null}
|
|
10097
|
+
*/
|
|
10098
|
+
this.Period = null;
|
|
10099
|
+
|
|
10100
|
+
/**
|
|
10101
|
+
* Whether the returned data is a decimal.
|
|
10102
|
+
* @type {boolean || null}
|
|
10103
|
+
*/
|
|
10104
|
+
this.IsFloat = null;
|
|
8928
10105
|
|
|
8929
10106
|
}
|
|
8930
10107
|
|
|
@@ -8936,7 +10113,10 @@ class DeleteCloudTranscriptionRequest extends AbstractModel {
|
|
|
8936
10113
|
return;
|
|
8937
10114
|
}
|
|
8938
10115
|
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
8939
|
-
this.
|
|
10116
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
10117
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
10118
|
+
this.Period = 'Period' in params ? params.Period : null;
|
|
10119
|
+
this.IsFloat = 'IsFloat' in params ? params.IsFloat : null;
|
|
8940
10120
|
|
|
8941
10121
|
}
|
|
8942
10122
|
}
|
|
@@ -8981,44 +10161,24 @@ class AmbientSound extends AbstractModel {
|
|
|
8981
10161
|
}
|
|
8982
10162
|
|
|
8983
10163
|
/**
|
|
8984
|
-
*
|
|
10164
|
+
* DeleteCloudTranscription request structure.
|
|
8985
10165
|
* @class
|
|
8986
10166
|
*/
|
|
8987
|
-
class
|
|
10167
|
+
class DeleteCloudTranscriptionRequest extends AbstractModel {
|
|
8988
10168
|
constructor(){
|
|
8989
10169
|
super();
|
|
8990
10170
|
|
|
8991
10171
|
/**
|
|
8992
|
-
*
|
|
8993
|
-
* @type {
|
|
10172
|
+
* SDKAppId of TRTC, which is the same as the SDKAppId of the room being transcribed.
|
|
10173
|
+
* @type {number || null}
|
|
8994
10174
|
*/
|
|
8995
10175
|
this.SdkAppId = null;
|
|
8996
10176
|
|
|
8997
10177
|
/**
|
|
8998
|
-
*
|
|
8999
|
-
* @type {string || null}
|
|
9000
|
-
*/
|
|
9001
|
-
this.StartTime = null;
|
|
9002
|
-
|
|
9003
|
-
/**
|
|
9004
|
-
* Query end time in YYYY-MM-DD format.
|
|
9005
|
-
* @type {string || null}
|
|
9006
|
-
*/
|
|
9007
|
-
this.EndTime = null;
|
|
9008
|
-
|
|
9009
|
-
/**
|
|
9010
|
-
* The granularity of returned data supports the following values:.
|
|
9011
|
-
d: day. at this time, return the data of UTC time at zero point within a specified time range.
|
|
9012
|
-
h: billed hourly. at this point, return the data of full hour UTC time within a specified time range.
|
|
10178
|
+
* The unique Id of the task will be returned upon success.
|
|
9013
10179
|
* @type {string || null}
|
|
9014
10180
|
*/
|
|
9015
|
-
this.
|
|
9016
|
-
|
|
9017
|
-
/**
|
|
9018
|
-
* Whether the returned data is a decimal.
|
|
9019
|
-
* @type {boolean || null}
|
|
9020
|
-
*/
|
|
9021
|
-
this.IsFloat = null;
|
|
10181
|
+
this.TaskId = null;
|
|
9022
10182
|
|
|
9023
10183
|
}
|
|
9024
10184
|
|
|
@@ -9030,10 +10190,7 @@ h: billed hourly. at this point, return the data of full hour UTC time within a
|
|
|
9030
10190
|
return;
|
|
9031
10191
|
}
|
|
9032
10192
|
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
9033
|
-
this.
|
|
9034
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
9035
|
-
this.Period = 'Period' in params ? params.Period : null;
|
|
9036
|
-
this.IsFloat = 'IsFloat' in params ? params.IsFloat : null;
|
|
10193
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
9037
10194
|
|
|
9038
10195
|
}
|
|
9039
10196
|
}
|
|
@@ -9180,10 +10337,72 @@ class InvokeLLM extends AbstractModel {
|
|
|
9180
10337
|
this.Content = null;
|
|
9181
10338
|
|
|
9182
10339
|
/**
|
|
9183
|
-
* Whether to allow the text to interrupt the robot's speaking.
|
|
9184
|
-
* @type {boolean || null}
|
|
10340
|
+
* Whether to allow the text to interrupt the robot's speaking.
|
|
10341
|
+
* @type {boolean || null}
|
|
10342
|
+
*/
|
|
10343
|
+
this.Interrupt = null;
|
|
10344
|
+
|
|
10345
|
+
}
|
|
10346
|
+
|
|
10347
|
+
/**
|
|
10348
|
+
* @private
|
|
10349
|
+
*/
|
|
10350
|
+
deserialize(params) {
|
|
10351
|
+
if (!params) {
|
|
10352
|
+
return;
|
|
10353
|
+
}
|
|
10354
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
10355
|
+
this.Interrupt = 'Interrupt' in params ? params.Interrupt : null;
|
|
10356
|
+
|
|
10357
|
+
}
|
|
10358
|
+
}
|
|
10359
|
+
|
|
10360
|
+
/**
|
|
10361
|
+
* Storage parameters for the slicing files.
|
|
10362
|
+
* @class
|
|
10363
|
+
*/
|
|
10364
|
+
class SliceStorageParams extends AbstractModel {
|
|
10365
|
+
constructor(){
|
|
10366
|
+
super();
|
|
10367
|
+
|
|
10368
|
+
/**
|
|
10369
|
+
* Information about Tencent COS and third-party cloud storage accounts.
|
|
10370
|
+
* @type {CloudSliceStorage || null}
|
|
10371
|
+
*/
|
|
10372
|
+
this.CloudSliceStorage = null;
|
|
10373
|
+
|
|
10374
|
+
}
|
|
10375
|
+
|
|
10376
|
+
/**
|
|
10377
|
+
* @private
|
|
10378
|
+
*/
|
|
10379
|
+
deserialize(params) {
|
|
10380
|
+
if (!params) {
|
|
10381
|
+
return;
|
|
10382
|
+
}
|
|
10383
|
+
|
|
10384
|
+
if (params.CloudSliceStorage) {
|
|
10385
|
+
let obj = new CloudSliceStorage();
|
|
10386
|
+
obj.deserialize(params.CloudSliceStorage)
|
|
10387
|
+
this.CloudSliceStorage = obj;
|
|
10388
|
+
}
|
|
10389
|
+
|
|
10390
|
+
}
|
|
10391
|
+
}
|
|
10392
|
+
|
|
10393
|
+
/**
|
|
10394
|
+
* The information of the large video in screen sharing or floating layout mode.
|
|
10395
|
+
* @class
|
|
10396
|
+
*/
|
|
10397
|
+
class MaxVideoUser extends AbstractModel {
|
|
10398
|
+
constructor(){
|
|
10399
|
+
super();
|
|
10400
|
+
|
|
10401
|
+
/**
|
|
10402
|
+
* The stream information.
|
|
10403
|
+
* @type {UserMediaStream || null}
|
|
9185
10404
|
*/
|
|
9186
|
-
this.
|
|
10405
|
+
this.UserMediaStream = null;
|
|
9187
10406
|
|
|
9188
10407
|
}
|
|
9189
10408
|
|
|
@@ -9194,25 +10413,35 @@ class InvokeLLM extends AbstractModel {
|
|
|
9194
10413
|
if (!params) {
|
|
9195
10414
|
return;
|
|
9196
10415
|
}
|
|
9197
|
-
|
|
9198
|
-
|
|
10416
|
+
|
|
10417
|
+
if (params.UserMediaStream) {
|
|
10418
|
+
let obj = new UserMediaStream();
|
|
10419
|
+
obj.deserialize(params.UserMediaStream)
|
|
10420
|
+
this.UserMediaStream = obj;
|
|
10421
|
+
}
|
|
9199
10422
|
|
|
9200
10423
|
}
|
|
9201
10424
|
}
|
|
9202
10425
|
|
|
9203
10426
|
/**
|
|
9204
|
-
*
|
|
10427
|
+
* ModifyVoiceConversation response structure.
|
|
9205
10428
|
* @class
|
|
9206
10429
|
*/
|
|
9207
|
-
class
|
|
10430
|
+
class ModifyVoiceConversationResponse extends AbstractModel {
|
|
9208
10431
|
constructor(){
|
|
9209
10432
|
super();
|
|
9210
10433
|
|
|
9211
10434
|
/**
|
|
9212
|
-
*
|
|
9213
|
-
* @type {
|
|
10435
|
+
* Unique ID of the conversation task.
|
|
10436
|
+
* @type {string || null}
|
|
9214
10437
|
*/
|
|
9215
|
-
this.
|
|
10438
|
+
this.TaskId = null;
|
|
10439
|
+
|
|
10440
|
+
/**
|
|
10441
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10442
|
+
* @type {string || null}
|
|
10443
|
+
*/
|
|
10444
|
+
this.RequestId = null;
|
|
9216
10445
|
|
|
9217
10446
|
}
|
|
9218
10447
|
|
|
@@ -9223,29 +10452,31 @@ class SliceStorageParams extends AbstractModel {
|
|
|
9223
10452
|
if (!params) {
|
|
9224
10453
|
return;
|
|
9225
10454
|
}
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
let obj = new CloudSliceStorage();
|
|
9229
|
-
obj.deserialize(params.CloudSliceStorage)
|
|
9230
|
-
this.CloudSliceStorage = obj;
|
|
9231
|
-
}
|
|
10455
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
10456
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9232
10457
|
|
|
9233
10458
|
}
|
|
9234
10459
|
}
|
|
9235
10460
|
|
|
9236
10461
|
/**
|
|
9237
|
-
*
|
|
10462
|
+
* LLM custom data structure
|
|
9238
10463
|
* @class
|
|
9239
10464
|
*/
|
|
9240
|
-
class
|
|
10465
|
+
class KeyValueItem extends AbstractModel {
|
|
9241
10466
|
constructor(){
|
|
9242
10467
|
super();
|
|
9243
10468
|
|
|
9244
10469
|
/**
|
|
9245
|
-
*
|
|
9246
|
-
* @type {
|
|
10470
|
+
* <p>Key</p>
|
|
10471
|
+
* @type {string || null}
|
|
9247
10472
|
*/
|
|
9248
|
-
this.
|
|
10473
|
+
this.Key = null;
|
|
10474
|
+
|
|
10475
|
+
/**
|
|
10476
|
+
* <p>Value</p>
|
|
10477
|
+
* @type {string || null}
|
|
10478
|
+
*/
|
|
10479
|
+
this.Value = null;
|
|
9249
10480
|
|
|
9250
10481
|
}
|
|
9251
10482
|
|
|
@@ -9256,12 +10487,8 @@ class MaxVideoUser extends AbstractModel {
|
|
|
9256
10487
|
if (!params) {
|
|
9257
10488
|
return;
|
|
9258
10489
|
}
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
let obj = new UserMediaStream();
|
|
9262
|
-
obj.deserialize(params.UserMediaStream)
|
|
9263
|
-
this.UserMediaStream = obj;
|
|
9264
|
-
}
|
|
10490
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
10491
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
9265
10492
|
|
|
9266
10493
|
}
|
|
9267
10494
|
}
|
|
@@ -9654,18 +10881,18 @@ If the language you need is not available, contact our technical staff.
|
|
|
9654
10881
|
}
|
|
9655
10882
|
|
|
9656
10883
|
/**
|
|
9657
|
-
*
|
|
10884
|
+
* StopAIConversation response structure.
|
|
9658
10885
|
* @class
|
|
9659
10886
|
*/
|
|
9660
|
-
class
|
|
10887
|
+
class StopAIConversationResponse extends AbstractModel {
|
|
9661
10888
|
constructor(){
|
|
9662
10889
|
super();
|
|
9663
10890
|
|
|
9664
10891
|
/**
|
|
9665
|
-
* The ID
|
|
10892
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9666
10893
|
* @type {string || null}
|
|
9667
10894
|
*/
|
|
9668
|
-
this.
|
|
10895
|
+
this.RequestId = null;
|
|
9669
10896
|
|
|
9670
10897
|
}
|
|
9671
10898
|
|
|
@@ -9676,7 +10903,7 @@ class StopWebRecordRequest extends AbstractModel {
|
|
|
9676
10903
|
if (!params) {
|
|
9677
10904
|
return;
|
|
9678
10905
|
}
|
|
9679
|
-
this.
|
|
10906
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9680
10907
|
|
|
9681
10908
|
}
|
|
9682
10909
|
}
|
|
@@ -9726,6 +10953,41 @@ class McuSeiParams extends AbstractModel {
|
|
|
9726
10953
|
}
|
|
9727
10954
|
}
|
|
9728
10955
|
|
|
10956
|
+
/**
|
|
10957
|
+
* CreateVoiceConversation response structure.
|
|
10958
|
+
* @class
|
|
10959
|
+
*/
|
|
10960
|
+
class CreateVoiceConversationResponse extends AbstractModel {
|
|
10961
|
+
constructor(){
|
|
10962
|
+
super();
|
|
10963
|
+
|
|
10964
|
+
/**
|
|
10965
|
+
* Unique ID of the conversation task, generated by the Tencent Cloud server. Later requests that query or control the task must include this TaskId.
|
|
10966
|
+
* @type {string || null}
|
|
10967
|
+
*/
|
|
10968
|
+
this.TaskId = null;
|
|
10969
|
+
|
|
10970
|
+
/**
|
|
10971
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10972
|
+
* @type {string || null}
|
|
10973
|
+
*/
|
|
10974
|
+
this.RequestId = null;
|
|
10975
|
+
|
|
10976
|
+
}
|
|
10977
|
+
|
|
10978
|
+
/**
|
|
10979
|
+
* @private
|
|
10980
|
+
*/
|
|
10981
|
+
deserialize(params) {
|
|
10982
|
+
if (!params) {
|
|
10983
|
+
return;
|
|
10984
|
+
}
|
|
10985
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
10986
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10987
|
+
|
|
10988
|
+
}
|
|
10989
|
+
}
|
|
10990
|
+
|
|
9729
10991
|
/**
|
|
9730
10992
|
* StopAIConversation request structure.
|
|
9731
10993
|
* @class
|
|
@@ -10011,54 +11273,47 @@ class McuWaterMarkText extends AbstractModel {
|
|
|
10011
11273
|
}
|
|
10012
11274
|
|
|
10013
11275
|
/**
|
|
10014
|
-
*
|
|
11276
|
+
* DescribeVoiceConversation response structure.
|
|
10015
11277
|
* @class
|
|
10016
11278
|
*/
|
|
10017
|
-
class
|
|
11279
|
+
class DescribeVoiceConversationResponse extends AbstractModel {
|
|
10018
11280
|
constructor(){
|
|
10019
11281
|
super();
|
|
10020
11282
|
|
|
10021
11283
|
/**
|
|
10022
|
-
*
|
|
10023
|
-
* @type {string || null}
|
|
10024
|
-
*/
|
|
10025
|
-
this.UserId = null;
|
|
10026
|
-
|
|
10027
|
-
/**
|
|
10028
|
-
* Verification signature corresponding to the transcription bot's UserId, namely, the UserId and UserSig serve as the login password for the transcription bot to enter the room. for specific calculation methods, see TRTC solution for calculating.
|
|
10029
|
-
* @type {string || null}
|
|
10030
|
-
*/
|
|
10031
|
-
this.UserSig = null;
|
|
10032
|
-
|
|
10033
|
-
/**
|
|
10034
|
-
* After all push users exit the room and exceed MaxIdleTime seconds, the backend automation shuts down the transcription task. default value is 60s.
|
|
11284
|
+
* <p>Task start time</p><p>Unit: ms</p>
|
|
10035
11285
|
* @type {number || null}
|
|
10036
11286
|
*/
|
|
10037
|
-
this.
|
|
11287
|
+
this.StartTime = null;
|
|
10038
11288
|
|
|
10039
11289
|
/**
|
|
10040
|
-
*
|
|
10041
|
-
|
|
11290
|
+
* Conversation task status.
|
|
11291
|
+
Valid values:
|
|
11292
|
+
|
|
11293
|
+
- `Idle`: The conversation task is idle.
|
|
11294
|
+
- `InProgress`: The conversation task is in progress.
|
|
11295
|
+
- `Exited`: The conversation task is exiting.
|
|
11296
|
+
* @type {string || null}
|
|
10042
11297
|
*/
|
|
10043
|
-
this.
|
|
11298
|
+
this.Status = null;
|
|
10044
11299
|
|
|
10045
11300
|
/**
|
|
10046
|
-
*
|
|
11301
|
+
* Unique ID of the conversation task.
|
|
10047
11302
|
* @type {string || null}
|
|
10048
11303
|
*/
|
|
10049
|
-
this.
|
|
11304
|
+
this.TaskId = null;
|
|
10050
11305
|
|
|
10051
11306
|
/**
|
|
10052
|
-
*
|
|
10053
|
-
* @type {
|
|
11307
|
+
* Conversation history.
|
|
11308
|
+
* @type {Array.<VoiceConversationHistoryContent> || null}
|
|
10054
11309
|
*/
|
|
10055
|
-
this.
|
|
11310
|
+
this.HistoryContents = null;
|
|
10056
11311
|
|
|
10057
11312
|
/**
|
|
10058
|
-
*
|
|
10059
|
-
* @type {
|
|
11313
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
11314
|
+
* @type {string || null}
|
|
10060
11315
|
*/
|
|
10061
|
-
this.
|
|
11316
|
+
this.RequestId = null;
|
|
10062
11317
|
|
|
10063
11318
|
}
|
|
10064
11319
|
|
|
@@ -10069,23 +11324,19 @@ class TranscriptionParams extends AbstractModel {
|
|
|
10069
11324
|
if (!params) {
|
|
10070
11325
|
return;
|
|
10071
11326
|
}
|
|
10072
|
-
this.
|
|
10073
|
-
this.
|
|
10074
|
-
this.
|
|
10075
|
-
this.TranscriptionMode = 'TranscriptionMode' in params ? params.TranscriptionMode : null;
|
|
10076
|
-
this.TargetUserId = 'TargetUserId' in params ? params.TargetUserId : null;
|
|
10077
|
-
|
|
10078
|
-
if (params.VoicePrint) {
|
|
10079
|
-
let obj = new VoicePrint();
|
|
10080
|
-
obj.deserialize(params.VoicePrint)
|
|
10081
|
-
this.VoicePrint = obj;
|
|
10082
|
-
}
|
|
11327
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
11328
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
11329
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
10083
11330
|
|
|
10084
|
-
if (params.
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
11331
|
+
if (params.HistoryContents) {
|
|
11332
|
+
this.HistoryContents = new Array();
|
|
11333
|
+
for (let z in params.HistoryContents) {
|
|
11334
|
+
let obj = new VoiceConversationHistoryContent();
|
|
11335
|
+
obj.deserialize(params.HistoryContents[z]);
|
|
11336
|
+
this.HistoryContents.push(obj);
|
|
11337
|
+
}
|
|
10088
11338
|
}
|
|
11339
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10089
11340
|
|
|
10090
11341
|
}
|
|
10091
11342
|
}
|
|
@@ -10426,36 +11677,53 @@ class DescribeStreamIngestRequest extends AbstractModel {
|
|
|
10426
11677
|
}
|
|
10427
11678
|
|
|
10428
11679
|
/**
|
|
10429
|
-
*
|
|
11680
|
+
* STT configuration parameters for the AI conversation task
|
|
10430
11681
|
* @class
|
|
10431
11682
|
*/
|
|
10432
|
-
class
|
|
11683
|
+
class VoiceConversationSTTConfig extends AbstractModel {
|
|
10433
11684
|
constructor(){
|
|
10434
11685
|
super();
|
|
10435
11686
|
|
|
10436
11687
|
/**
|
|
10437
|
-
*
|
|
11688
|
+
* <p>ASR provider name: trtc (Tencent Self-developed) or third-party provider (for example, azure).</p>
|
|
10438
11689
|
* @type {string || null}
|
|
10439
11690
|
*/
|
|
10440
|
-
this.
|
|
11691
|
+
this.Provider = null;
|
|
10441
11692
|
|
|
10442
11693
|
/**
|
|
10443
|
-
*
|
|
11694
|
+
* <p>ASR manufacturer exclusive parameter. Fill in the JSON serialized string.</p>
|
|
10444
11695
|
* @type {string || null}
|
|
10445
11696
|
*/
|
|
10446
|
-
this.
|
|
11697
|
+
this.Params = null;
|
|
10447
11698
|
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
|
|
11699
|
+
}
|
|
11700
|
+
|
|
11701
|
+
/**
|
|
11702
|
+
* @private
|
|
11703
|
+
*/
|
|
11704
|
+
deserialize(params) {
|
|
11705
|
+
if (!params) {
|
|
11706
|
+
return;
|
|
11707
|
+
}
|
|
11708
|
+
this.Provider = 'Provider' in params ? params.Provider : null;
|
|
11709
|
+
this.Params = 'Params' in params ? params.Params : null;
|
|
11710
|
+
|
|
11711
|
+
}
|
|
11712
|
+
}
|
|
11713
|
+
|
|
11714
|
+
/**
|
|
11715
|
+
* StopWebRecord request structure.
|
|
11716
|
+
* @class
|
|
11717
|
+
*/
|
|
11718
|
+
class StopWebRecordRequest extends AbstractModel {
|
|
11719
|
+
constructor(){
|
|
11720
|
+
super();
|
|
10453
11721
|
|
|
10454
11722
|
/**
|
|
10455
|
-
*
|
|
10456
|
-
* @type {
|
|
11723
|
+
* The ID of the task that needs to be stopped
|
|
11724
|
+
* @type {string || null}
|
|
10457
11725
|
*/
|
|
10458
|
-
this.
|
|
11726
|
+
this.TaskId = null;
|
|
10459
11727
|
|
|
10460
11728
|
}
|
|
10461
11729
|
|
|
@@ -10466,10 +11734,7 @@ class TTSConfig extends AbstractModel {
|
|
|
10466
11734
|
if (!params) {
|
|
10467
11735
|
return;
|
|
10468
11736
|
}
|
|
10469
|
-
this.
|
|
10470
|
-
this.Model = 'Model' in params ? params.Model : null;
|
|
10471
|
-
this.Speed = 'Speed' in params ? params.Speed : null;
|
|
10472
|
-
this.Volume = 'Volume' in params ? params.Volume : null;
|
|
11737
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
10473
11738
|
|
|
10474
11739
|
}
|
|
10475
11740
|
}
|
|
@@ -10844,6 +12109,55 @@ class DescribeAITranscriptionResponse extends AbstractModel {
|
|
|
10844
12109
|
}
|
|
10845
12110
|
}
|
|
10846
12111
|
|
|
12112
|
+
/**
|
|
12113
|
+
* TTS configuration.
|
|
12114
|
+
* @class
|
|
12115
|
+
*/
|
|
12116
|
+
class TTSConfig extends AbstractModel {
|
|
12117
|
+
constructor(){
|
|
12118
|
+
super();
|
|
12119
|
+
|
|
12120
|
+
/**
|
|
12121
|
+
* Voice type ID.
|
|
12122
|
+
* @type {string || null}
|
|
12123
|
+
*/
|
|
12124
|
+
this.VoiceId = null;
|
|
12125
|
+
|
|
12126
|
+
/**
|
|
12127
|
+
* TTS model: flow_01_turbo is selected by default. options: [flow_01_turbo, flow_01_ex].
|
|
12128
|
+
* @type {string || null}
|
|
12129
|
+
*/
|
|
12130
|
+
this.Model = null;
|
|
12131
|
+
|
|
12132
|
+
/**
|
|
12133
|
+
* Speaking rate. value range: 0.5-2.0. default: 1.0.
|
|
12134
|
+
* @type {number || null}
|
|
12135
|
+
*/
|
|
12136
|
+
this.Speed = null;
|
|
12137
|
+
|
|
12138
|
+
/**
|
|
12139
|
+
* Value range: (0, 10]. default value: 1.0.
|
|
12140
|
+
* @type {number || null}
|
|
12141
|
+
*/
|
|
12142
|
+
this.Volume = null;
|
|
12143
|
+
|
|
12144
|
+
}
|
|
12145
|
+
|
|
12146
|
+
/**
|
|
12147
|
+
* @private
|
|
12148
|
+
*/
|
|
12149
|
+
deserialize(params) {
|
|
12150
|
+
if (!params) {
|
|
12151
|
+
return;
|
|
12152
|
+
}
|
|
12153
|
+
this.VoiceId = 'VoiceId' in params ? params.VoiceId : null;
|
|
12154
|
+
this.Model = 'Model' in params ? params.Model : null;
|
|
12155
|
+
this.Speed = 'Speed' in params ? params.Speed : null;
|
|
12156
|
+
this.Volume = 'Volume' in params ? params.Volume : null;
|
|
12157
|
+
|
|
12158
|
+
}
|
|
12159
|
+
}
|
|
12160
|
+
|
|
10847
12161
|
/**
|
|
10848
12162
|
* The Watermark information.
|
|
10849
12163
|
* @class
|
|
@@ -11184,6 +12498,7 @@ module.exports = {
|
|
|
11184
12498
|
TerminologyItem: TerminologyItem,
|
|
11185
12499
|
McuLayout: McuLayout,
|
|
11186
12500
|
SubscribeModerationUserIds: SubscribeModerationUserIds,
|
|
12501
|
+
VoiceConversationTTSConfig: VoiceConversationTTSConfig,
|
|
11187
12502
|
AudioEncodeParams: AudioEncodeParams,
|
|
11188
12503
|
ServerPushText: ServerPushText,
|
|
11189
12504
|
McuRecordParams: McuRecordParams,
|
|
@@ -11196,11 +12511,14 @@ module.exports = {
|
|
|
11196
12511
|
DescribeTRTCMarketScaleDataRequest: DescribeTRTCMarketScaleDataRequest,
|
|
11197
12512
|
McuLayoutVolume: McuLayoutVolume,
|
|
11198
12513
|
VoiceCloneRequest: VoiceCloneRequest,
|
|
12514
|
+
VoiceConversationInvokeTTS: VoiceConversationInvokeTTS,
|
|
11199
12515
|
SetUserBlockedRequest: SetUserBlockedRequest,
|
|
11200
12516
|
DescribeUserEventRequest: DescribeUserEventRequest,
|
|
11201
12517
|
DeleteCloudModerationRequest: DeleteCloudModerationRequest,
|
|
12518
|
+
DescribeVoiceConversationRequest: DescribeVoiceConversationRequest,
|
|
11202
12519
|
SetUserBlockedResponse: SetUserBlockedResponse,
|
|
11203
12520
|
McuBackgroundCustomRender: McuBackgroundCustomRender,
|
|
12521
|
+
VoiceConversationInvokeLLM: VoiceConversationInvokeLLM,
|
|
11204
12522
|
WaterMarkChar: WaterMarkChar,
|
|
11205
12523
|
DescribeTrtcRoomUsageResponse: DescribeTrtcRoomUsageResponse,
|
|
11206
12524
|
StopPublishCdnStreamResponse: StopPublishCdnStreamResponse,
|
|
@@ -11221,9 +12539,11 @@ module.exports = {
|
|
|
11221
12539
|
DescribeTRTCMarketScaleDataResponse: DescribeTRTCMarketScaleDataResponse,
|
|
11222
12540
|
TranslationConfig: TranslationConfig,
|
|
11223
12541
|
McuTencentVod: McuTencentVod,
|
|
12542
|
+
VoiceConversationS2SConfig: VoiceConversationS2SConfig,
|
|
11224
12543
|
DescribeWebRecordResponse: DescribeWebRecordResponse,
|
|
11225
12544
|
DescribeCloudTranscriptionResponse: DescribeCloudTranscriptionResponse,
|
|
11226
12545
|
DescribeUserInfoRequest: DescribeUserInfoRequest,
|
|
12546
|
+
TranscriptionParams: TranscriptionParams,
|
|
11227
12547
|
DeleteCloudModerationResponse: DeleteCloudModerationResponse,
|
|
11228
12548
|
DescribeRelayUsageRequest: DescribeRelayUsageRequest,
|
|
11229
12549
|
DismissRoomResponse: DismissRoomResponse,
|
|
@@ -11240,11 +12560,13 @@ module.exports = {
|
|
|
11240
12560
|
StorageParams: StorageParams,
|
|
11241
12561
|
CloudVod: CloudVod,
|
|
11242
12562
|
CloudSliceStorage: CloudSliceStorage,
|
|
12563
|
+
WaterMark: WaterMark,
|
|
11243
12564
|
EmulateMobileParams: EmulateMobileParams,
|
|
11244
12565
|
PronunciationDict: PronunciationDict,
|
|
11245
12566
|
DescribeCallDetailInfoResponse: DescribeCallDetailInfoResponse,
|
|
11246
12567
|
DescribeTRTCRealTimeQualityDataResponse: DescribeTRTCRealTimeQualityDataResponse,
|
|
11247
12568
|
McuCustomCrop: McuCustomCrop,
|
|
12569
|
+
VoiceConversationHistoryMessage: VoiceConversationHistoryMessage,
|
|
11248
12570
|
DescribeMixTranscodingUsageRequest: DescribeMixTranscodingUsageRequest,
|
|
11249
12571
|
DescribeTRTCRealTimeQualityDataRequest: DescribeTRTCRealTimeQualityDataRequest,
|
|
11250
12572
|
DescribeStreamIngestResponse: DescribeStreamIngestResponse,
|
|
@@ -11253,6 +12575,7 @@ module.exports = {
|
|
|
11253
12575
|
DescribeTRTCMarketQualityDataResponse: DescribeTRTCMarketQualityDataResponse,
|
|
11254
12576
|
TranslationParam: TranslationParam,
|
|
11255
12577
|
SubscribeStreamUserIds: SubscribeStreamUserIds,
|
|
12578
|
+
DeleteVoiceConversationRequest: DeleteVoiceConversationRequest,
|
|
11256
12579
|
WaterMarkImage: WaterMarkImage,
|
|
11257
12580
|
McuUserInfoParams: McuUserInfoParams,
|
|
11258
12581
|
UserMediaStream: UserMediaStream,
|
|
@@ -11268,6 +12591,7 @@ module.exports = {
|
|
|
11268
12591
|
DeleteCloudTranscriptionResponse: DeleteCloudTranscriptionResponse,
|
|
11269
12592
|
DescribeUserInfoResponse: DescribeUserInfoResponse,
|
|
11270
12593
|
RemoveUserByStrRoomIdResponse: RemoveUserByStrRoomIdResponse,
|
|
12594
|
+
VoiceConversationVisionConfig: VoiceConversationVisionConfig,
|
|
11271
12595
|
UpdateStreamIngestResponse: UpdateStreamIngestResponse,
|
|
11272
12596
|
CloudModerationStorage: CloudModerationStorage,
|
|
11273
12597
|
McuWaterMarkImage: McuWaterMarkImage,
|
|
@@ -11281,7 +12605,7 @@ module.exports = {
|
|
|
11281
12605
|
ModerationSupplierParam: ModerationSupplierParam,
|
|
11282
12606
|
DescribeRecordingUsageRequest: DescribeRecordingUsageRequest,
|
|
11283
12607
|
StorageFile: StorageFile,
|
|
11284
|
-
|
|
12608
|
+
ControlVoiceConversationResponse: ControlVoiceConversationResponse,
|
|
11285
12609
|
McuStorageParams: McuStorageParams,
|
|
11286
12610
|
DescribeScaleInfoResponse: DescribeScaleInfoResponse,
|
|
11287
12611
|
MixLayoutParams: MixLayoutParams,
|
|
@@ -11290,27 +12614,33 @@ module.exports = {
|
|
|
11290
12614
|
AsrParam: AsrParam,
|
|
11291
12615
|
McuFeedBackRoomParams: McuFeedBackRoomParams,
|
|
11292
12616
|
TurnDetection: TurnDetection,
|
|
12617
|
+
DeleteVoiceConversationResponse: DeleteVoiceConversationResponse,
|
|
11293
12618
|
AudioEncode: AudioEncode,
|
|
11294
12619
|
RemoveUserRequest: RemoveUserRequest,
|
|
11295
12620
|
TTSVoice: TTSVoice,
|
|
11296
12621
|
DismissRoomRequest: DismissRoomRequest,
|
|
12622
|
+
VoiceConversationHistoryContent: VoiceConversationHistoryContent,
|
|
11297
12623
|
DescribeUnusualEventRequest: DescribeUnusualEventRequest,
|
|
12624
|
+
ModifyVoiceConversationRequest: ModifyVoiceConversationRequest,
|
|
11298
12625
|
DescribeCloudRecordingRequest: DescribeCloudRecordingRequest,
|
|
11299
12626
|
TencentVod: TencentVod,
|
|
11300
12627
|
McuPassThrough: McuPassThrough,
|
|
11301
12628
|
StartWebRecordResponse: StartWebRecordResponse,
|
|
12629
|
+
VoiceConversationMcpServer: VoiceConversationMcpServer,
|
|
11302
12630
|
SetUserBlockedByStrRoomIdResponse: SetUserBlockedByStrRoomIdResponse,
|
|
11303
12631
|
TRTCDataResult: TRTCDataResult,
|
|
11304
12632
|
DescribeCloudRecordingResponse: DescribeCloudRecordingResponse,
|
|
11305
12633
|
ModifyCloudModerationRequest: ModifyCloudModerationRequest,
|
|
11306
12634
|
CreateCloudRecordingRequest: CreateCloudRecordingRequest,
|
|
11307
12635
|
RecognizeConfig: RecognizeConfig,
|
|
12636
|
+
VoiceConversationDialogConfig: VoiceConversationDialogConfig,
|
|
11308
12637
|
DeleteCloudRecordingResponse: DeleteCloudRecordingResponse,
|
|
11309
12638
|
StartAITranscriptionRequest: StartAITranscriptionRequest,
|
|
12639
|
+
VoiceConversationConfig: VoiceConversationConfig,
|
|
11310
12640
|
QualityData: QualityData,
|
|
11311
12641
|
ModerationStorageParams: ModerationStorageParams,
|
|
11312
12642
|
ModifyCloudRecordingRequest: ModifyCloudRecordingRequest,
|
|
11313
|
-
|
|
12643
|
+
CreateVoiceConversationRequest: CreateVoiceConversationRequest,
|
|
11314
12644
|
StartPublishCdnStreamRequest: StartPublishCdnStreamRequest,
|
|
11315
12645
|
DescribeAIConversationRequest: DescribeAIConversationRequest,
|
|
11316
12646
|
RowValues: RowValues,
|
|
@@ -11319,12 +12649,14 @@ module.exports = {
|
|
|
11319
12649
|
DescribeCloudTranscriptionRequest: DescribeCloudTranscriptionRequest,
|
|
11320
12650
|
CreateCloudSliceTaskResponse: CreateCloudSliceTaskResponse,
|
|
11321
12651
|
DeleteCloudRecordingRequest: DeleteCloudRecordingRequest,
|
|
12652
|
+
ControlVoiceConversationRequest: ControlVoiceConversationRequest,
|
|
11322
12653
|
TTSParam: TTSParam,
|
|
11323
12654
|
ModifyCloudModerationResponse: ModifyCloudModerationResponse,
|
|
11324
12655
|
Terminology: Terminology,
|
|
11325
12656
|
VideoParams: VideoParams,
|
|
11326
12657
|
StopStreamIngestResponse: StopStreamIngestResponse,
|
|
11327
12658
|
SetUserBlockedByStrRoomIdRequest: SetUserBlockedByStrRoomIdRequest,
|
|
12659
|
+
VoiceConversationLLMConfig: VoiceConversationLLMConfig,
|
|
11328
12660
|
DescribeTrtcRoomUsageRequest: DescribeTrtcRoomUsageRequest,
|
|
11329
12661
|
TextToSpeechResponse: TextToSpeechResponse,
|
|
11330
12662
|
CreateCloudModerationRequest: CreateCloudModerationRequest,
|
|
@@ -11343,13 +12675,15 @@ module.exports = {
|
|
|
11343
12675
|
DescribeCloudSliceTaskRequest: DescribeCloudSliceTaskRequest,
|
|
11344
12676
|
StopPublishCdnStreamRequest: StopPublishCdnStreamRequest,
|
|
11345
12677
|
MixUserInfo: MixUserInfo,
|
|
11346
|
-
DeleteCloudTranscriptionRequest: DeleteCloudTranscriptionRequest,
|
|
11347
|
-
AmbientSound: AmbientSound,
|
|
11348
12678
|
DescribeTRTCMarketQualityDataRequest: DescribeTRTCMarketQualityDataRequest,
|
|
12679
|
+
AmbientSound: AmbientSound,
|
|
12680
|
+
DeleteCloudTranscriptionRequest: DeleteCloudTranscriptionRequest,
|
|
11349
12681
|
UpdatePublishCdnStreamRequest: UpdatePublishCdnStreamRequest,
|
|
11350
12682
|
InvokeLLM: InvokeLLM,
|
|
11351
12683
|
SliceStorageParams: SliceStorageParams,
|
|
11352
12684
|
MaxVideoUser: MaxVideoUser,
|
|
12685
|
+
ModifyVoiceConversationResponse: ModifyVoiceConversationResponse,
|
|
12686
|
+
KeyValueItem: KeyValueItem,
|
|
11353
12687
|
VoiceCloneResponse: VoiceCloneResponse,
|
|
11354
12688
|
UpdateStreamIngestRequest: UpdateStreamIngestRequest,
|
|
11355
12689
|
TextToSpeechSSERequest: TextToSpeechSSERequest,
|
|
@@ -11357,20 +12691,22 @@ module.exports = {
|
|
|
11357
12691
|
TermPair: TermPair,
|
|
11358
12692
|
QueryAIMessageListRequest: QueryAIMessageListRequest,
|
|
11359
12693
|
STTConfig: STTConfig,
|
|
11360
|
-
|
|
12694
|
+
StopAIConversationResponse: StopAIConversationResponse,
|
|
11361
12695
|
McuSeiParams: McuSeiParams,
|
|
12696
|
+
CreateVoiceConversationResponse: CreateVoiceConversationResponse,
|
|
11362
12697
|
StopAIConversationRequest: StopAIConversationRequest,
|
|
11363
12698
|
EventMessage: EventMessage,
|
|
11364
12699
|
UpdateAIConversationRequest: UpdateAIConversationRequest,
|
|
11365
12700
|
UpdatePublishCdnStreamResponse: UpdatePublishCdnStreamResponse,
|
|
11366
12701
|
McuWaterMarkText: McuWaterMarkText,
|
|
11367
|
-
|
|
12702
|
+
DescribeVoiceConversationResponse: DescribeVoiceConversationResponse,
|
|
11368
12703
|
SeriesInfos: SeriesInfos,
|
|
11369
12704
|
RemoveUserByStrRoomIdRequest: RemoveUserByStrRoomIdRequest,
|
|
11370
12705
|
RecordParams: RecordParams,
|
|
11371
12706
|
TextToSpeechRequest: TextToSpeechRequest,
|
|
11372
12707
|
DescribeStreamIngestRequest: DescribeStreamIngestRequest,
|
|
11373
|
-
|
|
12708
|
+
VoiceConversationSTTConfig: VoiceConversationSTTConfig,
|
|
12709
|
+
StopWebRecordRequest: StopWebRecordRequest,
|
|
11374
12710
|
McuAudioParams: McuAudioParams,
|
|
11375
12711
|
McuPublishCdnParam: McuPublishCdnParam,
|
|
11376
12712
|
StartStreamIngestResponse: StartStreamIngestResponse,
|
|
@@ -11380,6 +12716,7 @@ module.exports = {
|
|
|
11380
12716
|
McuCloudVod: McuCloudVod,
|
|
11381
12717
|
DescribeCloudModerationRequest: DescribeCloudModerationRequest,
|
|
11382
12718
|
DescribeAITranscriptionResponse: DescribeAITranscriptionResponse,
|
|
12719
|
+
TTSConfig: TTSConfig,
|
|
11383
12720
|
McuWaterMarkParams: McuWaterMarkParams,
|
|
11384
12721
|
AbnormalExperience: AbnormalExperience,
|
|
11385
12722
|
DescribeCloudSliceTaskResponse: DescribeCloudSliceTaskResponse,
|