tencentcloud-sdk-nodejs 4.0.280 → 4.0.284

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +331 -0
  2. package/SERVICE_CHANGELOG.md +232 -6
  3. package/package.json +1 -1
  4. package/products.md +19 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_client.ts +121 -63
  7. package/src/services/ame/v20190916/ame_models.ts +1157 -820
  8. package/src/services/cam/v20190116/cam_models.ts +6 -0
  9. package/src/services/cbs/v20170312/cbs_client.ts +16 -0
  10. package/src/services/cbs/v20170312/cbs_models.ts +60 -0
  11. package/src/services/chdfs/v20201112/chdfs_models.ts +10 -10
  12. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  13. package/src/services/cme/v20191029/cme_client.ts +17 -7
  14. package/src/services/cme/v20191029/cme_models.ts +415 -139
  15. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  16. package/src/services/index.ts +1 -0
  17. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +5 -5
  18. package/src/services/ivld/v20210903/ivld_client.ts +227 -29
  19. package/src/services/ivld/v20210903/ivld_models.ts +643 -107
  20. package/src/services/lowcode/index.ts +5 -0
  21. package/src/services/lowcode/v20210108/index.ts +6 -0
  22. package/src/services/lowcode/v20210108/lowcode_client.ts +48 -0
  23. package/src/services/lowcode/v20210108/lowcode_models.ts +359 -0
  24. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  25. package/src/services/monitor/v20180724/monitor_models.ts +2 -2
  26. package/src/services/organization/v20210331/organization_models.ts +12 -0
  27. package/src/services/partners/v20180321/partners_models.ts +4 -4
  28. package/src/services/ses/v20201002/ses_models.ts +1 -1
  29. package/src/services/tcss/v20201101/tcss_models.ts +1 -1
  30. package/src/services/vod/v20180717/vod_models.ts +38 -4
  31. package/src/services/vpc/v20170312/vpc_models.ts +4 -2
  32. package/tencentcloud/common/sdk_version.d.ts +1 -1
  33. package/tencentcloud/common/sdk_version.js +1 -1
  34. package/tencentcloud/services/ame/v20190916/ame_client.d.ts +24 -5
  35. package/tencentcloud/services/ame/v20190916/ame_client.js +33 -6
  36. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +1016 -730
  37. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +5 -0
  38. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +8 -1
  39. package/tencentcloud/services/cbs/v20170312/cbs_client.js +9 -0
  40. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +51 -0
  41. package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +10 -10
  42. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  43. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -1
  44. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +359 -123
  45. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  46. package/tencentcloud/services/index.d.ts +1 -0
  47. package/tencentcloud/services/index.js +2 -0
  48. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +5 -5
  49. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +93 -11
  50. package/tencentcloud/services/ivld/v20210903/ivld_client.js +123 -13
  51. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +529 -71
  52. package/tencentcloud/services/lowcode/index.d.ts +6 -0
  53. package/tencentcloud/services/lowcode/index.js +7 -0
  54. package/tencentcloud/services/lowcode/v20210108/index.d.ts +6 -0
  55. package/tencentcloud/services/lowcode/v20210108/index.js +9 -0
  56. package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +14 -0
  57. package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +37 -0
  58. package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +287 -0
  59. package/tencentcloud/services/lowcode/v20210108/lowcode_models.js +18 -0
  60. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  61. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  62. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +2 -2
  63. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +10 -0
  64. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +4 -4
  65. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
  66. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
  67. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +32 -2
  68. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -2
  69. package/test/ame.v20190916.test.js +44 -4
  70. package/test/cbs.v20170312.test.js +10 -0
  71. package/test/ivld.v20210903.test.js +146 -6
  72. package/test/lowcode.v20210108.test.js +31 -0
@@ -15,6 +15,36 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
+ /**
19
+ * 一级标签信息
20
+
21
+ 请注意,一级标签信息可能不包含二级标签(此时L2TagSet为空)。在这种情况下,一级标签可直接包含出现信息。
22
+ */
23
+ export interface L1Tag {
24
+ /**
25
+ * 一级标签名
26
+ */
27
+ Name: string
28
+
29
+ /**
30
+ * 二级标签数组
31
+ 注意:此字段可能返回 null,表示取不到有效值。
32
+ */
33
+ L2TagSet: Array<L2Tag>
34
+
35
+ /**
36
+ * 一级标签出现信息
37
+ 注意:此字段可能返回 null,表示取不到有效值。
38
+ */
39
+ AppearIndexPairSet: Array<AppearIndexPair>
40
+
41
+ /**
42
+ * 一级标签首次出现信息
43
+ 注意:此字段可能返回 null,表示取不到有效值。
44
+ */
45
+ FirstAppear: number
46
+ }
47
+
18
48
  /**
19
49
  * DeleteMedia返回参数结构体
20
50
  */
@@ -134,28 +164,88 @@ export interface MultiLevelTag {
134
164
  }
135
165
 
136
166
  /**
137
- * DescribeTasks请求参数结构体
167
+ * 媒资过滤条件
168
+
169
+
138
170
  */
139
- export interface DescribeTasksRequest {
171
+ export interface MediaFilter {
140
172
  /**
141
- * 分页序号,从1开始
173
+ * 媒资名称过滤条件
174
+ 注意:此字段可能返回 null,表示取不到有效值。
175
+ */
176
+ MediaNameSet?: Array<string>
177
+
178
+ /**
179
+ * 媒资状态数组,媒资状态可选值参见MediaInfo
180
+ 注意:此字段可能返回 null,表示取不到有效值。
181
+ */
182
+ StatusSet?: Array<number>
183
+
184
+ /**
185
+ * 媒资ID数组
186
+ 注意:此字段可能返回 null,表示取不到有效值。
187
+ */
188
+ MediaIdSet?: Array<string>
189
+ }
190
+
191
+ /**
192
+ * AddCustomPersonImage请求参数结构体
193
+ */
194
+ export interface AddCustomPersonImageRequest {
195
+ /**
196
+ * 自定义人物Id
142
197
  */
143
- PageNumber?: number
198
+ PersonId: string
144
199
 
145
200
  /**
146
- * 每个分页所包含的元素数量,最大为50
201
+ * 自定义人物图片地址
147
202
  */
148
- PageSize?: number
203
+ ImageURL?: string
149
204
 
150
205
  /**
151
- * 任务过滤条件,相关限制参见TaskFilter
206
+ * 图片数据base64之后的结果
152
207
  */
153
- TaskFilter?: TaskFilter
208
+ Image?: string
209
+ }
154
210
 
211
+ /**
212
+ * UpdateCustomPerson请求参数结构体
213
+ */
214
+ export interface UpdateCustomPersonRequest {
155
215
  /**
156
- * 返回结果排序信息,By字段只支持CreateTimeStamp
216
+ * 待更新的自定义人物Id
157
217
  */
158
- SortBy?: SortBy
218
+ PersonId: string
219
+
220
+ /**
221
+ * 更新后的自定义人物名称,如为空则不更新
222
+ */
223
+ Name?: string
224
+
225
+ /**
226
+ * 更新后的自定义人物简介,如为空则不更新
227
+ */
228
+ BasicInfo?: string
229
+
230
+ /**
231
+ * 更新后的分类信息,如为空则不更新
232
+ */
233
+ CategoryId?: string
234
+ }
235
+
236
+ /**
237
+ * DeleteCustomPerson返回参数结构体
238
+ */
239
+ export interface DeleteCustomPersonResponse {
240
+ /**
241
+ * 已删除的自定义人物Id
242
+ */
243
+ PersonId: string
244
+
245
+ /**
246
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
247
+ */
248
+ RequestId?: string
159
249
  }
160
250
 
161
251
  /**
@@ -189,6 +279,31 @@ export interface L2Tag {
189
279
  FirstAppear: number
190
280
  }
191
281
 
282
+ /**
283
+ * DescribeCustomPersons返回参数结构体
284
+ */
285
+ export interface DescribeCustomPersonsResponse {
286
+ /**
287
+ * 满足过滤条件的自定义人物数量
288
+ */
289
+ TotalCount: number
290
+
291
+ /**
292
+ * 自定义人物信息
293
+ */
294
+ PersonInfoSet: Array<CustomPersonInfo>
295
+
296
+ /**
297
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
298
+ */
299
+ RequestId?: string
300
+ }
301
+
302
+ /**
303
+ * DescribeCustomCategories请求参数结构体
304
+ */
305
+ export type DescribeCustomCategoriesRequest = null
306
+
192
307
  /**
193
308
  * ImportMedia请求参数结构体
194
309
  */
@@ -209,6 +324,31 @@ export interface ImportMediaRequest {
209
324
  Name?: string
210
325
  }
211
326
 
327
+ /**
328
+ * CreateCustomCategory请求参数结构体
329
+ */
330
+ export interface CreateCustomCategoryRequest {
331
+ /**
332
+ * 自定义一级类型
333
+ */
334
+ L1Category: string
335
+
336
+ /**
337
+ * 自定义二级类型
338
+ */
339
+ L2Category: string
340
+ }
341
+
342
+ /**
343
+ * DescribeMedia请求参数结构体
344
+ */
345
+ export interface DescribeMediaRequest {
346
+ /**
347
+ * 导入媒资返回的媒资ID,最长32B
348
+ */
349
+ MediaId: string
350
+ }
351
+
212
352
  /**
213
353
  * DescribeMedias请求参数结构体
214
354
  */
@@ -255,31 +395,6 @@ export interface VideoAppearInfo {
255
395
  ImageURL: string
256
396
  }
257
397
 
258
- /**
259
- * 可视文本识别结果信息(OCR)
260
- */
261
- export interface TextInfo {
262
- /**
263
- * OCR提取的内容
264
- */
265
- Content: string
266
-
267
- /**
268
- * OCR起始时间戳,从0开始
269
- */
270
- StartTimeStamp: number
271
-
272
- /**
273
- * OCR结束时间戳,从0开始
274
- */
275
- EndTimeStamp: number
276
-
277
- /**
278
- * OCR标签信息
279
- */
280
- Tag: string
281
- }
282
-
283
398
  /**
284
399
  * DescribeTask返回参数结构体
285
400
  */
@@ -296,6 +411,16 @@ export interface DescribeTaskResponse {
296
411
  RequestId?: string
297
412
  }
298
413
 
414
+ /**
415
+ * CreateDefaultCategories返回参数结构体
416
+ */
417
+ export interface CreateDefaultCategoriesResponse {
418
+ /**
419
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
420
+ */
421
+ RequestId?: string
422
+ }
423
+
299
424
  /**
300
425
  * 出现信息索引对
301
426
 
@@ -322,6 +447,56 @@ export interface AppearIndexPair {
322
447
  Index: number
323
448
  }
324
449
 
450
+ /**
451
+ * CreateTask返回参数结构体
452
+ */
453
+ export interface CreateTaskResponse {
454
+ /**
455
+ * 智能标签视频分析任务ID
456
+ */
457
+ TaskId: string
458
+
459
+ /**
460
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
461
+ */
462
+ RequestId?: string
463
+ }
464
+
465
+ /**
466
+ * DeleteCustomCategory请求参数结构体
467
+ */
468
+ export interface DeleteCustomCategoryRequest {
469
+ /**
470
+ * 自定义分类ID
471
+ */
472
+ CategoryId: string
473
+ }
474
+
475
+ /**
476
+ * DescribeTasks请求参数结构体
477
+ */
478
+ export interface DescribeTasksRequest {
479
+ /**
480
+ * 分页序号,从1开始
481
+ */
482
+ PageNumber?: number
483
+
484
+ /**
485
+ * 每个分页所包含的元素数量,最大为50
486
+ */
487
+ PageSize?: number
488
+
489
+ /**
490
+ * 任务过滤条件,相关限制参见TaskFilter
491
+ */
492
+ TaskFilter?: TaskFilter
493
+
494
+ /**
495
+ * 返回结果排序信息,By字段只支持CreateTimeStamp
496
+ */
497
+ SortBy?: SortBy
498
+ }
499
+
325
500
  /**
326
501
  * DescribeTaskDetail返回参数结构体
327
502
  */
@@ -343,30 +518,65 @@ export interface DescribeTaskDetailResponse {
343
518
  }
344
519
 
345
520
  /**
346
- * CreateTask返回参数结构体
521
+ * 自定义人物人脸图片信息
347
522
  */
348
- export interface CreateTaskResponse {
523
+ export interface PersonImageInfo {
349
524
  /**
350
- * 智能标签视频分析任务ID
525
+ * 人脸图片ID
351
526
  */
352
- TaskId: string
527
+ ImageId: string
353
528
 
354
529
  /**
355
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
530
+ * 自定义人脸图片的URL,存储在IVLDCustomPreson存储桶内
356
531
  */
357
- RequestId?: string
532
+ ImageURL: string
533
+
534
+ /**
535
+ * 自定义人脸图片处理错误码
536
+ */
537
+ ErrorCode: string
538
+
539
+ /**
540
+ * 自定义人脸图片处理错误信息
541
+ */
542
+ ErrorMsg: string
358
543
  }
359
544
 
360
545
  /**
361
- * DescribeTaskDetail请求参数结构体
546
+ * CreateCustomGroup请求参数结构体
362
547
  */
363
- export interface DescribeTaskDetailRequest {
548
+ export interface CreateCustomGroupRequest {
364
549
  /**
365
- * 创建任务返回的TaskId
550
+ * 人脸图片COS存储桶Host地址
366
551
  */
367
- TaskId: string
552
+ Bucket: string
553
+ }
554
+
555
+ /**
556
+ * AddCustomPersonImage返回参数结构体
557
+ */
558
+ export interface AddCustomPersonImageResponse {
559
+ /**
560
+ * 自定义人物Id
561
+ */
562
+ PersonId: string
563
+
564
+ /**
565
+ * 自定义人脸图片信息
566
+ */
567
+ ImageInfo: PersonImageInfo
568
+
569
+ /**
570
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
571
+ */
572
+ RequestId?: string
368
573
  }
369
574
 
575
+ /**
576
+ * CreateDefaultCategories请求参数结构体
577
+ */
578
+ export type CreateDefaultCategoriesRequest = null
579
+
370
580
  /**
371
581
  * 任务筛选条件结构体
372
582
  */
@@ -410,34 +620,130 @@ export interface TaskFilter {
410
620
  /**
411
621
  * 关键词在文本中的定位信息
412
622
 
413
- Position为关键词在文本中的偏移量,从0开始。例如,给定文本结果"欢迎收看新闻三十分”,以及关键词"新闻三十分",那么StartPosition的值为4,EndPosition的值为9
414
- */
415
- export interface TextAppearInfo {
623
+ Position为关键词在文本中的偏移量,从0开始。例如,给定文本结果"欢迎收看新闻三十分”,以及关键词"新闻三十分",那么StartPosition的值为4,EndPosition的值为9
624
+ */
625
+ export interface TextAppearInfo {
626
+ /**
627
+ * 文本结果数组中的下标
628
+ */
629
+ Index: number
630
+
631
+ /**
632
+ * 关键词在文本中出现的起始偏移量(包含)
633
+ */
634
+ StartPosition: number
635
+
636
+ /**
637
+ * 关键词在文本中出现的结束偏移量(不包含)
638
+ */
639
+ EndPosition: number
640
+ }
641
+
642
+ /**
643
+ * DescribeMedia返回参数结构体
644
+ */
645
+ export interface DescribeMediaResponse {
646
+ /**
647
+ * 媒资信息
648
+ 注意:此字段可能返回 null,表示取不到有效值。
649
+ */
650
+ MediaInfo: MediaInfo
651
+
652
+ /**
653
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
654
+ */
655
+ RequestId?: string
656
+ }
657
+
658
+ /**
659
+ * 自定义分类信息
660
+ */
661
+ export interface CustomCategory {
662
+ /**
663
+ * 自定义分类ID
664
+ */
665
+ CategoryId: string
666
+
667
+ /**
668
+ * 一级自定义类型
669
+ */
670
+ L1Category: string
671
+
672
+ /**
673
+ * 二级自定义类型
674
+ */
675
+ L2Category: string
676
+ }
677
+
678
+ /**
679
+ * 任务结果数据
680
+ */
681
+ export interface Data {
682
+ /**
683
+ * 节目粒度结构化结果
684
+ 注意:此字段可能返回 null,表示取不到有效值。
685
+ */
686
+ ShowInfo: ShowInfo
687
+ }
688
+
689
+ /**
690
+ * DescribeTask请求参数结构体
691
+ */
692
+ export interface DescribeTaskRequest {
693
+ /**
694
+ * CreateTask返回的任务ID,最长32B
695
+ */
696
+ TaskId: string
697
+ }
698
+
699
+ /**
700
+ * DescribeCustomPersonDetail请求参数结构体
701
+ */
702
+ export interface DescribeCustomPersonDetailRequest {
703
+ /**
704
+ * 自定义人物Id
705
+ */
706
+ PersonId: string
707
+ }
708
+
709
+ /**
710
+ * 自定义人物信息
711
+ */
712
+ export interface CustomPersonInfo {
713
+ /**
714
+ * 自定义人物Id
715
+ */
716
+ PersonId: string
717
+
416
718
  /**
417
- * 文本结果数组中的下标
719
+ * 自定义人物姓名
418
720
  */
419
- Index: number
721
+ Name: string
420
722
 
421
723
  /**
422
- * 关键词在文本中出现的起始偏移量(包含)
724
+ * 自定义人物简介信息
423
725
  */
424
- StartPosition: number
726
+ BasicInfo: string
425
727
 
426
728
  /**
427
- * 关键词在文本中出现的结束偏移量(不包含)
729
+ * 一级自定义人物类型
428
730
  */
429
- EndPosition: number
731
+ L1Category: string
732
+
733
+ /**
734
+ * 二级自定义人物类型
735
+ */
736
+ L2Category: string
430
737
  }
431
738
 
432
739
  /**
433
- * DescribeMedia返回参数结构体
740
+ * UpdateCustomPerson返回参数结构体
434
741
  */
435
- export interface DescribeMediaResponse {
742
+ export interface UpdateCustomPersonResponse {
436
743
  /**
437
- * 媒资信息
438
- 注意:此字段可能返回 null,表示取不到有效值。
439
- */
440
- MediaInfo: MediaInfo
744
+ * 成功更新的自定义人物Id
745
+ */
746
+ PersonId: string
441
747
 
442
748
  /**
443
749
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -446,54 +752,48 @@ export interface DescribeMediaResponse {
446
752
  }
447
753
 
448
754
  /**
449
- * 任务结果数据
755
+ * DescribeCustomGroup返回参数结构体
450
756
  */
451
- export interface Data {
757
+ export interface DescribeCustomGroupResponse {
452
758
  /**
453
- * 节目粒度结构化结果
454
- 注意:此字段可能返回 null,表示取不到有效值。
455
- */
456
- ShowInfo: ShowInfo
457
- }
759
+ * 自定义人物库所包含的人物个数
760
+ */
761
+ GroupSize: number
458
762
 
459
- /**
460
- * DescribeTask请求参数结构体
461
- */
462
- export interface DescribeTaskRequest {
463
763
  /**
464
- * CreateTask返回的任务ID,最长32B
764
+ * 自定义人物库图片后续所在的存储桶
465
765
  */
466
- TaskId: string
766
+ Bucket: string
767
+
768
+ /**
769
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
770
+ */
771
+ RequestId?: string
467
772
  }
468
773
 
469
774
  /**
470
- * 一级标签信息
471
-
472
- 请注意,一级标签信息可能不包含二级标签(此时L2TagSet为空)。在这种情况下,一级标签可直接包含出现信息。
775
+ * DescribeCustomPersons请求参数结构体
473
776
  */
474
- export interface L1Tag {
777
+ export interface DescribeCustomPersonsRequest {
475
778
  /**
476
- * 一级标签名
779
+ * 分页序号,从1开始
477
780
  */
478
- Name: string
781
+ PageNumber: number
479
782
 
480
783
  /**
481
- * 二级标签数组
482
- 注意:此字段可能返回 null,表示取不到有效值。
483
- */
484
- L2TagSet: Array<L2Tag>
784
+ * 分页数据行数,最多50
785
+ */
786
+ PageSize: number
485
787
 
486
788
  /**
487
- * 一级标签出现信息
488
- 注意:此字段可能返回 null,表示取不到有效值。
489
- */
490
- AppearIndexPairSet: Array<AppearIndexPair>
789
+ * 排序信息,默认倒序
790
+ */
791
+ SortBy?: SortBy
491
792
 
492
793
  /**
493
- * 一级标签首次出现信息
494
- 注意:此字段可能返回 null,表示取不到有效值。
495
- */
496
- FirstAppear: number
794
+ * 自定义人物过滤条件
795
+ */
796
+ Filter?: CustomPersonFilter
497
797
  }
498
798
 
499
799
  /**
@@ -517,6 +817,31 @@ export interface DescribeTasksResponse {
517
817
  RequestId?: string
518
818
  }
519
819
 
820
+ /**
821
+ * 可视文本识别结果信息(OCR)
822
+ */
823
+ export interface TextInfo {
824
+ /**
825
+ * OCR提取的内容
826
+ */
827
+ Content: string
828
+
829
+ /**
830
+ * OCR起始时间戳,从0开始
831
+ */
832
+ StartTimeStamp: number
833
+
834
+ /**
835
+ * OCR结束时间戳,从0开始
836
+ */
837
+ EndTimeStamp: number
838
+
839
+ /**
840
+ * OCR标签信息
841
+ */
842
+ Tag: string
843
+ }
844
+
520
845
  /**
521
846
  * 音频识别结果信息
522
847
  */
@@ -542,6 +867,31 @@ export interface AudioInfo {
542
867
  Tag: string
543
868
  }
544
869
 
870
+ /**
871
+ * 自定义人物批量查询过滤条件
872
+ */
873
+ export interface CustomPersonFilter {
874
+ /**
875
+ * 待查询的人物姓名
876
+ */
877
+ Name: string
878
+
879
+ /**
880
+ * 待过滤的自定义类型Id数组
881
+ */
882
+ CategoryIdSet: Array<string>
883
+
884
+ /**
885
+ * 待过滤的自定义人物Id数组
886
+ */
887
+ PersonIdSet: Array<string>
888
+
889
+ /**
890
+ * 一级自定义人物类型数组
891
+ */
892
+ L1CategorySet: Array<string>
893
+ }
894
+
545
895
  /**
546
896
  * CreateTask请求参数结构体
547
897
  */
@@ -592,28 +942,64 @@ export interface L3Tag {
592
942
  }
593
943
 
594
944
  /**
595
- * 媒资过滤条件
945
+ * UpdateCustomCategory请求参数结构体
946
+ */
947
+ export interface UpdateCustomCategoryRequest {
948
+ /**
949
+ * 自定义人物类型Id
950
+ */
951
+ CategoryId: string
952
+
953
+ /**
954
+ * 一级自定义人物类型
955
+ */
956
+ L1Category: string
596
957
 
958
+ /**
959
+ * 二级自定义人物类型
960
+ */
961
+ L2Category?: string
962
+ }
597
963
 
964
+ /**
965
+ * DescribeCustomPersonDetail返回参数结构体
598
966
  */
599
- export interface MediaFilter {
967
+ export interface DescribeCustomPersonDetailResponse {
600
968
  /**
601
- * 媒资名称过滤条件
602
- 注意:此字段可能返回 null,表示取不到有效值。
603
- */
604
- MediaNameSet?: Array<string>
969
+ * 自定义人物信息
970
+ */
971
+ PersonInfo: CustomPersonInfo
605
972
 
606
973
  /**
607
- * 媒资状态数组,媒资状态可选值参见MediaInfo
974
+ * 出现该自定义人物的所有分析人物Id
608
975
  注意:此字段可能返回 null,表示取不到有效值。
609
976
  */
610
- StatusSet?: Array<number>
977
+ TaskIdSet: Array<string>
611
978
 
612
979
  /**
613
- * 媒资ID数组
614
- 注意:此字段可能返回 null,表示取不到有效值。
615
- */
616
- MediaIdSet?: Array<string>
980
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
981
+ */
982
+ RequestId?: string
983
+ }
984
+
985
+ /**
986
+ * DeleteCustomPersonImage返回参数结构体
987
+ */
988
+ export interface DeleteCustomPersonImageResponse {
989
+ /**
990
+ * 自定义人物Id
991
+ */
992
+ PersonId: string
993
+
994
+ /**
995
+ * 已删除的人物图片Id
996
+ */
997
+ ImageId: string
998
+
999
+ /**
1000
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1001
+ */
1002
+ RequestId?: string
617
1003
  }
618
1004
 
619
1005
  /**
@@ -681,6 +1067,56 @@ export interface MediaPreknownInfo {
681
1067
  MediaLang?: number
682
1068
  }
683
1069
 
1070
+ /**
1071
+ * DescribeCustomCategories返回参数结构体
1072
+ */
1073
+ export interface DescribeCustomCategoriesResponse {
1074
+ /**
1075
+ * 自定义人物类型数组
1076
+ */
1077
+ CategorySet: Array<CustomCategory>
1078
+
1079
+ /**
1080
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1081
+ */
1082
+ RequestId?: string
1083
+ }
1084
+
1085
+ /**
1086
+ * CreateCustomCategory返回参数结构体
1087
+ */
1088
+ export interface CreateCustomCategoryResponse {
1089
+ /**
1090
+ * 自定义分类信息ID
1091
+ */
1092
+ CategoryId: string
1093
+
1094
+ /**
1095
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1096
+ */
1097
+ RequestId?: string
1098
+ }
1099
+
1100
+ /**
1101
+ * CreateCustomPerson返回参数结构体
1102
+ */
1103
+ export interface CreateCustomPersonResponse {
1104
+ /**
1105
+ * 自定义人物Id
1106
+ */
1107
+ PersonId: string
1108
+
1109
+ /**
1110
+ * 自定义人脸信息
1111
+ */
1112
+ ImageInfo: PersonImageInfo
1113
+
1114
+ /**
1115
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1116
+ */
1117
+ RequestId?: string
1118
+ }
1119
+
684
1120
  /**
685
1121
  * 出现信息结构
686
1122
 
@@ -707,6 +1143,26 @@ export interface AppearInfo {
707
1143
  VideoAppearSet: Array<VideoAppearInfo>
708
1144
  }
709
1145
 
1146
+ /**
1147
+ * DescribeCustomGroup请求参数结构体
1148
+ */
1149
+ export type DescribeCustomGroupRequest = null
1150
+
1151
+ /**
1152
+ * UpdateCustomCategory返回参数结构体
1153
+ */
1154
+ export interface UpdateCustomCategoryResponse {
1155
+ /**
1156
+ * 成功更新的自定义人物类型Id
1157
+ */
1158
+ CategoryId: string
1159
+
1160
+ /**
1161
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1162
+ */
1163
+ RequestId?: string
1164
+ }
1165
+
710
1166
  /**
711
1167
  * DeleteMedia请求参数结构体
712
1168
  */
@@ -717,6 +1173,16 @@ export interface DeleteMediaRequest {
717
1173
  MediaId: string
718
1174
  }
719
1175
 
1176
+ /**
1177
+ * CreateCustomGroup返回参数结构体
1178
+ */
1179
+ export interface CreateCustomGroupResponse {
1180
+ /**
1181
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1182
+ */
1183
+ RequestId?: string
1184
+ }
1185
+
720
1186
  /**
721
1187
  * ImportMedia返回参数结构体
722
1188
  */
@@ -732,6 +1198,16 @@ export interface ImportMediaResponse {
732
1198
  RequestId?: string
733
1199
  }
734
1200
 
1201
+ /**
1202
+ * DescribeTaskDetail请求参数结构体
1203
+ */
1204
+ export interface DescribeTaskDetailRequest {
1205
+ /**
1206
+ * 创建任务返回的TaskId
1207
+ */
1208
+ TaskId: string
1209
+ }
1210
+
735
1211
  /**
736
1212
  * DescribeMedias返回参数结构体
737
1213
  */
@@ -882,13 +1358,73 @@ export interface MediaMetadata {
882
1358
  }
883
1359
 
884
1360
  /**
885
- * DescribeMedia请求参数结构体
1361
+ * DeleteCustomPerson请求参数结构体
886
1362
  */
887
- export interface DescribeMediaRequest {
1363
+ export interface DeleteCustomPersonRequest {
888
1364
  /**
889
- * 导入媒资返回的媒资ID,最长32B
1365
+ * 待删除的自定义人物ID
890
1366
  */
891
- MediaId: string
1367
+ PersonId: string
1368
+ }
1369
+
1370
+ /**
1371
+ * DeleteCustomCategory返回参数结构体
1372
+ */
1373
+ export interface DeleteCustomCategoryResponse {
1374
+ /**
1375
+ * 123
1376
+ */
1377
+ CategoryId: string
1378
+
1379
+ /**
1380
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1381
+ */
1382
+ RequestId?: string
1383
+ }
1384
+
1385
+ /**
1386
+ * DeleteCustomPersonImage请求参数结构体
1387
+ */
1388
+ export interface DeleteCustomPersonImageRequest {
1389
+ /**
1390
+ * 自定义人物Id
1391
+ */
1392
+ PersonId: string
1393
+
1394
+ /**
1395
+ * 自定义人脸图片Id
1396
+ */
1397
+ ImageId: string
1398
+ }
1399
+
1400
+ /**
1401
+ * CreateCustomPerson请求参数结构体
1402
+ */
1403
+ export interface CreateCustomPersonRequest {
1404
+ /**
1405
+ * 自定义人物姓名
1406
+ */
1407
+ Name: string
1408
+
1409
+ /**
1410
+ * 自定义人物简要信息(仅用于标记,不支持检索)
1411
+ */
1412
+ BasicInfo: string
1413
+
1414
+ /**
1415
+ * 自定义分类ID,如不存在接口会报错
1416
+ */
1417
+ CategoryId: string
1418
+
1419
+ /**
1420
+ * 自定义人物图片URL,可支持任意地址,推荐使用COS
1421
+ */
1422
+ ImageURL?: string
1423
+
1424
+ /**
1425
+ * 原始图片base64编码后的数据
1426
+ */
1427
+ Image?: string
892
1428
  }
893
1429
 
894
1430
  /**