tencentcloud-sdk-nodejs 4.0.656 → 4.0.657
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 +294 -0
- package/SERVICE_CHANGELOG.md +528 -13
- package/package.json +1 -1
- package/products.md +17 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +1 -1
- package/src/services/bri/v20190328/bri_models.ts +4 -1
- package/src/services/cbs/v20170312/cbs_models.ts +4 -4
- package/src/services/cdb/v20170320/cdb_models.ts +11 -11
- package/src/services/cdn/v20180606/cdn_models.ts +5 -7
- package/src/services/clb/v20180317/clb_models.ts +4 -4
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iss/index.ts +5 -0
- package/src/services/iss/v20230517/index.ts +6 -0
- package/src/services/iss/v20230517/iss_client.ts +982 -0
- package/src/services/iss/v20230517/iss_models.ts +4337 -0
- package/src/services/postgres/v20170312/postgres_client.ts +58 -15
- package/src/services/postgres/v20170312/postgres_models.ts +169 -21
- package/src/services/scf/v20180416/scf_models.ts +8 -0
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +64 -64
- package/src/services/tag/v20180813/tag_models.ts +7 -7
- package/src/services/teo/v20220901/teo_models.ts +75 -64
- package/src/services/vod/v20180717/vod_models.ts +1 -1
- package/src/services/wedata/v20210820/wedata_client.ts +3 -1
- package/src/services/wedata/v20210820/wedata_models.ts +124 -13
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
- package/tencentcloud/services/bri/v20190328/bri_models.d.ts +4 -1
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -4
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +11 -11
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +5 -7
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iss/index.d.ts +6 -0
- package/tencentcloud/services/iss/index.js +7 -0
- package/tencentcloud/services/iss/v20230517/index.d.ts +6 -0
- package/tencentcloud/services/iss/v20230517/index.js +9 -0
- package/tencentcloud/services/iss/v20230517/iss_client.d.ts +313 -0
- package/tencentcloud/services/iss/v20230517/iss_client.js +484 -0
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +4123 -0
- package/tencentcloud/services/iss/v20230517/iss_models.js +18 -0
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +24 -5
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +31 -6
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +163 -21
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +8 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +64 -64
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +7 -7
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +75 -64
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +1 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +122 -13
- package/test/iss.v20230517.test.js +771 -0
- package/test/postgres.v20170312.test.js +34 -4
|
@@ -0,0 +1,4337 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* UpdateDeviceStatus请求参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateDeviceStatusRequest {
|
|
22
|
+
/**
|
|
23
|
+
* 设备 ID(从获取设备列表接口ListDevices中获取)
|
|
24
|
+
*/
|
|
25
|
+
DeviceId: string
|
|
26
|
+
/**
|
|
27
|
+
* 禁用启用状态码(2:启用,3:禁用)
|
|
28
|
+
*/
|
|
29
|
+
Status: number
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* ListDevices请求参数结构体
|
|
34
|
+
*/
|
|
35
|
+
export interface ListDevicesRequest {
|
|
36
|
+
/**
|
|
37
|
+
* 组织ID
|
|
38
|
+
*/
|
|
39
|
+
OrganizationId: string
|
|
40
|
+
/**
|
|
41
|
+
* 是否获取当前层级及子层级的设备列表,默认false
|
|
42
|
+
*/
|
|
43
|
+
IsContainSubLevel?: boolean
|
|
44
|
+
/**
|
|
45
|
+
* 设备接入协议。1:RTMP,2:GB,3:GW
|
|
46
|
+
*/
|
|
47
|
+
AccessProtocol?: number
|
|
48
|
+
/**
|
|
49
|
+
* 设备类型。1:IPC,2:NVR
|
|
50
|
+
*/
|
|
51
|
+
Type?: number
|
|
52
|
+
/**
|
|
53
|
+
* 设备状态。0:未注册,1:在线,2:离线,3:禁用
|
|
54
|
+
*/
|
|
55
|
+
Status?: number
|
|
56
|
+
/**
|
|
57
|
+
* 服务节点ID
|
|
58
|
+
*/
|
|
59
|
+
ClusterId?: string
|
|
60
|
+
/**
|
|
61
|
+
* 模糊搜索设备关键字
|
|
62
|
+
*/
|
|
63
|
+
Keyword?: string
|
|
64
|
+
/**
|
|
65
|
+
* 当前用户Uin
|
|
66
|
+
*/
|
|
67
|
+
CurrentUin?: number
|
|
68
|
+
/**
|
|
69
|
+
* 页码,默认为1。
|
|
70
|
+
*/
|
|
71
|
+
PageNumber?: number
|
|
72
|
+
/**
|
|
73
|
+
* 每页数量,默认为20。
|
|
74
|
+
*/
|
|
75
|
+
PageSize?: number
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* 打电话识别结果详情
|
|
80
|
+
*/
|
|
81
|
+
export interface PhoneCallAIResultInfo {
|
|
82
|
+
/**
|
|
83
|
+
* 时间字符串
|
|
84
|
+
*/
|
|
85
|
+
Time?: string
|
|
86
|
+
/**
|
|
87
|
+
* 截图 URL
|
|
88
|
+
*/
|
|
89
|
+
Url?: string
|
|
90
|
+
/**
|
|
91
|
+
* 打电话信息
|
|
92
|
+
*/
|
|
93
|
+
PhoneCallInfo?: Array<BaseAIResultInfo>
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* DeleteRecordBackupPlan返回参数结构体
|
|
98
|
+
*/
|
|
99
|
+
export interface DeleteRecordBackupPlanResponse {
|
|
100
|
+
/**
|
|
101
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
102
|
+
*/
|
|
103
|
+
RequestId?: string
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* ListOrganizationChannels请求参数结构体
|
|
108
|
+
*/
|
|
109
|
+
export interface ListOrganizationChannelsRequest {
|
|
110
|
+
/**
|
|
111
|
+
* 组织ID
|
|
112
|
+
*/
|
|
113
|
+
OrganizationId: string
|
|
114
|
+
/**
|
|
115
|
+
* 每页最大数量
|
|
116
|
+
*/
|
|
117
|
+
PageSize: number
|
|
118
|
+
/**
|
|
119
|
+
* 第几页
|
|
120
|
+
*/
|
|
121
|
+
PageNumber: number
|
|
122
|
+
/**
|
|
123
|
+
* 查询条件,则按照设备名称查询
|
|
124
|
+
查询条件同时只有一个生效。长度不超过32字节
|
|
125
|
+
*/
|
|
126
|
+
DeviceName?: string
|
|
127
|
+
/**
|
|
128
|
+
* 查询条件,则按照通道名称查询
|
|
129
|
+
查询条件同时只有一个生效。长度不超过32字节
|
|
130
|
+
*/
|
|
131
|
+
ChannelName?: string
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* 查询网关监控信息返回结果
|
|
136
|
+
*/
|
|
137
|
+
export interface DescribeGatewayMonitor {
|
|
138
|
+
/**
|
|
139
|
+
* 设备接入总数
|
|
140
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
141
|
+
*/
|
|
142
|
+
DeviceTotal?: number
|
|
143
|
+
/**
|
|
144
|
+
* 设备在线数
|
|
145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
146
|
+
*/
|
|
147
|
+
DeviceOnline?: number
|
|
148
|
+
/**
|
|
149
|
+
* 设备离线数
|
|
150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
151
|
+
*/
|
|
152
|
+
DeviceOffline?: number
|
|
153
|
+
/**
|
|
154
|
+
* 视频通道总数
|
|
155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
156
|
+
*/
|
|
157
|
+
ChannelTotal?: number
|
|
158
|
+
/**
|
|
159
|
+
* 视频通道在线数
|
|
160
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
161
|
+
*/
|
|
162
|
+
ChannelOnline?: number
|
|
163
|
+
/**
|
|
164
|
+
* 视频通道离线数
|
|
165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
166
|
+
*/
|
|
167
|
+
ChannelOffline?: number
|
|
168
|
+
/**
|
|
169
|
+
* 网关上行流量,单位kbps
|
|
170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
171
|
+
*/
|
|
172
|
+
UpFlow?: number
|
|
173
|
+
/**
|
|
174
|
+
* 流在传输中的通道数
|
|
175
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
176
|
+
*/
|
|
177
|
+
ChannelPull?: number
|
|
178
|
+
/**
|
|
179
|
+
* 流未传输中的通道数
|
|
180
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
181
|
+
*/
|
|
182
|
+
ChannelUnPull?: number
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* 新增录像上云计划返回数据
|
|
187
|
+
*/
|
|
188
|
+
export interface AddRecordBackupPlanResponse {
|
|
189
|
+
/**
|
|
190
|
+
* 录像上云计划ID
|
|
191
|
+
*/
|
|
192
|
+
PlanId?: string
|
|
193
|
+
/**
|
|
194
|
+
* 录像上云计划名称
|
|
195
|
+
*/
|
|
196
|
+
PlanName?: string
|
|
197
|
+
/**
|
|
198
|
+
* 录像上云模板ID
|
|
199
|
+
*/
|
|
200
|
+
TemplateId?: string
|
|
201
|
+
/**
|
|
202
|
+
* 录像上云计划描述
|
|
203
|
+
*/
|
|
204
|
+
Describe?: string
|
|
205
|
+
/**
|
|
206
|
+
* 云文件生命周期
|
|
207
|
+
*/
|
|
208
|
+
LifeCycle?: LifeCycleData
|
|
209
|
+
/**
|
|
210
|
+
* 录像上云计划状态,1:正常使用中,0:删除中,无法使用
|
|
211
|
+
*/
|
|
212
|
+
Status?: number
|
|
213
|
+
/**
|
|
214
|
+
* 通道数量
|
|
215
|
+
*/
|
|
216
|
+
ChannelCount?: number
|
|
217
|
+
/**
|
|
218
|
+
* 创建时间
|
|
219
|
+
*/
|
|
220
|
+
CreateAt?: string
|
|
221
|
+
/**
|
|
222
|
+
* 修改时间
|
|
223
|
+
*/
|
|
224
|
+
UpdateAt?: string
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* DescribeCNAME请求参数结构体
|
|
229
|
+
*/
|
|
230
|
+
export interface DescribeCNAMERequest {
|
|
231
|
+
/**
|
|
232
|
+
* 服务节点 ID(从查询域名可绑定服务节点接口DescribeDomainRegion中获取)
|
|
233
|
+
*/
|
|
234
|
+
ClusterId: string
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* ControlRecordTimeline请求参数结构体
|
|
239
|
+
*/
|
|
240
|
+
export interface ControlRecordTimelineRequest {
|
|
241
|
+
/**
|
|
242
|
+
* 通道 ID(从通道查询接口DescribeDeviceChannel中获取)
|
|
243
|
+
*/
|
|
244
|
+
ChannelId: string
|
|
245
|
+
/**
|
|
246
|
+
* 起始时间
|
|
247
|
+
*/
|
|
248
|
+
Start: number
|
|
249
|
+
/**
|
|
250
|
+
* 结束时间
|
|
251
|
+
*/
|
|
252
|
+
End: number
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* DeleteOrganization请求参数结构体
|
|
257
|
+
*/
|
|
258
|
+
export interface DeleteOrganizationRequest {
|
|
259
|
+
/**
|
|
260
|
+
* 组织ID(从查询组织接口DescribeOrganization中获取)
|
|
261
|
+
*/
|
|
262
|
+
OrganizationId: string
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* AI分析的时间段配置
|
|
267
|
+
*/
|
|
268
|
+
export interface OperTimeSlot {
|
|
269
|
+
/**
|
|
270
|
+
* 开始时间。格式为"hh:mm:ss",且 Start 必须小于 End
|
|
271
|
+
*/
|
|
272
|
+
Start: string
|
|
273
|
+
/**
|
|
274
|
+
* 结束时间。格式为"hh:mm:ss",且 Start 必须小于 End
|
|
275
|
+
*/
|
|
276
|
+
End: string
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* CheckDomain返回参数结构体
|
|
281
|
+
*/
|
|
282
|
+
export interface CheckDomainResponse {
|
|
283
|
+
/**
|
|
284
|
+
* 是否备案
|
|
285
|
+
*/
|
|
286
|
+
Data?: boolean
|
|
287
|
+
/**
|
|
288
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
289
|
+
*/
|
|
290
|
+
RequestId?: string
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* DescribeCNAME返回参数结构体
|
|
295
|
+
*/
|
|
296
|
+
export interface DescribeCNAMEResponse {
|
|
297
|
+
/**
|
|
298
|
+
* CNAME 记录值
|
|
299
|
+
*/
|
|
300
|
+
Data?: string
|
|
301
|
+
/**
|
|
302
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
303
|
+
*/
|
|
304
|
+
RequestId?: string
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* UpdateOrganization返回参数结构体
|
|
309
|
+
*/
|
|
310
|
+
export interface UpdateOrganizationResponse {
|
|
311
|
+
/**
|
|
312
|
+
* 返回结果
|
|
313
|
+
*/
|
|
314
|
+
Data?: UpdateOrgResponse
|
|
315
|
+
/**
|
|
316
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
317
|
+
*/
|
|
318
|
+
RequestId?: string
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* 增加组织接口返回数据
|
|
323
|
+
*/
|
|
324
|
+
export interface AddOrgResponse {
|
|
325
|
+
/**
|
|
326
|
+
* 组织 ID
|
|
327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
328
|
+
*/
|
|
329
|
+
OrganizationId?: string
|
|
330
|
+
/**
|
|
331
|
+
* 组织名称
|
|
332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
333
|
+
*/
|
|
334
|
+
Name?: string
|
|
335
|
+
/**
|
|
336
|
+
* 组织父节点 ID
|
|
337
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
338
|
+
*/
|
|
339
|
+
ParentId?: string
|
|
340
|
+
/**
|
|
341
|
+
* 组织层级
|
|
342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
343
|
+
*/
|
|
344
|
+
Level?: number
|
|
345
|
+
/**
|
|
346
|
+
* 用户ID
|
|
347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
348
|
+
*/
|
|
349
|
+
AppId?: number
|
|
350
|
+
/**
|
|
351
|
+
* 组织结构
|
|
352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
353
|
+
*/
|
|
354
|
+
ParentIds?: string
|
|
355
|
+
/**
|
|
356
|
+
* 设备总数
|
|
357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
358
|
+
*/
|
|
359
|
+
Total?: number
|
|
360
|
+
/**
|
|
361
|
+
* 设备在线数量
|
|
362
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
363
|
+
*/
|
|
364
|
+
Online?: number
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* ListAITasks返回参数结构体
|
|
369
|
+
*/
|
|
370
|
+
export interface ListAITasksResponse {
|
|
371
|
+
/**
|
|
372
|
+
* AI 任务数量
|
|
373
|
+
*/
|
|
374
|
+
TotalCount?: number
|
|
375
|
+
/**
|
|
376
|
+
* AI任务列表
|
|
377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
378
|
+
*/
|
|
379
|
+
Data?: ListAITaskData
|
|
380
|
+
/**
|
|
381
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
382
|
+
*/
|
|
383
|
+
RequestId?: string
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* AI分析配置
|
|
388
|
+
*/
|
|
389
|
+
export interface AIConfig {
|
|
390
|
+
/**
|
|
391
|
+
* AI 分析类型。可选值为 Facemask(口罩识别)、Chefhat(厨师帽识别)、Smoking(抽烟检测)、Chefcloth(厨师服识别)、PhoneCall(接打电话识别)、Pet(宠物识别)、Body(人体识别)和Car(车辆车牌识别)等
|
|
392
|
+
*/
|
|
393
|
+
DetectType: string
|
|
394
|
+
/**
|
|
395
|
+
* 截图频率。可选值1~20秒
|
|
396
|
+
*/
|
|
397
|
+
TimeInterval: number
|
|
398
|
+
/**
|
|
399
|
+
* 模板生效的时间段。最多包含5组时间段
|
|
400
|
+
*/
|
|
401
|
+
OperTimeSlot: Array<OperTimeSlot>
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* UpdateDeviceOrganization请求参数结构体
|
|
406
|
+
*/
|
|
407
|
+
export interface UpdateDeviceOrganizationRequest {
|
|
408
|
+
/**
|
|
409
|
+
* 设备 ID 数组(从获取设备列表接口ListDevices中获取)
|
|
410
|
+
*/
|
|
411
|
+
DeviceIds: Array<string>
|
|
412
|
+
/**
|
|
413
|
+
* 组织 ID(从查询组织接口DescribeOrganization中获取)
|
|
414
|
+
*/
|
|
415
|
+
OrganizationId: string
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* UpdateDeviceOrganization返回参数结构体
|
|
420
|
+
*/
|
|
421
|
+
export interface UpdateDeviceOrganizationResponse {
|
|
422
|
+
/**
|
|
423
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
424
|
+
*/
|
|
425
|
+
RequestId?: string
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* AddOrganization返回参数结构体
|
|
430
|
+
*/
|
|
431
|
+
export interface AddOrganizationResponse {
|
|
432
|
+
/**
|
|
433
|
+
* 增加组织接口返回数据
|
|
434
|
+
*/
|
|
435
|
+
Data?: AddOrgResponse
|
|
436
|
+
/**
|
|
437
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
438
|
+
*/
|
|
439
|
+
RequestId?: string
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* 实时上云模板信息数据
|
|
444
|
+
*/
|
|
445
|
+
export interface RecordTemplateInfo {
|
|
446
|
+
/**
|
|
447
|
+
* 模板ID
|
|
448
|
+
*/
|
|
449
|
+
TemplateId?: string
|
|
450
|
+
/**
|
|
451
|
+
* 模板名称
|
|
452
|
+
*/
|
|
453
|
+
TemplateName?: string
|
|
454
|
+
/**
|
|
455
|
+
* 上云时间段,按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟
|
|
456
|
+
*/
|
|
457
|
+
TimeSections?: Array<RecordTemplateTimeSections>
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* DescribeDeviceRegion返回参数结构体
|
|
462
|
+
*/
|
|
463
|
+
export interface DescribeDeviceRegionResponse {
|
|
464
|
+
/**
|
|
465
|
+
* 返回数据
|
|
466
|
+
*/
|
|
467
|
+
Data?: Array<DescribeDeviceRegion>
|
|
468
|
+
/**
|
|
469
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
470
|
+
*/
|
|
471
|
+
RequestId?: string
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* 查询域名详情数据
|
|
476
|
+
*/
|
|
477
|
+
export interface DescribeDomainResponse {
|
|
478
|
+
/**
|
|
479
|
+
* 域名ID
|
|
480
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
481
|
+
*/
|
|
482
|
+
Id?: string
|
|
483
|
+
/**
|
|
484
|
+
* 播放域名
|
|
485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
486
|
+
*/
|
|
487
|
+
PlayDomain?: string
|
|
488
|
+
/**
|
|
489
|
+
* CNAME 记录值
|
|
490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
491
|
+
*/
|
|
492
|
+
InternalDomain?: string
|
|
493
|
+
/**
|
|
494
|
+
* 是否上传证书(0:否,1:是)
|
|
495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
496
|
+
*/
|
|
497
|
+
HaveCert?: number
|
|
498
|
+
/**
|
|
499
|
+
* 服务节点 ID
|
|
500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
501
|
+
*/
|
|
502
|
+
ClusterId?: string
|
|
503
|
+
/**
|
|
504
|
+
* 服务节点名称
|
|
505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
506
|
+
*/
|
|
507
|
+
ClusterName?: string
|
|
508
|
+
/**
|
|
509
|
+
* 用户ID
|
|
510
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
511
|
+
*/
|
|
512
|
+
AppId?: number
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* DescribeRecordBackupTemplate请求参数结构体
|
|
517
|
+
*/
|
|
518
|
+
export interface DescribeRecordBackupTemplateRequest {
|
|
519
|
+
/**
|
|
520
|
+
* 模板ID(从查询录像上云模板列表接口ListRecordBackupTemplates中获取)
|
|
521
|
+
*/
|
|
522
|
+
TemplateId: string
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* 获取开流地址返回数据
|
|
527
|
+
*/
|
|
528
|
+
export interface ControlDeviceStreamResponse {
|
|
529
|
+
/**
|
|
530
|
+
* flv 流地址
|
|
531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
532
|
+
*/
|
|
533
|
+
Flv?: string
|
|
534
|
+
/**
|
|
535
|
+
* hls 流地址
|
|
536
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
537
|
+
*/
|
|
538
|
+
Hls?: string
|
|
539
|
+
/**
|
|
540
|
+
* rtmp 流地址
|
|
541
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
542
|
+
*/
|
|
543
|
+
Rtmp?: string
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* DeleteRecordRetrieveTask返回参数结构体
|
|
548
|
+
*/
|
|
549
|
+
export interface DeleteRecordRetrieveTaskResponse {
|
|
550
|
+
/**
|
|
551
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
552
|
+
*/
|
|
553
|
+
RequestId?: string
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* DescribeUserDevice返回参数结构体
|
|
558
|
+
*/
|
|
559
|
+
export interface DescribeUserDeviceResponse {
|
|
560
|
+
/**
|
|
561
|
+
* 返回结果
|
|
562
|
+
*/
|
|
563
|
+
Data?: DescribeDeviceResponse
|
|
564
|
+
/**
|
|
565
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
566
|
+
*/
|
|
567
|
+
RequestId?: string
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* DeleteRecordPlan返回参数结构体
|
|
572
|
+
*/
|
|
573
|
+
export interface DeleteRecordPlanResponse {
|
|
574
|
+
/**
|
|
575
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
576
|
+
*/
|
|
577
|
+
RequestId?: string
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* 查询组织数据返回结果
|
|
582
|
+
*/
|
|
583
|
+
export interface DescribeOrganizationResponse {
|
|
584
|
+
/**
|
|
585
|
+
* 组织 ID
|
|
586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
587
|
+
*/
|
|
588
|
+
OrganizationId?: string
|
|
589
|
+
/**
|
|
590
|
+
* 组织名称
|
|
591
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
592
|
+
*/
|
|
593
|
+
Name?: string
|
|
594
|
+
/**
|
|
595
|
+
* 组织父节点 ID
|
|
596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
597
|
+
*/
|
|
598
|
+
ParentId?: string
|
|
599
|
+
/**
|
|
600
|
+
* 组织层级
|
|
601
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
602
|
+
*/
|
|
603
|
+
Level?: number
|
|
604
|
+
/**
|
|
605
|
+
* 用户id
|
|
606
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
607
|
+
*/
|
|
608
|
+
AppId?: number
|
|
609
|
+
/**
|
|
610
|
+
* 组织结构
|
|
611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
612
|
+
*/
|
|
613
|
+
ParentIds?: string
|
|
614
|
+
/**
|
|
615
|
+
* 设备总数
|
|
616
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
617
|
+
*/
|
|
618
|
+
Total?: number
|
|
619
|
+
/**
|
|
620
|
+
* 设备在线数量
|
|
621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
622
|
+
*/
|
|
623
|
+
Online?: number
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* UpdateUserDevice请求参数结构体
|
|
628
|
+
*/
|
|
629
|
+
export interface UpdateUserDeviceRequest {
|
|
630
|
+
/**
|
|
631
|
+
* 设备ID(从获取设备列表接口ListDevices中获取)
|
|
632
|
+
*/
|
|
633
|
+
DeviceId: string
|
|
634
|
+
/**
|
|
635
|
+
* 设备名称(仅支持中文、英文、数字、_、-,长度不超过32个字符)
|
|
636
|
+
*/
|
|
637
|
+
Name?: string
|
|
638
|
+
/**
|
|
639
|
+
* 设备流传输协议,仅国标设备有效,填0则不做更改(1:UDP,2:TCP)
|
|
640
|
+
*/
|
|
641
|
+
TransportProtocol?: number
|
|
642
|
+
/**
|
|
643
|
+
* 设备密码(仅国标,网关设备支持)
|
|
644
|
+
*/
|
|
645
|
+
Password?: string
|
|
646
|
+
/**
|
|
647
|
+
* 设备描述(仅支持中文、英文、数字、_、-,长度不超过128位)
|
|
648
|
+
*/
|
|
649
|
+
Description?: string
|
|
650
|
+
/**
|
|
651
|
+
* 设备接入Ip(仅网关接入支持)
|
|
652
|
+
*/
|
|
653
|
+
Ip?: string
|
|
654
|
+
/**
|
|
655
|
+
* 设备Port(仅网关接入支持)
|
|
656
|
+
*/
|
|
657
|
+
Port?: number
|
|
658
|
+
/**
|
|
659
|
+
* 设备用户名(仅网关接入支持)
|
|
660
|
+
*/
|
|
661
|
+
Username?: string
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* 查询设备通道信息返回结果
|
|
666
|
+
*/
|
|
667
|
+
export interface DescribeDeviceChannelResponse {
|
|
668
|
+
/**
|
|
669
|
+
* 设备 ID
|
|
670
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
671
|
+
*/
|
|
672
|
+
DeviceId?: string
|
|
673
|
+
/**
|
|
674
|
+
* 通道 ID
|
|
675
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
676
|
+
*/
|
|
677
|
+
ChannelId?: string
|
|
678
|
+
/**
|
|
679
|
+
* 通道编码
|
|
680
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
681
|
+
*/
|
|
682
|
+
ChannelCode?: string
|
|
683
|
+
/**
|
|
684
|
+
* 通道名称
|
|
685
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
686
|
+
*/
|
|
687
|
+
Name?: string
|
|
688
|
+
/**
|
|
689
|
+
* 流状态(0:未传输,1:传输中)
|
|
690
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
691
|
+
*/
|
|
692
|
+
Status?: number
|
|
693
|
+
/**
|
|
694
|
+
* 是否可控 Ptz(0:不可控,1:可控)
|
|
695
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
696
|
+
*/
|
|
697
|
+
PTZType?: number
|
|
698
|
+
/**
|
|
699
|
+
* 通道厂商
|
|
700
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
701
|
+
*/
|
|
702
|
+
Manufacturer?: string
|
|
703
|
+
/**
|
|
704
|
+
* 通道支持分辨率(分辨率列表由‘/’隔开,国标协议样例(6/3),自定义样例(12800960/640480))
|
|
705
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
706
|
+
*/
|
|
707
|
+
Resolution?: string
|
|
708
|
+
/**
|
|
709
|
+
* 通道在离线状态(0:离线,1:在线)
|
|
710
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
711
|
+
*/
|
|
712
|
+
State?: number
|
|
713
|
+
/**
|
|
714
|
+
* 所在地域
|
|
715
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
716
|
+
*/
|
|
717
|
+
Region?: string
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* AddRecordBackupTemplate请求参数结构体
|
|
722
|
+
*/
|
|
723
|
+
export interface AddRecordBackupTemplateRequest {
|
|
724
|
+
/**
|
|
725
|
+
* 模板名称(仅支持中文、英文、数字、_、-,长度不超过32个字符,模板名称全局唯一,不能为空,不能重复)
|
|
726
|
+
*/
|
|
727
|
+
TemplateName: string
|
|
728
|
+
/**
|
|
729
|
+
* 上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
730
|
+
*/
|
|
731
|
+
TimeSections: Array<RecordTemplateTimeSections>
|
|
732
|
+
/**
|
|
733
|
+
* 录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
734
|
+
*/
|
|
735
|
+
DevTimeSections: Array<RecordTemplateTimeSections>
|
|
736
|
+
/**
|
|
737
|
+
* 上云倍速(支持1,2,4倍速)
|
|
738
|
+
*/
|
|
739
|
+
Scale: number
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* DeleteAITask请求参数结构体
|
|
744
|
+
*/
|
|
745
|
+
export interface DeleteAITaskRequest {
|
|
746
|
+
/**
|
|
747
|
+
* AI任务ID
|
|
748
|
+
*/
|
|
749
|
+
TaskId: string
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* 厨师帽识别结果详情
|
|
754
|
+
*/
|
|
755
|
+
export interface ChefHatAIResultInfo {
|
|
756
|
+
/**
|
|
757
|
+
* 时间字符串
|
|
758
|
+
*/
|
|
759
|
+
Time?: string
|
|
760
|
+
/**
|
|
761
|
+
* 截图 URL
|
|
762
|
+
*/
|
|
763
|
+
Url?: string
|
|
764
|
+
/**
|
|
765
|
+
* 厨师帽信息
|
|
766
|
+
*/
|
|
767
|
+
ChefHatInfo?: Array<BaseAIResultInfo>
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* 修改网关信息返回结果
|
|
772
|
+
*/
|
|
773
|
+
export interface UpdateGatewayResponse {
|
|
774
|
+
/**
|
|
775
|
+
* 网关索引ID
|
|
776
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
777
|
+
*/
|
|
778
|
+
GatewayId?: string
|
|
779
|
+
/**
|
|
780
|
+
* 网关编码
|
|
781
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
782
|
+
*/
|
|
783
|
+
GwId?: string
|
|
784
|
+
/**
|
|
785
|
+
* 网关名称,仅支持中文、英文、数字、_、-,长度不超过32个字符
|
|
786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
787
|
+
*/
|
|
788
|
+
Name?: string
|
|
789
|
+
/**
|
|
790
|
+
* 网关描述,仅支持中文、英文、数字、_、-,长度不超过128个字符
|
|
791
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
792
|
+
*/
|
|
793
|
+
Description?: string
|
|
794
|
+
/**
|
|
795
|
+
* 服务节点ID
|
|
796
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
797
|
+
*/
|
|
798
|
+
ClusterId?: string
|
|
799
|
+
/**
|
|
800
|
+
* 服务节点名称
|
|
801
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
802
|
+
*/
|
|
803
|
+
ClusterName?: string
|
|
804
|
+
/**
|
|
805
|
+
* 网关状态,0:离线,1:在线
|
|
806
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
807
|
+
*/
|
|
808
|
+
Status?: number
|
|
809
|
+
/**
|
|
810
|
+
* 激活时间
|
|
811
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
812
|
+
*/
|
|
813
|
+
CreatedAt?: number
|
|
814
|
+
/**
|
|
815
|
+
* 网关密钥
|
|
816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
817
|
+
*/
|
|
818
|
+
Secret?: string
|
|
819
|
+
/**
|
|
820
|
+
* 网关版本信息
|
|
821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
822
|
+
*/
|
|
823
|
+
Version?: string
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* DescribeRecordRetrieveTask请求参数结构体
|
|
828
|
+
*/
|
|
829
|
+
export interface DescribeRecordRetrieveTaskRequest {
|
|
830
|
+
/**
|
|
831
|
+
* 云录像取回任务ID
|
|
832
|
+
*/
|
|
833
|
+
TaskId: string
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* DescribeAITask请求参数结构体
|
|
838
|
+
*/
|
|
839
|
+
export interface DescribeAITaskRequest {
|
|
840
|
+
/**
|
|
841
|
+
* AI任务ID
|
|
842
|
+
*/
|
|
843
|
+
TaskId: string
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* RefreshDeviceChannel返回参数结构体
|
|
848
|
+
*/
|
|
849
|
+
export interface RefreshDeviceChannelResponse {
|
|
850
|
+
/**
|
|
851
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
852
|
+
*/
|
|
853
|
+
RequestId?: string
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* DeleteOrganization返回参数结构体
|
|
858
|
+
*/
|
|
859
|
+
export interface DeleteOrganizationResponse {
|
|
860
|
+
/**
|
|
861
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
862
|
+
*/
|
|
863
|
+
RequestId?: string
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* 宠物识别结果详情
|
|
868
|
+
*/
|
|
869
|
+
export interface PetAIResultInfo {
|
|
870
|
+
/**
|
|
871
|
+
* 时间字符串
|
|
872
|
+
*/
|
|
873
|
+
Time?: string
|
|
874
|
+
/**
|
|
875
|
+
* 截图 URL
|
|
876
|
+
*/
|
|
877
|
+
Url?: string
|
|
878
|
+
/**
|
|
879
|
+
* 宠物信息
|
|
880
|
+
*/
|
|
881
|
+
PetInfo?: Array<BaseAIResultInfo>
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* DescribeRecordTemplate请求参数结构体
|
|
886
|
+
*/
|
|
887
|
+
export interface DescribeRecordTemplateRequest {
|
|
888
|
+
/**
|
|
889
|
+
* 模板ID
|
|
890
|
+
*/
|
|
891
|
+
TemplateId: string
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* DeleteRecordTemplate请求参数结构体
|
|
896
|
+
*/
|
|
897
|
+
export interface DeleteRecordTemplateRequest {
|
|
898
|
+
/**
|
|
899
|
+
* 模板ID
|
|
900
|
+
*/
|
|
901
|
+
TemplateId: string
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* 查询网关信息返回结果
|
|
906
|
+
*/
|
|
907
|
+
export interface DescribeGatewayResponse {
|
|
908
|
+
/**
|
|
909
|
+
* 网关索引ID,用于网关查询,更新,删除操作
|
|
910
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
911
|
+
*/
|
|
912
|
+
GatewayId?: string
|
|
913
|
+
/**
|
|
914
|
+
* 网关编码,由网关设备生成的唯一编码
|
|
915
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
916
|
+
*/
|
|
917
|
+
GwId?: string
|
|
918
|
+
/**
|
|
919
|
+
* 网关名称,仅支持中文、英文、数字、_、-,长度不超过32个字符
|
|
920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
921
|
+
*/
|
|
922
|
+
Name?: string
|
|
923
|
+
/**
|
|
924
|
+
* 网关描述,仅支持中文、英文、数字、_、-,长度不超过128个字符
|
|
925
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
926
|
+
*/
|
|
927
|
+
Description?: string
|
|
928
|
+
/**
|
|
929
|
+
* 服务节点id
|
|
930
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
931
|
+
*/
|
|
932
|
+
ClusterId?: string
|
|
933
|
+
/**
|
|
934
|
+
* 服务节点名称
|
|
935
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
936
|
+
*/
|
|
937
|
+
ClusterName?: string
|
|
938
|
+
/**
|
|
939
|
+
* 网关状态,0:离线,1:在线
|
|
940
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
941
|
+
*/
|
|
942
|
+
Status?: number
|
|
943
|
+
/**
|
|
944
|
+
* 网关版本
|
|
945
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
946
|
+
*/
|
|
947
|
+
Version?: Array<GatewayVersion>
|
|
948
|
+
/**
|
|
949
|
+
* 网关下挂设备数量
|
|
950
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
951
|
+
*/
|
|
952
|
+
DeviceNum?: number
|
|
953
|
+
/**
|
|
954
|
+
* 激活时间
|
|
955
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
956
|
+
*/
|
|
957
|
+
CreatedAt?: string
|
|
958
|
+
/**
|
|
959
|
+
* 所属地域
|
|
960
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
961
|
+
*/
|
|
962
|
+
Region?: string
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* DescribeGateway请求参数结构体
|
|
967
|
+
*/
|
|
968
|
+
export interface DescribeGatewayRequest {
|
|
969
|
+
/**
|
|
970
|
+
* 网关索引ID(从获取网关列表接口ListGateways中获取)
|
|
971
|
+
*/
|
|
972
|
+
GatewayId: string
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* DeleteUserDevice请求参数结构体
|
|
977
|
+
*/
|
|
978
|
+
export interface DeleteUserDeviceRequest {
|
|
979
|
+
/**
|
|
980
|
+
* 设备ID(从获取设备列表ListDevices接口中获取)
|
|
981
|
+
*/
|
|
982
|
+
DeviceId: string
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* AddRecordPlan返回参数结构体
|
|
987
|
+
*/
|
|
988
|
+
export interface AddRecordPlanResponse {
|
|
989
|
+
/**
|
|
990
|
+
* 返回结果
|
|
991
|
+
*/
|
|
992
|
+
Data?: RecordPlanOptResponse
|
|
993
|
+
/**
|
|
994
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
995
|
+
*/
|
|
996
|
+
RequestId?: string
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* ListOrganizationChannelNumbers请求参数结构体
|
|
1001
|
+
*/
|
|
1002
|
+
export interface ListOrganizationChannelNumbersRequest {
|
|
1003
|
+
/**
|
|
1004
|
+
* 组织ID,json数组格式,最多一次支持10个组织
|
|
1005
|
+
*/
|
|
1006
|
+
OrganizationId: Array<string>
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* 网关详情版本信息
|
|
1011
|
+
*/
|
|
1012
|
+
export interface GatewayVersion {
|
|
1013
|
+
/**
|
|
1014
|
+
* 服务名称
|
|
1015
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1016
|
+
*/
|
|
1017
|
+
Name?: string
|
|
1018
|
+
/**
|
|
1019
|
+
* 服务版本
|
|
1020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1021
|
+
*/
|
|
1022
|
+
Version?: string
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* UpdateAITask请求参数结构体
|
|
1027
|
+
*/
|
|
1028
|
+
export interface UpdateAITaskRequest {
|
|
1029
|
+
/**
|
|
1030
|
+
* AI 任务 ID
|
|
1031
|
+
*/
|
|
1032
|
+
TaskId: string
|
|
1033
|
+
/**
|
|
1034
|
+
* AI 任务名称。仅支持中文、英文、数字、_、-,长度不超过32个字符
|
|
1035
|
+
*/
|
|
1036
|
+
Name?: string
|
|
1037
|
+
/**
|
|
1038
|
+
* AI 任务描述。仅支持中文、英文、数字、_、-,长度不超过128个字符
|
|
1039
|
+
*/
|
|
1040
|
+
Desc?: string
|
|
1041
|
+
/**
|
|
1042
|
+
* 通道 ID 列表。不能添加存在于其他 AI 任务的通道,限制1000个通道。
|
|
1043
|
+
*/
|
|
1044
|
+
ChannelList?: Array<string>
|
|
1045
|
+
/**
|
|
1046
|
+
* AI 结果回调地址。类似 "http://ip:port/xxx或者https://domain/xxx
|
|
1047
|
+
*/
|
|
1048
|
+
CallbackUrl?: string
|
|
1049
|
+
/**
|
|
1050
|
+
* 是否立即开启 AI 任务。"true"代表立即开启 AI 任务,"false"代表暂不开启 AI 任务,默认为 false。
|
|
1051
|
+
*/
|
|
1052
|
+
IsStartTheTask?: boolean
|
|
1053
|
+
/**
|
|
1054
|
+
* AI 配置列表
|
|
1055
|
+
*/
|
|
1056
|
+
Templates?: Array<AITemplates>
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* 口罩识别结果详情
|
|
1061
|
+
*/
|
|
1062
|
+
export interface FaceMaskAIResultInfo {
|
|
1063
|
+
/**
|
|
1064
|
+
* 时间字符串
|
|
1065
|
+
*/
|
|
1066
|
+
Time?: string
|
|
1067
|
+
/**
|
|
1068
|
+
* 截图 URL
|
|
1069
|
+
*/
|
|
1070
|
+
Url?: string
|
|
1071
|
+
/**
|
|
1072
|
+
* 口罩信息
|
|
1073
|
+
*/
|
|
1074
|
+
FaceMaskInfo?: Array<BaseAIResultInfo>
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* UpgradeGateway返回参数结构体
|
|
1079
|
+
*/
|
|
1080
|
+
export interface UpgradeGatewayResponse {
|
|
1081
|
+
/**
|
|
1082
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1083
|
+
*/
|
|
1084
|
+
RequestId?: string
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* 通用AI识别结果信息
|
|
1089
|
+
*/
|
|
1090
|
+
export interface BaseAIResultInfo {
|
|
1091
|
+
/**
|
|
1092
|
+
* 名称。返回值有人体识别结果名称(person)、宠物识别结果名称(cat和dog) 、车辆车牌识别结果名称(vehicle)
|
|
1093
|
+
*/
|
|
1094
|
+
Name?: string
|
|
1095
|
+
/**
|
|
1096
|
+
* 置信度
|
|
1097
|
+
*/
|
|
1098
|
+
Score?: number
|
|
1099
|
+
/**
|
|
1100
|
+
* 截图中坐标信息
|
|
1101
|
+
*/
|
|
1102
|
+
Location?: Location
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* DeleteDomain请求参数结构体
|
|
1107
|
+
*/
|
|
1108
|
+
export interface DeleteDomainRequest {
|
|
1109
|
+
/**
|
|
1110
|
+
* 域名 ID
|
|
1111
|
+
*/
|
|
1112
|
+
Id: string
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* ListRecordRetrieveTasks请求参数结构体
|
|
1117
|
+
*/
|
|
1118
|
+
export type ListRecordRetrieveTasksRequest = null
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* DeleteRecordPlan请求参数结构体
|
|
1122
|
+
*/
|
|
1123
|
+
export interface DeleteRecordPlanRequest {
|
|
1124
|
+
/**
|
|
1125
|
+
* 上云计划ID
|
|
1126
|
+
*/
|
|
1127
|
+
PlanId: string
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* AI分析结果详情
|
|
1132
|
+
*/
|
|
1133
|
+
export interface AITaskResultInfo {
|
|
1134
|
+
/**
|
|
1135
|
+
* 人体识别结果列表
|
|
1136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1137
|
+
*/
|
|
1138
|
+
Body?: Array<BodyAIResultInfo>
|
|
1139
|
+
/**
|
|
1140
|
+
* 宠物识别结果列表
|
|
1141
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1142
|
+
*/
|
|
1143
|
+
Pet?: Array<PetAIResultInfo>
|
|
1144
|
+
/**
|
|
1145
|
+
* 车辆车牌识别结果列表
|
|
1146
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1147
|
+
*/
|
|
1148
|
+
Car?: Array<CarAIResultInfo>
|
|
1149
|
+
/**
|
|
1150
|
+
* 厨师帽结果列表
|
|
1151
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1152
|
+
*/
|
|
1153
|
+
ChefHat?: Array<ChefHatAIResultInfo>
|
|
1154
|
+
/**
|
|
1155
|
+
* 厨师服结果列表
|
|
1156
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1157
|
+
*/
|
|
1158
|
+
ChefCloth?: Array<ChefClothAIResultInfo>
|
|
1159
|
+
/**
|
|
1160
|
+
* 口罩识别结果列表
|
|
1161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1162
|
+
*/
|
|
1163
|
+
FaceMask?: Array<FaceMaskAIResultInfo>
|
|
1164
|
+
/**
|
|
1165
|
+
* 抽烟检测结果列表
|
|
1166
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1167
|
+
*/
|
|
1168
|
+
Smoking?: Array<SmokingAIResultInfo>
|
|
1169
|
+
/**
|
|
1170
|
+
* 接打电话识别结果列表
|
|
1171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1172
|
+
*/
|
|
1173
|
+
PhoneCall?: Array<PhoneCallAIResultInfo>
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* AddRecordTemplate返回参数结构体
|
|
1178
|
+
*/
|
|
1179
|
+
export interface AddRecordTemplateResponse {
|
|
1180
|
+
/**
|
|
1181
|
+
* 返回结果
|
|
1182
|
+
*/
|
|
1183
|
+
Data?: RecordTemplateInfo
|
|
1184
|
+
/**
|
|
1185
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1186
|
+
*/
|
|
1187
|
+
RequestId?: string
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* ListRecordPlans请求参数结构体
|
|
1192
|
+
*/
|
|
1193
|
+
export type ListRecordPlansRequest = null
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* DescribeAITaskResult请求参数结构体
|
|
1197
|
+
*/
|
|
1198
|
+
export interface DescribeAITaskResultRequest {
|
|
1199
|
+
/**
|
|
1200
|
+
* AI 任务 ID
|
|
1201
|
+
*/
|
|
1202
|
+
TaskId: string
|
|
1203
|
+
/**
|
|
1204
|
+
* 通道ID
|
|
1205
|
+
*/
|
|
1206
|
+
ChannelId: string
|
|
1207
|
+
/**
|
|
1208
|
+
* 桶内文件的路径。
|
|
1209
|
+
*/
|
|
1210
|
+
Object?: string
|
|
1211
|
+
/**
|
|
1212
|
+
* AI 任务识别类型。可选值为 Facemask(口罩识别)、Chefhat(厨师帽识别)、Smoking(抽烟检测)、Chefcloth(厨师服识别)、PhoneCall(接打电话识别)、Pet(宠物识别)、Body(人体识别)和 Car(车辆车牌识别)
|
|
1213
|
+
*/
|
|
1214
|
+
DetectType?: string
|
|
1215
|
+
/**
|
|
1216
|
+
* 开始时间时间。秒级时间戳。开始时间和结束时间跨度小于等于30天
|
|
1217
|
+
*/
|
|
1218
|
+
BeginTime?: string
|
|
1219
|
+
/**
|
|
1220
|
+
* 结束时间时间。秒级时间戳。开始时间和结束时间跨度小于等于30天
|
|
1221
|
+
*/
|
|
1222
|
+
EndTime?: string
|
|
1223
|
+
/**
|
|
1224
|
+
* 页码。默认为1
|
|
1225
|
+
*/
|
|
1226
|
+
PageNumber?: number
|
|
1227
|
+
/**
|
|
1228
|
+
* 每页 AI 识别结果数量。可选值1~100,默认为10(按时间倒序显示识别结果)
|
|
1229
|
+
*/
|
|
1230
|
+
PageSize?: number
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* 截图配置
|
|
1235
|
+
*/
|
|
1236
|
+
export interface SnapshotConfig {
|
|
1237
|
+
/**
|
|
1238
|
+
* 截图频率。可选值1~20秒
|
|
1239
|
+
*/
|
|
1240
|
+
TimeInterval: number
|
|
1241
|
+
/**
|
|
1242
|
+
* 模板生效的时间段。最多包含5组时间段
|
|
1243
|
+
*/
|
|
1244
|
+
OperTimeSlot: Array<OperTimeSlot>
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* ListAITasks请求参数结构体
|
|
1249
|
+
*/
|
|
1250
|
+
export interface ListAITasksRequest {
|
|
1251
|
+
/**
|
|
1252
|
+
* 是否包含通道列表。"true"代表包含通道列表,"false"代表不包含通道列表,默认为 false
|
|
1253
|
+
*/
|
|
1254
|
+
IsContainChannelList?: boolean
|
|
1255
|
+
/**
|
|
1256
|
+
* 是否包含AI配置。"true"代表包含任务配置,"false"代表不包含任务配置,默认为 false。
|
|
1257
|
+
*/
|
|
1258
|
+
IsContainTemplate?: boolean
|
|
1259
|
+
/**
|
|
1260
|
+
* 页码。默认为1
|
|
1261
|
+
*/
|
|
1262
|
+
PageNumber?: number
|
|
1263
|
+
/**
|
|
1264
|
+
* 每页数量。可选值1~200,默认为20
|
|
1265
|
+
*/
|
|
1266
|
+
PageSize?: number
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* UpdateRecordPlan请求参数结构体
|
|
1271
|
+
*/
|
|
1272
|
+
export interface UpdateRecordPlanRequest {
|
|
1273
|
+
/**
|
|
1274
|
+
* 计划ID
|
|
1275
|
+
*/
|
|
1276
|
+
PlanId: string
|
|
1277
|
+
/**
|
|
1278
|
+
* 修改计划的内容
|
|
1279
|
+
*/
|
|
1280
|
+
Mod: UpdateRecordPlanData
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* AI识别结果在画面中坐标
|
|
1285
|
+
*/
|
|
1286
|
+
export interface Location {
|
|
1287
|
+
/**
|
|
1288
|
+
* 左上角 X 坐标轴
|
|
1289
|
+
*/
|
|
1290
|
+
X?: number
|
|
1291
|
+
/**
|
|
1292
|
+
* 左上角 Y 坐标轴
|
|
1293
|
+
*/
|
|
1294
|
+
Y?: number
|
|
1295
|
+
/**
|
|
1296
|
+
* 方框宽
|
|
1297
|
+
*/
|
|
1298
|
+
Width?: number
|
|
1299
|
+
/**
|
|
1300
|
+
* 方框高
|
|
1301
|
+
*/
|
|
1302
|
+
Height?: number
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* AI模板信息
|
|
1307
|
+
*/
|
|
1308
|
+
export interface AITemplates {
|
|
1309
|
+
/**
|
|
1310
|
+
* AI 类别。可选值 AI(AI 分析)和 Snapshot(截图),Templates 列表中只能出现一种类型。
|
|
1311
|
+
*/
|
|
1312
|
+
Tag: string
|
|
1313
|
+
/**
|
|
1314
|
+
* AI 分析配置。和"SnapshotConfig"二选一。
|
|
1315
|
+
*/
|
|
1316
|
+
AIConfig?: AIConfig
|
|
1317
|
+
/**
|
|
1318
|
+
* 截图配置。和"AIConfig"二选一。
|
|
1319
|
+
*/
|
|
1320
|
+
SnapshotConfig?: SnapshotConfig
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* DescribeOrganization请求参数结构体
|
|
1325
|
+
*/
|
|
1326
|
+
export type DescribeOrganizationRequest = null
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* UpdateAITaskStatus返回参数结构体
|
|
1330
|
+
*/
|
|
1331
|
+
export interface UpdateAITaskStatusResponse {
|
|
1332
|
+
/**
|
|
1333
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1334
|
+
*/
|
|
1335
|
+
RequestId?: string
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* ControlRecord返回参数结构体
|
|
1340
|
+
*/
|
|
1341
|
+
export interface ControlRecordResponse {
|
|
1342
|
+
/**
|
|
1343
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1344
|
+
*/
|
|
1345
|
+
RequestId?: string
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* AddRecordPlan请求参数结构体
|
|
1350
|
+
*/
|
|
1351
|
+
export interface AddRecordPlanRequest {
|
|
1352
|
+
/**
|
|
1353
|
+
* 实时上云计划名称,仅支持中文、英文、数字、_、-,长度不超过32个字符,计划名称全局唯一,不能为空,不能重复
|
|
1354
|
+
*/
|
|
1355
|
+
PlanName: string
|
|
1356
|
+
/**
|
|
1357
|
+
* 实时上云模板ID
|
|
1358
|
+
*/
|
|
1359
|
+
TemplateId: string
|
|
1360
|
+
/**
|
|
1361
|
+
* 生命周期
|
|
1362
|
+
*/
|
|
1363
|
+
LifeCycle: LifeCycleData
|
|
1364
|
+
/**
|
|
1365
|
+
* 上云计划描述,仅支持中文、英文、数字、_、-,长度不超过128个字符
|
|
1366
|
+
*/
|
|
1367
|
+
Describe?: string
|
|
1368
|
+
/**
|
|
1369
|
+
* 码流类型,default:不指定码流类型,以设备默认推送类型为主, main:主码流,sub:子码流,其他根据设备能力集自定义,不填按默认类型处理,长度不能超过32个字节
|
|
1370
|
+
*/
|
|
1371
|
+
StreamType?: string
|
|
1372
|
+
/**
|
|
1373
|
+
* 添加录像的设备的通道信息,一次添加通道总数不超过5000个,包括组织目录下的通道数量
|
|
1374
|
+
*/
|
|
1375
|
+
Channels?: Array<ChannelInfo>
|
|
1376
|
+
/**
|
|
1377
|
+
* 添加组织目录下所有设备通道,Json数组,可以为空,通道总数量不超过5000个(包括Channel字段的数量)
|
|
1378
|
+
*/
|
|
1379
|
+
OrganizationId?: Array<string>
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* ListRecordTemplates请求参数结构体
|
|
1384
|
+
*/
|
|
1385
|
+
export type ListRecordTemplatesRequest = null
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* 获取云录像下载URL返回的数据
|
|
1389
|
+
*/
|
|
1390
|
+
export interface DescribeVideoDownloadUrlResponse {
|
|
1391
|
+
/**
|
|
1392
|
+
* 录像文件下载 URL
|
|
1393
|
+
注意:
|
|
1394
|
+
URL 有效期是10分钟,过期后将拒绝访问,若需再用请重新获取
|
|
1395
|
+
录像文件下载采用分块传输编码,响应头Transfer-Encoding:chunked
|
|
1396
|
+
下载文件命名格式为{ChannelId}-{BeginTime}-{EndTime}.{FileType}
|
|
1397
|
+
*/
|
|
1398
|
+
Url?: string
|
|
1399
|
+
/**
|
|
1400
|
+
* 实际下载录像的开始时间
|
|
1401
|
+
注意:当请求中指定IsRespActualTime参数为true时,才有该字段
|
|
1402
|
+
*/
|
|
1403
|
+
ActualBeginTime?: string
|
|
1404
|
+
/**
|
|
1405
|
+
* 实际下载录像的结束时间
|
|
1406
|
+
注意:当请求中指定IsRespActualTime参数为true时,才有该字段
|
|
1407
|
+
*/
|
|
1408
|
+
ActualEndTime?: string
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* DescribeRecordPlan返回参数结构体
|
|
1413
|
+
*/
|
|
1414
|
+
export interface DescribeRecordPlanResponse {
|
|
1415
|
+
/**
|
|
1416
|
+
* 返回结果
|
|
1417
|
+
*/
|
|
1418
|
+
Data?: RecordPlanBaseInfo
|
|
1419
|
+
/**
|
|
1420
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1421
|
+
*/
|
|
1422
|
+
RequestId?: string
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* 修改组织接口返回数据
|
|
1427
|
+
*/
|
|
1428
|
+
export interface UpdateOrgResponse {
|
|
1429
|
+
/**
|
|
1430
|
+
* 组织 ID
|
|
1431
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1432
|
+
*/
|
|
1433
|
+
OrganizationId?: string
|
|
1434
|
+
/**
|
|
1435
|
+
* 组织名称
|
|
1436
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1437
|
+
*/
|
|
1438
|
+
Name?: string
|
|
1439
|
+
/**
|
|
1440
|
+
* 组织父节点 ID
|
|
1441
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1442
|
+
*/
|
|
1443
|
+
ParentId?: string
|
|
1444
|
+
/**
|
|
1445
|
+
* 组织层级
|
|
1446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1447
|
+
*/
|
|
1448
|
+
Level?: number
|
|
1449
|
+
/**
|
|
1450
|
+
* 用户ID
|
|
1451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1452
|
+
*/
|
|
1453
|
+
AppId?: number
|
|
1454
|
+
/**
|
|
1455
|
+
* 组织结构
|
|
1456
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1457
|
+
*/
|
|
1458
|
+
ParentIds?: string
|
|
1459
|
+
/**
|
|
1460
|
+
* 设备总数
|
|
1461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1462
|
+
*/
|
|
1463
|
+
Total?: number
|
|
1464
|
+
/**
|
|
1465
|
+
* 设备在线数量
|
|
1466
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1467
|
+
*/
|
|
1468
|
+
Online?: number
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* AddRecordRetrieveTask请求参数结构体
|
|
1473
|
+
*/
|
|
1474
|
+
export interface AddRecordRetrieveTaskRequest {
|
|
1475
|
+
/**
|
|
1476
|
+
* 任务名称,仅支持中文、英文、数字、_、-,长度不超过32个字符,模板名称全局唯一,不能为空,不能重复
|
|
1477
|
+
*/
|
|
1478
|
+
TaskName: string
|
|
1479
|
+
/**
|
|
1480
|
+
* 取回录像的开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天
|
|
1481
|
+
*/
|
|
1482
|
+
StartTime: number
|
|
1483
|
+
/**
|
|
1484
|
+
* 取回录像的结束时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天
|
|
1485
|
+
*/
|
|
1486
|
+
EndTime: number
|
|
1487
|
+
/**
|
|
1488
|
+
* 取回模式, 1:极速模式,其他暂不支持
|
|
1489
|
+
*/
|
|
1490
|
+
Mode: number
|
|
1491
|
+
/**
|
|
1492
|
+
* 取回录像副本有效期,最小为1天,最大为365天
|
|
1493
|
+
*/
|
|
1494
|
+
Expiration: number
|
|
1495
|
+
/**
|
|
1496
|
+
* 设备通道,一个任务最多32个设备通道
|
|
1497
|
+
*/
|
|
1498
|
+
Channels: Array<ChannelInfo>
|
|
1499
|
+
/**
|
|
1500
|
+
* 取回任务描述
|
|
1501
|
+
*/
|
|
1502
|
+
Describe?: string
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* DescribeRecordPlan请求参数结构体
|
|
1507
|
+
*/
|
|
1508
|
+
export interface DescribeRecordPlanRequest {
|
|
1509
|
+
/**
|
|
1510
|
+
* 实时上云计划ID
|
|
1511
|
+
*/
|
|
1512
|
+
PlanId: string
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* ControlDevicePreset返回参数结构体
|
|
1517
|
+
*/
|
|
1518
|
+
export interface ControlDevicePresetResponse {
|
|
1519
|
+
/**
|
|
1520
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1521
|
+
*/
|
|
1522
|
+
RequestId?: string
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* ListRecordBackupPlans返回参数结构体
|
|
1527
|
+
*/
|
|
1528
|
+
export interface ListRecordBackupPlansResponse {
|
|
1529
|
+
/**
|
|
1530
|
+
* 返回数据
|
|
1531
|
+
*/
|
|
1532
|
+
Data?: Array<ListRecordBackupPlanResponse>
|
|
1533
|
+
/**
|
|
1534
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1535
|
+
*/
|
|
1536
|
+
RequestId?: string
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* 组织目录下的通道信息
|
|
1541
|
+
*/
|
|
1542
|
+
export interface OrganizationChannelInfo {
|
|
1543
|
+
/**
|
|
1544
|
+
* 设备通道所属的设备ID
|
|
1545
|
+
*/
|
|
1546
|
+
DeviceId?: string
|
|
1547
|
+
/**
|
|
1548
|
+
* 设备通道所属的设备名称
|
|
1549
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1550
|
+
*/
|
|
1551
|
+
DeviceName?: string
|
|
1552
|
+
/**
|
|
1553
|
+
* 设备通道ID
|
|
1554
|
+
*/
|
|
1555
|
+
ChannelId?: string
|
|
1556
|
+
/**
|
|
1557
|
+
* 设备通道名称
|
|
1558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1559
|
+
*/
|
|
1560
|
+
ChannelName?: string
|
|
1561
|
+
/**
|
|
1562
|
+
* 该通道是否在上云计划中,如果是,则不能在添加到其他上云计划|true:在上云计划中,false:不在上云计划中
|
|
1563
|
+
*/
|
|
1564
|
+
InPlan?: boolean
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* 通道及通道所属设备信息
|
|
1569
|
+
*/
|
|
1570
|
+
export interface ChannelInfo {
|
|
1571
|
+
/**
|
|
1572
|
+
* 通道所属的设备ID
|
|
1573
|
+
*/
|
|
1574
|
+
DeviceId: string
|
|
1575
|
+
/**
|
|
1576
|
+
* 设备通道ID,一个设备通道只允许被一个上云计划添加
|
|
1577
|
+
*/
|
|
1578
|
+
ChannelId: string
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* 取回任务通道信息
|
|
1583
|
+
*/
|
|
1584
|
+
export interface RecordRetrieveTaskChannelInfo {
|
|
1585
|
+
/**
|
|
1586
|
+
* 设备通道所属的设备ID
|
|
1587
|
+
*/
|
|
1588
|
+
DeviceId?: string
|
|
1589
|
+
/**
|
|
1590
|
+
* 设备通道所属的设备名称
|
|
1591
|
+
*/
|
|
1592
|
+
DeviceName?: string
|
|
1593
|
+
/**
|
|
1594
|
+
* 设备通道ID
|
|
1595
|
+
*/
|
|
1596
|
+
ChannelId?: string
|
|
1597
|
+
/**
|
|
1598
|
+
* 设备通道名称
|
|
1599
|
+
*/
|
|
1600
|
+
ChannelName?: string
|
|
1601
|
+
/**
|
|
1602
|
+
* 任务状态,0:已取回,1:取回中,2:待取回, 3:无归档录像
|
|
1603
|
+
*/
|
|
1604
|
+
Status?: number
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* DescribeDomain请求参数结构体
|
|
1609
|
+
*/
|
|
1610
|
+
export type DescribeDomainRequest = null
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* 云录像回放url
|
|
1614
|
+
*/
|
|
1615
|
+
export interface RecordPlaybackUrl {
|
|
1616
|
+
/**
|
|
1617
|
+
* hls回放url
|
|
1618
|
+
*/
|
|
1619
|
+
Hls?: string
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* 设置推拉流鉴权返回数据结构
|
|
1624
|
+
*/
|
|
1625
|
+
export interface AddStreamAuthResponse {
|
|
1626
|
+
/**
|
|
1627
|
+
* 鉴权配置ID(uuid)
|
|
1628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1629
|
+
*/
|
|
1630
|
+
Id?: string
|
|
1631
|
+
/**
|
|
1632
|
+
* 是否开播放鉴权(1:开启,0:关闭)
|
|
1633
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1634
|
+
*/
|
|
1635
|
+
PullState?: number
|
|
1636
|
+
/**
|
|
1637
|
+
* 播放密钥(仅支持字母数字,长度0-10位)
|
|
1638
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1639
|
+
*/
|
|
1640
|
+
PullSecret?: string
|
|
1641
|
+
/**
|
|
1642
|
+
* 播放过期时间(单位:分钟)
|
|
1643
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1644
|
+
*/
|
|
1645
|
+
PullExpired?: number
|
|
1646
|
+
/**
|
|
1647
|
+
* 是否开启推流鉴权(1:开启,0:关闭)
|
|
1648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1649
|
+
*/
|
|
1650
|
+
PushState?: number
|
|
1651
|
+
/**
|
|
1652
|
+
* 推流密钥(仅支持字母数字,长度0-10位)
|
|
1653
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1654
|
+
*/
|
|
1655
|
+
PushSecret?: string
|
|
1656
|
+
/**
|
|
1657
|
+
* 推流过期时间(单位:分钟)
|
|
1658
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1659
|
+
*/
|
|
1660
|
+
PushExpired?: number
|
|
1661
|
+
/**
|
|
1662
|
+
* 用户ID
|
|
1663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1664
|
+
*/
|
|
1665
|
+
AppId?: number
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* ListDevices返回参数结构体
|
|
1670
|
+
*/
|
|
1671
|
+
export interface ListDevicesResponse {
|
|
1672
|
+
/**
|
|
1673
|
+
* 设备列表详情
|
|
1674
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1675
|
+
*/
|
|
1676
|
+
Data?: Array<ListDeviceInfo>
|
|
1677
|
+
/**
|
|
1678
|
+
* 设备总数
|
|
1679
|
+
*/
|
|
1680
|
+
TotalCount?: number
|
|
1681
|
+
/**
|
|
1682
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1683
|
+
*/
|
|
1684
|
+
RequestId?: string
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* DescribeGatewayMonitor请求参数结构体
|
|
1689
|
+
*/
|
|
1690
|
+
export interface DescribeGatewayMonitorRequest {
|
|
1691
|
+
/**
|
|
1692
|
+
* 网关索引ID(从获取网关列表接口ListGateways中获取)
|
|
1693
|
+
*/
|
|
1694
|
+
GatewayId: string
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* DeleteGateway请求参数结构体
|
|
1699
|
+
*/
|
|
1700
|
+
export interface DeleteGatewayRequest {
|
|
1701
|
+
/**
|
|
1702
|
+
* 网关索引ID(从获取网关列表接口ListGateways中获取)
|
|
1703
|
+
*/
|
|
1704
|
+
GatewayId: string
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* UpdateOrganization请求参数结构体
|
|
1709
|
+
*/
|
|
1710
|
+
export interface UpdateOrganizationRequest {
|
|
1711
|
+
/**
|
|
1712
|
+
* 组织ID(从查询组织接口DescribeOrganization中获取)
|
|
1713
|
+
*/
|
|
1714
|
+
OrganizationId: string
|
|
1715
|
+
/**
|
|
1716
|
+
* 组织名称
|
|
1717
|
+
*/
|
|
1718
|
+
Name: string
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* 获取设备列表的响应
|
|
1723
|
+
*/
|
|
1724
|
+
export interface ListDeviceInfo {
|
|
1725
|
+
/**
|
|
1726
|
+
* 设备 ID
|
|
1727
|
+
*/
|
|
1728
|
+
DeviceId?: string
|
|
1729
|
+
/**
|
|
1730
|
+
* 设备国标编码
|
|
1731
|
+
*/
|
|
1732
|
+
Code?: string
|
|
1733
|
+
/**
|
|
1734
|
+
* 设备状态。0:未注册,1:在线,2:离线,3:禁用
|
|
1735
|
+
*/
|
|
1736
|
+
Status?: number
|
|
1737
|
+
/**
|
|
1738
|
+
* 设备流传输协议。1:UDP,2:TCP
|
|
1739
|
+
*/
|
|
1740
|
+
TransportProtocol?: number
|
|
1741
|
+
/**
|
|
1742
|
+
* 设备名称
|
|
1743
|
+
*/
|
|
1744
|
+
Name?: string
|
|
1745
|
+
/**
|
|
1746
|
+
* 设备类型。1:IPC,2:NVR
|
|
1747
|
+
*/
|
|
1748
|
+
Type?: number
|
|
1749
|
+
/**
|
|
1750
|
+
* 设备密码
|
|
1751
|
+
*/
|
|
1752
|
+
Password?: string
|
|
1753
|
+
/**
|
|
1754
|
+
* 描述
|
|
1755
|
+
*/
|
|
1756
|
+
Description?: string
|
|
1757
|
+
/**
|
|
1758
|
+
* 设备接入服务节点 ID
|
|
1759
|
+
*/
|
|
1760
|
+
ClusterId?: string
|
|
1761
|
+
/**
|
|
1762
|
+
* 服务节点名称
|
|
1763
|
+
*/
|
|
1764
|
+
ClusterName?: string
|
|
1765
|
+
/**
|
|
1766
|
+
* 接入协议。1:RTMP,2:GB,3:GW
|
|
1767
|
+
*/
|
|
1768
|
+
AccessProtocol?: number
|
|
1769
|
+
/**
|
|
1770
|
+
* 设备所属组织 ID
|
|
1771
|
+
*/
|
|
1772
|
+
OrganizationId?: string
|
|
1773
|
+
/**
|
|
1774
|
+
* 通道数量
|
|
1775
|
+
*/
|
|
1776
|
+
ChannelNum?: number
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* 生命周期,云文件生命周期设置,管理文件冷、热存储的时间
|
|
1781
|
+
*/
|
|
1782
|
+
export interface LifeCycleData {
|
|
1783
|
+
/**
|
|
1784
|
+
* 云文件热存储时长,单位天,最小1天,最大3650天
|
|
1785
|
+
*/
|
|
1786
|
+
Transition: number
|
|
1787
|
+
/**
|
|
1788
|
+
* 云文件冷存储时长, 单位天,0表示不设置,设置时最小60天,Expiration字段加Transition字段不超过3650天
|
|
1789
|
+
*/
|
|
1790
|
+
Expiration: number
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* 组织目录下的未添加到实时上云计划中的通道数量返回数据
|
|
1795
|
+
*/
|
|
1796
|
+
export interface ListOrganizationChannelNumbersResponse {
|
|
1797
|
+
/**
|
|
1798
|
+
* 组织下通道总数
|
|
1799
|
+
*/
|
|
1800
|
+
TotalCount: number
|
|
1801
|
+
/**
|
|
1802
|
+
* 组织下未添加到计划的通道总数
|
|
1803
|
+
*/
|
|
1804
|
+
NotInPlanCount?: number
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* 查询录像上云模板列表返回数据
|
|
1809
|
+
*/
|
|
1810
|
+
export interface ListRecordBackupTemplatesResponse {
|
|
1811
|
+
/**
|
|
1812
|
+
* 模板ID
|
|
1813
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1814
|
+
*/
|
|
1815
|
+
TemplateId?: string
|
|
1816
|
+
/**
|
|
1817
|
+
* 模板名称
|
|
1818
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1819
|
+
*/
|
|
1820
|
+
TemplateName?: string
|
|
1821
|
+
/**
|
|
1822
|
+
* 上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
1823
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1824
|
+
*/
|
|
1825
|
+
TimeSections?: Array<RecordTemplateTimeSections>
|
|
1826
|
+
/**
|
|
1827
|
+
* 录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
1828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1829
|
+
*/
|
|
1830
|
+
DevTimeSections?: Array<RecordTemplateTimeSections>
|
|
1831
|
+
/**
|
|
1832
|
+
* 上云倍速(支持1,2,4倍速)
|
|
1833
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1834
|
+
*/
|
|
1835
|
+
Scale?: number
|
|
1836
|
+
/**
|
|
1837
|
+
* 创建时间
|
|
1838
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1839
|
+
*/
|
|
1840
|
+
CreateAt?: string
|
|
1841
|
+
/**
|
|
1842
|
+
* 更新时间
|
|
1843
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1844
|
+
*/
|
|
1845
|
+
UpdateAt?: string
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* 车辆车牌识别结果信息
|
|
1850
|
+
*/
|
|
1851
|
+
export interface CarAIResultInfo {
|
|
1852
|
+
/**
|
|
1853
|
+
* 车系
|
|
1854
|
+
*/
|
|
1855
|
+
Serial?: string
|
|
1856
|
+
/**
|
|
1857
|
+
* 车辆品牌
|
|
1858
|
+
*/
|
|
1859
|
+
Brand?: string
|
|
1860
|
+
/**
|
|
1861
|
+
* 车辆类型
|
|
1862
|
+
*/
|
|
1863
|
+
Type?: string
|
|
1864
|
+
/**
|
|
1865
|
+
* 车辆颜色
|
|
1866
|
+
*/
|
|
1867
|
+
Color?: string
|
|
1868
|
+
/**
|
|
1869
|
+
* 置信度,0 - 100
|
|
1870
|
+
*/
|
|
1871
|
+
Confidence?: number
|
|
1872
|
+
/**
|
|
1873
|
+
* 年份,识别不出年份时返回0
|
|
1874
|
+
*/
|
|
1875
|
+
Year?: number
|
|
1876
|
+
/**
|
|
1877
|
+
* 车牌信息
|
|
1878
|
+
*/
|
|
1879
|
+
PlateContent?: PlateContent
|
|
1880
|
+
/**
|
|
1881
|
+
* 截图中坐标信息
|
|
1882
|
+
*/
|
|
1883
|
+
Location?: Location
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* DescribeRecordPlaybackUrl请求参数结构体
|
|
1888
|
+
*/
|
|
1889
|
+
export interface DescribeRecordPlaybackUrlRequest {
|
|
1890
|
+
/**
|
|
1891
|
+
* 设备通道ID
|
|
1892
|
+
*/
|
|
1893
|
+
ChannelId: string
|
|
1894
|
+
/**
|
|
1895
|
+
* 回放开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天
|
|
1896
|
+
*/
|
|
1897
|
+
StartTime: number
|
|
1898
|
+
/**
|
|
1899
|
+
* 回放结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天
|
|
1900
|
+
*/
|
|
1901
|
+
EndTime: number
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* ListRecordPlans返回参数结构体
|
|
1906
|
+
*/
|
|
1907
|
+
export interface ListRecordPlansResponse {
|
|
1908
|
+
/**
|
|
1909
|
+
* 返回结果,存在计划时,为Json数组格式,不存在计划时,字段数据为空
|
|
1910
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1911
|
+
*/
|
|
1912
|
+
Data?: Array<RecordPlanBaseInfo>
|
|
1913
|
+
/**
|
|
1914
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1915
|
+
*/
|
|
1916
|
+
RequestId?: string
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
/**
|
|
1920
|
+
* DescribeRecordTemplate返回参数结构体
|
|
1921
|
+
*/
|
|
1922
|
+
export interface DescribeRecordTemplateResponse {
|
|
1923
|
+
/**
|
|
1924
|
+
* 返回结果
|
|
1925
|
+
*/
|
|
1926
|
+
Data?: RecordTemplateInfo
|
|
1927
|
+
/**
|
|
1928
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1929
|
+
*/
|
|
1930
|
+
RequestId?: string
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* DescribeAITaskResult返回参数结构体
|
|
1935
|
+
*/
|
|
1936
|
+
export interface DescribeAITaskResultResponse {
|
|
1937
|
+
/**
|
|
1938
|
+
* AI识别结果
|
|
1939
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1940
|
+
*/
|
|
1941
|
+
Data?: AITaskResultResponse
|
|
1942
|
+
/**
|
|
1943
|
+
* AI识别结果数量
|
|
1944
|
+
*/
|
|
1945
|
+
TotalCount?: number
|
|
1946
|
+
/**
|
|
1947
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1948
|
+
*/
|
|
1949
|
+
RequestId?: string
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* 查询设备预置位返回数据
|
|
1954
|
+
*/
|
|
1955
|
+
export interface DescribeDevicePresetResponse {
|
|
1956
|
+
/**
|
|
1957
|
+
* 预置位索引 只支持1-10的索引
|
|
1958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1959
|
+
*/
|
|
1960
|
+
Index?: number
|
|
1961
|
+
/**
|
|
1962
|
+
* 预置位名称
|
|
1963
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1964
|
+
*/
|
|
1965
|
+
Name?: string
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* 查询设备接口返回数据
|
|
1970
|
+
*/
|
|
1971
|
+
export interface DescribeDeviceResponse {
|
|
1972
|
+
/**
|
|
1973
|
+
* 设备ID
|
|
1974
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1975
|
+
*/
|
|
1976
|
+
DeviceId?: string
|
|
1977
|
+
/**
|
|
1978
|
+
* 设备编码(即我们为设备生成的20位国标编码)
|
|
1979
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1980
|
+
*/
|
|
1981
|
+
Code?: string
|
|
1982
|
+
/**
|
|
1983
|
+
* 设备名称
|
|
1984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1985
|
+
*/
|
|
1986
|
+
Name?: string
|
|
1987
|
+
/**
|
|
1988
|
+
* 设备接入协议,1:RTMP,2:GB,3:GW
|
|
1989
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1990
|
+
*/
|
|
1991
|
+
AccessProtocol?: number
|
|
1992
|
+
/**
|
|
1993
|
+
* 设备类型,1:IPC,2:NVR
|
|
1994
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1995
|
+
*/
|
|
1996
|
+
Type?: number
|
|
1997
|
+
/**
|
|
1998
|
+
* 设备接入服务节点id
|
|
1999
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2000
|
+
*/
|
|
2001
|
+
ClusterId?: string
|
|
2002
|
+
/**
|
|
2003
|
+
* 设备接入服务节点名称
|
|
2004
|
+
|
|
2005
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2006
|
+
*/
|
|
2007
|
+
ClusterName?: string
|
|
2008
|
+
/**
|
|
2009
|
+
* 设备流传输协议,1:UDP,2:TCP
|
|
2010
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2011
|
+
*/
|
|
2012
|
+
TransportProtocol?: number
|
|
2013
|
+
/**
|
|
2014
|
+
* 设备密码
|
|
2015
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2016
|
+
*/
|
|
2017
|
+
Password?: string
|
|
2018
|
+
/**
|
|
2019
|
+
* 设备描述
|
|
2020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2021
|
+
*/
|
|
2022
|
+
Description?: string
|
|
2023
|
+
/**
|
|
2024
|
+
* sip服务ID
|
|
2025
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2026
|
+
*/
|
|
2027
|
+
SipId?: string
|
|
2028
|
+
/**
|
|
2029
|
+
* sip服务域
|
|
2030
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2031
|
+
*/
|
|
2032
|
+
SipDomain?: string
|
|
2033
|
+
/**
|
|
2034
|
+
* sip服务IP地址
|
|
2035
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2036
|
+
*/
|
|
2037
|
+
SipIp?: string
|
|
2038
|
+
/**
|
|
2039
|
+
* sip服务端口
|
|
2040
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2041
|
+
*/
|
|
2042
|
+
SipPort?: number
|
|
2043
|
+
/**
|
|
2044
|
+
* Rtmp设备推流地址(仅rtmp设备有效)
|
|
2045
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2046
|
+
*/
|
|
2047
|
+
PushStreamUrl?: string
|
|
2048
|
+
/**
|
|
2049
|
+
* 设备状态,0:未注册,1:在线,2:离线,3:禁用
|
|
2050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2051
|
+
*/
|
|
2052
|
+
Status?: number
|
|
2053
|
+
/**
|
|
2054
|
+
* 设备所属组织ID
|
|
2055
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2056
|
+
*/
|
|
2057
|
+
OrganizationId?: string
|
|
2058
|
+
/**
|
|
2059
|
+
* 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要)
|
|
2060
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2061
|
+
*/
|
|
2062
|
+
GatewayId?: string
|
|
2063
|
+
/**
|
|
2064
|
+
* 设备所属网关名称
|
|
2065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2066
|
+
*/
|
|
2067
|
+
GatewayName?: string
|
|
2068
|
+
/**
|
|
2069
|
+
* 设备网关协议名称
|
|
2070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2071
|
+
*/
|
|
2072
|
+
ProtocolTypeName?: string
|
|
2073
|
+
/**
|
|
2074
|
+
* 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)
|
|
2075
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2076
|
+
*/
|
|
2077
|
+
ProtocolType?: number
|
|
2078
|
+
/**
|
|
2079
|
+
* 设备接入IP
|
|
2080
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2081
|
+
*/
|
|
2082
|
+
Ip?: string
|
|
2083
|
+
/**
|
|
2084
|
+
* 设备Port
|
|
2085
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2086
|
+
*/
|
|
2087
|
+
Port?: number
|
|
2088
|
+
/**
|
|
2089
|
+
* 设备用户名
|
|
2090
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2091
|
+
*/
|
|
2092
|
+
Username?: string
|
|
2093
|
+
/**
|
|
2094
|
+
* 设备地域
|
|
2095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2096
|
+
*/
|
|
2097
|
+
Region?: string
|
|
2098
|
+
/**
|
|
2099
|
+
* 设备厂商
|
|
2100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2101
|
+
*/
|
|
2102
|
+
Manufacturer?: string
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* UpdateRecordBackupPlan请求参数结构体
|
|
2107
|
+
*/
|
|
2108
|
+
export interface UpdateRecordBackupPlanRequest {
|
|
2109
|
+
/**
|
|
2110
|
+
* 计划ID
|
|
2111
|
+
*/
|
|
2112
|
+
PlanId: string
|
|
2113
|
+
/**
|
|
2114
|
+
* 修改的内容
|
|
2115
|
+
*/
|
|
2116
|
+
Mod: UpdateRecordBackupPlanModify
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* 云录像时间片段
|
|
2121
|
+
*/
|
|
2122
|
+
export interface RecordTimeLine {
|
|
2123
|
+
/**
|
|
2124
|
+
* 时间片段开始时间,UTC秒数,例如:1662114146
|
|
2125
|
+
*/
|
|
2126
|
+
Begin?: number
|
|
2127
|
+
/**
|
|
2128
|
+
* 时间片段结束时间,UTC秒数,例如:1662114146
|
|
2129
|
+
*/
|
|
2130
|
+
End?: number
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* ControlRecord请求参数结构体
|
|
2135
|
+
*/
|
|
2136
|
+
export interface ControlRecordRequest {
|
|
2137
|
+
/**
|
|
2138
|
+
* 通道ID(录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
|
|
2139
|
+
*/
|
|
2140
|
+
ChannelId: string
|
|
2141
|
+
/**
|
|
2142
|
+
* 录像会话 ID ( 录像播放地址格式 https://${domain}/live/${ChannelId}@${Session})
|
|
2143
|
+
*/
|
|
2144
|
+
Session: string
|
|
2145
|
+
/**
|
|
2146
|
+
* 录像操作类型 (play:播放;pause:暂停 ;stop:关闭)
|
|
2147
|
+
*/
|
|
2148
|
+
ControlAction: string
|
|
2149
|
+
/**
|
|
2150
|
+
* 跳转进度 ( 参数应大于等于0,跳转到录像开始时间的相对时间(单位秒),例如0就是跳转到录像开始的时间,不可以和 Scale 参数同时出现)
|
|
2151
|
+
*/
|
|
2152
|
+
Position?: number
|
|
2153
|
+
/**
|
|
2154
|
+
* 速度 ( 范围(0.25,0.5,1,2,4,8),不可以和 Pos 参数同时出现)
|
|
2155
|
+
*/
|
|
2156
|
+
Scale?: number
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
/**
|
|
2160
|
+
* ControlDevicePTZ返回参数结构体
|
|
2161
|
+
*/
|
|
2162
|
+
export interface ControlDevicePTZResponse {
|
|
2163
|
+
/**
|
|
2164
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2165
|
+
*/
|
|
2166
|
+
RequestId?: string
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* 修改实时上云模板的请求数据结构
|
|
2171
|
+
*/
|
|
2172
|
+
export interface UpdateRecordTemplateData {
|
|
2173
|
+
/**
|
|
2174
|
+
* 模板名称, 不修改名称时,不需要带该字段
|
|
2175
|
+
*/
|
|
2176
|
+
TemplateName?: string
|
|
2177
|
+
/**
|
|
2178
|
+
* 上云时间段,不修改名称时,不需要带该字段
|
|
2179
|
+
*/
|
|
2180
|
+
TimeSections?: Array<RecordTemplateTimeSections>
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
/**
|
|
2184
|
+
* AddUserDevice请求参数结构体
|
|
2185
|
+
*/
|
|
2186
|
+
export interface AddUserDeviceRequest {
|
|
2187
|
+
/**
|
|
2188
|
+
* 设备名称,仅支持中文、英文、数字、_、-,长度不超过32个字符;(设备名称无需全局唯一,可以重复)
|
|
2189
|
+
*/
|
|
2190
|
+
Name: string
|
|
2191
|
+
/**
|
|
2192
|
+
* 设备接入协议(1:RTMP,2:GB,3:GW)
|
|
2193
|
+
*/
|
|
2194
|
+
AccessProtocol: number
|
|
2195
|
+
/**
|
|
2196
|
+
* 设备类型,1:IPC,2:NVR;(若设备接入协议选择RTMP,则设备类型只能选择IPC)
|
|
2197
|
+
*/
|
|
2198
|
+
Type: number
|
|
2199
|
+
/**
|
|
2200
|
+
* 设备所属组织ID,从查询组织接口DescribeOrganization中获取
|
|
2201
|
+
*/
|
|
2202
|
+
OrganizationId: string
|
|
2203
|
+
/**
|
|
2204
|
+
* 设备接入服务节点ID(从查询设备可用服务节点接口DescribeDeviceRegion中获取的Value字段)
|
|
2205
|
+
*/
|
|
2206
|
+
ClusterId: string
|
|
2207
|
+
/**
|
|
2208
|
+
* 设备流传输协议,1:UDP,2:TCP;(国标设备有效,不填写则默认UDP协议)
|
|
2209
|
+
*/
|
|
2210
|
+
TransportProtocol?: number
|
|
2211
|
+
/**
|
|
2212
|
+
* 设备密码(国标,网关设备必填,仅支持数字组合,长度为1-64个字符)
|
|
2213
|
+
*/
|
|
2214
|
+
Password?: string
|
|
2215
|
+
/**
|
|
2216
|
+
* 设备描述,仅支持中文、英文、数字、_、-,长度不超过128个字符
|
|
2217
|
+
*/
|
|
2218
|
+
Description?: string
|
|
2219
|
+
/**
|
|
2220
|
+
* 设备接入网关ID,从查询网关列表接口中ListGateways获取(仅网关接入需要)
|
|
2221
|
+
*/
|
|
2222
|
+
GatewayId?: string
|
|
2223
|
+
/**
|
|
2224
|
+
* 网关接入协议类型(从查询网关接入协议接口DescribeGatewayProtocol中获取)1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)
|
|
2225
|
+
*/
|
|
2226
|
+
ProtocolType?: number
|
|
2227
|
+
/**
|
|
2228
|
+
* 设备接入IP(仅网关接入需要)
|
|
2229
|
+
*/
|
|
2230
|
+
Ip?: string
|
|
2231
|
+
/**
|
|
2232
|
+
* 设备端口(仅网关接入需要)
|
|
2233
|
+
*/
|
|
2234
|
+
Port?: number
|
|
2235
|
+
/**
|
|
2236
|
+
* 设备用户名(仅网关接入需要)
|
|
2237
|
+
*/
|
|
2238
|
+
Username?: string
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* 查询录像上云计划关联通道的返回数据
|
|
2243
|
+
*/
|
|
2244
|
+
export interface ListRecordBackupPlanDevicesResponse {
|
|
2245
|
+
/**
|
|
2246
|
+
* 第几页
|
|
2247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2248
|
+
*/
|
|
2249
|
+
PageNumber?: number
|
|
2250
|
+
/**
|
|
2251
|
+
* 当前页的设备数量
|
|
2252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2253
|
+
*/
|
|
2254
|
+
PageSize?: number
|
|
2255
|
+
/**
|
|
2256
|
+
* 本次查询的设备通道总数
|
|
2257
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2258
|
+
*/
|
|
2259
|
+
TotalCount?: number
|
|
2260
|
+
/**
|
|
2261
|
+
* 设备通道信息列表
|
|
2262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2263
|
+
*/
|
|
2264
|
+
List?: RecordPlanChannelInfo
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* ControlDevicePTZ请求参数结构体
|
|
2269
|
+
*/
|
|
2270
|
+
export interface ControlDevicePTZRequest {
|
|
2271
|
+
/**
|
|
2272
|
+
* 通道 ID(从通道查询接口DescribeDeviceChannel中获取)
|
|
2273
|
+
*/
|
|
2274
|
+
ChannelId: string
|
|
2275
|
+
/**
|
|
2276
|
+
* 命令类型(上:up,下:down,左:left,右:right
|
|
2277
|
+
上左:leftup,上右:rightup,下左:leftdown,下右:rightdown
|
|
2278
|
+
放大:zoomin,缩小:zoomout
|
|
2279
|
+
聚焦远:focusfar,聚焦近:focusnear
|
|
2280
|
+
光圈放大:irisin,光圈缩小:irisout)
|
|
2281
|
+
*/
|
|
2282
|
+
Type: string
|
|
2283
|
+
/**
|
|
2284
|
+
* 命令描述(速度值范围1-8)
|
|
2285
|
+
*/
|
|
2286
|
+
Speed: number
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* DescribeRecordBackupPlan请求参数结构体
|
|
2291
|
+
*/
|
|
2292
|
+
export interface DescribeRecordBackupPlanRequest {
|
|
2293
|
+
/**
|
|
2294
|
+
* 录像上云计划ID(从查询录像上云计划列表接口ListRecordBackupPlans中获取)
|
|
2295
|
+
*/
|
|
2296
|
+
PlanId: string
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* 查询录像上云计划返回数据
|
|
2301
|
+
*/
|
|
2302
|
+
export interface DescribeRecordBackupPlanResponse {
|
|
2303
|
+
/**
|
|
2304
|
+
* 录像上云计划ID
|
|
2305
|
+
*/
|
|
2306
|
+
PlanId?: string
|
|
2307
|
+
/**
|
|
2308
|
+
* 录像上云计划名称
|
|
2309
|
+
*/
|
|
2310
|
+
PlanName?: string
|
|
2311
|
+
/**
|
|
2312
|
+
* 录像上云模板ID
|
|
2313
|
+
*/
|
|
2314
|
+
TemplateId?: string
|
|
2315
|
+
/**
|
|
2316
|
+
* 录像上云计划描述
|
|
2317
|
+
*/
|
|
2318
|
+
Describe?: string
|
|
2319
|
+
/**
|
|
2320
|
+
* 云文件生命周期
|
|
2321
|
+
*/
|
|
2322
|
+
LifeCycle?: LifeCycleData
|
|
2323
|
+
/**
|
|
2324
|
+
* 录像上云计划状态,1:正常使用中,0:删除中,无法使用
|
|
2325
|
+
*/
|
|
2326
|
+
Status?: number
|
|
2327
|
+
/**
|
|
2328
|
+
* 通道数量
|
|
2329
|
+
*/
|
|
2330
|
+
ChannelCount?: number
|
|
2331
|
+
/**
|
|
2332
|
+
* 创建时间
|
|
2333
|
+
*/
|
|
2334
|
+
CreateAt?: string
|
|
2335
|
+
/**
|
|
2336
|
+
* 修改时间
|
|
2337
|
+
*/
|
|
2338
|
+
UpdateAt?: string
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* DescribeDeviceChannel请求参数结构体
|
|
2343
|
+
*/
|
|
2344
|
+
export interface DescribeDeviceChannelRequest {
|
|
2345
|
+
/**
|
|
2346
|
+
* 设备ID(从获取设备列表接口ListDevices中获取)
|
|
2347
|
+
*/
|
|
2348
|
+
DeviceId: string
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* UpdateUserDevice返回参数结构体
|
|
2353
|
+
*/
|
|
2354
|
+
export interface UpdateUserDeviceResponse {
|
|
2355
|
+
/**
|
|
2356
|
+
* 返回数据
|
|
2357
|
+
*/
|
|
2358
|
+
Data?: UpdateDeviceResponse
|
|
2359
|
+
/**
|
|
2360
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2361
|
+
*/
|
|
2362
|
+
RequestId?: string
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
/**
|
|
2366
|
+
* 查询网关列表返回结果
|
|
2367
|
+
*/
|
|
2368
|
+
export interface GatewaysData {
|
|
2369
|
+
/**
|
|
2370
|
+
* 网关索引ID
|
|
2371
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2372
|
+
*/
|
|
2373
|
+
GatewayId?: string
|
|
2374
|
+
/**
|
|
2375
|
+
* 网关编码
|
|
2376
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2377
|
+
*/
|
|
2378
|
+
GwId?: string
|
|
2379
|
+
/**
|
|
2380
|
+
* 网关名称,仅支持中文、英文、数字、_、-,长度不超过32个字符
|
|
2381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2382
|
+
*/
|
|
2383
|
+
Name?: string
|
|
2384
|
+
/**
|
|
2385
|
+
* 网关描述,仅支持中文、英文、数字、_、-,长度不超过128个字符
|
|
2386
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2387
|
+
*/
|
|
2388
|
+
Description?: string
|
|
2389
|
+
/**
|
|
2390
|
+
* 网关所属服务节点ID
|
|
2391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2392
|
+
*/
|
|
2393
|
+
ClusterId?: string
|
|
2394
|
+
/**
|
|
2395
|
+
* 网关所属服务节点名称
|
|
2396
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2397
|
+
*/
|
|
2398
|
+
ClusterName?: string
|
|
2399
|
+
/**
|
|
2400
|
+
* 网关所属地域
|
|
2401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2402
|
+
*/
|
|
2403
|
+
Region?: string
|
|
2404
|
+
/**
|
|
2405
|
+
* 网关状态,0:离线,1:在线
|
|
2406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2407
|
+
*/
|
|
2408
|
+
Status?: number
|
|
2409
|
+
/**
|
|
2410
|
+
* 网关激活时间
|
|
2411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2412
|
+
*/
|
|
2413
|
+
CreatedAt?: string
|
|
2414
|
+
/**
|
|
2415
|
+
* 所属网关设备数量
|
|
2416
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2417
|
+
*/
|
|
2418
|
+
DeviceNum?: number
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* 修改录像上云计划数据结构
|
|
2423
|
+
*/
|
|
2424
|
+
export interface UpdateRecordBackupPlanModify {
|
|
2425
|
+
/**
|
|
2426
|
+
* 录像计划名称(仅支持中文、英文、数字、_、-,长度不超过32个字符,计划名称全局唯一,不能为空,不能重复,不修改名称时,不需要该字段)
|
|
2427
|
+
*/
|
|
2428
|
+
PlanName?: string
|
|
2429
|
+
/**
|
|
2430
|
+
* 录制模板ID(从查询录像上云模板列表接口ListRecordBackupTemplates中获取,不修改模板ID时,不需要该字段)
|
|
2431
|
+
*/
|
|
2432
|
+
TemplateId?: string
|
|
2433
|
+
/**
|
|
2434
|
+
* 录像计划描述(仅支持中文、英文、数字、_、-,长度不超过128个字符, 不修改描述时,不需要该字段)
|
|
2435
|
+
*/
|
|
2436
|
+
Describe?: string
|
|
2437
|
+
/**
|
|
2438
|
+
* 生命周期(录像文件生命周期设置,管理文件冷、热存储的时间,不修改生命周期时,不需要该字段)
|
|
2439
|
+
*/
|
|
2440
|
+
LifeCycle?: LifeCycleData
|
|
2441
|
+
/**
|
|
2442
|
+
* 要新增的设备通道(Json数组,没有新增时,不需要该字段,一次添加通道总数不超过5000个,包括组织目录下的通道数量)
|
|
2443
|
+
*/
|
|
2444
|
+
Add?: string
|
|
2445
|
+
/**
|
|
2446
|
+
* 要删除的设备通道(Json数组,内容为要删除的设备通道id,没有删除设备通道时,不需要该字段)
|
|
2447
|
+
*/
|
|
2448
|
+
Del?: string
|
|
2449
|
+
/**
|
|
2450
|
+
* 添加组织目录下所有设备通道(Json数组,可以为空,并且通道总数量不超过5000个(包括Add字段通道数量))
|
|
2451
|
+
*/
|
|
2452
|
+
OrganizationId?: string
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* DescribeDevicePreset请求参数结构体
|
|
2457
|
+
*/
|
|
2458
|
+
export interface DescribeDevicePresetRequest {
|
|
2459
|
+
/**
|
|
2460
|
+
* 通道ID(从通道查询接口DescribeDeviceChannel中获取)
|
|
2461
|
+
*/
|
|
2462
|
+
ChannelId: string
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
/**
|
|
2466
|
+
* 查询网关列表返回结果
|
|
2467
|
+
*/
|
|
2468
|
+
export interface ListGatewaysResponse {
|
|
2469
|
+
/**
|
|
2470
|
+
* 网关列表
|
|
2471
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2472
|
+
*/
|
|
2473
|
+
List?: Array<GatewaysData>
|
|
2474
|
+
/**
|
|
2475
|
+
* 网关数量
|
|
2476
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2477
|
+
*/
|
|
2478
|
+
TotalCount?: number
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
* ListRecordPlanDevices请求参数结构体
|
|
2483
|
+
*/
|
|
2484
|
+
export interface ListRecordPlanDevicesRequest {
|
|
2485
|
+
/**
|
|
2486
|
+
* 上云计划ID
|
|
2487
|
+
*/
|
|
2488
|
+
PlanId: string
|
|
2489
|
+
/**
|
|
2490
|
+
* 每页最大数量
|
|
2491
|
+
*/
|
|
2492
|
+
PageSize: number
|
|
2493
|
+
/**
|
|
2494
|
+
* 第几页
|
|
2495
|
+
*/
|
|
2496
|
+
PageNumber: number
|
|
2497
|
+
/**
|
|
2498
|
+
* 按照设备名称查询,为空时,不参考该参数
|
|
2499
|
+
通道名称、设备名称、组织名称同时只有一个有效,如果同时多个字段有值,按照通道名称、设备名称、组织名称的优先级顺序查询,如果都为空,则全量查询。长度不超过32字节
|
|
2500
|
+
*/
|
|
2501
|
+
DeviceName?: string
|
|
2502
|
+
/**
|
|
2503
|
+
* 按照通道名称查询,为空时,不参考该参数
|
|
2504
|
+
通道名称、设备名称、组织名称同时只有一个有效,如果同时多个字段有值,按照通道名称、设备名称、组织名称的优先级顺序查询,如果都为空,则全量查询。长度不超过32字节
|
|
2505
|
+
*/
|
|
2506
|
+
ChannelName?: string
|
|
2507
|
+
/**
|
|
2508
|
+
* 按照组织名称查询|,为空时,不参考该参数
|
|
2509
|
+
通道名称、设备名称、组织名称同时只有一个有效,如果同时多个字段有值,按照通道名称、设备名称、组织名称的优先级顺序查询,如果都为空,则全量查询。长度不超过32字节
|
|
2510
|
+
*/
|
|
2511
|
+
OrganizationName?: string
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
* 查询网关所支持的接入协议
|
|
2516
|
+
*/
|
|
2517
|
+
export interface DescribeGatewayProtocolResponse {
|
|
2518
|
+
/**
|
|
2519
|
+
* 接入协议的字典码
|
|
2520
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2521
|
+
*/
|
|
2522
|
+
TypeCode?: string
|
|
2523
|
+
/**
|
|
2524
|
+
* 接入协议类型值
|
|
2525
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2526
|
+
*/
|
|
2527
|
+
Value?: number
|
|
2528
|
+
/**
|
|
2529
|
+
* 接入协议的类型描述
|
|
2530
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2531
|
+
*/
|
|
2532
|
+
Label?: string
|
|
2533
|
+
}
|
|
2534
|
+
|
|
2535
|
+
/**
|
|
2536
|
+
* 时间片段结构体
|
|
2537
|
+
*/
|
|
2538
|
+
export interface Timeline {
|
|
2539
|
+
/**
|
|
2540
|
+
* 分片起始时间
|
|
2541
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2542
|
+
*/
|
|
2543
|
+
Begin?: number
|
|
2544
|
+
/**
|
|
2545
|
+
* 分片结束时间
|
|
2546
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2547
|
+
*/
|
|
2548
|
+
End?: number
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* 获取AI任务列表的数据
|
|
2553
|
+
*/
|
|
2554
|
+
export interface ListAITaskData {
|
|
2555
|
+
/**
|
|
2556
|
+
* AI任务列表
|
|
2557
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2558
|
+
*/
|
|
2559
|
+
List?: Array<AITaskInfo>
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* DescribeDomainRegion请求参数结构体
|
|
2564
|
+
*/
|
|
2565
|
+
export type DescribeDomainRegionRequest = null
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* AddRecordTemplate请求参数结构体
|
|
2569
|
+
*/
|
|
2570
|
+
export interface AddRecordTemplateRequest {
|
|
2571
|
+
/**
|
|
2572
|
+
* 模板名称, 仅支持中文、英文、数字、_、-,长度不超过32个字符,模板名称全局唯一,不能为空,不能重复
|
|
2573
|
+
*/
|
|
2574
|
+
TemplateName: string
|
|
2575
|
+
/**
|
|
2576
|
+
* 上云时间段,按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟
|
|
2577
|
+
*/
|
|
2578
|
+
TimeSections: Array<RecordTemplateTimeSections>
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* DescribeGatewayProtocol请求参数结构体
|
|
2583
|
+
*/
|
|
2584
|
+
export type DescribeGatewayProtocolRequest = null
|
|
2585
|
+
|
|
2586
|
+
/**
|
|
2587
|
+
* AddAITask请求参数结构体
|
|
2588
|
+
*/
|
|
2589
|
+
export interface AddAITaskRequest {
|
|
2590
|
+
/**
|
|
2591
|
+
* AI 任务名称。仅支持中文、英文、数字、_、-,长度不超过32个字符
|
|
2592
|
+
*/
|
|
2593
|
+
Name: string
|
|
2594
|
+
/**
|
|
2595
|
+
* 通道 ID 列表。不能添加存在于其他 AI 任务的通道,限制1000个通道。
|
|
2596
|
+
*/
|
|
2597
|
+
ChannelList: Array<string>
|
|
2598
|
+
/**
|
|
2599
|
+
* AI 配置列表
|
|
2600
|
+
*/
|
|
2601
|
+
Templates: Array<AITemplates>
|
|
2602
|
+
/**
|
|
2603
|
+
* AI 任务描述。仅支持中文、英文、数字、_、-,长度不超过128个字符
|
|
2604
|
+
*/
|
|
2605
|
+
Desc?: string
|
|
2606
|
+
/**
|
|
2607
|
+
* AI 结果回调地址。类似 "http://ip:port/xxx或者https://domain/xxx
|
|
2608
|
+
*/
|
|
2609
|
+
CallbackUrl?: string
|
|
2610
|
+
/**
|
|
2611
|
+
* 是否立即开启 AI 任务。"true"代表立即开启 AI 任务,"false"代表暂不开启 AI 任务,默认为 false。
|
|
2612
|
+
*/
|
|
2613
|
+
IsStartTheTask?: boolean
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* DescribeVideoDownloadUrl请求参数结构体
|
|
2618
|
+
*/
|
|
2619
|
+
export interface DescribeVideoDownloadUrlRequest {
|
|
2620
|
+
/**
|
|
2621
|
+
* 通道 ID
|
|
2622
|
+
*/
|
|
2623
|
+
ChannelId: string
|
|
2624
|
+
/**
|
|
2625
|
+
* 下载的开始时间,UTC 秒数,开始和结束时间段最长为30分钟,且不能跨天
|
|
2626
|
+
*/
|
|
2627
|
+
BeginTime: string
|
|
2628
|
+
/**
|
|
2629
|
+
* 下载的结束时间,UTC 秒数,开始和结束时间段最长为30分钟,且不能跨天
|
|
2630
|
+
*/
|
|
2631
|
+
EndTime: string
|
|
2632
|
+
/**
|
|
2633
|
+
* 文件格式,"mp4":mp4格式,"ts":ts文件格式
|
|
2634
|
+
*/
|
|
2635
|
+
FileType: string
|
|
2636
|
+
/**
|
|
2637
|
+
* 响应data中是否携带实际下载录像的开始时间与结束时间
|
|
2638
|
+
*/
|
|
2639
|
+
IsRespActualTime?: boolean
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* 查询网关服务版本信息返回数据
|
|
2644
|
+
*/
|
|
2645
|
+
export interface DescribeGatewayVersionResponse {
|
|
2646
|
+
/**
|
|
2647
|
+
* 网关服务列表
|
|
2648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2649
|
+
*/
|
|
2650
|
+
Services?: Array<DescribeGatewayVersion>
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
/**
|
|
2654
|
+
* ListGateways请求参数结构体
|
|
2655
|
+
*/
|
|
2656
|
+
export interface ListGatewaysRequest {
|
|
2657
|
+
/**
|
|
2658
|
+
* 页码,默认为1
|
|
2659
|
+
*/
|
|
2660
|
+
PageNumber?: number
|
|
2661
|
+
/**
|
|
2662
|
+
* 每页数量,默认为20
|
|
2663
|
+
*/
|
|
2664
|
+
PageSize?: number
|
|
2665
|
+
/**
|
|
2666
|
+
* 网关名称
|
|
2667
|
+
*/
|
|
2668
|
+
Name?: string
|
|
2669
|
+
/**
|
|
2670
|
+
* 服务节点ID
|
|
2671
|
+
*/
|
|
2672
|
+
ClusterId?: string
|
|
2673
|
+
/**
|
|
2674
|
+
* 网关状态(0:离线,1 :在线)
|
|
2675
|
+
*/
|
|
2676
|
+
Status?: number
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* 实时上云计划基础信息
|
|
2681
|
+
*/
|
|
2682
|
+
export interface RecordPlanBaseInfo {
|
|
2683
|
+
/**
|
|
2684
|
+
* 上云计划ID
|
|
2685
|
+
*/
|
|
2686
|
+
PlanId?: string
|
|
2687
|
+
/**
|
|
2688
|
+
* 上云计划名称
|
|
2689
|
+
*/
|
|
2690
|
+
PlanName?: string
|
|
2691
|
+
/**
|
|
2692
|
+
* 上云模板ID
|
|
2693
|
+
*/
|
|
2694
|
+
TemplateId?: string
|
|
2695
|
+
/**
|
|
2696
|
+
* 上云计划描述
|
|
2697
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2698
|
+
*/
|
|
2699
|
+
Describe?: string
|
|
2700
|
+
/**
|
|
2701
|
+
* 码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义
|
|
2702
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2703
|
+
*/
|
|
2704
|
+
StreamType?: string
|
|
2705
|
+
/**
|
|
2706
|
+
* 云文件生命周期
|
|
2707
|
+
*/
|
|
2708
|
+
LifeCycle?: LifeCycleData
|
|
2709
|
+
/**
|
|
2710
|
+
* 录像计划状态,1:正常使用中,0:删除中,无法使用
|
|
2711
|
+
*/
|
|
2712
|
+
Status?: number
|
|
2713
|
+
/**
|
|
2714
|
+
* 通道总数
|
|
2715
|
+
*/
|
|
2716
|
+
ChannelCount?: number
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* DescribeGatewayVersion请求参数结构体
|
|
2721
|
+
*/
|
|
2722
|
+
export interface DescribeGatewayVersionRequest {
|
|
2723
|
+
/**
|
|
2724
|
+
* 网关索引ID(从获取网关列表接口ListGateways中获取)
|
|
2725
|
+
*/
|
|
2726
|
+
GatewayId: string
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* DescribeUserDevice请求参数结构体
|
|
2731
|
+
*/
|
|
2732
|
+
export interface DescribeUserDeviceRequest {
|
|
2733
|
+
/**
|
|
2734
|
+
* 设备ID(从获取设备列表接口ListDevices中获取)
|
|
2735
|
+
*/
|
|
2736
|
+
DeviceId: string
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* DescribeDeviceRegion请求参数结构体
|
|
2741
|
+
*/
|
|
2742
|
+
export type DescribeDeviceRegionRequest = null
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* RefreshDeviceChannel请求参数结构体
|
|
2746
|
+
*/
|
|
2747
|
+
export interface RefreshDeviceChannelRequest {
|
|
2748
|
+
/**
|
|
2749
|
+
* 设备 ID(从获取设备列表ListDevices接口中获取)
|
|
2750
|
+
*/
|
|
2751
|
+
DeviceId: string
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* 人体识别结果详情
|
|
2756
|
+
*/
|
|
2757
|
+
export interface BodyAIResultInfo {
|
|
2758
|
+
/**
|
|
2759
|
+
* 时间字符串
|
|
2760
|
+
*/
|
|
2761
|
+
Time?: string
|
|
2762
|
+
/**
|
|
2763
|
+
* 截图 URL
|
|
2764
|
+
*/
|
|
2765
|
+
Url?: string
|
|
2766
|
+
/**
|
|
2767
|
+
* 人体信息
|
|
2768
|
+
*/
|
|
2769
|
+
BodyInfo?: Array<BaseAIResultInfo>
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* DescribeRecordFile请求参数结构体
|
|
2774
|
+
*/
|
|
2775
|
+
export interface DescribeRecordFileRequest {
|
|
2776
|
+
/**
|
|
2777
|
+
* 通道所属设备ID
|
|
2778
|
+
*/
|
|
2779
|
+
DeviceId: string
|
|
2780
|
+
/**
|
|
2781
|
+
* 通道ID
|
|
2782
|
+
*/
|
|
2783
|
+
ChannelId: string
|
|
2784
|
+
/**
|
|
2785
|
+
* 检索开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天
|
|
2786
|
+
*/
|
|
2787
|
+
StartTime: number
|
|
2788
|
+
/**
|
|
2789
|
+
* 检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天
|
|
2790
|
+
*/
|
|
2791
|
+
EndTime: number
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
/**
|
|
2795
|
+
* AddStreamAuth请求参数结构体
|
|
2796
|
+
*/
|
|
2797
|
+
export interface AddStreamAuthRequest {
|
|
2798
|
+
/**
|
|
2799
|
+
* 鉴权配置ID(uuid)
|
|
2800
|
+
*/
|
|
2801
|
+
Id: string
|
|
2802
|
+
/**
|
|
2803
|
+
* 是否开播放鉴权(1:开启,0:关闭)
|
|
2804
|
+
*/
|
|
2805
|
+
PullState: number
|
|
2806
|
+
/**
|
|
2807
|
+
* 播放密钥(仅支持字母数字,长度0-10位)
|
|
2808
|
+
*/
|
|
2809
|
+
PullSecret: string
|
|
2810
|
+
/**
|
|
2811
|
+
* 播放过期时间(单位:分钟)
|
|
2812
|
+
*/
|
|
2813
|
+
PullExpired: number
|
|
2814
|
+
/**
|
|
2815
|
+
* 是否开启推流鉴权(1:开启,0:关闭)
|
|
2816
|
+
*/
|
|
2817
|
+
PushState: number
|
|
2818
|
+
/**
|
|
2819
|
+
* 推流密钥(仅支持字母数字,长度0-10位)
|
|
2820
|
+
*/
|
|
2821
|
+
PushSecret: string
|
|
2822
|
+
/**
|
|
2823
|
+
* 推流过期时间(单位:分钟)
|
|
2824
|
+
*/
|
|
2825
|
+
PushExpired: number
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* 上云模板的时间片段数据格式
|
|
2830
|
+
*/
|
|
2831
|
+
export interface RecordTemplateTimeSections {
|
|
2832
|
+
/**
|
|
2833
|
+
* 周日期,取值范围1~7(对应周一~周日
|
|
2834
|
+
*/
|
|
2835
|
+
DayOfWeek: number
|
|
2836
|
+
/**
|
|
2837
|
+
* 开始时间,格式:HH:MM:SS,范围:[00:00:00~23:59:59]
|
|
2838
|
+
*/
|
|
2839
|
+
StartTime: string
|
|
2840
|
+
/**
|
|
2841
|
+
* 结束时间,格式:HH:MM:SS,范围:[00:00:00~23:59:59]
|
|
2842
|
+
*/
|
|
2843
|
+
EndTime: string
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* PlayRecord请求参数结构体
|
|
2848
|
+
*/
|
|
2849
|
+
export interface PlayRecordRequest {
|
|
2850
|
+
/**
|
|
2851
|
+
* 通道 ID(从查询通道DescribeDeviceChannel接口中获取)
|
|
2852
|
+
*/
|
|
2853
|
+
ChannelId: string
|
|
2854
|
+
/**
|
|
2855
|
+
* 起始时间
|
|
2856
|
+
*/
|
|
2857
|
+
Start: number
|
|
2858
|
+
/**
|
|
2859
|
+
* 结束时间
|
|
2860
|
+
*/
|
|
2861
|
+
End: number
|
|
2862
|
+
/**
|
|
2863
|
+
* 流类型(1:主码流;2:子码流(不可以和 Resolution 同时下发))
|
|
2864
|
+
*/
|
|
2865
|
+
StreamType?: number
|
|
2866
|
+
/**
|
|
2867
|
+
* 分辨率(1:QCIF;2:CIF; 3:4CIF; 4:D1; 5:720P; 6:1080P/I; 自定义的19201080等等(需设备支持)(不可以和 StreamType 同时下发))
|
|
2868
|
+
*/
|
|
2869
|
+
Resolution?: string
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
/**
|
|
2873
|
+
* 修改录像上云模板数据结构
|
|
2874
|
+
*/
|
|
2875
|
+
export interface UpdateRecordBackupTemplateModify {
|
|
2876
|
+
/**
|
|
2877
|
+
* 模板名称(不修改名称时,不需要带该字段)
|
|
2878
|
+
*/
|
|
2879
|
+
TemplateName?: string
|
|
2880
|
+
/**
|
|
2881
|
+
* 上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
2882
|
+
*/
|
|
2883
|
+
TimeSections?: Array<RecordTemplateTimeSections>
|
|
2884
|
+
/**
|
|
2885
|
+
* 录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
2886
|
+
*/
|
|
2887
|
+
DevTimeSections?: Array<RecordTemplateTimeSections>
|
|
2888
|
+
/**
|
|
2889
|
+
* 上云倍速(支持1,2,4倍速)
|
|
2890
|
+
*/
|
|
2891
|
+
Scale?: number
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
/**
|
|
2895
|
+
* CheckDomain请求参数结构体
|
|
2896
|
+
*/
|
|
2897
|
+
export interface CheckDomainRequest {
|
|
2898
|
+
/**
|
|
2899
|
+
* 播放域名
|
|
2900
|
+
*/
|
|
2901
|
+
PlayDomain: string
|
|
2902
|
+
/**
|
|
2903
|
+
* CNAME 记录值
|
|
2904
|
+
*/
|
|
2905
|
+
InternalDomain: string
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
/**
|
|
2909
|
+
* AI车牌信息
|
|
2910
|
+
*/
|
|
2911
|
+
export interface PlateContent {
|
|
2912
|
+
/**
|
|
2913
|
+
* 车牌号信息
|
|
2914
|
+
*/
|
|
2915
|
+
Plate?: string
|
|
2916
|
+
/**
|
|
2917
|
+
* 车牌的颜色
|
|
2918
|
+
*/
|
|
2919
|
+
Color?: string
|
|
2920
|
+
/**
|
|
2921
|
+
* 车牌的种类,例如普通蓝牌
|
|
2922
|
+
*/
|
|
2923
|
+
Type?: string
|
|
2924
|
+
/**
|
|
2925
|
+
* 截图中坐标信息
|
|
2926
|
+
*/
|
|
2927
|
+
Location?: Location
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* UpgradeGateway请求参数结构体
|
|
2932
|
+
*/
|
|
2933
|
+
export interface UpgradeGatewayRequest {
|
|
2934
|
+
/**
|
|
2935
|
+
* 网关索引ID(从获取网关列表ListGateways接口中获取)
|
|
2936
|
+
*/
|
|
2937
|
+
GatewayId: string
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
/**
|
|
2941
|
+
* 用于查询设备云端录像时间轴信息返回数据
|
|
2942
|
+
*/
|
|
2943
|
+
export interface DescribeRecordFileResponse {
|
|
2944
|
+
/**
|
|
2945
|
+
* 提示类型,0:时间段内无归档录像,1:时间段内有归档录像
|
|
2946
|
+
*/
|
|
2947
|
+
Tips: number
|
|
2948
|
+
/**
|
|
2949
|
+
* 存在为数组格式,不存在字段内容为空
|
|
2950
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2951
|
+
*/
|
|
2952
|
+
List?: Array<RecordTimeLine>
|
|
2953
|
+
}
|
|
2954
|
+
|
|
2955
|
+
/**
|
|
2956
|
+
* ControlDevicePreset请求参数结构体
|
|
2957
|
+
*/
|
|
2958
|
+
export interface ControlDevicePresetRequest {
|
|
2959
|
+
/**
|
|
2960
|
+
* 通道 ID(从通道查询接口DescribeDeviceChannel中获取)
|
|
2961
|
+
*/
|
|
2962
|
+
ChannelId: string
|
|
2963
|
+
/**
|
|
2964
|
+
* 命令(goto:预置位调用;
|
|
2965
|
+
set:预置位设置;
|
|
2966
|
+
del:预置位删除)
|
|
2967
|
+
*/
|
|
2968
|
+
Cmd: string
|
|
2969
|
+
/**
|
|
2970
|
+
* 预置位索引(只支持1-10的索引位置,超出报错)
|
|
2971
|
+
*/
|
|
2972
|
+
Index: number
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
/**
|
|
2976
|
+
* ControlDeviceStream请求参数结构体
|
|
2977
|
+
*/
|
|
2978
|
+
export interface ControlDeviceStreamRequest {
|
|
2979
|
+
/**
|
|
2980
|
+
* 通道 ID(从通道查询接口DescribeDeviceChannel中获取)
|
|
2981
|
+
*/
|
|
2982
|
+
ChannelId: string
|
|
2983
|
+
/**
|
|
2984
|
+
* 流类型(1:主码流;
|
|
2985
|
+
2:子码流(不可以和 Resolution 同时下发))
|
|
2986
|
+
*/
|
|
2987
|
+
StreamType?: string
|
|
2988
|
+
/**
|
|
2989
|
+
* 分辨率(1:QCIF;
|
|
2990
|
+
2:CIF;
|
|
2991
|
+
3:4CIF;
|
|
2992
|
+
4:D1;
|
|
2993
|
+
5:720P;
|
|
2994
|
+
6:1080P/I;
|
|
2995
|
+
自定义的19201080等等(需设备支持)(不可以和 StreamType 同时下发))
|
|
2996
|
+
*/
|
|
2997
|
+
Resolution?: string
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* ListRecordRetrieveTasks返回参数结构体
|
|
3002
|
+
*/
|
|
3003
|
+
export interface ListRecordRetrieveTasksResponse {
|
|
3004
|
+
/**
|
|
3005
|
+
* 返回结果
|
|
3006
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3007
|
+
*/
|
|
3008
|
+
Data?: Array<RecordRetrieveTaskDetailsInfo>
|
|
3009
|
+
/**
|
|
3010
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3011
|
+
*/
|
|
3012
|
+
RequestId?: string
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
* ListRecordBackupPlanDevices请求参数结构体
|
|
3017
|
+
*/
|
|
3018
|
+
export interface ListRecordBackupPlanDevicesRequest {
|
|
3019
|
+
/**
|
|
3020
|
+
* 录像计划ID(从查询录像上云计划列表接口ListRecordBackupPlans中获取)
|
|
3021
|
+
*/
|
|
3022
|
+
PlanId: string
|
|
3023
|
+
/**
|
|
3024
|
+
* 按照设备名称查询(为空时,不参考该参数)
|
|
3025
|
+
*/
|
|
3026
|
+
DeviceName?: string
|
|
3027
|
+
/**
|
|
3028
|
+
* 按照通道名称查询(为空时,不参考该参数)
|
|
3029
|
+
*/
|
|
3030
|
+
ChannelName?: string
|
|
3031
|
+
/**
|
|
3032
|
+
* 按照组织名称查询(为空时,不参考该参数)
|
|
3033
|
+
*/
|
|
3034
|
+
OrganizationName?: string
|
|
3035
|
+
/**
|
|
3036
|
+
* 每页最大数量
|
|
3037
|
+
*/
|
|
3038
|
+
PageSize?: string
|
|
3039
|
+
/**
|
|
3040
|
+
* 第几页
|
|
3041
|
+
*/
|
|
3042
|
+
PageNumber?: string
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
/**
|
|
3046
|
+
* DeleteDomain返回参数结构体
|
|
3047
|
+
*/
|
|
3048
|
+
export interface DeleteDomainResponse {
|
|
3049
|
+
/**
|
|
3050
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3051
|
+
*/
|
|
3052
|
+
RequestId?: string
|
|
3053
|
+
}
|
|
3054
|
+
|
|
3055
|
+
/**
|
|
3056
|
+
* 查询取回任务详情返回数据
|
|
3057
|
+
*/
|
|
3058
|
+
export interface AddRecordRetrieveTaskResponse {
|
|
3059
|
+
/**
|
|
3060
|
+
* 任务ID
|
|
3061
|
+
*/
|
|
3062
|
+
TaskId?: string
|
|
3063
|
+
/**
|
|
3064
|
+
* 任务名称
|
|
3065
|
+
*/
|
|
3066
|
+
TaskName?: string
|
|
3067
|
+
/**
|
|
3068
|
+
* 取回录像的开始时间
|
|
3069
|
+
*/
|
|
3070
|
+
StartTime?: number
|
|
3071
|
+
/**
|
|
3072
|
+
* 取回录像的结束时间
|
|
3073
|
+
*/
|
|
3074
|
+
EndTime?: number
|
|
3075
|
+
/**
|
|
3076
|
+
* 取回模式,1:极速模式,其他暂不支持
|
|
3077
|
+
*/
|
|
3078
|
+
Mode?: number
|
|
3079
|
+
/**
|
|
3080
|
+
* 副本有效期
|
|
3081
|
+
*/
|
|
3082
|
+
Expiration?: number
|
|
3083
|
+
/**
|
|
3084
|
+
* 任务状态,0:已取回,1:取回中,2:待取回
|
|
3085
|
+
*/
|
|
3086
|
+
Status?: number
|
|
3087
|
+
/**
|
|
3088
|
+
* 取回容量,单位MB
|
|
3089
|
+
*/
|
|
3090
|
+
Capacity?: number
|
|
3091
|
+
/**
|
|
3092
|
+
* 任务描述
|
|
3093
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3094
|
+
*/
|
|
3095
|
+
Describe?: string
|
|
3096
|
+
}
|
|
3097
|
+
|
|
3098
|
+
/**
|
|
3099
|
+
* DeleteRecordTemplate返回参数结构体
|
|
3100
|
+
*/
|
|
3101
|
+
export interface DeleteRecordTemplateResponse {
|
|
3102
|
+
/**
|
|
3103
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3104
|
+
*/
|
|
3105
|
+
RequestId?: string
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* 云计划下的设备通道列表返回数据
|
|
3110
|
+
*/
|
|
3111
|
+
export interface ListRecordPlanDevicesResponse {
|
|
3112
|
+
/**
|
|
3113
|
+
* 第几页
|
|
3114
|
+
*/
|
|
3115
|
+
PageNumber?: number
|
|
3116
|
+
/**
|
|
3117
|
+
* 当前页的设备数量
|
|
3118
|
+
*/
|
|
3119
|
+
PageSize?: number
|
|
3120
|
+
/**
|
|
3121
|
+
* 本次查询的设备通道总数
|
|
3122
|
+
*/
|
|
3123
|
+
TotalCount?: number
|
|
3124
|
+
/**
|
|
3125
|
+
* 设备通道信息列表
|
|
3126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3127
|
+
*/
|
|
3128
|
+
List?: Array<RecordPlanChannelInfo>
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
/**
|
|
3132
|
+
* ListRecordTemplates返回参数结构体
|
|
3133
|
+
*/
|
|
3134
|
+
export interface ListRecordTemplatesResponse {
|
|
3135
|
+
/**
|
|
3136
|
+
* 返回结果,存在模板时,为Json数组格式,不存在模板时,字段数据为空
|
|
3137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3138
|
+
*/
|
|
3139
|
+
Data?: Array<RecordTemplateInfo>
|
|
3140
|
+
/**
|
|
3141
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3142
|
+
*/
|
|
3143
|
+
RequestId?: string
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* DescribeAITask返回参数结构体
|
|
3148
|
+
*/
|
|
3149
|
+
export interface DescribeAITaskResponse {
|
|
3150
|
+
/**
|
|
3151
|
+
* AI任务详情
|
|
3152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3153
|
+
*/
|
|
3154
|
+
Data?: AITaskInfo
|
|
3155
|
+
/**
|
|
3156
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3157
|
+
*/
|
|
3158
|
+
RequestId?: string
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* 修改录像上云模版返回数据
|
|
3163
|
+
*/
|
|
3164
|
+
export interface UpdateRecordBackupTemplateResponse {
|
|
3165
|
+
/**
|
|
3166
|
+
* 模板ID
|
|
3167
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3168
|
+
*/
|
|
3169
|
+
TemplateId?: string
|
|
3170
|
+
/**
|
|
3171
|
+
* 模板名称
|
|
3172
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3173
|
+
*/
|
|
3174
|
+
TemplateName?: string
|
|
3175
|
+
/**
|
|
3176
|
+
* 上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
3177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3178
|
+
*/
|
|
3179
|
+
TimeSections?: Array<RecordTemplateTimeSections>
|
|
3180
|
+
/**
|
|
3181
|
+
* 录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
3182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3183
|
+
*/
|
|
3184
|
+
DevTimeSections?: Array<RecordTemplateTimeSections>
|
|
3185
|
+
/**
|
|
3186
|
+
* 上云倍速(支持1,2,4倍速)
|
|
3187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3188
|
+
*/
|
|
3189
|
+
Scale?: number
|
|
3190
|
+
/**
|
|
3191
|
+
* 创建时间
|
|
3192
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3193
|
+
*/
|
|
3194
|
+
CreateAt?: string
|
|
3195
|
+
/**
|
|
3196
|
+
* 更新时间
|
|
3197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3198
|
+
*/
|
|
3199
|
+
UpdateAt?: string
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
/**
|
|
3203
|
+
* ControlRecordTimeline返回参数结构体
|
|
3204
|
+
*/
|
|
3205
|
+
export interface ControlRecordTimelineResponse {
|
|
3206
|
+
/**
|
|
3207
|
+
* 返回数据
|
|
3208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3209
|
+
*/
|
|
3210
|
+
Data?: Array<Timeline>
|
|
3211
|
+
/**
|
|
3212
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3213
|
+
*/
|
|
3214
|
+
RequestId?: string
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3217
|
+
/**
|
|
3218
|
+
* AI识别结果
|
|
3219
|
+
*/
|
|
3220
|
+
export interface AITaskResultResponse {
|
|
3221
|
+
/**
|
|
3222
|
+
* AI 任务 ID
|
|
3223
|
+
*/
|
|
3224
|
+
TaskId?: string
|
|
3225
|
+
/**
|
|
3226
|
+
* 在 BeginTime 和 EndTime 时间之内,有识别结果的 AI 调用次数(分页依据此数值)
|
|
3227
|
+
*/
|
|
3228
|
+
AIResultCount?: number
|
|
3229
|
+
/**
|
|
3230
|
+
* AI 任务执行结果详情
|
|
3231
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3232
|
+
*/
|
|
3233
|
+
AIResults?: AITaskResultInfo
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* DeleteRecordRetrieveTask请求参数结构体
|
|
3238
|
+
*/
|
|
3239
|
+
export interface DeleteRecordRetrieveTaskRequest {
|
|
3240
|
+
/**
|
|
3241
|
+
* 取回任务ID
|
|
3242
|
+
*/
|
|
3243
|
+
TaskId: string
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
/**
|
|
3247
|
+
* UpdateRecordPlan返回参数结构体
|
|
3248
|
+
*/
|
|
3249
|
+
export interface UpdateRecordPlanResponse {
|
|
3250
|
+
/**
|
|
3251
|
+
* 返回结果
|
|
3252
|
+
*/
|
|
3253
|
+
Data?: RecordPlanOptResponse
|
|
3254
|
+
/**
|
|
3255
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3256
|
+
*/
|
|
3257
|
+
RequestId?: string
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
/**
|
|
3261
|
+
* 查询网关服务版本信息返回数据
|
|
3262
|
+
*/
|
|
3263
|
+
export interface DescribeGatewayVersion {
|
|
3264
|
+
/**
|
|
3265
|
+
* 服务名
|
|
3266
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3267
|
+
*/
|
|
3268
|
+
Name?: string
|
|
3269
|
+
/**
|
|
3270
|
+
* 服务版本
|
|
3271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3272
|
+
*/
|
|
3273
|
+
Version?: string
|
|
3274
|
+
/**
|
|
3275
|
+
* 服务最新版本
|
|
3276
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3277
|
+
*/
|
|
3278
|
+
LatestVersion?: string
|
|
3279
|
+
/**
|
|
3280
|
+
* 是否需要更新
|
|
3281
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3282
|
+
*/
|
|
3283
|
+
IsUpdate?: boolean
|
|
3284
|
+
/**
|
|
3285
|
+
* 升级信息
|
|
3286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3287
|
+
*/
|
|
3288
|
+
UpgradeInfo?: Array<string>
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3291
|
+
/**
|
|
3292
|
+
* DeleteRecordBackupPlan请求参数结构体
|
|
3293
|
+
*/
|
|
3294
|
+
export interface DeleteRecordBackupPlanRequest {
|
|
3295
|
+
/**
|
|
3296
|
+
* 录像上云计划ID(从查询录像上云计划列表接口ListRecordBackupPlans中获取)
|
|
3297
|
+
*/
|
|
3298
|
+
PlanId: string
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
/**
|
|
3302
|
+
* ListRecordBackupTemplates请求参数结构体
|
|
3303
|
+
*/
|
|
3304
|
+
export type ListRecordBackupTemplatesRequest = null
|
|
3305
|
+
|
|
3306
|
+
/**
|
|
3307
|
+
* AddAITask返回参数结构体
|
|
3308
|
+
*/
|
|
3309
|
+
export interface AddAITaskResponse {
|
|
3310
|
+
/**
|
|
3311
|
+
* AI任务信息
|
|
3312
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3313
|
+
*/
|
|
3314
|
+
Data?: AITaskInfo
|
|
3315
|
+
/**
|
|
3316
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3317
|
+
*/
|
|
3318
|
+
RequestId?: string
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
/**
|
|
3322
|
+
* 查询设备可接入集群信息
|
|
3323
|
+
*/
|
|
3324
|
+
export interface DescribeDeviceRegion {
|
|
3325
|
+
/**
|
|
3326
|
+
* 服务节点描述
|
|
3327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3328
|
+
*/
|
|
3329
|
+
Label?: string
|
|
3330
|
+
/**
|
|
3331
|
+
* 服务节点 ID(对应为其他接口中所需的 ClusterId)
|
|
3332
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3333
|
+
*/
|
|
3334
|
+
Value?: string
|
|
3335
|
+
/**
|
|
3336
|
+
* 地域信息
|
|
3337
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3338
|
+
*/
|
|
3339
|
+
Region?: string
|
|
3340
|
+
}
|
|
3341
|
+
|
|
3342
|
+
/**
|
|
3343
|
+
* 计划下的设备通道信息
|
|
3344
|
+
*/
|
|
3345
|
+
export interface RecordPlanChannelInfo {
|
|
3346
|
+
/**
|
|
3347
|
+
* 设备通道所属的设备ID
|
|
3348
|
+
*/
|
|
3349
|
+
DeviceId?: string
|
|
3350
|
+
/**
|
|
3351
|
+
* 设备通道所属的设备名称
|
|
3352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3353
|
+
*/
|
|
3354
|
+
DeviceName?: string
|
|
3355
|
+
/**
|
|
3356
|
+
* 设备通道ID
|
|
3357
|
+
*/
|
|
3358
|
+
ChannelId?: string
|
|
3359
|
+
/**
|
|
3360
|
+
* 设备通道名称
|
|
3361
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3362
|
+
*/
|
|
3363
|
+
ChannelName?: string
|
|
3364
|
+
/**
|
|
3365
|
+
* 所属组织名称
|
|
3366
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3367
|
+
*/
|
|
3368
|
+
OrganizationName?: string
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
/**
|
|
3372
|
+
* UpdateRecordTemplate请求参数结构体
|
|
3373
|
+
*/
|
|
3374
|
+
export interface UpdateRecordTemplateRequest {
|
|
3375
|
+
/**
|
|
3376
|
+
* 模板ID
|
|
3377
|
+
*/
|
|
3378
|
+
TemplateId: string
|
|
3379
|
+
/**
|
|
3380
|
+
* 修改内容
|
|
3381
|
+
*/
|
|
3382
|
+
Mod: UpdateRecordTemplateData
|
|
3383
|
+
}
|
|
3384
|
+
|
|
3385
|
+
/**
|
|
3386
|
+
* DeleteRecordBackupTemplate请求参数结构体
|
|
3387
|
+
*/
|
|
3388
|
+
export interface DeleteRecordBackupTemplateRequest {
|
|
3389
|
+
/**
|
|
3390
|
+
* 模板ID(从查询录像上云模板列表接口ListRecordBackupTemplates中获取)
|
|
3391
|
+
*/
|
|
3392
|
+
TemplateId: string
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* 录像取回任务详情基础信息
|
|
3397
|
+
*/
|
|
3398
|
+
export interface RecordRetrieveTaskDetailsInfo {
|
|
3399
|
+
/**
|
|
3400
|
+
* 任务ID
|
|
3401
|
+
*/
|
|
3402
|
+
TaskId?: string
|
|
3403
|
+
/**
|
|
3404
|
+
* 任务名称
|
|
3405
|
+
*/
|
|
3406
|
+
TaskName?: string
|
|
3407
|
+
/**
|
|
3408
|
+
* 取回录像的开始时间
|
|
3409
|
+
*/
|
|
3410
|
+
StartTime?: number
|
|
3411
|
+
/**
|
|
3412
|
+
* 取回录像的结束时间
|
|
3413
|
+
*/
|
|
3414
|
+
EndTime?: number
|
|
3415
|
+
/**
|
|
3416
|
+
* 取回模式,1:极速模式,其他暂不支持
|
|
3417
|
+
*/
|
|
3418
|
+
Mode?: number
|
|
3419
|
+
/**
|
|
3420
|
+
* 副本有效期
|
|
3421
|
+
*/
|
|
3422
|
+
Expiration?: number
|
|
3423
|
+
/**
|
|
3424
|
+
* 任务状态, 0:已取回,1:取回中,2:待取回
|
|
3425
|
+
*/
|
|
3426
|
+
Status?: number
|
|
3427
|
+
/**
|
|
3428
|
+
* 取回容量,单位MB
|
|
3429
|
+
*/
|
|
3430
|
+
Capacity?: number
|
|
3431
|
+
/**
|
|
3432
|
+
* 任务描述
|
|
3433
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3434
|
+
*/
|
|
3435
|
+
Describe?: string
|
|
3436
|
+
/**
|
|
3437
|
+
* 任务通道数量
|
|
3438
|
+
*/
|
|
3439
|
+
ChannelCount?: number
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
/**
|
|
3443
|
+
* DeleteAITask返回参数结构体
|
|
3444
|
+
*/
|
|
3445
|
+
export interface DeleteAITaskResponse {
|
|
3446
|
+
/**
|
|
3447
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3448
|
+
*/
|
|
3449
|
+
RequestId?: string
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
* 修改实时上云录像计划的数据
|
|
3454
|
+
*/
|
|
3455
|
+
export interface UpdateRecordPlanData {
|
|
3456
|
+
/**
|
|
3457
|
+
* 上云计划名称,仅支持中文、英文、数字、_、-,长度不超过32个字符,计划名称全局唯一,不能为空,不能重复,不修改名称时,不需要该字段
|
|
3458
|
+
*/
|
|
3459
|
+
PlanName?: string
|
|
3460
|
+
/**
|
|
3461
|
+
* 上云模板ID,不修改模板ID时,不需要该字段
|
|
3462
|
+
*/
|
|
3463
|
+
TemplateId?: string
|
|
3464
|
+
/**
|
|
3465
|
+
* 上云计划描述,仅支持中文、英文、数字、_、-,长度不超过128个字符, 不修改描述时,不需要该字段
|
|
3466
|
+
*/
|
|
3467
|
+
Describe?: string
|
|
3468
|
+
/**
|
|
3469
|
+
* 码流类型,default:不指定码流类型,以设备默认推送类型为主, main:主码流,sub:子码流,其他根据设备能力集自定义,长度不能超过32个字节
|
|
3470
|
+
*/
|
|
3471
|
+
StreamType?: string
|
|
3472
|
+
/**
|
|
3473
|
+
* 生命周期,文件生命周期设置,管理文件冷、热存储的时间,不修改生命周期时,不需要该字段
|
|
3474
|
+
*/
|
|
3475
|
+
LifeCycle?: LifeCycleData
|
|
3476
|
+
/**
|
|
3477
|
+
* 要新增的设备通道,Json数组,没有新增时,不需要该字段,一次添加通道总数不超过5000个,包括组织目录下的通道数量
|
|
3478
|
+
*/
|
|
3479
|
+
Add?: Array<ChannelInfo>
|
|
3480
|
+
/**
|
|
3481
|
+
* 要删除的设备通道,Json数组,内容为要删除的设备通道id,没有删除设备通道时,不需要该字段
|
|
3482
|
+
*/
|
|
3483
|
+
Del?: Array<string>
|
|
3484
|
+
/**
|
|
3485
|
+
* 组织目录ID,添加组织目录下所有设备通道,Json数组,可以为空,并且通道总数量不超过5000个(包括Add字段通道数量)
|
|
3486
|
+
*/
|
|
3487
|
+
OrganizationId?: Array<string>
|
|
3488
|
+
}
|
|
3489
|
+
|
|
3490
|
+
/**
|
|
3491
|
+
* 修改设备接口返回数据
|
|
3492
|
+
*/
|
|
3493
|
+
export interface UpdateDeviceResponse {
|
|
3494
|
+
/**
|
|
3495
|
+
* 设备ID
|
|
3496
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3497
|
+
*/
|
|
3498
|
+
DeviceId?: string
|
|
3499
|
+
/**
|
|
3500
|
+
* 设备编码(即我们为设备生成的20位国标编码)
|
|
3501
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3502
|
+
*/
|
|
3503
|
+
Code?: string
|
|
3504
|
+
/**
|
|
3505
|
+
* 设备名称
|
|
3506
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3507
|
+
*/
|
|
3508
|
+
Name?: string
|
|
3509
|
+
/**
|
|
3510
|
+
* 设备接入协议,1:RTMP,2:GB,3:GW
|
|
3511
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3512
|
+
*/
|
|
3513
|
+
AccessProtocol?: number
|
|
3514
|
+
/**
|
|
3515
|
+
* 设备类型,1:IPC,2:NVR
|
|
3516
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3517
|
+
*/
|
|
3518
|
+
Type?: number
|
|
3519
|
+
/**
|
|
3520
|
+
* 设备接入服务节点ID
|
|
3521
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3522
|
+
*/
|
|
3523
|
+
ClusterId?: string
|
|
3524
|
+
/**
|
|
3525
|
+
* 设备接入服务节点名称
|
|
3526
|
+
|
|
3527
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3528
|
+
*/
|
|
3529
|
+
ClusterName?: string
|
|
3530
|
+
/**
|
|
3531
|
+
* 设备流传输协议,1:UDP,2:TCP
|
|
3532
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3533
|
+
*/
|
|
3534
|
+
TransportProtocol?: number
|
|
3535
|
+
/**
|
|
3536
|
+
* 设备密码
|
|
3537
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3538
|
+
*/
|
|
3539
|
+
Password?: string
|
|
3540
|
+
/**
|
|
3541
|
+
* 设备描述
|
|
3542
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3543
|
+
*/
|
|
3544
|
+
Description?: string
|
|
3545
|
+
/**
|
|
3546
|
+
* 设备状态,0:未注册,1:在线,2:离线,3:禁用
|
|
3547
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3548
|
+
*/
|
|
3549
|
+
Status?: number
|
|
3550
|
+
/**
|
|
3551
|
+
* 设备所属组织ID
|
|
3552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3553
|
+
*/
|
|
3554
|
+
OrganizationId?: number
|
|
3555
|
+
/**
|
|
3556
|
+
* 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要)
|
|
3557
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3558
|
+
*/
|
|
3559
|
+
GatewayId?: string
|
|
3560
|
+
/**
|
|
3561
|
+
* 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)
|
|
3562
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3563
|
+
*/
|
|
3564
|
+
ProtocolType?: number
|
|
3565
|
+
/**
|
|
3566
|
+
* 设备接入IP
|
|
3567
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3568
|
+
*/
|
|
3569
|
+
Ip?: string
|
|
3570
|
+
/**
|
|
3571
|
+
* 设备Port
|
|
3572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3573
|
+
*/
|
|
3574
|
+
Port?: number
|
|
3575
|
+
/**
|
|
3576
|
+
* 设备用户名
|
|
3577
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3578
|
+
*/
|
|
3579
|
+
Username?: string
|
|
3580
|
+
/**
|
|
3581
|
+
* 用户Id
|
|
3582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3583
|
+
*/
|
|
3584
|
+
AppId?: number
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
/**
|
|
3588
|
+
* 新增录像上云模版返回数据
|
|
3589
|
+
*/
|
|
3590
|
+
export interface AddRecordBackupTemplateResponse {
|
|
3591
|
+
/**
|
|
3592
|
+
* 模板ID
|
|
3593
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3594
|
+
*/
|
|
3595
|
+
TemplateId?: string
|
|
3596
|
+
/**
|
|
3597
|
+
* 模板名称
|
|
3598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3599
|
+
*/
|
|
3600
|
+
TemplateName?: string
|
|
3601
|
+
/**
|
|
3602
|
+
* 上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
3603
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3604
|
+
*/
|
|
3605
|
+
TimeSections?: Array<RecordTemplateTimeSections>
|
|
3606
|
+
/**
|
|
3607
|
+
* 录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
3608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3609
|
+
*/
|
|
3610
|
+
DevTimeSections?: Array<RecordTemplateTimeSections>
|
|
3611
|
+
/**
|
|
3612
|
+
* 上云倍速(支持1,2,4倍速)
|
|
3613
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3614
|
+
*/
|
|
3615
|
+
Scale?: number
|
|
3616
|
+
/**
|
|
3617
|
+
* 创建时间
|
|
3618
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3619
|
+
*/
|
|
3620
|
+
CreateAt?: string
|
|
3621
|
+
/**
|
|
3622
|
+
* 更新时间
|
|
3623
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3624
|
+
*/
|
|
3625
|
+
UpdateAt?: string
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
/**
|
|
3629
|
+
* 本地录像播放url数据结构
|
|
3630
|
+
*/
|
|
3631
|
+
export interface PlayRecordResponse {
|
|
3632
|
+
/**
|
|
3633
|
+
* 录像播放地址
|
|
3634
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3635
|
+
*/
|
|
3636
|
+
Flv?: string
|
|
3637
|
+
}
|
|
3638
|
+
|
|
3639
|
+
/**
|
|
3640
|
+
* DescribeGatewayMonitor返回参数结构体
|
|
3641
|
+
*/
|
|
3642
|
+
export interface DescribeGatewayMonitorResponse {
|
|
3643
|
+
/**
|
|
3644
|
+
* 返回数据
|
|
3645
|
+
*/
|
|
3646
|
+
Data?: DescribeGatewayMonitor
|
|
3647
|
+
/**
|
|
3648
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3649
|
+
*/
|
|
3650
|
+
RequestId?: string
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* 查询录像上云模版返回数据
|
|
3655
|
+
*/
|
|
3656
|
+
export interface DescribeRecordBackupTemplateResponse {
|
|
3657
|
+
/**
|
|
3658
|
+
* 模板ID
|
|
3659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3660
|
+
*/
|
|
3661
|
+
TemplateId?: string
|
|
3662
|
+
/**
|
|
3663
|
+
* 模板名称
|
|
3664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3665
|
+
*/
|
|
3666
|
+
TemplateName?: string
|
|
3667
|
+
/**
|
|
3668
|
+
* 上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
3669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3670
|
+
*/
|
|
3671
|
+
TimeSections?: Array<RecordTemplateTimeSections>
|
|
3672
|
+
/**
|
|
3673
|
+
* 录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)
|
|
3674
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3675
|
+
*/
|
|
3676
|
+
DevTimeSections?: Array<RecordTemplateTimeSections>
|
|
3677
|
+
/**
|
|
3678
|
+
* 上云倍速(支持1,2,4倍速)
|
|
3679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3680
|
+
*/
|
|
3681
|
+
Scale?: number
|
|
3682
|
+
/**
|
|
3683
|
+
* 创建时间
|
|
3684
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3685
|
+
*/
|
|
3686
|
+
CreateAt?: string
|
|
3687
|
+
/**
|
|
3688
|
+
* 更新时间
|
|
3689
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3690
|
+
*/
|
|
3691
|
+
UpdateAt?: string
|
|
3692
|
+
}
|
|
3693
|
+
|
|
3694
|
+
/**
|
|
3695
|
+
* AddUserDevice返回参数结构体
|
|
3696
|
+
*/
|
|
3697
|
+
export interface AddUserDeviceResponse {
|
|
3698
|
+
/**
|
|
3699
|
+
* 增加设备返回数据
|
|
3700
|
+
*/
|
|
3701
|
+
Data?: AddDeviceResponse
|
|
3702
|
+
/**
|
|
3703
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3704
|
+
*/
|
|
3705
|
+
RequestId?: string
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
/**
|
|
3709
|
+
* DeleteGateway返回参数结构体
|
|
3710
|
+
*/
|
|
3711
|
+
export interface DeleteGatewayResponse {
|
|
3712
|
+
/**
|
|
3713
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3714
|
+
*/
|
|
3715
|
+
RequestId?: string
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3718
|
+
/**
|
|
3719
|
+
* DescribeRecordPlaybackUrl返回参数结构体
|
|
3720
|
+
*/
|
|
3721
|
+
export interface DescribeRecordPlaybackUrlResponse {
|
|
3722
|
+
/**
|
|
3723
|
+
* 返回结果
|
|
3724
|
+
*/
|
|
3725
|
+
Data?: RecordPlaybackUrl
|
|
3726
|
+
/**
|
|
3727
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3728
|
+
*/
|
|
3729
|
+
RequestId?: string
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
/**
|
|
3733
|
+
* 抽烟识别结果详情
|
|
3734
|
+
*/
|
|
3735
|
+
export interface SmokingAIResultInfo {
|
|
3736
|
+
/**
|
|
3737
|
+
* 时间字符串
|
|
3738
|
+
*/
|
|
3739
|
+
Time?: string
|
|
3740
|
+
/**
|
|
3741
|
+
* 截图 URL
|
|
3742
|
+
*/
|
|
3743
|
+
Url?: string
|
|
3744
|
+
/**
|
|
3745
|
+
* 抽烟信息
|
|
3746
|
+
*/
|
|
3747
|
+
SmokingInfo?: Array<BaseAIResultInfo>
|
|
3748
|
+
}
|
|
3749
|
+
|
|
3750
|
+
/**
|
|
3751
|
+
* ListRecordPlanChannels请求参数结构体
|
|
3752
|
+
*/
|
|
3753
|
+
export type ListRecordPlanChannelsRequest = null
|
|
3754
|
+
|
|
3755
|
+
/**
|
|
3756
|
+
* 查询组织目录下的通道列表返回数据
|
|
3757
|
+
*/
|
|
3758
|
+
export interface ListOrganizationChannelsResponse {
|
|
3759
|
+
/**
|
|
3760
|
+
* 第几页
|
|
3761
|
+
*/
|
|
3762
|
+
PageNumber?: number
|
|
3763
|
+
/**
|
|
3764
|
+
* 当前页的设备数量
|
|
3765
|
+
*/
|
|
3766
|
+
PageSize?: number
|
|
3767
|
+
/**
|
|
3768
|
+
* 本次查询的设备通道总数
|
|
3769
|
+
*/
|
|
3770
|
+
TotalCount?: number
|
|
3771
|
+
/**
|
|
3772
|
+
* 设备通道信息列表
|
|
3773
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3774
|
+
*/
|
|
3775
|
+
List?: Array<OrganizationChannelInfo>
|
|
3776
|
+
}
|
|
3777
|
+
|
|
3778
|
+
/**
|
|
3779
|
+
* 实时上云计划添加和修改的返回数据
|
|
3780
|
+
*/
|
|
3781
|
+
export interface RecordPlanOptResponse {
|
|
3782
|
+
/**
|
|
3783
|
+
* 上云计划ID
|
|
3784
|
+
*/
|
|
3785
|
+
PlanId?: string
|
|
3786
|
+
/**
|
|
3787
|
+
* 上云计划名称
|
|
3788
|
+
*/
|
|
3789
|
+
PlanName?: string
|
|
3790
|
+
/**
|
|
3791
|
+
* 上云模板ID
|
|
3792
|
+
*/
|
|
3793
|
+
TemplateId?: string
|
|
3794
|
+
/**
|
|
3795
|
+
* 上云计划描述
|
|
3796
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3797
|
+
*/
|
|
3798
|
+
Describe?: string
|
|
3799
|
+
/**
|
|
3800
|
+
* 云文件生命周期
|
|
3801
|
+
*/
|
|
3802
|
+
LifeCycle?: LifeCycleData
|
|
3803
|
+
/**
|
|
3804
|
+
* 码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义
|
|
3805
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3806
|
+
*/
|
|
3807
|
+
StreamType?: string
|
|
3808
|
+
}
|
|
3809
|
+
|
|
3810
|
+
/**
|
|
3811
|
+
* UpdateAITaskStatus请求参数结构体
|
|
3812
|
+
*/
|
|
3813
|
+
export interface UpdateAITaskStatusRequest {
|
|
3814
|
+
/**
|
|
3815
|
+
* AI 任务 ID
|
|
3816
|
+
*/
|
|
3817
|
+
TaskId: string
|
|
3818
|
+
/**
|
|
3819
|
+
* AI 任务状态。"on"代表开启了 AI 分析任务,"off"代表停止AI分析任务
|
|
3820
|
+
*/
|
|
3821
|
+
Status: string
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3824
|
+
/**
|
|
3825
|
+
* AI任务信息
|
|
3826
|
+
*/
|
|
3827
|
+
export interface AITaskInfo {
|
|
3828
|
+
/**
|
|
3829
|
+
* AI 任务 ID
|
|
3830
|
+
*/
|
|
3831
|
+
TaskId?: string
|
|
3832
|
+
/**
|
|
3833
|
+
* AI 任务名称
|
|
3834
|
+
*/
|
|
3835
|
+
Name?: string
|
|
3836
|
+
/**
|
|
3837
|
+
* AI 任务描述
|
|
3838
|
+
*/
|
|
3839
|
+
Desc?: string
|
|
3840
|
+
/**
|
|
3841
|
+
* AI 任务状态。"on"代表开启了 AI 分析任务,"off"代表停止 AI 分析任务
|
|
3842
|
+
*/
|
|
3843
|
+
Status?: string
|
|
3844
|
+
/**
|
|
3845
|
+
* 通道 ID 列表
|
|
3846
|
+
*/
|
|
3847
|
+
ChannelList?: Array<string>
|
|
3848
|
+
/**
|
|
3849
|
+
* AI 结果回调地址
|
|
3850
|
+
*/
|
|
3851
|
+
CallbackUrl?: string
|
|
3852
|
+
/**
|
|
3853
|
+
* AI 配置列表
|
|
3854
|
+
*/
|
|
3855
|
+
Templates?: Array<AITemplates>
|
|
3856
|
+
/**
|
|
3857
|
+
* 创建时间
|
|
3858
|
+
*/
|
|
3859
|
+
CreatedTime?: string
|
|
3860
|
+
/**
|
|
3861
|
+
* 更新时间
|
|
3862
|
+
*/
|
|
3863
|
+
UpdatedTime?: string
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
/**
|
|
3867
|
+
* UpdateGateway请求参数结构体
|
|
3868
|
+
*/
|
|
3869
|
+
export interface UpdateGatewayRequest {
|
|
3870
|
+
/**
|
|
3871
|
+
* 网关索引ID(从获取网关列表ListGateways接口中获取)
|
|
3872
|
+
*/
|
|
3873
|
+
GatewayId: string
|
|
3874
|
+
/**
|
|
3875
|
+
* 仅支持中文、英文、数网关名称,字、_、-,长度不超过32个字符
|
|
3876
|
+
*/
|
|
3877
|
+
Name?: string
|
|
3878
|
+
/**
|
|
3879
|
+
* 网关描述,仅支持中文、英文、数字、_、-,长度不超过128个字符
|
|
3880
|
+
*/
|
|
3881
|
+
Description?: string
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
/**
|
|
3885
|
+
* UpdateAITask返回参数结构体
|
|
3886
|
+
*/
|
|
3887
|
+
export interface UpdateAITaskResponse {
|
|
3888
|
+
/**
|
|
3889
|
+
* AI任务信息
|
|
3890
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3891
|
+
*/
|
|
3892
|
+
Data?: AITaskInfo
|
|
3893
|
+
/**
|
|
3894
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3895
|
+
*/
|
|
3896
|
+
RequestId?: string
|
|
3897
|
+
}
|
|
3898
|
+
|
|
3899
|
+
/**
|
|
3900
|
+
* 查询域名可绑定集群数据
|
|
3901
|
+
*/
|
|
3902
|
+
export interface DescribeDomainRegionResponse {
|
|
3903
|
+
/**
|
|
3904
|
+
* 服务节点描述
|
|
3905
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3906
|
+
*/
|
|
3907
|
+
Label?: string
|
|
3908
|
+
/**
|
|
3909
|
+
* 服务节点 ID(对应为其他接口中所需的 ClusterId)
|
|
3910
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3911
|
+
*/
|
|
3912
|
+
Value?: string
|
|
3913
|
+
/**
|
|
3914
|
+
* 地域信息
|
|
3915
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3916
|
+
*/
|
|
3917
|
+
Region?: string
|
|
3918
|
+
}
|
|
3919
|
+
|
|
3920
|
+
/**
|
|
3921
|
+
* 用户下所有实时上云计划中的通道id列表返回数据
|
|
3922
|
+
*/
|
|
3923
|
+
export interface ListRecordPlanChannelsResponse {
|
|
3924
|
+
/**
|
|
3925
|
+
* 用户所有计划下通道id,存在通道是为数组格式,不存在时,字段数据为空
|
|
3926
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3927
|
+
*/
|
|
3928
|
+
List?: Array<string>
|
|
3929
|
+
}
|
|
3930
|
+
|
|
3931
|
+
/**
|
|
3932
|
+
* AddRecordBackupPlan请求参数结构体
|
|
3933
|
+
*/
|
|
3934
|
+
export interface AddRecordBackupPlanRequest {
|
|
3935
|
+
/**
|
|
3936
|
+
* 录制模板ID(录像计划关联的模板ID,从查询录像上云模板列表接口ListRecordBackupTemplates中获取)
|
|
3937
|
+
*/
|
|
3938
|
+
TemplateId: string
|
|
3939
|
+
/**
|
|
3940
|
+
* 录像计划名称(仅支持中文、英文、数字、_、-,长度不超过32个字符,计划名称全局唯一,不能为空,不能重复)
|
|
3941
|
+
*/
|
|
3942
|
+
PlanName: string
|
|
3943
|
+
/**
|
|
3944
|
+
* 录像计划描述(仅支持中文、英文、数字、_、-,长度不超过128个字符)
|
|
3945
|
+
*/
|
|
3946
|
+
Describe: string
|
|
3947
|
+
/**
|
|
3948
|
+
* 生命周期(录像文件生命周期设置,管理文件冷、热存储的时间)
|
|
3949
|
+
*/
|
|
3950
|
+
LifeCycle: LifeCycleData
|
|
3951
|
+
/**
|
|
3952
|
+
* 通道及通道所属设备(添加录像的设备的通道信息,一次添加通道总数不超过5000个,包括组织目录下的通道数量)
|
|
3953
|
+
*/
|
|
3954
|
+
Channels?: Array<ChannelInfo>
|
|
3955
|
+
/**
|
|
3956
|
+
* 添加组织目录下所有设备通道(Json数组,可以为空,通道总数量不超过5000个(包括Channel字段的数量))
|
|
3957
|
+
*/
|
|
3958
|
+
OrganizationId?: Array<string>
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
/**
|
|
3962
|
+
* ListRecordBackupPlans请求参数结构体
|
|
3963
|
+
*/
|
|
3964
|
+
export type ListRecordBackupPlansRequest = null
|
|
3965
|
+
|
|
3966
|
+
/**
|
|
3967
|
+
* 增加设备接口返回数据
|
|
3968
|
+
*/
|
|
3969
|
+
export interface AddDeviceResponse {
|
|
3970
|
+
/**
|
|
3971
|
+
* 设备iD
|
|
3972
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3973
|
+
*/
|
|
3974
|
+
DeviceId?: string
|
|
3975
|
+
/**
|
|
3976
|
+
* 设备编码(即我们为设备生成的20位国标编码)
|
|
3977
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3978
|
+
*/
|
|
3979
|
+
Code?: string
|
|
3980
|
+
/**
|
|
3981
|
+
* 设备名称
|
|
3982
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3983
|
+
*/
|
|
3984
|
+
Name?: string
|
|
3985
|
+
/**
|
|
3986
|
+
* 设备接入协议,1:RTMP,2:GB,3:GW
|
|
3987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3988
|
+
*/
|
|
3989
|
+
AccessProtocol?: number
|
|
3990
|
+
/**
|
|
3991
|
+
* 设备类型,1:IPC,2:NVR
|
|
3992
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3993
|
+
*/
|
|
3994
|
+
Type?: number
|
|
3995
|
+
/**
|
|
3996
|
+
* 设备接入服务节点ID
|
|
3997
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3998
|
+
*/
|
|
3999
|
+
ClusterId?: string
|
|
4000
|
+
/**
|
|
4001
|
+
* 设备接入服务节点名称
|
|
4002
|
+
|
|
4003
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4004
|
+
*/
|
|
4005
|
+
ClusterName?: string
|
|
4006
|
+
/**
|
|
4007
|
+
* 设备流传输协议,1:UDP,2:TCP
|
|
4008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4009
|
+
*/
|
|
4010
|
+
TransportProtocol?: number
|
|
4011
|
+
/**
|
|
4012
|
+
* 设备密码
|
|
4013
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4014
|
+
*/
|
|
4015
|
+
Password?: string
|
|
4016
|
+
/**
|
|
4017
|
+
* 设备描述
|
|
4018
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4019
|
+
*/
|
|
4020
|
+
Description?: string
|
|
4021
|
+
/**
|
|
4022
|
+
* 设备状态,0:未注册,1:在线,2:离线,3:禁用
|
|
4023
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4024
|
+
*/
|
|
4025
|
+
Status?: number
|
|
4026
|
+
/**
|
|
4027
|
+
* 设备所属组织ID
|
|
4028
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4029
|
+
*/
|
|
4030
|
+
OrganizationId?: number
|
|
4031
|
+
/**
|
|
4032
|
+
* 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要)
|
|
4033
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4034
|
+
*/
|
|
4035
|
+
GatewayId?: string
|
|
4036
|
+
/**
|
|
4037
|
+
* 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要)
|
|
4038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4039
|
+
*/
|
|
4040
|
+
ProtocolType?: number
|
|
4041
|
+
/**
|
|
4042
|
+
* 设备接入IP(仅网关接入需要)
|
|
4043
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4044
|
+
*/
|
|
4045
|
+
Ip?: string
|
|
4046
|
+
/**
|
|
4047
|
+
* 设备Port(仅网关接入需要)
|
|
4048
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4049
|
+
*/
|
|
4050
|
+
Port?: number
|
|
4051
|
+
/**
|
|
4052
|
+
* 设备用户名(仅网关接入需要)
|
|
4053
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4054
|
+
*/
|
|
4055
|
+
Username?: string
|
|
4056
|
+
/**
|
|
4057
|
+
* 用户ID
|
|
4058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4059
|
+
*/
|
|
4060
|
+
AppId?: number
|
|
4061
|
+
}
|
|
4062
|
+
|
|
4063
|
+
/**
|
|
4064
|
+
* 查询录像上云计划列表返回数据
|
|
4065
|
+
*/
|
|
4066
|
+
export interface ListRecordBackupPlanResponse {
|
|
4067
|
+
/**
|
|
4068
|
+
* 录像上云计划ID
|
|
4069
|
+
*/
|
|
4070
|
+
PlanId?: string
|
|
4071
|
+
/**
|
|
4072
|
+
* 录像上云计划名称
|
|
4073
|
+
*/
|
|
4074
|
+
PlanName?: string
|
|
4075
|
+
/**
|
|
4076
|
+
* 录像上云模板ID
|
|
4077
|
+
*/
|
|
4078
|
+
TemplateId?: string
|
|
4079
|
+
/**
|
|
4080
|
+
* 录像上云计划描述
|
|
4081
|
+
*/
|
|
4082
|
+
Describe?: string
|
|
4083
|
+
/**
|
|
4084
|
+
* 云文件生命周期
|
|
4085
|
+
*/
|
|
4086
|
+
LifeCycle?: LifeCycleData
|
|
4087
|
+
/**
|
|
4088
|
+
* 录像上云计划状态,1:正常使用中,0:删除中,无法使用
|
|
4089
|
+
*/
|
|
4090
|
+
Status?: number
|
|
4091
|
+
/**
|
|
4092
|
+
* 通道数量
|
|
4093
|
+
*/
|
|
4094
|
+
ChannelCount?: number
|
|
4095
|
+
/**
|
|
4096
|
+
* 创建时间
|
|
4097
|
+
*/
|
|
4098
|
+
CreateAt?: string
|
|
4099
|
+
/**
|
|
4100
|
+
* 修改时间
|
|
4101
|
+
*/
|
|
4102
|
+
UpdateAt?: string
|
|
4103
|
+
}
|
|
4104
|
+
|
|
4105
|
+
/**
|
|
4106
|
+
* UpdateRecordBackupTemplate请求参数结构体
|
|
4107
|
+
*/
|
|
4108
|
+
export interface UpdateRecordBackupTemplateRequest {
|
|
4109
|
+
/**
|
|
4110
|
+
* 模板ID(从查询录像上云模板列表接口ListRecordBackupTemplates中获取)
|
|
4111
|
+
*/
|
|
4112
|
+
TemplateId: string
|
|
4113
|
+
/**
|
|
4114
|
+
* 修改录像上云模板数据
|
|
4115
|
+
*/
|
|
4116
|
+
Mod: UpdateRecordBackupTemplateModify
|
|
4117
|
+
}
|
|
4118
|
+
|
|
4119
|
+
/**
|
|
4120
|
+
* UpdateDeviceStatus返回参数结构体
|
|
4121
|
+
*/
|
|
4122
|
+
export interface UpdateDeviceStatusResponse {
|
|
4123
|
+
/**
|
|
4124
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4125
|
+
*/
|
|
4126
|
+
RequestId?: string
|
|
4127
|
+
}
|
|
4128
|
+
|
|
4129
|
+
/**
|
|
4130
|
+
* DeleteUserDevice返回参数结构体
|
|
4131
|
+
*/
|
|
4132
|
+
export interface DeleteUserDeviceResponse {
|
|
4133
|
+
/**
|
|
4134
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4135
|
+
*/
|
|
4136
|
+
RequestId?: string
|
|
4137
|
+
}
|
|
4138
|
+
|
|
4139
|
+
/**
|
|
4140
|
+
* 修改录像上云计划返回数据
|
|
4141
|
+
*/
|
|
4142
|
+
export interface UpdateRecordBackupPlanResponse {
|
|
4143
|
+
/**
|
|
4144
|
+
* 录像上云计划ID
|
|
4145
|
+
*/
|
|
4146
|
+
PlanId?: string
|
|
4147
|
+
/**
|
|
4148
|
+
* 录像上云计划名称
|
|
4149
|
+
*/
|
|
4150
|
+
PlanName?: string
|
|
4151
|
+
/**
|
|
4152
|
+
* 录像上云模板ID
|
|
4153
|
+
*/
|
|
4154
|
+
TemplateId?: string
|
|
4155
|
+
/**
|
|
4156
|
+
* 录像上云计划描述
|
|
4157
|
+
*/
|
|
4158
|
+
Describe?: string
|
|
4159
|
+
/**
|
|
4160
|
+
* 云文件生命周期
|
|
4161
|
+
*/
|
|
4162
|
+
LifeCycle?: LifeCycleData
|
|
4163
|
+
/**
|
|
4164
|
+
* 录像上云计划状态,1:正常使用中,0:删除中,无法使用
|
|
4165
|
+
*/
|
|
4166
|
+
Status?: number
|
|
4167
|
+
/**
|
|
4168
|
+
* 通道数量
|
|
4169
|
+
*/
|
|
4170
|
+
ChannelCount?: number
|
|
4171
|
+
/**
|
|
4172
|
+
* 创建时间
|
|
4173
|
+
*/
|
|
4174
|
+
CreateAt?: string
|
|
4175
|
+
/**
|
|
4176
|
+
* 修改时间
|
|
4177
|
+
*/
|
|
4178
|
+
UpdateAt?: string
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
/**
|
|
4182
|
+
* AddOrganization请求参数结构体
|
|
4183
|
+
*/
|
|
4184
|
+
export interface AddOrganizationRequest {
|
|
4185
|
+
/**
|
|
4186
|
+
* 组织名称(仅支持中文、英文、数字、_、-的组合,长度不超过16个字符,且组织名称不能重复)
|
|
4187
|
+
*/
|
|
4188
|
+
Name: string
|
|
4189
|
+
/**
|
|
4190
|
+
* 组织父节点 ID(从查询组织接口DescribeOrganization中获取,填0代表根组织)
|
|
4191
|
+
*/
|
|
4192
|
+
ParentId: string
|
|
4193
|
+
}
|
|
4194
|
+
|
|
4195
|
+
/**
|
|
4196
|
+
* 厨师服识别结果详情
|
|
4197
|
+
*/
|
|
4198
|
+
export interface ChefClothAIResultInfo {
|
|
4199
|
+
/**
|
|
4200
|
+
* 时间字符串
|
|
4201
|
+
*/
|
|
4202
|
+
Time?: string
|
|
4203
|
+
/**
|
|
4204
|
+
* 截图 URL
|
|
4205
|
+
*/
|
|
4206
|
+
Url?: string
|
|
4207
|
+
/**
|
|
4208
|
+
* 厨师服信息
|
|
4209
|
+
*/
|
|
4210
|
+
ChefClothInfoInfo?: Array<BaseAIResultInfo>
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
/**
|
|
4214
|
+
* 查询推拉流鉴权返回数据结构
|
|
4215
|
+
*/
|
|
4216
|
+
export interface DescribeStreamAuthResponse {
|
|
4217
|
+
/**
|
|
4218
|
+
* 鉴权配置ID(uuid)
|
|
4219
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4220
|
+
*/
|
|
4221
|
+
Id?: string
|
|
4222
|
+
/**
|
|
4223
|
+
* 是否开播放鉴权(1:开启,0:关闭)
|
|
4224
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4225
|
+
*/
|
|
4226
|
+
PullState?: number
|
|
4227
|
+
/**
|
|
4228
|
+
* 播放密钥(仅支持字母数字,长度0-10位)
|
|
4229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4230
|
+
*/
|
|
4231
|
+
PullSecret?: string
|
|
4232
|
+
/**
|
|
4233
|
+
* 播放过期时间(单位:分钟)
|
|
4234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4235
|
+
*/
|
|
4236
|
+
PullExpired?: number
|
|
4237
|
+
/**
|
|
4238
|
+
* 是否开启推流鉴权(1:开启,0:关闭)
|
|
4239
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4240
|
+
*/
|
|
4241
|
+
PushState?: number
|
|
4242
|
+
/**
|
|
4243
|
+
* 推流密钥(仅支持字母数字,长度0-10位)
|
|
4244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4245
|
+
*/
|
|
4246
|
+
PushSecret?: string
|
|
4247
|
+
/**
|
|
4248
|
+
* 推流过期时间(单位:分钟)
|
|
4249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4250
|
+
*/
|
|
4251
|
+
PushExpired?: number
|
|
4252
|
+
/**
|
|
4253
|
+
* 用户ID
|
|
4254
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4255
|
+
*/
|
|
4256
|
+
AppId?: number
|
|
4257
|
+
}
|
|
4258
|
+
|
|
4259
|
+
/**
|
|
4260
|
+
* DeleteRecordBackupTemplate返回参数结构体
|
|
4261
|
+
*/
|
|
4262
|
+
export interface DeleteRecordBackupTemplateResponse {
|
|
4263
|
+
/**
|
|
4264
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4265
|
+
*/
|
|
4266
|
+
RequestId?: string
|
|
4267
|
+
}
|
|
4268
|
+
|
|
4269
|
+
/**
|
|
4270
|
+
* UpdateRecordTemplate返回参数结构体
|
|
4271
|
+
*/
|
|
4272
|
+
export interface UpdateRecordTemplateResponse {
|
|
4273
|
+
/**
|
|
4274
|
+
* 返回结果
|
|
4275
|
+
*/
|
|
4276
|
+
Data?: RecordTemplateInfo
|
|
4277
|
+
/**
|
|
4278
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4279
|
+
*/
|
|
4280
|
+
RequestId?: string
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4283
|
+
/**
|
|
4284
|
+
* 查询云录像取回任务详情返回数据
|
|
4285
|
+
*/
|
|
4286
|
+
export interface DescribeRecordRetrieveTaskResponse {
|
|
4287
|
+
/**
|
|
4288
|
+
* 取回任务ID
|
|
4289
|
+
*/
|
|
4290
|
+
TaskId?: string
|
|
4291
|
+
/**
|
|
4292
|
+
* 取回任务名称
|
|
4293
|
+
*/
|
|
4294
|
+
TaskName?: string
|
|
4295
|
+
/**
|
|
4296
|
+
* 取回录像的开始时间
|
|
4297
|
+
*/
|
|
4298
|
+
StartTime?: number
|
|
4299
|
+
/**
|
|
4300
|
+
* 取回录像的结束时间
|
|
4301
|
+
*/
|
|
4302
|
+
EndTime?: number
|
|
4303
|
+
/**
|
|
4304
|
+
* 取回模式,1:极速模式,其他暂不支持
|
|
4305
|
+
*/
|
|
4306
|
+
Mode?: number
|
|
4307
|
+
/**
|
|
4308
|
+
* 副本有效期
|
|
4309
|
+
*/
|
|
4310
|
+
Expiration?: number
|
|
4311
|
+
/**
|
|
4312
|
+
* 任务状态,0:已取回,1:取回中,2:待取回
|
|
4313
|
+
*/
|
|
4314
|
+
Status?: number
|
|
4315
|
+
/**
|
|
4316
|
+
* 取回容量,单位MB
|
|
4317
|
+
*/
|
|
4318
|
+
Capacity?: number
|
|
4319
|
+
/**
|
|
4320
|
+
* 任务的设备通道id
|
|
4321
|
+
*/
|
|
4322
|
+
Channels?: Array<RecordRetrieveTaskChannelInfo>
|
|
4323
|
+
/**
|
|
4324
|
+
* 任务描述
|
|
4325
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4326
|
+
*/
|
|
4327
|
+
Describe?: string
|
|
4328
|
+
/**
|
|
4329
|
+
* 任务通道数量
|
|
4330
|
+
*/
|
|
4331
|
+
ChannelCount?: number
|
|
4332
|
+
}
|
|
4333
|
+
|
|
4334
|
+
/**
|
|
4335
|
+
* DescribeStreamAuth请求参数结构体
|
|
4336
|
+
*/
|
|
4337
|
+
export type DescribeStreamAuthRequest = null
|