tencentcloud-sdk-nodejs 4.0.332 → 4.0.333
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 +98 -0
- package/SERVICE_CHANGELOG.md +111 -202
- package/package.json +1 -1
- package/products.md +6 -6
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +40 -0
- package/src/services/cls/v20201016/cls_client.ts +3 -1
- package/src/services/cls/v20201016/cls_models.ts +37 -0
- package/src/services/ess/v20201111/ess_models.ts +15 -0
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +19 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +29 -1
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +18 -18
- package/src/services/vod/v20180717/vod_client.ts +42 -8
- package/src/services/vod/v20180717/vod_models.ts +115 -28
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +34 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +32 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +12 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +13 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +26 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +18 -18
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +20 -3
- package/tencentcloud/services/vod/v20180717/vod_client.js +24 -3
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +100 -25
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/lighthouse.v20200324.test.js +10 -0
- package/test/vod.v20180717.test.js +22 -2
|
@@ -471,9 +471,9 @@ export interface AdaptiveDynamicStreamingTemplate {
|
|
|
471
471
|
Format: string;
|
|
472
472
|
/**
|
|
473
473
|
* DRM 类型,取值范围:
|
|
474
|
-
<li>
|
|
475
|
-
<li>
|
|
476
|
-
<li>
|
|
474
|
+
<li>SimpleAES</li>
|
|
475
|
+
<li>Widevine</li>
|
|
476
|
+
<li>FairPlay</li>
|
|
477
477
|
如果取值为空字符串,代表不对视频做 DRM 保护。
|
|
478
478
|
*/
|
|
479
479
|
DrmType: string;
|
|
@@ -843,6 +843,33 @@ export interface CreateImageSpriteTask2017 {
|
|
|
843
843
|
*/
|
|
844
844
|
WebVttUrl: string;
|
|
845
845
|
}
|
|
846
|
+
/**
|
|
847
|
+
* 视频裁剪结果文件信息(2017 版)
|
|
848
|
+
*/
|
|
849
|
+
export interface ClipFileInfo2017 {
|
|
850
|
+
/**
|
|
851
|
+
* 错误码
|
|
852
|
+
<li>0:成功;</li>
|
|
853
|
+
<li>其他值:失败。</li>
|
|
854
|
+
*/
|
|
855
|
+
ErrCode: number;
|
|
856
|
+
/**
|
|
857
|
+
* 错误描述。
|
|
858
|
+
*/
|
|
859
|
+
Message: string;
|
|
860
|
+
/**
|
|
861
|
+
* 输出目标文件的文件 ID。
|
|
862
|
+
*/
|
|
863
|
+
FileId: string;
|
|
864
|
+
/**
|
|
865
|
+
* 输出目标文件的文件地址。
|
|
866
|
+
*/
|
|
867
|
+
FileUrl: string;
|
|
868
|
+
/**
|
|
869
|
+
* 输出目标文件的文件类型。
|
|
870
|
+
*/
|
|
871
|
+
FileType: string;
|
|
872
|
+
}
|
|
846
873
|
/**
|
|
847
874
|
* 临时凭证
|
|
848
875
|
*/
|
|
@@ -1636,8 +1663,10 @@ export interface CreateAdaptiveDynamicStreamingTemplateRequest {
|
|
|
1636
1663
|
*/
|
|
1637
1664
|
Name?: string;
|
|
1638
1665
|
/**
|
|
1639
|
-
* DRM方案类型,取值范围:
|
|
1640
|
-
<li>SimpleAES
|
|
1666
|
+
* DRM 方案类型,取值范围:
|
|
1667
|
+
<li>SimpleAES</li>
|
|
1668
|
+
<li>Widevine</li>
|
|
1669
|
+
<li>FairPlay</li>
|
|
1641
1670
|
如果取值为空字符串,代表不对视频做 DRM 保护。
|
|
1642
1671
|
*/
|
|
1643
1672
|
DrmType?: string;
|
|
@@ -6061,6 +6090,19 @@ export interface TEHDConfig {
|
|
|
6061
6090
|
*/
|
|
6062
6091
|
MaxVideoBitrate?: number;
|
|
6063
6092
|
}
|
|
6093
|
+
/**
|
|
6094
|
+
* 图片智能识别次数统计数据。
|
|
6095
|
+
*/
|
|
6096
|
+
export interface ImageReviewUsageDataItem {
|
|
6097
|
+
/**
|
|
6098
|
+
* 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
|
|
6099
|
+
*/
|
|
6100
|
+
Time: string;
|
|
6101
|
+
/**
|
|
6102
|
+
* 次数。
|
|
6103
|
+
*/
|
|
6104
|
+
Count: number;
|
|
6105
|
+
}
|
|
6064
6106
|
/**
|
|
6065
6107
|
* 转动图模板详情。
|
|
6066
6108
|
*/
|
|
@@ -7513,6 +7555,23 @@ export interface ProcessMediaByUrlResponse {
|
|
|
7513
7555
|
*/
|
|
7514
7556
|
RequestId?: string;
|
|
7515
7557
|
}
|
|
7558
|
+
/**
|
|
7559
|
+
* DescribeImageReviewUsageData请求参数结构体
|
|
7560
|
+
*/
|
|
7561
|
+
export interface DescribeImageReviewUsageDataRequest {
|
|
7562
|
+
/**
|
|
7563
|
+
* 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
|
7564
|
+
*/
|
|
7565
|
+
StartTime: string;
|
|
7566
|
+
/**
|
|
7567
|
+
* 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#52)。
|
|
7568
|
+
*/
|
|
7569
|
+
EndTime: string;
|
|
7570
|
+
/**
|
|
7571
|
+
* 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
|
7572
|
+
*/
|
|
7573
|
+
SubAppId?: number;
|
|
7574
|
+
}
|
|
7516
7575
|
/**
|
|
7517
7576
|
* 智能识别 Asr 文字的嫌疑片段
|
|
7518
7577
|
*/
|
|
@@ -9103,31 +9162,17 @@ export interface AiRecognitionTaskOcrFullTextResultInput {
|
|
|
9103
9162
|
Definition: number;
|
|
9104
9163
|
}
|
|
9105
9164
|
/**
|
|
9106
|
-
*
|
|
9165
|
+
* DescribeImageReviewUsageData返回参数结构体
|
|
9107
9166
|
*/
|
|
9108
|
-
export interface
|
|
9109
|
-
/**
|
|
9110
|
-
* 错误码
|
|
9111
|
-
<li>0:成功;</li>
|
|
9112
|
-
<li>其他值:失败。</li>
|
|
9113
|
-
*/
|
|
9114
|
-
ErrCode: number;
|
|
9115
|
-
/**
|
|
9116
|
-
* 错误描述。
|
|
9117
|
-
*/
|
|
9118
|
-
Message: string;
|
|
9119
|
-
/**
|
|
9120
|
-
* 输出目标文件的文件 ID。
|
|
9121
|
-
*/
|
|
9122
|
-
FileId: string;
|
|
9167
|
+
export interface DescribeImageReviewUsageDataResponse {
|
|
9123
9168
|
/**
|
|
9124
|
-
*
|
|
9169
|
+
* 图片智能识别次数统计数据,展示查询时间范围内的图片智能识别次数的概览数据。
|
|
9125
9170
|
*/
|
|
9126
|
-
|
|
9171
|
+
ImageReviewUsageDataSet: Array<ImageReviewUsageDataItem>;
|
|
9127
9172
|
/**
|
|
9128
|
-
*
|
|
9173
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9129
9174
|
*/
|
|
9130
|
-
|
|
9175
|
+
RequestId?: string;
|
|
9131
9176
|
}
|
|
9132
9177
|
/**
|
|
9133
9178
|
* 统计数据
|
|
@@ -10989,6 +11034,19 @@ export interface AiReviewTaskPoliticalResult {
|
|
|
10989
11034
|
*/
|
|
10990
11035
|
Output: AiReviewPoliticalTaskOutput;
|
|
10991
11036
|
}
|
|
11037
|
+
/**
|
|
11038
|
+
* ReviewImage返回参数结构体
|
|
11039
|
+
*/
|
|
11040
|
+
export interface ReviewImageResponse {
|
|
11041
|
+
/**
|
|
11042
|
+
* 图片智能识别任务结果。
|
|
11043
|
+
*/
|
|
11044
|
+
ReviewResultSet: Array<ContentReviewResult>;
|
|
11045
|
+
/**
|
|
11046
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11047
|
+
*/
|
|
11048
|
+
RequestId?: string;
|
|
11049
|
+
}
|
|
10992
11050
|
/**
|
|
10993
11051
|
* DescribeStorageRegions返回参数结构体
|
|
10994
11052
|
*/
|
|
@@ -13444,6 +13502,23 @@ export interface SampleSnapshotTaskInput {
|
|
|
13444
13502
|
*/
|
|
13445
13503
|
WatermarkSet?: Array<WatermarkInput>;
|
|
13446
13504
|
}
|
|
13505
|
+
/**
|
|
13506
|
+
* ReviewImage请求参数结构体
|
|
13507
|
+
*/
|
|
13508
|
+
export interface ReviewImageRequest {
|
|
13509
|
+
/**
|
|
13510
|
+
* 媒体文件 ID,即该文件在云点播上的全局唯一标识符。本接口要求媒体文件必须是图片格式。
|
|
13511
|
+
*/
|
|
13512
|
+
FileId: string;
|
|
13513
|
+
/**
|
|
13514
|
+
* 图片智能识别模板 ID,当前固定填 10。
|
|
13515
|
+
*/
|
|
13516
|
+
Definition: number;
|
|
13517
|
+
/**
|
|
13518
|
+
* 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
|
13519
|
+
*/
|
|
13520
|
+
SubAppId?: number;
|
|
13521
|
+
}
|
|
13447
13522
|
/**
|
|
13448
13523
|
* DescribeHeadTailTemplates返回参数结构体
|
|
13449
13524
|
*/
|
|
@@ -78,6 +78,16 @@ it("ckafka.v20190819.BatchModifyTopicAttributes", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
+
it("ckafka.v20190819.DeleteRoute", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DeleteRoute({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
81
91
|
it("ckafka.v20190819.SendMessage", async function () {
|
|
82
92
|
try {
|
|
83
93
|
const data = await client.SendMessage({})
|
|
@@ -58,6 +58,16 @@ it("lighthouse.v20200324.DescribeInstancesDiskNum", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("lighthouse.v20200324.IsolateInstances", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.IsolateInstances({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("lighthouse.v20200324.ModifyInstancesRenewFlag", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.ModifyInstancesRenewFlag({})
|
|
@@ -578,9 +578,9 @@ it("vod.v20180717.DeleteMedia", async function () {
|
|
|
578
578
|
}
|
|
579
579
|
})
|
|
580
580
|
|
|
581
|
-
it("vod.v20180717.
|
|
581
|
+
it("vod.v20180717.DescribeImageReviewUsageData", async function () {
|
|
582
582
|
try {
|
|
583
|
-
const data = await client.
|
|
583
|
+
const data = await client.DescribeImageReviewUsageData({})
|
|
584
584
|
expect(data).to.be.ok
|
|
585
585
|
} catch(error) {
|
|
586
586
|
expect(error.requestId).to.be.ok
|
|
@@ -658,6 +658,16 @@ it("vod.v20180717.DescribeEventsState", async function () {
|
|
|
658
658
|
}
|
|
659
659
|
})
|
|
660
660
|
|
|
661
|
+
it("vod.v20180717.CreateSuperPlayerConfig", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.CreateSuperPlayerConfig({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
661
671
|
it("vod.v20180717.ModifyVodDomainConfig", async function () {
|
|
662
672
|
try {
|
|
663
673
|
const data = await client.ModifyVodDomainConfig({})
|
|
@@ -1138,6 +1148,16 @@ it("vod.v20180717.ModifyMediaInfo", async function () {
|
|
|
1138
1148
|
}
|
|
1139
1149
|
})
|
|
1140
1150
|
|
|
1151
|
+
it("vod.v20180717.ReviewImage", async function () {
|
|
1152
|
+
try {
|
|
1153
|
+
const data = await client.ReviewImage({})
|
|
1154
|
+
expect(data).to.be.ok
|
|
1155
|
+
} catch(error) {
|
|
1156
|
+
expect(error.requestId).to.be.ok
|
|
1157
|
+
expect(error.code).to.be.ok
|
|
1158
|
+
}
|
|
1159
|
+
})
|
|
1160
|
+
|
|
1141
1161
|
it("vod.v20180717.DeleteSampleSnapshotTemplate", async function () {
|
|
1142
1162
|
try {
|
|
1143
1163
|
const data = await client.DeleteSampleSnapshotTemplate({})
|