@alicloud/green20220302 2.2.7 → 2.2.9
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/dist/client.d.ts +1970 -120
- package/dist/client.js +146 -122
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2020 -153
package/src/client.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
3
|
*/
|
|
5
4
|
import Util, * as $Util from '@alicloud/tea-util';
|
|
6
5
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
@@ -9,7 +8,21 @@ import EndpointUtil from '@alicloud/endpoint-util';
|
|
|
9
8
|
import * as $tea from '@alicloud/tea-typescript';
|
|
10
9
|
|
|
11
10
|
export class DescribeFileModerationResultRequest extends $tea.Model {
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The type of the moderation service.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* document_detection
|
|
17
|
+
*/
|
|
12
18
|
service?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* {\\"taskId\\":\\"vi_f_hPgx9PFIQISdlfA888hOFG-1yJq8v\\"}
|
|
25
|
+
*/
|
|
13
26
|
serviceParameters?: string;
|
|
14
27
|
static names(): { [key: string]: string } {
|
|
15
28
|
return {
|
|
@@ -31,9 +44,34 @@ export class DescribeFileModerationResultRequest extends $tea.Model {
|
|
|
31
44
|
}
|
|
32
45
|
|
|
33
46
|
export class DescribeFileModerationResultResponseBody extends $tea.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The returned HTTP status code.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* 200
|
|
53
|
+
*/
|
|
34
54
|
code?: number;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The data returned.
|
|
58
|
+
*/
|
|
35
59
|
data?: DescribeFileModerationResultResponseBodyData;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The message that is returned in response to the request.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* OK
|
|
66
|
+
*/
|
|
36
67
|
message?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The request ID.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
|
|
74
|
+
*/
|
|
37
75
|
requestId?: string;
|
|
38
76
|
static names(): { [key: string]: string } {
|
|
39
77
|
return {
|
|
@@ -84,6 +122,13 @@ export class DescribeFileModerationResultResponse extends $tea.Model {
|
|
|
84
122
|
}
|
|
85
123
|
|
|
86
124
|
export class DescribeImageModerationResultRequest extends $tea.Model {
|
|
125
|
+
/**
|
|
126
|
+
* @remarks
|
|
127
|
+
* The reqId field returned by the Image Async Moderation API.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
|
|
131
|
+
*/
|
|
87
132
|
reqId?: string;
|
|
88
133
|
static names(): { [key: string]: string } {
|
|
89
134
|
return {
|
|
@@ -103,9 +148,34 @@ export class DescribeImageModerationResultRequest extends $tea.Model {
|
|
|
103
148
|
}
|
|
104
149
|
|
|
105
150
|
export class DescribeImageModerationResultResponseBody extends $tea.Model {
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The returned HTTP status code.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* 200
|
|
157
|
+
*/
|
|
106
158
|
code?: number;
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The data returned.
|
|
162
|
+
*/
|
|
107
163
|
data?: DescribeImageModerationResultResponseBodyData;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The message that is returned in response to the request.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* success
|
|
170
|
+
*/
|
|
108
171
|
msg?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The request ID.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* 2881AD4F-638B-52A3-BA20-F74C5B1CEAE3
|
|
178
|
+
*/
|
|
109
179
|
requestId?: string;
|
|
110
180
|
static names(): { [key: string]: string } {
|
|
111
181
|
return {
|
|
@@ -156,7 +226,21 @@ export class DescribeImageModerationResultResponse extends $tea.Model {
|
|
|
156
226
|
}
|
|
157
227
|
|
|
158
228
|
export class DescribeImageResultExtRequest extends $tea.Model {
|
|
229
|
+
/**
|
|
230
|
+
* @remarks
|
|
231
|
+
* The content of the information to be obtained. Multiple values are separated by commas.
|
|
232
|
+
*
|
|
233
|
+
* @example
|
|
234
|
+
* customImage,textInImage
|
|
235
|
+
*/
|
|
159
236
|
infoType?: string;
|
|
237
|
+
/**
|
|
238
|
+
* @remarks
|
|
239
|
+
* The reqId field returned by the Url Async Moderation API.
|
|
240
|
+
*
|
|
241
|
+
* @example
|
|
242
|
+
* 638EDDC65C82AB39319A9F60
|
|
243
|
+
*/
|
|
160
244
|
reqId?: string;
|
|
161
245
|
static names(): { [key: string]: string } {
|
|
162
246
|
return {
|
|
@@ -178,9 +262,34 @@ export class DescribeImageResultExtRequest extends $tea.Model {
|
|
|
178
262
|
}
|
|
179
263
|
|
|
180
264
|
export class DescribeImageResultExtResponseBody extends $tea.Model {
|
|
265
|
+
/**
|
|
266
|
+
* @remarks
|
|
267
|
+
* The returned HTTP status code.
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* 200
|
|
271
|
+
*/
|
|
181
272
|
code?: number;
|
|
273
|
+
/**
|
|
274
|
+
* @remarks
|
|
275
|
+
* The data returned.
|
|
276
|
+
*/
|
|
182
277
|
data?: DescribeImageResultExtResponseBodyData;
|
|
278
|
+
/**
|
|
279
|
+
* @remarks
|
|
280
|
+
* The message that is returned in response to the request.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* success
|
|
284
|
+
*/
|
|
183
285
|
msg?: string;
|
|
286
|
+
/**
|
|
287
|
+
* @remarks
|
|
288
|
+
* The request ID.
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
|
|
292
|
+
*/
|
|
184
293
|
requestId?: string;
|
|
185
294
|
static names(): { [key: string]: string } {
|
|
186
295
|
return {
|
|
@@ -231,9 +340,34 @@ export class DescribeImageResultExtResponse extends $tea.Model {
|
|
|
231
340
|
}
|
|
232
341
|
|
|
233
342
|
export class DescribeUploadTokenResponseBody extends $tea.Model {
|
|
343
|
+
/**
|
|
344
|
+
* @remarks
|
|
345
|
+
* The returned HTTP status code.
|
|
346
|
+
*
|
|
347
|
+
* @example
|
|
348
|
+
* 200
|
|
349
|
+
*/
|
|
234
350
|
code?: number;
|
|
351
|
+
/**
|
|
352
|
+
* @remarks
|
|
353
|
+
* The data returned.
|
|
354
|
+
*/
|
|
235
355
|
data?: DescribeUploadTokenResponseBodyData;
|
|
356
|
+
/**
|
|
357
|
+
* @remarks
|
|
358
|
+
* The message that is returned in response to the request.
|
|
359
|
+
*
|
|
360
|
+
* @example
|
|
361
|
+
* OK
|
|
362
|
+
*/
|
|
236
363
|
msg?: string;
|
|
364
|
+
/**
|
|
365
|
+
* @remarks
|
|
366
|
+
* The request ID.
|
|
367
|
+
*
|
|
368
|
+
* @example
|
|
369
|
+
* AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
|
|
370
|
+
*/
|
|
237
371
|
requestId?: string;
|
|
238
372
|
static names(): { [key: string]: string } {
|
|
239
373
|
return {
|
|
@@ -284,6 +418,13 @@ export class DescribeUploadTokenResponse extends $tea.Model {
|
|
|
284
418
|
}
|
|
285
419
|
|
|
286
420
|
export class DescribeUrlModerationResultRequest extends $tea.Model {
|
|
421
|
+
/**
|
|
422
|
+
* @remarks
|
|
423
|
+
* The reqId field returned by the Url Async Moderation API.
|
|
424
|
+
*
|
|
425
|
+
* @example
|
|
426
|
+
* B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
|
|
427
|
+
*/
|
|
287
428
|
reqId?: string;
|
|
288
429
|
static names(): { [key: string]: string } {
|
|
289
430
|
return {
|
|
@@ -303,9 +444,34 @@ export class DescribeUrlModerationResultRequest extends $tea.Model {
|
|
|
303
444
|
}
|
|
304
445
|
|
|
305
446
|
export class DescribeUrlModerationResultResponseBody extends $tea.Model {
|
|
447
|
+
/**
|
|
448
|
+
* @remarks
|
|
449
|
+
* The returned HTTP status code.
|
|
450
|
+
*
|
|
451
|
+
* @example
|
|
452
|
+
* 200
|
|
453
|
+
*/
|
|
306
454
|
code?: number;
|
|
455
|
+
/**
|
|
456
|
+
* @remarks
|
|
457
|
+
* The data returned.
|
|
458
|
+
*/
|
|
307
459
|
data?: DescribeUrlModerationResultResponseBodyData;
|
|
460
|
+
/**
|
|
461
|
+
* @remarks
|
|
462
|
+
* The message that is returned in response to the request.
|
|
463
|
+
*
|
|
464
|
+
* @example
|
|
465
|
+
* success
|
|
466
|
+
*/
|
|
308
467
|
msg?: string;
|
|
468
|
+
/**
|
|
469
|
+
* @remarks
|
|
470
|
+
* The request ID.
|
|
471
|
+
*
|
|
472
|
+
* @example
|
|
473
|
+
* 01F9144A-2088-5D87-935B-2DB865284B1A
|
|
474
|
+
*/
|
|
309
475
|
requestId?: string;
|
|
310
476
|
static names(): { [key: string]: string } {
|
|
311
477
|
return {
|
|
@@ -356,7 +522,21 @@ export class DescribeUrlModerationResultResponse extends $tea.Model {
|
|
|
356
522
|
}
|
|
357
523
|
|
|
358
524
|
export class FileModerationRequest extends $tea.Model {
|
|
525
|
+
/**
|
|
526
|
+
* @remarks
|
|
527
|
+
* The type of the moderation service.
|
|
528
|
+
*
|
|
529
|
+
* @example
|
|
530
|
+
* document_detection
|
|
531
|
+
*/
|
|
359
532
|
service?: string;
|
|
533
|
+
/**
|
|
534
|
+
* @remarks
|
|
535
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
536
|
+
*
|
|
537
|
+
* @example
|
|
538
|
+
* {"url":"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf"}
|
|
539
|
+
*/
|
|
360
540
|
serviceParameters?: string;
|
|
361
541
|
static names(): { [key: string]: string } {
|
|
362
542
|
return {
|
|
@@ -378,9 +558,34 @@ export class FileModerationRequest extends $tea.Model {
|
|
|
378
558
|
}
|
|
379
559
|
|
|
380
560
|
export class FileModerationResponseBody extends $tea.Model {
|
|
561
|
+
/**
|
|
562
|
+
* @remarks
|
|
563
|
+
* The returned HTTP status code.
|
|
564
|
+
*
|
|
565
|
+
* @example
|
|
566
|
+
* 200
|
|
567
|
+
*/
|
|
381
568
|
code?: number;
|
|
569
|
+
/**
|
|
570
|
+
* @remarks
|
|
571
|
+
* The data returned.
|
|
572
|
+
*/
|
|
382
573
|
data?: FileModerationResponseBodyData;
|
|
574
|
+
/**
|
|
575
|
+
* @remarks
|
|
576
|
+
* The message that is returned in response to the request.
|
|
577
|
+
*
|
|
578
|
+
* @example
|
|
579
|
+
* SUCCESS
|
|
580
|
+
*/
|
|
383
581
|
message?: string;
|
|
582
|
+
/**
|
|
583
|
+
* @remarks
|
|
584
|
+
* The request ID.
|
|
585
|
+
*
|
|
586
|
+
* @example
|
|
587
|
+
* AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
|
|
588
|
+
*/
|
|
384
589
|
requestId?: string;
|
|
385
590
|
static names(): { [key: string]: string } {
|
|
386
591
|
return {
|
|
@@ -431,7 +636,21 @@ export class FileModerationResponse extends $tea.Model {
|
|
|
431
636
|
}
|
|
432
637
|
|
|
433
638
|
export class ImageAsyncModerationRequest extends $tea.Model {
|
|
639
|
+
/**
|
|
640
|
+
* @remarks
|
|
641
|
+
* The type of the moderation service.
|
|
642
|
+
*
|
|
643
|
+
* @example
|
|
644
|
+
* baselineCheck
|
|
645
|
+
*/
|
|
434
646
|
service?: string;
|
|
647
|
+
/**
|
|
648
|
+
* @remarks
|
|
649
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
650
|
+
*
|
|
651
|
+
* @example
|
|
652
|
+
* {"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img123****"}
|
|
653
|
+
*/
|
|
435
654
|
serviceParameters?: string;
|
|
436
655
|
static names(): { [key: string]: string } {
|
|
437
656
|
return {
|
|
@@ -453,9 +672,34 @@ export class ImageAsyncModerationRequest extends $tea.Model {
|
|
|
453
672
|
}
|
|
454
673
|
|
|
455
674
|
export class ImageAsyncModerationResponseBody extends $tea.Model {
|
|
675
|
+
/**
|
|
676
|
+
* @remarks
|
|
677
|
+
* The returned HTTP status code.
|
|
678
|
+
*
|
|
679
|
+
* @example
|
|
680
|
+
* 200
|
|
681
|
+
*/
|
|
456
682
|
code?: number;
|
|
683
|
+
/**
|
|
684
|
+
* @remarks
|
|
685
|
+
* The data returned.
|
|
686
|
+
*/
|
|
457
687
|
data?: ImageAsyncModerationResponseBodyData;
|
|
688
|
+
/**
|
|
689
|
+
* @remarks
|
|
690
|
+
* The message that is returned in response to the request.
|
|
691
|
+
*
|
|
692
|
+
* @example
|
|
693
|
+
* success
|
|
694
|
+
*/
|
|
458
695
|
msg?: string;
|
|
696
|
+
/**
|
|
697
|
+
* @remarks
|
|
698
|
+
* The request ID.
|
|
699
|
+
*
|
|
700
|
+
* @example
|
|
701
|
+
* 4A926AE2-4C96-573F-824F-0532960799F8
|
|
702
|
+
*/
|
|
459
703
|
requestId?: string;
|
|
460
704
|
static names(): { [key: string]: string } {
|
|
461
705
|
return {
|
|
@@ -506,7 +750,21 @@ export class ImageAsyncModerationResponse extends $tea.Model {
|
|
|
506
750
|
}
|
|
507
751
|
|
|
508
752
|
export class ImageModerationRequest extends $tea.Model {
|
|
753
|
+
/**
|
|
754
|
+
* @remarks
|
|
755
|
+
* The type of the moderation service.
|
|
756
|
+
*
|
|
757
|
+
* @example
|
|
758
|
+
* baselineCheck
|
|
759
|
+
*/
|
|
509
760
|
service?: string;
|
|
761
|
+
/**
|
|
762
|
+
* @remarks
|
|
763
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
764
|
+
*
|
|
765
|
+
* @example
|
|
766
|
+
* {"imageUrl":"https://www.aliyun.com/test.jpg","dataId":"img1234567"}
|
|
767
|
+
*/
|
|
510
768
|
serviceParameters?: string;
|
|
511
769
|
static names(): { [key: string]: string } {
|
|
512
770
|
return {
|
|
@@ -528,9 +786,34 @@ export class ImageModerationRequest extends $tea.Model {
|
|
|
528
786
|
}
|
|
529
787
|
|
|
530
788
|
export class ImageModerationResponseBody extends $tea.Model {
|
|
789
|
+
/**
|
|
790
|
+
* @remarks
|
|
791
|
+
* The returned HTTP status code.
|
|
792
|
+
*
|
|
793
|
+
* @example
|
|
794
|
+
* 200
|
|
795
|
+
*/
|
|
531
796
|
code?: number;
|
|
797
|
+
/**
|
|
798
|
+
* @remarks
|
|
799
|
+
* The data returned.
|
|
800
|
+
*/
|
|
532
801
|
data?: ImageModerationResponseBodyData;
|
|
802
|
+
/**
|
|
803
|
+
* @remarks
|
|
804
|
+
* The message that is returned in response to the request.
|
|
805
|
+
*
|
|
806
|
+
* @example
|
|
807
|
+
* OK
|
|
808
|
+
*/
|
|
533
809
|
msg?: string;
|
|
810
|
+
/**
|
|
811
|
+
* @remarks
|
|
812
|
+
* The request ID.
|
|
813
|
+
*
|
|
814
|
+
* @example
|
|
815
|
+
* 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
|
|
816
|
+
*/
|
|
534
817
|
requestId?: string;
|
|
535
818
|
static names(): { [key: string]: string } {
|
|
536
819
|
return {
|
|
@@ -581,7 +864,21 @@ export class ImageModerationResponse extends $tea.Model {
|
|
|
581
864
|
}
|
|
582
865
|
|
|
583
866
|
export class TextModerationRequest extends $tea.Model {
|
|
867
|
+
/**
|
|
868
|
+
* @remarks
|
|
869
|
+
* The type of the moderation service.
|
|
870
|
+
*
|
|
871
|
+
* @example
|
|
872
|
+
* nickname_detection
|
|
873
|
+
*/
|
|
584
874
|
service?: string;
|
|
875
|
+
/**
|
|
876
|
+
* @remarks
|
|
877
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
878
|
+
*
|
|
879
|
+
* @example
|
|
880
|
+
* {"content":"Content to be moderated"}
|
|
881
|
+
*/
|
|
585
882
|
serviceParameters?: string;
|
|
586
883
|
static names(): { [key: string]: string } {
|
|
587
884
|
return {
|
|
@@ -603,9 +900,34 @@ export class TextModerationRequest extends $tea.Model {
|
|
|
603
900
|
}
|
|
604
901
|
|
|
605
902
|
export class TextModerationResponseBody extends $tea.Model {
|
|
903
|
+
/**
|
|
904
|
+
* @remarks
|
|
905
|
+
* The returned HTTP status code.
|
|
906
|
+
*
|
|
907
|
+
* @example
|
|
908
|
+
* 200
|
|
909
|
+
*/
|
|
606
910
|
code?: number;
|
|
911
|
+
/**
|
|
912
|
+
* @remarks
|
|
913
|
+
* The moderation results.
|
|
914
|
+
*/
|
|
607
915
|
data?: TextModerationResponseBodyData;
|
|
916
|
+
/**
|
|
917
|
+
* @remarks
|
|
918
|
+
* The message that is returned in response to the request.
|
|
919
|
+
*
|
|
920
|
+
* @example
|
|
921
|
+
* OK
|
|
922
|
+
*/
|
|
608
923
|
message?: string;
|
|
924
|
+
/**
|
|
925
|
+
* @remarks
|
|
926
|
+
* The request ID.
|
|
927
|
+
*
|
|
928
|
+
* @example
|
|
929
|
+
* AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
|
|
930
|
+
*/
|
|
609
931
|
requestId?: string;
|
|
610
932
|
static names(): { [key: string]: string } {
|
|
611
933
|
return {
|
|
@@ -656,7 +978,21 @@ export class TextModerationResponse extends $tea.Model {
|
|
|
656
978
|
}
|
|
657
979
|
|
|
658
980
|
export class TextModerationPlusRequest extends $tea.Model {
|
|
981
|
+
/**
|
|
982
|
+
* @remarks
|
|
983
|
+
* The type of the moderation service.
|
|
984
|
+
*
|
|
985
|
+
* @example
|
|
986
|
+
* llm_query_moderation
|
|
987
|
+
*/
|
|
659
988
|
service?: string;
|
|
989
|
+
/**
|
|
990
|
+
* @remarks
|
|
991
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
992
|
+
*
|
|
993
|
+
* @example
|
|
994
|
+
* {"content":"Content to be moderated"}
|
|
995
|
+
*/
|
|
660
996
|
serviceParameters?: string;
|
|
661
997
|
static names(): { [key: string]: string } {
|
|
662
998
|
return {
|
|
@@ -678,9 +1014,34 @@ export class TextModerationPlusRequest extends $tea.Model {
|
|
|
678
1014
|
}
|
|
679
1015
|
|
|
680
1016
|
export class TextModerationPlusResponseBody extends $tea.Model {
|
|
1017
|
+
/**
|
|
1018
|
+
* @remarks
|
|
1019
|
+
* The returned HTTP status code.
|
|
1020
|
+
*
|
|
1021
|
+
* @example
|
|
1022
|
+
* 200
|
|
1023
|
+
*/
|
|
681
1024
|
code?: number;
|
|
1025
|
+
/**
|
|
1026
|
+
* @remarks
|
|
1027
|
+
* The data returned.
|
|
1028
|
+
*/
|
|
682
1029
|
data?: TextModerationPlusResponseBodyData;
|
|
1030
|
+
/**
|
|
1031
|
+
* @remarks
|
|
1032
|
+
* The message that is returned in response to the request.
|
|
1033
|
+
*
|
|
1034
|
+
* @example
|
|
1035
|
+
* OK
|
|
1036
|
+
*/
|
|
683
1037
|
message?: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* @remarks
|
|
1040
|
+
* The request ID.
|
|
1041
|
+
*
|
|
1042
|
+
* @example
|
|
1043
|
+
* AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
|
|
1044
|
+
*/
|
|
684
1045
|
requestId?: string;
|
|
685
1046
|
static names(): { [key: string]: string } {
|
|
686
1047
|
return {
|
|
@@ -731,7 +1092,24 @@ export class TextModerationPlusResponse extends $tea.Model {
|
|
|
731
1092
|
}
|
|
732
1093
|
|
|
733
1094
|
export class UrlAsyncModerationRequest extends $tea.Model {
|
|
1095
|
+
/**
|
|
1096
|
+
* @remarks
|
|
1097
|
+
* The type of the moderation service.
|
|
1098
|
+
*
|
|
1099
|
+
* @example
|
|
1100
|
+
* url_detection
|
|
1101
|
+
*/
|
|
734
1102
|
service?: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* @remarks
|
|
1105
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
1106
|
+
*
|
|
1107
|
+
* @example
|
|
1108
|
+
* {
|
|
1109
|
+
* "url": "https://help.aliyun.com/",
|
|
1110
|
+
* "dataId": "url123******"
|
|
1111
|
+
* }
|
|
1112
|
+
*/
|
|
735
1113
|
serviceParameters?: string;
|
|
736
1114
|
static names(): { [key: string]: string } {
|
|
737
1115
|
return {
|
|
@@ -753,9 +1131,34 @@ export class UrlAsyncModerationRequest extends $tea.Model {
|
|
|
753
1131
|
}
|
|
754
1132
|
|
|
755
1133
|
export class UrlAsyncModerationResponseBody extends $tea.Model {
|
|
1134
|
+
/**
|
|
1135
|
+
* @remarks
|
|
1136
|
+
* The returned HTTP status code.
|
|
1137
|
+
*
|
|
1138
|
+
* @example
|
|
1139
|
+
* 200
|
|
1140
|
+
*/
|
|
756
1141
|
code?: number;
|
|
1142
|
+
/**
|
|
1143
|
+
* @remarks
|
|
1144
|
+
* The data returned.
|
|
1145
|
+
*/
|
|
757
1146
|
data?: UrlAsyncModerationResponseBodyData;
|
|
1147
|
+
/**
|
|
1148
|
+
* @remarks
|
|
1149
|
+
* The message that is returned in response to the request.
|
|
1150
|
+
*
|
|
1151
|
+
* @example
|
|
1152
|
+
* success
|
|
1153
|
+
*/
|
|
758
1154
|
msg?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* @remarks
|
|
1157
|
+
* Id of the request
|
|
1158
|
+
*
|
|
1159
|
+
* @example
|
|
1160
|
+
* 6CF2815C-****-****-B52E-FF6E2****492
|
|
1161
|
+
*/
|
|
759
1162
|
requestId?: string;
|
|
760
1163
|
static names(): { [key: string]: string } {
|
|
761
1164
|
return {
|
|
@@ -806,7 +1209,21 @@ export class UrlAsyncModerationResponse extends $tea.Model {
|
|
|
806
1209
|
}
|
|
807
1210
|
|
|
808
1211
|
export class VideoModerationRequest extends $tea.Model {
|
|
1212
|
+
/**
|
|
1213
|
+
* @remarks
|
|
1214
|
+
* The type of the moderation service.
|
|
1215
|
+
*
|
|
1216
|
+
* @example
|
|
1217
|
+
* videoDetection
|
|
1218
|
+
*/
|
|
809
1219
|
service?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* @remarks
|
|
1222
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
1223
|
+
*
|
|
1224
|
+
* @example
|
|
1225
|
+
* {\\"url\\": \\"https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4\\", \\"dataId\\": \\"94db0b88-f521-11ed-806e-fae21c1f239c\\"}
|
|
1226
|
+
*/
|
|
810
1227
|
serviceParameters?: string;
|
|
811
1228
|
static names(): { [key: string]: string } {
|
|
812
1229
|
return {
|
|
@@ -828,9 +1245,34 @@ export class VideoModerationRequest extends $tea.Model {
|
|
|
828
1245
|
}
|
|
829
1246
|
|
|
830
1247
|
export class VideoModerationResponseBody extends $tea.Model {
|
|
1248
|
+
/**
|
|
1249
|
+
* @remarks
|
|
1250
|
+
* The returned HTTP status code.
|
|
1251
|
+
*
|
|
1252
|
+
* @example
|
|
1253
|
+
* 200
|
|
1254
|
+
*/
|
|
831
1255
|
code?: number;
|
|
1256
|
+
/**
|
|
1257
|
+
* @remarks
|
|
1258
|
+
* The data returned.
|
|
1259
|
+
*/
|
|
832
1260
|
data?: VideoModerationResponseBodyData;
|
|
1261
|
+
/**
|
|
1262
|
+
* @remarks
|
|
1263
|
+
* The message that is returned in response to the request.
|
|
1264
|
+
*
|
|
1265
|
+
* @example
|
|
1266
|
+
* SUCCESS
|
|
1267
|
+
*/
|
|
833
1268
|
message?: string;
|
|
1269
|
+
/**
|
|
1270
|
+
* @remarks
|
|
1271
|
+
* The request ID.
|
|
1272
|
+
*
|
|
1273
|
+
* @example
|
|
1274
|
+
* AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
|
|
1275
|
+
*/
|
|
834
1276
|
requestId?: string;
|
|
835
1277
|
static names(): { [key: string]: string } {
|
|
836
1278
|
return {
|
|
@@ -881,7 +1323,21 @@ export class VideoModerationResponse extends $tea.Model {
|
|
|
881
1323
|
}
|
|
882
1324
|
|
|
883
1325
|
export class VideoModerationCancelRequest extends $tea.Model {
|
|
1326
|
+
/**
|
|
1327
|
+
* @remarks
|
|
1328
|
+
* The type of the moderation service.
|
|
1329
|
+
*
|
|
1330
|
+
* @example
|
|
1331
|
+
* videoDetection
|
|
1332
|
+
*/
|
|
884
1333
|
service?: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* @remarks
|
|
1336
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
1337
|
+
*
|
|
1338
|
+
* @example
|
|
1339
|
+
* {\\"taskId\\":\\"vi_s_4O9gp7GfNQdx9GOqdekFmk-1z2RJT\\"}
|
|
1340
|
+
*/
|
|
885
1341
|
serviceParameters?: string;
|
|
886
1342
|
static names(): { [key: string]: string } {
|
|
887
1343
|
return {
|
|
@@ -903,8 +1359,29 @@ export class VideoModerationCancelRequest extends $tea.Model {
|
|
|
903
1359
|
}
|
|
904
1360
|
|
|
905
1361
|
export class VideoModerationCancelResponseBody extends $tea.Model {
|
|
1362
|
+
/**
|
|
1363
|
+
* @remarks
|
|
1364
|
+
* The returned HTTP status code.
|
|
1365
|
+
*
|
|
1366
|
+
* @example
|
|
1367
|
+
* 200
|
|
1368
|
+
*/
|
|
906
1369
|
code?: number;
|
|
1370
|
+
/**
|
|
1371
|
+
* @remarks
|
|
1372
|
+
* The message that is returned in response to the request.
|
|
1373
|
+
*
|
|
1374
|
+
* @example
|
|
1375
|
+
* OK
|
|
1376
|
+
*/
|
|
907
1377
|
message?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* @remarks
|
|
1380
|
+
* The request ID.
|
|
1381
|
+
*
|
|
1382
|
+
* @example
|
|
1383
|
+
* 6CF2815C-****-****-B52E-FF6E2****492
|
|
1384
|
+
*/
|
|
908
1385
|
requestId?: string;
|
|
909
1386
|
static names(): { [key: string]: string } {
|
|
910
1387
|
return {
|
|
@@ -953,7 +1430,21 @@ export class VideoModerationCancelResponse extends $tea.Model {
|
|
|
953
1430
|
}
|
|
954
1431
|
|
|
955
1432
|
export class VideoModerationResultRequest extends $tea.Model {
|
|
1433
|
+
/**
|
|
1434
|
+
* @remarks
|
|
1435
|
+
* The type of the moderation service.
|
|
1436
|
+
*
|
|
1437
|
+
* @example
|
|
1438
|
+
* videoDetection
|
|
1439
|
+
*/
|
|
956
1440
|
service?: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* @remarks
|
|
1443
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
1444
|
+
*
|
|
1445
|
+
* @example
|
|
1446
|
+
* {\\"taskId\\":\\"au_f_8PoWiZKoLbczp5HRn69VdT-1y8@U5\\"}
|
|
1447
|
+
*/
|
|
957
1448
|
serviceParameters?: string;
|
|
958
1449
|
static names(): { [key: string]: string } {
|
|
959
1450
|
return {
|
|
@@ -975,9 +1466,34 @@ export class VideoModerationResultRequest extends $tea.Model {
|
|
|
975
1466
|
}
|
|
976
1467
|
|
|
977
1468
|
export class VideoModerationResultResponseBody extends $tea.Model {
|
|
1469
|
+
/**
|
|
1470
|
+
* @remarks
|
|
1471
|
+
* The returned HTTP status code.
|
|
1472
|
+
*
|
|
1473
|
+
* @example
|
|
1474
|
+
* 200
|
|
1475
|
+
*/
|
|
978
1476
|
code?: number;
|
|
1477
|
+
/**
|
|
1478
|
+
* @remarks
|
|
1479
|
+
* The data returned.
|
|
1480
|
+
*/
|
|
979
1481
|
data?: VideoModerationResultResponseBodyData;
|
|
1482
|
+
/**
|
|
1483
|
+
* @remarks
|
|
1484
|
+
* The message that is returned in response to the request.
|
|
1485
|
+
*
|
|
1486
|
+
* @example
|
|
1487
|
+
* success finished
|
|
1488
|
+
*/
|
|
980
1489
|
message?: string;
|
|
1490
|
+
/**
|
|
1491
|
+
* @remarks
|
|
1492
|
+
* The request ID.
|
|
1493
|
+
*
|
|
1494
|
+
* @example
|
|
1495
|
+
* 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
|
|
1496
|
+
*/
|
|
981
1497
|
requestId?: string;
|
|
982
1498
|
static names(): { [key: string]: string } {
|
|
983
1499
|
return {
|
|
@@ -1028,7 +1544,21 @@ export class VideoModerationResultResponse extends $tea.Model {
|
|
|
1028
1544
|
}
|
|
1029
1545
|
|
|
1030
1546
|
export class VoiceModerationRequest extends $tea.Model {
|
|
1547
|
+
/**
|
|
1548
|
+
* @remarks
|
|
1549
|
+
* The type of the moderation service.
|
|
1550
|
+
*
|
|
1551
|
+
* @example
|
|
1552
|
+
* nickname_detection
|
|
1553
|
+
*/
|
|
1031
1554
|
service?: string;
|
|
1555
|
+
/**
|
|
1556
|
+
* @remarks
|
|
1557
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
1558
|
+
*
|
|
1559
|
+
* @example
|
|
1560
|
+
* {"url": "http://aliyundoc.com/test.flv", "dataId": "data1234"}
|
|
1561
|
+
*/
|
|
1032
1562
|
serviceParameters?: string;
|
|
1033
1563
|
static names(): { [key: string]: string } {
|
|
1034
1564
|
return {
|
|
@@ -1050,9 +1580,34 @@ export class VoiceModerationRequest extends $tea.Model {
|
|
|
1050
1580
|
}
|
|
1051
1581
|
|
|
1052
1582
|
export class VoiceModerationResponseBody extends $tea.Model {
|
|
1583
|
+
/**
|
|
1584
|
+
* @remarks
|
|
1585
|
+
* The returned HTTP status code.
|
|
1586
|
+
*
|
|
1587
|
+
* @example
|
|
1588
|
+
* 200
|
|
1589
|
+
*/
|
|
1053
1590
|
code?: number;
|
|
1591
|
+
/**
|
|
1592
|
+
* @remarks
|
|
1593
|
+
* The data returned.
|
|
1594
|
+
*/
|
|
1054
1595
|
data?: VoiceModerationResponseBodyData;
|
|
1596
|
+
/**
|
|
1597
|
+
* @remarks
|
|
1598
|
+
* The message that is returned in response to the request.
|
|
1599
|
+
*
|
|
1600
|
+
* @example
|
|
1601
|
+
* SUCCESS
|
|
1602
|
+
*/
|
|
1055
1603
|
message?: string;
|
|
1604
|
+
/**
|
|
1605
|
+
* @remarks
|
|
1606
|
+
* The request ID.
|
|
1607
|
+
*
|
|
1608
|
+
* @example
|
|
1609
|
+
* AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
|
|
1610
|
+
*/
|
|
1056
1611
|
requestId?: string;
|
|
1057
1612
|
static names(): { [key: string]: string } {
|
|
1058
1613
|
return {
|
|
@@ -1103,7 +1658,21 @@ export class VoiceModerationResponse extends $tea.Model {
|
|
|
1103
1658
|
}
|
|
1104
1659
|
|
|
1105
1660
|
export class VoiceModerationCancelRequest extends $tea.Model {
|
|
1661
|
+
/**
|
|
1662
|
+
* @remarks
|
|
1663
|
+
* The type of the moderation service.
|
|
1664
|
+
*
|
|
1665
|
+
* @example
|
|
1666
|
+
* nickname_detection
|
|
1667
|
+
*/
|
|
1106
1668
|
service?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* @remarks
|
|
1671
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
1672
|
+
*
|
|
1673
|
+
* @example
|
|
1674
|
+
* {"taskId":"xxxxx-xxxx"}
|
|
1675
|
+
*/
|
|
1107
1676
|
serviceParameters?: string;
|
|
1108
1677
|
static names(): { [key: string]: string } {
|
|
1109
1678
|
return {
|
|
@@ -1125,8 +1694,29 @@ export class VoiceModerationCancelRequest extends $tea.Model {
|
|
|
1125
1694
|
}
|
|
1126
1695
|
|
|
1127
1696
|
export class VoiceModerationCancelResponseBody extends $tea.Model {
|
|
1697
|
+
/**
|
|
1698
|
+
* @remarks
|
|
1699
|
+
* The returned HTTP status code.
|
|
1700
|
+
*
|
|
1701
|
+
* @example
|
|
1702
|
+
* 200
|
|
1703
|
+
*/
|
|
1128
1704
|
code?: number;
|
|
1705
|
+
/**
|
|
1706
|
+
* @remarks
|
|
1707
|
+
* The message that is returned in response to the request.
|
|
1708
|
+
*
|
|
1709
|
+
* @example
|
|
1710
|
+
* SUCCESS
|
|
1711
|
+
*/
|
|
1129
1712
|
message?: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* @remarks
|
|
1715
|
+
* The request ID.
|
|
1716
|
+
*
|
|
1717
|
+
* @example
|
|
1718
|
+
* 4A926AE2-4C96-573F-824F-0532960799F8
|
|
1719
|
+
*/
|
|
1130
1720
|
requestId?: string;
|
|
1131
1721
|
static names(): { [key: string]: string } {
|
|
1132
1722
|
return {
|
|
@@ -1175,7 +1765,21 @@ export class VoiceModerationCancelResponse extends $tea.Model {
|
|
|
1175
1765
|
}
|
|
1176
1766
|
|
|
1177
1767
|
export class VoiceModerationResultRequest extends $tea.Model {
|
|
1768
|
+
/**
|
|
1769
|
+
* @remarks
|
|
1770
|
+
* The type of the moderation service.
|
|
1771
|
+
*
|
|
1772
|
+
* @example
|
|
1773
|
+
* nickname_detection
|
|
1774
|
+
*/
|
|
1178
1775
|
service?: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* @remarks
|
|
1778
|
+
* The parameters required by the moderation service. The value is a JSON string.
|
|
1779
|
+
*
|
|
1780
|
+
* @example
|
|
1781
|
+
* {"taskId":"xxxxx-xxxx"}
|
|
1782
|
+
*/
|
|
1179
1783
|
serviceParameters?: string;
|
|
1180
1784
|
static names(): { [key: string]: string } {
|
|
1181
1785
|
return {
|
|
@@ -1197,9 +1801,34 @@ export class VoiceModerationResultRequest extends $tea.Model {
|
|
|
1197
1801
|
}
|
|
1198
1802
|
|
|
1199
1803
|
export class VoiceModerationResultResponseBody extends $tea.Model {
|
|
1804
|
+
/**
|
|
1805
|
+
* @remarks
|
|
1806
|
+
* The returned HTTP status code.
|
|
1807
|
+
*
|
|
1808
|
+
* @example
|
|
1809
|
+
* 200
|
|
1810
|
+
*/
|
|
1200
1811
|
code?: number;
|
|
1812
|
+
/**
|
|
1813
|
+
* @remarks
|
|
1814
|
+
* The data returned.
|
|
1815
|
+
*/
|
|
1201
1816
|
data?: VoiceModerationResultResponseBodyData;
|
|
1817
|
+
/**
|
|
1818
|
+
* @remarks
|
|
1819
|
+
* The message that is returned in response to the request.
|
|
1820
|
+
*
|
|
1821
|
+
* @example
|
|
1822
|
+
* SUCCESS
|
|
1823
|
+
*/
|
|
1202
1824
|
message?: string;
|
|
1825
|
+
/**
|
|
1826
|
+
* @remarks
|
|
1827
|
+
* The request ID.
|
|
1828
|
+
*
|
|
1829
|
+
* @example
|
|
1830
|
+
* 2881AD4F-638B-52A3-BA20-F74C5B1CEAE3
|
|
1831
|
+
*/
|
|
1203
1832
|
requestId?: string;
|
|
1204
1833
|
static names(): { [key: string]: string } {
|
|
1205
1834
|
return {
|
|
@@ -1250,7 +1879,21 @@ export class VoiceModerationResultResponse extends $tea.Model {
|
|
|
1250
1879
|
}
|
|
1251
1880
|
|
|
1252
1881
|
export class DescribeFileModerationResultResponseBodyDataPageResultImageResultLabelResult extends $tea.Model {
|
|
1882
|
+
/**
|
|
1883
|
+
* @remarks
|
|
1884
|
+
* Confidence score, 0 to 100, reserved to 2 decimal places.
|
|
1885
|
+
*
|
|
1886
|
+
* @example
|
|
1887
|
+
* 25.0
|
|
1888
|
+
*/
|
|
1253
1889
|
confidence?: number;
|
|
1890
|
+
/**
|
|
1891
|
+
* @remarks
|
|
1892
|
+
* The details of the labels.
|
|
1893
|
+
*
|
|
1894
|
+
* @example
|
|
1895
|
+
* nonlabel
|
|
1896
|
+
*/
|
|
1254
1897
|
label?: string;
|
|
1255
1898
|
static names(): { [key: string]: string } {
|
|
1256
1899
|
return {
|
|
@@ -1272,9 +1915,37 @@ export class DescribeFileModerationResultResponseBodyDataPageResultImageResultLa
|
|
|
1272
1915
|
}
|
|
1273
1916
|
|
|
1274
1917
|
export class DescribeFileModerationResultResponseBodyDataPageResultImageResultLocation extends $tea.Model {
|
|
1918
|
+
/**
|
|
1919
|
+
* @remarks
|
|
1920
|
+
* The H value of the coordinate point.
|
|
1921
|
+
*
|
|
1922
|
+
* @example
|
|
1923
|
+
* 44
|
|
1924
|
+
*/
|
|
1275
1925
|
h?: number;
|
|
1926
|
+
/**
|
|
1927
|
+
* @remarks
|
|
1928
|
+
* The W value of the coordinate point.
|
|
1929
|
+
*
|
|
1930
|
+
* @example
|
|
1931
|
+
* 33
|
|
1932
|
+
*/
|
|
1276
1933
|
w?: number;
|
|
1934
|
+
/**
|
|
1935
|
+
* @remarks
|
|
1936
|
+
* The X value of the coordinate point.
|
|
1937
|
+
*
|
|
1938
|
+
* @example
|
|
1939
|
+
* 11
|
|
1940
|
+
*/
|
|
1277
1941
|
x?: number;
|
|
1942
|
+
/**
|
|
1943
|
+
* @remarks
|
|
1944
|
+
* The Y value of the coordinate point.
|
|
1945
|
+
*
|
|
1946
|
+
* @example
|
|
1947
|
+
* 22
|
|
1948
|
+
*/
|
|
1278
1949
|
y?: number;
|
|
1279
1950
|
static names(): { [key: string]: string } {
|
|
1280
1951
|
return {
|
|
@@ -1300,9 +1971,31 @@ export class DescribeFileModerationResultResponseBodyDataPageResultImageResultLo
|
|
|
1300
1971
|
}
|
|
1301
1972
|
|
|
1302
1973
|
export class DescribeFileModerationResultResponseBodyDataPageResultImageResult extends $tea.Model {
|
|
1974
|
+
/**
|
|
1975
|
+
* @remarks
|
|
1976
|
+
* Description.
|
|
1977
|
+
*
|
|
1978
|
+
* @example
|
|
1979
|
+
* This is a title.
|
|
1980
|
+
*/
|
|
1303
1981
|
description?: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* @remarks
|
|
1984
|
+
* Label information.
|
|
1985
|
+
*/
|
|
1304
1986
|
labelResult?: DescribeFileModerationResultResponseBodyDataPageResultImageResultLabelResult[];
|
|
1987
|
+
/**
|
|
1988
|
+
* @remarks
|
|
1989
|
+
* Location information.
|
|
1990
|
+
*/
|
|
1305
1991
|
location?: DescribeFileModerationResultResponseBodyDataPageResultImageResultLocation;
|
|
1992
|
+
/**
|
|
1993
|
+
* @remarks
|
|
1994
|
+
* The moderation service.
|
|
1995
|
+
*
|
|
1996
|
+
* @example
|
|
1997
|
+
* baselineCheck
|
|
1998
|
+
*/
|
|
1306
1999
|
service?: string;
|
|
1307
2000
|
static names(): { [key: string]: string } {
|
|
1308
2001
|
return {
|
|
@@ -1328,12 +2021,61 @@ export class DescribeFileModerationResultResponseBodyDataPageResultImageResult e
|
|
|
1328
2021
|
}
|
|
1329
2022
|
|
|
1330
2023
|
export class DescribeFileModerationResultResponseBodyDataPageResultTextResult extends $tea.Model {
|
|
2024
|
+
/**
|
|
2025
|
+
* @remarks
|
|
2026
|
+
* Description
|
|
2027
|
+
*
|
|
2028
|
+
* @example
|
|
2029
|
+
* This is a title.
|
|
2030
|
+
*/
|
|
1331
2031
|
description?: string;
|
|
2032
|
+
/**
|
|
2033
|
+
* @remarks
|
|
2034
|
+
* The details of the labels.
|
|
2035
|
+
*
|
|
2036
|
+
* @example
|
|
2037
|
+
* porn
|
|
2038
|
+
*/
|
|
1332
2039
|
labels?: string;
|
|
2040
|
+
/**
|
|
2041
|
+
* @remarks
|
|
2042
|
+
* The risk details that are hit.
|
|
2043
|
+
*
|
|
2044
|
+
* @example
|
|
2045
|
+
* xxx
|
|
2046
|
+
*/
|
|
1333
2047
|
riskTips?: string;
|
|
2048
|
+
/**
|
|
2049
|
+
* @remarks
|
|
2050
|
+
* The risk words that are hit.
|
|
2051
|
+
*
|
|
2052
|
+
* @example
|
|
2053
|
+
* xxx
|
|
2054
|
+
*/
|
|
1334
2055
|
riskWords?: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* @remarks
|
|
2058
|
+
* The moderation service.
|
|
2059
|
+
*
|
|
2060
|
+
* @example
|
|
2061
|
+
* chat_detection
|
|
2062
|
+
*/
|
|
1335
2063
|
service?: string;
|
|
2064
|
+
/**
|
|
2065
|
+
* @remarks
|
|
2066
|
+
* Text content.
|
|
2067
|
+
*
|
|
2068
|
+
* @example
|
|
2069
|
+
* This is a text.
|
|
2070
|
+
*/
|
|
1336
2071
|
text?: string;
|
|
2072
|
+
/**
|
|
2073
|
+
* @remarks
|
|
2074
|
+
* Text segmentation information.
|
|
2075
|
+
*
|
|
2076
|
+
* @example
|
|
2077
|
+
* [0,999]
|
|
2078
|
+
*/
|
|
1337
2079
|
textSegment?: string;
|
|
1338
2080
|
static names(): { [key: string]: string } {
|
|
1339
2081
|
return {
|
|
@@ -1365,10 +2107,39 @@ export class DescribeFileModerationResultResponseBodyDataPageResultTextResult ex
|
|
|
1365
2107
|
}
|
|
1366
2108
|
|
|
1367
2109
|
export class DescribeFileModerationResultResponseBodyDataPageResult extends $tea.Model {
|
|
2110
|
+
/**
|
|
2111
|
+
* @remarks
|
|
2112
|
+
* Image detection results.
|
|
2113
|
+
*/
|
|
1368
2114
|
imageResult?: DescribeFileModerationResultResponseBodyDataPageResultImageResult[];
|
|
2115
|
+
/**
|
|
2116
|
+
* @remarks
|
|
2117
|
+
* The image url.
|
|
2118
|
+
*
|
|
2119
|
+
* @example
|
|
2120
|
+
* https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.jpg
|
|
2121
|
+
*/
|
|
1369
2122
|
imageUrl?: string;
|
|
2123
|
+
/**
|
|
2124
|
+
* @remarks
|
|
2125
|
+
* The page number.
|
|
2126
|
+
*
|
|
2127
|
+
* @example
|
|
2128
|
+
* 1
|
|
2129
|
+
*/
|
|
1370
2130
|
pageNum?: number;
|
|
2131
|
+
/**
|
|
2132
|
+
* @remarks
|
|
2133
|
+
* Text detection results.
|
|
2134
|
+
*/
|
|
1371
2135
|
textResult?: DescribeFileModerationResultResponseBodyDataPageResultTextResult[];
|
|
2136
|
+
/**
|
|
2137
|
+
* @remarks
|
|
2138
|
+
* the text url.
|
|
2139
|
+
*
|
|
2140
|
+
* @example
|
|
2141
|
+
* https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.txt
|
|
2142
|
+
*/
|
|
1372
2143
|
textUrl?: string;
|
|
1373
2144
|
static names(): { [key: string]: string } {
|
|
1374
2145
|
return {
|
|
@@ -1396,9 +2167,34 @@ export class DescribeFileModerationResultResponseBodyDataPageResult extends $tea
|
|
|
1396
2167
|
}
|
|
1397
2168
|
|
|
1398
2169
|
export class DescribeFileModerationResultResponseBodyData extends $tea.Model {
|
|
2170
|
+
/**
|
|
2171
|
+
* @remarks
|
|
2172
|
+
* The ID of the moderated object.
|
|
2173
|
+
*
|
|
2174
|
+
* @example
|
|
2175
|
+
* 26769ada6e264e7ba9aa048241e12be9
|
|
2176
|
+
*/
|
|
1399
2177
|
dataId?: string;
|
|
2178
|
+
/**
|
|
2179
|
+
* @remarks
|
|
2180
|
+
* Optional, document type.
|
|
2181
|
+
*
|
|
2182
|
+
* @example
|
|
2183
|
+
* doc
|
|
2184
|
+
*/
|
|
1400
2185
|
docType?: string;
|
|
2186
|
+
/**
|
|
2187
|
+
* @remarks
|
|
2188
|
+
* The pagination information.
|
|
2189
|
+
*/
|
|
1401
2190
|
pageResult?: DescribeFileModerationResultResponseBodyDataPageResult[];
|
|
2191
|
+
/**
|
|
2192
|
+
* @remarks
|
|
2193
|
+
* The URL of the moderation object.
|
|
2194
|
+
*
|
|
2195
|
+
* @example
|
|
2196
|
+
* https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf
|
|
2197
|
+
*/
|
|
1402
2198
|
url?: string;
|
|
1403
2199
|
static names(): { [key: string]: string } {
|
|
1404
2200
|
return {
|
|
@@ -1424,7 +2220,21 @@ export class DescribeFileModerationResultResponseBodyData extends $tea.Model {
|
|
|
1424
2220
|
}
|
|
1425
2221
|
|
|
1426
2222
|
export class DescribeImageModerationResultResponseBodyDataResult extends $tea.Model {
|
|
2223
|
+
/**
|
|
2224
|
+
* @remarks
|
|
2225
|
+
* The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.
|
|
2226
|
+
*
|
|
2227
|
+
* @example
|
|
2228
|
+
* 81.22
|
|
2229
|
+
*/
|
|
1427
2230
|
confidence?: number;
|
|
2231
|
+
/**
|
|
2232
|
+
* @remarks
|
|
2233
|
+
* The labels returned after the image moderation.
|
|
2234
|
+
*
|
|
2235
|
+
* @example
|
|
2236
|
+
* violent_explosion
|
|
2237
|
+
*/
|
|
1428
2238
|
label?: string;
|
|
1429
2239
|
static names(): { [key: string]: string } {
|
|
1430
2240
|
return {
|
|
@@ -1446,11 +2256,50 @@ export class DescribeImageModerationResultResponseBodyDataResult extends $tea.Mo
|
|
|
1446
2256
|
}
|
|
1447
2257
|
|
|
1448
2258
|
export class DescribeImageModerationResultResponseBodyData extends $tea.Model {
|
|
2259
|
+
/**
|
|
2260
|
+
* @remarks
|
|
2261
|
+
* The ID of the moderated object.
|
|
2262
|
+
*
|
|
2263
|
+
* @example
|
|
2264
|
+
* 2a5389eb-4ff8-4584-ac99-644e2a539aa1
|
|
2265
|
+
*/
|
|
1449
2266
|
dataId?: string;
|
|
2267
|
+
/**
|
|
2268
|
+
* @remarks
|
|
2269
|
+
* Image frame information.
|
|
2270
|
+
*
|
|
2271
|
+
* @example
|
|
2272
|
+
* [{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]
|
|
2273
|
+
*/
|
|
1450
2274
|
frame?: string;
|
|
2275
|
+
/**
|
|
2276
|
+
* @remarks
|
|
2277
|
+
* Number of result frames
|
|
2278
|
+
*
|
|
2279
|
+
* @example
|
|
2280
|
+
* 1
|
|
2281
|
+
*/
|
|
1451
2282
|
frameNum?: number;
|
|
2283
|
+
/**
|
|
2284
|
+
* @remarks
|
|
2285
|
+
* The reqId field returned by the Image Async Moderation API.
|
|
2286
|
+
*
|
|
2287
|
+
* @example
|
|
2288
|
+
* B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
|
|
2289
|
+
*/
|
|
1452
2290
|
reqId?: string;
|
|
2291
|
+
/**
|
|
2292
|
+
* @remarks
|
|
2293
|
+
* The results of image moderation parameters such as the label parameter and the confidence parameter.
|
|
2294
|
+
*/
|
|
1453
2295
|
result?: DescribeImageModerationResultResponseBodyDataResult[];
|
|
2296
|
+
/**
|
|
2297
|
+
* @remarks
|
|
2298
|
+
* Risk Level.
|
|
2299
|
+
*
|
|
2300
|
+
* @example
|
|
2301
|
+
* high
|
|
2302
|
+
*/
|
|
1454
2303
|
riskLevel?: string;
|
|
1455
2304
|
static names(): { [key: string]: string } {
|
|
1456
2305
|
return {
|
|
@@ -1480,8 +2329,29 @@ export class DescribeImageModerationResultResponseBodyData extends $tea.Model {
|
|
|
1480
2329
|
}
|
|
1481
2330
|
|
|
1482
2331
|
export class DescribeImageResultExtResponseBodyDataCustomImage extends $tea.Model {
|
|
2332
|
+
/**
|
|
2333
|
+
* @remarks
|
|
2334
|
+
* The image ID.
|
|
2335
|
+
*
|
|
2336
|
+
* @example
|
|
2337
|
+
* 123456
|
|
2338
|
+
*/
|
|
1483
2339
|
imageId?: string;
|
|
2340
|
+
/**
|
|
2341
|
+
* @remarks
|
|
2342
|
+
* The image library ID.
|
|
2343
|
+
*
|
|
2344
|
+
* @example
|
|
2345
|
+
* 123456
|
|
2346
|
+
*/
|
|
1484
2347
|
libId?: string;
|
|
2348
|
+
/**
|
|
2349
|
+
* @remarks
|
|
2350
|
+
* The image library name.
|
|
2351
|
+
*
|
|
2352
|
+
* @example
|
|
2353
|
+
* 图库123
|
|
2354
|
+
*/
|
|
1485
2355
|
libName?: string;
|
|
1486
2356
|
static names(): { [key: string]: string } {
|
|
1487
2357
|
return {
|
|
@@ -1505,6 +2375,13 @@ export class DescribeImageResultExtResponseBodyDataCustomImage extends $tea.Mode
|
|
|
1505
2375
|
}
|
|
1506
2376
|
|
|
1507
2377
|
export class DescribeImageResultExtResponseBodyDataPublicFigure extends $tea.Model {
|
|
2378
|
+
/**
|
|
2379
|
+
* @remarks
|
|
2380
|
+
* Identified person coding information.
|
|
2381
|
+
*
|
|
2382
|
+
* @example
|
|
2383
|
+
* yzazhzou
|
|
2384
|
+
*/
|
|
1508
2385
|
figureId?: string;
|
|
1509
2386
|
static names(): { [key: string]: string } {
|
|
1510
2387
|
return {
|
|
@@ -1524,8 +2401,29 @@ export class DescribeImageResultExtResponseBodyDataPublicFigure extends $tea.Mod
|
|
|
1524
2401
|
}
|
|
1525
2402
|
|
|
1526
2403
|
export class DescribeImageResultExtResponseBodyDataTextInImageCustomTexts extends $tea.Model {
|
|
2404
|
+
/**
|
|
2405
|
+
* @remarks
|
|
2406
|
+
* Custom words, multiple words separated by commas.
|
|
2407
|
+
*
|
|
2408
|
+
* @example
|
|
2409
|
+
* aaa,bbb
|
|
2410
|
+
*/
|
|
1527
2411
|
keyWords?: string;
|
|
2412
|
+
/**
|
|
2413
|
+
* @remarks
|
|
2414
|
+
* Custom library ID.
|
|
2415
|
+
*
|
|
2416
|
+
* @example
|
|
2417
|
+
* 123456
|
|
2418
|
+
*/
|
|
1528
2419
|
libId?: string;
|
|
2420
|
+
/**
|
|
2421
|
+
* @remarks
|
|
2422
|
+
* Custom library name.
|
|
2423
|
+
*
|
|
2424
|
+
* @example
|
|
2425
|
+
* test
|
|
2426
|
+
*/
|
|
1529
2427
|
libName?: string;
|
|
1530
2428
|
static names(): { [key: string]: string } {
|
|
1531
2429
|
return {
|
|
@@ -1549,8 +2447,20 @@ export class DescribeImageResultExtResponseBodyDataTextInImageCustomTexts extend
|
|
|
1549
2447
|
}
|
|
1550
2448
|
|
|
1551
2449
|
export class DescribeImageResultExtResponseBodyDataTextInImage extends $tea.Model {
|
|
2450
|
+
/**
|
|
2451
|
+
* @remarks
|
|
2452
|
+
* When a custom text library is hit, the custom library ID, custom library name, and custom word are returned.
|
|
2453
|
+
*/
|
|
1552
2454
|
customTexts?: DescribeImageResultExtResponseBodyDataTextInImageCustomTexts[];
|
|
2455
|
+
/**
|
|
2456
|
+
* @remarks
|
|
2457
|
+
* Returns the text information in the recognized image.
|
|
2458
|
+
*/
|
|
1553
2459
|
ocrDatas?: string[];
|
|
2460
|
+
/**
|
|
2461
|
+
* @remarks
|
|
2462
|
+
* The risk words that are hit. Multiple words are separated by commas (,).
|
|
2463
|
+
*/
|
|
1554
2464
|
riskWords?: string[];
|
|
1555
2465
|
static names(): { [key: string]: string } {
|
|
1556
2466
|
return {
|
|
@@ -1574,8 +2484,20 @@ export class DescribeImageResultExtResponseBodyDataTextInImage extends $tea.Mode
|
|
|
1574
2484
|
}
|
|
1575
2485
|
|
|
1576
2486
|
export class DescribeImageResultExtResponseBodyData extends $tea.Model {
|
|
2487
|
+
/**
|
|
2488
|
+
* @remarks
|
|
2489
|
+
* If a custom image library is hit, information about the hit custom image library is returned.
|
|
2490
|
+
*/
|
|
1577
2491
|
customImage?: DescribeImageResultExtResponseBodyDataCustomImage[];
|
|
2492
|
+
/**
|
|
2493
|
+
* @remarks
|
|
2494
|
+
* Person information list.
|
|
2495
|
+
*/
|
|
1578
2496
|
publicFigure?: DescribeImageResultExtResponseBodyDataPublicFigure[];
|
|
2497
|
+
/**
|
|
2498
|
+
* @remarks
|
|
2499
|
+
* Returns the text information in the hit image.
|
|
2500
|
+
*/
|
|
1579
2501
|
textInImage?: DescribeImageResultExtResponseBodyDataTextInImage;
|
|
1580
2502
|
static names(): { [key: string]: string } {
|
|
1581
2503
|
return {
|
|
@@ -1599,13 +2521,69 @@ export class DescribeImageResultExtResponseBodyData extends $tea.Model {
|
|
|
1599
2521
|
}
|
|
1600
2522
|
|
|
1601
2523
|
export class DescribeUploadTokenResponseBodyData extends $tea.Model {
|
|
2524
|
+
/**
|
|
2525
|
+
* @remarks
|
|
2526
|
+
* The AccessKey ID.
|
|
2527
|
+
*
|
|
2528
|
+
* @example
|
|
2529
|
+
* STS.NUEUjvDqMuvH6oQA1TXxxH4wVR
|
|
2530
|
+
*/
|
|
1602
2531
|
accessKeyId?: string;
|
|
2532
|
+
/**
|
|
2533
|
+
* @remarks
|
|
2534
|
+
* The AccessKey secret.
|
|
2535
|
+
*
|
|
2536
|
+
* @example
|
|
2537
|
+
* xxxx
|
|
2538
|
+
*/
|
|
1603
2539
|
accessKeySecret?: string;
|
|
2540
|
+
/**
|
|
2541
|
+
* @remarks
|
|
2542
|
+
* The bucket name.
|
|
2543
|
+
*
|
|
2544
|
+
* @example
|
|
2545
|
+
* oss-cip-shanghai
|
|
2546
|
+
*/
|
|
1604
2547
|
bucketName?: string;
|
|
2548
|
+
/**
|
|
2549
|
+
* @remarks
|
|
2550
|
+
* The time when the file sharing link expires.
|
|
2551
|
+
*
|
|
2552
|
+
* @example
|
|
2553
|
+
* 1720577200
|
|
2554
|
+
*/
|
|
1605
2555
|
expiration?: number;
|
|
2556
|
+
/**
|
|
2557
|
+
* @remarks
|
|
2558
|
+
* The file prefix.
|
|
2559
|
+
*
|
|
2560
|
+
* @example
|
|
2561
|
+
* upload/1xxb89/
|
|
2562
|
+
*/
|
|
1606
2563
|
fileNamePrefix?: string;
|
|
2564
|
+
/**
|
|
2565
|
+
* @remarks
|
|
2566
|
+
* the oss intranet point.
|
|
2567
|
+
*
|
|
2568
|
+
* @example
|
|
2569
|
+
* https://oss-cn-shanghai-internal.aliyuncs.com
|
|
2570
|
+
*/
|
|
1607
2571
|
ossInternalEndPoint?: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* @remarks
|
|
2574
|
+
* the oss internet point.
|
|
2575
|
+
*
|
|
2576
|
+
* @example
|
|
2577
|
+
* https://oss-cn-shanghai.aliyuncs.com
|
|
2578
|
+
*/
|
|
1608
2579
|
ossInternetEndPoint?: string;
|
|
2580
|
+
/**
|
|
2581
|
+
* @remarks
|
|
2582
|
+
* The security token.
|
|
2583
|
+
*
|
|
2584
|
+
* @example
|
|
2585
|
+
* xxxx
|
|
2586
|
+
*/
|
|
1609
2587
|
securityToken?: string;
|
|
1610
2588
|
static names(): { [key: string]: string } {
|
|
1611
2589
|
return {
|
|
@@ -1639,12 +2617,28 @@ export class DescribeUploadTokenResponseBodyData extends $tea.Model {
|
|
|
1639
2617
|
}
|
|
1640
2618
|
|
|
1641
2619
|
export class DescribeUrlModerationResultResponseBodyDataExtraInfo extends $tea.Model {
|
|
2620
|
+
/**
|
|
2621
|
+
* @remarks
|
|
2622
|
+
* ICP record number.
|
|
2623
|
+
*
|
|
2624
|
+
* @example
|
|
2625
|
+
* xx
|
|
2626
|
+
*/
|
|
1642
2627
|
icpNo?: string;
|
|
2628
|
+
/**
|
|
2629
|
+
* @remarks
|
|
2630
|
+
* ICP filing type.
|
|
2631
|
+
*
|
|
2632
|
+
* @example
|
|
2633
|
+
* xx
|
|
2634
|
+
*/
|
|
1643
2635
|
icpType?: string;
|
|
2636
|
+
siteType?: string;
|
|
1644
2637
|
static names(): { [key: string]: string } {
|
|
1645
2638
|
return {
|
|
1646
2639
|
icpNo: 'IcpNo',
|
|
1647
2640
|
icpType: 'IcpType',
|
|
2641
|
+
siteType: 'SiteType',
|
|
1648
2642
|
};
|
|
1649
2643
|
}
|
|
1650
2644
|
|
|
@@ -1652,6 +2646,7 @@ export class DescribeUrlModerationResultResponseBodyDataExtraInfo extends $tea.M
|
|
|
1652
2646
|
return {
|
|
1653
2647
|
icpNo: 'string',
|
|
1654
2648
|
icpType: 'string',
|
|
2649
|
+
siteType: 'string',
|
|
1655
2650
|
};
|
|
1656
2651
|
}
|
|
1657
2652
|
|
|
@@ -1661,7 +2656,21 @@ export class DescribeUrlModerationResultResponseBodyDataExtraInfo extends $tea.M
|
|
|
1661
2656
|
}
|
|
1662
2657
|
|
|
1663
2658
|
export class DescribeUrlModerationResultResponseBodyDataResult extends $tea.Model {
|
|
2659
|
+
/**
|
|
2660
|
+
* @remarks
|
|
2661
|
+
* The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.
|
|
2662
|
+
*
|
|
2663
|
+
* @example
|
|
2664
|
+
* 81.22
|
|
2665
|
+
*/
|
|
1664
2666
|
confidence?: number;
|
|
2667
|
+
/**
|
|
2668
|
+
* @remarks
|
|
2669
|
+
* The labels returned after the url async moderation.
|
|
2670
|
+
*
|
|
2671
|
+
* @example
|
|
2672
|
+
* sexual_url
|
|
2673
|
+
*/
|
|
1665
2674
|
label?: string;
|
|
1666
2675
|
static names(): { [key: string]: string } {
|
|
1667
2676
|
return {
|
|
@@ -1683,9 +2692,31 @@ export class DescribeUrlModerationResultResponseBodyDataResult extends $tea.Mode
|
|
|
1683
2692
|
}
|
|
1684
2693
|
|
|
1685
2694
|
export class DescribeUrlModerationResultResponseBodyData extends $tea.Model {
|
|
2695
|
+
/**
|
|
2696
|
+
* @remarks
|
|
2697
|
+
* The ID of the moderated object.
|
|
2698
|
+
*
|
|
2699
|
+
* @example
|
|
2700
|
+
* 26769ada6e264e7ba9aa048241e12be9
|
|
2701
|
+
*/
|
|
1686
2702
|
dataId?: string;
|
|
2703
|
+
/**
|
|
2704
|
+
* @remarks
|
|
2705
|
+
* Supplementary information.
|
|
2706
|
+
*/
|
|
1687
2707
|
extraInfo?: DescribeUrlModerationResultResponseBodyDataExtraInfo;
|
|
2708
|
+
/**
|
|
2709
|
+
* @remarks
|
|
2710
|
+
* The reqId field returned by the Url Async Moderation API.
|
|
2711
|
+
*
|
|
2712
|
+
* @example
|
|
2713
|
+
* B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
|
|
2714
|
+
*/
|
|
1688
2715
|
reqId?: string;
|
|
2716
|
+
/**
|
|
2717
|
+
* @remarks
|
|
2718
|
+
* The results of url async moderation parameters such as the label parameter and the confidence parameter.
|
|
2719
|
+
*/
|
|
1689
2720
|
result?: DescribeUrlModerationResultResponseBodyDataResult[];
|
|
1690
2721
|
static names(): { [key: string]: string } {
|
|
1691
2722
|
return {
|
|
@@ -1711,6 +2742,13 @@ export class DescribeUrlModerationResultResponseBodyData extends $tea.Model {
|
|
|
1711
2742
|
}
|
|
1712
2743
|
|
|
1713
2744
|
export class FileModerationResponseBodyData extends $tea.Model {
|
|
2745
|
+
/**
|
|
2746
|
+
* @remarks
|
|
2747
|
+
* The task ID.
|
|
2748
|
+
*
|
|
2749
|
+
* @example
|
|
2750
|
+
* xxxxx-xxxxx
|
|
2751
|
+
*/
|
|
1714
2752
|
taskId?: string;
|
|
1715
2753
|
static names(): { [key: string]: string } {
|
|
1716
2754
|
return {
|
|
@@ -1730,7 +2768,21 @@ export class FileModerationResponseBodyData extends $tea.Model {
|
|
|
1730
2768
|
}
|
|
1731
2769
|
|
|
1732
2770
|
export class ImageAsyncModerationResponseBodyData extends $tea.Model {
|
|
2771
|
+
/**
|
|
2772
|
+
* @remarks
|
|
2773
|
+
* The ID of the moderated object.
|
|
2774
|
+
*
|
|
2775
|
+
* @example
|
|
2776
|
+
* fb5ffab1-993b-449f-b8d6-b97d5e3331f2
|
|
2777
|
+
*/
|
|
1733
2778
|
dataId?: string;
|
|
2779
|
+
/**
|
|
2780
|
+
* @remarks
|
|
2781
|
+
* The reqId field returned by the Image Async Moderation API. You can use this field to query the detection results.
|
|
2782
|
+
*
|
|
2783
|
+
* @example
|
|
2784
|
+
* A07B3DB9-D762-5C56-95B1-8EC55CF176D2
|
|
2785
|
+
*/
|
|
1734
2786
|
reqId?: string;
|
|
1735
2787
|
static names(): { [key: string]: string } {
|
|
1736
2788
|
return {
|
|
@@ -1752,8 +2804,29 @@ export class ImageAsyncModerationResponseBodyData extends $tea.Model {
|
|
|
1752
2804
|
}
|
|
1753
2805
|
|
|
1754
2806
|
export class ImageModerationResponseBodyDataExtCustomImage extends $tea.Model {
|
|
2807
|
+
/**
|
|
2808
|
+
* @remarks
|
|
2809
|
+
* The image ID.
|
|
2810
|
+
*
|
|
2811
|
+
* @example
|
|
2812
|
+
* 123456
|
|
2813
|
+
*/
|
|
1755
2814
|
imageId?: string;
|
|
2815
|
+
/**
|
|
2816
|
+
* @remarks
|
|
2817
|
+
* The image library ID.
|
|
2818
|
+
*
|
|
2819
|
+
* @example
|
|
2820
|
+
* lib_123456
|
|
2821
|
+
*/
|
|
1756
2822
|
libId?: string;
|
|
2823
|
+
/**
|
|
2824
|
+
* @remarks
|
|
2825
|
+
* The image library name.
|
|
2826
|
+
*
|
|
2827
|
+
* @example
|
|
2828
|
+
* xx
|
|
2829
|
+
*/
|
|
1757
2830
|
libName?: string;
|
|
1758
2831
|
static names(): { [key: string]: string } {
|
|
1759
2832
|
return {
|
|
@@ -1777,9 +2850,37 @@ export class ImageModerationResponseBodyDataExtCustomImage extends $tea.Model {
|
|
|
1777
2850
|
}
|
|
1778
2851
|
|
|
1779
2852
|
export class ImageModerationResponseBodyDataExtLogoDataLocation extends $tea.Model {
|
|
2853
|
+
/**
|
|
2854
|
+
* @remarks
|
|
2855
|
+
* The height of the text area, in pixels.
|
|
2856
|
+
*
|
|
2857
|
+
* @example
|
|
2858
|
+
* 44
|
|
2859
|
+
*/
|
|
1780
2860
|
h?: number;
|
|
2861
|
+
/**
|
|
2862
|
+
* @remarks
|
|
2863
|
+
* The width of the text area, in pixels.
|
|
2864
|
+
*
|
|
2865
|
+
* @example
|
|
2866
|
+
* 33
|
|
2867
|
+
*/
|
|
1781
2868
|
w?: number;
|
|
2869
|
+
/**
|
|
2870
|
+
* @remarks
|
|
2871
|
+
* The distance between the upper-left corner of the text area and the y-axis, using the upper-left corner of the image as the coordinate origin, in pixels.
|
|
2872
|
+
*
|
|
2873
|
+
* @example
|
|
2874
|
+
* 11
|
|
2875
|
+
*/
|
|
1782
2876
|
x?: number;
|
|
2877
|
+
/**
|
|
2878
|
+
* @remarks
|
|
2879
|
+
* The distance between the upper left corner of the text area and the x-axis, with the upper left corner of the image as the coordinate origin, in pixels.
|
|
2880
|
+
*
|
|
2881
|
+
* @example
|
|
2882
|
+
* 22
|
|
2883
|
+
*/
|
|
1783
2884
|
y?: number;
|
|
1784
2885
|
static names(): { [key: string]: string } {
|
|
1785
2886
|
return {
|
|
@@ -1805,8 +2906,29 @@ export class ImageModerationResponseBodyDataExtLogoDataLocation extends $tea.Mod
|
|
|
1805
2906
|
}
|
|
1806
2907
|
|
|
1807
2908
|
export class ImageModerationResponseBodyDataExtLogoDataLogo extends $tea.Model {
|
|
2909
|
+
/**
|
|
2910
|
+
* @remarks
|
|
2911
|
+
* The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.
|
|
2912
|
+
*
|
|
2913
|
+
* @example
|
|
2914
|
+
* 99.01
|
|
2915
|
+
*/
|
|
1808
2916
|
confidence?: number;
|
|
2917
|
+
/**
|
|
2918
|
+
* @remarks
|
|
2919
|
+
* Logo category.
|
|
2920
|
+
*
|
|
2921
|
+
* @example
|
|
2922
|
+
* xx
|
|
2923
|
+
*/
|
|
1809
2924
|
label?: string;
|
|
2925
|
+
/**
|
|
2926
|
+
* @remarks
|
|
2927
|
+
* Logo name.
|
|
2928
|
+
*
|
|
2929
|
+
* @example
|
|
2930
|
+
* xx
|
|
2931
|
+
*/
|
|
1810
2932
|
name?: string;
|
|
1811
2933
|
static names(): { [key: string]: string } {
|
|
1812
2934
|
return {
|
|
@@ -1830,7 +2952,15 @@ export class ImageModerationResponseBodyDataExtLogoDataLogo extends $tea.Model {
|
|
|
1830
2952
|
}
|
|
1831
2953
|
|
|
1832
2954
|
export class ImageModerationResponseBodyDataExtLogoData extends $tea.Model {
|
|
2955
|
+
/**
|
|
2956
|
+
* @remarks
|
|
2957
|
+
* Location information.
|
|
2958
|
+
*/
|
|
1833
2959
|
location?: ImageModerationResponseBodyDataExtLogoDataLocation;
|
|
2960
|
+
/**
|
|
2961
|
+
* @remarks
|
|
2962
|
+
* Logo information.
|
|
2963
|
+
*/
|
|
1834
2964
|
logo?: ImageModerationResponseBodyDataExtLogoDataLogo[];
|
|
1835
2965
|
static names(): { [key: string]: string } {
|
|
1836
2966
|
return {
|
|
@@ -1852,9 +2982,37 @@ export class ImageModerationResponseBodyDataExtLogoData extends $tea.Model {
|
|
|
1852
2982
|
}
|
|
1853
2983
|
|
|
1854
2984
|
export class ImageModerationResponseBodyDataExtOcrResultLocation extends $tea.Model {
|
|
2985
|
+
/**
|
|
2986
|
+
* @remarks
|
|
2987
|
+
* The height of the text area, in pixels.
|
|
2988
|
+
*
|
|
2989
|
+
* @example
|
|
2990
|
+
* 44
|
|
2991
|
+
*/
|
|
1855
2992
|
h?: number;
|
|
2993
|
+
/**
|
|
2994
|
+
* @remarks
|
|
2995
|
+
* The width of the text area, in pixels.
|
|
2996
|
+
*
|
|
2997
|
+
* @example
|
|
2998
|
+
* 33
|
|
2999
|
+
*/
|
|
1856
3000
|
w?: number;
|
|
3001
|
+
/**
|
|
3002
|
+
* @remarks
|
|
3003
|
+
* The distance between the upper-left corner of the text area and the y-axis, using the upper-left corner of the image as the coordinate origin, in pixels.
|
|
3004
|
+
*
|
|
3005
|
+
* @example
|
|
3006
|
+
* 11
|
|
3007
|
+
*/
|
|
1857
3008
|
x?: number;
|
|
3009
|
+
/**
|
|
3010
|
+
* @remarks
|
|
3011
|
+
* The distance between the upper left corner of the text area and the x-axis, with the upper left corner of the image as the coordinate origin, in pixels.
|
|
3012
|
+
*
|
|
3013
|
+
* @example
|
|
3014
|
+
* 22
|
|
3015
|
+
*/
|
|
1858
3016
|
y?: number;
|
|
1859
3017
|
static names(): { [key: string]: string } {
|
|
1860
3018
|
return {
|
|
@@ -1880,7 +3038,18 @@ export class ImageModerationResponseBodyDataExtOcrResultLocation extends $tea.Mo
|
|
|
1880
3038
|
}
|
|
1881
3039
|
|
|
1882
3040
|
export class ImageModerationResponseBodyDataExtOcrResult extends $tea.Model {
|
|
3041
|
+
/**
|
|
3042
|
+
* @remarks
|
|
3043
|
+
* Location information.
|
|
3044
|
+
*/
|
|
1883
3045
|
location?: ImageModerationResponseBodyDataExtOcrResultLocation;
|
|
3046
|
+
/**
|
|
3047
|
+
* @remarks
|
|
3048
|
+
* The text information in the recognized image.
|
|
3049
|
+
*
|
|
3050
|
+
* @example
|
|
3051
|
+
* xx
|
|
3052
|
+
*/
|
|
1884
3053
|
text?: string;
|
|
1885
3054
|
static names(): { [key: string]: string } {
|
|
1886
3055
|
return {
|
|
@@ -1901,13 +3070,57 @@ export class ImageModerationResponseBodyDataExtOcrResult extends $tea.Model {
|
|
|
1901
3070
|
}
|
|
1902
3071
|
}
|
|
1903
3072
|
|
|
3073
|
+
export class ImageModerationResponseBodyDataExtPublicFigureLocation extends $tea.Model {
|
|
3074
|
+
h?: number;
|
|
3075
|
+
w?: number;
|
|
3076
|
+
x?: number;
|
|
3077
|
+
y?: number;
|
|
3078
|
+
static names(): { [key: string]: string } {
|
|
3079
|
+
return {
|
|
3080
|
+
h: 'H',
|
|
3081
|
+
w: 'W',
|
|
3082
|
+
x: 'X',
|
|
3083
|
+
y: 'Y',
|
|
3084
|
+
};
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
static types(): { [key: string]: any } {
|
|
3088
|
+
return {
|
|
3089
|
+
h: 'number',
|
|
3090
|
+
w: 'number',
|
|
3091
|
+
x: 'number',
|
|
3092
|
+
y: 'number',
|
|
3093
|
+
};
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
constructor(map?: { [key: string]: any }) {
|
|
3097
|
+
super(map);
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
|
|
1904
3101
|
export class ImageModerationResponseBodyDataExtPublicFigure extends $tea.Model {
|
|
3102
|
+
/**
|
|
3103
|
+
* @remarks
|
|
3104
|
+
* Identified person coding information.
|
|
3105
|
+
*
|
|
3106
|
+
* @example
|
|
3107
|
+
* xx
|
|
3108
|
+
*/
|
|
1905
3109
|
figureId?: string;
|
|
3110
|
+
/**
|
|
3111
|
+
* @remarks
|
|
3112
|
+
* Identified person name information.
|
|
3113
|
+
*
|
|
3114
|
+
* @example
|
|
3115
|
+
* xx
|
|
3116
|
+
*/
|
|
1906
3117
|
figureName?: string;
|
|
3118
|
+
location?: ImageModerationResponseBodyDataExtPublicFigureLocation[];
|
|
1907
3119
|
static names(): { [key: string]: string } {
|
|
1908
3120
|
return {
|
|
1909
3121
|
figureId: 'FigureId',
|
|
1910
3122
|
figureName: 'FigureName',
|
|
3123
|
+
location: 'Location',
|
|
1911
3124
|
};
|
|
1912
3125
|
}
|
|
1913
3126
|
|
|
@@ -1915,6 +3128,7 @@ export class ImageModerationResponseBodyDataExtPublicFigure extends $tea.Model {
|
|
|
1915
3128
|
return {
|
|
1916
3129
|
figureId: 'string',
|
|
1917
3130
|
figureName: 'string',
|
|
3131
|
+
location: { 'type': 'array', 'itemType': ImageModerationResponseBodyDataExtPublicFigureLocation },
|
|
1918
3132
|
};
|
|
1919
3133
|
}
|
|
1920
3134
|
|
|
@@ -1924,7 +3138,21 @@ export class ImageModerationResponseBodyDataExtPublicFigure extends $tea.Model {
|
|
|
1924
3138
|
}
|
|
1925
3139
|
|
|
1926
3140
|
export class ImageModerationResponseBodyDataExtRecognition extends $tea.Model {
|
|
3141
|
+
/**
|
|
3142
|
+
* @remarks
|
|
3143
|
+
* The category of image recognition.
|
|
3144
|
+
*
|
|
3145
|
+
* @example
|
|
3146
|
+
* xx
|
|
3147
|
+
*/
|
|
1927
3148
|
classification?: string;
|
|
3149
|
+
/**
|
|
3150
|
+
* @remarks
|
|
3151
|
+
* The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.
|
|
3152
|
+
*
|
|
3153
|
+
* @example
|
|
3154
|
+
* 99.01
|
|
3155
|
+
*/
|
|
1928
3156
|
confidence?: number;
|
|
1929
3157
|
static names(): { [key: string]: string } {
|
|
1930
3158
|
return {
|
|
@@ -1946,8 +3174,29 @@ export class ImageModerationResponseBodyDataExtRecognition extends $tea.Model {
|
|
|
1946
3174
|
}
|
|
1947
3175
|
|
|
1948
3176
|
export class ImageModerationResponseBodyDataExtTextInImageCustomText extends $tea.Model {
|
|
3177
|
+
/**
|
|
3178
|
+
* @remarks
|
|
3179
|
+
* Custom words, multiple words separated by commas.
|
|
3180
|
+
*
|
|
3181
|
+
* @example
|
|
3182
|
+
* aaa,bbb
|
|
3183
|
+
*/
|
|
1949
3184
|
keyWords?: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* @remarks
|
|
3187
|
+
* Custom library ID.
|
|
3188
|
+
*
|
|
3189
|
+
* @example
|
|
3190
|
+
* 123456
|
|
3191
|
+
*/
|
|
1950
3192
|
libId?: string;
|
|
3193
|
+
/**
|
|
3194
|
+
* @remarks
|
|
3195
|
+
* Custom library name.
|
|
3196
|
+
*
|
|
3197
|
+
* @example
|
|
3198
|
+
* xxxx
|
|
3199
|
+
*/
|
|
1951
3200
|
libName?: string;
|
|
1952
3201
|
static names(): { [key: string]: string } {
|
|
1953
3202
|
return {
|
|
@@ -1971,9 +3220,37 @@ export class ImageModerationResponseBodyDataExtTextInImageCustomText extends $te
|
|
|
1971
3220
|
}
|
|
1972
3221
|
|
|
1973
3222
|
export class ImageModerationResponseBodyDataExtTextInImageOcrResultLocation extends $tea.Model {
|
|
3223
|
+
/**
|
|
3224
|
+
* @remarks
|
|
3225
|
+
* The height of the text area, in pixels.
|
|
3226
|
+
*
|
|
3227
|
+
* @example
|
|
3228
|
+
* 33
|
|
3229
|
+
*/
|
|
1974
3230
|
h?: number;
|
|
3231
|
+
/**
|
|
3232
|
+
* @remarks
|
|
3233
|
+
* The width of the text area, in pixels.
|
|
3234
|
+
*
|
|
3235
|
+
* @example
|
|
3236
|
+
* 44
|
|
3237
|
+
*/
|
|
1975
3238
|
w?: number;
|
|
3239
|
+
/**
|
|
3240
|
+
* @remarks
|
|
3241
|
+
* The distance between the upper-left corner of the text area and the y-axis, using the upper-left corner of the image as the coordinate origin, in pixels.
|
|
3242
|
+
*
|
|
3243
|
+
* @example
|
|
3244
|
+
* 11
|
|
3245
|
+
*/
|
|
1976
3246
|
x?: number;
|
|
3247
|
+
/**
|
|
3248
|
+
* @remarks
|
|
3249
|
+
* The distance between the upper left corner of the text area and the x-axis, with the upper left corner of the image as the coordinate origin, in pixels.
|
|
3250
|
+
*
|
|
3251
|
+
* @example
|
|
3252
|
+
* 22
|
|
3253
|
+
*/
|
|
1977
3254
|
y?: number;
|
|
1978
3255
|
static names(): { [key: string]: string } {
|
|
1979
3256
|
return {
|
|
@@ -1999,7 +3276,18 @@ export class ImageModerationResponseBodyDataExtTextInImageOcrResultLocation exte
|
|
|
1999
3276
|
}
|
|
2000
3277
|
|
|
2001
3278
|
export class ImageModerationResponseBodyDataExtTextInImageOcrResult extends $tea.Model {
|
|
3279
|
+
/**
|
|
3280
|
+
* @remarks
|
|
3281
|
+
* Location information.
|
|
3282
|
+
*/
|
|
2002
3283
|
location?: ImageModerationResponseBodyDataExtTextInImageOcrResultLocation;
|
|
3284
|
+
/**
|
|
3285
|
+
* @remarks
|
|
3286
|
+
* The text information in the recognized image.
|
|
3287
|
+
*
|
|
3288
|
+
* @example
|
|
3289
|
+
* xx
|
|
3290
|
+
*/
|
|
2003
3291
|
text?: string;
|
|
2004
3292
|
static names(): { [key: string]: string } {
|
|
2005
3293
|
return {
|
|
@@ -2021,8 +3309,20 @@ export class ImageModerationResponseBodyDataExtTextInImageOcrResult extends $tea
|
|
|
2021
3309
|
}
|
|
2022
3310
|
|
|
2023
3311
|
export class ImageModerationResponseBodyDataExtTextInImage extends $tea.Model {
|
|
3312
|
+
/**
|
|
3313
|
+
* @remarks
|
|
3314
|
+
* When a custom text library is hit, the custom library ID, custom library name, and custom word are returned.
|
|
3315
|
+
*/
|
|
2024
3316
|
customText?: ImageModerationResponseBodyDataExtTextInImageCustomText[];
|
|
3317
|
+
/**
|
|
3318
|
+
* @remarks
|
|
3319
|
+
* Returns the text information in the recognized image.
|
|
3320
|
+
*/
|
|
2025
3321
|
ocrResult?: ImageModerationResponseBodyDataExtTextInImageOcrResult[];
|
|
3322
|
+
/**
|
|
3323
|
+
* @remarks
|
|
3324
|
+
* The risk words that are hit. Multiple words are separated by commas (,).
|
|
3325
|
+
*/
|
|
2026
3326
|
riskWord?: string[];
|
|
2027
3327
|
static names(): { [key: string]: string } {
|
|
2028
3328
|
return {
|
|
@@ -2046,11 +3346,35 @@ export class ImageModerationResponseBodyDataExtTextInImage extends $tea.Model {
|
|
|
2046
3346
|
}
|
|
2047
3347
|
|
|
2048
3348
|
export class ImageModerationResponseBodyDataExt extends $tea.Model {
|
|
3349
|
+
/**
|
|
3350
|
+
* @remarks
|
|
3351
|
+
* If a custom image library is hit, information about the hit custom image library is returned.
|
|
3352
|
+
*/
|
|
2049
3353
|
customImage?: ImageModerationResponseBodyDataExtCustomImage[];
|
|
3354
|
+
/**
|
|
3355
|
+
* @remarks
|
|
3356
|
+
* Logo information.
|
|
3357
|
+
*/
|
|
2050
3358
|
logoData?: ImageModerationResponseBodyDataExtLogoData[];
|
|
3359
|
+
/**
|
|
3360
|
+
* @remarks
|
|
3361
|
+
* Returns the text information in the recognized image.
|
|
3362
|
+
*/
|
|
2051
3363
|
ocrResult?: ImageModerationResponseBodyDataExtOcrResult[];
|
|
3364
|
+
/**
|
|
3365
|
+
* @remarks
|
|
3366
|
+
* Person information list.
|
|
3367
|
+
*/
|
|
2052
3368
|
publicFigure?: ImageModerationResponseBodyDataExtPublicFigure[];
|
|
3369
|
+
/**
|
|
3370
|
+
* @remarks
|
|
3371
|
+
* The result of image recognition.
|
|
3372
|
+
*/
|
|
2053
3373
|
recognition?: ImageModerationResponseBodyDataExtRecognition[];
|
|
3374
|
+
/**
|
|
3375
|
+
* @remarks
|
|
3376
|
+
* Returns the text information in the hit image.
|
|
3377
|
+
*/
|
|
2054
3378
|
textInImage?: ImageModerationResponseBodyDataExtTextInImage;
|
|
2055
3379
|
static names(): { [key: string]: string } {
|
|
2056
3380
|
return {
|
|
@@ -2080,7 +3404,21 @@ export class ImageModerationResponseBodyDataExt extends $tea.Model {
|
|
|
2080
3404
|
}
|
|
2081
3405
|
|
|
2082
3406
|
export class ImageModerationResponseBodyDataResult extends $tea.Model {
|
|
3407
|
+
/**
|
|
3408
|
+
* @remarks
|
|
3409
|
+
* The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places. Some labels do not have scores of confidence levels.
|
|
3410
|
+
*
|
|
3411
|
+
* @example
|
|
3412
|
+
* 81.22
|
|
3413
|
+
*/
|
|
2083
3414
|
confidence?: number;
|
|
3415
|
+
/**
|
|
3416
|
+
* @remarks
|
|
3417
|
+
* The labels returned after the image moderation.
|
|
3418
|
+
*
|
|
3419
|
+
* @example
|
|
3420
|
+
* violent_explosion
|
|
3421
|
+
*/
|
|
2084
3422
|
label?: string;
|
|
2085
3423
|
static names(): { [key: string]: string } {
|
|
2086
3424
|
return {
|
|
@@ -2102,9 +3440,31 @@ export class ImageModerationResponseBodyDataResult extends $tea.Model {
|
|
|
2102
3440
|
}
|
|
2103
3441
|
|
|
2104
3442
|
export class ImageModerationResponseBodyData extends $tea.Model {
|
|
3443
|
+
/**
|
|
3444
|
+
* @remarks
|
|
3445
|
+
* The ID of the moderated object.
|
|
3446
|
+
*
|
|
3447
|
+
* @example
|
|
3448
|
+
* fb5ffab1-993b-449f-b8d6-b97d5e3331f2
|
|
3449
|
+
*/
|
|
2105
3450
|
dataId?: string;
|
|
3451
|
+
/**
|
|
3452
|
+
* @remarks
|
|
3453
|
+
* Auxiliary reference information.
|
|
3454
|
+
*/
|
|
2106
3455
|
ext?: ImageModerationResponseBodyDataExt;
|
|
3456
|
+
/**
|
|
3457
|
+
* @remarks
|
|
3458
|
+
* The results of image moderation parameters such as the label parameter and the confidence parameter.
|
|
3459
|
+
*/
|
|
2107
3460
|
result?: ImageModerationResponseBodyDataResult[];
|
|
3461
|
+
/**
|
|
3462
|
+
* @remarks
|
|
3463
|
+
* Risk Level.
|
|
3464
|
+
*
|
|
3465
|
+
* @example
|
|
3466
|
+
* high
|
|
3467
|
+
*/
|
|
2108
3468
|
riskLevel?: string;
|
|
2109
3469
|
static names(): { [key: string]: string } {
|
|
2110
3470
|
return {
|
|
@@ -2130,9 +3490,37 @@ export class ImageModerationResponseBodyData extends $tea.Model {
|
|
|
2130
3490
|
}
|
|
2131
3491
|
|
|
2132
3492
|
export class TextModerationResponseBodyData extends $tea.Model {
|
|
3493
|
+
/**
|
|
3494
|
+
* @remarks
|
|
3495
|
+
* The ID of the Alibaba Cloud account.
|
|
3496
|
+
*
|
|
3497
|
+
* @example
|
|
3498
|
+
* 123456
|
|
3499
|
+
*/
|
|
2133
3500
|
accountId?: string;
|
|
3501
|
+
/**
|
|
3502
|
+
* @remarks
|
|
3503
|
+
* The device ID.
|
|
3504
|
+
*
|
|
3505
|
+
* @example
|
|
3506
|
+
* xxxxxx
|
|
3507
|
+
*/
|
|
2134
3508
|
deviceId?: string;
|
|
3509
|
+
/**
|
|
3510
|
+
* @remarks
|
|
3511
|
+
* Labels.
|
|
3512
|
+
*
|
|
3513
|
+
* @example
|
|
3514
|
+
* porn
|
|
3515
|
+
*/
|
|
2135
3516
|
labels?: string;
|
|
3517
|
+
/**
|
|
3518
|
+
* @remarks
|
|
3519
|
+
* The JSON string used to locate the cause.
|
|
3520
|
+
*
|
|
3521
|
+
* @example
|
|
3522
|
+
* {\\"detectedLanguage\\":\\"ar\\",\\"riskTips\\":\\"sexuality_Suggestive\\",\\"riskWords\\":\\"pxxxxy\\",\\"translatedContent\\":\\"pxxxxy sxxxx\\"}
|
|
3523
|
+
*/
|
|
2136
3524
|
reason?: string;
|
|
2137
3525
|
static names(): { [key: string]: string } {
|
|
2138
3526
|
return {
|
|
@@ -2158,8 +3546,29 @@ export class TextModerationResponseBodyData extends $tea.Model {
|
|
|
2158
3546
|
}
|
|
2159
3547
|
|
|
2160
3548
|
export class TextModerationPlusResponseBodyDataAdvice extends $tea.Model {
|
|
3549
|
+
/**
|
|
3550
|
+
* @remarks
|
|
3551
|
+
* Answer
|
|
3552
|
+
*
|
|
3553
|
+
* @example
|
|
3554
|
+
* XXX
|
|
3555
|
+
*/
|
|
2161
3556
|
answer?: string;
|
|
3557
|
+
/**
|
|
3558
|
+
* @remarks
|
|
3559
|
+
* Hit Label
|
|
3560
|
+
*
|
|
3561
|
+
* @example
|
|
3562
|
+
* xxx
|
|
3563
|
+
*/
|
|
2162
3564
|
hitLabel?: string;
|
|
3565
|
+
/**
|
|
3566
|
+
* @remarks
|
|
3567
|
+
* Hit Library Name
|
|
3568
|
+
*
|
|
3569
|
+
* @example
|
|
3570
|
+
* xxx
|
|
3571
|
+
*/
|
|
2163
3572
|
hitLibName?: string;
|
|
2164
3573
|
static names(): { [key: string]: string } {
|
|
2165
3574
|
return {
|
|
@@ -2183,7 +3592,21 @@ export class TextModerationPlusResponseBodyDataAdvice extends $tea.Model {
|
|
|
2183
3592
|
}
|
|
2184
3593
|
|
|
2185
3594
|
export class TextModerationPlusResponseBodyDataResultCustomizedHit extends $tea.Model {
|
|
3595
|
+
/**
|
|
3596
|
+
* @remarks
|
|
3597
|
+
* Hit keywords, comma separated.
|
|
3598
|
+
*
|
|
3599
|
+
* @example
|
|
3600
|
+
* xxx
|
|
3601
|
+
*/
|
|
2186
3602
|
keyWords?: string;
|
|
3603
|
+
/**
|
|
3604
|
+
* @remarks
|
|
3605
|
+
* Library Name
|
|
3606
|
+
*
|
|
3607
|
+
* @example
|
|
3608
|
+
* test
|
|
3609
|
+
*/
|
|
2187
3610
|
libName?: string;
|
|
2188
3611
|
static names(): { [key: string]: string } {
|
|
2189
3612
|
return {
|
|
@@ -2205,9 +3628,34 @@ export class TextModerationPlusResponseBodyDataResultCustomizedHit extends $tea.
|
|
|
2205
3628
|
}
|
|
2206
3629
|
|
|
2207
3630
|
export class TextModerationPlusResponseBodyDataResult extends $tea.Model {
|
|
3631
|
+
/**
|
|
3632
|
+
* @remarks
|
|
3633
|
+
* Confidence score, 0 to 100, reserved to 2 decimal places.
|
|
3634
|
+
*
|
|
3635
|
+
* @example
|
|
3636
|
+
* 81.22
|
|
3637
|
+
*/
|
|
2208
3638
|
confidence?: number;
|
|
3639
|
+
/**
|
|
3640
|
+
* @remarks
|
|
3641
|
+
* Custom keyword hits
|
|
3642
|
+
*/
|
|
2209
3643
|
customizedHit?: TextModerationPlusResponseBodyDataResultCustomizedHit[];
|
|
3644
|
+
/**
|
|
3645
|
+
* @remarks
|
|
3646
|
+
* Labels.
|
|
3647
|
+
*
|
|
3648
|
+
* @example
|
|
3649
|
+
* porn
|
|
3650
|
+
*/
|
|
2210
3651
|
label?: string;
|
|
3652
|
+
/**
|
|
3653
|
+
* @remarks
|
|
3654
|
+
* Risk words
|
|
3655
|
+
*
|
|
3656
|
+
* @example
|
|
3657
|
+
* XXX
|
|
3658
|
+
*/
|
|
2211
3659
|
riskWords?: string;
|
|
2212
3660
|
static names(): { [key: string]: string } {
|
|
2213
3661
|
return {
|
|
@@ -2233,9 +3681,31 @@ export class TextModerationPlusResponseBodyDataResult extends $tea.Model {
|
|
|
2233
3681
|
}
|
|
2234
3682
|
|
|
2235
3683
|
export class TextModerationPlusResponseBodyData extends $tea.Model {
|
|
3684
|
+
/**
|
|
3685
|
+
* @remarks
|
|
3686
|
+
* Advice
|
|
3687
|
+
*/
|
|
2236
3688
|
advice?: TextModerationPlusResponseBodyDataAdvice[];
|
|
3689
|
+
/**
|
|
3690
|
+
* @remarks
|
|
3691
|
+
* The moderation results.
|
|
3692
|
+
*/
|
|
2237
3693
|
result?: TextModerationPlusResponseBodyDataResult[];
|
|
3694
|
+
/**
|
|
3695
|
+
* @remarks
|
|
3696
|
+
* Risk Level
|
|
3697
|
+
*
|
|
3698
|
+
* @example
|
|
3699
|
+
* high
|
|
3700
|
+
*/
|
|
2238
3701
|
riskLevel?: string;
|
|
3702
|
+
/**
|
|
3703
|
+
* @remarks
|
|
3704
|
+
* Score.
|
|
3705
|
+
*
|
|
3706
|
+
* @example
|
|
3707
|
+
* 1
|
|
3708
|
+
*/
|
|
2239
3709
|
score?: number;
|
|
2240
3710
|
static names(): { [key: string]: string } {
|
|
2241
3711
|
return {
|
|
@@ -2261,7 +3731,21 @@ export class TextModerationPlusResponseBodyData extends $tea.Model {
|
|
|
2261
3731
|
}
|
|
2262
3732
|
|
|
2263
3733
|
export class UrlAsyncModerationResponseBodyData extends $tea.Model {
|
|
3734
|
+
/**
|
|
3735
|
+
* @remarks
|
|
3736
|
+
* The ID of the moderated object.
|
|
3737
|
+
*
|
|
3738
|
+
* @example
|
|
3739
|
+
* 26769ada6e264e7ba9aa048241e12be9
|
|
3740
|
+
*/
|
|
2264
3741
|
dataId?: string;
|
|
3742
|
+
/**
|
|
3743
|
+
* @remarks
|
|
3744
|
+
* The reqId field returned by the Url Async Moderation API.
|
|
3745
|
+
*
|
|
3746
|
+
* @example
|
|
3747
|
+
* A07B3DB9-D762-5C56-95B1-8EC55CF176D2
|
|
3748
|
+
*/
|
|
2265
3749
|
reqId?: string;
|
|
2266
3750
|
static names(): { [key: string]: string } {
|
|
2267
3751
|
return {
|
|
@@ -2283,7 +3767,21 @@ export class UrlAsyncModerationResponseBodyData extends $tea.Model {
|
|
|
2283
3767
|
}
|
|
2284
3768
|
|
|
2285
3769
|
export class VideoModerationResponseBodyData extends $tea.Model {
|
|
3770
|
+
/**
|
|
3771
|
+
* @remarks
|
|
3772
|
+
* The ID of the moderated object.
|
|
3773
|
+
*
|
|
3774
|
+
* @example
|
|
3775
|
+
* data1234
|
|
3776
|
+
*/
|
|
2286
3777
|
dataId?: string;
|
|
3778
|
+
/**
|
|
3779
|
+
* @remarks
|
|
3780
|
+
* The task ID.
|
|
3781
|
+
*
|
|
3782
|
+
* @example
|
|
3783
|
+
* xxxxx-xxxxx
|
|
3784
|
+
*/
|
|
2287
3785
|
taskId?: string;
|
|
2288
3786
|
static names(): { [key: string]: string } {
|
|
2289
3787
|
return {
|
|
@@ -2305,7 +3803,21 @@ export class VideoModerationResponseBodyData extends $tea.Model {
|
|
|
2305
3803
|
}
|
|
2306
3804
|
|
|
2307
3805
|
export class VideoModerationResultResponseBodyDataAudioResultAudioSummarys extends $tea.Model {
|
|
3806
|
+
/**
|
|
3807
|
+
* @remarks
|
|
3808
|
+
* Voice label.
|
|
3809
|
+
*
|
|
3810
|
+
* @example
|
|
3811
|
+
* profanity
|
|
3812
|
+
*/
|
|
2308
3813
|
label?: string;
|
|
3814
|
+
/**
|
|
3815
|
+
* @remarks
|
|
3816
|
+
* The number of times that the label is matched.
|
|
3817
|
+
*
|
|
3818
|
+
* @example
|
|
3819
|
+
* 8
|
|
3820
|
+
*/
|
|
2309
3821
|
labelSum?: number;
|
|
2310
3822
|
static names(): { [key: string]: string } {
|
|
2311
3823
|
return {
|
|
@@ -2327,16 +3839,93 @@ export class VideoModerationResultResponseBodyDataAudioResultAudioSummarys exten
|
|
|
2327
3839
|
}
|
|
2328
3840
|
|
|
2329
3841
|
export class VideoModerationResultResponseBodyDataAudioResultSliceDetails extends $tea.Model {
|
|
3842
|
+
/**
|
|
3843
|
+
* @remarks
|
|
3844
|
+
* The end time of the text after voice-to-text conversion. Unit: seconds.
|
|
3845
|
+
*
|
|
3846
|
+
* @example
|
|
3847
|
+
* 30
|
|
3848
|
+
*/
|
|
2330
3849
|
endTime?: number;
|
|
3850
|
+
/**
|
|
3851
|
+
* @remarks
|
|
3852
|
+
* The end timestamp of the segment. Unit: milliseconds.
|
|
3853
|
+
*
|
|
3854
|
+
* @example
|
|
3855
|
+
* 1685245261939
|
|
3856
|
+
*/
|
|
2331
3857
|
endTimestamp?: number;
|
|
3858
|
+
/**
|
|
3859
|
+
* @remarks
|
|
3860
|
+
* A reserved parameter.
|
|
3861
|
+
*
|
|
3862
|
+
* @example
|
|
3863
|
+
* {\\"consoleProduct\\":\\"slbnext\\"}
|
|
3864
|
+
*/
|
|
2332
3865
|
extend?: string;
|
|
3866
|
+
/**
|
|
3867
|
+
* @remarks
|
|
3868
|
+
* The details of the labels.
|
|
3869
|
+
*
|
|
3870
|
+
* @example
|
|
3871
|
+
* porn
|
|
3872
|
+
*/
|
|
2333
3873
|
labels?: string;
|
|
3874
|
+
/**
|
|
3875
|
+
* @remarks
|
|
3876
|
+
* Subcategory labels. Multiple labels are separated by commas (,).
|
|
3877
|
+
*
|
|
3878
|
+
* @example
|
|
3879
|
+
* ""
|
|
3880
|
+
*/
|
|
2334
3881
|
riskTips?: string;
|
|
3882
|
+
/**
|
|
3883
|
+
* @remarks
|
|
3884
|
+
* The risk words that are hit. Multiple words are separated by commas (,).
|
|
3885
|
+
*
|
|
3886
|
+
* @example
|
|
3887
|
+
* ""
|
|
3888
|
+
*/
|
|
2335
3889
|
riskWords?: string;
|
|
3890
|
+
/**
|
|
3891
|
+
* @remarks
|
|
3892
|
+
* Risk score, default range 0-99.
|
|
3893
|
+
*
|
|
3894
|
+
* @example
|
|
3895
|
+
* 5
|
|
3896
|
+
*/
|
|
2336
3897
|
score?: number;
|
|
3898
|
+
/**
|
|
3899
|
+
* @remarks
|
|
3900
|
+
* The start time of the text after voice-to-text conversion. Unit: seconds.
|
|
3901
|
+
*
|
|
3902
|
+
* @example
|
|
3903
|
+
* 0
|
|
3904
|
+
*/
|
|
2337
3905
|
startTime?: number;
|
|
3906
|
+
/**
|
|
3907
|
+
* @remarks
|
|
3908
|
+
* The start timestamp of the segment. Unit: milliseconds.
|
|
3909
|
+
*
|
|
3910
|
+
* @example
|
|
3911
|
+
* 1659935002123
|
|
3912
|
+
*/
|
|
2338
3913
|
startTimestamp?: number;
|
|
3914
|
+
/**
|
|
3915
|
+
* @remarks
|
|
3916
|
+
* The text converted from voice.
|
|
3917
|
+
*
|
|
3918
|
+
* @example
|
|
3919
|
+
* Disgusting
|
|
3920
|
+
*/
|
|
2339
3921
|
text?: string;
|
|
3922
|
+
/**
|
|
3923
|
+
* @remarks
|
|
3924
|
+
* If the moderation object is a voice stream, this parameter indicates the temporary access URL of the voice stream to which the text entry corresponds. The validity period of the URL is 30 minutes. You must prepare another URL to store the audio stream at the earliest opportunity.
|
|
3925
|
+
*
|
|
3926
|
+
* @example
|
|
3927
|
+
* http://xxxx.abc.img
|
|
3928
|
+
*/
|
|
2340
3929
|
url?: string;
|
|
2341
3930
|
static names(): { [key: string]: string } {
|
|
2342
3931
|
return {
|
|
@@ -2376,7 +3965,15 @@ export class VideoModerationResultResponseBodyDataAudioResultSliceDetails extend
|
|
|
2376
3965
|
}
|
|
2377
3966
|
|
|
2378
3967
|
export class VideoModerationResultResponseBodyDataAudioResult extends $tea.Model {
|
|
3968
|
+
/**
|
|
3969
|
+
* @remarks
|
|
3970
|
+
* Summary of voice labels.
|
|
3971
|
+
*/
|
|
2379
3972
|
audioSummarys?: VideoModerationResultResponseBodyDataAudioResultAudioSummarys[];
|
|
3973
|
+
/**
|
|
3974
|
+
* @remarks
|
|
3975
|
+
* The details about the text in the moderated voice. The value is a JSON array that contains one or more elements. Each element corresponds to a text entry.
|
|
3976
|
+
*/
|
|
2380
3977
|
sliceDetails?: VideoModerationResultResponseBodyDataAudioResultSliceDetails[];
|
|
2381
3978
|
static names(): { [key: string]: string } {
|
|
2382
3979
|
return {
|
|
@@ -2398,7 +3995,21 @@ export class VideoModerationResultResponseBodyDataAudioResult extends $tea.Model
|
|
|
2398
3995
|
}
|
|
2399
3996
|
|
|
2400
3997
|
export class VideoModerationResultResponseBodyDataFrameResultFrameSummarys extends $tea.Model {
|
|
3998
|
+
/**
|
|
3999
|
+
* @remarks
|
|
4000
|
+
* The label against which a captured frame is matched.
|
|
4001
|
+
*
|
|
4002
|
+
* @example
|
|
4003
|
+
* violent_armedForces
|
|
4004
|
+
*/
|
|
2401
4005
|
label?: string;
|
|
4006
|
+
/**
|
|
4007
|
+
* @remarks
|
|
4008
|
+
* The number of times that the label is matched.
|
|
4009
|
+
*
|
|
4010
|
+
* @example
|
|
4011
|
+
* 8
|
|
4012
|
+
*/
|
|
2402
4013
|
labelSum?: number;
|
|
2403
4014
|
static names(): { [key: string]: string } {
|
|
2404
4015
|
return {
|
|
@@ -2420,7 +4031,21 @@ export class VideoModerationResultResponseBodyDataFrameResultFrameSummarys exten
|
|
|
2420
4031
|
}
|
|
2421
4032
|
|
|
2422
4033
|
export class VideoModerationResultResponseBodyDataFrameResultFramesResultsCustomImage extends $tea.Model {
|
|
4034
|
+
/**
|
|
4035
|
+
* @remarks
|
|
4036
|
+
* The ID of the hit custom image.
|
|
4037
|
+
*
|
|
4038
|
+
* @example
|
|
4039
|
+
* 1234
|
|
4040
|
+
*/
|
|
2423
4041
|
imageId?: string;
|
|
4042
|
+
/**
|
|
4043
|
+
* @remarks
|
|
4044
|
+
* The custom image library ID of the hit.
|
|
4045
|
+
*
|
|
4046
|
+
* @example
|
|
4047
|
+
* 12345678
|
|
4048
|
+
*/
|
|
2424
4049
|
libId?: string;
|
|
2425
4050
|
static names(): { [key: string]: string } {
|
|
2426
4051
|
return {
|
|
@@ -2442,6 +4067,13 @@ export class VideoModerationResultResponseBodyDataFrameResultFramesResultsCustom
|
|
|
2442
4067
|
}
|
|
2443
4068
|
|
|
2444
4069
|
export class VideoModerationResultResponseBodyDataFrameResultFramesResultsPublicFigure extends $tea.Model {
|
|
4070
|
+
/**
|
|
4071
|
+
* @remarks
|
|
4072
|
+
* Identified person coding information.
|
|
4073
|
+
*
|
|
4074
|
+
* @example
|
|
4075
|
+
* xxx001
|
|
4076
|
+
*/
|
|
2445
4077
|
figureId?: string;
|
|
2446
4078
|
static names(): { [key: string]: string } {
|
|
2447
4079
|
return {
|
|
@@ -2461,7 +4093,21 @@ export class VideoModerationResultResponseBodyDataFrameResultFramesResultsPublic
|
|
|
2461
4093
|
}
|
|
2462
4094
|
|
|
2463
4095
|
export class VideoModerationResultResponseBodyDataFrameResultFramesResultsResult extends $tea.Model {
|
|
4096
|
+
/**
|
|
4097
|
+
* @remarks
|
|
4098
|
+
* The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.
|
|
4099
|
+
*
|
|
4100
|
+
* @example
|
|
4101
|
+
* 50
|
|
4102
|
+
*/
|
|
2464
4103
|
confidence?: number;
|
|
4104
|
+
/**
|
|
4105
|
+
* @remarks
|
|
4106
|
+
* The label returned after a frame is moderated. Multiple risk labels and the corresponding scores of confidence levels may be returned for a frame.
|
|
4107
|
+
*
|
|
4108
|
+
* @example
|
|
4109
|
+
* bloody
|
|
4110
|
+
*/
|
|
2465
4111
|
label?: string;
|
|
2466
4112
|
static names(): { [key: string]: string } {
|
|
2467
4113
|
return {
|
|
@@ -2483,10 +4129,33 @@ export class VideoModerationResultResponseBodyDataFrameResultFramesResultsResult
|
|
|
2483
4129
|
}
|
|
2484
4130
|
|
|
2485
4131
|
export class VideoModerationResultResponseBodyDataFrameResultFramesResults extends $tea.Model {
|
|
4132
|
+
/**
|
|
4133
|
+
* @remarks
|
|
4134
|
+
* If a custom image library is hit, information about the hit custom image library is returned.
|
|
4135
|
+
*/
|
|
2486
4136
|
customImage?: VideoModerationResultResponseBodyDataFrameResultFramesResultsCustomImage[];
|
|
4137
|
+
/**
|
|
4138
|
+
* @remarks
|
|
4139
|
+
* If the video contains a specific person, the recognized person code is returned.
|
|
4140
|
+
*/
|
|
2487
4141
|
publicFigure?: VideoModerationResultResponseBodyDataFrameResultFramesResultsPublicFigure[];
|
|
4142
|
+
/**
|
|
4143
|
+
* @remarks
|
|
4144
|
+
* The results of frame moderation parameters such as the label parameter and the confidence parameter.
|
|
4145
|
+
*/
|
|
2488
4146
|
result?: VideoModerationResultResponseBodyDataFrameResultFramesResultsResult[];
|
|
4147
|
+
/**
|
|
4148
|
+
* @remarks
|
|
4149
|
+
* The moderation service that is called.
|
|
4150
|
+
*
|
|
4151
|
+
* @example
|
|
4152
|
+
* tonalityImprove
|
|
4153
|
+
*/
|
|
2489
4154
|
service?: string;
|
|
4155
|
+
/**
|
|
4156
|
+
* @remarks
|
|
4157
|
+
* Returns the text information in the hit image.
|
|
4158
|
+
*/
|
|
2490
4159
|
textInImage?: { [key: string]: any };
|
|
2491
4160
|
static names(): { [key: string]: string } {
|
|
2492
4161
|
return {
|
|
@@ -2514,9 +4183,34 @@ export class VideoModerationResultResponseBodyDataFrameResultFramesResults exten
|
|
|
2514
4183
|
}
|
|
2515
4184
|
|
|
2516
4185
|
export class VideoModerationResultResponseBodyDataFrameResultFrames extends $tea.Model {
|
|
4186
|
+
/**
|
|
4187
|
+
* @remarks
|
|
4188
|
+
* The interval between the start of the video file and the captured frame. Unit: seconds.
|
|
4189
|
+
*
|
|
4190
|
+
* @example
|
|
4191
|
+
* 338
|
|
4192
|
+
*/
|
|
2517
4193
|
offset?: number;
|
|
4194
|
+
/**
|
|
4195
|
+
* @remarks
|
|
4196
|
+
* The results of frame moderation parameters such as the label parameter and the confidence parameter.
|
|
4197
|
+
*/
|
|
2518
4198
|
results?: VideoModerationResultResponseBodyDataFrameResultFramesResults[];
|
|
4199
|
+
/**
|
|
4200
|
+
* @remarks
|
|
4201
|
+
* The temporary URL of a captured frame. This URL is valid for 30 minutes.
|
|
4202
|
+
*
|
|
4203
|
+
* @example
|
|
4204
|
+
* http://xxxx.abc.jpg
|
|
4205
|
+
*/
|
|
2519
4206
|
tempUrl?: string;
|
|
4207
|
+
/**
|
|
4208
|
+
* @remarks
|
|
4209
|
+
* The absolute timestamp. Unit: milliseconds.
|
|
4210
|
+
*
|
|
4211
|
+
* @example
|
|
4212
|
+
* 1684559739000
|
|
4213
|
+
*/
|
|
2520
4214
|
timestamp?: number;
|
|
2521
4215
|
static names(): { [key: string]: string } {
|
|
2522
4216
|
return {
|
|
@@ -2542,8 +4236,23 @@ export class VideoModerationResultResponseBodyDataFrameResultFrames extends $tea
|
|
|
2542
4236
|
}
|
|
2543
4237
|
|
|
2544
4238
|
export class VideoModerationResultResponseBodyDataFrameResult extends $tea.Model {
|
|
4239
|
+
/**
|
|
4240
|
+
* @remarks
|
|
4241
|
+
* The number of captured frames that are returned for the video file.
|
|
4242
|
+
*
|
|
4243
|
+
* @example
|
|
4244
|
+
* 10
|
|
4245
|
+
*/
|
|
2545
4246
|
frameNum?: number;
|
|
4247
|
+
/**
|
|
4248
|
+
* @remarks
|
|
4249
|
+
* The summary of the labels against which captured frames are matched.
|
|
4250
|
+
*/
|
|
2546
4251
|
frameSummarys?: VideoModerationResultResponseBodyDataFrameResultFrameSummarys[];
|
|
4252
|
+
/**
|
|
4253
|
+
* @remarks
|
|
4254
|
+
* The information about the frames that match the labels.
|
|
4255
|
+
*/
|
|
2547
4256
|
frames?: VideoModerationResultResponseBodyDataFrameResultFrames[];
|
|
2548
4257
|
static names(): { [key: string]: string } {
|
|
2549
4258
|
return {
|
|
@@ -2567,10 +4276,39 @@ export class VideoModerationResultResponseBodyDataFrameResult extends $tea.Model
|
|
|
2567
4276
|
}
|
|
2568
4277
|
|
|
2569
4278
|
export class VideoModerationResultResponseBodyData extends $tea.Model {
|
|
4279
|
+
/**
|
|
4280
|
+
* @remarks
|
|
4281
|
+
* The voice moderation results. The moderation results contain a structure.
|
|
4282
|
+
*/
|
|
2570
4283
|
audioResult?: VideoModerationResultResponseBodyDataAudioResult;
|
|
4284
|
+
/**
|
|
4285
|
+
* @remarks
|
|
4286
|
+
* The ID of the moderated object.
|
|
4287
|
+
*
|
|
4288
|
+
* @example
|
|
4289
|
+
* product_content-2055763
|
|
4290
|
+
*/
|
|
2571
4291
|
dataId?: string;
|
|
4292
|
+
/**
|
|
4293
|
+
* @remarks
|
|
4294
|
+
* The image moderation results. If the call is successful, the HTTP status code 200 and moderation results are returned. The moderation results contain a structure.
|
|
4295
|
+
*/
|
|
2572
4296
|
frameResult?: VideoModerationResultResponseBodyDataFrameResult;
|
|
4297
|
+
/**
|
|
4298
|
+
* @remarks
|
|
4299
|
+
* The unique ID of the live stream.
|
|
4300
|
+
*
|
|
4301
|
+
* @example
|
|
4302
|
+
* liveId
|
|
4303
|
+
*/
|
|
2573
4304
|
liveId?: string;
|
|
4305
|
+
/**
|
|
4306
|
+
* @remarks
|
|
4307
|
+
* The task ID.
|
|
4308
|
+
*
|
|
4309
|
+
* @example
|
|
4310
|
+
* xxxxx-xxxxx
|
|
4311
|
+
*/
|
|
2574
4312
|
taskId?: string;
|
|
2575
4313
|
static names(): { [key: string]: string } {
|
|
2576
4314
|
return {
|
|
@@ -2598,7 +4336,21 @@ export class VideoModerationResultResponseBodyData extends $tea.Model {
|
|
|
2598
4336
|
}
|
|
2599
4337
|
|
|
2600
4338
|
export class VoiceModerationResponseBodyData extends $tea.Model {
|
|
4339
|
+
/**
|
|
4340
|
+
* @remarks
|
|
4341
|
+
* The ID of the moderated object.
|
|
4342
|
+
*
|
|
4343
|
+
* @example
|
|
4344
|
+
* data1234
|
|
4345
|
+
*/
|
|
2601
4346
|
dataId?: string;
|
|
4347
|
+
/**
|
|
4348
|
+
* @remarks
|
|
4349
|
+
* The task ID.
|
|
4350
|
+
*
|
|
4351
|
+
* @example
|
|
4352
|
+
* xxxxx-xxxxx
|
|
4353
|
+
*/
|
|
2602
4354
|
taskId?: string;
|
|
2603
4355
|
static names(): { [key: string]: string } {
|
|
2604
4356
|
return {
|
|
@@ -2620,17 +4372,101 @@ export class VoiceModerationResponseBodyData extends $tea.Model {
|
|
|
2620
4372
|
}
|
|
2621
4373
|
|
|
2622
4374
|
export class VoiceModerationResultResponseBodyDataSliceDetails extends $tea.Model {
|
|
4375
|
+
/**
|
|
4376
|
+
* @remarks
|
|
4377
|
+
* The end time of the text after audio-to-text conversion. Unit: seconds.
|
|
4378
|
+
*
|
|
4379
|
+
* @example
|
|
4380
|
+
* 10
|
|
4381
|
+
*/
|
|
2623
4382
|
endTime?: number;
|
|
4383
|
+
/**
|
|
4384
|
+
* @remarks
|
|
4385
|
+
* The end timestamp of the segment. Unit: milliseconds.
|
|
4386
|
+
*
|
|
4387
|
+
* @example
|
|
4388
|
+
* 1678854649720
|
|
4389
|
+
*/
|
|
2624
4390
|
endTimestamp?: number;
|
|
4391
|
+
/**
|
|
4392
|
+
* @remarks
|
|
4393
|
+
* A reserved parameter.
|
|
4394
|
+
*
|
|
4395
|
+
* @example
|
|
4396
|
+
* {\\"riskTips\\":\\"sexuality_Suggestive\\",\\"riskWords\\":\\"pxxxxy\\"}
|
|
4397
|
+
*/
|
|
2625
4398
|
extend?: string;
|
|
4399
|
+
/**
|
|
4400
|
+
* @remarks
|
|
4401
|
+
* The details of the labels.
|
|
4402
|
+
*
|
|
4403
|
+
* @example
|
|
4404
|
+
* sexual_sounds
|
|
4405
|
+
*/
|
|
2626
4406
|
labels?: string;
|
|
4407
|
+
/**
|
|
4408
|
+
* @remarks
|
|
4409
|
+
* Reserved field.
|
|
4410
|
+
*
|
|
4411
|
+
* @example
|
|
4412
|
+
* {}
|
|
4413
|
+
*/
|
|
2627
4414
|
originAlgoResult?: { [key: string]: any };
|
|
4415
|
+
/**
|
|
4416
|
+
* @remarks
|
|
4417
|
+
* The risk details that are hit.
|
|
4418
|
+
*
|
|
4419
|
+
* @example
|
|
4420
|
+
* sexuality_Suggestive
|
|
4421
|
+
*/
|
|
2628
4422
|
riskTips?: string;
|
|
4423
|
+
/**
|
|
4424
|
+
* @remarks
|
|
4425
|
+
* The risk words that are hit.
|
|
4426
|
+
*
|
|
4427
|
+
* @example
|
|
4428
|
+
* AAA,BBB,CCC
|
|
4429
|
+
*/
|
|
2629
4430
|
riskWords?: string;
|
|
4431
|
+
/**
|
|
4432
|
+
* @remarks
|
|
4433
|
+
* Risk score, default range 0-99.
|
|
4434
|
+
*
|
|
4435
|
+
* @example
|
|
4436
|
+
* 87.01
|
|
4437
|
+
*/
|
|
2630
4438
|
score?: number;
|
|
4439
|
+
/**
|
|
4440
|
+
* @remarks
|
|
4441
|
+
* The start time of the text after audio-to-text conversion. Unit: seconds.
|
|
4442
|
+
*
|
|
4443
|
+
* @example
|
|
4444
|
+
* 0
|
|
4445
|
+
*/
|
|
2631
4446
|
startTime?: number;
|
|
4447
|
+
/**
|
|
4448
|
+
* @remarks
|
|
4449
|
+
* The start timestamp of the segment. Unit: milliseconds.
|
|
4450
|
+
*
|
|
4451
|
+
* @example
|
|
4452
|
+
* 1678854649720
|
|
4453
|
+
*/
|
|
2632
4454
|
startTimestamp?: number;
|
|
4455
|
+
/**
|
|
4456
|
+
* @remarks
|
|
4457
|
+
* The text converted from voice.
|
|
4458
|
+
*
|
|
4459
|
+
* @example
|
|
4460
|
+
* Disgusting
|
|
4461
|
+
*/
|
|
2633
4462
|
text?: string;
|
|
4463
|
+
/**
|
|
4464
|
+
* @remarks
|
|
4465
|
+
* The temporary access address of the audio segment. The validity period of the URL is 30 minutes. You must prepare another URL to store the audio segment at the earliest opportunity.
|
|
4466
|
+
*
|
|
4467
|
+
* @example
|
|
4468
|
+
* https://aliyundoc.com
|
|
4469
|
+
*/
|
|
2634
4470
|
url?: string;
|
|
2635
4471
|
static names(): { [key: string]: string } {
|
|
2636
4472
|
return {
|
|
@@ -2672,10 +4508,42 @@ export class VoiceModerationResultResponseBodyDataSliceDetails extends $tea.Mode
|
|
|
2672
4508
|
}
|
|
2673
4509
|
|
|
2674
4510
|
export class VoiceModerationResultResponseBodyData extends $tea.Model {
|
|
4511
|
+
/**
|
|
4512
|
+
* @remarks
|
|
4513
|
+
* The ID of the moderated object.
|
|
4514
|
+
*
|
|
4515
|
+
* @example
|
|
4516
|
+
* 26769ada6e264e7ba9aa048241e12be9
|
|
4517
|
+
*/
|
|
2675
4518
|
dataId?: string;
|
|
4519
|
+
/**
|
|
4520
|
+
* @remarks
|
|
4521
|
+
* The unique ID of the live stream.
|
|
4522
|
+
*
|
|
4523
|
+
* @example
|
|
4524
|
+
* liveId
|
|
4525
|
+
*/
|
|
2676
4526
|
liveId?: string;
|
|
4527
|
+
/**
|
|
4528
|
+
* @remarks
|
|
4529
|
+
* The details about the audio segments.
|
|
4530
|
+
*/
|
|
2677
4531
|
sliceDetails?: VoiceModerationResultResponseBodyDataSliceDetails[];
|
|
4532
|
+
/**
|
|
4533
|
+
* @remarks
|
|
4534
|
+
* The task ID.
|
|
4535
|
+
*
|
|
4536
|
+
* @example
|
|
4537
|
+
* kw24ihd0WGkdi5nniVZM@qOj-1x5Ibb
|
|
4538
|
+
*/
|
|
2678
4539
|
taskId?: string;
|
|
4540
|
+
/**
|
|
4541
|
+
* @remarks
|
|
4542
|
+
* The URL of the moderation object.
|
|
4543
|
+
*
|
|
4544
|
+
* @example
|
|
4545
|
+
* https://aliyundoc.com
|
|
4546
|
+
*/
|
|
2679
4547
|
url?: string;
|
|
2680
4548
|
static names(): { [key: string]: string } {
|
|
2681
4549
|
return {
|
|
@@ -2746,11 +4614,11 @@ export default class Client extends OpenApi {
|
|
|
2746
4614
|
}
|
|
2747
4615
|
|
|
2748
4616
|
/**
|
|
2749
|
-
*
|
|
2750
|
-
*
|
|
2751
|
-
* @param request DescribeFileModerationResultRequest
|
|
2752
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2753
|
-
* @
|
|
4617
|
+
* 文档审核结果
|
|
4618
|
+
*
|
|
4619
|
+
* @param request - DescribeFileModerationResultRequest
|
|
4620
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4621
|
+
* @returns DescribeFileModerationResultResponse
|
|
2754
4622
|
*/
|
|
2755
4623
|
async describeFileModerationResultWithOptions(request: DescribeFileModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFileModerationResultResponse> {
|
|
2756
4624
|
Util.validateModel(request);
|
|
@@ -2781,10 +4649,10 @@ export default class Client extends OpenApi {
|
|
|
2781
4649
|
}
|
|
2782
4650
|
|
|
2783
4651
|
/**
|
|
2784
|
-
*
|
|
2785
|
-
*
|
|
2786
|
-
* @param request DescribeFileModerationResultRequest
|
|
2787
|
-
* @
|
|
4652
|
+
* 文档审核结果
|
|
4653
|
+
*
|
|
4654
|
+
* @param request - DescribeFileModerationResultRequest
|
|
4655
|
+
* @returns DescribeFileModerationResultResponse
|
|
2788
4656
|
*/
|
|
2789
4657
|
async describeFileModerationResult(request: DescribeFileModerationResultRequest): Promise<DescribeFileModerationResultResponse> {
|
|
2790
4658
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2792,11 +4660,11 @@ export default class Client extends OpenApi {
|
|
|
2792
4660
|
}
|
|
2793
4661
|
|
|
2794
4662
|
/**
|
|
2795
|
-
*
|
|
2796
|
-
*
|
|
2797
|
-
* @param request DescribeImageModerationResultRequest
|
|
2798
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2799
|
-
* @
|
|
4663
|
+
* 查询异步检测结果
|
|
4664
|
+
*
|
|
4665
|
+
* @param request - DescribeImageModerationResultRequest
|
|
4666
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4667
|
+
* @returns DescribeImageModerationResultResponse
|
|
2800
4668
|
*/
|
|
2801
4669
|
async describeImageModerationResultWithOptions(request: DescribeImageModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImageModerationResultResponse> {
|
|
2802
4670
|
Util.validateModel(request);
|
|
@@ -2823,10 +4691,10 @@ export default class Client extends OpenApi {
|
|
|
2823
4691
|
}
|
|
2824
4692
|
|
|
2825
4693
|
/**
|
|
2826
|
-
*
|
|
2827
|
-
*
|
|
2828
|
-
* @param request DescribeImageModerationResultRequest
|
|
2829
|
-
* @
|
|
4694
|
+
* 查询异步检测结果
|
|
4695
|
+
*
|
|
4696
|
+
* @param request - DescribeImageModerationResultRequest
|
|
4697
|
+
* @returns DescribeImageModerationResultResponse
|
|
2830
4698
|
*/
|
|
2831
4699
|
async describeImageModerationResult(request: DescribeImageModerationResultRequest): Promise<DescribeImageModerationResultResponse> {
|
|
2832
4700
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2834,11 +4702,11 @@ export default class Client extends OpenApi {
|
|
|
2834
4702
|
}
|
|
2835
4703
|
|
|
2836
4704
|
/**
|
|
2837
|
-
*
|
|
2838
|
-
*
|
|
2839
|
-
* @param request DescribeImageResultExtRequest
|
|
2840
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2841
|
-
* @
|
|
4705
|
+
* 查询检测结果辅助信息
|
|
4706
|
+
*
|
|
4707
|
+
* @param request - DescribeImageResultExtRequest
|
|
4708
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4709
|
+
* @returns DescribeImageResultExtResponse
|
|
2842
4710
|
*/
|
|
2843
4711
|
async describeImageResultExtWithOptions(request: DescribeImageResultExtRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImageResultExtResponse> {
|
|
2844
4712
|
Util.validateModel(request);
|
|
@@ -2869,10 +4737,10 @@ export default class Client extends OpenApi {
|
|
|
2869
4737
|
}
|
|
2870
4738
|
|
|
2871
4739
|
/**
|
|
2872
|
-
*
|
|
2873
|
-
*
|
|
2874
|
-
* @param request DescribeImageResultExtRequest
|
|
2875
|
-
* @
|
|
4740
|
+
* 查询检测结果辅助信息
|
|
4741
|
+
*
|
|
4742
|
+
* @param request - DescribeImageResultExtRequest
|
|
4743
|
+
* @returns DescribeImageResultExtResponse
|
|
2876
4744
|
*/
|
|
2877
4745
|
async describeImageResultExt(request: DescribeImageResultExtRequest): Promise<DescribeImageResultExtResponse> {
|
|
2878
4746
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2880,11 +4748,11 @@ export default class Client extends OpenApi {
|
|
|
2880
4748
|
}
|
|
2881
4749
|
|
|
2882
4750
|
/**
|
|
2883
|
-
*
|
|
2884
|
-
*
|
|
2885
|
-
* @param request DescribeUploadTokenRequest
|
|
2886
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2887
|
-
* @
|
|
4751
|
+
* 查询上传token
|
|
4752
|
+
*
|
|
4753
|
+
* @param request - DescribeUploadTokenRequest
|
|
4754
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4755
|
+
* @returns DescribeUploadTokenResponse
|
|
2888
4756
|
*/
|
|
2889
4757
|
async describeUploadTokenWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeUploadTokenResponse> {
|
|
2890
4758
|
let req = new $OpenApi.OpenApiRequest({ });
|
|
@@ -2903,9 +4771,8 @@ export default class Client extends OpenApi {
|
|
|
2903
4771
|
}
|
|
2904
4772
|
|
|
2905
4773
|
/**
|
|
2906
|
-
*
|
|
2907
|
-
*
|
|
2908
|
-
* @return DescribeUploadTokenResponse
|
|
4774
|
+
* 查询上传token
|
|
4775
|
+
* @returns DescribeUploadTokenResponse
|
|
2909
4776
|
*/
|
|
2910
4777
|
async describeUploadToken(): Promise<DescribeUploadTokenResponse> {
|
|
2911
4778
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2913,11 +4780,11 @@ export default class Client extends OpenApi {
|
|
|
2913
4780
|
}
|
|
2914
4781
|
|
|
2915
4782
|
/**
|
|
2916
|
-
*
|
|
2917
|
-
*
|
|
2918
|
-
* @param request DescribeUrlModerationResultRequest
|
|
2919
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2920
|
-
* @
|
|
4783
|
+
* 查询 url 检测结果
|
|
4784
|
+
*
|
|
4785
|
+
* @param request - DescribeUrlModerationResultRequest
|
|
4786
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4787
|
+
* @returns DescribeUrlModerationResultResponse
|
|
2921
4788
|
*/
|
|
2922
4789
|
async describeUrlModerationResultWithOptions(request: DescribeUrlModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUrlModerationResultResponse> {
|
|
2923
4790
|
Util.validateModel(request);
|
|
@@ -2944,10 +4811,10 @@ export default class Client extends OpenApi {
|
|
|
2944
4811
|
}
|
|
2945
4812
|
|
|
2946
4813
|
/**
|
|
2947
|
-
*
|
|
2948
|
-
*
|
|
2949
|
-
* @param request DescribeUrlModerationResultRequest
|
|
2950
|
-
* @
|
|
4814
|
+
* 查询 url 检测结果
|
|
4815
|
+
*
|
|
4816
|
+
* @param request - DescribeUrlModerationResultRequest
|
|
4817
|
+
* @returns DescribeUrlModerationResultResponse
|
|
2951
4818
|
*/
|
|
2952
4819
|
async describeUrlModerationResult(request: DescribeUrlModerationResultRequest): Promise<DescribeUrlModerationResultResponse> {
|
|
2953
4820
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -2955,11 +4822,11 @@ export default class Client extends OpenApi {
|
|
|
2955
4822
|
}
|
|
2956
4823
|
|
|
2957
4824
|
/**
|
|
2958
|
-
*
|
|
2959
|
-
*
|
|
2960
|
-
* @param request FileModerationRequest
|
|
2961
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
2962
|
-
* @
|
|
4825
|
+
* 文档审核
|
|
4826
|
+
*
|
|
4827
|
+
* @param request - FileModerationRequest
|
|
4828
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4829
|
+
* @returns FileModerationResponse
|
|
2963
4830
|
*/
|
|
2964
4831
|
async fileModerationWithOptions(request: FileModerationRequest, runtime: $Util.RuntimeOptions): Promise<FileModerationResponse> {
|
|
2965
4832
|
Util.validateModel(request);
|
|
@@ -2990,10 +4857,10 @@ export default class Client extends OpenApi {
|
|
|
2990
4857
|
}
|
|
2991
4858
|
|
|
2992
4859
|
/**
|
|
2993
|
-
*
|
|
2994
|
-
*
|
|
2995
|
-
* @param request FileModerationRequest
|
|
2996
|
-
* @
|
|
4860
|
+
* 文档审核
|
|
4861
|
+
*
|
|
4862
|
+
* @param request - FileModerationRequest
|
|
4863
|
+
* @returns FileModerationResponse
|
|
2997
4864
|
*/
|
|
2998
4865
|
async fileModeration(request: FileModerationRequest): Promise<FileModerationResponse> {
|
|
2999
4866
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3001,11 +4868,11 @@ export default class Client extends OpenApi {
|
|
|
3001
4868
|
}
|
|
3002
4869
|
|
|
3003
4870
|
/**
|
|
3004
|
-
*
|
|
3005
|
-
*
|
|
3006
|
-
* @param request ImageAsyncModerationRequest
|
|
3007
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3008
|
-
* @
|
|
4871
|
+
* 图片异步检测
|
|
4872
|
+
*
|
|
4873
|
+
* @param request - ImageAsyncModerationRequest
|
|
4874
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4875
|
+
* @returns ImageAsyncModerationResponse
|
|
3009
4876
|
*/
|
|
3010
4877
|
async imageAsyncModerationWithOptions(request: ImageAsyncModerationRequest, runtime: $Util.RuntimeOptions): Promise<ImageAsyncModerationResponse> {
|
|
3011
4878
|
Util.validateModel(request);
|
|
@@ -3036,10 +4903,10 @@ export default class Client extends OpenApi {
|
|
|
3036
4903
|
}
|
|
3037
4904
|
|
|
3038
4905
|
/**
|
|
3039
|
-
*
|
|
3040
|
-
*
|
|
3041
|
-
* @param request ImageAsyncModerationRequest
|
|
3042
|
-
* @
|
|
4906
|
+
* 图片异步检测
|
|
4907
|
+
*
|
|
4908
|
+
* @param request - ImageAsyncModerationRequest
|
|
4909
|
+
* @returns ImageAsyncModerationResponse
|
|
3043
4910
|
*/
|
|
3044
4911
|
async imageAsyncModeration(request: ImageAsyncModerationRequest): Promise<ImageAsyncModerationResponse> {
|
|
3045
4912
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3047,11 +4914,11 @@ export default class Client extends OpenApi {
|
|
|
3047
4914
|
}
|
|
3048
4915
|
|
|
3049
4916
|
/**
|
|
3050
|
-
*
|
|
3051
|
-
*
|
|
3052
|
-
* @param request ImageModerationRequest
|
|
3053
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3054
|
-
* @
|
|
4917
|
+
* 图片审核
|
|
4918
|
+
*
|
|
4919
|
+
* @param request - ImageModerationRequest
|
|
4920
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4921
|
+
* @returns ImageModerationResponse
|
|
3055
4922
|
*/
|
|
3056
4923
|
async imageModerationWithOptions(request: ImageModerationRequest, runtime: $Util.RuntimeOptions): Promise<ImageModerationResponse> {
|
|
3057
4924
|
Util.validateModel(request);
|
|
@@ -3082,10 +4949,10 @@ export default class Client extends OpenApi {
|
|
|
3082
4949
|
}
|
|
3083
4950
|
|
|
3084
4951
|
/**
|
|
3085
|
-
*
|
|
3086
|
-
*
|
|
3087
|
-
* @param request ImageModerationRequest
|
|
3088
|
-
* @
|
|
4952
|
+
* 图片审核
|
|
4953
|
+
*
|
|
4954
|
+
* @param request - ImageModerationRequest
|
|
4955
|
+
* @returns ImageModerationResponse
|
|
3089
4956
|
*/
|
|
3090
4957
|
async imageModeration(request: ImageModerationRequest): Promise<ImageModerationResponse> {
|
|
3091
4958
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3093,11 +4960,11 @@ export default class Client extends OpenApi {
|
|
|
3093
4960
|
}
|
|
3094
4961
|
|
|
3095
4962
|
/**
|
|
3096
|
-
*
|
|
3097
|
-
*
|
|
3098
|
-
* @param request TextModerationRequest
|
|
3099
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3100
|
-
* @
|
|
4963
|
+
* 文本审核
|
|
4964
|
+
*
|
|
4965
|
+
* @param request - TextModerationRequest
|
|
4966
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4967
|
+
* @returns TextModerationResponse
|
|
3101
4968
|
*/
|
|
3102
4969
|
async textModerationWithOptions(request: TextModerationRequest, runtime: $Util.RuntimeOptions): Promise<TextModerationResponse> {
|
|
3103
4970
|
Util.validateModel(request);
|
|
@@ -3128,10 +4995,10 @@ export default class Client extends OpenApi {
|
|
|
3128
4995
|
}
|
|
3129
4996
|
|
|
3130
4997
|
/**
|
|
3131
|
-
*
|
|
3132
|
-
*
|
|
3133
|
-
* @param request TextModerationRequest
|
|
3134
|
-
* @
|
|
4998
|
+
* 文本审核
|
|
4999
|
+
*
|
|
5000
|
+
* @param request - TextModerationRequest
|
|
5001
|
+
* @returns TextModerationResponse
|
|
3135
5002
|
*/
|
|
3136
5003
|
async textModeration(request: TextModerationRequest): Promise<TextModerationResponse> {
|
|
3137
5004
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3139,11 +5006,11 @@ export default class Client extends OpenApi {
|
|
|
3139
5006
|
}
|
|
3140
5007
|
|
|
3141
5008
|
/**
|
|
3142
|
-
*
|
|
3143
|
-
*
|
|
3144
|
-
* @param request TextModerationPlusRequest
|
|
3145
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3146
|
-
* @
|
|
5009
|
+
* 文本检测Plus版
|
|
5010
|
+
*
|
|
5011
|
+
* @param request - TextModerationPlusRequest
|
|
5012
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5013
|
+
* @returns TextModerationPlusResponse
|
|
3147
5014
|
*/
|
|
3148
5015
|
async textModerationPlusWithOptions(request: TextModerationPlusRequest, runtime: $Util.RuntimeOptions): Promise<TextModerationPlusResponse> {
|
|
3149
5016
|
Util.validateModel(request);
|
|
@@ -3174,10 +5041,10 @@ export default class Client extends OpenApi {
|
|
|
3174
5041
|
}
|
|
3175
5042
|
|
|
3176
5043
|
/**
|
|
3177
|
-
*
|
|
3178
|
-
*
|
|
3179
|
-
* @param request TextModerationPlusRequest
|
|
3180
|
-
* @
|
|
5044
|
+
* 文本检测Plus版
|
|
5045
|
+
*
|
|
5046
|
+
* @param request - TextModerationPlusRequest
|
|
5047
|
+
* @returns TextModerationPlusResponse
|
|
3181
5048
|
*/
|
|
3182
5049
|
async textModerationPlus(request: TextModerationPlusRequest): Promise<TextModerationPlusResponse> {
|
|
3183
5050
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3185,11 +5052,11 @@ export default class Client extends OpenApi {
|
|
|
3185
5052
|
}
|
|
3186
5053
|
|
|
3187
5054
|
/**
|
|
3188
|
-
*
|
|
3189
|
-
*
|
|
3190
|
-
* @param request UrlAsyncModerationRequest
|
|
3191
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3192
|
-
* @
|
|
5055
|
+
* url异步检测
|
|
5056
|
+
*
|
|
5057
|
+
* @param request - UrlAsyncModerationRequest
|
|
5058
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5059
|
+
* @returns UrlAsyncModerationResponse
|
|
3193
5060
|
*/
|
|
3194
5061
|
async urlAsyncModerationWithOptions(request: UrlAsyncModerationRequest, runtime: $Util.RuntimeOptions): Promise<UrlAsyncModerationResponse> {
|
|
3195
5062
|
Util.validateModel(request);
|
|
@@ -3220,10 +5087,10 @@ export default class Client extends OpenApi {
|
|
|
3220
5087
|
}
|
|
3221
5088
|
|
|
3222
5089
|
/**
|
|
3223
|
-
*
|
|
3224
|
-
*
|
|
3225
|
-
* @param request UrlAsyncModerationRequest
|
|
3226
|
-
* @
|
|
5090
|
+
* url异步检测
|
|
5091
|
+
*
|
|
5092
|
+
* @param request - UrlAsyncModerationRequest
|
|
5093
|
+
* @returns UrlAsyncModerationResponse
|
|
3227
5094
|
*/
|
|
3228
5095
|
async urlAsyncModeration(request: UrlAsyncModerationRequest): Promise<UrlAsyncModerationResponse> {
|
|
3229
5096
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3231,11 +5098,11 @@ export default class Client extends OpenApi {
|
|
|
3231
5098
|
}
|
|
3232
5099
|
|
|
3233
5100
|
/**
|
|
3234
|
-
*
|
|
3235
|
-
*
|
|
3236
|
-
* @param request VideoModerationRequest
|
|
3237
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3238
|
-
* @
|
|
5101
|
+
* 视频检测任务提交
|
|
5102
|
+
*
|
|
5103
|
+
* @param request - VideoModerationRequest
|
|
5104
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5105
|
+
* @returns VideoModerationResponse
|
|
3239
5106
|
*/
|
|
3240
5107
|
async videoModerationWithOptions(request: VideoModerationRequest, runtime: $Util.RuntimeOptions): Promise<VideoModerationResponse> {
|
|
3241
5108
|
Util.validateModel(request);
|
|
@@ -3266,10 +5133,10 @@ export default class Client extends OpenApi {
|
|
|
3266
5133
|
}
|
|
3267
5134
|
|
|
3268
5135
|
/**
|
|
3269
|
-
*
|
|
3270
|
-
*
|
|
3271
|
-
* @param request VideoModerationRequest
|
|
3272
|
-
* @
|
|
5136
|
+
* 视频检测任务提交
|
|
5137
|
+
*
|
|
5138
|
+
* @param request - VideoModerationRequest
|
|
5139
|
+
* @returns VideoModerationResponse
|
|
3273
5140
|
*/
|
|
3274
5141
|
async videoModeration(request: VideoModerationRequest): Promise<VideoModerationResponse> {
|
|
3275
5142
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3277,11 +5144,11 @@ export default class Client extends OpenApi {
|
|
|
3277
5144
|
}
|
|
3278
5145
|
|
|
3279
5146
|
/**
|
|
3280
|
-
*
|
|
3281
|
-
*
|
|
3282
|
-
* @param request VideoModerationCancelRequest
|
|
3283
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3284
|
-
* @
|
|
5147
|
+
* 取消视频直播流检测
|
|
5148
|
+
*
|
|
5149
|
+
* @param request - VideoModerationCancelRequest
|
|
5150
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5151
|
+
* @returns VideoModerationCancelResponse
|
|
3285
5152
|
*/
|
|
3286
5153
|
async videoModerationCancelWithOptions(request: VideoModerationCancelRequest, runtime: $Util.RuntimeOptions): Promise<VideoModerationCancelResponse> {
|
|
3287
5154
|
Util.validateModel(request);
|
|
@@ -3312,10 +5179,10 @@ export default class Client extends OpenApi {
|
|
|
3312
5179
|
}
|
|
3313
5180
|
|
|
3314
5181
|
/**
|
|
3315
|
-
*
|
|
3316
|
-
*
|
|
3317
|
-
* @param request VideoModerationCancelRequest
|
|
3318
|
-
* @
|
|
5182
|
+
* 取消视频直播流检测
|
|
5183
|
+
*
|
|
5184
|
+
* @param request - VideoModerationCancelRequest
|
|
5185
|
+
* @returns VideoModerationCancelResponse
|
|
3319
5186
|
*/
|
|
3320
5187
|
async videoModerationCancel(request: VideoModerationCancelRequest): Promise<VideoModerationCancelResponse> {
|
|
3321
5188
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3323,11 +5190,11 @@ export default class Client extends OpenApi {
|
|
|
3323
5190
|
}
|
|
3324
5191
|
|
|
3325
5192
|
/**
|
|
3326
|
-
*
|
|
3327
|
-
*
|
|
3328
|
-
* @param request VideoModerationResultRequest
|
|
3329
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3330
|
-
* @
|
|
5193
|
+
* 获取视频检测结果
|
|
5194
|
+
*
|
|
5195
|
+
* @param request - VideoModerationResultRequest
|
|
5196
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5197
|
+
* @returns VideoModerationResultResponse
|
|
3331
5198
|
*/
|
|
3332
5199
|
async videoModerationResultWithOptions(request: VideoModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<VideoModerationResultResponse> {
|
|
3333
5200
|
Util.validateModel(request);
|
|
@@ -3358,10 +5225,10 @@ export default class Client extends OpenApi {
|
|
|
3358
5225
|
}
|
|
3359
5226
|
|
|
3360
5227
|
/**
|
|
3361
|
-
*
|
|
3362
|
-
*
|
|
3363
|
-
* @param request VideoModerationResultRequest
|
|
3364
|
-
* @
|
|
5228
|
+
* 获取视频检测结果
|
|
5229
|
+
*
|
|
5230
|
+
* @param request - VideoModerationResultRequest
|
|
5231
|
+
* @returns VideoModerationResultResponse
|
|
3365
5232
|
*/
|
|
3366
5233
|
async videoModerationResult(request: VideoModerationResultRequest): Promise<VideoModerationResultResponse> {
|
|
3367
5234
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3369,11 +5236,11 @@ export default class Client extends OpenApi {
|
|
|
3369
5236
|
}
|
|
3370
5237
|
|
|
3371
5238
|
/**
|
|
3372
|
-
*
|
|
3373
|
-
*
|
|
3374
|
-
* @param request VoiceModerationRequest
|
|
3375
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3376
|
-
* @
|
|
5239
|
+
* 语音审核
|
|
5240
|
+
*
|
|
5241
|
+
* @param request - VoiceModerationRequest
|
|
5242
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5243
|
+
* @returns VoiceModerationResponse
|
|
3377
5244
|
*/
|
|
3378
5245
|
async voiceModerationWithOptions(request: VoiceModerationRequest, runtime: $Util.RuntimeOptions): Promise<VoiceModerationResponse> {
|
|
3379
5246
|
Util.validateModel(request);
|
|
@@ -3404,10 +5271,10 @@ export default class Client extends OpenApi {
|
|
|
3404
5271
|
}
|
|
3405
5272
|
|
|
3406
5273
|
/**
|
|
3407
|
-
*
|
|
3408
|
-
*
|
|
3409
|
-
* @param request VoiceModerationRequest
|
|
3410
|
-
* @
|
|
5274
|
+
* 语音审核
|
|
5275
|
+
*
|
|
5276
|
+
* @param request - VoiceModerationRequest
|
|
5277
|
+
* @returns VoiceModerationResponse
|
|
3411
5278
|
*/
|
|
3412
5279
|
async voiceModeration(request: VoiceModerationRequest): Promise<VoiceModerationResponse> {
|
|
3413
5280
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3415,11 +5282,11 @@ export default class Client extends OpenApi {
|
|
|
3415
5282
|
}
|
|
3416
5283
|
|
|
3417
5284
|
/**
|
|
3418
|
-
*
|
|
3419
|
-
*
|
|
3420
|
-
* @param request VoiceModerationCancelRequest
|
|
3421
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3422
|
-
* @
|
|
5285
|
+
* 取消检测
|
|
5286
|
+
*
|
|
5287
|
+
* @param request - VoiceModerationCancelRequest
|
|
5288
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5289
|
+
* @returns VoiceModerationCancelResponse
|
|
3423
5290
|
*/
|
|
3424
5291
|
async voiceModerationCancelWithOptions(request: VoiceModerationCancelRequest, runtime: $Util.RuntimeOptions): Promise<VoiceModerationCancelResponse> {
|
|
3425
5292
|
Util.validateModel(request);
|
|
@@ -3450,10 +5317,10 @@ export default class Client extends OpenApi {
|
|
|
3450
5317
|
}
|
|
3451
5318
|
|
|
3452
5319
|
/**
|
|
3453
|
-
*
|
|
3454
|
-
*
|
|
3455
|
-
* @param request VoiceModerationCancelRequest
|
|
3456
|
-
* @
|
|
5320
|
+
* 取消检测
|
|
5321
|
+
*
|
|
5322
|
+
* @param request - VoiceModerationCancelRequest
|
|
5323
|
+
* @returns VoiceModerationCancelResponse
|
|
3457
5324
|
*/
|
|
3458
5325
|
async voiceModerationCancel(request: VoiceModerationCancelRequest): Promise<VoiceModerationCancelResponse> {
|
|
3459
5326
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3461,11 +5328,11 @@ export default class Client extends OpenApi {
|
|
|
3461
5328
|
}
|
|
3462
5329
|
|
|
3463
5330
|
/**
|
|
3464
|
-
*
|
|
3465
|
-
*
|
|
3466
|
-
* @param request VoiceModerationResultRequest
|
|
3467
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3468
|
-
* @
|
|
5331
|
+
* 语音检测结果获取接口
|
|
5332
|
+
*
|
|
5333
|
+
* @param request - VoiceModerationResultRequest
|
|
5334
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5335
|
+
* @returns VoiceModerationResultResponse
|
|
3469
5336
|
*/
|
|
3470
5337
|
async voiceModerationResultWithOptions(request: VoiceModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<VoiceModerationResultResponse> {
|
|
3471
5338
|
Util.validateModel(request);
|
|
@@ -3496,10 +5363,10 @@ export default class Client extends OpenApi {
|
|
|
3496
5363
|
}
|
|
3497
5364
|
|
|
3498
5365
|
/**
|
|
3499
|
-
*
|
|
3500
|
-
*
|
|
3501
|
-
* @param request VoiceModerationResultRequest
|
|
3502
|
-
* @
|
|
5366
|
+
* 语音检测结果获取接口
|
|
5367
|
+
*
|
|
5368
|
+
* @param request - VoiceModerationResultRequest
|
|
5369
|
+
* @returns VoiceModerationResultResponse
|
|
3503
5370
|
*/
|
|
3504
5371
|
async voiceModerationResult(request: VoiceModerationResultRequest): Promise<VoiceModerationResultResponse> {
|
|
3505
5372
|
let runtime = new $Util.RuntimeOptions({ });
|