tencentcloud-sdk-nodejs 4.0.475 → 4.0.477
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 +594 -0
- package/SERVICE_CHANGELOG.md +1088 -0
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ccc/v20200210/ccc_client.ts +1 -0
- package/src/services/ccc/v20200210/ccc_models.ts +23 -0
- package/src/services/cfs/v20190719/cfs_client.ts +1 -1
- package/src/services/cls/v20201016/cls_client.ts +37 -13
- package/src/services/cls/v20201016/cls_models.ts +222 -170
- package/src/services/dts/v20211206/dts_client.ts +4 -4
- package/src/services/ess/v20201111/ess_client.ts +77 -62
- package/src/services/ess/v20201111/ess_models.ts +1412 -1290
- package/src/services/essbasic/v20210526/essbasic_client.ts +86 -71
- package/src/services/essbasic/v20210526/essbasic_models.ts +1572 -1451
- package/src/services/live/v20180801/live_models.ts +16 -1
- package/src/services/mariadb/v20170312/mariadb_client.ts +36 -12
- package/src/services/mariadb/v20170312/mariadb_models.ts +55 -0
- package/src/services/mps/v20190612/mps_client.ts +322 -47
- package/src/services/mps/v20190612/mps_models.ts +2668 -541
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +16 -5
- package/src/services/soe/v20180724/soe_models.ts +38 -35
- package/src/services/tcr/v20190924/tcr_models.ts +10 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +6 -0
- package/src/services/tem/v20210701/tem_models.ts +12 -0
- package/src/services/teo/v20220901/teo_models.ts +17 -1
- package/src/services/tiia/v20190529/tiia_client.ts +22 -24
- package/src/services/tiia/v20190529/tiia_models.ts +19 -19
- package/src/services/vod/v20180717/vod_models.ts +15 -3
- package/src/services/wedata/v20210820/wedata_client.ts +1518 -451
- package/src/services/wedata/v20210820/wedata_models.ts +7670 -2230
- 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 +20 -0
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +11 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +15 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +201 -155
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +4 -4
- package/tencentcloud/services/dts/v20211206/dts_client.js +4 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +7 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1249 -1147
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +9 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +11 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1454 -1353
- package/tencentcloud/services/live/v20180801/live_models.d.ts +14 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +13 -5
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +18 -6
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +48 -0
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +84 -10
- package/tencentcloud/services/mps/v20190612/mps_client.js +122 -12
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2283 -479
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +14 -5
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +35 -32
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +8 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -0
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +10 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +15 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +19 -21
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +19 -21
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +17 -17
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -3
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +446 -102
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +688 -172
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +6601 -2011
- package/test/cls.v20201016.test.js +22 -2
- package/test/ess.v20201111.test.js +10 -0
- package/test/essbasic.v20210526.test.js +12 -2
- package/test/mariadb.v20170312.test.js +24 -4
- package/test/mps.v20190612.test.js +186 -6
- package/test/wedata.v20210820.test.js +955 -95
|
@@ -140,7 +140,7 @@ export declare class Client extends AbstractClient {
|
|
|
140
140
|
*/
|
|
141
141
|
InquiryPriceUpgradeInstance(req: InquiryPriceUpgradeInstanceRequest, cb?: (error: string, rep: InquiryPriceUpgradeInstanceResponse) => void): Promise<InquiryPriceUpgradeInstanceResponse>;
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* 本接口(RenewInstance)可用于为实例续费。
|
|
144
144
|
*/
|
|
145
145
|
RenewInstance(req: RenewInstanceRequest, cb?: (error: string, rep: RenewInstanceResponse) => void): Promise<RenewInstanceResponse>;
|
|
146
146
|
/**
|
|
@@ -226,7 +226,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
226
226
|
return this.request("InquiryPriceUpgradeInstance", req, cb);
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* 本接口(RenewInstance)可用于为实例续费。
|
|
230
230
|
*/
|
|
231
231
|
async RenewInstance(req, cb) {
|
|
232
232
|
return this.request("RenewInstance", req, cb);
|
|
@@ -520,7 +520,7 @@ export interface KillMasterGroupResponse {
|
|
|
520
520
|
*/
|
|
521
521
|
export interface RenewInstanceResponse {
|
|
522
522
|
/**
|
|
523
|
-
* 交易ID
|
|
523
|
+
* 交易ID。
|
|
524
524
|
*/
|
|
525
525
|
DealId: string;
|
|
526
526
|
/**
|
|
@@ -909,13 +909,17 @@ export interface DescribeParamTemplatesRequest {
|
|
|
909
909
|
*/
|
|
910
910
|
export interface RenewInstanceRequest {
|
|
911
911
|
/**
|
|
912
|
-
*
|
|
912
|
+
* 购买时长,单位:月。
|
|
913
913
|
*/
|
|
914
914
|
Period: number;
|
|
915
915
|
/**
|
|
916
|
-
* 实例ID
|
|
916
|
+
* 实例 ID。
|
|
917
917
|
*/
|
|
918
918
|
InstanceId: string;
|
|
919
|
+
/**
|
|
920
|
+
* 标识是否修改计费模式。<ul><li>当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。</li><li>当前实例计费模式为包年包月方式,可不设置该参数。</li></ul>
|
|
921
|
+
*/
|
|
922
|
+
ModifyPayMode?: string;
|
|
919
923
|
}
|
|
920
924
|
/**
|
|
921
925
|
* UpgradeVersionToMultiAvailabilityZones返回参数结构体
|
|
@@ -1352,14 +1356,19 @@ export interface ChangeReplicaToMasterRequest {
|
|
|
1352
1356
|
GroupId?: number;
|
|
1353
1357
|
}
|
|
1354
1358
|
/**
|
|
1355
|
-
* Proxy
|
|
1359
|
+
* Proxy节点信息。
|
|
1356
1360
|
*/
|
|
1357
1361
|
export interface ProxyNodes {
|
|
1358
1362
|
/**
|
|
1359
|
-
* 节点ID
|
|
1363
|
+
* 节点 ID。
|
|
1360
1364
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1361
1365
|
*/
|
|
1362
1366
|
NodeId: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* 可用区 ID。
|
|
1369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1370
|
+
*/
|
|
1371
|
+
ZoneId: number;
|
|
1363
1372
|
}
|
|
1364
1373
|
/**
|
|
1365
1374
|
* ModifyInstance返回参数结构体
|
|
@@ -81,11 +81,11 @@ export interface InitOralProcessRequest {
|
|
|
81
81
|
/**
|
|
82
82
|
* 评价苛刻指数。取值为[1.0 - 4.0]范围内的浮点数,用于平滑不同年龄段的分数。
|
|
83
83
|
1.0:适用于最小年龄段用户,一般对应儿童应用场景;
|
|
84
|
-
4.0
|
|
84
|
+
4.0:适用于最高年龄段用户,一般对应成人严格打分场景。苛刻度影响范围参考:[苛刻度影响范围](https://cloud.tencent.com/document/product/884/78824#.E8.8B.9B.E5.88.BB.E5.BA.A6)
|
|
85
85
|
*/
|
|
86
86
|
ScoreCoeff: number;
|
|
87
87
|
/**
|
|
88
|
-
* 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId
|
|
88
|
+
* 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
|
89
89
|
*/
|
|
90
90
|
SoeAppId?: string;
|
|
91
91
|
/**
|
|
@@ -106,9 +106,8 @@ export interface InitOralProcessRequest {
|
|
|
106
106
|
SentenceInfoEnabled?: number;
|
|
107
107
|
/**
|
|
108
108
|
* 评估语言
|
|
109
|
-
0
|
|
109
|
+
0:英文(默认)
|
|
110
110
|
1:中文
|
|
111
|
-
ServerType不填默认为0
|
|
112
111
|
*/
|
|
113
112
|
ServerType?: number;
|
|
114
113
|
/**
|
|
@@ -122,7 +121,6 @@ ServerType不填默认为0
|
|
|
122
121
|
* 输入文本模式
|
|
123
122
|
0: 普通文本
|
|
124
123
|
1:[音素结构](https://cloud.tencent.com/document/product/884/33698)文本
|
|
125
|
-
2:音素注册模式(提工单注册需要使用音素的单词)。
|
|
126
124
|
*/
|
|
127
125
|
TextMode?: number;
|
|
128
126
|
/**
|
|
@@ -161,7 +159,7 @@ ServerType不填默认为0
|
|
|
161
159
|
*/
|
|
162
160
|
export interface KeywordEvaluateRequest {
|
|
163
161
|
/**
|
|
164
|
-
* 流式数据包的序号,从1开始,当IsEnd字段为1
|
|
162
|
+
* 流式数据包的序号,从1开始,当IsEnd字段为1后后续序号无意义,非流式模式时无意义。
|
|
165
163
|
注意:序号上限为3000,不能超过上限。
|
|
166
164
|
*/
|
|
167
165
|
SeqId: number;
|
|
@@ -171,11 +169,11 @@ export interface KeywordEvaluateRequest {
|
|
|
171
169
|
IsEnd: number;
|
|
172
170
|
/**
|
|
173
171
|
* 语音文件类型
|
|
174
|
-
1: raw
|
|
172
|
+
1: raw/pcm
|
|
175
173
|
2: wav
|
|
176
174
|
3: mp3
|
|
177
175
|
4: speex
|
|
178
|
-
|
|
176
|
+
[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
179
177
|
*/
|
|
180
178
|
VoiceFileType: number;
|
|
181
179
|
/**
|
|
@@ -184,7 +182,9 @@ export interface KeywordEvaluateRequest {
|
|
|
184
182
|
*/
|
|
185
183
|
VoiceEncodeType: number;
|
|
186
184
|
/**
|
|
187
|
-
*
|
|
185
|
+
* 当前语音数据, 编码格式要求为BASE64且必须保证分片帧完整(16bit的数据必须保证音频长度为偶数)。格式要求参考[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
186
|
+
流式模式下需要将语音数据进行分片处理,参考:[分片大小设置](https://cloud.tencent.com/document/product/884/78985#.E5.88.86.E7.89.87.E5.A4.A7.E5.B0.8F.E8.AE.BE.E7.BD.AE.E4.B8.BA.E5.A4.9A.E5.A4.A7.E6.AF.94.E8.BE.83.E5.90.88.E9.80.82.3F)
|
|
187
|
+
如何进行流式分片参考:[流式评测](https://cloud.tencent.com/document/product/884/78824#.E6.B5.81.E5.BC.8F.E8.AF.84.E6.B5.8B)
|
|
188
188
|
*/
|
|
189
189
|
UserVoiceData: string;
|
|
190
190
|
/**
|
|
@@ -196,7 +196,7 @@ export interface KeywordEvaluateRequest {
|
|
|
196
196
|
*/
|
|
197
197
|
Keywords: Array<Keyword>;
|
|
198
198
|
/**
|
|
199
|
-
* 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId
|
|
199
|
+
* 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
|
200
200
|
*/
|
|
201
201
|
SoeAppId?: string;
|
|
202
202
|
/**
|
|
@@ -218,12 +218,11 @@ export interface TransmitOralProcessRequest {
|
|
|
218
218
|
*/
|
|
219
219
|
IsEnd: number;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
222
|
-
1: raw
|
|
221
|
+
* 1: raw/pcm
|
|
223
222
|
2: wav
|
|
224
223
|
3: mp3
|
|
225
224
|
4: speex
|
|
226
|
-
|
|
225
|
+
[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
227
226
|
*/
|
|
228
227
|
VoiceFileType: number;
|
|
229
228
|
/**
|
|
@@ -232,7 +231,9 @@ export interface TransmitOralProcessRequest {
|
|
|
232
231
|
*/
|
|
233
232
|
VoiceEncodeType: number;
|
|
234
233
|
/**
|
|
235
|
-
*
|
|
234
|
+
* 当前语音数据, 编码格式要求为BASE64且必须保证分片帧完整(16bit的数据必须保证音频长度为偶数)。格式要求参考[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
235
|
+
流式模式下需要将语音数据进行分片处理,参考:[分片大小设置](https://cloud.tencent.com/document/product/884/78985#.E5.88.86.E7.89.87.E5.A4.A7.E5.B0.8F.E8.AE.BE.E7.BD.AE.E4.B8.BA.E5.A4.9A.E5.A4.A7.E6.AF.94.E8.BE.83.E5.90.88.E9.80.82.3F)
|
|
236
|
+
如何进行流式分片参考:[流式评测](https://cloud.tencent.com/document/product/884/78824#.E6.B5.81.E5.BC.8F.E8.AF.84.E6.B5.8B)
|
|
236
237
|
*/
|
|
237
238
|
UserVoiceData: string;
|
|
238
239
|
/**
|
|
@@ -240,7 +241,7 @@ export interface TransmitOralProcessRequest {
|
|
|
240
241
|
*/
|
|
241
242
|
SessionId: string;
|
|
242
243
|
/**
|
|
243
|
-
* 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId
|
|
244
|
+
* 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
|
244
245
|
*/
|
|
245
246
|
SoeAppId?: string;
|
|
246
247
|
/**
|
|
@@ -261,11 +262,11 @@ export interface TransmitOralProcessResponse {
|
|
|
261
262
|
*/
|
|
262
263
|
PronAccuracy: number;
|
|
263
264
|
/**
|
|
264
|
-
* 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1
|
|
265
|
+
* 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
265
266
|
*/
|
|
266
267
|
PronFluency: number;
|
|
267
268
|
/**
|
|
268
|
-
* 发音完整度,取值范围[0, 1]
|
|
269
|
+
* 发音完整度,取值范围[0, 1],当为词模式或自由说模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
269
270
|
*/
|
|
270
271
|
PronCompletion: number;
|
|
271
272
|
/**
|
|
@@ -277,7 +278,7 @@ export interface TransmitOralProcessResponse {
|
|
|
277
278
|
*/
|
|
278
279
|
SessionId: string;
|
|
279
280
|
/**
|
|
280
|
-
*
|
|
281
|
+
* 已废弃,不再保存语音音频文件下载地址
|
|
281
282
|
*/
|
|
282
283
|
AudioUrl: string;
|
|
283
284
|
/**
|
|
@@ -470,11 +471,12 @@ export interface TransmitOralProcessWithInitRequest {
|
|
|
470
471
|
IsEnd: number;
|
|
471
472
|
/**
|
|
472
473
|
* 语音文件类型
|
|
473
|
-
1: raw
|
|
474
|
+
1: raw/pcm
|
|
474
475
|
2: wav
|
|
475
476
|
3: mp3
|
|
476
477
|
4: speex
|
|
477
478
|
语音文件格式目前仅支持 16k 采样率 16bit 编码单声道,如有不一致可能导致评估不准确或失败。
|
|
479
|
+
[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
478
480
|
*/
|
|
479
481
|
VoiceFileType: number;
|
|
480
482
|
/**
|
|
@@ -483,7 +485,9 @@ export interface TransmitOralProcessWithInitRequest {
|
|
|
483
485
|
*/
|
|
484
486
|
VoiceEncodeType: number;
|
|
485
487
|
/**
|
|
486
|
-
*
|
|
488
|
+
* 当前语音数据, 编码格式要求为BASE64且必须保证分片帧完整(16bit的数据必须保证音频长度为偶数)。格式要求参考[音频上传格式](https://cloud.tencent.com/document/product/884/56132)
|
|
489
|
+
流式模式下需要将语音数据进行分片处理,参考:[分片大小设置](https://cloud.tencent.com/document/product/884/78985#.E5.88.86.E7.89.87.E5.A4.A7.E5.B0.8F.E8.AE.BE.E7.BD.AE.E4.B8.BA.E5.A4.9A.E5.A4.A7.E6.AF.94.E8.BE.83.E5.90.88.E9.80.82.3F)
|
|
490
|
+
如何进行流式分片参考:[流式测试](https://cloud.tencent.com/document/product/884/78824#.E6.B5.81.E5.BC.8F.E8.AF.84.E6.B5.8B)
|
|
487
491
|
*/
|
|
488
492
|
UserVoiceData: string;
|
|
489
493
|
/**
|
|
@@ -522,10 +526,11 @@ export interface TransmitOralProcessWithInitRequest {
|
|
|
522
526
|
* 评价苛刻指数。取值为[1.0 - 4.0]范围内的浮点数,用于平滑不同年龄段的分数。
|
|
523
527
|
1.0:适用于最小年龄段用户,一般对应儿童应用场景;
|
|
524
528
|
4.0:适用于最高年龄段用户,一般对应成人严格打分场景。
|
|
529
|
+
苛刻度影响范围参考:[苛刻度影响范围](https://cloud.tencent.com/document/product/884/78824#.E8.8B.9B.E5.88.BB.E5.BA.A6)
|
|
525
530
|
*/
|
|
526
531
|
ScoreCoeff: number;
|
|
527
532
|
/**
|
|
528
|
-
* 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId
|
|
533
|
+
* 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
|
529
534
|
*/
|
|
530
535
|
SoeAppId?: string;
|
|
531
536
|
/**
|
|
@@ -535,22 +540,21 @@ export interface TransmitOralProcessWithInitRequest {
|
|
|
535
540
|
StorageMode?: number;
|
|
536
541
|
/**
|
|
537
542
|
* 输出断句中间结果标识
|
|
538
|
-
0
|
|
543
|
+
0:不输出(默认)
|
|
539
544
|
1:输出,通过设置该参数
|
|
540
|
-
可以在评估过程中的分片传输请求中,返回已经评估断句的中间结果,中间结果可用于客户端 UI 更新,输出结果为
|
|
545
|
+
可以在评估过程中的分片传输请求中,返回已经评估断句的中间结果,中间结果可用于客户端 UI 更新,输出结果为TransmitOralProcessWithInit请求返回结果 SentenceInfoSet 字段。
|
|
541
546
|
*/
|
|
542
547
|
SentenceInfoEnabled?: number;
|
|
543
548
|
/**
|
|
544
549
|
* 评估语言
|
|
545
|
-
0
|
|
550
|
+
0:英文(默认)
|
|
546
551
|
1:中文
|
|
547
|
-
ServerType不填默认为0
|
|
548
552
|
*/
|
|
549
553
|
ServerType?: number;
|
|
550
554
|
/**
|
|
551
555
|
* 异步模式标识
|
|
552
|
-
0
|
|
553
|
-
1
|
|
556
|
+
0:同步模式(默认)
|
|
557
|
+
1:异步模式(一般情况不建议使用异步模式,如需使用参考:[异步轮询](https://cloud.tencent.com/document/product/884/78824#.E7.BB.93.E6.9E.9C.E6.9F.A5.E8.AF.A2))
|
|
554
558
|
可选值参考[服务模式](https://cloud.tencent.com/document/product/884/33697)。
|
|
555
559
|
*/
|
|
556
560
|
IsAsync?: number;
|
|
@@ -560,9 +564,8 @@ ServerType不填默认为0
|
|
|
560
564
|
IsQuery?: number;
|
|
561
565
|
/**
|
|
562
566
|
* 输入文本模式
|
|
563
|
-
0:
|
|
567
|
+
0: 普通文本(默认)
|
|
564
568
|
1:[音素结构](https://cloud.tencent.com/document/product/884/33698)文本
|
|
565
|
-
2:音素注册模式(提工单注册需要使用音素的单词)。
|
|
566
569
|
*/
|
|
567
570
|
TextMode?: number;
|
|
568
571
|
/**
|
|
@@ -579,11 +582,11 @@ export interface TransmitOralProcessWithInitResponse {
|
|
|
579
582
|
*/
|
|
580
583
|
PronAccuracy: number;
|
|
581
584
|
/**
|
|
582
|
-
* 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1
|
|
585
|
+
* 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
583
586
|
*/
|
|
584
587
|
PronFluency: number;
|
|
585
588
|
/**
|
|
586
|
-
* 发音完整度,取值范围[0, 1]
|
|
589
|
+
* 发音完整度,取值范围[0, 1],当为词模式或自由说模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
587
590
|
*/
|
|
588
591
|
PronCompletion: number;
|
|
589
592
|
/**
|
|
@@ -595,7 +598,7 @@ export interface TransmitOralProcessWithInitResponse {
|
|
|
595
598
|
*/
|
|
596
599
|
SessionId: string;
|
|
597
600
|
/**
|
|
598
|
-
*
|
|
601
|
+
* 已废弃,不再保存语音音频文件下载地址
|
|
599
602
|
*/
|
|
600
603
|
AudioUrl: string;
|
|
601
604
|
/**
|
|
@@ -3125,6 +3125,10 @@ false: 使用vpc域名
|
|
|
3125
3125
|
* 解析地域,需要保证和vpc处于同一地域,如果不填则默认为主实例地域
|
|
3126
3126
|
*/
|
|
3127
3127
|
RegionName?: string;
|
|
3128
|
+
/**
|
|
3129
|
+
* 请求的地域ID,用于实例复制地域
|
|
3130
|
+
*/
|
|
3131
|
+
RegionId?: number;
|
|
3128
3132
|
}
|
|
3129
3133
|
/**
|
|
3130
3134
|
* 触发器触发条件
|
|
@@ -4231,6 +4235,10 @@ export interface DescribeImagesRequest {
|
|
|
4231
4235
|
* 指定镜像 Digest 进行查找
|
|
4232
4236
|
*/
|
|
4233
4237
|
Digest?: string;
|
|
4238
|
+
/**
|
|
4239
|
+
* 指定是否为精准匹配,true为精准匹配,不填为模糊匹配
|
|
4240
|
+
*/
|
|
4241
|
+
ExactMatch?: boolean;
|
|
4234
4242
|
}
|
|
4235
4243
|
/**
|
|
4236
4244
|
* DescribeGCJobs请求参数结构体
|
|
@@ -2820,6 +2820,11 @@ FilterType = 2表示用户使用 BindingKey 过滤。
|
|
|
2820
2820
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2821
2821
|
*/
|
|
2822
2822
|
Status: number;
|
|
2823
|
+
/**
|
|
2824
|
+
* 0表示pulsar,1表示rocketmq
|
|
2825
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2826
|
+
*/
|
|
2827
|
+
BrokerType: number;
|
|
2823
2828
|
}
|
|
2824
2829
|
/**
|
|
2825
2830
|
* UnbindCmqDeadLetter返回参数结构体
|
|
@@ -2500,6 +2500,11 @@ export interface TemService {
|
|
|
2500
2500
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2501
2501
|
*/
|
|
2502
2502
|
Tags: Array<Tag>;
|
|
2503
|
+
/**
|
|
2504
|
+
* 是否有资源权限
|
|
2505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2506
|
+
*/
|
|
2507
|
+
HasAuthority: boolean;
|
|
2503
2508
|
}
|
|
2504
2509
|
/**
|
|
2505
2510
|
* ingress rule 配置
|
|
@@ -2699,6 +2704,11 @@ export interface TemNamespaceInfo {
|
|
|
2699
2704
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2700
2705
|
*/
|
|
2701
2706
|
Tags: Array<Tag>;
|
|
2707
|
+
/**
|
|
2708
|
+
* 资源是否有权限
|
|
2709
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2710
|
+
*/
|
|
2711
|
+
HasAuthority: boolean;
|
|
2702
2712
|
}
|
|
2703
2713
|
/**
|
|
2704
2714
|
* CreateApplicationAutoscaler请求参数结构体
|
|
@@ -2455,7 +2455,7 @@ export interface DescribeDDoSAttackTopDataResponse {
|
|
|
2455
2455
|
*/
|
|
2456
2456
|
export interface SecRuleRelatedInfo {
|
|
2457
2457
|
/**
|
|
2458
|
-
* 规则ID
|
|
2458
|
+
* 规则ID。
|
|
2459
2459
|
*/
|
|
2460
2460
|
RuleId: number;
|
|
2461
2461
|
/**
|
|
@@ -2490,6 +2490,11 @@ export interface SecRuleRelatedInfo {
|
|
|
2490
2490
|
* 规则类型名称。
|
|
2491
2491
|
*/
|
|
2492
2492
|
RuleTypeName: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* 攻击内容。
|
|
2495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2496
|
+
*/
|
|
2497
|
+
AttackContent: string;
|
|
2493
2498
|
}
|
|
2494
2499
|
/**
|
|
2495
2500
|
* DescribeSpeedTestingQuota返回参数结构体
|
|
@@ -5188,6 +5193,15 @@ export interface SecHitRuleInfo {
|
|
|
5188
5193
|
* 子域名。
|
|
5189
5194
|
*/
|
|
5190
5195
|
Domain: string;
|
|
5196
|
+
/**
|
|
5197
|
+
* Bot标签,取值有:
|
|
5198
|
+
<li>evil_bot:恶意Bot;</li>
|
|
5199
|
+
<li>suspect_bot:疑似Bot;</li>
|
|
5200
|
+
<li>good_bot:正常Bot;</li>
|
|
5201
|
+
<li>normal:正常请求;</li>
|
|
5202
|
+
<li>none:未分类。</li>
|
|
5203
|
+
*/
|
|
5204
|
+
BotLabel: string;
|
|
5191
5205
|
}
|
|
5192
5206
|
/**
|
|
5193
5207
|
* DescribeOriginGroup请求参数结构体
|
|
@@ -12,10 +12,10 @@ export declare class Client extends AbstractClient {
|
|
|
12
12
|
*/
|
|
13
13
|
CreateImage(req: CreateImageRequest, cb?: (error: string, rep: CreateImageResponse) => void): Promise<CreateImageResponse>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 通用图像标签可识别数千种常见物体或场景,覆盖日常物品、场景、动物、植物、食物、饮品、交通工具等多个大类,返回主体的标签名称和所属细分类目等。
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
-
|
|
17
|
+
>
|
|
18
|
+
- 可前往 [图像标签](https://cloud.tencent.com/document/product/1588) 产品文档中查看更多产品信息。
|
|
19
19
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
20
20
|
*/
|
|
21
21
|
DetectLabelPro(req: DetectLabelProRequest, cb?: (error: string, rep: DetectLabelProResponse) => void): Promise<DetectLabelProResponse>;
|
|
@@ -27,13 +27,9 @@ export declare class Client extends AbstractClient {
|
|
|
27
27
|
*/
|
|
28
28
|
RecognizeCar(req: RecognizeCarRequest, cb?: (error: string, rep: RecognizeCarResponse) => void): Promise<RecognizeCarResponse>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
- **图像标签已升级服务,建议前往使用新版接口[通用图像标签](https://cloud.tencent.com/document/product/865/75196)。**
|
|
32
|
-
- **与本接口相比,[通用图像标签](https://cloud.tencent.com/document/product/865/75196)新版接口提供更高精度的图像标签识别服务,覆盖更广泛的物体与场景类型,效果和通用性更优。**
|
|
33
|
-
|
|
34
|
-
图像标签利用深度学习技术,可以对图片进行智能分类、物体识别等。
|
|
30
|
+
* 图像标签利用深度学习技术,可以对图片进行智能分类、物体识别等。
|
|
35
31
|
|
|
36
|
-
|
|
32
|
+
目前支持八个大类、六十多个子类、数千个标签,涵盖各种日常场景、动植物、物品、美食等。
|
|
37
33
|
|
|
38
34
|
图像标签提供四个版本供选择:
|
|
39
35
|
|
|
@@ -45,20 +41,23 @@ export declare class Client extends AbstractClient {
|
|
|
45
41
|
|
|
46
42
|
• 新闻版:针对新闻、资讯、广电等行业进行优化,增加定制识别,支持万级图像标签。
|
|
47
43
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
为了方便使用、减少图片传输次数,图像标签包装成多合一接口,实际上是多个服务。
|
|
51
|
-
|
|
52
|
-
图像标签按照服务的实际使用数量进行收费。例如一张图片同时调用相册版、摄像头版两个服务,那么此次调用按照两次计费。
|
|
44
|
+
为了方便使用、减少图片传输次数,图像标签将不同版本包装成多合一接口,实际上是多个服务,分别计费。建议在接入初期,对四个版本进行对比评估后选择合适的版本使用。
|
|
53
45
|
|
|
54
46
|
>?
|
|
55
|
-
-
|
|
47
|
+
- 图像标签已升级服务,建议使用新版接口[通用图像标签](https://cloud.tencent.com/document/product/865/75196)。
|
|
48
|
+
- 图像标签摄像头版、相册版、网络版、新闻版分别按照各自的实际使用次数进行收费,例如一张图片同时使用相册版、摄像头版,则按照两次调用计费。建议测试对比后从中选择一个最合适的版本使用即可。
|
|
49
|
+
|
|
50
|
+
>
|
|
51
|
+
- 可前往 [图像标签](https://cloud.tencent.com/document/product/1588) 产品文档中查看更多产品信息。
|
|
56
52
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
53
|
+
|
|
57
54
|
*/
|
|
58
55
|
DetectLabel(req: DetectLabelRequest, cb?: (error: string, rep: DetectLabelResponse) => void): Promise<DetectLabelResponse>;
|
|
59
56
|
/**
|
|
60
57
|
* 评估输入图片在视觉上的质量,从多个方面评估,并同时给出综合的、客观的清晰度评分,和主观的美观度评分。
|
|
58
|
+
|
|
61
59
|
>
|
|
60
|
+
- 可前往 [图像处理](https://cloud.tencent.com/document/product/1590) 产品文档中查看更多产品信息。
|
|
62
61
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
63
62
|
*/
|
|
64
63
|
AssessQuality(req: AssessQualityRequest, cb?: (error: string, rep: AssessQualityResponse) => void): Promise<AssessQualityResponse>;
|
|
@@ -86,10 +85,10 @@ export declare class Client extends AbstractClient {
|
|
|
86
85
|
*/
|
|
87
86
|
DetectLabelBeta(req: DetectLabelBetaRequest, cb?: (error: string, rep: DetectLabelBetaResponse) => void): Promise<DetectLabelBetaResponse>;
|
|
88
87
|
/**
|
|
89
|
-
*
|
|
88
|
+
* 根据输入的裁剪比例,智能判断一张图片的最佳裁剪区域,确保原图的主体区域不受影响,以适应不同平台、设备的展示要求,避免简单拉伸带来的变形。
|
|
90
89
|
|
|
91
|
-
可以自动裁剪图片,适应不同平台、设备的展示要求,避免简单拉伸带来的变形。
|
|
92
90
|
>
|
|
91
|
+
- 可前往 [图像处理](https://cloud.tencent.com/document/product/1590) 产品文档中查看更多产品信息。
|
|
93
92
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
94
93
|
*/
|
|
95
94
|
CropImage(req: CropImageRequest, cb?: (error: string, rep: CropImageResponse) => void): Promise<CropImageResponse>;
|
|
@@ -132,13 +131,12 @@ export declare class Client extends AbstractClient {
|
|
|
132
131
|
*/
|
|
133
132
|
RecognizeCarPro(req: RecognizeCarProRequest, cb?: (error: string, rep: RecognizeCarProResponse) => void): Promise<RecognizeCarProResponse>;
|
|
134
133
|
/**
|
|
135
|
-
*
|
|
136
|
-
- 图像清晰度增强接口将于2022年8月31日结束免费公测,2022年9月1日起正式转入计费。若您不需要使用本服务,请及时停止使用。价格详情在[计费概述](https://cloud.tencent.com/document/product/865/17627)中提前公示,请您参阅。
|
|
137
|
-
|
|
138
|
-
传入一张图片,输出清晰度提升后的图片。
|
|
134
|
+
* 传入一张图片,输出清晰度提升后的图片。
|
|
139
135
|
|
|
140
136
|
可以消除图片有损压缩导致的噪声,和使用滤镜、拍摄失焦导致的模糊。让图片的边缘和细节更加清晰自然。
|
|
137
|
+
|
|
141
138
|
>
|
|
139
|
+
- 可前往 [图像处理](https://cloud.tencent.com/document/product/1590) 产品文档中查看更多产品信息。
|
|
142
140
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
143
141
|
*/
|
|
144
142
|
EnhanceImage(req: EnhanceImageRequest, cb?: (error: string, rep: EnhanceImageResponse) => void): Promise<EnhanceImageResponse>;
|
|
@@ -34,10 +34,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
34
34
|
return this.request("CreateImage", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 通用图像标签可识别数千种常见物体或场景,覆盖日常物品、场景、动物、植物、食物、饮品、交通工具等多个大类,返回主体的标签名称和所属细分类目等。
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
-
|
|
39
|
+
>
|
|
40
|
+
- 可前往 [图像标签](https://cloud.tencent.com/document/product/1588) 产品文档中查看更多产品信息。
|
|
41
41
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
42
42
|
*/
|
|
43
43
|
async DetectLabelPro(req, cb) {
|
|
@@ -53,13 +53,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
53
53
|
return this.request("RecognizeCar", req, cb);
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
57
|
-
- **图像标签已升级服务,建议前往使用新版接口[通用图像标签](https://cloud.tencent.com/document/product/865/75196)。**
|
|
58
|
-
- **与本接口相比,[通用图像标签](https://cloud.tencent.com/document/product/865/75196)新版接口提供更高精度的图像标签识别服务,覆盖更广泛的物体与场景类型,效果和通用性更优。**
|
|
59
|
-
|
|
60
|
-
图像标签利用深度学习技术,可以对图片进行智能分类、物体识别等。
|
|
56
|
+
* 图像标签利用深度学习技术,可以对图片进行智能分类、物体识别等。
|
|
61
57
|
|
|
62
|
-
|
|
58
|
+
目前支持八个大类、六十多个子类、数千个标签,涵盖各种日常场景、动植物、物品、美食等。
|
|
63
59
|
|
|
64
60
|
图像标签提供四个版本供选择:
|
|
65
61
|
|
|
@@ -71,22 +67,25 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
71
67
|
|
|
72
68
|
• 新闻版:针对新闻、资讯、广电等行业进行优化,增加定制识别,支持万级图像标签。
|
|
73
69
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
为了方便使用、减少图片传输次数,图像标签包装成多合一接口,实际上是多个服务。
|
|
77
|
-
|
|
78
|
-
图像标签按照服务的实际使用数量进行收费。例如一张图片同时调用相册版、摄像头版两个服务,那么此次调用按照两次计费。
|
|
70
|
+
为了方便使用、减少图片传输次数,图像标签将不同版本包装成多合一接口,实际上是多个服务,分别计费。建议在接入初期,对四个版本进行对比评估后选择合适的版本使用。
|
|
79
71
|
|
|
80
72
|
>?
|
|
81
|
-
-
|
|
73
|
+
- 图像标签已升级服务,建议使用新版接口[通用图像标签](https://cloud.tencent.com/document/product/865/75196)。
|
|
74
|
+
- 图像标签摄像头版、相册版、网络版、新闻版分别按照各自的实际使用次数进行收费,例如一张图片同时使用相册版、摄像头版,则按照两次调用计费。建议测试对比后从中选择一个最合适的版本使用即可。
|
|
75
|
+
|
|
76
|
+
>
|
|
77
|
+
- 可前往 [图像标签](https://cloud.tencent.com/document/product/1588) 产品文档中查看更多产品信息。
|
|
82
78
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
79
|
+
|
|
83
80
|
*/
|
|
84
81
|
async DetectLabel(req, cb) {
|
|
85
82
|
return this.request("DetectLabel", req, cb);
|
|
86
83
|
}
|
|
87
84
|
/**
|
|
88
85
|
* 评估输入图片在视觉上的质量,从多个方面评估,并同时给出综合的、客观的清晰度评分,和主观的美观度评分。
|
|
86
|
+
|
|
89
87
|
>
|
|
88
|
+
- 可前往 [图像处理](https://cloud.tencent.com/document/product/1590) 产品文档中查看更多产品信息。
|
|
90
89
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
91
90
|
*/
|
|
92
91
|
async AssessQuality(req, cb) {
|
|
@@ -124,10 +123,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
124
123
|
return this.request("DetectLabelBeta", req, cb);
|
|
125
124
|
}
|
|
126
125
|
/**
|
|
127
|
-
*
|
|
126
|
+
* 根据输入的裁剪比例,智能判断一张图片的最佳裁剪区域,确保原图的主体区域不受影响,以适应不同平台、设备的展示要求,避免简单拉伸带来的变形。
|
|
128
127
|
|
|
129
|
-
可以自动裁剪图片,适应不同平台、设备的展示要求,避免简单拉伸带来的变形。
|
|
130
128
|
>
|
|
129
|
+
- 可前往 [图像处理](https://cloud.tencent.com/document/product/1590) 产品文档中查看更多产品信息。
|
|
131
130
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
132
131
|
*/
|
|
133
132
|
async CropImage(req, cb) {
|
|
@@ -184,13 +183,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
184
183
|
return this.request("RecognizeCarPro", req, cb);
|
|
185
184
|
}
|
|
186
185
|
/**
|
|
187
|
-
*
|
|
188
|
-
- 图像清晰度增强接口将于2022年8月31日结束免费公测,2022年9月1日起正式转入计费。若您不需要使用本服务,请及时停止使用。价格详情在[计费概述](https://cloud.tencent.com/document/product/865/17627)中提前公示,请您参阅。
|
|
189
|
-
|
|
190
|
-
传入一张图片,输出清晰度提升后的图片。
|
|
186
|
+
* 传入一张图片,输出清晰度提升后的图片。
|
|
191
187
|
|
|
192
188
|
可以消除图片有损压缩导致的噪声,和使用滤镜、拍摄失焦导致的模糊。让图片的边缘和细节更加清晰自然。
|
|
189
|
+
|
|
193
190
|
>
|
|
191
|
+
- 可前往 [图像处理](https://cloud.tencent.com/document/product/1590) 产品文档中查看更多产品信息。
|
|
194
192
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
195
193
|
*/
|
|
196
194
|
async EnhanceImage(req, cb) {
|