tencentcloud-sdk-nodejs-ams 4.0.1052 → 4.1.30
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/README.md +27 -5
- package/es/index.js +1 -0
- package/es/services/ams/index.js +6 -0
- package/es/services/ams/v20200608/ams_client.js +27 -0
- package/es/services/ams/v20200608/ams_models.js +0 -0
- package/es/services/ams/v20200608/index.js +6 -0
- package/es/services/ams/v20201229/ams_client.js +21 -0
- package/es/services/ams/v20201229/ams_models.js +0 -0
- package/es/services/ams/v20201229/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +26 -8
- package/tencentcloud/services/ams/v20200608/ams_client.js +2 -1
- package/tencentcloud/services/ams/v20200608/index.js +2 -1
- package/tencentcloud/services/ams/v20201229/ams_client.d.ts +17 -6
- package/tencentcloud/services/ams/v20201229/ams_client.js +19 -7
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +8 -7
- package/tencentcloud/services/ams/v20201229/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/ams/index.ts +0 -7
- package/src/services/ams/v20200608/ams_client.ts +0 -167
- package/src/services/ams/v20200608/ams_models.ts +0 -1117
- package/src/services/ams/v20200608/index.ts +0 -6
- package/src/services/ams/v20201229/ams_client.ts +0 -157
- package/src/services/ams/v20201229/ams_models.ts +0 -1194
- package/src/services/ams/v20201229/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,1117 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing,
|
|
11
|
-
* software distributed under the License is distributed on an
|
|
12
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
-
* KIND, either express or implied. See the License for the
|
|
14
|
-
* specific language governing permissions and limitations
|
|
15
|
-
* under the License.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 图片段信息
|
|
20
|
-
*/
|
|
21
|
-
export interface ImageSegments {
|
|
22
|
-
/**
|
|
23
|
-
* 画面截帧结果详情
|
|
24
|
-
*/
|
|
25
|
-
Result: ImageResult
|
|
26
|
-
/**
|
|
27
|
-
* 截帧时间。
|
|
28
|
-
点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10
|
|
29
|
-
直播流:该值为时间戳,例如:1594650717
|
|
30
|
-
*/
|
|
31
|
-
OffsetTime: string
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* 图片输出结果的子结果
|
|
36
|
-
*/
|
|
37
|
-
export interface ImageResultResult {
|
|
38
|
-
/**
|
|
39
|
-
* 场景
|
|
40
|
-
Porn 色情
|
|
41
|
-
Sexy 性感
|
|
42
|
-
Abuse 谩骂
|
|
43
|
-
Ad 广告
|
|
44
|
-
等多个识别场景
|
|
45
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
46
|
-
*/
|
|
47
|
-
Scene: string
|
|
48
|
-
/**
|
|
49
|
-
* 是否命中
|
|
50
|
-
0 未命中
|
|
51
|
-
1 命中
|
|
52
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
53
|
-
*/
|
|
54
|
-
HitFlag: number
|
|
55
|
-
/**
|
|
56
|
-
* 建议您拿到判断结果后的执行操作。
|
|
57
|
-
建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
|
|
58
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
59
|
-
*/
|
|
60
|
-
Suggestion: string
|
|
61
|
-
/**
|
|
62
|
-
* 标签
|
|
63
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
64
|
-
*/
|
|
65
|
-
Label: string
|
|
66
|
-
/**
|
|
67
|
-
* 子标签
|
|
68
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
69
|
-
*/
|
|
70
|
-
SubLabel: string
|
|
71
|
-
/**
|
|
72
|
-
* 分数
|
|
73
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
74
|
-
*/
|
|
75
|
-
Score: number
|
|
76
|
-
/**
|
|
77
|
-
* 如果命中场景为涉政,则该数据为人物姓名列表,否则null
|
|
78
|
-
*/
|
|
79
|
-
Names: Array<string>
|
|
80
|
-
/**
|
|
81
|
-
* 图片OCR文本
|
|
82
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
83
|
-
*/
|
|
84
|
-
Text: string
|
|
85
|
-
/**
|
|
86
|
-
* 其他详情
|
|
87
|
-
*/
|
|
88
|
-
Details: Array<ImageResultsResultDetail>
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* 输入信息详情
|
|
93
|
-
*/
|
|
94
|
-
export interface InputInfo {
|
|
95
|
-
/**
|
|
96
|
-
* 传入的类型可选:URL,COS
|
|
97
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
98
|
-
*/
|
|
99
|
-
Type: string
|
|
100
|
-
/**
|
|
101
|
-
* Url地址
|
|
102
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
103
|
-
*/
|
|
104
|
-
Url: string
|
|
105
|
-
/**
|
|
106
|
-
* 桶信息。当输入当时COS时,该字段不为空
|
|
107
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
108
|
-
*/
|
|
109
|
-
BucketInfo: BucketInfo
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* 数据存储信息
|
|
114
|
-
*/
|
|
115
|
-
export interface StorageInfo {
|
|
116
|
-
/**
|
|
117
|
-
* 类型 可选:
|
|
118
|
-
URL 资源链接类型
|
|
119
|
-
COS 腾讯云对象存储类型
|
|
120
|
-
*/
|
|
121
|
-
Type?: string
|
|
122
|
-
/**
|
|
123
|
-
* 资源链接
|
|
124
|
-
*/
|
|
125
|
-
Url?: string
|
|
126
|
-
/**
|
|
127
|
-
* 腾讯云存储桶信息
|
|
128
|
-
*/
|
|
129
|
-
BucketInfo?: BucketInfo
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* 文件桶信息
|
|
134
|
-
参考腾讯云存储相关说明 https://cloud.tencent.com/document/product/436/44352
|
|
135
|
-
*/
|
|
136
|
-
export interface BucketInfo {
|
|
137
|
-
/**
|
|
138
|
-
* 腾讯云对象存储,存储桶名称
|
|
139
|
-
*/
|
|
140
|
-
Bucket: string
|
|
141
|
-
/**
|
|
142
|
-
* 地域
|
|
143
|
-
*/
|
|
144
|
-
Region: string
|
|
145
|
-
/**
|
|
146
|
-
* 对象Key
|
|
147
|
-
*/
|
|
148
|
-
Object: string
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* CreateAudioModerationTask返回参数结构体
|
|
153
|
-
*/
|
|
154
|
-
export interface CreateAudioModerationTaskResponse {
|
|
155
|
-
/**
|
|
156
|
-
* 任务创建结果
|
|
157
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
158
|
-
*/
|
|
159
|
-
Results?: Array<TaskResult>
|
|
160
|
-
/**
|
|
161
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
162
|
-
*/
|
|
163
|
-
RequestId?: string
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* CreateBizConfig请求参数结构体
|
|
168
|
-
*/
|
|
169
|
-
export interface CreateBizConfigRequest {
|
|
170
|
-
/**
|
|
171
|
-
* 业务类型,仅限英文字母、数字和下划线(_)组成,长度不超过8位
|
|
172
|
-
*/
|
|
173
|
-
BizType: string
|
|
174
|
-
/**
|
|
175
|
-
* 配置信息,
|
|
176
|
-
*/
|
|
177
|
-
MediaModeration: MediaModerationConfig
|
|
178
|
-
/**
|
|
179
|
-
* 业务名称,用于标识业务场景,长度不超过32位
|
|
180
|
-
*/
|
|
181
|
-
BizName?: string
|
|
182
|
-
/**
|
|
183
|
-
* 审核内容,可选:Polity (政治); Porn (色情); Illegal(违法);Abuse (谩骂); Terror (暴恐); Ad (广告);
|
|
184
|
-
*/
|
|
185
|
-
ModerationCategories?: Array<string>
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* DescribeBizConfig请求参数结构体
|
|
190
|
-
*/
|
|
191
|
-
export interface DescribeBizConfigRequest {
|
|
192
|
-
/**
|
|
193
|
-
* 审核业务类类型
|
|
194
|
-
*/
|
|
195
|
-
BizType: string
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* 创建任务时的返回结果
|
|
200
|
-
*/
|
|
201
|
-
export interface TaskResult {
|
|
202
|
-
/**
|
|
203
|
-
* 请求时传入的DataId
|
|
204
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
205
|
-
*/
|
|
206
|
-
DataId: string
|
|
207
|
-
/**
|
|
208
|
-
* TaskId,任务ID
|
|
209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
210
|
-
*/
|
|
211
|
-
TaskId: string
|
|
212
|
-
/**
|
|
213
|
-
* 错误码。如果code为OK,则表示创建成功,其他则参考公共错误码
|
|
214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
215
|
-
*/
|
|
216
|
-
Code: string
|
|
217
|
-
/**
|
|
218
|
-
* 如果错误,该字段表示错误详情
|
|
219
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
220
|
-
*/
|
|
221
|
-
Message: string
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* CancelTask请求参数结构体
|
|
226
|
-
*/
|
|
227
|
-
export interface CancelTaskRequest {
|
|
228
|
-
/**
|
|
229
|
-
* 任务ID
|
|
230
|
-
*/
|
|
231
|
-
TaskId: string
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* DescribeTaskDetail返回参数结构体
|
|
236
|
-
*/
|
|
237
|
-
export interface DescribeTaskDetailResponse {
|
|
238
|
-
/**
|
|
239
|
-
* 任务ID
|
|
240
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
241
|
-
*/
|
|
242
|
-
TaskId?: string
|
|
243
|
-
/**
|
|
244
|
-
* 审核时传入的数据Id
|
|
245
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
246
|
-
*/
|
|
247
|
-
DataId?: string
|
|
248
|
-
/**
|
|
249
|
-
* 业务类型,用于调用识别策略模板;
|
|
250
|
-
(暂未发布功能,敬请期待)
|
|
251
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
252
|
-
*/
|
|
253
|
-
BizType?: string
|
|
254
|
-
/**
|
|
255
|
-
* 任务名称
|
|
256
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
257
|
-
*/
|
|
258
|
-
Name?: string
|
|
259
|
-
/**
|
|
260
|
-
* 查询内容审核任务的状态,可选值:
|
|
261
|
-
FINISH 已完成
|
|
262
|
-
PENDING 等待中
|
|
263
|
-
RUNNING 进行中
|
|
264
|
-
ERROR 出错
|
|
265
|
-
CANCELLED 已取消
|
|
266
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
267
|
-
*/
|
|
268
|
-
Status?: string
|
|
269
|
-
/**
|
|
270
|
-
* 任务类型:可选AUDIO(点播音频),LIVE_AUDIO(直播音频)
|
|
271
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
272
|
-
*/
|
|
273
|
-
Type?: string
|
|
274
|
-
/**
|
|
275
|
-
* 智能审核服务对于内容违规类型的等级,可选值:
|
|
276
|
-
Pass 建议通过;
|
|
277
|
-
Reveiw 建议复审;
|
|
278
|
-
Block 建议屏蔽;
|
|
279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
280
|
-
*/
|
|
281
|
-
Suggestion?: string
|
|
282
|
-
/**
|
|
283
|
-
* 智能审核服务对于内容违规类型的判断,详见返回值列表
|
|
284
|
-
如:Label:Porn(色情);
|
|
285
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
286
|
-
*/
|
|
287
|
-
Labels?: Array<TaskLabel>
|
|
288
|
-
/**
|
|
289
|
-
* 传入媒体的解码信息
|
|
290
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
291
|
-
*/
|
|
292
|
-
MediaInfo?: MediaInfo
|
|
293
|
-
/**
|
|
294
|
-
* 审核任务的信息
|
|
295
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
296
|
-
*/
|
|
297
|
-
InputInfo?: InputInfo
|
|
298
|
-
/**
|
|
299
|
-
* 审核任务的创建时间
|
|
300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
301
|
-
*/
|
|
302
|
-
CreatedAt?: string
|
|
303
|
-
/**
|
|
304
|
-
* 审核任务的更新时间
|
|
305
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
306
|
-
*/
|
|
307
|
-
UpdatedAt?: string
|
|
308
|
-
/**
|
|
309
|
-
* 在N秒后重试
|
|
310
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
311
|
-
*/
|
|
312
|
-
TryInSeconds?: number
|
|
313
|
-
/**
|
|
314
|
-
* 视频/音频审核中的音频结果
|
|
315
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
316
|
-
*/
|
|
317
|
-
AudioSegments?: Array<AudioSegments>
|
|
318
|
-
/**
|
|
319
|
-
* 视频审核中的图片结果
|
|
320
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
321
|
-
*/
|
|
322
|
-
ImageSegments?: Array<ImageSegments>
|
|
323
|
-
/**
|
|
324
|
-
* 音频识别总文本
|
|
325
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
326
|
-
*/
|
|
327
|
-
AudioText?: string
|
|
328
|
-
/**
|
|
329
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
330
|
-
*/
|
|
331
|
-
RequestId?: string
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* CreateAudioModerationTask请求参数结构体
|
|
336
|
-
*/
|
|
337
|
-
export interface CreateAudioModerationTaskRequest {
|
|
338
|
-
/**
|
|
339
|
-
* 业务类型, 定义 模版策略,输出存储配置。如果没有BizType,可以先参考 【创建业务配置】接口进行创建
|
|
340
|
-
*/
|
|
341
|
-
BizType?: string
|
|
342
|
-
/**
|
|
343
|
-
* 审核类型,这里可选:AUDIO (点播音频)和 LIVE_AUDIO(直播音频)
|
|
344
|
-
*/
|
|
345
|
-
Type?: string
|
|
346
|
-
/**
|
|
347
|
-
* 回调签名key,具体可以查看签名文档。
|
|
348
|
-
*/
|
|
349
|
-
Seed?: string
|
|
350
|
-
/**
|
|
351
|
-
* 接收审核信息回调地址,如果设置,则审核过程中产生的违规音频片段和画面截帧发送此接口
|
|
352
|
-
*/
|
|
353
|
-
CallbackUrl?: string
|
|
354
|
-
/**
|
|
355
|
-
* 输入的任务信息,最多可以同时创建10个任务
|
|
356
|
-
*/
|
|
357
|
-
Tasks?: Array<TaskInput>
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* CreateBizConfig返回参数结构体
|
|
362
|
-
*/
|
|
363
|
-
export interface CreateBizConfigResponse {
|
|
364
|
-
/**
|
|
365
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
366
|
-
*/
|
|
367
|
-
RequestId?: string
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* 音视频任务结构
|
|
372
|
-
*/
|
|
373
|
-
export interface TaskInput {
|
|
374
|
-
/**
|
|
375
|
-
* 数据ID
|
|
376
|
-
*/
|
|
377
|
-
DataId?: string
|
|
378
|
-
/**
|
|
379
|
-
* 任务名
|
|
380
|
-
*/
|
|
381
|
-
Name?: string
|
|
382
|
-
/**
|
|
383
|
-
* 任务输入
|
|
384
|
-
*/
|
|
385
|
-
Input?: StorageInfo
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* DescribeTaskDetail请求参数结构体
|
|
390
|
-
*/
|
|
391
|
-
export interface DescribeTaskDetailRequest {
|
|
392
|
-
/**
|
|
393
|
-
* 任务ID,创建任务后返回的TaskId字段
|
|
394
|
-
*/
|
|
395
|
-
TaskId: string
|
|
396
|
-
/**
|
|
397
|
-
* 是否展示所有分片,默认只展示命中规则的分片
|
|
398
|
-
*/
|
|
399
|
-
ShowAllSegments?: boolean
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* CancelTask返回参数结构体
|
|
404
|
-
*/
|
|
405
|
-
export interface CancelTaskResponse {
|
|
406
|
-
/**
|
|
407
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
408
|
-
*/
|
|
409
|
-
RequestId?: string
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* 任务输出标签
|
|
414
|
-
*/
|
|
415
|
-
export interface TaskLabel {
|
|
416
|
-
/**
|
|
417
|
-
* 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
|
|
418
|
-
以及令人反感、不安全或不适宜的内容类型。
|
|
419
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
420
|
-
*/
|
|
421
|
-
Label: string
|
|
422
|
-
/**
|
|
423
|
-
* 建议您拿到判断结果后的执行操作。
|
|
424
|
-
建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
|
|
425
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
426
|
-
*/
|
|
427
|
-
Suggestion: string
|
|
428
|
-
/**
|
|
429
|
-
* 得分,分数是 0 ~ 100
|
|
430
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
431
|
-
*/
|
|
432
|
-
Score: number
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* 具体场景下的图片识别结果
|
|
437
|
-
*/
|
|
438
|
-
export interface ImageResultsResultDetail {
|
|
439
|
-
/**
|
|
440
|
-
* 位置信息
|
|
441
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
442
|
-
*/
|
|
443
|
-
Location: Array<ImageResultsResultDetailLocation>
|
|
444
|
-
/**
|
|
445
|
-
* 任务名称
|
|
446
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
447
|
-
*/
|
|
448
|
-
Name: string
|
|
449
|
-
/**
|
|
450
|
-
* OCR识别文本
|
|
451
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
452
|
-
*/
|
|
453
|
-
Text: string
|
|
454
|
-
/**
|
|
455
|
-
* 标签
|
|
456
|
-
*/
|
|
457
|
-
Label: string
|
|
458
|
-
/**
|
|
459
|
-
* 库ID
|
|
460
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
461
|
-
*/
|
|
462
|
-
LibId: string
|
|
463
|
-
/**
|
|
464
|
-
* 库名称
|
|
465
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
466
|
-
*/
|
|
467
|
-
LibName: string
|
|
468
|
-
/**
|
|
469
|
-
* 命中的关键词
|
|
470
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
471
|
-
*/
|
|
472
|
-
Keywords: Array<string>
|
|
473
|
-
/**
|
|
474
|
-
* 建议
|
|
475
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
476
|
-
*/
|
|
477
|
-
Suggestion: string
|
|
478
|
-
/**
|
|
479
|
-
* 得分
|
|
480
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
481
|
-
*/
|
|
482
|
-
Score: number
|
|
483
|
-
/**
|
|
484
|
-
* 子标签码
|
|
485
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
486
|
-
*/
|
|
487
|
-
SubLabelCode: string
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* DescribeAmsList请求参数结构体
|
|
492
|
-
*/
|
|
493
|
-
export interface DescribeAmsListRequest {
|
|
494
|
-
/**
|
|
495
|
-
* 页码
|
|
496
|
-
*/
|
|
497
|
-
PageToken: string
|
|
498
|
-
/**
|
|
499
|
-
* 过滤条件
|
|
500
|
-
*/
|
|
501
|
-
Limit: number
|
|
502
|
-
/**
|
|
503
|
-
* 查询方向
|
|
504
|
-
*/
|
|
505
|
-
PageDirection: string
|
|
506
|
-
/**
|
|
507
|
-
* 过滤条件
|
|
508
|
-
*/
|
|
509
|
-
Filters?: Array<Filter>
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* 音频过滤条件
|
|
514
|
-
*/
|
|
515
|
-
export interface Filters {
|
|
516
|
-
/**
|
|
517
|
-
* 查询字段:
|
|
518
|
-
策略BizType
|
|
519
|
-
子账号SubUin
|
|
520
|
-
日期区间DateRange
|
|
521
|
-
*/
|
|
522
|
-
Name: string
|
|
523
|
-
/**
|
|
524
|
-
* 查询值
|
|
525
|
-
*/
|
|
526
|
-
Values: Array<string>
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* 机器审核详情列表数据项
|
|
531
|
-
*/
|
|
532
|
-
export interface AmsDetailInfo {
|
|
533
|
-
/**
|
|
534
|
-
* 标签
|
|
535
|
-
*/
|
|
536
|
-
Label: Array<string>
|
|
537
|
-
/**
|
|
538
|
-
* 时长(秒/s)
|
|
539
|
-
*/
|
|
540
|
-
Duration: number
|
|
541
|
-
/**
|
|
542
|
-
* 任务名
|
|
543
|
-
*/
|
|
544
|
-
Name: string
|
|
545
|
-
/**
|
|
546
|
-
* 任务ID,创建任务后返回的TaskId字段
|
|
547
|
-
*/
|
|
548
|
-
TaskID: string
|
|
549
|
-
/**
|
|
550
|
-
* 插入时间
|
|
551
|
-
*/
|
|
552
|
-
InsertTime: string
|
|
553
|
-
/**
|
|
554
|
-
* 数据来源 0机审,其他为自主审核
|
|
555
|
-
*/
|
|
556
|
-
DataForm: number
|
|
557
|
-
/**
|
|
558
|
-
* 操作人
|
|
559
|
-
*/
|
|
560
|
-
Operator: string
|
|
561
|
-
/**
|
|
562
|
-
* 原始命中标签
|
|
563
|
-
*/
|
|
564
|
-
OriginalLabel: Array<string>
|
|
565
|
-
/**
|
|
566
|
-
* 操作时间
|
|
567
|
-
*/
|
|
568
|
-
OperateTime: string
|
|
569
|
-
/**
|
|
570
|
-
* 视频原始地址
|
|
571
|
-
*/
|
|
572
|
-
Url: string
|
|
573
|
-
/**
|
|
574
|
-
* 封面图地址
|
|
575
|
-
*/
|
|
576
|
-
Thumbnail: string
|
|
577
|
-
/**
|
|
578
|
-
* 短音频内容
|
|
579
|
-
*/
|
|
580
|
-
Content: string
|
|
581
|
-
/**
|
|
582
|
-
* 短音频个数
|
|
583
|
-
*/
|
|
584
|
-
DetailCount: number
|
|
585
|
-
/**
|
|
586
|
-
* 音频审核的请求 id
|
|
587
|
-
*/
|
|
588
|
-
RequestId: string
|
|
589
|
-
/**
|
|
590
|
-
* 音频机审状态
|
|
591
|
-
*/
|
|
592
|
-
Status: string
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* 音频小语种检测结果
|
|
597
|
-
*/
|
|
598
|
-
export interface AudioResultDetailLanguageResult {
|
|
599
|
-
/**
|
|
600
|
-
* 语言信息
|
|
601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
602
|
-
*/
|
|
603
|
-
Label: string
|
|
604
|
-
/**
|
|
605
|
-
* 得分
|
|
606
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
607
|
-
*/
|
|
608
|
-
Score: number
|
|
609
|
-
/**
|
|
610
|
-
* 开始时间
|
|
611
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
612
|
-
*/
|
|
613
|
-
StartTime: number
|
|
614
|
-
/**
|
|
615
|
-
* 结束时间
|
|
616
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
617
|
-
*/
|
|
618
|
-
EndTime: number
|
|
619
|
-
/**
|
|
620
|
-
* 子标签码
|
|
621
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
622
|
-
*/
|
|
623
|
-
SubLabelCode: string
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* Cos FileOutput
|
|
628
|
-
*/
|
|
629
|
-
export interface FileOutput {
|
|
630
|
-
/**
|
|
631
|
-
* 存储的Bucket
|
|
632
|
-
*/
|
|
633
|
-
Bucket: string
|
|
634
|
-
/**
|
|
635
|
-
* Cos Region
|
|
636
|
-
*/
|
|
637
|
-
Region: string
|
|
638
|
-
/**
|
|
639
|
-
* 对象前缀
|
|
640
|
-
*/
|
|
641
|
-
ObjectPrefix: string
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
/**
|
|
645
|
-
* 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
646
|
-
*/
|
|
647
|
-
export interface Filter {
|
|
648
|
-
/**
|
|
649
|
-
* 过滤键的名称。
|
|
650
|
-
*/
|
|
651
|
-
Name: string
|
|
652
|
-
/**
|
|
653
|
-
* 一个或者多个过滤值。
|
|
654
|
-
*/
|
|
655
|
-
Values: Array<string>
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* DescribeAudioStat返回参数结构体
|
|
660
|
-
*/
|
|
661
|
-
export interface DescribeAudioStatResponse {
|
|
662
|
-
/**
|
|
663
|
-
* 识别结果统计
|
|
664
|
-
*/
|
|
665
|
-
Overview?: Overview
|
|
666
|
-
/**
|
|
667
|
-
* 识别量统计
|
|
668
|
-
*/
|
|
669
|
-
TrendCount?: Array<TrendCount>
|
|
670
|
-
/**
|
|
671
|
-
* 违规数据分布
|
|
672
|
-
*/
|
|
673
|
-
EvilCount?: Array<EvilCount>
|
|
674
|
-
/**
|
|
675
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
676
|
-
*/
|
|
677
|
-
RequestId?: string
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
* DescribeAmsList返回参数结构体
|
|
682
|
-
*/
|
|
683
|
-
export interface DescribeAmsListResponse {
|
|
684
|
-
/**
|
|
685
|
-
* 返回列表数据----非必选,该参数暂未对外开放
|
|
686
|
-
*/
|
|
687
|
-
AmsDetailSet?: Array<AmsDetailInfo>
|
|
688
|
-
/**
|
|
689
|
-
* 总条数
|
|
690
|
-
*/
|
|
691
|
-
Total?: number
|
|
692
|
-
/**
|
|
693
|
-
* 分页 token
|
|
694
|
-
*/
|
|
695
|
-
PageToken?: string
|
|
696
|
-
/**
|
|
697
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
698
|
-
*/
|
|
699
|
-
RequestId?: string
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* 识别量统计
|
|
704
|
-
*/
|
|
705
|
-
export interface TrendCount {
|
|
706
|
-
/**
|
|
707
|
-
* 总调用量
|
|
708
|
-
*/
|
|
709
|
-
TotalCount: number
|
|
710
|
-
/**
|
|
711
|
-
* 总调用时长
|
|
712
|
-
*/
|
|
713
|
-
TotalHour: number
|
|
714
|
-
/**
|
|
715
|
-
* 通过量
|
|
716
|
-
*/
|
|
717
|
-
PassCount: number
|
|
718
|
-
/**
|
|
719
|
-
* 通过时长
|
|
720
|
-
*/
|
|
721
|
-
PassHour: number
|
|
722
|
-
/**
|
|
723
|
-
* 违规量
|
|
724
|
-
*/
|
|
725
|
-
EvilCount: number
|
|
726
|
-
/**
|
|
727
|
-
* 违规时长
|
|
728
|
-
*/
|
|
729
|
-
EvilHour: number
|
|
730
|
-
/**
|
|
731
|
-
* 疑似违规量
|
|
732
|
-
*/
|
|
733
|
-
SuspectCount: number
|
|
734
|
-
/**
|
|
735
|
-
* 疑似违规时长
|
|
736
|
-
*/
|
|
737
|
-
SuspectHour: number
|
|
738
|
-
/**
|
|
739
|
-
* 日期
|
|
740
|
-
*/
|
|
741
|
-
Date: string
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* 音频ASR文本审核结果
|
|
746
|
-
*/
|
|
747
|
-
export interface AudioResultDetailTextResult {
|
|
748
|
-
/**
|
|
749
|
-
* 标签
|
|
750
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
751
|
-
*/
|
|
752
|
-
Label: string
|
|
753
|
-
/**
|
|
754
|
-
* 命中的关键词
|
|
755
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
756
|
-
*/
|
|
757
|
-
Keywords: Array<string>
|
|
758
|
-
/**
|
|
759
|
-
* 命中的LibId
|
|
760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
761
|
-
*/
|
|
762
|
-
LibId: string
|
|
763
|
-
/**
|
|
764
|
-
* 命中的LibName
|
|
765
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
766
|
-
*/
|
|
767
|
-
LibName: string
|
|
768
|
-
/**
|
|
769
|
-
* 得分
|
|
770
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
771
|
-
*/
|
|
772
|
-
Score: number
|
|
773
|
-
/**
|
|
774
|
-
* 审核建议
|
|
775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
776
|
-
*/
|
|
777
|
-
Suggestion: string
|
|
778
|
-
/**
|
|
779
|
-
* 词库类型 1 黑白库 2 自定义库
|
|
780
|
-
*/
|
|
781
|
-
LibType: number
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
/**
|
|
785
|
-
* DescribeAudioStat请求参数结构体
|
|
786
|
-
*/
|
|
787
|
-
export interface DescribeAudioStatRequest {
|
|
788
|
-
/**
|
|
789
|
-
* 审核类型 1: 机器审核; 2: 人工审核
|
|
790
|
-
*/
|
|
791
|
-
AuditType: number
|
|
792
|
-
/**
|
|
793
|
-
* 查询条件
|
|
794
|
-
*/
|
|
795
|
-
Filters: Array<Filters>
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* 识别结果统计
|
|
800
|
-
*/
|
|
801
|
-
export interface Overview {
|
|
802
|
-
/**
|
|
803
|
-
* 总调用量
|
|
804
|
-
*/
|
|
805
|
-
TotalCount: number
|
|
806
|
-
/**
|
|
807
|
-
* 总调用时长
|
|
808
|
-
*/
|
|
809
|
-
TotalHour: number
|
|
810
|
-
/**
|
|
811
|
-
* 通过量
|
|
812
|
-
*/
|
|
813
|
-
PassCount: number
|
|
814
|
-
/**
|
|
815
|
-
* 通过时长
|
|
816
|
-
*/
|
|
817
|
-
PassHour: number
|
|
818
|
-
/**
|
|
819
|
-
* 违规量
|
|
820
|
-
*/
|
|
821
|
-
EvilCount: number
|
|
822
|
-
/**
|
|
823
|
-
* 违规时长
|
|
824
|
-
*/
|
|
825
|
-
EvilHour: number
|
|
826
|
-
/**
|
|
827
|
-
* 疑似违规量
|
|
828
|
-
*/
|
|
829
|
-
SuspectCount: number
|
|
830
|
-
/**
|
|
831
|
-
* 疑似违规时长
|
|
832
|
-
*/
|
|
833
|
-
SuspectHour: number
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
/**
|
|
837
|
-
* 音频输出参数
|
|
838
|
-
*/
|
|
839
|
-
export interface AudioResult {
|
|
840
|
-
/**
|
|
841
|
-
* 是否命中
|
|
842
|
-
0 未命中
|
|
843
|
-
1 命中
|
|
844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
845
|
-
*/
|
|
846
|
-
HitFlag: number
|
|
847
|
-
/**
|
|
848
|
-
* 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
|
|
849
|
-
以及令人反感、不安全或不适宜的内容类型。
|
|
850
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
851
|
-
*/
|
|
852
|
-
Label: string
|
|
853
|
-
/**
|
|
854
|
-
* 建议您拿到判断结果后的执行操作。
|
|
855
|
-
建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
|
|
856
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
857
|
-
*/
|
|
858
|
-
Suggestion: string
|
|
859
|
-
/**
|
|
860
|
-
* 得分,0-100
|
|
861
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
862
|
-
*/
|
|
863
|
-
Score: number
|
|
864
|
-
/**
|
|
865
|
-
* 音频ASR文本
|
|
866
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
867
|
-
*/
|
|
868
|
-
Text: string
|
|
869
|
-
/**
|
|
870
|
-
* 音频片段存储URL,有效期为1天
|
|
871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
872
|
-
*/
|
|
873
|
-
Url: string
|
|
874
|
-
/**
|
|
875
|
-
* 音频时长
|
|
876
|
-
*/
|
|
877
|
-
Duration: string
|
|
878
|
-
/**
|
|
879
|
-
* 拓展字段
|
|
880
|
-
*/
|
|
881
|
-
Extra: string
|
|
882
|
-
/**
|
|
883
|
-
* 文本识别结果
|
|
884
|
-
*/
|
|
885
|
-
TextResults: Array<AudioResultDetailTextResult>
|
|
886
|
-
/**
|
|
887
|
-
* 音频呻吟检测结果
|
|
888
|
-
*/
|
|
889
|
-
MoanResults: Array<AudioResultDetailMoanResult>
|
|
890
|
-
/**
|
|
891
|
-
* 音频语言检测结果
|
|
892
|
-
*/
|
|
893
|
-
LanguageResults: Array<AudioResultDetailLanguageResult>
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
/**
|
|
897
|
-
* 音频呻吟审核结果
|
|
898
|
-
*/
|
|
899
|
-
export interface AudioResultDetailMoanResult {
|
|
900
|
-
/**
|
|
901
|
-
* 固定为Moan(呻吟)
|
|
902
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
903
|
-
*/
|
|
904
|
-
Label: string
|
|
905
|
-
/**
|
|
906
|
-
* 分数
|
|
907
|
-
*/
|
|
908
|
-
Score: number
|
|
909
|
-
/**
|
|
910
|
-
* 开始时间
|
|
911
|
-
*/
|
|
912
|
-
StartTime: number
|
|
913
|
-
/**
|
|
914
|
-
* 结束时间
|
|
915
|
-
*/
|
|
916
|
-
EndTime: number
|
|
917
|
-
/**
|
|
918
|
-
* 子标签码
|
|
919
|
-
*/
|
|
920
|
-
SubLabelCode: string
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* DescribeBizConfig返回参数结构体
|
|
925
|
-
*/
|
|
926
|
-
export interface DescribeBizConfigResponse {
|
|
927
|
-
/**
|
|
928
|
-
* 业务类型
|
|
929
|
-
*/
|
|
930
|
-
BizType?: string
|
|
931
|
-
/**
|
|
932
|
-
* 业务名称
|
|
933
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
934
|
-
*/
|
|
935
|
-
BizName?: string
|
|
936
|
-
/**
|
|
937
|
-
* 审核范围
|
|
938
|
-
*/
|
|
939
|
-
ModerationCategories?: Array<string>
|
|
940
|
-
/**
|
|
941
|
-
* 多媒体审核配置
|
|
942
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
943
|
-
*/
|
|
944
|
-
MediaModeration?: MediaModerationConfig
|
|
945
|
-
/**
|
|
946
|
-
* 创建时间
|
|
947
|
-
*/
|
|
948
|
-
CreatedAt?: string
|
|
949
|
-
/**
|
|
950
|
-
* 更新时间
|
|
951
|
-
*/
|
|
952
|
-
UpdatedAt?: string
|
|
953
|
-
/**
|
|
954
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
955
|
-
*/
|
|
956
|
-
RequestId?: string
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
/**
|
|
960
|
-
* 媒体类型
|
|
961
|
-
*/
|
|
962
|
-
export interface MediaInfo {
|
|
963
|
-
/**
|
|
964
|
-
* 编码格式
|
|
965
|
-
*/
|
|
966
|
-
Codecs: string
|
|
967
|
-
/**
|
|
968
|
-
* 流检测时分片时长
|
|
969
|
-
注意:此字段可能返回 0,表示取不到有效值。
|
|
970
|
-
*/
|
|
971
|
-
Duration: number
|
|
972
|
-
/**
|
|
973
|
-
* 宽,单位为像素
|
|
974
|
-
*/
|
|
975
|
-
Width: number
|
|
976
|
-
/**
|
|
977
|
-
* 高,单位为像素
|
|
978
|
-
*/
|
|
979
|
-
Height: number
|
|
980
|
-
/**
|
|
981
|
-
* 缩略图
|
|
982
|
-
*/
|
|
983
|
-
Thumbnail: string
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* 媒体审核配置
|
|
988
|
-
*/
|
|
989
|
-
export interface MediaModerationConfig {
|
|
990
|
-
/**
|
|
991
|
-
* 音频截帧频率。默认一分钟
|
|
992
|
-
*/
|
|
993
|
-
AudioFrequency: number
|
|
994
|
-
/**
|
|
995
|
-
* 图片取帧频率, 单位(秒/帧),默认 5, 可选 1 ~ 300
|
|
996
|
-
*/
|
|
997
|
-
ImageFrequency?: number
|
|
998
|
-
/**
|
|
999
|
-
* 异步回调地址。
|
|
1000
|
-
*/
|
|
1001
|
-
CallbackUrl?: string
|
|
1002
|
-
/**
|
|
1003
|
-
* 临时文件存储位置
|
|
1004
|
-
*/
|
|
1005
|
-
SegmentOutput?: FileOutput
|
|
1006
|
-
/**
|
|
1007
|
-
* 是否使用OCR,默认为true
|
|
1008
|
-
*/
|
|
1009
|
-
UseOCR?: boolean
|
|
1010
|
-
/**
|
|
1011
|
-
* 是否使用音频。(音频场景下,该值永远为true)
|
|
1012
|
-
*/
|
|
1013
|
-
UseAudio?: boolean
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
/**
|
|
1017
|
-
* 声音段信息
|
|
1018
|
-
*/
|
|
1019
|
-
export interface AudioSegments {
|
|
1020
|
-
/**
|
|
1021
|
-
* 截帧时间。
|
|
1022
|
-
点播文件:该值为相对于视频偏移时间,单位为秒,例如:0,5,10
|
|
1023
|
-
直播流:该值为时间戳,例如:1594650717
|
|
1024
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1025
|
-
*/
|
|
1026
|
-
OffsetTime: string
|
|
1027
|
-
/**
|
|
1028
|
-
* 结果集
|
|
1029
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1030
|
-
*/
|
|
1031
|
-
Result: AudioResult
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* 违规数据分布
|
|
1036
|
-
*/
|
|
1037
|
-
export interface EvilCount {
|
|
1038
|
-
/**
|
|
1039
|
-
* ----非必选,该参数功能暂未对外开放
|
|
1040
|
-
*/
|
|
1041
|
-
EvilType: string
|
|
1042
|
-
/**
|
|
1043
|
-
* 分布类型总量
|
|
1044
|
-
*/
|
|
1045
|
-
Count: number
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* 图片详情位置信息
|
|
1050
|
-
*/
|
|
1051
|
-
export interface ImageResultsResultDetailLocation {
|
|
1052
|
-
/**
|
|
1053
|
-
* x坐标
|
|
1054
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1055
|
-
*/
|
|
1056
|
-
X: number
|
|
1057
|
-
/**
|
|
1058
|
-
* y坐标
|
|
1059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1060
|
-
*/
|
|
1061
|
-
Y: number
|
|
1062
|
-
/**
|
|
1063
|
-
* 宽度
|
|
1064
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1065
|
-
*/
|
|
1066
|
-
Width: number
|
|
1067
|
-
/**
|
|
1068
|
-
* 高度
|
|
1069
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1070
|
-
*/
|
|
1071
|
-
Height: number
|
|
1072
|
-
/**
|
|
1073
|
-
* 旋转角度
|
|
1074
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1075
|
-
*/
|
|
1076
|
-
Rotate: number
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
/**
|
|
1080
|
-
* Result结果详情
|
|
1081
|
-
*/
|
|
1082
|
-
export interface ImageResult {
|
|
1083
|
-
/**
|
|
1084
|
-
* 违规标志
|
|
1085
|
-
0 未命中
|
|
1086
|
-
1 命中
|
|
1087
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1088
|
-
*/
|
|
1089
|
-
HitFlag: number
|
|
1090
|
-
/**
|
|
1091
|
-
* 建议您拿到判断结果后的执行操作。
|
|
1092
|
-
建议值,Block:建议屏蔽,Review:建议复审,Pass:建议通过
|
|
1093
|
-
*/
|
|
1094
|
-
Suggestion: string
|
|
1095
|
-
/**
|
|
1096
|
-
* 恶意标签,Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告,Custom:自定义词库。
|
|
1097
|
-
以及令人反感、不安全或不适宜的内容类型。
|
|
1098
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1099
|
-
*/
|
|
1100
|
-
Label: string
|
|
1101
|
-
/**
|
|
1102
|
-
* 得分
|
|
1103
|
-
*/
|
|
1104
|
-
Score: number
|
|
1105
|
-
/**
|
|
1106
|
-
* 画面截帧图片结果集
|
|
1107
|
-
*/
|
|
1108
|
-
Results: Array<ImageResultResult>
|
|
1109
|
-
/**
|
|
1110
|
-
* 图片URL地址
|
|
1111
|
-
*/
|
|
1112
|
-
Url: string
|
|
1113
|
-
/**
|
|
1114
|
-
* 附加字段
|
|
1115
|
-
*/
|
|
1116
|
-
Extra: string
|
|
1117
|
-
}
|