tencentcloud-sdk-nodejs 4.1.131 → 4.1.133
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/es/common/sdk_version.js +1 -1
- package/es/services/cdb/v20170320/cdb_client.js +3 -0
- package/es/services/ess/v20201111/ess_client.js +6 -0
- package/es/services/ioa/v20220601/ioa_client.js +3 -0
- package/es/services/vpc/v20170312/vpc_client.js +40 -4
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +26 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +6 -6
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +5 -3
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +13 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +16 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +92 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -6
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +5 -1
- package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +5 -1
- package/tencentcloud/services/ioa/v20220601/ioa_client.js +6 -0
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +59 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +27 -10
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +192 -5
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -0
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +8 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_client.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +91 -15
- package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +1 -1
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +96 -62
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +53 -5
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +78 -6
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +610 -181
- package/tencentcloud/services/wedata/v20250806/wedata_client.d.ts +3 -3
- package/tencentcloud/services/wedata/v20250806/wedata_client.js +3 -3
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +17 -0
|
@@ -9668,15 +9668,11 @@ export interface DescribeUserFlowTypeRequest {
|
|
|
9668
9668
|
*/
|
|
9669
9669
|
Agent: Agent;
|
|
9670
9670
|
/**
|
|
9671
|
-
* 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong
|
|
9671
|
+
* 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。 <ul><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模板类型id列表。</li></ul>
|
|
9672
9672
|
*/
|
|
9673
9673
|
Filters?: Array<Filter>;
|
|
9674
9674
|
/**
|
|
9675
|
-
*
|
|
9676
|
-
<ul>
|
|
9677
|
-
<li>false(默认值),查询用户合同类型</li>
|
|
9678
|
-
<li>true,查询绑定了模版的用户合同类型</li>
|
|
9679
|
-
</ul>
|
|
9675
|
+
* 查询绑定了模板的用户合同类型<ul><li>false(默认值),查询用户合同类型</li><li>true,查询绑定了模板的用户合同类型</li></ul>
|
|
9680
9676
|
*/
|
|
9681
9677
|
QueryBindTemplate?: boolean;
|
|
9682
9678
|
}
|
|
@@ -1394,7 +1394,7 @@ export interface RuleInfo {
|
|
|
1394
1394
|
RealServerSet?: Array<BindRealServer>;
|
|
1395
1395
|
/**
|
|
1396
1396
|
* 源站的服务状态,0表示异常,1表示正常。
|
|
1397
|
-
|
|
1397
|
+
未开启健康检查时,该状态始终为正常。
|
|
1398
1398
|
只要有一个源站健康状态为异常时,该状态为异常,具体源站的状态请查看RealServerSet。
|
|
1399
1399
|
*/
|
|
1400
1400
|
BindStatus?: number;
|
|
@@ -1417,6 +1417,10 @@ export interface RuleInfo {
|
|
|
1417
1417
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1418
1418
|
*/
|
|
1419
1419
|
ForcedRedirect?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* 七层转发规则的回源协议类型
|
|
1422
|
+
*/
|
|
1423
|
+
ForwardProtocol?: string;
|
|
1420
1424
|
}
|
|
1421
1425
|
/**
|
|
1422
1426
|
* 源站绑定信息查询,BindStatus, 0: 未被绑定 1:被规则或者监听器绑定
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreatePrivilegeCodeRequest, DescribeDeviceDetailListResponse, DescribeAggrSoftDeviceListRequest, DescribeDeviceHardwareInfoListResponse, DescribeDevicesResponse, DescribeAccountGroupsRequest, DescribeDeviceVirtualGroupsResponse, DescribeAggrSoftCategorySoftListRequest, CreateDeviceVirtualGroupRequest, CreateDeviceTaskRequest, DescribeSoftCensusListByDeviceRequest, DescribeLocalAccountsRequest, CreateDeviceTaskResponse, CreateDLPFileDetectionTaskRequest, DescribeDeviceInfoRequest, DescribeDeviceVirtualGroupsRequest, DescribeDeviceChildGroupsRequest, DescribeDeviceInfoResponse, DescribeDLPEdgeNodesResponse, ExportSoftwareInformationListResponse, DescribeSoftwareInformationRequest, DescribeDLPFileDetectTaskResultResponse, CreateDLPFileDetectTaskResponse, DescribeDLPEdgeNodesRequest, DescribeAggrSoftDetailRequest, DescribeDLPEdgeNodeGroupsRequest, DescribeVirtualDevicesResponse, CreateDLPFileDetectTaskRequest, DescribeDLPFileDetectResultRequest, CreateDeviceVirtualGroupResponse, DescribeSoftwareInformationResponse, ModifyVirtualDeviceGroupsResponse, DescribeLocalAccountsResponse, DescribeAccountGroupsResponse, DescribeSoftCensusListByDeviceResponse, DescribeDLPEdgeNodeGroupsResponse, DescribeAggrSoftDeviceListResponse, DescribeRootAccountGroupResponse, DescribeDLPFileDetectTaskResultRequest, DescribeDeviceDetailListRequest, ExportSoftwareInformationListRequest, ModifyVirtualDeviceGroupsRequest, DescribeVirtualDevicesRequest, DescribeRootAccountGroupRequest, DescribeDevicesRequest, DescribeAggrSoftCategorySoftListResponse, DescribeAggrSoftDetailResponse, CreateDLPFileDetectionTaskResponse, DescribeDeviceChildGroupsResponse, DescribeDLPFileDetectResultResponse, CreatePrivilegeCodeResponse, DescribeDeviceHardwareInfoListRequest } from "./ioa_models";
|
|
3
|
+
import { CreatePrivilegeCodeRequest, DescribeDeviceDetailListResponse, DescribeAggrSoftDeviceListRequest, DescribeDeviceHardwareInfoListResponse, DescribeDevicesResponse, DescribeAccountGroupsRequest, DescribeDeviceVirtualGroupsResponse, DescribeAggrSoftCategorySoftListRequest, CreateDeviceVirtualGroupRequest, CreateDeviceTaskRequest, DescribeSoftCensusListByDeviceRequest, DescribeLocalAccountsRequest, CreateDeviceTaskResponse, CreateDLPFileDetectionTaskRequest, ExportDeviceDownloadTaskRequest, DescribeDeviceInfoRequest, DescribeDeviceVirtualGroupsRequest, DescribeDeviceChildGroupsRequest, DescribeDeviceInfoResponse, DescribeDLPEdgeNodesResponse, ExportSoftwareInformationListResponse, DescribeSoftwareInformationRequest, DescribeDLPFileDetectTaskResultResponse, CreateDLPFileDetectTaskResponse, DescribeDLPEdgeNodesRequest, DescribeAggrSoftDetailRequest, DescribeDLPEdgeNodeGroupsRequest, DescribeVirtualDevicesResponse, CreateDLPFileDetectTaskRequest, DescribeDLPFileDetectResultRequest, CreateDeviceVirtualGroupResponse, ExportDeviceDownloadTaskResponse, DescribeSoftwareInformationResponse, ModifyVirtualDeviceGroupsResponse, DescribeLocalAccountsResponse, DescribeAccountGroupsResponse, DescribeSoftCensusListByDeviceResponse, DescribeDLPEdgeNodeGroupsResponse, DescribeAggrSoftDeviceListResponse, DescribeRootAccountGroupResponse, DescribeDLPFileDetectTaskResultRequest, DescribeDeviceDetailListRequest, ExportSoftwareInformationListRequest, ModifyVirtualDeviceGroupsRequest, DescribeVirtualDevicesRequest, DescribeRootAccountGroupRequest, DescribeDevicesRequest, DescribeAggrSoftCategorySoftListResponse, DescribeAggrSoftDetailResponse, CreateDLPFileDetectionTaskResponse, DescribeDeviceChildGroupsResponse, DescribeDLPFileDetectResultResponse, CreatePrivilegeCodeResponse, DescribeDeviceHardwareInfoListRequest } from "./ioa_models";
|
|
4
4
|
/**
|
|
5
5
|
* ioa client
|
|
6
6
|
* @class
|
|
@@ -11,6 +11,10 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 聚合软件的已安装终端列表
|
|
12
12
|
*/
|
|
13
13
|
DescribeAggrSoftDeviceList(req: DescribeAggrSoftDeviceListRequest, cb?: (error: string, rep: DescribeAggrSoftDeviceListResponse) => void): Promise<DescribeAggrSoftDeviceListResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 创建终端导出任务,私有化调用path为:capi/Assets/Device/ExportDeviceDownloadTask
|
|
16
|
+
*/
|
|
17
|
+
ExportDeviceDownloadTask(req: ExportDeviceDownloadTaskRequest, cb?: (error: string, rep: ExportDeviceDownloadTaskResponse) => void): Promise<ExportDeviceDownloadTaskResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* 创建获取终端进程网络服务信息任务,私有化调用path为:capi/Assets/Device/DescribeDeviceInfo
|
|
16
20
|
*/
|
|
@@ -33,6 +33,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async DescribeAggrSoftDeviceList(req, cb) {
|
|
34
34
|
return this.request("DescribeAggrSoftDeviceList", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 创建终端导出任务,私有化调用path为:capi/Assets/Device/ExportDeviceDownloadTask
|
|
38
|
+
*/
|
|
39
|
+
async ExportDeviceDownloadTask(req, cb) {
|
|
40
|
+
return this.request("ExportDeviceDownloadTask", req, cb);
|
|
41
|
+
}
|
|
36
42
|
/**
|
|
37
43
|
* 创建获取终端进程网络服务信息任务,私有化调用path为:capi/Assets/Device/DescribeDeviceInfo
|
|
38
44
|
*/
|
|
@@ -926,6 +926,39 @@ export interface CreateDLPFileDetectionTaskRequest {
|
|
|
926
926
|
*/
|
|
927
927
|
CallBackUrl?: string;
|
|
928
928
|
}
|
|
929
|
+
/**
|
|
930
|
+
* ExportDeviceDownloadTask请求参数结构体
|
|
931
|
+
*/
|
|
932
|
+
export interface ExportDeviceDownloadTaskRequest {
|
|
933
|
+
/**
|
|
934
|
+
* 系统类型(0: win,1:linux,2: mac,4:android,5:ios;默认值0)
|
|
935
|
+
*/
|
|
936
|
+
OsType?: number;
|
|
937
|
+
/**
|
|
938
|
+
* 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
|
|
939
|
+
*/
|
|
940
|
+
DomainInstanceId?: string;
|
|
941
|
+
/**
|
|
942
|
+
* 分组id
|
|
943
|
+
*/
|
|
944
|
+
GroupId?: number;
|
|
945
|
+
/**
|
|
946
|
+
* 在线状态 2 在线 0,1 离线
|
|
947
|
+
*/
|
|
948
|
+
OnlineStatus?: number;
|
|
949
|
+
/**
|
|
950
|
+
* 导出顺序,接口返回的数据字段
|
|
951
|
+
*/
|
|
952
|
+
ExportOrder?: string;
|
|
953
|
+
/**
|
|
954
|
+
* 导出类型, 0:终端树;7:硬件信息列表导出;
|
|
955
|
+
*/
|
|
956
|
+
ExportType?: number;
|
|
957
|
+
/**
|
|
958
|
+
* 过滤条件。同DescribeDevices接口
|
|
959
|
+
*/
|
|
960
|
+
Condition?: Condition;
|
|
961
|
+
}
|
|
929
962
|
/**
|
|
930
963
|
* 软件统计响应对象集合
|
|
931
964
|
*/
|
|
@@ -1712,6 +1745,19 @@ export interface SoftVersionAndNum {
|
|
|
1712
1745
|
*/
|
|
1713
1746
|
Num?: number;
|
|
1714
1747
|
}
|
|
1748
|
+
/**
|
|
1749
|
+
* ExportDeviceDownloadTask返回参数结构体
|
|
1750
|
+
*/
|
|
1751
|
+
export interface ExportDeviceDownloadTaskResponse {
|
|
1752
|
+
/**
|
|
1753
|
+
* 业务响应数据
|
|
1754
|
+
*/
|
|
1755
|
+
Data?: DeviceDownloadTask;
|
|
1756
|
+
/**
|
|
1757
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1758
|
+
*/
|
|
1759
|
+
RequestId?: string;
|
|
1760
|
+
}
|
|
1715
1761
|
/**
|
|
1716
1762
|
* 业务响应数据
|
|
1717
1763
|
*/
|
|
@@ -2311,6 +2357,19 @@ export interface DescribeDeviceChildGroupsRspData {
|
|
|
2311
2357
|
*/
|
|
2312
2358
|
Items?: Array<DeviceGroupDetail>;
|
|
2313
2359
|
}
|
|
2360
|
+
/**
|
|
2361
|
+
* 业务响应数据
|
|
2362
|
+
*/
|
|
2363
|
+
export interface DeviceDownloadTask {
|
|
2364
|
+
/**
|
|
2365
|
+
* 同步数据下载的url
|
|
2366
|
+
*/
|
|
2367
|
+
DownloadURL?: string;
|
|
2368
|
+
/**
|
|
2369
|
+
* 异步任务id,需要根据id去任务中心下载
|
|
2370
|
+
*/
|
|
2371
|
+
TaskId?: number;
|
|
2372
|
+
}
|
|
2314
2373
|
/**
|
|
2315
2374
|
* 返回的数组列表
|
|
2316
2375
|
*/
|
|
@@ -1513,21 +1513,17 @@ export interface ModifyFirewallRulesResponse {
|
|
|
1513
1513
|
RequestId?: string;
|
|
1514
1514
|
}
|
|
1515
1515
|
/**
|
|
1516
|
-
*
|
|
1516
|
+
* 目标地域镜像信息。
|
|
1517
1517
|
*/
|
|
1518
|
-
export interface
|
|
1519
|
-
/**
|
|
1520
|
-
* 可用区
|
|
1521
|
-
*/
|
|
1522
|
-
Zone: string;
|
|
1518
|
+
export interface DestinationRegionBlueprint {
|
|
1523
1519
|
/**
|
|
1524
|
-
*
|
|
1520
|
+
* 目标地域。
|
|
1525
1521
|
*/
|
|
1526
|
-
|
|
1522
|
+
Region?: string;
|
|
1527
1523
|
/**
|
|
1528
|
-
*
|
|
1524
|
+
* 目标地域镜像ID。
|
|
1529
1525
|
*/
|
|
1530
|
-
|
|
1526
|
+
BlueprintId?: string;
|
|
1531
1527
|
}
|
|
1532
1528
|
/**
|
|
1533
1529
|
* DescribeBlueprintInstances请求参数结构体
|
|
@@ -2755,6 +2751,10 @@ export type DescribeCcnAttachedInstancesRequest = null;
|
|
|
2755
2751
|
* SyncBlueprint返回参数结构体
|
|
2756
2752
|
*/
|
|
2757
2753
|
export interface SyncBlueprintResponse {
|
|
2754
|
+
/**
|
|
2755
|
+
* 目标地域镜像信息。
|
|
2756
|
+
*/
|
|
2757
|
+
DestinationRegionBlueprintSet?: Array<DestinationRegionBlueprint>;
|
|
2758
2758
|
/**
|
|
2759
2759
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2760
2760
|
*/
|
|
@@ -3864,6 +3864,23 @@ export interface Filter {
|
|
|
3864
3864
|
*/
|
|
3865
3865
|
Values: Array<string>;
|
|
3866
3866
|
}
|
|
3867
|
+
/**
|
|
3868
|
+
* 可用区详细信息
|
|
3869
|
+
*/
|
|
3870
|
+
export interface ZoneInfo {
|
|
3871
|
+
/**
|
|
3872
|
+
* 可用区
|
|
3873
|
+
*/
|
|
3874
|
+
Zone: string;
|
|
3875
|
+
/**
|
|
3876
|
+
* 可用区中文名称
|
|
3877
|
+
*/
|
|
3878
|
+
ZoneName: string;
|
|
3879
|
+
/**
|
|
3880
|
+
* 实例购买页可用区展示标签
|
|
3881
|
+
*/
|
|
3882
|
+
InstanceDisplayLabel: string;
|
|
3883
|
+
}
|
|
3867
3884
|
/**
|
|
3868
3885
|
* DescribeSnapshots返回参数结构体
|
|
3869
3886
|
*/
|
|
@@ -1765,6 +1765,10 @@ export interface SmartEraseTaskInput {
|
|
|
1765
1765
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1766
1766
|
*/
|
|
1767
1767
|
RawParameter?: RawSmartEraseParameter;
|
|
1768
|
+
/**
|
|
1769
|
+
* 智能擦除自定义参数,当 Definition 不填 0 时有效。 当填写了该结构中的部分擦除参数时,将使用填写的参数覆盖智能擦除模板中的参数。 该参数用于高度定制场景,建议您仅使用 Definition 指定智能擦除参数。
|
|
1770
|
+
*/
|
|
1771
|
+
OverrideParameter?: OverrideEraseParameter;
|
|
1768
1772
|
/**
|
|
1769
1773
|
* 文件的目标存储,不填则继承上层的 OutputStorage 值。
|
|
1770
1774
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2444,7 +2448,8 @@ export interface AudioTemplateInfoForUpdate {
|
|
|
2444
2448
|
*/
|
|
2445
2449
|
Bitrate?: number;
|
|
2446
2450
|
/**
|
|
2447
|
-
*
|
|
2451
|
+
* 音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
|
|
2452
|
+
详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
|
|
2448
2453
|
单位:Hz
|
|
2449
2454
|
注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
|
|
2450
2455
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2465,6 +2470,42 @@ export interface AudioTemplateInfoForUpdate {
|
|
|
2465
2470
|
*/
|
|
2466
2471
|
StreamSelects?: Array<number | bigint>;
|
|
2467
2472
|
}
|
|
2473
|
+
/**
|
|
2474
|
+
* 智能擦除模板去水印配置
|
|
2475
|
+
*/
|
|
2476
|
+
export interface UpdateSmartEraseWatermarkConfig {
|
|
2477
|
+
/**
|
|
2478
|
+
* 水印擦除方式。
|
|
2479
|
+
**自动擦除:**通过A模型自动识别视频中的水印,擦除后生成新的视频。适用于动态水印。
|
|
2480
|
+
当使用自动擦除时,若您不指定AutoAreas,将对视频全屏进行自动擦除;若指定AutoAreas,将改为对您指定的区域进行自动擦除。
|
|
2481
|
+
**指定区域擦除:**针对位置较固定的静态水印,建议您直接指定擦除区域。
|
|
2482
|
+
当您选择指定区域擦除时,请至少传入一个指定区域。
|
|
2483
|
+
|
|
2484
|
+
- auto 自动擦除
|
|
2485
|
+
- custom 指定区域擦除
|
|
2486
|
+
*/
|
|
2487
|
+
WatermarkEraseMethod?: string;
|
|
2488
|
+
/**
|
|
2489
|
+
* 水印擦除模型。
|
|
2490
|
+
基础版:效果一般,性价比高,适合动画或背景较干净的视频。
|
|
2491
|
+
高级版:效果更好,适合短剧等现实风格视频。
|
|
2492
|
+
- basic 基础版
|
|
2493
|
+
- advanced 高级版
|
|
2494
|
+
*/
|
|
2495
|
+
WatermarkModel?: string;
|
|
2496
|
+
/**
|
|
2497
|
+
* 自动擦除自定义区域。
|
|
2498
|
+
对选定区域,利用AI模型自动检测其中存在的擦除目标并擦除。
|
|
2499
|
+
注意,当擦除方式为custom时,此参数将不会生效。清除区域请传入[],不传时将保持模板区域信息不变。
|
|
2500
|
+
*/
|
|
2501
|
+
AutoAreas?: Array<EraseArea>;
|
|
2502
|
+
/**
|
|
2503
|
+
* 指定擦除自定义区域。
|
|
2504
|
+
对选定区域,在选定时间段内不进行检测识别直接进行擦除。
|
|
2505
|
+
注意:清除区域请传入[],不传时将保持模板区域信息不变。
|
|
2506
|
+
*/
|
|
2507
|
+
CustomAreas?: Array<EraseTimeArea>;
|
|
2508
|
+
}
|
|
2468
2509
|
/**
|
|
2469
2510
|
* 工作流信息详情。
|
|
2470
2511
|
*/
|
|
@@ -2791,7 +2832,8 @@ export interface AudioTemplateInfo {
|
|
|
2791
2832
|
*/
|
|
2792
2833
|
Bitrate: number;
|
|
2793
2834
|
/**
|
|
2794
|
-
*
|
|
2835
|
+
* 音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
|
|
2836
|
+
详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
|
|
2795
2837
|
单位:Hz
|
|
2796
2838
|
注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
|
|
2797
2839
|
*/
|
|
@@ -4230,6 +4272,33 @@ export interface ScheduleExecRuleTaskResult {
|
|
|
4230
4272
|
*/
|
|
4231
4273
|
Output?: ExecRuleTaskData;
|
|
4232
4274
|
}
|
|
4275
|
+
/**
|
|
4276
|
+
* 智能擦除自定义参数
|
|
4277
|
+
*/
|
|
4278
|
+
export interface OverrideEraseParameter {
|
|
4279
|
+
/**
|
|
4280
|
+
* 擦除类型
|
|
4281
|
+
- subtitle 去字幕
|
|
4282
|
+
- watermark 去水印
|
|
4283
|
+
- privacy 隐私保护
|
|
4284
|
+
*/
|
|
4285
|
+
EraseType?: string;
|
|
4286
|
+
/**
|
|
4287
|
+
* 字幕擦除配置;
|
|
4288
|
+
当EraseType值为:subtitle,此字段为必填参数
|
|
4289
|
+
*/
|
|
4290
|
+
EraseSubtitleConfig?: UpdateSmartEraseSubtitleConfig;
|
|
4291
|
+
/**
|
|
4292
|
+
* 水印擦除配置;
|
|
4293
|
+
当EraseType值为:watermark,此字段为必填参数
|
|
4294
|
+
*/
|
|
4295
|
+
EraseWatermarkConfig?: UpdateSmartEraseWatermarkConfig;
|
|
4296
|
+
/**
|
|
4297
|
+
* 隐私保护配置;
|
|
4298
|
+
当EraseType值为:privacy,此字段为必填参数
|
|
4299
|
+
*/
|
|
4300
|
+
ErasePrivacyConfig?: UpdateSmartErasePrivacyConfig;
|
|
4301
|
+
}
|
|
4233
4302
|
/**
|
|
4234
4303
|
* 文字水印模板
|
|
4235
4304
|
*/
|
|
@@ -10579,6 +10648,23 @@ export interface AiRecognitionTaskOcrWordsResultItem {
|
|
|
10579
10648
|
*/
|
|
10580
10649
|
SegmentSet?: Array<AiRecognitionTaskOcrWordsSegmentItem>;
|
|
10581
10650
|
}
|
|
10651
|
+
/**
|
|
10652
|
+
* 智能擦除模板隐私保护配置
|
|
10653
|
+
*/
|
|
10654
|
+
export interface UpdateSmartErasePrivacyConfig {
|
|
10655
|
+
/**
|
|
10656
|
+
* 隐私保护擦除方式。
|
|
10657
|
+
- blur 模糊
|
|
10658
|
+
- mosaic 马赛克
|
|
10659
|
+
*/
|
|
10660
|
+
PrivacyModel?: string;
|
|
10661
|
+
/**
|
|
10662
|
+
* 隐私保护目标,(在API Explorer上使用时无需传入数组,添加相应项并填入对应值即可)。
|
|
10663
|
+
- face 人脸
|
|
10664
|
+
- plate 车牌
|
|
10665
|
+
*/
|
|
10666
|
+
PrivacyTargets?: Array<string>;
|
|
10667
|
+
}
|
|
10582
10668
|
/**
|
|
10583
10669
|
* ProcessImage请求参数结构体
|
|
10584
10670
|
*/
|
|
@@ -15310,8 +15396,12 @@ export interface AiReviewTaskPoliticalResult {
|
|
|
15310
15396
|
export interface BeautyEffectItemConfig {
|
|
15311
15397
|
/**
|
|
15312
15398
|
* 类型名称。取值如下:
|
|
15313
|
-
|
|
15314
15399
|
<li>Whiten:美白</li>
|
|
15400
|
+
<li>BlackAlpha1:美黑</li>
|
|
15401
|
+
<li>BlackAlpha2:较强美黑</li>
|
|
15402
|
+
<li>FoundationAlpha2:美白-粉白</li>
|
|
15403
|
+
<li>Clear:清晰度</li>
|
|
15404
|
+
<li>Sharpen:锐化</li>
|
|
15315
15405
|
<li>Smooth:磨皮</li>
|
|
15316
15406
|
<li>BeautyThinFace:瘦脸</li>
|
|
15317
15407
|
<li>NatureFace:自然脸型</li>
|
|
@@ -15321,9 +15411,11 @@ export interface BeautyEffectItemConfig {
|
|
|
15321
15411
|
<li>RemoveEyeBags:祛眼袋</li>
|
|
15322
15412
|
<li>ThinNose:瘦鼻</li>
|
|
15323
15413
|
<li>RemoveLawLine:祛法令纹</li>
|
|
15414
|
+
<li>CheekboneThin:瘦颧骨</li>
|
|
15415
|
+
<li>FaceFeatureLipsLut:口红</li>
|
|
15324
15416
|
<li>ToothWhiten:牙齿美白</li>
|
|
15325
|
-
|
|
15326
|
-
|
|
15417
|
+
<li>FaceFeatureSoftlight:柔光</li>
|
|
15418
|
+
<li>Makeup:美妆</li>
|
|
15327
15419
|
*/
|
|
15328
15420
|
Type: string;
|
|
15329
15421
|
/**
|
|
@@ -15337,6 +15429,14 @@ export interface BeautyEffectItemConfig {
|
|
|
15337
15429
|
* 效果强度,值范围:[0, 100]。
|
|
15338
15430
|
*/
|
|
15339
15431
|
Value?: number;
|
|
15432
|
+
/**
|
|
15433
|
+
* 附加资源路径。
|
|
15434
|
+
*/
|
|
15435
|
+
ResourcePath?: string;
|
|
15436
|
+
/**
|
|
15437
|
+
* 自定义参数。
|
|
15438
|
+
*/
|
|
15439
|
+
ExtInfo?: string;
|
|
15340
15440
|
}
|
|
15341
15441
|
/**
|
|
15342
15442
|
* 翻译结果。
|
|
@@ -18568,6 +18668,93 @@ export interface LiveActivityResItem {
|
|
|
18568
18668
|
*/
|
|
18569
18669
|
LiveQualityControlTask?: ScheduleQualityControlTaskResult;
|
|
18570
18670
|
}
|
|
18671
|
+
/**
|
|
18672
|
+
* 智能擦除模板去字幕配置
|
|
18673
|
+
*/
|
|
18674
|
+
export interface UpdateSmartEraseSubtitleConfig {
|
|
18675
|
+
/**
|
|
18676
|
+
* 字幕擦除方式。
|
|
18677
|
+
**自动擦除:**通过AI模型自动识别视频中的字幕文本内容,进行无痕化擦除,生成新的视频。但画面干扰、特殊字幕样式可能会带来一定漏擦误擦问题,可以通过指定区域擦除处理。
|
|
18678
|
+
当使用自动擦除时,若您不指定AutoAreas,将对默认区域(画面中下部)进行自动擦除;若指定AutoAreas,将改为对您指定的区域进行自动擦除。
|
|
18679
|
+
**指定区域擦除:**若您的字幕位置较固定,建议您直接指定擦除区域,最大程度减少漏擦的情况。
|
|
18680
|
+
当您选择指定区域擦除时,请在CustomAreas中至少传入一个指定区域。
|
|
18681
|
+
- auto 自动擦除
|
|
18682
|
+
- custom 指定区域擦除
|
|
18683
|
+
|
|
18684
|
+
*/
|
|
18685
|
+
SubtitleEraseMethod?: string;
|
|
18686
|
+
/**
|
|
18687
|
+
* 字幕擦除模型。
|
|
18688
|
+
**标准版(推荐):**若您的字幕样式标准,通常建议选择该版本,细节无痕化效果更好。
|
|
18689
|
+
**区域版:**若您的字幕存在花体、阴影、动效等特殊样式,建议选择区域版,擦除面积更大,但细节效果不如标准版。
|
|
18690
|
+
- standard 标准模型
|
|
18691
|
+
- area 区域模型
|
|
18692
|
+
*/
|
|
18693
|
+
SubtitleModel?: string;
|
|
18694
|
+
/**
|
|
18695
|
+
* 是否开启OCR字幕提取,默认取OFF。
|
|
18696
|
+
当且仅当SubtitleEraseMethod取auto时支持开启OCR字幕提取,开启后将识别自动擦除区域内出现时间最长且最稳定的文字区域为字幕区域,对字幕区域中的文字进行提取和擦除。
|
|
18697
|
+
- ON 开启
|
|
18698
|
+
- OFF 关闭
|
|
18699
|
+
*/
|
|
18700
|
+
OcrSwitch?: string;
|
|
18701
|
+
/**
|
|
18702
|
+
* 字幕语言,用于指导OCR识别,默认取zh_en;仅当OcrSwitch取"ON"时生效。
|
|
18703
|
+
- zh_en 中英文
|
|
18704
|
+
- multi 其他
|
|
18705
|
+
其他具体支持识别如下语言:
|
|
18706
|
+
中文、英文、日文、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语、印地语、阿拉伯语、印度-孟加拉语、印度-古吉拉特语、印度-卡纳达语 、印度-马拉亚拉姆语 、印度-泰米尔语、印度-泰卢固语、斯洛文尼亚语、波兰语、加泰罗尼亚语、波斯尼亚语、捷克语、爱沙尼亚语、克罗地亚语、旁遮普语、马拉地语、阿塞拜疆语、印尼语、卢森堡语 、立陶宛语、拉脱维亚语、马耳他语、斯洛伐克语、土耳其语、哈萨克语、希腊语、爱尔兰语、白俄罗斯语、高棉语、他加禄语、普什图语、波斯语、塔吉克斯坦语
|
|
18707
|
+
|
|
18708
|
+
|
|
18709
|
+
*/
|
|
18710
|
+
SubtitleLang?: string;
|
|
18711
|
+
/**
|
|
18712
|
+
* 字幕文件格式,默认取vtt;仅当OcrSwitch取"ON"时生效。
|
|
18713
|
+
- srt srt格式
|
|
18714
|
+
- vtt WebVTT格式
|
|
18715
|
+
*/
|
|
18716
|
+
SubtitleFormat?: string;
|
|
18717
|
+
/**
|
|
18718
|
+
* 是否开启字幕翻译,默认取OFF;仅当OcrSwitch取"ON"时生效。
|
|
18719
|
+
- ON 开启
|
|
18720
|
+
- OFF 关闭
|
|
18721
|
+
*/
|
|
18722
|
+
TransSwitch?: string;
|
|
18723
|
+
/**
|
|
18724
|
+
* 字幕翻译目标语言,默认取en;仅当TransSwitch取"ON"时生效。
|
|
18725
|
+
当前支持以下语言:
|
|
18726
|
+
zh:简体中文
|
|
18727
|
+
en:英语
|
|
18728
|
+
ja:日语
|
|
18729
|
+
ko:韩语
|
|
18730
|
+
fr:法语
|
|
18731
|
+
es:西班牙语
|
|
18732
|
+
it:意大利语
|
|
18733
|
+
de:德语
|
|
18734
|
+
tr:土耳其语
|
|
18735
|
+
ru:俄语
|
|
18736
|
+
pt:葡萄牙语
|
|
18737
|
+
vi:越南语
|
|
18738
|
+
id:印度尼西亚语
|
|
18739
|
+
ms:马来语
|
|
18740
|
+
th:泰语
|
|
18741
|
+
ar:阿拉伯语
|
|
18742
|
+
hi:印地语
|
|
18743
|
+
*/
|
|
18744
|
+
TransDstLang?: string;
|
|
18745
|
+
/**
|
|
18746
|
+
* 自动擦除自定义区域。
|
|
18747
|
+
对选定区域,利用AI模型自动检测其中存在的擦除目标并擦除。
|
|
18748
|
+
注意:当擦除方式选择custom时,此参数将不会生效;修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
|
|
18749
|
+
*/
|
|
18750
|
+
AutoAreas?: Array<EraseArea>;
|
|
18751
|
+
/**
|
|
18752
|
+
* 指定擦除自定义区域。
|
|
18753
|
+
对选定区域,在选定时间段内不进行检测识别直接进行擦除。
|
|
18754
|
+
注意:修改模板时,清除区域请传入[],不传时将保持模板区域信息不变。
|
|
18755
|
+
*/
|
|
18756
|
+
CustomAreas?: Array<EraseTimeArea>;
|
|
18757
|
+
}
|
|
18571
18758
|
/**
|
|
18572
18759
|
* 智能擦除,指定擦除区域配置。
|
|
18573
18760
|
对指定时间段内的指定区域直接进行擦除。
|
|
@@ -6144,6 +6144,10 @@ export interface ExtractDocBasicResponse {
|
|
|
6144
6144
|
* 还原文本信息
|
|
6145
6145
|
*/
|
|
6146
6146
|
WordList?: Array<WordItem>;
|
|
6147
|
+
/**
|
|
6148
|
+
* 全部印章信息
|
|
6149
|
+
*/
|
|
6150
|
+
SealInfos?: Array<SealInfo>;
|
|
6147
6151
|
/**
|
|
6148
6152
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6149
6153
|
*/
|
|
@@ -50,6 +50,14 @@ export interface CreateTawInstanceRequest {
|
|
|
50
50
|
* 实例类型 1:原web相关类型 2:app端类型
|
|
51
51
|
*/
|
|
52
52
|
InstanceType?: number;
|
|
53
|
+
/**
|
|
54
|
+
* 自动续费类型
|
|
55
|
+
*/
|
|
56
|
+
AutoRenewalType?: number;
|
|
57
|
+
/**
|
|
58
|
+
* 自动续费阈值
|
|
59
|
+
*/
|
|
60
|
+
AutoRenewalThreshold?: number;
|
|
53
61
|
}
|
|
54
62
|
/**
|
|
55
63
|
* DescribeDataFetchProject请求参数结构体
|
|
@@ -77,7 +77,7 @@ export declare class Client extends AbstractClient {
|
|
|
77
77
|
*/
|
|
78
78
|
DescribeWebSecurityTemplate(req: DescribeWebSecurityTemplateRequest, cb?: (error: string, rep: DescribeWebSecurityTemplateResponse) => void): Promise<DescribeWebSecurityTemplateResponse>;
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* 创建边缘函数的触发规则。支持通过自定义过滤条件来决定是否需要执行函数,当需要执行函数时,提供了多种选择目标函数的方式,包括:直接指定,基于客户端归属地区选择和基于权重选择。
|
|
81
81
|
*/
|
|
82
82
|
CreateFunctionRule(req: CreateFunctionRuleRequest, cb?: (error: string, rep: CreateFunctionRuleResponse) => void): Promise<CreateFunctionRuleResponse>;
|
|
83
83
|
/**
|
|
@@ -294,7 +294,7 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
294
294
|
*/
|
|
295
295
|
VerifyOwnership(req: VerifyOwnershipRequest, cb?: (error: string, rep: VerifyOwnershipResponse) => void): Promise<VerifyOwnershipResponse>;
|
|
296
296
|
/**
|
|
297
|
-
*
|
|
297
|
+
* 修改边缘函数触发规则,支持修改规则条件、执行函数以及描述信息。您可以先通过 DescribeFunctionRules 接口来获取需要修改的规则的 RuleId,然后传入修改后的规则内容,原规则内容会被覆盖式更新。
|
|
298
298
|
*/
|
|
299
299
|
ModifyFunctionRule(req: ModifyFunctionRuleRequest, cb?: (error: string, rep: ModifyFunctionRuleResponse) => void): Promise<ModifyFunctionRuleResponse>;
|
|
300
300
|
/**
|
|
@@ -127,7 +127,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
127
127
|
return this.request("DescribeWebSecurityTemplate", req, cb);
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* 创建边缘函数的触发规则。支持通过自定义过滤条件来决定是否需要执行函数,当需要执行函数时,提供了多种选择目标函数的方式,包括:直接指定,基于客户端归属地区选择和基于权重选择。
|
|
131
131
|
*/
|
|
132
132
|
async CreateFunctionRule(req, cb) {
|
|
133
133
|
return this.request("CreateFunctionRule", req, cb);
|
|
@@ -444,7 +444,7 @@ CNAME 模式接入时,若您未完成站点归属权校验,本接口将为
|
|
|
444
444
|
return this.request("VerifyOwnership", req, cb);
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
|
-
*
|
|
447
|
+
* 修改边缘函数触发规则,支持修改规则条件、执行函数以及描述信息。您可以先通过 DescribeFunctionRules 接口来获取需要修改的规则的 RuleId,然后传入修改后的规则内容,原规则内容会被覆盖式更新。
|
|
448
448
|
*/
|
|
449
449
|
async ModifyFunctionRule(req, cb) {
|
|
450
450
|
return this.request("ModifyFunctionRule", req, cb);
|