tencentcloud-sdk-nodejs 4.0.256 → 4.0.257

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 (44) hide show
  1. package/CHANGELOG.md +334 -109
  2. package/package.json +1 -1
  3. package/products.md +12 -12
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/antiddos/v20200309/antiddos_models.ts +15 -0
  6. package/src/services/cam/v20190116/cam_models.ts +1 -1
  7. package/src/services/cii/v20210408/cii_models.ts +6 -6
  8. package/src/services/cls/v20201016/cls_client.ts +6 -6
  9. package/src/services/cls/v20201016/cls_models.ts +1 -1
  10. package/src/services/dbbrain/v20210527/dbbrain_client.ts +14 -2
  11. package/src/services/dbbrain/v20210527/dbbrain_models.ts +100 -45
  12. package/src/services/eiam/v20210420/eiam_client.ts +230 -65
  13. package/src/services/eiam/v20210420/eiam_models.ts +1582 -816
  14. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +374 -56
  15. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +1526 -397
  16. package/src/services/live/v20180801/live_models.ts +12 -1
  17. package/src/services/thpc/v20211109/thpc_client.ts +2 -1
  18. package/src/services/thpc/v20211109/thpc_models.ts +29 -4
  19. package/src/services/tiw/v20190919/tiw_models.ts +2 -6
  20. package/src/services/vpc/v20170312/vpc_models.ts +15 -1
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +12 -0
  24. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +1 -1
  25. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +6 -6
  26. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +6 -6
  27. package/tencentcloud/services/cls/v20201016/cls_client.js +6 -6
  28. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
  29. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  30. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  31. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +83 -37
  32. package/tencentcloud/services/eiam/v20210420/eiam_client.d.ts +57 -5
  33. package/tencentcloud/services/eiam/v20210420/eiam_client.js +84 -6
  34. package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +1348 -693
  35. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +119 -15
  36. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +177 -21
  37. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1191 -221
  38. package/tencentcloud/services/live/v20180801/live_models.d.ts +11 -1
  39. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +25 -4
  40. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +2 -6
  41. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +14 -1
  42. package/test/dbbrain.v20210527.test.js +10 -0
  43. package/test/eiam.v20210420.test.js +134 -4
  44. package/test/iotvideoindustry.v20201201.test.js +274 -14
@@ -24,6 +24,37 @@ export interface ControlRecordStreamRequest {
24
24
  */
25
25
  ChannelId?: string;
26
26
  }
27
+ /**
28
+ * ModifySubscriptionStatus请求参数结构体
29
+ */
30
+ export interface ModifySubscriptionStatusRequest {
31
+ /**
32
+ * 设备ID
33
+ */
34
+ DeviceId: string;
35
+ /**
36
+ * 订阅状态 1:关闭订阅 2:开启订阅
37
+ */
38
+ Status: number;
39
+ /**
40
+ * 订阅类型 Alarm:告警订阅 Catalog:目录订阅 MobilePosition:移动位置订阅
41
+ */
42
+ SubscriptionItem?: string;
43
+ }
44
+ /**
45
+ * CreateScene返回参数结构体
46
+ */
47
+ export interface CreateSceneResponse {
48
+ /**
49
+ * 场景ID
50
+ 注意:此字段可能返回 null,表示取不到有效值。
51
+ */
52
+ IntId: number;
53
+ /**
54
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
55
+ */
56
+ RequestId?: string;
57
+ }
27
58
  /**
28
59
  * DeleteTimeTemplate返回参数结构体
29
60
  */
@@ -86,6 +117,72 @@ export interface GetRecordDatesByDevResponse {
86
117
  */
87
118
  RequestId?: string;
88
119
  }
120
+ /**
121
+ * CreateLiveRecordPlan请求参数结构体
122
+ */
123
+ export interface CreateLiveRecordPlanRequest {
124
+ /**
125
+ * 录制计划名
126
+ */
127
+ PlanName: string;
128
+ /**
129
+ * 计划类型 1:固定直播 2:移动直播
130
+ */
131
+ PlanType: number;
132
+ /**
133
+ * 时间模板ID,固定直播时为必填
134
+ */
135
+ TemplateId?: string;
136
+ /**
137
+ * 录制文件存储时长,单位天,默认30天
138
+ */
139
+ RecordStorageTime?: number;
140
+ /**
141
+ * 绑定的直播频道ID列表
142
+ */
143
+ LiveChannelIds?: Array<string>;
144
+ }
145
+ /**
146
+ * DescribeLiveChannel请求参数结构体
147
+ */
148
+ export interface DescribeLiveChannelRequest {
149
+ /**
150
+ * 频道ID
151
+ */
152
+ LiveChannelId: string;
153
+ }
154
+ /**
155
+ * DescribeSubscriptionStatus返回参数结构体
156
+ */
157
+ export interface DescribeSubscriptionStatusResponse {
158
+ /**
159
+ * 设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅
160
+ */
161
+ AlarmStatus: number;
162
+ /**
163
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
164
+ */
165
+ RequestId?: string;
166
+ }
167
+ /**
168
+ * DescribeScenes返回参数结构体
169
+ */
170
+ export interface DescribeScenesResponse {
171
+ /**
172
+ * 场景总数
173
+ 注意:此字段可能返回 null,表示取不到有效值。
174
+ */
175
+ Total: number;
176
+ /**
177
+ * 场景列表
178
+ 注意:此字段可能返回 null,表示取不到有效值。
179
+ */
180
+ List: Array<SceneItem>;
181
+ /**
182
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
183
+ */
184
+ RequestId?: string;
185
+ }
89
186
  /**
90
187
  * DescribeDeviceStreams返回参数结构体
91
188
  */
@@ -104,18 +201,79 @@ export interface DescribeDeviceStreamsResponse {
104
201
  */
105
202
  export declare type DescribeSIPServerRequest = null;
106
203
  /**
107
- * GetRecordPlanById请求参数结构体
204
+ * CreateLiveRecordPlan返回参数结构体
108
205
  */
109
- export interface GetRecordPlanByIdRequest {
206
+ export interface CreateLiveRecordPlanResponse {
110
207
  /**
111
- * 录制计划ID
208
+ * 录制计划名称
209
+ 注意:此字段可能返回 null,表示取不到有效值。
112
210
  */
113
211
  PlanId: string;
212
+ /**
213
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
214
+ */
215
+ RequestId?: string;
114
216
  }
115
217
  /**
116
- * GetRecordPlans请求参数结构体
218
+ * 分组信息
117
219
  */
118
- export declare type GetRecordPlansRequest = null;
220
+ export interface GroupItem {
221
+ /**
222
+ * 分组名称
223
+ 注意:此字段可能返回 null,表示取不到有效值。
224
+ */
225
+ GroupName: string;
226
+ /**
227
+ * 父分组ID
228
+ 注意:此字段可能返回 null,表示取不到有效值。
229
+ */
230
+ ParentId: string;
231
+ /**
232
+ * 分组ID
233
+ 注意:此字段可能返回 null,表示取不到有效值。
234
+ */
235
+ GroupId: string;
236
+ /**
237
+ * 分组路径
238
+ 注意:此字段可能返回 null,表示取不到有效值。
239
+ */
240
+ GroupPath?: string;
241
+ /**
242
+ * 分组描述
243
+ 注意:此字段可能返回 null,表示取不到有效值。
244
+ */
245
+ GroupDescribe?: string;
246
+ /**
247
+ * 分组绑定设备数
248
+ 注意:此字段可能返回 null,表示取不到有效值。
249
+ */
250
+ DeviceNum?: number;
251
+ /**
252
+ * 子分组数量
253
+ 注意:此字段可能返回 null,表示取不到有效值。
254
+ */
255
+ SubGroupNum?: number;
256
+ /**
257
+ * 分组附加信息
258
+ 注意:此字段可能返回 null,表示取不到有效值。
259
+ */
260
+ ExtraInformation?: string;
261
+ /**
262
+ * 分组类型
263
+ 注意:此字段可能返回 null,表示取不到有效值。
264
+ */
265
+ GroupType?: string;
266
+ /**
267
+ * 创建时间
268
+ 注意:此字段可能返回 null,表示取不到有效值。
269
+ */
270
+ CreateTime?: number;
271
+ /**
272
+ * 分组状态
273
+ 注意:此字段可能返回 null,表示取不到有效值。
274
+ */
275
+ GroupStatus?: number;
276
+ }
119
277
  /**
120
278
  * 用于描述唯一一个设备
121
279
  */
@@ -158,6 +316,28 @@ export interface DeleteRecordPlanResponse {
158
316
  */
159
317
  RequestId?: string;
160
318
  }
319
+ /**
320
+ * ModifyVideoInfo请求参数结构体
321
+ */
322
+ export interface ModifyVideoInfoRequest {
323
+ /**
324
+ * 视频ID列表长度限制100内
325
+ */
326
+ InitIDs: Array<number>;
327
+ /**
328
+ * 过期时间 时间戳 -1: 永不过期 0: 无效值
329
+ */
330
+ ExpireTime: number;
331
+ }
332
+ /**
333
+ * ModifyBindPlanLiveChannel返回参数结构体
334
+ */
335
+ export interface ModifyBindPlanLiveChannelResponse {
336
+ /**
337
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
338
+ */
339
+ RequestId?: string;
340
+ }
161
341
  /**
162
342
  * UpdateDeviceGroup返回参数结构体
163
343
  */
@@ -226,6 +406,85 @@ export interface DevGroupInfo {
226
406
  */
227
407
  Error?: string;
228
408
  }
409
+ /**
410
+ * DescribeLiveRecordPlanById请求参数结构体
411
+ */
412
+ export interface DescribeLiveRecordPlanByIdRequest {
413
+ /**
414
+ * 录制计划ID
415
+ */
416
+ PlanId: string;
417
+ }
418
+ /**
419
+ * 直播录制计划详情
420
+ */
421
+ export interface LiveRecordPlanItem {
422
+ /**
423
+ * 计划ID
424
+ 注意:此字段可能返回 null,表示取不到有效值。
425
+ */
426
+ PlanId: string;
427
+ /**
428
+ * 计划名称
429
+ 注意:此字段可能返回 null,表示取不到有效值。
430
+ */
431
+ PlanName: string;
432
+ }
433
+ /**
434
+ * 普通设备的录像详情
435
+ */
436
+ export interface RecordTaskItem {
437
+ /**
438
+ * 录像任务ID
439
+ 注意:此字段可能返回 null,表示取不到有效值。
440
+ */
441
+ RecordTaskId: string;
442
+ /**
443
+ * 录制计划ID
444
+ 注意:此字段可能返回 null,表示取不到有效值。
445
+ */
446
+ RecordPlanId: string;
447
+ /**
448
+ * 本录制片段开始时间
449
+ 注意:此字段可能返回 null,表示取不到有效值。
450
+ */
451
+ StartTime: number;
452
+ /**
453
+ * 本录制片段结束时间
454
+ 注意:此字段可能返回 null,表示取不到有效值。
455
+ */
456
+ EndTime: number;
457
+ /**
458
+ * 录制模式
459
+ 注意:此字段可能返回 null,表示取不到有效值。
460
+ */
461
+ EventId: number;
462
+ /**
463
+ * 本录制片段对应的录制文件URL
464
+ 注意:此字段可能返回 null,表示取不到有效值。
465
+ */
466
+ VideoUrl: string;
467
+ /**
468
+ * 本录制片段当前的录制状态
469
+ 注意:此字段可能返回 null,表示取不到有效值。
470
+ */
471
+ RecordStatus: number;
472
+ /**
473
+ * 场景ID
474
+ 注意:此字段可能返回 null,表示取不到有效值。
475
+ */
476
+ SceneId: number;
477
+ /**
478
+ * 告警ID
479
+ 注意:此字段可能返回 null,表示取不到有效值。
480
+ */
481
+ WarnId: number;
482
+ /**
483
+ * 录制id,NVR下属设备有效
484
+ 注意:此字段可能返回 null,表示取不到有效值。
485
+ */
486
+ RecordId: string;
487
+ }
229
488
  /**
230
489
  * DescribeIPCChannels请求参数结构体
231
490
  */
@@ -320,56 +579,142 @@ export interface GetVideoListByConResponse {
320
579
  RequestId?: string;
321
580
  }
322
581
  /**
323
- * UpdateTimeTemplate返回参数结构体
582
+ * 直播录制详情item
324
583
  */
325
- export interface UpdateTimeTemplateResponse {
584
+ export interface LiveRecordItem {
326
585
  /**
327
- * 操作结果,“OK”表示成功,其他表示失败。
586
+ * 录制文件自增ID
328
587
  */
329
- Status: string;
588
+ IntID: number;
330
589
  /**
331
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
590
+ * 直播频道ID
332
591
  */
333
- RequestId?: string;
334
- }
335
- /**
336
- * DescribeStatisticDetails返回参数结构体
337
- */
338
- export interface DescribeStatisticDetailsResponse {
592
+ LiveChannelId: string;
339
593
  /**
340
- * 统计详情列表
341
- 注意:此字段可能返回 null,表示取不到有效值。
594
+ * 过期时间
342
595
  */
343
- Data: Array<StatisticItem>;
596
+ ExpectDeleteTime: number;
344
597
  /**
345
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
598
+ * 录制时长
346
599
  */
347
- RequestId?: string;
348
- }
349
- /**
350
- * 分组下设备信息
351
- */
352
- export interface GroupDeviceItem {
600
+ RecordTimeLen: number;
353
601
  /**
354
- * 设备唯一标识
355
- 注意:此字段可能返回 null,表示取不到有效值。
602
+ * 文件大小
356
603
  */
357
- DeviceId: string;
604
+ FileSize: number;
358
605
  /**
359
- * 设备名称
360
- 注意:此字段可能返回 null,表示取不到有效值。
606
+ * 录制文件url
361
607
  */
362
- NickName?: string;
608
+ VideoUrl: string;
363
609
  /**
364
- * 设备状态
365
- 注意:此字段可能返回 null,表示取不到有效值。
610
+ * 录制计划ID
366
611
  */
367
- Status?: number;
612
+ RecordPlanId: string;
368
613
  /**
369
- * 扩展信息
370
- 注意:此字段可能返回 null,表示取不到有效值。
614
+ * 录制开始时间
371
615
  */
372
- ExtraInformation?: string;
616
+ StartTime: number;
617
+ /**
618
+ * 录制结束时间
619
+ */
620
+ EndTime: number;
621
+ }
622
+ /**
623
+ * UpdateTimeTemplate返回参数结构体
624
+ */
625
+ export interface UpdateTimeTemplateResponse {
626
+ /**
627
+ * 操作结果,“OK”表示成功,其他表示失败。
628
+ */
629
+ Status: string;
630
+ /**
631
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
632
+ */
633
+ RequestId?: string;
634
+ }
635
+ /**
636
+ * UpdateRecordPlan请求参数结构体
637
+ */
638
+ export interface UpdateRecordPlanRequest {
639
+ /**
640
+ * 录制计划ID
641
+ */
642
+ PlanId: string;
643
+ /**
644
+ * 计划名称
645
+ */
646
+ Name?: string;
647
+ /**
648
+ * 时间模板ID
649
+ */
650
+ TimeTemplateId?: string;
651
+ /**
652
+ * 触发录制的事件 1:全部
653
+ */
654
+ EventId?: number;
655
+ /**
656
+ * 录制设备列表
657
+ */
658
+ Devices?: Array<DeviceItem>;
659
+ /**
660
+ * 是否更新绑定此录制计划的设备列表
661
+ 0 - 不更新
662
+ 1 - 更新,如果Devices参数为空则清空设备列表,Devices不为空则全量更新设备列表
663
+ */
664
+ IsModifyDevices?: number;
665
+ }
666
+ /**
667
+ * ModifyDeviceData返回参数结构体
668
+ */
669
+ export interface ModifyDeviceDataResponse {
670
+ /**
671
+ * 操作结果,“OK”表示成功,其他表示失败。
672
+ 注意:此字段可能返回 null,表示取不到有效值。
673
+ */
674
+ Status: string;
675
+ /**
676
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
677
+ */
678
+ RequestId?: string;
679
+ }
680
+ /**
681
+ * DescribeStatisticDetails返回参数结构体
682
+ */
683
+ export interface DescribeStatisticDetailsResponse {
684
+ /**
685
+ * 统计详情列表
686
+ 注意:此字段可能返回 null,表示取不到有效值。
687
+ */
688
+ Data: Array<StatisticItem>;
689
+ /**
690
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
691
+ */
692
+ RequestId?: string;
693
+ }
694
+ /**
695
+ * 分组下设备信息
696
+ */
697
+ export interface GroupDeviceItem {
698
+ /**
699
+ * 设备唯一标识
700
+ 注意:此字段可能返回 null,表示取不到有效值。
701
+ */
702
+ DeviceId: string;
703
+ /**
704
+ * 设备名称
705
+ 注意:此字段可能返回 null,表示取不到有效值。
706
+ */
707
+ NickName?: string;
708
+ /**
709
+ * 设备状态
710
+ 注意:此字段可能返回 null,表示取不到有效值。
711
+ */
712
+ Status?: number;
713
+ /**
714
+ * 扩展信息
715
+ 注意:此字段可能返回 null,表示取不到有效值。
716
+ */
717
+ ExtraInformation?: string;
373
718
  /**
374
719
  * 设备类型
375
720
  注意:此字段可能返回 null,表示取不到有效值。
@@ -402,13 +747,23 @@ export interface GroupDeviceItem {
402
747
  Protocol?: string;
403
748
  }
404
749
  /**
405
- * DescribeStatisticSummary请求参数结构体
750
+ * DescribeSubGroups返回参数结构体
406
751
  */
407
- export interface DescribeStatisticSummaryRequest {
752
+ export interface DescribeSubGroupsResponse {
408
753
  /**
409
- * 指定日期。格式【YYYY-MM-DD】
754
+ * 子分组详情列表
755
+ 注意:此字段可能返回 null,表示取不到有效值。
410
756
  */
411
- Date: string;
757
+ GroupList: Array<GroupItem>;
758
+ /**
759
+ * 子分组总数
760
+ 注意:此字段可能返回 null,表示取不到有效值。
761
+ */
762
+ TotalCount: number;
763
+ /**
764
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
765
+ */
766
+ RequestId?: string;
412
767
  }
413
768
  /**
414
769
  * GetRecordPlanById返回参数结构体
@@ -464,138 +819,191 @@ export interface CreateTimeTemplateRequest {
464
819
  TimeTemplateSpecs?: Array<TimeTemplateSpec>;
465
820
  }
466
821
  /**
467
- * DescribeAllDeviceList请求参数结构体
822
+ * ModifyBindPlanLiveChannel请求参数结构体
468
823
  */
469
- export interface DescribeAllDeviceListRequest {
824
+ export interface ModifyBindPlanLiveChannelRequest {
470
825
  /**
471
- * 偏移量,默认0
826
+ * 直播录制计划ID
472
827
  */
473
- Offset?: number;
828
+ PlanId: string;
474
829
  /**
475
- * 限制,默认200
830
+ * 1: 绑定 2: 解绑
476
831
  */
477
- Limit?: number;
832
+ Type: number;
478
833
  /**
479
- * 设备名称,需要模糊匹配设备名称时为必填
834
+ * 直播频道ID列表
480
835
  */
481
- NickName?: string;
836
+ LiveChannelIds: Array<string>;
837
+ }
838
+ /**
839
+ * DescribeLiveStream请求参数结构体
840
+ */
841
+ export interface DescribeLiveStreamRequest {
482
842
  /**
483
- * DeviceId列表,需要精确查找设备时为必填
843
+ * 频道ID
484
844
  */
485
- DeviceIds?: Array<string>;
845
+ LiveChannelId: string;
486
846
  /**
487
- * 设备类型过滤
847
+ * 过期时间
488
848
  */
489
- DeviceTypes?: Array<number>;
849
+ ExpireTime: number;
490
850
  }
491
851
  /**
492
- * DescribeDevicePassWord请求参数结构体
852
+ * ModifyLiveRecordPlan返回参数结构体
493
853
  */
494
- export interface DescribeDevicePassWordRequest {
854
+ export interface ModifyLiveRecordPlanResponse {
495
855
  /**
496
- * 设备唯一标识
856
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
497
857
  */
498
- DeviceId: string;
858
+ RequestId?: string;
499
859
  }
500
860
  /**
501
- * 普通设备的录像详情
861
+ * 频道信息
502
862
  */
503
- export interface RecordTaskItem {
863
+ export interface LiveChannelInfo {
504
864
  /**
505
- * 录像任务ID
865
+ * 频道ID
506
866
  注意:此字段可能返回 null,表示取不到有效值。
507
867
  */
508
- RecordTaskId: string;
868
+ LiveChannelId: string;
509
869
  /**
510
- * 录制计划ID
870
+ * 频道名称
511
871
  注意:此字段可能返回 null,表示取不到有效值。
512
872
  */
513
- RecordPlanId: string;
873
+ LiveChannelName: string;
514
874
  /**
515
- * 本录制片段开始时间
875
+ * 频道类型
516
876
  注意:此字段可能返回 null,表示取不到有效值。
517
877
  */
518
- StartTime: number;
878
+ LiveChannelType: number;
519
879
  /**
520
- * 本录制片段结束时间
880
+ * 通道直播状态:1: 未推流,2: 推流中
521
881
  注意:此字段可能返回 null,表示取不到有效值。
522
882
  */
523
- EndTime: number;
883
+ LiveStatus: number;
524
884
  /**
525
- * 录制模式
885
+ * 推流地址
526
886
  注意:此字段可能返回 null,表示取不到有效值。
527
887
  */
528
- EventId: number;
888
+ PushStreamAddress: string;
529
889
  /**
530
- * 本录制片段对应的录制文件URL
890
+ * 创建时间
531
891
  注意:此字段可能返回 null,表示取不到有效值。
532
892
  */
533
- VideoUrl: string;
893
+ CreateTime: string;
534
894
  /**
535
- * 本录制片段当前的录制状态
895
+ * 修改时间
536
896
  注意:此字段可能返回 null,表示取不到有效值。
537
897
  */
538
- RecordStatus: number;
898
+ UpdateTime: string;
899
+ }
900
+ /**
901
+ * DescribeAllDeviceList请求参数结构体
902
+ */
903
+ export interface DescribeAllDeviceListRequest {
539
904
  /**
540
- * 场景ID
541
- 注意:此字段可能返回 null,表示取不到有效值。
905
+ * 偏移量,默认0
542
906
  */
543
- SceneId: number;
907
+ Offset?: number;
544
908
  /**
545
- * 告警ID
546
- 注意:此字段可能返回 null,表示取不到有效值。
909
+ * 限制,默认200
547
910
  */
548
- WarnId: number;
911
+ Limit?: number;
549
912
  /**
550
- * 录制id,NVR下属设备有效
551
- 注意:此字段可能返回 null,表示取不到有效值。
913
+ * 设备名称,需要模糊匹配设备名称时为必填
552
914
  */
553
- RecordId: string;
915
+ NickName?: string;
916
+ /**
917
+ * DeviceId列表,需要精确查找设备时为必填
918
+ */
919
+ DeviceIds?: Array<string>;
920
+ /**
921
+ * 设备类型过滤
922
+ */
923
+ DeviceTypes?: Array<number>;
554
924
  }
555
925
  /**
556
- * GetRecordPlanByDev返回参数结构体
926
+ * DescribeRecordDatesByLive请求参数结构体
557
927
  */
558
- export interface GetRecordPlanByDevResponse {
928
+ export interface DescribeRecordDatesByLiveRequest {
559
929
  /**
560
- * 录制计划详情
561
- 注意:此字段可能返回 null,表示取不到有效值。
930
+ * 直播频道ID
562
931
  */
563
- Plan: RecordPlanItem;
932
+ LiveChannelId: string;
564
933
  /**
565
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
934
+ * 分页值,本地录制时参数无效
566
935
  */
567
- RequestId?: string;
936
+ Offset: number;
937
+ /**
938
+ * 限制值,本地录制时参数无效
939
+ */
940
+ Limit: number;
568
941
  }
569
942
  /**
570
- * UpdateRecordPlan请求参数结构体
943
+ * DescribeDevicePassWord请求参数结构体
571
944
  */
572
- export interface UpdateRecordPlanRequest {
945
+ export interface DescribeDevicePassWordRequest {
946
+ /**
947
+ * 设备唯一标识
948
+ */
949
+ DeviceId: string;
950
+ }
951
+ /**
952
+ * GetRecordPlanById请求参数结构体
953
+ */
954
+ export interface GetRecordPlanByIdRequest {
573
955
  /**
574
956
  * 录制计划ID
575
957
  */
576
958
  PlanId: string;
959
+ }
960
+ /**
961
+ * DescribeLiveChannelList请求参数结构体
962
+ */
963
+ export interface DescribeLiveChannelListRequest {
577
964
  /**
578
- * 计划名称
965
+ * 偏移量
579
966
  */
580
- Name?: string;
967
+ Offset: number;
581
968
  /**
582
- * 时间模板ID
969
+ * 最大数
583
970
  */
584
- TimeTemplateId?: string;
971
+ Limit: number;
585
972
  /**
586
- * 触发录制的事件 1:全部
973
+ * 直播频道类型,1:固定直播;2:移动直播
587
974
  */
588
- EventId?: number;
975
+ LiveChannelType?: number;
589
976
  /**
590
- * 录制设备列表
977
+ * 直播录制计划ID, null: 直播录制计划为空
591
978
  */
592
- Devices?: Array<DeviceItem>;
979
+ RecordPlanId?: string;
593
980
  /**
594
- * 是否更新绑定此录制计划的设备列表
595
- 0 - 不更新
596
- 1 - 更新,如果Devices参数为空则清空设备列表,Devices不为空则全量更新设备列表
981
+ * 频道名称 (支持模糊搜索)
597
982
  */
598
- IsModifyDevices?: number;
983
+ LiveChannelName?: string;
984
+ }
985
+ /**
986
+ * GetRecordPlanByDev返回参数结构体
987
+ */
988
+ export interface GetRecordPlanByDevResponse {
989
+ /**
990
+ * 录制计划详情
991
+ 注意:此字段可能返回 null,表示取不到有效值。
992
+ */
993
+ Plan: RecordPlanItem;
994
+ /**
995
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
996
+ */
997
+ RequestId?: string;
998
+ }
999
+ /**
1000
+ * DeleteVideoList请求参数结构体
1001
+ */
1002
+ export interface DeleteVideoListRequest {
1003
+ /**
1004
+ * 视频ID列表长度限制100内
1005
+ */
1006
+ InitIDs: Array<number>;
599
1007
  }
600
1008
  /**
601
1009
  * 分组信息详情
@@ -758,21 +1166,38 @@ export interface UpdateTimeTemplateRequest {
758
1166
  TimeTemplateSpecs?: Array<TimeTemplateSpec>;
759
1167
  }
760
1168
  /**
761
- * CreateDevice返回参数结构体
1169
+ * DescribeLiveRecordPlanIds返回参数结构体
762
1170
  */
763
- export interface CreateDeviceResponse {
1171
+ export interface DescribeLiveRecordPlanIdsResponse {
764
1172
  /**
765
- * 设备编码
766
- 注意:此字段可能返回 null,表示取不到有效值。
1173
+ * 总个数
767
1174
  */
768
- DeviceCode: string;
1175
+ TotalCount: number;
769
1176
  /**
770
- * 设备唯一标识
771
- 注意:此字段可能返回 null,表示取不到有效值。
1177
+ * 计划数组
772
1178
  */
773
- DeviceId: string;
1179
+ Plans: Array<LiveRecordPlanItem>;
774
1180
  /**
775
- * 设备虚拟组信息,仅在创建NVR/VMS时返回该值
1181
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1182
+ */
1183
+ RequestId?: string;
1184
+ }
1185
+ /**
1186
+ * CreateDevice返回参数结构体
1187
+ */
1188
+ export interface CreateDeviceResponse {
1189
+ /**
1190
+ * 设备编码
1191
+ 注意:此字段可能返回 null,表示取不到有效值。
1192
+ */
1193
+ DeviceCode: string;
1194
+ /**
1195
+ * 设备唯一标识
1196
+ 注意:此字段可能返回 null,表示取不到有效值。
1197
+ */
1198
+ DeviceId: string;
1199
+ /**
1200
+ * 设备虚拟组信息,仅在创建NVR/VMS时返回该值
776
1201
  注意:此字段可能返回 null,表示取不到有效值。
777
1202
  */
778
1203
  VirtualGroupId: string;
@@ -875,6 +1300,79 @@ export interface DescribeRecordStreamRequest {
875
1300
  */
876
1301
  ChannelId?: string;
877
1302
  }
1303
+ /**
1304
+ * BindGroupDevices请求参数结构体
1305
+ */
1306
+ export interface BindGroupDevicesRequest {
1307
+ /**
1308
+ * 分组ID
1309
+ */
1310
+ GroupId: string;
1311
+ /**
1312
+ * 设备唯一标识列表
1313
+ */
1314
+ DeviceList: Array<string>;
1315
+ }
1316
+ /**
1317
+ * ModifyLiveRecordPlan请求参数结构体
1318
+ */
1319
+ export interface ModifyLiveRecordPlanRequest {
1320
+ /**
1321
+ * 录制计划ID
1322
+ */
1323
+ PlanId: string;
1324
+ /**
1325
+ * 录制计划名
1326
+ */
1327
+ PlanName: string;
1328
+ /**
1329
+ * 时间模板ID,固定直播时为必填
1330
+ */
1331
+ TemplateId?: string;
1332
+ }
1333
+ /**
1334
+ * 场景列表元素
1335
+ */
1336
+ export interface SceneItem {
1337
+ /**
1338
+ * 场景ID
1339
+ 注意:此字段可能返回 null,表示取不到有效值。
1340
+ */
1341
+ IntId: number;
1342
+ /**
1343
+ * 用户UIN
1344
+ 注意:此字段可能返回 null,表示取不到有效值。
1345
+ */
1346
+ Uin: string;
1347
+ /**
1348
+ * 场景名称
1349
+ 注意:此字段可能返回 null,表示取不到有效值。
1350
+ */
1351
+ SceneName: string;
1352
+ /**
1353
+ * 触发规则
1354
+ 注意:此字段可能返回 null,表示取不到有效值。
1355
+ */
1356
+ SceneTrigger: string;
1357
+ /**
1358
+ * 录制时长 秒
1359
+ 注意:此字段可能返回 null,表示取不到有效值。
1360
+ */
1361
+ RecordDuration: number;
1362
+ /**
1363
+ * 存储时长 天
1364
+ 注意:此字段可能返回 null,表示取不到有效值。
1365
+ */
1366
+ StoreDuration: number;
1367
+ /**
1368
+ * 创建时间
1369
+ */
1370
+ CreateTime: string;
1371
+ /**
1372
+ * 修改时间
1373
+ */
1374
+ UpdateTime: string;
1375
+ }
878
1376
  /**
879
1377
  * GetTimeTemplateById返回参数结构体
880
1378
  */
@@ -889,6 +1387,50 @@ export interface GetTimeTemplateByIdResponse {
889
1387
  */
890
1388
  RequestId?: string;
891
1389
  }
1390
+ /**
1391
+ * DescribeLiveChannel返回参数结构体
1392
+ */
1393
+ export interface DescribeLiveChannelResponse {
1394
+ /**
1395
+ * 频道ID
1396
+ 注意:此字段可能返回 null,表示取不到有效值。
1397
+ */
1398
+ LiveChannelId: string;
1399
+ /**
1400
+ * 频道名称
1401
+ 注意:此字段可能返回 null,表示取不到有效值。
1402
+ */
1403
+ LiveChannelName: string;
1404
+ /**
1405
+ * 直播频道类型 1:固定直播;2:移动直播
1406
+ 注意:此字段可能返回 null,表示取不到有效值。
1407
+ */
1408
+ LiveChannelType: number;
1409
+ /**
1410
+ * 通道直播状态:1: 未推流,2: 推流中
1411
+ 注意:此字段可能返回 null,表示取不到有效值。
1412
+ */
1413
+ LiveStatus: number;
1414
+ /**
1415
+ * 推流地址
1416
+ 注意:此字段可能返回 null,表示取不到有效值。
1417
+ */
1418
+ PushStreamAddress: string;
1419
+ /**
1420
+ * 创建时间
1421
+ 注意:此字段可能返回 null,表示取不到有效值。
1422
+ */
1423
+ CreateTime: Array<string>;
1424
+ /**
1425
+ * 修改时间
1426
+ 注意:此字段可能返回 null,表示取不到有效值。
1427
+ */
1428
+ UpdateTime: Array<string>;
1429
+ /**
1430
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1431
+ */
1432
+ RequestId?: string;
1433
+ }
892
1434
  /**
893
1435
  * ControlDevicePTZ返回参数结构体
894
1436
  */
@@ -971,6 +1513,25 @@ export interface UpdateDeviceGroupRequest {
971
1513
  */
972
1514
  NewParentId?: string;
973
1515
  }
1516
+ /**
1517
+ * DescribeChannelsByLiveRecordPlan返回参数结构体
1518
+ */
1519
+ export interface DescribeChannelsByLiveRecordPlanResponse {
1520
+ /**
1521
+ * 总个数
1522
+ 注意:此字段可能返回 null,表示取不到有效值。
1523
+ */
1524
+ TotalCount: number;
1525
+ /**
1526
+ * 通道详情数组
1527
+ 注意:此字段可能返回 null,表示取不到有效值。
1528
+ */
1529
+ LiveChannels: Array<LiveChannelItem>;
1530
+ /**
1531
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1532
+ */
1533
+ RequestId?: string;
1534
+ }
974
1535
  /**
975
1536
  * DescribeGroupDevices请求参数结构体
976
1537
  */
@@ -1024,6 +1585,28 @@ export interface UpdateDevicePassWordResponse {
1024
1585
  */
1025
1586
  RequestId?: string;
1026
1587
  }
1588
+ /**
1589
+ * DeleteChannel请求参数结构体
1590
+ */
1591
+ export interface DeleteChannelRequest {
1592
+ /**
1593
+ * 设备ID
1594
+ */
1595
+ DeviceId: string;
1596
+ /**
1597
+ * 通道ID
1598
+ */
1599
+ ChannelId: string;
1600
+ }
1601
+ /**
1602
+ * DescribeSubscriptionStatus请求参数结构体
1603
+ */
1604
+ export interface DescribeSubscriptionStatusRequest {
1605
+ /**
1606
+ * 设备ID
1607
+ */
1608
+ DeviceId: string;
1609
+ }
1027
1610
  /**
1028
1611
  * DescribeDeviceStreams请求参数结构体
1029
1612
  */
@@ -1067,6 +1650,31 @@ export interface CreateRecordPlanResponse {
1067
1650
  */
1068
1651
  RequestId?: string;
1069
1652
  }
1653
+ /**
1654
+ * CreateScene请求参数结构体
1655
+ */
1656
+ export interface CreateSceneRequest {
1657
+ /**
1658
+ * 场景名称
1659
+ */
1660
+ SceneName: string;
1661
+ /**
1662
+ * 场景触发规则
1663
+ */
1664
+ SceneTrigger: string;
1665
+ /**
1666
+ * 录制时长 (秒)
1667
+ */
1668
+ RecordDuration: number;
1669
+ /**
1670
+ * 录像存储时长(天)
1671
+ */
1672
+ StoreDuration: number;
1673
+ /**
1674
+ * 设备列表
1675
+ */
1676
+ Devices?: Array<DeviceItem>;
1677
+ }
1070
1678
  /**
1071
1679
  * 查询全部设备出参
1072
1680
  */
@@ -1137,6 +1745,25 @@ export interface AllDeviceInfo {
1137
1745
  */
1138
1746
  GroupName?: string;
1139
1747
  }
1748
+ /**
1749
+ * DescribeLiveVideoList返回参数结构体
1750
+ */
1751
+ export interface DescribeLiveVideoListResponse {
1752
+ /**
1753
+ * 总的条数
1754
+ 注意:此字段可能返回 null,表示取不到有效值。
1755
+ */
1756
+ Total: number;
1757
+ /**
1758
+ * 录制任务详情数组
1759
+ 注意:此字段可能返回 null,表示取不到有效值。
1760
+ */
1761
+ RecordList: Array<LiveRecordItem>;
1762
+ /**
1763
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1764
+ */
1765
+ RequestId?: string;
1766
+ }
1140
1767
  /**
1141
1768
  * DeleteDeviceGroup请求参数结构体
1142
1769
  */
@@ -1147,14 +1774,52 @@ export interface DeleteDeviceGroupRequest {
1147
1774
  GroupId: string;
1148
1775
  }
1149
1776
  /**
1150
- * DescribeDeviceGroup返回参数结构体
1777
+ * DescribeLiveRecordPlanById返回参数结构体
1151
1778
  */
1152
- export interface DescribeDeviceGroupResponse {
1779
+ export interface DescribeLiveRecordPlanByIdResponse {
1153
1780
  /**
1154
- * 设备所在分组信息
1781
+ * 计划名称
1782
+ */
1783
+ PlanName: string;
1784
+ /**
1785
+ * 模板ID
1786
+ */
1787
+ TemplateId: string;
1788
+ /**
1789
+ * 模板名称
1790
+ */
1791
+ TemplateName: string;
1792
+ /**
1793
+ * 存储时间
1794
+ */
1795
+ RecordStorageTime: number;
1796
+ /**
1797
+ * 计划类型
1798
+ */
1799
+ PlanType: number;
1800
+ /**
1801
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1802
+ */
1803
+ RequestId?: string;
1804
+ }
1805
+ /**
1806
+ * DescribeRecordDatesByLive返回参数结构体
1807
+ */
1808
+ export interface DescribeRecordDatesByLiveResponse {
1809
+ /**
1810
+ * 录制日期数组
1155
1811
  注意:此字段可能返回 null,表示取不到有效值。
1156
1812
  */
1157
- DevGroups: Array<DevGroupInfo>;
1813
+ Dates: Array<string>;
1814
+ /**
1815
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1816
+ */
1817
+ RequestId?: string;
1818
+ }
1819
+ /**
1820
+ * ModifySubscriptionStatus返回参数结构体
1821
+ */
1822
+ export interface ModifySubscriptionStatusResponse {
1158
1823
  /**
1159
1824
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1160
1825
  */
@@ -1173,6 +1838,15 @@ export interface ModifyDeviceDataRequest {
1173
1838
  */
1174
1839
  NickName: string;
1175
1840
  }
1841
+ /**
1842
+ * DeleteScene返回参数结构体
1843
+ */
1844
+ export interface DeleteSceneResponse {
1845
+ /**
1846
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1847
+ */
1848
+ RequestId?: string;
1849
+ }
1176
1850
  /**
1177
1851
  * GetRecordDatesByDev请求参数结构体
1178
1852
  */
@@ -1198,6 +1872,51 @@ export interface GetRecordDatesByDevRequest {
1198
1872
  */
1199
1873
  Type?: number;
1200
1874
  }
1875
+ /**
1876
+ * DescribeLiveVideoList请求参数结构体
1877
+ */
1878
+ export interface DescribeLiveVideoListRequest {
1879
+ /**
1880
+ * 偏移量
1881
+ */
1882
+ Offset: number;
1883
+ /**
1884
+ * 分页的每页数量
1885
+ */
1886
+ Limit: number;
1887
+ /**
1888
+ * 直播ID
1889
+ */
1890
+ LiveChannelId: string;
1891
+ /**
1892
+ * 开始录制开始时间
1893
+ */
1894
+ StartRecordTime?: number;
1895
+ /**
1896
+ * 开始录制结束时间
1897
+ */
1898
+ EndRecordTime?: number;
1899
+ /**
1900
+ * 过期开始时间
1901
+ */
1902
+ StartExpireTime?: number;
1903
+ /**
1904
+ * 过期结束时间
1905
+ */
1906
+ EndExpireTime?: number;
1907
+ /**
1908
+ * 文件大小范围 Byte
1909
+ */
1910
+ StartFileSize?: number;
1911
+ /**
1912
+ * 文件大小范围 Byte
1913
+ */
1914
+ EndFileSize?: number;
1915
+ /**
1916
+ * 录制状态,5: 录制回写完
1917
+ */
1918
+ IsRecording?: number;
1919
+ }
1201
1920
  /**
1202
1921
  * GetTimeTemplates返回参数结构体
1203
1922
  */
@@ -1217,13 +1936,37 @@ export interface GetTimeTemplatesResponse {
1217
1936
  RequestId?: string;
1218
1937
  }
1219
1938
  /**
1220
- * DescribeDevicePassWord返回参数结构体
1939
+ * CreateLiveChannel返回参数结构体
1221
1940
  */
1222
- export interface DescribeDevicePassWordResponse {
1941
+ export interface CreateLiveChannelResponse {
1223
1942
  /**
1224
- * 设备密码
1943
+ * 直播频道ID
1944
+ 注意:此字段可能返回 null,表示取不到有效值。
1225
1945
  */
1226
- PassWord: string;
1946
+ LiveChannelId: string;
1947
+ /**
1948
+ * 直播频道推流地址
1949
+ 注意:此字段可能返回 null,表示取不到有效值。
1950
+ */
1951
+ PushStreamAddress: string;
1952
+ /**
1953
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1954
+ */
1955
+ RequestId?: string;
1956
+ }
1957
+ /**
1958
+ * DeleteVideoList返回参数结构体
1959
+ */
1960
+ export interface DeleteVideoListResponse {
1961
+ /**
1962
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1963
+ */
1964
+ RequestId?: string;
1965
+ }
1966
+ /**
1967
+ * ModifyLiveVideo返回参数结构体
1968
+ */
1969
+ export interface ModifyLiveVideoResponse {
1227
1970
  /**
1228
1971
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1229
1972
  */
@@ -1268,23 +2011,13 @@ export interface DescribeAllDeviceListResponse {
1268
2011
  RequestId?: string;
1269
2012
  }
1270
2013
  /**
1271
- * DescribeSubGroups返回参数结构体
2014
+ * DescribeStatisticSummary请求参数结构体
1272
2015
  */
1273
- export interface DescribeSubGroupsResponse {
2016
+ export interface DescribeStatisticSummaryRequest {
1274
2017
  /**
1275
- * 子分组详情列表
1276
- 注意:此字段可能返回 null,表示取不到有效值。
2018
+ * 指定日期。格式【YYYY-MM-DD】
1277
2019
  */
1278
- GroupList: Array<GroupItem>;
1279
- /**
1280
- * 子分组总数
1281
- 注意:此字段可能返回 null,表示取不到有效值。
1282
- */
1283
- TotalCount: number;
1284
- /**
1285
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1286
- */
1287
- RequestId?: string;
2020
+ Date: string;
1288
2021
  }
1289
2022
  /**
1290
2023
  * DescribeGroups返回参数结构体
@@ -1322,17 +2055,50 @@ export interface DescribeDeviceStreamsData {
1322
2055
  FlvAddr: string;
1323
2056
  }
1324
2057
  /**
1325
- * BindGroupDevices请求参数结构体
2058
+ * DeleteLiveRecordPlan请求参数结构体
1326
2059
  */
1327
- export interface BindGroupDevicesRequest {
2060
+ export interface DeleteLiveRecordPlanRequest {
1328
2061
  /**
1329
- * 分组ID
2062
+ * 录制计划ID
1330
2063
  */
1331
- GroupId: string;
2064
+ PlanId: string;
2065
+ }
2066
+ /**
2067
+ * DeleteDevice返回参数结构体
2068
+ */
2069
+ export interface DeleteDeviceResponse {
1332
2070
  /**
1333
- * 设备唯一标识列表
2071
+ * 操作结果
2072
+ 注意:此字段可能返回 null,表示取不到有效值。
1334
2073
  */
1335
- DeviceList: Array<string>;
2074
+ Status: string;
2075
+ /**
2076
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2077
+ */
2078
+ RequestId?: string;
2079
+ }
2080
+ /**
2081
+ * DeleteLiveVideoList返回参数结构体
2082
+ */
2083
+ export interface DeleteLiveVideoListResponse {
2084
+ /**
2085
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2086
+ */
2087
+ RequestId?: string;
2088
+ }
2089
+ /**
2090
+ * DescribeDeviceGroup返回参数结构体
2091
+ */
2092
+ export interface DescribeDeviceGroupResponse {
2093
+ /**
2094
+ * 设备所在分组信息
2095
+ 注意:此字段可能返回 null,表示取不到有效值。
2096
+ */
2097
+ DevGroups: Array<DevGroupInfo>;
2098
+ /**
2099
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2100
+ */
2101
+ RequestId?: string;
1336
2102
  }
1337
2103
  /**
1338
2104
  * CreateTimeTemplate返回参数结构体
@@ -1347,6 +2113,15 @@ export interface CreateTimeTemplateResponse {
1347
2113
  */
1348
2114
  RequestId?: string;
1349
2115
  }
2116
+ /**
2117
+ * DeleteLiveChannel请求参数结构体
2118
+ */
2119
+ export interface DeleteLiveChannelRequest {
2120
+ /**
2121
+ * 直播频道ID
2122
+ */
2123
+ LiveChannelId: string;
2124
+ }
1350
2125
  /**
1351
2126
  * 某天的统计数额
1352
2127
  */
@@ -1384,6 +2159,15 @@ export interface DescribeGroupByPathRequest {
1384
2159
  */
1385
2160
  GroupPath: string;
1386
2161
  }
2162
+ /**
2163
+ * DeleteChannel返回参数结构体
2164
+ */
2165
+ export interface DeleteChannelResponse {
2166
+ /**
2167
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2168
+ */
2169
+ RequestId?: string;
2170
+ }
1387
2171
  /**
1388
2172
  * UpdateRecordPlan返回参数结构体
1389
2173
  */
@@ -1437,39 +2221,17 @@ export interface DescribeDeviceGroupRequest {
1437
2221
  DeviceIds?: Array<string>;
1438
2222
  }
1439
2223
  /**
1440
- * 录制计划详情
2224
+ * 直播频道详情
1441
2225
  */
1442
- export interface RecordPlanItem {
1443
- /**
1444
- * 计划ID
1445
- 注意:此字段可能返回 null,表示取不到有效值。
1446
- */
1447
- PlanId: string;
1448
- /**
1449
- * 计划名称
1450
- 注意:此字段可能返回 null,表示取不到有效值。
1451
- */
1452
- Name: string;
1453
- /**
1454
- * 时间模板ID
1455
- 注意:此字段可能返回 null,表示取不到有效值。
1456
- */
1457
- TimeTemplateId: string;
1458
- /**
1459
- * 时间模板名称
1460
- 注意:此字段可能返回 null,表示取不到有效值。
1461
- */
1462
- TimeTemplateName: string;
2226
+ export interface LiveChannelItem {
1463
2227
  /**
1464
- * 录制类型
1465
- 注意:此字段可能返回 null,表示取不到有效值。
2228
+ * 频道ID
1466
2229
  */
1467
- EventId: number;
2230
+ ChannelId: string;
1468
2231
  /**
1469
- * 绑定的设备列表
1470
- 注意:此字段可能返回 null,表示取不到有效值。
2232
+ * 频道名称
1471
2233
  */
1472
- Devices: Array<DeviceItem>;
2234
+ ChannelName: string;
1473
2235
  }
1474
2236
  /**
1475
2237
  * DescribeGroups请求参数结构体
@@ -1500,14 +2262,26 @@ export interface GetRecordPlansResponse {
1500
2262
  RequestId?: string;
1501
2263
  }
1502
2264
  /**
1503
- * DescribeGroupById返回参数结构体
2265
+ * DescribeChannelsByLiveRecordPlan请求参数结构体
1504
2266
  */
1505
- export interface DescribeGroupByIdResponse {
2267
+ export interface DescribeChannelsByLiveRecordPlanRequest {
1506
2268
  /**
1507
- * 分组信息详情
1508
- 注意:此字段可能返回 null,表示取不到有效值。
2269
+ * 录制计划ID
1509
2270
  */
1510
- Group: GroupItem;
2271
+ PlanId: string;
2272
+ /**
2273
+ * 分页偏移量
2274
+ */
2275
+ Offset?: number;
2276
+ /**
2277
+ * 分页大小
2278
+ */
2279
+ Limit?: number;
2280
+ }
2281
+ /**
2282
+ * ModifyLiveChannel返回参数结构体
2283
+ */
2284
+ export interface ModifyLiveChannelResponse {
1511
2285
  /**
1512
2286
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1513
2287
  */
@@ -1523,65 +2297,44 @@ export interface GetTimeTemplateByIdRequest {
1523
2297
  TemplateId: string;
1524
2298
  }
1525
2299
  /**
1526
- * 分组信息
2300
+ * 录制计划详情
1527
2301
  */
1528
- export interface GroupItem {
1529
- /**
1530
- * 分组名称
1531
- 注意:此字段可能返回 null,表示取不到有效值。
1532
- */
1533
- GroupName: string;
1534
- /**
1535
- * 父分组ID
1536
- 注意:此字段可能返回 null,表示取不到有效值。
1537
- */
1538
- ParentId: string;
1539
- /**
1540
- * 分组ID
1541
- 注意:此字段可能返回 null,表示取不到有效值。
1542
- */
1543
- GroupId: string;
1544
- /**
1545
- * 分组路径
1546
- 注意:此字段可能返回 null,表示取不到有效值。
1547
- */
1548
- GroupPath?: string;
1549
- /**
1550
- * 分组描述
1551
- 注意:此字段可能返回 null,表示取不到有效值。
1552
- */
1553
- GroupDescribe?: string;
2302
+ export interface RecordPlanItem {
1554
2303
  /**
1555
- * 分组绑定设备数
2304
+ * 计划ID
1556
2305
  注意:此字段可能返回 null,表示取不到有效值。
1557
2306
  */
1558
- DeviceNum?: number;
2307
+ PlanId: string;
1559
2308
  /**
1560
- * 子分组数量
2309
+ * 计划名称
1561
2310
  注意:此字段可能返回 null,表示取不到有效值。
1562
2311
  */
1563
- SubGroupNum?: number;
2312
+ Name: string;
1564
2313
  /**
1565
- * 分组附加信息
2314
+ * 时间模板ID
1566
2315
  注意:此字段可能返回 null,表示取不到有效值。
1567
2316
  */
1568
- ExtraInformation?: string;
2317
+ TimeTemplateId: string;
1569
2318
  /**
1570
- * 分组类型
2319
+ * 时间模板名称
1571
2320
  注意:此字段可能返回 null,表示取不到有效值。
1572
2321
  */
1573
- GroupType?: string;
2322
+ TimeTemplateName: string;
1574
2323
  /**
1575
- * 创建时间
2324
+ * 录制类型
1576
2325
  注意:此字段可能返回 null,表示取不到有效值。
1577
2326
  */
1578
- CreateTime?: number;
2327
+ EventId: number;
1579
2328
  /**
1580
- * 分组状态
2329
+ * 绑定的设备列表
1581
2330
  注意:此字段可能返回 null,表示取不到有效值。
1582
2331
  */
1583
- GroupStatus?: number;
2332
+ Devices: Array<DeviceItem>;
1584
2333
  }
2334
+ /**
2335
+ * GetRecordPlans请求参数结构体
2336
+ */
2337
+ export declare type GetRecordPlansRequest = null;
1585
2338
  /**
1586
2339
  * DeleteTimeTemplate请求参数结构体
1587
2340
  */
@@ -1591,6 +2344,19 @@ export interface DeleteTimeTemplateRequest {
1591
2344
  */
1592
2345
  TemplateId: string;
1593
2346
  }
2347
+ /**
2348
+ * ModifyLiveChannel请求参数结构体
2349
+ */
2350
+ export interface ModifyLiveChannelRequest {
2351
+ /**
2352
+ * 直播频道ID
2353
+ */
2354
+ LiveChannelId: string;
2355
+ /**
2356
+ * 直播频道名
2357
+ */
2358
+ LiveChannelName: string;
2359
+ }
1594
2360
  /**
1595
2361
  * DescribeVideoList返回参数结构体
1596
2362
  */
@@ -1612,6 +2378,81 @@ export interface DescribeVideoListResponse {
1612
2378
  */
1613
2379
  RequestId?: string;
1614
2380
  }
2381
+ /**
2382
+ * DescribeLiveRecordPlanIds请求参数结构体
2383
+ */
2384
+ export interface DescribeLiveRecordPlanIdsRequest {
2385
+ /**
2386
+ * 时间模板ID
2387
+ */
2388
+ TemplateId?: string;
2389
+ /**
2390
+ * 分页偏移量
2391
+ */
2392
+ Offset?: number;
2393
+ /**
2394
+ * 分页大小
2395
+ */
2396
+ Limit?: number;
2397
+ }
2398
+ /**
2399
+ * DeleteLiveVideoList请求参数结构体
2400
+ */
2401
+ export interface DeleteLiveVideoListRequest {
2402
+ /**
2403
+ * 视频ID 列表, 大小限制(100)
2404
+ */
2405
+ IntIDs: Array<number>;
2406
+ }
2407
+ /**
2408
+ * DescribeScenes请求参数结构体
2409
+ */
2410
+ export interface DescribeScenesRequest {
2411
+ /**
2412
+ * 条数限制
2413
+ */
2414
+ Limit: number;
2415
+ /**
2416
+ * 偏移
2417
+ */
2418
+ Offset?: number;
2419
+ }
2420
+ /**
2421
+ * DeleteLiveRecordPlan返回参数结构体
2422
+ */
2423
+ export interface DeleteLiveRecordPlanResponse {
2424
+ /**
2425
+ * 删除状态描述
2426
+ */
2427
+ Status: string;
2428
+ /**
2429
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2430
+ */
2431
+ RequestId?: string;
2432
+ }
2433
+ /**
2434
+ * ModifyVideoInfo返回参数结构体
2435
+ */
2436
+ export interface ModifyVideoInfoResponse {
2437
+ /**
2438
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2439
+ */
2440
+ RequestId?: string;
2441
+ }
2442
+ /**
2443
+ * DescribeGroupById返回参数结构体
2444
+ */
2445
+ export interface DescribeGroupByIdResponse {
2446
+ /**
2447
+ * 分组信息详情
2448
+ 注意:此字段可能返回 null,表示取不到有效值。
2449
+ */
2450
+ Group: GroupItem;
2451
+ /**
2452
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2453
+ */
2454
+ RequestId?: string;
2455
+ }
1615
2456
  /**
1616
2457
  * ControlRecordStream返回参数结构体
1617
2458
  */
@@ -1621,6 +2462,46 @@ export interface ControlRecordStreamResponse {
1621
2462
  */
1622
2463
  RequestId?: string;
1623
2464
  }
2465
+ /**
2466
+ * DeleteLiveChannel返回参数结构体
2467
+ */
2468
+ export interface DeleteLiveChannelResponse {
2469
+ /**
2470
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2471
+ */
2472
+ RequestId?: string;
2473
+ }
2474
+ /**
2475
+ * 拉流地址,只有在推流情况下才有
2476
+
2477
+ */
2478
+ export interface StreamAddress {
2479
+ /**
2480
+ * 流ID
2481
+ 注意:此字段可能返回 null,表示取不到有效值。
2482
+ */
2483
+ StreamId: string;
2484
+ /**
2485
+ * rtsp流地址
2486
+ 注意:此字段可能返回 null,表示取不到有效值。
2487
+ */
2488
+ RtspAddr: string;
2489
+ /**
2490
+ * rtmp流地址
2491
+ 注意:此字段可能返回 null,表示取不到有效值。
2492
+ */
2493
+ RtmpAddr: string;
2494
+ /**
2495
+ * hls流地址
2496
+ 注意:此字段可能返回 null,表示取不到有效值。
2497
+ */
2498
+ HlsAddr: string;
2499
+ /**
2500
+ * flv流地址
2501
+ 注意:此字段可能返回 null,表示取不到有效值。
2502
+ */
2503
+ FlvAddr: string;
2504
+ }
1624
2505
  /**
1625
2506
  * BindGroupDevices返回参数结构体
1626
2507
  */
@@ -1704,33 +2585,86 @@ export interface DescribeVideoListRequest {
1704
2585
  RecordType?: Array<number>;
1705
2586
  }
1706
2587
  /**
1707
- * ModifyDeviceData返回参数结构体
2588
+ * DescribeLiveChannelList返回参数结构体
1708
2589
  */
1709
- export interface ModifyDeviceDataResponse {
2590
+ export interface DescribeLiveChannelListResponse {
1710
2591
  /**
1711
- * 操作结果,“OK”表示成功,其他表示失败。
2592
+ * 频道总数
1712
2593
  注意:此字段可能返回 null,表示取不到有效值。
1713
2594
  */
1714
- Status: string;
2595
+ Total: number;
2596
+ /**
2597
+ * 频道信息数组
2598
+ 注意:此字段可能返回 null,表示取不到有效值。
2599
+ */
2600
+ LiveChannels: Array<LiveChannelInfo>;
1715
2601
  /**
1716
2602
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1717
2603
  */
1718
2604
  RequestId?: string;
1719
2605
  }
1720
2606
  /**
1721
- * DeleteDevice返回参数结构体
2607
+ * DescribeDevicePassWord返回参数结构体
1722
2608
  */
1723
- export interface DeleteDeviceResponse {
2609
+ export interface DescribeDevicePassWordResponse {
1724
2610
  /**
1725
- * 操作结果
2611
+ * 设备密码
2612
+ */
2613
+ PassWord: string;
2614
+ /**
2615
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2616
+ */
2617
+ RequestId?: string;
2618
+ }
2619
+ /**
2620
+ * DescribeBindSceneDevices请求参数结构体
2621
+ */
2622
+ export interface DescribeBindSceneDevicesRequest {
2623
+ /**
2624
+ * 场景ID
2625
+ */
2626
+ SceneId?: number;
2627
+ /**
2628
+ * 偏移值
2629
+ */
2630
+ Offset?: number;
2631
+ /**
2632
+ * 条数限制最大不能超过1000
2633
+ */
2634
+ Limit?: number;
2635
+ }
2636
+ /**
2637
+ * DescribeBindSceneDevices返回参数结构体
2638
+ */
2639
+ export interface DescribeBindSceneDevicesResponse {
2640
+ /**
2641
+ * 总数
1726
2642
  注意:此字段可能返回 null,表示取不到有效值。
1727
2643
  */
1728
- Status: string;
2644
+ Total: number;
2645
+ /**
2646
+ * 设备列表
2647
+ 注意:此字段可能返回 null,表示取不到有效值。
2648
+ */
2649
+ List: Array<DeviceItem>;
1729
2650
  /**
1730
2651
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1731
2652
  */
1732
2653
  RequestId?: string;
1733
2654
  }
2655
+ /**
2656
+ * ModifyLiveVideo请求参数结构体
2657
+ */
2658
+ export interface ModifyLiveVideoRequest {
2659
+ /**
2660
+ * 视频ID 列表, 大小限制(100)
2661
+ */
2662
+ IntIDs: Array<number>;
2663
+ /**
2664
+ * 过期时间 秒 (-1: 为永不过期)
2665
+ */
2666
+ ExpireTime: number;
2667
+ }
1734
2668
  /**
1735
2669
  * DescribeGroupByPath返回参数结构体
1736
2670
  */
@@ -1745,6 +2679,19 @@ export interface DescribeGroupByPathResponse {
1745
2679
  */
1746
2680
  RequestId?: string;
1747
2681
  }
2682
+ /**
2683
+ * CreateLiveChannel请求参数结构体
2684
+ */
2685
+ export interface CreateLiveChannelRequest {
2686
+ /**
2687
+ * 直播频道名称
2688
+ */
2689
+ LiveChannelName: string;
2690
+ /**
2691
+ * 直播频道类型 1:固定直播;2:移动直播
2692
+ */
2693
+ LiveChannelType: number;
2694
+ }
1748
2695
  /**
1749
2696
  * DescribeGroupDevices返回参数结构体
1750
2697
  */
@@ -1764,3 +2711,26 @@ export interface DescribeGroupDevicesResponse {
1764
2711
  */
1765
2712
  RequestId?: string;
1766
2713
  }
2714
+ /**
2715
+ * DeleteScene请求参数结构体
2716
+ */
2717
+ export interface DeleteSceneRequest {
2718
+ /**
2719
+ * 场景ID
2720
+ */
2721
+ IntId: number;
2722
+ }
2723
+ /**
2724
+ * DescribeLiveStream返回参数结构体
2725
+ */
2726
+ export interface DescribeLiveStreamResponse {
2727
+ /**
2728
+ * 拉流地址,只有在推流情况下才有
2729
+ 注意:此字段可能返回 null,表示取不到有效值。
2730
+ */
2731
+ Data: StreamAddress;
2732
+ /**
2733
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2734
+ */
2735
+ RequestId?: string;
2736
+ }