tencentcloud-sdk-nodejs 4.0.263 → 4.0.267

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/CHANGELOG.md +594 -0
  2. package/SERVICE_CHANGELOG.md +623 -10
  3. package/package.json +1 -1
  4. package/products.md +31 -31
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_models.ts +24 -0
  7. package/src/services/as/v20180419/as_client.ts +45 -8
  8. package/src/services/as/v20180419/as_models.ts +357 -237
  9. package/src/services/cdb/v20170320/cdb_models.ts +10 -0
  10. package/src/services/cdn/v20180606/cdn_models.ts +25 -2
  11. package/src/services/clb/v20180317/clb_models.ts +17 -0
  12. package/src/services/cls/v20201016/cls_client.ts +29 -127
  13. package/src/services/cls/v20201016/cls_models.ts +166 -669
  14. package/src/services/eiam/v20210420/eiam_models.ts +53 -6
  15. package/src/services/es/v20180416/es_models.ts +125 -8
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  17. package/src/services/facefusion/v20181201/facefusion_models.ts +1 -1
  18. package/src/services/faceid/v20180301/faceid_models.ts +15 -0
  19. package/src/services/gaap/v20180529/gaap_client.ts +1 -1
  20. package/src/services/gaap/v20180529/gaap_models.ts +14 -7
  21. package/src/services/ic/v20190307/ic_models.ts +1 -1
  22. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +831 -391
  23. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +2085 -361
  24. package/src/services/live/v20180801/live_client.ts +7 -6
  25. package/src/services/live/v20180801/live_models.ts +28 -0
  26. package/src/services/mongodb/v20190725/mongodb_client.ts +15 -2
  27. package/src/services/mongodb/v20190725/mongodb_models.ts +72 -22
  28. package/src/services/monitor/v20180724/monitor_client.ts +15 -2
  29. package/src/services/monitor/v20180724/monitor_models.ts +115 -49
  30. package/src/services/ocr/v20181119/ocr_models.ts +1 -1
  31. package/src/services/organization/v20210331/organization_client.ts +14 -1
  32. package/src/services/organization/v20210331/organization_models.ts +124 -2
  33. package/src/services/rce/v20201103/rce_client.ts +38 -10
  34. package/src/services/rce/v20201103/rce_models.ts +367 -235
  35. package/src/services/ses/v20201002/ses_client.ts +1 -1
  36. package/src/services/ses/v20201002/ses_models.ts +1 -1
  37. package/src/services/sms/v20210111/sms_client.ts +1 -0
  38. package/src/services/tdmq/v20200217/tdmq_client.ts +0 -14
  39. package/src/services/tdmq/v20200217/tdmq_models.ts +0 -129
  40. package/src/services/tke/v20180525/tke_models.ts +16 -0
  41. package/src/services/tsf/v20180326/tsf_client.ts +14 -1
  42. package/src/services/tsf/v20180326/tsf_models.ts +240 -8
  43. package/src/services/wav/v20210129/wav_models.ts +1 -1
  44. package/tencentcloud/common/sdk_version.d.ts +1 -1
  45. package/tencentcloud/common/sdk_version.js +1 -1
  46. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +20 -0
  47. package/tencentcloud/services/as/v20180419/as_client.d.ts +13 -1
  48. package/tencentcloud/services/as/v20180419/as_client.js +18 -0
  49. package/tencentcloud/services/as/v20180419/as_models.d.ts +300 -197
  50. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -0
  51. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +21 -2
  52. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +14 -0
  53. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +8 -40
  54. package/tencentcloud/services/cls/v20201016/cls_client.js +10 -58
  55. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +157 -586
  56. package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +44 -6
  57. package/tencentcloud/services/es/v20180416/es_models.d.ts +105 -8
  58. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  59. package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +1 -1
  60. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +13 -0
  61. package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +1 -1
  62. package/tencentcloud/services/gaap/v20180529/gaap_client.js +1 -1
  63. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +13 -7
  64. package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
  65. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +276 -119
  66. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +400 -175
  67. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1776 -294
  68. package/tencentcloud/services/live/v20180801/live_client.d.ts +7 -6
  69. package/tencentcloud/services/live/v20180801/live_client.js +7 -6
  70. package/tencentcloud/services/live/v20180801/live_models.d.ts +26 -0
  71. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
  72. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
  73. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +63 -20
  74. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
  75. package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
  76. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +100 -44
  77. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  78. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
  79. package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
  80. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +105 -2
  81. package/tencentcloud/services/rce/v20201103/rce_client.d.ts +9 -1
  82. package/tencentcloud/services/rce/v20201103/rce_client.js +12 -0
  83. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +322 -208
  84. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
  85. package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
  86. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
  87. package/tencentcloud/services/sms/v20210111/sms_client.d.ts +1 -0
  88. package/tencentcloud/services/sms/v20210111/sms_client.js +1 -0
  89. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -5
  90. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +0 -6
  91. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +0 -109
  92. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +13 -0
  93. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -1
  94. package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -0
  95. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +202 -7
  96. package/tencentcloud/services/wav/v20210129/wav_models.d.ts +1 -1
  97. package/test/as.v20180419.test.js +30 -0
  98. package/test/cls.v20201016.test.js +6 -86
  99. package/test/iotvideoindustry.v20201201.test.js +454 -114
  100. package/test/mongodb.v20190725.test.js +10 -0
  101. package/test/monitor.v20180724.test.js +10 -0
  102. package/test/organization.v20210331.test.js +10 -0
  103. package/test/rce.v20201103.test.js +20 -0
  104. package/test/tdmq.v20200217.test.js +0 -10
  105. package/test/tsf.v20180326.test.js +10 -0
@@ -15,6 +15,21 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
+ /**
19
+ * DescribePresetList请求参数结构体
20
+ */
21
+ export interface DescribePresetListRequest {
22
+ /**
23
+ * 视频通道唯一标识
24
+ */
25
+ ChannelId: string
26
+
27
+ /**
28
+ * 设备唯一标识
29
+ */
30
+ DeviceId: string
31
+ }
32
+
18
33
  /**
19
34
  * ControlRecordStream请求参数结构体
20
35
  */
@@ -45,6 +60,21 @@ export interface ControlRecordStreamRequest {
45
60
  ChannelId?: string
46
61
  }
47
62
 
63
+ /**
64
+ * CreateRecordingPlan返回参数结构体
65
+ */
66
+ export interface CreateRecordingPlanResponse {
67
+ /**
68
+ * 录制计划ID
69
+ */
70
+ PlanId: string
71
+
72
+ /**
73
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
74
+ */
75
+ RequestId?: string
76
+ }
77
+
48
78
  /**
49
79
  * ModifySubscriptionStatus请求参数结构体
50
80
  */
@@ -98,9 +128,29 @@ export interface DeleteTimeTemplateResponse {
98
128
  }
99
129
 
100
130
  /**
101
- * GetTimeTemplates请求参数结构体
131
+ * DescribeMonitorDataByDate请求参数结构体
102
132
  */
103
- export type GetTimeTemplatesRequest = null
133
+ export interface DescribeMonitorDataByDateRequest {
134
+ /**
135
+ * 开始时间戳
136
+ */
137
+ StartTime: number
138
+
139
+ /**
140
+ * 结束时间戳 最多显示30天数据
141
+ */
142
+ EndTime: number
143
+ }
144
+
145
+ /**
146
+ * ModifyLiveChannel返回参数结构体
147
+ */
148
+ export interface ModifyLiveChannelResponse {
149
+ /**
150
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
151
+ */
152
+ RequestId?: string
153
+ }
104
154
 
105
155
  /**
106
156
  * SIIP服务器相关配置项
@@ -127,6 +177,61 @@ export interface ServerConfiguration {
127
177
  Realm: string
128
178
  }
129
179
 
180
+ /**
181
+ * DescribeLiveVideoList请求参数结构体
182
+ */
183
+ export interface DescribeLiveVideoListRequest {
184
+ /**
185
+ * 偏移量
186
+ */
187
+ Offset: number
188
+
189
+ /**
190
+ * 分页的每页数量
191
+ */
192
+ Limit: number
193
+
194
+ /**
195
+ * 直播频道ID
196
+ */
197
+ LiveChannelId: string
198
+
199
+ /**
200
+ * 开始录制开始时间
201
+ */
202
+ StartRecordTime?: number
203
+
204
+ /**
205
+ * 开始录制结束时间
206
+ */
207
+ EndRecordTime?: number
208
+
209
+ /**
210
+ * 过期开始时间
211
+ */
212
+ StartExpireTime?: number
213
+
214
+ /**
215
+ * 过期结束时间
216
+ */
217
+ EndExpireTime?: number
218
+
219
+ /**
220
+ * 文件大小范围 Byte
221
+ */
222
+ StartFileSize?: number
223
+
224
+ /**
225
+ * 文件大小范围 Byte
226
+ */
227
+ EndFileSize?: number
228
+
229
+ /**
230
+ * 录制状态,5: 录制回写完
231
+ */
232
+ IsRecording?: number
233
+ }
234
+
130
235
  /**
131
236
  * GetRecordPlanByDev请求参数结构体
132
237
  */
@@ -154,33 +259,48 @@ export interface GetRecordDatesByDevResponse {
154
259
  }
155
260
 
156
261
  /**
157
- * CreateLiveRecordPlan请求参数结构体
262
+ * ControlChannelPTZ返回参数结构体
158
263
  */
159
- export interface CreateLiveRecordPlanRequest {
264
+ export interface ControlChannelPTZResponse {
160
265
  /**
161
- * 录制计划名
266
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
162
267
  */
163
- PlanName: string
268
+ RequestId?: string
269
+ }
164
270
 
271
+ /**
272
+ * DescribeChannels请求参数结构体
273
+ */
274
+ export interface DescribeChannelsRequest {
165
275
  /**
166
- * 计划类型 1:固定直播 2:移动直播
276
+ * 设备Id
167
277
  */
168
- PlanType: number
278
+ DeviceId: string
169
279
 
170
280
  /**
171
- * 时间模板ID,固定直播时为必填
281
+ * 限制,默认0
172
282
  */
173
- TemplateId?: string
283
+ Limit?: number
174
284
 
175
285
  /**
176
- * 录制文件存储时长,单位天,默认30天
286
+ * 偏移量,默认0
177
287
  */
178
- RecordStorageTime?: number
288
+ Offset?: number
179
289
 
180
290
  /**
181
- * 绑定的直播频道ID列表
291
+ * 通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道
182
292
  */
183
- LiveChannelIds?: Array<string>
293
+ ChannelTypes?: Array<number>
294
+
295
+ /**
296
+ * 录制计划ID, 当为"null"值时未绑定录制计划
297
+ */
298
+ PlanId?: string
299
+
300
+ /**
301
+ * 告警联动场景ID, 当为 -1 值时未绑定场景
302
+ */
303
+ SceneId?: number
184
304
  }
185
305
 
186
306
  /**
@@ -194,13 +314,14 @@ export interface DescribeLiveChannelRequest {
194
314
  }
195
315
 
196
316
  /**
197
- * DescribeSubscriptionStatus返回参数结构体
317
+ * DescribeRecordDatesByChannel返回参数结构体
198
318
  */
199
- export interface DescribeSubscriptionStatusResponse {
319
+ export interface DescribeRecordDatesByChannelResponse {
200
320
  /**
201
- * 设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅
202
- */
203
- AlarmStatus: number
321
+ * 含有录像文件的日期列表
322
+ 注意:此字段可能返回 null,表示取不到有效值。
323
+ */
324
+ Dates: Array<string>
204
325
 
205
326
  /**
206
327
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -209,20 +330,90 @@ export interface DescribeSubscriptionStatusResponse {
209
330
  }
210
331
 
211
332
  /**
212
- * DescribeScenes返回参数结构体
333
+ * DescribeRecordDatesByChannel请求参数结构体
213
334
  */
214
- export interface DescribeScenesResponse {
335
+ export interface DescribeRecordDatesByChannelRequest {
215
336
  /**
216
- * 场景总数
217
- 注意:此字段可能返回 null,表示取不到有效值。
337
+ * 设备唯一标识
338
+ */
339
+ DeviceId: string
340
+
341
+ /**
342
+ * 通道唯一标识
343
+ */
344
+ ChannelId: string
345
+
346
+ /**
347
+ * 1: 云端录制 2: 本地录制
348
+ */
349
+ Type: number
350
+
351
+ /**
352
+ * 限制量,默认200
353
+ */
354
+ Limit?: number
355
+
356
+ /**
357
+ * 偏移量,默认0
358
+ */
359
+ Offset?: number
360
+ }
361
+
362
+ /**
363
+ * DescribeVideoListByChannel请求参数结构体
364
+ */
365
+ export interface DescribeVideoListByChannelRequest {
366
+ /**
367
+ * 设备唯一标识
368
+ */
369
+ DeviceId: string
370
+
371
+ /**
372
+ * 通道唯一标识
373
+ */
374
+ ChannelId: string
375
+
376
+ /**
377
+ * 1: 云端录制 2: 本地录制
378
+ */
379
+ Type: number
380
+
381
+ /**
382
+ * 指定某天。取值【YYYY-MM-DD】
383
+ 为空时默认查询最近一天的记录
218
384
  */
219
- Total: number
385
+ Date?: string
220
386
 
221
387
  /**
222
- * 场景列表
388
+ * 限制量,默认2000
389
+ */
390
+ Limit?: number
391
+
392
+ /**
393
+ * 偏移量,默认0
394
+ */
395
+ Offset?: number
396
+ }
397
+
398
+ /**
399
+ * ModifyPreset返回参数结构体
400
+ */
401
+ export interface ModifyPresetResponse {
402
+ /**
403
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
404
+ */
405
+ RequestId?: string
406
+ }
407
+
408
+ /**
409
+ * DescribeGroupByPath返回参数结构体
410
+ */
411
+ export interface DescribeGroupByPathResponse {
412
+ /**
413
+ * 分组信息详情
223
414
  注意:此字段可能返回 null,表示取不到有效值。
224
415
  */
225
- List: Array<SceneItem>
416
+ Group: GroupItem
226
417
 
227
418
  /**
228
419
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -231,34 +422,53 @@ export interface DescribeScenesResponse {
231
422
  }
232
423
 
233
424
  /**
234
- * DescribeDeviceStreams返回参数结构体
425
+ * DescribeAbnormalEvents请求参数结构体
235
426
  */
236
- export interface DescribeDeviceStreamsResponse {
427
+ export interface DescribeAbnormalEventsRequest {
237
428
  /**
238
- * 设备实时流地址列表
429
+ * 开始时间
239
430
  */
240
- Data: DescribeDeviceStreamsData
431
+ StartTime: number
241
432
 
242
433
  /**
243
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
434
+ * 结束时间
244
435
  */
245
- RequestId?: string
436
+ EndTime: number
246
437
  }
247
438
 
248
439
  /**
249
- * DescribeSIPServer请求参数结构体
440
+ * ModifyPreset请求参数结构体
250
441
  */
251
- export type DescribeSIPServerRequest = null
442
+ export interface ModifyPresetRequest {
443
+ /**
444
+ * 通道ID
445
+ */
446
+ ChannelId: string
447
+
448
+ /**
449
+ * 预置位编码 范围1-8
450
+ */
451
+ PresetId: number
452
+
453
+ /**
454
+ * 预制位名称
455
+ */
456
+ PresetName: string
457
+
458
+ /**
459
+ * 设备Id
460
+ */
461
+ DeviceId: string
462
+ }
252
463
 
253
464
  /**
254
- * CreateLiveRecordPlan返回参数结构体
465
+ * DescribeSubscriptionStatus返回参数结构体
255
466
  */
256
- export interface CreateLiveRecordPlanResponse {
467
+ export interface DescribeSubscriptionStatusResponse {
257
468
  /**
258
- * 录制计划名称
259
- 注意:此字段可能返回 null,表示取不到有效值。
260
- */
261
- PlanId: string
469
+ * 设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅
470
+ */
471
+ AlarmStatus: number
262
472
 
263
473
  /**
264
474
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -267,76 +477,107 @@ export interface CreateLiveRecordPlanResponse {
267
477
  }
268
478
 
269
479
  /**
270
- * 分组信息
480
+ * DescribeScenes返回参数结构体
271
481
  */
272
- export interface GroupItem {
482
+ export interface DescribeScenesResponse {
273
483
  /**
274
- * 分组名称
484
+ * 场景总数
275
485
  注意:此字段可能返回 null,表示取不到有效值。
276
486
  */
277
- GroupName: string
487
+ Total: number
278
488
 
279
489
  /**
280
- * 父分组ID
490
+ * 场景列表
281
491
  注意:此字段可能返回 null,表示取不到有效值。
282
492
  */
283
- ParentId: string
493
+ List: Array<SceneItem>
284
494
 
285
495
  /**
286
- * 分组ID
287
- 注意:此字段可能返回 null,表示取不到有效值。
288
- */
289
- GroupId: string
496
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
497
+ */
498
+ RequestId?: string
499
+ }
290
500
 
501
+ /**
502
+ * DeleteRecordingPlan请求参数结构体
503
+ */
504
+ export interface DeleteRecordingPlanRequest {
291
505
  /**
292
- * 分组路径
293
- 注意:此字段可能返回 null,表示取不到有效值。
294
- */
295
- GroupPath?: string
506
+ * 录制计划ID
507
+ */
508
+ PlanId: string
509
+ }
296
510
 
511
+ /**
512
+ * DescribeBindSceneChannels返回参数结构体
513
+ */
514
+ export interface DescribeBindSceneChannelsResponse {
297
515
  /**
298
- * 分组描述
516
+ * 总数
299
517
  注意:此字段可能返回 null,表示取不到有效值。
300
518
  */
301
- GroupDescribe?: string
519
+ Total: number
302
520
 
303
521
  /**
304
- * 分组绑定设备数
522
+ * 通道列表
305
523
  注意:此字段可能返回 null,表示取不到有效值。
306
524
  */
307
- DeviceNum?: number
525
+ List: Array<ChannelItem>
308
526
 
309
527
  /**
310
- * 子分组数量
311
- 注意:此字段可能返回 null,表示取不到有效值。
312
- */
313
- SubGroupNum?: number
528
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
529
+ */
530
+ RequestId?: string
531
+ }
532
+
533
+ /**
534
+ * DescribeSIPServer请求参数结构体
535
+ */
536
+ export type DescribeSIPServerRequest = null
314
537
 
538
+ /**
539
+ * DescribeVideoListByChannel返回参数结构体
540
+ */
541
+ export interface DescribeVideoListByChannelResponse {
315
542
  /**
316
- * 分组附加信息
543
+ * 录像详情列表
317
544
  注意:此字段可能返回 null,表示取不到有效值。
318
545
  */
319
- ExtraInformation?: string
546
+ VideoList: Array<RecordTaskItem>
320
547
 
321
548
  /**
322
- * 分组类型
549
+ * 录像总数
323
550
  注意:此字段可能返回 null,表示取不到有效值。
324
551
  */
325
- GroupType?: string
552
+ TotalCount: number
326
553
 
327
554
  /**
328
- * 创建时间
329
- 注意:此字段可能返回 null,表示取不到有效值。
330
- */
331
- CreateTime?: number
555
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
556
+ */
557
+ RequestId?: string
558
+ }
332
559
 
560
+ /**
561
+ * CreateLiveRecordPlan返回参数结构体
562
+ */
563
+ export interface CreateLiveRecordPlanResponse {
333
564
  /**
334
- * 分组状态
565
+ * 录制计划名称
335
566
  注意:此字段可能返回 null,表示取不到有效值。
336
567
  */
337
- GroupStatus?: number
568
+ PlanId: string
569
+
570
+ /**
571
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
572
+ */
573
+ RequestId?: string
338
574
  }
339
575
 
576
+ /**
577
+ * GetRecordPlans请求参数结构体
578
+ */
579
+ export type GetRecordPlansRequest = null
580
+
340
581
  /**
341
582
  * 用于描述唯一一个设备
342
583
  */
@@ -370,6 +611,28 @@ export interface DeleteDeviceGroupResponse {
370
611
  RequestId?: string
371
612
  }
372
613
 
614
+ /**
615
+ * DescribeWarnings返回参数结构体
616
+ */
617
+ export interface DescribeWarningsResponse {
618
+ /**
619
+ * 总数
620
+ 注意:此字段可能返回 null,表示取不到有效值。
621
+ */
622
+ Total: number
623
+
624
+ /**
625
+ * 告警列表
626
+ 注意:此字段可能返回 null,表示取不到有效值。
627
+ */
628
+ Data: Array<WarningsData>
629
+
630
+ /**
631
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
632
+ */
633
+ RequestId?: string
634
+ }
635
+
373
636
  /**
374
637
  * DeleteRecordPlan返回参数结构体
375
638
  */
@@ -396,9 +659,14 @@ export interface DeleteMessageForwardResponse {
396
659
  }
397
660
 
398
661
  /**
399
- * ModifyBindPlanLiveChannel返回参数结构体
662
+ * GetTimeTemplates请求参数结构体
400
663
  */
401
- export interface ModifyBindPlanLiveChannelResponse {
664
+ export type GetTimeTemplatesRequest = null
665
+
666
+ /**
667
+ * UpdateDeviceGroup返回参数结构体
668
+ */
669
+ export interface UpdateDeviceGroupResponse {
402
670
  /**
403
671
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
404
672
  */
@@ -406,13 +674,58 @@ export interface ModifyBindPlanLiveChannelResponse {
406
674
  }
407
675
 
408
676
  /**
409
- * UpdateDeviceGroup返回参数结构体
677
+ * ModifyRecordingPlan请求参数结构体
410
678
  */
411
- export interface UpdateDeviceGroupResponse {
679
+ export interface ModifyRecordingPlanRequest {
412
680
  /**
413
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
681
+ * 录制计划ID
414
682
  */
415
- RequestId?: string
683
+ PlanId: string
684
+
685
+ /**
686
+ * 计划名称
687
+ */
688
+ Name?: string
689
+
690
+ /**
691
+ * 时间模板ID
692
+ */
693
+ TimeTemplateId?: string
694
+ }
695
+
696
+ /**
697
+ * DescribeDeviceEvent请求参数结构体
698
+ */
699
+ export interface DescribeDeviceEventRequest {
700
+ /**
701
+ * 开始时间,秒级时间戳
702
+ */
703
+ StartTime: number
704
+
705
+ /**
706
+ * 结束时间,秒级时间戳
707
+ */
708
+ EndTime: number
709
+
710
+ /**
711
+ * 设备Id
712
+ */
713
+ DeviceId?: string
714
+
715
+ /**
716
+ * 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断
717
+ */
718
+ EventTypes?: Array<number>
719
+
720
+ /**
721
+ * 偏移值
722
+ */
723
+ Offset?: number
724
+
725
+ /**
726
+ * limit限制值
727
+ */
728
+ Limit?: number
416
729
  }
417
730
 
418
731
  /**
@@ -434,6 +747,11 @@ export interface GetVideoListByConRequest {
434
747
  */
435
748
  Limit: number
436
749
 
750
+ /**
751
+ * 通道唯一标识
752
+ */
753
+ ChannelId?: string
754
+
437
755
  /**
438
756
  * 0:查询指定日期的录像;1:查询最近一天的录像;默认0
439
757
  */
@@ -441,19 +759,44 @@ export interface GetVideoListByConRequest {
441
759
 
442
760
  /**
443
761
  * 指定某天。取值【YYYY-MM-DD】
444
- 当LatestDay为空或为0时,本参数不允许为空。
762
+ 为空时默认查询最近一天的记录
445
763
  */
446
764
  Date?: string
447
765
 
448
766
  /**
449
- * 通道唯一标识
767
+ * 1: 云端录制 2: 本地录制
450
768
  */
451
- ChannelId?: string
769
+ Type?: number
770
+ }
452
771
 
772
+ /**
773
+ * ResetWarning请求参数结构体
774
+ */
775
+ export interface ResetWarningRequest {
453
776
  /**
454
- * 1: 云端录制 2: 本地录制
777
+ * 告警ID
455
778
  */
456
- Type?: number
779
+ Id?: number
780
+
781
+ /**
782
+ * Es中告警ID
783
+ */
784
+ Index?: string
785
+ }
786
+
787
+ /**
788
+ * DescribeDeviceMonitorData返回参数结构体
789
+ */
790
+ export interface DescribeDeviceMonitorDataResponse {
791
+ /**
792
+ * 查询设备统计monitor信息列表
793
+ */
794
+ Data: Array<DeviceMonitorValue>
795
+
796
+ /**
797
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
798
+ */
799
+ RequestId?: string
457
800
  }
458
801
 
459
802
  /**
@@ -481,9 +824,66 @@ export interface DevGroupInfo {
481
824
  ParentId?: string
482
825
 
483
826
  /**
484
- * 设备错误,仅在用户没权限或者设备已删除时返回具体结果
827
+ * 设备错误,仅在用户没权限或者设备已删除时返回具体结果
828
+ */
829
+ Error?: string
830
+ }
831
+
832
+ /**
833
+ * DescribeDeviceList请求参数结构体
834
+ */
835
+ export interface DescribeDeviceListRequest {
836
+ /**
837
+ * 偏移量,默认0
838
+ */
839
+ Offset?: number
840
+
841
+ /**
842
+ * 限制,默认200
843
+ */
844
+ Limit?: number
845
+
846
+ /**
847
+ * 设备名前缀
848
+ */
849
+ NickName?: string
850
+
851
+ /**
852
+ * 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型)
853
+ */
854
+ DeviceTypes?: Array<number>
855
+ }
856
+
857
+ /**
858
+ * DescribeRecordingPlans返回参数结构体
859
+ */
860
+ export interface DescribeRecordingPlansResponse {
861
+ /**
862
+ * 录制计划详情·列表
863
+ 注意:此字段可能返回 null,表示取不到有效值。
864
+ */
865
+ Plans: Array<RecordPlanDetail>
866
+
867
+ /**
868
+ * 录制计划总数
869
+ 注意:此字段可能返回 null,表示取不到有效值。
870
+ */
871
+ TotalCount: number
872
+
873
+ /**
874
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
875
+ */
876
+ RequestId?: string
877
+ }
878
+
879
+ /**
880
+ * ControlHomePosition返回参数结构体
881
+ */
882
+ export interface ControlHomePositionResponse {
883
+ /**
884
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
485
885
  */
486
- Error?: string
886
+ RequestId?: string
487
887
  }
488
888
 
489
889
  /**
@@ -538,6 +938,47 @@ export interface DescribeVideoListResponse {
538
938
  RequestId?: string
539
939
  }
540
940
 
941
+ /**
942
+ * 录制计划详情
943
+ */
944
+ export interface RecordPlanDetail {
945
+ /**
946
+ * 计划ID
947
+ 注意:此字段可能返回 null,表示取不到有效值。
948
+ */
949
+ PlanId: string
950
+
951
+ /**
952
+ * 计划名称
953
+ 注意:此字段可能返回 null,表示取不到有效值。
954
+ */
955
+ Name: string
956
+
957
+ /**
958
+ * 时间模板ID
959
+ 注意:此字段可能返回 null,表示取不到有效值。
960
+ */
961
+ TimeTemplateId: string
962
+
963
+ /**
964
+ * 时间模板名称
965
+ 注意:此字段可能返回 null,表示取不到有效值。
966
+ */
967
+ TimeTemplateName: string
968
+
969
+ /**
970
+ * 绑定的通道列表
971
+ 注意:此字段可能返回 null,表示取不到有效值。
972
+ */
973
+ Channels: Array<ChannelItem>
974
+
975
+ /**
976
+ * 存储周期(天)
977
+ 注意:此字段可能返回 null,表示取不到有效值。
978
+ */
979
+ RecordStorageTime: number
980
+ }
981
+
541
982
  /**
542
983
  * 普通设备的录像详情
543
984
  */
@@ -603,6 +1044,23 @@ export interface RecordTaskItem {
603
1044
  RecordId: string
604
1045
  }
605
1046
 
1047
+ /**
1048
+ * GB28181通道
1049
+ */
1050
+ export interface ChannelItem {
1051
+ /**
1052
+ * 设备唯一标识
1053
+ 注意:此字段可能返回 null,表示取不到有效值。
1054
+ */
1055
+ DeviceId: string
1056
+
1057
+ /**
1058
+ * 通道唯一标识
1059
+ 注意:此字段可能返回 null,表示取不到有效值。
1060
+ */
1061
+ ChannelId: string
1062
+ }
1063
+
606
1064
  /**
607
1065
  * DescribeIPCChannels请求参数结构体
608
1066
  */
@@ -658,6 +1116,32 @@ export interface DescribeSubGroupsRequest {
658
1116
  OnlyGroup?: number
659
1117
  }
660
1118
 
1119
+ /**
1120
+ * UpdateTimeTemplate请求参数结构体
1121
+ */
1122
+ export interface UpdateTimeTemplateRequest {
1123
+ /**
1124
+ * 时间模板ID
1125
+ */
1126
+ TemplateId: string
1127
+
1128
+ /**
1129
+ * 时间模板名称
1130
+ */
1131
+ Name?: string
1132
+
1133
+ /**
1134
+ * 是否全时录制,即7*24小时录制。
1135
+ 0:非全时录制;1:全时录制。默认1
1136
+ */
1137
+ IsAllWeek?: number
1138
+
1139
+ /**
1140
+ * 录制时间片段
1141
+ */
1142
+ TimeTemplateSpecs?: Array<TimeTemplateSpec>
1143
+ }
1144
+
661
1145
  /**
662
1146
  * DeleteRecordPlan请求参数结构体
663
1147
  */
@@ -712,6 +1196,11 @@ export interface GetVideoListByConResponse {
712
1196
  RequestId?: string
713
1197
  }
714
1198
 
1199
+ /**
1200
+ * DescribeCurrentDeviceData请求参数结构体
1201
+ */
1202
+ export type DescribeCurrentDeviceDataRequest = null
1203
+
715
1204
  /**
716
1205
  * 直播录制详情item
717
1206
  */
@@ -763,13 +1252,20 @@ export interface LiveRecordItem {
763
1252
  }
764
1253
 
765
1254
  /**
766
- * UpdateTimeTemplate返回参数结构体
1255
+ * DescribeIPCChannels返回参数结构体
767
1256
  */
768
- export interface UpdateTimeTemplateResponse {
1257
+ export interface DescribeIPCChannelsResponse {
769
1258
  /**
770
- * 操作结果,“OK”表示成功,其他表示失败。
771
- */
772
- Status: string
1259
+ * 通道总数
1260
+ 注意:此字段可能返回 null,表示取不到有效值。
1261
+ */
1262
+ TotalCount: number
1263
+
1264
+ /**
1265
+ * 通道详情列表
1266
+ 注意:此字段可能返回 null,表示取不到有效值。
1267
+ */
1268
+ DeviceList: Array<GroupDeviceItem>
773
1269
 
774
1270
  /**
775
1271
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -814,6 +1310,16 @@ export interface UpdateRecordPlanRequest {
814
1310
  IsModifyDevices?: number
815
1311
  }
816
1312
 
1313
+ /**
1314
+ * DescribeRecordingPlanById请求参数结构体
1315
+ */
1316
+ export interface DescribeRecordingPlanByIdRequest {
1317
+ /**
1318
+ * 录制计划ID
1319
+ */
1320
+ PlanId: string
1321
+ }
1322
+
817
1323
  /**
818
1324
  * ModifyDeviceData返回参数结构体
819
1325
  */
@@ -846,6 +1352,22 @@ export interface DescribeStatisticDetailsResponse {
846
1352
  RequestId?: string
847
1353
  }
848
1354
 
1355
+ /**
1356
+ * DescribeWarnMod返回参数结构体
1357
+ */
1358
+ export interface DescribeWarnModResponse {
1359
+ /**
1360
+ * 告警类型
1361
+ 注意:此字段可能返回 null,表示取不到有效值。
1362
+ */
1363
+ Data: string
1364
+
1365
+ /**
1366
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1367
+ */
1368
+ RequestId?: string
1369
+ }
1370
+
849
1371
  /**
850
1372
  * 分组下设备信息
851
1373
  */
@@ -909,6 +1431,24 @@ export interface GroupDeviceItem {
909
1431
  注意:此字段可能返回 null,表示取不到有效值。
910
1432
  */
911
1433
  Protocol?: string
1434
+
1435
+ /**
1436
+ * 设备创建时间
1437
+ 注意:此字段可能返回 null,表示取不到有效值。
1438
+ */
1439
+ CreateTime?: number
1440
+
1441
+ /**
1442
+ * 设备通道总数
1443
+ 注意:此字段可能返回 null,表示取不到有效值。
1444
+ */
1445
+ ChannelNum?: number
1446
+
1447
+ /**
1448
+ * 设备视频通道总数
1449
+ 注意:此字段可能返回 null,表示取不到有效值。
1450
+ */
1451
+ VideoChannelNum?: number
912
1452
  }
913
1453
 
914
1454
  /**
@@ -934,14 +1474,13 @@ export interface DescribeSubGroupsResponse {
934
1474
  }
935
1475
 
936
1476
  /**
937
- * GetRecordPlanById返回参数结构体
1477
+ * DescribeChannelStreamURL返回参数结构体
938
1478
  */
939
- export interface GetRecordPlanByIdResponse {
1479
+ export interface DescribeChannelStreamURLResponse {
940
1480
  /**
941
- * 录制计划详情
942
- 注意:此字段可能返回 null,表示取不到有效值。
943
- */
944
- Plan: RecordPlanItem
1481
+ * 设备实时流地址列表
1482
+ */
1483
+ Data: DescribeDeviceStreamsData
945
1484
 
946
1485
  /**
947
1486
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -949,6 +1488,33 @@ export interface GetRecordPlanByIdResponse {
949
1488
  RequestId?: string
950
1489
  }
951
1490
 
1491
+ /**
1492
+ * DescribeStatisticDetails请求参数结构体
1493
+ */
1494
+ export interface DescribeStatisticDetailsRequest {
1495
+ /**
1496
+ * 开始日期,格式【YYYY-MM-DD】
1497
+ */
1498
+ StartDate: string
1499
+
1500
+ /**
1501
+ * 结束日期,格式【YYYY-MM-DD】
1502
+ */
1503
+ EndDate: string
1504
+
1505
+ /**
1506
+ * 统计项。取值范围:
1507
+ 1.录制设备数:RecordingDevice
1508
+ 2.非录制设备数:NonRecordingDevice
1509
+ 3.观看流量总数:WatchFlux
1510
+ 4.已用存储容量总数:StorageUsage
1511
+ 5. X-P2P分享流量: P2PFluxTotal
1512
+ 6. X-P2P峰值带宽: P2PPeakValue
1513
+ 7. RTMP推流路数(直播推流): LivePushTotal
1514
+ */
1515
+ StatisticField: string
1516
+ }
1517
+
952
1518
  /**
953
1519
  * DeleteDevice请求参数结构体
954
1520
  */
@@ -1004,6 +1570,16 @@ export interface CreateTimeTemplateRequest {
1004
1570
  TimeTemplateSpecs?: Array<TimeTemplateSpec>
1005
1571
  }
1006
1572
 
1573
+ /**
1574
+ * ModifyBindSceneChannels返回参数结构体
1575
+ */
1576
+ export interface ModifyBindSceneChannelsResponse {
1577
+ /**
1578
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1579
+ */
1580
+ RequestId?: string
1581
+ }
1582
+
1007
1583
  /**
1008
1584
  * CreateMessageForward请求参数结构体
1009
1585
  */
@@ -1034,14 +1610,100 @@ export interface CreateMessageForwardRequest {
1034
1610
  MessageType: string
1035
1611
 
1036
1612
  /**
1037
- * kafka topic id
1613
+ * kafka topic id
1614
+ */
1615
+ TopicId: string
1616
+
1617
+ /**
1618
+ * kafka topic 名称
1619
+ */
1620
+ TopicName: string
1621
+ }
1622
+
1623
+ /**
1624
+ * 分组信息
1625
+ */
1626
+ export interface GroupItem {
1627
+ /**
1628
+ * 分组名称
1629
+ 注意:此字段可能返回 null,表示取不到有效值。
1630
+ */
1631
+ GroupName: string
1632
+
1633
+ /**
1634
+ * 父分组ID
1635
+ 注意:此字段可能返回 null,表示取不到有效值。
1636
+ */
1637
+ ParentId: string
1638
+
1639
+ /**
1640
+ * 分组ID
1641
+ 注意:此字段可能返回 null,表示取不到有效值。
1642
+ */
1643
+ GroupId: string
1644
+
1645
+ /**
1646
+ * 分组路径
1647
+ 注意:此字段可能返回 null,表示取不到有效值。
1648
+ */
1649
+ GroupPath?: string
1650
+
1651
+ /**
1652
+ * 分组描述
1653
+ 注意:此字段可能返回 null,表示取不到有效值。
1654
+ */
1655
+ GroupDescribe?: string
1656
+
1657
+ /**
1658
+ * 分组绑定设备数
1659
+ 注意:此字段可能返回 null,表示取不到有效值。
1660
+ */
1661
+ DeviceNum?: number
1662
+
1663
+ /**
1664
+ * 子分组数量
1665
+ 注意:此字段可能返回 null,表示取不到有效值。
1666
+ */
1667
+ SubGroupNum?: number
1668
+
1669
+ /**
1670
+ * 分组附加信息
1671
+ 注意:此字段可能返回 null,表示取不到有效值。
1672
+ */
1673
+ ExtraInformation?: string
1674
+
1675
+ /**
1676
+ * 分组类型
1677
+ 注意:此字段可能返回 null,表示取不到有效值。
1678
+ */
1679
+ GroupType?: string
1680
+
1681
+ /**
1682
+ * 创建时间
1683
+ 注意:此字段可能返回 null,表示取不到有效值。
1684
+ */
1685
+ CreateTime?: number
1686
+
1687
+ /**
1688
+ * 分组状态
1689
+ 注意:此字段可能返回 null,表示取不到有效值。
1690
+ */
1691
+ GroupStatus?: number
1692
+ }
1693
+
1694
+ /**
1695
+ * DeleteWarning请求参数结构体
1696
+ */
1697
+ export interface DeleteWarningRequest {
1698
+ /**
1699
+ * 告警ID
1038
1700
  */
1039
- TopicId: string
1701
+ Id?: number
1040
1702
 
1041
1703
  /**
1042
- * kafka topic 名称
1704
+ * 告警索引
1043
1705
  */
1044
- TopicName: string
1706
+ Index?: string
1045
1707
  }
1046
1708
 
1047
1709
  /**
@@ -1105,50 +1767,91 @@ export interface ModifyLiveRecordPlanResponse {
1105
1767
  }
1106
1768
 
1107
1769
  /**
1108
- * 频道信息
1770
+ * DescribeXP2PData返回参数结构体
1109
1771
  */
1110
- export interface LiveChannelInfo {
1772
+ export interface DescribeXP2PDataResponse {
1111
1773
  /**
1112
- * 频道ID
1774
+ * [log_time,cdn_bytes , p2p_bytes, online_people, stuck_times, stuck_people,request,request_success,request_fail,play_fail]
1775
+ [时间戳,cdn流量(字节) , p2p流量(字节), 在线人数, 卡播次数, 卡播人数,起播请求次数,起播成功次数,起播失败次数,播放失败次数, pcdn cdn流量(字节), pcdn路由流量(字节), 上传流量(字节)]
1776
+ [1481016480, 46118502414, 75144943171, 61691, 3853, 0,0,0,0,0, 0, 0, 0]
1113
1777
  注意:此字段可能返回 null,表示取不到有效值。
1114
1778
  */
1115
- LiveChannelId: string
1779
+ Data: string
1116
1780
 
1117
1781
  /**
1118
- * 频道名称
1119
- 注意:此字段可能返回 null,表示取不到有效值。
1120
- */
1121
- LiveChannelName: string
1782
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1783
+ */
1784
+ RequestId?: string
1785
+ }
1122
1786
 
1787
+ /**
1788
+ * DescribeDeviceEvent返回参数结构体
1789
+ */
1790
+ export interface DescribeDeviceEventResponse {
1123
1791
  /**
1124
- * 频道类型
1792
+ * 总数
1125
1793
  注意:此字段可能返回 null,表示取不到有效值。
1126
1794
  */
1127
- LiveChannelType: number
1795
+ TotalCount: number
1128
1796
 
1129
1797
  /**
1130
- * 通道直播状态:1: 未推流,2: 推流中
1798
+ * 事件列表
1131
1799
  注意:此字段可能返回 null,表示取不到有效值。
1132
1800
  */
1133
- LiveStatus: number
1801
+ Events: Array<Events>
1134
1802
 
1135
1803
  /**
1136
- * 推流地址
1804
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1805
+ */
1806
+ RequestId?: string
1807
+ }
1808
+
1809
+ /**
1810
+ * 大盘统计-录像存储统计 出参Value
1811
+ */
1812
+ export interface RecordStatisticValue {
1813
+ /**
1814
+ * 期望执行时间 秒
1137
1815
  注意:此字段可能返回 null,表示取不到有效值。
1138
1816
  */
1139
- PushStreamAddress: string
1817
+ ExpectTimeLen: number
1140
1818
 
1141
1819
  /**
1142
- * 创建时间
1820
+ * 实际执行时间 秒
1143
1821
  注意:此字段可能返回 null,表示取不到有效值。
1144
1822
  */
1145
- CreateTime: string
1823
+ RecordTimeLen: number
1146
1824
 
1147
1825
  /**
1148
- * 修改时间
1826
+ * 存储大小 G
1149
1827
  注意:此字段可能返回 null,表示取不到有效值。
1150
1828
  */
1151
- UpdateTime: string
1829
+ FileSize: number
1830
+ }
1831
+
1832
+ /**
1833
+ * ModifyScene请求参数结构体
1834
+ */
1835
+ export interface ModifySceneRequest {
1836
+ /**
1837
+ * 场景ID
1838
+ */
1839
+ IntId: number
1840
+
1841
+ /**
1842
+ * 场景名称
1843
+ */
1844
+ SceneName?: string
1845
+
1846
+ /**
1847
+ * 触发条件
1848
+ */
1849
+ SceneTrigger?: string
1850
+
1851
+ /**
1852
+ * 录制时长(秒)
1853
+ */
1854
+ RecordDuration?: number
1152
1855
  }
1153
1856
 
1154
1857
  /**
@@ -1176,7 +1879,7 @@ export interface DescribeAllDeviceListRequest {
1176
1879
  DeviceIds?: Array<string>
1177
1880
 
1178
1881
  /**
1179
- * 设备类型过滤
1882
+ * 设备类型过滤,设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型)
1180
1883
  */
1181
1884
  DeviceTypes?: Array<number>
1182
1885
  }
@@ -1221,6 +1924,21 @@ export interface GetRecordPlanByIdRequest {
1221
1924
  PlanId: string
1222
1925
  }
1223
1926
 
1927
+ /**
1928
+ * ModifyRecordingPlan返回参数结构体
1929
+ */
1930
+ export interface ModifyRecordingPlanResponse {
1931
+ /**
1932
+ * 操作结果
1933
+ */
1934
+ Status: string
1935
+
1936
+ /**
1937
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1938
+ */
1939
+ RequestId?: string
1940
+ }
1941
+
1224
1942
  /**
1225
1943
  * DescribeLiveChannelList请求参数结构体
1226
1944
  */
@@ -1335,30 +2053,31 @@ export interface GroupInfo {
1335
2053
  }
1336
2054
 
1337
2055
  /**
1338
- * DescribeStatisticDetails请求参数结构体
2056
+ * ControlPreset请求参数结构体
1339
2057
  */
1340
- export interface DescribeStatisticDetailsRequest {
2058
+ export interface ControlPresetRequest {
1341
2059
  /**
1342
- * 开始日期,格式【YYYY-MM-DD】
2060
+ * 通道ID
1343
2061
  */
1344
- StartDate: string
2062
+ ChannelId: string
1345
2063
 
1346
2064
  /**
1347
- * 结束日期,格式【YYYY-MM-DD】
2065
+ * 控制命令:
2066
+ Set-设置当前位置为预置位
2067
+ Del-删除指定的预置位
2068
+ Call-调用指定的预置位
2069
+ */
2070
+ Command: string
2071
+
2072
+ /**
2073
+ * 预置位编码 范围1-8
1348
2074
  */
1349
- EndDate: string
2075
+ PresetId: number
1350
2076
 
1351
2077
  /**
1352
- * 统计项。取值范围:
1353
- 1.录制设备数:RecordingDevice
1354
- 2.非录制设备数:NonRecordingDevice
1355
- 3.观看流量总数:WatchFlux
1356
- 4.已用存储容量总数:StorageUsage
1357
- 5. X-P2P分享流量: P2PFluxTotal
1358
- 6. X-P2P峰值带宽: P2PPeakValue
1359
- 7. RTMP推流路数(直播推流): LivePushTotal
1360
- */
1361
- StatisticField: string
2078
+ * 设备Id
2079
+ */
2080
+ DeviceId: string
1362
2081
  }
1363
2082
 
1364
2083
  /**
@@ -1421,6 +2140,21 @@ export interface DescribeRecordStreamData {
1421
2140
  StreamId: string
1422
2141
  }
1423
2142
 
2143
+ /**
2144
+ * DeleteRecordingPlan返回参数结构体
2145
+ */
2146
+ export interface DeleteRecordingPlanResponse {
2147
+ /**
2148
+ * 操作结果,OK:成功,其他:失败
2149
+ */
2150
+ Status: string
2151
+
2152
+ /**
2153
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2154
+ */
2155
+ RequestId?: string
2156
+ }
2157
+
1424
2158
  /**
1425
2159
  * CreateDeviceGroup请求参数结构体
1426
2160
  */
@@ -1442,29 +2176,74 @@ export interface CreateDeviceGroupRequest {
1442
2176
  }
1443
2177
 
1444
2178
  /**
1445
- * UpdateTimeTemplate请求参数结构体
2179
+ * 场景列表元素
1446
2180
  */
1447
- export interface UpdateTimeTemplateRequest {
2181
+ export interface SceneItem {
1448
2182
  /**
1449
- * 时间模板ID
2183
+ * 场景ID
2184
+ 注意:此字段可能返回 null,表示取不到有效值。
2185
+ */
2186
+ IntId: number
2187
+
2188
+ /**
2189
+ * 用户UIN
2190
+ 注意:此字段可能返回 null,表示取不到有效值。
2191
+ */
2192
+ Uin: string
2193
+
2194
+ /**
2195
+ * 场景名称
2196
+ 注意:此字段可能返回 null,表示取不到有效值。
2197
+ */
2198
+ SceneName: string
2199
+
2200
+ /**
2201
+ * 触发规则
2202
+ 注意:此字段可能返回 null,表示取不到有效值。
2203
+ */
2204
+ SceneTrigger: string
2205
+
2206
+ /**
2207
+ * 录制时长 秒
2208
+ 注意:此字段可能返回 null,表示取不到有效值。
2209
+ */
2210
+ RecordDuration: number
2211
+
2212
+ /**
2213
+ * 存储时长 天
2214
+ 注意:此字段可能返回 null,表示取不到有效值。
2215
+ */
2216
+ StoreDuration: number
2217
+
2218
+ /**
2219
+ * 创建时间
1450
2220
  */
1451
- TemplateId: string
2221
+ CreateTime: string
1452
2222
 
1453
2223
  /**
1454
- * 时间模板名称
2224
+ * 修改时间
1455
2225
  */
1456
- Name?: string
2226
+ UpdateTime: string
2227
+ }
1457
2228
 
2229
+ /**
2230
+ * ModifyBindSceneChannels请求参数结构体
2231
+ */
2232
+ export interface ModifyBindSceneChannelsRequest {
1458
2233
  /**
1459
- * 是否全时录制,即7*24小时录制。
1460
- 0:非全时录制;1:全时录制。默认1
1461
- */
1462
- IsAllWeek?: number
2234
+ * 场景ID
2235
+ */
2236
+ SceneId: number
1463
2237
 
1464
2238
  /**
1465
- * 录制时间片段
2239
+ * 1: 绑定 2: 解绑
1466
2240
  */
1467
- TimeTemplateSpecs?: Array<TimeTemplateSpec>
2241
+ Type: number
2242
+
2243
+ /**
2244
+ * 通道列表
2245
+ */
2246
+ Channels: Array<ChannelItem>
1468
2247
  }
1469
2248
 
1470
2249
  /**
@@ -1487,6 +2266,26 @@ export interface DescribeLiveRecordPlanIdsResponse {
1487
2266
  RequestId?: string
1488
2267
  }
1489
2268
 
2269
+ /**
2270
+ * ModifyBindSceneDevice请求参数结构体
2271
+ */
2272
+ export interface ModifyBindSceneDeviceRequest {
2273
+ /**
2274
+ * 场景ID
2275
+ */
2276
+ SceneId: number
2277
+
2278
+ /**
2279
+ * 1: 绑定 2: 解绑
2280
+ */
2281
+ Type: number
2282
+
2283
+ /**
2284
+ * 设备列表
2285
+ */
2286
+ Devices: Array<DeviceItem>
2287
+ }
2288
+
1490
2289
  /**
1491
2290
  * CreateDevice返回参数结构体
1492
2291
  */
@@ -1504,7 +2303,7 @@ export interface CreateDeviceResponse {
1504
2303
  DeviceId: string
1505
2304
 
1506
2305
  /**
1507
- * 设备虚拟组信息,仅在创建NVR/VMS时返回该值
2306
+ * 设备虚拟组信息,仅在创建NVR时返回该值
1508
2307
  注意:此字段可能返回 null,表示取不到有效值。
1509
2308
  */
1510
2309
  VirtualGroupId: string
@@ -1515,29 +2314,139 @@ export interface CreateDeviceResponse {
1515
2314
  RequestId?: string
1516
2315
  }
1517
2316
 
1518
- /**
1519
- * CreateDevice请求参数结构体
1520
- */
1521
- export interface CreateDeviceRequest {
2317
+ /**
2318
+ * CreateDevice请求参数结构体
2319
+ */
2320
+ export interface CreateDeviceRequest {
2321
+ /**
2322
+ * 设备名称
2323
+ */
2324
+ NickName: string
2325
+
2326
+ /**
2327
+ * 设备密码
2328
+ */
2329
+ PassWord: string
2330
+
2331
+ /**
2332
+ * 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型)
2333
+ */
2334
+ DeviceType?: number
2335
+
2336
+ /**
2337
+ * 设备需要绑定的分组ID,参数为空则默认绑定到根分组
2338
+ */
2339
+ GroupId?: string
2340
+ }
2341
+
2342
+ /**
2343
+ * 告警列表出参
2344
+ */
2345
+ export interface WarningsData {
2346
+ /**
2347
+ * 唯一ID
2348
+ 注意:此字段可能返回 null,表示取不到有效值。
2349
+ */
2350
+ Id: number
2351
+
2352
+ /**
2353
+ * 设备ID
2354
+ 注意:此字段可能返回 null,表示取不到有效值。
2355
+ */
2356
+ DeviceId: string
2357
+
2358
+ /**
2359
+ * 设备名称
2360
+ 注意:此字段可能返回 null,表示取不到有效值。
2361
+ */
2362
+ DeviceName: string
2363
+
2364
+ /**
2365
+ * 告警通道
2366
+ 注意:此字段可能返回 null,表示取不到有效值。
2367
+ */
2368
+ WarnChannel: string
2369
+
2370
+ /**
2371
+ * 告警级别 1: "一级警情", 2: "二级警情", 3: "三级警情", 4: "四级警情",
2372
+ 注意:此字段可能返回 null,表示取不到有效值。
2373
+ */
2374
+ WarnLevel: number
2375
+
2376
+ /**
2377
+ * 告警级别名称
2378
+ 注意:此字段可能返回 null,表示取不到有效值。
2379
+ */
2380
+ WarnLevelName: string
2381
+
2382
+ /**
2383
+ * 告警方式 2 设备报警 5 视频报警 6 设备故障报警
2384
+ 注意:此字段可能返回 null,表示取不到有效值。
2385
+ */
2386
+ WarnMode: number
2387
+
1522
2388
  /**
1523
- * 设备名称
1524
- */
1525
- NickName: string
2389
+ * 告警方式名称
2390
+ 注意:此字段可能返回 null,表示取不到有效值。
2391
+ */
2392
+ WarnModeName: string
1526
2393
 
1527
2394
  /**
1528
- * 设备密码
1529
- */
1530
- PassWord: string
2395
+ * 告警类型 2: {
2396
+ Name: "设备报警",
2397
+ WarnType: map[int]string{
2398
+ 1: "视频丢失报警",
2399
+ 2: "设备防拆报警",
2400
+ 3: "存储设备磁盘满报警",
2401
+ 4: "设备高温报警",
2402
+ 5: "设备低温报警",
2403
+ },
2404
+ },
2405
+ 5: {
2406
+ Name: "视频报警",
2407
+ WarnType: map[int]string{
2408
+ 1: "人工视频报警",
2409
+ 2: "运动目标检测报警",
2410
+ 3: "遗留物检测报警",
2411
+ 4: "物体移除检测报警",
2412
+ 5: "绊线检测报警",
2413
+ 6: "入侵检测报警",
2414
+ 7: "逆行检测报警",
2415
+ 8: "徘徊检测报警",
2416
+ 9: "流量统计报警",
2417
+ 10: "密度检测报警",
2418
+ 11: "视频异常检测报警",
2419
+ 12: "快速移动报警",
2420
+ },
2421
+ },
2422
+ 6: {
2423
+ Name: "设备故障报警",
2424
+ WarnType: map[int]string{
2425
+ 1: "存储设备磁盘故障报警",
2426
+ 2: "存储设备风扇故障报警",
2427
+ },
2428
+ }
2429
+ 注意:此字段可能返回 null,表示取不到有效值。
2430
+ */
2431
+ WarnType: number
1531
2432
 
1532
2433
  /**
1533
- * 设备类型 2:国标IPC设备; 3:NVR设备
1534
- */
1535
- DeviceType?: number
2434
+ * 是否删除
2435
+ 注意:此字段可能返回 null,表示取不到有效值。
2436
+ */
2437
+ Del: number
1536
2438
 
1537
2439
  /**
1538
- * 设备需要绑定的分组ID,参数为空则默认绑定到根分组
1539
- */
1540
- GroupId?: string
2440
+ * 创建时间
2441
+ 注意:此字段可能返回 null,表示取不到有效值。
2442
+ */
2443
+ CreateTime: string
2444
+
2445
+ /**
2446
+ * 更新时间
2447
+ 注意:此字段可能返回 null,表示取不到有效值。
2448
+ */
2449
+ UpdateTime: string
1541
2450
  }
1542
2451
 
1543
2452
  /**
@@ -1592,6 +2501,16 @@ export interface DescribeStatisticSummaryResponse {
1592
2501
  RequestId?: string
1593
2502
  }
1594
2503
 
2504
+ /**
2505
+ * ModifyBindPlanLiveChannel返回参数结构体
2506
+ */
2507
+ export interface ModifyBindPlanLiveChannelResponse {
2508
+ /**
2509
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2510
+ */
2511
+ RequestId?: string
2512
+ }
2513
+
1595
2514
  /**
1596
2515
  * DescribeRecordStream请求参数结构体
1597
2516
  */
@@ -1602,22 +2521,22 @@ export interface DescribeRecordStreamRequest {
1602
2521
  DeviceId: string
1603
2522
 
1604
2523
  /**
1605
- * 流失效时间
2524
+ * 流失效时间,UNIX时间戳,30天内
1606
2525
  */
1607
2526
  ExpireTime: number
1608
2527
 
1609
2528
  /**
1610
- * 录像文件Id
2529
+ * 录像文件ID
1611
2530
  */
1612
2531
  RecordId?: string
1613
2532
 
1614
2533
  /**
1615
- * 录像流开始时间,当录像文件Id为空时有效
2534
+ * 录像流开始时间,当录像文件ID为空时有效,UNIX时间戳
1616
2535
  */
1617
2536
  StartTime?: number
1618
2537
 
1619
2538
  /**
1620
- * 录像流结束时间,当录像文件Id为空时有效
2539
+ * 录像流结束时间,当录像文件iD为空时有效,UNIX时间戳
1621
2540
  */
1622
2541
  EndTime?: number
1623
2542
 
@@ -1627,6 +2546,33 @@ export interface DescribeRecordStreamRequest {
1627
2546
  ChannelId?: string
1628
2547
  }
1629
2548
 
2549
+ /**
2550
+ * 预置位结构出参
2551
+ */
2552
+ export interface PresetItem {
2553
+ /**
2554
+ * 预置位ID
2555
+ 注意:此字段可能返回 null,表示取不到有效值。
2556
+ */
2557
+ PresetId: number
2558
+
2559
+ /**
2560
+ * 预置位名称
2561
+ 注意:此字段可能返回 null,表示取不到有效值。
2562
+ */
2563
+ PresetName: string
2564
+
2565
+ /**
2566
+ * 预置位状态 0:未设置预置位 1:已设置预置位 2:已设置预置位&看守位
2567
+ */
2568
+ Status: number
2569
+
2570
+ /**
2571
+ * 预置位启用时的自动归位时间
2572
+ */
2573
+ ResetTime: number
2574
+ }
2575
+
1630
2576
  /**
1631
2577
  * BindGroupDevices请求参数结构体
1632
2578
  */
@@ -1642,6 +2588,36 @@ export interface BindGroupDevicesRequest {
1642
2588
  DeviceList: Array<string>
1643
2589
  }
1644
2590
 
2591
+ /**
2592
+ * ControlHomePosition请求参数结构体
2593
+ */
2594
+ export interface ControlHomePositionRequest {
2595
+ /**
2596
+ * 通道ID
2597
+ */
2598
+ ChannelId: string
2599
+
2600
+ /**
2601
+ * 设备Id
2602
+ */
2603
+ DeviceId: string
2604
+
2605
+ /**
2606
+ * 看守位使能 0-停用看守位 1-启用看守位
2607
+ */
2608
+ Enable?: number
2609
+
2610
+ /**
2611
+ * 预置位编码 范围1-8,启用看守位时必填
2612
+ */
2613
+ PresetId?: number
2614
+
2615
+ /**
2616
+ * 看守位自动归位时间, 启用看守位时必填
2617
+ */
2618
+ ResetTime?: number
2619
+ }
2620
+
1645
2621
  /**
1646
2622
  * ModifyLiveRecordPlan请求参数结构体
1647
2623
  */
@@ -1663,9 +2639,9 @@ export interface ModifyLiveRecordPlanRequest {
1663
2639
  }
1664
2640
 
1665
2641
  /**
1666
- * 场景列表元素
2642
+ * DescribeScene返回参数结构体
1667
2643
  */
1668
- export interface SceneItem {
2644
+ export interface DescribeSceneResponse {
1669
2645
  /**
1670
2646
  * 场景ID
1671
2647
  注意:此字段可能返回 null,表示取不到有效值。
@@ -1673,10 +2649,10 @@ export interface SceneItem {
1673
2649
  IntId: number
1674
2650
 
1675
2651
  /**
1676
- * 用户UIN
2652
+ * 录制时长(秒)
1677
2653
  注意:此字段可能返回 null,表示取不到有效值。
1678
2654
  */
1679
- Uin: string
2655
+ RecordDuration: number
1680
2656
 
1681
2657
  /**
1682
2658
  * 场景名称
@@ -1685,32 +2661,53 @@ export interface SceneItem {
1685
2661
  SceneName: string
1686
2662
 
1687
2663
  /**
1688
- * 触发规则
2664
+ * 场景触发规则
1689
2665
  注意:此字段可能返回 null,表示取不到有效值。
1690
2666
  */
1691
2667
  SceneTrigger: string
1692
2668
 
1693
2669
  /**
1694
- * 录制时长
2670
+ * 存储时长 (天)
1695
2671
  注意:此字段可能返回 null,表示取不到有效值。
1696
2672
  */
1697
- RecordDuration: number
2673
+ StoreDuration: number
1698
2674
 
1699
2675
  /**
1700
- * 存储时长 天
2676
+ * 创建时间
1701
2677
  注意:此字段可能返回 null,表示取不到有效值。
1702
2678
  */
1703
- StoreDuration: number
2679
+ CreateTime: string
1704
2680
 
1705
2681
  /**
1706
- * 创建时间
2682
+ * 更新时间
2683
+ 注意:此字段可能返回 null,表示取不到有效值。
2684
+ */
2685
+ UpdateTime: string
2686
+
2687
+ /**
2688
+ * 用户Uin
1707
2689
  */
1708
- CreateTime: string
2690
+ Uin: string
1709
2691
 
1710
2692
  /**
1711
- * 修改时间
2693
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1712
2694
  */
1713
- UpdateTime: string
2695
+ RequestId?: string
2696
+ }
2697
+
2698
+ /**
2699
+ * DescribeDevice返回参数结构体
2700
+ */
2701
+ export interface DescribeDeviceResponse {
2702
+ /**
2703
+ * 设备详情信息
2704
+ */
2705
+ Device: AllDeviceInfo
2706
+
2707
+ /**
2708
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2709
+ */
2710
+ RequestId?: string
1714
2711
  }
1715
2712
 
1716
2713
  /**
@@ -1781,6 +2778,45 @@ export interface DescribeLiveChannelResponse {
1781
2778
  RequestId?: string
1782
2779
  }
1783
2780
 
2781
+ /**
2782
+ * DescribeChannels返回参数结构体
2783
+ */
2784
+ export interface DescribeChannelsResponse {
2785
+ /**
2786
+ * 通道总数
2787
+ 注意:此字段可能返回 null,表示取不到有效值。
2788
+ */
2789
+ TotalCount: number
2790
+
2791
+ /**
2792
+ * 通道详情列表
2793
+ 注意:此字段可能返回 null,表示取不到有效值。
2794
+ */
2795
+ Channels: Array<ChannelDetail>
2796
+
2797
+ /**
2798
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2799
+ */
2800
+ RequestId?: string
2801
+ }
2802
+
2803
+ /**
2804
+ * 查询设备统计返回值
2805
+ */
2806
+ export interface DeviceMonitorValue {
2807
+ /**
2808
+ * 统计值
2809
+ 注意:此字段可能返回 null,表示取不到有效值。
2810
+ */
2811
+ Value: number
2812
+
2813
+ /**
2814
+ * 统计时间
2815
+ 注意:此字段可能返回 null,表示取不到有效值。
2816
+ */
2817
+ Time: number
2818
+ }
2819
+
1784
2820
  /**
1785
2821
  * DescribeMessageForwards请求参数结构体
1786
2822
  */
@@ -1806,6 +2842,11 @@ export interface ControlDevicePTZResponse {
1806
2842
  RequestId?: string
1807
2843
  }
1808
2844
 
2845
+ /**
2846
+ * DescribeRecordingPlans请求参数结构体
2847
+ */
2848
+ export type DescribeRecordingPlansRequest = null
2849
+
1809
2850
  /**
1810
2851
  * 在操作时间模板时,用于描述各个时间片段
1811
2852
  */
@@ -1871,39 +2912,155 @@ export interface UpdateDeviceGroupRequest {
1871
2912
  /**
1872
2913
  * 分组名称
1873
2914
  */
1874
- GroupName: string
2915
+ GroupName: string
2916
+
2917
+ /**
2918
+ * 分组ID
2919
+ */
2920
+ GroupId: string
2921
+
2922
+ /**
2923
+ * 分组描述
2924
+ */
2925
+ GroupDescribe?: string
2926
+
2927
+ /**
2928
+ * 新父分组ID,用于修改分组路径
2929
+ */
2930
+ NewParentId?: string
2931
+ }
2932
+
2933
+ /**
2934
+ * DescribeChannelsByLiveRecordPlan返回参数结构体
2935
+ */
2936
+ export interface DescribeChannelsByLiveRecordPlanResponse {
2937
+ /**
2938
+ * 总个数
2939
+ 注意:此字段可能返回 null,表示取不到有效值。
2940
+ */
2941
+ TotalCount: number
2942
+
2943
+ /**
2944
+ * 通道详情数组
2945
+ 注意:此字段可能返回 null,表示取不到有效值。
2946
+ */
2947
+ LiveChannels: Array<LiveChannelItem>
2948
+
2949
+ /**
2950
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2951
+ */
2952
+ RequestId?: string
2953
+ }
2954
+
2955
+ /**
2956
+ * DescribeGroupDevices请求参数结构体
2957
+ */
2958
+ export interface DescribeGroupDevicesRequest {
2959
+ /**
2960
+ * 分组ID
2961
+ */
2962
+ GroupId: string
2963
+
2964
+ /**
2965
+ * 偏移量,默认0
2966
+ */
2967
+ Offset?: number
2968
+
2969
+ /**
2970
+ * 限制值,默认200
2971
+ */
2972
+ Limit?: number
2973
+
2974
+ /**
2975
+ * 设备名称,根据设备名称模糊匹配时必填
2976
+ */
2977
+ NickName?: string
2978
+
2979
+ /**
2980
+ * 过滤不可录制设备
2981
+ */
2982
+ Recordable?: number
2983
+
2984
+ /**
2985
+ * 当Group是普通组的时候,支持根据DeviceTypes筛选类型,
2986
+ 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型)
2987
+ */
2988
+ DeviceTypes?: Array<number>
2989
+ }
2990
+
2991
+ /**
2992
+ * DescribeGroupById请求参数结构体
2993
+ */
2994
+ export interface DescribeGroupByIdRequest {
2995
+ /**
2996
+ * 分组ID
2997
+ */
2998
+ GroupId: string
2999
+ }
3000
+
3001
+ /**
3002
+ * 设备事件列表
3003
+ */
3004
+ export interface Events {
3005
+ /**
3006
+ * 开始时间,秒级时间戳
3007
+ 注意:此字段可能返回 null,表示取不到有效值。
3008
+ */
3009
+ EventTime: number
3010
+
3011
+ /**
3012
+ * 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断
3013
+ 注意:此字段可能返回 null,表示取不到有效值。
3014
+ */
3015
+ EventType: number
3016
+
3017
+ /**
3018
+ * 事件描述
3019
+ 注意:此字段可能返回 null,表示取不到有效值。
3020
+ */
3021
+ EventDesc: string
3022
+
3023
+ /**
3024
+ * 设备类型
3025
+ */
3026
+ DeviceType: number
3027
+
3028
+ /**
3029
+ * 设备地址
3030
+ */
3031
+ DeviceAddress: string
1875
3032
 
1876
3033
  /**
1877
- * 分组ID
3034
+ * 设备Id
1878
3035
  */
1879
- GroupId: string
3036
+ DeviceId: string
1880
3037
 
1881
3038
  /**
1882
- * 分组描述
3039
+ * 通道Id
1883
3040
  */
1884
- GroupDescribe?: string
3041
+ ChannelId: string
1885
3042
 
1886
3043
  /**
1887
- * 新父分组ID,用于修改分组路径
3044
+ * 事件日志
1888
3045
  */
1889
- NewParentId?: string
1890
- }
3046
+ EventLog: string
1891
3047
 
1892
- /**
1893
- * DescribeChannelsByLiveRecordPlan返回参数结构体
1894
- */
1895
- export interface DescribeChannelsByLiveRecordPlanResponse {
1896
3048
  /**
1897
- * 总个数
3049
+ * 设备备注名称
1898
3050
  注意:此字段可能返回 null,表示取不到有效值。
1899
3051
  */
1900
- TotalCount: number
3052
+ DeviceName: string
3053
+ }
1901
3054
 
3055
+ /**
3056
+ * UpdateDevicePassWord返回参数结构体
3057
+ */
3058
+ export interface UpdateDevicePassWordResponse {
1902
3059
  /**
1903
- * 通道详情数组
3060
+ * 操作结果,“OK”表示成功,其他表示失败。
1904
3061
  注意:此字段可能返回 null,表示取不到有效值。
1905
3062
  */
1906
- LiveChannels: Array<LiveChannelItem>
3063
+ Status: string
1907
3064
 
1908
3065
  /**
1909
3066
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1912,80 +3069,93 @@ export interface DescribeChannelsByLiveRecordPlanResponse {
1912
3069
  }
1913
3070
 
1914
3071
  /**
1915
- * DescribeGroupDevices请求参数结构体
3072
+ * DescribeLiveRecordPlanById返回参数结构体
1916
3073
  */
1917
- export interface DescribeGroupDevicesRequest {
3074
+ export interface DescribeLiveRecordPlanByIdResponse {
1918
3075
  /**
1919
- * 分组ID
3076
+ * 计划名称
1920
3077
  */
1921
- GroupId: string
3078
+ PlanName: string
1922
3079
 
1923
3080
  /**
1924
- * 偏移量,默认0
3081
+ * 模板ID
1925
3082
  */
1926
- Offset?: number
3083
+ TemplateId: string
1927
3084
 
1928
3085
  /**
1929
- * 限制值,默认200
3086
+ * 模板名称
1930
3087
  */
1931
- Limit?: number
3088
+ TemplateName: string
1932
3089
 
1933
3090
  /**
1934
- * 设备名称,根据设备名称模糊匹配时必填
3091
+ * 存储时间
1935
3092
  */
1936
- NickName?: string
3093
+ RecordStorageTime: number
1937
3094
 
1938
3095
  /**
1939
- * 过滤不可录制设备
3096
+ * 计划类型
1940
3097
  */
1941
- Recordable?: number
3098
+ PlanType: number
1942
3099
 
1943
3100
  /**
1944
- * 当Group是普通组的时候,支持根据deviceTypes筛选类型
1945
- 0: 普通摄像头1: 国标VMS设备 2: 国标IPC设备 3: 国标NVR设备 4: 国标NVR通道 5: 国标VMS通道 6: 国标IPC通道 9: 智能告警设备 10: 带有RTSP固定地址的设备
1946
- */
1947
- DeviceTypes?: Array<number>
3101
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3102
+ */
3103
+ RequestId?: string
1948
3104
  }
1949
3105
 
1950
3106
  /**
1951
- * DescribeGroupById请求参数结构体
3107
+ * DeleteChannel请求参数结构体
1952
3108
  */
1953
- export interface DescribeGroupByIdRequest {
3109
+ export interface DeleteChannelRequest {
1954
3110
  /**
1955
- * 分组ID
3111
+ * 设备ID
1956
3112
  */
1957
- GroupId: string
3113
+ DeviceId: string
3114
+
3115
+ /**
3116
+ * 通道ID
3117
+ */
3118
+ ChannelId: string
1958
3119
  }
1959
3120
 
1960
3121
  /**
1961
- * UpdateDevicePassWord返回参数结构体
3122
+ * DescribeXP2PData请求参数结构体
1962
3123
  */
1963
- export interface UpdateDevicePassWordResponse {
3124
+ export interface DescribeXP2PDataRequest {
1964
3125
  /**
1965
- * 操作结果,“OK”表示成功,其他表示失败。
1966
- 注意:此字段可能返回 null,表示取不到有效值。
1967
- */
1968
- Status: string
3126
+ * P2P应用ID
3127
+ */
3128
+ P2PAppId: string
1969
3129
 
1970
3130
  /**
1971
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3131
+ * 查询开始时间
1972
3132
  */
1973
- RequestId?: string
3133
+ From: number
3134
+
3135
+ /**
3136
+ * 查询结束时间
3137
+ */
3138
+ To: number
3139
+
3140
+ /**
3141
+ * P2P通路ID
3142
+ */
3143
+ P2PChannelId?: string
1974
3144
  }
1975
3145
 
1976
3146
  /**
1977
- * DeleteChannel请求参数结构体
3147
+ * UpdateTimeTemplate返回参数结构体
1978
3148
  */
1979
- export interface DeleteChannelRequest {
3149
+ export interface UpdateTimeTemplateResponse {
1980
3150
  /**
1981
- * 设备ID
3151
+ * 操作结果,“OK”表示成功,其他表示失败。
1982
3152
  */
1983
- DeviceId: string
3153
+ Status: string
1984
3154
 
1985
3155
  /**
1986
- * 通道ID
3156
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1987
3157
  */
1988
- ChannelId: string
3158
+ RequestId?: string
1989
3159
  }
1990
3160
 
1991
3161
  /**
@@ -2048,6 +3218,51 @@ export interface CreateRecordPlanResponse {
2048
3218
  RequestId?: string
2049
3219
  }
2050
3220
 
3221
+ /**
3222
+ * DescribeWarnings请求参数结构体
3223
+ */
3224
+ export interface DescribeWarningsRequest {
3225
+ /**
3226
+ * 1:创建时间倒序 2:创建时间升序 3:level倒序 4:leve升序
3227
+ */
3228
+ OrderType: number
3229
+
3230
+ /**
3231
+ * 可选设备id
3232
+ */
3233
+ DeviceId?: string
3234
+
3235
+ /**
3236
+ * 如果不传则查询所有,取值参见配置
3237
+ */
3238
+ WarnLevelArray?: Array<number>
3239
+
3240
+ /**
3241
+ * 如果不传则查询所有,取值参见配置
3242
+ */
3243
+ WarnModeArray?: Array<number>
3244
+
3245
+ /**
3246
+ * 不传认为是0
3247
+ */
3248
+ Offset?: number
3249
+
3250
+ /**
3251
+ * 不传认为是20
3252
+ */
3253
+ Limit?: number
3254
+
3255
+ /**
3256
+ * 形似:2021-05-21 00:00:00 .取值在当前日前30天内,不传默认是当前日前30天日期
3257
+ */
3258
+ DateBegin?: string
3259
+
3260
+ /**
3261
+ * 形似:2021-05-21 23:59:59 .取值在当前日前30天内,不传默认是当前日前30天日期
3262
+ */
3263
+ DateEnd?: string
3264
+ }
3265
+
2051
3266
  /**
2052
3267
  * CreateScene请求参数结构体
2053
3268
  */
@@ -2073,9 +3288,14 @@ export interface CreateSceneRequest {
2073
3288
  StoreDuration: number
2074
3289
 
2075
3290
  /**
2076
- * 设备列表
3291
+ * 设备列表(不推荐使用)
2077
3292
  */
2078
3293
  Devices?: Array<DeviceItem>
3294
+
3295
+ /**
3296
+ * 通道列表
3297
+ */
3298
+ Channels?: Array<ChannelItem>
2079
3299
  }
2080
3300
 
2081
3301
  /**
@@ -2161,6 +3381,37 @@ export interface AllDeviceInfo {
2161
3381
  GroupName?: string
2162
3382
  }
2163
3383
 
3384
+ /**
3385
+ * DescribeAbnormalEvents返回参数结构体
3386
+ */
3387
+ export interface DescribeAbnormalEventsResponse {
3388
+ /**
3389
+ * 异动事件走势列表
3390
+ 注意:此字段可能返回 null,表示取不到有效值。
3391
+ */
3392
+ Data: Array<AbnormalEvents>
3393
+
3394
+ /**
3395
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3396
+ */
3397
+ RequestId?: string
3398
+ }
3399
+
3400
+ /**
3401
+ * DescribeDeviceStreams返回参数结构体
3402
+ */
3403
+ export interface DescribeDeviceStreamsResponse {
3404
+ /**
3405
+ * 设备实时流地址列表
3406
+ */
3407
+ Data: DescribeDeviceStreamsData
3408
+
3409
+ /**
3410
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3411
+ */
3412
+ RequestId?: string
3413
+ }
3414
+
2164
3415
  /**
2165
3416
  * DescribeLiveVideoList返回参数结构体
2166
3417
  */
@@ -2194,33 +3445,44 @@ export interface DeleteDeviceGroupRequest {
2194
3445
  }
2195
3446
 
2196
3447
  /**
2197
- * DescribeLiveRecordPlanById返回参数结构体
3448
+ * DescribeScene请求参数结构体
2198
3449
  */
2199
- export interface DescribeLiveRecordPlanByIdResponse {
2200
- /**
2201
- * 计划名称
2202
- */
2203
- PlanName: string
2204
-
3450
+ export interface DescribeSceneRequest {
2205
3451
  /**
2206
- * 模板ID
3452
+ * 场景ID
2207
3453
  */
2208
- TemplateId: string
3454
+ IntId: number
3455
+ }
2209
3456
 
3457
+ /**
3458
+ * DescribeDevice请求参数结构体
3459
+ */
3460
+ export interface DescribeDeviceRequest {
2210
3461
  /**
2211
- * 模板名称
3462
+ * 设备ID
2212
3463
  */
2213
- TemplateName: string
3464
+ DeviceId: string
3465
+ }
2214
3466
 
3467
+ /**
3468
+ * ControlPreset返回参数结构体
3469
+ */
3470
+ export interface ControlPresetResponse {
2215
3471
  /**
2216
- * 存储时间
3472
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2217
3473
  */
2218
- RecordStorageTime: number
3474
+ RequestId?: string
3475
+ }
2219
3476
 
3477
+ /**
3478
+ * DescribeDeviceGroup返回参数结构体
3479
+ */
3480
+ export interface DescribeDeviceGroupResponse {
2220
3481
  /**
2221
- * 计划类型
2222
- */
2223
- PlanType: number
3482
+ * 设备所在分组信息
3483
+ 注意:此字段可能返回 null,表示取不到有效值。
3484
+ */
3485
+ DevGroups: Array<DevGroupInfo>
2224
3486
 
2225
3487
  /**
2226
3488
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2229,15 +3491,9 @@ export interface DescribeLiveRecordPlanByIdResponse {
2229
3491
  }
2230
3492
 
2231
3493
  /**
2232
- * DescribeRecordDatesByLive返回参数结构体
3494
+ * DeleteChannel返回参数结构体
2233
3495
  */
2234
- export interface DescribeRecordDatesByLiveResponse {
2235
- /**
2236
- * 录制日期数组
2237
- 注意:此字段可能返回 null,表示取不到有效值。
2238
- */
2239
- Dates: Array<string>
2240
-
3496
+ export interface DeleteChannelResponse {
2241
3497
  /**
2242
3498
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2243
3499
  */
@@ -2325,6 +3581,16 @@ export interface MessageForward {
2325
3581
  TopicName: string
2326
3582
  }
2327
3583
 
3584
+ /**
3585
+ * ResetWarning返回参数结构体
3586
+ */
3587
+ export interface ResetWarningResponse {
3588
+ /**
3589
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3590
+ */
3591
+ RequestId?: string
3592
+ }
3593
+
2328
3594
  /**
2329
3595
  * ModifyDeviceData请求参数结构体
2330
3596
  */
@@ -2360,14 +3626,14 @@ export interface GetRecordDatesByDevRequest {
2360
3626
  DeviceId: string
2361
3627
 
2362
3628
  /**
2363
- * 偏移量,默认0
3629
+ * 限制量,默认200
2364
3630
  */
2365
- Offset: number
3631
+ Limit: number
2366
3632
 
2367
3633
  /**
2368
- * 限制量,默认200
3634
+ * 偏移量,默认0
2369
3635
  */
2370
- Limit: number
3636
+ Offset: number
2371
3637
 
2372
3638
  /**
2373
3639
  * 通道唯一标识
@@ -2381,58 +3647,25 @@ export interface GetRecordDatesByDevRequest {
2381
3647
  }
2382
3648
 
2383
3649
  /**
2384
- * DescribeLiveVideoList请求参数结构体
3650
+ * DescribeLiveChannelList返回参数结构体
2385
3651
  */
2386
- export interface DescribeLiveVideoListRequest {
2387
- /**
2388
- * 偏移量
2389
- */
2390
- Offset: number
2391
-
2392
- /**
2393
- * 分页的每页数量
2394
- */
2395
- Limit: number
2396
-
2397
- /**
2398
- * 直播ID
2399
- */
2400
- LiveChannelId: string
2401
-
2402
- /**
2403
- * 开始录制开始时间
2404
- */
2405
- StartRecordTime?: number
2406
-
2407
- /**
2408
- * 开始录制结束时间
2409
- */
2410
- EndRecordTime?: number
2411
-
2412
- /**
2413
- * 过期开始时间
2414
- */
2415
- StartExpireTime?: number
2416
-
2417
- /**
2418
- * 过期结束时间
2419
- */
2420
- EndExpireTime?: number
2421
-
3652
+ export interface DescribeLiveChannelListResponse {
2422
3653
  /**
2423
- * 文件大小范围 Byte
2424
- */
2425
- StartFileSize?: number
3654
+ * 频道总数
3655
+ 注意:此字段可能返回 null,表示取不到有效值。
3656
+ */
3657
+ Total: number
2426
3658
 
2427
3659
  /**
2428
- * 文件大小范围 Byte
2429
- */
2430
- EndFileSize?: number
3660
+ * 频道信息数组
3661
+ 注意:此字段可能返回 null,表示取不到有效值。
3662
+ */
3663
+ LiveChannels: Array<LiveChannelInfo>
2431
3664
 
2432
3665
  /**
2433
- * 录制状态,5: 录制回写完
3666
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2434
3667
  */
2435
- IsRecording?: number
3668
+ RequestId?: string
2436
3669
  }
2437
3670
 
2438
3671
  /**
@@ -2499,25 +3732,18 @@ export interface ModifyLiveVideoResponse {
2499
3732
  }
2500
3733
 
2501
3734
  /**
2502
- * DescribeIPCChannels返回参数结构体
3735
+ * DescribeChannelStreamURL请求参数结构体
2503
3736
  */
2504
- export interface DescribeIPCChannelsResponse {
2505
- /**
2506
- * 通道总数
2507
- 注意:此字段可能返回 null,表示取不到有效值。
2508
- */
2509
- TotalCount: number
2510
-
3737
+ export interface DescribeChannelStreamURLRequest {
2511
3738
  /**
2512
- * 通道详情列表
2513
- 注意:此字段可能返回 null,表示取不到有效值。
2514
- */
2515
- DeviceList: Array<GroupDeviceItem>
3739
+ * 设备唯一标识
3740
+ */
3741
+ DeviceId: string
2516
3742
 
2517
3743
  /**
2518
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3744
+ * 通道唯一标识(接口升级字段为必填)
2519
3745
  */
2520
- RequestId?: string
3746
+ ChannelId?: string
2521
3747
  }
2522
3748
 
2523
3749
  /**
@@ -2568,6 +3794,63 @@ export interface DescribeGroupsResponse {
2568
3794
  RequestId?: string
2569
3795
  }
2570
3796
 
3797
+ /**
3798
+ * 国标通道详细信息
3799
+ */
3800
+ export interface ChannelDetail {
3801
+ /**
3802
+ * 通道名称
3803
+ */
3804
+ ChannelName: string
3805
+
3806
+ /**
3807
+ * 通道唯一标识
3808
+ */
3809
+ ChannelId: string
3810
+
3811
+ /**
3812
+ * 通道类型 0:未知;1:视频通道;2:音频通道;3:告警通道
3813
+ 注意:此字段可能返回 null,表示取不到有效值。
3814
+ */
3815
+ ChannelType: number
3816
+
3817
+ /**
3818
+ * 20位国标通道编码
3819
+ 注意:此字段可能返回 null,表示取不到有效值。
3820
+ */
3821
+ ChannelCode: string
3822
+
3823
+ /**
3824
+ * 通道扩展信息
3825
+ 注意:此字段可能返回 null,表示取不到有效值。
3826
+ */
3827
+ ExtraInformation: string
3828
+
3829
+ /**
3830
+ * 通道在线状态
3831
+ 注意:此字段可能返回 null,表示取不到有效值。
3832
+ */
3833
+ Status: number
3834
+
3835
+ /**
3836
+ * 通道是否存在录像标识 0:无录像;1:有录像
3837
+ 注意:此字段可能返回 null,表示取不到有效值。
3838
+ */
3839
+ IsRecord: number
3840
+
3841
+ /**
3842
+ * 通道所属设备唯一标识
3843
+ 注意:此字段可能返回 null,表示取不到有效值。
3844
+ */
3845
+ DeviceId: string
3846
+
3847
+ /**
3848
+ * 通道所属虚拟组织的ID
3849
+ 注意:此字段可能返回 null,表示取不到有效值。
3850
+ */
3851
+ BusinessGroupId: string
3852
+ }
3853
+
2571
3854
  /**
2572
3855
  * DescribeDeviceStreams的出参复杂类型
2573
3856
  */
@@ -2603,12 +3886,32 @@ export interface DeleteLiveRecordPlanRequest {
2603
3886
  PlanId: string
2604
3887
  }
2605
3888
 
3889
+ /**
3890
+ * ModifyBindRecordingPlan请求参数结构体
3891
+ */
3892
+ export interface ModifyBindRecordingPlanRequest {
3893
+ /**
3894
+ * 操作类型: 1-绑定设备 ;2-解绑设备
3895
+ */
3896
+ Type: number
3897
+
3898
+ /**
3899
+ * 录制计划ID
3900
+ */
3901
+ PlanId: string
3902
+
3903
+ /**
3904
+ * 录制通道列表
3905
+ */
3906
+ Channels?: Array<ChannelItem>
3907
+ }
3908
+
2606
3909
  /**
2607
3910
  * DeleteDevice返回参数结构体
2608
3911
  */
2609
3912
  export interface DeleteDeviceResponse {
2610
3913
  /**
2611
- * 操作结果
3914
+ * 操作结果 OK-成功; 其他-失败
2612
3915
  注意:此字段可能返回 null,表示取不到有效值。
2613
3916
  */
2614
3917
  Status: string
@@ -2630,19 +3933,28 @@ export interface DeleteLiveVideoListResponse {
2630
3933
  }
2631
3934
 
2632
3935
  /**
2633
- * DescribeDeviceGroup返回参数结构体
3936
+ * DescribeDeviceMonitorData请求参数结构体
2634
3937
  */
2635
- export interface DescribeDeviceGroupResponse {
3938
+ export interface DescribeDeviceMonitorDataRequest {
2636
3939
  /**
2637
- * 设备所在分组信息
2638
- 注意:此字段可能返回 null,表示取不到有效值。
2639
- */
2640
- DevGroups: Array<DevGroupInfo>
3940
+ * 开始时间戳
3941
+ */
3942
+ StartTime: number
2641
3943
 
2642
3944
  /**
2643
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3945
+ * 结束时间戳
2644
3946
  */
2645
- RequestId?: string
3947
+ EndTime: number
3948
+
3949
+ /**
3950
+ * 类型 支持 OnlineChannels/OnlineDevices/RecordingChannels
3951
+ */
3952
+ Type: string
3953
+
3954
+ /**
3955
+ * 时间粒度 目前只支持 1h
3956
+ */
3957
+ TimesSpec: string
2646
3958
  }
2647
3959
 
2648
3960
  /**
@@ -2713,9 +4025,15 @@ export interface DescribeGroupByPathRequest {
2713
4025
  }
2714
4026
 
2715
4027
  /**
2716
- * DeleteChannel返回参数结构体
4028
+ * DescribeRecordDatesByLive返回参数结构体
2717
4029
  */
2718
- export interface DeleteChannelResponse {
4030
+ export interface DescribeRecordDatesByLiveResponse {
4031
+ /**
4032
+ * 录制日期数组
4033
+ 注意:此字段可能返回 null,表示取不到有效值。
4034
+ */
4035
+ Dates: Array<string>
4036
+
2719
4037
  /**
2720
4038
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2721
4039
  */
@@ -2737,6 +4055,33 @@ export interface UpdateRecordPlanResponse {
2737
4055
  RequestId?: string
2738
4056
  }
2739
4057
 
4058
+ /**
4059
+ * ModifyBindSceneDevice返回参数结构体
4060
+ */
4061
+ export interface ModifyBindSceneDeviceResponse {
4062
+ /**
4063
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4064
+ */
4065
+ RequestId?: string
4066
+ }
4067
+
4068
+ /**
4069
+ * 异动事件走势元素
4070
+ */
4071
+ export interface AbnormalEventsInfo {
4072
+ /**
4073
+ * 类型值
4074
+ 注意:此字段可能返回 null,表示取不到有效值。
4075
+ */
4076
+ Key: number
4077
+
4078
+ /**
4079
+ * 类型总数
4080
+ 注意:此字段可能返回 null,表示取不到有效值。
4081
+ */
4082
+ Count: number
4083
+ }
4084
+
2740
4085
  /**
2741
4086
  * 时间模板详情
2742
4087
  */
@@ -2754,13 +4099,13 @@ export interface TimeTemplateItem {
2754
4099
  Name: string
2755
4100
 
2756
4101
  /**
2757
- * 是否全时录制,即7*24小时录制
4102
+ * 是否全时录制,即7*24小时录制 0-否 1-是
2758
4103
  注意:此字段可能返回 null,表示取不到有效值。
2759
4104
  */
2760
4105
  IsAllWeek: number
2761
4106
 
2762
4107
  /**
2763
- * 是否为自定义模板
4108
+ * 是否为自定义模板 0-否 1-是
2764
4109
  注意:此字段可能返回 null,表示取不到有效值。
2765
4110
  */
2766
4111
  Type?: number
@@ -2772,6 +4117,23 @@ export interface TimeTemplateItem {
2772
4117
  TimeTemplateSpecs?: Array<TimeTemplateSpec>
2773
4118
  }
2774
4119
 
4120
+ /**
4121
+ * 异动事件走势列表
4122
+ */
4123
+ export interface AbnormalEvents {
4124
+ /**
4125
+ * 对应查询日期
4126
+ 注意:此字段可能返回 null,表示取不到有效值。
4127
+ */
4128
+ Date: string
4129
+
4130
+ /**
4131
+ * 列表信息
4132
+ 注意:此字段可能返回 null,表示取不到有效值。
4133
+ */
4134
+ Info: Array<AbnormalEventsInfo>
4135
+ }
4136
+
2775
4137
  /**
2776
4138
  * DescribeDeviceGroup请求参数结构体
2777
4139
  */
@@ -2782,6 +4144,53 @@ export interface DescribeDeviceGroupRequest {
2782
4144
  DeviceIds?: Array<string>
2783
4145
  }
2784
4146
 
4147
+ /**
4148
+ * 频道信息
4149
+ */
4150
+ export interface LiveChannelInfo {
4151
+ /**
4152
+ * 频道ID
4153
+ 注意:此字段可能返回 null,表示取不到有效值。
4154
+ */
4155
+ LiveChannelId: string
4156
+
4157
+ /**
4158
+ * 频道名称
4159
+ 注意:此字段可能返回 null,表示取不到有效值。
4160
+ */
4161
+ LiveChannelName: string
4162
+
4163
+ /**
4164
+ * 频道类型
4165
+ 注意:此字段可能返回 null,表示取不到有效值。
4166
+ */
4167
+ LiveChannelType: number
4168
+
4169
+ /**
4170
+ * 通道直播状态:1: 未推流,2: 推流中
4171
+ 注意:此字段可能返回 null,表示取不到有效值。
4172
+ */
4173
+ LiveStatus: number
4174
+
4175
+ /**
4176
+ * 推流地址
4177
+ 注意:此字段可能返回 null,表示取不到有效值。
4178
+ */
4179
+ PushStreamAddress: string
4180
+
4181
+ /**
4182
+ * 创建时间
4183
+ 注意:此字段可能返回 null,表示取不到有效值。
4184
+ */
4185
+ CreateTime: string
4186
+
4187
+ /**
4188
+ * 修改时间
4189
+ 注意:此字段可能返回 null,表示取不到有效值。
4190
+ */
4191
+ UpdateTime: string
4192
+ }
4193
+
2785
4194
  /**
2786
4195
  * 直播频道详情
2787
4196
  */
@@ -2807,6 +4216,41 @@ export interface DescribeGroupsRequest {
2807
4216
  GroupIds?: Array<string>
2808
4217
  }
2809
4218
 
4219
+ /**
4220
+ * ControlChannelPTZ请求参数结构体
4221
+ */
4222
+ export interface ControlChannelPTZRequest {
4223
+ /**
4224
+ * 设备唯一标识
4225
+ */
4226
+ DeviceId: string
4227
+
4228
+ /**
4229
+ * 通道唯一标识
4230
+ */
4231
+ ChannelId: string
4232
+
4233
+ /**
4234
+ * PTZ控制命令类型:
4235
+ stop - 停止当前PTZ信令
4236
+ left - 向左移动
4237
+ right - 向右移动
4238
+ up - 向上移动
4239
+ down - 向下移动
4240
+ leftUp - 左上移动
4241
+ leftDown - 左下移动
4242
+ rightUp - 右上移动
4243
+ rightDown - 右下移动
4244
+ zoomOut - 镜头缩小
4245
+ zoomIn - 镜头放大
4246
+ irisIn - 光圈缩小
4247
+ irisOut - 光圈放大
4248
+ focusIn - 焦距变近
4249
+ focusOut - 焦距变远
4250
+ */
4251
+ Command: string
4252
+ }
4253
+
2810
4254
  /**
2811
4255
  * GetRecordPlans返回参数结构体
2812
4256
  */
@@ -2844,15 +4288,45 @@ export interface DescribeChannelsByLiveRecordPlanRequest {
2844
4288
  Offset?: number
2845
4289
 
2846
4290
  /**
2847
- * 分页大小
2848
- */
2849
- Limit?: number
4291
+ * 分页大小
4292
+ */
4293
+ Limit?: number
4294
+ }
4295
+
4296
+ /**
4297
+ * ControlChannelLocalRecord请求参数结构体
4298
+ */
4299
+ export interface ControlChannelLocalRecordRequest {
4300
+ /**
4301
+ * 设备唯一标识
4302
+ */
4303
+ DeviceId: string
4304
+
4305
+ /**
4306
+ * 通道唯一标识
4307
+ */
4308
+ ChannelId: string
4309
+
4310
+ /**
4311
+ * 流Id,流的唯一标识
4312
+ */
4313
+ StreamId: string
4314
+
4315
+ /**
4316
+ * 控制参数,转义的json字符串
4317
+
4318
+ 目前支持的command:
4319
+ "Command": "{"Action":"PAUSE"}" 暂停
4320
+ "Command": "{"Action":"PLAY"}" 暂停恢复
4321
+ "Command": "{"Action":"PLAY","Offset":"15"}" 基于文件起始时间点的位置偏移,单位秒
4322
+ */
4323
+ Command: string
2850
4324
  }
2851
4325
 
2852
4326
  /**
2853
- * ModifyLiveChannel返回参数结构体
4327
+ * ControlChannelLocalRecord返回参数结构体
2854
4328
  */
2855
- export interface ModifyLiveChannelResponse {
4329
+ export interface ControlChannelLocalRecordResponse {
2856
4330
  /**
2857
4331
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2858
4332
  */
@@ -2948,9 +4422,55 @@ export interface ModifyVideoInfoRequest {
2948
4422
  }
2949
4423
 
2950
4424
  /**
2951
- * GetRecordPlans请求参数结构体
4425
+ * DescribeCurrentDeviceData返回参数结构体
2952
4426
  */
2953
- export type GetRecordPlansRequest = null
4427
+ export interface DescribeCurrentDeviceDataResponse {
4428
+ /**
4429
+ * 通道数
4430
+ */
4431
+ Channels: number
4432
+
4433
+ /**
4434
+ * 设备数
4435
+ */
4436
+ Devices: number
4437
+
4438
+ /**
4439
+ * 在线通道数
4440
+ */
4441
+ OnlineChannels: number
4442
+
4443
+ /**
4444
+ * 在线设备数
4445
+ */
4446
+ OnlineDevices: number
4447
+
4448
+ /**
4449
+ * 正在录制通道数
4450
+ */
4451
+ RecordingChannels: number
4452
+
4453
+ /**
4454
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4455
+ */
4456
+ RequestId?: string
4457
+ }
4458
+
4459
+ /**
4460
+ * GetRecordPlanById返回参数结构体
4461
+ */
4462
+ export interface GetRecordPlanByIdResponse {
4463
+ /**
4464
+ * 录制计划详情
4465
+ 注意:此字段可能返回 null,表示取不到有效值。
4466
+ */
4467
+ Plan: RecordPlanItem
4468
+
4469
+ /**
4470
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4471
+ */
4472
+ RequestId?: string
4473
+ }
2954
4474
 
2955
4475
  /**
2956
4476
  * DeleteTimeTemplate请求参数结构体
@@ -2962,6 +4482,16 @@ export interface DeleteTimeTemplateRequest {
2962
4482
  TemplateId: string
2963
4483
  }
2964
4484
 
4485
+ /**
4486
+ * DeleteWarning返回参数结构体
4487
+ */
4488
+ export interface DeleteWarningResponse {
4489
+ /**
4490
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4491
+ */
4492
+ RequestId?: string
4493
+ }
4494
+
2965
4495
  /**
2966
4496
  * ModifyLiveChannel请求参数结构体
2967
4497
  */
@@ -3047,6 +4577,37 @@ export interface DescribeMessageForwardResponse {
3047
4577
  RequestId?: string
3048
4578
  }
3049
4579
 
4580
+ /**
4581
+ * DescribeRecordingPlanById返回参数结构体
4582
+ */
4583
+ export interface DescribeRecordingPlanByIdResponse {
4584
+ /**
4585
+ * 录制计划详情
4586
+ 注意:此字段可能返回 null,表示取不到有效值。
4587
+ */
4588
+ Plan: RecordPlanDetail
4589
+
4590
+ /**
4591
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4592
+ */
4593
+ RequestId?: string
4594
+ }
4595
+
4596
+ /**
4597
+ * DescribeWarnMod请求参数结构体
4598
+ */
4599
+ export type DescribeWarnModRequest = null
4600
+
4601
+ /**
4602
+ * ModifyBindRecordingPlan返回参数结构体
4603
+ */
4604
+ export interface ModifyBindRecordingPlanResponse {
4605
+ /**
4606
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4607
+ */
4608
+ RequestId?: string
4609
+ }
4610
+
3050
4611
  /**
3051
4612
  * DescribeLiveRecordPlanIds请求参数结构体
3052
4613
  */
@@ -3077,6 +4638,16 @@ export interface DeleteLiveVideoListRequest {
3077
4638
  IntIDs: Array<number>
3078
4639
  }
3079
4640
 
4641
+ /**
4642
+ * ModifyVideoInfo返回参数结构体
4643
+ */
4644
+ export interface ModifyVideoInfoResponse {
4645
+ /**
4646
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4647
+ */
4648
+ RequestId?: string
4649
+ }
4650
+
3080
4651
  /**
3081
4652
  * ModifyMessageForward返回参数结构体
3082
4653
  */
@@ -3087,6 +4658,28 @@ export interface ModifyMessageForwardResponse {
3087
4658
  RequestId?: string
3088
4659
  }
3089
4660
 
4661
+ /**
4662
+ * DescribeDeviceList返回参数结构体
4663
+ */
4664
+ export interface DescribeDeviceListResponse {
4665
+ /**
4666
+ * 设备总数
4667
+ 注意:此字段可能返回 null,表示取不到有效值。
4668
+ */
4669
+ TotalCount: number
4670
+
4671
+ /**
4672
+ * 设备详细信息列表
4673
+ 注意:此字段可能返回 null,表示取不到有效值。
4674
+ */
4675
+ Devices: Array<AllDeviceInfo>
4676
+
4677
+ /**
4678
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4679
+ */
4680
+ RequestId?: string
4681
+ }
4682
+
3090
4683
  /**
3091
4684
  * DescribeScenes请求参数结构体
3092
4685
  */
@@ -3118,9 +4711,35 @@ export interface DeleteLiveRecordPlanResponse {
3118
4711
  }
3119
4712
 
3120
4713
  /**
3121
- * ModifyVideoInfo返回参数结构体
4714
+ * DescribeBindSceneChannels请求参数结构体
3122
4715
  */
3123
- export interface ModifyVideoInfoResponse {
4716
+ export interface DescribeBindSceneChannelsRequest {
4717
+ /**
4718
+ * 条数限制最大不能超过1000
4719
+ */
4720
+ Limit: number
4721
+
4722
+ /**
4723
+ * 场景ID
4724
+ */
4725
+ SceneId?: number
4726
+
4727
+ /**
4728
+ * 偏移值
4729
+ */
4730
+ Offset?: number
4731
+ }
4732
+
4733
+ /**
4734
+ * DescribePresetList返回参数结构体
4735
+ */
4736
+ export interface DescribePresetListResponse {
4737
+ /**
4738
+ * 预置列表
4739
+ 注意:此字段可能返回 null,表示取不到有效值。
4740
+ */
4741
+ Data: Array<PresetItem>
4742
+
3124
4743
  /**
3125
4744
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3126
4745
  */
@@ -3219,6 +4838,38 @@ export interface BindGroupDevicesResponse {
3219
4838
  RequestId?: string
3220
4839
  }
3221
4840
 
4841
+ /**
4842
+ * DescribeChannelLocalRecordURL返回参数结构体
4843
+ */
4844
+ export interface DescribeChannelLocalRecordURLResponse {
4845
+ /**
4846
+ * 结果
4847
+ */
4848
+ Data: DescribeRecordStreamData
4849
+
4850
+ /**
4851
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4852
+ */
4853
+ RequestId?: string
4854
+ }
4855
+
4856
+ /**
4857
+ * 大盘统计-录像存储统计 出参RecordStatistic
4858
+ */
4859
+ export interface RecordStatistic {
4860
+ /**
4861
+ * 时间戳
4862
+ 注意:此字段可能返回 null,表示取不到有效值。
4863
+ */
4864
+ Time: number
4865
+
4866
+ /**
4867
+ * 统计结果
4868
+ 注意:此字段可能返回 null,表示取不到有效值。
4869
+ */
4870
+ Value: RecordStatisticValue
4871
+ }
4872
+
3222
4873
  /**
3223
4874
  * DescribeVideoList请求参数结构体
3224
4875
  */
@@ -3310,25 +4961,33 @@ export interface DescribeVideoListRequest {
3310
4961
  }
3311
4962
 
3312
4963
  /**
3313
- * DescribeLiveChannelList返回参数结构体
4964
+ * CreateLiveRecordPlan请求参数结构体
3314
4965
  */
3315
- export interface DescribeLiveChannelListResponse {
4966
+ export interface CreateLiveRecordPlanRequest {
3316
4967
  /**
3317
- * 频道总数
3318
- 注意:此字段可能返回 null,表示取不到有效值。
3319
- */
3320
- Total: number
4968
+ * 录制计划名
4969
+ */
4970
+ PlanName: string
3321
4971
 
3322
4972
  /**
3323
- * 频道信息数组
3324
- 注意:此字段可能返回 null,表示取不到有效值。
3325
- */
3326
- LiveChannels: Array<LiveChannelInfo>
4973
+ * 计划类型 1:固定直播 2:移动直播
4974
+ */
4975
+ PlanType: number
3327
4976
 
3328
4977
  /**
3329
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4978
+ * 时间模板ID,固定直播时为必填
3330
4979
  */
3331
- RequestId?: string
4980
+ TemplateId?: string
4981
+
4982
+ /**
4983
+ * 录制文件存储时长,单位天,默认30天
4984
+ */
4985
+ RecordStorageTime?: number
4986
+
4987
+ /**
4988
+ * 绑定的直播频道ID列表
4989
+ */
4990
+ LiveChannelIds?: Array<string>
3332
4991
  }
3333
4992
 
3334
4993
  /**
@@ -3346,6 +5005,16 @@ export interface DescribeDevicePassWordResponse {
3346
5005
  RequestId?: string
3347
5006
  }
3348
5007
 
5008
+ /**
5009
+ * ModifyScene返回参数结构体
5010
+ */
5011
+ export interface ModifySceneResponse {
5012
+ /**
5013
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5014
+ */
5015
+ RequestId?: string
5016
+ }
5017
+
3349
5018
  /**
3350
5019
  * DescribeBindSceneDevices请求参数结构体
3351
5020
  */
@@ -3388,6 +5057,22 @@ export interface DescribeBindSceneDevicesResponse {
3388
5057
  RequestId?: string
3389
5058
  }
3390
5059
 
5060
+ /**
5061
+ * DescribeMonitorDataByDate返回参数结构体
5062
+ */
5063
+ export interface DescribeMonitorDataByDateResponse {
5064
+ /**
5065
+ * 统计数据列表
5066
+ 注意:此字段可能返回 null,表示取不到有效值。
5067
+ */
5068
+ Data: Array<RecordStatistic>
5069
+
5070
+ /**
5071
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5072
+ */
5073
+ RequestId?: string
5074
+ }
5075
+
3391
5076
  /**
3392
5077
  * ModifyLiveVideo请求参数结构体
3393
5078
  */
@@ -3404,19 +5089,33 @@ export interface ModifyLiveVideoRequest {
3404
5089
  }
3405
5090
 
3406
5091
  /**
3407
- * DescribeGroupByPath返回参数结构体
5092
+ * DescribeChannelLocalRecordURL请求参数结构体
3408
5093
  */
3409
- export interface DescribeGroupByPathResponse {
5094
+ export interface DescribeChannelLocalRecordURLRequest {
3410
5095
  /**
3411
- * 分组信息详情
3412
- 注意:此字段可能返回 null,表示取不到有效值。
3413
- */
3414
- Group: GroupItem
5096
+ * 设备唯一标识
5097
+ */
5098
+ DeviceId: string
3415
5099
 
3416
5100
  /**
3417
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5101
+ * 通道唯一标识
3418
5102
  */
3419
- RequestId?: string
5103
+ ChannelId: string
5104
+
5105
+ /**
5106
+ * 录像文件Id,通过获取本地录像返回
5107
+ */
5108
+ RecordId: string
5109
+
5110
+ /**
5111
+ * 录像文件推送的开始时间,需要在RecordId参数起始时间内,可以通过此参数控制回放流起始点
5112
+ */
5113
+ StartTime?: number
5114
+
5115
+ /**
5116
+ * 录像文件推送的结束时间,需要在RecordId参数起始时间内,可以通过此参数控制回放流起始点
5117
+ */
5118
+ EndTime?: number
3420
5119
  }
3421
5120
 
3422
5121
  /**
@@ -3482,6 +5181,31 @@ export interface DeleteSceneRequest {
3482
5181
  IntId: number
3483
5182
  }
3484
5183
 
5184
+ /**
5185
+ * CreateRecordingPlan请求参数结构体
5186
+ */
5187
+ export interface CreateRecordingPlanRequest {
5188
+ /**
5189
+ * 计划名称
5190
+ */
5191
+ Name: string
5192
+
5193
+ /**
5194
+ * 时间模板ID
5195
+ */
5196
+ TimeTemplateId: string
5197
+
5198
+ /**
5199
+ * 该录制计划绑定的通道列表
5200
+ */
5201
+ Channels?: Array<ChannelItem>
5202
+
5203
+ /**
5204
+ * 存储周期(天);默认存储30天
5205
+ */
5206
+ RecordStorageTime?: number
5207
+ }
5208
+
3485
5209
  /**
3486
5210
  * DescribeLiveStream返回参数结构体
3487
5211
  */