tencentcloud-sdk-nodejs-ams 4.0.904 → 4.0.905

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ams",
3
- "version": "4.0.904",
3
+ "version": "4.0.905",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -8,7 +8,7 @@
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 |
9
9
  | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-07-11 01:07:23 |
10
10
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
11
- | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-07-25 01:07:49 |
11
+ | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-07-26 01:08:05 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
13
13
  | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/297) | 2024-06-04 01:07:52 |
14
14
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
@@ -22,7 +22,7 @@
22
22
  | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
23
23
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-06-25 01:07:59 |
24
24
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-03-20 01:08:23 |
25
- | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-05-31 01:10:46 |
25
+ | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-07-26 01:11:20 |
26
26
  | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-07-19 01:11:48 |
27
27
  | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
28
28
  | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2024-03-20 01:08:40 |
@@ -35,14 +35,14 @@
35
35
  | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2024-04-16 01:05:23 |
36
36
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2024-03-20 01:09:12 |
37
37
  | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-07-24 01:13:41 |
38
- | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-06-19 01:14:46 |
38
+ | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-07-26 01:14:48 |
39
39
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
40
- | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-06-14 01:17:35 |
40
+ | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-07-26 01:15:04 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-07-22 01:14:47 |
42
42
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-07-25 01:15:18 |
43
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-07-23 01:10:42 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-07-26 01:16:06 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-07-17 01:09:51 |
45
- | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-10 01:10:02 |
45
+ | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-26 01:17:46 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
47
47
  | cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-07-24 01:18:03 |
48
48
  | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-07-24 01:18:18 |
@@ -50,7 +50,7 @@
50
50
  | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
51
51
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-07-19 01:20:33 |
52
52
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-04-26 01:10:32 |
53
- | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-07-25 01:19:29 |
53
+ | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-07-26 01:19:51 |
54
54
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 |
55
55
  | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2024-06-17 01:21:02 |
56
56
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
@@ -74,7 +74,7 @@
74
74
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-07-22 01:24:41 |
75
75
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-07-12 01:12:13 |
76
76
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
77
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-24 01:28:48 |
77
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-07-26 01:29:47 |
78
78
  | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 |
79
79
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
80
80
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
@@ -93,10 +93,10 @@
93
93
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-06-07 01:44:56 |
94
94
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-03-20 01:15:51 |
95
95
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-03-20 01:15:52 |
96
- | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-03-20 01:15:56 |
96
+ | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-07-26 01:38:19 |
97
97
  | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 |
98
98
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
99
- | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-09 01:14:34 |
99
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-25 14:51:25 |
100
100
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-07-22 01:39:08 |
101
101
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-25 01:39:56 |
102
102
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-25 01:40:54 |
@@ -114,7 +114,7 @@
114
114
  | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 |
115
115
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
116
116
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
117
- | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-07-25 01:43:50 |
117
+ | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-07-26 01:44:41 |
118
118
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
119
119
  | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
120
120
  | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
@@ -135,8 +135,8 @@
135
135
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
136
136
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 |
137
137
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-07-17 01:19:12 |
138
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-19 01:59:02 |
139
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-19 01:59:56 |
138
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-07-26 01:52:51 |
139
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-07-26 01:53:38 |
140
140
  | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-07-19 02:01:23 |
141
141
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
142
142
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
@@ -237,7 +237,7 @@
237
237
  | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 |
238
238
  | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-07-24 02:24:15 |
239
239
  | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-07-09 01:25:36 |
240
- | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-06-06 02:47:30 |
240
+ | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
241
241
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
242
242
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-07-23 11:34:10 |
243
243
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-25 02:28:03 |
@@ -28,19 +28,22 @@ import {
28
28
  DescribeTaskDetailResponse,
29
29
  CreateAudioModerationTaskRequest,
30
30
  TaskInput,
31
- StorageInfo,
31
+ LabelResults,
32
32
  DescribeTaskDetailRequest,
33
33
  CreateAudioModerationSyncTaskResponse,
34
34
  User,
35
35
  TaskLabel,
36
36
  TaskFilter,
37
37
  InputInfo,
38
+ StorageInfo,
38
39
  DescribeTasksResponse,
39
40
  AudioResultDetailLanguageResult,
40
41
  RecognitionResult,
41
42
  MoanResult,
42
43
  CancelTaskResponse,
43
44
  AudioResultDetailTextResult,
45
+ SpeakerResults,
46
+ TravelResults,
44
47
  AudioResult,
45
48
  AudioResultDetailMoanResult,
46
49
  TaskData,
@@ -236,83 +236,88 @@ export interface DescribeTaskDetailResponse {
236
236
  * 该字段用于返回创建音频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
237
237
  注意:此字段可能返回 null,表示取不到有效值。
238
238
  */
239
- TaskId: string
239
+ TaskId?: string
240
240
  /**
241
241
  * 该字段用于返回调用音频审核接口时在Tasks参数内传入的数据ID参数,方便数据的辨别和管理。
242
242
  注意:此字段可能返回 null,表示取不到有效值。
243
243
  */
244
- DataId: string
244
+ DataId?: string
245
245
  /**
246
246
  * 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
247
247
  注意:此字段可能返回 null,表示取不到有效值。
248
248
  */
249
- BizType: string
249
+ BizType?: string
250
250
  /**
251
251
  * 该字段用于返回调用音频审核接口时传入的TaskInput参数中的任务名称,方便任务的识别与管理。
252
252
  注意:此字段可能返回 null,表示取不到有效值。
253
253
  */
254
- Name: string
254
+ Name?: string
255
255
  /**
256
256
  * 该字段用于返回所查询内容的任务状态。
257
257
  <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
258
258
  注意:此字段可能返回 null,表示取不到有效值。
259
259
  */
260
- Status: string
260
+ Status?: string
261
261
  /**
262
262
  * 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
263
263
  注意:此字段可能返回 null,表示取不到有效值。
264
264
  */
265
- Type: string
265
+ Type?: string
266
266
  /**
267
267
  * 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
268
268
  注意:此字段可能返回 null,表示取不到有效值。
269
269
  */
270
- Suggestion: string
270
+ Suggestion?: string
271
271
  /**
272
272
  * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
273
273
  注意:此字段可能返回 null,表示取不到有效值。
274
274
  */
275
- Labels: Array<TaskLabel>
275
+ Labels?: Array<TaskLabel>
276
276
  /**
277
277
  * 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
278
278
  注意:此字段可能返回 null,表示取不到有效值。
279
279
  */
280
- InputInfo: InputInfo
280
+ InputInfo?: InputInfo
281
281
  /**
282
282
  * 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
283
283
  注意:此字段可能返回 null,表示取不到有效值。
284
284
  */
285
- AudioText: string
285
+ AudioText?: string
286
286
  /**
287
287
  * 该字段用于返回音频片段的审核结果,主要包括开始时间和音频审核的相应结果。<br>具体输出内容请参见AudioSegments及AudioResult数据结构的详细描述。
288
288
  注意:此字段可能返回 null,表示取不到有效值。
289
289
  */
290
- AudioSegments: Array<AudioSegments>
290
+ AudioSegments?: Array<AudioSegments>
291
291
  /**
292
292
  * 当任务状态为Error时,该字段用于返回对应错误的类型;任务状态非Error时,默认返回为空。
293
293
  注意:此字段可能返回 null,表示取不到有效值。
294
294
  */
295
- ErrorType: string
295
+ ErrorType?: string
296
296
  /**
297
297
  * 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
298
298
  注意:此字段可能返回 null,表示取不到有效值。
299
299
  */
300
- ErrorDescription: string
300
+ ErrorDescription?: string
301
301
  /**
302
302
  * 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
303
303
  注意:此字段可能返回 null,表示取不到有效值。
304
304
  */
305
- CreatedAt: string
305
+ CreatedAt?: string
306
306
  /**
307
307
  * 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
308
308
  注意:此字段可能返回 null,表示取不到有效值。
309
309
  */
310
- UpdatedAt: string
310
+ UpdatedAt?: string
311
311
  /**
312
312
  * 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
313
313
  注意:此字段可能返回 null,表示取不到有效值。
314
314
  */
315
- Label: string
315
+ Label?: string
316
+ /**
317
+ * 媒体信息
318
+ 注意:此字段可能返回 null,表示取不到有效值。
319
+ */
320
+ MediaInfo?: MediaInfo
316
321
  /**
317
322
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
318
323
  */
@@ -336,11 +341,11 @@ export interface CreateAudioModerationTaskRequest {
336
341
  */
337
342
  Type?: string
338
343
  /**
339
- * 可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/53263)。
344
+ * 验证签名参数,具体可以参考[验签说明](https://cloud.tencent.com/document/product/1219/104000#42dd87d2-580f-46cf-a953-639a787d1eda)。
340
345
  */
341
346
  Seed?: string
342
347
  /**
343
- * 可选参数,该字段表示接受审核信息回调的地址,格式为URL链接默认格式。配置成功后,审核过程中产生的违规音频片段将通过此接口发送。回调返回内容格式请参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/53257#.E7.A4.BA.E4.BE.8B2-.E5.9B.9E.E8.B0.83.E7.AD.BE.E5.90.8D.E7.A4.BA.E4.BE.8B)
348
+ * 接收审核信息回调地址。如果设置了该字段,在审核过程中发现违规音频片段结果将发送至该接口。更多详情请参阅[回调配置说明](https://cloud.tencent.com/document/product/1219/104000)
344
349
  */
345
350
  CallbackUrl?: string
346
351
  /**
@@ -368,21 +373,44 @@ export interface TaskInput {
368
373
  }
369
374
 
370
375
  /**
371
- * 用于表示数据存储的相关信息
376
+ * 歌曲识别结果
372
377
  */
373
- export interface StorageInfo {
378
+ export interface LabelResults {
374
379
  /**
375
- * 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
380
+ * 场景
381
+ 注意:此字段可能返回 null,表示取不到有效值。
376
382
  */
377
- Type?: string
383
+ Scene?: string
378
384
  /**
379
- * 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空,该参数与BucketInfo参数须传入其中之一
385
+ * 建议
386
+ 注意:此字段可能返回 null,表示取不到有效值。
380
387
  */
381
- Url?: string
388
+ Suggestion?: number
382
389
  /**
383
- * 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空,该参数与Url参数须传入其中之一。
390
+ * 标签
391
+ 注意:此字段可能返回 null,表示取不到有效值。
384
392
  */
385
- BucketInfo?: BucketInfo
393
+ Label?: string
394
+ /**
395
+ * 名称:歌曲名,语种名,说话人名 等
396
+ 注意:此字段可能返回 null,表示取不到有效值。
397
+ */
398
+ Name?: string
399
+ /**
400
+ * 得分
401
+ 注意:此字段可能返回 null,表示取不到有效值。
402
+ */
403
+ Score?: number
404
+ /**
405
+ * 开始时间
406
+ 注意:此字段可能返回 null,表示取不到有效值。
407
+ */
408
+ StartTime?: number
409
+ /**
410
+ * 结束时间
411
+ 注意:此字段可能返回 null,表示取不到有效值。
412
+ */
413
+ EndTime?: number
386
414
  }
387
415
 
388
416
  /**
@@ -609,6 +637,24 @@ export interface InputInfo {
609
637
  BucketInfo: BucketInfo
610
638
  }
611
639
 
640
+ /**
641
+ * 用于表示数据存储的相关信息
642
+ */
643
+ export interface StorageInfo {
644
+ /**
645
+ * 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
646
+ */
647
+ Type?: string
648
+ /**
649
+ * 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空,该参数与BucketInfo参数须传入其中之一
650
+ */
651
+ Url?: string
652
+ /**
653
+ * 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空,该参数与Url参数须传入其中之一。
654
+ */
655
+ BucketInfo?: BucketInfo
656
+ }
657
+
612
658
  /**
613
659
  * DescribeTasks返回参数结构体
614
660
  */
@@ -617,17 +663,17 @@ export interface DescribeTasksResponse {
617
663
  * 该字段用于返回当前查询的任务总量,格式为int字符串。
618
664
  注意:此字段可能返回 null,表示取不到有效值。
619
665
  */
620
- Total: string
666
+ Total?: string
621
667
  /**
622
668
  * 该字段用于返回当前页的任务详细数据,具体输出内容请参见TaskData数据结构的详细描述。
623
669
  注意:此字段可能返回 null,表示取不到有效值。
624
670
  */
625
- Data: Array<TaskData>
671
+ Data?: Array<TaskData>
626
672
  /**
627
673
  * 该字段用于返回翻页时使用的Token信息,由系统自动生成,并在翻页时向下一个生成的页面传递此参数,以方便快速翻页功能的实现。当到最后一页时,该字段为空。
628
674
  注意:此字段可能返回 null,表示取不到有效值。
629
675
  */
630
- PageToken: string
676
+ PageToken?: string
631
677
  /**
632
678
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
633
679
  */
@@ -772,6 +818,73 @@ export interface AudioResultDetailTextResult {
772
818
  SubLabel: string
773
819
  }
774
820
 
821
+ /**
822
+ * 说话人结果
823
+ */
824
+ export interface SpeakerResults {
825
+ /**
826
+ * 标签
827
+ 注意:此字段可能返回 null,表示取不到有效值。
828
+ */
829
+ Label?: string
830
+ /**
831
+ * 得分
832
+ 注意:此字段可能返回 null,表示取不到有效值。
833
+ */
834
+ Score?: number
835
+ /**
836
+ * 开始时间
837
+ 注意:此字段可能返回 null,表示取不到有效值。
838
+ */
839
+ StartTime?: number
840
+ /**
841
+ * 结束时间
842
+ 注意:此字段可能返回 null,表示取不到有效值。
843
+ */
844
+ EndTime?: string
845
+ }
846
+
847
+ /**
848
+ * 出行结果
849
+ */
850
+ export interface TravelResults {
851
+ /**
852
+ * 一级标签
853
+ 注意:此字段可能返回 null,表示取不到有效值。
854
+ */
855
+ Label?: string
856
+ /**
857
+ * 二级标签
858
+ 注意:此字段可能返回 null,表示取不到有效值。
859
+ */
860
+ SubLabel?: string
861
+ /**
862
+ * 风险等级
863
+ 注意:此字段可能返回 null,表示取不到有效值。
864
+ */
865
+ RiskLevel?: string
866
+ /**
867
+ * 出行音频角色
868
+ 注意:此字段可能返回 null,表示取不到有效值。
869
+ */
870
+ AudioRole?: string
871
+ /**
872
+ * 出行语音文本
873
+ 注意:此字段可能返回 null,表示取不到有效值。
874
+ */
875
+ AudioText?: string
876
+ /**
877
+ * 开始时间
878
+ 注意:此字段可能返回 null,表示取不到有效值。
879
+ */
880
+ StartTime?: number
881
+ /**
882
+ * 结束时间
883
+ 注意:此字段可能返回 null,表示取不到有效值。
884
+ */
885
+ EndTime?: number
886
+ }
887
+
775
888
  /**
776
889
  * 音频审核输出参数
777
890
  */
@@ -780,63 +893,75 @@ export interface AudioResult {
780
893
  * 该字段用于返回审核内容是否命中审核模型;取值:0(**未命中**)、1(**命中**)。
781
894
  注意:此字段可能返回 null,表示取不到有效值。
782
895
  */
783
- HitFlag: number
896
+ HitFlag?: number
784
897
  /**
785
898
  * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
786
899
  注意:此字段可能返回 null,表示取不到有效值。
787
900
  */
788
- Label: string
901
+ Label?: string
789
902
  /**
790
903
  * 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
791
904
  返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
792
905
  注意:此字段可能返回 null,表示取不到有效值。
793
906
  */
794
- Suggestion: string
907
+ Suggestion?: string
795
908
  /**
796
909
  * 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
797
910
  注意:此字段可能返回 null,表示取不到有效值。
798
911
  */
799
- Score: number
912
+ Score?: number
800
913
  /**
801
914
  * 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
802
915
  注意:此字段可能返回 null,表示取不到有效值。
803
916
  */
804
- Text: string
917
+ Text?: string
805
918
  /**
806
- * 该字段用于返回音频片段存储的链接地址,该地址有效期为1天。
919
+ * 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
807
920
  注意:此字段可能返回 null,表示取不到有效值。
808
921
  */
809
- Url: string
922
+ Url?: string
810
923
  /**
811
924
  * 该字段用于返回音频文件的时长,单位为毫秒。
812
925
  */
813
- Duration: string
926
+ Duration?: string
814
927
  /**
815
928
  * 该字段用于返回额外附加信息,不同客户或Biztype下返回信息不同。
816
929
  */
817
- Extra: string
930
+ Extra?: string
818
931
  /**
819
932
  * 该字段用于返回音频文件经ASR识别后产生的文本的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
820
933
  */
821
- TextResults: Array<AudioResultDetailTextResult>
934
+ TextResults?: Array<AudioResultDetailTextResult>
822
935
  /**
823
936
  * 该字段用于返回音频文件呻吟检测的详细审核结果。具体结果内容请参见AudioResultDetailMoanResult数据结构的细节描述。
824
937
  */
825
- MoanResults: Array<AudioResultDetailMoanResult>
938
+ MoanResults?: Array<AudioResultDetailMoanResult>
826
939
  /**
827
940
  * 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
828
941
  */
829
- LanguageResults: Array<AudioResultDetailLanguageResult>
942
+ LanguageResults?: Array<AudioResultDetailLanguageResult>
830
943
  /**
831
944
  * 该字段用于返回当前标签(Lable)下的二级标签。
832
945
  注意:此字段可能返回 null,表示取不到有效值。
833
946
  */
834
- SubLabel: string
947
+ SubLabel?: string
835
948
  /**
836
949
  * 识别类标签结果信息列表
837
950
  注意:此字段可能返回 null,表示取不到有效值。
838
951
  */
839
- RecognitionResults: Array<RecognitionResult>
952
+ RecognitionResults?: Array<RecognitionResult>
953
+ /**
954
+ * 说话人结果
955
+ */
956
+ SpeakerResults?: Array<SpeakerResults>
957
+ /**
958
+ * 歌曲识别结果
959
+ */
960
+ LabelResults?: Array<LabelResults>
961
+ /**
962
+ * 出行结果
963
+ */
964
+ TravelResults?: Array<TravelResults>
840
965
  }
841
966
 
842
967
  /**
@@ -847,32 +972,33 @@ export interface AudioResultDetailMoanResult {
847
972
  * 该字段用于返回检测结果需要检测的内容类型,此处固定为**Moan**(呻吟)以调用呻吟检测功能。
848
973
  注意:此字段可能返回 null,表示取不到有效值。
849
974
  */
850
- Label: string
975
+ Label?: string
851
976
  /**
852
977
  * 该字段用于返回呻吟检测的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于呻吟内容。
853
978
  */
854
- Score: number
979
+ Score?: number
855
980
  /**
856
981
  * 该字段用于返回对应呻吟标签的片段在音频文件内的开始时间,单位为秒。
857
982
  */
858
- StartTime: number
983
+ StartTime?: number
859
984
  /**
860
985
  * 该字段用于返回对应呻吟标签的片段在音频文件内的结束时间,单位为秒。
861
986
  */
862
- EndTime: number
987
+ EndTime?: number
863
988
  /**
864
989
  * *内测中,敬请期待*
990
+ * @deprecated
865
991
  */
866
- SubLabelCode: string
992
+ SubLabelCode?: string
867
993
  /**
868
994
  * 该字段用于返回当前标签(Lable)下的二级标签。
869
995
  注意:此字段可能返回 null,表示取不到有效值。
870
996
  */
871
- SubLabel: string
997
+ SubLabel?: string
872
998
  /**
873
999
  * 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
874
1000
  */
875
- Suggestion: string
1001
+ Suggestion?: string
876
1002
  }
877
1003
 
878
1004
  /**
@@ -883,55 +1009,60 @@ export interface TaskData {
883
1009
  * 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
884
1010
  注意:此字段可能返回 null,表示取不到有效值。
885
1011
  */
886
- DataId: string
1012
+ DataId?: string
887
1013
  /**
888
1014
  * 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
889
1015
  */
890
- TaskId: string
1016
+ TaskId?: string
891
1017
  /**
892
1018
  * 该字段用于返回所查询内容的任务状态。
893
1019
  <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
894
1020
  */
895
- Status: string
1021
+ Status?: string
896
1022
  /**
897
1023
  * 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。
898
1024
  注意:此字段可能返回 null,表示取不到有效值。
899
1025
  */
900
- Name: string
1026
+ Name?: string
901
1027
  /**
902
1028
  * 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
903
1029
  注意:此字段可能返回 null,表示取不到有效值。
904
1030
  */
905
- BizType: string
1031
+ BizType?: string
906
1032
  /**
907
1033
  * 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
908
1034
  注意:此字段可能返回 null,表示取不到有效值。
909
1035
  */
910
- Type: string
1036
+ Type?: string
911
1037
  /**
912
1038
  * 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
913
1039
  注意:此字段可能返回 null,表示取不到有效值。
914
1040
  */
915
- Suggestion: string
1041
+ Suggestion?: string
916
1042
  /**
917
1043
  * 输入信息
918
1044
  注意:此字段可能返回 null,表示取不到有效值。
919
1045
  */
920
- MediaInfo: MediaInfo
1046
+ MediaInfo?: MediaInfo
921
1047
  /**
922
1048
  * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
923
1049
  注意:此字段可能返回 null,表示取不到有效值。
924
1050
  */
925
- Labels: Array<TaskLabel>
1051
+ Labels?: Array<TaskLabel>
926
1052
  /**
927
1053
  * 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
928
1054
  */
929
- CreatedAt: string
1055
+ CreatedAt?: string
930
1056
  /**
931
1057
  * 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
932
1058
  注意:此字段可能返回 null,表示取不到有效值。
933
1059
  */
934
- UpdatedAt: string
1060
+ UpdatedAt?: string
1061
+ /**
1062
+ * 任务信息
1063
+ 注意:此字段可能返回 null,表示取不到有效值。
1064
+ */
1065
+ InputInfo?: InputInfo
935
1066
  }
936
1067
 
937
1068
  /**
@@ -996,10 +1127,15 @@ export interface AudioSegments {
996
1127
  * 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。
997
1128
  注意:此字段可能返回 null,表示取不到有效值。
998
1129
  */
999
- OffsetTime: string
1130
+ OffsetTime?: string
1000
1131
  /**
1001
1132
  * 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
1002
1133
  注意:此字段可能返回 null,表示取不到有效值。
1003
1134
  */
1004
- Result: AudioResult
1135
+ Result?: AudioResult
1136
+ /**
1137
+ * 创建时间
1138
+ 注意:此字段可能返回 null,表示取不到有效值。
1139
+ */
1140
+ CreatedAt?: string
1005
1141
  }
@@ -211,83 +211,88 @@ export interface DescribeTaskDetailResponse {
211
211
  * 该字段用于返回创建音频审核任务后返回的任务ID(在Results参数中),用于标识需要查询任务详情的审核任务。
212
212
  注意:此字段可能返回 null,表示取不到有效值。
213
213
  */
214
- TaskId: string;
214
+ TaskId?: string;
215
215
  /**
216
216
  * 该字段用于返回调用音频审核接口时在Tasks参数内传入的数据ID参数,方便数据的辨别和管理。
217
217
  注意:此字段可能返回 null,表示取不到有效值。
218
218
  */
219
- DataId: string;
219
+ DataId?: string;
220
220
  /**
221
221
  * 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
222
222
  注意:此字段可能返回 null,表示取不到有效值。
223
223
  */
224
- BizType: string;
224
+ BizType?: string;
225
225
  /**
226
226
  * 该字段用于返回调用音频审核接口时传入的TaskInput参数中的任务名称,方便任务的识别与管理。
227
227
  注意:此字段可能返回 null,表示取不到有效值。
228
228
  */
229
- Name: string;
229
+ Name?: string;
230
230
  /**
231
231
  * 该字段用于返回所查询内容的任务状态。
232
232
  <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
233
233
  注意:此字段可能返回 null,表示取不到有效值。
234
234
  */
235
- Status: string;
235
+ Status?: string;
236
236
  /**
237
237
  * 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
238
238
  注意:此字段可能返回 null,表示取不到有效值。
239
239
  */
240
- Type: string;
240
+ Type?: string;
241
241
  /**
242
242
  * 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
243
243
  注意:此字段可能返回 null,表示取不到有效值。
244
244
  */
245
- Suggestion: string;
245
+ Suggestion?: string;
246
246
  /**
247
247
  * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
248
248
  注意:此字段可能返回 null,表示取不到有效值。
249
249
  */
250
- Labels: Array<TaskLabel>;
250
+ Labels?: Array<TaskLabel>;
251
251
  /**
252
252
  * 该字段用于返回审核服务的媒体内容信息,主要包括传入文件类型和访问地址。
253
253
  注意:此字段可能返回 null,表示取不到有效值。
254
254
  */
255
- InputInfo: InputInfo;
255
+ InputInfo?: InputInfo;
256
256
  /**
257
257
  * 该字段用于返回音频文件识别出的对应文本内容,最大支持**前1000个字符**。
258
258
  注意:此字段可能返回 null,表示取不到有效值。
259
259
  */
260
- AudioText: string;
260
+ AudioText?: string;
261
261
  /**
262
262
  * 该字段用于返回音频片段的审核结果,主要包括开始时间和音频审核的相应结果。<br>具体输出内容请参见AudioSegments及AudioResult数据结构的详细描述。
263
263
  注意:此字段可能返回 null,表示取不到有效值。
264
264
  */
265
- AudioSegments: Array<AudioSegments>;
265
+ AudioSegments?: Array<AudioSegments>;
266
266
  /**
267
267
  * 当任务状态为Error时,该字段用于返回对应错误的类型;任务状态非Error时,默认返回为空。
268
268
  注意:此字段可能返回 null,表示取不到有效值。
269
269
  */
270
- ErrorType: string;
270
+ ErrorType?: string;
271
271
  /**
272
272
  * 当任务状态为Error时,该字段用于返回对应错误的详细描述,任务状态非Error时默认返回为空。
273
273
  注意:此字段可能返回 null,表示取不到有效值。
274
274
  */
275
- ErrorDescription: string;
275
+ ErrorDescription?: string;
276
276
  /**
277
277
  * 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
278
278
  注意:此字段可能返回 null,表示取不到有效值。
279
279
  */
280
- CreatedAt: string;
280
+ CreatedAt?: string;
281
281
  /**
282
282
  * 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
283
283
  注意:此字段可能返回 null,表示取不到有效值。
284
284
  */
285
- UpdatedAt: string;
285
+ UpdatedAt?: string;
286
286
  /**
287
287
  * 该字段用于返回检测结果所对应的标签。如果未命中恶意,返回Normal,如果命中恶意,则返回Labels中优先级最高的标签
288
288
  注意:此字段可能返回 null,表示取不到有效值。
289
289
  */
290
- Label: string;
290
+ Label?: string;
291
+ /**
292
+ * 媒体信息
293
+ 注意:此字段可能返回 null,表示取不到有效值。
294
+ */
295
+ MediaInfo?: MediaInfo;
291
296
  /**
292
297
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
293
298
  */
@@ -310,11 +315,11 @@ export interface CreateAudioModerationTaskRequest {
310
315
  */
311
316
  Type?: string;
312
317
  /**
313
- * 可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/53263)。
318
+ * 验证签名参数,具体可以参考[验签说明](https://cloud.tencent.com/document/product/1219/104000#42dd87d2-580f-46cf-a953-639a787d1eda)。
314
319
  */
315
320
  Seed?: string;
316
321
  /**
317
- * 可选参数,该字段表示接受审核信息回调的地址,格式为URL链接默认格式。配置成功后,审核过程中产生的违规音频片段将通过此接口发送。回调返回内容格式请参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/53257#.E7.A4.BA.E4.BE.8B2-.E5.9B.9E.E8.B0.83.E7.AD.BE.E5.90.8D.E7.A4.BA.E4.BE.8B)
322
+ * 接收审核信息回调地址。如果设置了该字段,在审核过程中发现违规音频片段结果将发送至该接口。更多详情请参阅[回调配置说明](https://cloud.tencent.com/document/product/1219/104000)
318
323
  */
319
324
  CallbackUrl?: string;
320
325
  /**
@@ -340,21 +345,44 @@ export interface TaskInput {
340
345
  Input?: StorageInfo;
341
346
  }
342
347
  /**
343
- * 用于表示数据存储的相关信息
348
+ * 歌曲识别结果
344
349
  */
345
- export interface StorageInfo {
350
+ export interface LabelResults {
346
351
  /**
347
- * 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
352
+ * 场景
353
+ 注意:此字段可能返回 null,表示取不到有效值。
348
354
  */
349
- Type?: string;
355
+ Scene?: string;
350
356
  /**
351
- * 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空,该参数与BucketInfo参数须传入其中之一
357
+ * 建议
358
+ 注意:此字段可能返回 null,表示取不到有效值。
352
359
  */
353
- Url?: string;
360
+ Suggestion?: number;
354
361
  /**
355
- * 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空,该参数与Url参数须传入其中之一。
362
+ * 标签
363
+ 注意:此字段可能返回 null,表示取不到有效值。
356
364
  */
357
- BucketInfo?: BucketInfo;
365
+ Label?: string;
366
+ /**
367
+ * 名称:歌曲名,语种名,说话人名 等
368
+ 注意:此字段可能返回 null,表示取不到有效值。
369
+ */
370
+ Name?: string;
371
+ /**
372
+ * 得分
373
+ 注意:此字段可能返回 null,表示取不到有效值。
374
+ */
375
+ Score?: number;
376
+ /**
377
+ * 开始时间
378
+ 注意:此字段可能返回 null,表示取不到有效值。
379
+ */
380
+ StartTime?: number;
381
+ /**
382
+ * 结束时间
383
+ 注意:此字段可能返回 null,表示取不到有效值。
384
+ */
385
+ EndTime?: number;
358
386
  }
359
387
  /**
360
388
  * DescribeTaskDetail请求参数结构体
@@ -574,6 +602,23 @@ export interface InputInfo {
574
602
  */
575
603
  BucketInfo: BucketInfo;
576
604
  }
605
+ /**
606
+ * 用于表示数据存储的相关信息
607
+ */
608
+ export interface StorageInfo {
609
+ /**
610
+ * 该字段表示文件访问类型,取值为**URL**(资源链接)和**COS** (腾讯云对象存储);该字段应当与传入的访问类型相对应,可用于强校验并方便系统快速识别访问地址;若不传入此参数,则默认值为URL,此时系统将自动判定访问地址类型。
611
+ */
612
+ Type?: string;
613
+ /**
614
+ * 该字段表示文件访问的链接地址,格式为标准URL格式。<br> 备注:当Type为URL时此字段不为空,该参数与BucketInfo参数须传入其中之一
615
+ */
616
+ Url?: string;
617
+ /**
618
+ * 该字段表示文件访问的腾讯云存储桶信息。<br> 备注:当Type为COS时此字段不为空,该参数与Url参数须传入其中之一。
619
+ */
620
+ BucketInfo?: BucketInfo;
621
+ }
577
622
  /**
578
623
  * DescribeTasks返回参数结构体
579
624
  */
@@ -582,17 +627,17 @@ export interface DescribeTasksResponse {
582
627
  * 该字段用于返回当前查询的任务总量,格式为int字符串。
583
628
  注意:此字段可能返回 null,表示取不到有效值。
584
629
  */
585
- Total: string;
630
+ Total?: string;
586
631
  /**
587
632
  * 该字段用于返回当前页的任务详细数据,具体输出内容请参见TaskData数据结构的详细描述。
588
633
  注意:此字段可能返回 null,表示取不到有效值。
589
634
  */
590
- Data: Array<TaskData>;
635
+ Data?: Array<TaskData>;
591
636
  /**
592
637
  * 该字段用于返回翻页时使用的Token信息,由系统自动生成,并在翻页时向下一个生成的页面传递此参数,以方便快速翻页功能的实现。当到最后一页时,该字段为空。
593
638
  注意:此字段可能返回 null,表示取不到有效值。
594
639
  */
595
- PageToken: string;
640
+ PageToken?: string;
596
641
  /**
597
642
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
598
643
  */
@@ -731,6 +776,71 @@ export interface AudioResultDetailTextResult {
731
776
  */
732
777
  SubLabel: string;
733
778
  }
779
+ /**
780
+ * 说话人结果
781
+ */
782
+ export interface SpeakerResults {
783
+ /**
784
+ * 标签
785
+ 注意:此字段可能返回 null,表示取不到有效值。
786
+ */
787
+ Label?: string;
788
+ /**
789
+ * 得分
790
+ 注意:此字段可能返回 null,表示取不到有效值。
791
+ */
792
+ Score?: number;
793
+ /**
794
+ * 开始时间
795
+ 注意:此字段可能返回 null,表示取不到有效值。
796
+ */
797
+ StartTime?: number;
798
+ /**
799
+ * 结束时间
800
+ 注意:此字段可能返回 null,表示取不到有效值。
801
+ */
802
+ EndTime?: string;
803
+ }
804
+ /**
805
+ * 出行结果
806
+ */
807
+ export interface TravelResults {
808
+ /**
809
+ * 一级标签
810
+ 注意:此字段可能返回 null,表示取不到有效值。
811
+ */
812
+ Label?: string;
813
+ /**
814
+ * 二级标签
815
+ 注意:此字段可能返回 null,表示取不到有效值。
816
+ */
817
+ SubLabel?: string;
818
+ /**
819
+ * 风险等级
820
+ 注意:此字段可能返回 null,表示取不到有效值。
821
+ */
822
+ RiskLevel?: string;
823
+ /**
824
+ * 出行音频角色
825
+ 注意:此字段可能返回 null,表示取不到有效值。
826
+ */
827
+ AudioRole?: string;
828
+ /**
829
+ * 出行语音文本
830
+ 注意:此字段可能返回 null,表示取不到有效值。
831
+ */
832
+ AudioText?: string;
833
+ /**
834
+ * 开始时间
835
+ 注意:此字段可能返回 null,表示取不到有效值。
836
+ */
837
+ StartTime?: number;
838
+ /**
839
+ * 结束时间
840
+ 注意:此字段可能返回 null,表示取不到有效值。
841
+ */
842
+ EndTime?: number;
843
+ }
734
844
  /**
735
845
  * 音频审核输出参数
736
846
  */
@@ -739,63 +849,75 @@ export interface AudioResult {
739
849
  * 该字段用于返回审核内容是否命中审核模型;取值:0(**未命中**)、1(**命中**)。
740
850
  注意:此字段可能返回 null,表示取不到有效值。
741
851
  */
742
- HitFlag: number;
852
+ HitFlag?: number;
743
853
  /**
744
854
  * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
745
855
  注意:此字段可能返回 null,表示取不到有效值。
746
856
  */
747
- Label: string;
857
+ Label?: string;
748
858
  /**
749
859
  * 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br>
750
860
  返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
751
861
  注意:此字段可能返回 null,表示取不到有效值。
752
862
  */
753
- Suggestion: string;
863
+ Suggestion?: string;
754
864
  /**
755
865
  * 该字段用于返回当前标签下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容。
756
866
  注意:此字段可能返回 null,表示取不到有效值。
757
867
  */
758
- Score: number;
868
+ Score?: number;
759
869
  /**
760
870
  * 该字段用于返回音频文件经ASR识别后的文本信息。最长可识别**5小时**的音频文件,若超出时长限制,接口将会报错。
761
871
  注意:此字段可能返回 null,表示取不到有效值。
762
872
  */
763
- Text: string;
873
+ Text?: string;
764
874
  /**
765
- * 该字段用于返回音频片段存储的链接地址,该地址有效期为1天。
875
+ * 该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用[COS预签名](https://cloud.tencent.com/document/product/1265/104001)功能更新签名时效。
766
876
  注意:此字段可能返回 null,表示取不到有效值。
767
877
  */
768
- Url: string;
878
+ Url?: string;
769
879
  /**
770
880
  * 该字段用于返回音频文件的时长,单位为毫秒。
771
881
  */
772
- Duration: string;
882
+ Duration?: string;
773
883
  /**
774
884
  * 该字段用于返回额外附加信息,不同客户或Biztype下返回信息不同。
775
885
  */
776
- Extra: string;
886
+ Extra?: string;
777
887
  /**
778
888
  * 该字段用于返回音频文件经ASR识别后产生的文本的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
779
889
  */
780
- TextResults: Array<AudioResultDetailTextResult>;
890
+ TextResults?: Array<AudioResultDetailTextResult>;
781
891
  /**
782
892
  * 该字段用于返回音频文件呻吟检测的详细审核结果。具体结果内容请参见AudioResultDetailMoanResult数据结构的细节描述。
783
893
  */
784
- MoanResults: Array<AudioResultDetailMoanResult>;
894
+ MoanResults?: Array<AudioResultDetailMoanResult>;
785
895
  /**
786
896
  * 该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。
787
897
  */
788
- LanguageResults: Array<AudioResultDetailLanguageResult>;
898
+ LanguageResults?: Array<AudioResultDetailLanguageResult>;
789
899
  /**
790
900
  * 该字段用于返回当前标签(Lable)下的二级标签。
791
901
  注意:此字段可能返回 null,表示取不到有效值。
792
902
  */
793
- SubLabel: string;
903
+ SubLabel?: string;
794
904
  /**
795
905
  * 识别类标签结果信息列表
796
906
  注意:此字段可能返回 null,表示取不到有效值。
797
907
  */
798
- RecognitionResults: Array<RecognitionResult>;
908
+ RecognitionResults?: Array<RecognitionResult>;
909
+ /**
910
+ * 说话人结果
911
+ */
912
+ SpeakerResults?: Array<SpeakerResults>;
913
+ /**
914
+ * 歌曲识别结果
915
+ */
916
+ LabelResults?: Array<LabelResults>;
917
+ /**
918
+ * 出行结果
919
+ */
920
+ TravelResults?: Array<TravelResults>;
799
921
  }
800
922
  /**
801
923
  * 音频呻吟审核结果
@@ -805,32 +927,33 @@ export interface AudioResultDetailMoanResult {
805
927
  * 该字段用于返回检测结果需要检测的内容类型,此处固定为**Moan**(呻吟)以调用呻吟检测功能。
806
928
  注意:此字段可能返回 null,表示取不到有效值。
807
929
  */
808
- Label: string;
930
+ Label?: string;
809
931
  /**
810
932
  * 该字段用于返回呻吟检测的置信度,取值范围:0(**置信度最低**)-100(**置信度最高**),越高代表音频越有可能属于呻吟内容。
811
933
  */
812
- Score: number;
934
+ Score?: number;
813
935
  /**
814
936
  * 该字段用于返回对应呻吟标签的片段在音频文件内的开始时间,单位为秒。
815
937
  */
816
- StartTime: number;
938
+ StartTime?: number;
817
939
  /**
818
940
  * 该字段用于返回对应呻吟标签的片段在音频文件内的结束时间,单位为秒。
819
941
  */
820
- EndTime: number;
942
+ EndTime?: number;
821
943
  /**
822
944
  * *内测中,敬请期待*
945
+ * @deprecated
823
946
  */
824
- SubLabelCode: string;
947
+ SubLabelCode?: string;
825
948
  /**
826
949
  * 该字段用于返回当前标签(Lable)下的二级标签。
827
950
  注意:此字段可能返回 null,表示取不到有效值。
828
951
  */
829
- SubLabel: string;
952
+ SubLabel?: string;
830
953
  /**
831
954
  * 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
832
955
  */
833
- Suggestion: string;
956
+ Suggestion?: string;
834
957
  }
835
958
  /**
836
959
  * 任务数据
@@ -840,55 +963,60 @@ export interface TaskData {
840
963
  * 该字段用于返回音频审核任务数据所对应的数据ID,方便后续查询和管理审核任务。
841
964
  注意:此字段可能返回 null,表示取不到有效值。
842
965
  */
843
- DataId: string;
966
+ DataId?: string;
844
967
  /**
845
968
  * 该字段用于返回音频审核任务所生成的任务ID,用于标识具体审核任务,方便后续查询和管理。
846
969
  */
847
- TaskId: string;
970
+ TaskId?: string;
848
971
  /**
849
972
  * 该字段用于返回所查询内容的任务状态。
850
973
  <br>取值:**FINISH**(任务已完成)、**PENDING** (任务等待中)、**RUNNING** (任务进行中)、**ERROR** (任务出错)、**CANCELLED** (任务已取消)。
851
974
  */
852
- Status: string;
975
+ Status?: string;
853
976
  /**
854
977
  * 该字段用于返回音频审核任务所对应的任务名称,方便后续查询和管理审核任务。
855
978
  注意:此字段可能返回 null,表示取不到有效值。
856
979
  */
857
- Name: string;
980
+ Name?: string;
858
981
  /**
859
982
  * 该字段用于返回调用音频审核接口时传入的BizType参数,方便数据的辨别和管理。
860
983
  注意:此字段可能返回 null,表示取不到有效值。
861
984
  */
862
- BizType: string;
985
+ BizType?: string;
863
986
  /**
864
987
  * 该字段用于返回调用音频审核接口时输入的音频审核类型,取值为:**AUDIO**(点播音频)和**LIVE_AUDIO**(直播音频),默认值为AUDIO。
865
988
  注意:此字段可能返回 null,表示取不到有效值。
866
989
  */
867
- Type: string;
990
+ Type?: string;
868
991
  /**
869
992
  * 该字段用于返回基于恶意标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
870
993
  注意:此字段可能返回 null,表示取不到有效值。
871
994
  */
872
- Suggestion: string;
995
+ Suggestion?: string;
873
996
  /**
874
997
  * 输入信息
875
998
  注意:此字段可能返回 null,表示取不到有效值。
876
999
  */
877
- MediaInfo: MediaInfo;
1000
+ MediaInfo?: MediaInfo;
878
1001
  /**
879
1002
  * 该字段用于返回检测结果所对应的恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告,**Custom**:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。
880
1003
  注意:此字段可能返回 null,表示取不到有效值。
881
1004
  */
882
- Labels: Array<TaskLabel>;
1005
+ Labels?: Array<TaskLabel>;
883
1006
  /**
884
1007
  * 该字段用于返回被查询任务创建的时间,格式采用 ISO 8601标准。
885
1008
  */
886
- CreatedAt: string;
1009
+ CreatedAt?: string;
887
1010
  /**
888
1011
  * 该字段用于返回被查询任务最后更新时间,格式采用 ISO 8601标准。
889
1012
  注意:此字段可能返回 null,表示取不到有效值。
890
1013
  */
891
- UpdatedAt: string;
1014
+ UpdatedAt?: string;
1015
+ /**
1016
+ * 任务信息
1017
+ 注意:此字段可能返回 null,表示取不到有效值。
1018
+ */
1019
+ InputInfo?: InputInfo;
892
1020
  }
893
1021
  /**
894
1022
  * 媒体类型
@@ -950,10 +1078,15 @@ export interface AudioSegments {
950
1078
  * 该字段用于返回音频片段的开始时间,单位为秒。对于点播文件,该参数代表对应音频相对于完整音轨的偏移时间,如0(代表不偏移),5(音轨开始后5秒),10(音轨开始后10秒);对于直播文件,该参数则返回对应音频片段开始时的Unix时间戳,如:1594650717。
951
1079
  注意:此字段可能返回 null,表示取不到有效值。
952
1080
  */
953
- OffsetTime: string;
1081
+ OffsetTime?: string;
954
1082
  /**
955
1083
  * 该字段用于返回音频片段的具体审核结果,详细内容敬请参考AudioResult数据结构的描述。
956
1084
  注意:此字段可能返回 null,表示取不到有效值。
957
1085
  */
958
- Result: AudioResult;
1086
+ Result?: AudioResult;
1087
+ /**
1088
+ * 创建时间
1089
+ 注意:此字段可能返回 null,表示取不到有效值。
1090
+ */
1091
+ CreatedAt?: string;
959
1092
  }