tencentcloud-sdk-nodejs-intl-en 3.0.1230 → 3.0.1232

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.
@@ -16,6 +16,41 @@
16
16
  */
17
17
  const AbstractModel = require("../../common/abstract_model");
18
18
 
19
+ /**
20
+ * ModifyCloudSliceTask response structure.
21
+ * @class
22
+ */
23
+ class ModifyCloudSliceTaskResponse extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * Unique ID of the slicing task, which is returned after the task is started.
29
+ * @type {string || null}
30
+ */
31
+ this.TaskId = null;
32
+
33
+ /**
34
+ * 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.
35
+ * @type {string || null}
36
+ */
37
+ this.RequestId = null;
38
+
39
+ }
40
+
41
+ /**
42
+ * @private
43
+ */
44
+ deserialize(params) {
45
+ if (!params) {
46
+ return;
47
+ }
48
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
49
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
50
+
51
+ }
52
+ }
53
+
19
54
  /**
20
55
  * Robot parameters
21
56
  * @class
@@ -1121,6 +1156,57 @@ Note: This field may return null, indicating that no valid values can be obtaine
1121
1156
  }
1122
1157
  }
1123
1158
 
1159
+ /**
1160
+ * DescribeScaleInfo response structure.
1161
+ * @class
1162
+ */
1163
+ class DescribeScaleInfoResponse extends AbstractModel {
1164
+ constructor(){
1165
+ super();
1166
+
1167
+ /**
1168
+ * The number of records returned.
1169
+ * @type {number || null}
1170
+ */
1171
+ this.Total = null;
1172
+
1173
+ /**
1174
+ * The returned data.
1175
+ Note: This field may return null, indicating that no valid values can be obtained.
1176
+ * @type {Array.<ScaleInfomation> || null}
1177
+ */
1178
+ this.ScaleList = null;
1179
+
1180
+ /**
1181
+ * 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.
1182
+ * @type {string || null}
1183
+ */
1184
+ this.RequestId = null;
1185
+
1186
+ }
1187
+
1188
+ /**
1189
+ * @private
1190
+ */
1191
+ deserialize(params) {
1192
+ if (!params) {
1193
+ return;
1194
+ }
1195
+ this.Total = 'Total' in params ? params.Total : null;
1196
+
1197
+ if (params.ScaleList) {
1198
+ this.ScaleList = new Array();
1199
+ for (let z in params.ScaleList) {
1200
+ let obj = new ScaleInfomation();
1201
+ obj.deserialize(params.ScaleList[z]);
1202
+ this.ScaleList.push(obj);
1203
+ }
1204
+ }
1205
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1206
+
1207
+ }
1208
+ }
1209
+
1124
1210
  /**
1125
1211
  * The room and user number.
1126
1212
  * @class
@@ -1845,6 +1931,34 @@ The period queried per request cannot be longer than 31 days.
1845
1931
  }
1846
1932
  }
1847
1933
 
1934
+ /**
1935
+ * DismissRoom response structure.
1936
+ * @class
1937
+ */
1938
+ class DismissRoomResponse extends AbstractModel {
1939
+ constructor(){
1940
+ super();
1941
+
1942
+ /**
1943
+ * 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.
1944
+ * @type {string || null}
1945
+ */
1946
+ this.RequestId = null;
1947
+
1948
+ }
1949
+
1950
+ /**
1951
+ * @private
1952
+ */
1953
+ deserialize(params) {
1954
+ if (!params) {
1955
+ return;
1956
+ }
1957
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1958
+
1959
+ }
1960
+ }
1961
+
1848
1962
  /**
1849
1963
  * The cloud storage information.
1850
1964
  * @class
@@ -2257,6 +2371,80 @@ class CloudVod extends AbstractModel {
2257
2371
  }
2258
2372
  }
2259
2373
 
2374
+ /**
2375
+ * Information about Tencent COS and third-party cloud storage accounts.
2376
+ * @class
2377
+ */
2378
+ class CloudSliceStorage extends AbstractModel {
2379
+ constructor(){
2380
+ super();
2381
+
2382
+ /**
2383
+ * Information about Tencent COS and third-party cloud storage accounts.
2384
+ 0: Tencent COS.
2385
+ 1: AWS S3.
2386
+ 2: Alibaba Cloud OSS.
2387
+ Example value: 0.
2388
+ * @type {number || null}
2389
+ */
2390
+ this.Vendor = null;
2391
+
2392
+ /**
2393
+ * [Region information](https://www.tencentcloud.comom/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of Tencent COS.
2394
+ Example value: cn-shanghai-1.
2395
+ [Region information](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions) of AWS S3.
2396
+ Example value: ap-southeast-3.
2397
+ * @type {string || null}
2398
+ */
2399
+ this.Region = null;
2400
+
2401
+ /**
2402
+ * Cloud bucket name.
2403
+ * @type {string || null}
2404
+ */
2405
+ this.Bucket = null;
2406
+
2407
+ /**
2408
+ * access_key account information of the cloud storage.
2409
+ To store files to Tencent COS, visit https://console.cloud.tencent.com/cam/capi to view or create the SecretId value corresponding to the key fields in the link.
2410
+ Example value: test-accesskey.
2411
+ * @type {string || null}
2412
+ */
2413
+ this.AccessKey = null;
2414
+
2415
+ /**
2416
+ * secret_key account information of the cloud storage.
2417
+ To store files to Tencent COS, visit https://console.cloud.tencent.com/cam/capi to view or create the SecretKey value corresponding to the key fields in the link.
2418
+ Example value: test-secretkey.
2419
+ * @type {string || null}
2420
+ */
2421
+ this.SecretKey = null;
2422
+
2423
+ /**
2424
+ * Specified location of the cloud bucket, which consists of an array of strings. Value range for the strings is lowercase letters (a–z), uppercase letters (A–Z), digits (0–9), and special characters (_-). For example, under the feature of ["prefix1", "prefix2"], the audio slicing file (xxx.mp3) is stored as prefix1/prefix2/{taskId}/{userId}/audios/{sdkappid}_{roomId}_{userid}_{UTC time}.ogg, while the video frame is stored as prefix1/prefix2/{taskId}/{userId}/images/{sdkappid}_{roomId}_{userid}_{UTC time}.png.
2425
+ * @type {Array.<string> || null}
2426
+ */
2427
+ this.FileNamePrefix = null;
2428
+
2429
+ }
2430
+
2431
+ /**
2432
+ * @private
2433
+ */
2434
+ deserialize(params) {
2435
+ if (!params) {
2436
+ return;
2437
+ }
2438
+ this.Vendor = 'Vendor' in params ? params.Vendor : null;
2439
+ this.Region = 'Region' in params ? params.Region : null;
2440
+ this.Bucket = 'Bucket' in params ? params.Bucket : null;
2441
+ this.AccessKey = 'AccessKey' in params ? params.AccessKey : null;
2442
+ this.SecretKey = 'SecretKey' in params ? params.SecretKey : null;
2443
+ this.FileNamePrefix = 'FileNamePrefix' in params ? params.FileNamePrefix : null;
2444
+
2445
+ }
2446
+ }
2447
+
2260
2448
  /**
2261
2449
  *
2262
2450
  * @class
@@ -2491,6 +2679,55 @@ The period queried per request cannot be longer than 31 days.
2491
2679
  }
2492
2680
  }
2493
2681
 
2682
+ /**
2683
+ * DescribeTRTCRealTimeQualityData request structure.
2684
+ * @class
2685
+ */
2686
+ class DescribeTRTCRealTimeQualityDataRequest extends AbstractModel {
2687
+ constructor(){
2688
+ super();
2689
+
2690
+ /**
2691
+ * User SDKAppId (e.g., 1400xxxxxx)
2692
+ * @type {string || null}
2693
+ */
2694
+ this.SdkAppId = null;
2695
+
2696
+ /**
2697
+ * Start time, unix timestamp, Unit: seconds (Query time range depends on the monitoring dashboard function version, standard edition can query the last 3 hours, premium edition can query the last 12 hours)
2698
+ * @type {number || null}
2699
+ */
2700
+ this.StartTime = null;
2701
+
2702
+ /**
2703
+ * End time, unix timestamp, Unit: seconds
2704
+ * @type {number || null}
2705
+ */
2706
+ this.EndTime = null;
2707
+
2708
+ /**
2709
+ * Room ID
2710
+ * @type {string || null}
2711
+ */
2712
+ this.RoomId = null;
2713
+
2714
+ }
2715
+
2716
+ /**
2717
+ * @private
2718
+ */
2719
+ deserialize(params) {
2720
+ if (!params) {
2721
+ return;
2722
+ }
2723
+ this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
2724
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
2725
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
2726
+ this.RoomId = 'RoomId' in params ? params.RoomId : null;
2727
+
2728
+ }
2729
+ }
2730
+
2494
2731
  /**
2495
2732
  * DescribeStreamIngest response structure.
2496
2733
  * @class
@@ -2996,57 +3233,164 @@ class DismissRoomRequest extends AbstractModel {
2996
3233
  }
2997
3234
 
2998
3235
  /**
2999
- * StartStreamIngest request structure.
3236
+ * StartWebRecord request structure.
3000
3237
  * @class
3001
3238
  */
3002
- class StartStreamIngestRequest extends AbstractModel {
3239
+ class StartWebRecordRequest extends AbstractModel {
3003
3240
  constructor(){
3004
3241
  super();
3005
3242
 
3006
3243
  /**
3007
- * TRTC's [SdkAppId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#sdkappid), the same as the SdkAppId corresponding to the Record room.
3008
- * @type {number || null}
3009
- */
3010
- this.SdkAppId = null;
3011
-
3012
- /**
3013
- * TRTC's [RoomId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#roomid), the RoomId corresponding to the Record TRTC room.
3244
+ * URL of the web page to be recorded
3014
3245
  * @type {string || null}
3015
3246
  */
3016
- this.RoomId = null;
3247
+ this.RecordUrl = null;
3017
3248
 
3018
3249
  /**
3019
- * Type of TRTC RoomId. [*Note] Must be the same as the RoomId type corresponding to the Record room: 0: String type RoomId 1: 32-bit Integer type RoomId (default)
3250
+ * Maximum recording duration limit, in seconds. Valid range: [1800, 36000]. Default is 36,000 seconds (10 hours).
3020
3251
  * @type {number || null}
3021
3252
  */
3022
- this.RoomIdType = null;
3253
+ this.MaxDurationLimit = null;
3023
3254
 
3024
3255
  /**
3025
- * UserId of the Pull stream Relay Robot, used to enter the room and initiate the Pull stream Relay Task.
3026
- * @type {string || null}
3256
+ * [Required] Parameters related to cloud storage. Currently, Tencent Cloud Object Storage and Tencent Cloud VOD are supported, but third-party cloud storage is not supported. The storage format of the output file only supports hls or mp4.
3257
+ * @type {StorageParams || null}
3027
3258
  */
3028
- this.UserId = null;
3259
+ this.StorageParams = null;
3029
3260
 
3030
3261
  /**
3031
- * UserSig corresponding to the Pull stream Relay Robot UserId, i.e., UserId and UserSig are equivalent to the Robot's Login password for entering the room. For the specific Calculation method, please refer to the TRTC [UserSig](https://www.tencentcloud.com/zh/document/product/647/39074) Scheme.
3032
- * @type {string || null}
3262
+ * web-page recording video parameters
3263
+ * @type {WebRecordVideoParams || null}
3033
3264
  */
3034
- this.UserSig = null;
3265
+ this.WebRecordVideoParams = null;
3035
3266
 
3036
3267
  /**
3037
- * The Url of the media resource.
3038
- * @type {string || null}
3268
+ * [Required] The SDKAppID of the TRTC room
3269
+ * @type {number || null}
3039
3270
  */
3040
- this.StreamUrl = null;
3271
+ this.SdkAppId = null;
3041
3272
 
3042
3273
  /**
3043
- * TRTC room permission Encryption ticket, only needed when advanced permission control is enabled in the Console. After enabling advanced permission control in the TRTC Console, TRTC's backend service system will verify a so-called [PrivateMapKey] 'Permission ticket', which contains an encrypted RoomId and an encrypted 'Permission bit list'. Since PrivateMapKey contains RoomId, providing only UserSig without PrivateMapKey does not allow entry into the specified room.
3274
+ * When sensitive to repetitive tasks, please pay attention to this value: To avoid tasks being initiated repeatedly in a short period, leading to task duplication, pass in the recording RecordId to identify the current task. The RecordId should be less than 32 bytes. If you carry the RecordId and initiate the start recording request more than once, only one task will be started, and the second one will report the error FailedOperation.TaskExist. Note that if the StartWebRecord call fails with an error other than FailedOperation.TaskExist, please change the RecordId and initiate the request again.
3044
3275
  * @type {string || null}
3045
3276
  */
3046
- this.PrivateMapKey = null;
3277
+ this.RecordId = null;
3047
3278
 
3048
3279
  /**
3049
- * Video Codec Parameters. Optional, if not filled, Keep original stream Parameters.
3280
+ * If you want to push the stream to a CDN, you can use the PublishCdnParams.N parameter to set it. It supports pushing streams to up to 10 CDN addresses simultaneously. If the relay address is a Tencent Cloud CDN, please explicitly set IsTencentCdn to 1.
3281
+ * @type {Array.<McuPublishCdnParam> || null}
3282
+ */
3283
+ this.PublishCdnParams = null;
3284
+
3285
+ /**
3286
+ * The timeout for loading page resources during recording, in seconds. The default value is 0 seconds. This value must be greater than or equal to 0 seconds and less than or equal to 60 seconds. If page load timeout detection is not enabled for the recording page, please do not set this parameter.
3287
+ * @type {number || null}
3288
+ */
3289
+ this.ReadyTimeout = null;
3290
+
3291
+ /**
3292
+ * Render mobile mode parameters; do not set this parameter if you are not going to render mobile mode pages.
3293
+ * @type {EmulateMobileParams || null}
3294
+ */
3295
+ this.EmulateMobileParams = null;
3296
+
3297
+ }
3298
+
3299
+ /**
3300
+ * @private
3301
+ */
3302
+ deserialize(params) {
3303
+ if (!params) {
3304
+ return;
3305
+ }
3306
+ this.RecordUrl = 'RecordUrl' in params ? params.RecordUrl : null;
3307
+ this.MaxDurationLimit = 'MaxDurationLimit' in params ? params.MaxDurationLimit : null;
3308
+
3309
+ if (params.StorageParams) {
3310
+ let obj = new StorageParams();
3311
+ obj.deserialize(params.StorageParams)
3312
+ this.StorageParams = obj;
3313
+ }
3314
+
3315
+ if (params.WebRecordVideoParams) {
3316
+ let obj = new WebRecordVideoParams();
3317
+ obj.deserialize(params.WebRecordVideoParams)
3318
+ this.WebRecordVideoParams = obj;
3319
+ }
3320
+ this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
3321
+ this.RecordId = 'RecordId' in params ? params.RecordId : null;
3322
+
3323
+ if (params.PublishCdnParams) {
3324
+ this.PublishCdnParams = new Array();
3325
+ for (let z in params.PublishCdnParams) {
3326
+ let obj = new McuPublishCdnParam();
3327
+ obj.deserialize(params.PublishCdnParams[z]);
3328
+ this.PublishCdnParams.push(obj);
3329
+ }
3330
+ }
3331
+ this.ReadyTimeout = 'ReadyTimeout' in params ? params.ReadyTimeout : null;
3332
+
3333
+ if (params.EmulateMobileParams) {
3334
+ let obj = new EmulateMobileParams();
3335
+ obj.deserialize(params.EmulateMobileParams)
3336
+ this.EmulateMobileParams = obj;
3337
+ }
3338
+
3339
+ }
3340
+ }
3341
+
3342
+ /**
3343
+ * StartStreamIngest request structure.
3344
+ * @class
3345
+ */
3346
+ class StartStreamIngestRequest extends AbstractModel {
3347
+ constructor(){
3348
+ super();
3349
+
3350
+ /**
3351
+ * TRTC's [SdkAppId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#sdkappid), the same as the SdkAppId corresponding to the Record room.
3352
+ * @type {number || null}
3353
+ */
3354
+ this.SdkAppId = null;
3355
+
3356
+ /**
3357
+ * TRTC's [RoomId](https://intl.cloud.tencent.com/document/product/647/46351?from_cn_redirect=1#roomid), the RoomId corresponding to the Record TRTC room.
3358
+ * @type {string || null}
3359
+ */
3360
+ this.RoomId = null;
3361
+
3362
+ /**
3363
+ * Type of TRTC RoomId. [*Note] Must be the same as the RoomId type corresponding to the Record room: 0: String type RoomId 1: 32-bit Integer type RoomId (default)
3364
+ * @type {number || null}
3365
+ */
3366
+ this.RoomIdType = null;
3367
+
3368
+ /**
3369
+ * UserId of the Pull stream Relay Robot, used to enter the room and initiate the Pull stream Relay Task.
3370
+ * @type {string || null}
3371
+ */
3372
+ this.UserId = null;
3373
+
3374
+ /**
3375
+ * UserSig corresponding to the Pull stream Relay Robot UserId, i.e., UserId and UserSig are equivalent to the Robot's Login password for entering the room. For the specific Calculation method, please refer to the TRTC [UserSig](https://www.tencentcloud.com/zh/document/product/647/39074) Scheme.
3376
+ * @type {string || null}
3377
+ */
3378
+ this.UserSig = null;
3379
+
3380
+ /**
3381
+ * The Url of the media resource.
3382
+ * @type {string || null}
3383
+ */
3384
+ this.StreamUrl = null;
3385
+
3386
+ /**
3387
+ * TRTC room permission Encryption ticket, only needed when advanced permission control is enabled in the Console. After enabling advanced permission control in the TRTC Console, TRTC's backend service system will verify a so-called [PrivateMapKey] 'Permission ticket', which contains an encrypted RoomId and an encrypted 'Permission bit list'. Since PrivateMapKey contains RoomId, providing only UserSig without PrivateMapKey does not allow entry into the specified room.
3388
+ * @type {string || null}
3389
+ */
3390
+ this.PrivateMapKey = null;
3391
+
3392
+ /**
3393
+ * Video Codec Parameters. Optional, if not filled, Keep original stream Parameters.
3050
3394
  * @type {VideoEncodeParams || null}
3051
3395
  */
3052
3396
  this.VideoEncodeParams = null;
@@ -3526,6 +3870,41 @@ class TrtcUsage extends AbstractModel {
3526
3870
  }
3527
3871
  }
3528
3872
 
3873
+ /**
3874
+ * DeleteCloudSliceTask response structure.
3875
+ * @class
3876
+ */
3877
+ class DeleteCloudSliceTaskResponse extends AbstractModel {
3878
+ constructor(){
3879
+ super();
3880
+
3881
+ /**
3882
+ * Unique ID of the slicing task, which is returned after the task is started.
3883
+ * @type {string || null}
3884
+ */
3885
+ this.TaskId = null;
3886
+
3887
+ /**
3888
+ * 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.
3889
+ * @type {string || null}
3890
+ */
3891
+ this.RequestId = null;
3892
+
3893
+ }
3894
+
3895
+ /**
3896
+ * @private
3897
+ */
3898
+ deserialize(params) {
3899
+ if (!params) {
3900
+ return;
3901
+ }
3902
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
3903
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3904
+
3905
+ }
3906
+ }
3907
+
3529
3908
  /**
3530
3909
  * DescribeRelayUsage response structure.
3531
3910
  * @class
@@ -3691,6 +4070,79 @@ Grey: `0x999999`
3691
4070
  }
3692
4071
  }
3693
4072
 
4073
+ /**
4074
+ * Control parameters for cloud slicing.
4075
+ * @class
4076
+ */
4077
+ class SliceParams extends AbstractModel {
4078
+ constructor(){
4079
+ super();
4080
+
4081
+ /**
4082
+ * Slicing task type.
4083
+ 1: audio slicing;
4084
+ 2: video frame extraction;
4085
+ 3: audio/video slicing + video frame extraction.
4086
+ Example value: 1.
4087
+ * @type {number || null}
4088
+ */
4089
+ this.SliceType = null;
4090
+
4091
+ /**
4092
+ * Recording is stopped automatically when there is no anchor in the room for more than MaxIdleTime. Unit: seconds. Default value: 30 seconds. This value needs to be greater than or equal to 5 seconds and less than or equal to 86,400 seconds (24 hours).
4093
+ Example value: 30.
4094
+ * @type {number || null}
4095
+ */
4096
+ this.MaxIdleTime = null;
4097
+
4098
+ /**
4099
+ * Audio slicing duration. Default value: 15s. Example value: 15.
4100
+ * @type {number || null}
4101
+ */
4102
+ this.SliceAudio = null;
4103
+
4104
+ /**
4105
+ * Interval for video frame extraction. Default value: 5s. Example value: 5.
4106
+ * @type {number || null}
4107
+ */
4108
+ this.SliceVideo = null;
4109
+
4110
+ /**
4111
+ * Specifies the allowlist or blocklist for the subscription stream.
4112
+ * @type {SubscribeStreamUserIds || null}
4113
+ */
4114
+ this.SubscribeStreamUserIds = null;
4115
+
4116
+ /**
4117
+ * Depreciated. The callback URL is configured in the console.
4118
+ * @type {string || null}
4119
+ */
4120
+ this.SliceCallbackUrl = null;
4121
+
4122
+ }
4123
+
4124
+ /**
4125
+ * @private
4126
+ */
4127
+ deserialize(params) {
4128
+ if (!params) {
4129
+ return;
4130
+ }
4131
+ this.SliceType = 'SliceType' in params ? params.SliceType : null;
4132
+ this.MaxIdleTime = 'MaxIdleTime' in params ? params.MaxIdleTime : null;
4133
+ this.SliceAudio = 'SliceAudio' in params ? params.SliceAudio : null;
4134
+ this.SliceVideo = 'SliceVideo' in params ? params.SliceVideo : null;
4135
+
4136
+ if (params.SubscribeStreamUserIds) {
4137
+ let obj = new SubscribeStreamUserIds();
4138
+ obj.deserialize(params.SubscribeStreamUserIds)
4139
+ this.SubscribeStreamUserIds = obj;
4140
+ }
4141
+ this.SliceCallbackUrl = 'SliceCallbackUrl' in params ? params.SliceCallbackUrl : null;
4142
+
4143
+ }
4144
+ }
4145
+
3694
4146
  /**
3695
4147
  * DescribeRecordingUsage request structure.
3696
4148
  * @class
@@ -3908,31 +4360,24 @@ Example:{"McuTencentVod":{"ExpireTime":86400}}
3908
4360
  }
3909
4361
 
3910
4362
  /**
3911
- * DescribeScaleInfo response structure.
4363
+ * DeleteCloudSliceTask request structure.
3912
4364
  * @class
3913
4365
  */
3914
- class DescribeScaleInfoResponse extends AbstractModel {
4366
+ class DeleteCloudSliceTaskRequest extends AbstractModel {
3915
4367
  constructor(){
3916
4368
  super();
3917
4369
 
3918
4370
  /**
3919
- * The number of records returned.
4371
+ * SDKAppId of TRTC, which is the same as the SDKAppId corresponding to the TRTC room.
3920
4372
  * @type {number || null}
3921
4373
  */
3922
- this.Total = null;
3923
-
3924
- /**
3925
- * The returned data.
3926
- Note: This field may return null, indicating that no valid values can be obtained.
3927
- * @type {Array.<ScaleInfomation> || null}
3928
- */
3929
- this.ScaleList = null;
4374
+ this.SdkAppId = null;
3930
4375
 
3931
4376
  /**
3932
- * 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.
4377
+ * Unique ID of the slicing task, which is returned after the task is started.
3933
4378
  * @type {string || null}
3934
4379
  */
3935
- this.RequestId = null;
4380
+ this.TaskId = null;
3936
4381
 
3937
4382
  }
3938
4383
 
@@ -3943,17 +4388,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
3943
4388
  if (!params) {
3944
4389
  return;
3945
4390
  }
3946
- this.Total = 'Total' in params ? params.Total : null;
3947
-
3948
- if (params.ScaleList) {
3949
- this.ScaleList = new Array();
3950
- for (let z in params.ScaleList) {
3951
- let obj = new ScaleInfomation();
3952
- obj.deserialize(params.ScaleList[z]);
3953
- this.ScaleList.push(obj);
3954
- }
3955
- }
3956
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
4391
+ this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
4392
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
3957
4393
 
3958
4394
  }
3959
4395
  }
@@ -4094,6 +4530,53 @@ This parameter specifies the type of the stream displayed in the big window. If
4094
4530
  }
4095
4531
  }
4096
4532
 
4533
+ /**
4534
+ * ModifyCloudSliceTask request structure.
4535
+ * @class
4536
+ */
4537
+ class ModifyCloudSliceTaskRequest extends AbstractModel {
4538
+ constructor(){
4539
+ super();
4540
+
4541
+ /**
4542
+ * SDKAppId of TRTC, which is the same as the SDKAppId corresponding to the TRTC room.
4543
+ * @type {number || null}
4544
+ */
4545
+ this.SdkAppId = null;
4546
+
4547
+ /**
4548
+ * Unique ID of the slicing task, which is returned after the task is started.
4549
+ * @type {string || null}
4550
+ */
4551
+ this.TaskId = null;
4552
+
4553
+ /**
4554
+ * Specifies the allowlist or blocklist for the subscription stream.
4555
+ * @type {SubscribeStreamUserIds || null}
4556
+ */
4557
+ this.SubscribeStreamUserIds = null;
4558
+
4559
+ }
4560
+
4561
+ /**
4562
+ * @private
4563
+ */
4564
+ deserialize(params) {
4565
+ if (!params) {
4566
+ return;
4567
+ }
4568
+ this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
4569
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
4570
+
4571
+ if (params.SubscribeStreamUserIds) {
4572
+ let obj = new SubscribeStreamUserIds();
4573
+ obj.deserialize(params.SubscribeStreamUserIds)
4574
+ this.SubscribeStreamUserIds = obj;
4575
+ }
4576
+
4577
+ }
4578
+ }
4579
+
4097
4580
  /**
4098
4581
  * DescribeMixTranscodingUsage response structure.
4099
4582
  * @class
@@ -4658,36 +5141,40 @@ class TRTCDataResult extends AbstractModel {
4658
5141
  }
4659
5142
 
4660
5143
  /**
4661
- * DescribeTRTCRealTimeQualityData request structure.
5144
+ * DescribeCloudRecording response structure.
4662
5145
  * @class
4663
5146
  */
4664
- class DescribeTRTCRealTimeQualityDataRequest extends AbstractModel {
5147
+ class DescribeCloudRecordingResponse extends AbstractModel {
4665
5148
  constructor(){
4666
5149
  super();
4667
5150
 
4668
5151
  /**
4669
- * User SDKAppId (e.g., 1400xxxxxx)
5152
+ * The unique ID of the recording task.
4670
5153
  * @type {string || null}
4671
5154
  */
4672
- this.SdkAppId = null;
5155
+ this.TaskId = null;
4673
5156
 
4674
5157
  /**
4675
- * Start time, unix timestamp, Unit: seconds (Query time range depends on the monitoring dashboard function version, standard edition can query the last 3 hours, premium edition can query the last 12 hours)
4676
- * @type {number || null}
5158
+ * The status of the on-cloud recording task.
5159
+ Idle: The task is idle.
5160
+ InProgress: The task is in progress.
5161
+ Exited: The task is being ended.
5162
+ * @type {string || null}
4677
5163
  */
4678
- this.StartTime = null;
5164
+ this.Status = null;
4679
5165
 
4680
5166
  /**
4681
- * End time, unix timestamp, Unit: seconds
4682
- * @type {number || null}
5167
+ * The information of the recording files.
5168
+ Note: This field may return `null`, indicating that no valid values can be obtained.
5169
+ * @type {Array.<StorageFile> || null}
4683
5170
  */
4684
- this.EndTime = null;
5171
+ this.StorageFileList = null;
4685
5172
 
4686
5173
  /**
4687
- * Room ID
5174
+ * 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.
4688
5175
  * @type {string || null}
4689
5176
  */
4690
- this.RoomId = null;
5177
+ this.RequestId = null;
4691
5178
 
4692
5179
  }
4693
5180
 
@@ -4698,10 +5185,18 @@ class DescribeTRTCRealTimeQualityDataRequest extends AbstractModel {
4698
5185
  if (!params) {
4699
5186
  return;
4700
5187
  }
4701
- this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
4702
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
4703
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
4704
- this.RoomId = 'RoomId' in params ? params.RoomId : null;
5188
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
5189
+ this.Status = 'Status' in params ? params.Status : null;
5190
+
5191
+ if (params.StorageFileList) {
5192
+ this.StorageFileList = new Array();
5193
+ for (let z in params.StorageFileList) {
5194
+ let obj = new StorageFile();
5195
+ obj.deserialize(params.StorageFileList[z]);
5196
+ this.StorageFileList.push(obj);
5197
+ }
5198
+ }
5199
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4705
5200
 
4706
5201
  }
4707
5202
  }
@@ -5426,6 +5921,41 @@ class StartStreamIngestResponse extends AbstractModel {
5426
5921
  }
5427
5922
  }
5428
5923
 
5924
+ /**
5925
+ * CreateCloudSliceTask response structure.
5926
+ * @class
5927
+ */
5928
+ class CreateCloudSliceTaskResponse extends AbstractModel {
5929
+ constructor(){
5930
+ super();
5931
+
5932
+ /**
5933
+ * Task ID assigned by the cloud slicing service. It is a unique identifier for the lifecycle of a slicing task, which loses its significance after the task is completed. The task ID needs to be retained by the business system as a parameter for future operations related to this task.
5934
+ * @type {string || null}
5935
+ */
5936
+ this.TaskId = null;
5937
+
5938
+ /**
5939
+ * 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.
5940
+ * @type {string || null}
5941
+ */
5942
+ this.RequestId = null;
5943
+
5944
+ }
5945
+
5946
+ /**
5947
+ * @private
5948
+ */
5949
+ deserialize(params) {
5950
+ if (!params) {
5951
+ return;
5952
+ }
5953
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
5954
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5955
+
5956
+ }
5957
+ }
5958
+
5429
5959
  /**
5430
5960
  * DeleteCloudRecording request structure.
5431
5961
  * @class
@@ -5896,40 +6426,66 @@ class ModifyCloudRecordingResponse extends AbstractModel {
5896
6426
  }
5897
6427
 
5898
6428
  /**
5899
- * DescribeCloudRecording response structure.
6429
+ * CreateCloudSliceTask request structure.
5900
6430
  * @class
5901
6431
  */
5902
- class DescribeCloudRecordingResponse extends AbstractModel {
6432
+ class CreateCloudSliceTaskRequest extends AbstractModel {
5903
6433
  constructor(){
5904
6434
  super();
5905
6435
 
5906
6436
  /**
5907
- * The unique ID of the recording task.
6437
+ * [SdkAppId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#sdkappid) of TRTC, which is the same as the SdkAppId corresponding to the TRTC room.
6438
+ * @type {number || null}
6439
+ */
6440
+ this.SdkAppId = null;
6441
+
6442
+ /**
6443
+ * [RoomId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#roomid) of TRTC, which is the RoomId corresponding to the TRTC room.
6444
+ * @type {string || null}
6445
+ */
6446
+ this.RoomId = null;
6447
+
6448
+ /**
6449
+ * Chatbot's UserId, which is used to enter the room and initiate a slicing task. [*note] This UserId should not be duplicated with the UserIds of the current anchors or audience members in the room. If multiple slicing tasks are initiated in one room, the chatbot's UserId should also be unique; otherwise, the previous slicing task is interrupted. It is recommended to include the room ID as part of the UserId, ensuring that the chatbot's UserId is unique in the room.
5908
6450
  * @type {string || null}
5909
6451
  */
5910
- this.TaskId = null;
6452
+ this.UserId = null;
5911
6453
 
5912
6454
  /**
5913
- * The status of the on-cloud recording task.
5914
- Idle: The task is idle.
5915
- InProgress: The task is in progress.
5916
- Exited: The task is being ended.
6455
+ * Signature verification corresponding to the chatbot's UserId, namely, the UserId and UserSig serve as the login password for the chatbot to enter the room. For specific calculation methods, see TRTC solution for calculating UserSig.
5917
6456
  * @type {string || null}
5918
6457
  */
5919
- this.Status = null;
6458
+ this.UserSig = null;
5920
6459
 
5921
6460
  /**
5922
- * The information of the recording files.
5923
- Note: This field may return `null`, indicating that no valid values can be obtained.
5924
- * @type {Array.<StorageFile> || null}
6461
+ * Control parameters for cloud slicing.
6462
+ * @type {SliceParams || null}
5925
6463
  */
5926
- this.StorageFileList = null;
6464
+ this.SliceParams = null;
5927
6465
 
5928
6466
  /**
5929
- * 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.
6467
+ * Parameters for uploading cloud slicing files to the cloud storage.
6468
+ * @type {SliceStorageParams || null}
6469
+ */
6470
+ this.SliceStorageParams = null;
6471
+
6472
+ /**
6473
+ * Type of the TRTC room number. [*Note] It should be the same as the type of the RoomId corresponding to the recording room. 0: string type; 1: 32-bit integer type (default value). Example value: 1.
6474
+ * @type {number || null}
6475
+ */
6476
+ this.RoomIdType = null;
6477
+
6478
+ /**
6479
+ * Validity period for calling the API, which starts upon successful initiation of recording and obtaining the task ID. After the timeout, APIs such as querying, updating, or stopping cannot be called, but the recording task is not stopped. The unit of the parameter is hours, with a default value of 72 hours (3 days). The maximum value is 720 hours (30 days), while the minimum value is 6 hours. For example, if this parameter is not specified, the validity period for calling the querying, updating, and stopping recording APIs is 72 hours upon the successful start of recording. Example value: 24.
6480
+ * @type {number || null}
6481
+ */
6482
+ this.ResourceExpiredHour = null;
6483
+
6484
+ /**
6485
+ * TRTC room permission encryption string, which is required only when advanced permission control is enabled in the TRTC console. After enabling, the TRTC backend service system verifies a "permission ticket" called [PrivateMapKey], which contains an encrypted RoomId and an encrypted "permission bit list". Since the PrivateMapKey includes the RoomId, the specified room cannot be entered if only UserSig is provided and PrivateMapKey is not provided. Example value: eJw1jcEKgkAURX9FZlvY****fL9rfNX4_.
5930
6486
  * @type {string || null}
5931
6487
  */
5932
- this.RequestId = null;
6488
+ this.PrivateMapKey = null;
5933
6489
 
5934
6490
  }
5935
6491
 
@@ -5940,18 +6496,25 @@ Note: This field may return `null`, indicating that no valid values can be obtai
5940
6496
  if (!params) {
5941
6497
  return;
5942
6498
  }
5943
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
5944
- this.Status = 'Status' in params ? params.Status : null;
6499
+ this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
6500
+ this.RoomId = 'RoomId' in params ? params.RoomId : null;
6501
+ this.UserId = 'UserId' in params ? params.UserId : null;
6502
+ this.UserSig = 'UserSig' in params ? params.UserSig : null;
5945
6503
 
5946
- if (params.StorageFileList) {
5947
- this.StorageFileList = new Array();
5948
- for (let z in params.StorageFileList) {
5949
- let obj = new StorageFile();
5950
- obj.deserialize(params.StorageFileList[z]);
5951
- this.StorageFileList.push(obj);
5952
- }
6504
+ if (params.SliceParams) {
6505
+ let obj = new SliceParams();
6506
+ obj.deserialize(params.SliceParams)
6507
+ this.SliceParams = obj;
5953
6508
  }
5954
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
6509
+
6510
+ if (params.SliceStorageParams) {
6511
+ let obj = new SliceStorageParams();
6512
+ obj.deserialize(params.SliceStorageParams)
6513
+ this.SliceStorageParams = obj;
6514
+ }
6515
+ this.RoomIdType = 'RoomIdType' in params ? params.RoomIdType : null;
6516
+ this.ResourceExpiredHour = 'ResourceExpiredHour' in params ? params.ResourceExpiredHour : null;
6517
+ this.PrivateMapKey = 'PrivateMapKey' in params ? params.PrivateMapKey : null;
5955
6518
 
5956
6519
  }
5957
6520
  }
@@ -6032,18 +6595,24 @@ class StartAITranscriptionRequest extends AbstractModel {
6032
6595
  }
6033
6596
 
6034
6597
  /**
6035
- * DismissRoom response structure.
6598
+ * DescribeCloudSliceTask request structure.
6036
6599
  * @class
6037
6600
  */
6038
- class DismissRoomResponse extends AbstractModel {
6601
+ class DescribeCloudSliceTaskRequest extends AbstractModel {
6039
6602
  constructor(){
6040
6603
  super();
6041
6604
 
6042
6605
  /**
6043
- * 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.
6606
+ * SDKAppId of TRTC, which is the same as the SDKAppId corresponding to the recording room.
6607
+ * @type {number || null}
6608
+ */
6609
+ this.SdkAppId = null;
6610
+
6611
+ /**
6612
+ * Unique ID of the slicing task, which is returned after the task is started.
6044
6613
  * @type {string || null}
6045
6614
  */
6046
- this.RequestId = null;
6615
+ this.TaskId = null;
6047
6616
 
6048
6617
  }
6049
6618
 
@@ -6054,7 +6623,8 @@ class DismissRoomResponse extends AbstractModel {
6054
6623
  if (!params) {
6055
6624
  return;
6056
6625
  }
6057
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
6626
+ this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
6627
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
6058
6628
 
6059
6629
  }
6060
6630
  }
@@ -6368,66 +6938,18 @@ class UpdatePublishCdnStreamRequest extends AbstractModel {
6368
6938
  }
6369
6939
 
6370
6940
  /**
6371
- * StartWebRecord request structure.
6941
+ * Storage parameters for the slicing files.
6372
6942
  * @class
6373
6943
  */
6374
- class StartWebRecordRequest extends AbstractModel {
6944
+ class SliceStorageParams extends AbstractModel {
6375
6945
  constructor(){
6376
6946
  super();
6377
6947
 
6378
6948
  /**
6379
- * URL of the web page to be recorded
6380
- * @type {string || null}
6381
- */
6382
- this.RecordUrl = null;
6383
-
6384
- /**
6385
- * Maximum recording duration limit, in seconds. Valid range: [1800, 36000]. Default is 36,000 seconds (10 hours).
6386
- * @type {number || null}
6387
- */
6388
- this.MaxDurationLimit = null;
6389
-
6390
- /**
6391
- * [Required] Parameters related to cloud storage. Currently, Tencent Cloud Object Storage and Tencent Cloud VOD are supported, but third-party cloud storage is not supported. The storage format of the output file only supports hls or mp4.
6392
- * @type {StorageParams || null}
6393
- */
6394
- this.StorageParams = null;
6395
-
6396
- /**
6397
- * web-page recording video parameters
6398
- * @type {WebRecordVideoParams || null}
6399
- */
6400
- this.WebRecordVideoParams = null;
6401
-
6402
- /**
6403
- * [Required] The SDKAppID of the TRTC room
6404
- * @type {number || null}
6405
- */
6406
- this.SdkAppId = null;
6407
-
6408
- /**
6409
- * When sensitive to repetitive tasks, please pay attention to this value: To avoid tasks being initiated repeatedly in a short period, leading to task duplication, pass in the recording RecordId to identify the current task. The RecordId should be less than 32 bytes. If you carry the RecordId and initiate the start recording request more than once, only one task will be started, and the second one will report the error FailedOperation.TaskExist. Note that if the StartWebRecord call fails with an error other than FailedOperation.TaskExist, please change the RecordId and initiate the request again.
6410
- * @type {string || null}
6411
- */
6412
- this.RecordId = null;
6413
-
6414
- /**
6415
- * If you want to push the stream to a CDN, you can use the PublishCdnParams.N parameter to set it. It supports pushing streams to up to 10 CDN addresses simultaneously. If the relay address is a Tencent Cloud CDN, please explicitly set IsTencentCdn to 1.
6416
- * @type {Array.<McuPublishCdnParam> || null}
6417
- */
6418
- this.PublishCdnParams = null;
6419
-
6420
- /**
6421
- * The timeout for loading page resources during recording, in seconds. The default value is 0 seconds. This value must be greater than or equal to 0 seconds and less than or equal to 60 seconds. If page load timeout detection is not enabled for the recording page, please do not set this parameter.
6422
- * @type {number || null}
6423
- */
6424
- this.ReadyTimeout = null;
6425
-
6426
- /**
6427
- * Render mobile mode parameters; do not set this parameter if you are not going to render mobile mode pages.
6428
- * @type {EmulateMobileParams || null}
6949
+ * Information about Tencent COS and third-party cloud storage accounts.
6950
+ * @type {CloudSliceStorage || null}
6429
6951
  */
6430
- this.EmulateMobileParams = null;
6952
+ this.CloudSliceStorage = null;
6431
6953
 
6432
6954
  }
6433
6955
 
@@ -6438,37 +6960,11 @@ class StartWebRecordRequest extends AbstractModel {
6438
6960
  if (!params) {
6439
6961
  return;
6440
6962
  }
6441
- this.RecordUrl = 'RecordUrl' in params ? params.RecordUrl : null;
6442
- this.MaxDurationLimit = 'MaxDurationLimit' in params ? params.MaxDurationLimit : null;
6443
-
6444
- if (params.StorageParams) {
6445
- let obj = new StorageParams();
6446
- obj.deserialize(params.StorageParams)
6447
- this.StorageParams = obj;
6448
- }
6449
-
6450
- if (params.WebRecordVideoParams) {
6451
- let obj = new WebRecordVideoParams();
6452
- obj.deserialize(params.WebRecordVideoParams)
6453
- this.WebRecordVideoParams = obj;
6454
- }
6455
- this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
6456
- this.RecordId = 'RecordId' in params ? params.RecordId : null;
6457
-
6458
- if (params.PublishCdnParams) {
6459
- this.PublishCdnParams = new Array();
6460
- for (let z in params.PublishCdnParams) {
6461
- let obj = new McuPublishCdnParam();
6462
- obj.deserialize(params.PublishCdnParams[z]);
6463
- this.PublishCdnParams.push(obj);
6464
- }
6465
- }
6466
- this.ReadyTimeout = 'ReadyTimeout' in params ? params.ReadyTimeout : null;
6467
6963
 
6468
- if (params.EmulateMobileParams) {
6469
- let obj = new EmulateMobileParams();
6470
- obj.deserialize(params.EmulateMobileParams)
6471
- this.EmulateMobileParams = obj;
6964
+ if (params.CloudSliceStorage) {
6965
+ let obj = new CloudSliceStorage();
6966
+ obj.deserialize(params.CloudSliceStorage)
6967
+ this.CloudSliceStorage = obj;
6472
6968
  }
6473
6969
 
6474
6970
  }
@@ -6757,6 +7253,69 @@ class StopAIConversationRequest extends AbstractModel {
6757
7253
  }
6758
7254
  }
6759
7255
 
7256
+ /**
7257
+ * UpdateAIConversation request structure.
7258
+ * @class
7259
+ */
7260
+ class UpdateAIConversationRequest extends AbstractModel {
7261
+ constructor(){
7262
+ super();
7263
+
7264
+ /**
7265
+ * Task Unique ID
7266
+ * @type {string || null}
7267
+ */
7268
+ this.TaskId = null;
7269
+
7270
+ /**
7271
+ * If you do not fill in the form, no update will be performed. Welcome message from the robot
7272
+ * @type {string || null}
7273
+ */
7274
+ this.WelcomeMessage = null;
7275
+
7276
+ /**
7277
+ * If not filled in, no update will be performed. Intelligent interruption mode, 0 means the server automatically interrupts, 1 means the server does not interrupt, and the client sends an interrupt signal to interrupt
7278
+ * @type {number || null}
7279
+ */
7280
+ this.InterruptMode = null;
7281
+
7282
+ /**
7283
+ * If not filled in, no update will be performed. Used when InterruptMode is 0, the unit is milliseconds, and the default is 500ms. It means that the server will interrupt when it detects a voice that lasts for InterruptSpeechDuration milliseconds.
7284
+ * @type {number || null}
7285
+ */
7286
+ this.InterruptSpeechDuration = null;
7287
+
7288
+ /**
7289
+ * If not filled in, no update will be performed. For LLM configuration, see the StartAIConversation API for details.
7290
+ * @type {string || null}
7291
+ */
7292
+ this.LLMConfig = null;
7293
+
7294
+ /**
7295
+ * If not filled in, no update will be performed. For TTS configuration, see the StartAIConversation API for details.
7296
+ * @type {string || null}
7297
+ */
7298
+ this.TTSConfig = null;
7299
+
7300
+ }
7301
+
7302
+ /**
7303
+ * @private
7304
+ */
7305
+ deserialize(params) {
7306
+ if (!params) {
7307
+ return;
7308
+ }
7309
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
7310
+ this.WelcomeMessage = 'WelcomeMessage' in params ? params.WelcomeMessage : null;
7311
+ this.InterruptMode = 'InterruptMode' in params ? params.InterruptMode : null;
7312
+ this.InterruptSpeechDuration = 'InterruptSpeechDuration' in params ? params.InterruptSpeechDuration : null;
7313
+ this.LLMConfig = 'LLMConfig' in params ? params.LLMConfig : null;
7314
+ this.TTSConfig = 'TTSConfig' in params ? params.TTSConfig : null;
7315
+
7316
+ }
7317
+ }
7318
+
6760
7319
  /**
6761
7320
  * UpdatePublishCdnStream response structure.
6762
7321
  * @class
@@ -7583,48 +8142,30 @@ class AbnormalExperience extends AbstractModel {
7583
8142
  }
7584
8143
 
7585
8144
  /**
7586
- * UpdateAIConversation request structure.
8145
+ * DescribeCloudSliceTask response structure.
7587
8146
  * @class
7588
8147
  */
7589
- class UpdateAIConversationRequest extends AbstractModel {
8148
+ class DescribeCloudSliceTaskResponse extends AbstractModel {
7590
8149
  constructor(){
7591
8150
  super();
7592
8151
 
7593
8152
  /**
7594
- * Task Unique ID
8153
+ * Unique ID of the slicing task, which is returned after the task is started.
7595
8154
  * @type {string || null}
7596
8155
  */
7597
8156
  this.TaskId = null;
7598
8157
 
7599
8158
  /**
7600
- * If you do not fill in the form, no update will be performed. Welcome message from the robot
7601
- * @type {string || null}
7602
- */
7603
- this.WelcomeMessage = null;
7604
-
7605
- /**
7606
- * If not filled in, no update will be performed. Intelligent interruption mode, 0 means the server automatically interrupts, 1 means the server does not interrupt, and the client sends an interrupt signal to interrupt
7607
- * @type {number || null}
7608
- */
7609
- this.InterruptMode = null;
7610
-
7611
- /**
7612
- * If not filled in, no update will be performed. Used when InterruptMode is 0, the unit is milliseconds, and the default is 500ms. It means that the server will interrupt when it detects a voice that lasts for InterruptSpeechDuration milliseconds.
7613
- * @type {number || null}
7614
- */
7615
- this.InterruptSpeechDuration = null;
7616
-
7617
- /**
7618
- * If not filled in, no update will be performed. For LLM configuration, see the StartAIConversation API for details.
8159
+ * Information about the status of the cloud slicing task. Idle: indicates the current task is idle; InProgress: indicates the current task is in progress; Exited: indicates the current task is being exited.
7619
8160
  * @type {string || null}
7620
8161
  */
7621
- this.LLMConfig = null;
8162
+ this.Status = null;
7622
8163
 
7623
8164
  /**
7624
- * If not filled in, no update will be performed. For TTS configuration, see the StartAIConversation API for details.
8165
+ * 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.
7625
8166
  * @type {string || null}
7626
8167
  */
7627
- this.TTSConfig = null;
8168
+ this.RequestId = null;
7628
8169
 
7629
8170
  }
7630
8171
 
@@ -7636,11 +8177,8 @@ class UpdateAIConversationRequest extends AbstractModel {
7636
8177
  return;
7637
8178
  }
7638
8179
  this.TaskId = 'TaskId' in params ? params.TaskId : null;
7639
- this.WelcomeMessage = 'WelcomeMessage' in params ? params.WelcomeMessage : null;
7640
- this.InterruptMode = 'InterruptMode' in params ? params.InterruptMode : null;
7641
- this.InterruptSpeechDuration = 'InterruptSpeechDuration' in params ? params.InterruptSpeechDuration : null;
7642
- this.LLMConfig = 'LLMConfig' in params ? params.LLMConfig : null;
7643
- this.TTSConfig = 'TTSConfig' in params ? params.TTSConfig : null;
8180
+ this.Status = 'Status' in params ? params.Status : null;
8181
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
7644
8182
 
7645
8183
  }
7646
8184
  }
@@ -7772,6 +8310,7 @@ class RemoveUserResponse extends AbstractModel {
7772
8310
  }
7773
8311
 
7774
8312
  module.exports = {
8313
+ ModifyCloudSliceTaskResponse: ModifyCloudSliceTaskResponse,
7775
8314
  AgentConfig: AgentConfig,
7776
8315
  DescribeRecordingUsageResponse: DescribeRecordingUsageResponse,
7777
8316
  AudioEncodeParams: AudioEncodeParams,
@@ -7791,6 +8330,7 @@ module.exports = {
7791
8330
  DescribeTrtcRoomUsageResponse: DescribeTrtcRoomUsageResponse,
7792
8331
  StopPublishCdnStreamResponse: StopPublishCdnStreamResponse,
7793
8332
  AbnormalEvent: AbnormalEvent,
8333
+ DescribeScaleInfoResponse: DescribeScaleInfoResponse,
7794
8334
  ScaleInfomation: ScaleInfomation,
7795
8335
  AgentParams: AgentParams,
7796
8336
  ControlAIConversationResponse: ControlAIConversationResponse,
@@ -7805,6 +8345,7 @@ module.exports = {
7805
8345
  DescribeWebRecordResponse: DescribeWebRecordResponse,
7806
8346
  DescribeUserInfoRequest: DescribeUserInfoRequest,
7807
8347
  DescribeRelayUsageRequest: DescribeRelayUsageRequest,
8348
+ DismissRoomResponse: DismissRoomResponse,
7808
8349
  CloudStorage: CloudStorage,
7809
8350
  DescribeTrtcUsageResponse: DescribeTrtcUsageResponse,
7810
8351
  TimeValue: TimeValue,
@@ -7814,11 +8355,13 @@ module.exports = {
7814
8355
  DescribeRoomInfoRequest: DescribeRoomInfoRequest,
7815
8356
  StorageParams: StorageParams,
7816
8357
  CloudVod: CloudVod,
8358
+ CloudSliceStorage: CloudSliceStorage,
7817
8359
  EmulateMobileParams: EmulateMobileParams,
7818
8360
  DescribeCallDetailInfoResponse: DescribeCallDetailInfoResponse,
7819
8361
  DescribeTRTCRealTimeQualityDataResponse: DescribeTRTCRealTimeQualityDataResponse,
7820
8362
  McuCustomCrop: McuCustomCrop,
7821
8363
  DescribeMixTranscodingUsageRequest: DescribeMixTranscodingUsageRequest,
8364
+ DescribeTRTCRealTimeQualityDataRequest: DescribeTRTCRealTimeQualityDataRequest,
7822
8365
  DescribeStreamIngestResponse: DescribeStreamIngestResponse,
7823
8366
  MixTranscodeParams: MixTranscodeParams,
7824
8367
  StopStreamIngestRequest: StopStreamIngestRequest,
@@ -7831,6 +8374,7 @@ module.exports = {
7831
8374
  DescribeTrtcUsageRequest: DescribeTrtcUsageRequest,
7832
8375
  DescribeRoomInfoResponse: DescribeRoomInfoResponse,
7833
8376
  DismissRoomRequest: DismissRoomRequest,
8377
+ StartWebRecordRequest: StartWebRecordRequest,
7834
8378
  StartStreamIngestRequest: StartStreamIngestRequest,
7835
8379
  DescribeAITranscriptionRequest: DescribeAITranscriptionRequest,
7836
8380
  DescribeAIConversationResponse: DescribeAIConversationResponse,
@@ -7841,14 +8385,17 @@ module.exports = {
7841
8385
  McuWaterMarkImage: McuWaterMarkImage,
7842
8386
  StartPublishCdnStreamResponse: StartPublishCdnStreamResponse,
7843
8387
  TrtcUsage: TrtcUsage,
8388
+ DeleteCloudSliceTaskResponse: DeleteCloudSliceTaskResponse,
7844
8389
  DescribeRelayUsageResponse: DescribeRelayUsageResponse,
7845
8390
  McuLayout: McuLayout,
8391
+ SliceParams: SliceParams,
7846
8392
  DescribeRecordingUsageRequest: DescribeRecordingUsageRequest,
7847
8393
  StorageFile: StorageFile,
7848
8394
  WaterMark: WaterMark,
7849
8395
  McuStorageParams: McuStorageParams,
7850
- DescribeScaleInfoResponse: DescribeScaleInfoResponse,
8396
+ DeleteCloudSliceTaskRequest: DeleteCloudSliceTaskRequest,
7851
8397
  MixLayoutParams: MixLayoutParams,
8398
+ ModifyCloudSliceTaskRequest: ModifyCloudSliceTaskRequest,
7852
8399
  DescribeMixTranscodingUsageResponse: DescribeMixTranscodingUsageResponse,
7853
8400
  McuFeedBackRoomParams: McuFeedBackRoomParams,
7854
8401
  AudioEncode: AudioEncode,
@@ -7860,7 +8407,7 @@ module.exports = {
7860
8407
  McuPassThrough: McuPassThrough,
7861
8408
  SetUserBlockedByStrRoomIdResponse: SetUserBlockedByStrRoomIdResponse,
7862
8409
  TRTCDataResult: TRTCDataResult,
7863
- DescribeTRTCRealTimeQualityDataRequest: DescribeTRTCRealTimeQualityDataRequest,
8410
+ DescribeCloudRecordingResponse: DescribeCloudRecordingResponse,
7864
8411
  StartWebRecordResponse: StartWebRecordResponse,
7865
8412
  CreateCloudRecordingRequest: CreateCloudRecordingRequest,
7866
8413
  RecognizeConfig: RecognizeConfig,
@@ -7874,6 +8421,7 @@ module.exports = {
7874
8421
  RowValues: RowValues,
7875
8422
  DismissRoomByStrRoomIdRequest: DismissRoomByStrRoomIdRequest,
7876
8423
  StartStreamIngestResponse: StartStreamIngestResponse,
8424
+ CreateCloudSliceTaskResponse: CreateCloudSliceTaskResponse,
7877
8425
  DeleteCloudRecordingRequest: DeleteCloudRecordingRequest,
7878
8426
  VideoParams: VideoParams,
7879
8427
  SetUserBlockedByStrRoomIdRequest: SetUserBlockedByStrRoomIdRequest,
@@ -7884,15 +8432,15 @@ module.exports = {
7884
8432
  DismissRoomByStrRoomIdResponse: DismissRoomByStrRoomIdResponse,
7885
8433
  DescribeUnusualEventResponse: DescribeUnusualEventResponse,
7886
8434
  ModifyCloudRecordingResponse: ModifyCloudRecordingResponse,
7887
- DescribeCloudRecordingResponse: DescribeCloudRecordingResponse,
8435
+ CreateCloudSliceTaskRequest: CreateCloudSliceTaskRequest,
7888
8436
  StartAITranscriptionRequest: StartAITranscriptionRequest,
7889
- DismissRoomResponse: DismissRoomResponse,
8437
+ DescribeCloudSliceTaskRequest: DescribeCloudSliceTaskRequest,
7890
8438
  StopStreamIngestResponse: StopStreamIngestResponse,
7891
8439
  MixUserInfo: MixUserInfo,
7892
8440
  EventMessage: EventMessage,
7893
8441
  DescribeTRTCMarketQualityDataRequest: DescribeTRTCMarketQualityDataRequest,
7894
8442
  UpdatePublishCdnStreamRequest: UpdatePublishCdnStreamRequest,
7895
- StartWebRecordRequest: StartWebRecordRequest,
8443
+ SliceStorageParams: SliceStorageParams,
7896
8444
  MaxVideoUser: MaxVideoUser,
7897
8445
  UpdateStreamIngestRequest: UpdateStreamIngestRequest,
7898
8446
  StopWebRecordResponse: StopWebRecordResponse,
@@ -7900,6 +8448,7 @@ module.exports = {
7900
8448
  StopWebRecordRequest: StopWebRecordRequest,
7901
8449
  McuSeiParams: McuSeiParams,
7902
8450
  StopAIConversationRequest: StopAIConversationRequest,
8451
+ UpdateAIConversationRequest: UpdateAIConversationRequest,
7903
8452
  UpdatePublishCdnStreamResponse: UpdatePublishCdnStreamResponse,
7904
8453
  McuWaterMarkText: McuWaterMarkText,
7905
8454
  TranscriptionParams: TranscriptionParams,
@@ -7917,7 +8466,7 @@ module.exports = {
7917
8466
  DescribeAITranscriptionResponse: DescribeAITranscriptionResponse,
7918
8467
  McuWaterMarkParams: McuWaterMarkParams,
7919
8468
  AbnormalExperience: AbnormalExperience,
7920
- UpdateAIConversationRequest: UpdateAIConversationRequest,
8469
+ DescribeCloudSliceTaskResponse: DescribeCloudSliceTaskResponse,
7921
8470
  RoomState: RoomState,
7922
8471
  StartAITranscriptionResponse: StartAITranscriptionResponse,
7923
8472
  RemoveUserResponse: RemoveUserResponse,