tencentcloud-sdk-nodejs 4.1.7 → 4.1.8
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/es/common/sdk_version.js +1 -1
- package/es/services/ccc/v20200210/ccc_client.js +12 -0
- package/es/services/gs/v20191118/gs_client.js +3 -0
- package/es/services/iss/v20230517/iss_client.js +166 -160
- package/es/services/tione/v20211111/tione_client.js +16 -4
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +0 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +0 -4
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +17 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +24 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +234 -66
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +8 -38
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +36 -59
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -0
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +5 -1
- package/tencentcloud/services/gs/v20191118/gs_client.js +6 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +22 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +4 -4
- package/tencentcloud/services/iss/v20230517/iss_client.d.ts +177 -169
- package/tencentcloud/services/iss/v20230517/iss_client.js +262 -250
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +129 -20
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +5 -2
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +15 -1
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +0 -4
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +9 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +9 -3
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +21 -5
- package/tencentcloud/services/tione/v20211111/tione_client.js +30 -6
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +245 -71
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -32
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +0 -1
|
@@ -28,46 +28,46 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("iss.tencentcloudapi.com", "2023-05-17", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 用于查询取回任务列表
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async ListRecordRetrieveTasks(req, cb) {
|
|
34
|
+
return this.request("ListRecordRetrieveTasks", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 用于查询实时上云计划列表
|
|
38
38
|
*/
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
39
|
+
async ListRecordPlans(req, cb) {
|
|
40
|
+
return this.request("ListRecordPlans", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* 用于查询网关接入协议。
|
|
44
44
|
*/
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
45
|
+
async DescribeGatewayProtocol(req, cb) {
|
|
46
|
+
return this.request("DescribeGatewayProtocol", req, cb);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 用于获取网关的数据及流量监控信息。
|
|
50
50
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
51
|
+
async DescribeGatewayMonitor(req, cb) {
|
|
52
|
+
return this.request("DescribeGatewayMonitor", req, cb);
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* 用于修改组织。
|
|
56
56
|
*/
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
57
|
+
async UpdateOrganization(req, cb) {
|
|
58
|
+
return this.request("UpdateOrganization", req, cb);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 用于查询组织目录下的通道列表
|
|
62
62
|
*/
|
|
63
|
-
async
|
|
64
|
-
return this.request("
|
|
63
|
+
async ListOrganizationChannels(req, cb) {
|
|
64
|
+
return this.request("ListOrganizationChannels", req, cb);
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* 用于查询添加的域名列表。
|
|
68
68
|
*/
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
69
|
+
async DescribeDomain(req, cb) {
|
|
70
|
+
return this.request("DescribeDomain", req, cb);
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* 用于删除录像上云模板。
|
|
@@ -76,305 +76,310 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
76
76
|
return this.request("DeleteRecordBackupTemplate", req, cb);
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* 用于同步国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。
|
|
80
80
|
*/
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
81
|
+
async RefreshDeviceChannel(req, cb) {
|
|
82
|
+
return this.request("RefreshDeviceChannel", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
86
|
-
(注意:只支持标准存储类型的查询)
|
|
85
|
+
* 控制设备抓拍--单次,当前仅支持国标设备
|
|
87
86
|
*/
|
|
88
|
-
async
|
|
89
|
-
return this.request("
|
|
87
|
+
async ControlDeviceSnapshot(req, cb) {
|
|
88
|
+
return this.request("ControlDeviceSnapshot", req, cb);
|
|
90
89
|
}
|
|
91
90
|
/**
|
|
92
|
-
*
|
|
91
|
+
* 用于获取网关详情。
|
|
93
92
|
*/
|
|
94
|
-
async
|
|
95
|
-
return this.request("
|
|
93
|
+
async DescribeGateway(req, cb) {
|
|
94
|
+
return this.request("DescribeGateway", req, cb);
|
|
96
95
|
}
|
|
97
96
|
/**
|
|
98
|
-
*
|
|
97
|
+
* 用于删除实时上云计划
|
|
99
98
|
*/
|
|
100
|
-
async
|
|
101
|
-
return this.request("
|
|
99
|
+
async DeleteRecordPlan(req, cb) {
|
|
100
|
+
return this.request("DeleteRecordPlan", req, cb);
|
|
102
101
|
}
|
|
103
102
|
/**
|
|
104
|
-
*
|
|
103
|
+
* 用于设备通道云台控制,包括转动、变倍、变焦、光圈等。
|
|
105
104
|
*/
|
|
106
|
-
async
|
|
107
|
-
return this.request("
|
|
105
|
+
async ControlDevicePTZ(req, cb) {
|
|
106
|
+
return this.request("ControlDevicePTZ", req, cb);
|
|
108
107
|
}
|
|
109
108
|
/**
|
|
110
|
-
*
|
|
109
|
+
* 用于查询录像上云计划下的设备通道列表。
|
|
111
110
|
*/
|
|
112
|
-
async
|
|
113
|
-
return this.request("
|
|
111
|
+
async ListRecordBackupPlanDevices(req, cb) {
|
|
112
|
+
return this.request("ListRecordBackupPlanDevices", req, cb);
|
|
114
113
|
}
|
|
115
114
|
/**
|
|
116
|
-
*
|
|
115
|
+
* 用于查询批量任务和简单任务列表
|
|
117
116
|
*/
|
|
118
|
-
async
|
|
119
|
-
return this.request("
|
|
117
|
+
async ListTasks(req, cb) {
|
|
118
|
+
return this.request("ListTasks", req, cb);
|
|
120
119
|
}
|
|
121
120
|
/**
|
|
122
|
-
*
|
|
121
|
+
* 用于修改实时上云模板
|
|
123
122
|
*/
|
|
124
|
-
async
|
|
125
|
-
return this.request("
|
|
123
|
+
async UpdateRecordTemplate(req, cb) {
|
|
124
|
+
return this.request("UpdateRecordTemplate", req, cb);
|
|
126
125
|
}
|
|
127
126
|
/**
|
|
128
|
-
*
|
|
127
|
+
* 用于删除录像上云模板。
|
|
129
128
|
*/
|
|
130
|
-
async
|
|
131
|
-
return this.request("
|
|
129
|
+
async DeleteRecordBackupPlan(req, cb) {
|
|
130
|
+
return this.request("DeleteRecordBackupPlan", req, cb);
|
|
132
131
|
}
|
|
133
132
|
/**
|
|
134
|
-
*
|
|
133
|
+
* 用于获取设备本地录像 URL 地址。
|
|
135
134
|
*/
|
|
136
|
-
async
|
|
137
|
-
return this.request("
|
|
135
|
+
async PlayRecord(req, cb) {
|
|
136
|
+
return this.request("PlayRecord", req, cb);
|
|
138
137
|
}
|
|
139
138
|
/**
|
|
140
|
-
*
|
|
139
|
+
* 用于设置推拉流鉴权配置。
|
|
141
140
|
*/
|
|
142
|
-
async
|
|
143
|
-
return this.request("
|
|
141
|
+
async AddStreamAuth(req, cb) {
|
|
142
|
+
return this.request("AddStreamAuth", req, cb);
|
|
144
143
|
}
|
|
145
144
|
/**
|
|
146
|
-
*
|
|
145
|
+
* 用于删除实时上云模板
|
|
147
146
|
*/
|
|
148
|
-
async
|
|
149
|
-
return this.request("
|
|
147
|
+
async DeleteRecordTemplate(req, cb) {
|
|
148
|
+
return this.request("DeleteRecordTemplate", req, cb);
|
|
150
149
|
}
|
|
151
150
|
/**
|
|
152
|
-
*
|
|
151
|
+
* 用于启用/禁用设备,禁用后拒绝设备注册。
|
|
153
152
|
*/
|
|
154
|
-
async
|
|
155
|
-
return this.request("
|
|
153
|
+
async UpdateDeviceStatus(req, cb) {
|
|
154
|
+
return this.request("UpdateDeviceStatus", req, cb);
|
|
156
155
|
}
|
|
157
156
|
/**
|
|
158
|
-
*
|
|
157
|
+
* 用于修改网关信息(支持对网关名称和描述的修改)。
|
|
159
158
|
*/
|
|
160
|
-
async
|
|
161
|
-
return this.request("
|
|
159
|
+
async UpdateGateway(req, cb) {
|
|
160
|
+
return this.request("UpdateGateway", req, cb);
|
|
162
161
|
}
|
|
163
162
|
/**
|
|
164
|
-
*
|
|
163
|
+
* 用于新建取回任务
|
|
165
164
|
*/
|
|
166
|
-
async
|
|
167
|
-
return this.request("
|
|
165
|
+
async AddRecordRetrieveTask(req, cb) {
|
|
166
|
+
return this.request("AddRecordRetrieveTask", req, cb);
|
|
168
167
|
}
|
|
169
168
|
/**
|
|
170
|
-
*
|
|
169
|
+
* 用于用户添加域名时,查询可以绑定的服务节点,结果为平台支持的所有服务节点。(注意:每个服务节点只能绑定一个域名)
|
|
171
170
|
*/
|
|
172
|
-
async
|
|
173
|
-
return this.request("
|
|
171
|
+
async DescribeDomainRegion(req, cb) {
|
|
172
|
+
return this.request("DescribeDomainRegion", req, cb);
|
|
174
173
|
}
|
|
175
174
|
/**
|
|
176
|
-
*
|
|
175
|
+
* 用于查询录像上云模板列表。
|
|
177
176
|
*/
|
|
178
|
-
async
|
|
179
|
-
return this.request("
|
|
177
|
+
async ListRecordBackupTemplates(req, cb) {
|
|
178
|
+
return this.request("ListRecordBackupTemplates", req, cb);
|
|
180
179
|
}
|
|
181
180
|
/**
|
|
182
|
-
*
|
|
181
|
+
* 用于查询录像上云模板详情。
|
|
183
182
|
*/
|
|
184
|
-
async
|
|
185
|
-
return this.request("
|
|
183
|
+
async DescribeRecordBackupTemplate(req, cb) {
|
|
184
|
+
return this.request("DescribeRecordBackupTemplate", req, cb);
|
|
186
185
|
}
|
|
187
186
|
/**
|
|
188
|
-
*
|
|
187
|
+
* 用于获取视频通道的码率信息
|
|
189
188
|
*/
|
|
190
|
-
async
|
|
191
|
-
return this.request("
|
|
189
|
+
async DescribeVideoBitRate(req, cb) {
|
|
190
|
+
return this.request("DescribeVideoBitRate", req, cb);
|
|
192
191
|
}
|
|
193
192
|
/**
|
|
194
|
-
*
|
|
193
|
+
* 用于查询录像上云计划详情。
|
|
195
194
|
*/
|
|
196
|
-
async
|
|
197
|
-
return this.request("
|
|
195
|
+
async DescribeRecordBackupPlan(req, cb) {
|
|
196
|
+
return this.request("DescribeRecordBackupPlan", req, cb);
|
|
198
197
|
}
|
|
199
198
|
/**
|
|
200
|
-
*
|
|
199
|
+
* 用于查询云录像取回任务详情
|
|
201
200
|
*/
|
|
202
|
-
async
|
|
203
|
-
return this.request("
|
|
201
|
+
async DescribeRecordRetrieveTask(req, cb) {
|
|
202
|
+
return this.request("DescribeRecordRetrieveTask", req, cb);
|
|
204
203
|
}
|
|
205
204
|
/**
|
|
206
|
-
*
|
|
205
|
+
* 获取设备抓拍结果列表
|
|
207
206
|
*/
|
|
208
|
-
async
|
|
209
|
-
return this.request("
|
|
207
|
+
async ListDeviceSnapshots(req, cb) {
|
|
208
|
+
return this.request("ListDeviceSnapshots", req, cb);
|
|
210
209
|
}
|
|
211
210
|
/**
|
|
212
|
-
*
|
|
211
|
+
* 用于查询任务详情
|
|
213
212
|
*/
|
|
214
|
-
async
|
|
215
|
-
return this.request("
|
|
213
|
+
async DescribeTask(req, cb) {
|
|
214
|
+
return this.request("DescribeTask", req, cb);
|
|
216
215
|
}
|
|
217
216
|
/**
|
|
218
|
-
*
|
|
217
|
+
* 添加AI任务
|
|
219
218
|
*/
|
|
220
|
-
async
|
|
221
|
-
return this.request("
|
|
219
|
+
async AddAITask(req, cb) {
|
|
220
|
+
return this.request("AddAITask", req, cb);
|
|
222
221
|
}
|
|
223
222
|
/**
|
|
224
|
-
*
|
|
223
|
+
* 用于批量更改设备的组织。
|
|
225
224
|
*/
|
|
226
|
-
async
|
|
227
|
-
return this.request("
|
|
225
|
+
async UpdateDeviceOrganization(req, cb) {
|
|
226
|
+
return this.request("UpdateDeviceOrganization", req, cb);
|
|
228
227
|
}
|
|
229
228
|
/**
|
|
230
|
-
*
|
|
229
|
+
* 用于查询实时上云计划下的设备通道列表
|
|
231
230
|
*/
|
|
232
|
-
async
|
|
233
|
-
return this.request("
|
|
231
|
+
async ListRecordPlanDevices(req, cb) {
|
|
232
|
+
return this.request("ListRecordPlanDevices", req, cb);
|
|
234
233
|
}
|
|
235
234
|
/**
|
|
236
|
-
*
|
|
235
|
+
* 用于获取云录像下载 url
|
|
237
236
|
*/
|
|
238
|
-
async
|
|
239
|
-
return this.request("
|
|
237
|
+
async DescribeVideoDownloadUrl(req, cb) {
|
|
238
|
+
return this.request("DescribeVideoDownloadUrl", req, cb);
|
|
240
239
|
}
|
|
241
240
|
/**
|
|
242
|
-
*
|
|
241
|
+
* 用于批量操作(启用,禁用,删除)设备
|
|
243
242
|
*/
|
|
244
|
-
async
|
|
245
|
-
return this.request("
|
|
243
|
+
async BatchOperateDevice(req, cb) {
|
|
244
|
+
return this.request("BatchOperateDevice", req, cb);
|
|
246
245
|
}
|
|
247
246
|
/**
|
|
248
|
-
*
|
|
247
|
+
* 用于查询推拉流鉴权配置。
|
|
249
248
|
*/
|
|
250
|
-
async
|
|
251
|
-
return this.request("
|
|
249
|
+
async DescribeStreamAuth(req, cb) {
|
|
250
|
+
return this.request("DescribeStreamAuth", req, cb);
|
|
252
251
|
}
|
|
253
252
|
/**
|
|
254
|
-
*
|
|
253
|
+
* 用于新增实时上云模板
|
|
255
254
|
*/
|
|
256
|
-
async
|
|
257
|
-
return this.request("
|
|
255
|
+
async AddRecordTemplate(req, cb) {
|
|
256
|
+
return this.request("AddRecordTemplate", req, cb);
|
|
258
257
|
}
|
|
259
258
|
/**
|
|
260
|
-
*
|
|
259
|
+
* 用于查询组织目录下的未添加到实时上云计划中的通道数量
|
|
261
260
|
*/
|
|
262
|
-
async
|
|
263
|
-
return this.request("
|
|
261
|
+
async ListOrganizationChannelNumbers(req, cb) {
|
|
262
|
+
return this.request("ListOrganizationChannelNumbers", req, cb);
|
|
264
263
|
}
|
|
265
264
|
/**
|
|
266
|
-
*
|
|
265
|
+
* 用于获取对应组织下的设备列表。
|
|
267
266
|
*/
|
|
268
|
-
async
|
|
269
|
-
return this.request("
|
|
267
|
+
async ListDevices(req, cb) {
|
|
268
|
+
return this.request("ListDevices", req, cb);
|
|
270
269
|
}
|
|
271
270
|
/**
|
|
272
|
-
*
|
|
271
|
+
* 获取AI任务列表
|
|
273
272
|
*/
|
|
274
|
-
async
|
|
275
|
-
return this.request("
|
|
273
|
+
async ListAITasks(req, cb) {
|
|
274
|
+
return this.request("ListAITasks", req, cb);
|
|
276
275
|
}
|
|
277
276
|
/**
|
|
278
|
-
*
|
|
277
|
+
* 获取AI任务详情
|
|
279
278
|
*/
|
|
280
|
-
async
|
|
281
|
-
return this.request("
|
|
279
|
+
async DescribeAITask(req, cb) {
|
|
280
|
+
return this.request("DescribeAITask", req, cb);
|
|
282
281
|
}
|
|
283
282
|
/**
|
|
284
|
-
*
|
|
283
|
+
* 用于查询实时上云模板详情
|
|
285
284
|
*/
|
|
286
|
-
async
|
|
287
|
-
return this.request("
|
|
285
|
+
async DescribeRecordTemplate(req, cb) {
|
|
286
|
+
return this.request("DescribeRecordTemplate", req, cb);
|
|
288
287
|
}
|
|
289
288
|
/**
|
|
290
|
-
*
|
|
289
|
+
* 用于查询设备云端录像时间轴信息(即为视频上云后设置录像计划后云存储的录像)
|
|
291
290
|
*/
|
|
292
|
-
async
|
|
293
|
-
return this.request("
|
|
291
|
+
async DescribeRecordFile(req, cb) {
|
|
292
|
+
return this.request("DescribeRecordFile", req, cb);
|
|
294
293
|
}
|
|
295
294
|
/**
|
|
296
|
-
*
|
|
295
|
+
* 用于删除网关。
|
|
297
296
|
*/
|
|
298
|
-
async
|
|
299
|
-
return this.request("
|
|
297
|
+
async DeleteGateway(req, cb) {
|
|
298
|
+
return this.request("DeleteGateway", req, cb);
|
|
300
299
|
}
|
|
301
300
|
/**
|
|
302
|
-
*
|
|
301
|
+
* 用于录像回放过程中的倍速、跳转、播放/暂停/停止等控制。
|
|
303
302
|
*/
|
|
304
|
-
async
|
|
305
|
-
return this.request("
|
|
303
|
+
async ControlRecord(req, cb) {
|
|
304
|
+
return this.request("ControlRecord", req, cb);
|
|
306
305
|
}
|
|
307
306
|
/**
|
|
308
|
-
*
|
|
307
|
+
* 用于修改设备的配置信息。
|
|
309
308
|
*/
|
|
310
|
-
async
|
|
311
|
-
return this.request("
|
|
309
|
+
async UpdateUserDevice(req, cb) {
|
|
310
|
+
return this.request("UpdateUserDevice", req, cb);
|
|
312
311
|
}
|
|
313
312
|
/**
|
|
314
|
-
*
|
|
313
|
+
* 用于查询设备的通道。
|
|
315
314
|
*/
|
|
316
|
-
async
|
|
317
|
-
return this.request("
|
|
315
|
+
async DescribeDeviceChannel(req, cb) {
|
|
316
|
+
return this.request("DescribeDeviceChannel", req, cb);
|
|
318
317
|
}
|
|
319
318
|
/**
|
|
320
|
-
*
|
|
319
|
+
* 用于查询录像上云计划列表。
|
|
321
320
|
*/
|
|
322
|
-
async
|
|
323
|
-
return this.request("
|
|
321
|
+
async ListRecordBackupPlans(req, cb) {
|
|
322
|
+
return this.request("ListRecordBackupPlans", req, cb);
|
|
324
323
|
}
|
|
325
324
|
/**
|
|
326
|
-
*
|
|
325
|
+
* 用于新增组织。
|
|
327
326
|
*/
|
|
328
|
-
async
|
|
329
|
-
return this.request("
|
|
327
|
+
async AddOrganization(req, cb) {
|
|
328
|
+
return this.request("AddOrganization", req, cb);
|
|
330
329
|
}
|
|
331
330
|
/**
|
|
332
|
-
*
|
|
331
|
+
* 用于查询设备通道预置位信息。
|
|
333
332
|
*/
|
|
334
|
-
async
|
|
335
|
-
return this.request("
|
|
333
|
+
async DescribeDevicePreset(req, cb) {
|
|
334
|
+
return this.request("DescribeDevicePreset", req, cb);
|
|
336
335
|
}
|
|
337
336
|
/**
|
|
338
|
-
*
|
|
337
|
+
* 用于查询任务的子任务列表
|
|
339
338
|
*/
|
|
340
|
-
async
|
|
341
|
-
return this.request("
|
|
339
|
+
async ListSubTasks(req, cb) {
|
|
340
|
+
return this.request("ListSubTasks", req, cb);
|
|
342
341
|
}
|
|
343
342
|
/**
|
|
344
|
-
*
|
|
343
|
+
* 用于查询设备的详细信息。
|
|
345
344
|
*/
|
|
346
|
-
async
|
|
347
|
-
return this.request("
|
|
345
|
+
async DescribeUserDevice(req, cb) {
|
|
346
|
+
return this.request("DescribeUserDevice", req, cb);
|
|
348
347
|
}
|
|
349
348
|
/**
|
|
350
|
-
*
|
|
349
|
+
* 获取AI任务识别结果
|
|
351
350
|
*/
|
|
352
|
-
async
|
|
353
|
-
return this.request("
|
|
351
|
+
async DescribeAITaskResult(req, cb) {
|
|
352
|
+
return this.request("DescribeAITaskResult", req, cb);
|
|
354
353
|
}
|
|
355
354
|
/**
|
|
356
|
-
*
|
|
355
|
+
* 用于查询用户下所有实时上云计划中的通道列表
|
|
357
356
|
*/
|
|
358
|
-
async
|
|
359
|
-
return this.request("
|
|
357
|
+
async ListRecordPlanChannels(req, cb) {
|
|
358
|
+
return this.request("ListRecordPlanChannels", req, cb);
|
|
360
359
|
}
|
|
361
360
|
/**
|
|
362
|
-
*
|
|
361
|
+
* 用于新增单个设备。添加设备之后,可根据返回结果到设备上进行配置,配置后等待设备注册/推流。
|
|
363
362
|
*/
|
|
364
|
-
async
|
|
365
|
-
return this.request("
|
|
363
|
+
async AddUserDevice(req, cb) {
|
|
364
|
+
return this.request("AddUserDevice", req, cb);
|
|
366
365
|
}
|
|
367
366
|
/**
|
|
368
|
-
*
|
|
367
|
+
* 用于删除组织。
|
|
369
368
|
*/
|
|
370
|
-
async
|
|
371
|
-
return this.request("
|
|
369
|
+
async DeleteOrganization(req, cb) {
|
|
370
|
+
return this.request("DeleteOrganization", req, cb);
|
|
372
371
|
}
|
|
373
372
|
/**
|
|
374
|
-
*
|
|
373
|
+
* 用于获取云端录像回放url地址
|
|
375
374
|
*/
|
|
376
|
-
async
|
|
377
|
-
return this.request("
|
|
375
|
+
async DescribeRecordPlaybackUrl(req, cb) {
|
|
376
|
+
return this.request("DescribeRecordPlaybackUrl", req, cb);
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* 用于查询实时上云计划详情
|
|
380
|
+
*/
|
|
381
|
+
async DescribeRecordPlan(req, cb) {
|
|
382
|
+
return this.request("DescribeRecordPlan", req, cb);
|
|
378
383
|
}
|
|
379
384
|
/**
|
|
380
385
|
* 用于查询组织。
|
|
@@ -383,157 +388,164 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
383
388
|
return this.request("DescribeOrganization", req, cb);
|
|
384
389
|
}
|
|
385
390
|
/**
|
|
386
|
-
*
|
|
391
|
+
* 用于获取设备的实时开流地址。
|
|
387
392
|
*/
|
|
388
|
-
async
|
|
389
|
-
return this.request("
|
|
393
|
+
async ControlDeviceStream(req, cb) {
|
|
394
|
+
return this.request("ControlDeviceStream", req, cb);
|
|
390
395
|
}
|
|
391
396
|
/**
|
|
392
|
-
*
|
|
397
|
+
* 更新 AI 任务状态
|
|
393
398
|
*/
|
|
394
|
-
async
|
|
395
|
-
return this.request("
|
|
399
|
+
async UpdateAITaskStatus(req, cb) {
|
|
400
|
+
return this.request("UpdateAITaskStatus", req, cb);
|
|
396
401
|
}
|
|
397
402
|
/**
|
|
398
|
-
*
|
|
403
|
+
* 更新AI任务
|
|
399
404
|
*/
|
|
400
|
-
async
|
|
401
|
-
return this.request("
|
|
405
|
+
async UpdateAITask(req, cb) {
|
|
406
|
+
return this.request("UpdateAITask", req, cb);
|
|
402
407
|
}
|
|
403
408
|
/**
|
|
404
|
-
*
|
|
409
|
+
* 删除AI任务
|
|
405
410
|
*/
|
|
406
|
-
async
|
|
407
|
-
return this.request("
|
|
411
|
+
async DeleteAITask(req, cb) {
|
|
412
|
+
return this.request("DeleteAITask", req, cb);
|
|
408
413
|
}
|
|
409
414
|
/**
|
|
410
|
-
*
|
|
415
|
+
* 平台支持将数据以TS切片的形式存入客户自有COS桶,该接口用于支持客户快捷查询切片信息列表
|
|
416
|
+
(注意:只支持标准存储类型的查询)
|
|
411
417
|
*/
|
|
412
|
-
async
|
|
413
|
-
return this.request("
|
|
418
|
+
async DescribeRecordSlice(req, cb) {
|
|
419
|
+
return this.request("DescribeRecordSlice", req, cb);
|
|
414
420
|
}
|
|
415
421
|
/**
|
|
416
|
-
*
|
|
422
|
+
* 禁止主、子账号对视频通道的实况预览
|
|
417
423
|
*/
|
|
418
|
-
async
|
|
419
|
-
return this.request("
|
|
424
|
+
async SetForbidPlayChannels(req, cb) {
|
|
425
|
+
return this.request("SetForbidPlayChannels", req, cb);
|
|
420
426
|
}
|
|
421
427
|
/**
|
|
422
|
-
*
|
|
428
|
+
* 用于新增录像上云模板。
|
|
429
|
+
> 该功能本质是拉取设备本地录像数据上云(即存在 IPC 摄像头存储卡或 NVR 硬盘中的录像),操作时需先设定录像时间段(即想要上云的设备本地录像),再设定上云时间段和上云倍速,平台将于上云时间段倍速拉取设备对应前一天的录像时间段数据。
|
|
430
|
+
|
|
431
|
+
> 设定需至少满足(上云时间段=前一天的录像时间段/上云倍速),建议上云时间段可多设定10%左右的时间,避免因网络波动导致数据拉取不完整。
|
|
423
432
|
*/
|
|
424
|
-
async
|
|
425
|
-
return this.request("
|
|
433
|
+
async AddRecordBackupTemplate(req, cb) {
|
|
434
|
+
return this.request("AddRecordBackupTemplate", req, cb);
|
|
426
435
|
}
|
|
427
436
|
/**
|
|
428
|
-
*
|
|
437
|
+
* 用于修改实时上云计划
|
|
429
438
|
*/
|
|
430
|
-
async
|
|
431
|
-
return this.request("
|
|
439
|
+
async UpdateRecordPlan(req, cb) {
|
|
440
|
+
return this.request("UpdateRecordPlan", req, cb);
|
|
432
441
|
}
|
|
433
442
|
/**
|
|
434
|
-
*
|
|
443
|
+
* 用于删除已添加的设备。
|
|
435
444
|
*/
|
|
436
|
-
async
|
|
437
|
-
return this.request("
|
|
445
|
+
async DeleteUserDevice(req, cb) {
|
|
446
|
+
return this.request("DeleteUserDevice", req, cb);
|
|
438
447
|
}
|
|
439
448
|
/**
|
|
440
|
-
*
|
|
449
|
+
* 查询网关服务版本
|
|
441
450
|
*/
|
|
442
|
-
async
|
|
443
|
-
return this.request("
|
|
451
|
+
async DescribeGatewayVersion(req, cb) {
|
|
452
|
+
return this.request("DescribeGatewayVersion", req, cb);
|
|
444
453
|
}
|
|
445
454
|
/**
|
|
446
|
-
*
|
|
455
|
+
* 用于添加设备时,查询设备可以使用的服务节点,查询结果为已经绑定了域名的服务节点。
|
|
447
456
|
*/
|
|
448
|
-
async
|
|
449
|
-
return this.request("
|
|
457
|
+
async DescribeDeviceRegion(req, cb) {
|
|
458
|
+
return this.request("DescribeDeviceRegion", req, cb);
|
|
450
459
|
}
|
|
451
460
|
/**
|
|
452
|
-
*
|
|
461
|
+
* 用于查询实时上云模板列表
|
|
453
462
|
*/
|
|
454
|
-
async
|
|
455
|
-
return this.request("
|
|
463
|
+
async ListRecordTemplates(req, cb) {
|
|
464
|
+
return this.request("ListRecordTemplates", req, cb);
|
|
456
465
|
}
|
|
457
466
|
/**
|
|
458
|
-
*
|
|
467
|
+
* 用于根据服务节点获取 CNAME 值。
|
|
459
468
|
*/
|
|
460
|
-
async
|
|
461
|
-
return this.request("
|
|
469
|
+
async DescribeCNAME(req, cb) {
|
|
470
|
+
return this.request("DescribeCNAME", req, cb);
|
|
462
471
|
}
|
|
463
472
|
/**
|
|
464
|
-
*
|
|
473
|
+
* 用于获取网关列表。
|
|
465
474
|
*/
|
|
466
|
-
async
|
|
467
|
-
return this.request("
|
|
475
|
+
async ListGateways(req, cb) {
|
|
476
|
+
return this.request("ListGateways", req, cb);
|
|
468
477
|
}
|
|
469
478
|
/**
|
|
470
|
-
*
|
|
479
|
+
* 用于操作设备预置位,包括设置、删除、调用。
|
|
471
480
|
*/
|
|
472
|
-
async
|
|
473
|
-
return this.request("
|
|
481
|
+
async ControlDevicePreset(req, cb) {
|
|
482
|
+
return this.request("ControlDevicePreset", req, cb);
|
|
474
483
|
}
|
|
475
484
|
/**
|
|
476
|
-
*
|
|
485
|
+
* 本接口可基于海康ISUP 5.0协议实现透传ISAPI的请求数据,调用接口前需确保设备采用ISUP协议成功注册至本平台
|
|
477
486
|
*/
|
|
478
|
-
async
|
|
479
|
-
return this.request("
|
|
487
|
+
async CallISAPI(req, cb) {
|
|
488
|
+
return this.request("CallISAPI", req, cb);
|
|
480
489
|
}
|
|
481
490
|
/**
|
|
482
|
-
*
|
|
491
|
+
* 用于新增实时上云计划
|
|
483
492
|
*/
|
|
484
|
-
async
|
|
485
|
-
return this.request("
|
|
493
|
+
async AddRecordPlan(req, cb) {
|
|
494
|
+
return this.request("AddRecordPlan", req, cb);
|
|
486
495
|
}
|
|
487
496
|
/**
|
|
488
|
-
*
|
|
497
|
+
* 用于修改录像上云计划。
|
|
489
498
|
*/
|
|
490
|
-
async
|
|
491
|
-
return this.request("
|
|
499
|
+
async UpdateRecordBackupPlan(req, cb) {
|
|
500
|
+
return this.request("UpdateRecordBackupPlan", req, cb);
|
|
492
501
|
}
|
|
493
502
|
/**
|
|
494
|
-
*
|
|
503
|
+
* 用于删除域名。
|
|
495
504
|
*/
|
|
496
|
-
async
|
|
497
|
-
return this.request("
|
|
505
|
+
async DeleteDomain(req, cb) {
|
|
506
|
+
return this.request("DeleteDomain", req, cb);
|
|
498
507
|
}
|
|
499
508
|
/**
|
|
500
|
-
*
|
|
509
|
+
* 查询禁播通道列表
|
|
501
510
|
*/
|
|
502
|
-
async
|
|
503
|
-
return this.request("
|
|
511
|
+
async QueryForbidPlayChannelList(req, cb) {
|
|
512
|
+
return this.request("QueryForbidPlayChannelList", req, cb);
|
|
504
513
|
}
|
|
505
514
|
/**
|
|
506
|
-
*
|
|
515
|
+
* 用于网关升级(支持对所有待更新的服务一键升级)。
|
|
507
516
|
*/
|
|
508
|
-
async
|
|
509
|
-
return this.request("
|
|
517
|
+
async UpgradeGateway(req, cb) {
|
|
518
|
+
return this.request("UpgradeGateway", req, cb);
|
|
510
519
|
}
|
|
511
520
|
/**
|
|
512
|
-
*
|
|
521
|
+
* 用于修改录像上云模板。
|
|
513
522
|
*/
|
|
514
|
-
async
|
|
515
|
-
return this.request("
|
|
523
|
+
async UpdateRecordBackupTemplate(req, cb) {
|
|
524
|
+
return this.request("UpdateRecordBackupTemplate", req, cb);
|
|
516
525
|
}
|
|
517
526
|
/**
|
|
518
|
-
*
|
|
527
|
+
* 用于删除取回任务
|
|
519
528
|
*/
|
|
520
|
-
async
|
|
521
|
-
return this.request("
|
|
529
|
+
async DeleteRecordRetrieveTask(req, cb) {
|
|
530
|
+
return this.request("DeleteRecordRetrieveTask", req, cb);
|
|
522
531
|
}
|
|
523
532
|
/**
|
|
524
|
-
*
|
|
525
|
-
> 该功能本质是拉取设备本地录像数据上云(即存在 IPC 摄像头存储卡或 NVR 硬盘中的录像),操作时需先设定录像时间段(即想要上云的设备本地录像),再设定上云时间段和上云倍速,平台将于上云时间段倍速拉取设备对应前一天的录像时间段数据。
|
|
526
|
-
|
|
527
|
-
> 设定需至少满足(上云时间段=前一天的录像时间段/上云倍速),建议上云时间段可多设定10%左右的时间,避免因网络波动导致数据拉取不完整。
|
|
533
|
+
* 用于新增录像上云计划 (当前仅适用于通过GB28181协议和网关接入的设备/视频通道)
|
|
528
534
|
*/
|
|
529
|
-
async
|
|
530
|
-
return this.request("
|
|
535
|
+
async AddRecordBackupPlan(req, cb) {
|
|
536
|
+
return this.request("AddRecordBackupPlan", req, cb);
|
|
531
537
|
}
|
|
532
538
|
/**
|
|
533
|
-
*
|
|
539
|
+
* 用于查询设备本地录像时间轴信息,为NVR/IPC本地存储的录像。
|
|
534
540
|
*/
|
|
535
|
-
async
|
|
536
|
-
return this.request("
|
|
541
|
+
async ControlRecordTimeline(req, cb) {
|
|
542
|
+
return this.request("ControlRecordTimeline", req, cb);
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* 用于查询网关下挂载的设备列表。
|
|
546
|
+
*/
|
|
547
|
+
async ListGatewayDevices(req, cb) {
|
|
548
|
+
return this.request("ListGatewayDevices", req, cb);
|
|
537
549
|
}
|
|
538
550
|
}
|
|
539
551
|
exports.Client = Client;
|