tencentcloud-sdk-nodejs-ams 4.0.388 → 4.0.431

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