tencentcloud-sdk-nodejs 4.0.573 → 4.0.575
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 +432 -0
- package/SERVICE_CHANGELOG.md +607 -49
- package/package.json +1 -1
- package/products.md +34 -34
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +13 -12
- package/src/services/billing/v20180709/billing_models.ts +4 -4
- package/src/services/bma/index.ts +2 -2
- package/src/services/captcha/v20190722/captcha_models.ts +17 -6
- package/src/services/cbs/v20170312/cbs_client.ts +1 -1
- package/src/services/cbs/v20170312/cbs_models.ts +4 -4
- package/src/services/cdn/v20180606/cdn_models.ts +5 -5
- package/src/services/cfw/v20190904/cfw_client.ts +4 -3
- package/src/services/cfw/v20190904/cfw_models.ts +109 -75
- package/src/services/cii/index.ts +2 -2
- package/src/services/clb/v20180317/clb_models.ts +6 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +5 -5
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +116 -104
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +32 -0
- package/src/services/cls/v20201016/cls_models.ts +17 -13
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/cwp/v20180228/cwp_client.ts +119 -29
- package/src/services/cwp/v20180228/cwp_models.ts +802 -35
- package/src/services/dbbrain/index.ts +2 -2
- package/src/services/dc/v20180410/dc_models.ts +16 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +26 -3
- package/src/services/iotvideo/index.ts +4 -4
- package/src/services/lcic/v20220817/lcic_models.ts +2 -2
- package/src/services/mongodb/index.ts +2 -2
- package/src/services/mongodb/v20190725/mongodb_client.ts +3 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +24 -18
- package/src/services/mps/v20190612/mps_client.ts +12 -2
- package/src/services/mps/v20190612/mps_models.ts +341 -54
- package/src/services/ocr/v20181119/ocr_models.ts +9 -9
- package/src/services/organization/index.ts +2 -2
- package/src/services/pts/v20210728/pts_client.ts +27 -14
- package/src/services/pts/v20210728/pts_models.ts +276 -176
- package/src/services/tbp/index.ts +2 -2
- package/src/services/tem/index.ts +2 -2
- package/src/services/teo/index.ts +2 -2
- package/src/services/teo/v20220901/teo_client.ts +8 -4
- package/src/services/teo/v20220901/teo_models.ts +209 -52
- package/src/services/thpc/index.ts +4 -4
- package/src/services/tione/v20211111/tione_models.ts +52 -7
- package/src/services/tke/v20180525/tke_models.ts +25 -7
- package/src/services/trro/v20220325/trro_client.ts +158 -83
- package/src/services/trro/v20220325/trro_models.ts +380 -12
- package/src/services/vm/index.ts +2 -2
- package/src/services/vod/v20180717/vod_client.ts +7 -6
- package/src/services/vod/v20180717/vod_models.ts +40 -14
- package/src/services/waf/v20180125/waf_client.ts +14 -0
- package/src/services/waf/v20180125/waf_models.ts +180 -0
- package/src/services/yunsou/index.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +11 -10
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +4 -4
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +15 -6
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -4
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +5 -5
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +91 -61
- package/tencentcloud/services/cii/index.d.ts +4 -4
- package/tencentcloud/services/cii/index.js +2 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +5 -5
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +41 -37
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +60 -54
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +28 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -5
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +37 -9
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +54 -12
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +674 -32
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +14 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +25 -2
- package/tencentcloud/services/iotvideo/index.d.ts +6 -6
- package/tencentcloud/services/iotvideo/index.js +4 -4
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +2 -2
- package/tencentcloud/services/mongodb/index.d.ts +4 -4
- package/tencentcloud/services/mongodb/index.js +2 -2
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +3 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +3 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +21 -15
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +291 -44
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -9
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/pts/v20210728/pts_client.d.ts +9 -5
- package/tencentcloud/services/pts/v20210728/pts_client.js +12 -6
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +235 -148
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/teo/index.d.ts +4 -4
- package/tencentcloud/services/teo/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +180 -46
- package/tencentcloud/services/thpc/index.d.ts +6 -6
- package/tencentcloud/services/thpc/index.js +4 -4
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +44 -7
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +22 -7
- package/tencentcloud/services/trro/v20220325/trro_client.d.ts +53 -29
- package/tencentcloud/services/trro/v20220325/trro_client.js +78 -42
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +321 -10
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +6 -6
- package/tencentcloud/services/vod/v20180717/vod_client.js +6 -6
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +36 -14
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +149 -0
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/cloudstudio.v20210524.test.js +46 -36
- package/test/cwp.v20180228.test.js +78 -8
- package/test/pts.v20210728.test.js +14 -4
- package/test/trro.v20220325.test.js +88 -28
- package/test/waf.v20180125.test.js +10 -0
|
@@ -20,6 +20,41 @@ export interface DeleteProjectRequest {
|
|
|
20
20
|
*/
|
|
21
21
|
ProjectId: string;
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* 按授权查看的license列表
|
|
25
|
+
*/
|
|
26
|
+
export interface License {
|
|
27
|
+
/**
|
|
28
|
+
* 该类型的license个数
|
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30
|
+
*/
|
|
31
|
+
Count?: number;
|
|
32
|
+
/**
|
|
33
|
+
* license状态:0:未绑定;1:已绑定;2:已停服;3:已退费
|
|
34
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35
|
+
*/
|
|
36
|
+
Status?: number;
|
|
37
|
+
/**
|
|
38
|
+
* 到期时间戳:s
|
|
39
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
40
|
+
*/
|
|
41
|
+
ExpireTime?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 服务时长:s
|
|
44
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
45
|
+
*/
|
|
46
|
+
Duration?: string;
|
|
47
|
+
/**
|
|
48
|
+
* 剩余天数:天
|
|
49
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50
|
+
*/
|
|
51
|
+
RemainDay?: number;
|
|
52
|
+
/**
|
|
53
|
+
* 该类型的licenseId列表
|
|
54
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
55
|
+
*/
|
|
56
|
+
LicenseIds?: Array<string>;
|
|
57
|
+
}
|
|
23
58
|
/**
|
|
24
59
|
* 权限信息
|
|
25
60
|
*/
|
|
@@ -46,6 +81,27 @@ export interface ModifyDeviceResponse {
|
|
|
46
81
|
*/
|
|
47
82
|
RequestId?: string;
|
|
48
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* GetLicenses请求参数结构体
|
|
86
|
+
*/
|
|
87
|
+
export interface GetLicensesRequest {
|
|
88
|
+
/**
|
|
89
|
+
* 页码
|
|
90
|
+
*/
|
|
91
|
+
PageNum: number;
|
|
92
|
+
/**
|
|
93
|
+
* 页面数量
|
|
94
|
+
*/
|
|
95
|
+
PageSize: number;
|
|
96
|
+
/**
|
|
97
|
+
* projectId
|
|
98
|
+
*/
|
|
99
|
+
ProjectId?: string;
|
|
100
|
+
/**
|
|
101
|
+
* DeviceId
|
|
102
|
+
*/
|
|
103
|
+
DeviceId?: string;
|
|
104
|
+
}
|
|
49
105
|
/**
|
|
50
106
|
* DescribePolicy返回参数结构体
|
|
51
107
|
*/
|
|
@@ -147,6 +203,64 @@ export interface DescribeSessionStatisticsByIntervalResponse {
|
|
|
147
203
|
*/
|
|
148
204
|
RequestId?: string;
|
|
149
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* DescribeRecentSessionList请求参数结构体
|
|
208
|
+
*/
|
|
209
|
+
export interface DescribeRecentSessionListRequest {
|
|
210
|
+
/**
|
|
211
|
+
* 项目ID
|
|
212
|
+
*/
|
|
213
|
+
ProjectId: string;
|
|
214
|
+
/**
|
|
215
|
+
* 页码,从1开始
|
|
216
|
+
*/
|
|
217
|
+
PageNumber: number;
|
|
218
|
+
/**
|
|
219
|
+
* 每页个数
|
|
220
|
+
*/
|
|
221
|
+
PageSize: number;
|
|
222
|
+
/**
|
|
223
|
+
* 设备ID,支持过滤远端设备或现场设备
|
|
224
|
+
*/
|
|
225
|
+
DeviceId?: string;
|
|
226
|
+
/**
|
|
227
|
+
* 时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算
|
|
228
|
+
*/
|
|
229
|
+
StartTime?: number;
|
|
230
|
+
/**
|
|
231
|
+
* 时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算
|
|
232
|
+
*/
|
|
233
|
+
EndTime?: number;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* 最新会话信息
|
|
237
|
+
*/
|
|
238
|
+
export interface RecentSessionInfo {
|
|
239
|
+
/**
|
|
240
|
+
* 会话ID
|
|
241
|
+
*/
|
|
242
|
+
SessionId: string;
|
|
243
|
+
/**
|
|
244
|
+
* 远端设备ID
|
|
245
|
+
*/
|
|
246
|
+
RemoteDeviceId: string;
|
|
247
|
+
/**
|
|
248
|
+
* 现场设备ID
|
|
249
|
+
*/
|
|
250
|
+
FieldDeviceId: string;
|
|
251
|
+
/**
|
|
252
|
+
* 分辨率
|
|
253
|
+
*/
|
|
254
|
+
Resolution: string;
|
|
255
|
+
/**
|
|
256
|
+
* 会话开始时间
|
|
257
|
+
*/
|
|
258
|
+
StartTime: number;
|
|
259
|
+
/**
|
|
260
|
+
* 最后更新时间
|
|
261
|
+
*/
|
|
262
|
+
LatestUpdateTime: number;
|
|
263
|
+
}
|
|
150
264
|
/**
|
|
151
265
|
* DescribeProjectInfo请求参数结构体
|
|
152
266
|
*/
|
|
@@ -210,6 +324,10 @@ export interface DescribeDeviceInfoResponse {
|
|
|
210
324
|
*/
|
|
211
325
|
RequestId?: string;
|
|
212
326
|
}
|
|
327
|
+
/**
|
|
328
|
+
* GetLicenseStat请求参数结构体
|
|
329
|
+
*/
|
|
330
|
+
export declare type GetLicenseStatRequest = null;
|
|
213
331
|
/**
|
|
214
332
|
* DescribeProjectList返回参数结构体
|
|
215
333
|
*/
|
|
@@ -253,6 +371,31 @@ export interface BatchDeletePolicyResponse {
|
|
|
253
371
|
*/
|
|
254
372
|
RequestId?: string;
|
|
255
373
|
}
|
|
374
|
+
/**
|
|
375
|
+
* GetLicenseStat返回参数结构体
|
|
376
|
+
*/
|
|
377
|
+
export interface GetLicenseStatResponse {
|
|
378
|
+
/**
|
|
379
|
+
* 有效授权
|
|
380
|
+
*/
|
|
381
|
+
Valid?: number;
|
|
382
|
+
/**
|
|
383
|
+
* 已绑定授权
|
|
384
|
+
*/
|
|
385
|
+
Bound?: number;
|
|
386
|
+
/**
|
|
387
|
+
* 未绑定授权
|
|
388
|
+
*/
|
|
389
|
+
UnBound?: number;
|
|
390
|
+
/**
|
|
391
|
+
* 过期授权
|
|
392
|
+
*/
|
|
393
|
+
Expire?: number;
|
|
394
|
+
/**
|
|
395
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
396
|
+
*/
|
|
397
|
+
RequestId?: string;
|
|
398
|
+
}
|
|
256
399
|
/**
|
|
257
400
|
* DescribePolicy请求参数结构体
|
|
258
401
|
*/
|
|
@@ -282,6 +425,65 @@ export interface DescribePolicyRequest {
|
|
|
282
425
|
*/
|
|
283
426
|
PageNumber?: number;
|
|
284
427
|
}
|
|
428
|
+
/**
|
|
429
|
+
* ModifyPolicy返回参数结构体
|
|
430
|
+
*/
|
|
431
|
+
export interface ModifyPolicyResponse {
|
|
432
|
+
/**
|
|
433
|
+
* 添加关联失败的现场设备ID列表
|
|
434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
435
|
+
*/
|
|
436
|
+
FailedInsertIds: Array<string>;
|
|
437
|
+
/**
|
|
438
|
+
* 解除关联失败的现场设备ID列表
|
|
439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
440
|
+
*/
|
|
441
|
+
FailedDeleteIds: Array<string>;
|
|
442
|
+
/**
|
|
443
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
444
|
+
*/
|
|
445
|
+
RequestId?: string;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* 查询用户设备的授权绑定情况
|
|
449
|
+
*/
|
|
450
|
+
export interface Device {
|
|
451
|
+
/**
|
|
452
|
+
* 设备ID
|
|
453
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
454
|
+
*/
|
|
455
|
+
DeviceId?: string;
|
|
456
|
+
/**
|
|
457
|
+
* 设备名称
|
|
458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
459
|
+
*/
|
|
460
|
+
DeviceName?: string;
|
|
461
|
+
/**
|
|
462
|
+
* 已经绑定license数量
|
|
463
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
464
|
+
*/
|
|
465
|
+
LicenseCount?: number;
|
|
466
|
+
/**
|
|
467
|
+
* 剩余天数:天
|
|
468
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
469
|
+
*/
|
|
470
|
+
RemainDay?: number;
|
|
471
|
+
/**
|
|
472
|
+
* 过期时间:s
|
|
473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
474
|
+
*/
|
|
475
|
+
ExpireTime?: string;
|
|
476
|
+
/**
|
|
477
|
+
* 服务时长:s
|
|
478
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
479
|
+
*/
|
|
480
|
+
Duration?: string;
|
|
481
|
+
/**
|
|
482
|
+
* 已经绑定licenseId列表
|
|
483
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
484
|
+
*/
|
|
485
|
+
LicenseIds?: Array<string>;
|
|
486
|
+
}
|
|
285
487
|
/**
|
|
286
488
|
* DescribeSessionStatistics请求参数结构体
|
|
287
489
|
*/
|
|
@@ -338,6 +540,27 @@ export interface ModifyProjectRequest {
|
|
|
338
540
|
*/
|
|
339
541
|
PolicyMode?: string;
|
|
340
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
* DescribeRecentSessionList返回参数结构体
|
|
545
|
+
*/
|
|
546
|
+
export interface DescribeRecentSessionListResponse {
|
|
547
|
+
/**
|
|
548
|
+
* 总个数
|
|
549
|
+
*/
|
|
550
|
+
Total: number;
|
|
551
|
+
/**
|
|
552
|
+
* 会话列表
|
|
553
|
+
*/
|
|
554
|
+
RecentSessionList: Array<RecentSessionInfo>;
|
|
555
|
+
/**
|
|
556
|
+
* 本页数量
|
|
557
|
+
*/
|
|
558
|
+
Num: number;
|
|
559
|
+
/**
|
|
560
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
561
|
+
*/
|
|
562
|
+
RequestId?: string;
|
|
563
|
+
}
|
|
341
564
|
/**
|
|
342
565
|
* ModifyDevice请求参数结构体
|
|
343
566
|
*/
|
|
@@ -481,6 +704,23 @@ export interface DescribeDeviceListResponse {
|
|
|
481
704
|
*/
|
|
482
705
|
RequestId?: string;
|
|
483
706
|
}
|
|
707
|
+
/**
|
|
708
|
+
* BoundLicenses请求参数结构体
|
|
709
|
+
*/
|
|
710
|
+
export interface BoundLicensesRequest {
|
|
711
|
+
/**
|
|
712
|
+
* license数量
|
|
713
|
+
*/
|
|
714
|
+
Count: number;
|
|
715
|
+
/**
|
|
716
|
+
* 设备id
|
|
717
|
+
*/
|
|
718
|
+
DeviceId: string;
|
|
719
|
+
/**
|
|
720
|
+
* 项目ID
|
|
721
|
+
*/
|
|
722
|
+
ProjectId: string;
|
|
723
|
+
}
|
|
484
724
|
/**
|
|
485
725
|
* DeleteProject返回参数结构体
|
|
486
726
|
*/
|
|
@@ -576,6 +816,19 @@ export interface SessionDeviceDetail {
|
|
|
576
816
|
*/
|
|
577
817
|
DeviceId: string;
|
|
578
818
|
}
|
|
819
|
+
/**
|
|
820
|
+
* GetDeviceLicense返回参数结构体
|
|
821
|
+
*/
|
|
822
|
+
export interface GetDeviceLicenseResponse {
|
|
823
|
+
/**
|
|
824
|
+
* 指定设备已经绑定的可用license数量
|
|
825
|
+
*/
|
|
826
|
+
AvailableCount?: number;
|
|
827
|
+
/**
|
|
828
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
829
|
+
*/
|
|
830
|
+
RequestId?: string;
|
|
831
|
+
}
|
|
579
832
|
/**
|
|
580
833
|
* CreateDevice返回参数结构体
|
|
581
834
|
*/
|
|
@@ -664,6 +917,32 @@ export interface DescribeSessionStatisticsResponse {
|
|
|
664
917
|
*/
|
|
665
918
|
RequestId?: string;
|
|
666
919
|
}
|
|
920
|
+
/**
|
|
921
|
+
* GetDevices返回参数结构体
|
|
922
|
+
*/
|
|
923
|
+
export interface GetDevicesResponse {
|
|
924
|
+
/**
|
|
925
|
+
* 设备授权列表
|
|
926
|
+
*/
|
|
927
|
+
Devices?: Array<Device>;
|
|
928
|
+
/**
|
|
929
|
+
* 列表数量
|
|
930
|
+
*/
|
|
931
|
+
TotalCount?: number;
|
|
932
|
+
/**
|
|
933
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
934
|
+
*/
|
|
935
|
+
RequestId?: string;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* BoundLicenses返回参数结构体
|
|
939
|
+
*/
|
|
940
|
+
export interface BoundLicensesResponse {
|
|
941
|
+
/**
|
|
942
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
943
|
+
*/
|
|
944
|
+
RequestId?: string;
|
|
945
|
+
}
|
|
667
946
|
/**
|
|
668
947
|
* DescribeDeviceSessionDetails请求参数结构体
|
|
669
948
|
*/
|
|
@@ -673,6 +952,23 @@ export interface DescribeDeviceSessionDetailsRequest {
|
|
|
673
952
|
*/
|
|
674
953
|
SessionId: string;
|
|
675
954
|
}
|
|
955
|
+
/**
|
|
956
|
+
* GetLicenses返回参数结构体
|
|
957
|
+
*/
|
|
958
|
+
export interface GetLicensesResponse {
|
|
959
|
+
/**
|
|
960
|
+
* license列表
|
|
961
|
+
*/
|
|
962
|
+
Licenses?: Array<License>;
|
|
963
|
+
/**
|
|
964
|
+
* license列表项数量
|
|
965
|
+
*/
|
|
966
|
+
TotalCount?: number;
|
|
967
|
+
/**
|
|
968
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
969
|
+
*/
|
|
970
|
+
RequestId?: string;
|
|
971
|
+
}
|
|
676
972
|
/**
|
|
677
973
|
* 设备信息
|
|
678
974
|
*/
|
|
@@ -736,23 +1032,25 @@ export interface DescribeDeviceSessionListRequest {
|
|
|
736
1032
|
EndTime?: number;
|
|
737
1033
|
}
|
|
738
1034
|
/**
|
|
739
|
-
*
|
|
1035
|
+
* GetDevices请求参数结构体
|
|
740
1036
|
*/
|
|
741
|
-
export interface
|
|
1037
|
+
export interface GetDevicesRequest {
|
|
742
1038
|
/**
|
|
743
|
-
*
|
|
744
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1039
|
+
* 页码
|
|
745
1040
|
*/
|
|
746
|
-
|
|
1041
|
+
PageNum: number;
|
|
747
1042
|
/**
|
|
748
|
-
*
|
|
749
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1043
|
+
* 页面数量
|
|
750
1044
|
*/
|
|
751
|
-
|
|
1045
|
+
PageSize: number;
|
|
752
1046
|
/**
|
|
753
|
-
*
|
|
1047
|
+
* 项目 ID
|
|
754
1048
|
*/
|
|
755
|
-
|
|
1049
|
+
ProjectId?: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* 设备ID
|
|
1052
|
+
*/
|
|
1053
|
+
DeviceId?: string;
|
|
756
1054
|
}
|
|
757
1055
|
/**
|
|
758
1056
|
* CreateProject返回参数结构体
|
|
@@ -800,6 +1098,19 @@ export interface SessionIntervalStatistic {
|
|
|
800
1098
|
*/
|
|
801
1099
|
NotBadSessionRatio: number;
|
|
802
1100
|
}
|
|
1101
|
+
/**
|
|
1102
|
+
* GetDeviceLicense请求参数结构体
|
|
1103
|
+
*/
|
|
1104
|
+
export interface GetDeviceLicenseRequest {
|
|
1105
|
+
/**
|
|
1106
|
+
* 目标设备所属项目ID
|
|
1107
|
+
*/
|
|
1108
|
+
ProjectId: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* 目标设备ID
|
|
1111
|
+
*/
|
|
1112
|
+
DeviceId: string;
|
|
1113
|
+
}
|
|
803
1114
|
/**
|
|
804
1115
|
* CreateProject请求参数结构体
|
|
805
1116
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const vm: {
|
|
2
|
-
v20201229: {
|
|
3
|
-
Client: typeof import("./v20201229/vm_client").Client;
|
|
4
|
-
Models: typeof import("./v20201229/vm_models");
|
|
5
|
-
};
|
|
6
2
|
v20210922: {
|
|
7
3
|
Client: typeof import("./v20210922/vm_client").Client;
|
|
8
4
|
Models: typeof import("./v20210922/vm_models");
|
|
9
5
|
};
|
|
6
|
+
v20201229: {
|
|
7
|
+
Client: typeof import("./v20201229/vm_client").Client;
|
|
8
|
+
Models: typeof import("./v20201229/vm_models");
|
|
9
|
+
};
|
|
10
10
|
v20200709: {
|
|
11
11
|
Client: typeof import("./v20200709/vm_client").Client;
|
|
12
12
|
Models: typeof import("./v20200709/vm_models");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.vm = void 0;
|
|
4
|
-
const v20201229_1 = require("./v20201229");
|
|
5
4
|
const v20210922_1 = require("./v20210922");
|
|
5
|
+
const v20201229_1 = require("./v20201229");
|
|
6
6
|
const v20200709_1 = require("./v20200709");
|
|
7
7
|
exports.vm = {
|
|
8
|
-
v20201229: v20201229_1.v20201229,
|
|
9
8
|
v20210922: v20210922_1.v20210922,
|
|
9
|
+
v20201229: v20201229_1.v20201229,
|
|
10
10
|
v20200709: v20200709_1.v20200709,
|
|
11
11
|
};
|
|
@@ -8,7 +8,7 @@ import { ModifySampleSnapshotTemplateResponse, ModifyWatermarkTemplateRequest, C
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
* 创建一个用户自定义的图片处理模板,数量上限:16
|
|
11
|
+
* 创建一个用户自定义的图片处理模板,数量上限:16。最多支持十次操作,例如:裁剪-缩略-裁剪-模糊-缩略-裁剪-缩略-裁剪-模糊-缩略。
|
|
12
12
|
*/
|
|
13
13
|
CreateImageProcessingTemplate(req: CreateImageProcessingTemplateRequest, cb?: (error: string, rep: CreateImageProcessingTemplateResponse) => void): Promise<CreateImageProcessingTemplateResponse>;
|
|
14
14
|
/**
|
|
@@ -86,7 +86,7 @@ export declare class Client extends AbstractClient {
|
|
|
86
86
|
*/
|
|
87
87
|
ProcessMediaByProcedure(req: ProcessMediaByProcedureRequest, cb?: (error: string, rep: ProcessMediaByProcedureResponse) => void): Promise<ProcessMediaByProcedureResponse>;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* 修改音画质重生模板。
|
|
90
90
|
*/
|
|
91
91
|
ModifyRebuildMediaTemplate(req: ModifyRebuildMediaTemplateRequest, cb?: (error: string, rep: ModifyRebuildMediaTemplateResponse) => void): Promise<ModifyRebuildMediaTemplateResponse>;
|
|
92
92
|
/**
|
|
@@ -287,7 +287,7 @@ export declare class Client extends AbstractClient {
|
|
|
287
287
|
*/
|
|
288
288
|
DescribeDrmKeyProviderInfo(req: DescribeDrmKeyProviderInfoRequest, cb?: (error: string, rep: DescribeDrmKeyProviderInfoResponse) => void): Promise<DescribeDrmKeyProviderInfoResponse>;
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* 删除音画质重生模板。
|
|
291
291
|
*/
|
|
292
292
|
DeleteRebuildMediaTemplate(req: DeleteRebuildMediaTemplateRequest, cb?: (error: string, rep: DeleteRebuildMediaTemplateResponse) => void): Promise<DeleteRebuildMediaTemplateResponse>;
|
|
293
293
|
/**
|
|
@@ -420,7 +420,7 @@ export declare class Client extends AbstractClient {
|
|
|
420
420
|
*/
|
|
421
421
|
CreateStorageRegion(req: CreateStorageRegionRequest, cb?: (error: string, rep: CreateStorageRegionResponse) => void): Promise<CreateStorageRegionResponse>;
|
|
422
422
|
/**
|
|
423
|
-
*
|
|
423
|
+
* 创建音画质重生模板。
|
|
424
424
|
*/
|
|
425
425
|
CreateRebuildMediaTemplate(req: CreateRebuildMediaTemplateRequest, cb?: (error: string, rep: CreateRebuildMediaTemplateResponse) => void): Promise<CreateRebuildMediaTemplateResponse>;
|
|
426
426
|
/**
|
|
@@ -658,7 +658,7 @@ export declare class Client extends AbstractClient {
|
|
|
658
658
|
*/
|
|
659
659
|
SetDrmKeyProviderInfo(req: SetDrmKeyProviderInfoRequest, cb?: (error: string, rep: SetDrmKeyProviderInfoResponse) => void): Promise<SetDrmKeyProviderInfoResponse>;
|
|
660
660
|
/**
|
|
661
|
-
*
|
|
661
|
+
* 使用模板发起音画质重生。
|
|
662
662
|
*/
|
|
663
663
|
RebuildMediaByTemplate(req: RebuildMediaByTemplateRequest, cb?: (error: string, rep: RebuildMediaByTemplateResponse) => void): Promise<RebuildMediaByTemplateResponse>;
|
|
664
664
|
/**
|
|
@@ -862,7 +862,7 @@ export declare class Client extends AbstractClient {
|
|
|
862
862
|
*/
|
|
863
863
|
CreateAIRecognitionTemplate(req: CreateAIRecognitionTemplateRequest, cb?: (error: string, rep: CreateAIRecognitionTemplateResponse) => void): Promise<CreateAIRecognitionTemplateResponse>;
|
|
864
864
|
/**
|
|
865
|
-
*
|
|
865
|
+
* 获取音画质重生模板列表。
|
|
866
866
|
*/
|
|
867
867
|
DescribeRebuildMediaTemplates(req: DescribeRebuildMediaTemplatesRequest, cb?: (error: string, rep: DescribeRebuildMediaTemplatesResponse) => void): Promise<DescribeRebuildMediaTemplatesResponse>;
|
|
868
868
|
/**
|
|
@@ -28,7 +28,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("vod.tencentcloudapi.com", "2018-07-17", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* 创建一个用户自定义的图片处理模板,数量上限:16
|
|
31
|
+
* 创建一个用户自定义的图片处理模板,数量上限:16。最多支持十次操作,例如:裁剪-缩略-裁剪-模糊-缩略-裁剪-缩略-裁剪-模糊-缩略。
|
|
32
32
|
*/
|
|
33
33
|
async CreateImageProcessingTemplate(req, cb) {
|
|
34
34
|
return this.request("CreateImageProcessingTemplate", req, cb);
|
|
@@ -130,7 +130,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
130
130
|
return this.request("ProcessMediaByProcedure", req, cb);
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* 修改音画质重生模板。
|
|
134
134
|
*/
|
|
135
135
|
async ModifyRebuildMediaTemplate(req, cb) {
|
|
136
136
|
return this.request("ModifyRebuildMediaTemplate", req, cb);
|
|
@@ -409,7 +409,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
409
409
|
return this.request("DescribeDrmKeyProviderInfo", req, cb);
|
|
410
410
|
}
|
|
411
411
|
/**
|
|
412
|
-
*
|
|
412
|
+
* 删除音画质重生模板。
|
|
413
413
|
*/
|
|
414
414
|
async DeleteRebuildMediaTemplate(req, cb) {
|
|
415
415
|
return this.request("DeleteRebuildMediaTemplate", req, cb);
|
|
@@ -576,7 +576,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
576
576
|
return this.request("CreateStorageRegion", req, cb);
|
|
577
577
|
}
|
|
578
578
|
/**
|
|
579
|
-
*
|
|
579
|
+
* 创建音画质重生模板。
|
|
580
580
|
*/
|
|
581
581
|
async CreateRebuildMediaTemplate(req, cb) {
|
|
582
582
|
return this.request("CreateRebuildMediaTemplate", req, cb);
|
|
@@ -908,7 +908,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
908
908
|
return this.request("SetDrmKeyProviderInfo", req, cb);
|
|
909
909
|
}
|
|
910
910
|
/**
|
|
911
|
-
*
|
|
911
|
+
* 使用模板发起音画质重生。
|
|
912
912
|
*/
|
|
913
913
|
async RebuildMediaByTemplate(req, cb) {
|
|
914
914
|
return this.request("RebuildMediaByTemplate", req, cb);
|
|
@@ -1172,7 +1172,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1172
1172
|
return this.request("CreateAIRecognitionTemplate", req, cb);
|
|
1173
1173
|
}
|
|
1174
1174
|
/**
|
|
1175
|
-
*
|
|
1175
|
+
* 获取音画质重生模板列表。
|
|
1176
1176
|
*/
|
|
1177
1177
|
async DescribeRebuildMediaTemplates(req, cb) {
|
|
1178
1178
|
return this.request("DescribeRebuildMediaTemplates", req, cb);
|
|
@@ -735,7 +735,7 @@ export interface ManageTaskResponse {
|
|
|
735
735
|
export interface CreateImageProcessingTemplateRequest {
|
|
736
736
|
/**
|
|
737
737
|
* 图片处理操作数组,操作将以其在数组中的顺序执行。
|
|
738
|
-
<li>长度限制:
|
|
738
|
+
<li>长度限制:10。</li>
|
|
739
739
|
*/
|
|
740
740
|
Operations: Array<ImageOperation>;
|
|
741
741
|
/**
|
|
@@ -1847,7 +1847,7 @@ export interface DescribeClientUploadAccelerationUsageDataResponse {
|
|
|
1847
1847
|
*/
|
|
1848
1848
|
export interface ModifyRebuildMediaTemplateRequest {
|
|
1849
1849
|
/**
|
|
1850
|
-
*
|
|
1850
|
+
* 音画质重生模板号。
|
|
1851
1851
|
*/
|
|
1852
1852
|
Definition: number;
|
|
1853
1853
|
/**
|
|
@@ -1855,11 +1855,11 @@ export interface ModifyRebuildMediaTemplateRequest {
|
|
|
1855
1855
|
*/
|
|
1856
1856
|
SubAppId?: string;
|
|
1857
1857
|
/**
|
|
1858
|
-
*
|
|
1858
|
+
* 音画质重生模板名称。
|
|
1859
1859
|
*/
|
|
1860
1860
|
Name?: string;
|
|
1861
1861
|
/**
|
|
1862
|
-
*
|
|
1862
|
+
* 音画质重生模板描述。
|
|
1863
1863
|
*/
|
|
1864
1864
|
Comment?: string;
|
|
1865
1865
|
/**
|
|
@@ -3071,7 +3071,7 @@ export interface AiAnalysisTaskHighlightResult {
|
|
|
3071
3071
|
*/
|
|
3072
3072
|
export interface CreateRebuildMediaTemplateResponse {
|
|
3073
3073
|
/**
|
|
3074
|
-
*
|
|
3074
|
+
* 音画质重生模板 ID。
|
|
3075
3075
|
*/
|
|
3076
3076
|
Definition?: number;
|
|
3077
3077
|
/**
|
|
@@ -3138,6 +3138,24 @@ export interface MediaImageSpriteItem {
|
|
|
3138
3138
|
*/
|
|
3139
3139
|
WebVttUrl: string;
|
|
3140
3140
|
}
|
|
3141
|
+
/**
|
|
3142
|
+
* 图片模糊处理。
|
|
3143
|
+
*/
|
|
3144
|
+
export interface ImageBlur {
|
|
3145
|
+
/**
|
|
3146
|
+
* 图片模糊的操作类型。可选模式有:
|
|
3147
|
+
<li>Gaussian : 高斯模糊。</li>
|
|
3148
|
+
*/
|
|
3149
|
+
Type: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* 模糊半径,取值范围为1 - 50。当 Type 取值为 Gaussian 时此字段有效。
|
|
3152
|
+
*/
|
|
3153
|
+
Radius?: number;
|
|
3154
|
+
/**
|
|
3155
|
+
* 正态分布的标准差,必须大于0。当 Type 取值为 Gaussian 时此字段有效。
|
|
3156
|
+
*/
|
|
3157
|
+
Sigma?: number;
|
|
3158
|
+
}
|
|
3141
3159
|
/**
|
|
3142
3160
|
* ModifyVodDomainAccelerateConfig请求参数结构体
|
|
3143
3161
|
*/
|
|
@@ -5371,11 +5389,11 @@ export interface RemoveWatermarkResponse {
|
|
|
5371
5389
|
RequestId?: string;
|
|
5372
5390
|
}
|
|
5373
5391
|
/**
|
|
5374
|
-
*
|
|
5392
|
+
* 音画质重生模板详情。
|
|
5375
5393
|
*/
|
|
5376
5394
|
export interface RebuildMediaTemplate {
|
|
5377
5395
|
/**
|
|
5378
|
-
*
|
|
5396
|
+
* 音画质重生模板号。
|
|
5379
5397
|
*/
|
|
5380
5398
|
Definition?: number;
|
|
5381
5399
|
/**
|
|
@@ -5385,11 +5403,11 @@ export interface RebuildMediaTemplate {
|
|
|
5385
5403
|
*/
|
|
5386
5404
|
Type?: string;
|
|
5387
5405
|
/**
|
|
5388
|
-
*
|
|
5406
|
+
* 音画质重生模板名称。
|
|
5389
5407
|
*/
|
|
5390
5408
|
Name?: string;
|
|
5391
5409
|
/**
|
|
5392
|
-
*
|
|
5410
|
+
* 音画质重生模板描述。
|
|
5393
5411
|
*/
|
|
5394
5412
|
Comment?: string;
|
|
5395
5413
|
/**
|
|
@@ -6657,7 +6675,7 @@ export interface AiAnalysisTaskHighlightOutput {
|
|
|
6657
6675
|
*/
|
|
6658
6676
|
export interface DescribeRebuildMediaTemplatesRequest {
|
|
6659
6677
|
/**
|
|
6660
|
-
*
|
|
6678
|
+
* 音画质重生模板列表。
|
|
6661
6679
|
*/
|
|
6662
6680
|
Definitions?: Array<number>;
|
|
6663
6681
|
/**
|
|
@@ -7578,7 +7596,7 @@ export interface DeleteRebuildMediaTemplateResponse {
|
|
|
7578
7596
|
*/
|
|
7579
7597
|
export interface DeleteRebuildMediaTemplateRequest {
|
|
7580
7598
|
/**
|
|
7581
|
-
*
|
|
7599
|
+
* 音画质重生模板号。
|
|
7582
7600
|
*/
|
|
7583
7601
|
Definition: number;
|
|
7584
7602
|
/**
|
|
@@ -8607,7 +8625,7 @@ export interface RebuildMediaByTemplateRequest {
|
|
|
8607
8625
|
*/
|
|
8608
8626
|
FileId: string;
|
|
8609
8627
|
/**
|
|
8610
|
-
*
|
|
8628
|
+
* 音画质重生模板 ID。
|
|
8611
8629
|
*/
|
|
8612
8630
|
Definition: number;
|
|
8613
8631
|
/**
|
|
@@ -14888,11 +14906,11 @@ export interface CreateRebuildMediaTemplateRequest {
|
|
|
14888
14906
|
*/
|
|
14889
14907
|
SubAppId?: number;
|
|
14890
14908
|
/**
|
|
14891
|
-
*
|
|
14909
|
+
* 音画质重生模板名称。
|
|
14892
14910
|
*/
|
|
14893
14911
|
Name?: string;
|
|
14894
14912
|
/**
|
|
14895
|
-
*
|
|
14913
|
+
* 模板描述。
|
|
14896
14914
|
*/
|
|
14897
14915
|
Comment?: string;
|
|
14898
14916
|
/**
|
|
@@ -14944,6 +14962,10 @@ export interface ImageOperation {
|
|
|
14944
14962
|
* 图片裁剪处理,仅当 Type 为 CenterCut 时有效。
|
|
14945
14963
|
*/
|
|
14946
14964
|
CenterCut?: ImageCenterCut;
|
|
14965
|
+
/**
|
|
14966
|
+
* 图片模糊处理,仅当 Type 为 Blur 时有效。
|
|
14967
|
+
*/
|
|
14968
|
+
Blur?: ImageBlur;
|
|
14947
14969
|
}
|
|
14948
14970
|
/**
|
|
14949
14971
|
* 转自适应码流子流信息。
|