tencentcloud-sdk-nodejs 4.0.438 → 4.0.439
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 +472 -0
- package/SERVICE_CHANGELOG.md +654 -281
- package/package.json +1 -1
- package/products.md +20 -20
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +5 -0
- package/src/services/cfw/v20190904/cfw_client.ts +12 -0
- package/src/services/cfw/v20190904/cfw_models.ts +52 -2
- package/src/services/clb/v20180317/clb_models.ts +5 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +18 -0
- package/src/services/cwp/v20180228/cwp_client.ts +192 -53
- package/src/services/cwp/v20180228/cwp_models.ts +1332 -321
- package/src/services/ecm/v20190719/ecm_models.ts +9 -0
- package/src/services/ess/v20201111/ess_client.ts +3 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +39 -12
- package/src/services/essbasic/v20210526/essbasic_models.ts +273 -102
- package/src/services/gme/v20180711/gme_client.ts +15 -2
- package/src/services/gme/v20180711/gme_models.ts +68 -13
- package/src/services/monitor/v20180724/monitor_client.ts +17 -4
- package/src/services/monitor/v20180724/monitor_models.ts +162 -53
- package/src/services/ms/v20180408/ms_client.ts +26 -11
- package/src/services/ms/v20180408/ms_models.ts +224 -27
- package/src/services/ocr/v20181119/ocr_client.ts +18 -3
- package/src/services/ocr/v20181119/ocr_models.ts +166 -76
- package/src/services/rum/v20210622/rum_models.ts +15 -0
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +104 -16
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +906 -411
- package/src/services/taf/v20200210/taf_client.ts +1 -15
- package/src/services/taf/v20200210/taf_models.ts +8 -96
- package/src/services/teo/v20220106/teo_models.ts +17 -11
- package/src/services/trtc/v20190722/trtc_models.ts +2 -2
- package/src/services/vod/v20180717/vod_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -0
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +43 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +15 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +64 -17
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +93 -24
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1138 -300
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +8 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +14 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +18 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +226 -83
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +5 -1
- package/tencentcloud/services/gme/v20180711/gme_client.js +6 -0
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +58 -11
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +139 -48
- package/tencentcloud/services/ms/v20180408/ms_client.d.ts +8 -4
- package/tencentcloud/services/ms/v20180408/ms_client.js +10 -4
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +194 -27
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +141 -63
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +12 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +31 -3
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +45 -3
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +758 -344
- package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -5
- package/tencentcloud/services/taf/v20200210/taf_client.js +0 -6
- package/tencentcloud/services/taf/v20200210/taf_models.d.ts +7 -82
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +16 -11
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +2 -2
- package/test/cfw.v20190904.test.js +10 -0
- package/test/cwp.v20180228.test.js +128 -18
- package/test/essbasic.v20210526.test.js +22 -2
- package/test/gme.v20180711.test.js +10 -0
- package/test/monitor.v20180724.test.js +10 -0
- package/test/ms.v20180408.test.js +12 -2
- package/test/ocr.v20181119.test.js +10 -0
- package/test/sqlserver.v20180328.test.js +72 -2
- package/test/taf.v20200210.test.js +0 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { RecognizeCustomizedAudienceRequest, RecognizeTargetAudienceResponse, RecognizeCustomizedAudienceResponse, RecognizePreciseTargetAudienceRequest, RecognizeTargetAudienceRequest, RecognizePreciseTargetAudienceResponse } from "./taf_models";
|
|
4
4
|
/**
|
|
5
5
|
* taf client
|
|
6
6
|
* @class
|
|
@@ -19,8 +19,4 @@ export declare class Client extends AbstractClient {
|
|
|
19
19
|
* 流量反欺诈-流量验准
|
|
20
20
|
*/
|
|
21
21
|
RecognizeTargetAudience(req: RecognizeTargetAudienceRequest, cb?: (error: string, rep: RecognizeTargetAudienceResponse) => void): Promise<RecognizeTargetAudienceResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* 流量安选产品,短信发送接口
|
|
24
|
-
*/
|
|
25
|
-
SendTrafficSecuritySmsMessage(req: SendTrafficSecuritySmsMessageRequest, cb?: (error: string, rep: SendTrafficSecuritySmsMessageResponse) => void): Promise<SendTrafficSecuritySmsMessageResponse>;
|
|
26
22
|
}
|
|
@@ -45,11 +45,5 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
45
45
|
async RecognizeTargetAudience(req, cb) {
|
|
46
46
|
return this.request("RecognizeTargetAudience", req, cb);
|
|
47
47
|
}
|
|
48
|
-
/**
|
|
49
|
-
* 流量安选产品,短信发送接口
|
|
50
|
-
*/
|
|
51
|
-
async SendTrafficSecuritySmsMessage(req, cb) {
|
|
52
|
-
return this.request("SendTrafficSecuritySmsMessage", req, cb);
|
|
53
|
-
}
|
|
54
48
|
}
|
|
55
49
|
exports.Client = Client;
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SendTrafficSecuritySmsMessage返回参数结构体
|
|
3
|
-
*/
|
|
4
|
-
export interface SendTrafficSecuritySmsMessageResponse {
|
|
5
|
-
/**
|
|
6
|
-
* 返回结果
|
|
7
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8
|
-
*/
|
|
9
|
-
Data: OutputSendTrafficSecuritySmsMsg;
|
|
10
|
-
/**
|
|
11
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12
|
-
*/
|
|
13
|
-
RequestId?: string;
|
|
14
|
-
}
|
|
15
1
|
/**
|
|
16
2
|
* 业务入参
|
|
17
3
|
*/
|
|
@@ -59,29 +45,6 @@ export interface OutputRecognizeTargetAudienceValue {
|
|
|
59
45
|
*/
|
|
60
46
|
Score: number;
|
|
61
47
|
}
|
|
62
|
-
/**
|
|
63
|
-
* SendTrafficSecuritySmsMessage请求参数结构体
|
|
64
|
-
*/
|
|
65
|
-
export interface SendTrafficSecuritySmsMessageRequest {
|
|
66
|
-
/**
|
|
67
|
-
* 业务入参
|
|
68
|
-
*/
|
|
69
|
-
BspData: InputSendTrafficSecuritySmsMsg;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* RecognizePreciseTargetAudience返回参数结构体
|
|
73
|
-
*/
|
|
74
|
-
export interface RecognizePreciseTargetAudienceResponse {
|
|
75
|
-
/**
|
|
76
|
-
* 回包数据
|
|
77
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
78
|
-
*/
|
|
79
|
-
Data?: OutputRecognizeTargetAudience;
|
|
80
|
-
/**
|
|
81
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
82
|
-
*/
|
|
83
|
-
RequestId?: string;
|
|
84
|
-
}
|
|
85
48
|
/**
|
|
86
49
|
* 流量反欺诈-验准返回值
|
|
87
50
|
*/
|
|
@@ -293,25 +256,6 @@ export interface Device {
|
|
|
293
256
|
*/
|
|
294
257
|
DeviceType: number;
|
|
295
258
|
}
|
|
296
|
-
/**
|
|
297
|
-
* 返回结果
|
|
298
|
-
*/
|
|
299
|
-
export interface OutputSendTrafficSecuritySmsMsg {
|
|
300
|
-
/**
|
|
301
|
-
* 返回码(0:接口调用成功 非0:接口调用失败)
|
|
302
|
-
*/
|
|
303
|
-
Code: number;
|
|
304
|
-
/**
|
|
305
|
-
* 返回码对应的信息
|
|
306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
307
|
-
*/
|
|
308
|
-
Message: string;
|
|
309
|
-
/**
|
|
310
|
-
* 发送失败的号码列表
|
|
311
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
312
|
-
*/
|
|
313
|
-
Value: Array<string>;
|
|
314
|
-
}
|
|
315
259
|
/**
|
|
316
260
|
* RecognizePreciseTargetAudience请求参数结构体
|
|
317
261
|
*/
|
|
@@ -335,35 +279,16 @@ export interface RecognizeTargetAudienceRequest {
|
|
|
335
279
|
BusinessEncryptData?: InputBusinessEncryptData;
|
|
336
280
|
}
|
|
337
281
|
/**
|
|
338
|
-
*
|
|
282
|
+
* RecognizePreciseTargetAudience返回参数结构体
|
|
339
283
|
*/
|
|
340
|
-
export interface
|
|
341
|
-
/**
|
|
342
|
-
* 投放任务ID
|
|
343
|
-
*/
|
|
344
|
-
TaskId: string;
|
|
345
|
-
/**
|
|
346
|
-
* 手机号码列表(号码量<=200)
|
|
347
|
-
*/
|
|
348
|
-
Mobiles: Array<string>;
|
|
349
|
-
/**
|
|
350
|
-
* 是否授权,1:已授权
|
|
351
|
-
*/
|
|
352
|
-
IsAuthorized?: number;
|
|
353
|
-
/**
|
|
354
|
-
* 加密方式,0:AES加密;1:DES加密
|
|
355
|
-
*/
|
|
356
|
-
EncryptMethod?: number;
|
|
357
|
-
/**
|
|
358
|
-
* 加密算法中的块处理模式,0:ECB模式;1:CBC模式;2:CTR模式;3:CFB模式;4:OFB模式;
|
|
359
|
-
*/
|
|
360
|
-
EncryptMode?: number;
|
|
284
|
+
export interface RecognizePreciseTargetAudienceResponse {
|
|
361
285
|
/**
|
|
362
|
-
*
|
|
286
|
+
* 回包数据
|
|
287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
363
288
|
*/
|
|
364
|
-
|
|
289
|
+
Data?: OutputRecognizeTargetAudience;
|
|
365
290
|
/**
|
|
366
|
-
*
|
|
291
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
367
292
|
*/
|
|
368
|
-
|
|
293
|
+
RequestId?: string;
|
|
369
294
|
}
|
|
@@ -491,40 +491,45 @@ export interface ShieldArea {
|
|
|
491
491
|
*/
|
|
492
492
|
export interface ServerCertInfo {
|
|
493
493
|
/**
|
|
494
|
-
* 服务器证书 ID
|
|
494
|
+
* 服务器证书 ID。
|
|
495
495
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
496
496
|
*/
|
|
497
497
|
CertId: string;
|
|
498
498
|
/**
|
|
499
|
-
*
|
|
499
|
+
* 证书备注名。
|
|
500
500
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
501
501
|
*/
|
|
502
502
|
Alias?: string;
|
|
503
503
|
/**
|
|
504
|
-
*
|
|
505
|
-
default:
|
|
506
|
-
upload
|
|
507
|
-
managed
|
|
504
|
+
* 证书类型,取值有:
|
|
505
|
+
<li>default: 默认证书;</li>
|
|
506
|
+
<li>upload:用户上传;</li>
|
|
507
|
+
<li>managed:腾讯云托管。</li>
|
|
508
508
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
509
509
|
*/
|
|
510
510
|
Type?: string;
|
|
511
511
|
/**
|
|
512
|
-
*
|
|
512
|
+
* 证书过期时间。
|
|
513
513
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
514
514
|
*/
|
|
515
515
|
ExpireTime?: string;
|
|
516
516
|
/**
|
|
517
|
-
*
|
|
517
|
+
* 证书部署时间。
|
|
518
518
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
519
519
|
*/
|
|
520
520
|
DeployTime?: string;
|
|
521
521
|
/**
|
|
522
|
-
*
|
|
523
|
-
processing:
|
|
524
|
-
deployed:
|
|
522
|
+
* 部署状态,取值有:
|
|
523
|
+
<li>processing: 部署中;</li>
|
|
524
|
+
<li>deployed: 已部署。</li>
|
|
525
525
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
526
526
|
*/
|
|
527
527
|
Status?: string;
|
|
528
|
+
/**
|
|
529
|
+
* 证书算法。
|
|
530
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
531
|
+
*/
|
|
532
|
+
SignAlgo?: string;
|
|
528
533
|
}
|
|
529
534
|
/**
|
|
530
535
|
* ModifyRule请求参数结构体
|
|
@@ -1227,7 +1227,7 @@ export interface CreateCloudRecordingRequest {
|
|
|
1227
1227
|
*/
|
|
1228
1228
|
RoomId: string;
|
|
1229
1229
|
/**
|
|
1230
|
-
* 录制机器人用于进入TRTC房间拉流的[UserId](https://cloud.tencent.com/document/product/647/46351#userid),注意这个UserId不能与其他TRTC
|
|
1230
|
+
* 录制机器人用于进入TRTC房间拉流的[UserId](https://cloud.tencent.com/document/product/647/46351#userid),注意这个UserId不能与其他TRTC房间内的主播或者其他录制任务等已经使用的UserId重复,建议可以把房间ID作为userId的标识的一部分,即录制机器人进入房间的userid应保证独立且唯一。
|
|
1231
1231
|
*/
|
|
1232
1232
|
UserId: string;
|
|
1233
1233
|
/**
|
|
@@ -1245,7 +1245,7 @@ export interface CreateCloudRecordingRequest {
|
|
|
1245
1245
|
/**
|
|
1246
1246
|
* TRTC房间号的类型,必须和录制的房间所对应的RoomId类型相同:
|
|
1247
1247
|
0: 字符串类型的RoomId
|
|
1248
|
-
1: 32位整型的RoomId
|
|
1248
|
+
1: 32位整型的RoomId(默认)
|
|
1249
1249
|
*/
|
|
1250
1250
|
RoomIdType?: number;
|
|
1251
1251
|
/**
|
|
@@ -2247,7 +2247,7 @@ export interface ReviewAudioVideoRequest {
|
|
|
2247
2247
|
*/
|
|
2248
2248
|
TasksPriority?: number;
|
|
2249
2249
|
/**
|
|
2250
|
-
*
|
|
2250
|
+
* 来源上下文,用于透传用户请求信息,音视频审核完成回调将返回该字段值,最长 1000 个字符。
|
|
2251
2251
|
*/
|
|
2252
2252
|
SessionContext?: string;
|
|
2253
2253
|
/**
|
|
@@ -11984,7 +11984,7 @@ export interface ReviewAudioVideoTask {
|
|
|
11984
11984
|
*/
|
|
11985
11985
|
SessionId: string;
|
|
11986
11986
|
/**
|
|
11987
|
-
*
|
|
11987
|
+
* 来源上下文,用于透传用户请求信息,音视频审核完成回调将返回该字段值,最长 1000 个字符。
|
|
11988
11988
|
*/
|
|
11989
11989
|
SessionContext: string;
|
|
11990
11990
|
}
|
|
@@ -328,6 +328,16 @@ it("cfw.v20190904.DescribeIPStatusList", async function () {
|
|
|
328
328
|
}
|
|
329
329
|
})
|
|
330
330
|
|
|
331
|
+
it("cfw.v20190904.DescribeDefenseSwitch", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.DescribeDefenseSwitch({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
331
341
|
it("cfw.v20190904.DescribeTLogInfo", async function () {
|
|
332
342
|
try {
|
|
333
343
|
const data = await client.DescribeTLogInfo({})
|
|
@@ -98,6 +98,16 @@ it("cwp.v20180228.DescribeAttackLogs", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("cwp.v20180228.DescribeVulList", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeVulList({})
|
|
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("cwp.v20180228.DescribeSearchExportList", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DescribeSearchExportList({})
|
|
@@ -528,9 +538,9 @@ it("cwp.v20180228.ExportVulDetectionExcel", async function () {
|
|
|
528
538
|
}
|
|
529
539
|
})
|
|
530
540
|
|
|
531
|
-
it("cwp.v20180228.
|
|
541
|
+
it("cwp.v20180228.DestroyOrder", async function () {
|
|
532
542
|
try {
|
|
533
|
-
const data = await client.
|
|
543
|
+
const data = await client.DestroyOrder({})
|
|
534
544
|
expect(data).to.be.ok
|
|
535
545
|
} catch(error) {
|
|
536
546
|
expect(error.requestId).to.be.ok
|
|
@@ -798,6 +808,16 @@ it("cwp.v20180228.ScanAsset", async function () {
|
|
|
798
808
|
}
|
|
799
809
|
})
|
|
800
810
|
|
|
811
|
+
it("cwp.v20180228.DeleteLicenseRecord", async function () {
|
|
812
|
+
try {
|
|
813
|
+
const data = await client.DeleteLicenseRecord({})
|
|
814
|
+
expect(data).to.be.ok
|
|
815
|
+
} catch(error) {
|
|
816
|
+
expect(error.requestId).to.be.ok
|
|
817
|
+
expect(error.code).to.be.ok
|
|
818
|
+
}
|
|
819
|
+
})
|
|
820
|
+
|
|
801
821
|
it("cwp.v20180228.DescribeSecurityDynamics", async function () {
|
|
802
822
|
try {
|
|
803
823
|
const data = await client.DescribeSecurityDynamics({})
|
|
@@ -858,9 +878,9 @@ it("cwp.v20180228.DeletePrivilegeRules", async function () {
|
|
|
858
878
|
}
|
|
859
879
|
})
|
|
860
880
|
|
|
861
|
-
it("cwp.v20180228.
|
|
881
|
+
it("cwp.v20180228.ExportAssetCoreModuleList", async function () {
|
|
862
882
|
try {
|
|
863
|
-
const data = await client.
|
|
883
|
+
const data = await client.ExportAssetCoreModuleList({})
|
|
864
884
|
expect(data).to.be.ok
|
|
865
885
|
} catch(error) {
|
|
866
886
|
expect(error.requestId).to.be.ok
|
|
@@ -1068,6 +1088,16 @@ it("cwp.v20180228.ModifyWebPageProtectDir", async function () {
|
|
|
1068
1088
|
}
|
|
1069
1089
|
})
|
|
1070
1090
|
|
|
1091
|
+
it("cwp.v20180228.ExportScanTaskDetails", async function () {
|
|
1092
|
+
try {
|
|
1093
|
+
const data = await client.ExportScanTaskDetails({})
|
|
1094
|
+
expect(data).to.be.ok
|
|
1095
|
+
} catch(error) {
|
|
1096
|
+
expect(error.requestId).to.be.ok
|
|
1097
|
+
expect(error.code).to.be.ok
|
|
1098
|
+
}
|
|
1099
|
+
})
|
|
1100
|
+
|
|
1071
1101
|
it("cwp.v20180228.DescribeMaliciousRequestWhiteList", async function () {
|
|
1072
1102
|
try {
|
|
1073
1103
|
const data = await client.DescribeMaliciousRequestWhiteList({})
|
|
@@ -1108,6 +1138,16 @@ it("cwp.v20180228.DescribeAssetWebLocationInfo", async function () {
|
|
|
1108
1138
|
}
|
|
1109
1139
|
})
|
|
1110
1140
|
|
|
1141
|
+
it("cwp.v20180228.UntrustMalwares", async function () {
|
|
1142
|
+
try {
|
|
1143
|
+
const data = await client.UntrustMalwares({})
|
|
1144
|
+
expect(data).to.be.ok
|
|
1145
|
+
} catch(error) {
|
|
1146
|
+
expect(error.requestId).to.be.ok
|
|
1147
|
+
expect(error.code).to.be.ok
|
|
1148
|
+
}
|
|
1149
|
+
})
|
|
1150
|
+
|
|
1111
1151
|
it("cwp.v20180228.DescribeProtectDirList", async function () {
|
|
1112
1152
|
try {
|
|
1113
1153
|
const data = await client.DescribeProtectDirList({})
|
|
@@ -1188,6 +1228,26 @@ it("cwp.v20180228.DescribeScanTaskStatus", async function () {
|
|
|
1188
1228
|
}
|
|
1189
1229
|
})
|
|
1190
1230
|
|
|
1231
|
+
it("cwp.v20180228.CreateLicenseOrder", async function () {
|
|
1232
|
+
try {
|
|
1233
|
+
const data = await client.CreateLicenseOrder({})
|
|
1234
|
+
expect(data).to.be.ok
|
|
1235
|
+
} catch(error) {
|
|
1236
|
+
expect(error.requestId).to.be.ok
|
|
1237
|
+
expect(error.code).to.be.ok
|
|
1238
|
+
}
|
|
1239
|
+
})
|
|
1240
|
+
|
|
1241
|
+
it("cwp.v20180228.ExportLicenseDetail", async function () {
|
|
1242
|
+
try {
|
|
1243
|
+
const data = await client.ExportLicenseDetail({})
|
|
1244
|
+
expect(data).to.be.ok
|
|
1245
|
+
} catch(error) {
|
|
1246
|
+
expect(error.requestId).to.be.ok
|
|
1247
|
+
expect(error.code).to.be.ok
|
|
1248
|
+
}
|
|
1249
|
+
})
|
|
1250
|
+
|
|
1191
1251
|
it("cwp.v20180228.DescribeSearchTemplates", async function () {
|
|
1192
1252
|
try {
|
|
1193
1253
|
const data = await client.DescribeSearchTemplates({})
|
|
@@ -1318,6 +1378,16 @@ it("cwp.v20180228.DescribeLoginWhiteCombinedList", async function () {
|
|
|
1318
1378
|
}
|
|
1319
1379
|
})
|
|
1320
1380
|
|
|
1381
|
+
it("cwp.v20180228.DescribeBaselineTop", async function () {
|
|
1382
|
+
try {
|
|
1383
|
+
const data = await client.DescribeBaselineTop({})
|
|
1384
|
+
expect(data).to.be.ok
|
|
1385
|
+
} catch(error) {
|
|
1386
|
+
expect(error.requestId).to.be.ok
|
|
1387
|
+
expect(error.code).to.be.ok
|
|
1388
|
+
}
|
|
1389
|
+
})
|
|
1390
|
+
|
|
1321
1391
|
it("cwp.v20180228.DescribeProcessStatistics", async function () {
|
|
1322
1392
|
try {
|
|
1323
1393
|
const data = await client.DescribeProcessStatistics({})
|
|
@@ -1348,9 +1418,9 @@ it("cwp.v20180228.DescribeAssetWebLocationList", async function () {
|
|
|
1348
1418
|
}
|
|
1349
1419
|
})
|
|
1350
1420
|
|
|
1351
|
-
it("cwp.v20180228.
|
|
1421
|
+
it("cwp.v20180228.DescribeAssetAppProcessList", async function () {
|
|
1352
1422
|
try {
|
|
1353
|
-
const data = await client.
|
|
1423
|
+
const data = await client.DescribeAssetAppProcessList({})
|
|
1354
1424
|
expect(data).to.be.ok
|
|
1355
1425
|
} catch(error) {
|
|
1356
1426
|
expect(error.requestId).to.be.ok
|
|
@@ -1478,6 +1548,16 @@ it("cwp.v20180228.DescribeBruteAttackRules", async function () {
|
|
|
1478
1548
|
}
|
|
1479
1549
|
})
|
|
1480
1550
|
|
|
1551
|
+
it("cwp.v20180228.ModifyLicenseBinds", async function () {
|
|
1552
|
+
try {
|
|
1553
|
+
const data = await client.ModifyLicenseBinds({})
|
|
1554
|
+
expect(data).to.be.ok
|
|
1555
|
+
} catch(error) {
|
|
1556
|
+
expect(error.requestId).to.be.ok
|
|
1557
|
+
expect(error.code).to.be.ok
|
|
1558
|
+
}
|
|
1559
|
+
})
|
|
1560
|
+
|
|
1481
1561
|
it("cwp.v20180228.DescribeAssetEnvList", async function () {
|
|
1482
1562
|
try {
|
|
1483
1563
|
const data = await client.DescribeAssetEnvList({})
|
|
@@ -1588,6 +1668,16 @@ it("cwp.v20180228.DescribeIgnoreBaselineRule", async function () {
|
|
|
1588
1668
|
}
|
|
1589
1669
|
})
|
|
1590
1670
|
|
|
1671
|
+
it("cwp.v20180228.DescribeLicenseBindSchedule", async function () {
|
|
1672
|
+
try {
|
|
1673
|
+
const data = await client.DescribeLicenseBindSchedule({})
|
|
1674
|
+
expect(data).to.be.ok
|
|
1675
|
+
} catch(error) {
|
|
1676
|
+
expect(error.requestId).to.be.ok
|
|
1677
|
+
expect(error.code).to.be.ok
|
|
1678
|
+
}
|
|
1679
|
+
})
|
|
1680
|
+
|
|
1591
1681
|
it("cwp.v20180228.DescribeBaselineDetail", async function () {
|
|
1592
1682
|
try {
|
|
1593
1683
|
const data = await client.DescribeBaselineDetail({})
|
|
@@ -1668,9 +1758,19 @@ it("cwp.v20180228.DescribeVulHostTop", async function () {
|
|
|
1668
1758
|
}
|
|
1669
1759
|
})
|
|
1670
1760
|
|
|
1671
|
-
it("cwp.v20180228.
|
|
1761
|
+
it("cwp.v20180228.ModifyLicenseUnBinds", async function () {
|
|
1672
1762
|
try {
|
|
1673
|
-
const data = await client.
|
|
1763
|
+
const data = await client.ModifyLicenseUnBinds({})
|
|
1764
|
+
expect(data).to.be.ok
|
|
1765
|
+
} catch(error) {
|
|
1766
|
+
expect(error.requestId).to.be.ok
|
|
1767
|
+
expect(error.code).to.be.ok
|
|
1768
|
+
}
|
|
1769
|
+
})
|
|
1770
|
+
|
|
1771
|
+
it("cwp.v20180228.SwitchBashRules", async function () {
|
|
1772
|
+
try {
|
|
1773
|
+
const data = await client.SwitchBashRules({})
|
|
1674
1774
|
expect(data).to.be.ok
|
|
1675
1775
|
} catch(error) {
|
|
1676
1776
|
expect(error.requestId).to.be.ok
|
|
@@ -1748,9 +1848,9 @@ it("cwp.v20180228.ModifyMalwareTimingScanSettings", async function () {
|
|
|
1748
1848
|
}
|
|
1749
1849
|
})
|
|
1750
1850
|
|
|
1751
|
-
it("cwp.v20180228.
|
|
1851
|
+
it("cwp.v20180228.DescribeLicenseGeneral", async function () {
|
|
1752
1852
|
try {
|
|
1753
|
-
const data = await client.
|
|
1853
|
+
const data = await client.DescribeLicenseGeneral({})
|
|
1754
1854
|
expect(data).to.be.ok
|
|
1755
1855
|
} catch(error) {
|
|
1756
1856
|
expect(error.requestId).to.be.ok
|
|
@@ -1758,9 +1858,9 @@ it("cwp.v20180228.DescribeVulList", async function () {
|
|
|
1758
1858
|
}
|
|
1759
1859
|
})
|
|
1760
1860
|
|
|
1761
|
-
it("cwp.v20180228.
|
|
1861
|
+
it("cwp.v20180228.DescribeLicenseBindList", async function () {
|
|
1762
1862
|
try {
|
|
1763
|
-
const data = await client.
|
|
1863
|
+
const data = await client.DescribeLicenseBindList({})
|
|
1764
1864
|
expect(data).to.be.ok
|
|
1765
1865
|
} catch(error) {
|
|
1766
1866
|
expect(error.requestId).to.be.ok
|
|
@@ -1768,9 +1868,9 @@ it("cwp.v20180228.DescribeAssetCoreModuleInfo", async function () {
|
|
|
1768
1868
|
}
|
|
1769
1869
|
})
|
|
1770
1870
|
|
|
1771
|
-
it("cwp.v20180228.
|
|
1871
|
+
it("cwp.v20180228.DescribeAssetCoreModuleInfo", async function () {
|
|
1772
1872
|
try {
|
|
1773
|
-
const data = await client.
|
|
1873
|
+
const data = await client.DescribeAssetCoreModuleInfo({})
|
|
1774
1874
|
expect(data).to.be.ok
|
|
1775
1875
|
} catch(error) {
|
|
1776
1876
|
expect(error.requestId).to.be.ok
|
|
@@ -1778,9 +1878,9 @@ it("cwp.v20180228.DescribeGeneralStat", async function () {
|
|
|
1778
1878
|
}
|
|
1779
1879
|
})
|
|
1780
1880
|
|
|
1781
|
-
it("cwp.v20180228.
|
|
1881
|
+
it("cwp.v20180228.DescribeGeneralStat", async function () {
|
|
1782
1882
|
try {
|
|
1783
|
-
const data = await client.
|
|
1883
|
+
const data = await client.DescribeGeneralStat({})
|
|
1784
1884
|
expect(data).to.be.ok
|
|
1785
1885
|
} catch(error) {
|
|
1786
1886
|
expect(error.requestId).to.be.ok
|
|
@@ -1888,9 +1988,9 @@ it("cwp.v20180228.DescribeWebPageServiceInfo", async function () {
|
|
|
1888
1988
|
}
|
|
1889
1989
|
})
|
|
1890
1990
|
|
|
1891
|
-
it("cwp.v20180228.
|
|
1991
|
+
it("cwp.v20180228.ModifyOrderAttribute", async function () {
|
|
1892
1992
|
try {
|
|
1893
|
-
const data = await client.
|
|
1993
|
+
const data = await client.ModifyOrderAttribute({})
|
|
1894
1994
|
expect(data).to.be.ok
|
|
1895
1995
|
} catch(error) {
|
|
1896
1996
|
expect(error.requestId).to.be.ok
|
|
@@ -2078,6 +2178,16 @@ it("cwp.v20180228.DescribeWebPageEventList", async function () {
|
|
|
2078
2178
|
}
|
|
2079
2179
|
})
|
|
2080
2180
|
|
|
2181
|
+
it("cwp.v20180228.DescribeLicenseList", async function () {
|
|
2182
|
+
try {
|
|
2183
|
+
const data = await client.DescribeLicenseList({})
|
|
2184
|
+
expect(data).to.be.ok
|
|
2185
|
+
} catch(error) {
|
|
2186
|
+
expect(error.requestId).to.be.ok
|
|
2187
|
+
expect(error.code).to.be.ok
|
|
2188
|
+
}
|
|
2189
|
+
})
|
|
2190
|
+
|
|
2081
2191
|
it("cwp.v20180228.DescribeMalwareFile", async function () {
|
|
2082
2192
|
try {
|
|
2083
2193
|
const data = await client.DescribeMalwareFile({})
|
|
@@ -158,6 +158,26 @@ it("essbasic.v20210526.GetDownloadFlowUrl", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
+
it("essbasic.v20210526.SyncProxyOrganizationOperators", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.SyncProxyOrganizationOperators({})
|
|
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("essbasic.v20210526.ChannelBatchCancelFlows", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ChannelBatchCancelFlows({})
|
|
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
|
+
|
|
161
181
|
it("essbasic.v20210526.PrepareFlows", async function () {
|
|
162
182
|
try {
|
|
163
183
|
const data = await client.PrepareFlows({})
|
|
@@ -218,9 +238,9 @@ it("essbasic.v20210526.OperateChannelTemplate", async function () {
|
|
|
218
238
|
}
|
|
219
239
|
})
|
|
220
240
|
|
|
221
|
-
it("essbasic.v20210526.
|
|
241
|
+
it("essbasic.v20210526.ChannelCreateFlowGroupByFiles", async function () {
|
|
222
242
|
try {
|
|
223
|
-
const data = await client.
|
|
243
|
+
const data = await client.ChannelCreateFlowGroupByFiles({})
|
|
224
244
|
expect(data).to.be.ok
|
|
225
245
|
} catch(error) {
|
|
226
246
|
expect(error.requestId).to.be.ok
|
|
@@ -108,6 +108,16 @@ it("gme.v20180711.CreateAgeDetectTask", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("gme.v20180711.DeleteRoomMember", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DeleteRoomMember({})
|
|
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
|
+
|
|
111
121
|
it("gme.v20180711.DescribeApplicationData", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.DescribeApplicationData({})
|
|
@@ -368,6 +368,16 @@ it("monitor.v20180724.UpgradeGrafanaInstance", async function () {
|
|
|
368
368
|
}
|
|
369
369
|
})
|
|
370
370
|
|
|
371
|
+
it("monitor.v20180724.DescribeGrafanaChannels", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DescribeGrafanaChannels({})
|
|
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
|
+
|
|
371
381
|
it("monitor.v20180724.DeleteGrafanaIntegration", async function () {
|
|
372
382
|
try {
|
|
373
383
|
const data = await client.DeleteGrafanaIntegration({})
|
|
@@ -128,6 +128,16 @@ it("ms.v20180408.DescribeShieldInstances", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("ms.v20180408.DescribeScanInstances", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DescribeScanInstances({})
|
|
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
|
+
|
|
131
141
|
it("ms.v20180408.DescribeUrlDetectionResult", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.DescribeUrlDetectionResult({})
|
|
@@ -158,9 +168,9 @@ it("ms.v20180408.DescribeUserBaseInfoInstance", async function () {
|
|
|
158
168
|
}
|
|
159
169
|
})
|
|
160
170
|
|
|
161
|
-
it("ms.v20180408.
|
|
171
|
+
it("ms.v20180408.DescribeApkDetectionResult", async function () {
|
|
162
172
|
try {
|
|
163
|
-
const data = await client.
|
|
173
|
+
const data = await client.DescribeApkDetectionResult({})
|
|
164
174
|
expect(data).to.be.ok
|
|
165
175
|
} catch(error) {
|
|
166
176
|
expect(error.requestId).to.be.ok
|
|
@@ -288,6 +288,16 @@ it("ocr.v20181119.InvoiceGeneralOCR", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
+
it("ocr.v20181119.RecognizeMedicalInvoiceOCR", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.RecognizeMedicalInvoiceOCR({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
291
301
|
it("ocr.v20181119.RecognizeOnlineTaxiItineraryOCR", async function () {
|
|
292
302
|
try {
|
|
293
303
|
const data = await client.RecognizeOnlineTaxiItineraryOCR({})
|