tencentcloud-sdk-nodejs 4.0.280 → 4.0.281

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 (45) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/SERVICE_CHANGELOG.md +176 -5
  3. package/package.json +1 -1
  4. package/products.md +13 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_client.ts +1 -0
  7. package/src/services/ame/v20190916/ame_models.ts +23 -0
  8. package/src/services/cbs/v20170312/cbs_client.ts +16 -0
  9. package/src/services/cbs/v20170312/cbs_models.ts +60 -0
  10. package/src/services/chdfs/v20201112/chdfs_models.ts +10 -10
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  12. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  13. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +5 -5
  14. package/src/services/ivld/v20210903/ivld_client.ts +227 -29
  15. package/src/services/ivld/v20210903/ivld_models.ts +643 -107
  16. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  17. package/src/services/monitor/v20180724/monitor_models.ts +2 -2
  18. package/src/services/organization/v20210331/organization_models.ts +12 -0
  19. package/src/services/ses/v20201002/ses_models.ts +1 -1
  20. package/src/services/tcss/v20201101/tcss_models.ts +1 -1
  21. package/src/services/vod/v20180717/vod_models.ts +38 -4
  22. package/src/services/vpc/v20170312/vpc_models.ts +4 -2
  23. package/tencentcloud/common/sdk_version.d.ts +1 -1
  24. package/tencentcloud/common/sdk_version.js +1 -1
  25. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +20 -0
  26. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +8 -1
  27. package/tencentcloud/services/cbs/v20170312/cbs_client.js +9 -0
  28. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +51 -0
  29. package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +10 -10
  30. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  31. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  32. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +5 -5
  33. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +93 -11
  34. package/tencentcloud/services/ivld/v20210903/ivld_client.js +123 -13
  35. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +529 -71
  36. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  37. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  38. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +2 -2
  39. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +10 -0
  40. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
  41. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
  42. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +32 -2
  43. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -2
  44. package/test/cbs.v20170312.test.js +10 -0
  45. package/test/ivld.v20210903.test.js +146 -6
@@ -1,3 +1,29 @@
1
+ /**
2
+ * 一级标签信息
3
+
4
+ 请注意,一级标签信息可能不包含二级标签(此时L2TagSet为空)。在这种情况下,一级标签可直接包含出现信息。
5
+ */
6
+ export interface L1Tag {
7
+ /**
8
+ * 一级标签名
9
+ */
10
+ Name: string;
11
+ /**
12
+ * 二级标签数组
13
+ 注意:此字段可能返回 null,表示取不到有效值。
14
+ */
15
+ L2TagSet: Array<L2Tag>;
16
+ /**
17
+ * 一级标签出现信息
18
+ 注意:此字段可能返回 null,表示取不到有效值。
19
+ */
20
+ AppearIndexPairSet: Array<AppearIndexPair>;
21
+ /**
22
+ * 一级标签首次出现信息
23
+ 注意:此字段可能返回 null,表示取不到有效值。
24
+ */
25
+ FirstAppear: number;
26
+ }
1
27
  /**
2
28
  * DeleteMedia返回参数结构体
3
29
  */
@@ -100,25 +126,77 @@ export interface MultiLevelTag {
100
126
  AppearInfo: AppearInfo;
101
127
  }
102
128
  /**
103
- * DescribeTasks请求参数结构体
129
+ * 媒资过滤条件
130
+
131
+
104
132
  */
105
- export interface DescribeTasksRequest {
133
+ export interface MediaFilter {
106
134
  /**
107
- * 分页序号,从1开始
135
+ * 媒资名称过滤条件
136
+ 注意:此字段可能返回 null,表示取不到有效值。
108
137
  */
109
- PageNumber?: number;
138
+ MediaNameSet?: Array<string>;
110
139
  /**
111
- * 每个分页所包含的元素数量,最大为50
140
+ * 媒资状态数组,媒资状态可选值参见MediaInfo
141
+ 注意:此字段可能返回 null,表示取不到有效值。
112
142
  */
113
- PageSize?: number;
143
+ StatusSet?: Array<number>;
114
144
  /**
115
- * 任务过滤条件,相关限制参见TaskFilter
145
+ * 媒资ID数组
146
+ 注意:此字段可能返回 null,表示取不到有效值。
116
147
  */
117
- TaskFilter?: TaskFilter;
148
+ MediaIdSet?: Array<string>;
149
+ }
150
+ /**
151
+ * AddCustomPersonImage请求参数结构体
152
+ */
153
+ export interface AddCustomPersonImageRequest {
118
154
  /**
119
- * 返回结果排序信息,By字段只支持CreateTimeStamp
155
+ * 自定义人物Id
120
156
  */
121
- SortBy?: SortBy;
157
+ PersonId: string;
158
+ /**
159
+ * 自定义人物图片地址
160
+ */
161
+ ImageURL?: string;
162
+ /**
163
+ * 图片数据base64之后的结果
164
+ */
165
+ Image?: string;
166
+ }
167
+ /**
168
+ * UpdateCustomPerson请求参数结构体
169
+ */
170
+ export interface UpdateCustomPersonRequest {
171
+ /**
172
+ * 待更新的自定义人物Id
173
+ */
174
+ PersonId: string;
175
+ /**
176
+ * 更新后的自定义人物名称,如为空则不更新
177
+ */
178
+ Name?: string;
179
+ /**
180
+ * 更新后的自定义人物简介,如为空则不更新
181
+ */
182
+ BasicInfo?: string;
183
+ /**
184
+ * 更新后的分类信息,如为空则不更新
185
+ */
186
+ CategoryId?: string;
187
+ }
188
+ /**
189
+ * DeleteCustomPerson返回参数结构体
190
+ */
191
+ export interface DeleteCustomPersonResponse {
192
+ /**
193
+ * 已删除的自定义人物Id
194
+ */
195
+ PersonId: string;
196
+ /**
197
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
198
+ */
199
+ RequestId?: string;
122
200
  }
123
201
  /**
124
202
  * 二级标签信息
@@ -147,6 +225,27 @@ export interface L2Tag {
147
225
  */
148
226
  FirstAppear: number;
149
227
  }
228
+ /**
229
+ * DescribeCustomPersons返回参数结构体
230
+ */
231
+ export interface DescribeCustomPersonsResponse {
232
+ /**
233
+ * 满足过滤条件的自定义人物数量
234
+ */
235
+ TotalCount: number;
236
+ /**
237
+ * 自定义人物信息
238
+ */
239
+ PersonInfoSet: Array<CustomPersonInfo>;
240
+ /**
241
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
242
+ */
243
+ RequestId?: string;
244
+ }
245
+ /**
246
+ * DescribeCustomCategories请求参数结构体
247
+ */
248
+ export declare type DescribeCustomCategoriesRequest = null;
150
249
  /**
151
250
  * ImportMedia请求参数结构体
152
251
  */
@@ -164,6 +263,28 @@ export interface ImportMediaRequest {
164
263
  */
165
264
  Name?: string;
166
265
  }
266
+ /**
267
+ * CreateCustomCategory请求参数结构体
268
+ */
269
+ export interface CreateCustomCategoryRequest {
270
+ /**
271
+ * 自定义一级类型
272
+ */
273
+ L1Category: string;
274
+ /**
275
+ * 自定义二级类型
276
+ */
277
+ L2Category: string;
278
+ }
279
+ /**
280
+ * DescribeMedia请求参数结构体
281
+ */
282
+ export interface DescribeMediaRequest {
283
+ /**
284
+ * 导入媒资返回的媒资ID,最长32B
285
+ */
286
+ MediaId: string;
287
+ }
167
288
  /**
168
289
  * DescribeMedias请求参数结构体
169
290
  */
@@ -203,27 +324,6 @@ export interface VideoAppearInfo {
203
324
  */
204
325
  ImageURL: string;
205
326
  }
206
- /**
207
- * 可视文本识别结果信息(OCR)
208
- */
209
- export interface TextInfo {
210
- /**
211
- * OCR提取的内容
212
- */
213
- Content: string;
214
- /**
215
- * OCR起始时间戳,从0开始
216
- */
217
- StartTimeStamp: number;
218
- /**
219
- * OCR结束时间戳,从0开始
220
- */
221
- EndTimeStamp: number;
222
- /**
223
- * OCR标签信息
224
- */
225
- Tag: string;
226
- }
227
327
  /**
228
328
  * DescribeTask返回参数结构体
229
329
  */
@@ -238,6 +338,15 @@ export interface DescribeTaskResponse {
238
338
  */
239
339
  RequestId?: string;
240
340
  }
341
+ /**
342
+ * CreateDefaultCategories返回参数结构体
343
+ */
344
+ export interface CreateDefaultCategoriesResponse {
345
+ /**
346
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
347
+ */
348
+ RequestId?: string;
349
+ }
241
350
  /**
242
351
  * 出现信息索引对
243
352
 
@@ -262,6 +371,49 @@ export interface AppearIndexPair {
262
371
  */
263
372
  Index: number;
264
373
  }
374
+ /**
375
+ * CreateTask返回参数结构体
376
+ */
377
+ export interface CreateTaskResponse {
378
+ /**
379
+ * 智能标签视频分析任务ID
380
+ */
381
+ TaskId: string;
382
+ /**
383
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
384
+ */
385
+ RequestId?: string;
386
+ }
387
+ /**
388
+ * DeleteCustomCategory请求参数结构体
389
+ */
390
+ export interface DeleteCustomCategoryRequest {
391
+ /**
392
+ * 自定义分类ID
393
+ */
394
+ CategoryId: string;
395
+ }
396
+ /**
397
+ * DescribeTasks请求参数结构体
398
+ */
399
+ export interface DescribeTasksRequest {
400
+ /**
401
+ * 分页序号,从1开始
402
+ */
403
+ PageNumber?: number;
404
+ /**
405
+ * 每个分页所包含的元素数量,最大为50
406
+ */
407
+ PageSize?: number;
408
+ /**
409
+ * 任务过滤条件,相关限制参见TaskFilter
410
+ */
411
+ TaskFilter?: TaskFilter;
412
+ /**
413
+ * 返回结果排序信息,By字段只支持CreateTimeStamp
414
+ */
415
+ SortBy?: SortBy;
416
+ }
265
417
  /**
266
418
  * DescribeTaskDetail返回参数结构体
267
419
  */
@@ -280,27 +432,56 @@ export interface DescribeTaskDetailResponse {
280
432
  RequestId?: string;
281
433
  }
282
434
  /**
283
- * CreateTask返回参数结构体
435
+ * 自定义人物人脸图片信息
284
436
  */
285
- export interface CreateTaskResponse {
437
+ export interface PersonImageInfo {
286
438
  /**
287
- * 智能标签视频分析任务ID
439
+ * 人脸图片ID
288
440
  */
289
- TaskId: string;
441
+ ImageId: string;
290
442
  /**
291
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
443
+ * 自定义人脸图片的URL,存储在IVLDCustomPreson存储桶内
292
444
  */
293
- RequestId?: string;
445
+ ImageURL: string;
446
+ /**
447
+ * 自定义人脸图片处理错误码
448
+ */
449
+ ErrorCode: string;
450
+ /**
451
+ * 自定义人脸图片处理错误信息
452
+ */
453
+ ErrorMsg: string;
294
454
  }
295
455
  /**
296
- * DescribeTaskDetail请求参数结构体
456
+ * CreateCustomGroup请求参数结构体
297
457
  */
298
- export interface DescribeTaskDetailRequest {
458
+ export interface CreateCustomGroupRequest {
299
459
  /**
300
- * 创建任务返回的TaskId
460
+ * 人脸图片COS存储桶Host地址
301
461
  */
302
- TaskId: string;
462
+ Bucket: string;
463
+ }
464
+ /**
465
+ * AddCustomPersonImage返回参数结构体
466
+ */
467
+ export interface AddCustomPersonImageResponse {
468
+ /**
469
+ * 自定义人物Id
470
+ */
471
+ PersonId: string;
472
+ /**
473
+ * 自定义人脸图片信息
474
+ */
475
+ ImageInfo: PersonImageInfo;
476
+ /**
477
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
478
+ */
479
+ RequestId?: string;
303
480
  }
481
+ /**
482
+ * CreateDefaultCategories请求参数结构体
483
+ */
484
+ export declare type CreateDefaultCategoriesRequest = null;
304
485
  /**
305
486
  * 任务筛选条件结构体
306
487
  */
@@ -367,6 +548,23 @@ export interface DescribeMediaResponse {
367
548
  */
368
549
  RequestId?: string;
369
550
  }
551
+ /**
552
+ * 自定义分类信息
553
+ */
554
+ export interface CustomCategory {
555
+ /**
556
+ * 自定义分类ID
557
+ */
558
+ CategoryId: string;
559
+ /**
560
+ * 一级自定义类型
561
+ */
562
+ L1Category: string;
563
+ /**
564
+ * 二级自定义类型
565
+ */
566
+ L2Category: string;
567
+ }
370
568
  /**
371
569
  * 任务结果数据
372
570
  */
@@ -387,30 +585,89 @@ export interface DescribeTaskRequest {
387
585
  TaskId: string;
388
586
  }
389
587
  /**
390
- * 一级标签信息
391
-
392
- 请注意,一级标签信息可能不包含二级标签(此时L2TagSet为空)。在这种情况下,一级标签可直接包含出现信息。
588
+ * DescribeCustomPersonDetail请求参数结构体
393
589
  */
394
- export interface L1Tag {
590
+ export interface DescribeCustomPersonDetailRequest {
395
591
  /**
396
- * 一级标签名
592
+ * 自定义人物Id
593
+ */
594
+ PersonId: string;
595
+ }
596
+ /**
597
+ * 自定义人物信息
598
+ */
599
+ export interface CustomPersonInfo {
600
+ /**
601
+ * 自定义人物Id
602
+ */
603
+ PersonId: string;
604
+ /**
605
+ * 自定义人物姓名
397
606
  */
398
607
  Name: string;
399
608
  /**
400
- * 二级标签数组
401
- 注意:此字段可能返回 null,表示取不到有效值。
609
+ * 自定义人物简介信息
402
610
  */
403
- L2TagSet: Array<L2Tag>;
611
+ BasicInfo: string;
404
612
  /**
405
- * 一级标签出现信息
406
- 注意:此字段可能返回 null,表示取不到有效值。
613
+ * 一级自定义人物类型
407
614
  */
408
- AppearIndexPairSet: Array<AppearIndexPair>;
615
+ L1Category: string;
409
616
  /**
410
- * 一级标签首次出现信息
411
- 注意:此字段可能返回 null,表示取不到有效值。
617
+ * 二级自定义人物类型
412
618
  */
413
- FirstAppear: number;
619
+ L2Category: string;
620
+ }
621
+ /**
622
+ * UpdateCustomPerson返回参数结构体
623
+ */
624
+ export interface UpdateCustomPersonResponse {
625
+ /**
626
+ * 成功更新的自定义人物Id
627
+ */
628
+ PersonId: string;
629
+ /**
630
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
631
+ */
632
+ RequestId?: string;
633
+ }
634
+ /**
635
+ * DescribeCustomGroup返回参数结构体
636
+ */
637
+ export interface DescribeCustomGroupResponse {
638
+ /**
639
+ * 自定义人物库所包含的人物个数
640
+ */
641
+ GroupSize: number;
642
+ /**
643
+ * 自定义人物库图片后续所在的存储桶
644
+ */
645
+ Bucket: string;
646
+ /**
647
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
648
+ */
649
+ RequestId?: string;
650
+ }
651
+ /**
652
+ * DescribeCustomPersons请求参数结构体
653
+ */
654
+ export interface DescribeCustomPersonsRequest {
655
+ /**
656
+ * 分页序号,从1开始
657
+ */
658
+ PageNumber: number;
659
+ /**
660
+ * 分页数据行数,最多50
661
+ */
662
+ PageSize: number;
663
+ /**
664
+ * 排序信息,默认倒序
665
+ */
666
+ SortBy?: SortBy;
667
+ /**
668
+ * 自定义人物过滤条件
669
+ */
670
+ Filter?: CustomPersonFilter;
414
671
  }
415
672
  /**
416
673
  * DescribeTasks返回参数结构体
@@ -430,6 +687,27 @@ export interface DescribeTasksResponse {
430
687
  */
431
688
  RequestId?: string;
432
689
  }
690
+ /**
691
+ * 可视文本识别结果信息(OCR)
692
+ */
693
+ export interface TextInfo {
694
+ /**
695
+ * OCR提取的内容
696
+ */
697
+ Content: string;
698
+ /**
699
+ * OCR起始时间戳,从0开始
700
+ */
701
+ StartTimeStamp: number;
702
+ /**
703
+ * OCR结束时间戳,从0开始
704
+ */
705
+ EndTimeStamp: number;
706
+ /**
707
+ * OCR标签信息
708
+ */
709
+ Tag: string;
710
+ }
433
711
  /**
434
712
  * 音频识别结果信息
435
713
  */
@@ -451,6 +729,27 @@ export interface AudioInfo {
451
729
  */
452
730
  Tag: string;
453
731
  }
732
+ /**
733
+ * 自定义人物批量查询过滤条件
734
+ */
735
+ export interface CustomPersonFilter {
736
+ /**
737
+ * 待查询的人物姓名
738
+ */
739
+ Name: string;
740
+ /**
741
+ * 待过滤的自定义类型Id数组
742
+ */
743
+ CategoryIdSet: Array<string>;
744
+ /**
745
+ * 待过滤的自定义人物Id数组
746
+ */
747
+ PersonIdSet: Array<string>;
748
+ /**
749
+ * 一级自定义人物类型数组
750
+ */
751
+ L1CategorySet: Array<string>;
752
+ }
454
753
  /**
455
754
  * CreateTask请求参数结构体
456
755
  */
@@ -494,26 +793,56 @@ export interface L3Tag {
494
793
  FirstAppear: number;
495
794
  }
496
795
  /**
497
- * 媒资过滤条件
498
-
499
-
796
+ * UpdateCustomCategory请求参数结构体
500
797
  */
501
- export interface MediaFilter {
798
+ export interface UpdateCustomCategoryRequest {
502
799
  /**
503
- * 媒资名称过滤条件
504
- 注意:此字段可能返回 null,表示取不到有效值。
800
+ * 自定义人物类型Id
505
801
  */
506
- MediaNameSet?: Array<string>;
802
+ CategoryId: string;
507
803
  /**
508
- * 媒资状态数组,媒资状态可选值参见MediaInfo
509
- 注意:此字段可能返回 null,表示取不到有效值。
804
+ * 一级自定义人物类型
510
805
  */
511
- StatusSet?: Array<number>;
806
+ L1Category: string;
512
807
  /**
513
- * 媒资ID数组
808
+ * 二级自定义人物类型
809
+ */
810
+ L2Category?: string;
811
+ }
812
+ /**
813
+ * DescribeCustomPersonDetail返回参数结构体
814
+ */
815
+ export interface DescribeCustomPersonDetailResponse {
816
+ /**
817
+ * 自定义人物信息
818
+ */
819
+ PersonInfo: CustomPersonInfo;
820
+ /**
821
+ * 出现该自定义人物的所有分析人物Id
514
822
  注意:此字段可能返回 null,表示取不到有效值。
515
823
  */
516
- MediaIdSet?: Array<string>;
824
+ TaskIdSet: Array<string>;
825
+ /**
826
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
827
+ */
828
+ RequestId?: string;
829
+ }
830
+ /**
831
+ * DeleteCustomPersonImage返回参数结构体
832
+ */
833
+ export interface DeleteCustomPersonImageResponse {
834
+ /**
835
+ * 自定义人物Id
836
+ */
837
+ PersonId: string;
838
+ /**
839
+ * 已删除的人物图片Id
840
+ */
841
+ ImageId: string;
842
+ /**
843
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
844
+ */
845
+ RequestId?: string;
517
846
  }
518
847
  /**
519
848
  * 描述输入媒资的先验知识,例如文件类型(视频),媒体类型(新闻/综艺等)
@@ -576,6 +905,49 @@ export interface MediaPreknownInfo {
576
905
  */
577
906
  MediaLang?: number;
578
907
  }
908
+ /**
909
+ * DescribeCustomCategories返回参数结构体
910
+ */
911
+ export interface DescribeCustomCategoriesResponse {
912
+ /**
913
+ * 自定义人物类型数组
914
+ */
915
+ CategorySet: Array<CustomCategory>;
916
+ /**
917
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
918
+ */
919
+ RequestId?: string;
920
+ }
921
+ /**
922
+ * CreateCustomCategory返回参数结构体
923
+ */
924
+ export interface CreateCustomCategoryResponse {
925
+ /**
926
+ * 自定义分类信息ID
927
+ */
928
+ CategoryId: string;
929
+ /**
930
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
931
+ */
932
+ RequestId?: string;
933
+ }
934
+ /**
935
+ * CreateCustomPerson返回参数结构体
936
+ */
937
+ export interface CreateCustomPersonResponse {
938
+ /**
939
+ * 自定义人物Id
940
+ */
941
+ PersonId: string;
942
+ /**
943
+ * 自定义人脸信息
944
+ */
945
+ ImageInfo: PersonImageInfo;
946
+ /**
947
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
948
+ */
949
+ RequestId?: string;
950
+ }
579
951
  /**
580
952
  * 出现信息结构
581
953
 
@@ -599,6 +971,23 @@ export interface AppearInfo {
599
971
  */
600
972
  VideoAppearSet: Array<VideoAppearInfo>;
601
973
  }
974
+ /**
975
+ * DescribeCustomGroup请求参数结构体
976
+ */
977
+ export declare type DescribeCustomGroupRequest = null;
978
+ /**
979
+ * UpdateCustomCategory返回参数结构体
980
+ */
981
+ export interface UpdateCustomCategoryResponse {
982
+ /**
983
+ * 成功更新的自定义人物类型Id
984
+ */
985
+ CategoryId: string;
986
+ /**
987
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
988
+ */
989
+ RequestId?: string;
990
+ }
602
991
  /**
603
992
  * DeleteMedia请求参数结构体
604
993
  */
@@ -608,6 +997,15 @@ export interface DeleteMediaRequest {
608
997
  */
609
998
  MediaId: string;
610
999
  }
1000
+ /**
1001
+ * CreateCustomGroup返回参数结构体
1002
+ */
1003
+ export interface CreateCustomGroupResponse {
1004
+ /**
1005
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1006
+ */
1007
+ RequestId?: string;
1008
+ }
611
1009
  /**
612
1010
  * ImportMedia返回参数结构体
613
1011
  */
@@ -621,6 +1019,15 @@ export interface ImportMediaResponse {
621
1019
  */
622
1020
  RequestId?: string;
623
1021
  }
1022
+ /**
1023
+ * DescribeTaskDetail请求参数结构体
1024
+ */
1025
+ export interface DescribeTaskDetailRequest {
1026
+ /**
1027
+ * 创建任务返回的TaskId
1028
+ */
1029
+ TaskId: string;
1030
+ }
624
1031
  /**
625
1032
  * DescribeMedias返回参数结构体
626
1033
  */
@@ -751,13 +1158,64 @@ export interface MediaMetadata {
751
1158
  BitRate: number;
752
1159
  }
753
1160
  /**
754
- * DescribeMedia请求参数结构体
1161
+ * DeleteCustomPerson请求参数结构体
755
1162
  */
756
- export interface DescribeMediaRequest {
1163
+ export interface DeleteCustomPersonRequest {
757
1164
  /**
758
- * 导入媒资返回的媒资ID,最长32B
1165
+ * 待删除的自定义人物ID
759
1166
  */
760
- MediaId: string;
1167
+ PersonId: string;
1168
+ }
1169
+ /**
1170
+ * DeleteCustomCategory返回参数结构体
1171
+ */
1172
+ export interface DeleteCustomCategoryResponse {
1173
+ /**
1174
+ * 123
1175
+ */
1176
+ CategoryId: string;
1177
+ /**
1178
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1179
+ */
1180
+ RequestId?: string;
1181
+ }
1182
+ /**
1183
+ * DeleteCustomPersonImage请求参数结构体
1184
+ */
1185
+ export interface DeleteCustomPersonImageRequest {
1186
+ /**
1187
+ * 自定义人物Id
1188
+ */
1189
+ PersonId: string;
1190
+ /**
1191
+ * 自定义人脸图片Id
1192
+ */
1193
+ ImageId: string;
1194
+ }
1195
+ /**
1196
+ * CreateCustomPerson请求参数结构体
1197
+ */
1198
+ export interface CreateCustomPersonRequest {
1199
+ /**
1200
+ * 自定义人物姓名
1201
+ */
1202
+ Name: string;
1203
+ /**
1204
+ * 自定义人物简要信息(仅用于标记,不支持检索)
1205
+ */
1206
+ BasicInfo: string;
1207
+ /**
1208
+ * 自定义分类ID,如不存在接口会报错
1209
+ */
1210
+ CategoryId: string;
1211
+ /**
1212
+ * 自定义人物图片URL,可支持任意地址,推荐使用COS
1213
+ */
1214
+ ImageURL?: string;
1215
+ /**
1216
+ * 原始图片base64编码后的数据
1217
+ */
1218
+ Image?: string;
761
1219
  }
762
1220
  /**
763
1221
  * 任务信息