tencentcloud-sdk-nodejs 4.0.266 → 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 (27) hide show
  1. package/CHANGELOG.md +149 -0
  2. package/SERVICE_CHANGELOG.md +211 -179
  3. package/package.json +1 -1
  4. package/products.md +8 -8
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_models.ts +5 -0
  7. package/src/services/clb/v20180317/clb_models.ts +17 -0
  8. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  9. package/src/services/faceid/v20180301/faceid_models.ts +15 -0
  10. package/src/services/ic/v20190307/ic_models.ts +1 -1
  11. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +831 -391
  12. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +2085 -361
  13. package/src/services/ocr/v20181119/ocr_models.ts +1 -1
  14. package/src/services/wav/v20210129/wav_models.ts +1 -1
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
  18. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +14 -0
  19. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  20. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +13 -0
  21. package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
  22. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +276 -119
  23. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +400 -175
  24. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1776 -294
  25. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  26. package/tencentcloud/services/wav/v20210129/wav_models.d.ts +1 -1
  27. package/test/iotvideoindustry.v20201201.test.js +454 -114
@@ -29,6 +29,7 @@ class Client extends abstract_client_1.AbstractClient {
29
29
  }
30
30
  /**
31
31
  * 获取IPC设备下属通道
32
+ 请使用DescribeChannels接口
32
33
  */
33
34
  async DescribeIPCChannels(req, cb) {
34
35
  return this.request("DescribeIPCChannels", req, cb);
@@ -46,175 +47,240 @@ class Client extends abstract_client_1.AbstractClient {
46
47
  return this.request("DescribeSubGroups", req, cb);
47
48
  }
48
49
  /**
49
- * 本接口(UpdateDeviceGroup)用于修改分组信息。
50
+ * 本接口(DescribeStatisticSummary)用于查询用户昨日的概览数据。
50
51
  */
51
- async UpdateDeviceGroup(req, cb) {
52
- return this.request("UpdateDeviceGroup", req, cb);
52
+ async DescribeStatisticSummary(req, cb) {
53
+ return this.request("DescribeStatisticSummary", req, cb);
53
54
  }
54
55
  /**
55
- * 修改消息转发配置
56
+ * 创建场景
56
57
  */
57
- async ModifyMessageForward(req, cb) {
58
- return this.request("ModifyMessageForward", req, cb);
58
+ async CreateScene(req, cb) {
59
+ return this.request("CreateScene", req, cb);
59
60
  }
60
61
  /**
61
- * 本接口(DescribeDeviceStreams)用于获取设备实时流地址。
62
+ * 场景详情
62
63
  */
63
- async DescribeDeviceStreams(req, cb) {
64
- return this.request("DescribeDeviceStreams", req, cb);
64
+ async DescribeScene(req, cb) {
65
+ return this.request("DescribeScene", req, cb);
65
66
  }
66
67
  /**
67
- * 删除录像存储列表
68
+ * 获取指定设备详细信息
68
69
  */
69
- async DeleteVideoList(req, cb) {
70
- return this.request("DeleteVideoList", req, cb);
70
+ async DescribeDevice(req, cb) {
71
+ return this.request("DescribeDevice", req, cb);
71
72
  }
72
73
  /**
73
- * 本接口(CreateDeviceGroup) 用于创建设备管理分组。
74
+ * 本接口(ModifyBindRecordingPlan)用于更新录制计划绑定的通道
74
75
  */
75
- async CreateDeviceGroup(req, cb) {
76
- return this.request("CreateDeviceGroup", req, cb);
76
+ async ModifyBindRecordingPlan(req, cb) {
77
+ return this.request("ModifyBindRecordingPlan", req, cb);
77
78
  }
78
79
  /**
79
- * 获取回放视频流(NVR录制用)
80
- RecordId和StartTime/EndTime互斥
81
- 当存在RecordId时,StartTime和EndTime无效
82
- 当RecordId为空,StartTime和EndTime生效
80
+ * 本接口(DescribeVideoListByChannel)用于查询指定通道的录制文件列表
83
81
  */
84
- async DescribeRecordStream(req, cb) {
85
- return this.request("DescribeRecordStream", req, cb);
82
+ async DescribeVideoListByChannel(req, cb) {
83
+ return this.request("DescribeVideoListByChannel", req, cb);
86
84
  }
87
85
  /**
88
- * 直播录像回放列表
86
+ * 直播拉流接口
89
87
  */
90
- async DescribeLiveVideoList(req, cb) {
91
- return this.request("DescribeLiveVideoList", req, cb);
88
+ async DescribeLiveStream(req, cb) {
89
+ return this.request("DescribeLiveStream", req, cb);
92
90
  }
93
91
  /**
94
- * 创建场景
92
+ * 修改场景
95
93
  */
96
- async CreateScene(req, cb) {
97
- return this.request("CreateScene", req, cb);
94
+ async ModifyScene(req, cb) {
95
+ return this.request("ModifyScene", req, cb);
96
+ }
97
+ /**
98
+ * 本接口(DescribeRecordingPlanById)用于根据录制计划ID获取录制计划。
99
+ */
100
+ async DescribeRecordingPlanById(req, cb) {
101
+ return this.request("DescribeRecordingPlanById", req, cb);
102
+ }
103
+ /**
104
+ * 本接口(DescribeGroupDevices)用于查询分组下的设备列表。
105
+ */
106
+ async DescribeGroupDevices(req, cb) {
107
+ return this.request("DescribeGroupDevices", req, cb);
108
+ }
109
+ /**
110
+ * 查询设备统计当前信息
111
+ */
112
+ async DescribeCurrentDeviceData(req, cb) {
113
+ return this.request("DescribeCurrentDeviceData", req, cb);
114
+ }
115
+ /**
116
+ * 本接口(DescribeDeviceStreams)用于获取设备实时流地址。
117
+ 请使用DescribeChannelStreamURL接口
118
+ */
119
+ async DescribeDeviceStreams(req, cb) {
120
+ return this.request("DescribeDeviceStreams", req, cb);
98
121
  }
99
122
  /**
100
123
  * 本接口(GetVideoListByCon)用于查询设备的录制文件列表
124
+ 请使用DescribeVideoListByChannel接口
101
125
  */
102
126
  async GetVideoListByCon(req, cb) {
103
127
  return this.request("GetVideoListByCon", req, cb);
104
128
  }
105
129
  /**
106
- * 本接口(UpdateTimeTemplate)用于更新时间模板。
130
+ * 本接口(DescribeRecordingPlans)用于获取用户的全部录制计划。
107
131
  */
108
- async UpdateTimeTemplate(req, cb) {
109
- return this.request("UpdateTimeTemplate", req, cb);
132
+ async DescribeRecordingPlans(req, cb) {
133
+ return this.request("DescribeRecordingPlans", req, cb);
110
134
  }
111
135
  /**
112
- * 本接口(UpdateDevicePassWord)用于修改设备密码。
136
+ * 本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。
113
137
  */
114
- async UpdateDevicePassWord(req, cb) {
115
- return this.request("UpdateDevicePassWord", req, cb);
138
+ async DescribeDeviceGroup(req, cb) {
139
+ return this.request("DescribeDeviceGroup", req, cb);
116
140
  }
117
141
  /**
118
- * 查询主设备订阅状态
142
+ * 本接口(DeleteRecordPlan)用于删除录制计划
143
+ 录制计划删除的同时,会停止该录制计划下的全部录制任务。
144
+ 请使用DeleteRecordingPlan接口
119
145
  */
120
- async DescribeSubscriptionStatus(req, cb) {
121
- return this.request("DescribeSubscriptionStatus", req, cb);
146
+ async DeleteRecordPlan(req, cb) {
147
+ return this.request("DeleteRecordPlan", req, cb);
122
148
  }
123
149
  /**
124
- * 对回放流进行控制,包括暂停、播放、拉动、结束等
150
+ * 创建消息转发配置
125
151
  */
126
- async ControlRecordStream(req, cb) {
127
- return this.request("ControlRecordStream", req, cb);
152
+ async CreateMessageForward(req, cb) {
153
+ return this.request("CreateMessageForward", req, cb);
128
154
  }
129
155
  /**
130
- * 直播录制计划绑定解绑直播频道
156
+ * 本接口(DeleteTimeTemplate) 用于删除时间模板。
131
157
  */
132
- async ModifyBindPlanLiveChannel(req, cb) {
133
- return this.request("ModifyBindPlanLiveChannel", req, cb);
158
+ async DeleteTimeTemplate(req, cb) {
159
+ return this.request("DeleteTimeTemplate", req, cb);
134
160
  }
135
161
  /**
136
- * 本接口(GetTimeTemplateById)用于根据模板ID获取时间模板详情。
162
+ * 本接口(DescribeChannels)用于获取设备下属通道列表
137
163
  */
138
- async GetTimeTemplateById(req, cb) {
139
- return this.request("GetTimeTemplateById", req, cb);
164
+ async DescribeChannels(req, cb) {
165
+ return this.request("DescribeChannels", req, cb);
140
166
  }
141
167
  /**
142
- * 直播录像删除
168
+ * 编辑直播接口
143
169
  */
144
- async DeleteLiveVideoList(req, cb) {
145
- return this.request("DeleteLiveVideoList", req, cb);
170
+ async ModifyLiveChannel(req, cb) {
171
+ return this.request("ModifyLiveChannel", req, cb);
146
172
  }
147
173
  /**
148
- * 本接口(GetRecordPlanByDev)用于根据设备ID查询其绑定的录制计划.
174
+ * 重置设备告警
149
175
  */
150
- async GetRecordPlanByDev(req, cb) {
151
- return this.request("GetRecordPlanByDev", req, cb);
176
+ async ResetWarning(req, cb) {
177
+ return this.request("ResetWarning", req, cb);
152
178
  }
153
179
  /**
154
- * 编辑直播录制计划
180
+ * 本接口(ControlDevicePTZ) 用于对支持GB28181 PTZ信令的设备进行远程控制。
181
+ 请使用ControlChannelPTZ接口
155
182
  */
156
- async ModifyLiveRecordPlan(req, cb) {
157
- return this.request("ModifyLiveRecordPlan", req, cb);
183
+ async ControlDevicePTZ(req, cb) {
184
+ return this.request("ControlDevicePTZ", req, cb);
158
185
  }
159
186
  /**
160
- * 查看消息转发配置列表
187
+ * 编辑设备订阅状态
161
188
  */
162
- async DescribeMessageForwards(req, cb) {
163
- return this.request("DescribeMessageForwards", req, cb);
189
+ async ModifySubscriptionStatus(req, cb) {
190
+ return this.request("ModifySubscriptionStatus", req, cb);
164
191
  }
165
192
  /**
166
- * 删除通道接口
193
+ * 看守位控制
167
194
  */
168
- async DeleteChannel(req, cb) {
169
- return this.request("DeleteChannel", req, cb);
195
+ async ControlHomePosition(req, cb) {
196
+ return this.request("ControlHomePosition", req, cb);
170
197
  }
171
198
  /**
172
- * 本接口(DescribeDevicePassWord)用于查询设备密码。
199
+ * 本接口(DescribeStatisticDetails)用于查询指定统计项详情,返回结果按天为单位聚合,支持的最大时间查询范围为31天。
173
200
  */
174
- async DescribeDevicePassWord(req, cb) {
175
- return this.request("DescribeDevicePassWord", req, cb);
201
+ async DescribeStatisticDetails(req, cb) {
202
+ return this.request("DescribeStatisticDetails", req, cb);
176
203
  }
177
204
  /**
178
- * 本接口(DescribeGroupDevices)用于查询分组下的设备列表。
205
+ * 本接口(DescribeGroupById)用于根据分组ID查询分组。
179
206
  */
180
- async DescribeGroupDevices(req, cb) {
181
- return this.request("DescribeGroupDevices", req, cb);
207
+ async DescribeGroupById(req, cb) {
208
+ return this.request("DescribeGroupById", req, cb);
182
209
  }
183
210
  /**
184
- * 删除消息转发配置
211
+ * 本接口(CreateTimeTemplate) 用于根据模板描述的具体录制时间片段,创建定制化的时间模板。
185
212
  */
186
- async DeleteMessageForward(req, cb) {
187
- return this.request("DeleteMessageForward", req, cb);
213
+ async CreateTimeTemplate(req, cb) {
214
+ return this.request("CreateTimeTemplate", req, cb);
188
215
  }
189
216
  /**
190
- * 本接口(GetRecordPlans)用于获取用户的全部录制计划。
217
+ * 本接口(CreateDeviceGroup) 用于创建设备管理分组。
191
218
  */
192
- async GetRecordPlans(req, cb) {
193
- return this.request("GetRecordPlans", req, cb);
219
+ async CreateDeviceGroup(req, cb) {
220
+ return this.request("CreateDeviceGroup", req, cb);
194
221
  }
195
222
  /**
196
- * 本接口(DeleteDevice)用于删除设备。
223
+ * 本接口(ControlChannelLocalRecord)用于对通道本地回放流进行控制,包括暂停、播放、拉动、结束等
224
+
197
225
  */
198
- async DeleteDevice(req, cb) {
199
- return this.request("DeleteDevice", req, cb);
226
+ async ControlChannelLocalRecord(req, cb) {
227
+ return this.request("ControlChannelLocalRecord", req, cb);
200
228
  }
201
229
  /**
202
- * 创建直播录制计划
230
+ * 本接口(DescribeChannelLocalRecordURL)用于将NVR等设备对应通道本地回放文件,通过GB28181信令推送至云端,并生成对应的实时视频流URL,流地址URL是动态生成,如需重新播放请重新调用此接口获取最新地址。
231
+ 正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。
203
232
  */
204
- async CreateLiveRecordPlan(req, cb) {
205
- return this.request("CreateLiveRecordPlan", req, cb);
233
+ async DescribeChannelLocalRecordURL(req, cb) {
234
+ return this.request("DescribeChannelLocalRecordURL", req, cb);
206
235
  }
207
236
  /**
208
- * 根据分组路径查询分组
237
+ * 本接口(UpdateDevicePassWord)用于修改设备密码。
209
238
  */
210
- async DescribeGroupByPath(req, cb) {
211
- return this.request("DescribeGroupByPath", req, cb);
239
+ async UpdateDevicePassWord(req, cb) {
240
+ return this.request("UpdateDevicePassWord", req, cb);
212
241
  }
213
242
  /**
214
- * 本接口(DescribeStatisticSummary)用于查询用户昨日的概览数据。
243
+ * 告警等级列表
215
244
  */
216
- async DescribeStatisticSummary(req, cb) {
217
- return this.request("DescribeStatisticSummary", req, cb);
245
+ async DescribeWarnMod(req, cb) {
246
+ return this.request("DescribeWarnMod", req, cb);
247
+ }
248
+ /**
249
+ * 直播录制计划绑定解绑直播频道
250
+ */
251
+ async ModifyBindPlanLiveChannel(req, cb) {
252
+ return this.request("ModifyBindPlanLiveChannel", req, cb);
253
+ }
254
+ /**
255
+ * 获取设备事件
256
+ */
257
+ async DescribeDeviceEvent(req, cb) {
258
+ return this.request("DescribeDeviceEvent", req, cb);
259
+ }
260
+ /**
261
+ * 编辑直播录制计划
262
+ */
263
+ async ModifyLiveRecordPlan(req, cb) {
264
+ return this.request("ModifyLiveRecordPlan", req, cb);
265
+ }
266
+ /**
267
+ * 本接口用于删除设备下的通道
268
+ 注意: 在线状态的设备不允许删除
269
+ */
270
+ async DeleteChannel(req, cb) {
271
+ return this.request("DeleteChannel", req, cb);
272
+ }
273
+ /**
274
+ * 根据直播录制计划获取频道列表
275
+ */
276
+ async DescribeChannelsByLiveRecordPlan(req, cb) {
277
+ return this.request("DescribeChannelsByLiveRecordPlan", req, cb);
278
+ }
279
+ /**
280
+ * 场景绑定/解绑通道接口
281
+ */
282
+ async ModifyBindSceneDevice(req, cb) {
283
+ return this.request("ModifyBindSceneDevice", req, cb);
218
284
  }
219
285
  /**
220
286
  * 直播录像存储日期列表
@@ -224,106 +290,125 @@ RecordId和StartTime/EndTime互斥
224
290
  }
225
291
  /**
226
292
  * 本接口(GetRecordDatesByDev)用于查询设备含有录像文件的日期列表。
293
+ 请使用DescribeRecordDatesByChannel接口
227
294
  */
228
295
  async GetRecordDatesByDev(req, cb) {
229
296
  return this.request("GetRecordDatesByDev", req, cb);
230
297
  }
231
298
  /**
232
- * 本接口(GetTimeTemplates)用于获取时间模板列表。
299
+ * 查询主设备订阅状态
233
300
  */
234
- async GetTimeTemplates(req, cb) {
235
- return this.request("GetTimeTemplates", req, cb);
301
+ async DescribeSubscriptionStatus(req, cb) {
302
+ return this.request("DescribeSubscriptionStatus", req, cb);
236
303
  }
237
304
  /**
238
- * 删除直播接口
305
+ * 本接口(CreateDevice) 用于创建设备。
239
306
  */
240
- async DeleteLiveChannel(req, cb) {
241
- return this.request("DeleteLiveChannel", req, cb);
307
+ async CreateDevice(req, cb) {
308
+ return this.request("CreateDevice", req, cb);
242
309
  }
243
310
  /**
244
- * 本接口(DescribeStatisticDetails)用于查询指定统计项详情,返回结果按天为单位聚合,支持的最大时间查询范围为31天。
311
+ * 设备告警-删除告警
245
312
  */
246
- async DescribeStatisticDetails(req, cb) {
247
- return this.request("DescribeStatisticDetails", req, cb);
313
+ async DeleteWarning(req, cb) {
314
+ return this.request("DeleteWarning", req, cb);
248
315
  }
249
316
  /**
250
- * 获取场景列表
317
+ * 本接口(DescribeGroups)用于批量查询分组信息。
251
318
  */
252
- async DescribeScenes(req, cb) {
253
- return this.request("DescribeScenes", req, cb);
319
+ async DescribeGroups(req, cb) {
320
+ return this.request("DescribeGroups", req, cb);
254
321
  }
255
322
  /**
256
- * 本接口(CreateDevice) 用于创建设备。
323
+ * 获取直播录制计划列表
257
324
  */
258
- async CreateDevice(req, cb) {
259
- return this.request("CreateDevice", req, cb);
325
+ async DescribeLiveRecordPlanIds(req, cb) {
326
+ return this.request("DescribeLiveRecordPlanIds", req, cb);
260
327
  }
261
328
  /**
262
- * 本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。
329
+ * 预置位控制
263
330
  */
264
- async GetRecordPlanById(req, cb) {
265
- return this.request("GetRecordPlanById", req, cb);
331
+ async ControlPreset(req, cb) {
332
+ return this.request("ControlPreset", req, cb);
266
333
  }
267
334
  /**
268
- * 根据直播录制计划获取频道列表
335
+ * 本接口(CreateRecordPlan) 用于创建录制计划,使设备与时间模板绑定,以便及时启动录制
336
+ 请使用CreateRecordingPlan代替
269
337
  */
270
- async DescribeChannelsByLiveRecordPlan(req, cb) {
271
- return this.request("DescribeChannelsByLiveRecordPlan", req, cb);
338
+ async CreateRecordPlan(req, cb) {
339
+ return this.request("CreateRecordPlan", req, cb);
272
340
  }
273
341
  /**
274
- * 本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。
342
+ * 本接口(UpdateDeviceGroup)用于修改分组信息。
275
343
  */
276
- async DescribeDeviceGroup(req, cb) {
277
- return this.request("DescribeDeviceGroup", req, cb);
344
+ async UpdateDeviceGroup(req, cb) {
345
+ return this.request("UpdateDeviceGroup", req, cb);
278
346
  }
279
347
  /**
280
- * 本接口(DeleteRecordPlan)用于删除录制计划
281
- 录制计划删除的同时,会停止该录制计划下的全部录制任务。
348
+ * 删除录像存储列表
282
349
  */
283
- async DeleteRecordPlan(req, cb) {
284
- return this.request("DeleteRecordPlan", req, cb);
350
+ async DeleteVideoList(req, cb) {
351
+ return this.request("DeleteVideoList", req, cb);
285
352
  }
286
353
  /**
287
- * 创建消息转发配置
354
+ * 获取场景绑定设备列表
288
355
  */
289
- async CreateMessageForward(req, cb) {
290
- return this.request("CreateMessageForward", req, cb);
356
+ async DescribeBindSceneDevices(req, cb) {
357
+ return this.request("DescribeBindSceneDevices", req, cb);
291
358
  }
292
359
  /**
293
- * 删除直播录制计划
360
+ * 本接口(UpdateTimeTemplate)用于更新时间模板。
294
361
  */
295
- async DeleteLiveRecordPlan(req, cb) {
296
- return this.request("DeleteLiveRecordPlan", req, cb);
362
+ async UpdateTimeTemplate(req, cb) {
363
+ return this.request("UpdateTimeTemplate", req, cb);
297
364
  }
298
365
  /**
299
- * 本接口(DeleteTimeTemplate) 用于删除时间模板。
366
+ * 本接口(CreateRecordingPlan) 用于创建录制计划,使通道与时间模板绑定,以便及时启动录制
300
367
  */
301
- async DeleteTimeTemplate(req, cb) {
302
- return this.request("DeleteTimeTemplate", req, cb);
368
+ async CreateRecordingPlan(req, cb) {
369
+ return this.request("CreateRecordingPlan", req, cb);
303
370
  }
304
371
  /**
305
- * 本接口(DescribeGroups)用于批量查询分组信息。
372
+ * 查询设备统计monitor信息
306
373
  */
307
- async DescribeGroups(req, cb) {
308
- return this.request("DescribeGroups", req, cb);
374
+ async DescribeDeviceMonitorData(req, cb) {
375
+ return this.request("DescribeDeviceMonitorData", req, cb);
309
376
  }
310
377
  /**
311
- * 本接口(ModifyDeviceData)用于编辑设备信息。
378
+ * 本接口(GetTimeTemplateById)用于根据模板ID获取时间模板详情。
312
379
  */
313
- async ModifyDeviceData(req, cb) {
314
- return this.request("ModifyDeviceData", req, cb);
380
+ async GetTimeTemplateById(req, cb) {
381
+ return this.request("GetTimeTemplateById", req, cb);
315
382
  }
316
383
  /**
317
- * 直播拉流接口
384
+ * 查看消息转发配置列表
318
385
  */
319
- async DescribeLiveStream(req, cb) {
320
- return this.request("DescribeLiveStream", req, cb);
386
+ async DescribeMessageForwards(req, cb) {
387
+ return this.request("DescribeMessageForwards", req, cb);
321
388
  }
322
389
  /**
323
- * 编辑直播接口
390
+ * 获取预置位列表
324
391
  */
325
- async ModifyLiveChannel(req, cb) {
326
- return this.request("ModifyLiveChannel", req, cb);
392
+ async DescribePresetList(req, cb) {
393
+ return this.request("DescribePresetList", req, cb);
394
+ }
395
+ /**
396
+ * 修改消息转发配置
397
+ */
398
+ async ModifyMessageForward(req, cb) {
399
+ return this.request("ModifyMessageForward", req, cb);
400
+ }
401
+ /**
402
+ * 本接口(DescribeDevicesList) 用于获取设备列表,支持模糊搜索
403
+ */
404
+ async DescribeDeviceList(req, cb) {
405
+ return this.request("DescribeDeviceList", req, cb);
406
+ }
407
+ /**
408
+ * 创建直播录制计划
409
+ */
410
+ async CreateLiveRecordPlan(req, cb) {
411
+ return this.request("CreateLiveRecordPlan", req, cb);
327
412
  }
328
413
  /**
329
414
  * 查看消息转发配置详情
@@ -332,40 +417,72 @@ RecordId和StartTime/EndTime互斥
332
417
  return this.request("DescribeMessageForward", req, cb);
333
418
  }
334
419
  /**
335
- * 本接口(DeleteDeviceGroup)用于删除分组。
420
+ * 本接口(GetTimeTemplates)用于获取时间模板列表。
336
421
  */
337
- async DeleteDeviceGroup(req, cb) {
338
- return this.request("DeleteDeviceGroup", req, cb);
422
+ async GetTimeTemplates(req, cb) {
423
+ return this.request("GetTimeTemplates", req, cb);
339
424
  }
340
425
  /**
341
- * 获取场景绑定设备列表
426
+ * 获取异常事件统计
342
427
  */
343
- async DescribeBindSceneDevices(req, cb) {
344
- return this.request("DescribeBindSceneDevices", req, cb);
428
+ async DescribeAbnormalEvents(req, cb) {
429
+ return this.request("DescribeAbnormalEvents", req, cb);
345
430
  }
346
431
  /**
347
- * 本接口(ControlDevicePTZ) 用于对支持GB28181 PTZ信令的设备进行远程控制。
432
+ * 本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。
433
+ 请使用DescribeRecordingPlanById接口
348
434
  */
349
- async ControlDevicePTZ(req, cb) {
350
- return this.request("ControlDevicePTZ", req, cb);
435
+ async GetRecordPlanById(req, cb) {
436
+ return this.request("GetRecordPlanById", req, cb);
351
437
  }
352
438
  /**
353
- * 获取直播录制计划列表
439
+ * 获取回放视频流地址
440
+ 请使用DescribeChannelLocalRecordURL接口
441
+
442
+ RecordId和StartTime/EndTime互斥
443
+ 当存在RecordId时,StartTime和EndTime无效
444
+ 当RecordId为空,StartTime和EndTime生效
354
445
  */
355
- async DescribeLiveRecordPlanIds(req, cb) {
356
- return this.request("DescribeLiveRecordPlanIds", req, cb);
446
+ async DescribeRecordStream(req, cb) {
447
+ return this.request("DescribeRecordStream", req, cb);
357
448
  }
358
449
  /**
359
- * 根据时间获取回放文件列表(云端录制用)
450
+ * 删除直播录制计划
360
451
  */
361
- async DescribeVideoList(req, cb) {
362
- return this.request("DescribeVideoList", req, cb);
452
+ async DeleteLiveRecordPlan(req, cb) {
453
+ return this.request("DeleteLiveRecordPlan", req, cb);
363
454
  }
364
455
  /**
365
- * 直播录像编辑
456
+ * 运营中心-设备录像存储统计
366
457
  */
367
- async ModifyLiveVideo(req, cb) {
368
- return this.request("ModifyLiveVideo", req, cb);
458
+ async DescribeMonitorDataByDate(req, cb) {
459
+ return this.request("DescribeMonitorDataByDate", req, cb);
460
+ }
461
+ /**
462
+ * 获取告警列表
463
+ */
464
+ async DescribeWarnings(req, cb) {
465
+ return this.request("DescribeWarnings", req, cb);
466
+ }
467
+ /**
468
+ * 本接口(DeleteDeviceGroup)用于删除分组。
469
+ */
470
+ async DeleteDeviceGroup(req, cb) {
471
+ return this.request("DeleteDeviceGroup", req, cb);
472
+ }
473
+ /**
474
+ * 本接口(ModifyRecordingPlan)用于更新录制计划。
475
+
476
+ */
477
+ async ModifyRecordingPlan(req, cb) {
478
+ return this.request("ModifyRecordingPlan", req, cb);
479
+ }
480
+ /**
481
+ * 本接口(DescribeChannelStreamURL)用于获取设备指定通道实时流地址,地址是动态生成,如重新播放需要调用此接口重新获取最新播放地址。
482
+ 正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。
483
+ */
484
+ async DescribeChannelStreamURL(req, cb) {
485
+ return this.request("DescribeChannelStreamURL", req, cb);
369
486
  }
370
487
  /**
371
488
  * 直播详情接口
@@ -375,6 +492,7 @@ RecordId和StartTime/EndTime互斥
375
492
  }
376
493
  /**
377
494
  * 本接口(DescribeAllDeviceList) 用于获取设备列表。
495
+ 请使用DescribeDevicesList接口
378
496
  */
379
497
  async DescribeAllDeviceList(req, cb) {
380
498
  return this.request("DescribeAllDeviceList", req, cb);
@@ -386,58 +504,61 @@ RecordId和StartTime/EndTime互斥
386
504
  return this.request("DeleteScene", req, cb);
387
505
  }
388
506
  /**
389
- * 本接口用于获取SIP服务器相关配置,用户可以通过这些配置项,将设备通过GB28181协议注册到本服务。
507
+ * 创建直播频道
390
508
  */
391
- async DescribeSIPServer(req, cb) {
392
- return this.request("DescribeSIPServer", req, cb);
509
+ async CreateLiveChannel(req, cb) {
510
+ return this.request("CreateLiveChannel", req, cb);
393
511
  }
394
512
  /**
395
- * 编辑设备订阅状态
513
+ * 获取场景绑定通道列表
396
514
  */
397
- async ModifySubscriptionStatus(req, cb) {
398
- return this.request("ModifySubscriptionStatus", req, cb);
515
+ async DescribeBindSceneChannels(req, cb) {
516
+ return this.request("DescribeBindSceneChannels", req, cb);
399
517
  }
400
518
  /**
401
519
  * 本接口(UpdateRecordPlan)用于更新录制计划。
520
+ 请使用 ModifyRecordingPlan接口和ModifyBindRecordingPlan接口
402
521
  */
403
522
  async UpdateRecordPlan(req, cb) {
404
523
  return this.request("UpdateRecordPlan", req, cb);
405
524
  }
406
525
  /**
407
- * 创建直播频道
526
+ * 本接口(DeleteRecordingPlan)用于删除录制计划
527
+ 录制计划删除的同时,会停止该录制计划下的全部录制任务。
408
528
  */
409
- async CreateLiveChannel(req, cb) {
410
- return this.request("CreateLiveChannel", req, cb);
529
+ async DeleteRecordingPlan(req, cb) {
530
+ return this.request("DeleteRecordingPlan", req, cb);
411
531
  }
412
532
  /**
413
- * 本接口(BindGroupDevices) 用于绑定设备到分组。
533
+ * 本接口(ControlChannelPTZ) 用于对支持GB28181 PTZ信令的设备进行指定通道的远程控制。
414
534
  */
415
- async BindGroupDevices(req, cb) {
416
- return this.request("BindGroupDevices", req, cb);
535
+ async ControlChannelPTZ(req, cb) {
536
+ return this.request("ControlChannelPTZ", req, cb);
417
537
  }
418
538
  /**
419
- * 获取直播录制计划详情
539
+ * 对回放流进行控制,包括暂停、播放、拉动、结束等
540
+ 请使用ControlChannelLocalRecord接口
420
541
  */
421
- async DescribeLiveRecordPlanById(req, cb) {
422
- return this.request("DescribeLiveRecordPlanById", req, cb);
542
+ async ControlRecordStream(req, cb) {
543
+ return this.request("ControlRecordStream", req, cb);
423
544
  }
424
545
  /**
425
- * 本接口(DescribeGroupById)用于根据分组ID查询分组。
546
+ * 直播录像回放列表
426
547
  */
427
- async DescribeGroupById(req, cb) {
428
- return this.request("DescribeGroupById", req, cb);
548
+ async DescribeLiveVideoList(req, cb) {
549
+ return this.request("DescribeLiveVideoList", req, cb);
429
550
  }
430
551
  /**
431
- * 本接口(CreateRecordPlan) 用于创建录制计划,使设备与时间模板绑定,以便及时启动录制
552
+ * 场景绑定解绑通道接口
432
553
  */
433
- async CreateRecordPlan(req, cb) {
434
- return this.request("CreateRecordPlan", req, cb);
554
+ async ModifyBindSceneChannels(req, cb) {
555
+ return this.request("ModifyBindSceneChannels", req, cb);
435
556
  }
436
557
  /**
437
- * 本接口(CreateTimeTemplate) 用于根据模板描述的具体录制时间片段,创建定制化的时间模板。
558
+ * 本接口(DescribeDevicePassWord)用于查询设备密码。
438
559
  */
439
- async CreateTimeTemplate(req, cb) {
440
- return this.request("CreateTimeTemplate", req, cb);
560
+ async DescribeDevicePassWord(req, cb) {
561
+ return this.request("DescribeDevicePassWord", req, cb);
441
562
  }
442
563
  /**
443
564
  * 直播列表接口
@@ -445,5 +566,109 @@ RecordId和StartTime/EndTime互斥
445
566
  async DescribeLiveChannelList(req, cb) {
446
567
  return this.request("DescribeLiveChannelList", req, cb);
447
568
  }
569
+ /**
570
+ * 删除消息转发配置
571
+ */
572
+ async DeleteMessageForward(req, cb) {
573
+ return this.request("DeleteMessageForward", req, cb);
574
+ }
575
+ /**
576
+ * 编辑预置位信息
577
+ */
578
+ async ModifyPreset(req, cb) {
579
+ return this.request("ModifyPreset", req, cb);
580
+ }
581
+ /**
582
+ * 本接口(DeleteDevice)用于删除设备。
583
+ */
584
+ async DeleteDevice(req, cb) {
585
+ return this.request("DeleteDevice", req, cb);
586
+ }
587
+ /**
588
+ * 本接口(ModifyDeviceData)用于编辑设备信息。
589
+ */
590
+ async ModifyDeviceData(req, cb) {
591
+ return this.request("ModifyDeviceData", req, cb);
592
+ }
593
+ /**
594
+ * 根据分组路径查询分组
595
+ */
596
+ async DescribeGroupByPath(req, cb) {
597
+ return this.request("DescribeGroupByPath", req, cb);
598
+ }
599
+ /**
600
+ * 删除直播接口
601
+ */
602
+ async DeleteLiveChannel(req, cb) {
603
+ return this.request("DeleteLiveChannel", req, cb);
604
+ }
605
+ /**
606
+ * 本接口(GetRecordPlans)用于获取用户的全部录制计划。
607
+ 请使用DescribeRecordingPlans接口
608
+ */
609
+ async GetRecordPlans(req, cb) {
610
+ return this.request("GetRecordPlans", req, cb);
611
+ }
612
+ /**
613
+ * 本接口(GetRecordPlanByDev)用于根据设备ID查询其绑定的录制计划.
614
+
615
+ */
616
+ async GetRecordPlanByDev(req, cb) {
617
+ return this.request("GetRecordPlanByDev", req, cb);
618
+ }
619
+ /**
620
+ * 本接口用于获取SIP服务器相关配置,用户可以通过这些配置项,将设备通过GB28181协议注册到本服务。
621
+ */
622
+ async DescribeSIPServer(req, cb) {
623
+ return this.request("DescribeSIPServer", req, cb);
624
+ }
625
+ /**
626
+ * 直播录像删除
627
+ */
628
+ async DeleteLiveVideoList(req, cb) {
629
+ return this.request("DeleteLiveVideoList", req, cb);
630
+ }
631
+ /**
632
+ * 根据时间获取云端录制文件列表
633
+ */
634
+ async DescribeVideoList(req, cb) {
635
+ return this.request("DescribeVideoList", req, cb);
636
+ }
637
+ /**
638
+ * 直播录像编辑
639
+ */
640
+ async ModifyLiveVideo(req, cb) {
641
+ return this.request("ModifyLiveVideo", req, cb);
642
+ }
643
+ /**
644
+ * 获取X-P2P的统计数据
645
+ */
646
+ async DescribeXP2PData(req, cb) {
647
+ return this.request("DescribeXP2PData", req, cb);
648
+ }
649
+ /**
650
+ * 获取场景列表
651
+ */
652
+ async DescribeScenes(req, cb) {
653
+ return this.request("DescribeScenes", req, cb);
654
+ }
655
+ /**
656
+ * 本接口(BindGroupDevices) 用于绑定设备到分组。
657
+ */
658
+ async BindGroupDevices(req, cb) {
659
+ return this.request("BindGroupDevices", req, cb);
660
+ }
661
+ /**
662
+ * 获取直播录制计划详情
663
+ */
664
+ async DescribeLiveRecordPlanById(req, cb) {
665
+ return this.request("DescribeLiveRecordPlanById", req, cb);
666
+ }
667
+ /**
668
+ * 本接口(DescribeRecordDatesByChannel)用于查询设备含有录像文件的日期列表。
669
+ */
670
+ async DescribeRecordDatesByChannel(req, cb) {
671
+ return this.request("DescribeRecordDatesByChannel", req, cb);
672
+ }
448
673
  }
449
674
  exports.Client = Client;