tencentcloud-sdk-nodejs 4.0.763 → 4.0.765
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 +283 -0
- package/SERVICE_CHANGELOG.md +277 -99
- package/package.json +1 -1
- package/products.md +24 -24
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/v20201229/ams_client.ts +1 -2
- package/src/services/ams/v20201229/ams_models.ts +67 -1
- package/src/services/bi/v20220105/bi_models.ts +5 -0
- package/src/services/ccc/v20200210/ccc_models.ts +31 -28
- package/src/services/cdb/v20170320/cdb_client.ts +2 -2
- package/src/services/cdb/v20170320/cdb_models.ts +31 -22
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +15 -0
- package/src/services/cvm/v20170312/cvm_client.ts +3 -3
- package/src/services/cvm/v20170312/cvm_models.ts +11 -8
- package/src/services/dnspod/v20210323/dnspod_models.ts +4 -0
- package/src/services/dts/v20211206/dts_models.ts +1 -1
- package/src/services/emr/v20190103/emr_client.ts +2 -0
- package/src/services/emr/v20190103/emr_models.ts +230 -46
- package/src/services/ess/v20201111/ess_models.ts +163 -188
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -4
- package/src/services/faceid/v20180301/faceid_client.ts +2 -0
- package/src/services/faceid/v20180301/faceid_models.ts +36 -0
- package/src/services/organization/v20210331/organization_models.ts +17 -17
- package/src/services/redis/v20180412/redis_models.ts +23 -14
- package/src/services/rkp/v20191209/rkp_client.ts +12 -6
- package/src/services/ses/v20201002/ses_models.ts +2 -3
- package/src/services/tag/v20180813/tag_models.ts +1 -1
- package/src/services/trp/v20210515/trp_client.ts +20 -7
- package/src/services/trp/v20210515/trp_models.ts +141 -48
- package/src/services/vm/v20210922/vm_client.ts +1 -0
- package/src/services/vm/v20210922/vm_models.ts +67 -0
- package/src/services/vod/v20180717/vod_client.ts +33 -22
- package/src/services/vod/v20180717/vod_models.ts +4 -3
- package/src/services/vpc/v20170312/vpc_client.ts +32 -16
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ams/v20201229/ams_client.d.ts +0 -2
- package/tencentcloud/services/ams/v20201229/ams_client.js +0 -2
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +66 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +5 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +31 -28
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +31 -22
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +15 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +3 -3
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +3 -3
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +11 -8
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +228 -46
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +163 -188
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -4
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +34 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -17
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +23 -14
- package/tencentcloud/services/rkp/v20191209/rkp_client.d.ts +9 -3
- package/tencentcloud/services/rkp/v20191209/rkp_client.js +9 -3
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +2 -3
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +7 -3
- package/tencentcloud/services/trp/v20210515/trp_client.js +9 -3
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +138 -48
- package/tencentcloud/services/vm/v20210922/vm_models.d.ts +66 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +22 -11
- package/tencentcloud/services/vod/v20180717/vod_client.js +22 -11
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +4 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +16 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +16 -0
- package/test/trp.v20210515.test.js +12 -2
|
@@ -337,6 +337,68 @@ export interface DescribeTaskDetailRequest {
|
|
|
337
337
|
*/
|
|
338
338
|
ShowAllSegments?: boolean;
|
|
339
339
|
}
|
|
340
|
+
/**
|
|
341
|
+
* 用户信息
|
|
342
|
+
*/
|
|
343
|
+
export interface User {
|
|
344
|
+
/**
|
|
345
|
+
* 业务用户ID 如填写,会根据账号历史恶意情况,判定消息有害结果,特别是有利于可疑恶意情况下的辅助判断。账号可以填写微信uin、QQ号、微信openid、QQopenid、字符串等。该字段和账号类别确定唯一账号。
|
|
346
|
+
*/
|
|
347
|
+
UserId?: string;
|
|
348
|
+
/**
|
|
349
|
+
* 该字段表示业务用户ID对应的账号类型,取值:1-微信uin,2-QQ号,3-微信群uin,4-qq群号,5-微信openid,6-QQopenid,7-其它string。
|
|
350
|
+
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
|
|
351
|
+
*/
|
|
352
|
+
AccountType?: string;
|
|
353
|
+
/**
|
|
354
|
+
* 用户昵称
|
|
355
|
+
*/
|
|
356
|
+
Nickname?: string;
|
|
357
|
+
/**
|
|
358
|
+
* 性别 默认0 未知 1 男性 2 女性
|
|
359
|
+
*/
|
|
360
|
+
Gender?: number;
|
|
361
|
+
/**
|
|
362
|
+
* 年龄 默认0 未知
|
|
363
|
+
*/
|
|
364
|
+
Age?: number;
|
|
365
|
+
/**
|
|
366
|
+
* 用户等级,默认0 未知 1 低 2 中 3 高
|
|
367
|
+
*/
|
|
368
|
+
Level?: number;
|
|
369
|
+
/**
|
|
370
|
+
* 手机号
|
|
371
|
+
*/
|
|
372
|
+
Phone?: string;
|
|
373
|
+
/**
|
|
374
|
+
* 用户简介,长度不超过5000字
|
|
375
|
+
*/
|
|
376
|
+
Desc?: string;
|
|
377
|
+
/**
|
|
378
|
+
* 用户头像图片链接
|
|
379
|
+
*/
|
|
380
|
+
HeadUrl?: string;
|
|
381
|
+
/**
|
|
382
|
+
* 群聊场景房间ID
|
|
383
|
+
*/
|
|
384
|
+
RoomId?: string;
|
|
385
|
+
/**
|
|
386
|
+
* 群聊场景群ID
|
|
387
|
+
*/
|
|
388
|
+
GroupId?: string;
|
|
389
|
+
/**
|
|
390
|
+
* 群聊场景群用户数
|
|
391
|
+
*/
|
|
392
|
+
GroupSize?: number;
|
|
393
|
+
/**
|
|
394
|
+
* 消息接收者ID
|
|
395
|
+
*/
|
|
396
|
+
ReceiverId?: string;
|
|
397
|
+
/**
|
|
398
|
+
* 消息生成时间,毫秒
|
|
399
|
+
*/
|
|
400
|
+
SendTime?: string;
|
|
401
|
+
}
|
|
340
402
|
/**
|
|
341
403
|
* 任务输出标签
|
|
342
404
|
*/
|
|
@@ -476,6 +538,10 @@ export interface CreateVideoModerationTaskRequest {
|
|
|
476
538
|
* 审核排队优先级。当您有多个视频审核任务排队时,可以根据这个参数控制排队优先级。用于处理插队等逻辑。默认该参数为0
|
|
477
539
|
*/
|
|
478
540
|
Priority?: number;
|
|
541
|
+
/**
|
|
542
|
+
* 该字段表示待检测对象对应的用户相关信息,若填入则可甄别相应违规风险用户
|
|
543
|
+
*/
|
|
544
|
+
User?: User;
|
|
479
545
|
}
|
|
480
546
|
/**
|
|
481
547
|
* DescribeTasks返回参数结构体
|
|
@@ -94,7 +94,8 @@ export declare class Client extends AbstractClient {
|
|
|
94
94
|
*/
|
|
95
95
|
CreateQualityInspectTemplate(req: CreateQualityInspectTemplateRequest, cb?: (error: string, rep: CreateQualityInspectTemplateResponse) => void): Promise<CreateQualityInspectTemplateResponse>;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
98
|
+
修改视频重生模板。
|
|
98
99
|
*/
|
|
99
100
|
ModifyRebuildMediaTemplate(req: ModifyRebuildMediaTemplateRequest, cb?: (error: string, rep: ModifyRebuildMediaTemplateResponse) => void): Promise<ModifyRebuildMediaTemplateResponse>;
|
|
100
101
|
/**
|
|
@@ -288,7 +289,8 @@ export declare class Client extends AbstractClient {
|
|
|
288
289
|
*/
|
|
289
290
|
CreateContentReviewTemplate(req: CreateContentReviewTemplateRequest, cb?: (error: string, rep: CreateContentReviewTemplateResponse) => void): Promise<CreateContentReviewTemplateResponse>;
|
|
290
291
|
/**
|
|
291
|
-
*
|
|
292
|
+
* 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
|
|
293
|
+
发起音画质重生
|
|
292
294
|
*/
|
|
293
295
|
RebuildMedia(req: RebuildMediaRequest, cb?: (error: string, rep: RebuildMediaResponse) => void): Promise<RebuildMediaResponse>;
|
|
294
296
|
/**
|
|
@@ -306,7 +308,8 @@ export declare class Client extends AbstractClient {
|
|
|
306
308
|
*/
|
|
307
309
|
DescribeDrmKeyProviderInfo(req: DescribeDrmKeyProviderInfoRequest, cb?: (error: string, rep: DescribeDrmKeyProviderInfoResponse) => void): Promise<DescribeDrmKeyProviderInfoResponse>;
|
|
308
310
|
/**
|
|
309
|
-
*
|
|
311
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
312
|
+
删除视频重生模板。
|
|
310
313
|
*/
|
|
311
314
|
DeleteRebuildMediaTemplate(req: DeleteRebuildMediaTemplateRequest, cb?: (error: string, rep: DeleteRebuildMediaTemplateResponse) => void): Promise<DeleteRebuildMediaTemplateResponse>;
|
|
312
315
|
/**
|
|
@@ -433,7 +436,8 @@ export declare class Client extends AbstractClient {
|
|
|
433
436
|
*/
|
|
434
437
|
DescribeImageReviewUsageData(req: DescribeImageReviewUsageDataRequest, cb?: (error: string, rep: DescribeImageReviewUsageDataResponse) => void): Promise<DescribeImageReviewUsageDataResponse>;
|
|
435
438
|
/**
|
|
436
|
-
*
|
|
439
|
+
* 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
|
|
440
|
+
使用模板发起音画质重生。
|
|
437
441
|
*/
|
|
438
442
|
EnhanceMediaByTemplate(req: EnhanceMediaByTemplateRequest, cb?: (error: string, rep: EnhanceMediaByTemplateResponse) => void): Promise<EnhanceMediaByTemplateResponse>;
|
|
439
443
|
/**
|
|
@@ -441,11 +445,13 @@ export declare class Client extends AbstractClient {
|
|
|
441
445
|
*/
|
|
442
446
|
ModifyPersonSample(req: ModifyPersonSampleRequest, cb?: (error: string, rep: ModifyPersonSampleResponse) => void): Promise<ModifyPersonSampleResponse>;
|
|
443
447
|
/**
|
|
444
|
-
*
|
|
448
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
449
|
+
创建音画质重生模板。
|
|
445
450
|
*/
|
|
446
451
|
CreateEnhanceMediaTemplate(req: CreateEnhanceMediaTemplateRequest, cb?: (error: string, rep: CreateEnhanceMediaTemplateResponse) => void): Promise<CreateEnhanceMediaTemplateResponse>;
|
|
447
452
|
/**
|
|
448
|
-
*
|
|
453
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
454
|
+
创建视频重生模板。
|
|
449
455
|
*/
|
|
450
456
|
CreateRebuildMediaTemplate(req: CreateRebuildMediaTemplateRequest, cb?: (error: string, rep: CreateRebuildMediaTemplateResponse) => void): Promise<CreateRebuildMediaTemplateResponse>;
|
|
451
457
|
/**
|
|
@@ -672,7 +678,8 @@ export declare class Client extends AbstractClient {
|
|
|
672
678
|
*/
|
|
673
679
|
ModifyWordSample(req: ModifyWordSampleRequest, cb?: (error: string, rep: ModifyWordSampleResponse) => void): Promise<ModifyWordSampleResponse>;
|
|
674
680
|
/**
|
|
675
|
-
*
|
|
681
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
682
|
+
修改音画质重生模板。
|
|
676
683
|
*/
|
|
677
684
|
ModifyEnhanceMediaTemplate(req: ModifyEnhanceMediaTemplateRequest, cb?: (error: string, rep: ModifyEnhanceMediaTemplateResponse) => void): Promise<ModifyEnhanceMediaTemplateResponse>;
|
|
678
685
|
/**
|
|
@@ -807,7 +814,8 @@ export declare class Client extends AbstractClient {
|
|
|
807
814
|
*/
|
|
808
815
|
DeletePersonSample(req: DeletePersonSampleRequest, cb?: (error: string, rep: DeletePersonSampleResponse) => void): Promise<DeletePersonSampleResponse>;
|
|
809
816
|
/**
|
|
810
|
-
*
|
|
817
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
818
|
+
获取音画质重生模板列表。
|
|
811
819
|
*/
|
|
812
820
|
DescribeEnhanceMediaTemplates(req: DescribeEnhanceMediaTemplatesRequest, cb?: (error: string, rep: DescribeEnhanceMediaTemplatesResponse) => void): Promise<DescribeEnhanceMediaTemplatesResponse>;
|
|
813
821
|
/**
|
|
@@ -898,7 +906,8 @@ export declare class Client extends AbstractClient {
|
|
|
898
906
|
*/
|
|
899
907
|
DescribeMediaInfos(req: DescribeMediaInfosRequest, cb?: (error: string, rep: DescribeMediaInfosResponse) => void): Promise<DescribeMediaInfosResponse>;
|
|
900
908
|
/**
|
|
901
|
-
*
|
|
909
|
+
* 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
|
|
910
|
+
使用模板发起视频重生。
|
|
902
911
|
*/
|
|
903
912
|
RebuildMediaByTemplate(req: RebuildMediaByTemplateRequest, cb?: (error: string, rep: RebuildMediaByTemplateResponse) => void): Promise<RebuildMediaByTemplateResponse>;
|
|
904
913
|
/**
|
|
@@ -932,11 +941,13 @@ export declare class Client extends AbstractClient {
|
|
|
932
941
|
*/
|
|
933
942
|
CreateAIRecognitionTemplate(req: CreateAIRecognitionTemplateRequest, cb?: (error: string, rep: CreateAIRecognitionTemplateResponse) => void): Promise<CreateAIRecognitionTemplateResponse>;
|
|
934
943
|
/**
|
|
935
|
-
*
|
|
944
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
945
|
+
删除音画质重生模板。
|
|
936
946
|
*/
|
|
937
947
|
DeleteEnhanceMediaTemplate(req: DeleteEnhanceMediaTemplateRequest, cb?: (error: string, rep: DeleteEnhanceMediaTemplateResponse) => void): Promise<DeleteEnhanceMediaTemplateResponse>;
|
|
938
948
|
/**
|
|
939
|
-
*
|
|
949
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
950
|
+
获取视频重生模板列表。
|
|
940
951
|
*/
|
|
941
952
|
DescribeRebuildMediaTemplates(req: DescribeRebuildMediaTemplatesRequest, cb?: (error: string, rep: DescribeRebuildMediaTemplatesResponse) => void): Promise<DescribeRebuildMediaTemplatesResponse>;
|
|
942
953
|
/**
|
|
@@ -142,7 +142,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
142
142
|
return this.request("CreateQualityInspectTemplate", req, cb);
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
146
|
+
修改视频重生模板。
|
|
146
147
|
*/
|
|
147
148
|
async ModifyRebuildMediaTemplate(req, cb) {
|
|
148
149
|
return this.request("ModifyRebuildMediaTemplate", req, cb);
|
|
@@ -410,7 +411,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
410
411
|
return this.request("CreateContentReviewTemplate", req, cb);
|
|
411
412
|
}
|
|
412
413
|
/**
|
|
413
|
-
*
|
|
414
|
+
* 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
|
|
415
|
+
发起音画质重生
|
|
414
416
|
*/
|
|
415
417
|
async RebuildMedia(req, cb) {
|
|
416
418
|
return this.request("RebuildMedia", req, cb);
|
|
@@ -436,7 +438,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
436
438
|
return this.request("DescribeDrmKeyProviderInfo", req, cb);
|
|
437
439
|
}
|
|
438
440
|
/**
|
|
439
|
-
*
|
|
441
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
442
|
+
删除视频重生模板。
|
|
440
443
|
*/
|
|
441
444
|
async DeleteRebuildMediaTemplate(req, cb) {
|
|
442
445
|
return this.request("DeleteRebuildMediaTemplate", req, cb);
|
|
@@ -597,7 +600,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
597
600
|
return this.request("DescribeImageReviewUsageData", req, cb);
|
|
598
601
|
}
|
|
599
602
|
/**
|
|
600
|
-
*
|
|
603
|
+
* 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
|
|
604
|
+
使用模板发起音画质重生。
|
|
601
605
|
*/
|
|
602
606
|
async EnhanceMediaByTemplate(req, cb) {
|
|
603
607
|
return this.request("EnhanceMediaByTemplate", req, cb);
|
|
@@ -609,13 +613,15 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
609
613
|
return this.request("ModifyPersonSample", req, cb);
|
|
610
614
|
}
|
|
611
615
|
/**
|
|
612
|
-
*
|
|
616
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
617
|
+
创建音画质重生模板。
|
|
613
618
|
*/
|
|
614
619
|
async CreateEnhanceMediaTemplate(req, cb) {
|
|
615
620
|
return this.request("CreateEnhanceMediaTemplate", req, cb);
|
|
616
621
|
}
|
|
617
622
|
/**
|
|
618
|
-
*
|
|
623
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
624
|
+
创建视频重生模板。
|
|
619
625
|
*/
|
|
620
626
|
async CreateRebuildMediaTemplate(req, cb) {
|
|
621
627
|
return this.request("CreateRebuildMediaTemplate", req, cb);
|
|
@@ -932,7 +938,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
932
938
|
return this.request("ModifyWordSample", req, cb);
|
|
933
939
|
}
|
|
934
940
|
/**
|
|
935
|
-
*
|
|
941
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
942
|
+
修改音画质重生模板。
|
|
936
943
|
*/
|
|
937
944
|
async ModifyEnhanceMediaTemplate(req, cb) {
|
|
938
945
|
return this.request("ModifyEnhanceMediaTemplate", req, cb);
|
|
@@ -1113,7 +1120,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1113
1120
|
return this.request("DeletePersonSample", req, cb);
|
|
1114
1121
|
}
|
|
1115
1122
|
/**
|
|
1116
|
-
*
|
|
1123
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
1124
|
+
获取音画质重生模板列表。
|
|
1117
1125
|
*/
|
|
1118
1126
|
async DescribeEnhanceMediaTemplates(req, cb) {
|
|
1119
1127
|
return this.request("DescribeEnhanceMediaTemplates", req, cb);
|
|
@@ -1228,7 +1236,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1228
1236
|
return this.request("DescribeMediaInfos", req, cb);
|
|
1229
1237
|
}
|
|
1230
1238
|
/**
|
|
1231
|
-
*
|
|
1239
|
+
* 该 API 已经<font color=red>不再维护</font>,请使用新版接口 [音画质重生](https://cloud.tencent.com/document/api/266/102571)。
|
|
1240
|
+
使用模板发起视频重生。
|
|
1232
1241
|
*/
|
|
1233
1242
|
async RebuildMediaByTemplate(req, cb) {
|
|
1234
1243
|
return this.request("RebuildMediaByTemplate", req, cb);
|
|
@@ -1278,13 +1287,15 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1278
1287
|
return this.request("CreateAIRecognitionTemplate", req, cb);
|
|
1279
1288
|
}
|
|
1280
1289
|
/**
|
|
1281
|
-
*
|
|
1290
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
1291
|
+
删除音画质重生模板。
|
|
1282
1292
|
*/
|
|
1283
1293
|
async DeleteEnhanceMediaTemplate(req, cb) {
|
|
1284
1294
|
return this.request("DeleteEnhanceMediaTemplate", req, cb);
|
|
1285
1295
|
}
|
|
1286
1296
|
/**
|
|
1287
|
-
*
|
|
1297
|
+
* 该 API 已经<font color=red>不再维护</font>,新版 [音画质重生](https://cloud.tencent.com/document/product/266/102571) 接口使用预置模板,详情请参见 [音画质重生模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
1298
|
+
获取视频重生模板列表。
|
|
1288
1299
|
*/
|
|
1289
1300
|
async DescribeRebuildMediaTemplates(req, cb) {
|
|
1290
1301
|
return this.request("DescribeRebuildMediaTemplates", req, cb);
|
|
@@ -4641,11 +4641,12 @@ export interface EnhanceMediaQualityRequest {
|
|
|
4641
4641
|
*/
|
|
4642
4642
|
FileId: string;
|
|
4643
4643
|
/**
|
|
4644
|
-
* 音画质重生模板 ID
|
|
4644
|
+
* 音画质重生模板 ID。
|
|
4645
|
+
针对典型的使用场景,云点播提供了多个[预置模板](https://cloud.tencent.com/document/product/266/102586#50604b3f-0286-4a10-a3f7-18218116aff7)。
|
|
4645
4646
|
*/
|
|
4646
4647
|
Definition: number;
|
|
4647
4648
|
/**
|
|
4648
|
-
* <b>点播[
|
|
4649
|
+
* <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
4649
4650
|
*/
|
|
4650
4651
|
SubAppId?: number;
|
|
4651
4652
|
/**
|
|
@@ -14586,7 +14587,7 @@ export interface RebuildMediaRequest {
|
|
|
14586
14587
|
*/
|
|
14587
14588
|
FileId: string;
|
|
14588
14589
|
/**
|
|
14589
|
-
* <b>点播
|
|
14590
|
+
* <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
|
14590
14591
|
*/
|
|
14591
14592
|
SubAppId?: number;
|
|
14592
14593
|
/**
|
|
@@ -171,6 +171,8 @@ export declare class Client extends AbstractClient {
|
|
|
171
171
|
EnableVpcEndPointConnect(req: EnableVpcEndPointConnectRequest, cb?: (error: string, rep: EnableVpcEndPointConnectResponse) => void): Promise<EnableVpcEndPointConnectResponse>;
|
|
172
172
|
/**
|
|
173
173
|
* 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合。
|
|
174
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
175
|
+
>
|
|
174
176
|
*/
|
|
175
177
|
ModifyAddressTemplateGroupAttribute(req: ModifyAddressTemplateGroupAttributeRequest, cb?: (error: string, rep: ModifyAddressTemplateGroupAttributeResponse) => void): Promise<ModifyAddressTemplateGroupAttributeResponse>;
|
|
176
178
|
/**
|
|
@@ -403,6 +405,8 @@ export declare class Client extends AbstractClient {
|
|
|
403
405
|
LockCcnBandwidths(req: LockCcnBandwidthsRequest, cb?: (error: string, rep: LockCcnBandwidthsResponse) => void): Promise<LockCcnBandwidthsResponse>;
|
|
404
406
|
/**
|
|
405
407
|
* 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板。
|
|
408
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
409
|
+
>
|
|
406
410
|
*/
|
|
407
411
|
ModifyAddressTemplateAttribute(req: ModifyAddressTemplateAttributeRequest, cb?: (error: string, rep: ModifyAddressTemplateAttributeResponse) => void): Promise<ModifyAddressTemplateAttributeResponse>;
|
|
408
412
|
/**
|
|
@@ -415,6 +419,8 @@ export declare class Client extends AbstractClient {
|
|
|
415
419
|
DeleteTemplateMember(req: DeleteTemplateMemberRequest, cb?: (error: string, rep: DeleteTemplateMemberResponse) => void): Promise<DeleteTemplateMemberResponse>;
|
|
416
420
|
/**
|
|
417
421
|
* 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合。
|
|
422
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
423
|
+
>
|
|
418
424
|
*/
|
|
419
425
|
DeleteServiceTemplateGroup(req: DeleteServiceTemplateGroupRequest, cb?: (error: string, rep: DeleteServiceTemplateGroupResponse) => void): Promise<DeleteServiceTemplateGroupResponse>;
|
|
420
426
|
/**
|
|
@@ -659,6 +665,8 @@ export declare class Client extends AbstractClient {
|
|
|
659
665
|
ModifyNetworkAclQuintupleEntries(req: ModifyNetworkAclQuintupleEntriesRequest, cb?: (error: string, rep: ModifyNetworkAclQuintupleEntriesResponse) => void): Promise<ModifyNetworkAclQuintupleEntriesResponse>;
|
|
660
666
|
/**
|
|
661
667
|
* 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。
|
|
668
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
669
|
+
>
|
|
662
670
|
*/
|
|
663
671
|
ModifyServiceTemplateGroupAttribute(req: ModifyServiceTemplateGroupAttributeRequest, cb?: (error: string, rep: ModifyServiceTemplateGroupAttributeResponse) => void): Promise<ModifyServiceTemplateGroupAttributeResponse>;
|
|
664
672
|
/**
|
|
@@ -763,6 +771,8 @@ export declare class Client extends AbstractClient {
|
|
|
763
771
|
AssociateDhcpIpWithAddressIp(req: AssociateDhcpIpWithAddressIpRequest, cb?: (error: string, rep: AssociateDhcpIpWithAddressIpResponse) => void): Promise<AssociateDhcpIpWithAddressIpResponse>;
|
|
764
772
|
/**
|
|
765
773
|
* 本接口(DeleteServiceTemplate)用于删除协议端口模板。
|
|
774
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
775
|
+
>
|
|
766
776
|
*/
|
|
767
777
|
DeleteServiceTemplate(req: DeleteServiceTemplateRequest, cb?: (error: string, rep: DeleteServiceTemplateResponse) => void): Promise<DeleteServiceTemplateResponse>;
|
|
768
778
|
/**
|
|
@@ -778,6 +788,8 @@ export declare class Client extends AbstractClient {
|
|
|
778
788
|
ModifyIpv6AddressesAttribute(req: ModifyIpv6AddressesAttributeRequest, cb?: (error: string, rep: ModifyIpv6AddressesAttributeResponse) => void): Promise<ModifyIpv6AddressesAttributeResponse>;
|
|
779
789
|
/**
|
|
780
790
|
* 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合。
|
|
791
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
792
|
+
>
|
|
781
793
|
*/
|
|
782
794
|
DeleteAddressTemplateGroup(req: DeleteAddressTemplateGroupRequest, cb?: (error: string, rep: DeleteAddressTemplateGroupResponse) => void): Promise<DeleteAddressTemplateGroupResponse>;
|
|
783
795
|
/**
|
|
@@ -856,6 +868,8 @@ export declare class Client extends AbstractClient {
|
|
|
856
868
|
ModifySecurityGroupAttribute(req: ModifySecurityGroupAttributeRequest, cb?: (error: string, rep: ModifySecurityGroupAttributeResponse) => void): Promise<ModifySecurityGroupAttributeResponse>;
|
|
857
869
|
/**
|
|
858
870
|
* 本接口(DeleteAddressTemplate)用于删除IP地址模板。
|
|
871
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
872
|
+
>
|
|
859
873
|
*/
|
|
860
874
|
DeleteAddressTemplate(req: DeleteAddressTemplateRequest, cb?: (error: string, rep: DeleteAddressTemplateResponse) => void): Promise<DeleteAddressTemplateResponse>;
|
|
861
875
|
/**
|
|
@@ -1303,6 +1317,8 @@ LimitTypes取值范围:
|
|
|
1303
1317
|
CreateHaVip(req: CreateHaVipRequest, cb?: (error: string, rep: CreateHaVipResponse) => void): Promise<CreateHaVipResponse>;
|
|
1304
1318
|
/**
|
|
1305
1319
|
* 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板。
|
|
1320
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1321
|
+
>
|
|
1306
1322
|
*/
|
|
1307
1323
|
ModifyServiceTemplateAttribute(req: ModifyServiceTemplateAttributeRequest, cb?: (error: string, rep: ModifyServiceTemplateAttributeResponse) => void): Promise<ModifyServiceTemplateAttributeResponse>;
|
|
1308
1324
|
/**
|
|
@@ -265,6 +265,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
267
|
* 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合。
|
|
268
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
269
|
+
>
|
|
268
270
|
*/
|
|
269
271
|
async ModifyAddressTemplateGroupAttribute(req, cb) {
|
|
270
272
|
return this.request("ModifyAddressTemplateGroupAttribute", req, cb);
|
|
@@ -595,6 +597,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
595
597
|
}
|
|
596
598
|
/**
|
|
597
599
|
* 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板。
|
|
600
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
601
|
+
>
|
|
598
602
|
*/
|
|
599
603
|
async ModifyAddressTemplateAttribute(req, cb) {
|
|
600
604
|
return this.request("ModifyAddressTemplateAttribute", req, cb);
|
|
@@ -613,6 +617,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
613
617
|
}
|
|
614
618
|
/**
|
|
615
619
|
* 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合。
|
|
620
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
621
|
+
>
|
|
616
622
|
*/
|
|
617
623
|
async DeleteServiceTemplateGroup(req, cb) {
|
|
618
624
|
return this.request("DeleteServiceTemplateGroup", req, cb);
|
|
@@ -955,6 +961,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
955
961
|
}
|
|
956
962
|
/**
|
|
957
963
|
* 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。
|
|
964
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
965
|
+
>
|
|
958
966
|
*/
|
|
959
967
|
async ModifyServiceTemplateGroupAttribute(req, cb) {
|
|
960
968
|
return this.request("ModifyServiceTemplateGroupAttribute", req, cb);
|
|
@@ -1105,6 +1113,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1105
1113
|
}
|
|
1106
1114
|
/**
|
|
1107
1115
|
* 本接口(DeleteServiceTemplate)用于删除协议端口模板。
|
|
1116
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1117
|
+
>
|
|
1108
1118
|
*/
|
|
1109
1119
|
async DeleteServiceTemplate(req, cb) {
|
|
1110
1120
|
return this.request("DeleteServiceTemplate", req, cb);
|
|
@@ -1126,6 +1136,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1126
1136
|
}
|
|
1127
1137
|
/**
|
|
1128
1138
|
* 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合。
|
|
1139
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1140
|
+
>
|
|
1129
1141
|
*/
|
|
1130
1142
|
async DeleteAddressTemplateGroup(req, cb) {
|
|
1131
1143
|
return this.request("DeleteAddressTemplateGroup", req, cb);
|
|
@@ -1234,6 +1246,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1234
1246
|
}
|
|
1235
1247
|
/**
|
|
1236
1248
|
* 本接口(DeleteAddressTemplate)用于删除IP地址模板。
|
|
1249
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1250
|
+
>
|
|
1237
1251
|
*/
|
|
1238
1252
|
async DeleteAddressTemplate(req, cb) {
|
|
1239
1253
|
return this.request("DeleteAddressTemplate", req, cb);
|
|
@@ -1861,6 +1875,8 @@ LimitTypes取值范围:
|
|
|
1861
1875
|
}
|
|
1862
1876
|
/**
|
|
1863
1877
|
* 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板。
|
|
1878
|
+
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
1879
|
+
>
|
|
1864
1880
|
*/
|
|
1865
1881
|
async ModifyServiceTemplateAttribute(req, cb) {
|
|
1866
1882
|
return this.request("ModifyServiceTemplateAttribute", req, cb);
|
|
@@ -168,6 +168,16 @@ it("trp.v20210515.CreateProduct", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("trp.v20210515.ModifyCustomRule", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyCustomRule({})
|
|
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("trp.v20210515.DescribeAgentCorps", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.DescribeAgentCorps({})
|
|
@@ -198,9 +208,9 @@ it("trp.v20210515.ReportBatchCallbackStatus", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("trp.v20210515.
|
|
211
|
+
it("trp.v20210515.DescribePlanQRCodeScanRecords", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribePlanQRCodeScanRecords({})
|
|
204
214
|
expect(data).to.be.ok
|
|
205
215
|
} catch(error) {
|
|
206
216
|
expect(error.requestId).to.be.ok
|