tencentcloud-sdk-nodejs 4.0.225 → 4.0.226
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 +416 -32
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/advisor/v20200721/advisor_models.ts +7 -1
- package/src/services/cdb/v20170320/cdb_models.ts +36 -1
- package/src/services/cwp/v20180228/cwp_models.ts +3 -4
- package/src/services/faceid/v20180301/faceid_models.ts +23 -7
- package/src/services/ims/v20201229/ims_models.ts +10 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +1 -1
- package/src/services/ses/v20201002/ses_client.ts +32 -18
- package/src/services/ses/v20201002/ses_models.ts +149 -52
- package/src/services/taf/v20200210/taf_client.ts +1 -1
- package/src/services/taf/v20200210/taf_models.ts +26 -1
- package/src/services/tem/v20210701/tem_models.ts +5 -0
- package/src/services/tiia/v20190529/tiia_client.ts +78 -3
- package/src/services/tiia/v20190529/tiia_models.ts +397 -29
- package/src/services/tiw/v20190919/tiw_client.ts +17 -1
- package/src/services/tiw/v20190919/tiw_models.ts +82 -5
- package/src/services/trtc/v20190722/trtc_client.ts +3 -40
- package/src/services/trtc/v20190722/trtc_models.ts +43 -187
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/advisor/v20200721/advisor_models.d.ts +6 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +29 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +20 -7
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +8 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +10 -6
- package/tencentcloud/services/ses/v20201002/ses_client.js +13 -7
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +129 -47
- package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -1
- package/tencentcloud/services/taf/v20200210/taf_client.js +1 -1
- package/tencentcloud/services/taf/v20200210/taf_models.d.ts +21 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +26 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +37 -0
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +341 -28
- package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +8 -1
- package/tencentcloud/services/tiw/v20190919/tiw_client.js +9 -0
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +72 -5
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -13
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -18
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +39 -163
- package/test/ses.v20201002.test.js +14 -4
- package/test/tiia.v20190529.test.js +60 -0
- package/test/tiw.v20190919.test.js +10 -0
- package/test/trtc.v20190722.test.js +0 -30
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeAbnormalEventResponse, DescribeAbnormalEventRequest, DescribeTrtcInteractiveTimeResponse, ModifyPictureResponse, StartMCUMixTranscodeByStrRoomIdRequest, CreatePictureRequest, DescribeTrtcMcuTranscodeTimeRequest, RemoveUserByStrRoomIdRequest,
|
|
3
|
+
import { DescribeAbnormalEventResponse, DescribeAbnormalEventRequest, DescribeTrtcInteractiveTimeResponse, ModifyPictureResponse, StartMCUMixTranscodeByStrRoomIdRequest, CreatePictureRequest, DescribeTrtcMcuTranscodeTimeRequest, RemoveUserByStrRoomIdRequest, DismissRoomResponse, DescribeRecordStatisticRequest, DescribeUserInformationRequest, DescribeCallDetailRequest, DescribeUserInformationResponse, RemoveUserByStrRoomIdResponse, StartMCUMixTranscodeRequest, StopMCUMixTranscodeRequest, DescribeHistoryScaleRequest, DeletePictureRequest, DescribeRoomInformationResponse, RemoveUserRequest, ModifyPictureRequest, CreateTroubleInfoResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopMCUMixTranscodeByStrRoomIdResponse, DeletePictureResponse, CreateTroubleInfoRequest, DismissRoomRequest, DescribeDetailEventResponse, DismissRoomByStrRoomIdRequest, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DescribePictureRequest, RemoveUserResponse, StopMCUMixTranscodeResponse, DescribeCallDetailResponse, DescribePictureResponse, DescribeTrtcInteractiveTimeRequest, DescribeRoomInformationRequest, DescribeDetailEventRequest, CreatePictureResponse, DescribeRecordStatisticResponse, DismissRoomByStrRoomIdResponse, DescribeHistoryScaleResponse, StartMCUMixTranscodeByStrRoomIdResponse } from "./trtc_models";
|
|
4
4
|
/**
|
|
5
5
|
* trtc client
|
|
6
6
|
* @class
|
|
@@ -65,18 +65,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
65
65
|
**注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
|
66
66
|
*/
|
|
67
67
|
DescribeCallDetail(req: DescribeCallDetailRequest, cb?: (error: string, rep: DescribeCallDetailResponse) => void): Promise<DescribeCallDetailResponse>;
|
|
68
|
-
/**
|
|
69
|
-
* 查询sdkappid维度下每分钟实时质量数据,包括:进房成功率,首帧秒开率,音频卡顿率,视频卡顿率。可查询24小时内数据,查询起止时间不低于1分钟,不超过1个小时。
|
|
70
|
-
*/
|
|
71
|
-
DescribeRealtimeQuality(req: DescribeRealtimeQualityRequest, cb?: (error: string, rep: DescribeRealtimeQualityResponse) => void): Promise<DescribeRealtimeQualityResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* 查询sdkappid维度下每分钟实时规模,可查询24小时内数据,查询起止时间不低于1分钟,不超过1个小时。
|
|
74
|
-
*/
|
|
75
|
-
DescribeRealtimeScale(req: DescribeRealtimeScaleRequest, cb?: (error: string, rep: DescribeRealtimeScaleResponse) => void): Promise<DescribeRealtimeScaleResponse>;
|
|
76
|
-
/**
|
|
77
|
-
* 查询sdkappid维度下每分钟实时网络状态,包括上行丢包与下行丢包。可查询24小时内数据,查询起止时间不低于1分钟,不超过1个小时。
|
|
78
|
-
*/
|
|
79
|
-
DescribeRealtimeNetwork(req: DescribeRealtimeNetworkRequest, cb?: (error: string, rep: DescribeRealtimeNetworkResponse) => void): Promise<DescribeRealtimeNetworkResponse>;
|
|
80
68
|
/**
|
|
81
69
|
* 接口说明:结束云端混流
|
|
82
70
|
*/
|
|
@@ -103,24 +103,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
103
103
|
async DescribeCallDetail(req, cb) {
|
|
104
104
|
return this.request("DescribeCallDetail", req, cb);
|
|
105
105
|
}
|
|
106
|
-
/**
|
|
107
|
-
* 查询sdkappid维度下每分钟实时质量数据,包括:进房成功率,首帧秒开率,音频卡顿率,视频卡顿率。可查询24小时内数据,查询起止时间不低于1分钟,不超过1个小时。
|
|
108
|
-
*/
|
|
109
|
-
async DescribeRealtimeQuality(req, cb) {
|
|
110
|
-
return this.request("DescribeRealtimeQuality", req, cb);
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* 查询sdkappid维度下每分钟实时规模,可查询24小时内数据,查询起止时间不低于1分钟,不超过1个小时。
|
|
114
|
-
*/
|
|
115
|
-
async DescribeRealtimeScale(req, cb) {
|
|
116
|
-
return this.request("DescribeRealtimeScale", req, cb);
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* 查询sdkappid维度下每分钟实时网络状态,包括上行丢包与下行丢包。可查询24小时内数据,查询起止时间不低于1分钟,不超过1个小时。
|
|
120
|
-
*/
|
|
121
|
-
async DescribeRealtimeNetwork(req, cb) {
|
|
122
|
-
return this.request("DescribeRealtimeNetwork", req, cb);
|
|
123
|
-
}
|
|
124
106
|
/**
|
|
125
107
|
* 接口说明:结束云端混流
|
|
126
108
|
*/
|
|
@@ -15,20 +15,6 @@ export interface DescribeAbnormalEventResponse {
|
|
|
15
15
|
*/
|
|
16
16
|
RequestId?: string;
|
|
17
17
|
}
|
|
18
|
-
/**
|
|
19
|
-
* 查询秒级监控返回的数据
|
|
20
|
-
*/
|
|
21
|
-
export interface RealtimeData {
|
|
22
|
-
/**
|
|
23
|
-
* 返回的数据
|
|
24
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
|
-
*/
|
|
26
|
-
Content: Array<TimeValue>;
|
|
27
|
-
/**
|
|
28
|
-
* 数据类型字段
|
|
29
|
-
*/
|
|
30
|
-
DataType: string;
|
|
31
|
-
}
|
|
32
18
|
/**
|
|
33
19
|
* DescribeAbnormalEvent请求参数结构体
|
|
34
20
|
*/
|
|
@@ -253,19 +239,6 @@ export interface RemoveUserByStrRoomIdRequest {
|
|
|
253
239
|
*/
|
|
254
240
|
UserIds: Array<string>;
|
|
255
241
|
}
|
|
256
|
-
/**
|
|
257
|
-
* DescribeRealtimeScale返回参数结构体
|
|
258
|
-
*/
|
|
259
|
-
export interface DescribeRealtimeScaleResponse {
|
|
260
|
-
/**
|
|
261
|
-
* 返回的数据数组
|
|
262
|
-
*/
|
|
263
|
-
Data?: Array<RealtimeData>;
|
|
264
|
-
/**
|
|
265
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
266
|
-
*/
|
|
267
|
-
RequestId?: string;
|
|
268
|
-
}
|
|
269
242
|
/**
|
|
270
243
|
* DismissRoom返回参数结构体
|
|
271
244
|
*/
|
|
@@ -276,17 +249,33 @@ export interface DismissRoomResponse {
|
|
|
276
249
|
RequestId?: string;
|
|
277
250
|
}
|
|
278
251
|
/**
|
|
279
|
-
*
|
|
252
|
+
* 事件信息,包括,事件时间戳,事件ID,
|
|
280
253
|
*/
|
|
281
|
-
export interface
|
|
254
|
+
export interface EventMessage {
|
|
282
255
|
/**
|
|
283
|
-
*
|
|
256
|
+
* 视频流类型:
|
|
257
|
+
0:与视频无关的事件;
|
|
258
|
+
2:视频为大画面;
|
|
259
|
+
3:视频为小画面;
|
|
260
|
+
7:视频为旁路画面;
|
|
284
261
|
*/
|
|
285
|
-
|
|
262
|
+
Type: number;
|
|
286
263
|
/**
|
|
287
|
-
*
|
|
264
|
+
* 事件上报的时间戳,unix时间(1589891188801ms)
|
|
288
265
|
*/
|
|
289
|
-
|
|
266
|
+
Time: number;
|
|
267
|
+
/**
|
|
268
|
+
* 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916
|
|
269
|
+
*/
|
|
270
|
+
EventId: number;
|
|
271
|
+
/**
|
|
272
|
+
* 事件的第一个参数,如视频分辨率宽
|
|
273
|
+
*/
|
|
274
|
+
ParamOne: number;
|
|
275
|
+
/**
|
|
276
|
+
* 事件的第二个参数,如视频分辨率高
|
|
277
|
+
*/
|
|
278
|
+
ParamTwo: number;
|
|
290
279
|
}
|
|
291
280
|
/**
|
|
292
281
|
* DescribeRecordStatistic请求参数结构体
|
|
@@ -390,27 +379,28 @@ bigvHeight:上/下行分辨率高
|
|
|
390
379
|
PageSize?: string;
|
|
391
380
|
}
|
|
392
381
|
/**
|
|
393
|
-
*
|
|
382
|
+
* 历史规模信息
|
|
394
383
|
*/
|
|
395
|
-
export interface
|
|
384
|
+
export interface ScaleInfomation {
|
|
396
385
|
/**
|
|
397
|
-
*
|
|
386
|
+
* 每天开始的时间
|
|
398
387
|
*/
|
|
399
|
-
|
|
388
|
+
Time: number;
|
|
400
389
|
/**
|
|
401
|
-
*
|
|
390
|
+
* 房间人数,用户重复进入同一个房间为1次
|
|
391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
402
392
|
*/
|
|
403
|
-
|
|
393
|
+
UserNumber: number;
|
|
404
394
|
/**
|
|
405
|
-
*
|
|
395
|
+
* 房间人次,用户每次进入房间为一次
|
|
396
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
406
397
|
*/
|
|
407
|
-
|
|
398
|
+
UserCount: number;
|
|
408
399
|
/**
|
|
409
|
-
*
|
|
410
|
-
|
|
411
|
-
recvLossRateRaw:下行丢包率
|
|
400
|
+
* sdkappid下一天内的房间数
|
|
401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
412
402
|
*/
|
|
413
|
-
|
|
403
|
+
RoomNumbers: number;
|
|
414
404
|
}
|
|
415
405
|
/**
|
|
416
406
|
* DescribeUserInformation返回参数结构体
|
|
@@ -528,19 +518,6 @@ export interface StartMCUMixTranscodeRequest {
|
|
|
528
518
|
*/
|
|
529
519
|
PublishCdnParams?: PublishCdnParams;
|
|
530
520
|
}
|
|
531
|
-
/**
|
|
532
|
-
* DescribeRealtimeQuality返回参数结构体
|
|
533
|
-
*/
|
|
534
|
-
export interface DescribeRealtimeQualityResponse {
|
|
535
|
-
/**
|
|
536
|
-
* 返回的数据类型
|
|
537
|
-
*/
|
|
538
|
-
Data?: Array<RealtimeData>;
|
|
539
|
-
/**
|
|
540
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
541
|
-
*/
|
|
542
|
-
RequestId?: string;
|
|
543
|
-
}
|
|
544
521
|
/**
|
|
545
522
|
* StopMCUMixTranscode请求参数结构体
|
|
546
523
|
*/
|
|
@@ -701,35 +678,6 @@ export interface OutputParams {
|
|
|
701
678
|
*/
|
|
702
679
|
RecordAudioOnly?: number;
|
|
703
680
|
}
|
|
704
|
-
/**
|
|
705
|
-
* 事件信息,包括,事件时间戳,事件ID,
|
|
706
|
-
*/
|
|
707
|
-
export interface EventMessage {
|
|
708
|
-
/**
|
|
709
|
-
* 视频流类型:
|
|
710
|
-
0:与视频无关的事件;
|
|
711
|
-
2:视频为大画面;
|
|
712
|
-
3:视频为小画面;
|
|
713
|
-
7:视频为旁路画面;
|
|
714
|
-
*/
|
|
715
|
-
Type: number;
|
|
716
|
-
/**
|
|
717
|
-
* 事件上报的时间戳,unix时间(1589891188801ms)
|
|
718
|
-
*/
|
|
719
|
-
Time: number;
|
|
720
|
-
/**
|
|
721
|
-
* 事件Id:分为sdk的事件和webrtc的事件,详情见:附录/事件 ID 映射表:https://cloud.tencent.com/document/product/647/44916
|
|
722
|
-
*/
|
|
723
|
-
EventId: number;
|
|
724
|
-
/**
|
|
725
|
-
* 事件的第一个参数,如视频分辨率宽
|
|
726
|
-
*/
|
|
727
|
-
ParamOne: number;
|
|
728
|
-
/**
|
|
729
|
-
* 事件的第二个参数,如视频分辨率高
|
|
730
|
-
*/
|
|
731
|
-
ParamTwo: number;
|
|
732
|
-
}
|
|
733
681
|
/**
|
|
734
682
|
* ModifyPicture请求参数结构体
|
|
735
683
|
*/
|
|
@@ -826,31 +774,6 @@ export interface StopMCUMixTranscodeByStrRoomIdResponse {
|
|
|
826
774
|
*/
|
|
827
775
|
RequestId?: string;
|
|
828
776
|
}
|
|
829
|
-
/**
|
|
830
|
-
* DescribeRealtimeQuality请求参数结构体
|
|
831
|
-
*/
|
|
832
|
-
export interface DescribeRealtimeQualityRequest {
|
|
833
|
-
/**
|
|
834
|
-
* 查询开始时间,24小时内。本地unix时间戳(1588031999s)
|
|
835
|
-
*/
|
|
836
|
-
StartTime: number;
|
|
837
|
-
/**
|
|
838
|
-
* 查询结束时间,本地unix时间戳(1588031999s)
|
|
839
|
-
*/
|
|
840
|
-
EndTime: number;
|
|
841
|
-
/**
|
|
842
|
-
* 用户sdkappid
|
|
843
|
-
*/
|
|
844
|
-
SdkAppId: string;
|
|
845
|
-
/**
|
|
846
|
-
* 查询的数据类型
|
|
847
|
-
enterTotalSuccPercent:进房成功率
|
|
848
|
-
fistFreamInSecRate:首帧秒开率
|
|
849
|
-
blockPercent:视频卡顿率
|
|
850
|
-
audioBlockPercent:音频卡顿率
|
|
851
|
-
*/
|
|
852
|
-
DataType?: Array<string>;
|
|
853
|
-
}
|
|
854
777
|
/**
|
|
855
778
|
* DeletePicture返回参数结构体
|
|
856
779
|
*/
|
|
@@ -860,15 +783,6 @@ export interface DeletePictureResponse {
|
|
|
860
783
|
*/
|
|
861
784
|
RequestId?: string;
|
|
862
785
|
}
|
|
863
|
-
/**
|
|
864
|
-
* StopMCUMixTranscode返回参数结构体
|
|
865
|
-
*/
|
|
866
|
-
export interface StopMCUMixTranscodeResponse {
|
|
867
|
-
/**
|
|
868
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
869
|
-
*/
|
|
870
|
-
RequestId?: string;
|
|
871
|
-
}
|
|
872
786
|
/**
|
|
873
787
|
* CreateTroubleInfo请求参数结构体
|
|
874
788
|
*/
|
|
@@ -1140,27 +1054,13 @@ export interface PresetLayoutConfig {
|
|
|
1140
1054
|
PlaceImageId?: number;
|
|
1141
1055
|
}
|
|
1142
1056
|
/**
|
|
1143
|
-
*
|
|
1057
|
+
* StopMCUMixTranscode返回参数结构体
|
|
1144
1058
|
*/
|
|
1145
|
-
export interface
|
|
1146
|
-
/**
|
|
1147
|
-
* 查询开始时间,24小时内。本地unix时间戳(1588031999s)
|
|
1148
|
-
*/
|
|
1149
|
-
StartTime: number;
|
|
1150
|
-
/**
|
|
1151
|
-
* 查询结束时间,本地unix时间戳(1588031999s)
|
|
1152
|
-
*/
|
|
1153
|
-
EndTime: number;
|
|
1154
|
-
/**
|
|
1155
|
-
* 用户sdkappid
|
|
1156
|
-
*/
|
|
1157
|
-
SdkAppId: string;
|
|
1059
|
+
export interface StopMCUMixTranscodeResponse {
|
|
1158
1060
|
/**
|
|
1159
|
-
*
|
|
1160
|
-
UserNum:通话人数;
|
|
1161
|
-
RoomNum:房间数
|
|
1061
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1162
1062
|
*/
|
|
1163
|
-
|
|
1063
|
+
RequestId?: string;
|
|
1164
1064
|
}
|
|
1165
1065
|
/**
|
|
1166
1066
|
* DescribeCallDetail返回参数结构体
|
|
@@ -1293,30 +1193,6 @@ export interface DescribeRoomInformationRequest {
|
|
|
1293
1193
|
*/
|
|
1294
1194
|
PageSize?: string;
|
|
1295
1195
|
}
|
|
1296
|
-
/**
|
|
1297
|
-
* 历史规模信息
|
|
1298
|
-
*/
|
|
1299
|
-
export interface ScaleInfomation {
|
|
1300
|
-
/**
|
|
1301
|
-
* 每天开始的时间
|
|
1302
|
-
*/
|
|
1303
|
-
Time: number;
|
|
1304
|
-
/**
|
|
1305
|
-
* 房间人数,用户重复进入同一个房间为1次
|
|
1306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1307
|
-
*/
|
|
1308
|
-
UserNumber: number;
|
|
1309
|
-
/**
|
|
1310
|
-
* 房间人次,用户每次进入房间为一次
|
|
1311
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1312
|
-
*/
|
|
1313
|
-
UserCount: number;
|
|
1314
|
-
/**
|
|
1315
|
-
* sdkappid下一天内的房间数
|
|
1316
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1317
|
-
*/
|
|
1318
|
-
RoomNumbers: number;
|
|
1319
|
-
}
|
|
1320
1196
|
/**
|
|
1321
1197
|
* DescribeDetailEvent请求参数结构体
|
|
1322
1198
|
*/
|
|
@@ -68,9 +68,9 @@ it("ses.v20201002.CreateEmailTemplate", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("ses.v20201002.
|
|
71
|
+
it("ses.v20201002.BatchSendEmail", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.BatchSendEmail({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("ses.v20201002.ListEmailIdentities", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("ses.v20201002.
|
|
101
|
+
it("ses.v20201002.GetStatisticsReport", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.GetStatisticsReport({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -118,6 +118,16 @@ it("ses.v20201002.GetSendEmailStatus", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("ses.v20201002.ListBlackEmailAddress", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ListBlackEmailAddress({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
121
131
|
it("ses.v20201002.DeleteEmailTemplate", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.DeleteEmailTemplate({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.tiia.v20190529.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tiia.v20190529.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tiia.v20190529.CreateImage", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateImage({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("tiia.v20190529.DetectProductBeta", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DetectProductBeta({})
|
|
@@ -68,6 +78,26 @@ it("tiia.v20190529.DetectDisgust", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
81
|
+
it("tiia.v20190529.DescribeGroups", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeGroups({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("tiia.v20190529.DeleteImages", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DeleteImages({})
|
|
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
|
+
|
|
71
101
|
it("tiia.v20190529.DetectLabelBeta", async function () {
|
|
72
102
|
try {
|
|
73
103
|
const data = await client.DetectLabelBeta({})
|
|
@@ -88,6 +118,16 @@ it("tiia.v20190529.CropImage", async function () {
|
|
|
88
118
|
}
|
|
89
119
|
})
|
|
90
120
|
|
|
121
|
+
it("tiia.v20190529.DescribeImages", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeImages({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
91
131
|
it("tiia.v20190529.DetectMisbehavior", async function () {
|
|
92
132
|
try {
|
|
93
133
|
const data = await client.DetectMisbehavior({})
|
|
@@ -98,6 +138,16 @@ it("tiia.v20190529.DetectMisbehavior", async function () {
|
|
|
98
138
|
}
|
|
99
139
|
})
|
|
100
140
|
|
|
141
|
+
it("tiia.v20190529.CreateGroup", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateGroup({})
|
|
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
|
+
|
|
101
151
|
it("tiia.v20190529.DetectProduct", async function () {
|
|
102
152
|
try {
|
|
103
153
|
const data = await client.DetectProduct({})
|
|
@@ -108,6 +158,16 @@ it("tiia.v20190529.DetectProduct", async function () {
|
|
|
108
158
|
}
|
|
109
159
|
})
|
|
110
160
|
|
|
161
|
+
it("tiia.v20190529.SearchImage", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.SearchImage({})
|
|
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
|
+
|
|
111
171
|
it("tiia.v20190529.EnhanceImage", async function () {
|
|
112
172
|
try {
|
|
113
173
|
const data = await client.EnhanceImage({})
|
|
@@ -208,6 +208,16 @@ it("tiw.v20190919.DescribeTranscode", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
+
it("tiw.v20190919.DescribeTIWDailyUsage", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeTIWDailyUsage({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
211
221
|
it("tiw.v20190919.StopWhiteboardPush", async function () {
|
|
212
222
|
try {
|
|
213
223
|
const data = await client.StopWhiteboardPush({})
|
|
@@ -108,36 +108,6 @@ it("trtc.v20190722.DescribeCallDetail", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("trtc.v20190722.DescribeRealtimeQuality", async function () {
|
|
112
|
-
try {
|
|
113
|
-
const data = await client.DescribeRealtimeQuality({})
|
|
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
|
-
|
|
121
|
-
it("trtc.v20190722.DescribeRealtimeScale", async function () {
|
|
122
|
-
try {
|
|
123
|
-
const data = await client.DescribeRealtimeScale({})
|
|
124
|
-
expect(data).to.be.ok
|
|
125
|
-
} catch(error) {
|
|
126
|
-
expect(error.requestId).to.be.ok
|
|
127
|
-
expect(error.code).to.be.ok
|
|
128
|
-
}
|
|
129
|
-
})
|
|
130
|
-
|
|
131
|
-
it("trtc.v20190722.DescribeRealtimeNetwork", async function () {
|
|
132
|
-
try {
|
|
133
|
-
const data = await client.DescribeRealtimeNetwork({})
|
|
134
|
-
expect(data).to.be.ok
|
|
135
|
-
} catch(error) {
|
|
136
|
-
expect(error.requestId).to.be.ok
|
|
137
|
-
expect(error.code).to.be.ok
|
|
138
|
-
}
|
|
139
|
-
})
|
|
140
|
-
|
|
141
111
|
it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
|
|
142
112
|
try {
|
|
143
113
|
const data = await client.StopMCUMixTranscodeByStrRoomId({})
|