tencentcloud-sdk-nodejs 4.0.649 → 4.0.650
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 +261 -0
- package/SERVICE_CHANGELOG.md +395 -69
- package/package.json +1 -1
- package/products.md +17 -17
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +13 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +61 -8
- package/src/services/asr/v20190614/asr_models.ts +5 -3
- package/src/services/cdb/v20170320/cdb_models.ts +7 -7
- package/src/services/cls/v20201016/cls_client.ts +45 -8
- package/src/services/cls/v20201016/cls_models.ts +222 -17
- package/src/services/cme/v20191029/cme_models.ts +3 -3
- package/src/services/dnspod/v20210323/dnspod_client.ts +15 -3
- package/src/services/dnspod/v20210323/dnspod_models.ts +196 -65
- package/src/services/ess/v20201111/ess_client.ts +4 -2
- package/src/services/ess/v20201111/ess_models.ts +10 -13
- package/src/services/essbasic/v20210526/essbasic_models.ts +4 -4
- package/src/services/iotvideo/v20211125/iotvideo_client.ts +30 -5
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +153 -45
- package/src/services/lcic/v20220817/lcic_models.ts +20 -0
- package/src/services/live/v20180801/live_models.ts +1 -0
- package/src/services/ms/v20180408/ms_client.ts +116 -26
- package/src/services/ms/v20180408/ms_models.ts +1060 -117
- package/src/services/ocr/v20181119/ocr_client.ts +6 -1
- package/src/services/ocr/v20181119/ocr_models.ts +32 -3
- package/src/services/pts/v20210728/pts_models.ts +1 -1
- package/src/services/ssa/v20180608/ssa_models.ts +10 -10
- package/src/services/tdmq/v20200217/tdmq_models.ts +20 -16
- package/src/services/vod/v20180717/vod_models.ts +4 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +59 -8
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -3
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +7 -7
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +15 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +21 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +215 -17
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +3 -3
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +5 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +6 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +194 -65
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +3 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -13
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -4
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +9 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +12 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +147 -44
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +20 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/ms/v20180408/ms_client.d.ts +37 -7
- package/tencentcloud/services/ms/v20180408/ms_client.js +51 -9
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +1013 -94
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +6 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +32 -3
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +1 -1
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +10 -10
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +20 -16
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -3
- package/test/antiddos.v20200309.test.js +10 -0
- package/test/cls.v20201016.test.js +32 -2
- package/test/dnspod.v20210323.test.js +10 -0
- package/test/iotvideo.v20211125.test.js +20 -0
- package/test/ms.v20180408.test.js +66 -6
|
@@ -301,7 +301,7 @@ export declare class Client extends AbstractClient {
|
|
|
301
301
|
*/
|
|
302
302
|
InvoiceGeneralOCR(req: InvoiceGeneralOCRRequest, cb?: (error: string, rep: InvoiceGeneralOCRResponse) => void): Promise<InvoiceGeneralOCRResponse>;
|
|
303
303
|
/**
|
|
304
|
-
* 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo
|
|
304
|
+
* 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
305
305
|
*/
|
|
306
306
|
GetTaskState(req: GetTaskStateRequest, cb?: (error: string, rep: GetTaskStateResponse) => void): Promise<GetTaskStateResponse>;
|
|
307
307
|
/**
|
|
@@ -780,6 +780,11 @@ export declare class Client extends AbstractClient {
|
|
|
780
780
|
<td> 增值税电子普通发票(通行费)</td>
|
|
781
781
|
<td> 3 </td>
|
|
782
782
|
</tr>
|
|
783
|
+
<tr>
|
|
784
|
+
<td> VatSalesList</td>
|
|
785
|
+
<td> 增值税销货清单</td>
|
|
786
|
+
<td> 3 </td>
|
|
787
|
+
</tr>
|
|
783
788
|
<tr>
|
|
784
789
|
<td> VatElectronicSpecialInvoiceFull</td>
|
|
785
790
|
<td> 电子发票(专用发票)</td>
|
|
@@ -383,7 +383,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
383
383
|
return this.request("InvoiceGeneralOCR", req, cb);
|
|
384
384
|
}
|
|
385
385
|
/**
|
|
386
|
-
* 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo
|
|
386
|
+
* 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
387
387
|
*/
|
|
388
388
|
async GetTaskState(req, cb) {
|
|
389
389
|
return this.request("GetTaskState", req, cb);
|
|
@@ -966,6 +966,11 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
966
966
|
<td> 增值税电子普通发票(通行费)</td>
|
|
967
967
|
<td> 3 </td>
|
|
968
968
|
</tr>
|
|
969
|
+
<tr>
|
|
970
|
+
<td> VatSalesList</td>
|
|
971
|
+
<td> 增值税销货清单</td>
|
|
972
|
+
<td> 3 </td>
|
|
973
|
+
</tr>
|
|
969
974
|
<tr>
|
|
970
975
|
<td> VatElectronicSpecialInvoiceFull</td>
|
|
971
976
|
<td> 电子发票(专用发票)</td>
|
|
@@ -1723,6 +1723,10 @@ export interface VatInvoiceItemInfo {
|
|
|
1723
1723
|
* 车辆类型
|
|
1724
1724
|
*/
|
|
1725
1725
|
VehicleType?: string;
|
|
1726
|
+
/**
|
|
1727
|
+
* 序号
|
|
1728
|
+
*/
|
|
1729
|
+
SerialNumber?: string;
|
|
1726
1730
|
}
|
|
1727
1731
|
/**
|
|
1728
1732
|
* QrcodeOCR返回参数结构体
|
|
@@ -2913,6 +2917,10 @@ export interface OtherInvoice {
|
|
|
2913
2917
|
* 表格
|
|
2914
2918
|
*/
|
|
2915
2919
|
OtherInvoiceTableItems?: Array<OtherInvoiceList>;
|
|
2920
|
+
/**
|
|
2921
|
+
* 发票日期
|
|
2922
|
+
*/
|
|
2923
|
+
Date?: string;
|
|
2916
2924
|
}
|
|
2917
2925
|
/**
|
|
2918
2926
|
* 单元格识别结果
|
|
@@ -3441,17 +3449,17 @@ export interface SingleInvoiceItem {
|
|
|
3441
3449
|
* 增值税专用发票
|
|
3442
3450
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3443
3451
|
*/
|
|
3444
|
-
VatSpecialInvoice
|
|
3452
|
+
VatSpecialInvoice?: VatInvoiceInfo;
|
|
3445
3453
|
/**
|
|
3446
3454
|
* 增值税普通发票
|
|
3447
3455
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3448
3456
|
*/
|
|
3449
|
-
VatCommonInvoice
|
|
3457
|
+
VatCommonInvoice?: VatInvoiceInfo;
|
|
3450
3458
|
/**
|
|
3451
3459
|
* 增值税电子普通发票
|
|
3452
3460
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3453
3461
|
*/
|
|
3454
|
-
VatElectronicCommonInvoice
|
|
3462
|
+
VatElectronicCommonInvoice?: VatInvoiceInfo;
|
|
3455
3463
|
/**
|
|
3456
3464
|
* 增值税电子专用发票
|
|
3457
3465
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3557,6 +3565,11 @@ export interface SingleInvoiceItem {
|
|
|
3557
3565
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3558
3566
|
*/
|
|
3559
3567
|
MedicalHospitalizedInvoice?: MedicalInvoice;
|
|
3568
|
+
/**
|
|
3569
|
+
* 增值税销货清单
|
|
3570
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3571
|
+
*/
|
|
3572
|
+
VatSalesList?: VatInvoiceInfo;
|
|
3560
3573
|
}
|
|
3561
3574
|
/**
|
|
3562
3575
|
* InvoiceGeneralOCR返回参数结构体
|
|
@@ -3785,6 +3798,22 @@ export interface VatInvoiceInfo {
|
|
|
3785
3798
|
* 发票联名
|
|
3786
3799
|
*/
|
|
3787
3800
|
FormName?: string;
|
|
3801
|
+
/**
|
|
3802
|
+
* 是否有区块链标记(0:没有,1:有)
|
|
3803
|
+
*/
|
|
3804
|
+
BlockChainMark?: number;
|
|
3805
|
+
/**
|
|
3806
|
+
* 是否有收购标记(0:没有,1:有)
|
|
3807
|
+
*/
|
|
3808
|
+
AcquisitionMark?: number;
|
|
3809
|
+
/**
|
|
3810
|
+
* 小计金额
|
|
3811
|
+
*/
|
|
3812
|
+
SubTotal?: string;
|
|
3813
|
+
/**
|
|
3814
|
+
* 小计税额
|
|
3815
|
+
*/
|
|
3816
|
+
SubTax?: string;
|
|
3788
3817
|
}
|
|
3789
3818
|
/**
|
|
3790
3819
|
* RecognizePhilippinesSssIDOCR返回参数结构体
|
|
@@ -3012,22 +3012,22 @@ export interface ConcernInfo {
|
|
|
3012
3012
|
* 关注点类型
|
|
3013
3013
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3014
3014
|
*/
|
|
3015
|
-
ConcernType
|
|
3015
|
+
ConcernType?: number;
|
|
3016
3016
|
/**
|
|
3017
|
-
* 实体类型
|
|
3017
|
+
* 实体类型 1: 非云上IP,2: 云上IP,3: 域名,4: IP,5: 文件,6: 进程
|
|
3018
3018
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3019
3019
|
*/
|
|
3020
|
-
EntityType
|
|
3020
|
+
EntityType?: number;
|
|
3021
3021
|
/**
|
|
3022
3022
|
* 关注点
|
|
3023
3023
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3024
3024
|
*/
|
|
3025
|
-
Concern
|
|
3025
|
+
Concern?: string;
|
|
3026
3026
|
/**
|
|
3027
3027
|
* 最近数量
|
|
3028
3028
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3029
3029
|
*/
|
|
3030
|
-
StatisticsCount
|
|
3030
|
+
StatisticsCount?: number;
|
|
3031
3031
|
/**
|
|
3032
3032
|
* IP国家
|
|
3033
3033
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3162,27 +3162,27 @@ export interface ConcernInfo {
|
|
|
3162
3162
|
* 可疑关注点字段
|
|
3163
3163
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3164
3164
|
*/
|
|
3165
|
-
SearchData
|
|
3165
|
+
SearchData?: string;
|
|
3166
3166
|
/**
|
|
3167
3167
|
* 可疑关注点字段
|
|
3168
3168
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3169
3169
|
*/
|
|
3170
|
-
IpCountryIso
|
|
3170
|
+
IpCountryIso?: string;
|
|
3171
3171
|
/**
|
|
3172
3172
|
* 可疑关注点字段
|
|
3173
3173
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3174
3174
|
*/
|
|
3175
|
-
IpProvinceIso
|
|
3175
|
+
IpProvinceIso?: string;
|
|
3176
3176
|
/**
|
|
3177
3177
|
* 可疑关注点字段
|
|
3178
3178
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3179
3179
|
*/
|
|
3180
|
-
IpCity
|
|
3180
|
+
IpCity?: string;
|
|
3181
3181
|
/**
|
|
3182
3182
|
* 可疑关注点字段
|
|
3183
3183
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3184
3184
|
*/
|
|
3185
|
-
EventSubType
|
|
3185
|
+
EventSubType?: string;
|
|
3186
3186
|
}
|
|
3187
3187
|
/**
|
|
3188
3188
|
* 测绘结果
|
|
@@ -4378,64 +4378,69 @@ export interface RabbitMQClusterInfo {
|
|
|
4378
4378
|
/**
|
|
4379
4379
|
* 集群ID
|
|
4380
4380
|
*/
|
|
4381
|
-
ClusterId
|
|
4381
|
+
ClusterId?: string;
|
|
4382
4382
|
/**
|
|
4383
4383
|
* 集群名称
|
|
4384
4384
|
*/
|
|
4385
|
-
ClusterName
|
|
4385
|
+
ClusterName?: string;
|
|
4386
4386
|
/**
|
|
4387
4387
|
* 地域信息
|
|
4388
4388
|
*/
|
|
4389
|
-
Region
|
|
4389
|
+
Region?: string;
|
|
4390
4390
|
/**
|
|
4391
4391
|
* 创建时间,毫秒为单位
|
|
4392
4392
|
*/
|
|
4393
|
-
CreateTime
|
|
4393
|
+
CreateTime?: number;
|
|
4394
4394
|
/**
|
|
4395
4395
|
* 集群说明信息
|
|
4396
4396
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4397
4397
|
*/
|
|
4398
|
-
Remark
|
|
4398
|
+
Remark?: string;
|
|
4399
4399
|
/**
|
|
4400
4400
|
* VPC及网络信息
|
|
4401
4401
|
*/
|
|
4402
|
-
Vpcs
|
|
4402
|
+
Vpcs?: Array<VpcEndpointInfo>;
|
|
4403
|
+
/**
|
|
4404
|
+
* 可用区信息
|
|
4405
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4406
|
+
*/
|
|
4407
|
+
ZoneIds?: Array<number>;
|
|
4403
4408
|
/**
|
|
4404
4409
|
* 虚拟主机数量
|
|
4405
4410
|
*/
|
|
4406
|
-
VirtualHostNumber
|
|
4411
|
+
VirtualHostNumber?: number;
|
|
4407
4412
|
/**
|
|
4408
4413
|
* 队列数量
|
|
4409
4414
|
*/
|
|
4410
|
-
QueueNumber
|
|
4415
|
+
QueueNumber?: number;
|
|
4411
4416
|
/**
|
|
4412
4417
|
* 每秒生产消息数 单位:条/秒
|
|
4413
4418
|
*/
|
|
4414
|
-
MessagePublishRate
|
|
4419
|
+
MessagePublishRate?: number;
|
|
4415
4420
|
/**
|
|
4416
4421
|
* 堆积消息数 单位:条
|
|
4417
4422
|
*/
|
|
4418
|
-
MessageStackNumber
|
|
4423
|
+
MessageStackNumber?: number;
|
|
4419
4424
|
/**
|
|
4420
4425
|
* 过期时间
|
|
4421
4426
|
*/
|
|
4422
|
-
ExpireTime
|
|
4427
|
+
ExpireTime?: number;
|
|
4423
4428
|
/**
|
|
4424
4429
|
* Channel数量
|
|
4425
4430
|
*/
|
|
4426
|
-
ChannelNumber
|
|
4431
|
+
ChannelNumber?: number;
|
|
4427
4432
|
/**
|
|
4428
4433
|
* Connection数量
|
|
4429
4434
|
*/
|
|
4430
|
-
ConnectionNumber
|
|
4435
|
+
ConnectionNumber?: number;
|
|
4431
4436
|
/**
|
|
4432
4437
|
* Consumer数量
|
|
4433
4438
|
*/
|
|
4434
|
-
ConsumerNumber
|
|
4439
|
+
ConsumerNumber?: number;
|
|
4435
4440
|
/**
|
|
4436
4441
|
* Exchang数量
|
|
4437
4442
|
*/
|
|
4438
|
-
ExchangeNumber
|
|
4443
|
+
ExchangeNumber?: number;
|
|
4439
4444
|
/**
|
|
4440
4445
|
* 集群异常。
|
|
4441
4446
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -4443,7 +4448,6 @@ export interface RabbitMQClusterInfo {
|
|
|
4443
4448
|
ExceptionInformation?: string;
|
|
4444
4449
|
/**
|
|
4445
4450
|
* 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
|
4446
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4447
4451
|
*/
|
|
4448
4452
|
ClusterStatus?: number;
|
|
4449
4453
|
}
|
|
@@ -7489,7 +7489,7 @@ export interface ManageTaskRequest {
|
|
|
7489
7489
|
SubAppId?: number;
|
|
7490
7490
|
}
|
|
7491
7491
|
/**
|
|
7492
|
-
*
|
|
7492
|
+
* 轮播媒体文件信息
|
|
7493
7493
|
*/
|
|
7494
7494
|
export interface RoundPlayListItemInfo {
|
|
7495
7495
|
/**
|
|
@@ -16507,6 +16507,7 @@ export interface MediaTranscodeItem {
|
|
|
16507
16507
|
Url?: string;
|
|
16508
16508
|
/**
|
|
16509
16509
|
* 转码规格 ID,参见[转码参数模板](https://cloud.tencent.com/document/product/266/33476)。
|
|
16510
|
+
<font color=red>注意:取值 0 表示原始文件。</font>
|
|
16510
16511
|
*/
|
|
16511
16512
|
Definition?: number;
|
|
16512
16513
|
/**
|
|
@@ -16674,11 +16675,11 @@ export interface SplitMediaResponse {
|
|
|
16674
16675
|
*/
|
|
16675
16676
|
export interface RestoreMediaRequest {
|
|
16676
16677
|
/**
|
|
16677
|
-
*
|
|
16678
|
+
* 媒体文件唯一标识列表,最大长度:100。
|
|
16678
16679
|
*/
|
|
16679
16680
|
FileIds: Array<string>;
|
|
16680
16681
|
/**
|
|
16681
|
-
*
|
|
16682
|
+
* 解冻出的临时媒体文件的可访问持续时长,必须大于0,单位为“天”。
|
|
16682
16683
|
*/
|
|
16683
16684
|
RestoreDay?: number;
|
|
16684
16685
|
/**
|
|
@@ -598,6 +598,16 @@ it("antiddos.v20200309.ModifyCcBlackWhiteIpList", async function () {
|
|
|
598
598
|
}
|
|
599
599
|
})
|
|
600
600
|
|
|
601
|
+
it("antiddos.v20200309.DescribeBizMonitorTrend", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.DescribeBizMonitorTrend({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
601
611
|
it("antiddos.v20200309.CreateBoundIP", async function () {
|
|
602
612
|
try {
|
|
603
613
|
const data = await client.CreateBoundIP({})
|
|
@@ -168,6 +168,16 @@ it("cls.v20201016.CreateIndex", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("cls.v20201016.DescribeScheduledSqlInfo", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeScheduledSqlInfo({})
|
|
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("cls.v20201016.DeleteConfig", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DeleteConfig({})
|
|
@@ -468,9 +478,9 @@ it("cls.v20201016.SearchLog", async function () {
|
|
|
468
478
|
}
|
|
469
479
|
})
|
|
470
480
|
|
|
471
|
-
it("cls.v20201016.
|
|
481
|
+
it("cls.v20201016.DeleteScheduledSql", async function () {
|
|
472
482
|
try {
|
|
473
|
-
const data = await client.
|
|
483
|
+
const data = await client.DeleteScheduledSql({})
|
|
474
484
|
expect(data).to.be.ok
|
|
475
485
|
} catch(error) {
|
|
476
486
|
expect(error.requestId).to.be.ok
|
|
@@ -638,6 +648,16 @@ it("cls.v20201016.DescribeConsumer", async function () {
|
|
|
638
648
|
}
|
|
639
649
|
})
|
|
640
650
|
|
|
651
|
+
it("cls.v20201016.ModifyAlarmNotice", async function () {
|
|
652
|
+
try {
|
|
653
|
+
const data = await client.ModifyAlarmNotice({})
|
|
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("cls.v20201016.DescribeConfigs", async function () {
|
|
642
662
|
try {
|
|
643
663
|
const data = await client.DescribeConfigs({})
|
|
@@ -768,6 +788,16 @@ it("cls.v20201016.CreateExport", async function () {
|
|
|
768
788
|
}
|
|
769
789
|
})
|
|
770
790
|
|
|
791
|
+
it("cls.v20201016.ModifyScheduledSql", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.ModifyScheduledSql({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
771
801
|
it("cls.v20201016.CloseKafkaConsumer", async function () {
|
|
772
802
|
try {
|
|
773
803
|
const data = await client.CloseKafkaConsumer({})
|
|
@@ -258,6 +258,16 @@ it("dnspod.v20210323.CreateDeal", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
+
it("dnspod.v20210323.DescribeRecordFilterList", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DescribeRecordFilterList({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
261
271
|
it("dnspod.v20210323.DescribeSnapshotConfig", async function () {
|
|
262
272
|
try {
|
|
263
273
|
const data = await client.DescribeSnapshotConfig({})
|
|
@@ -28,6 +28,16 @@ it("iotvideo.v20211125.CallTRTCDevice", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("iotvideo.v20211125.DescribeDevicePackages", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeDevicePackages({})
|
|
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("iotvideo.v20211125.CreateAIDetection", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.CreateAIDetection({})
|
|
@@ -768,6 +778,16 @@ it("iotvideo.v20211125.TransferCloudStorage", async function () {
|
|
|
768
778
|
}
|
|
769
779
|
})
|
|
770
780
|
|
|
781
|
+
it("iotvideo.v20211125.DeleteCloudStorageEvent", async function () {
|
|
782
|
+
try {
|
|
783
|
+
const data = await client.DeleteCloudStorageEvent({})
|
|
784
|
+
expect(data).to.be.ok
|
|
785
|
+
} catch(error) {
|
|
786
|
+
expect(error.requestId).to.be.ok
|
|
787
|
+
expect(error.code).to.be.ok
|
|
788
|
+
}
|
|
789
|
+
})
|
|
790
|
+
|
|
771
791
|
it("iotvideo.v20211125.DescribeBalanceTransactions", async function () {
|
|
772
792
|
try {
|
|
773
793
|
const data = await client.DescribeBalanceTransactions({})
|
|
@@ -18,9 +18,19 @@ const client = new tencentcloud.ms.v20180408.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("ms.v20180408.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("ms.v20180408.
|
|
21
|
+
it("ms.v20180408.CreateShieldPlanInstance", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.CreateShieldPlanInstance({})
|
|
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
|
+
|
|
31
|
+
it("ms.v20180408.DeleteShieldInstances", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DeleteShieldInstances({})
|
|
24
34
|
expect(data).to.be.ok
|
|
25
35
|
} catch(error) {
|
|
26
36
|
expect(error.requestId).to.be.ok
|
|
@@ -78,6 +88,16 @@ it("ms.v20180408.DescribeShieldPlanInstance", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
91
|
+
it("ms.v20180408.DescribeShieldResult", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DescribeShieldResult({})
|
|
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
|
+
|
|
81
101
|
it("ms.v20180408.CreateShieldInstance", async function () {
|
|
82
102
|
try {
|
|
83
103
|
const data = await client.CreateShieldInstance({})
|
|
@@ -108,9 +128,9 @@ it("ms.v20180408.DescribeUrlDetectionResult", async function () {
|
|
|
108
128
|
}
|
|
109
129
|
})
|
|
110
130
|
|
|
111
|
-
it("ms.v20180408.
|
|
131
|
+
it("ms.v20180408.CancelEncryptTask", async function () {
|
|
112
132
|
try {
|
|
113
|
-
const data = await client.
|
|
133
|
+
const data = await client.CancelEncryptTask({})
|
|
114
134
|
expect(data).to.be.ok
|
|
115
135
|
} catch(error) {
|
|
116
136
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +158,49 @@ it("ms.v20180408.DescribeApkDetectionResult", async function () {
|
|
|
138
158
|
}
|
|
139
159
|
})
|
|
140
160
|
|
|
141
|
-
it("ms.v20180408.
|
|
161
|
+
it("ms.v20180408.DescribeEncryptInstances", async function () {
|
|
142
162
|
try {
|
|
143
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeEncryptInstances({})
|
|
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
|
+
|
|
171
|
+
it("ms.v20180408.CreateEncryptInstance", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.CreateEncryptInstance({})
|
|
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
|
+
|
|
181
|
+
it("ms.v20180408.DescribeEncryptPlan", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeEncryptPlan({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("ms.v20180408.DescribeOrderInstances", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeOrderInstances({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
201
|
+
it("ms.v20180408.CreateOrderInstance", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.CreateOrderInstance({})
|
|
144
204
|
expect(data).to.be.ok
|
|
145
205
|
} catch(error) {
|
|
146
206
|
expect(error.requestId).to.be.ok
|