tencentcloud-sdk-nodejs 4.0.239 → 4.0.240
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 +205 -82
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +6 -4
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +57 -0
- package/src/services/cwp/v20180228/cwp_models.ts +3 -3
- package/src/services/ecm/v20190719/ecm_client.ts +38 -23
- package/src/services/ecm/v20190719/ecm_models.ts +199 -94
- package/src/services/iotvideo/v20201215/iotvideo_client.ts +30 -6
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +80 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +18 -0
- package/src/services/ssa/v20180608/ssa_client.ts +22 -5
- package/src/services/ssa/v20180608/ssa_models.ts +318 -37
- package/src/services/tiw/v20190919/tiw_models.ts +24 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +3 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +3 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +49 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +3 -3
- package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +11 -7
- package/tencentcloud/services/ecm/v20190719/ecm_client.js +14 -8
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +170 -81
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.d.ts +11 -3
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_client.js +15 -3
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +68 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +15 -0
- package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +5 -1
- package/tencentcloud/services/ssa/v20180608/ssa_client.js +6 -0
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +271 -33
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +21 -1
- package/test/ecm.v20190719.test.js +14 -4
- package/test/iotvideo.v20201215.test.js +22 -2
- package/test/ssa.v20180608.test.js +10 -0
|
@@ -523,13 +523,19 @@ export interface DescribeCheckConfigAssetListResponse {
|
|
|
523
523
|
RequestId?: string;
|
|
524
524
|
}
|
|
525
525
|
/**
|
|
526
|
-
*
|
|
526
|
+
* 告警列表响应数据
|
|
527
527
|
*/
|
|
528
|
-
export interface
|
|
528
|
+
export interface AlertListData {
|
|
529
529
|
/**
|
|
530
|
-
*
|
|
530
|
+
* 总数
|
|
531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
531
532
|
*/
|
|
532
|
-
|
|
533
|
+
Total: number;
|
|
534
|
+
/**
|
|
535
|
+
* 返回列表
|
|
536
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
537
|
+
*/
|
|
538
|
+
AlertList: Array<AlertType>;
|
|
533
539
|
}
|
|
534
540
|
/**
|
|
535
541
|
* 查询_通用字段
|
|
@@ -600,6 +606,16 @@ export interface SaDivulgeDataQueryPub {
|
|
|
600
606
|
*/
|
|
601
607
|
UpdateTime: string;
|
|
602
608
|
}
|
|
609
|
+
/**
|
|
610
|
+
* 返回结构
|
|
611
|
+
*/
|
|
612
|
+
export interface SocComplianceInfoResp {
|
|
613
|
+
/**
|
|
614
|
+
* 合格项
|
|
615
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
616
|
+
*/
|
|
617
|
+
Items: Array<SocComplianceItem>;
|
|
618
|
+
}
|
|
603
619
|
/**
|
|
604
620
|
* DescribeAssetList请求参数结构体
|
|
605
621
|
*/
|
|
@@ -645,17 +661,17 @@ export interface DescribeAssetsMappingListResponse {
|
|
|
645
661
|
RequestId?: string;
|
|
646
662
|
}
|
|
647
663
|
/**
|
|
648
|
-
*
|
|
664
|
+
* DescribeSocAlertList返回参数结构体
|
|
649
665
|
*/
|
|
650
|
-
export interface
|
|
666
|
+
export interface DescribeSocAlertListResponse {
|
|
651
667
|
/**
|
|
652
|
-
*
|
|
668
|
+
* 业务数据
|
|
653
669
|
*/
|
|
654
|
-
|
|
670
|
+
Data: AlertListData;
|
|
655
671
|
/**
|
|
656
|
-
*
|
|
672
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
657
673
|
*/
|
|
658
|
-
|
|
674
|
+
RequestId?: string;
|
|
659
675
|
}
|
|
660
676
|
/**
|
|
661
677
|
* soc合规信息
|
|
@@ -702,6 +718,19 @@ export interface SocComplianceItem {
|
|
|
702
718
|
*/
|
|
703
719
|
CheckItems: Array<SocCheckItem>;
|
|
704
720
|
}
|
|
721
|
+
/**
|
|
722
|
+
* 排序的字段
|
|
723
|
+
*/
|
|
724
|
+
export interface QuerySort {
|
|
725
|
+
/**
|
|
726
|
+
* 排序字段
|
|
727
|
+
*/
|
|
728
|
+
SortKey: string;
|
|
729
|
+
/**
|
|
730
|
+
* 顺序,1升序2降序
|
|
731
|
+
*/
|
|
732
|
+
SortType: number;
|
|
733
|
+
}
|
|
705
734
|
/**
|
|
706
735
|
* DescribeComplianceList请求参数结构体
|
|
707
736
|
*/
|
|
@@ -825,6 +854,161 @@ export interface DescribeSafetyEventListRequest {
|
|
|
825
854
|
*/
|
|
826
855
|
IsFilterResponseTime?: boolean;
|
|
827
856
|
}
|
|
857
|
+
/**
|
|
858
|
+
* 告警字段
|
|
859
|
+
*/
|
|
860
|
+
export interface AlertType {
|
|
861
|
+
/**
|
|
862
|
+
* 时间戳
|
|
863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
864
|
+
*/
|
|
865
|
+
AlertTime: string;
|
|
866
|
+
/**
|
|
867
|
+
* 唯一id
|
|
868
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
869
|
+
*/
|
|
870
|
+
AlertId: string;
|
|
871
|
+
/**
|
|
872
|
+
* 资产id
|
|
873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
874
|
+
*/
|
|
875
|
+
AssetId: string;
|
|
876
|
+
/**
|
|
877
|
+
* 内网ip
|
|
878
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
879
|
+
*/
|
|
880
|
+
AssetPrivateIp: Array<string>;
|
|
881
|
+
/**
|
|
882
|
+
* 名字
|
|
883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
884
|
+
*/
|
|
885
|
+
AlertName: string;
|
|
886
|
+
/**
|
|
887
|
+
* 告警级别 0:未知 1:低危 2:中危 3:高危 4:严重
|
|
888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
889
|
+
*/
|
|
890
|
+
Level: number;
|
|
891
|
+
/**
|
|
892
|
+
* 类型
|
|
893
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
894
|
+
*/
|
|
895
|
+
Type: string;
|
|
896
|
+
/**
|
|
897
|
+
* 来源
|
|
898
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
899
|
+
*/
|
|
900
|
+
Source: string;
|
|
901
|
+
/**
|
|
902
|
+
* 攻击字段1
|
|
903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
904
|
+
*/
|
|
905
|
+
AttackChain: string;
|
|
906
|
+
/**
|
|
907
|
+
* 攻击字段2
|
|
908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
909
|
+
*/
|
|
910
|
+
AttackId: string;
|
|
911
|
+
/**
|
|
912
|
+
* 关注点
|
|
913
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
914
|
+
*/
|
|
915
|
+
Concerns: Array<ConcernInfo>;
|
|
916
|
+
/**
|
|
917
|
+
* 1:已防御,0,2:仅检测(0:告警类 1:拦截类 2:放行类 )
|
|
918
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
919
|
+
*/
|
|
920
|
+
Action: number;
|
|
921
|
+
/**
|
|
922
|
+
* 0/空:未知,1:未成功,2:成功
|
|
923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
924
|
+
*/
|
|
925
|
+
AttackResult: number;
|
|
926
|
+
/**
|
|
927
|
+
* //调查状态 0/空:未启用,1:调查中,2:完成调查
|
|
928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
929
|
+
*/
|
|
930
|
+
EventStatus: number;
|
|
931
|
+
/**
|
|
932
|
+
* //关联事件ID
|
|
933
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
934
|
+
*/
|
|
935
|
+
EventId: string;
|
|
936
|
+
/**
|
|
937
|
+
* //处置状态 0:未关闭,1:已关闭
|
|
938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
939
|
+
*/
|
|
940
|
+
Status: number;
|
|
941
|
+
/**
|
|
942
|
+
* 资产名
|
|
943
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
944
|
+
*/
|
|
945
|
+
AssetName: string;
|
|
946
|
+
/**
|
|
947
|
+
* 恶意实体
|
|
948
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
949
|
+
*/
|
|
950
|
+
ConcernMaliciousCount: number;
|
|
951
|
+
/**
|
|
952
|
+
* 受害者实体
|
|
953
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
954
|
+
*/
|
|
955
|
+
ConcernVictimCount: number;
|
|
956
|
+
/**
|
|
957
|
+
* 资产类型
|
|
958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
959
|
+
*/
|
|
960
|
+
VictimAssetType: string;
|
|
961
|
+
/**
|
|
962
|
+
* 告警子类
|
|
963
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
964
|
+
*/
|
|
965
|
+
SubType: string;
|
|
966
|
+
/**
|
|
967
|
+
* 攻击技术名字
|
|
968
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
969
|
+
*/
|
|
970
|
+
AttackName: string;
|
|
971
|
+
/**
|
|
972
|
+
* 外网ip
|
|
973
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
974
|
+
*/
|
|
975
|
+
AssetPublicIp: Array<string>;
|
|
976
|
+
/**
|
|
977
|
+
* 攻击战术名称
|
|
978
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
979
|
+
*/
|
|
980
|
+
AttackTactic: string;
|
|
981
|
+
/**
|
|
982
|
+
* 资产子网
|
|
983
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
984
|
+
*/
|
|
985
|
+
VictimAssetSub: string;
|
|
986
|
+
}
|
|
987
|
+
/**
|
|
988
|
+
* DescribeSocAlertList请求参数结构体
|
|
989
|
+
*/
|
|
990
|
+
export interface DescribeSocAlertListRequest {
|
|
991
|
+
/**
|
|
992
|
+
* 页大小
|
|
993
|
+
*/
|
|
994
|
+
PageSize: number;
|
|
995
|
+
/**
|
|
996
|
+
* 页码
|
|
997
|
+
*/
|
|
998
|
+
PageIndex: number;
|
|
999
|
+
/**
|
|
1000
|
+
* 业务场景 参考ScenesType
|
|
1001
|
+
*/
|
|
1002
|
+
Scenes: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* 查询参数
|
|
1005
|
+
*/
|
|
1006
|
+
Filter?: Array<QueryFilter>;
|
|
1007
|
+
/**
|
|
1008
|
+
* 排序参数
|
|
1009
|
+
*/
|
|
1010
|
+
Sorter?: Array<QuerySort>;
|
|
1011
|
+
}
|
|
828
1012
|
/**
|
|
829
1013
|
* 等保资产组记录
|
|
830
1014
|
*/
|
|
@@ -1106,6 +1290,15 @@ export interface DataAssetMapping {
|
|
|
1106
1290
|
*/
|
|
1107
1291
|
IsIntranet: number;
|
|
1108
1292
|
}
|
|
1293
|
+
/**
|
|
1294
|
+
* DescribeCheckConfigDetail请求参数结构体
|
|
1295
|
+
*/
|
|
1296
|
+
export interface DescribeCheckConfigDetailRequest {
|
|
1297
|
+
/**
|
|
1298
|
+
* 检查项ID
|
|
1299
|
+
*/
|
|
1300
|
+
Id: string;
|
|
1301
|
+
}
|
|
1109
1302
|
/**
|
|
1110
1303
|
* 漏洞管理漏洞列表
|
|
1111
1304
|
*/
|
|
@@ -1549,6 +1742,40 @@ export interface DescribeVulDetailRequest {
|
|
|
1549
1742
|
*/
|
|
1550
1743
|
Source?: string;
|
|
1551
1744
|
}
|
|
1745
|
+
/**
|
|
1746
|
+
* 关注点类型
|
|
1747
|
+
*/
|
|
1748
|
+
export interface ConcernInfo {
|
|
1749
|
+
/**
|
|
1750
|
+
* 关注点类型
|
|
1751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1752
|
+
*/
|
|
1753
|
+
ConcernType: number;
|
|
1754
|
+
/**
|
|
1755
|
+
* 实体类型
|
|
1756
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1757
|
+
*/
|
|
1758
|
+
EntityType: number;
|
|
1759
|
+
/**
|
|
1760
|
+
* 关注点
|
|
1761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1762
|
+
*/
|
|
1763
|
+
Concern: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* 最近数量
|
|
1766
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1767
|
+
*/
|
|
1768
|
+
StatisticsCount: number;
|
|
1769
|
+
}
|
|
1770
|
+
/**
|
|
1771
|
+
* DescribeAssetsMappingList请求参数结构体
|
|
1772
|
+
*/
|
|
1773
|
+
export interface DescribeAssetsMappingListRequest {
|
|
1774
|
+
/**
|
|
1775
|
+
* 请求参数
|
|
1776
|
+
*/
|
|
1777
|
+
Params: string;
|
|
1778
|
+
}
|
|
1552
1779
|
/**
|
|
1553
1780
|
* 合规检查项详情对象
|
|
1554
1781
|
*/
|
|
@@ -1631,24 +1858,6 @@ export interface DataCompliance {
|
|
|
1631
1858
|
*/
|
|
1632
1859
|
Remarks: string;
|
|
1633
1860
|
}
|
|
1634
|
-
/**
|
|
1635
|
-
* DescribeAssetsMappingList请求参数结构体
|
|
1636
|
-
*/
|
|
1637
|
-
export interface DescribeAssetsMappingListRequest {
|
|
1638
|
-
/**
|
|
1639
|
-
* 请求参数
|
|
1640
|
-
*/
|
|
1641
|
-
Params: string;
|
|
1642
|
-
}
|
|
1643
|
-
/**
|
|
1644
|
-
* DescribeComplianceDetail请求参数结构体
|
|
1645
|
-
*/
|
|
1646
|
-
export interface DescribeComplianceDetailRequest {
|
|
1647
|
-
/**
|
|
1648
|
-
* 检查项uuid
|
|
1649
|
-
*/
|
|
1650
|
-
Id: string;
|
|
1651
|
-
}
|
|
1652
1861
|
/**
|
|
1653
1862
|
* 资产详情信息
|
|
1654
1863
|
*/
|
|
@@ -1892,6 +2101,23 @@ export interface DescribeComplianceAssetListRequest {
|
|
|
1892
2101
|
*/
|
|
1893
2102
|
Search?: Array<Filter>;
|
|
1894
2103
|
}
|
|
2104
|
+
/**
|
|
2105
|
+
* 查询参数
|
|
2106
|
+
*/
|
|
2107
|
+
export interface QueryFilter {
|
|
2108
|
+
/**
|
|
2109
|
+
* 查询的字段
|
|
2110
|
+
*/
|
|
2111
|
+
FilterKey: string;
|
|
2112
|
+
/**
|
|
2113
|
+
* 查询的值
|
|
2114
|
+
*/
|
|
2115
|
+
FilterValue: string;
|
|
2116
|
+
/**
|
|
2117
|
+
* 匹配类型,枚举见pb
|
|
2118
|
+
*/
|
|
2119
|
+
FilterOperatorType: number;
|
|
2120
|
+
}
|
|
1895
2121
|
/**
|
|
1896
2122
|
* DescribeAssetDetail返回参数结构体
|
|
1897
2123
|
*/
|
|
@@ -2025,12 +2251,24 @@ export interface DescribeVulDetailResponse {
|
|
|
2025
2251
|
*/
|
|
2026
2252
|
export declare type DescribeSocCspmComplianceRequest = null;
|
|
2027
2253
|
/**
|
|
2028
|
-
*
|
|
2254
|
+
* 标签
|
|
2029
2255
|
*/
|
|
2030
|
-
export interface
|
|
2256
|
+
export interface Tag {
|
|
2031
2257
|
/**
|
|
2032
|
-
*
|
|
2033
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2258
|
+
* 数据库标识
|
|
2034
2259
|
*/
|
|
2035
|
-
|
|
2260
|
+
Fid: number;
|
|
2261
|
+
/**
|
|
2262
|
+
* 标签名称
|
|
2263
|
+
*/
|
|
2264
|
+
Fname: string;
|
|
2265
|
+
}
|
|
2266
|
+
/**
|
|
2267
|
+
* DescribeComplianceDetail请求参数结构体
|
|
2268
|
+
*/
|
|
2269
|
+
export interface DescribeComplianceDetailRequest {
|
|
2270
|
+
/**
|
|
2271
|
+
* 检查项uuid
|
|
2272
|
+
*/
|
|
2273
|
+
Id: string;
|
|
2036
2274
|
}
|
|
@@ -149,7 +149,9 @@ export interface StartWhiteboardPushRequest {
|
|
|
149
149
|
*/
|
|
150
150
|
SdkAppId: number;
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* 需要推流的白板房间号,取值范围: (1, 4294967295)。
|
|
153
|
+
|
|
154
|
+
在没有指定TRTCRoomId和TRTCRoomIdStr的情况下,默认会以RoomId作为白板流进行推流的TRTC房间号。
|
|
153
155
|
*/
|
|
154
156
|
RoomId: number;
|
|
155
157
|
/**
|
|
@@ -244,6 +246,24 @@ SdkAppID = 12345678,RoomID = 12345,PushUserID = push_user_1
|
|
|
244
246
|
* 内部参数,不需要关注此参数
|
|
245
247
|
*/
|
|
246
248
|
ExtraData?: string;
|
|
249
|
+
/**
|
|
250
|
+
* **内部体验字段,若需要体验可以提工单申请开通体验**
|
|
251
|
+
|
|
252
|
+
TRTC数字类型房间号,取值范围: (1, 4294967295)。
|
|
253
|
+
|
|
254
|
+
在同时指定了RoomId与TRTCRoomId的情况下,优先使用TRTCRoomId作为白板流进行推流的TRTC房间号。
|
|
255
|
+
|
|
256
|
+
当指定了TRTCRoomIdStr的情况下,此字段将被忽略。
|
|
257
|
+
*/
|
|
258
|
+
TRTCRoomId?: number;
|
|
259
|
+
/**
|
|
260
|
+
* **内部体验字段,若需要体验可以提工单申请开通体验**
|
|
261
|
+
|
|
262
|
+
TRTC字符串类型房间号。
|
|
263
|
+
|
|
264
|
+
在指定了TRTCRoomIdStr的情况下,会优先使用TRTCRoomIdStr作为白板流进行推流的TRTC房间号。
|
|
265
|
+
*/
|
|
266
|
+
TRTCRoomIdStr?: string;
|
|
247
267
|
}
|
|
248
268
|
/**
|
|
249
269
|
* 拼接视频中被忽略的时间段
|
|
@@ -268,9 +268,9 @@ it("ecm.v20190719.DisassociateSecurityGroups", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
-
it("ecm.v20190719.
|
|
271
|
+
it("ecm.v20190719.MigrateNetworkInterface", async function () {
|
|
272
272
|
try {
|
|
273
|
-
const data = await client.
|
|
273
|
+
const data = await client.MigrateNetworkInterface({})
|
|
274
274
|
expect(data).to.be.ok
|
|
275
275
|
} catch(error) {
|
|
276
276
|
expect(error.requestId).to.be.ok
|
|
@@ -628,6 +628,16 @@ it("ecm.v20190719.DisableRoutes", async function () {
|
|
|
628
628
|
}
|
|
629
629
|
})
|
|
630
630
|
|
|
631
|
+
it("ecm.v20190719.DescribePriceRunInstance", async function () {
|
|
632
|
+
try {
|
|
633
|
+
const data = await client.DescribePriceRunInstance({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
631
641
|
it("ecm.v20190719.ModifyIpv6AddressesAttribute", async function () {
|
|
632
642
|
try {
|
|
633
643
|
const data = await client.ModifyIpv6AddressesAttribute({})
|
|
@@ -1128,9 +1138,9 @@ it("ecm.v20190719.DescribeDisks", async function () {
|
|
|
1128
1138
|
}
|
|
1129
1139
|
})
|
|
1130
1140
|
|
|
1131
|
-
it("ecm.v20190719.
|
|
1141
|
+
it("ecm.v20190719.DeleteSecurityGroup", async function () {
|
|
1132
1142
|
try {
|
|
1133
|
-
const data = await client.
|
|
1143
|
+
const data = await client.DeleteSecurityGroup({})
|
|
1134
1144
|
expect(data).to.be.ok
|
|
1135
1145
|
} catch(error) {
|
|
1136
1146
|
expect(error.requestId).to.be.ok
|
|
@@ -58,6 +58,16 @@ it("iotvideo.v20201215.DescribeDeviceData", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("iotvideo.v20201215.DescribeSDKLog", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeSDKLog({})
|
|
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
|
+
|
|
61
71
|
it("iotvideo.v20201215.ModifyProduct", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.ModifyProduct({})
|
|
@@ -348,6 +358,16 @@ it("iotvideo.v20201215.DescribeFirmwareTaskStatistics", async function () {
|
|
|
348
358
|
}
|
|
349
359
|
})
|
|
350
360
|
|
|
361
|
+
it("iotvideo.v20201215.ModifyProductDynamicRegister", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.ModifyProductDynamicRegister({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
351
371
|
it("iotvideo.v20201215.DescribeDeviceDataHistory", async function () {
|
|
352
372
|
try {
|
|
353
373
|
const data = await client.DescribeDeviceDataHistory({})
|
|
@@ -488,9 +508,9 @@ it("iotvideo.v20201215.DeleteProduct", async function () {
|
|
|
488
508
|
}
|
|
489
509
|
})
|
|
490
510
|
|
|
491
|
-
it("iotvideo.v20201215.
|
|
511
|
+
it("iotvideo.v20201215.DescribeProductDynamicRegister", async function () {
|
|
492
512
|
try {
|
|
493
|
-
const data = await client.
|
|
513
|
+
const data = await client.DescribeProductDynamicRegister({})
|
|
494
514
|
expect(data).to.be.ok
|
|
495
515
|
} catch(error) {
|
|
496
516
|
expect(error.requestId).to.be.ok
|
|
@@ -168,6 +168,16 @@ it("ssa.v20180608.DescribeSafetyEventList", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("ssa.v20180608.DescribeSocAlertList", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeSocAlertList({})
|
|
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
|
+
|
|
171
181
|
it("ssa.v20180608.DescribeVulDetail", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DescribeVulDetail({})
|