tencentcloud-sdk-nodejs 4.1.52 → 4.1.54
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/chc/v20230418/chc_client.js +3 -0
- package/es/services/ess/v20201111/ess_client.js +12 -6
- package/es/services/gs/v20191118/gs_client.js +38 -8
- package/es/services/tem/v20210701/tem_client.js +3 -0
- package/es/services/vclm/v20240523/vclm_client.js +6 -0
- package/es/services/wedata/v20210820/wedata_client.js +3 -0
- 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/apm/v20210622/apm_models.d.ts +5 -1
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +4 -0
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +3 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +3 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -3
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +1 -1
- package/tencentcloud/services/chc/v20230418/chc_client.d.ts +5 -1
- package/tencentcloud/services/chc/v20230418/chc_client.js +6 -0
- package/tencentcloud/services/chc/v20230418/chc_models.d.ts +30 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +2 -2
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +3 -3
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +137 -65
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +32 -14
- package/tencentcloud/services/ess/v20201111/ess_client.js +38 -16
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +128 -55
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +52 -12
- package/tencentcloud/services/gs/v20191118/gs_client.js +75 -15
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +398 -66
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +2 -2
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +10 -5
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +110 -81
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +2 -2
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +26 -2
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
- package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +60 -7
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +395 -52
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -2
- package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +9 -1
- package/tencentcloud/services/vclm/v20240523/vclm_client.js +12 -0
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +124 -21
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +11 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +0 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +612 -21
|
@@ -64,6 +64,37 @@ export interface DescribeFunctionsResponse {
|
|
|
64
64
|
*/
|
|
65
65
|
RequestId?: string;
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* 例外规则中的跳过字段配置
|
|
69
|
+
*/
|
|
70
|
+
export interface RequestFieldsForException {
|
|
71
|
+
/**
|
|
72
|
+
* 跳过的具体字段。取值支持:<br/>
|
|
73
|
+
<li>body.json:JSON 请求内容;此时 Condition 支持 key、value, TargetField 支持 key、value,例如 { "Scope": "body.json", "Condition": "", "TargetField": "key" },表示 JSON 请求内容所有参数跳过 WAF 扫描;</li>
|
|
74
|
+
<li style="margin-top:5px">cookie:Cookie;此时 Condition 支持 key、value, TargetField 支持 key、value,例如 { "Scope": "cookie", "Condition": "${key} in ['account-id'] and ${value} like ['prefix-*']", "TargetField": "value" },表示 Cookie 参数名称等于account-id 并且参数值通配符匹配 prefix-* 跳过 WAF 扫描;</li>
|
|
75
|
+
<li style="margin-top:5px">header:HTTP 头部参数;此时 Condition 支持 key、value, TargetField 支持 key、value,例如 { "Scope": "header", "Condition": "${key} like ['x-auth-*']", "TargetField": "value" },表示 header 参数名称通配符匹配 x-auth-* 跳过 WAF 扫描;</li>
|
|
76
|
+
<li style="margin-top:5px">uri.query:URL 编码内容/查询参数;此时 Condition 支持 key、value, TargetField 支持 key、value,例如 { "Scope": "uri.query", "Condition": "${key} in ['action'] and ${value} in ['upload', 'delete']", "TargetField": "value" },表示 URL 编码内容/查询参数的参数名称等于 action 并且参数值等于 upload 或 delete 跳过 WAF 扫描;</li>
|
|
77
|
+
<li style="margin-top:5px">uri:请求路径URI;此时 Condition 必须为空, TargetField 支持 query、path、fullpath,例如 { "Scope": "uri", "Condition": "", "TargetField": "query" },表示请求路径 URI 仅查询参数跳过 WAF 扫描;</li>
|
|
78
|
+
<li style="margin-top:5px">body:请求正文内容。此时 Condition 必须为空, TargetField 支持 fullbody、multipart,例如 { "Scope": "body", "Condition": "", "TargetField": "fullbody" },表示请求正文内容为完整请求正文跳过 WAF 扫描;</li>
|
|
79
|
+
*/
|
|
80
|
+
Scope: string;
|
|
81
|
+
/**
|
|
82
|
+
* 跳过的具体字段的表达式,需要符合表达式语法。<br />
|
|
83
|
+
Condition 支持表达式配置语法:<li> 按规则的匹配条件表达式语法编写,支持引用 key、value。</li><li> 支持 in、like 操作符,以及 and 逻辑组合。</li>
|
|
84
|
+
例如:<li>${key} in ['x-trace-id']:参数名称等于x-trace-id。</li><li>${key} in ['x-trace-id'] and ${value} like ['Bearer *']:参数名称等于x-trace-id并且参数值通配符匹配Bearer *。</li>
|
|
85
|
+
*/
|
|
86
|
+
Condition: string;
|
|
87
|
+
/**
|
|
88
|
+
* Scope 参数使用不同取值时,TargetField 表达式中支持的值如下:
|
|
89
|
+
<li> body.json:支持 key、value</li>
|
|
90
|
+
<li> cookie:支持 key、value</li>
|
|
91
|
+
<li> header:支持 key、value</li>
|
|
92
|
+
<li> uri.query:支持 key、value</li>
|
|
93
|
+
<li> uri:支持 path、query、fullpath</li>
|
|
94
|
+
<li> body:支持 fullbody、multipart</li>
|
|
95
|
+
*/
|
|
96
|
+
TargetField: string;
|
|
97
|
+
}
|
|
67
98
|
/**
|
|
68
99
|
* DeleteL4ProxyRules请求参数结构体
|
|
69
100
|
*/
|
|
@@ -115,6 +146,23 @@ export interface DescribeSecurityIPGroupInfoResponse {
|
|
|
115
146
|
*/
|
|
116
147
|
RequestId?: string;
|
|
117
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* 自适应频控
|
|
151
|
+
*/
|
|
152
|
+
export interface AdaptiveFrequencyControl {
|
|
153
|
+
/**
|
|
154
|
+
* 自适应频控是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
155
|
+
*/
|
|
156
|
+
Enabled: string;
|
|
157
|
+
/**
|
|
158
|
+
* 自适应频控的限制等级,当 Enabled 为 on 时,此字段必填。取值有:<li>Loose:宽松;</li><li>Moderate:适中;</li><li>Strict:严格。</li>
|
|
159
|
+
*/
|
|
160
|
+
Sensitivity?: string;
|
|
161
|
+
/**
|
|
162
|
+
* 自适应频控的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
163
|
+
*/
|
|
164
|
+
Action?: SecurityAction;
|
|
165
|
+
}
|
|
118
166
|
/**
|
|
119
167
|
* 慢速攻击配置。
|
|
120
168
|
*/
|
|
@@ -144,6 +192,15 @@ export interface SlowPostConfig {
|
|
|
144
192
|
*/
|
|
145
193
|
RuleId?: number;
|
|
146
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* 精准速率限制的配置
|
|
197
|
+
*/
|
|
198
|
+
export interface RateLimitingRules {
|
|
199
|
+
/**
|
|
200
|
+
* 精准速率限制的定义列表。使用 ModifySecurityPolicy 修改 Web 防护配置时: <br> <li> 若未指定 Rules 参数,或 Rules 参数长度为零:清空所有精准速率限制配置。</li> <li> 若 SecurityPolicy 参数中,未指定 RateLimitingRules 参数值:保持已有自定义规则配置,不做修改。</li>
|
|
201
|
+
*/
|
|
202
|
+
Rules?: Array<RateLimitingRule>;
|
|
203
|
+
}
|
|
147
204
|
/**
|
|
148
205
|
* 源站组记录
|
|
149
206
|
*/
|
|
@@ -408,6 +465,23 @@ export interface PrepaidPlanParam {
|
|
|
408
465
|
*/
|
|
409
466
|
RenewFlag?: string;
|
|
410
467
|
}
|
|
468
|
+
/**
|
|
469
|
+
* 正文传输最小速率阈值的具体配置。
|
|
470
|
+
*/
|
|
471
|
+
export interface MinimalRequestBodyTransferRate {
|
|
472
|
+
/**
|
|
473
|
+
* 正文传输最小速率阈值,单位仅支持bps。
|
|
474
|
+
*/
|
|
475
|
+
MinimalAvgTransferRateThreshold: string;
|
|
476
|
+
/**
|
|
477
|
+
* 正文传输最小速率统计时间范围,取值有:<li>10s:10秒;</li><li>30s:30秒;</li><li>60s:60秒;</li><li>120s:120秒。</li>
|
|
478
|
+
*/
|
|
479
|
+
CountingPeriod: string;
|
|
480
|
+
/**
|
|
481
|
+
* 正文传输最小速率阈值是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
482
|
+
*/
|
|
483
|
+
Enabled: string;
|
|
484
|
+
}
|
|
411
485
|
/**
|
|
412
486
|
* 访问 URL 重定向 配置参数。
|
|
413
487
|
*/
|
|
@@ -472,30 +546,22 @@ export interface DescribeHostsSettingResponse {
|
|
|
472
546
|
RequestId?: string;
|
|
473
547
|
}
|
|
474
548
|
/**
|
|
475
|
-
*
|
|
549
|
+
* DescribeTimingL4Data返回参数结构体
|
|
476
550
|
*/
|
|
477
|
-
export interface
|
|
478
|
-
/**
|
|
479
|
-
* 主源站列表。
|
|
480
|
-
*/
|
|
481
|
-
Origins?: Array<string>;
|
|
551
|
+
export interface DescribeTimingL4DataResponse {
|
|
482
552
|
/**
|
|
483
|
-
*
|
|
553
|
+
* 查询结果的总条数。
|
|
484
554
|
*/
|
|
485
|
-
|
|
555
|
+
TotalCount?: number;
|
|
486
556
|
/**
|
|
487
|
-
*
|
|
488
|
-
|
|
489
|
-
<li>follow:协议跟随回源;</li>
|
|
490
|
-
<li>https:强制 https 回源。</li>
|
|
557
|
+
* 四层时序流量数据列表。
|
|
558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
491
559
|
*/
|
|
492
|
-
|
|
560
|
+
Data?: Array<TimingDataRecord>;
|
|
493
561
|
/**
|
|
494
|
-
*
|
|
495
|
-
<li>on:私有访问;</li>
|
|
496
|
-
<li>off:公共访问。</li>
|
|
562
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
497
563
|
*/
|
|
498
|
-
|
|
564
|
+
RequestId?: string;
|
|
499
565
|
}
|
|
500
566
|
/**
|
|
501
567
|
* DescribeRules返回参数结构体
|
|
@@ -2195,6 +2261,24 @@ export interface DownloadL4LogsRequest {
|
|
|
2195
2261
|
*/
|
|
2196
2262
|
Offset?: number;
|
|
2197
2263
|
}
|
|
2264
|
+
/**
|
|
2265
|
+
* 返回站点信息
|
|
2266
|
+
*/
|
|
2267
|
+
export interface ZoneInfo {
|
|
2268
|
+
/**
|
|
2269
|
+
* 站点id。
|
|
2270
|
+
*/
|
|
2271
|
+
ZoneId?: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* 站点名称。
|
|
2274
|
+
*/
|
|
2275
|
+
ZoneName?: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* 站点是否停用。取值有:<li>false:非停用;</li>
|
|
2278
|
+
<li>true:停用。</li>
|
|
2279
|
+
*/
|
|
2280
|
+
Paused?: boolean;
|
|
2281
|
+
}
|
|
2198
2282
|
/**
|
|
2199
2283
|
* 状态码缓存 TTL 配置参数内部结构。
|
|
2200
2284
|
*/
|
|
@@ -2214,21 +2298,38 @@ export interface StatusCodeCacheParam {
|
|
|
2214
2298
|
export interface SecurityAction {
|
|
2215
2299
|
/**
|
|
2216
2300
|
* 安全执行的具体动作。取值有:
|
|
2217
|
-
<li>Deny
|
|
2301
|
+
<li>Deny:拦截,阻止请求访问站点资源;</li>
|
|
2302
|
+
<li>Monitor:观察,仅记录日志;</li>
|
|
2303
|
+
<li>Redirect:重定向至 URL;</li>
|
|
2304
|
+
<li>Disabled:未启用,不启用指定规则;</li>
|
|
2305
|
+
<li>Allow:允许访问,但延迟处理请求;</li>
|
|
2306
|
+
<li>Challenge:挑战,响应挑战内容;</li>
|
|
2307
|
+
<li>BlockIP:待废弃,IP 封禁;</li>
|
|
2308
|
+
<li>ReturnCustomPage:待废弃,使用指定页面拦截;</li>
|
|
2309
|
+
<li>JSChallenge:待废弃,JavaScript 挑战;</li>
|
|
2310
|
+
<li>ManagedChallenge:待废弃,托管挑战。</li>
|
|
2218
2311
|
*/
|
|
2219
2312
|
Name: string;
|
|
2220
2313
|
/**
|
|
2221
|
-
* 当 Name 为
|
|
2314
|
+
* 当 Name 为 Deny 时的附加参数。
|
|
2222
2315
|
*/
|
|
2223
|
-
|
|
2224
|
-
/**
|
|
2225
|
-
* 当 Name 为 ReturnCustomPage 时的附加参数。
|
|
2226
|
-
*/
|
|
2227
|
-
ReturnCustomPageActionParameters?: ReturnCustomPageActionParameters;
|
|
2316
|
+
DenyActionParameters?: DenyActionParameters;
|
|
2228
2317
|
/**
|
|
2229
2318
|
* 当 Name 为 Redirect 时的附加参数。
|
|
2230
2319
|
*/
|
|
2231
2320
|
RedirectActionParameters?: RedirectActionParameters;
|
|
2321
|
+
/**
|
|
2322
|
+
* 当 Name 为 Challenge 时的附加参数。
|
|
2323
|
+
*/
|
|
2324
|
+
ChallengeActionParameters?: ChallengeActionParameters;
|
|
2325
|
+
/**
|
|
2326
|
+
* 待废弃,当 Name 为 BlockIP 时的附加参数。
|
|
2327
|
+
*/
|
|
2328
|
+
BlockIPActionParameters?: BlockIPActionParameters;
|
|
2329
|
+
/**
|
|
2330
|
+
* 待废弃,当 Name 为 ReturnCustomPage 时的附加参数。
|
|
2331
|
+
*/
|
|
2332
|
+
ReturnCustomPageActionParameters?: ReturnCustomPageActionParameters;
|
|
2232
2333
|
}
|
|
2233
2334
|
/**
|
|
2234
2335
|
* ModifyZoneSetting请求参数结构体
|
|
@@ -3563,11 +3664,11 @@ export interface ModifySecurityPolicyRequest {
|
|
|
3563
3664
|
*/
|
|
3564
3665
|
ZoneId: string;
|
|
3565
3666
|
/**
|
|
3566
|
-
* 安全策略配置。<li>当 SecurityPolicy 参数中的
|
|
3667
|
+
* 安全策略配置。<li>当 SecurityPolicy 参数中的 ExceptionRules 被设置时,SecurityConfig 参数中的 ExceptConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 CustomRules 被设置时,SecurityConfig 参数中的 AclConfig、 IpTableConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 HttpDDoSProtection 和 RateLimitingRules 被设置时,SecurityConfig 参数中的 RateLimitConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 ManagedRule 被设置时,SecurityConfig 参数中的 WafConfig 将被忽略;</li><li>对于例外规则、自定义规则、速率限制以及托管规则策略配置建议使用 SecurityPolicy 参数进行设置。</li>
|
|
3567
3668
|
*/
|
|
3568
3669
|
SecurityConfig: SecurityConfig;
|
|
3569
3670
|
/**
|
|
3570
|
-
* 安全策略配置。对 Web
|
|
3671
|
+
* 安全策略配置。对 Web 例外规则、防护自定义策略、速率规则和托管规则配置建议使用,支持表达式语法对安全策略进行配置。
|
|
3571
3672
|
*/
|
|
3572
3673
|
SecurityPolicy?: SecurityPolicy;
|
|
3573
3674
|
/**
|
|
@@ -3699,6 +3800,32 @@ export interface BotUserRule {
|
|
|
3699
3800
|
*/
|
|
3700
3801
|
RedirectUrl?: string;
|
|
3701
3802
|
}
|
|
3803
|
+
/**
|
|
3804
|
+
* 源站配置。
|
|
3805
|
+
*/
|
|
3806
|
+
export interface Origin {
|
|
3807
|
+
/**
|
|
3808
|
+
* 主源站列表。
|
|
3809
|
+
*/
|
|
3810
|
+
Origins?: Array<string>;
|
|
3811
|
+
/**
|
|
3812
|
+
* 备源站列表。
|
|
3813
|
+
*/
|
|
3814
|
+
BackupOrigins?: Array<string>;
|
|
3815
|
+
/**
|
|
3816
|
+
* 回源协议配置,取值有:
|
|
3817
|
+
<li>http:强制 http 回源;</li>
|
|
3818
|
+
<li>follow:协议跟随回源;</li>
|
|
3819
|
+
<li>https:强制 https 回源。</li>
|
|
3820
|
+
*/
|
|
3821
|
+
OriginPullProtocol?: string;
|
|
3822
|
+
/**
|
|
3823
|
+
* 源站为腾讯云 COS 时,是否为私有访问 bucket,取值有:
|
|
3824
|
+
<li>on:私有访问;</li>
|
|
3825
|
+
<li>off:公共访问。</li>
|
|
3826
|
+
*/
|
|
3827
|
+
CosPrivateAccess?: string;
|
|
3828
|
+
}
|
|
3702
3829
|
/**
|
|
3703
3830
|
* 内容管理任务结果
|
|
3704
3831
|
*/
|
|
@@ -4069,6 +4196,15 @@ export interface DeleteAccelerationDomainsResponse {
|
|
|
4069
4196
|
*/
|
|
4070
4197
|
RequestId?: string;
|
|
4071
4198
|
}
|
|
4199
|
+
/**
|
|
4200
|
+
* Web安全的例外规则
|
|
4201
|
+
*/
|
|
4202
|
+
export interface ExceptionRules {
|
|
4203
|
+
/**
|
|
4204
|
+
* 例外规则的定义列表。使用 ModifySecurityPolicy 修改 Web 防护配置时: <li>若未指定 Rules 参数,或 Rules 参数长度为零:清空所有例外规则配置。</li><li>若 SecurityPolicy 参数中,未指定 ExceptionRules 参数值:保持已有例外规则配置,不做修改。</li>
|
|
4205
|
+
*/
|
|
4206
|
+
Rules?: Array<ExceptionRule>;
|
|
4207
|
+
}
|
|
4072
4208
|
/**
|
|
4073
4209
|
* 例外规则,用于配置需要跳过特定场景的规则
|
|
4074
4210
|
*/
|
|
@@ -4162,22 +4298,17 @@ export interface AclCondition {
|
|
|
4162
4298
|
MatchContent: string;
|
|
4163
4299
|
}
|
|
4164
4300
|
/**
|
|
4165
|
-
*
|
|
4301
|
+
* 正文传输超时时长的具体配置。
|
|
4166
4302
|
*/
|
|
4167
|
-
export interface
|
|
4303
|
+
export interface RequestBodyTransferTimeout {
|
|
4168
4304
|
/**
|
|
4169
|
-
*
|
|
4305
|
+
* 正文传输超时时长,取值 5 ~ 120,单位仅支持秒(s)。
|
|
4170
4306
|
*/
|
|
4171
|
-
|
|
4307
|
+
IdleTimeout: string;
|
|
4172
4308
|
/**
|
|
4173
|
-
*
|
|
4309
|
+
* 正文传输超时时长是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
4174
4310
|
*/
|
|
4175
|
-
|
|
4176
|
-
/**
|
|
4177
|
-
* 站点是否停用。取值有:<li>false:非停用;</li>
|
|
4178
|
-
<li>true:停用。</li>
|
|
4179
|
-
*/
|
|
4180
|
-
Paused?: boolean;
|
|
4311
|
+
Enabled: string;
|
|
4181
4312
|
}
|
|
4182
4313
|
/**
|
|
4183
4314
|
* 七层离线日志详细信息。
|
|
@@ -4605,17 +4736,17 @@ export interface CnameStatus {
|
|
|
4605
4736
|
Status?: string;
|
|
4606
4737
|
}
|
|
4607
4738
|
/**
|
|
4608
|
-
*
|
|
4739
|
+
* 流量防盗刷(仅适用中国大陆地区)的具体配置。
|
|
4609
4740
|
*/
|
|
4610
|
-
export interface
|
|
4741
|
+
export interface BandwidthAbuseDefense {
|
|
4611
4742
|
/**
|
|
4612
|
-
*
|
|
4743
|
+
* 流量防盗刷(仅适用中国大陆地区)是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
4613
4744
|
*/
|
|
4614
|
-
|
|
4745
|
+
Enabled: string;
|
|
4615
4746
|
/**
|
|
4616
|
-
*
|
|
4747
|
+
* 流量防盗刷(仅适用中国大陆地区)的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
4617
4748
|
*/
|
|
4618
|
-
|
|
4749
|
+
Action?: SecurityAction;
|
|
4619
4750
|
}
|
|
4620
4751
|
/**
|
|
4621
4752
|
* https 服务端证书配置
|
|
@@ -5976,6 +6107,48 @@ export interface NormalAction {
|
|
|
5976
6107
|
*/
|
|
5977
6108
|
Parameters: Array<RuleNormalActionParams>;
|
|
5978
6109
|
}
|
|
6110
|
+
/**
|
|
6111
|
+
* 安全执行动作为封禁的附加参数。
|
|
6112
|
+
*/
|
|
6113
|
+
export interface DenyActionParameters {
|
|
6114
|
+
/**
|
|
6115
|
+
* 是否对来源 IP 延长封禁。取值有:
|
|
6116
|
+
<li>on:开启;</li>
|
|
6117
|
+
<li>off:关闭。</li>
|
|
6118
|
+
启用后,对触发规则的客户端 IP 持续拦截。当启用该选项时,必须同时指定 BlockIpDuration 参数。
|
|
6119
|
+
注意:该选项不可与 ReturnCustomPage 或 Stall 选项同时启用。
|
|
6120
|
+
*/
|
|
6121
|
+
BlockIp?: string;
|
|
6122
|
+
/**
|
|
6123
|
+
* 当 BlockIP 为 on 时IP 的封禁时长。
|
|
6124
|
+
*/
|
|
6125
|
+
BlockIpDuration?: string;
|
|
6126
|
+
/**
|
|
6127
|
+
* 是否使用自定义页面。取值有:
|
|
6128
|
+
<li>on:开启;</li>
|
|
6129
|
+
<li>off:关闭。</li>
|
|
6130
|
+
启用后,使用自定义页面内容拦截(响应)请求,当启用该选项时,必须同时指定 ResponseCode 和 ErrorPageId 参数。
|
|
6131
|
+
注意:该选项不可与 BlockIp 或 Stall 选项同时启用。
|
|
6132
|
+
|
|
6133
|
+
*/
|
|
6134
|
+
ReturnCustomPage?: string;
|
|
6135
|
+
/**
|
|
6136
|
+
* 自定义页面的状态码。
|
|
6137
|
+
*/
|
|
6138
|
+
ResponseCode?: string;
|
|
6139
|
+
/**
|
|
6140
|
+
* 自定义页面的PageId。
|
|
6141
|
+
*/
|
|
6142
|
+
ErrorPageId?: string;
|
|
6143
|
+
/**
|
|
6144
|
+
* 是否对请求来源挂起不予处理。取值有:
|
|
6145
|
+
<li>on:开启;</li>
|
|
6146
|
+
<li>off:关闭。</li>
|
|
6147
|
+
启用后,不再响应当前连接会话内请求,且不会主动断开连接。用于爬虫对抗时,消耗客户端连接资源。
|
|
6148
|
+
注意:该选项不可与 BlockIp 或 ReturnCustomPage 选项同时启用。
|
|
6149
|
+
*/
|
|
6150
|
+
Stall?: string;
|
|
6151
|
+
}
|
|
5979
6152
|
/**
|
|
5980
6153
|
* Top数据的详细信息
|
|
5981
6154
|
*/
|
|
@@ -7969,6 +8142,18 @@ export interface SecurityPolicy {
|
|
|
7969
8142
|
* 托管规则配置。
|
|
7970
8143
|
*/
|
|
7971
8144
|
ManagedRules?: ManagedRules;
|
|
8145
|
+
/**
|
|
8146
|
+
* HTTP DDOS防护配置。
|
|
8147
|
+
*/
|
|
8148
|
+
HttpDDoSProtection?: HttpDDoSProtection;
|
|
8149
|
+
/**
|
|
8150
|
+
* 速率限制规则配置。
|
|
8151
|
+
*/
|
|
8152
|
+
RateLimitingRules?: RateLimitingRules;
|
|
8153
|
+
/**
|
|
8154
|
+
* 例外规则配置。
|
|
8155
|
+
*/
|
|
8156
|
+
ExceptionRules?: ExceptionRules;
|
|
7972
8157
|
}
|
|
7973
8158
|
/**
|
|
7974
8159
|
* 站点归属信息
|
|
@@ -8464,6 +8649,51 @@ export interface CreateApplicationProxyRuleResponse {
|
|
|
8464
8649
|
*/
|
|
8465
8650
|
RequestId?: string;
|
|
8466
8651
|
}
|
|
8652
|
+
/**
|
|
8653
|
+
* 速率限制的具体配置。
|
|
8654
|
+
*/
|
|
8655
|
+
export interface RateLimitingRule {
|
|
8656
|
+
/**
|
|
8657
|
+
* 精准速率限制的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:RateLimitingRules 参数中,Rules 列表中未包含的已有规则将被删除。</li>
|
|
8658
|
+
*/
|
|
8659
|
+
Id?: string;
|
|
8660
|
+
/**
|
|
8661
|
+
* 精准速率限制的名称。
|
|
8662
|
+
*/
|
|
8663
|
+
Name?: string;
|
|
8664
|
+
/**
|
|
8665
|
+
* 精准速率限制的具体内容,需符合表达式语法,详细规范参见产品文档。
|
|
8666
|
+
*/
|
|
8667
|
+
Condition?: string;
|
|
8668
|
+
/**
|
|
8669
|
+
* 速率阈值请求特征的匹配方式, 当 Enabled 为 on 时,此字段必填。<br /><br />当条件有多个时,将组合多个条件共同进行统计计算,条件最多不可超过5条。取值有:<br/><li><b>http.request.ip</b>:客户端 IP;</li><li><b>http.request.xff_header_ip</b>:客户端 IP(优先匹配 XFF 头部);</li><li><b>http.request.uri.path</b>:请求的访问路径;</li><li><b>http.request.cookies['session']</b>:名称为session的Cookie,其中session可替换为自己指定的参数;</li><li><b>http.request.headers['user-agent']</b>:名称为user-agent的HTTP头部,其中user-agent可替换为自己指定的参数;</li><li><b>http.request.ja3</b>:请求的JA3指纹;</li><li><b>http.request.uri.query['test']</b>:名称为test的URL查询参数,其中test可替换为自己指定的参数。</li>
|
|
8670
|
+
*/
|
|
8671
|
+
CountBy?: Array<string>;
|
|
8672
|
+
/**
|
|
8673
|
+
* 精准速率限制在时间范围内的累计拦截次数,取值范围 1 ~ 100000。
|
|
8674
|
+
*/
|
|
8675
|
+
MaxRequestThreshold?: number;
|
|
8676
|
+
/**
|
|
8677
|
+
* 统计的时间窗口,取值有:<li>1s:1秒;</li><li>5s:5秒;</li><li>10s:10秒;</li><li>20s:20秒;</li><li>30s:30秒;</li><li>40s:40秒;</li><li>50s:50秒;</li><li>1m:1分钟;</li><li>2m:2分钟;</li><li>5m:5分钟;</li><li>10m:10分钟;</li><li>1h:1小时。</li>
|
|
8678
|
+
*/
|
|
8679
|
+
CountingPeriod?: string;
|
|
8680
|
+
/**
|
|
8681
|
+
* Action 动作的持续时长,单位仅支持:<li>s:秒,取值 1 ~ 120;</li><li>m:分钟,取值 1 ~ 120;</li><li>h:小时,取值 1 ~ 48;</li><li>d:天,取值 1 ~ 30。</li>
|
|
8682
|
+
*/
|
|
8683
|
+
ActionDuration?: string;
|
|
8684
|
+
/**
|
|
8685
|
+
* 精准速率限制的处置方式。取值有:<li>Monitor:观察;</li><li>Deny:拦截,其中DenyActionParameters.Name支持Deny和ReturnCustomPage;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name支持JSChallenge和ManagedChallenge;</li><li>Redirect:重定向至URL;</li>
|
|
8686
|
+
*/
|
|
8687
|
+
Action?: SecurityAction;
|
|
8688
|
+
/**
|
|
8689
|
+
* 精准速率限制的优先级,范围是 0 ~ 100,默认为 0。
|
|
8690
|
+
*/
|
|
8691
|
+
Priority?: number;
|
|
8692
|
+
/**
|
|
8693
|
+
* 精准速率限制规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
8694
|
+
*/
|
|
8695
|
+
Enabled?: string;
|
|
8696
|
+
}
|
|
8467
8697
|
/**
|
|
8468
8698
|
* https 证书配置。
|
|
8469
8699
|
*/
|
|
@@ -9157,6 +9387,51 @@ export interface DeliveryCondition {
|
|
|
9157
9387
|
*/
|
|
9158
9388
|
Conditions?: Array<QueryCondition>;
|
|
9159
9389
|
}
|
|
9390
|
+
/**
|
|
9391
|
+
* Web安全的例外规则
|
|
9392
|
+
*/
|
|
9393
|
+
export interface ExceptionRule {
|
|
9394
|
+
/**
|
|
9395
|
+
* 例外规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li> <b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li> <b>删除</b>已有规则:ExceptionRules 参数中,Rules 列表中未包含的已有规则将被删除。</li>
|
|
9396
|
+
*/
|
|
9397
|
+
Id?: string;
|
|
9398
|
+
/**
|
|
9399
|
+
* 例外规则的名称。
|
|
9400
|
+
*/
|
|
9401
|
+
Name?: string;
|
|
9402
|
+
/**
|
|
9403
|
+
* 例外规则的具体内容,需符合表达式语法,详细规范参见产品文档。
|
|
9404
|
+
*/
|
|
9405
|
+
Condition?: string;
|
|
9406
|
+
/**
|
|
9407
|
+
* 例外规则执行选项,取值有:<li>WebSecurityModules: 指定例外规则的安全防护模块。</li><li>ManagedRules:指定托管规则。</li>
|
|
9408
|
+
*/
|
|
9409
|
+
SkipScope?: string;
|
|
9410
|
+
/**
|
|
9411
|
+
* 跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 时有效。
|
|
9412
|
+
*/
|
|
9413
|
+
SkipOption?: string;
|
|
9414
|
+
/**
|
|
9415
|
+
* 指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules 时有效。取值有:<li>websec-mod-managed-rules:托管规则;</li><li>websec-mod-rate-limiting:速率限制;</li><li>websec-mod-custom-rules:自定义规则;</li><li>websec-mod-adaptive-control:自适应频控、智能客户端过滤、慢速攻击防护、流量盗刷防护;</li><li>websec-mod-bot:Bot管理。</li>
|
|
9416
|
+
*/
|
|
9417
|
+
WebSecurityModulesForException?: Array<string>;
|
|
9418
|
+
/**
|
|
9419
|
+
* 指定例外规则的具体托管规则,仅当 SkipScope 为 ManagedRules 时有效,且此时不能指定 ManagedRuleGroupsForException 。
|
|
9420
|
+
*/
|
|
9421
|
+
ManagedRulesForException?: Array<string>;
|
|
9422
|
+
/**
|
|
9423
|
+
* 指定例外规则的托管规则组,仅当 SkipScope 为 ManagedRules 时有效,且此时不能指定 ManagedRulesForException 。
|
|
9424
|
+
*/
|
|
9425
|
+
ManagedRuleGroupsForException?: Array<string>;
|
|
9426
|
+
/**
|
|
9427
|
+
* 指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
|
|
9428
|
+
*/
|
|
9429
|
+
RequestFieldsForException?: Array<RequestFieldsForException>;
|
|
9430
|
+
/**
|
|
9431
|
+
* 例外规则是否开启。取值有:<li>on:开启</li><li>off:关闭</li>
|
|
9432
|
+
*/
|
|
9433
|
+
Enabled?: string;
|
|
9434
|
+
}
|
|
9160
9435
|
/**
|
|
9161
9436
|
* 缓存遵循源站配置。
|
|
9162
9437
|
*/
|
|
@@ -9805,6 +10080,19 @@ export interface ModifyZoneResponse {
|
|
|
9805
10080
|
*/
|
|
9806
10081
|
RequestId?: string;
|
|
9807
10082
|
}
|
|
10083
|
+
/**
|
|
10084
|
+
* 智能客户端过滤
|
|
10085
|
+
*/
|
|
10086
|
+
export interface ClientFiltering {
|
|
10087
|
+
/**
|
|
10088
|
+
* 智能客户端过滤是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
10089
|
+
*/
|
|
10090
|
+
Enabled: string;
|
|
10091
|
+
/**
|
|
10092
|
+
* 智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
10093
|
+
*/
|
|
10094
|
+
Action?: SecurityAction;
|
|
10095
|
+
}
|
|
9808
10096
|
/**
|
|
9809
10097
|
* DescribeTopL7CacheData请求参数结构体
|
|
9810
10098
|
*/
|
|
@@ -10739,6 +11027,27 @@ export interface Quic {
|
|
|
10739
11027
|
*/
|
|
10740
11028
|
Switch: string;
|
|
10741
11029
|
}
|
|
11030
|
+
/**
|
|
11031
|
+
* 慢速攻击防护的具体配置。
|
|
11032
|
+
*/
|
|
11033
|
+
export interface SlowAttackDefense {
|
|
11034
|
+
/**
|
|
11035
|
+
* 慢速攻击防护是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
11036
|
+
*/
|
|
11037
|
+
Enabled: string;
|
|
11038
|
+
/**
|
|
11039
|
+
* 慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li>
|
|
11040
|
+
*/
|
|
11041
|
+
Action?: SecurityAction;
|
|
11042
|
+
/**
|
|
11043
|
+
* 正文传输最小速率阈值的具体配置,当 Enabled 为 on 时,此字段必填。
|
|
11044
|
+
*/
|
|
11045
|
+
MinimalRequestBodyTransferRate?: MinimalRequestBodyTransferRate;
|
|
11046
|
+
/**
|
|
11047
|
+
* 正文传输超时时长的具体配置,当 Enabled 为 on 时,此字段必填。
|
|
11048
|
+
*/
|
|
11049
|
+
RequestBodyTransferTimeout?: RequestBodyTransferTimeout;
|
|
11050
|
+
}
|
|
10742
11051
|
/**
|
|
10743
11052
|
* CreateCLSIndex请求参数结构体
|
|
10744
11053
|
*/
|
|
@@ -11714,6 +12023,24 @@ export interface AccelerateMainland {
|
|
|
11714
12023
|
*/
|
|
11715
12024
|
Switch: string;
|
|
11716
12025
|
}
|
|
12026
|
+
/**
|
|
12027
|
+
* Web 安全 Challenge 挑战的附加参数
|
|
12028
|
+
*/
|
|
12029
|
+
export interface ChallengeActionParameters {
|
|
12030
|
+
/**
|
|
12031
|
+
* 安全执行的具体挑战动作。取值有:<li> InterstitialChallenge:插页式挑战;</li><li> InlineChallenge:内嵌式挑战;</li><li> JSChallenge:JavaScript 挑战;</li><li> ManagedChallenge:托管挑战。</li>
|
|
12032
|
+
*/
|
|
12033
|
+
ChallengeOption: string;
|
|
12034
|
+
/**
|
|
12035
|
+
* 重复挑战的时间间隔,当 Name 为 InterstitialChallenge/InlineChallenge 时,该字段必填。默认值为 300s。支持的单位有:<li>s:秒,取值范围1~60;</li><li>m:分,取值范围1~60;</li><li>h:小时,取值范围1~24。</li>
|
|
12036
|
+
|
|
12037
|
+
*/
|
|
12038
|
+
Interval?: string;
|
|
12039
|
+
/**
|
|
12040
|
+
* 客户端认证方式 ID 。当 Name 为 InterstitialChallenge/InlineChallenge 时,该字段必填。
|
|
12041
|
+
*/
|
|
12042
|
+
AttesterId?: string;
|
|
12043
|
+
}
|
|
11717
12044
|
/**
|
|
11718
12045
|
* 支持标准debug结构体
|
|
11719
12046
|
*/
|
|
@@ -12602,6 +12929,19 @@ export interface DescribeAccelerationDomainsRequest {
|
|
|
12602
12929
|
*/
|
|
12603
12930
|
Match?: string;
|
|
12604
12931
|
}
|
|
12932
|
+
/**
|
|
12933
|
+
* CreateDnsRecord返回参数结构体
|
|
12934
|
+
*/
|
|
12935
|
+
export interface CreateDnsRecordResponse {
|
|
12936
|
+
/**
|
|
12937
|
+
* DNS 记录 ID。
|
|
12938
|
+
*/
|
|
12939
|
+
RecordId?: string;
|
|
12940
|
+
/**
|
|
12941
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12942
|
+
*/
|
|
12943
|
+
RequestId?: string;
|
|
12944
|
+
}
|
|
12605
12945
|
/**
|
|
12606
12946
|
* DescribeTimingL4Data请求参数结构体
|
|
12607
12947
|
*/
|
|
@@ -12652,22 +12992,25 @@ export interface DescribeTimingL4DataRequest {
|
|
|
12652
12992
|
Area?: string;
|
|
12653
12993
|
}
|
|
12654
12994
|
/**
|
|
12655
|
-
*
|
|
12995
|
+
* HTTP DDOS防护配置。
|
|
12656
12996
|
*/
|
|
12657
|
-
export interface
|
|
12997
|
+
export interface HttpDDoSProtection {
|
|
12658
12998
|
/**
|
|
12659
|
-
*
|
|
12999
|
+
* 自适应频控的具体配置。
|
|
12660
13000
|
*/
|
|
12661
|
-
|
|
13001
|
+
AdaptiveFrequencyControl?: AdaptiveFrequencyControl;
|
|
12662
13002
|
/**
|
|
12663
|
-
*
|
|
12664
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
13003
|
+
* 智能客户端过滤的具体配置。
|
|
12665
13004
|
*/
|
|
12666
|
-
|
|
13005
|
+
ClientFiltering?: ClientFiltering;
|
|
12667
13006
|
/**
|
|
12668
|
-
*
|
|
13007
|
+
* 流量防盗刷的具体配置。
|
|
12669
13008
|
*/
|
|
12670
|
-
|
|
13009
|
+
BandwidthAbuseDefense?: BandwidthAbuseDefense;
|
|
13010
|
+
/**
|
|
13011
|
+
* 慢速攻击防护的具体配置。
|
|
13012
|
+
*/
|
|
13013
|
+
SlowAttackDefense?: SlowAttackDefense;
|
|
12671
13014
|
}
|
|
12672
13015
|
/**
|
|
12673
13016
|
* 自定义名字服务器 IP 信息
|
|
@@ -316,6 +316,9 @@ export interface STTConfig {
|
|
|
316
316
|
- "zh": 中文(简体)
|
|
317
317
|
- "zh-TW": 中文(繁体)
|
|
318
318
|
- "en": 英语
|
|
319
|
+
- "16k_zh_edu":中文教育
|
|
320
|
+
- "16k_zh_medical":中文医疗
|
|
321
|
+
- "16k_zh_court":中文法庭
|
|
319
322
|
|
|
320
323
|
**标准版:**
|
|
321
324
|
- "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
|
@@ -351,8 +354,9 @@ export interface STTConfig {
|
|
|
351
354
|
*/
|
|
352
355
|
Language?: string;
|
|
353
356
|
/**
|
|
354
|
-
*
|
|
355
|
-
注意:不支持填写"zh-dialect"
|
|
357
|
+
* **发起模糊识别为高级版能力,默认按照高级版收费**
|
|
358
|
+
注意:不支持填写"zh-dialect", "16k_zh_edu", "16k_zh_medical", "16k_zh_court", "8k_zh_large", "16k_zh_large","16k_multi_lang", "16k_zh_en"
|
|
359
|
+
|
|
356
360
|
*/
|
|
357
361
|
AlternativeLanguage?: Array<string>;
|
|
358
362
|
/**
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CheckAnimateImageJobResponse,
|
|
3
|
+
import { CheckAnimateImageJobResponse, SubmitTemplateToVideoJobRequest, SubmitTemplateToVideoJobResponse, CheckAnimateImageJobRequest, DescribeVideoStylizationJobRequest, DescribePortraitSingJobRequest, DescribeImageAnimateJobResponse, SubmitVideoStylizationJobRequest, SubmitPortraitSingJobRequest, SubmitImageAnimateJobResponse, DescribeTemplateToVideoJobResponse, DescribeTemplateToVideoJobRequest, SubmitVideoStylizationJobResponse, DescribeVideoStylizationJobResponse, SubmitImageAnimateJobRequest, DescribeImageAnimateJobRequest, DescribePortraitSingJobResponse, SubmitPortraitSingJobResponse } from "./vclm_models";
|
|
4
4
|
/**
|
|
5
5
|
* vclm client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 用于查询视频特效任务。
|
|
12
|
+
*/
|
|
13
|
+
DescribeTemplateToVideoJob(req: DescribeTemplateToVideoJobRequest, cb?: (error: string, rep: DescribeTemplateToVideoJobResponse) => void): Promise<DescribeTemplateToVideoJobResponse>;
|
|
10
14
|
/**
|
|
11
15
|
* 用于提交视频风格化任务。支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。
|
|
12
16
|
*/
|
|
@@ -29,6 +33,10 @@ export declare class Client extends AbstractClient {
|
|
|
29
33
|
* 用于提交图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。
|
|
30
34
|
*/
|
|
31
35
|
SubmitImageAnimateJob(req: SubmitImageAnimateJobRequest, cb?: (error: string, rep: SubmitImageAnimateJobResponse) => void): Promise<SubmitImageAnimateJobResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* 提交视频特效任务接口
|
|
38
|
+
*/
|
|
39
|
+
SubmitTemplateToVideoJob(req: SubmitTemplateToVideoJobRequest, cb?: (error: string, rep: SubmitTemplateToVideoJobResponse) => void): Promise<SubmitTemplateToVideoJobResponse>;
|
|
32
40
|
/**
|
|
33
41
|
* 检查图片跳舞输入图
|
|
34
42
|
*/
|