tencentcloud-sdk-nodejs 4.0.574 → 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 +241 -0
- package/SERVICE_CHANGELOG.md +348 -91
- package/package.json +1 -1
- package/products.md +22 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/index.ts +2 -2
- package/src/services/captcha/v20190722/captcha_models.ts +17 -6
- package/src/services/cdn/v20180606/cdn_models.ts +5 -5
- package/src/services/cii/index.ts +2 -2
- package/src/services/clb/v20180317/clb_models.ts +6 -0
- 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/iotvideo/index.ts +4 -4
- 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_models.ts +16 -4
- 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/thpc/index.ts +4 -4
- package/src/services/tione/v20211111/tione_models.ts +52 -7
- package/src/services/tke/v20180525/tke_models.ts +16 -3
- 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/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/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/cdn/v20180606/cdn_models.d.ts +5 -5
- 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/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/iotvideo/index.d.ts +6 -6
- package/tencentcloud/services/iotvideo/index.js +4 -4
- 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_models.d.ts +14 -2
- 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/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 +14 -3
- 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/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
- package/test/cwp.v20180228.test.js +78 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tbp = void 0;
|
|
4
|
-
const v20190627_1 = require("./v20190627");
|
|
5
4
|
const v20190311_1 = require("./v20190311");
|
|
5
|
+
const v20190627_1 = require("./v20190627");
|
|
6
6
|
exports.tbp = {
|
|
7
|
-
v20190627: v20190627_1.v20190627,
|
|
8
7
|
v20190311: v20190311_1.v20190311,
|
|
8
|
+
v20190627: v20190627_1.v20190627,
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const tem: {
|
|
2
|
-
v20201221: {
|
|
3
|
-
Client: typeof import("./v20201221/tem_client").Client;
|
|
4
|
-
Models: typeof import("./v20201221/tem_models");
|
|
5
|
-
};
|
|
6
2
|
v20210701: {
|
|
7
3
|
Client: typeof import("./v20210701/tem_client").Client;
|
|
8
4
|
Models: typeof import("./v20210701/tem_models");
|
|
9
5
|
};
|
|
6
|
+
v20201221: {
|
|
7
|
+
Client: typeof import("./v20201221/tem_client").Client;
|
|
8
|
+
Models: typeof import("./v20201221/tem_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tem = void 0;
|
|
4
|
-
const v20201221_1 = require("./v20201221");
|
|
5
4
|
const v20210701_1 = require("./v20210701");
|
|
5
|
+
const v20201221_1 = require("./v20201221");
|
|
6
6
|
exports.tem = {
|
|
7
|
-
v20201221: v20201221_1.v20201221,
|
|
8
7
|
v20210701: v20210701_1.v20210701,
|
|
8
|
+
v20201221: v20201221_1.v20201221,
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const teo: {
|
|
2
|
-
v20220901: {
|
|
3
|
-
Client: typeof import("./v20220901/teo_client").Client;
|
|
4
|
-
Models: typeof import("./v20220901/teo_models");
|
|
5
|
-
};
|
|
6
2
|
v20220106: {
|
|
7
3
|
Client: typeof import("./v20220106/teo_client").Client;
|
|
8
4
|
Models: typeof import("./v20220106/teo_models");
|
|
9
5
|
};
|
|
6
|
+
v20220901: {
|
|
7
|
+
Client: typeof import("./v20220901/teo_client").Client;
|
|
8
|
+
Models: typeof import("./v20220901/teo_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.teo = void 0;
|
|
4
|
-
const v20220901_1 = require("./v20220901");
|
|
5
4
|
const v20220106_1 = require("./v20220106");
|
|
5
|
+
const v20220901_1 = require("./v20220901");
|
|
6
6
|
exports.teo = {
|
|
7
|
-
v20220901: v20220901_1.v20220901,
|
|
8
7
|
v20220106: v20220106_1.v20220106,
|
|
8
|
+
v20220901: v20220901_1.v20220901,
|
|
9
9
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const thpc: {
|
|
2
|
-
|
|
3
|
-
Client: typeof import("./
|
|
4
|
-
Models: typeof import("./
|
|
2
|
+
v20220401: {
|
|
3
|
+
Client: typeof import("./v20220401/thpc_client").Client;
|
|
4
|
+
Models: typeof import("./v20220401/thpc_models");
|
|
5
5
|
};
|
|
6
6
|
v20211109: {
|
|
7
7
|
Client: typeof import("./v20211109/thpc_client").Client;
|
|
8
8
|
Models: typeof import("./v20211109/thpc_models");
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
Client: typeof import("./
|
|
12
|
-
Models: typeof import("./
|
|
10
|
+
v20230321: {
|
|
11
|
+
Client: typeof import("./v20230321/thpc_client").Client;
|
|
12
|
+
Models: typeof import("./v20230321/thpc_models");
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.thpc = void 0;
|
|
4
|
-
const v20230321_1 = require("./v20230321");
|
|
5
|
-
const v20211109_1 = require("./v20211109");
|
|
6
4
|
const v20220401_1 = require("./v20220401");
|
|
5
|
+
const v20211109_1 = require("./v20211109");
|
|
6
|
+
const v20230321_1 = require("./v20230321");
|
|
7
7
|
exports.thpc = {
|
|
8
|
-
v20230321: v20230321_1.v20230321,
|
|
9
|
-
v20211109: v20211109_1.v20211109,
|
|
10
8
|
v20220401: v20220401_1.v20220401,
|
|
9
|
+
v20211109: v20211109_1.v20211109,
|
|
10
|
+
v20230321: v20230321_1.v20230321,
|
|
11
11
|
};
|
|
@@ -521,6 +521,10 @@ export interface RestartModelAccelerateTaskRequest {
|
|
|
521
521
|
* SavedModel保存时配置的签名
|
|
522
522
|
*/
|
|
523
523
|
ModelSignature?: string;
|
|
524
|
+
/**
|
|
525
|
+
* 加速引擎对应的框架版本
|
|
526
|
+
*/
|
|
527
|
+
FrameworkVersion?: string;
|
|
524
528
|
}
|
|
525
529
|
/**
|
|
526
530
|
* DescribeBillingResourceGroups请求参数结构体
|
|
@@ -1878,11 +1882,11 @@ export interface DescribeTrainingModelsResponse {
|
|
|
1878
1882
|
/**
|
|
1879
1883
|
* 模型列表
|
|
1880
1884
|
*/
|
|
1881
|
-
TrainingModels
|
|
1885
|
+
TrainingModels?: Array<TrainingModelDTO>;
|
|
1882
1886
|
/**
|
|
1883
1887
|
* 模型总数
|
|
1884
1888
|
*/
|
|
1885
|
-
TotalCount
|
|
1889
|
+
TotalCount?: number;
|
|
1886
1890
|
/**
|
|
1887
1891
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1888
1892
|
*/
|
|
@@ -2815,6 +2819,11 @@ HYBRID_PAID:
|
|
|
2815
2819
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2816
2820
|
*/
|
|
2817
2821
|
Pods?: Pod;
|
|
2822
|
+
/**
|
|
2823
|
+
* Pod列表信息
|
|
2824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2825
|
+
*/
|
|
2826
|
+
PodInfos?: Array<Pod>;
|
|
2818
2827
|
}
|
|
2819
2828
|
/**
|
|
2820
2829
|
* DescribeModelService请求参数结构体
|
|
@@ -3380,11 +3389,11 @@ export interface DescribeTrainingModelsRequest {
|
|
|
3380
3389
|
/**
|
|
3381
3390
|
* 过滤器
|
|
3382
3391
|
Filter.Name: 枚举值:
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3392
|
+
keyword (模型名称)
|
|
3393
|
+
TrainingModelId (模型ID)
|
|
3394
|
+
ModelVersionType (模型版本类型) 其值Filter.Values支持: NORMAL(通用) ACCELERATE (加速)
|
|
3395
|
+
TrainingModelSource (模型来源) 其值Filter.Values支持: JOB/COS
|
|
3396
|
+
ModelFormat(模型格式)其值Filter.Values支持:
|
|
3388
3397
|
PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/HUGGING_FACE
|
|
3389
3398
|
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
3390
3399
|
每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
@@ -3411,6 +3420,10 @@ Filter.Fuzzy取值:true/false,是否支持模糊匹配
|
|
|
3411
3420
|
* 标签过滤
|
|
3412
3421
|
*/
|
|
3413
3422
|
TagFilters?: Array<TagFilter>;
|
|
3423
|
+
/**
|
|
3424
|
+
* 是否同时返回模型版本列表
|
|
3425
|
+
*/
|
|
3426
|
+
WithModelVersions?: boolean;
|
|
3414
3427
|
}
|
|
3415
3428
|
/**
|
|
3416
3429
|
* 训练数据
|
|
@@ -3480,6 +3493,11 @@ export interface Pod {
|
|
|
3480
3493
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3481
3494
|
*/
|
|
3482
3495
|
Containers?: Container;
|
|
3496
|
+
/**
|
|
3497
|
+
* 容器列表
|
|
3498
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3499
|
+
*/
|
|
3500
|
+
ContainerInfos?: Array<Container>;
|
|
3483
3501
|
}
|
|
3484
3502
|
/**
|
|
3485
3503
|
* DescribeLatestTrainingMetrics请求参数结构体
|
|
@@ -3676,6 +3694,10 @@ export interface BatchModelAccTask {
|
|
|
3676
3694
|
* SavedModel保存时配置的签名
|
|
3677
3695
|
*/
|
|
3678
3696
|
ModelSignature?: string;
|
|
3697
|
+
/**
|
|
3698
|
+
* 加速引擎对应的框架版本
|
|
3699
|
+
*/
|
|
3700
|
+
FrameworkVersion?: string;
|
|
3679
3701
|
}
|
|
3680
3702
|
/**
|
|
3681
3703
|
* 过滤器
|
|
@@ -3740,6 +3762,11 @@ export interface EngineVersion {
|
|
|
3740
3762
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3741
3763
|
*/
|
|
3742
3764
|
IsSupportIntEightQuantization: boolean;
|
|
3765
|
+
/**
|
|
3766
|
+
* 框架版本
|
|
3767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3768
|
+
*/
|
|
3769
|
+
FrameworkVersion: string;
|
|
3743
3770
|
}
|
|
3744
3771
|
/**
|
|
3745
3772
|
* DescribeBatchTasks请求参数结构体
|
|
@@ -3972,6 +3999,11 @@ export interface TrainingModelDTO {
|
|
|
3972
3999
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3973
4000
|
*/
|
|
3974
4001
|
CreateTime: string;
|
|
4002
|
+
/**
|
|
4003
|
+
* 模型版本列表。默认不返回,仅在指定请求参数开启时返回。
|
|
4004
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4005
|
+
*/
|
|
4006
|
+
TrainingModelVersions?: Array<TrainingModelVersionDTO>;
|
|
3975
4007
|
}
|
|
3976
4008
|
/**
|
|
3977
4009
|
* 服务的限流限速等配置
|
|
@@ -5259,6 +5291,11 @@ export interface ModelAccelerateTask {
|
|
|
5259
5291
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5260
5292
|
*/
|
|
5261
5293
|
QATModel: boolean;
|
|
5294
|
+
/**
|
|
5295
|
+
* 加速引擎对应的框架版本
|
|
5296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5297
|
+
*/
|
|
5298
|
+
FrameworkVersion?: string;
|
|
5262
5299
|
}
|
|
5263
5300
|
/**
|
|
5264
5301
|
* 环境变量
|
|
@@ -4490,7 +4490,7 @@ export interface Cluster {
|
|
|
4490
4490
|
*/
|
|
4491
4491
|
TagSpecification: Array<TagSpecification>;
|
|
4492
4492
|
/**
|
|
4493
|
-
* 集群状态 (
|
|
4493
|
+
* 集群状态 (Trading 集群开通中,Creating 创建中,Running 运行中,Deleting 删除中,Idling 闲置中,Recovering 唤醒中,Scaling 规模调整中,Upgrading 升级中,WaittingForConnect 等待注册,Trading 集群开通中,Isolated 欠费隔离中,Pause 集群升级暂停,NodeUpgrading 节点升级中,RuntimeUpgrading 节点运行时升级中,MasterScaling Master扩缩容中,ClusterLevelUpgrading 调整规格中,ResourceIsolate 隔离中,ResourceIsolated 已隔离,ResourceReverse 冲正中,Abnormal 异常)
|
|
4494
4494
|
*/
|
|
4495
4495
|
ClusterStatus: string;
|
|
4496
4496
|
/**
|
|
@@ -4552,6 +4552,11 @@ export interface Cluster {
|
|
|
4552
4552
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4553
4553
|
*/
|
|
4554
4554
|
RuntimeVersion: string;
|
|
4555
|
+
/**
|
|
4556
|
+
* 集群当前etcd数量
|
|
4557
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4558
|
+
*/
|
|
4559
|
+
ClusterEtcdNodeNum: number;
|
|
4555
4560
|
}
|
|
4556
4561
|
/**
|
|
4557
4562
|
* DescribeClusterEndpointStatus返回参数结构体
|
|
@@ -7207,12 +7212,12 @@ export interface DescribeClusterVirtualNodePoolsResponse {
|
|
|
7207
7212
|
* 节点池总数
|
|
7208
7213
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7209
7214
|
*/
|
|
7210
|
-
TotalCount
|
|
7215
|
+
TotalCount: number;
|
|
7211
7216
|
/**
|
|
7212
7217
|
* 虚拟节点池列表
|
|
7213
7218
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7214
7219
|
*/
|
|
7215
|
-
NodePoolSet
|
|
7220
|
+
NodePoolSet: Array<VirtualNodePool>;
|
|
7216
7221
|
/**
|
|
7217
7222
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7218
7223
|
*/
|
|
@@ -8792,6 +8797,12 @@ export interface ClusterNetworkSettings {
|
|
|
8792
8797
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8793
8798
|
*/
|
|
8794
8799
|
Ipv6ServiceCIDR: string;
|
|
8800
|
+
/**
|
|
8801
|
+
* 集群Cilium Mode配置
|
|
8802
|
+
- clusterIP
|
|
8803
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8804
|
+
*/
|
|
8805
|
+
CiliumMode: string;
|
|
8795
8806
|
}
|
|
8796
8807
|
/**
|
|
8797
8808
|
* DescribeImages返回参数结构体
|
|
@@ -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
|
* 转自适应码流子流信息。
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const yunsou: {
|
|
2
|
-
v20180504: {
|
|
3
|
-
Client: typeof import("./v20180504/yunsou_client").Client;
|
|
4
|
-
Models: typeof import("./v20180504/yunsou_models");
|
|
5
|
-
};
|
|
6
2
|
v20191115: {
|
|
7
3
|
Client: typeof import("./v20191115/yunsou_client").Client;
|
|
8
4
|
Models: typeof import("./v20191115/yunsou_models");
|
|
9
5
|
};
|
|
6
|
+
v20180504: {
|
|
7
|
+
Client: typeof import("./v20180504/yunsou_client").Client;
|
|
8
|
+
Models: typeof import("./v20180504/yunsou_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.yunsou = void 0;
|
|
4
|
-
const v20180504_1 = require("./v20180504");
|
|
5
4
|
const v20191115_1 = require("./v20191115");
|
|
5
|
+
const v20180504_1 = require("./v20180504");
|
|
6
6
|
exports.yunsou = {
|
|
7
|
-
v20180504: v20180504_1.v20180504,
|
|
8
7
|
v20191115: v20191115_1.v20191115,
|
|
8
|
+
v20180504: v20180504_1.v20180504,
|
|
9
9
|
};
|