tencentcloud-sdk-nodejs 4.0.666 → 4.0.667

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +151 -0
  2. package/SERVICE_CHANGELOG.md +177 -67
  3. package/package.json +1 -1
  4. package/products.md +116 -116
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/batch/v20170312/batch_models.ts +8 -4
  7. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  8. package/src/services/ess/v20201111/ess_models.ts +1 -1
  9. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  10. package/src/services/essbasic/v20210526/essbasic_models.ts +11 -7
  11. package/src/services/faceid/v20180301/faceid_client.ts +6 -3
  12. package/src/services/faceid/v20180301/faceid_models.ts +114 -33
  13. package/src/services/iotvideo/v20211125/iotvideo_models.ts +14 -0
  14. package/src/services/ms/v20180408/ms_client.ts +127 -91
  15. package/src/services/ms/v20180408/ms_models.ts +145 -8
  16. package/src/services/redis/v20180412/redis_models.ts +89 -65
  17. package/src/services/ssa/v20180608/ssa_models.ts +2 -2
  18. package/src/services/tione/v20211111/tione_client.ts +1 -1
  19. package/src/services/wedata/v20210820/wedata_models.ts +5 -1
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +8 -4
  23. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  24. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  25. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  26. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  27. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +11 -7
  28. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -1
  29. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +111 -33
  30. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +14 -0
  31. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +51 -39
  32. package/tencentcloud/services/ms/v20180408/ms_client.js +72 -54
  33. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +139 -8
  34. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +89 -65
  35. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +2 -2
  36. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +1 -1
  37. package/tencentcloud/services/tione/v20211111/tione_client.js +1 -1
  38. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +5 -1
  39. package/test/ms.v20180408.test.js +66 -36
@@ -28,52 +28,82 @@ class Client extends abstract_client_1.AbstractClient {
28
28
  super("ms.tencentcloudapi.com", "2018-04-08", clientConfig);
29
29
  }
30
30
  /**
31
- * 对资源进行策略新增。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
31
+ * client任务请求地址
32
32
  */
33
- async CreateShieldPlanInstance(req, cb) {
34
- return this.request("CreateShieldPlanInstance", req, cb);
33
+ async RequestLocalTask(req, cb) {
34
+ return this.request("RequestLocalTask", req, cb);
35
35
  }
36
36
  /**
37
- * 删除一个或者多个app加固信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
37
+ * 获取某个用户的所有资源信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
38
38
  */
39
- async DeleteShieldInstances(req, cb) {
40
- return this.request("DeleteShieldInstances", req, cb);
39
+ async DescribeResourceInstances(req, cb) {
40
+ return this.request("DescribeResourceInstances", req, cb);
41
41
  }
42
42
  /**
43
- * 用户可以使用该接口自建资源,只支持白名单用户
43
+ * 查询加固策略。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
44
44
  */
45
- async CreateResourceInstances(req, cb) {
46
- return this.request("CreateResourceInstances", req, cb);
45
+ async DescribeShieldPlanInstance(req, cb) {
46
+ return this.request("DescribeShieldPlanInstance", req, cb);
47
47
  }
48
48
  /**
49
- * 将应用和资源进行绑定。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
49
+ * 本接口用于查看app列表。
50
+ 可以通过指定任务唯一标识ItemId来查询指定app的详细信息,或通过设定过滤器来查询满足过滤条件的app的详细信息。 指定偏移(Offset)和限制(Limit)来选择结果中的一部分,默认返回满足条件的前20个app信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
51
+
50
52
  */
51
- async CreateBindInstance(req, cb) {
52
- return this.request("CreateBindInstance", req, cb);
53
+ async DescribeShieldInstances(req, cb) {
54
+ return this.request("DescribeShieldInstances", req, cb);
53
55
  }
54
56
  /**
55
- * 获取云COS文件存储临时密钥,密钥仅限于临时上传文件,有访问限制和时效性,请保管好临时密钥。
57
+ * 移动安全-网址检测服务
56
58
  */
57
- async CreateCosSecKeyInstance(req, cb) {
58
- return this.request("CreateCosSecKeyInstance", req, cb);
59
+ async DescribeUrlDetectionResult(req, cb) {
60
+ return this.request("DescribeUrlDetectionResult", req, cb);
59
61
  }
60
62
  /**
61
- * 获取某个用户的所有资源信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
63
+ * 该接口供渠道合作应用加固使用,接口调用有白名单用户限制,用于创建加固任务。
62
64
  */
63
- async DescribeResourceInstances(req, cb) {
64
- return this.request("DescribeResourceInstances", req, cb);
65
+ async CreateEncryptInstance(req, cb) {
66
+ return this.request("CreateEncryptInstance", req, cb);
65
67
  }
66
68
  /**
67
- * 查询加固策略。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
69
+ * 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。入参中的条件过滤字段均为精准匹配。
68
70
  */
69
- async DescribeShieldPlanInstance(req, cb) {
70
- return this.request("DescribeShieldPlanInstance", req, cb);
71
+ async DescribeEncryptPlan(req, cb) {
72
+ return this.request("DescribeEncryptPlan", req, cb);
71
73
  }
72
74
  /**
73
- * 通过唯一标识获取加固的结果。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
75
+ * 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。 接口返回的结果为:创建订单后,订单审批状态信息,以及与订单关联的资源状态等信息,入参中的条件过滤字段均为精准匹配。
76
+ 接口功能点:
77
+ 1.支持多订单分页查询;
78
+ 2.支持唯一订单号精准匹配查询;
79
+ 3.支持唯一资源号精准匹配查询;
74
80
  */
75
- async DescribeShieldResult(req, cb) {
76
- return this.request("DescribeShieldResult", req, cb);
81
+ async DescribeOrderInstances(req, cb) {
82
+ return this.request("DescribeOrderInstances", req, cb);
83
+ }
84
+ /**
85
+ * 更新本地任务结果
86
+ */
87
+ async UpdateLocalTaskResult(req, cb) {
88
+ return this.request("UpdateLocalTaskResult", req, cb);
89
+ }
90
+ /**
91
+ * 对资源进行策略新增。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
92
+ */
93
+ async CreateShieldPlanInstance(req, cb) {
94
+ return this.request("CreateShieldPlanInstance", req, cb);
95
+ }
96
+ /**
97
+ * 用户可以使用该接口自建资源,只支持白名单用户
98
+ */
99
+ async CreateResourceInstances(req, cb) {
100
+ return this.request("CreateResourceInstances", req, cb);
101
+ }
102
+ /**
103
+ * 将应用和资源进行绑定。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
104
+ */
105
+ async CreateBindInstance(req, cb) {
106
+ return this.request("CreateBindInstance", req, cb);
77
107
  }
78
108
  /**
79
109
  * 用户通过该接口提交应用进行应用加固,加固后需通过DescribeShieldResult接口查询加固结果。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
@@ -82,18 +112,28 @@ class Client extends abstract_client_1.AbstractClient {
82
112
  return this.request("CreateShieldInstance", req, cb);
83
113
  }
84
114
  /**
85
- * 本接口用于查看app列表。
86
- 可以通过指定任务唯一标识ItemId来查询指定app的详细信息,或通过设定过滤器来查询满足过滤条件的app的详细信息。 指定偏移(Offset)和限制(Limit)来选择结果中的一部分,默认返回满足条件的前20个app信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
87
-
115
+ * 删除一个或者多个app加固信息。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
88
116
  */
89
- async DescribeShieldInstances(req, cb) {
90
- return this.request("DescribeShieldInstances", req, cb);
117
+ async DeleteShieldInstances(req, cb) {
118
+ return this.request("DeleteShieldInstances", req, cb);
91
119
  }
92
120
  /**
93
- * 移动安全-网址检测服务
121
+ * 通过唯一标识获取加固的结果。(注意:根据国家互联网用户实名制相关要求,使用该产品前,需先完成实名认证。)
94
122
  */
95
- async DescribeUrlDetectionResult(req, cb) {
96
- return this.request("DescribeUrlDetectionResult", req, cb);
123
+ async DescribeShieldResult(req, cb) {
124
+ return this.request("DescribeShieldResult", req, cb);
125
+ }
126
+ /**
127
+ * 更新client状态
128
+ */
129
+ async UpdateClientState(req, cb) {
130
+ return this.request("UpdateClientState", req, cb);
131
+ }
132
+ /**
133
+ * 获取云COS文件存储临时密钥,密钥仅限于临时上传文件,有访问限制和时效性,请保管好临时密钥。
134
+ */
135
+ async CreateCosSecKeyInstance(req, cb) {
136
+ return this.request("CreateCosSecKeyInstance", req, cb);
97
137
  }
98
138
  /**
99
139
  * 该接口供渠道合作应用加固使用,接口调用有白名单用户限制,取消渠道合作加固中的任务。
@@ -119,28 +159,6 @@ class Client extends abstract_client_1.AbstractClient {
119
159
  async DescribeEncryptInstances(req, cb) {
120
160
  return this.request("DescribeEncryptInstances", req, cb);
121
161
  }
122
- /**
123
- * 该接口供渠道合作应用加固使用,接口调用有白名单用户限制,用于创建加固任务。
124
- */
125
- async CreateEncryptInstance(req, cb) {
126
- return this.request("CreateEncryptInstance", req, cb);
127
- }
128
- /**
129
- * 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。入参中的条件过滤字段均为精准匹配。
130
- */
131
- async DescribeEncryptPlan(req, cb) {
132
- return this.request("DescribeEncryptPlan", req, cb);
133
- }
134
- /**
135
- * 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。 接口返回的结果为:创建订单后,订单审批状态信息,以及与订单关联的资源状态等信息,入参中的条件过滤字段均为精准匹配。
136
- 接口功能点:
137
- 1.支持多订单分页查询;
138
- 2.支持唯一订单号精准匹配查询;
139
- 3.支持唯一资源号精准匹配查询;
140
- */
141
- async DescribeOrderInstances(req, cb) {
142
- return this.request("DescribeOrderInstances", req, cb);
143
- }
144
162
  /**
145
163
  * 该接口供渠道合作应用加固使用,接口调用有白名单用户限制。
146
164
  订单类型有:免费试用、按年收费、按次收费。
@@ -206,6 +206,35 @@ export interface ShieldInfo {
206
206
  */
207
207
  ServiceEdition: string;
208
208
  }
209
+ /**
210
+ * UpdateClientState请求参数结构体
211
+ */
212
+ export interface UpdateClientStateRequest {
213
+ /**
214
+ * Client Id
215
+ */
216
+ ClientId: string;
217
+ /**
218
+ * Ip addr
219
+ */
220
+ Ip: string;
221
+ /**
222
+ * 内部分组
223
+ */
224
+ Internal: number;
225
+ /**
226
+ * Client Version
227
+ */
228
+ ServerVersion: string;
229
+ /**
230
+ * 主机
231
+ */
232
+ Hostname: string;
233
+ /**
234
+ * 系统
235
+ */
236
+ Os: string;
237
+ }
209
238
  /**
210
239
  * 渠道合作sdk加固策略配置
211
240
  */
@@ -297,6 +326,19 @@ export interface DescribeUserBaseInfoInstanceResponse {
297
326
  */
298
327
  RequestId?: string;
299
328
  }
329
+ /**
330
+ * UpdateLocalTaskResult返回参数结构体
331
+ */
332
+ export interface UpdateLocalTaskResultResponse {
333
+ /**
334
+ * 标记成功
335
+ */
336
+ ResultCode?: string;
337
+ /**
338
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
339
+ */
340
+ RequestId?: string;
341
+ }
300
342
  /**
301
343
  * 筛选数据结构
302
344
  */
@@ -349,6 +391,86 @@ export interface SDKResult {
349
391
  */
350
392
  ResultId?: string;
351
393
  }
394
+ /**
395
+ * RequestLocalTask返回参数结构体
396
+ */
397
+ export interface RequestLocalTaskResponse {
398
+ /**
399
+ * 返回的任务id
400
+ */
401
+ Sid?: string;
402
+ /**
403
+ * 任务文件的mk5
404
+ */
405
+ SrcFileMd5?: string;
406
+ /**
407
+ * 文件大小,可不传
408
+ */
409
+ SrcFileSize?: number;
410
+ /**
411
+ * 任务文件的下载地址,必须无鉴权可下载
412
+ */
413
+ SrcFileUrl?: string;
414
+ /**
415
+ * release: 需要INFO-PLIST文件,会生成工具部署安装包,并带有license文件,绑定机器;nobind不需要INFO-PLIST文件,不绑定机器
416
+ */
417
+ SrcFileType?: string;
418
+ /**
419
+ * enterprise
420
+ trial
421
+ */
422
+ SrcFileVersion?: string;
423
+ /**
424
+ * 补充字段
425
+ */
426
+ EncryptParam?: string;
427
+ /**
428
+ * 任务状态
429
+ */
430
+ EncryptState?: number;
431
+ /**
432
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
433
+ */
434
+ RequestId?: string;
435
+ }
436
+ /**
437
+ * UpdateLocalTaskResult请求参数结构体
438
+ */
439
+ export interface UpdateLocalTaskResultRequest {
440
+ /**
441
+ * 任务id
442
+ */
443
+ Sid: string;
444
+ /**
445
+ * 一级任务code。标记任务状态
446
+ */
447
+ ResultCode: number;
448
+ /**
449
+ * 二级错误码
450
+ */
451
+ SubCode: number;
452
+ /**
453
+ * 二级错误信息
454
+ */
455
+ ErrMsg: string;
456
+ /**
457
+ * 结果
458
+ */
459
+ Result: string;
460
+ }
461
+ /**
462
+ * 加固策略信息
463
+ */
464
+ export interface ShieldPlanInfo {
465
+ /**
466
+ * 加固策略数量
467
+ */
468
+ TotalCount: number;
469
+ /**
470
+ * 加固策略具体信息数组
471
+ */
472
+ PlanSet: Array<PlanDetailInfo>;
473
+ }
352
474
  /**
353
475
  * CreateBindInstance请求参数结构体
354
476
  */
@@ -1324,17 +1446,13 @@ export interface AppDetailInfo {
1324
1446
  FileName: string;
1325
1447
  }
1326
1448
  /**
1327
- * 加固策略信息
1449
+ * RequestLocalTask请求参数结构体
1328
1450
  */
1329
- export interface ShieldPlanInfo {
1330
- /**
1331
- * 加固策略数量
1332
- */
1333
- TotalCount: number;
1451
+ export interface RequestLocalTaskRequest {
1334
1452
  /**
1335
- * 加固策略具体信息数组
1453
+ * Client Id
1336
1454
  */
1337
- PlanSet: Array<PlanDetailInfo>;
1455
+ ClientId: string;
1338
1456
  }
1339
1457
  /**
1340
1458
  * DescribeOrderInstances请求参数结构体
@@ -1876,6 +1994,19 @@ export interface BindInfo {
1876
1994
  */
1877
1995
  AppPkgName: string;
1878
1996
  }
1997
+ /**
1998
+ * UpdateClientState返回参数结构体
1999
+ */
2000
+ export interface UpdateClientStateResponse {
2001
+ /**
2002
+ * 返回值
2003
+ */
2004
+ ResultCode?: string;
2005
+ /**
2006
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2007
+ */
2008
+ RequestId?: string;
2009
+ }
1879
2010
  /**
1880
2011
  * APK检测服务:非广告插件结果列表(SDK、风险插件等)
1881
2012
  */