tencentcloud-sdk-nodejs 4.0.981 → 4.0.982
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/CHANGELOG.md +236 -0
- package/SERVICE_CHANGELOG.md +305 -174
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +47 -22
- package/src/services/apigateway/v20180808/apigateway_models.ts +187 -81
- package/src/services/as/v20180419/as_models.ts +7 -6
- package/src/services/bi/v20220105/bi_client.ts +37 -9
- package/src/services/bi/v20220105/bi_models.ts +240 -47
- package/src/services/billing/v20180709/billing_models.ts +46 -37
- package/src/services/bpaas/v20181217/bpaas_models.ts +20 -20
- package/src/services/cam/v20190116/cam_models.ts +27 -27
- package/src/services/cdwch/v20200915/cdwch_models.ts +1 -1
- package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +40 -120
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +5 -2
- package/src/services/config/v20220802/config_client.ts +29 -3
- package/src/services/config/v20220802/config_models.ts +226 -41
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/gwlb/v20240906/gwlb_models.ts +1 -1
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +2 -2
- package/src/services/ivld/v20210903/ivld_client.ts +0 -1
- package/src/services/ivld/v20210903/ivld_models.ts +1 -1
- package/src/services/lcic/v20220817/lcic_client.ts +25 -1
- package/src/services/lcic/v20220817/lcic_models.ts +240 -104
- package/src/services/lke/v20231130/lke_client.ts +1 -1
- package/src/services/mps/v20190612/mps_models.ts +0 -1
- package/src/services/ocr/v20181119/ocr_client.ts +901 -992
- package/src/services/ocr/v20181119/ocr_models.ts +67 -592
- package/src/services/organization/v20181225/organization_models.ts +20 -20
- package/src/services/organization/v20210331/organization_models.ts +42 -206
- package/src/services/trtc/v20190722/trtc_client.ts +32 -7
- package/src/services/trtc/v20190722/trtc_models.ts +106 -42
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +16 -8
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +22 -10
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +182 -81
- package/tencentcloud/services/as/v20180419/as_models.d.ts +7 -6
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +11 -3
- package/tencentcloud/services/bi/v20220105/bi_client.js +15 -3
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +231 -46
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +39 -30
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +20 -20
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +27 -27
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +1 -1
- package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +40 -120
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -2
- package/tencentcloud/services/config/v20220802/config_client.d.ts +9 -1
- package/tencentcloud/services/config/v20220802/config_client.js +12 -0
- package/tencentcloud/services/config/v20220802/config_models.d.ts +219 -40
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +2 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +0 -1
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +0 -1
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +236 -104
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +0 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +533 -567
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +688 -736
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +56 -566
- package/tencentcloud/services/organization/v20181225/organization_models.d.ts +20 -20
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +41 -205
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +12 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +16 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +102 -42
- package/test/apigateway.v20180808.test.js +32 -12
- package/test/bi.v20220105.test.js +22 -2
- package/test/config.v20220802.test.js +20 -0
- package/test/lcic.v20220817.test.js +20 -0
- package/test/ocr.v20181119.test.js +158 -228
- package/test/trtc.v20190722.test.js +22 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, ControlAIConversationResponse, StopAITranscriptionRequest, UpdateAIConversationResponse, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeUserInfoRequest, DescribeTRTCMarketQualityDataResponse, DescribeRelayUsageRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeWebRecordRequest, DescribeTRTCRealTimeScaleDataResponse, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeStreamIngestResponse, StopStreamIngestRequest, DescribeTRTCRealTimeQualityDataRequest, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeAITranscriptionRequest, DescribeAIConversationResponse, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeTRTCRealTimeScaleMetricDataResponse, UpdateStreamIngestResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, DescribeRecordingUsageResponse, StopMCUMixTranscodeRequest, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DismissRoomRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DescribeTRTCRealTimeQualityMetricDataResponse, StartWebRecordResponse, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, StartAIConversationRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StopAIConversationResponse, StartPublishCdnStreamRequest, DescribeAIConversationRequest, CreateCloudRecordingResponse, StartStreamIngestResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, ControlAIConversationRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, StartAITranscriptionRequest, DismissRoomResponse, StopStreamIngestResponse, DescribeTRTCMarketQualityDataRequest, UpdatePublishCdnStreamRequest, StartWebRecordRequest, UpdateStreamIngestRequest, StopWebRecordResponse, DeletePictureRequest, StopWebRecordRequest, StopAIConversationRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DescribeStreamIngestRequest, DescribeTRTCMarketScaleMetricDataResponse, StopAITranscriptionResponse, DescribeAITranscriptionResponse, UpdateAIConversationRequest, CreatePictureResponse, StartAITranscriptionResponse, RemoveUserResponse } from "./trtc_models";
|
|
3
|
+
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, ControlAIConversationResponse, StopAITranscriptionRequest, UpdateAIConversationResponse, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeUserInfoRequest, DescribeTRTCMarketQualityDataResponse, DescribeRelayUsageRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeWebRecordRequest, DescribeTRTCRealTimeScaleDataResponse, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, CreateBasicModerationRequest, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeStreamIngestResponse, StopStreamIngestRequest, DescribeTRTCRealTimeQualityDataRequest, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeAITranscriptionRequest, CreateBasicModerationResponse, DescribeAIConversationResponse, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeTRTCRealTimeScaleMetricDataResponse, UpdateStreamIngestResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, DescribeRecordingUsageResponse, StopMCUMixTranscodeRequest, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DismissRoomRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DescribeTRTCRealTimeQualityMetricDataResponse, StartWebRecordResponse, CreateCloudRecordingRequest, DeleteBasicModerationRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, StartAIConversationRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StopAIConversationResponse, StartPublishCdnStreamRequest, DescribeAIConversationRequest, CreateCloudRecordingResponse, StartStreamIngestResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, ControlAIConversationRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, StartAITranscriptionRequest, DismissRoomResponse, StopStreamIngestResponse, DescribeTRTCMarketQualityDataRequest, UpdatePublishCdnStreamRequest, StartWebRecordRequest, UpdateStreamIngestRequest, StopWebRecordResponse, DeletePictureRequest, StopWebRecordRequest, StopAIConversationRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DeleteBasicModerationResponse, DescribeStreamIngestRequest, DescribeTRTCMarketScaleMetricDataResponse, StopAITranscriptionResponse, DescribeAITranscriptionResponse, UpdateAIConversationRequest, CreatePictureResponse, StartAITranscriptionResponse, RemoveUserResponse } from "./trtc_models";
|
|
4
4
|
/**
|
|
5
5
|
* trtc client
|
|
6
6
|
* @class
|
|
@@ -29,6 +29,11 @@ export declare class Client extends AbstractClient {
|
|
|
29
29
|
- 默认接口请求频率限制:5次/秒。
|
|
30
30
|
*/
|
|
31
31
|
DescribeTrtcUsage(req: DescribeTrtcUsageRequest, cb?: (error: string, rep: DescribeTrtcUsageResponse) => void): Promise<DescribeTrtcUsageResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* 接口说明:
|
|
34
|
+
启动终端审核功能,完成房间内的音频审核。
|
|
35
|
+
*/
|
|
36
|
+
CreateBasicModeration(req: CreateBasicModerationRequest, cb?: (error: string, rep: CreateBasicModerationResponse) => void): Promise<CreateBasicModerationResponse>;
|
|
32
37
|
/**
|
|
33
38
|
* 停止AI对话任务
|
|
34
39
|
*/
|
|
@@ -159,9 +164,9 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
159
164
|
*/
|
|
160
165
|
RemoveUser(req: RemoveUserRequest, cb?: (error: string, rep: RemoveUserResponse) => void): Promise<RemoveUserResponse>;
|
|
161
166
|
/**
|
|
162
|
-
*
|
|
167
|
+
* 成功开启审核任务后,可以使用此接口来停止任务。
|
|
163
168
|
*/
|
|
164
|
-
|
|
169
|
+
DeleteBasicModeration(req: DeleteBasicModerationRequest, cb?: (error: string, rep: DeleteBasicModerationResponse) => void): Promise<DeleteBasicModerationResponse>;
|
|
165
170
|
/**
|
|
166
171
|
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
167
172
|
*/
|
|
@@ -400,4 +405,8 @@ xa0
|
|
|
400
405
|
3.除此之外您也可以通过订阅TRTC包月套餐(https://buy.cloud.tencent.com/trtc)尊享版或旗舰版解锁此接口(DescribeTRTCRealTimeScaleMetricData)的调用能力,请在开通包月套餐后,请提交工单联系售后解锁调用能力https://console.cloud.tencent.com/workorder/category
|
|
401
406
|
*/
|
|
402
407
|
DescribeTRTCRealTimeScaleMetricData(req: DescribeTRTCRealTimeScaleMetricDataRequest, cb?: (error: string, rep: DescribeTRTCRealTimeScaleMetricDataResponse) => void): Promise<DescribeTRTCRealTimeScaleMetricDataResponse>;
|
|
408
|
+
/**
|
|
409
|
+
* 接口说明:结束云端混流
|
|
410
|
+
*/
|
|
411
|
+
StopMCUMixTranscode(req: StopMCUMixTranscodeRequest, cb?: (error: string, rep: StopMCUMixTranscodeResponse) => void): Promise<StopMCUMixTranscodeResponse>;
|
|
403
412
|
}
|
|
@@ -55,6 +55,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
55
55
|
async DescribeTrtcUsage(req, cb) {
|
|
56
56
|
return this.request("DescribeTrtcUsage", req, cb);
|
|
57
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* 接口说明:
|
|
60
|
+
启动终端审核功能,完成房间内的音频审核。
|
|
61
|
+
*/
|
|
62
|
+
async CreateBasicModeration(req, cb) {
|
|
63
|
+
return this.request("CreateBasicModeration", req, cb);
|
|
64
|
+
}
|
|
58
65
|
/**
|
|
59
66
|
* 停止AI对话任务
|
|
60
67
|
*/
|
|
@@ -219,10 +226,10 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
219
226
|
return this.request("RemoveUser", req, cb);
|
|
220
227
|
}
|
|
221
228
|
/**
|
|
222
|
-
*
|
|
229
|
+
* 成功开启审核任务后,可以使用此接口来停止任务。
|
|
223
230
|
*/
|
|
224
|
-
async
|
|
225
|
-
return this.request("
|
|
231
|
+
async DeleteBasicModeration(req, cb) {
|
|
232
|
+
return this.request("DeleteBasicModeration", req, cb);
|
|
226
233
|
}
|
|
227
234
|
/**
|
|
228
235
|
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
@@ -530,5 +537,11 @@ xa0
|
|
|
530
537
|
async DescribeTRTCRealTimeScaleMetricData(req, cb) {
|
|
531
538
|
return this.request("DescribeTRTCRealTimeScaleMetricData", req, cb);
|
|
532
539
|
}
|
|
540
|
+
/**
|
|
541
|
+
* 接口说明:结束云端混流
|
|
542
|
+
*/
|
|
543
|
+
async StopMCUMixTranscode(req, cb) {
|
|
544
|
+
return this.request("StopMCUMixTranscode", req, cb);
|
|
545
|
+
}
|
|
533
546
|
}
|
|
534
547
|
exports.Client = Client;
|
|
@@ -1166,6 +1166,27 @@ export interface StorageParams {
|
|
|
1166
1166
|
*/
|
|
1167
1167
|
CloudVod?: CloudVod;
|
|
1168
1168
|
}
|
|
1169
|
+
/**
|
|
1170
|
+
* CreateBasicModeration请求参数结构体
|
|
1171
|
+
*/
|
|
1172
|
+
export interface CreateBasicModerationRequest {
|
|
1173
|
+
/**
|
|
1174
|
+
* TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和TRTC的房间所对应的SdkAppId相同。
|
|
1175
|
+
*/
|
|
1176
|
+
SdkAppId: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),为TRTC房间所对应的RoomId。
|
|
1179
|
+
*/
|
|
1180
|
+
RoomId: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* 目标审核用户id
|
|
1183
|
+
*/
|
|
1184
|
+
UserId: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* TRTC房间号的类型。【*注意】必须和TRTC的房间所对应的RoomId类型相同:0: 字符串类型的RoomId1: 32位整型的RoomId(默认)
|
|
1187
|
+
*/
|
|
1188
|
+
RoomIdType?: number;
|
|
1189
|
+
}
|
|
1169
1190
|
/**
|
|
1170
1191
|
* 点播相关参数。
|
|
1171
1192
|
*/
|
|
@@ -1609,6 +1630,19 @@ export interface DescribeAITranscriptionRequest {
|
|
|
1609
1630
|
*/
|
|
1610
1631
|
SessionId?: string;
|
|
1611
1632
|
}
|
|
1633
|
+
/**
|
|
1634
|
+
* CreateBasicModeration返回参数结构体
|
|
1635
|
+
*/
|
|
1636
|
+
export interface CreateBasicModerationResponse {
|
|
1637
|
+
/**
|
|
1638
|
+
* 审核服务分配的任务ID。任务ID是对一次审核任务生命周期过程的唯一标识,结束任务时会失去意义。任务ID需要业务保存下来,作为下次针对这个任务操作的参数
|
|
1639
|
+
*/
|
|
1640
|
+
TaskId?: string;
|
|
1641
|
+
/**
|
|
1642
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1643
|
+
*/
|
|
1644
|
+
RequestId?: string;
|
|
1645
|
+
}
|
|
1612
1646
|
/**
|
|
1613
1647
|
* 查询旁路转码计费时长。
|
|
1614
1648
|
查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -2443,6 +2477,55 @@ export interface TencentVod {
|
|
|
2443
2477
|
*/
|
|
2444
2478
|
UserDefineRecordId?: string;
|
|
2445
2479
|
}
|
|
2480
|
+
/**
|
|
2481
|
+
* 云端录制控制参数。
|
|
2482
|
+
*/
|
|
2483
|
+
export interface RecordParams {
|
|
2484
|
+
/**
|
|
2485
|
+
* 录制模式:
|
|
2486
|
+
1:单流录制,分别录制房间的订阅UserId的音频和视频,将录制文件上传至云存储;
|
|
2487
|
+
2:合流录制,将房间内订阅UserId的音视频混录成一个音视频文件,将录制文件上传至云存储;
|
|
2488
|
+
*/
|
|
2489
|
+
RecordMode: number;
|
|
2490
|
+
/**
|
|
2491
|
+
* 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
|
|
2492
|
+
*/
|
|
2493
|
+
MaxIdleTime?: number;
|
|
2494
|
+
/**
|
|
2495
|
+
* 录制的媒体流类型:
|
|
2496
|
+
0:录制音频+视频流(默认);
|
|
2497
|
+
1:仅录制音频流;
|
|
2498
|
+
2:仅录制视频流,
|
|
2499
|
+
*/
|
|
2500
|
+
StreamType?: number;
|
|
2501
|
+
/**
|
|
2502
|
+
* 指定订阅流白名单或者黑名单。
|
|
2503
|
+
*/
|
|
2504
|
+
SubscribeStreamUserIds?: SubscribeStreamUserIds;
|
|
2505
|
+
/**
|
|
2506
|
+
* 输出文件的格式(存储至COS等第三方存储时有效)。0:(默认)输出文件为hls格式。1:输出文件格式为hls+mp4。2:输出文件格式为hls+aac 。3:输出文件格式为mp4。4:输出文件格式为aac。
|
|
2507
|
+
|
|
2508
|
+
存储到云点播VOD时此参数无效,存储到VOD时请通过TencentVod(https://cloud.tencent.com/document/api/647/44055#TencentVod)内的MediaType设置。
|
|
2509
|
+
*/
|
|
2510
|
+
OutputFormat?: number;
|
|
2511
|
+
/**
|
|
2512
|
+
* 单流录制模式下,用户的音视频是否合并,0:单流音视频不合并(默认)。1:单流音视频合并成一个ts。合流录制此参数无需设置,默认音视频合并。
|
|
2513
|
+
*/
|
|
2514
|
+
AvMerge?: number;
|
|
2515
|
+
/**
|
|
2516
|
+
* 如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】
|
|
2517
|
+
Hls 格式录制此参数不生效。
|
|
2518
|
+
*/
|
|
2519
|
+
MaxMediaFileDuration?: number;
|
|
2520
|
+
/**
|
|
2521
|
+
* 指定录制主辅流,0:主流+辅流(默认);1:主流;2:辅流。
|
|
2522
|
+
*/
|
|
2523
|
+
MediaId?: number;
|
|
2524
|
+
/**
|
|
2525
|
+
* 上行视频停止时,录制的补帧类型,0:补最后一帧 1:补黑帧
|
|
2526
|
+
*/
|
|
2527
|
+
FillType?: number;
|
|
2528
|
+
}
|
|
2446
2529
|
/**
|
|
2447
2530
|
* 自定义透传SEI
|
|
2448
2531
|
*/
|
|
@@ -2646,6 +2729,19 @@ export interface OutputParams {
|
|
|
2646
2729
|
*/
|
|
2647
2730
|
RecordAudioOnly?: number;
|
|
2648
2731
|
}
|
|
2732
|
+
/**
|
|
2733
|
+
* DeleteBasicModeration请求参数结构体
|
|
2734
|
+
*/
|
|
2735
|
+
export interface DeleteBasicModerationRequest {
|
|
2736
|
+
/**
|
|
2737
|
+
* TRTC的SDKAppId,和TRTC的房间所对应的SDKAppId相同。
|
|
2738
|
+
*/
|
|
2739
|
+
SdkAppId: number;
|
|
2740
|
+
/**
|
|
2741
|
+
* 审核任务的唯一Id,在启动审核任务成功后会返回。
|
|
2742
|
+
*/
|
|
2743
|
+
TaskId: string;
|
|
2744
|
+
}
|
|
2649
2745
|
/**
|
|
2650
2746
|
* DeleteCloudRecording返回参数结构体
|
|
2651
2747
|
*/
|
|
@@ -3755,53 +3851,17 @@ export interface RemoveUserByStrRoomIdRequest {
|
|
|
3755
3851
|
UserIds: Array<string>;
|
|
3756
3852
|
}
|
|
3757
3853
|
/**
|
|
3758
|
-
*
|
|
3854
|
+
* DeleteBasicModeration返回参数结构体
|
|
3759
3855
|
*/
|
|
3760
|
-
export interface
|
|
3761
|
-
/**
|
|
3762
|
-
* 录制模式:
|
|
3763
|
-
1:单流录制,分别录制房间的订阅UserId的音频和视频,将录制文件上传至云存储;
|
|
3764
|
-
2:合流录制,将房间内订阅UserId的音视频混录成一个音视频文件,将录制文件上传至云存储;
|
|
3765
|
-
*/
|
|
3766
|
-
RecordMode: number;
|
|
3767
|
-
/**
|
|
3768
|
-
* 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
|
|
3769
|
-
*/
|
|
3770
|
-
MaxIdleTime?: number;
|
|
3771
|
-
/**
|
|
3772
|
-
* 录制的媒体流类型:
|
|
3773
|
-
0:录制音频+视频流(默认);
|
|
3774
|
-
1:仅录制音频流;
|
|
3775
|
-
2:仅录制视频流,
|
|
3776
|
-
*/
|
|
3777
|
-
StreamType?: number;
|
|
3778
|
-
/**
|
|
3779
|
-
* 指定订阅流白名单或者黑名单。
|
|
3780
|
-
*/
|
|
3781
|
-
SubscribeStreamUserIds?: SubscribeStreamUserIds;
|
|
3782
|
-
/**
|
|
3783
|
-
* 输出文件的格式(存储至COS等第三方存储时有效)。0:(默认)输出文件为hls格式。1:输出文件格式为hls+mp4。2:输出文件格式为hls+aac 。3:输出文件格式为mp4。4:输出文件格式为aac。
|
|
3784
|
-
|
|
3785
|
-
存储到云点播VOD时此参数无效,存储到VOD时请通过TencentVod(https://cloud.tencent.com/document/api/647/44055#TencentVod)内的MediaType设置。
|
|
3786
|
-
*/
|
|
3787
|
-
OutputFormat?: number;
|
|
3856
|
+
export interface DeleteBasicModerationResponse {
|
|
3788
3857
|
/**
|
|
3789
|
-
*
|
|
3790
|
-
*/
|
|
3791
|
-
AvMerge?: number;
|
|
3792
|
-
/**
|
|
3793
|
-
* 如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】
|
|
3794
|
-
Hls 格式录制此参数不生效。
|
|
3795
|
-
*/
|
|
3796
|
-
MaxMediaFileDuration?: number;
|
|
3797
|
-
/**
|
|
3798
|
-
* 指定录制主辅流,0:主流+辅流(默认);1:主流;2:辅流。
|
|
3858
|
+
* 审核任务的唯一Id,在启动审核任务成功后会返回。
|
|
3799
3859
|
*/
|
|
3800
|
-
|
|
3860
|
+
TaskId?: string;
|
|
3801
3861
|
/**
|
|
3802
|
-
*
|
|
3862
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3803
3863
|
*/
|
|
3804
|
-
|
|
3864
|
+
RequestId?: string;
|
|
3805
3865
|
}
|
|
3806
3866
|
/**
|
|
3807
3867
|
* DescribeStreamIngest请求参数结构体
|
|
@@ -238,6 +238,16 @@ it("apigateway.v20180808.DescribeApiApp", async function () {
|
|
|
238
238
|
}
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
+
it("apigateway.v20180808.ModifyUsagePlan", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.ModifyUsagePlan({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
241
251
|
it("apigateway.v20180808.DescribeUpstreams", async function () {
|
|
242
252
|
try {
|
|
243
253
|
const data = await client.DescribeUpstreams({})
|
|
@@ -358,9 +368,19 @@ it("apigateway.v20180808.UpdateApiAppKey", async function () {
|
|
|
358
368
|
}
|
|
359
369
|
})
|
|
360
370
|
|
|
361
|
-
it("apigateway.v20180808.
|
|
371
|
+
it("apigateway.v20180808.CreateExclusiveInstances", async function () {
|
|
362
372
|
try {
|
|
363
|
-
const data = await client.
|
|
373
|
+
const data = await client.CreateExclusiveInstances({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
381
|
+
it("apigateway.v20180808.DescribeServiceSubDomainMappings", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DescribeServiceSubDomainMappings({})
|
|
364
384
|
expect(data).to.be.ok
|
|
365
385
|
} catch(error) {
|
|
366
386
|
expect(error.requestId).to.be.ok
|
|
@@ -538,16 +558,6 @@ it("apigateway.v20180808.CreateApi", async function () {
|
|
|
538
558
|
}
|
|
539
559
|
})
|
|
540
560
|
|
|
541
|
-
it("apigateway.v20180808.DescribeServiceSubDomainMappings", async function () {
|
|
542
|
-
try {
|
|
543
|
-
const data = await client.DescribeServiceSubDomainMappings({})
|
|
544
|
-
expect(data).to.be.ok
|
|
545
|
-
} catch(error) {
|
|
546
|
-
expect(error.requestId).to.be.ok
|
|
547
|
-
expect(error.code).to.be.ok
|
|
548
|
-
}
|
|
549
|
-
})
|
|
550
|
-
|
|
551
561
|
it("apigateway.v20180808.DescribeExclusiveInstanceDetail", async function () {
|
|
552
562
|
try {
|
|
553
563
|
const data = await client.DescribeExclusiveInstanceDetail({})
|
|
@@ -628,6 +638,16 @@ it("apigateway.v20180808.DescribeApiUsagePlan", async function () {
|
|
|
628
638
|
}
|
|
629
639
|
})
|
|
630
640
|
|
|
641
|
+
it("apigateway.v20180808.DescribeInstancesNetworkConfig", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.DescribeInstancesNetworkConfig({})
|
|
644
|
+
expect(data).to.be.ok
|
|
645
|
+
} catch(error) {
|
|
646
|
+
expect(error.requestId).to.be.ok
|
|
647
|
+
expect(error.code).to.be.ok
|
|
648
|
+
}
|
|
649
|
+
})
|
|
650
|
+
|
|
631
651
|
it("apigateway.v20180808.DescribeIPStrategysStatus", async function () {
|
|
632
652
|
try {
|
|
633
653
|
const data = await client.DescribeIPStrategysStatus({})
|
|
@@ -68,9 +68,9 @@ it("bi.v20220105.ApplyEmbedInterval", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("bi.v20220105.
|
|
71
|
+
it("bi.v20220105.ExportScreenPage", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.ExportScreenPage({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -88,6 +88,16 @@ it("bi.v20220105.ModifyUserRole", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
+
it("bi.v20220105.CreateDatasourceCloud", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.CreateDatasourceCloud({})
|
|
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("bi.v20220105.CreateEmbedToken", async function () {
|
|
92
102
|
try {
|
|
93
103
|
const data = await client.CreateEmbedToken({})
|
|
@@ -148,6 +158,16 @@ it("bi.v20220105.DescribeUserRoleList", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
161
|
+
it("bi.v20220105.DescribePageWidgetList", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribePageWidgetList({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
151
171
|
it("bi.v20220105.DescribeUserRoleProjectList", async function () {
|
|
152
172
|
try {
|
|
153
173
|
const data = await client.DescribeUserRoleProjectList({})
|
|
@@ -28,6 +28,16 @@ it("config.v20220802.ListConfigRules", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("config.v20220802.ListDiscoveredResources", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.ListDiscoveredResources({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
31
41
|
it("config.v20220802.ListAggregateConfigRules", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.ListAggregateConfigRules({})
|
|
@@ -48,4 +58,14 @@ it("config.v20220802.PutEvaluations", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
61
|
+
it("config.v20220802.DescribeDiscoveredResource", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeDiscoveredResource({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
51
71
|
})
|
|
@@ -578,6 +578,16 @@ it("lcic.v20220817.EndRoom", async function () {
|
|
|
578
578
|
}
|
|
579
579
|
})
|
|
580
580
|
|
|
581
|
+
it("lcic.v20220817.SetMarquee", async function () {
|
|
582
|
+
try {
|
|
583
|
+
const data = await client.SetMarquee({})
|
|
584
|
+
expect(data).to.be.ok
|
|
585
|
+
} catch(error) {
|
|
586
|
+
expect(error.requestId).to.be.ok
|
|
587
|
+
expect(error.code).to.be.ok
|
|
588
|
+
}
|
|
589
|
+
})
|
|
590
|
+
|
|
581
591
|
it("lcic.v20220817.GetRooms", async function () {
|
|
582
592
|
try {
|
|
583
593
|
const data = await client.GetRooms({})
|
|
@@ -638,6 +648,16 @@ it("lcic.v20220817.CreateGroupWithSubGroup", async function () {
|
|
|
638
648
|
}
|
|
639
649
|
})
|
|
640
650
|
|
|
651
|
+
it("lcic.v20220817.DescribeMarquee", async function () {
|
|
652
|
+
try {
|
|
653
|
+
const data = await client.DescribeMarquee({})
|
|
654
|
+
expect(data).to.be.ok
|
|
655
|
+
} catch(error) {
|
|
656
|
+
expect(error.requestId).to.be.ok
|
|
657
|
+
expect(error.code).to.be.ok
|
|
658
|
+
}
|
|
659
|
+
})
|
|
660
|
+
|
|
641
661
|
it("lcic.v20220817.BatchCreateGroupWithMembers", async function () {
|
|
642
662
|
try {
|
|
643
663
|
const data = await client.BatchCreateGroupWithMembers({})
|