@alicloud/green20220302 2.2.8 → 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 CHANGED
@@ -1,11 +1,24 @@
1
1
  /**
2
- *
3
2
  */
4
3
  import * as $Util from '@alicloud/tea-util';
5
4
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
5
  import * as $tea from '@alicloud/tea-typescript';
7
6
  export declare class DescribeFileModerationResultRequest extends $tea.Model {
7
+ /**
8
+ * @remarks
9
+ * The type of the moderation service.
10
+ *
11
+ * @example
12
+ * document_detection
13
+ */
8
14
  service?: string;
15
+ /**
16
+ * @remarks
17
+ * The parameters required by the moderation service. The value is a JSON string.
18
+ *
19
+ * @example
20
+ * {\\"taskId\\":\\"vi_f_hPgx9PFIQISdlfA888hOFG-1yJq8v\\"}
21
+ */
9
22
  serviceParameters?: string;
10
23
  static names(): {
11
24
  [key: string]: string;
@@ -18,9 +31,34 @@ export declare class DescribeFileModerationResultRequest extends $tea.Model {
18
31
  });
19
32
  }
20
33
  export declare class DescribeFileModerationResultResponseBody extends $tea.Model {
34
+ /**
35
+ * @remarks
36
+ * The returned HTTP status code.
37
+ *
38
+ * @example
39
+ * 200
40
+ */
21
41
  code?: number;
42
+ /**
43
+ * @remarks
44
+ * The data returned.
45
+ */
22
46
  data?: DescribeFileModerationResultResponseBodyData;
47
+ /**
48
+ * @remarks
49
+ * The message that is returned in response to the request.
50
+ *
51
+ * @example
52
+ * OK
53
+ */
23
54
  message?: string;
55
+ /**
56
+ * @remarks
57
+ * The request ID.
58
+ *
59
+ * @example
60
+ * 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
61
+ */
24
62
  requestId?: string;
25
63
  static names(): {
26
64
  [key: string]: string;
@@ -49,6 +87,13 @@ export declare class DescribeFileModerationResultResponse extends $tea.Model {
49
87
  });
50
88
  }
51
89
  export declare class DescribeImageModerationResultRequest extends $tea.Model {
90
+ /**
91
+ * @remarks
92
+ * The reqId field returned by the Image Async Moderation API.
93
+ *
94
+ * @example
95
+ * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
96
+ */
52
97
  reqId?: string;
53
98
  static names(): {
54
99
  [key: string]: string;
@@ -61,9 +106,34 @@ export declare class DescribeImageModerationResultRequest extends $tea.Model {
61
106
  });
62
107
  }
63
108
  export declare class DescribeImageModerationResultResponseBody extends $tea.Model {
109
+ /**
110
+ * @remarks
111
+ * The returned HTTP status code.
112
+ *
113
+ * @example
114
+ * 200
115
+ */
64
116
  code?: number;
117
+ /**
118
+ * @remarks
119
+ * The data returned.
120
+ */
65
121
  data?: DescribeImageModerationResultResponseBodyData;
122
+ /**
123
+ * @remarks
124
+ * The message that is returned in response to the request.
125
+ *
126
+ * @example
127
+ * success
128
+ */
66
129
  msg?: string;
130
+ /**
131
+ * @remarks
132
+ * The request ID.
133
+ *
134
+ * @example
135
+ * 2881AD4F-638B-52A3-BA20-F74C5B1CEAE3
136
+ */
67
137
  requestId?: string;
68
138
  static names(): {
69
139
  [key: string]: string;
@@ -92,7 +162,21 @@ export declare class DescribeImageModerationResultResponse extends $tea.Model {
92
162
  });
93
163
  }
94
164
  export declare class DescribeImageResultExtRequest extends $tea.Model {
165
+ /**
166
+ * @remarks
167
+ * The content of the information to be obtained. Multiple values are separated by commas.
168
+ *
169
+ * @example
170
+ * customImage,textInImage
171
+ */
95
172
  infoType?: string;
173
+ /**
174
+ * @remarks
175
+ * The reqId field returned by the Url Async Moderation API.
176
+ *
177
+ * @example
178
+ * 638EDDC65C82AB39319A9F60
179
+ */
96
180
  reqId?: string;
97
181
  static names(): {
98
182
  [key: string]: string;
@@ -105,9 +189,34 @@ export declare class DescribeImageResultExtRequest extends $tea.Model {
105
189
  });
106
190
  }
107
191
  export declare class DescribeImageResultExtResponseBody extends $tea.Model {
192
+ /**
193
+ * @remarks
194
+ * The returned HTTP status code.
195
+ *
196
+ * @example
197
+ * 200
198
+ */
108
199
  code?: number;
200
+ /**
201
+ * @remarks
202
+ * The data returned.
203
+ */
109
204
  data?: DescribeImageResultExtResponseBodyData;
205
+ /**
206
+ * @remarks
207
+ * The message that is returned in response to the request.
208
+ *
209
+ * @example
210
+ * success
211
+ */
110
212
  msg?: string;
213
+ /**
214
+ * @remarks
215
+ * The request ID.
216
+ *
217
+ * @example
218
+ * 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
219
+ */
111
220
  requestId?: string;
112
221
  static names(): {
113
222
  [key: string]: string;
@@ -136,9 +245,34 @@ export declare class DescribeImageResultExtResponse extends $tea.Model {
136
245
  });
137
246
  }
138
247
  export declare class DescribeUploadTokenResponseBody extends $tea.Model {
248
+ /**
249
+ * @remarks
250
+ * The returned HTTP status code.
251
+ *
252
+ * @example
253
+ * 200
254
+ */
139
255
  code?: number;
256
+ /**
257
+ * @remarks
258
+ * The data returned.
259
+ */
140
260
  data?: DescribeUploadTokenResponseBodyData;
261
+ /**
262
+ * @remarks
263
+ * The message that is returned in response to the request.
264
+ *
265
+ * @example
266
+ * OK
267
+ */
141
268
  msg?: string;
269
+ /**
270
+ * @remarks
271
+ * The request ID.
272
+ *
273
+ * @example
274
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
275
+ */
142
276
  requestId?: string;
143
277
  static names(): {
144
278
  [key: string]: string;
@@ -167,6 +301,13 @@ export declare class DescribeUploadTokenResponse extends $tea.Model {
167
301
  });
168
302
  }
169
303
  export declare class DescribeUrlModerationResultRequest extends $tea.Model {
304
+ /**
305
+ * @remarks
306
+ * The reqId field returned by the Url Async Moderation API.
307
+ *
308
+ * @example
309
+ * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
310
+ */
170
311
  reqId?: string;
171
312
  static names(): {
172
313
  [key: string]: string;
@@ -179,9 +320,34 @@ export declare class DescribeUrlModerationResultRequest extends $tea.Model {
179
320
  });
180
321
  }
181
322
  export declare class DescribeUrlModerationResultResponseBody extends $tea.Model {
323
+ /**
324
+ * @remarks
325
+ * The returned HTTP status code.
326
+ *
327
+ * @example
328
+ * 200
329
+ */
182
330
  code?: number;
331
+ /**
332
+ * @remarks
333
+ * The data returned.
334
+ */
183
335
  data?: DescribeUrlModerationResultResponseBodyData;
336
+ /**
337
+ * @remarks
338
+ * The message that is returned in response to the request.
339
+ *
340
+ * @example
341
+ * success
342
+ */
184
343
  msg?: string;
344
+ /**
345
+ * @remarks
346
+ * The request ID.
347
+ *
348
+ * @example
349
+ * 01F9144A-2088-5D87-935B-2DB865284B1A
350
+ */
185
351
  requestId?: string;
186
352
  static names(): {
187
353
  [key: string]: string;
@@ -210,7 +376,21 @@ export declare class DescribeUrlModerationResultResponse extends $tea.Model {
210
376
  });
211
377
  }
212
378
  export declare class FileModerationRequest extends $tea.Model {
379
+ /**
380
+ * @remarks
381
+ * The type of the moderation service.
382
+ *
383
+ * @example
384
+ * document_detection
385
+ */
213
386
  service?: string;
387
+ /**
388
+ * @remarks
389
+ * The parameters required by the moderation service. The value is a JSON string.
390
+ *
391
+ * @example
392
+ * {"url":"https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf"}
393
+ */
214
394
  serviceParameters?: string;
215
395
  static names(): {
216
396
  [key: string]: string;
@@ -223,9 +403,34 @@ export declare class FileModerationRequest extends $tea.Model {
223
403
  });
224
404
  }
225
405
  export declare class FileModerationResponseBody extends $tea.Model {
406
+ /**
407
+ * @remarks
408
+ * The returned HTTP status code.
409
+ *
410
+ * @example
411
+ * 200
412
+ */
226
413
  code?: number;
414
+ /**
415
+ * @remarks
416
+ * The data returned.
417
+ */
227
418
  data?: FileModerationResponseBodyData;
419
+ /**
420
+ * @remarks
421
+ * The message that is returned in response to the request.
422
+ *
423
+ * @example
424
+ * SUCCESS
425
+ */
228
426
  message?: string;
427
+ /**
428
+ * @remarks
429
+ * The request ID.
430
+ *
431
+ * @example
432
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
433
+ */
229
434
  requestId?: string;
230
435
  static names(): {
231
436
  [key: string]: string;
@@ -254,7 +459,21 @@ export declare class FileModerationResponse extends $tea.Model {
254
459
  });
255
460
  }
256
461
  export declare class ImageAsyncModerationRequest extends $tea.Model {
462
+ /**
463
+ * @remarks
464
+ * The type of the moderation service.
465
+ *
466
+ * @example
467
+ * baselineCheck
468
+ */
257
469
  service?: string;
470
+ /**
471
+ * @remarks
472
+ * The parameters required by the moderation service. The value is a JSON string.
473
+ *
474
+ * @example
475
+ * {"imageUrl":"https://img.alicdn.com/tfs/TB1U4r9AeH2gK0jSZJnXXaT1FXa-2880-480.png","dataId":"img123****"}
476
+ */
258
477
  serviceParameters?: string;
259
478
  static names(): {
260
479
  [key: string]: string;
@@ -267,9 +486,34 @@ export declare class ImageAsyncModerationRequest extends $tea.Model {
267
486
  });
268
487
  }
269
488
  export declare class ImageAsyncModerationResponseBody extends $tea.Model {
489
+ /**
490
+ * @remarks
491
+ * The returned HTTP status code.
492
+ *
493
+ * @example
494
+ * 200
495
+ */
270
496
  code?: number;
497
+ /**
498
+ * @remarks
499
+ * The data returned.
500
+ */
271
501
  data?: ImageAsyncModerationResponseBodyData;
502
+ /**
503
+ * @remarks
504
+ * The message that is returned in response to the request.
505
+ *
506
+ * @example
507
+ * success
508
+ */
272
509
  msg?: string;
510
+ /**
511
+ * @remarks
512
+ * The request ID.
513
+ *
514
+ * @example
515
+ * 4A926AE2-4C96-573F-824F-0532960799F8
516
+ */
273
517
  requestId?: string;
274
518
  static names(): {
275
519
  [key: string]: string;
@@ -298,7 +542,21 @@ export declare class ImageAsyncModerationResponse extends $tea.Model {
298
542
  });
299
543
  }
300
544
  export declare class ImageModerationRequest extends $tea.Model {
545
+ /**
546
+ * @remarks
547
+ * The type of the moderation service.
548
+ *
549
+ * @example
550
+ * baselineCheck
551
+ */
301
552
  service?: string;
553
+ /**
554
+ * @remarks
555
+ * The parameters required by the moderation service. The value is a JSON string.
556
+ *
557
+ * @example
558
+ * {"imageUrl":"https://www.aliyun.com/test.jpg","dataId":"img1234567"}
559
+ */
302
560
  serviceParameters?: string;
303
561
  static names(): {
304
562
  [key: string]: string;
@@ -311,9 +569,34 @@ export declare class ImageModerationRequest extends $tea.Model {
311
569
  });
312
570
  }
313
571
  export declare class ImageModerationResponseBody extends $tea.Model {
572
+ /**
573
+ * @remarks
574
+ * The returned HTTP status code.
575
+ *
576
+ * @example
577
+ * 200
578
+ */
314
579
  code?: number;
580
+ /**
581
+ * @remarks
582
+ * The data returned.
583
+ */
315
584
  data?: ImageModerationResponseBodyData;
585
+ /**
586
+ * @remarks
587
+ * The message that is returned in response to the request.
588
+ *
589
+ * @example
590
+ * OK
591
+ */
316
592
  msg?: string;
593
+ /**
594
+ * @remarks
595
+ * The request ID.
596
+ *
597
+ * @example
598
+ * 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
599
+ */
317
600
  requestId?: string;
318
601
  static names(): {
319
602
  [key: string]: string;
@@ -342,7 +625,21 @@ export declare class ImageModerationResponse extends $tea.Model {
342
625
  });
343
626
  }
344
627
  export declare class TextModerationRequest extends $tea.Model {
628
+ /**
629
+ * @remarks
630
+ * The type of the moderation service.
631
+ *
632
+ * @example
633
+ * nickname_detection
634
+ */
345
635
  service?: string;
636
+ /**
637
+ * @remarks
638
+ * The parameters required by the moderation service. The value is a JSON string.
639
+ *
640
+ * @example
641
+ * {"content":"Content to be moderated"}
642
+ */
346
643
  serviceParameters?: string;
347
644
  static names(): {
348
645
  [key: string]: string;
@@ -355,9 +652,34 @@ export declare class TextModerationRequest extends $tea.Model {
355
652
  });
356
653
  }
357
654
  export declare class TextModerationResponseBody extends $tea.Model {
655
+ /**
656
+ * @remarks
657
+ * The returned HTTP status code.
658
+ *
659
+ * @example
660
+ * 200
661
+ */
358
662
  code?: number;
663
+ /**
664
+ * @remarks
665
+ * The moderation results.
666
+ */
359
667
  data?: TextModerationResponseBodyData;
668
+ /**
669
+ * @remarks
670
+ * The message that is returned in response to the request.
671
+ *
672
+ * @example
673
+ * OK
674
+ */
360
675
  message?: string;
676
+ /**
677
+ * @remarks
678
+ * The request ID.
679
+ *
680
+ * @example
681
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
682
+ */
361
683
  requestId?: string;
362
684
  static names(): {
363
685
  [key: string]: string;
@@ -386,7 +708,21 @@ export declare class TextModerationResponse extends $tea.Model {
386
708
  });
387
709
  }
388
710
  export declare class TextModerationPlusRequest extends $tea.Model {
711
+ /**
712
+ * @remarks
713
+ * The type of the moderation service.
714
+ *
715
+ * @example
716
+ * llm_query_moderation
717
+ */
389
718
  service?: string;
719
+ /**
720
+ * @remarks
721
+ * The parameters required by the moderation service. The value is a JSON string.
722
+ *
723
+ * @example
724
+ * {"content":"Content to be moderated"}
725
+ */
390
726
  serviceParameters?: string;
391
727
  static names(): {
392
728
  [key: string]: string;
@@ -399,9 +735,34 @@ export declare class TextModerationPlusRequest extends $tea.Model {
399
735
  });
400
736
  }
401
737
  export declare class TextModerationPlusResponseBody extends $tea.Model {
738
+ /**
739
+ * @remarks
740
+ * The returned HTTP status code.
741
+ *
742
+ * @example
743
+ * 200
744
+ */
402
745
  code?: number;
746
+ /**
747
+ * @remarks
748
+ * The data returned.
749
+ */
403
750
  data?: TextModerationPlusResponseBodyData;
751
+ /**
752
+ * @remarks
753
+ * The message that is returned in response to the request.
754
+ *
755
+ * @example
756
+ * OK
757
+ */
404
758
  message?: string;
759
+ /**
760
+ * @remarks
761
+ * The request ID.
762
+ *
763
+ * @example
764
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
765
+ */
405
766
  requestId?: string;
406
767
  static names(): {
407
768
  [key: string]: string;
@@ -430,7 +791,24 @@ export declare class TextModerationPlusResponse extends $tea.Model {
430
791
  });
431
792
  }
432
793
  export declare class UrlAsyncModerationRequest extends $tea.Model {
794
+ /**
795
+ * @remarks
796
+ * The type of the moderation service.
797
+ *
798
+ * @example
799
+ * url_detection
800
+ */
433
801
  service?: string;
802
+ /**
803
+ * @remarks
804
+ * The parameters required by the moderation service. The value is a JSON string.
805
+ *
806
+ * @example
807
+ * {
808
+ * "url": "https://help.aliyun.com/",
809
+ * "dataId": "url123******"
810
+ * }
811
+ */
434
812
  serviceParameters?: string;
435
813
  static names(): {
436
814
  [key: string]: string;
@@ -443,9 +821,34 @@ export declare class UrlAsyncModerationRequest extends $tea.Model {
443
821
  });
444
822
  }
445
823
  export declare class UrlAsyncModerationResponseBody extends $tea.Model {
824
+ /**
825
+ * @remarks
826
+ * The returned HTTP status code.
827
+ *
828
+ * @example
829
+ * 200
830
+ */
446
831
  code?: number;
832
+ /**
833
+ * @remarks
834
+ * The data returned.
835
+ */
447
836
  data?: UrlAsyncModerationResponseBodyData;
837
+ /**
838
+ * @remarks
839
+ * The message that is returned in response to the request.
840
+ *
841
+ * @example
842
+ * success
843
+ */
448
844
  msg?: string;
845
+ /**
846
+ * @remarks
847
+ * Id of the request
848
+ *
849
+ * @example
850
+ * 6CF2815C-****-****-B52E-FF6E2****492
851
+ */
449
852
  requestId?: string;
450
853
  static names(): {
451
854
  [key: string]: string;
@@ -474,7 +877,21 @@ export declare class UrlAsyncModerationResponse extends $tea.Model {
474
877
  });
475
878
  }
476
879
  export declare class VideoModerationRequest extends $tea.Model {
880
+ /**
881
+ * @remarks
882
+ * The type of the moderation service.
883
+ *
884
+ * @example
885
+ * videoDetection
886
+ */
477
887
  service?: string;
888
+ /**
889
+ * @remarks
890
+ * The parameters required by the moderation service. The value is a JSON string.
891
+ *
892
+ * @example
893
+ * {\\"url\\": \\"https://talesofai.oss-cn-shanghai.aliyuncs.com/xxx.mp4\\", \\"dataId\\": \\"94db0b88-f521-11ed-806e-fae21c1f239c\\"}
894
+ */
478
895
  serviceParameters?: string;
479
896
  static names(): {
480
897
  [key: string]: string;
@@ -487,9 +904,34 @@ export declare class VideoModerationRequest extends $tea.Model {
487
904
  });
488
905
  }
489
906
  export declare class VideoModerationResponseBody extends $tea.Model {
907
+ /**
908
+ * @remarks
909
+ * The returned HTTP status code.
910
+ *
911
+ * @example
912
+ * 200
913
+ */
490
914
  code?: number;
915
+ /**
916
+ * @remarks
917
+ * The data returned.
918
+ */
491
919
  data?: VideoModerationResponseBodyData;
920
+ /**
921
+ * @remarks
922
+ * The message that is returned in response to the request.
923
+ *
924
+ * @example
925
+ * SUCCESS
926
+ */
492
927
  message?: string;
928
+ /**
929
+ * @remarks
930
+ * The request ID.
931
+ *
932
+ * @example
933
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
934
+ */
493
935
  requestId?: string;
494
936
  static names(): {
495
937
  [key: string]: string;
@@ -518,7 +960,21 @@ export declare class VideoModerationResponse extends $tea.Model {
518
960
  });
519
961
  }
520
962
  export declare class VideoModerationCancelRequest extends $tea.Model {
963
+ /**
964
+ * @remarks
965
+ * The type of the moderation service.
966
+ *
967
+ * @example
968
+ * videoDetection
969
+ */
521
970
  service?: string;
971
+ /**
972
+ * @remarks
973
+ * The parameters required by the moderation service. The value is a JSON string.
974
+ *
975
+ * @example
976
+ * {\\"taskId\\":\\"vi_s_4O9gp7GfNQdx9GOqdekFmk-1z2RJT\\"}
977
+ */
522
978
  serviceParameters?: string;
523
979
  static names(): {
524
980
  [key: string]: string;
@@ -531,8 +987,29 @@ export declare class VideoModerationCancelRequest extends $tea.Model {
531
987
  });
532
988
  }
533
989
  export declare class VideoModerationCancelResponseBody extends $tea.Model {
990
+ /**
991
+ * @remarks
992
+ * The returned HTTP status code.
993
+ *
994
+ * @example
995
+ * 200
996
+ */
534
997
  code?: number;
998
+ /**
999
+ * @remarks
1000
+ * The message that is returned in response to the request.
1001
+ *
1002
+ * @example
1003
+ * OK
1004
+ */
535
1005
  message?: string;
1006
+ /**
1007
+ * @remarks
1008
+ * The request ID.
1009
+ *
1010
+ * @example
1011
+ * 6CF2815C-****-****-B52E-FF6E2****492
1012
+ */
536
1013
  requestId?: string;
537
1014
  static names(): {
538
1015
  [key: string]: string;
@@ -561,7 +1038,21 @@ export declare class VideoModerationCancelResponse extends $tea.Model {
561
1038
  });
562
1039
  }
563
1040
  export declare class VideoModerationResultRequest extends $tea.Model {
1041
+ /**
1042
+ * @remarks
1043
+ * The type of the moderation service.
1044
+ *
1045
+ * @example
1046
+ * videoDetection
1047
+ */
564
1048
  service?: string;
1049
+ /**
1050
+ * @remarks
1051
+ * The parameters required by the moderation service. The value is a JSON string.
1052
+ *
1053
+ * @example
1054
+ * {\\"taskId\\":\\"au_f_8PoWiZKoLbczp5HRn69VdT-1y8@U5\\"}
1055
+ */
565
1056
  serviceParameters?: string;
566
1057
  static names(): {
567
1058
  [key: string]: string;
@@ -574,9 +1065,34 @@ export declare class VideoModerationResultRequest extends $tea.Model {
574
1065
  });
575
1066
  }
576
1067
  export declare class VideoModerationResultResponseBody extends $tea.Model {
1068
+ /**
1069
+ * @remarks
1070
+ * The returned HTTP status code.
1071
+ *
1072
+ * @example
1073
+ * 200
1074
+ */
577
1075
  code?: number;
1076
+ /**
1077
+ * @remarks
1078
+ * The data returned.
1079
+ */
578
1080
  data?: VideoModerationResultResponseBodyData;
1081
+ /**
1082
+ * @remarks
1083
+ * The message that is returned in response to the request.
1084
+ *
1085
+ * @example
1086
+ * success finished
1087
+ */
579
1088
  message?: string;
1089
+ /**
1090
+ * @remarks
1091
+ * The request ID.
1092
+ *
1093
+ * @example
1094
+ * 6CF2815C-C8C7-4A01-B52E-FF6E24F53492
1095
+ */
580
1096
  requestId?: string;
581
1097
  static names(): {
582
1098
  [key: string]: string;
@@ -605,7 +1121,21 @@ export declare class VideoModerationResultResponse extends $tea.Model {
605
1121
  });
606
1122
  }
607
1123
  export declare class VoiceModerationRequest extends $tea.Model {
1124
+ /**
1125
+ * @remarks
1126
+ * The type of the moderation service.
1127
+ *
1128
+ * @example
1129
+ * nickname_detection
1130
+ */
608
1131
  service?: string;
1132
+ /**
1133
+ * @remarks
1134
+ * The parameters required by the moderation service. The value is a JSON string.
1135
+ *
1136
+ * @example
1137
+ * {"url": "http://aliyundoc.com/test.flv", "dataId": "data1234"}
1138
+ */
609
1139
  serviceParameters?: string;
610
1140
  static names(): {
611
1141
  [key: string]: string;
@@ -618,9 +1148,34 @@ export declare class VoiceModerationRequest extends $tea.Model {
618
1148
  });
619
1149
  }
620
1150
  export declare class VoiceModerationResponseBody extends $tea.Model {
1151
+ /**
1152
+ * @remarks
1153
+ * The returned HTTP status code.
1154
+ *
1155
+ * @example
1156
+ * 200
1157
+ */
621
1158
  code?: number;
1159
+ /**
1160
+ * @remarks
1161
+ * The data returned.
1162
+ */
622
1163
  data?: VoiceModerationResponseBodyData;
1164
+ /**
1165
+ * @remarks
1166
+ * The message that is returned in response to the request.
1167
+ *
1168
+ * @example
1169
+ * SUCCESS
1170
+ */
623
1171
  message?: string;
1172
+ /**
1173
+ * @remarks
1174
+ * The request ID.
1175
+ *
1176
+ * @example
1177
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
1178
+ */
624
1179
  requestId?: string;
625
1180
  static names(): {
626
1181
  [key: string]: string;
@@ -649,7 +1204,21 @@ export declare class VoiceModerationResponse extends $tea.Model {
649
1204
  });
650
1205
  }
651
1206
  export declare class VoiceModerationCancelRequest extends $tea.Model {
1207
+ /**
1208
+ * @remarks
1209
+ * The type of the moderation service.
1210
+ *
1211
+ * @example
1212
+ * nickname_detection
1213
+ */
652
1214
  service?: string;
1215
+ /**
1216
+ * @remarks
1217
+ * The parameters required by the moderation service. The value is a JSON string.
1218
+ *
1219
+ * @example
1220
+ * {"taskId":"xxxxx-xxxx"}
1221
+ */
653
1222
  serviceParameters?: string;
654
1223
  static names(): {
655
1224
  [key: string]: string;
@@ -662,8 +1231,29 @@ export declare class VoiceModerationCancelRequest extends $tea.Model {
662
1231
  });
663
1232
  }
664
1233
  export declare class VoiceModerationCancelResponseBody extends $tea.Model {
1234
+ /**
1235
+ * @remarks
1236
+ * The returned HTTP status code.
1237
+ *
1238
+ * @example
1239
+ * 200
1240
+ */
665
1241
  code?: number;
1242
+ /**
1243
+ * @remarks
1244
+ * The message that is returned in response to the request.
1245
+ *
1246
+ * @example
1247
+ * SUCCESS
1248
+ */
666
1249
  message?: string;
1250
+ /**
1251
+ * @remarks
1252
+ * The request ID.
1253
+ *
1254
+ * @example
1255
+ * 4A926AE2-4C96-573F-824F-0532960799F8
1256
+ */
667
1257
  requestId?: string;
668
1258
  static names(): {
669
1259
  [key: string]: string;
@@ -692,7 +1282,21 @@ export declare class VoiceModerationCancelResponse extends $tea.Model {
692
1282
  });
693
1283
  }
694
1284
  export declare class VoiceModerationResultRequest extends $tea.Model {
1285
+ /**
1286
+ * @remarks
1287
+ * The type of the moderation service.
1288
+ *
1289
+ * @example
1290
+ * nickname_detection
1291
+ */
695
1292
  service?: string;
1293
+ /**
1294
+ * @remarks
1295
+ * The parameters required by the moderation service. The value is a JSON string.
1296
+ *
1297
+ * @example
1298
+ * {"taskId":"xxxxx-xxxx"}
1299
+ */
696
1300
  serviceParameters?: string;
697
1301
  static names(): {
698
1302
  [key: string]: string;
@@ -705,9 +1309,34 @@ export declare class VoiceModerationResultRequest extends $tea.Model {
705
1309
  });
706
1310
  }
707
1311
  export declare class VoiceModerationResultResponseBody extends $tea.Model {
1312
+ /**
1313
+ * @remarks
1314
+ * The returned HTTP status code.
1315
+ *
1316
+ * @example
1317
+ * 200
1318
+ */
708
1319
  code?: number;
1320
+ /**
1321
+ * @remarks
1322
+ * The data returned.
1323
+ */
709
1324
  data?: VoiceModerationResultResponseBodyData;
1325
+ /**
1326
+ * @remarks
1327
+ * The message that is returned in response to the request.
1328
+ *
1329
+ * @example
1330
+ * SUCCESS
1331
+ */
710
1332
  message?: string;
1333
+ /**
1334
+ * @remarks
1335
+ * The request ID.
1336
+ *
1337
+ * @example
1338
+ * 2881AD4F-638B-52A3-BA20-F74C5B1CEAE3
1339
+ */
711
1340
  requestId?: string;
712
1341
  static names(): {
713
1342
  [key: string]: string;
@@ -736,7 +1365,21 @@ export declare class VoiceModerationResultResponse extends $tea.Model {
736
1365
  });
737
1366
  }
738
1367
  export declare class DescribeFileModerationResultResponseBodyDataPageResultImageResultLabelResult extends $tea.Model {
1368
+ /**
1369
+ * @remarks
1370
+ * Confidence score, 0 to 100, reserved to 2 decimal places.
1371
+ *
1372
+ * @example
1373
+ * 25.0
1374
+ */
739
1375
  confidence?: number;
1376
+ /**
1377
+ * @remarks
1378
+ * The details of the labels.
1379
+ *
1380
+ * @example
1381
+ * nonlabel
1382
+ */
740
1383
  label?: string;
741
1384
  static names(): {
742
1385
  [key: string]: string;
@@ -749,9 +1392,37 @@ export declare class DescribeFileModerationResultResponseBodyDataPageResultImage
749
1392
  });
750
1393
  }
751
1394
  export declare class DescribeFileModerationResultResponseBodyDataPageResultImageResultLocation extends $tea.Model {
1395
+ /**
1396
+ * @remarks
1397
+ * The H value of the coordinate point.
1398
+ *
1399
+ * @example
1400
+ * 44
1401
+ */
752
1402
  h?: number;
1403
+ /**
1404
+ * @remarks
1405
+ * The W value of the coordinate point.
1406
+ *
1407
+ * @example
1408
+ * 33
1409
+ */
753
1410
  w?: number;
1411
+ /**
1412
+ * @remarks
1413
+ * The X value of the coordinate point.
1414
+ *
1415
+ * @example
1416
+ * 11
1417
+ */
754
1418
  x?: number;
1419
+ /**
1420
+ * @remarks
1421
+ * The Y value of the coordinate point.
1422
+ *
1423
+ * @example
1424
+ * 22
1425
+ */
755
1426
  y?: number;
756
1427
  static names(): {
757
1428
  [key: string]: string;
@@ -764,9 +1435,31 @@ export declare class DescribeFileModerationResultResponseBodyDataPageResultImage
764
1435
  });
765
1436
  }
766
1437
  export declare class DescribeFileModerationResultResponseBodyDataPageResultImageResult extends $tea.Model {
1438
+ /**
1439
+ * @remarks
1440
+ * Description.
1441
+ *
1442
+ * @example
1443
+ * This is a title.
1444
+ */
767
1445
  description?: string;
1446
+ /**
1447
+ * @remarks
1448
+ * Label information.
1449
+ */
768
1450
  labelResult?: DescribeFileModerationResultResponseBodyDataPageResultImageResultLabelResult[];
1451
+ /**
1452
+ * @remarks
1453
+ * Location information.
1454
+ */
769
1455
  location?: DescribeFileModerationResultResponseBodyDataPageResultImageResultLocation;
1456
+ /**
1457
+ * @remarks
1458
+ * The moderation service.
1459
+ *
1460
+ * @example
1461
+ * baselineCheck
1462
+ */
770
1463
  service?: string;
771
1464
  static names(): {
772
1465
  [key: string]: string;
@@ -779,12 +1472,61 @@ export declare class DescribeFileModerationResultResponseBodyDataPageResultImage
779
1472
  });
780
1473
  }
781
1474
  export declare class DescribeFileModerationResultResponseBodyDataPageResultTextResult extends $tea.Model {
1475
+ /**
1476
+ * @remarks
1477
+ * Description
1478
+ *
1479
+ * @example
1480
+ * This is a title.
1481
+ */
782
1482
  description?: string;
1483
+ /**
1484
+ * @remarks
1485
+ * The details of the labels.
1486
+ *
1487
+ * @example
1488
+ * porn
1489
+ */
783
1490
  labels?: string;
1491
+ /**
1492
+ * @remarks
1493
+ * The risk details that are hit.
1494
+ *
1495
+ * @example
1496
+ * xxx
1497
+ */
784
1498
  riskTips?: string;
1499
+ /**
1500
+ * @remarks
1501
+ * The risk words that are hit.
1502
+ *
1503
+ * @example
1504
+ * xxx
1505
+ */
785
1506
  riskWords?: string;
1507
+ /**
1508
+ * @remarks
1509
+ * The moderation service.
1510
+ *
1511
+ * @example
1512
+ * chat_detection
1513
+ */
786
1514
  service?: string;
1515
+ /**
1516
+ * @remarks
1517
+ * Text content.
1518
+ *
1519
+ * @example
1520
+ * This is a text.
1521
+ */
787
1522
  text?: string;
1523
+ /**
1524
+ * @remarks
1525
+ * Text segmentation information.
1526
+ *
1527
+ * @example
1528
+ * [0,999]
1529
+ */
788
1530
  textSegment?: string;
789
1531
  static names(): {
790
1532
  [key: string]: string;
@@ -797,10 +1539,39 @@ export declare class DescribeFileModerationResultResponseBodyDataPageResultTextR
797
1539
  });
798
1540
  }
799
1541
  export declare class DescribeFileModerationResultResponseBodyDataPageResult extends $tea.Model {
1542
+ /**
1543
+ * @remarks
1544
+ * Image detection results.
1545
+ */
800
1546
  imageResult?: DescribeFileModerationResultResponseBodyDataPageResultImageResult[];
1547
+ /**
1548
+ * @remarks
1549
+ * The image url.
1550
+ *
1551
+ * @example
1552
+ * https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.jpg
1553
+ */
801
1554
  imageUrl?: string;
1555
+ /**
1556
+ * @remarks
1557
+ * The page number.
1558
+ *
1559
+ * @example
1560
+ * 1
1561
+ */
802
1562
  pageNum?: number;
1563
+ /**
1564
+ * @remarks
1565
+ * Text detection results.
1566
+ */
803
1567
  textResult?: DescribeFileModerationResultResponseBodyDataPageResultTextResult[];
1568
+ /**
1569
+ * @remarks
1570
+ * the text url.
1571
+ *
1572
+ * @example
1573
+ * https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.txt
1574
+ */
804
1575
  textUrl?: string;
805
1576
  static names(): {
806
1577
  [key: string]: string;
@@ -813,9 +1584,34 @@ export declare class DescribeFileModerationResultResponseBodyDataPageResult exte
813
1584
  });
814
1585
  }
815
1586
  export declare class DescribeFileModerationResultResponseBodyData extends $tea.Model {
1587
+ /**
1588
+ * @remarks
1589
+ * The ID of the moderated object.
1590
+ *
1591
+ * @example
1592
+ * 26769ada6e264e7ba9aa048241e12be9
1593
+ */
816
1594
  dataId?: string;
1595
+ /**
1596
+ * @remarks
1597
+ * Optional, document type.
1598
+ *
1599
+ * @example
1600
+ * doc
1601
+ */
817
1602
  docType?: string;
1603
+ /**
1604
+ * @remarks
1605
+ * The pagination information.
1606
+ */
818
1607
  pageResult?: DescribeFileModerationResultResponseBodyDataPageResult[];
1608
+ /**
1609
+ * @remarks
1610
+ * The URL of the moderation object.
1611
+ *
1612
+ * @example
1613
+ * https://detect-obj.oss-cn-hangzhou.aliyuncs.com/sample/xxxx.pdf
1614
+ */
819
1615
  url?: string;
820
1616
  static names(): {
821
1617
  [key: string]: string;
@@ -828,7 +1624,21 @@ export declare class DescribeFileModerationResultResponseBodyData extends $tea.M
828
1624
  });
829
1625
  }
830
1626
  export declare class DescribeImageModerationResultResponseBodyDataResult extends $tea.Model {
1627
+ /**
1628
+ * @remarks
1629
+ * 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.
1630
+ *
1631
+ * @example
1632
+ * 81.22
1633
+ */
831
1634
  confidence?: number;
1635
+ /**
1636
+ * @remarks
1637
+ * The labels returned after the image moderation.
1638
+ *
1639
+ * @example
1640
+ * violent_explosion
1641
+ */
832
1642
  label?: string;
833
1643
  static names(): {
834
1644
  [key: string]: string;
@@ -841,11 +1651,50 @@ export declare class DescribeImageModerationResultResponseBodyDataResult extends
841
1651
  });
842
1652
  }
843
1653
  export declare class DescribeImageModerationResultResponseBodyData extends $tea.Model {
1654
+ /**
1655
+ * @remarks
1656
+ * The ID of the moderated object.
1657
+ *
1658
+ * @example
1659
+ * 2a5389eb-4ff8-4584-ac99-644e2a539aa1
1660
+ */
844
1661
  dataId?: string;
1662
+ /**
1663
+ * @remarks
1664
+ * Image frame information.
1665
+ *
1666
+ * @example
1667
+ * [{"result":[{"confidence":81.22,"label":"violent_explosion"}]}]
1668
+ */
845
1669
  frame?: string;
1670
+ /**
1671
+ * @remarks
1672
+ * Number of result frames
1673
+ *
1674
+ * @example
1675
+ * 1
1676
+ */
846
1677
  frameNum?: number;
1678
+ /**
1679
+ * @remarks
1680
+ * The reqId field returned by the Image Async Moderation API.
1681
+ *
1682
+ * @example
1683
+ * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
1684
+ */
847
1685
  reqId?: string;
1686
+ /**
1687
+ * @remarks
1688
+ * The results of image moderation parameters such as the label parameter and the confidence parameter.
1689
+ */
848
1690
  result?: DescribeImageModerationResultResponseBodyDataResult[];
1691
+ /**
1692
+ * @remarks
1693
+ * Risk Level.
1694
+ *
1695
+ * @example
1696
+ * high
1697
+ */
849
1698
  riskLevel?: string;
850
1699
  static names(): {
851
1700
  [key: string]: string;
@@ -858,8 +1707,29 @@ export declare class DescribeImageModerationResultResponseBodyData extends $tea.
858
1707
  });
859
1708
  }
860
1709
  export declare class DescribeImageResultExtResponseBodyDataCustomImage extends $tea.Model {
1710
+ /**
1711
+ * @remarks
1712
+ * The image ID.
1713
+ *
1714
+ * @example
1715
+ * 123456
1716
+ */
861
1717
  imageId?: string;
1718
+ /**
1719
+ * @remarks
1720
+ * The image library ID.
1721
+ *
1722
+ * @example
1723
+ * 123456
1724
+ */
862
1725
  libId?: string;
1726
+ /**
1727
+ * @remarks
1728
+ * The image library name.
1729
+ *
1730
+ * @example
1731
+ * 图库123
1732
+ */
863
1733
  libName?: string;
864
1734
  static names(): {
865
1735
  [key: string]: string;
@@ -872,6 +1742,13 @@ export declare class DescribeImageResultExtResponseBodyDataCustomImage extends $
872
1742
  });
873
1743
  }
874
1744
  export declare class DescribeImageResultExtResponseBodyDataPublicFigure extends $tea.Model {
1745
+ /**
1746
+ * @remarks
1747
+ * Identified person coding information.
1748
+ *
1749
+ * @example
1750
+ * yzazhzou
1751
+ */
875
1752
  figureId?: string;
876
1753
  static names(): {
877
1754
  [key: string]: string;
@@ -884,8 +1761,29 @@ export declare class DescribeImageResultExtResponseBodyDataPublicFigure extends
884
1761
  });
885
1762
  }
886
1763
  export declare class DescribeImageResultExtResponseBodyDataTextInImageCustomTexts extends $tea.Model {
1764
+ /**
1765
+ * @remarks
1766
+ * Custom words, multiple words separated by commas.
1767
+ *
1768
+ * @example
1769
+ * aaa,bbb
1770
+ */
887
1771
  keyWords?: string;
1772
+ /**
1773
+ * @remarks
1774
+ * Custom library ID.
1775
+ *
1776
+ * @example
1777
+ * 123456
1778
+ */
888
1779
  libId?: string;
1780
+ /**
1781
+ * @remarks
1782
+ * Custom library name.
1783
+ *
1784
+ * @example
1785
+ * test
1786
+ */
889
1787
  libName?: string;
890
1788
  static names(): {
891
1789
  [key: string]: string;
@@ -898,8 +1796,20 @@ export declare class DescribeImageResultExtResponseBodyDataTextInImageCustomText
898
1796
  });
899
1797
  }
900
1798
  export declare class DescribeImageResultExtResponseBodyDataTextInImage extends $tea.Model {
1799
+ /**
1800
+ * @remarks
1801
+ * When a custom text library is hit, the custom library ID, custom library name, and custom word are returned.
1802
+ */
901
1803
  customTexts?: DescribeImageResultExtResponseBodyDataTextInImageCustomTexts[];
1804
+ /**
1805
+ * @remarks
1806
+ * Returns the text information in the recognized image.
1807
+ */
902
1808
  ocrDatas?: string[];
1809
+ /**
1810
+ * @remarks
1811
+ * The risk words that are hit. Multiple words are separated by commas (,).
1812
+ */
903
1813
  riskWords?: string[];
904
1814
  static names(): {
905
1815
  [key: string]: string;
@@ -912,8 +1822,20 @@ export declare class DescribeImageResultExtResponseBodyDataTextInImage extends $
912
1822
  });
913
1823
  }
914
1824
  export declare class DescribeImageResultExtResponseBodyData extends $tea.Model {
1825
+ /**
1826
+ * @remarks
1827
+ * If a custom image library is hit, information about the hit custom image library is returned.
1828
+ */
915
1829
  customImage?: DescribeImageResultExtResponseBodyDataCustomImage[];
1830
+ /**
1831
+ * @remarks
1832
+ * Person information list.
1833
+ */
916
1834
  publicFigure?: DescribeImageResultExtResponseBodyDataPublicFigure[];
1835
+ /**
1836
+ * @remarks
1837
+ * Returns the text information in the hit image.
1838
+ */
917
1839
  textInImage?: DescribeImageResultExtResponseBodyDataTextInImage;
918
1840
  static names(): {
919
1841
  [key: string]: string;
@@ -926,13 +1848,69 @@ export declare class DescribeImageResultExtResponseBodyData extends $tea.Model {
926
1848
  });
927
1849
  }
928
1850
  export declare class DescribeUploadTokenResponseBodyData extends $tea.Model {
1851
+ /**
1852
+ * @remarks
1853
+ * The AccessKey ID.
1854
+ *
1855
+ * @example
1856
+ * STS.NUEUjvDqMuvH6oQA1TXxxH4wVR
1857
+ */
929
1858
  accessKeyId?: string;
1859
+ /**
1860
+ * @remarks
1861
+ * The AccessKey secret.
1862
+ *
1863
+ * @example
1864
+ * xxxx
1865
+ */
930
1866
  accessKeySecret?: string;
1867
+ /**
1868
+ * @remarks
1869
+ * The bucket name.
1870
+ *
1871
+ * @example
1872
+ * oss-cip-shanghai
1873
+ */
931
1874
  bucketName?: string;
1875
+ /**
1876
+ * @remarks
1877
+ * The time when the file sharing link expires.
1878
+ *
1879
+ * @example
1880
+ * 1720577200
1881
+ */
932
1882
  expiration?: number;
1883
+ /**
1884
+ * @remarks
1885
+ * The file prefix.
1886
+ *
1887
+ * @example
1888
+ * upload/1xxb89/
1889
+ */
933
1890
  fileNamePrefix?: string;
1891
+ /**
1892
+ * @remarks
1893
+ * the oss intranet point.
1894
+ *
1895
+ * @example
1896
+ * https://oss-cn-shanghai-internal.aliyuncs.com
1897
+ */
934
1898
  ossInternalEndPoint?: string;
1899
+ /**
1900
+ * @remarks
1901
+ * the oss internet point.
1902
+ *
1903
+ * @example
1904
+ * https://oss-cn-shanghai.aliyuncs.com
1905
+ */
935
1906
  ossInternetEndPoint?: string;
1907
+ /**
1908
+ * @remarks
1909
+ * The security token.
1910
+ *
1911
+ * @example
1912
+ * xxxx
1913
+ */
936
1914
  securityToken?: string;
937
1915
  static names(): {
938
1916
  [key: string]: string;
@@ -945,8 +1923,23 @@ export declare class DescribeUploadTokenResponseBodyData extends $tea.Model {
945
1923
  });
946
1924
  }
947
1925
  export declare class DescribeUrlModerationResultResponseBodyDataExtraInfo extends $tea.Model {
1926
+ /**
1927
+ * @remarks
1928
+ * ICP record number.
1929
+ *
1930
+ * @example
1931
+ * xx
1932
+ */
948
1933
  icpNo?: string;
1934
+ /**
1935
+ * @remarks
1936
+ * ICP filing type.
1937
+ *
1938
+ * @example
1939
+ * xx
1940
+ */
949
1941
  icpType?: string;
1942
+ siteType?: string;
950
1943
  static names(): {
951
1944
  [key: string]: string;
952
1945
  };
@@ -958,7 +1951,21 @@ export declare class DescribeUrlModerationResultResponseBodyDataExtraInfo extend
958
1951
  });
959
1952
  }
960
1953
  export declare class DescribeUrlModerationResultResponseBodyDataResult extends $tea.Model {
1954
+ /**
1955
+ * @remarks
1956
+ * 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.
1957
+ *
1958
+ * @example
1959
+ * 81.22
1960
+ */
961
1961
  confidence?: number;
1962
+ /**
1963
+ * @remarks
1964
+ * The labels returned after the url async moderation.
1965
+ *
1966
+ * @example
1967
+ * sexual_url
1968
+ */
962
1969
  label?: string;
963
1970
  static names(): {
964
1971
  [key: string]: string;
@@ -971,9 +1978,31 @@ export declare class DescribeUrlModerationResultResponseBodyDataResult extends $
971
1978
  });
972
1979
  }
973
1980
  export declare class DescribeUrlModerationResultResponseBodyData extends $tea.Model {
1981
+ /**
1982
+ * @remarks
1983
+ * The ID of the moderated object.
1984
+ *
1985
+ * @example
1986
+ * 26769ada6e264e7ba9aa048241e12be9
1987
+ */
974
1988
  dataId?: string;
1989
+ /**
1990
+ * @remarks
1991
+ * Supplementary information.
1992
+ */
975
1993
  extraInfo?: DescribeUrlModerationResultResponseBodyDataExtraInfo;
1994
+ /**
1995
+ * @remarks
1996
+ * The reqId field returned by the Url Async Moderation API.
1997
+ *
1998
+ * @example
1999
+ * B0963D30-BAB4-562F-9ED0-7A23AEC51C7C
2000
+ */
976
2001
  reqId?: string;
2002
+ /**
2003
+ * @remarks
2004
+ * The results of url async moderation parameters such as the label parameter and the confidence parameter.
2005
+ */
977
2006
  result?: DescribeUrlModerationResultResponseBodyDataResult[];
978
2007
  static names(): {
979
2008
  [key: string]: string;
@@ -986,6 +2015,13 @@ export declare class DescribeUrlModerationResultResponseBodyData extends $tea.Mo
986
2015
  });
987
2016
  }
988
2017
  export declare class FileModerationResponseBodyData extends $tea.Model {
2018
+ /**
2019
+ * @remarks
2020
+ * The task ID.
2021
+ *
2022
+ * @example
2023
+ * xxxxx-xxxxx
2024
+ */
989
2025
  taskId?: string;
990
2026
  static names(): {
991
2027
  [key: string]: string;
@@ -998,7 +2034,21 @@ export declare class FileModerationResponseBodyData extends $tea.Model {
998
2034
  });
999
2035
  }
1000
2036
  export declare class ImageAsyncModerationResponseBodyData extends $tea.Model {
2037
+ /**
2038
+ * @remarks
2039
+ * The ID of the moderated object.
2040
+ *
2041
+ * @example
2042
+ * fb5ffab1-993b-449f-b8d6-b97d5e3331f2
2043
+ */
1001
2044
  dataId?: string;
2045
+ /**
2046
+ * @remarks
2047
+ * The reqId field returned by the Image Async Moderation API. You can use this field to query the detection results.
2048
+ *
2049
+ * @example
2050
+ * A07B3DB9-D762-5C56-95B1-8EC55CF176D2
2051
+ */
1002
2052
  reqId?: string;
1003
2053
  static names(): {
1004
2054
  [key: string]: string;
@@ -1011,8 +2061,29 @@ export declare class ImageAsyncModerationResponseBodyData extends $tea.Model {
1011
2061
  });
1012
2062
  }
1013
2063
  export declare class ImageModerationResponseBodyDataExtCustomImage extends $tea.Model {
2064
+ /**
2065
+ * @remarks
2066
+ * The image ID.
2067
+ *
2068
+ * @example
2069
+ * 123456
2070
+ */
1014
2071
  imageId?: string;
2072
+ /**
2073
+ * @remarks
2074
+ * The image library ID.
2075
+ *
2076
+ * @example
2077
+ * lib_123456
2078
+ */
1015
2079
  libId?: string;
2080
+ /**
2081
+ * @remarks
2082
+ * The image library name.
2083
+ *
2084
+ * @example
2085
+ * xx
2086
+ */
1016
2087
  libName?: string;
1017
2088
  static names(): {
1018
2089
  [key: string]: string;
@@ -1025,9 +2096,37 @@ export declare class ImageModerationResponseBodyDataExtCustomImage extends $tea.
1025
2096
  });
1026
2097
  }
1027
2098
  export declare class ImageModerationResponseBodyDataExtLogoDataLocation extends $tea.Model {
2099
+ /**
2100
+ * @remarks
2101
+ * The height of the text area, in pixels.
2102
+ *
2103
+ * @example
2104
+ * 44
2105
+ */
1028
2106
  h?: number;
2107
+ /**
2108
+ * @remarks
2109
+ * The width of the text area, in pixels.
2110
+ *
2111
+ * @example
2112
+ * 33
2113
+ */
1029
2114
  w?: number;
2115
+ /**
2116
+ * @remarks
2117
+ * 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.
2118
+ *
2119
+ * @example
2120
+ * 11
2121
+ */
1030
2122
  x?: number;
2123
+ /**
2124
+ * @remarks
2125
+ * 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.
2126
+ *
2127
+ * @example
2128
+ * 22
2129
+ */
1031
2130
  y?: number;
1032
2131
  static names(): {
1033
2132
  [key: string]: string;
@@ -1040,8 +2139,29 @@ export declare class ImageModerationResponseBodyDataExtLogoDataLocation extends
1040
2139
  });
1041
2140
  }
1042
2141
  export declare class ImageModerationResponseBodyDataExtLogoDataLogo extends $tea.Model {
2142
+ /**
2143
+ * @remarks
2144
+ * 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.
2145
+ *
2146
+ * @example
2147
+ * 99.01
2148
+ */
1043
2149
  confidence?: number;
2150
+ /**
2151
+ * @remarks
2152
+ * Logo category.
2153
+ *
2154
+ * @example
2155
+ * xx
2156
+ */
1044
2157
  label?: string;
2158
+ /**
2159
+ * @remarks
2160
+ * Logo name.
2161
+ *
2162
+ * @example
2163
+ * xx
2164
+ */
1045
2165
  name?: string;
1046
2166
  static names(): {
1047
2167
  [key: string]: string;
@@ -1054,7 +2174,15 @@ export declare class ImageModerationResponseBodyDataExtLogoDataLogo extends $tea
1054
2174
  });
1055
2175
  }
1056
2176
  export declare class ImageModerationResponseBodyDataExtLogoData extends $tea.Model {
2177
+ /**
2178
+ * @remarks
2179
+ * Location information.
2180
+ */
1057
2181
  location?: ImageModerationResponseBodyDataExtLogoDataLocation;
2182
+ /**
2183
+ * @remarks
2184
+ * Logo information.
2185
+ */
1058
2186
  logo?: ImageModerationResponseBodyDataExtLogoDataLogo[];
1059
2187
  static names(): {
1060
2188
  [key: string]: string;
@@ -1067,9 +2195,37 @@ export declare class ImageModerationResponseBodyDataExtLogoData extends $tea.Mod
1067
2195
  });
1068
2196
  }
1069
2197
  export declare class ImageModerationResponseBodyDataExtOcrResultLocation extends $tea.Model {
2198
+ /**
2199
+ * @remarks
2200
+ * The height of the text area, in pixels.
2201
+ *
2202
+ * @example
2203
+ * 44
2204
+ */
1070
2205
  h?: number;
2206
+ /**
2207
+ * @remarks
2208
+ * The width of the text area, in pixels.
2209
+ *
2210
+ * @example
2211
+ * 33
2212
+ */
1071
2213
  w?: number;
2214
+ /**
2215
+ * @remarks
2216
+ * 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.
2217
+ *
2218
+ * @example
2219
+ * 11
2220
+ */
1072
2221
  x?: number;
2222
+ /**
2223
+ * @remarks
2224
+ * 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.
2225
+ *
2226
+ * @example
2227
+ * 22
2228
+ */
1073
2229
  y?: number;
1074
2230
  static names(): {
1075
2231
  [key: string]: string;
@@ -1082,7 +2238,18 @@ export declare class ImageModerationResponseBodyDataExtOcrResultLocation extends
1082
2238
  });
1083
2239
  }
1084
2240
  export declare class ImageModerationResponseBodyDataExtOcrResult extends $tea.Model {
2241
+ /**
2242
+ * @remarks
2243
+ * Location information.
2244
+ */
1085
2245
  location?: ImageModerationResponseBodyDataExtOcrResultLocation;
2246
+ /**
2247
+ * @remarks
2248
+ * The text information in the recognized image.
2249
+ *
2250
+ * @example
2251
+ * xx
2252
+ */
1086
2253
  text?: string;
1087
2254
  static names(): {
1088
2255
  [key: string]: string;
@@ -1094,9 +2261,39 @@ export declare class ImageModerationResponseBodyDataExtOcrResult extends $tea.Mo
1094
2261
  [key: string]: any;
1095
2262
  });
1096
2263
  }
2264
+ export declare class ImageModerationResponseBodyDataExtPublicFigureLocation extends $tea.Model {
2265
+ h?: number;
2266
+ w?: number;
2267
+ x?: number;
2268
+ y?: number;
2269
+ static names(): {
2270
+ [key: string]: string;
2271
+ };
2272
+ static types(): {
2273
+ [key: string]: any;
2274
+ };
2275
+ constructor(map?: {
2276
+ [key: string]: any;
2277
+ });
2278
+ }
1097
2279
  export declare class ImageModerationResponseBodyDataExtPublicFigure extends $tea.Model {
2280
+ /**
2281
+ * @remarks
2282
+ * Identified person coding information.
2283
+ *
2284
+ * @example
2285
+ * xx
2286
+ */
1098
2287
  figureId?: string;
2288
+ /**
2289
+ * @remarks
2290
+ * Identified person name information.
2291
+ *
2292
+ * @example
2293
+ * xx
2294
+ */
1099
2295
  figureName?: string;
2296
+ location?: ImageModerationResponseBodyDataExtPublicFigureLocation[];
1100
2297
  static names(): {
1101
2298
  [key: string]: string;
1102
2299
  };
@@ -1108,7 +2305,21 @@ export declare class ImageModerationResponseBodyDataExtPublicFigure extends $tea
1108
2305
  });
1109
2306
  }
1110
2307
  export declare class ImageModerationResponseBodyDataExtRecognition extends $tea.Model {
2308
+ /**
2309
+ * @remarks
2310
+ * The category of image recognition.
2311
+ *
2312
+ * @example
2313
+ * xx
2314
+ */
1111
2315
  classification?: string;
2316
+ /**
2317
+ * @remarks
2318
+ * 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.
2319
+ *
2320
+ * @example
2321
+ * 99.01
2322
+ */
1112
2323
  confidence?: number;
1113
2324
  static names(): {
1114
2325
  [key: string]: string;
@@ -1121,8 +2332,29 @@ export declare class ImageModerationResponseBodyDataExtRecognition extends $tea.
1121
2332
  });
1122
2333
  }
1123
2334
  export declare class ImageModerationResponseBodyDataExtTextInImageCustomText extends $tea.Model {
2335
+ /**
2336
+ * @remarks
2337
+ * Custom words, multiple words separated by commas.
2338
+ *
2339
+ * @example
2340
+ * aaa,bbb
2341
+ */
1124
2342
  keyWords?: string;
2343
+ /**
2344
+ * @remarks
2345
+ * Custom library ID.
2346
+ *
2347
+ * @example
2348
+ * 123456
2349
+ */
1125
2350
  libId?: string;
2351
+ /**
2352
+ * @remarks
2353
+ * Custom library name.
2354
+ *
2355
+ * @example
2356
+ * xxxx
2357
+ */
1126
2358
  libName?: string;
1127
2359
  static names(): {
1128
2360
  [key: string]: string;
@@ -1135,9 +2367,37 @@ export declare class ImageModerationResponseBodyDataExtTextInImageCustomText ext
1135
2367
  });
1136
2368
  }
1137
2369
  export declare class ImageModerationResponseBodyDataExtTextInImageOcrResultLocation extends $tea.Model {
2370
+ /**
2371
+ * @remarks
2372
+ * The height of the text area, in pixels.
2373
+ *
2374
+ * @example
2375
+ * 33
2376
+ */
1138
2377
  h?: number;
2378
+ /**
2379
+ * @remarks
2380
+ * The width of the text area, in pixels.
2381
+ *
2382
+ * @example
2383
+ * 44
2384
+ */
1139
2385
  w?: number;
2386
+ /**
2387
+ * @remarks
2388
+ * 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.
2389
+ *
2390
+ * @example
2391
+ * 11
2392
+ */
1140
2393
  x?: number;
2394
+ /**
2395
+ * @remarks
2396
+ * 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.
2397
+ *
2398
+ * @example
2399
+ * 22
2400
+ */
1141
2401
  y?: number;
1142
2402
  static names(): {
1143
2403
  [key: string]: string;
@@ -1150,7 +2410,18 @@ export declare class ImageModerationResponseBodyDataExtTextInImageOcrResultLocat
1150
2410
  });
1151
2411
  }
1152
2412
  export declare class ImageModerationResponseBodyDataExtTextInImageOcrResult extends $tea.Model {
2413
+ /**
2414
+ * @remarks
2415
+ * Location information.
2416
+ */
1153
2417
  location?: ImageModerationResponseBodyDataExtTextInImageOcrResultLocation;
2418
+ /**
2419
+ * @remarks
2420
+ * The text information in the recognized image.
2421
+ *
2422
+ * @example
2423
+ * xx
2424
+ */
1154
2425
  text?: string;
1155
2426
  static names(): {
1156
2427
  [key: string]: string;
@@ -1163,8 +2434,20 @@ export declare class ImageModerationResponseBodyDataExtTextInImageOcrResult exte
1163
2434
  });
1164
2435
  }
1165
2436
  export declare class ImageModerationResponseBodyDataExtTextInImage extends $tea.Model {
2437
+ /**
2438
+ * @remarks
2439
+ * When a custom text library is hit, the custom library ID, custom library name, and custom word are returned.
2440
+ */
1166
2441
  customText?: ImageModerationResponseBodyDataExtTextInImageCustomText[];
2442
+ /**
2443
+ * @remarks
2444
+ * Returns the text information in the recognized image.
2445
+ */
1167
2446
  ocrResult?: ImageModerationResponseBodyDataExtTextInImageOcrResult[];
2447
+ /**
2448
+ * @remarks
2449
+ * The risk words that are hit. Multiple words are separated by commas (,).
2450
+ */
1168
2451
  riskWord?: string[];
1169
2452
  static names(): {
1170
2453
  [key: string]: string;
@@ -1177,11 +2460,35 @@ export declare class ImageModerationResponseBodyDataExtTextInImage extends $tea.
1177
2460
  });
1178
2461
  }
1179
2462
  export declare class ImageModerationResponseBodyDataExt extends $tea.Model {
2463
+ /**
2464
+ * @remarks
2465
+ * If a custom image library is hit, information about the hit custom image library is returned.
2466
+ */
1180
2467
  customImage?: ImageModerationResponseBodyDataExtCustomImage[];
2468
+ /**
2469
+ * @remarks
2470
+ * Logo information.
2471
+ */
1181
2472
  logoData?: ImageModerationResponseBodyDataExtLogoData[];
2473
+ /**
2474
+ * @remarks
2475
+ * Returns the text information in the recognized image.
2476
+ */
1182
2477
  ocrResult?: ImageModerationResponseBodyDataExtOcrResult[];
2478
+ /**
2479
+ * @remarks
2480
+ * Person information list.
2481
+ */
1183
2482
  publicFigure?: ImageModerationResponseBodyDataExtPublicFigure[];
2483
+ /**
2484
+ * @remarks
2485
+ * The result of image recognition.
2486
+ */
1184
2487
  recognition?: ImageModerationResponseBodyDataExtRecognition[];
2488
+ /**
2489
+ * @remarks
2490
+ * Returns the text information in the hit image.
2491
+ */
1185
2492
  textInImage?: ImageModerationResponseBodyDataExtTextInImage;
1186
2493
  static names(): {
1187
2494
  [key: string]: string;
@@ -1194,7 +2501,21 @@ export declare class ImageModerationResponseBodyDataExt extends $tea.Model {
1194
2501
  });
1195
2502
  }
1196
2503
  export declare class ImageModerationResponseBodyDataResult extends $tea.Model {
2504
+ /**
2505
+ * @remarks
2506
+ * 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.
2507
+ *
2508
+ * @example
2509
+ * 81.22
2510
+ */
1197
2511
  confidence?: number;
2512
+ /**
2513
+ * @remarks
2514
+ * The labels returned after the image moderation.
2515
+ *
2516
+ * @example
2517
+ * violent_explosion
2518
+ */
1198
2519
  label?: string;
1199
2520
  static names(): {
1200
2521
  [key: string]: string;
@@ -1207,9 +2528,31 @@ export declare class ImageModerationResponseBodyDataResult extends $tea.Model {
1207
2528
  });
1208
2529
  }
1209
2530
  export declare class ImageModerationResponseBodyData extends $tea.Model {
2531
+ /**
2532
+ * @remarks
2533
+ * The ID of the moderated object.
2534
+ *
2535
+ * @example
2536
+ * fb5ffab1-993b-449f-b8d6-b97d5e3331f2
2537
+ */
1210
2538
  dataId?: string;
2539
+ /**
2540
+ * @remarks
2541
+ * Auxiliary reference information.
2542
+ */
1211
2543
  ext?: ImageModerationResponseBodyDataExt;
2544
+ /**
2545
+ * @remarks
2546
+ * The results of image moderation parameters such as the label parameter and the confidence parameter.
2547
+ */
1212
2548
  result?: ImageModerationResponseBodyDataResult[];
2549
+ /**
2550
+ * @remarks
2551
+ * Risk Level.
2552
+ *
2553
+ * @example
2554
+ * high
2555
+ */
1213
2556
  riskLevel?: string;
1214
2557
  static names(): {
1215
2558
  [key: string]: string;
@@ -1222,9 +2565,37 @@ export declare class ImageModerationResponseBodyData extends $tea.Model {
1222
2565
  });
1223
2566
  }
1224
2567
  export declare class TextModerationResponseBodyData extends $tea.Model {
2568
+ /**
2569
+ * @remarks
2570
+ * The ID of the Alibaba Cloud account.
2571
+ *
2572
+ * @example
2573
+ * 123456
2574
+ */
1225
2575
  accountId?: string;
2576
+ /**
2577
+ * @remarks
2578
+ * The device ID.
2579
+ *
2580
+ * @example
2581
+ * xxxxxx
2582
+ */
1226
2583
  deviceId?: string;
2584
+ /**
2585
+ * @remarks
2586
+ * Labels.
2587
+ *
2588
+ * @example
2589
+ * porn
2590
+ */
1227
2591
  labels?: string;
2592
+ /**
2593
+ * @remarks
2594
+ * The JSON string used to locate the cause.
2595
+ *
2596
+ * @example
2597
+ * {\\"detectedLanguage\\":\\"ar\\",\\"riskTips\\":\\"sexuality_Suggestive\\",\\"riskWords\\":\\"pxxxxy\\",\\"translatedContent\\":\\"pxxxxy sxxxx\\"}
2598
+ */
1228
2599
  reason?: string;
1229
2600
  static names(): {
1230
2601
  [key: string]: string;
@@ -1237,8 +2608,29 @@ export declare class TextModerationResponseBodyData extends $tea.Model {
1237
2608
  });
1238
2609
  }
1239
2610
  export declare class TextModerationPlusResponseBodyDataAdvice extends $tea.Model {
2611
+ /**
2612
+ * @remarks
2613
+ * Answer
2614
+ *
2615
+ * @example
2616
+ * XXX
2617
+ */
1240
2618
  answer?: string;
2619
+ /**
2620
+ * @remarks
2621
+ * Hit Label
2622
+ *
2623
+ * @example
2624
+ * xxx
2625
+ */
1241
2626
  hitLabel?: string;
2627
+ /**
2628
+ * @remarks
2629
+ * Hit Library Name
2630
+ *
2631
+ * @example
2632
+ * xxx
2633
+ */
1242
2634
  hitLibName?: string;
1243
2635
  static names(): {
1244
2636
  [key: string]: string;
@@ -1251,7 +2643,21 @@ export declare class TextModerationPlusResponseBodyDataAdvice extends $tea.Model
1251
2643
  });
1252
2644
  }
1253
2645
  export declare class TextModerationPlusResponseBodyDataResultCustomizedHit extends $tea.Model {
2646
+ /**
2647
+ * @remarks
2648
+ * Hit keywords, comma separated.
2649
+ *
2650
+ * @example
2651
+ * xxx
2652
+ */
1254
2653
  keyWords?: string;
2654
+ /**
2655
+ * @remarks
2656
+ * Library Name
2657
+ *
2658
+ * @example
2659
+ * test
2660
+ */
1255
2661
  libName?: string;
1256
2662
  static names(): {
1257
2663
  [key: string]: string;
@@ -1264,9 +2670,34 @@ export declare class TextModerationPlusResponseBodyDataResultCustomizedHit exten
1264
2670
  });
1265
2671
  }
1266
2672
  export declare class TextModerationPlusResponseBodyDataResult extends $tea.Model {
2673
+ /**
2674
+ * @remarks
2675
+ * Confidence score, 0 to 100, reserved to 2 decimal places.
2676
+ *
2677
+ * @example
2678
+ * 81.22
2679
+ */
1267
2680
  confidence?: number;
2681
+ /**
2682
+ * @remarks
2683
+ * Custom keyword hits
2684
+ */
1268
2685
  customizedHit?: TextModerationPlusResponseBodyDataResultCustomizedHit[];
2686
+ /**
2687
+ * @remarks
2688
+ * Labels.
2689
+ *
2690
+ * @example
2691
+ * porn
2692
+ */
1269
2693
  label?: string;
2694
+ /**
2695
+ * @remarks
2696
+ * Risk words
2697
+ *
2698
+ * @example
2699
+ * XXX
2700
+ */
1270
2701
  riskWords?: string;
1271
2702
  static names(): {
1272
2703
  [key: string]: string;
@@ -1279,9 +2710,31 @@ export declare class TextModerationPlusResponseBodyDataResult extends $tea.Model
1279
2710
  });
1280
2711
  }
1281
2712
  export declare class TextModerationPlusResponseBodyData extends $tea.Model {
2713
+ /**
2714
+ * @remarks
2715
+ * Advice
2716
+ */
1282
2717
  advice?: TextModerationPlusResponseBodyDataAdvice[];
2718
+ /**
2719
+ * @remarks
2720
+ * The moderation results.
2721
+ */
1283
2722
  result?: TextModerationPlusResponseBodyDataResult[];
2723
+ /**
2724
+ * @remarks
2725
+ * Risk Level
2726
+ *
2727
+ * @example
2728
+ * high
2729
+ */
1284
2730
  riskLevel?: string;
2731
+ /**
2732
+ * @remarks
2733
+ * Score.
2734
+ *
2735
+ * @example
2736
+ * 1
2737
+ */
1285
2738
  score?: number;
1286
2739
  static names(): {
1287
2740
  [key: string]: string;
@@ -1294,7 +2747,21 @@ export declare class TextModerationPlusResponseBodyData extends $tea.Model {
1294
2747
  });
1295
2748
  }
1296
2749
  export declare class UrlAsyncModerationResponseBodyData extends $tea.Model {
2750
+ /**
2751
+ * @remarks
2752
+ * The ID of the moderated object.
2753
+ *
2754
+ * @example
2755
+ * 26769ada6e264e7ba9aa048241e12be9
2756
+ */
1297
2757
  dataId?: string;
2758
+ /**
2759
+ * @remarks
2760
+ * The reqId field returned by the Url Async Moderation API.
2761
+ *
2762
+ * @example
2763
+ * A07B3DB9-D762-5C56-95B1-8EC55CF176D2
2764
+ */
1298
2765
  reqId?: string;
1299
2766
  static names(): {
1300
2767
  [key: string]: string;
@@ -1307,7 +2774,21 @@ export declare class UrlAsyncModerationResponseBodyData extends $tea.Model {
1307
2774
  });
1308
2775
  }
1309
2776
  export declare class VideoModerationResponseBodyData extends $tea.Model {
2777
+ /**
2778
+ * @remarks
2779
+ * The ID of the moderated object.
2780
+ *
2781
+ * @example
2782
+ * data1234
2783
+ */
1310
2784
  dataId?: string;
2785
+ /**
2786
+ * @remarks
2787
+ * The task ID.
2788
+ *
2789
+ * @example
2790
+ * xxxxx-xxxxx
2791
+ */
1311
2792
  taskId?: string;
1312
2793
  static names(): {
1313
2794
  [key: string]: string;
@@ -1320,7 +2801,21 @@ export declare class VideoModerationResponseBodyData extends $tea.Model {
1320
2801
  });
1321
2802
  }
1322
2803
  export declare class VideoModerationResultResponseBodyDataAudioResultAudioSummarys extends $tea.Model {
2804
+ /**
2805
+ * @remarks
2806
+ * Voice label.
2807
+ *
2808
+ * @example
2809
+ * profanity
2810
+ */
1323
2811
  label?: string;
2812
+ /**
2813
+ * @remarks
2814
+ * The number of times that the label is matched.
2815
+ *
2816
+ * @example
2817
+ * 8
2818
+ */
1324
2819
  labelSum?: number;
1325
2820
  static names(): {
1326
2821
  [key: string]: string;
@@ -1333,16 +2828,93 @@ export declare class VideoModerationResultResponseBodyDataAudioResultAudioSummar
1333
2828
  });
1334
2829
  }
1335
2830
  export declare class VideoModerationResultResponseBodyDataAudioResultSliceDetails extends $tea.Model {
2831
+ /**
2832
+ * @remarks
2833
+ * The end time of the text after voice-to-text conversion. Unit: seconds.
2834
+ *
2835
+ * @example
2836
+ * 30
2837
+ */
1336
2838
  endTime?: number;
2839
+ /**
2840
+ * @remarks
2841
+ * The end timestamp of the segment. Unit: milliseconds.
2842
+ *
2843
+ * @example
2844
+ * 1685245261939
2845
+ */
1337
2846
  endTimestamp?: number;
2847
+ /**
2848
+ * @remarks
2849
+ * A reserved parameter.
2850
+ *
2851
+ * @example
2852
+ * {\\"consoleProduct\\":\\"slbnext\\"}
2853
+ */
1338
2854
  extend?: string;
2855
+ /**
2856
+ * @remarks
2857
+ * The details of the labels.
2858
+ *
2859
+ * @example
2860
+ * porn
2861
+ */
1339
2862
  labels?: string;
2863
+ /**
2864
+ * @remarks
2865
+ * Subcategory labels. Multiple labels are separated by commas (,).
2866
+ *
2867
+ * @example
2868
+ * ""
2869
+ */
1340
2870
  riskTips?: string;
2871
+ /**
2872
+ * @remarks
2873
+ * The risk words that are hit. Multiple words are separated by commas (,).
2874
+ *
2875
+ * @example
2876
+ * ""
2877
+ */
1341
2878
  riskWords?: string;
2879
+ /**
2880
+ * @remarks
2881
+ * Risk score, default range 0-99.
2882
+ *
2883
+ * @example
2884
+ * 5
2885
+ */
1342
2886
  score?: number;
2887
+ /**
2888
+ * @remarks
2889
+ * The start time of the text after voice-to-text conversion. Unit: seconds.
2890
+ *
2891
+ * @example
2892
+ * 0
2893
+ */
1343
2894
  startTime?: number;
2895
+ /**
2896
+ * @remarks
2897
+ * The start timestamp of the segment. Unit: milliseconds.
2898
+ *
2899
+ * @example
2900
+ * 1659935002123
2901
+ */
1344
2902
  startTimestamp?: number;
2903
+ /**
2904
+ * @remarks
2905
+ * The text converted from voice.
2906
+ *
2907
+ * @example
2908
+ * Disgusting
2909
+ */
1345
2910
  text?: string;
2911
+ /**
2912
+ * @remarks
2913
+ * 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.
2914
+ *
2915
+ * @example
2916
+ * http://xxxx.abc.img
2917
+ */
1346
2918
  url?: string;
1347
2919
  static names(): {
1348
2920
  [key: string]: string;
@@ -1355,7 +2927,15 @@ export declare class VideoModerationResultResponseBodyDataAudioResultSliceDetail
1355
2927
  });
1356
2928
  }
1357
2929
  export declare class VideoModerationResultResponseBodyDataAudioResult extends $tea.Model {
2930
+ /**
2931
+ * @remarks
2932
+ * Summary of voice labels.
2933
+ */
1358
2934
  audioSummarys?: VideoModerationResultResponseBodyDataAudioResultAudioSummarys[];
2935
+ /**
2936
+ * @remarks
2937
+ * 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.
2938
+ */
1359
2939
  sliceDetails?: VideoModerationResultResponseBodyDataAudioResultSliceDetails[];
1360
2940
  static names(): {
1361
2941
  [key: string]: string;
@@ -1368,7 +2948,21 @@ export declare class VideoModerationResultResponseBodyDataAudioResult extends $t
1368
2948
  });
1369
2949
  }
1370
2950
  export declare class VideoModerationResultResponseBodyDataFrameResultFrameSummarys extends $tea.Model {
2951
+ /**
2952
+ * @remarks
2953
+ * The label against which a captured frame is matched.
2954
+ *
2955
+ * @example
2956
+ * violent_armedForces
2957
+ */
1371
2958
  label?: string;
2959
+ /**
2960
+ * @remarks
2961
+ * The number of times that the label is matched.
2962
+ *
2963
+ * @example
2964
+ * 8
2965
+ */
1372
2966
  labelSum?: number;
1373
2967
  static names(): {
1374
2968
  [key: string]: string;
@@ -1381,7 +2975,21 @@ export declare class VideoModerationResultResponseBodyDataFrameResultFrameSummar
1381
2975
  });
1382
2976
  }
1383
2977
  export declare class VideoModerationResultResponseBodyDataFrameResultFramesResultsCustomImage extends $tea.Model {
2978
+ /**
2979
+ * @remarks
2980
+ * The ID of the hit custom image.
2981
+ *
2982
+ * @example
2983
+ * 1234
2984
+ */
1384
2985
  imageId?: string;
2986
+ /**
2987
+ * @remarks
2988
+ * The custom image library ID of the hit.
2989
+ *
2990
+ * @example
2991
+ * 12345678
2992
+ */
1385
2993
  libId?: string;
1386
2994
  static names(): {
1387
2995
  [key: string]: string;
@@ -1394,6 +3002,13 @@ export declare class VideoModerationResultResponseBodyDataFrameResultFramesResul
1394
3002
  });
1395
3003
  }
1396
3004
  export declare class VideoModerationResultResponseBodyDataFrameResultFramesResultsPublicFigure extends $tea.Model {
3005
+ /**
3006
+ * @remarks
3007
+ * Identified person coding information.
3008
+ *
3009
+ * @example
3010
+ * xxx001
3011
+ */
1397
3012
  figureId?: string;
1398
3013
  static names(): {
1399
3014
  [key: string]: string;
@@ -1406,7 +3021,21 @@ export declare class VideoModerationResultResponseBodyDataFrameResultFramesResul
1406
3021
  });
1407
3022
  }
1408
3023
  export declare class VideoModerationResultResponseBodyDataFrameResultFramesResultsResult extends $tea.Model {
3024
+ /**
3025
+ * @remarks
3026
+ * The score of the confidence level. Valid values: 0 to 100. The value is accurate to two decimal places.
3027
+ *
3028
+ * @example
3029
+ * 50
3030
+ */
1409
3031
  confidence?: number;
3032
+ /**
3033
+ * @remarks
3034
+ * The label returned after a frame is moderated. Multiple risk labels and the corresponding scores of confidence levels may be returned for a frame.
3035
+ *
3036
+ * @example
3037
+ * bloody
3038
+ */
1410
3039
  label?: string;
1411
3040
  static names(): {
1412
3041
  [key: string]: string;
@@ -1419,10 +3048,33 @@ export declare class VideoModerationResultResponseBodyDataFrameResultFramesResul
1419
3048
  });
1420
3049
  }
1421
3050
  export declare class VideoModerationResultResponseBodyDataFrameResultFramesResults extends $tea.Model {
3051
+ /**
3052
+ * @remarks
3053
+ * If a custom image library is hit, information about the hit custom image library is returned.
3054
+ */
1422
3055
  customImage?: VideoModerationResultResponseBodyDataFrameResultFramesResultsCustomImage[];
3056
+ /**
3057
+ * @remarks
3058
+ * If the video contains a specific person, the recognized person code is returned.
3059
+ */
1423
3060
  publicFigure?: VideoModerationResultResponseBodyDataFrameResultFramesResultsPublicFigure[];
3061
+ /**
3062
+ * @remarks
3063
+ * The results of frame moderation parameters such as the label parameter and the confidence parameter.
3064
+ */
1424
3065
  result?: VideoModerationResultResponseBodyDataFrameResultFramesResultsResult[];
3066
+ /**
3067
+ * @remarks
3068
+ * The moderation service that is called.
3069
+ *
3070
+ * @example
3071
+ * tonalityImprove
3072
+ */
1425
3073
  service?: string;
3074
+ /**
3075
+ * @remarks
3076
+ * Returns the text information in the hit image.
3077
+ */
1426
3078
  textInImage?: {
1427
3079
  [key: string]: any;
1428
3080
  };
@@ -1437,9 +3089,34 @@ export declare class VideoModerationResultResponseBodyDataFrameResultFramesResul
1437
3089
  });
1438
3090
  }
1439
3091
  export declare class VideoModerationResultResponseBodyDataFrameResultFrames extends $tea.Model {
3092
+ /**
3093
+ * @remarks
3094
+ * The interval between the start of the video file and the captured frame. Unit: seconds.
3095
+ *
3096
+ * @example
3097
+ * 338
3098
+ */
1440
3099
  offset?: number;
3100
+ /**
3101
+ * @remarks
3102
+ * The results of frame moderation parameters such as the label parameter and the confidence parameter.
3103
+ */
1441
3104
  results?: VideoModerationResultResponseBodyDataFrameResultFramesResults[];
3105
+ /**
3106
+ * @remarks
3107
+ * The temporary URL of a captured frame. This URL is valid for 30 minutes.
3108
+ *
3109
+ * @example
3110
+ * http://xxxx.abc.jpg
3111
+ */
1442
3112
  tempUrl?: string;
3113
+ /**
3114
+ * @remarks
3115
+ * The absolute timestamp. Unit: milliseconds.
3116
+ *
3117
+ * @example
3118
+ * 1684559739000
3119
+ */
1443
3120
  timestamp?: number;
1444
3121
  static names(): {
1445
3122
  [key: string]: string;
@@ -1452,8 +3129,23 @@ export declare class VideoModerationResultResponseBodyDataFrameResultFrames exte
1452
3129
  });
1453
3130
  }
1454
3131
  export declare class VideoModerationResultResponseBodyDataFrameResult extends $tea.Model {
3132
+ /**
3133
+ * @remarks
3134
+ * The number of captured frames that are returned for the video file.
3135
+ *
3136
+ * @example
3137
+ * 10
3138
+ */
1455
3139
  frameNum?: number;
3140
+ /**
3141
+ * @remarks
3142
+ * The summary of the labels against which captured frames are matched.
3143
+ */
1456
3144
  frameSummarys?: VideoModerationResultResponseBodyDataFrameResultFrameSummarys[];
3145
+ /**
3146
+ * @remarks
3147
+ * The information about the frames that match the labels.
3148
+ */
1457
3149
  frames?: VideoModerationResultResponseBodyDataFrameResultFrames[];
1458
3150
  static names(): {
1459
3151
  [key: string]: string;
@@ -1466,10 +3158,39 @@ export declare class VideoModerationResultResponseBodyDataFrameResult extends $t
1466
3158
  });
1467
3159
  }
1468
3160
  export declare class VideoModerationResultResponseBodyData extends $tea.Model {
3161
+ /**
3162
+ * @remarks
3163
+ * The voice moderation results. The moderation results contain a structure.
3164
+ */
1469
3165
  audioResult?: VideoModerationResultResponseBodyDataAudioResult;
3166
+ /**
3167
+ * @remarks
3168
+ * The ID of the moderated object.
3169
+ *
3170
+ * @example
3171
+ * product_content-2055763
3172
+ */
1470
3173
  dataId?: string;
3174
+ /**
3175
+ * @remarks
3176
+ * 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.
3177
+ */
1471
3178
  frameResult?: VideoModerationResultResponseBodyDataFrameResult;
3179
+ /**
3180
+ * @remarks
3181
+ * The unique ID of the live stream.
3182
+ *
3183
+ * @example
3184
+ * liveId
3185
+ */
1472
3186
  liveId?: string;
3187
+ /**
3188
+ * @remarks
3189
+ * The task ID.
3190
+ *
3191
+ * @example
3192
+ * xxxxx-xxxxx
3193
+ */
1473
3194
  taskId?: string;
1474
3195
  static names(): {
1475
3196
  [key: string]: string;
@@ -1482,7 +3203,21 @@ export declare class VideoModerationResultResponseBodyData extends $tea.Model {
1482
3203
  });
1483
3204
  }
1484
3205
  export declare class VoiceModerationResponseBodyData extends $tea.Model {
3206
+ /**
3207
+ * @remarks
3208
+ * The ID of the moderated object.
3209
+ *
3210
+ * @example
3211
+ * data1234
3212
+ */
1485
3213
  dataId?: string;
3214
+ /**
3215
+ * @remarks
3216
+ * The task ID.
3217
+ *
3218
+ * @example
3219
+ * xxxxx-xxxxx
3220
+ */
1486
3221
  taskId?: string;
1487
3222
  static names(): {
1488
3223
  [key: string]: string;
@@ -1495,19 +3230,103 @@ export declare class VoiceModerationResponseBodyData extends $tea.Model {
1495
3230
  });
1496
3231
  }
1497
3232
  export declare class VoiceModerationResultResponseBodyDataSliceDetails extends $tea.Model {
3233
+ /**
3234
+ * @remarks
3235
+ * The end time of the text after audio-to-text conversion. Unit: seconds.
3236
+ *
3237
+ * @example
3238
+ * 10
3239
+ */
1498
3240
  endTime?: number;
3241
+ /**
3242
+ * @remarks
3243
+ * The end timestamp of the segment. Unit: milliseconds.
3244
+ *
3245
+ * @example
3246
+ * 1678854649720
3247
+ */
1499
3248
  endTimestamp?: number;
3249
+ /**
3250
+ * @remarks
3251
+ * A reserved parameter.
3252
+ *
3253
+ * @example
3254
+ * {\\"riskTips\\":\\"sexuality_Suggestive\\",\\"riskWords\\":\\"pxxxxy\\"}
3255
+ */
1500
3256
  extend?: string;
3257
+ /**
3258
+ * @remarks
3259
+ * The details of the labels.
3260
+ *
3261
+ * @example
3262
+ * sexual_sounds
3263
+ */
1501
3264
  labels?: string;
3265
+ /**
3266
+ * @remarks
3267
+ * Reserved field.
3268
+ *
3269
+ * @example
3270
+ * {}
3271
+ */
1502
3272
  originAlgoResult?: {
1503
3273
  [key: string]: any;
1504
3274
  };
3275
+ /**
3276
+ * @remarks
3277
+ * The risk details that are hit.
3278
+ *
3279
+ * @example
3280
+ * sexuality_Suggestive
3281
+ */
1505
3282
  riskTips?: string;
3283
+ /**
3284
+ * @remarks
3285
+ * The risk words that are hit.
3286
+ *
3287
+ * @example
3288
+ * AAA,BBB,CCC
3289
+ */
1506
3290
  riskWords?: string;
3291
+ /**
3292
+ * @remarks
3293
+ * Risk score, default range 0-99.
3294
+ *
3295
+ * @example
3296
+ * 87.01
3297
+ */
1507
3298
  score?: number;
3299
+ /**
3300
+ * @remarks
3301
+ * The start time of the text after audio-to-text conversion. Unit: seconds.
3302
+ *
3303
+ * @example
3304
+ * 0
3305
+ */
1508
3306
  startTime?: number;
3307
+ /**
3308
+ * @remarks
3309
+ * The start timestamp of the segment. Unit: milliseconds.
3310
+ *
3311
+ * @example
3312
+ * 1678854649720
3313
+ */
1509
3314
  startTimestamp?: number;
3315
+ /**
3316
+ * @remarks
3317
+ * The text converted from voice.
3318
+ *
3319
+ * @example
3320
+ * Disgusting
3321
+ */
1510
3322
  text?: string;
3323
+ /**
3324
+ * @remarks
3325
+ * 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.
3326
+ *
3327
+ * @example
3328
+ * https://aliyundoc.com
3329
+ */
1511
3330
  url?: string;
1512
3331
  static names(): {
1513
3332
  [key: string]: string;
@@ -1520,10 +3339,42 @@ export declare class VoiceModerationResultResponseBodyDataSliceDetails extends $
1520
3339
  });
1521
3340
  }
1522
3341
  export declare class VoiceModerationResultResponseBodyData extends $tea.Model {
3342
+ /**
3343
+ * @remarks
3344
+ * The ID of the moderated object.
3345
+ *
3346
+ * @example
3347
+ * 26769ada6e264e7ba9aa048241e12be9
3348
+ */
1523
3349
  dataId?: string;
3350
+ /**
3351
+ * @remarks
3352
+ * The unique ID of the live stream.
3353
+ *
3354
+ * @example
3355
+ * liveId
3356
+ */
1524
3357
  liveId?: string;
3358
+ /**
3359
+ * @remarks
3360
+ * The details about the audio segments.
3361
+ */
1525
3362
  sliceDetails?: VoiceModerationResultResponseBodyDataSliceDetails[];
3363
+ /**
3364
+ * @remarks
3365
+ * The task ID.
3366
+ *
3367
+ * @example
3368
+ * kw24ihd0WGkdi5nniVZM@qOj-1x5Ibb
3369
+ */
1526
3370
  taskId?: string;
3371
+ /**
3372
+ * @remarks
3373
+ * The URL of the moderation object.
3374
+ *
3375
+ * @example
3376
+ * https://aliyundoc.com
3377
+ */
1527
3378
  url?: string;
1528
3379
  static names(): {
1529
3380
  [key: string]: string;
@@ -1541,257 +3392,256 @@ export default class Client extends OpenApi {
1541
3392
  [key: string]: string;
1542
3393
  }, endpoint: string): string;
1543
3394
  /**
1544
- * @summary 文档审核结果
3395
+ * 文档审核结果
1545
3396
  *
1546
- * @param request DescribeFileModerationResultRequest
1547
- * @param runtime runtime options for this request RuntimeOptions
1548
- * @return DescribeFileModerationResultResponse
3397
+ * @param request - DescribeFileModerationResultRequest
3398
+ * @param runtime - runtime options for this request RuntimeOptions
3399
+ * @returns DescribeFileModerationResultResponse
1549
3400
  */
1550
3401
  describeFileModerationResultWithOptions(request: DescribeFileModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFileModerationResultResponse>;
1551
3402
  /**
1552
- * @summary 文档审核结果
3403
+ * 文档审核结果
1553
3404
  *
1554
- * @param request DescribeFileModerationResultRequest
1555
- * @return DescribeFileModerationResultResponse
3405
+ * @param request - DescribeFileModerationResultRequest
3406
+ * @returns DescribeFileModerationResultResponse
1556
3407
  */
1557
3408
  describeFileModerationResult(request: DescribeFileModerationResultRequest): Promise<DescribeFileModerationResultResponse>;
1558
3409
  /**
1559
- * @summary 查询异步检测结果
3410
+ * 查询异步检测结果
1560
3411
  *
1561
- * @param request DescribeImageModerationResultRequest
1562
- * @param runtime runtime options for this request RuntimeOptions
1563
- * @return DescribeImageModerationResultResponse
3412
+ * @param request - DescribeImageModerationResultRequest
3413
+ * @param runtime - runtime options for this request RuntimeOptions
3414
+ * @returns DescribeImageModerationResultResponse
1564
3415
  */
1565
3416
  describeImageModerationResultWithOptions(request: DescribeImageModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImageModerationResultResponse>;
1566
3417
  /**
1567
- * @summary 查询异步检测结果
3418
+ * 查询异步检测结果
1568
3419
  *
1569
- * @param request DescribeImageModerationResultRequest
1570
- * @return DescribeImageModerationResultResponse
3420
+ * @param request - DescribeImageModerationResultRequest
3421
+ * @returns DescribeImageModerationResultResponse
1571
3422
  */
1572
3423
  describeImageModerationResult(request: DescribeImageModerationResultRequest): Promise<DescribeImageModerationResultResponse>;
1573
3424
  /**
1574
- * @summary 查询检测结果辅助信息
3425
+ * 查询检测结果辅助信息
1575
3426
  *
1576
- * @param request DescribeImageResultExtRequest
1577
- * @param runtime runtime options for this request RuntimeOptions
1578
- * @return DescribeImageResultExtResponse
3427
+ * @param request - DescribeImageResultExtRequest
3428
+ * @param runtime - runtime options for this request RuntimeOptions
3429
+ * @returns DescribeImageResultExtResponse
1579
3430
  */
1580
3431
  describeImageResultExtWithOptions(request: DescribeImageResultExtRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImageResultExtResponse>;
1581
3432
  /**
1582
- * @summary 查询检测结果辅助信息
3433
+ * 查询检测结果辅助信息
1583
3434
  *
1584
- * @param request DescribeImageResultExtRequest
1585
- * @return DescribeImageResultExtResponse
3435
+ * @param request - DescribeImageResultExtRequest
3436
+ * @returns DescribeImageResultExtResponse
1586
3437
  */
1587
3438
  describeImageResultExt(request: DescribeImageResultExtRequest): Promise<DescribeImageResultExtResponse>;
1588
3439
  /**
1589
- * @summary 查询上传token
3440
+ * 查询上传token
1590
3441
  *
1591
- * @param request DescribeUploadTokenRequest
1592
- * @param runtime runtime options for this request RuntimeOptions
1593
- * @return DescribeUploadTokenResponse
3442
+ * @param request - DescribeUploadTokenRequest
3443
+ * @param runtime - runtime options for this request RuntimeOptions
3444
+ * @returns DescribeUploadTokenResponse
1594
3445
  */
1595
3446
  describeUploadTokenWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeUploadTokenResponse>;
1596
3447
  /**
1597
- * @summary 查询上传token
1598
- *
1599
- * @return DescribeUploadTokenResponse
3448
+ * 查询上传token
3449
+ * @returns DescribeUploadTokenResponse
1600
3450
  */
1601
3451
  describeUploadToken(): Promise<DescribeUploadTokenResponse>;
1602
3452
  /**
1603
- * @summary 查询 url 检测结果
3453
+ * 查询 url 检测结果
1604
3454
  *
1605
- * @param request DescribeUrlModerationResultRequest
1606
- * @param runtime runtime options for this request RuntimeOptions
1607
- * @return DescribeUrlModerationResultResponse
3455
+ * @param request - DescribeUrlModerationResultRequest
3456
+ * @param runtime - runtime options for this request RuntimeOptions
3457
+ * @returns DescribeUrlModerationResultResponse
1608
3458
  */
1609
3459
  describeUrlModerationResultWithOptions(request: DescribeUrlModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUrlModerationResultResponse>;
1610
3460
  /**
1611
- * @summary 查询 url 检测结果
3461
+ * 查询 url 检测结果
1612
3462
  *
1613
- * @param request DescribeUrlModerationResultRequest
1614
- * @return DescribeUrlModerationResultResponse
3463
+ * @param request - DescribeUrlModerationResultRequest
3464
+ * @returns DescribeUrlModerationResultResponse
1615
3465
  */
1616
3466
  describeUrlModerationResult(request: DescribeUrlModerationResultRequest): Promise<DescribeUrlModerationResultResponse>;
1617
3467
  /**
1618
- * @summary 文档审核
3468
+ * 文档审核
1619
3469
  *
1620
- * @param request FileModerationRequest
1621
- * @param runtime runtime options for this request RuntimeOptions
1622
- * @return FileModerationResponse
3470
+ * @param request - FileModerationRequest
3471
+ * @param runtime - runtime options for this request RuntimeOptions
3472
+ * @returns FileModerationResponse
1623
3473
  */
1624
3474
  fileModerationWithOptions(request: FileModerationRequest, runtime: $Util.RuntimeOptions): Promise<FileModerationResponse>;
1625
3475
  /**
1626
- * @summary 文档审核
3476
+ * 文档审核
1627
3477
  *
1628
- * @param request FileModerationRequest
1629
- * @return FileModerationResponse
3478
+ * @param request - FileModerationRequest
3479
+ * @returns FileModerationResponse
1630
3480
  */
1631
3481
  fileModeration(request: FileModerationRequest): Promise<FileModerationResponse>;
1632
3482
  /**
1633
- * @summary 图片异步检测
3483
+ * 图片异步检测
1634
3484
  *
1635
- * @param request ImageAsyncModerationRequest
1636
- * @param runtime runtime options for this request RuntimeOptions
1637
- * @return ImageAsyncModerationResponse
3485
+ * @param request - ImageAsyncModerationRequest
3486
+ * @param runtime - runtime options for this request RuntimeOptions
3487
+ * @returns ImageAsyncModerationResponse
1638
3488
  */
1639
3489
  imageAsyncModerationWithOptions(request: ImageAsyncModerationRequest, runtime: $Util.RuntimeOptions): Promise<ImageAsyncModerationResponse>;
1640
3490
  /**
1641
- * @summary 图片异步检测
3491
+ * 图片异步检测
1642
3492
  *
1643
- * @param request ImageAsyncModerationRequest
1644
- * @return ImageAsyncModerationResponse
3493
+ * @param request - ImageAsyncModerationRequest
3494
+ * @returns ImageAsyncModerationResponse
1645
3495
  */
1646
3496
  imageAsyncModeration(request: ImageAsyncModerationRequest): Promise<ImageAsyncModerationResponse>;
1647
3497
  /**
1648
- * @summary 图片审核
3498
+ * 图片审核
1649
3499
  *
1650
- * @param request ImageModerationRequest
1651
- * @param runtime runtime options for this request RuntimeOptions
1652
- * @return ImageModerationResponse
3500
+ * @param request - ImageModerationRequest
3501
+ * @param runtime - runtime options for this request RuntimeOptions
3502
+ * @returns ImageModerationResponse
1653
3503
  */
1654
3504
  imageModerationWithOptions(request: ImageModerationRequest, runtime: $Util.RuntimeOptions): Promise<ImageModerationResponse>;
1655
3505
  /**
1656
- * @summary 图片审核
3506
+ * 图片审核
1657
3507
  *
1658
- * @param request ImageModerationRequest
1659
- * @return ImageModerationResponse
3508
+ * @param request - ImageModerationRequest
3509
+ * @returns ImageModerationResponse
1660
3510
  */
1661
3511
  imageModeration(request: ImageModerationRequest): Promise<ImageModerationResponse>;
1662
3512
  /**
1663
- * @summary 文本审核
3513
+ * 文本审核
1664
3514
  *
1665
- * @param request TextModerationRequest
1666
- * @param runtime runtime options for this request RuntimeOptions
1667
- * @return TextModerationResponse
3515
+ * @param request - TextModerationRequest
3516
+ * @param runtime - runtime options for this request RuntimeOptions
3517
+ * @returns TextModerationResponse
1668
3518
  */
1669
3519
  textModerationWithOptions(request: TextModerationRequest, runtime: $Util.RuntimeOptions): Promise<TextModerationResponse>;
1670
3520
  /**
1671
- * @summary 文本审核
3521
+ * 文本审核
1672
3522
  *
1673
- * @param request TextModerationRequest
1674
- * @return TextModerationResponse
3523
+ * @param request - TextModerationRequest
3524
+ * @returns TextModerationResponse
1675
3525
  */
1676
3526
  textModeration(request: TextModerationRequest): Promise<TextModerationResponse>;
1677
3527
  /**
1678
- * @summary 文本检测Plus版
3528
+ * 文本检测Plus版
1679
3529
  *
1680
- * @param request TextModerationPlusRequest
1681
- * @param runtime runtime options for this request RuntimeOptions
1682
- * @return TextModerationPlusResponse
3530
+ * @param request - TextModerationPlusRequest
3531
+ * @param runtime - runtime options for this request RuntimeOptions
3532
+ * @returns TextModerationPlusResponse
1683
3533
  */
1684
3534
  textModerationPlusWithOptions(request: TextModerationPlusRequest, runtime: $Util.RuntimeOptions): Promise<TextModerationPlusResponse>;
1685
3535
  /**
1686
- * @summary 文本检测Plus版
3536
+ * 文本检测Plus版
1687
3537
  *
1688
- * @param request TextModerationPlusRequest
1689
- * @return TextModerationPlusResponse
3538
+ * @param request - TextModerationPlusRequest
3539
+ * @returns TextModerationPlusResponse
1690
3540
  */
1691
3541
  textModerationPlus(request: TextModerationPlusRequest): Promise<TextModerationPlusResponse>;
1692
3542
  /**
1693
- * @summary url异步检测
3543
+ * url异步检测
1694
3544
  *
1695
- * @param request UrlAsyncModerationRequest
1696
- * @param runtime runtime options for this request RuntimeOptions
1697
- * @return UrlAsyncModerationResponse
3545
+ * @param request - UrlAsyncModerationRequest
3546
+ * @param runtime - runtime options for this request RuntimeOptions
3547
+ * @returns UrlAsyncModerationResponse
1698
3548
  */
1699
3549
  urlAsyncModerationWithOptions(request: UrlAsyncModerationRequest, runtime: $Util.RuntimeOptions): Promise<UrlAsyncModerationResponse>;
1700
3550
  /**
1701
- * @summary url异步检测
3551
+ * url异步检测
1702
3552
  *
1703
- * @param request UrlAsyncModerationRequest
1704
- * @return UrlAsyncModerationResponse
3553
+ * @param request - UrlAsyncModerationRequest
3554
+ * @returns UrlAsyncModerationResponse
1705
3555
  */
1706
3556
  urlAsyncModeration(request: UrlAsyncModerationRequest): Promise<UrlAsyncModerationResponse>;
1707
3557
  /**
1708
- * @summary 视频检测任务提交
3558
+ * 视频检测任务提交
1709
3559
  *
1710
- * @param request VideoModerationRequest
1711
- * @param runtime runtime options for this request RuntimeOptions
1712
- * @return VideoModerationResponse
3560
+ * @param request - VideoModerationRequest
3561
+ * @param runtime - runtime options for this request RuntimeOptions
3562
+ * @returns VideoModerationResponse
1713
3563
  */
1714
3564
  videoModerationWithOptions(request: VideoModerationRequest, runtime: $Util.RuntimeOptions): Promise<VideoModerationResponse>;
1715
3565
  /**
1716
- * @summary 视频检测任务提交
3566
+ * 视频检测任务提交
1717
3567
  *
1718
- * @param request VideoModerationRequest
1719
- * @return VideoModerationResponse
3568
+ * @param request - VideoModerationRequest
3569
+ * @returns VideoModerationResponse
1720
3570
  */
1721
3571
  videoModeration(request: VideoModerationRequest): Promise<VideoModerationResponse>;
1722
3572
  /**
1723
- * @summary 取消视频直播流检测
3573
+ * 取消视频直播流检测
1724
3574
  *
1725
- * @param request VideoModerationCancelRequest
1726
- * @param runtime runtime options for this request RuntimeOptions
1727
- * @return VideoModerationCancelResponse
3575
+ * @param request - VideoModerationCancelRequest
3576
+ * @param runtime - runtime options for this request RuntimeOptions
3577
+ * @returns VideoModerationCancelResponse
1728
3578
  */
1729
3579
  videoModerationCancelWithOptions(request: VideoModerationCancelRequest, runtime: $Util.RuntimeOptions): Promise<VideoModerationCancelResponse>;
1730
3580
  /**
1731
- * @summary 取消视频直播流检测
3581
+ * 取消视频直播流检测
1732
3582
  *
1733
- * @param request VideoModerationCancelRequest
1734
- * @return VideoModerationCancelResponse
3583
+ * @param request - VideoModerationCancelRequest
3584
+ * @returns VideoModerationCancelResponse
1735
3585
  */
1736
3586
  videoModerationCancel(request: VideoModerationCancelRequest): Promise<VideoModerationCancelResponse>;
1737
3587
  /**
1738
- * @summary 获取视频检测结果
3588
+ * 获取视频检测结果
1739
3589
  *
1740
- * @param request VideoModerationResultRequest
1741
- * @param runtime runtime options for this request RuntimeOptions
1742
- * @return VideoModerationResultResponse
3590
+ * @param request - VideoModerationResultRequest
3591
+ * @param runtime - runtime options for this request RuntimeOptions
3592
+ * @returns VideoModerationResultResponse
1743
3593
  */
1744
3594
  videoModerationResultWithOptions(request: VideoModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<VideoModerationResultResponse>;
1745
3595
  /**
1746
- * @summary 获取视频检测结果
3596
+ * 获取视频检测结果
1747
3597
  *
1748
- * @param request VideoModerationResultRequest
1749
- * @return VideoModerationResultResponse
3598
+ * @param request - VideoModerationResultRequest
3599
+ * @returns VideoModerationResultResponse
1750
3600
  */
1751
3601
  videoModerationResult(request: VideoModerationResultRequest): Promise<VideoModerationResultResponse>;
1752
3602
  /**
1753
- * @summary 语音审核
3603
+ * 语音审核
1754
3604
  *
1755
- * @param request VoiceModerationRequest
1756
- * @param runtime runtime options for this request RuntimeOptions
1757
- * @return VoiceModerationResponse
3605
+ * @param request - VoiceModerationRequest
3606
+ * @param runtime - runtime options for this request RuntimeOptions
3607
+ * @returns VoiceModerationResponse
1758
3608
  */
1759
3609
  voiceModerationWithOptions(request: VoiceModerationRequest, runtime: $Util.RuntimeOptions): Promise<VoiceModerationResponse>;
1760
3610
  /**
1761
- * @summary 语音审核
3611
+ * 语音审核
1762
3612
  *
1763
- * @param request VoiceModerationRequest
1764
- * @return VoiceModerationResponse
3613
+ * @param request - VoiceModerationRequest
3614
+ * @returns VoiceModerationResponse
1765
3615
  */
1766
3616
  voiceModeration(request: VoiceModerationRequest): Promise<VoiceModerationResponse>;
1767
3617
  /**
1768
- * @summary 取消检测
3618
+ * 取消检测
1769
3619
  *
1770
- * @param request VoiceModerationCancelRequest
1771
- * @param runtime runtime options for this request RuntimeOptions
1772
- * @return VoiceModerationCancelResponse
3620
+ * @param request - VoiceModerationCancelRequest
3621
+ * @param runtime - runtime options for this request RuntimeOptions
3622
+ * @returns VoiceModerationCancelResponse
1773
3623
  */
1774
3624
  voiceModerationCancelWithOptions(request: VoiceModerationCancelRequest, runtime: $Util.RuntimeOptions): Promise<VoiceModerationCancelResponse>;
1775
3625
  /**
1776
- * @summary 取消检测
3626
+ * 取消检测
1777
3627
  *
1778
- * @param request VoiceModerationCancelRequest
1779
- * @return VoiceModerationCancelResponse
3628
+ * @param request - VoiceModerationCancelRequest
3629
+ * @returns VoiceModerationCancelResponse
1780
3630
  */
1781
3631
  voiceModerationCancel(request: VoiceModerationCancelRequest): Promise<VoiceModerationCancelResponse>;
1782
3632
  /**
1783
- * @summary 语音检测结果获取接口
3633
+ * 语音检测结果获取接口
1784
3634
  *
1785
- * @param request VoiceModerationResultRequest
1786
- * @param runtime runtime options for this request RuntimeOptions
1787
- * @return VoiceModerationResultResponse
3635
+ * @param request - VoiceModerationResultRequest
3636
+ * @param runtime - runtime options for this request RuntimeOptions
3637
+ * @returns VoiceModerationResultResponse
1788
3638
  */
1789
3639
  voiceModerationResultWithOptions(request: VoiceModerationResultRequest, runtime: $Util.RuntimeOptions): Promise<VoiceModerationResultResponse>;
1790
3640
  /**
1791
- * @summary 语音检测结果获取接口
3641
+ * 语音检测结果获取接口
1792
3642
  *
1793
- * @param request VoiceModerationResultRequest
1794
- * @return VoiceModerationResultResponse
3643
+ * @param request - VoiceModerationResultRequest
3644
+ * @returns VoiceModerationResultResponse
1795
3645
  */
1796
3646
  voiceModerationResult(request: VoiceModerationResultRequest): Promise<VoiceModerationResultResponse>;
1797
3647
  }