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.
- package/CHANGELOG.md +331 -0
- package/SERVICE_CHANGELOG.md +232 -6
- package/package.json +1 -1
- package/products.md +19 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +121 -63
- package/src/services/ame/v20190916/ame_models.ts +1157 -820
- package/src/services/cam/v20190116/cam_models.ts +6 -0
- package/src/services/cbs/v20170312/cbs_client.ts +16 -0
- package/src/services/cbs/v20170312/cbs_models.ts +60 -0
- package/src/services/chdfs/v20201112/chdfs_models.ts +10 -10
- package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
- package/src/services/cme/v20191029/cme_client.ts +17 -7
- package/src/services/cme/v20191029/cme_models.ts +415 -139
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +5 -5
- package/src/services/ivld/v20210903/ivld_client.ts +227 -29
- package/src/services/ivld/v20210903/ivld_models.ts +643 -107
- package/src/services/lowcode/index.ts +5 -0
- package/src/services/lowcode/v20210108/index.ts +6 -0
- package/src/services/lowcode/v20210108/lowcode_client.ts +48 -0
- package/src/services/lowcode/v20210108/lowcode_models.ts +359 -0
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +2 -2
- package/src/services/organization/v20210331/organization_models.ts +12 -0
- package/src/services/partners/v20180321/partners_models.ts +4 -4
- package/src/services/ses/v20201002/ses_models.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/src/services/vod/v20180717/vod_models.ts +38 -4
- package/src/services/vpc/v20170312/vpc_models.ts +4 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +24 -5
- package/tencentcloud/services/ame/v20190916/ame_client.js +33 -6
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +1016 -730
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +5 -0
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +8 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +9 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +51 -0
- package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +10 -10
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +359 -123
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +5 -5
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +93 -11
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +123 -13
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +529 -71
- package/tencentcloud/services/lowcode/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/index.js +7 -0
- package/tencentcloud/services/lowcode/v20210108/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/v20210108/index.js +9 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +14 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +37 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +287 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.js +18 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +2 -2
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +10 -0
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +4 -4
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +32 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -2
- package/test/ame.v20190916.test.js +44 -4
- package/test/cbs.v20170312.test.js +10 -0
- package/test/ivld.v20210903.test.js +146 -6
- package/test/lowcode.v20210108.test.js +31 -0
package/src/services/index.ts
CHANGED
|
@@ -100,6 +100,7 @@ export { ivld } from "./ivld"
|
|
|
100
100
|
export { kms } from "./kms"
|
|
101
101
|
export { lighthouse } from "./lighthouse"
|
|
102
102
|
export { live } from "./live"
|
|
103
|
+
export { lowcode } from "./lowcode"
|
|
103
104
|
export { lp } from "./lp"
|
|
104
105
|
export { mariadb } from "./mariadb"
|
|
105
106
|
export { market } from "./market"
|
|
@@ -713,7 +713,7 @@ export interface DescribeDeviceEventRequest {
|
|
|
713
713
|
DeviceId?: string
|
|
714
714
|
|
|
715
715
|
/**
|
|
716
|
-
* 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断
|
|
716
|
+
* 默认为全部 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断
|
|
717
717
|
*/
|
|
718
718
|
EventTypes?: Array<number>
|
|
719
719
|
|
|
@@ -738,12 +738,12 @@ export interface GetVideoListByConRequest {
|
|
|
738
738
|
DeviceId: string
|
|
739
739
|
|
|
740
740
|
/**
|
|
741
|
-
*
|
|
741
|
+
* 偏移量
|
|
742
742
|
*/
|
|
743
743
|
Offset: number
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
|
-
*
|
|
746
|
+
* 限制量
|
|
747
747
|
*/
|
|
748
748
|
Limit: number
|
|
749
749
|
|
|
@@ -3128,12 +3128,12 @@ export interface DescribeXP2PDataRequest {
|
|
|
3128
3128
|
P2PAppId: string
|
|
3129
3129
|
|
|
3130
3130
|
/**
|
|
3131
|
-
*
|
|
3131
|
+
* 查询开始时间,时间戳秒
|
|
3132
3132
|
*/
|
|
3133
3133
|
From: number
|
|
3134
3134
|
|
|
3135
3135
|
/**
|
|
3136
|
-
*
|
|
3136
|
+
* 查询结束时间,时间戳秒
|
|
3137
3137
|
*/
|
|
3138
3138
|
To: number
|
|
3139
3139
|
|
|
@@ -18,40 +18,72 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
L1Tag,
|
|
21
22
|
DeleteMediaResponse,
|
|
22
23
|
ShowInfo,
|
|
23
24
|
MultiLevelTag,
|
|
24
|
-
|
|
25
|
+
MediaFilter,
|
|
26
|
+
AddCustomPersonImageRequest,
|
|
27
|
+
UpdateCustomPersonRequest,
|
|
28
|
+
DeleteCustomPersonResponse,
|
|
25
29
|
L2Tag,
|
|
30
|
+
DescribeCustomPersonsResponse,
|
|
31
|
+
DescribeCustomCategoriesRequest,
|
|
26
32
|
ImportMediaRequest,
|
|
33
|
+
CreateCustomCategoryRequest,
|
|
34
|
+
DescribeMediaRequest,
|
|
27
35
|
DescribeMediasRequest,
|
|
28
36
|
VideoAppearInfo,
|
|
29
|
-
TextInfo,
|
|
30
37
|
DescribeTaskResponse,
|
|
38
|
+
CreateDefaultCategoriesResponse,
|
|
31
39
|
AppearIndexPair,
|
|
32
|
-
DescribeTaskDetailResponse,
|
|
33
40
|
CreateTaskResponse,
|
|
34
|
-
|
|
41
|
+
DeleteCustomCategoryRequest,
|
|
42
|
+
DescribeTasksRequest,
|
|
43
|
+
DescribeTaskDetailResponse,
|
|
44
|
+
PersonImageInfo,
|
|
45
|
+
CreateCustomGroupRequest,
|
|
46
|
+
AddCustomPersonImageResponse,
|
|
47
|
+
CreateDefaultCategoriesRequest,
|
|
35
48
|
TaskFilter,
|
|
36
49
|
TextAppearInfo,
|
|
37
50
|
DescribeMediaResponse,
|
|
51
|
+
CustomCategory,
|
|
38
52
|
Data,
|
|
39
53
|
DescribeTaskRequest,
|
|
40
|
-
|
|
54
|
+
DescribeCustomPersonDetailRequest,
|
|
55
|
+
CustomPersonInfo,
|
|
56
|
+
UpdateCustomPersonResponse,
|
|
57
|
+
DescribeCustomGroupResponse,
|
|
58
|
+
DescribeCustomPersonsRequest,
|
|
41
59
|
DescribeTasksResponse,
|
|
60
|
+
TextInfo,
|
|
42
61
|
AudioInfo,
|
|
62
|
+
CustomPersonFilter,
|
|
43
63
|
CreateTaskRequest,
|
|
44
64
|
L3Tag,
|
|
45
|
-
|
|
65
|
+
UpdateCustomCategoryRequest,
|
|
66
|
+
DescribeCustomPersonDetailResponse,
|
|
67
|
+
DeleteCustomPersonImageResponse,
|
|
46
68
|
MediaPreknownInfo,
|
|
69
|
+
DescribeCustomCategoriesResponse,
|
|
70
|
+
CreateCustomCategoryResponse,
|
|
71
|
+
CreateCustomPersonResponse,
|
|
47
72
|
AppearInfo,
|
|
73
|
+
DescribeCustomGroupRequest,
|
|
74
|
+
UpdateCustomCategoryResponse,
|
|
48
75
|
DeleteMediaRequest,
|
|
76
|
+
CreateCustomGroupResponse,
|
|
49
77
|
ImportMediaResponse,
|
|
78
|
+
DescribeTaskDetailRequest,
|
|
50
79
|
DescribeMediasResponse,
|
|
51
80
|
MediaInfo,
|
|
52
81
|
SortBy,
|
|
53
82
|
MediaMetadata,
|
|
54
|
-
|
|
83
|
+
DeleteCustomPersonRequest,
|
|
84
|
+
DeleteCustomCategoryResponse,
|
|
85
|
+
DeleteCustomPersonImageRequest,
|
|
86
|
+
CreateCustomPersonRequest,
|
|
55
87
|
TaskInfo,
|
|
56
88
|
} from "./ivld_models"
|
|
57
89
|
|
|
@@ -95,29 +127,73 @@ export class Client extends AbstractClient {
|
|
|
95
127
|
}
|
|
96
128
|
|
|
97
129
|
/**
|
|
98
|
-
*
|
|
130
|
+
* 创建自定义人物。
|
|
99
131
|
|
|
100
|
-
|
|
132
|
+
输入人物名称,基本信息,分类信息与人脸图片,创建自定义人物
|
|
133
|
+
|
|
134
|
+
人脸图片可使用图片数据(base64编码的图片数据)或者图片URL(推荐使用COS以减少下载时间,其他地址也支持),原始图片优先,也即如果同时指定了图片数据和图片URL,接口将仅使用图片数据
|
|
101
135
|
|
|
102
|
-
如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。
|
|
103
136
|
*/
|
|
104
|
-
async
|
|
105
|
-
req:
|
|
106
|
-
cb?: (error: string, rep:
|
|
107
|
-
): Promise<
|
|
108
|
-
return this.request("
|
|
137
|
+
async CreateCustomPerson(
|
|
138
|
+
req: CreateCustomPersonRequest,
|
|
139
|
+
cb?: (error: string, rep: CreateCustomPersonResponse) => void
|
|
140
|
+
): Promise<CreateCustomPersonResponse> {
|
|
141
|
+
return this.request("CreateCustomPerson", req, cb)
|
|
109
142
|
}
|
|
110
143
|
|
|
111
144
|
/**
|
|
112
|
-
|
|
145
|
+
* 删除自定义人脸数据
|
|
146
|
+
*/
|
|
147
|
+
async DeleteCustomPersonImage(
|
|
148
|
+
req: DeleteCustomPersonImageRequest,
|
|
149
|
+
cb?: (error: string, rep: DeleteCustomPersonImageResponse) => void
|
|
150
|
+
): Promise<DeleteCustomPersonImageResponse> {
|
|
151
|
+
return this.request("DeleteCustomPersonImage", req, cb)
|
|
152
|
+
}
|
|
113
153
|
|
|
114
|
-
|
|
154
|
+
/**
|
|
155
|
+
* 更新自定义人物分类
|
|
156
|
+
|
|
157
|
+
当L2Category为空时,代表更新CategoryId对应的一级自定义人物类型以及所有二级自定义人物类型所从属的一级自定义人物类型;
|
|
158
|
+
当L2Category非空时,仅更新CategoryId对应的二级自定义人物类型
|
|
115
159
|
*/
|
|
116
|
-
async
|
|
117
|
-
req:
|
|
118
|
-
cb?: (error: string, rep:
|
|
119
|
-
): Promise<
|
|
120
|
-
return this.request("
|
|
160
|
+
async UpdateCustomCategory(
|
|
161
|
+
req: UpdateCustomCategoryRequest,
|
|
162
|
+
cb?: (error: string, rep: UpdateCustomCategoryResponse) => void
|
|
163
|
+
): Promise<UpdateCustomCategoryResponse> {
|
|
164
|
+
return this.request("UpdateCustomCategory", req, cb)
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* 更新自定义人物信息,包括姓名,简要信息,分类信息等
|
|
169
|
+
*/
|
|
170
|
+
async UpdateCustomPerson(
|
|
171
|
+
req: UpdateCustomPersonRequest,
|
|
172
|
+
cb?: (error: string, rep: UpdateCustomPersonResponse) => void
|
|
173
|
+
): Promise<UpdateCustomPersonResponse> {
|
|
174
|
+
return this.request("UpdateCustomPerson", req, cb)
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* 删除自定义分类信息
|
|
179
|
+
*/
|
|
180
|
+
async DeleteCustomCategory(
|
|
181
|
+
req: DeleteCustomCategoryRequest,
|
|
182
|
+
cb?: (error: string, rep: DeleteCustomCategoryResponse) => void
|
|
183
|
+
): Promise<DeleteCustomCategoryResponse> {
|
|
184
|
+
return this.request("DeleteCustomCategory", req, cb)
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* 增加自定义人脸图片,每个自定义人物最多可包含5张人脸图片
|
|
189
|
+
|
|
190
|
+
请注意,与创建自定义人物一样,图片数据优先级优于图片URL优先级
|
|
191
|
+
*/
|
|
192
|
+
async AddCustomPersonImage(
|
|
193
|
+
req: AddCustomPersonImageRequest,
|
|
194
|
+
cb?: (error: string, rep: AddCustomPersonImageResponse) => void
|
|
195
|
+
): Promise<AddCustomPersonImageResponse> {
|
|
196
|
+
return this.request("AddCustomPersonImage", req, cb)
|
|
121
197
|
}
|
|
122
198
|
|
|
123
199
|
/**
|
|
@@ -130,6 +206,16 @@ export class Client extends AbstractClient {
|
|
|
130
206
|
return this.request("DescribeTaskDetail", req, cb)
|
|
131
207
|
}
|
|
132
208
|
|
|
209
|
+
/**
|
|
210
|
+
* 创建默认自定义人物类型
|
|
211
|
+
*/
|
|
212
|
+
async CreateDefaultCategories(
|
|
213
|
+
req?: CreateDefaultCategoriesRequest,
|
|
214
|
+
cb?: (error: string, rep: CreateDefaultCategoriesResponse) => void
|
|
215
|
+
): Promise<CreateDefaultCategoriesResponse> {
|
|
216
|
+
return this.request("CreateDefaultCategories", req, cb)
|
|
217
|
+
}
|
|
218
|
+
|
|
133
219
|
/**
|
|
134
220
|
* 描述智能标签任务进度。
|
|
135
221
|
|
|
@@ -145,15 +231,60 @@ export class Client extends AbstractClient {
|
|
|
145
231
|
}
|
|
146
232
|
|
|
147
233
|
/**
|
|
148
|
-
|
|
234
|
+
* 描述自定义人物详细信息,包括人物信息与人物信息
|
|
235
|
+
*/
|
|
236
|
+
async DescribeCustomPersonDetail(
|
|
237
|
+
req: DescribeCustomPersonDetailRequest,
|
|
238
|
+
cb?: (error: string, rep: DescribeCustomPersonDetailResponse) => void
|
|
239
|
+
): Promise<DescribeCustomPersonDetailResponse> {
|
|
240
|
+
return this.request("DescribeCustomPersonDetail", req, cb)
|
|
241
|
+
}
|
|
149
242
|
|
|
150
|
-
|
|
243
|
+
/**
|
|
244
|
+
* 创建自定义人物分类信息
|
|
245
|
+
|
|
246
|
+
当L2Category为空时,将创建一级自定义分类。
|
|
247
|
+
当L1Category与L2Category均不为空时,将创建二级自定义分类。请注意,**只有当一级自定义分类存在时,才可创建二级自定义分类**。
|
|
151
248
|
*/
|
|
152
|
-
async
|
|
153
|
-
req:
|
|
154
|
-
cb?: (error: string, rep:
|
|
155
|
-
): Promise<
|
|
156
|
-
return this.request("
|
|
249
|
+
async CreateCustomCategory(
|
|
250
|
+
req: CreateCustomCategoryRequest,
|
|
251
|
+
cb?: (error: string, rep: CreateCustomCategoryResponse) => void
|
|
252
|
+
): Promise<CreateCustomCategoryResponse> {
|
|
253
|
+
return this.request("CreateCustomCategory", req, cb)
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* 批量描述自定义人物
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
*/
|
|
261
|
+
async DescribeCustomPersons(
|
|
262
|
+
req: DescribeCustomPersonsRequest,
|
|
263
|
+
cb?: (error: string, rep: DescribeCustomPersonsResponse) => void
|
|
264
|
+
): Promise<DescribeCustomPersonsResponse> {
|
|
265
|
+
return this.request("DescribeCustomPersons", req, cb)
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* 删除自定义人物
|
|
270
|
+
*/
|
|
271
|
+
async DeleteCustomPerson(
|
|
272
|
+
req: DeleteCustomPersonRequest,
|
|
273
|
+
cb?: (error: string, rep: DeleteCustomPersonResponse) => void
|
|
274
|
+
): Promise<DeleteCustomPersonResponse> {
|
|
275
|
+
return this.request("DeleteCustomPerson", req, cb)
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* 描述媒资文件信息,包括媒资状态,分辨率,帧率等。
|
|
280
|
+
|
|
281
|
+
如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。
|
|
282
|
+
*/
|
|
283
|
+
async DescribeMedia(
|
|
284
|
+
req: DescribeMediaRequest,
|
|
285
|
+
cb?: (error: string, rep: DescribeMediaResponse) => void
|
|
286
|
+
): Promise<DescribeMediaResponse> {
|
|
287
|
+
return this.request("DescribeMedia", req, cb)
|
|
157
288
|
}
|
|
158
289
|
|
|
159
290
|
/**
|
|
@@ -167,4 +298,71 @@ export class Client extends AbstractClient {
|
|
|
167
298
|
): Promise<DeleteMediaResponse> {
|
|
168
299
|
return this.request("DeleteMedia", req, cb)
|
|
169
300
|
}
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* 依照输入条件,描述命中的任务信息,包括任务创建时间,处理时间信息等。
|
|
304
|
+
|
|
305
|
+
请注意,本接口最多支持同时描述**50**个任务信息
|
|
306
|
+
*/
|
|
307
|
+
async DescribeTasks(
|
|
308
|
+
req: DescribeTasksRequest,
|
|
309
|
+
cb?: (error: string, rep: DescribeTasksResponse) => void
|
|
310
|
+
): Promise<DescribeTasksResponse> {
|
|
311
|
+
return this.request("DescribeTasks", req, cb)
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* 创建自定义人物库
|
|
316
|
+
|
|
317
|
+
Bucket的格式参考为 `bucketName-123456.cos.ap-shanghai.myqcloud.com`
|
|
318
|
+
|
|
319
|
+
在调用CreateCustomPerson和AddCustomPersonImage接口之前,请先确保本接口成功调用。当前每个用户只支持一个自定义人物库,一旦自定义人物库创建成功,后续接口调用均会返回人物库已存在错误。
|
|
320
|
+
|
|
321
|
+
由于人脸图片对于自定义人物识别至关重要,因此自定义人物识别功能需要用户显式指定COS存储桶方可使用。具体来说,自定义人物识别功能接口(主要是CreateCustomPerson和AddCustomPersonImage)会在此COS桶下面新建IVLDCustomPersonImage目录,并在此目录下存储自定义人物图片数据以支持后续潜在的特征更新。
|
|
322
|
+
|
|
323
|
+
请注意:本接口指定的COS桶仅用于**备份存储自定义人物图片**,CreateCustomPerson和AddCustomPersonImage接口入参URL可使用任意COS存储桶下的任意图片。
|
|
324
|
+
|
|
325
|
+
**重要**:请务必确保本接口指定的COS存储桶存在(不要手动删除COS桶)。COS存储桶一旦指定,将不能修改。
|
|
326
|
+
|
|
327
|
+
*/
|
|
328
|
+
async CreateCustomGroup(
|
|
329
|
+
req: CreateCustomGroupRequest,
|
|
330
|
+
cb?: (error: string, rep: CreateCustomGroupResponse) => void
|
|
331
|
+
): Promise<CreateCustomGroupResponse> {
|
|
332
|
+
return this.request("CreateCustomGroup", req, cb)
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* 批量描述自定义人物分类信息
|
|
337
|
+
*/
|
|
338
|
+
async DescribeCustomCategories(
|
|
339
|
+
req?: DescribeCustomCategoriesRequest,
|
|
340
|
+
cb?: (error: string, rep: DescribeCustomCategoriesResponse) => void
|
|
341
|
+
): Promise<DescribeCustomCategoriesResponse> {
|
|
342
|
+
return this.request("DescribeCustomCategories", req, cb)
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* 描述自定义人物库信息,当前库大小(库中有多少人脸),以及库中的存储桶
|
|
347
|
+
*/
|
|
348
|
+
async DescribeCustomGroup(
|
|
349
|
+
req?: DescribeCustomGroupRequest,
|
|
350
|
+
cb?: (error: string, rep: DescribeCustomGroupResponse) => void
|
|
351
|
+
): Promise<DescribeCustomGroupResponse> {
|
|
352
|
+
return this.request("DescribeCustomGroup", req, cb)
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* 依照输入条件,描述命中的媒资文件信息,包括媒资状态,分辨率,帧率等。
|
|
357
|
+
|
|
358
|
+
请注意,本接口最多支持同时描述**50**个媒资文件
|
|
359
|
+
|
|
360
|
+
如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。
|
|
361
|
+
*/
|
|
362
|
+
async DescribeMedias(
|
|
363
|
+
req: DescribeMediasRequest,
|
|
364
|
+
cb?: (error: string, rep: DescribeMediasResponse) => void
|
|
365
|
+
): Promise<DescribeMediasResponse> {
|
|
366
|
+
return this.request("DescribeMedias", req, cb)
|
|
367
|
+
}
|
|
170
368
|
}
|