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.
- package/CHANGELOG.md +149 -0
- package/SERVICE_CHANGELOG.md +211 -179
- package/package.json +1 -1
- package/products.md +8 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +5 -0
- package/src/services/clb/v20180317/clb_models.ts +17 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/faceid/v20180301/faceid_models.ts +15 -0
- package/src/services/ic/v20190307/ic_models.ts +1 -1
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +831 -391
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +2085 -361
- package/src/services/ocr/v20181119/ocr_models.ts +1 -1
- package/src/services/wav/v20210129/wav_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +14 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +13 -0
- package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +276 -119
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +400 -175
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1776 -294
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +1 -1
- 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
|
-
* 本接口(
|
|
50
|
+
* 本接口(DescribeStatisticSummary)用于查询用户昨日的概览数据。
|
|
50
51
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
52
|
+
async DescribeStatisticSummary(req, cb) {
|
|
53
|
+
return this.request("DescribeStatisticSummary", req, cb);
|
|
53
54
|
}
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
+
* 创建场景
|
|
56
57
|
*/
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
58
|
+
async CreateScene(req, cb) {
|
|
59
|
+
return this.request("CreateScene", req, cb);
|
|
59
60
|
}
|
|
60
61
|
/**
|
|
61
|
-
*
|
|
62
|
+
* 场景详情
|
|
62
63
|
*/
|
|
63
|
-
async
|
|
64
|
-
return this.request("
|
|
64
|
+
async DescribeScene(req, cb) {
|
|
65
|
+
return this.request("DescribeScene", req, cb);
|
|
65
66
|
}
|
|
66
67
|
/**
|
|
67
|
-
*
|
|
68
|
+
* 获取指定设备详细信息
|
|
68
69
|
*/
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
70
|
+
async DescribeDevice(req, cb) {
|
|
71
|
+
return this.request("DescribeDevice", req, cb);
|
|
71
72
|
}
|
|
72
73
|
/**
|
|
73
|
-
* 本接口(
|
|
74
|
+
* 本接口(ModifyBindRecordingPlan)用于更新录制计划绑定的通道
|
|
74
75
|
*/
|
|
75
|
-
async
|
|
76
|
-
return this.request("
|
|
76
|
+
async ModifyBindRecordingPlan(req, cb) {
|
|
77
|
+
return this.request("ModifyBindRecordingPlan", req, cb);
|
|
77
78
|
}
|
|
78
79
|
/**
|
|
79
|
-
*
|
|
80
|
-
RecordId和StartTime/EndTime互斥
|
|
81
|
-
当存在RecordId时,StartTime和EndTime无效
|
|
82
|
-
当RecordId为空,StartTime和EndTime生效
|
|
80
|
+
* 本接口(DescribeVideoListByChannel)用于查询指定通道的录制文件列表
|
|
83
81
|
*/
|
|
84
|
-
async
|
|
85
|
-
return this.request("
|
|
82
|
+
async DescribeVideoListByChannel(req, cb) {
|
|
83
|
+
return this.request("DescribeVideoListByChannel", req, cb);
|
|
86
84
|
}
|
|
87
85
|
/**
|
|
88
|
-
*
|
|
86
|
+
* 直播拉流接口
|
|
89
87
|
*/
|
|
90
|
-
async
|
|
91
|
-
return this.request("
|
|
88
|
+
async DescribeLiveStream(req, cb) {
|
|
89
|
+
return this.request("DescribeLiveStream", req, cb);
|
|
92
90
|
}
|
|
93
91
|
/**
|
|
94
|
-
*
|
|
92
|
+
* 修改场景
|
|
95
93
|
*/
|
|
96
|
-
async
|
|
97
|
-
return this.request("
|
|
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
|
-
* 本接口(
|
|
130
|
+
* 本接口(DescribeRecordingPlans)用于获取用户的全部录制计划。
|
|
107
131
|
*/
|
|
108
|
-
async
|
|
109
|
-
return this.request("
|
|
132
|
+
async DescribeRecordingPlans(req, cb) {
|
|
133
|
+
return this.request("DescribeRecordingPlans", req, cb);
|
|
110
134
|
}
|
|
111
135
|
/**
|
|
112
|
-
* 本接口(
|
|
136
|
+
* 本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。
|
|
113
137
|
*/
|
|
114
|
-
async
|
|
115
|
-
return this.request("
|
|
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
|
|
121
|
-
return this.request("
|
|
146
|
+
async DeleteRecordPlan(req, cb) {
|
|
147
|
+
return this.request("DeleteRecordPlan", req, cb);
|
|
122
148
|
}
|
|
123
149
|
/**
|
|
124
|
-
*
|
|
150
|
+
* 创建消息转发配置
|
|
125
151
|
*/
|
|
126
|
-
async
|
|
127
|
-
return this.request("
|
|
152
|
+
async CreateMessageForward(req, cb) {
|
|
153
|
+
return this.request("CreateMessageForward", req, cb);
|
|
128
154
|
}
|
|
129
155
|
/**
|
|
130
|
-
*
|
|
156
|
+
* 本接口(DeleteTimeTemplate) 用于删除时间模板。
|
|
131
157
|
*/
|
|
132
|
-
async
|
|
133
|
-
return this.request("
|
|
158
|
+
async DeleteTimeTemplate(req, cb) {
|
|
159
|
+
return this.request("DeleteTimeTemplate", req, cb);
|
|
134
160
|
}
|
|
135
161
|
/**
|
|
136
|
-
*
|
|
162
|
+
* 本接口(DescribeChannels)用于获取设备下属通道列表
|
|
137
163
|
*/
|
|
138
|
-
async
|
|
139
|
-
return this.request("
|
|
164
|
+
async DescribeChannels(req, cb) {
|
|
165
|
+
return this.request("DescribeChannels", req, cb);
|
|
140
166
|
}
|
|
141
167
|
/**
|
|
142
|
-
*
|
|
168
|
+
* 编辑直播接口
|
|
143
169
|
*/
|
|
144
|
-
async
|
|
145
|
-
return this.request("
|
|
170
|
+
async ModifyLiveChannel(req, cb) {
|
|
171
|
+
return this.request("ModifyLiveChannel", req, cb);
|
|
146
172
|
}
|
|
147
173
|
/**
|
|
148
|
-
*
|
|
174
|
+
* 重置设备告警
|
|
149
175
|
*/
|
|
150
|
-
async
|
|
151
|
-
return this.request("
|
|
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
|
|
157
|
-
return this.request("
|
|
183
|
+
async ControlDevicePTZ(req, cb) {
|
|
184
|
+
return this.request("ControlDevicePTZ", req, cb);
|
|
158
185
|
}
|
|
159
186
|
/**
|
|
160
|
-
*
|
|
187
|
+
* 编辑设备订阅状态
|
|
161
188
|
*/
|
|
162
|
-
async
|
|
163
|
-
return this.request("
|
|
189
|
+
async ModifySubscriptionStatus(req, cb) {
|
|
190
|
+
return this.request("ModifySubscriptionStatus", req, cb);
|
|
164
191
|
}
|
|
165
192
|
/**
|
|
166
|
-
*
|
|
193
|
+
* 看守位控制
|
|
167
194
|
*/
|
|
168
|
-
async
|
|
169
|
-
return this.request("
|
|
195
|
+
async ControlHomePosition(req, cb) {
|
|
196
|
+
return this.request("ControlHomePosition", req, cb);
|
|
170
197
|
}
|
|
171
198
|
/**
|
|
172
|
-
* 本接口(
|
|
199
|
+
* 本接口(DescribeStatisticDetails)用于查询指定统计项详情,返回结果按天为单位聚合,支持的最大时间查询范围为31天。
|
|
173
200
|
*/
|
|
174
|
-
async
|
|
175
|
-
return this.request("
|
|
201
|
+
async DescribeStatisticDetails(req, cb) {
|
|
202
|
+
return this.request("DescribeStatisticDetails", req, cb);
|
|
176
203
|
}
|
|
177
204
|
/**
|
|
178
|
-
* 本接口(
|
|
205
|
+
* 本接口(DescribeGroupById)用于根据分组ID查询分组。
|
|
179
206
|
*/
|
|
180
|
-
async
|
|
181
|
-
return this.request("
|
|
207
|
+
async DescribeGroupById(req, cb) {
|
|
208
|
+
return this.request("DescribeGroupById", req, cb);
|
|
182
209
|
}
|
|
183
210
|
/**
|
|
184
|
-
*
|
|
211
|
+
* 本接口(CreateTimeTemplate) 用于根据模板描述的具体录制时间片段,创建定制化的时间模板。
|
|
185
212
|
*/
|
|
186
|
-
async
|
|
187
|
-
return this.request("
|
|
213
|
+
async CreateTimeTemplate(req, cb) {
|
|
214
|
+
return this.request("CreateTimeTemplate", req, cb);
|
|
188
215
|
}
|
|
189
216
|
/**
|
|
190
|
-
* 本接口(
|
|
217
|
+
* 本接口(CreateDeviceGroup) 用于创建设备管理分组。
|
|
191
218
|
*/
|
|
192
|
-
async
|
|
193
|
-
return this.request("
|
|
219
|
+
async CreateDeviceGroup(req, cb) {
|
|
220
|
+
return this.request("CreateDeviceGroup", req, cb);
|
|
194
221
|
}
|
|
195
222
|
/**
|
|
196
|
-
*
|
|
223
|
+
* 本接口(ControlChannelLocalRecord)用于对通道本地回放流进行控制,包括暂停、播放、拉动、结束等
|
|
224
|
+
|
|
197
225
|
*/
|
|
198
|
-
async
|
|
199
|
-
return this.request("
|
|
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
|
|
205
|
-
return this.request("
|
|
233
|
+
async DescribeChannelLocalRecordURL(req, cb) {
|
|
234
|
+
return this.request("DescribeChannelLocalRecordURL", req, cb);
|
|
206
235
|
}
|
|
207
236
|
/**
|
|
208
|
-
*
|
|
237
|
+
* 本接口(UpdateDevicePassWord)用于修改设备密码。
|
|
209
238
|
*/
|
|
210
|
-
async
|
|
211
|
-
return this.request("
|
|
239
|
+
async UpdateDevicePassWord(req, cb) {
|
|
240
|
+
return this.request("UpdateDevicePassWord", req, cb);
|
|
212
241
|
}
|
|
213
242
|
/**
|
|
214
|
-
*
|
|
243
|
+
* 告警等级列表
|
|
215
244
|
*/
|
|
216
|
-
async
|
|
217
|
-
return this.request("
|
|
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
|
-
*
|
|
299
|
+
* 查询主设备订阅状态
|
|
233
300
|
*/
|
|
234
|
-
async
|
|
235
|
-
return this.request("
|
|
301
|
+
async DescribeSubscriptionStatus(req, cb) {
|
|
302
|
+
return this.request("DescribeSubscriptionStatus", req, cb);
|
|
236
303
|
}
|
|
237
304
|
/**
|
|
238
|
-
*
|
|
305
|
+
* 本接口(CreateDevice) 用于创建设备。
|
|
239
306
|
*/
|
|
240
|
-
async
|
|
241
|
-
return this.request("
|
|
307
|
+
async CreateDevice(req, cb) {
|
|
308
|
+
return this.request("CreateDevice", req, cb);
|
|
242
309
|
}
|
|
243
310
|
/**
|
|
244
|
-
*
|
|
311
|
+
* 设备告警-删除告警
|
|
245
312
|
*/
|
|
246
|
-
async
|
|
247
|
-
return this.request("
|
|
313
|
+
async DeleteWarning(req, cb) {
|
|
314
|
+
return this.request("DeleteWarning", req, cb);
|
|
248
315
|
}
|
|
249
316
|
/**
|
|
250
|
-
*
|
|
317
|
+
* 本接口(DescribeGroups)用于批量查询分组信息。
|
|
251
318
|
*/
|
|
252
|
-
async
|
|
253
|
-
return this.request("
|
|
319
|
+
async DescribeGroups(req, cb) {
|
|
320
|
+
return this.request("DescribeGroups", req, cb);
|
|
254
321
|
}
|
|
255
322
|
/**
|
|
256
|
-
*
|
|
323
|
+
* 获取直播录制计划列表
|
|
257
324
|
*/
|
|
258
|
-
async
|
|
259
|
-
return this.request("
|
|
325
|
+
async DescribeLiveRecordPlanIds(req, cb) {
|
|
326
|
+
return this.request("DescribeLiveRecordPlanIds", req, cb);
|
|
260
327
|
}
|
|
261
328
|
/**
|
|
262
|
-
*
|
|
329
|
+
* 预置位控制
|
|
263
330
|
*/
|
|
264
|
-
async
|
|
265
|
-
return this.request("
|
|
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
|
|
271
|
-
return this.request("
|
|
338
|
+
async CreateRecordPlan(req, cb) {
|
|
339
|
+
return this.request("CreateRecordPlan", req, cb);
|
|
272
340
|
}
|
|
273
341
|
/**
|
|
274
|
-
* 本接口(
|
|
342
|
+
* 本接口(UpdateDeviceGroup)用于修改分组信息。
|
|
275
343
|
*/
|
|
276
|
-
async
|
|
277
|
-
return this.request("
|
|
344
|
+
async UpdateDeviceGroup(req, cb) {
|
|
345
|
+
return this.request("UpdateDeviceGroup", req, cb);
|
|
278
346
|
}
|
|
279
347
|
/**
|
|
280
|
-
*
|
|
281
|
-
录制计划删除的同时,会停止该录制计划下的全部录制任务。
|
|
348
|
+
* 删除录像存储列表
|
|
282
349
|
*/
|
|
283
|
-
async
|
|
284
|
-
return this.request("
|
|
350
|
+
async DeleteVideoList(req, cb) {
|
|
351
|
+
return this.request("DeleteVideoList", req, cb);
|
|
285
352
|
}
|
|
286
353
|
/**
|
|
287
|
-
*
|
|
354
|
+
* 获取场景绑定设备列表
|
|
288
355
|
*/
|
|
289
|
-
async
|
|
290
|
-
return this.request("
|
|
356
|
+
async DescribeBindSceneDevices(req, cb) {
|
|
357
|
+
return this.request("DescribeBindSceneDevices", req, cb);
|
|
291
358
|
}
|
|
292
359
|
/**
|
|
293
|
-
*
|
|
360
|
+
* 本接口(UpdateTimeTemplate)用于更新时间模板。
|
|
294
361
|
*/
|
|
295
|
-
async
|
|
296
|
-
return this.request("
|
|
362
|
+
async UpdateTimeTemplate(req, cb) {
|
|
363
|
+
return this.request("UpdateTimeTemplate", req, cb);
|
|
297
364
|
}
|
|
298
365
|
/**
|
|
299
|
-
* 本接口(
|
|
366
|
+
* 本接口(CreateRecordingPlan) 用于创建录制计划,使通道与时间模板绑定,以便及时启动录制
|
|
300
367
|
*/
|
|
301
|
-
async
|
|
302
|
-
return this.request("
|
|
368
|
+
async CreateRecordingPlan(req, cb) {
|
|
369
|
+
return this.request("CreateRecordingPlan", req, cb);
|
|
303
370
|
}
|
|
304
371
|
/**
|
|
305
|
-
*
|
|
372
|
+
* 查询设备统计monitor信息
|
|
306
373
|
*/
|
|
307
|
-
async
|
|
308
|
-
return this.request("
|
|
374
|
+
async DescribeDeviceMonitorData(req, cb) {
|
|
375
|
+
return this.request("DescribeDeviceMonitorData", req, cb);
|
|
309
376
|
}
|
|
310
377
|
/**
|
|
311
|
-
* 本接口(
|
|
378
|
+
* 本接口(GetTimeTemplateById)用于根据模板ID获取时间模板详情。
|
|
312
379
|
*/
|
|
313
|
-
async
|
|
314
|
-
return this.request("
|
|
380
|
+
async GetTimeTemplateById(req, cb) {
|
|
381
|
+
return this.request("GetTimeTemplateById", req, cb);
|
|
315
382
|
}
|
|
316
383
|
/**
|
|
317
|
-
*
|
|
384
|
+
* 查看消息转发配置列表
|
|
318
385
|
*/
|
|
319
|
-
async
|
|
320
|
-
return this.request("
|
|
386
|
+
async DescribeMessageForwards(req, cb) {
|
|
387
|
+
return this.request("DescribeMessageForwards", req, cb);
|
|
321
388
|
}
|
|
322
389
|
/**
|
|
323
|
-
*
|
|
390
|
+
* 获取预置位列表
|
|
324
391
|
*/
|
|
325
|
-
async
|
|
326
|
-
return this.request("
|
|
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
|
-
* 本接口(
|
|
420
|
+
* 本接口(GetTimeTemplates)用于获取时间模板列表。
|
|
336
421
|
*/
|
|
337
|
-
async
|
|
338
|
-
return this.request("
|
|
422
|
+
async GetTimeTemplates(req, cb) {
|
|
423
|
+
return this.request("GetTimeTemplates", req, cb);
|
|
339
424
|
}
|
|
340
425
|
/**
|
|
341
|
-
*
|
|
426
|
+
* 获取异常事件统计
|
|
342
427
|
*/
|
|
343
|
-
async
|
|
344
|
-
return this.request("
|
|
428
|
+
async DescribeAbnormalEvents(req, cb) {
|
|
429
|
+
return this.request("DescribeAbnormalEvents", req, cb);
|
|
345
430
|
}
|
|
346
431
|
/**
|
|
347
|
-
* 本接口(
|
|
432
|
+
* 本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。
|
|
433
|
+
请使用DescribeRecordingPlanById接口
|
|
348
434
|
*/
|
|
349
|
-
async
|
|
350
|
-
return this.request("
|
|
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
|
|
356
|
-
return this.request("
|
|
446
|
+
async DescribeRecordStream(req, cb) {
|
|
447
|
+
return this.request("DescribeRecordStream", req, cb);
|
|
357
448
|
}
|
|
358
449
|
/**
|
|
359
|
-
*
|
|
450
|
+
* 删除直播录制计划
|
|
360
451
|
*/
|
|
361
|
-
async
|
|
362
|
-
return this.request("
|
|
452
|
+
async DeleteLiveRecordPlan(req, cb) {
|
|
453
|
+
return this.request("DeleteLiveRecordPlan", req, cb);
|
|
363
454
|
}
|
|
364
455
|
/**
|
|
365
|
-
*
|
|
456
|
+
* 运营中心-设备录像存储统计
|
|
366
457
|
*/
|
|
367
|
-
async
|
|
368
|
-
return this.request("
|
|
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
|
-
*
|
|
507
|
+
* 创建直播频道
|
|
390
508
|
*/
|
|
391
|
-
async
|
|
392
|
-
return this.request("
|
|
509
|
+
async CreateLiveChannel(req, cb) {
|
|
510
|
+
return this.request("CreateLiveChannel", req, cb);
|
|
393
511
|
}
|
|
394
512
|
/**
|
|
395
|
-
*
|
|
513
|
+
* 获取场景绑定通道列表
|
|
396
514
|
*/
|
|
397
|
-
async
|
|
398
|
-
return this.request("
|
|
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
|
|
410
|
-
return this.request("
|
|
529
|
+
async DeleteRecordingPlan(req, cb) {
|
|
530
|
+
return this.request("DeleteRecordingPlan", req, cb);
|
|
411
531
|
}
|
|
412
532
|
/**
|
|
413
|
-
* 本接口(
|
|
533
|
+
* 本接口(ControlChannelPTZ) 用于对支持GB28181 PTZ信令的设备进行指定通道的远程控制。
|
|
414
534
|
*/
|
|
415
|
-
async
|
|
416
|
-
return this.request("
|
|
535
|
+
async ControlChannelPTZ(req, cb) {
|
|
536
|
+
return this.request("ControlChannelPTZ", req, cb);
|
|
417
537
|
}
|
|
418
538
|
/**
|
|
419
|
-
*
|
|
539
|
+
* 对回放流进行控制,包括暂停、播放、拉动、结束等
|
|
540
|
+
请使用ControlChannelLocalRecord接口
|
|
420
541
|
*/
|
|
421
|
-
async
|
|
422
|
-
return this.request("
|
|
542
|
+
async ControlRecordStream(req, cb) {
|
|
543
|
+
return this.request("ControlRecordStream", req, cb);
|
|
423
544
|
}
|
|
424
545
|
/**
|
|
425
|
-
*
|
|
546
|
+
* 直播录像回放列表
|
|
426
547
|
*/
|
|
427
|
-
async
|
|
428
|
-
return this.request("
|
|
548
|
+
async DescribeLiveVideoList(req, cb) {
|
|
549
|
+
return this.request("DescribeLiveVideoList", req, cb);
|
|
429
550
|
}
|
|
430
551
|
/**
|
|
431
|
-
*
|
|
552
|
+
* 场景绑定解绑通道接口
|
|
432
553
|
*/
|
|
433
|
-
async
|
|
434
|
-
return this.request("
|
|
554
|
+
async ModifyBindSceneChannels(req, cb) {
|
|
555
|
+
return this.request("ModifyBindSceneChannels", req, cb);
|
|
435
556
|
}
|
|
436
557
|
/**
|
|
437
|
-
* 本接口(
|
|
558
|
+
* 本接口(DescribeDevicePassWord)用于查询设备密码。
|
|
438
559
|
*/
|
|
439
|
-
async
|
|
440
|
-
return this.request("
|
|
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;
|