tencentcloud-sdk-nodejs 4.0.742 → 4.0.743

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/CHANGELOG.md +331 -0
  2. package/SERVICE_CHANGELOG.md +595 -19
  3. package/package.json +1 -1
  4. package/products.md +20 -20
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cam/v20190116/cam_models.ts +3 -2
  7. package/src/services/cat/v20180409/cat_client.ts +20 -7
  8. package/src/services/cat/v20180409/cat_models.ts +114 -30
  9. package/src/services/cfg/v20210820/cfg_models.ts +14 -0
  10. package/src/services/cls/v20201016/cls_client.ts +4 -2
  11. package/src/services/cls/v20201016/cls_models.ts +180 -90
  12. package/src/services/cwp/v20180228/cwp_client.ts +1 -1
  13. package/src/services/cwp/v20180228/cwp_models.ts +26 -18
  14. package/src/services/eb/v20210416/eb_client.ts +1 -0
  15. package/src/services/eb/v20210416/eb_models.ts +36 -1
  16. package/src/services/ess/v20201111/ess_models.ts +37 -29
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -14
  18. package/src/services/hunyuan/v20230901/hunyuan_client.ts +10 -4
  19. package/src/services/lighthouse/v20200324/lighthouse_models.ts +3 -3
  20. package/src/services/scf/v20180416/scf_client.ts +1 -0
  21. package/src/services/scf/v20180416/scf_models.ts +34 -2
  22. package/src/services/ssl/v20191205/ssl_models.ts +51 -6
  23. package/src/services/tdmq/v20200217/tdmq_client.ts +4 -2
  24. package/src/services/teo/v20220901/teo_client.ts +113 -38
  25. package/src/services/teo/v20220901/teo_models.ts +402 -73
  26. package/src/services/tione/v20211111/tione_models.ts +4 -0
  27. package/src/services/trtc/v20190722/trtc_client.ts +45 -7
  28. package/src/services/trtc/v20190722/trtc_models.ts +167 -9
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +3 -2
  32. package/tencentcloud/services/cat/v20180409/cat_client.d.ts +7 -3
  33. package/tencentcloud/services/cat/v20180409/cat_client.js +9 -3
  34. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +111 -30
  35. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +14 -0
  36. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  37. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +178 -90
  38. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
  39. package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
  40. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +26 -18
  41. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +35 -1
  42. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +37 -29
  43. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -14
  44. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +6 -0
  45. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +6 -0
  46. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +3 -3
  47. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +33 -2
  48. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +51 -6
  49. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +3 -1
  50. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +3 -1
  51. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +35 -11
  52. package/tencentcloud/services/teo/v20220901/teo_client.js +51 -15
  53. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +387 -73
  54. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
  55. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +15 -3
  56. package/tencentcloud/services/trtc/v20190722/trtc_client.js +21 -3
  57. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +159 -9
  58. package/test/cat.v20180409.test.js +12 -2
  59. package/test/teo.v20220901.test.js +70 -10
  60. package/test/trtc.v20190722.test.js +32 -2
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { CreatePictureRequest, DescribeRelayUsageRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeUserInfoRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeTRTCRealTimeScaleDataResponse, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeTRTCMarketQualityDataResponse, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, DismissRoomRequest, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeTRTCRealTimeScaleMetricDataResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, DescribeRecordingUsageResponse, StopMCUMixTranscodeRequest, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DescribeTRTCRealTimeQualityMetricDataResponse, DescribeTRTCRealTimeQualityDataRequest, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StartPublishCdnStreamRequest, CreateCloudRecordingResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, DismissRoomResponse, DescribeTRTCMarketQualityDataRequest, UpdatePublishCdnStreamRequest, DeletePictureRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DescribeTRTCMarketScaleMetricDataResponse, CreatePictureResponse, RemoveUserResponse } from "./trtc_models";
3
+ import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeUserInfoRequest, DescribeRelayUsageRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeTRTCRealTimeScaleDataResponse, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeStreamIngestResponse, StopStreamIngestRequest, DescribeTRTCMarketQualityDataResponse, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, DismissRoomRequest, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeTRTCRealTimeScaleMetricDataResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, DescribeRecordingUsageResponse, StopMCUMixTranscodeRequest, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DescribeTRTCRealTimeQualityMetricDataResponse, DescribeTRTCRealTimeQualityDataRequest, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StartPublishCdnStreamRequest, CreateCloudRecordingResponse, StartStreamIngestResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, DismissRoomResponse, StopStreamIngestResponse, DescribeTRTCMarketQualityDataRequest, UpdatePublishCdnStreamRequest, DeletePictureRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DescribeStreamIngestRequest, DescribeTRTCMarketScaleMetricDataResponse, CreatePictureResponse, RemoveUserResponse } from "./trtc_models";
4
4
  /**
5
5
  * trtc client
6
6
  * @class
@@ -142,9 +142,9 @@ ver:可以忽略。
142
142
  */
143
143
  DescribeCallDetailInfo(req: DescribeCallDetailInfoRequest, cb?: (error: string, rep: DescribeCallDetailInfoResponse) => void): Promise<DescribeCallDetailInfoResponse>;
144
144
  /**
145
- * 接口说明:结束云端混流
145
+ * 您可以查询转推任务的状态。
146
146
  */
147
- StopMCUMixTranscode(req: StopMCUMixTranscodeRequest, cb?: (error: string, rep: StopMCUMixTranscodeResponse) => void): Promise<StopMCUMixTranscodeResponse>;
147
+ DescribeStreamIngest(req: DescribeStreamIngestRequest, cb?: (error: string, rep: DescribeStreamIngestResponse) => void): Promise<DescribeStreamIngestResponse>;
148
148
  /**
149
149
  * 查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
150
150
  userCount:通话人数,
@@ -156,6 +156,10 @@ peakCurrentUsers:峰值同时在线人数。
156
156
  2.查询时间范围根据监控仪表盘功能版本而定,【基础版】可查近30天,【进阶版】可查近60天。
157
157
  */
158
158
  DescribeTRTCMarketScaleMetricData(req: DescribeTRTCMarketScaleMetricDataRequest, cb?: (error: string, rep: DescribeTRTCMarketScaleMetricDataResponse) => void): Promise<DescribeTRTCMarketScaleMetricDataResponse>;
159
+ /**
160
+ * 停止一个拉流转推任务。
161
+ */
162
+ StopStreamIngest(req: StopStreamIngestRequest, cb?: (error: string, rep: StopStreamIngestResponse) => void): Promise<StopStreamIngestResponse>;
159
163
  /**
160
164
  * 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
161
165
 
@@ -180,6 +184,10 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
180
184
  3、客户端混流和服务端混流不能混用。
181
185
  */
182
186
  StartMCUMixTranscodeByStrRoomId(req: StartMCUMixTranscodeByStrRoomIdRequest, cb?: (error: string, rep: StartMCUMixTranscodeByStrRoomIdResponse) => void): Promise<StartMCUMixTranscodeByStrRoomIdResponse>;
187
+ /**
188
+ * 将一个在线媒体流推到TRTC房间。
189
+ */
190
+ StartStreamIngest(req: StartStreamIngestRequest, cb?: (error: string, rep: StartStreamIngestResponse) => void): Promise<StartStreamIngestResponse>;
183
191
  /**
184
192
  * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
185
193
  */
@@ -212,6 +220,10 @@ xa0
212
220
  * 接口说明:将用户从房间移出,适用于主播/房主/管理员踢人等场景。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
213
221
  */
214
222
  RemoveUser(req: RemoveUserRequest, cb?: (error: string, rep: RemoveUserResponse) => void): Promise<RemoveUserResponse>;
223
+ /**
224
+ * 接口说明:结束云端混流
225
+ */
226
+ StopMCUMixTranscode(req: StopMCUMixTranscodeRequest, cb?: (error: string, rep: StopMCUMixTranscodeResponse) => void): Promise<StopMCUMixTranscodeResponse>;
215
227
  /**
216
228
  * 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
217
229
  */
@@ -172,10 +172,10 @@ ver:可以忽略。
172
172
  return this.request("DescribeCallDetailInfo", req, cb);
173
173
  }
174
174
  /**
175
- * 接口说明:结束云端混流
175
+ * 您可以查询转推任务的状态。
176
176
  */
177
- async StopMCUMixTranscode(req, cb) {
178
- return this.request("StopMCUMixTranscode", req, cb);
177
+ async DescribeStreamIngest(req, cb) {
178
+ return this.request("DescribeStreamIngest", req, cb);
179
179
  }
180
180
  /**
181
181
  * 查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
@@ -190,6 +190,12 @@ peakCurrentUsers:峰值同时在线人数。
190
190
  async DescribeTRTCMarketScaleMetricData(req, cb) {
191
191
  return this.request("DescribeTRTCMarketScaleMetricData", req, cb);
192
192
  }
193
+ /**
194
+ * 停止一个拉流转推任务。
195
+ */
196
+ async StopStreamIngest(req, cb) {
197
+ return this.request("StopStreamIngest", req, cb);
198
+ }
193
199
  /**
194
200
  * 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
195
201
 
@@ -216,6 +222,12 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
216
222
  async StartMCUMixTranscodeByStrRoomId(req, cb) {
217
223
  return this.request("StartMCUMixTranscodeByStrRoomId", req, cb);
218
224
  }
225
+ /**
226
+ * 将一个在线媒体流推到TRTC房间。
227
+ */
228
+ async StartStreamIngest(req, cb) {
229
+ return this.request("StartStreamIngest", req, cb);
230
+ }
219
231
  /**
220
232
  * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
221
233
  */
@@ -258,6 +270,12 @@ xa0
258
270
  async RemoveUser(req, cb) {
259
271
  return this.request("RemoveUser", req, cb);
260
272
  }
273
+ /**
274
+ * 接口说明:结束云端混流
275
+ */
276
+ async StopMCUMixTranscode(req, cb) {
277
+ return this.request("StopMCUMixTranscode", req, cb);
278
+ }
261
279
  /**
262
280
  * 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
263
281
  */
@@ -32,22 +32,21 @@ export interface CreatePictureRequest {
32
32
  YPosition: number;
33
33
  }
34
34
  /**
35
- * DescribeRelayUsage请求参数结构体
35
+ * 音频转码参数
36
36
  */
37
- export interface DescribeRelayUsageRequest {
37
+ export interface AudioEncodeParams {
38
38
  /**
39
- * 查询开始时间,格式为YYYY-MM-DD
39
+ * 音频采样率,取值为[48000, 44100],单位是Hz
40
40
  */
41
- StartTime: string;
41
+ SampleRate: number;
42
42
  /**
43
- * 查询结束时间,格式为YYYY-MM-DD。
44
- 单次查询统计区间最多不能超过31天。
43
+ * 音频声道数,取值范围[1,2],1表示音频为单声道,2表示音频为双声道。
45
44
  */
46
- EndTime: string;
45
+ Channel: number;
47
46
  /**
48
- * TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
47
+ * 音频码率,取值范围[8,500],单位为kbps。
49
48
  */
50
- SdkAppId?: number;
49
+ BitRate: number;
51
50
  }
52
51
  /**
53
52
  * DescribeTRTCMarketQualityMetricData返回参数结构体
@@ -371,6 +370,31 @@ export interface DescribeTRTCRealTimeScaleMetricDataRequest {
371
370
  */
372
371
  RoomId?: string;
373
372
  }
373
+ /**
374
+ * 视频转码参数
375
+ */
376
+ export interface VideoEncodeParams {
377
+ /**
378
+ * 宽。取值范围[0,1920],单位为像素值。
379
+ */
380
+ Width: number;
381
+ /**
382
+ * 高。取值范围[0,1080],单位为像素值。
383
+ */
384
+ Height: number;
385
+ /**
386
+ * 帧率。取值范围[1,60],表示帧率可选范围为1到60fps。
387
+ */
388
+ Fps: number;
389
+ /**
390
+ * 码率。取值范围[1,10000],单位为kbps。
391
+ */
392
+ BitRate: number;
393
+ /**
394
+ * gop。取值范围[1,2],单位为秒。
395
+ */
396
+ Gop: number;
397
+ }
374
398
  /**
375
399
  * DescribeUserEvent返回参数结构体
376
400
  */
@@ -633,6 +657,24 @@ export interface DescribeUserInfoRequest {
633
657
  */
634
658
  PageSize?: number;
635
659
  }
660
+ /**
661
+ * DescribeRelayUsage请求参数结构体
662
+ */
663
+ export interface DescribeRelayUsageRequest {
664
+ /**
665
+ * 查询开始时间,格式为YYYY-MM-DD。
666
+ */
667
+ StartTime: string;
668
+ /**
669
+ * 查询结束时间,格式为YYYY-MM-DD。
670
+ 单次查询统计区间最多不能超过31天。
671
+ */
672
+ EndTime: string;
673
+ /**
674
+ * TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
675
+ */
676
+ SdkAppId?: number;
677
+ }
636
678
  /**
637
679
  * MCU混流水印参数
638
680
  */
@@ -1007,6 +1049,22 @@ export interface DescribeMixTranscodingUsageRequest {
1007
1049
  */
1008
1050
  SdkAppId?: number;
1009
1051
  }
1052
+ /**
1053
+ * DescribeStreamIngest返回参数结构体
1054
+ */
1055
+ export interface DescribeStreamIngestResponse {
1056
+ /**
1057
+ * 任务的状态信息。
1058
+ InProgress:表示当前任务正在进行中。
1059
+ NotExist:表示当前任务不存在。
1060
+ 示例值:InProgress
1061
+ */
1062
+ Status?: string;
1063
+ /**
1064
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1065
+ */
1066
+ RequestId?: string;
1067
+ }
1010
1068
  /**
1011
1069
  * 录制的音视频转码参数。
1012
1070
  */
@@ -1020,6 +1078,19 @@ export interface MixTranscodeParams {
1020
1078
  */
1021
1079
  AudioParams?: AudioParams;
1022
1080
  }
1081
+ /**
1082
+ * StopStreamIngest请求参数结构体
1083
+ */
1084
+ export interface StopStreamIngestRequest {
1085
+ /**
1086
+ * TRTC的SDKAppId,和任务的房间所对应的SDKAppId相同。
1087
+ */
1088
+ SdkAppId: number;
1089
+ /**
1090
+ * 任务的唯一Id,在启动任务成功后会返回。
1091
+ */
1092
+ TaskId: string;
1093
+ }
1023
1094
  /**
1024
1095
  * DescribeTRTCMarketQualityData返回参数结构体
1025
1096
  */
@@ -1468,6 +1539,50 @@ export interface DescribeRelayUsageResponse {
1468
1539
  */
1469
1540
  RequestId?: string;
1470
1541
  }
1542
+ /**
1543
+ * StartStreamIngest请求参数结构体
1544
+ */
1545
+ export interface StartStreamIngestRequest {
1546
+ /**
1547
+ * TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和录制的房间所对应的SdkAppId相同。
1548
+ */
1549
+ SdkAppId: number;
1550
+ /**
1551
+ * TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。
1552
+ */
1553
+ RoomId: string;
1554
+ /**
1555
+ * TRTC房间号的类型。
1556
+ 【*注意】必须和录制的房间所对应的RoomId类型相同:
1557
+ 0: 字符串类型的RoomId
1558
+ 1: 32位整型的RoomId(默认)
1559
+ */
1560
+ RoomIdType: number;
1561
+ /**
1562
+ * 拉流转推机器人的UserId,用于进房发起拉流转推任务。
1563
+ */
1564
+ UserId: string;
1565
+ /**
1566
+ * 拉流转推机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
1567
+ */
1568
+ UserSig: string;
1569
+ /**
1570
+ * 源流URL。示例值:https://a.b/test.mp4
1571
+ */
1572
+ SourceUrl: Array<string>;
1573
+ /**
1574
+ * TRTC房间权限加密串,只有在TRTC控制台启用了高级权限控制的时候需要携带,在TRTC控制台如果开启高级权限控制后,TRTC 的后台服务系统会校验一个叫做 [PrivateMapKey] 的“权限票据”,权限票据中包含了一个加密后的 RoomId 和一个加密后的“权限位列表”。由于 PrivateMapKey 中包含 RoomId,所以只提供了 UserSig 没有提供 PrivateMapKey 时,并不能进入指定的房间。
1575
+ */
1576
+ PrivateMapKey?: string;
1577
+ /**
1578
+ * 视频编码参数。可选,如果不填,保持原始流的参数。
1579
+ */
1580
+ VideoEncodeParams?: VideoEncodeParams;
1581
+ /**
1582
+ * 音频编码参数。可选,如果不填,保持原始流的参数。
1583
+ */
1584
+ AudioEncodeParams?: AudioEncodeParams;
1585
+ }
1471
1586
  /**
1472
1587
  * DescribeRecordingUsage返回参数结构体
1473
1588
  */
@@ -2248,6 +2363,19 @@ export interface CreateCloudRecordingResponse {
2248
2363
  */
2249
2364
  RequestId?: string;
2250
2365
  }
2366
+ /**
2367
+ * StartStreamIngest返回参数结构体
2368
+ */
2369
+ export interface StartStreamIngestResponse {
2370
+ /**
2371
+ * 拉流转推的任务 ID。任务 ID 是对一次拉流转推生命周期过程的唯一标识,结束任务时会失去意义。任务 ID 需要业务保存下来,作为下次针对这个任务操作的参数。
2372
+ */
2373
+ TaskId?: string;
2374
+ /**
2375
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2376
+ */
2377
+ RequestId?: string;
2378
+ }
2251
2379
  /**
2252
2380
  * StartMCUMixTranscode返回参数结构体
2253
2381
  */
@@ -2535,6 +2663,15 @@ export interface DismissRoomResponse {
2535
2663
  */
2536
2664
  RequestId?: string;
2537
2665
  }
2666
+ /**
2667
+ * StopStreamIngest返回参数结构体
2668
+ */
2669
+ export interface StopStreamIngestResponse {
2670
+ /**
2671
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2672
+ */
2673
+ RequestId?: string;
2674
+ }
2538
2675
  /**
2539
2676
  * TRTC用户参数。
2540
2677
  */
@@ -2832,6 +2969,19 @@ export interface RecordParams {
2832
2969
  */
2833
2970
  MediaId?: number;
2834
2971
  }
2972
+ /**
2973
+ * DescribeStreamIngest请求参数结构体
2974
+ */
2975
+ export interface DescribeStreamIngestRequest {
2976
+ /**
2977
+ * TRTC的SDKAppId,和任务的房间所对应的SDKAppId相同
2978
+ */
2979
+ SdkAppId: number;
2980
+ /**
2981
+ * 任务的唯一Id,在启动任务成功后会返回。
2982
+ */
2983
+ TaskId: string;
2984
+ }
2835
2985
  /**
2836
2986
  * DescribeTRTCMarketScaleMetricData返回参数结构体
2837
2987
  */
@@ -68,9 +68,9 @@ it("cat.v20180409.DescribeNodes", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("cat.v20180409.DescribeProbeNodes", async function () {
71
+ it("cat.v20180409.DescribeInstantTasks", async function () {
72
72
  try {
73
- const data = await client.DescribeProbeNodes({})
73
+ const data = await client.DescribeInstantTasks({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -98,6 +98,16 @@ it("cat.v20180409.CreateProbeTasks", async function () {
98
98
  }
99
99
  })
100
100
 
101
+ it("cat.v20180409.DescribeProbeNodes", async function () {
102
+ try {
103
+ const data = await client.DescribeProbeNodes({})
104
+ expect(data).to.be.ok
105
+ } catch(error) {
106
+ expect(error.requestId).to.be.ok
107
+ expect(error.code).to.be.ok
108
+ }
109
+ })
110
+
101
111
  it("cat.v20180409.DescribeDetailedSingleProbeData", async function () {
102
112
  try {
103
113
  const data = await client.DescribeDetailedSingleProbeData({})
@@ -138,6 +138,16 @@ it("teo.v20220901.ModifyHostsCertificate", async function () {
138
138
  }
139
139
  })
140
140
 
141
+ it("teo.v20220901.DescribeDeployHistory", async function () {
142
+ try {
143
+ const data = await client.DescribeDeployHistory({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
141
151
  it("teo.v20220901.CreateRule", async function () {
142
152
  try {
143
153
  const data = await client.CreateRule({})
@@ -148,9 +158,9 @@ it("teo.v20220901.CreateRule", async function () {
148
158
  }
149
159
  })
150
160
 
151
- it("teo.v20220901.CreatePlanForZone", async function () {
161
+ it("teo.v20220901.CreateConfigGroupVersion", async function () {
152
162
  try {
153
- const data = await client.CreatePlanForZone({})
163
+ const data = await client.CreateConfigGroupVersion({})
154
164
  expect(data).to.be.ok
155
165
  } catch(error) {
156
166
  expect(error.requestId).to.be.ok
@@ -328,6 +338,16 @@ it("teo.v20220901.DescribeAccelerationDomains", async function () {
328
338
  }
329
339
  })
330
340
 
341
+ it("teo.v20220901.DescribeConfigGroupVersions", async function () {
342
+ try {
343
+ const data = await client.DescribeConfigGroupVersions({})
344
+ expect(data).to.be.ok
345
+ } catch(error) {
346
+ expect(error.requestId).to.be.ok
347
+ expect(error.code).to.be.ok
348
+ }
349
+ })
350
+
331
351
  it("teo.v20220901.ModifyOriginGroup", async function () {
332
352
  try {
333
353
  const data = await client.ModifyOriginGroup({})
@@ -358,6 +378,16 @@ it("teo.v20220901.CreateApplicationProxyRule", async function () {
358
378
  }
359
379
  })
360
380
 
381
+ it("teo.v20220901.DescribeOverviewL7Data", async function () {
382
+ try {
383
+ const data = await client.DescribeOverviewL7Data({})
384
+ expect(data).to.be.ok
385
+ } catch(error) {
386
+ expect(error.requestId).to.be.ok
387
+ expect(error.code).to.be.ok
388
+ }
389
+ })
390
+
361
391
  it("teo.v20220901.DescribePrefetchTasks", async function () {
362
392
  try {
363
393
  const data = await client.DescribePrefetchTasks({})
@@ -448,6 +478,16 @@ it("teo.v20220901.DownloadL7Logs", async function () {
448
478
  }
449
479
  })
450
480
 
481
+ it("teo.v20220901.DescribeEnvironments", async function () {
482
+ try {
483
+ const data = await client.DescribeEnvironments({})
484
+ expect(data).to.be.ok
485
+ } catch(error) {
486
+ expect(error.requestId).to.be.ok
487
+ expect(error.code).to.be.ok
488
+ }
489
+ })
490
+
451
491
  it("teo.v20220901.DeleteApplicationProxyRule", async function () {
452
492
  try {
453
493
  const data = await client.DeleteApplicationProxyRule({})
@@ -578,9 +618,9 @@ it("teo.v20220901.DeleteAliasDomain", async function () {
578
618
  }
579
619
  })
580
620
 
581
- it("teo.v20220901.DescribeOverviewL7Data", async function () {
621
+ it("teo.v20220901.DescribeDDoSAttackEvent", async function () {
582
622
  try {
583
- const data = await client.DescribeOverviewL7Data({})
623
+ const data = await client.DescribeDDoSAttackEvent({})
584
624
  expect(data).to.be.ok
585
625
  } catch(error) {
586
626
  expect(error.requestId).to.be.ok
@@ -618,6 +658,16 @@ it("teo.v20220901.DescribeAliasDomains", async function () {
618
658
  }
619
659
  })
620
660
 
661
+ it("teo.v20220901.ModifyAliasDomain", async function () {
662
+ try {
663
+ const data = await client.ModifyAliasDomain({})
664
+ expect(data).to.be.ok
665
+ } catch(error) {
666
+ expect(error.requestId).to.be.ok
667
+ expect(error.code).to.be.ok
668
+ }
669
+ })
670
+
621
671
  it("teo.v20220901.ModifyAccelerationDomain", async function () {
622
672
  try {
623
673
  const data = await client.ModifyAccelerationDomain({})
@@ -658,9 +708,9 @@ it("teo.v20220901.CreateApplicationProxy", async function () {
658
708
  }
659
709
  })
660
710
 
661
- it("teo.v20220901.DescribeDDoSAttackEvent", async function () {
711
+ it("teo.v20220901.DescribeConfigGroupVersionDetail", async function () {
662
712
  try {
663
- const data = await client.DescribeDDoSAttackEvent({})
713
+ const data = await client.DescribeConfigGroupVersionDetail({})
664
714
  expect(data).to.be.ok
665
715
  } catch(error) {
666
716
  expect(error.requestId).to.be.ok
@@ -698,9 +748,19 @@ it("teo.v20220901.DescribeTimingL7AnalysisData", async function () {
698
748
  }
699
749
  })
700
750
 
701
- it("teo.v20220901.ModifyAliasDomain", async function () {
751
+ it("teo.v20220901.DeployConfigGroupVersion", async function () {
702
752
  try {
703
- const data = await client.ModifyAliasDomain({})
753
+ const data = await client.DeployConfigGroupVersion({})
754
+ expect(data).to.be.ok
755
+ } catch(error) {
756
+ expect(error.requestId).to.be.ok
757
+ expect(error.code).to.be.ok
758
+ }
759
+ })
760
+
761
+ it("teo.v20220901.DescribeApplicationProxies", async function () {
762
+ try {
763
+ const data = await client.DescribeApplicationProxies({})
704
764
  expect(data).to.be.ok
705
765
  } catch(error) {
706
766
  expect(error.requestId).to.be.ok
@@ -718,9 +778,9 @@ it("teo.v20220901.ModifyApplicationProxyRuleStatus", async function () {
718
778
  }
719
779
  })
720
780
 
721
- it("teo.v20220901.DescribeApplicationProxies", async function () {
781
+ it("teo.v20220901.CreatePlanForZone", async function () {
722
782
  try {
723
- const data = await client.DescribeApplicationProxies({})
783
+ const data = await client.CreatePlanForZone({})
724
784
  expect(data).to.be.ok
725
785
  } catch(error) {
726
786
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("trtc.v20190722.DescribeCallDetailInfo", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("trtc.v20190722.StopMCUMixTranscode", async function () {
71
+ it("trtc.v20190722.DescribeStreamIngest", async function () {
72
72
  try {
73
- const data = await client.StopMCUMixTranscode({})
73
+ const data = await client.DescribeStreamIngest({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -88,6 +88,16 @@ it("trtc.v20190722.DescribeTRTCMarketScaleMetricData", async function () {
88
88
  }
89
89
  })
90
90
 
91
+ it("trtc.v20190722.StopStreamIngest", async function () {
92
+ try {
93
+ const data = await client.StopStreamIngest({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
91
101
  it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
92
102
  try {
93
103
  const data = await client.StartMCUMixTranscodeByStrRoomId({})
@@ -98,6 +108,16 @@ it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
98
108
  }
99
109
  })
100
110
 
111
+ it("trtc.v20190722.StartStreamIngest", async function () {
112
+ try {
113
+ const data = await client.StartStreamIngest({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
101
121
  it("trtc.v20190722.DeletePicture", async function () {
102
122
  try {
103
123
  const data = await client.DeletePicture({})
@@ -148,6 +168,16 @@ it("trtc.v20190722.RemoveUser", async function () {
148
168
  }
149
169
  })
150
170
 
171
+ it("trtc.v20190722.StopMCUMixTranscode", async function () {
172
+ try {
173
+ const data = await client.StopMCUMixTranscode({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
151
181
  it("trtc.v20190722.ModifyCloudRecording", async function () {
152
182
  try {
153
183
  const data = await client.ModifyCloudRecording({})