@awarevue/api-types 1.1.15 → 2.0.2
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/dist/access-control/person-agreement.d.ts +2 -2
- package/dist/access-control/person.d.ts +4 -4
- package/dist/agent-communication/protocol.d.ts +108 -308
- package/dist/agent-communication/protocol.js +5 -8
- package/dist/agent-communication/queries.d.ts +1312 -1045
- package/dist/agent-communication/queries.js +11 -109
- package/dist/api/media.d.ts +6 -14
- package/dist/api/media.js +1 -4
- package/dist/device/alarm.d.ts +24 -24
- package/dist/device/any-device.d.ts +537 -269
- package/dist/device/any-device.js +22 -4
- package/dist/device/camera.d.ts +97 -0
- package/dist/device/camera.js +24 -1
- package/dist/device/index.d.ts +3 -1
- package/dist/device/index.js +3 -1
- package/dist/device/intercom-terminal.d.ts +4 -4
- package/dist/device/nvr-analytics-server.d.ts +307 -0
- package/dist/device/nvr-analytics-server.js +73 -0
- package/dist/device/nvr-exporter.d.ts +892 -0
- package/dist/device/nvr-exporter.js +77 -0
- package/dist/device/nvr-recorder.d.ts +2981 -0
- package/dist/device/nvr-recorder.js +47 -0
- package/dist/device/presence-tracker.d.ts +8 -8
- package/dist/device-event.d.ts +43 -19
- package/dist/device-event.js +5 -0
- package/dist/device-import.d.ts +123 -51
- package/dist/device-relation.d.ts +7 -7
- package/dist/device-relation.js +12 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/messages/web-rtc-signaling.d.ts +10 -10
- package/dist/package.json +1 -1
- package/dist/permissions.d.ts +3 -3
- package/dist/permissions.js +9 -1
- package/dist/primitives.d.ts +596 -0
- package/dist/primitives.js +13 -1
- package/dist/user.d.ts +16 -16
- package/package.json +1 -1
- package/dist/device/recorder.d.ts +0 -12
- package/dist/device/recorder.js +0 -9
- package/dist/export.d.ts +0 -30
- package/dist/export.js +0 -14
|
@@ -1,752 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare const QUERY_RECORDINGS_BY_TIME_RANGE = "cctv:recordings-by-time-range";
|
|
4
|
-
export declare const QUERY_MEDIA_SEARCH = "cctv:media-search";
|
|
5
|
-
export declare const QUERY_RTSP_DATA = "cctv:rtsp-data";
|
|
6
|
-
export declare const QUERY_PREVIEW_IMAGE = "cctv:preview-image";
|
|
7
|
-
export declare const QUERY_CAMERA_LATEST_FRAME = "cctv:latest-frame";
|
|
8
|
-
export declare const QUERY_SCENE_PREVIEW_CLIP = "cctv:scene-preview-clip";
|
|
9
|
-
export declare const QUERY_OBJECT_SNAPSHOT = "cctv:object-snapshot";
|
|
10
|
-
export declare const QUERY_OBJECT_THUMBNAIL = "cctv:object-thumbnail";
|
|
11
|
-
export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
12
|
-
timeFrom: z.ZodNumber;
|
|
13
|
-
timeTo: z.ZodNumber;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
timeFrom: number;
|
|
16
|
-
timeTo: number;
|
|
17
|
-
}, {
|
|
18
|
-
timeFrom: number;
|
|
19
|
-
timeTo: number;
|
|
20
|
-
}>;
|
|
21
|
-
export declare const sMediaSearchArgs: z.ZodObject<{
|
|
22
|
-
devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
|
|
23
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
24
|
-
q: z.ZodOptional<z.ZodString>;
|
|
25
|
-
similarTo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
26
|
-
label: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27
|
-
timeFrom: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
timeTo: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">]>>;
|
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
label?: string[] | undefined;
|
|
32
|
-
q?: string | undefined;
|
|
33
|
-
devices?: any[] | undefined;
|
|
34
|
-
limit?: number | undefined;
|
|
35
|
-
timeFrom?: number | undefined;
|
|
36
|
-
timeTo?: number | undefined;
|
|
37
|
-
similarTo?: string | undefined;
|
|
38
|
-
sortBy?: "time_asc" | "time_desc" | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
label?: string[] | undefined;
|
|
41
|
-
q?: string | undefined;
|
|
42
|
-
devices?: any[] | undefined;
|
|
43
|
-
limit?: number | undefined;
|
|
44
|
-
timeFrom?: number | undefined;
|
|
45
|
-
timeTo?: number | undefined;
|
|
46
|
-
similarTo?: string | undefined;
|
|
47
|
-
sortBy?: "time_asc" | "time_desc" | undefined;
|
|
48
|
-
}>;
|
|
49
|
-
export declare const sRtspDataArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
50
|
-
export declare const sPreviewImageArgs: z.ZodObject<{
|
|
51
|
-
time: z.ZodNumber;
|
|
52
|
-
height: z.ZodNumber;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
time: number;
|
|
55
|
-
height: number;
|
|
56
|
-
}, {
|
|
57
|
-
time: number;
|
|
58
|
-
height: number;
|
|
59
|
-
}>;
|
|
60
|
-
export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
61
|
-
width: z.ZodNumber;
|
|
62
|
-
height: z.ZodNumber;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
height: number;
|
|
65
|
-
width: number;
|
|
66
|
-
}, {
|
|
67
|
-
height: number;
|
|
68
|
-
width: number;
|
|
69
|
-
}>;
|
|
70
|
-
export declare const sScenePreviewClipArgs: z.ZodObject<{
|
|
71
|
-
providerAssignedRef: z.ZodString;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
providerAssignedRef: string;
|
|
74
|
-
}, {
|
|
75
|
-
providerAssignedRef: string;
|
|
76
|
-
}>;
|
|
77
|
-
export declare const sObjectSnapshotArgs: z.ZodObject<{
|
|
78
|
-
providerAssignedRef: z.ZodString;
|
|
79
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
80
|
-
quality: z.ZodOptional<z.ZodNumber>;
|
|
81
|
-
crop: z.ZodBoolean;
|
|
82
|
-
boxes: z.ZodBoolean;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
providerAssignedRef: string;
|
|
85
|
-
crop: boolean;
|
|
86
|
-
boxes: boolean;
|
|
87
|
-
height?: number | undefined;
|
|
88
|
-
quality?: number | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
providerAssignedRef: string;
|
|
91
|
-
crop: boolean;
|
|
92
|
-
boxes: boolean;
|
|
93
|
-
height?: number | undefined;
|
|
94
|
-
quality?: number | undefined;
|
|
95
|
-
}>;
|
|
96
|
-
export declare const sObjectThumbnailArgs: z.ZodObject<{
|
|
97
|
-
providerAssignedRef: z.ZodString;
|
|
98
|
-
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
providerAssignedRef: string;
|
|
100
|
-
}, {
|
|
101
|
-
providerAssignedRef: string;
|
|
102
|
-
}>;
|
|
103
|
-
export declare const sDeviceGraphResponse: z.ZodObject<{
|
|
104
|
-
devices: z.ZodArray<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
105
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
tags?: string[] | undefined;
|
|
108
|
-
}, {
|
|
109
|
-
tags?: string[] | undefined;
|
|
110
|
-
}>, z.ZodObject<{
|
|
111
|
-
name: z.ZodString;
|
|
112
|
-
foreignRef: z.ZodString;
|
|
113
|
-
provider: z.ZodString;
|
|
114
|
-
providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
|
|
115
|
-
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
name: string;
|
|
117
|
-
foreignRef: string;
|
|
118
|
-
provider: string;
|
|
119
|
-
providerMetadata: {} & {
|
|
120
|
-
[k: string]: unknown;
|
|
121
|
-
};
|
|
122
|
-
}, {
|
|
123
|
-
name: string;
|
|
124
|
-
foreignRef: string;
|
|
125
|
-
provider: string;
|
|
126
|
-
providerMetadata: {} & {
|
|
127
|
-
[k: string]: unknown;
|
|
128
|
-
};
|
|
129
|
-
}>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
130
|
-
type: z.ZodLiteral<"alarm">;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
type: "alarm";
|
|
133
|
-
}, {
|
|
134
|
-
type: "alarm";
|
|
135
|
-
}>, z.ZodObject<{
|
|
136
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
137
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
138
|
-
ptzCapable: z.ZodBoolean;
|
|
139
|
-
ptzPanSpeed: z.ZodNumber;
|
|
140
|
-
ptzTiltSpeed: z.ZodNumber;
|
|
141
|
-
ptzZoomSpeed: z.ZodNumber;
|
|
142
|
-
panMin: z.ZodNumber;
|
|
143
|
-
panMax: z.ZodNumber;
|
|
144
|
-
tiltMin: z.ZodNumber;
|
|
145
|
-
tiltMax: z.ZodNumber;
|
|
146
|
-
zoomMin: z.ZodNumber;
|
|
147
|
-
zoomMax: z.ZodNumber;
|
|
148
|
-
recordingCapable: z.ZodBoolean;
|
|
149
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
150
|
-
kind: z.ZodString;
|
|
151
|
-
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
kind: string;
|
|
153
|
-
}, {
|
|
154
|
-
kind: string;
|
|
155
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
156
|
-
streams: z.ZodArray<z.ZodObject<{
|
|
157
|
-
id: z.ZodString;
|
|
158
|
-
displayName: z.ZodString;
|
|
159
|
-
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
160
|
-
}, "strip", z.ZodTypeAny, {
|
|
161
|
-
id: string;
|
|
162
|
-
displayName: string;
|
|
163
|
-
externalPlayerUrl: string | null;
|
|
164
|
-
}, {
|
|
165
|
-
id: string;
|
|
166
|
-
displayName: string;
|
|
167
|
-
externalPlayerUrl: string | null;
|
|
168
|
-
}>, "many">;
|
|
169
|
-
defaultStreamId: z.ZodString;
|
|
170
|
-
} & {
|
|
171
|
-
type: z.ZodLiteral<"camera">;
|
|
172
|
-
}, "strip", z.ZodTypeAny, {
|
|
173
|
-
type: "camera";
|
|
174
|
-
streams: {
|
|
175
|
-
id: string;
|
|
176
|
-
displayName: string;
|
|
177
|
-
externalPlayerUrl: string | null;
|
|
178
|
-
}[];
|
|
179
|
-
lensType: "flat" | "fisheye";
|
|
180
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
181
|
-
ptzCapable: boolean;
|
|
182
|
-
ptzPanSpeed: number;
|
|
183
|
-
ptzTiltSpeed: number;
|
|
184
|
-
ptzZoomSpeed: number;
|
|
185
|
-
panMin: number;
|
|
186
|
-
panMax: number;
|
|
187
|
-
tiltMin: number;
|
|
188
|
-
tiltMax: number;
|
|
189
|
-
zoomMin: number;
|
|
190
|
-
zoomMax: number;
|
|
191
|
-
recordingCapable: boolean;
|
|
192
|
-
webrtcPlaybackSource: ({
|
|
193
|
-
kind: string;
|
|
194
|
-
} & Record<string, unknown>) | null;
|
|
195
|
-
defaultStreamId: string;
|
|
196
|
-
}, {
|
|
197
|
-
type: "camera";
|
|
198
|
-
streams: {
|
|
199
|
-
id: string;
|
|
200
|
-
displayName: string;
|
|
201
|
-
externalPlayerUrl: string | null;
|
|
202
|
-
}[];
|
|
203
|
-
lensType: "flat" | "fisheye";
|
|
204
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
205
|
-
ptzCapable: boolean;
|
|
206
|
-
ptzPanSpeed: number;
|
|
207
|
-
ptzTiltSpeed: number;
|
|
208
|
-
ptzZoomSpeed: number;
|
|
209
|
-
panMin: number;
|
|
210
|
-
panMax: number;
|
|
211
|
-
tiltMin: number;
|
|
212
|
-
tiltMax: number;
|
|
213
|
-
zoomMin: number;
|
|
214
|
-
zoomMax: number;
|
|
215
|
-
recordingCapable: boolean;
|
|
216
|
-
webrtcPlaybackSource: ({
|
|
217
|
-
kind: string;
|
|
218
|
-
} & Record<string, unknown>) | null;
|
|
219
|
-
defaultStreamId: string;
|
|
220
|
-
}>, z.ZodObject<{
|
|
221
|
-
canReportOpenState: z.ZodBoolean;
|
|
222
|
-
canReportLockState: z.ZodBoolean;
|
|
223
|
-
canControlLock: z.ZodBoolean;
|
|
224
|
-
canRelease: z.ZodBoolean;
|
|
225
|
-
} & {
|
|
226
|
-
type: z.ZodLiteral<"door">;
|
|
227
|
-
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
type: "door";
|
|
229
|
-
canReportOpenState: boolean;
|
|
230
|
-
canReportLockState: boolean;
|
|
231
|
-
canControlLock: boolean;
|
|
232
|
-
canRelease: boolean;
|
|
233
|
-
}, {
|
|
234
|
-
type: "door";
|
|
235
|
-
canReportOpenState: boolean;
|
|
236
|
-
canReportLockState: boolean;
|
|
237
|
-
canControlLock: boolean;
|
|
238
|
-
canRelease: boolean;
|
|
239
|
-
}>, z.ZodObject<{
|
|
240
|
-
inputs: z.ZodArray<z.ZodString, "many">;
|
|
241
|
-
outputs: z.ZodArray<z.ZodString, "many">;
|
|
242
|
-
} & {
|
|
243
|
-
type: z.ZodLiteral<"io-board">;
|
|
244
|
-
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
type: "io-board";
|
|
246
|
-
inputs: string[];
|
|
247
|
-
outputs: string[];
|
|
248
|
-
}, {
|
|
249
|
-
type: "io-board";
|
|
250
|
-
inputs: string[];
|
|
251
|
-
outputs: string[];
|
|
252
|
-
}>, z.ZodObject<{
|
|
253
|
-
type: z.ZodLiteral<"camera-lift">;
|
|
254
|
-
}, "strip", z.ZodTypeAny, {
|
|
255
|
-
type: "camera-lift";
|
|
256
|
-
}, {
|
|
257
|
-
type: "camera-lift";
|
|
258
|
-
}>, z.ZodObject<{
|
|
259
|
-
type: z.ZodLiteral<"motion-sensor">;
|
|
260
|
-
}, "strip", z.ZodTypeAny, {
|
|
261
|
-
type: "motion-sensor";
|
|
262
|
-
}, {
|
|
263
|
-
type: "motion-sensor";
|
|
264
|
-
}>, z.ZodObject<{
|
|
265
|
-
type: z.ZodLiteral<"panic-button">;
|
|
266
|
-
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
type: "panic-button";
|
|
268
|
-
}, {
|
|
269
|
-
type: "panic-button";
|
|
270
|
-
}>, z.ZodObject<{
|
|
271
|
-
sipUri: z.ZodString;
|
|
272
|
-
sipUser: z.ZodString;
|
|
273
|
-
sipPassword: z.ZodString;
|
|
274
|
-
sipRealm: z.ZodString;
|
|
275
|
-
remoteExtension: z.ZodString;
|
|
276
|
-
} & {
|
|
277
|
-
type: z.ZodLiteral<"intercom-terminal">;
|
|
278
|
-
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
type: "intercom-terminal";
|
|
280
|
-
sipUri: string;
|
|
281
|
-
sipUser: string;
|
|
282
|
-
sipPassword: string;
|
|
283
|
-
sipRealm: string;
|
|
284
|
-
remoteExtension: string;
|
|
285
|
-
}, {
|
|
286
|
-
type: "intercom-terminal";
|
|
287
|
-
sipUri: string;
|
|
288
|
-
sipUser: string;
|
|
289
|
-
sipPassword: string;
|
|
290
|
-
sipRealm: string;
|
|
291
|
-
remoteExtension: string;
|
|
292
|
-
}>, z.ZodObject<{
|
|
293
|
-
sipWsUrl: z.ZodString;
|
|
294
|
-
} & {
|
|
295
|
-
type: z.ZodLiteral<"pbx">;
|
|
296
|
-
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
type: "pbx";
|
|
298
|
-
sipWsUrl: string;
|
|
299
|
-
}, {
|
|
300
|
-
type: "pbx";
|
|
301
|
-
sipWsUrl: string;
|
|
302
|
-
}>, z.ZodObject<{
|
|
303
|
-
type: z.ZodLiteral<"server">;
|
|
304
|
-
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
type: "server";
|
|
306
|
-
}, {
|
|
307
|
-
type: "server";
|
|
308
|
-
}>, z.ZodObject<{
|
|
309
|
-
type: z.ZodLiteral<"intercom-operator">;
|
|
310
|
-
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
type: "intercom-operator";
|
|
312
|
-
}, {
|
|
313
|
-
type: "intercom-operator";
|
|
314
|
-
}>, z.ZodObject<{
|
|
315
|
-
type: z.ZodLiteral<"device-gateway">;
|
|
316
|
-
}, "strip", z.ZodTypeAny, {
|
|
317
|
-
type: "device-gateway";
|
|
318
|
-
}, {
|
|
319
|
-
type: "device-gateway";
|
|
320
|
-
}>, z.ZodObject<{
|
|
321
|
-
type: z.ZodLiteral<"presence-tracker">;
|
|
322
|
-
}, "strip", z.ZodTypeAny, {
|
|
323
|
-
type: "presence-tracker";
|
|
324
|
-
}, {
|
|
325
|
-
type: "presence-tracker";
|
|
326
|
-
}>, z.ZodObject<{
|
|
327
|
-
type: z.ZodLiteral<"reader">;
|
|
328
|
-
}, "strip", z.ZodTypeAny, {
|
|
329
|
-
type: "reader";
|
|
330
|
-
}, {
|
|
331
|
-
type: "reader";
|
|
332
|
-
}>, z.ZodObject<{
|
|
333
|
-
type: z.ZodLiteral<"display">;
|
|
334
|
-
}, "strip", z.ZodTypeAny, {
|
|
335
|
-
type: "display";
|
|
336
|
-
}, {
|
|
337
|
-
type: "display";
|
|
338
|
-
}>, z.ZodObject<{
|
|
339
|
-
type: z.ZodLiteral<"recorder">;
|
|
340
|
-
}, "strip", z.ZodTypeAny, {
|
|
341
|
-
type: "recorder";
|
|
342
|
-
}, {
|
|
343
|
-
type: "recorder";
|
|
344
|
-
}>]>>, "many">;
|
|
345
|
-
relations: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
346
|
-
leftId: z.ZodString;
|
|
347
|
-
rightId: z.ZodString;
|
|
348
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy"]>;
|
|
349
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
350
|
-
leftId: z.ZodString;
|
|
351
|
-
rightId: z.ZodString;
|
|
352
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy"]>;
|
|
353
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
354
|
-
leftId: z.ZodString;
|
|
355
|
-
rightId: z.ZodString;
|
|
356
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy"]>;
|
|
357
|
-
}, z.ZodUnknown, "strip">>, z.ZodObject<{
|
|
358
|
-
provider: z.ZodString;
|
|
359
|
-
}, "strip", z.ZodTypeAny, {
|
|
360
|
-
provider: string;
|
|
361
|
-
}, {
|
|
362
|
-
provider: string;
|
|
363
|
-
}>>, "many">;
|
|
364
|
-
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
devices: ({
|
|
366
|
-
tags?: string[] | undefined;
|
|
367
|
-
} & {
|
|
368
|
-
name: string;
|
|
369
|
-
foreignRef: string;
|
|
370
|
-
provider: string;
|
|
371
|
-
providerMetadata: {} & {
|
|
372
|
-
[k: string]: unknown;
|
|
373
|
-
};
|
|
374
|
-
} & ({
|
|
375
|
-
type: "alarm";
|
|
376
|
-
} | {
|
|
377
|
-
type: "camera";
|
|
378
|
-
streams: {
|
|
379
|
-
id: string;
|
|
380
|
-
displayName: string;
|
|
381
|
-
externalPlayerUrl: string | null;
|
|
382
|
-
}[];
|
|
383
|
-
lensType: "flat" | "fisheye";
|
|
384
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
385
|
-
ptzCapable: boolean;
|
|
386
|
-
ptzPanSpeed: number;
|
|
387
|
-
ptzTiltSpeed: number;
|
|
388
|
-
ptzZoomSpeed: number;
|
|
389
|
-
panMin: number;
|
|
390
|
-
panMax: number;
|
|
391
|
-
tiltMin: number;
|
|
392
|
-
tiltMax: number;
|
|
393
|
-
zoomMin: number;
|
|
394
|
-
zoomMax: number;
|
|
395
|
-
recordingCapable: boolean;
|
|
396
|
-
webrtcPlaybackSource: ({
|
|
397
|
-
kind: string;
|
|
398
|
-
} & Record<string, unknown>) | null;
|
|
399
|
-
defaultStreamId: string;
|
|
400
|
-
} | {
|
|
401
|
-
type: "door";
|
|
402
|
-
canReportOpenState: boolean;
|
|
403
|
-
canReportLockState: boolean;
|
|
404
|
-
canControlLock: boolean;
|
|
405
|
-
canRelease: boolean;
|
|
406
|
-
} | {
|
|
407
|
-
type: "io-board";
|
|
408
|
-
inputs: string[];
|
|
409
|
-
outputs: string[];
|
|
410
|
-
} | {
|
|
411
|
-
type: "camera-lift";
|
|
412
|
-
} | {
|
|
413
|
-
type: "motion-sensor";
|
|
414
|
-
} | {
|
|
415
|
-
type: "panic-button";
|
|
416
|
-
} | {
|
|
417
|
-
type: "intercom-terminal";
|
|
418
|
-
sipUri: string;
|
|
419
|
-
sipUser: string;
|
|
420
|
-
sipPassword: string;
|
|
421
|
-
sipRealm: string;
|
|
422
|
-
remoteExtension: string;
|
|
423
|
-
} | {
|
|
424
|
-
type: "pbx";
|
|
425
|
-
sipWsUrl: string;
|
|
426
|
-
} | {
|
|
427
|
-
type: "server";
|
|
428
|
-
} | {
|
|
429
|
-
type: "intercom-operator";
|
|
430
|
-
} | {
|
|
431
|
-
type: "device-gateway";
|
|
432
|
-
} | {
|
|
433
|
-
type: "presence-tracker";
|
|
434
|
-
} | {
|
|
435
|
-
type: "reader";
|
|
436
|
-
} | {
|
|
437
|
-
type: "display";
|
|
438
|
-
} | {
|
|
439
|
-
type: "recorder";
|
|
440
|
-
}))[];
|
|
441
|
-
relations: ({
|
|
442
|
-
kind: "parent" | "attachedTo" | "child" | "holds" | "isHeldBy" | "observes" | "isObservedBy" | "sendsInputTo" | "receivesInputFrom" | "sendsOutputTo" | "receivesOutputFrom" | "unlocks" | "isUnlockedBy" | "controls" | "isControlledBy";
|
|
443
|
-
leftId: string;
|
|
444
|
-
rightId: string;
|
|
445
|
-
} & {
|
|
446
|
-
[k: string]: unknown;
|
|
447
|
-
} & {
|
|
448
|
-
provider: string;
|
|
449
|
-
})[];
|
|
450
|
-
}, {
|
|
451
|
-
devices: ({
|
|
452
|
-
tags?: string[] | undefined;
|
|
453
|
-
} & {
|
|
454
|
-
name: string;
|
|
455
|
-
foreignRef: string;
|
|
456
|
-
provider: string;
|
|
457
|
-
providerMetadata: {} & {
|
|
458
|
-
[k: string]: unknown;
|
|
459
|
-
};
|
|
460
|
-
} & ({
|
|
461
|
-
type: "alarm";
|
|
462
|
-
} | {
|
|
463
|
-
type: "camera";
|
|
464
|
-
streams: {
|
|
465
|
-
id: string;
|
|
466
|
-
displayName: string;
|
|
467
|
-
externalPlayerUrl: string | null;
|
|
468
|
-
}[];
|
|
469
|
-
lensType: "flat" | "fisheye";
|
|
470
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
471
|
-
ptzCapable: boolean;
|
|
472
|
-
ptzPanSpeed: number;
|
|
473
|
-
ptzTiltSpeed: number;
|
|
474
|
-
ptzZoomSpeed: number;
|
|
475
|
-
panMin: number;
|
|
476
|
-
panMax: number;
|
|
477
|
-
tiltMin: number;
|
|
478
|
-
tiltMax: number;
|
|
479
|
-
zoomMin: number;
|
|
480
|
-
zoomMax: number;
|
|
481
|
-
recordingCapable: boolean;
|
|
482
|
-
webrtcPlaybackSource: ({
|
|
483
|
-
kind: string;
|
|
484
|
-
} & Record<string, unknown>) | null;
|
|
485
|
-
defaultStreamId: string;
|
|
486
|
-
} | {
|
|
487
|
-
type: "door";
|
|
488
|
-
canReportOpenState: boolean;
|
|
489
|
-
canReportLockState: boolean;
|
|
490
|
-
canControlLock: boolean;
|
|
491
|
-
canRelease: boolean;
|
|
492
|
-
} | {
|
|
493
|
-
type: "io-board";
|
|
494
|
-
inputs: string[];
|
|
495
|
-
outputs: string[];
|
|
496
|
-
} | {
|
|
497
|
-
type: "camera-lift";
|
|
498
|
-
} | {
|
|
499
|
-
type: "motion-sensor";
|
|
500
|
-
} | {
|
|
501
|
-
type: "panic-button";
|
|
502
|
-
} | {
|
|
503
|
-
type: "intercom-terminal";
|
|
504
|
-
sipUri: string;
|
|
505
|
-
sipUser: string;
|
|
506
|
-
sipPassword: string;
|
|
507
|
-
sipRealm: string;
|
|
508
|
-
remoteExtension: string;
|
|
509
|
-
} | {
|
|
510
|
-
type: "pbx";
|
|
511
|
-
sipWsUrl: string;
|
|
512
|
-
} | {
|
|
513
|
-
type: "server";
|
|
514
|
-
} | {
|
|
515
|
-
type: "intercom-operator";
|
|
516
|
-
} | {
|
|
517
|
-
type: "device-gateway";
|
|
518
|
-
} | {
|
|
519
|
-
type: "presence-tracker";
|
|
520
|
-
} | {
|
|
521
|
-
type: "reader";
|
|
522
|
-
} | {
|
|
523
|
-
type: "display";
|
|
524
|
-
} | {
|
|
525
|
-
type: "recorder";
|
|
526
|
-
}))[];
|
|
527
|
-
relations: ({
|
|
528
|
-
kind: "parent" | "attachedTo" | "child" | "holds" | "isHeldBy" | "observes" | "isObservedBy" | "sendsInputTo" | "receivesInputFrom" | "sendsOutputTo" | "receivesOutputFrom" | "unlocks" | "isUnlockedBy" | "controls" | "isControlledBy";
|
|
529
|
-
leftId: string;
|
|
530
|
-
rightId: string;
|
|
531
|
-
} & {
|
|
532
|
-
[k: string]: unknown;
|
|
533
|
-
} & {
|
|
534
|
-
provider: string;
|
|
535
|
-
})[];
|
|
536
|
-
}>;
|
|
537
|
-
export declare const sRecordingsResponse: z.ZodArray<z.ZodObject<{
|
|
538
|
-
start: z.ZodNumber;
|
|
539
|
-
end: z.ZodNumber;
|
|
540
|
-
motion: z.ZodOptional<z.ZodNumber>;
|
|
541
|
-
objects: z.ZodOptional<z.ZodNumber>;
|
|
542
|
-
}, "strip", z.ZodTypeAny, {
|
|
543
|
-
end: number;
|
|
544
|
-
start: number;
|
|
545
|
-
motion?: number | undefined;
|
|
546
|
-
objects?: number | undefined;
|
|
547
|
-
}, {
|
|
548
|
-
end: number;
|
|
549
|
-
start: number;
|
|
550
|
-
motion?: number | undefined;
|
|
551
|
-
objects?: number | undefined;
|
|
552
|
-
}>, "many">;
|
|
553
|
-
export declare const sMediaSearchMatch: z.ZodObject<{
|
|
554
|
-
relevance: z.ZodNumber;
|
|
555
|
-
providerAssignedRef: z.ZodString;
|
|
556
|
-
foreignRef: z.ZodString;
|
|
557
|
-
provider: z.ZodString;
|
|
558
|
-
probability: z.ZodNumber;
|
|
559
|
-
objectKind: z.ZodString;
|
|
560
|
-
startTime: z.ZodNumber;
|
|
561
|
-
endTime: z.ZodNullable<z.ZodNumber>;
|
|
562
|
-
}, "strip", z.ZodTypeAny, {
|
|
563
|
-
endTime: number | null;
|
|
564
|
-
startTime: number;
|
|
565
|
-
objectKind: string;
|
|
566
|
-
probability: number;
|
|
567
|
-
providerAssignedRef: string;
|
|
568
|
-
foreignRef: string;
|
|
569
|
-
provider: string;
|
|
570
|
-
relevance: number;
|
|
571
|
-
}, {
|
|
572
|
-
endTime: number | null;
|
|
573
|
-
startTime: number;
|
|
574
|
-
objectKind: string;
|
|
575
|
-
probability: number;
|
|
576
|
-
providerAssignedRef: string;
|
|
577
|
-
foreignRef: string;
|
|
578
|
-
provider: string;
|
|
579
|
-
relevance: number;
|
|
580
|
-
}>;
|
|
581
|
-
export declare const sMediaSearchResponse: z.ZodArray<z.ZodObject<{
|
|
582
|
-
relevance: z.ZodNumber;
|
|
583
|
-
providerAssignedRef: z.ZodString;
|
|
584
|
-
foreignRef: z.ZodString;
|
|
585
|
-
provider: z.ZodString;
|
|
586
|
-
probability: z.ZodNumber;
|
|
587
|
-
objectKind: z.ZodString;
|
|
588
|
-
startTime: z.ZodNumber;
|
|
589
|
-
endTime: z.ZodNullable<z.ZodNumber>;
|
|
590
|
-
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
endTime: number | null;
|
|
592
|
-
startTime: number;
|
|
593
|
-
objectKind: string;
|
|
594
|
-
probability: number;
|
|
595
|
-
providerAssignedRef: string;
|
|
596
|
-
foreignRef: string;
|
|
597
|
-
provider: string;
|
|
598
|
-
relevance: number;
|
|
599
|
-
}, {
|
|
600
|
-
endTime: number | null;
|
|
601
|
-
startTime: number;
|
|
602
|
-
objectKind: string;
|
|
603
|
-
probability: number;
|
|
604
|
-
providerAssignedRef: string;
|
|
605
|
-
foreignRef: string;
|
|
606
|
-
provider: string;
|
|
607
|
-
relevance: number;
|
|
608
|
-
}>, "many">;
|
|
609
|
-
export declare const sRtspDataResponse: z.ZodObject<{
|
|
610
|
-
cameraName: z.ZodString;
|
|
611
|
-
username: z.ZodString;
|
|
612
|
-
password: z.ZodString;
|
|
613
|
-
streams: z.ZodArray<z.ZodObject<{
|
|
614
|
-
streamId: z.ZodString;
|
|
615
|
-
displayName: z.ZodString;
|
|
616
|
-
resolution: z.ZodNullable<z.ZodString>;
|
|
617
|
-
rtspUrl: z.ZodString;
|
|
618
|
-
}, "strip", z.ZodTypeAny, {
|
|
619
|
-
resolution: string | null;
|
|
620
|
-
displayName: string;
|
|
621
|
-
streamId: string;
|
|
622
|
-
rtspUrl: string;
|
|
623
|
-
}, {
|
|
624
|
-
resolution: string | null;
|
|
625
|
-
displayName: string;
|
|
626
|
-
streamId: string;
|
|
627
|
-
rtspUrl: string;
|
|
628
|
-
}>, "many">;
|
|
629
|
-
}, "strip", z.ZodTypeAny, {
|
|
630
|
-
streams: {
|
|
631
|
-
resolution: string | null;
|
|
632
|
-
displayName: string;
|
|
633
|
-
streamId: string;
|
|
634
|
-
rtspUrl: string;
|
|
635
|
-
}[];
|
|
636
|
-
username: string;
|
|
637
|
-
password: string;
|
|
638
|
-
cameraName: string;
|
|
639
|
-
}, {
|
|
640
|
-
streams: {
|
|
641
|
-
resolution: string | null;
|
|
642
|
-
displayName: string;
|
|
643
|
-
streamId: string;
|
|
644
|
-
rtspUrl: string;
|
|
645
|
-
}[];
|
|
646
|
-
username: string;
|
|
647
|
-
password: string;
|
|
648
|
-
cameraName: string;
|
|
649
|
-
}>;
|
|
650
|
-
export declare const sFileResponse: z.ZodNullable<z.ZodObject<{
|
|
651
|
-
mimeType: z.ZodString;
|
|
652
|
-
data: z.ZodString;
|
|
653
|
-
}, "strip", z.ZodTypeAny, {
|
|
654
|
-
data: string;
|
|
655
|
-
mimeType: string;
|
|
656
|
-
}, {
|
|
657
|
-
data: string;
|
|
658
|
-
mimeType: string;
|
|
659
|
-
}>>;
|
|
660
|
-
export declare const sPreviewImageResponse: z.ZodNullable<z.ZodObject<{
|
|
661
|
-
mimeType: z.ZodString;
|
|
662
|
-
data: z.ZodString;
|
|
663
|
-
}, "strip", z.ZodTypeAny, {
|
|
664
|
-
data: string;
|
|
665
|
-
mimeType: string;
|
|
666
|
-
}, {
|
|
667
|
-
data: string;
|
|
668
|
-
mimeType: string;
|
|
669
|
-
}>>;
|
|
670
|
-
export declare const sCameraLatestFrameResponse: z.ZodNullable<z.ZodObject<{
|
|
671
|
-
mimeType: z.ZodString;
|
|
672
|
-
data: z.ZodString;
|
|
673
|
-
}, "strip", z.ZodTypeAny, {
|
|
674
|
-
data: string;
|
|
675
|
-
mimeType: string;
|
|
676
|
-
}, {
|
|
677
|
-
data: string;
|
|
678
|
-
mimeType: string;
|
|
679
|
-
}>>;
|
|
680
|
-
export declare const sScenePreviewClipResponse: z.ZodNullable<z.ZodObject<{
|
|
681
|
-
mimeType: z.ZodString;
|
|
682
|
-
data: z.ZodString;
|
|
683
|
-
}, "strip", z.ZodTypeAny, {
|
|
684
|
-
data: string;
|
|
685
|
-
mimeType: string;
|
|
686
|
-
}, {
|
|
687
|
-
data: string;
|
|
688
|
-
mimeType: string;
|
|
689
|
-
}>>;
|
|
690
|
-
export declare const sObjectSnapshotResponse: z.ZodNullable<z.ZodObject<{
|
|
691
|
-
mimeType: z.ZodString;
|
|
692
|
-
data: z.ZodString;
|
|
693
|
-
}, "strip", z.ZodTypeAny, {
|
|
694
|
-
data: string;
|
|
695
|
-
mimeType: string;
|
|
696
|
-
}, {
|
|
697
|
-
data: string;
|
|
698
|
-
mimeType: string;
|
|
699
|
-
}>>;
|
|
700
|
-
export declare const sObjectThumbnailResponse: z.ZodNullable<z.ZodObject<{
|
|
701
|
-
mimeType: z.ZodString;
|
|
702
|
-
data: z.ZodString;
|
|
703
|
-
}, "strip", z.ZodTypeAny, {
|
|
704
|
-
data: string;
|
|
705
|
-
mimeType: string;
|
|
706
|
-
}, {
|
|
707
|
-
data: string;
|
|
708
|
-
mimeType: string;
|
|
709
|
-
}>>;
|
|
710
|
-
export type DeviceGraphResponse = z.infer<typeof sDeviceGraphResponse>;
|
|
711
|
-
export type RecordingsByTimeRangeArgs = z.infer<typeof sRecordingsByTimeRangeArgs>;
|
|
712
|
-
export type MediaSearchArgs = z.infer<typeof sMediaSearchArgs>;
|
|
713
|
-
export type RtspDataArgs = z.infer<typeof sRtspDataArgs>;
|
|
714
|
-
export type PreviewImageArgs = z.infer<typeof sPreviewImageArgs>;
|
|
715
|
-
export type CameraLatestFrameArgs = z.infer<typeof sCameraLatestFrameArgs>;
|
|
716
|
-
export type ScenePreviewClipArgs = z.infer<typeof sScenePreviewClipArgs>;
|
|
717
|
-
export type ObjectSnapshotArgs = z.infer<typeof sObjectSnapshotArgs>;
|
|
718
|
-
export type ObjectThumbnailArgs = z.infer<typeof sObjectThumbnailArgs>;
|
|
719
|
-
export type RecordingsResponse = z.infer<typeof sRecordingsResponse>;
|
|
720
|
-
export type MediaSearchMatch = z.infer<typeof sMediaSearchMatch>;
|
|
721
|
-
export type MediaSearchResponse = z.infer<typeof sMediaSearchResponse>;
|
|
722
|
-
export type RtspDataResponse = z.infer<typeof sRtspDataResponse>;
|
|
723
|
-
export type PreviewImageResponse = z.infer<typeof sPreviewImageResponse>;
|
|
724
|
-
export type CameraLatestFrameResponse = z.infer<typeof sCameraLatestFrameResponse>;
|
|
725
|
-
export type ScenePreviewClipResponse = z.infer<typeof sScenePreviewClipResponse>;
|
|
726
|
-
export type ObjectSnapshotResponse = z.infer<typeof sObjectSnapshotResponse>;
|
|
727
|
-
export type ObjectThumbnailResponse = z.infer<typeof sObjectThumbnailResponse>;
|
|
1
|
+
import { CameraQueryRequestMap, CameraQueryResponseMap, NvrExporterQueryRequestMap, NvrExporterQueryResponseMap, NvrRecorderQueryRequestMap, NvrRecorderQueryResponseMap } from '../device';
|
|
2
|
+
import { NvrAnalyticsQueryRequestMap, NvrAnalyticsQueryResponseMap } from '../device/nvr-analytics-server';
|
|
728
3
|
export declare const requestSchemasByType: {
|
|
729
|
-
readonly "
|
|
730
|
-
readonly "cctv:
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
}
|
|
740
|
-
readonly "cctv:media-search": z.ZodObject<{
|
|
741
|
-
devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
|
|
742
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
743
|
-
q: z.ZodOptional<z.ZodString>;
|
|
744
|
-
similarTo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
745
|
-
label: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
746
|
-
timeFrom: z.ZodOptional<z.ZodNumber>;
|
|
747
|
-
timeTo: z.ZodOptional<z.ZodNumber>;
|
|
748
|
-
sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">]>>;
|
|
749
|
-
}, "strip", z.ZodTypeAny, {
|
|
4
|
+
readonly "cctv:rtsp-data": import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
5
|
+
readonly "cctv:media-search": import("zod").ZodObject<{
|
|
6
|
+
devices: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>>;
|
|
7
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8
|
+
q: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
similarTo: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
10
|
+
label: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
11
|
+
timeFrom: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
12
|
+
timeTo: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
13
|
+
sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"time_asc">, import("zod").ZodLiteral<"time_desc">]>>;
|
|
14
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
750
15
|
label?: string[] | undefined;
|
|
751
16
|
q?: string | undefined;
|
|
752
17
|
devices?: any[] | undefined;
|
|
@@ -765,75 +30,1012 @@ export declare const requestSchemasByType: {
|
|
|
765
30
|
similarTo?: string | undefined;
|
|
766
31
|
sortBy?: "time_asc" | "time_desc" | undefined;
|
|
767
32
|
}>;
|
|
768
|
-
readonly "cctv:
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
},
|
|
773
|
-
|
|
774
|
-
|
|
33
|
+
readonly "cctv:scene-preview-clip": import("zod").ZodObject<{
|
|
34
|
+
providerAssignedRef: import("zod").ZodString;
|
|
35
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
36
|
+
providerAssignedRef: string;
|
|
37
|
+
}, {
|
|
38
|
+
providerAssignedRef: string;
|
|
39
|
+
}>;
|
|
40
|
+
readonly "cctv:object-snapshot": import("zod").ZodObject<{
|
|
41
|
+
providerAssignedRef: import("zod").ZodString;
|
|
42
|
+
height: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
43
|
+
quality: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
44
|
+
crop: import("zod").ZodBoolean;
|
|
45
|
+
boxes: import("zod").ZodBoolean;
|
|
46
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
47
|
+
providerAssignedRef: string;
|
|
48
|
+
crop: boolean;
|
|
49
|
+
boxes: boolean;
|
|
50
|
+
height?: number | undefined;
|
|
51
|
+
quality?: number | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
providerAssignedRef: string;
|
|
54
|
+
crop: boolean;
|
|
55
|
+
boxes: boolean;
|
|
56
|
+
height?: number | undefined;
|
|
57
|
+
quality?: number | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
readonly "cctv:object-thumbnail": import("zod").ZodObject<{
|
|
60
|
+
providerAssignedRef: import("zod").ZodString;
|
|
61
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
62
|
+
providerAssignedRef: string;
|
|
63
|
+
}, {
|
|
64
|
+
providerAssignedRef: string;
|
|
65
|
+
}>;
|
|
66
|
+
readonly "cctv:get-export-link": import("zod").ZodObject<{
|
|
67
|
+
exportId: import("zod").ZodString;
|
|
68
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
69
|
+
exportId: string;
|
|
70
|
+
}, {
|
|
71
|
+
exportId: string;
|
|
72
|
+
}>;
|
|
73
|
+
readonly "cctv:get-exports": import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
74
|
+
readonly "cctv:recordings-by-time-range": import("zod").ZodObject<{
|
|
75
|
+
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
76
|
+
name: import("zod").ZodString;
|
|
77
|
+
foreignRef: import("zod").ZodString;
|
|
78
|
+
provider: import("zod").ZodString;
|
|
79
|
+
providerMetadata: import("zod").ZodObject<{}, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{}, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{}, import("zod").ZodUnknown, "strip">>;
|
|
80
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
81
|
+
name: string;
|
|
82
|
+
foreignRef: string;
|
|
83
|
+
provider: string;
|
|
84
|
+
providerMetadata: {} & {
|
|
85
|
+
[k: string]: unknown;
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
name: string;
|
|
89
|
+
foreignRef: string;
|
|
90
|
+
provider: string;
|
|
91
|
+
providerMetadata: {} & {
|
|
92
|
+
[k: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
}>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
95
|
+
type: import("zod").ZodLiteral<"alarm">;
|
|
96
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
97
|
+
type: "alarm";
|
|
98
|
+
}, {
|
|
99
|
+
type: "alarm";
|
|
100
|
+
}>, import("zod").ZodObject<{
|
|
101
|
+
lensType: import("zod").ZodEnum<["flat", "fisheye"]>;
|
|
102
|
+
mountPoint: import("zod").ZodEnum<["wall", "ceiling", "floor"]>;
|
|
103
|
+
ptzCapable: import("zod").ZodBoolean;
|
|
104
|
+
ptzPanSpeed: import("zod").ZodNumber;
|
|
105
|
+
ptzTiltSpeed: import("zod").ZodNumber;
|
|
106
|
+
ptzZoomSpeed: import("zod").ZodNumber;
|
|
107
|
+
panMin: import("zod").ZodNumber;
|
|
108
|
+
panMax: import("zod").ZodNumber;
|
|
109
|
+
tiltMin: import("zod").ZodNumber;
|
|
110
|
+
tiltMax: import("zod").ZodNumber;
|
|
111
|
+
zoomMin: import("zod").ZodNumber;
|
|
112
|
+
zoomMax: import("zod").ZodNumber;
|
|
113
|
+
recordingCapable: import("zod").ZodBoolean;
|
|
114
|
+
webrtcPlaybackSource: import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
115
|
+
kind: import("zod").ZodString;
|
|
116
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
117
|
+
kind: string;
|
|
118
|
+
}, {
|
|
119
|
+
kind: string;
|
|
120
|
+
}>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
121
|
+
streams: import("zod").ZodArray<import("zod").ZodObject<{
|
|
122
|
+
id: import("zod").ZodString;
|
|
123
|
+
displayName: import("zod").ZodString;
|
|
124
|
+
externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
125
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
126
|
+
id: string;
|
|
127
|
+
displayName: string;
|
|
128
|
+
externalPlayerUrl: string | null;
|
|
129
|
+
}, {
|
|
130
|
+
id: string;
|
|
131
|
+
displayName: string;
|
|
132
|
+
externalPlayerUrl: string | null;
|
|
133
|
+
}>, "many">;
|
|
134
|
+
defaultStreamId: import("zod").ZodString;
|
|
135
|
+
} & {
|
|
136
|
+
type: import("zod").ZodLiteral<"camera">;
|
|
137
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
138
|
+
type: "camera";
|
|
139
|
+
streams: {
|
|
140
|
+
id: string;
|
|
141
|
+
displayName: string;
|
|
142
|
+
externalPlayerUrl: string | null;
|
|
143
|
+
}[];
|
|
144
|
+
lensType: "flat" | "fisheye";
|
|
145
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
146
|
+
ptzCapable: boolean;
|
|
147
|
+
ptzPanSpeed: number;
|
|
148
|
+
ptzTiltSpeed: number;
|
|
149
|
+
ptzZoomSpeed: number;
|
|
150
|
+
panMin: number;
|
|
151
|
+
panMax: number;
|
|
152
|
+
tiltMin: number;
|
|
153
|
+
tiltMax: number;
|
|
154
|
+
zoomMin: number;
|
|
155
|
+
zoomMax: number;
|
|
156
|
+
recordingCapable: boolean;
|
|
157
|
+
webrtcPlaybackSource: ({
|
|
158
|
+
kind: string;
|
|
159
|
+
} & Record<string, unknown>) | null;
|
|
160
|
+
defaultStreamId: string;
|
|
161
|
+
}, {
|
|
162
|
+
type: "camera";
|
|
163
|
+
streams: {
|
|
164
|
+
id: string;
|
|
165
|
+
displayName: string;
|
|
166
|
+
externalPlayerUrl: string | null;
|
|
167
|
+
}[];
|
|
168
|
+
lensType: "flat" | "fisheye";
|
|
169
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
170
|
+
ptzCapable: boolean;
|
|
171
|
+
ptzPanSpeed: number;
|
|
172
|
+
ptzTiltSpeed: number;
|
|
173
|
+
ptzZoomSpeed: number;
|
|
174
|
+
panMin: number;
|
|
175
|
+
panMax: number;
|
|
176
|
+
tiltMin: number;
|
|
177
|
+
tiltMax: number;
|
|
178
|
+
zoomMin: number;
|
|
179
|
+
zoomMax: number;
|
|
180
|
+
recordingCapable: boolean;
|
|
181
|
+
webrtcPlaybackSource: ({
|
|
182
|
+
kind: string;
|
|
183
|
+
} & Record<string, unknown>) | null;
|
|
184
|
+
defaultStreamId: string;
|
|
185
|
+
}>, import("zod").ZodObject<{
|
|
186
|
+
canReportOpenState: import("zod").ZodBoolean;
|
|
187
|
+
canReportLockState: import("zod").ZodBoolean;
|
|
188
|
+
canControlLock: import("zod").ZodBoolean;
|
|
189
|
+
canRelease: import("zod").ZodBoolean;
|
|
190
|
+
} & {
|
|
191
|
+
type: import("zod").ZodLiteral<"door">;
|
|
192
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
193
|
+
type: "door";
|
|
194
|
+
canReportOpenState: boolean;
|
|
195
|
+
canReportLockState: boolean;
|
|
196
|
+
canControlLock: boolean;
|
|
197
|
+
canRelease: boolean;
|
|
198
|
+
}, {
|
|
199
|
+
type: "door";
|
|
200
|
+
canReportOpenState: boolean;
|
|
201
|
+
canReportLockState: boolean;
|
|
202
|
+
canControlLock: boolean;
|
|
203
|
+
canRelease: boolean;
|
|
204
|
+
}>, import("zod").ZodObject<{
|
|
205
|
+
inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
206
|
+
outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
207
|
+
} & {
|
|
208
|
+
type: import("zod").ZodLiteral<"io-board">;
|
|
209
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
210
|
+
type: "io-board";
|
|
211
|
+
inputs: string[];
|
|
212
|
+
outputs: string[];
|
|
213
|
+
}, {
|
|
214
|
+
type: "io-board";
|
|
215
|
+
inputs: string[];
|
|
216
|
+
outputs: string[];
|
|
217
|
+
}>, import("zod").ZodObject<{
|
|
218
|
+
type: import("zod").ZodLiteral<"camera-lift">;
|
|
219
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
220
|
+
type: "camera-lift";
|
|
221
|
+
}, {
|
|
222
|
+
type: "camera-lift";
|
|
223
|
+
}>, import("zod").ZodObject<{
|
|
224
|
+
type: import("zod").ZodLiteral<"motion-sensor">;
|
|
225
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
226
|
+
type: "motion-sensor";
|
|
227
|
+
}, {
|
|
228
|
+
type: "motion-sensor";
|
|
229
|
+
}>, import("zod").ZodObject<{
|
|
230
|
+
type: import("zod").ZodLiteral<"panic-button">;
|
|
231
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
232
|
+
type: "panic-button";
|
|
233
|
+
}, {
|
|
234
|
+
type: "panic-button";
|
|
235
|
+
}>, import("zod").ZodObject<{
|
|
236
|
+
sipUri: import("zod").ZodString;
|
|
237
|
+
sipUser: import("zod").ZodString;
|
|
238
|
+
sipPassword: import("zod").ZodString;
|
|
239
|
+
sipRealm: import("zod").ZodString;
|
|
240
|
+
remoteExtension: import("zod").ZodString;
|
|
241
|
+
} & {
|
|
242
|
+
type: import("zod").ZodLiteral<"intercom-terminal">;
|
|
243
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
244
|
+
type: "intercom-terminal";
|
|
245
|
+
sipUri: string;
|
|
246
|
+
sipUser: string;
|
|
247
|
+
sipPassword: string;
|
|
248
|
+
sipRealm: string;
|
|
249
|
+
remoteExtension: string;
|
|
250
|
+
}, {
|
|
251
|
+
type: "intercom-terminal";
|
|
252
|
+
sipUri: string;
|
|
253
|
+
sipUser: string;
|
|
254
|
+
sipPassword: string;
|
|
255
|
+
sipRealm: string;
|
|
256
|
+
remoteExtension: string;
|
|
257
|
+
}>, import("zod").ZodObject<{
|
|
258
|
+
sipWsUrl: import("zod").ZodString;
|
|
259
|
+
} & {
|
|
260
|
+
type: import("zod").ZodLiteral<"pbx">;
|
|
261
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
262
|
+
type: "pbx";
|
|
263
|
+
sipWsUrl: string;
|
|
264
|
+
}, {
|
|
265
|
+
type: "pbx";
|
|
266
|
+
sipWsUrl: string;
|
|
267
|
+
}>, import("zod").ZodObject<{
|
|
268
|
+
type: import("zod").ZodLiteral<"server">;
|
|
269
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
270
|
+
type: "server";
|
|
271
|
+
}, {
|
|
272
|
+
type: "server";
|
|
273
|
+
}>, import("zod").ZodObject<{
|
|
274
|
+
type: import("zod").ZodLiteral<"intercom-operator">;
|
|
275
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
276
|
+
type: "intercom-operator";
|
|
277
|
+
}, {
|
|
278
|
+
type: "intercom-operator";
|
|
279
|
+
}>, import("zod").ZodObject<{
|
|
280
|
+
type: import("zod").ZodLiteral<"device-gateway">;
|
|
281
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
282
|
+
type: "device-gateway";
|
|
283
|
+
}, {
|
|
284
|
+
type: "device-gateway";
|
|
285
|
+
}>, import("zod").ZodObject<{
|
|
286
|
+
type: import("zod").ZodLiteral<"presence-tracker">;
|
|
287
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
288
|
+
type: "presence-tracker";
|
|
289
|
+
}, {
|
|
290
|
+
type: "presence-tracker";
|
|
291
|
+
}>, import("zod").ZodObject<{
|
|
292
|
+
type: import("zod").ZodLiteral<"reader">;
|
|
293
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
294
|
+
type: "reader";
|
|
295
|
+
}, {
|
|
296
|
+
type: "reader";
|
|
297
|
+
}>, import("zod").ZodObject<{
|
|
298
|
+
type: import("zod").ZodLiteral<"display">;
|
|
299
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
300
|
+
type: "display";
|
|
301
|
+
}, {
|
|
302
|
+
type: "display";
|
|
303
|
+
}>, import("zod").ZodObject<{
|
|
304
|
+
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
305
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
306
|
+
type: "nvr-recorder";
|
|
307
|
+
}, {
|
|
308
|
+
type: "nvr-recorder";
|
|
309
|
+
}>, import("zod").ZodObject<{
|
|
310
|
+
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
311
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
312
|
+
type: "nvr-exporter";
|
|
313
|
+
}, {
|
|
314
|
+
type: "nvr-exporter";
|
|
315
|
+
}>, import("zod").ZodObject<{
|
|
316
|
+
type: import("zod").ZodLiteral<"nvr-analytics-server">;
|
|
317
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
318
|
+
type: "nvr-analytics-server";
|
|
319
|
+
}, {
|
|
320
|
+
type: "nvr-analytics-server";
|
|
321
|
+
}>]>>, import("zod").ZodObject<{
|
|
322
|
+
presets: import("zod").ZodArray<import("zod").ZodObject<{
|
|
323
|
+
id: import("zod").ZodString;
|
|
324
|
+
name: import("zod").ZodString;
|
|
325
|
+
params: import("zod").ZodUnknown;
|
|
326
|
+
isDefault: import("zod").ZodBoolean;
|
|
327
|
+
assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
|
|
328
|
+
createdOn: import("zod").ZodString;
|
|
329
|
+
lastModifiedOn: import("zod").ZodString;
|
|
330
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
331
|
+
name: string;
|
|
332
|
+
id: string;
|
|
333
|
+
isDefault: boolean;
|
|
334
|
+
assignedRef: string | null;
|
|
335
|
+
createdOn: string;
|
|
336
|
+
lastModifiedOn: string;
|
|
337
|
+
params?: unknown;
|
|
338
|
+
}, {
|
|
339
|
+
name: string;
|
|
340
|
+
id: string;
|
|
341
|
+
isDefault: boolean;
|
|
342
|
+
assignedRef: string | null;
|
|
343
|
+
createdOn: string;
|
|
344
|
+
lastModifiedOn: string;
|
|
345
|
+
params?: unknown;
|
|
346
|
+
}>, "many">;
|
|
347
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
348
|
+
presets: {
|
|
349
|
+
name: string;
|
|
350
|
+
id: string;
|
|
351
|
+
isDefault: boolean;
|
|
352
|
+
assignedRef: string | null;
|
|
353
|
+
createdOn: string;
|
|
354
|
+
lastModifiedOn: string;
|
|
355
|
+
params?: unknown;
|
|
356
|
+
}[];
|
|
357
|
+
}, {
|
|
358
|
+
presets: {
|
|
359
|
+
name: string;
|
|
360
|
+
id: string;
|
|
361
|
+
isDefault: boolean;
|
|
362
|
+
assignedRef: string | null;
|
|
363
|
+
createdOn: string;
|
|
364
|
+
lastModifiedOn: string;
|
|
365
|
+
params?: unknown;
|
|
366
|
+
}[];
|
|
367
|
+
}>>]>;
|
|
368
|
+
timeFrom: import("zod").ZodNumber;
|
|
369
|
+
timeTo: import("zod").ZodNumber;
|
|
370
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
371
|
+
device: string | (({
|
|
372
|
+
name: string;
|
|
373
|
+
foreignRef: string;
|
|
374
|
+
provider: string;
|
|
375
|
+
providerMetadata: {} & {
|
|
376
|
+
[k: string]: unknown;
|
|
377
|
+
};
|
|
378
|
+
} & ({
|
|
379
|
+
type: "alarm";
|
|
380
|
+
} | {
|
|
381
|
+
type: "camera";
|
|
382
|
+
streams: {
|
|
383
|
+
id: string;
|
|
384
|
+
displayName: string;
|
|
385
|
+
externalPlayerUrl: string | null;
|
|
386
|
+
}[];
|
|
387
|
+
lensType: "flat" | "fisheye";
|
|
388
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
389
|
+
ptzCapable: boolean;
|
|
390
|
+
ptzPanSpeed: number;
|
|
391
|
+
ptzTiltSpeed: number;
|
|
392
|
+
ptzZoomSpeed: number;
|
|
393
|
+
panMin: number;
|
|
394
|
+
panMax: number;
|
|
395
|
+
tiltMin: number;
|
|
396
|
+
tiltMax: number;
|
|
397
|
+
zoomMin: number;
|
|
398
|
+
zoomMax: number;
|
|
399
|
+
recordingCapable: boolean;
|
|
400
|
+
webrtcPlaybackSource: ({
|
|
401
|
+
kind: string;
|
|
402
|
+
} & Record<string, unknown>) | null;
|
|
403
|
+
defaultStreamId: string;
|
|
404
|
+
} | {
|
|
405
|
+
type: "door";
|
|
406
|
+
canReportOpenState: boolean;
|
|
407
|
+
canReportLockState: boolean;
|
|
408
|
+
canControlLock: boolean;
|
|
409
|
+
canRelease: boolean;
|
|
410
|
+
} | {
|
|
411
|
+
type: "io-board";
|
|
412
|
+
inputs: string[];
|
|
413
|
+
outputs: string[];
|
|
414
|
+
} | {
|
|
415
|
+
type: "camera-lift";
|
|
416
|
+
} | {
|
|
417
|
+
type: "motion-sensor";
|
|
418
|
+
} | {
|
|
419
|
+
type: "panic-button";
|
|
420
|
+
} | {
|
|
421
|
+
type: "intercom-terminal";
|
|
422
|
+
sipUri: string;
|
|
423
|
+
sipUser: string;
|
|
424
|
+
sipPassword: string;
|
|
425
|
+
sipRealm: string;
|
|
426
|
+
remoteExtension: string;
|
|
427
|
+
} | {
|
|
428
|
+
type: "pbx";
|
|
429
|
+
sipWsUrl: string;
|
|
430
|
+
} | {
|
|
431
|
+
type: "server";
|
|
432
|
+
} | {
|
|
433
|
+
type: "intercom-operator";
|
|
434
|
+
} | {
|
|
435
|
+
type: "device-gateway";
|
|
436
|
+
} | {
|
|
437
|
+
type: "presence-tracker";
|
|
438
|
+
} | {
|
|
439
|
+
type: "reader";
|
|
440
|
+
} | {
|
|
441
|
+
type: "display";
|
|
442
|
+
} | {
|
|
443
|
+
type: "nvr-recorder";
|
|
444
|
+
} | {
|
|
445
|
+
type: "nvr-exporter";
|
|
446
|
+
} | {
|
|
447
|
+
type: "nvr-analytics-server";
|
|
448
|
+
})) & {
|
|
449
|
+
presets: {
|
|
450
|
+
name: string;
|
|
451
|
+
id: string;
|
|
452
|
+
isDefault: boolean;
|
|
453
|
+
assignedRef: string | null;
|
|
454
|
+
createdOn: string;
|
|
455
|
+
lastModifiedOn: string;
|
|
456
|
+
params?: unknown;
|
|
457
|
+
}[];
|
|
458
|
+
});
|
|
459
|
+
timeFrom: number;
|
|
460
|
+
timeTo: number;
|
|
461
|
+
}, {
|
|
462
|
+
device: string | (({
|
|
463
|
+
name: string;
|
|
464
|
+
foreignRef: string;
|
|
465
|
+
provider: string;
|
|
466
|
+
providerMetadata: {} & {
|
|
467
|
+
[k: string]: unknown;
|
|
468
|
+
};
|
|
469
|
+
} & ({
|
|
470
|
+
type: "alarm";
|
|
471
|
+
} | {
|
|
472
|
+
type: "camera";
|
|
473
|
+
streams: {
|
|
474
|
+
id: string;
|
|
475
|
+
displayName: string;
|
|
476
|
+
externalPlayerUrl: string | null;
|
|
477
|
+
}[];
|
|
478
|
+
lensType: "flat" | "fisheye";
|
|
479
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
480
|
+
ptzCapable: boolean;
|
|
481
|
+
ptzPanSpeed: number;
|
|
482
|
+
ptzTiltSpeed: number;
|
|
483
|
+
ptzZoomSpeed: number;
|
|
484
|
+
panMin: number;
|
|
485
|
+
panMax: number;
|
|
486
|
+
tiltMin: number;
|
|
487
|
+
tiltMax: number;
|
|
488
|
+
zoomMin: number;
|
|
489
|
+
zoomMax: number;
|
|
490
|
+
recordingCapable: boolean;
|
|
491
|
+
webrtcPlaybackSource: ({
|
|
492
|
+
kind: string;
|
|
493
|
+
} & Record<string, unknown>) | null;
|
|
494
|
+
defaultStreamId: string;
|
|
495
|
+
} | {
|
|
496
|
+
type: "door";
|
|
497
|
+
canReportOpenState: boolean;
|
|
498
|
+
canReportLockState: boolean;
|
|
499
|
+
canControlLock: boolean;
|
|
500
|
+
canRelease: boolean;
|
|
501
|
+
} | {
|
|
502
|
+
type: "io-board";
|
|
503
|
+
inputs: string[];
|
|
504
|
+
outputs: string[];
|
|
505
|
+
} | {
|
|
506
|
+
type: "camera-lift";
|
|
507
|
+
} | {
|
|
508
|
+
type: "motion-sensor";
|
|
509
|
+
} | {
|
|
510
|
+
type: "panic-button";
|
|
511
|
+
} | {
|
|
512
|
+
type: "intercom-terminal";
|
|
513
|
+
sipUri: string;
|
|
514
|
+
sipUser: string;
|
|
515
|
+
sipPassword: string;
|
|
516
|
+
sipRealm: string;
|
|
517
|
+
remoteExtension: string;
|
|
518
|
+
} | {
|
|
519
|
+
type: "pbx";
|
|
520
|
+
sipWsUrl: string;
|
|
521
|
+
} | {
|
|
522
|
+
type: "server";
|
|
523
|
+
} | {
|
|
524
|
+
type: "intercom-operator";
|
|
525
|
+
} | {
|
|
526
|
+
type: "device-gateway";
|
|
527
|
+
} | {
|
|
528
|
+
type: "presence-tracker";
|
|
529
|
+
} | {
|
|
530
|
+
type: "reader";
|
|
531
|
+
} | {
|
|
532
|
+
type: "display";
|
|
533
|
+
} | {
|
|
534
|
+
type: "nvr-recorder";
|
|
535
|
+
} | {
|
|
536
|
+
type: "nvr-exporter";
|
|
537
|
+
} | {
|
|
538
|
+
type: "nvr-analytics-server";
|
|
539
|
+
})) & {
|
|
540
|
+
presets: {
|
|
541
|
+
name: string;
|
|
542
|
+
id: string;
|
|
543
|
+
isDefault: boolean;
|
|
544
|
+
assignedRef: string | null;
|
|
545
|
+
createdOn: string;
|
|
546
|
+
lastModifiedOn: string;
|
|
547
|
+
params?: unknown;
|
|
548
|
+
}[];
|
|
549
|
+
});
|
|
550
|
+
timeFrom: number;
|
|
551
|
+
timeTo: number;
|
|
552
|
+
}>;
|
|
553
|
+
readonly "cctv:preview-image": import("zod").ZodObject<{
|
|
554
|
+
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
555
|
+
name: import("zod").ZodString;
|
|
556
|
+
foreignRef: import("zod").ZodString;
|
|
557
|
+
provider: import("zod").ZodString;
|
|
558
|
+
providerMetadata: import("zod").ZodObject<{}, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{}, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{}, import("zod").ZodUnknown, "strip">>;
|
|
559
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
560
|
+
name: string;
|
|
561
|
+
foreignRef: string;
|
|
562
|
+
provider: string;
|
|
563
|
+
providerMetadata: {} & {
|
|
564
|
+
[k: string]: unknown;
|
|
565
|
+
};
|
|
566
|
+
}, {
|
|
567
|
+
name: string;
|
|
568
|
+
foreignRef: string;
|
|
569
|
+
provider: string;
|
|
570
|
+
providerMetadata: {} & {
|
|
571
|
+
[k: string]: unknown;
|
|
572
|
+
};
|
|
573
|
+
}>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
574
|
+
type: import("zod").ZodLiteral<"alarm">;
|
|
575
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
576
|
+
type: "alarm";
|
|
577
|
+
}, {
|
|
578
|
+
type: "alarm";
|
|
579
|
+
}>, import("zod").ZodObject<{
|
|
580
|
+
lensType: import("zod").ZodEnum<["flat", "fisheye"]>;
|
|
581
|
+
mountPoint: import("zod").ZodEnum<["wall", "ceiling", "floor"]>;
|
|
582
|
+
ptzCapable: import("zod").ZodBoolean;
|
|
583
|
+
ptzPanSpeed: import("zod").ZodNumber;
|
|
584
|
+
ptzTiltSpeed: import("zod").ZodNumber;
|
|
585
|
+
ptzZoomSpeed: import("zod").ZodNumber;
|
|
586
|
+
panMin: import("zod").ZodNumber;
|
|
587
|
+
panMax: import("zod").ZodNumber;
|
|
588
|
+
tiltMin: import("zod").ZodNumber;
|
|
589
|
+
tiltMax: import("zod").ZodNumber;
|
|
590
|
+
zoomMin: import("zod").ZodNumber;
|
|
591
|
+
zoomMax: import("zod").ZodNumber;
|
|
592
|
+
recordingCapable: import("zod").ZodBoolean;
|
|
593
|
+
webrtcPlaybackSource: import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
594
|
+
kind: import("zod").ZodString;
|
|
595
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
596
|
+
kind: string;
|
|
597
|
+
}, {
|
|
598
|
+
kind: string;
|
|
599
|
+
}>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
600
|
+
streams: import("zod").ZodArray<import("zod").ZodObject<{
|
|
601
|
+
id: import("zod").ZodString;
|
|
602
|
+
displayName: import("zod").ZodString;
|
|
603
|
+
externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
604
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
605
|
+
id: string;
|
|
606
|
+
displayName: string;
|
|
607
|
+
externalPlayerUrl: string | null;
|
|
608
|
+
}, {
|
|
609
|
+
id: string;
|
|
610
|
+
displayName: string;
|
|
611
|
+
externalPlayerUrl: string | null;
|
|
612
|
+
}>, "many">;
|
|
613
|
+
defaultStreamId: import("zod").ZodString;
|
|
614
|
+
} & {
|
|
615
|
+
type: import("zod").ZodLiteral<"camera">;
|
|
616
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
617
|
+
type: "camera";
|
|
618
|
+
streams: {
|
|
619
|
+
id: string;
|
|
620
|
+
displayName: string;
|
|
621
|
+
externalPlayerUrl: string | null;
|
|
622
|
+
}[];
|
|
623
|
+
lensType: "flat" | "fisheye";
|
|
624
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
625
|
+
ptzCapable: boolean;
|
|
626
|
+
ptzPanSpeed: number;
|
|
627
|
+
ptzTiltSpeed: number;
|
|
628
|
+
ptzZoomSpeed: number;
|
|
629
|
+
panMin: number;
|
|
630
|
+
panMax: number;
|
|
631
|
+
tiltMin: number;
|
|
632
|
+
tiltMax: number;
|
|
633
|
+
zoomMin: number;
|
|
634
|
+
zoomMax: number;
|
|
635
|
+
recordingCapable: boolean;
|
|
636
|
+
webrtcPlaybackSource: ({
|
|
637
|
+
kind: string;
|
|
638
|
+
} & Record<string, unknown>) | null;
|
|
639
|
+
defaultStreamId: string;
|
|
640
|
+
}, {
|
|
641
|
+
type: "camera";
|
|
642
|
+
streams: {
|
|
643
|
+
id: string;
|
|
644
|
+
displayName: string;
|
|
645
|
+
externalPlayerUrl: string | null;
|
|
646
|
+
}[];
|
|
647
|
+
lensType: "flat" | "fisheye";
|
|
648
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
649
|
+
ptzCapable: boolean;
|
|
650
|
+
ptzPanSpeed: number;
|
|
651
|
+
ptzTiltSpeed: number;
|
|
652
|
+
ptzZoomSpeed: number;
|
|
653
|
+
panMin: number;
|
|
654
|
+
panMax: number;
|
|
655
|
+
tiltMin: number;
|
|
656
|
+
tiltMax: number;
|
|
657
|
+
zoomMin: number;
|
|
658
|
+
zoomMax: number;
|
|
659
|
+
recordingCapable: boolean;
|
|
660
|
+
webrtcPlaybackSource: ({
|
|
661
|
+
kind: string;
|
|
662
|
+
} & Record<string, unknown>) | null;
|
|
663
|
+
defaultStreamId: string;
|
|
664
|
+
}>, import("zod").ZodObject<{
|
|
665
|
+
canReportOpenState: import("zod").ZodBoolean;
|
|
666
|
+
canReportLockState: import("zod").ZodBoolean;
|
|
667
|
+
canControlLock: import("zod").ZodBoolean;
|
|
668
|
+
canRelease: import("zod").ZodBoolean;
|
|
669
|
+
} & {
|
|
670
|
+
type: import("zod").ZodLiteral<"door">;
|
|
671
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
672
|
+
type: "door";
|
|
673
|
+
canReportOpenState: boolean;
|
|
674
|
+
canReportLockState: boolean;
|
|
675
|
+
canControlLock: boolean;
|
|
676
|
+
canRelease: boolean;
|
|
677
|
+
}, {
|
|
678
|
+
type: "door";
|
|
679
|
+
canReportOpenState: boolean;
|
|
680
|
+
canReportLockState: boolean;
|
|
681
|
+
canControlLock: boolean;
|
|
682
|
+
canRelease: boolean;
|
|
683
|
+
}>, import("zod").ZodObject<{
|
|
684
|
+
inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
685
|
+
outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
686
|
+
} & {
|
|
687
|
+
type: import("zod").ZodLiteral<"io-board">;
|
|
688
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
689
|
+
type: "io-board";
|
|
690
|
+
inputs: string[];
|
|
691
|
+
outputs: string[];
|
|
692
|
+
}, {
|
|
693
|
+
type: "io-board";
|
|
694
|
+
inputs: string[];
|
|
695
|
+
outputs: string[];
|
|
696
|
+
}>, import("zod").ZodObject<{
|
|
697
|
+
type: import("zod").ZodLiteral<"camera-lift">;
|
|
698
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
699
|
+
type: "camera-lift";
|
|
700
|
+
}, {
|
|
701
|
+
type: "camera-lift";
|
|
702
|
+
}>, import("zod").ZodObject<{
|
|
703
|
+
type: import("zod").ZodLiteral<"motion-sensor">;
|
|
704
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
705
|
+
type: "motion-sensor";
|
|
706
|
+
}, {
|
|
707
|
+
type: "motion-sensor";
|
|
708
|
+
}>, import("zod").ZodObject<{
|
|
709
|
+
type: import("zod").ZodLiteral<"panic-button">;
|
|
710
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
711
|
+
type: "panic-button";
|
|
712
|
+
}, {
|
|
713
|
+
type: "panic-button";
|
|
714
|
+
}>, import("zod").ZodObject<{
|
|
715
|
+
sipUri: import("zod").ZodString;
|
|
716
|
+
sipUser: import("zod").ZodString;
|
|
717
|
+
sipPassword: import("zod").ZodString;
|
|
718
|
+
sipRealm: import("zod").ZodString;
|
|
719
|
+
remoteExtension: import("zod").ZodString;
|
|
720
|
+
} & {
|
|
721
|
+
type: import("zod").ZodLiteral<"intercom-terminal">;
|
|
722
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
723
|
+
type: "intercom-terminal";
|
|
724
|
+
sipUri: string;
|
|
725
|
+
sipUser: string;
|
|
726
|
+
sipPassword: string;
|
|
727
|
+
sipRealm: string;
|
|
728
|
+
remoteExtension: string;
|
|
729
|
+
}, {
|
|
730
|
+
type: "intercom-terminal";
|
|
731
|
+
sipUri: string;
|
|
732
|
+
sipUser: string;
|
|
733
|
+
sipPassword: string;
|
|
734
|
+
sipRealm: string;
|
|
735
|
+
remoteExtension: string;
|
|
736
|
+
}>, import("zod").ZodObject<{
|
|
737
|
+
sipWsUrl: import("zod").ZodString;
|
|
738
|
+
} & {
|
|
739
|
+
type: import("zod").ZodLiteral<"pbx">;
|
|
740
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
741
|
+
type: "pbx";
|
|
742
|
+
sipWsUrl: string;
|
|
743
|
+
}, {
|
|
744
|
+
type: "pbx";
|
|
745
|
+
sipWsUrl: string;
|
|
746
|
+
}>, import("zod").ZodObject<{
|
|
747
|
+
type: import("zod").ZodLiteral<"server">;
|
|
748
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
749
|
+
type: "server";
|
|
750
|
+
}, {
|
|
751
|
+
type: "server";
|
|
752
|
+
}>, import("zod").ZodObject<{
|
|
753
|
+
type: import("zod").ZodLiteral<"intercom-operator">;
|
|
754
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
755
|
+
type: "intercom-operator";
|
|
756
|
+
}, {
|
|
757
|
+
type: "intercom-operator";
|
|
758
|
+
}>, import("zod").ZodObject<{
|
|
759
|
+
type: import("zod").ZodLiteral<"device-gateway">;
|
|
760
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
761
|
+
type: "device-gateway";
|
|
762
|
+
}, {
|
|
763
|
+
type: "device-gateway";
|
|
764
|
+
}>, import("zod").ZodObject<{
|
|
765
|
+
type: import("zod").ZodLiteral<"presence-tracker">;
|
|
766
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
767
|
+
type: "presence-tracker";
|
|
768
|
+
}, {
|
|
769
|
+
type: "presence-tracker";
|
|
770
|
+
}>, import("zod").ZodObject<{
|
|
771
|
+
type: import("zod").ZodLiteral<"reader">;
|
|
772
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
773
|
+
type: "reader";
|
|
774
|
+
}, {
|
|
775
|
+
type: "reader";
|
|
776
|
+
}>, import("zod").ZodObject<{
|
|
777
|
+
type: import("zod").ZodLiteral<"display">;
|
|
778
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
779
|
+
type: "display";
|
|
780
|
+
}, {
|
|
781
|
+
type: "display";
|
|
782
|
+
}>, import("zod").ZodObject<{
|
|
783
|
+
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
784
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
785
|
+
type: "nvr-recorder";
|
|
786
|
+
}, {
|
|
787
|
+
type: "nvr-recorder";
|
|
788
|
+
}>, import("zod").ZodObject<{
|
|
789
|
+
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
790
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
791
|
+
type: "nvr-exporter";
|
|
792
|
+
}, {
|
|
793
|
+
type: "nvr-exporter";
|
|
794
|
+
}>, import("zod").ZodObject<{
|
|
795
|
+
type: import("zod").ZodLiteral<"nvr-analytics-server">;
|
|
796
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
797
|
+
type: "nvr-analytics-server";
|
|
798
|
+
}, {
|
|
799
|
+
type: "nvr-analytics-server";
|
|
800
|
+
}>]>>, import("zod").ZodObject<{
|
|
801
|
+
presets: import("zod").ZodArray<import("zod").ZodObject<{
|
|
802
|
+
id: import("zod").ZodString;
|
|
803
|
+
name: import("zod").ZodString;
|
|
804
|
+
params: import("zod").ZodUnknown;
|
|
805
|
+
isDefault: import("zod").ZodBoolean;
|
|
806
|
+
assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
|
|
807
|
+
createdOn: import("zod").ZodString;
|
|
808
|
+
lastModifiedOn: import("zod").ZodString;
|
|
809
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
810
|
+
name: string;
|
|
811
|
+
id: string;
|
|
812
|
+
isDefault: boolean;
|
|
813
|
+
assignedRef: string | null;
|
|
814
|
+
createdOn: string;
|
|
815
|
+
lastModifiedOn: string;
|
|
816
|
+
params?: unknown;
|
|
817
|
+
}, {
|
|
818
|
+
name: string;
|
|
819
|
+
id: string;
|
|
820
|
+
isDefault: boolean;
|
|
821
|
+
assignedRef: string | null;
|
|
822
|
+
createdOn: string;
|
|
823
|
+
lastModifiedOn: string;
|
|
824
|
+
params?: unknown;
|
|
825
|
+
}>, "many">;
|
|
826
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
827
|
+
presets: {
|
|
828
|
+
name: string;
|
|
829
|
+
id: string;
|
|
830
|
+
isDefault: boolean;
|
|
831
|
+
assignedRef: string | null;
|
|
832
|
+
createdOn: string;
|
|
833
|
+
lastModifiedOn: string;
|
|
834
|
+
params?: unknown;
|
|
835
|
+
}[];
|
|
836
|
+
}, {
|
|
837
|
+
presets: {
|
|
838
|
+
name: string;
|
|
839
|
+
id: string;
|
|
840
|
+
isDefault: boolean;
|
|
841
|
+
assignedRef: string | null;
|
|
842
|
+
createdOn: string;
|
|
843
|
+
lastModifiedOn: string;
|
|
844
|
+
params?: unknown;
|
|
845
|
+
}[];
|
|
846
|
+
}>>]>;
|
|
847
|
+
time: import("zod").ZodNumber;
|
|
848
|
+
height: import("zod").ZodNumber;
|
|
849
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
850
|
+
time: number;
|
|
851
|
+
height: number;
|
|
852
|
+
device: string | (({
|
|
853
|
+
name: string;
|
|
854
|
+
foreignRef: string;
|
|
855
|
+
provider: string;
|
|
856
|
+
providerMetadata: {} & {
|
|
857
|
+
[k: string]: unknown;
|
|
858
|
+
};
|
|
859
|
+
} & ({
|
|
860
|
+
type: "alarm";
|
|
861
|
+
} | {
|
|
862
|
+
type: "camera";
|
|
863
|
+
streams: {
|
|
864
|
+
id: string;
|
|
865
|
+
displayName: string;
|
|
866
|
+
externalPlayerUrl: string | null;
|
|
867
|
+
}[];
|
|
868
|
+
lensType: "flat" | "fisheye";
|
|
869
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
870
|
+
ptzCapable: boolean;
|
|
871
|
+
ptzPanSpeed: number;
|
|
872
|
+
ptzTiltSpeed: number;
|
|
873
|
+
ptzZoomSpeed: number;
|
|
874
|
+
panMin: number;
|
|
875
|
+
panMax: number;
|
|
876
|
+
tiltMin: number;
|
|
877
|
+
tiltMax: number;
|
|
878
|
+
zoomMin: number;
|
|
879
|
+
zoomMax: number;
|
|
880
|
+
recordingCapable: boolean;
|
|
881
|
+
webrtcPlaybackSource: ({
|
|
882
|
+
kind: string;
|
|
883
|
+
} & Record<string, unknown>) | null;
|
|
884
|
+
defaultStreamId: string;
|
|
885
|
+
} | {
|
|
886
|
+
type: "door";
|
|
887
|
+
canReportOpenState: boolean;
|
|
888
|
+
canReportLockState: boolean;
|
|
889
|
+
canControlLock: boolean;
|
|
890
|
+
canRelease: boolean;
|
|
891
|
+
} | {
|
|
892
|
+
type: "io-board";
|
|
893
|
+
inputs: string[];
|
|
894
|
+
outputs: string[];
|
|
895
|
+
} | {
|
|
896
|
+
type: "camera-lift";
|
|
897
|
+
} | {
|
|
898
|
+
type: "motion-sensor";
|
|
899
|
+
} | {
|
|
900
|
+
type: "panic-button";
|
|
901
|
+
} | {
|
|
902
|
+
type: "intercom-terminal";
|
|
903
|
+
sipUri: string;
|
|
904
|
+
sipUser: string;
|
|
905
|
+
sipPassword: string;
|
|
906
|
+
sipRealm: string;
|
|
907
|
+
remoteExtension: string;
|
|
908
|
+
} | {
|
|
909
|
+
type: "pbx";
|
|
910
|
+
sipWsUrl: string;
|
|
911
|
+
} | {
|
|
912
|
+
type: "server";
|
|
913
|
+
} | {
|
|
914
|
+
type: "intercom-operator";
|
|
915
|
+
} | {
|
|
916
|
+
type: "device-gateway";
|
|
917
|
+
} | {
|
|
918
|
+
type: "presence-tracker";
|
|
919
|
+
} | {
|
|
920
|
+
type: "reader";
|
|
921
|
+
} | {
|
|
922
|
+
type: "display";
|
|
923
|
+
} | {
|
|
924
|
+
type: "nvr-recorder";
|
|
925
|
+
} | {
|
|
926
|
+
type: "nvr-exporter";
|
|
927
|
+
} | {
|
|
928
|
+
type: "nvr-analytics-server";
|
|
929
|
+
})) & {
|
|
930
|
+
presets: {
|
|
931
|
+
name: string;
|
|
932
|
+
id: string;
|
|
933
|
+
isDefault: boolean;
|
|
934
|
+
assignedRef: string | null;
|
|
935
|
+
createdOn: string;
|
|
936
|
+
lastModifiedOn: string;
|
|
937
|
+
params?: unknown;
|
|
938
|
+
}[];
|
|
939
|
+
});
|
|
775
940
|
}, {
|
|
776
941
|
time: number;
|
|
777
942
|
height: number;
|
|
943
|
+
device: string | (({
|
|
944
|
+
name: string;
|
|
945
|
+
foreignRef: string;
|
|
946
|
+
provider: string;
|
|
947
|
+
providerMetadata: {} & {
|
|
948
|
+
[k: string]: unknown;
|
|
949
|
+
};
|
|
950
|
+
} & ({
|
|
951
|
+
type: "alarm";
|
|
952
|
+
} | {
|
|
953
|
+
type: "camera";
|
|
954
|
+
streams: {
|
|
955
|
+
id: string;
|
|
956
|
+
displayName: string;
|
|
957
|
+
externalPlayerUrl: string | null;
|
|
958
|
+
}[];
|
|
959
|
+
lensType: "flat" | "fisheye";
|
|
960
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
961
|
+
ptzCapable: boolean;
|
|
962
|
+
ptzPanSpeed: number;
|
|
963
|
+
ptzTiltSpeed: number;
|
|
964
|
+
ptzZoomSpeed: number;
|
|
965
|
+
panMin: number;
|
|
966
|
+
panMax: number;
|
|
967
|
+
tiltMin: number;
|
|
968
|
+
tiltMax: number;
|
|
969
|
+
zoomMin: number;
|
|
970
|
+
zoomMax: number;
|
|
971
|
+
recordingCapable: boolean;
|
|
972
|
+
webrtcPlaybackSource: ({
|
|
973
|
+
kind: string;
|
|
974
|
+
} & Record<string, unknown>) | null;
|
|
975
|
+
defaultStreamId: string;
|
|
976
|
+
} | {
|
|
977
|
+
type: "door";
|
|
978
|
+
canReportOpenState: boolean;
|
|
979
|
+
canReportLockState: boolean;
|
|
980
|
+
canControlLock: boolean;
|
|
981
|
+
canRelease: boolean;
|
|
982
|
+
} | {
|
|
983
|
+
type: "io-board";
|
|
984
|
+
inputs: string[];
|
|
985
|
+
outputs: string[];
|
|
986
|
+
} | {
|
|
987
|
+
type: "camera-lift";
|
|
988
|
+
} | {
|
|
989
|
+
type: "motion-sensor";
|
|
990
|
+
} | {
|
|
991
|
+
type: "panic-button";
|
|
992
|
+
} | {
|
|
993
|
+
type: "intercom-terminal";
|
|
994
|
+
sipUri: string;
|
|
995
|
+
sipUser: string;
|
|
996
|
+
sipPassword: string;
|
|
997
|
+
sipRealm: string;
|
|
998
|
+
remoteExtension: string;
|
|
999
|
+
} | {
|
|
1000
|
+
type: "pbx";
|
|
1001
|
+
sipWsUrl: string;
|
|
1002
|
+
} | {
|
|
1003
|
+
type: "server";
|
|
1004
|
+
} | {
|
|
1005
|
+
type: "intercom-operator";
|
|
1006
|
+
} | {
|
|
1007
|
+
type: "device-gateway";
|
|
1008
|
+
} | {
|
|
1009
|
+
type: "presence-tracker";
|
|
1010
|
+
} | {
|
|
1011
|
+
type: "reader";
|
|
1012
|
+
} | {
|
|
1013
|
+
type: "display";
|
|
1014
|
+
} | {
|
|
1015
|
+
type: "nvr-recorder";
|
|
1016
|
+
} | {
|
|
1017
|
+
type: "nvr-exporter";
|
|
1018
|
+
} | {
|
|
1019
|
+
type: "nvr-analytics-server";
|
|
1020
|
+
})) & {
|
|
1021
|
+
presets: {
|
|
1022
|
+
name: string;
|
|
1023
|
+
id: string;
|
|
1024
|
+
isDefault: boolean;
|
|
1025
|
+
assignedRef: string | null;
|
|
1026
|
+
createdOn: string;
|
|
1027
|
+
lastModifiedOn: string;
|
|
1028
|
+
params?: unknown;
|
|
1029
|
+
}[];
|
|
1030
|
+
});
|
|
778
1031
|
}>;
|
|
779
|
-
readonly "cctv:latest-frame":
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
height: number;
|
|
787
|
-
width: number;
|
|
788
|
-
}>;
|
|
789
|
-
readonly "cctv:scene-preview-clip": z.ZodObject<{
|
|
790
|
-
providerAssignedRef: z.ZodString;
|
|
791
|
-
}, "strip", z.ZodTypeAny, {
|
|
792
|
-
providerAssignedRef: string;
|
|
793
|
-
}, {
|
|
794
|
-
providerAssignedRef: string;
|
|
795
|
-
}>;
|
|
796
|
-
readonly "cctv:object-snapshot": z.ZodObject<{
|
|
797
|
-
providerAssignedRef: z.ZodString;
|
|
798
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
799
|
-
quality: z.ZodOptional<z.ZodNumber>;
|
|
800
|
-
crop: z.ZodBoolean;
|
|
801
|
-
boxes: z.ZodBoolean;
|
|
802
|
-
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
providerAssignedRef: string;
|
|
804
|
-
crop: boolean;
|
|
805
|
-
boxes: boolean;
|
|
806
|
-
height?: number | undefined;
|
|
807
|
-
quality?: number | undefined;
|
|
808
|
-
}, {
|
|
809
|
-
providerAssignedRef: string;
|
|
810
|
-
crop: boolean;
|
|
811
|
-
boxes: boolean;
|
|
812
|
-
height?: number | undefined;
|
|
813
|
-
quality?: number | undefined;
|
|
814
|
-
}>;
|
|
815
|
-
readonly "cctv:object-thumbnail": z.ZodObject<{
|
|
816
|
-
providerAssignedRef: z.ZodString;
|
|
817
|
-
}, "strip", z.ZodTypeAny, {
|
|
818
|
-
providerAssignedRef: string;
|
|
819
|
-
}, {
|
|
820
|
-
providerAssignedRef: string;
|
|
821
|
-
}>;
|
|
822
|
-
};
|
|
823
|
-
export declare const responseSchemasByType: {
|
|
824
|
-
readonly "core:device-graph": z.ZodObject<{
|
|
825
|
-
devices: z.ZodArray<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
826
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
827
|
-
}, "strip", z.ZodTypeAny, {
|
|
828
|
-
tags?: string[] | undefined;
|
|
829
|
-
}, {
|
|
830
|
-
tags?: string[] | undefined;
|
|
831
|
-
}>, z.ZodObject<{
|
|
832
|
-
name: z.ZodString;
|
|
833
|
-
foreignRef: z.ZodString;
|
|
834
|
-
provider: z.ZodString;
|
|
835
|
-
providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
|
|
836
|
-
}, "strip", z.ZodTypeAny, {
|
|
1032
|
+
readonly "cctv:latest-frame": import("zod").ZodObject<{
|
|
1033
|
+
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
1034
|
+
name: import("zod").ZodString;
|
|
1035
|
+
foreignRef: import("zod").ZodString;
|
|
1036
|
+
provider: import("zod").ZodString;
|
|
1037
|
+
providerMetadata: import("zod").ZodObject<{}, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{}, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{}, import("zod").ZodUnknown, "strip">>;
|
|
1038
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
837
1039
|
name: string;
|
|
838
1040
|
foreignRef: string;
|
|
839
1041
|
provider: string;
|
|
@@ -847,38 +1049,38 @@ export declare const responseSchemasByType: {
|
|
|
847
1049
|
providerMetadata: {} & {
|
|
848
1050
|
[k: string]: unknown;
|
|
849
1051
|
};
|
|
850
|
-
}
|
|
851
|
-
type:
|
|
852
|
-
}, "strip",
|
|
1052
|
+
}>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
1053
|
+
type: import("zod").ZodLiteral<"alarm">;
|
|
1054
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
853
1055
|
type: "alarm";
|
|
854
1056
|
}, {
|
|
855
1057
|
type: "alarm";
|
|
856
|
-
}>,
|
|
857
|
-
lensType:
|
|
858
|
-
mountPoint:
|
|
859
|
-
ptzCapable:
|
|
860
|
-
ptzPanSpeed:
|
|
861
|
-
ptzTiltSpeed:
|
|
862
|
-
ptzZoomSpeed:
|
|
863
|
-
panMin:
|
|
864
|
-
panMax:
|
|
865
|
-
tiltMin:
|
|
866
|
-
tiltMax:
|
|
867
|
-
zoomMin:
|
|
868
|
-
zoomMax:
|
|
869
|
-
recordingCapable:
|
|
870
|
-
webrtcPlaybackSource:
|
|
871
|
-
kind:
|
|
872
|
-
}, "strip",
|
|
1058
|
+
}>, import("zod").ZodObject<{
|
|
1059
|
+
lensType: import("zod").ZodEnum<["flat", "fisheye"]>;
|
|
1060
|
+
mountPoint: import("zod").ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1061
|
+
ptzCapable: import("zod").ZodBoolean;
|
|
1062
|
+
ptzPanSpeed: import("zod").ZodNumber;
|
|
1063
|
+
ptzTiltSpeed: import("zod").ZodNumber;
|
|
1064
|
+
ptzZoomSpeed: import("zod").ZodNumber;
|
|
1065
|
+
panMin: import("zod").ZodNumber;
|
|
1066
|
+
panMax: import("zod").ZodNumber;
|
|
1067
|
+
tiltMin: import("zod").ZodNumber;
|
|
1068
|
+
tiltMax: import("zod").ZodNumber;
|
|
1069
|
+
zoomMin: import("zod").ZodNumber;
|
|
1070
|
+
zoomMax: import("zod").ZodNumber;
|
|
1071
|
+
recordingCapable: import("zod").ZodBoolean;
|
|
1072
|
+
webrtcPlaybackSource: import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
1073
|
+
kind: import("zod").ZodString;
|
|
1074
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
873
1075
|
kind: string;
|
|
874
1076
|
}, {
|
|
875
1077
|
kind: string;
|
|
876
|
-
}>,
|
|
877
|
-
streams:
|
|
878
|
-
id:
|
|
879
|
-
displayName:
|
|
880
|
-
externalPlayerUrl:
|
|
881
|
-
}, "strip",
|
|
1078
|
+
}>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
1079
|
+
streams: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1080
|
+
id: import("zod").ZodString;
|
|
1081
|
+
displayName: import("zod").ZodString;
|
|
1082
|
+
externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1083
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
882
1084
|
id: string;
|
|
883
1085
|
displayName: string;
|
|
884
1086
|
externalPlayerUrl: string | null;
|
|
@@ -887,10 +1089,10 @@ export declare const responseSchemasByType: {
|
|
|
887
1089
|
displayName: string;
|
|
888
1090
|
externalPlayerUrl: string | null;
|
|
889
1091
|
}>, "many">;
|
|
890
|
-
defaultStreamId:
|
|
1092
|
+
defaultStreamId: import("zod").ZodString;
|
|
891
1093
|
} & {
|
|
892
|
-
type:
|
|
893
|
-
}, "strip",
|
|
1094
|
+
type: import("zod").ZodLiteral<"camera">;
|
|
1095
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
894
1096
|
type: "camera";
|
|
895
1097
|
streams: {
|
|
896
1098
|
id: string;
|
|
@@ -938,14 +1140,14 @@ export declare const responseSchemasByType: {
|
|
|
938
1140
|
kind: string;
|
|
939
1141
|
} & Record<string, unknown>) | null;
|
|
940
1142
|
defaultStreamId: string;
|
|
941
|
-
}>,
|
|
942
|
-
canReportOpenState:
|
|
943
|
-
canReportLockState:
|
|
944
|
-
canControlLock:
|
|
945
|
-
canRelease:
|
|
1143
|
+
}>, import("zod").ZodObject<{
|
|
1144
|
+
canReportOpenState: import("zod").ZodBoolean;
|
|
1145
|
+
canReportLockState: import("zod").ZodBoolean;
|
|
1146
|
+
canControlLock: import("zod").ZodBoolean;
|
|
1147
|
+
canRelease: import("zod").ZodBoolean;
|
|
946
1148
|
} & {
|
|
947
|
-
type:
|
|
948
|
-
}, "strip",
|
|
1149
|
+
type: import("zod").ZodLiteral<"door">;
|
|
1150
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
949
1151
|
type: "door";
|
|
950
1152
|
canReportOpenState: boolean;
|
|
951
1153
|
canReportLockState: boolean;
|
|
@@ -957,12 +1159,12 @@ export declare const responseSchemasByType: {
|
|
|
957
1159
|
canReportLockState: boolean;
|
|
958
1160
|
canControlLock: boolean;
|
|
959
1161
|
canRelease: boolean;
|
|
960
|
-
}>,
|
|
961
|
-
inputs:
|
|
962
|
-
outputs:
|
|
1162
|
+
}>, import("zod").ZodObject<{
|
|
1163
|
+
inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1164
|
+
outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
963
1165
|
} & {
|
|
964
|
-
type:
|
|
965
|
-
}, "strip",
|
|
1166
|
+
type: import("zod").ZodLiteral<"io-board">;
|
|
1167
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
966
1168
|
type: "io-board";
|
|
967
1169
|
inputs: string[];
|
|
968
1170
|
outputs: string[];
|
|
@@ -970,33 +1172,33 @@ export declare const responseSchemasByType: {
|
|
|
970
1172
|
type: "io-board";
|
|
971
1173
|
inputs: string[];
|
|
972
1174
|
outputs: string[];
|
|
973
|
-
}>,
|
|
974
|
-
type:
|
|
975
|
-
}, "strip",
|
|
1175
|
+
}>, import("zod").ZodObject<{
|
|
1176
|
+
type: import("zod").ZodLiteral<"camera-lift">;
|
|
1177
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
976
1178
|
type: "camera-lift";
|
|
977
1179
|
}, {
|
|
978
1180
|
type: "camera-lift";
|
|
979
|
-
}>,
|
|
980
|
-
type:
|
|
981
|
-
}, "strip",
|
|
1181
|
+
}>, import("zod").ZodObject<{
|
|
1182
|
+
type: import("zod").ZodLiteral<"motion-sensor">;
|
|
1183
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
982
1184
|
type: "motion-sensor";
|
|
983
1185
|
}, {
|
|
984
1186
|
type: "motion-sensor";
|
|
985
|
-
}>,
|
|
986
|
-
type:
|
|
987
|
-
}, "strip",
|
|
1187
|
+
}>, import("zod").ZodObject<{
|
|
1188
|
+
type: import("zod").ZodLiteral<"panic-button">;
|
|
1189
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
988
1190
|
type: "panic-button";
|
|
989
1191
|
}, {
|
|
990
1192
|
type: "panic-button";
|
|
991
|
-
}>,
|
|
992
|
-
sipUri:
|
|
993
|
-
sipUser:
|
|
994
|
-
sipPassword:
|
|
995
|
-
sipRealm:
|
|
996
|
-
remoteExtension:
|
|
1193
|
+
}>, import("zod").ZodObject<{
|
|
1194
|
+
sipUri: import("zod").ZodString;
|
|
1195
|
+
sipUser: import("zod").ZodString;
|
|
1196
|
+
sipPassword: import("zod").ZodString;
|
|
1197
|
+
sipRealm: import("zod").ZodString;
|
|
1198
|
+
remoteExtension: import("zod").ZodString;
|
|
997
1199
|
} & {
|
|
998
|
-
type:
|
|
999
|
-
}, "strip",
|
|
1200
|
+
type: import("zod").ZodLiteral<"intercom-terminal">;
|
|
1201
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1000
1202
|
type: "intercom-terminal";
|
|
1001
1203
|
sipUri: string;
|
|
1002
1204
|
sipUser: string;
|
|
@@ -1010,82 +1212,123 @@ export declare const responseSchemasByType: {
|
|
|
1010
1212
|
sipPassword: string;
|
|
1011
1213
|
sipRealm: string;
|
|
1012
1214
|
remoteExtension: string;
|
|
1013
|
-
}>,
|
|
1014
|
-
sipWsUrl:
|
|
1215
|
+
}>, import("zod").ZodObject<{
|
|
1216
|
+
sipWsUrl: import("zod").ZodString;
|
|
1015
1217
|
} & {
|
|
1016
|
-
type:
|
|
1017
|
-
}, "strip",
|
|
1218
|
+
type: import("zod").ZodLiteral<"pbx">;
|
|
1219
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1018
1220
|
type: "pbx";
|
|
1019
1221
|
sipWsUrl: string;
|
|
1020
1222
|
}, {
|
|
1021
1223
|
type: "pbx";
|
|
1022
1224
|
sipWsUrl: string;
|
|
1023
|
-
}>,
|
|
1024
|
-
type:
|
|
1025
|
-
}, "strip",
|
|
1225
|
+
}>, import("zod").ZodObject<{
|
|
1226
|
+
type: import("zod").ZodLiteral<"server">;
|
|
1227
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1026
1228
|
type: "server";
|
|
1027
1229
|
}, {
|
|
1028
1230
|
type: "server";
|
|
1029
|
-
}>,
|
|
1030
|
-
type:
|
|
1031
|
-
}, "strip",
|
|
1231
|
+
}>, import("zod").ZodObject<{
|
|
1232
|
+
type: import("zod").ZodLiteral<"intercom-operator">;
|
|
1233
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1032
1234
|
type: "intercom-operator";
|
|
1033
1235
|
}, {
|
|
1034
1236
|
type: "intercom-operator";
|
|
1035
|
-
}>,
|
|
1036
|
-
type:
|
|
1037
|
-
}, "strip",
|
|
1237
|
+
}>, import("zod").ZodObject<{
|
|
1238
|
+
type: import("zod").ZodLiteral<"device-gateway">;
|
|
1239
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1038
1240
|
type: "device-gateway";
|
|
1039
1241
|
}, {
|
|
1040
1242
|
type: "device-gateway";
|
|
1041
|
-
}>,
|
|
1042
|
-
type:
|
|
1043
|
-
}, "strip",
|
|
1243
|
+
}>, import("zod").ZodObject<{
|
|
1244
|
+
type: import("zod").ZodLiteral<"presence-tracker">;
|
|
1245
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1044
1246
|
type: "presence-tracker";
|
|
1045
1247
|
}, {
|
|
1046
1248
|
type: "presence-tracker";
|
|
1047
|
-
}>,
|
|
1048
|
-
type:
|
|
1049
|
-
}, "strip",
|
|
1249
|
+
}>, import("zod").ZodObject<{
|
|
1250
|
+
type: import("zod").ZodLiteral<"reader">;
|
|
1251
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1050
1252
|
type: "reader";
|
|
1051
1253
|
}, {
|
|
1052
1254
|
type: "reader";
|
|
1053
|
-
}>,
|
|
1054
|
-
type:
|
|
1055
|
-
}, "strip",
|
|
1255
|
+
}>, import("zod").ZodObject<{
|
|
1256
|
+
type: import("zod").ZodLiteral<"display">;
|
|
1257
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1056
1258
|
type: "display";
|
|
1057
1259
|
}, {
|
|
1058
1260
|
type: "display";
|
|
1059
|
-
}>,
|
|
1060
|
-
type:
|
|
1061
|
-
}, "strip",
|
|
1062
|
-
type: "recorder";
|
|
1261
|
+
}>, import("zod").ZodObject<{
|
|
1262
|
+
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
1263
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1264
|
+
type: "nvr-recorder";
|
|
1063
1265
|
}, {
|
|
1064
|
-
type: "recorder";
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy"]>;
|
|
1070
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
1071
|
-
leftId: z.ZodString;
|
|
1072
|
-
rightId: z.ZodString;
|
|
1073
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy"]>;
|
|
1074
|
-
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
1075
|
-
leftId: z.ZodString;
|
|
1076
|
-
rightId: z.ZodString;
|
|
1077
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy"]>;
|
|
1078
|
-
}, z.ZodUnknown, "strip">>, z.ZodObject<{
|
|
1079
|
-
provider: z.ZodString;
|
|
1080
|
-
}, "strip", z.ZodTypeAny, {
|
|
1081
|
-
provider: string;
|
|
1266
|
+
type: "nvr-recorder";
|
|
1267
|
+
}>, import("zod").ZodObject<{
|
|
1268
|
+
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
1269
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1270
|
+
type: "nvr-exporter";
|
|
1082
1271
|
}, {
|
|
1083
|
-
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
}
|
|
1272
|
+
type: "nvr-exporter";
|
|
1273
|
+
}>, import("zod").ZodObject<{
|
|
1274
|
+
type: import("zod").ZodLiteral<"nvr-analytics-server">;
|
|
1275
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1276
|
+
type: "nvr-analytics-server";
|
|
1277
|
+
}, {
|
|
1278
|
+
type: "nvr-analytics-server";
|
|
1279
|
+
}>]>>, import("zod").ZodObject<{
|
|
1280
|
+
presets: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1281
|
+
id: import("zod").ZodString;
|
|
1282
|
+
name: import("zod").ZodString;
|
|
1283
|
+
params: import("zod").ZodUnknown;
|
|
1284
|
+
isDefault: import("zod").ZodBoolean;
|
|
1285
|
+
assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1286
|
+
createdOn: import("zod").ZodString;
|
|
1287
|
+
lastModifiedOn: import("zod").ZodString;
|
|
1288
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1289
|
+
name: string;
|
|
1290
|
+
id: string;
|
|
1291
|
+
isDefault: boolean;
|
|
1292
|
+
assignedRef: string | null;
|
|
1293
|
+
createdOn: string;
|
|
1294
|
+
lastModifiedOn: string;
|
|
1295
|
+
params?: unknown;
|
|
1296
|
+
}, {
|
|
1297
|
+
name: string;
|
|
1298
|
+
id: string;
|
|
1299
|
+
isDefault: boolean;
|
|
1300
|
+
assignedRef: string | null;
|
|
1301
|
+
createdOn: string;
|
|
1302
|
+
lastModifiedOn: string;
|
|
1303
|
+
params?: unknown;
|
|
1304
|
+
}>, "many">;
|
|
1305
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1306
|
+
presets: {
|
|
1307
|
+
name: string;
|
|
1308
|
+
id: string;
|
|
1309
|
+
isDefault: boolean;
|
|
1310
|
+
assignedRef: string | null;
|
|
1311
|
+
createdOn: string;
|
|
1312
|
+
lastModifiedOn: string;
|
|
1313
|
+
params?: unknown;
|
|
1314
|
+
}[];
|
|
1315
|
+
}, {
|
|
1316
|
+
presets: {
|
|
1317
|
+
name: string;
|
|
1318
|
+
id: string;
|
|
1319
|
+
isDefault: boolean;
|
|
1320
|
+
assignedRef: string | null;
|
|
1321
|
+
createdOn: string;
|
|
1322
|
+
lastModifiedOn: string;
|
|
1323
|
+
params?: unknown;
|
|
1324
|
+
}[];
|
|
1325
|
+
}>>]>;
|
|
1326
|
+
width: import("zod").ZodNumber;
|
|
1327
|
+
height: import("zod").ZodNumber;
|
|
1328
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1329
|
+
height: number;
|
|
1330
|
+
width: number;
|
|
1331
|
+
device: string | (({
|
|
1089
1332
|
name: string;
|
|
1090
1333
|
foreignRef: string;
|
|
1091
1334
|
provider: string;
|
|
@@ -1157,21 +1400,26 @@ export declare const responseSchemasByType: {
|
|
|
1157
1400
|
} | {
|
|
1158
1401
|
type: "display";
|
|
1159
1402
|
} | {
|
|
1160
|
-
type: "recorder";
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1403
|
+
type: "nvr-recorder";
|
|
1404
|
+
} | {
|
|
1405
|
+
type: "nvr-exporter";
|
|
1406
|
+
} | {
|
|
1407
|
+
type: "nvr-analytics-server";
|
|
1408
|
+
})) & {
|
|
1409
|
+
presets: {
|
|
1410
|
+
name: string;
|
|
1411
|
+
id: string;
|
|
1412
|
+
isDefault: boolean;
|
|
1413
|
+
assignedRef: string | null;
|
|
1414
|
+
createdOn: string;
|
|
1415
|
+
lastModifiedOn: string;
|
|
1416
|
+
params?: unknown;
|
|
1417
|
+
}[];
|
|
1418
|
+
});
|
|
1171
1419
|
}, {
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1420
|
+
height: number;
|
|
1421
|
+
width: number;
|
|
1422
|
+
device: string | (({
|
|
1175
1423
|
name: string;
|
|
1176
1424
|
foreignRef: string;
|
|
1177
1425
|
provider: string;
|
|
@@ -1243,72 +1491,35 @@ export declare const responseSchemasByType: {
|
|
|
1243
1491
|
} | {
|
|
1244
1492
|
type: "display";
|
|
1245
1493
|
} | {
|
|
1246
|
-
type: "recorder";
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1494
|
+
type: "nvr-recorder";
|
|
1495
|
+
} | {
|
|
1496
|
+
type: "nvr-exporter";
|
|
1497
|
+
} | {
|
|
1498
|
+
type: "nvr-analytics-server";
|
|
1499
|
+
})) & {
|
|
1500
|
+
presets: {
|
|
1501
|
+
name: string;
|
|
1502
|
+
id: string;
|
|
1503
|
+
isDefault: boolean;
|
|
1504
|
+
assignedRef: string | null;
|
|
1505
|
+
createdOn: string;
|
|
1506
|
+
lastModifiedOn: string;
|
|
1507
|
+
params?: unknown;
|
|
1508
|
+
}[];
|
|
1509
|
+
});
|
|
1257
1510
|
}>;
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
start: number;
|
|
1271
|
-
motion?: number | undefined;
|
|
1272
|
-
objects?: number | undefined;
|
|
1273
|
-
}>, "many">;
|
|
1274
|
-
readonly "cctv:media-search": z.ZodArray<z.ZodObject<{
|
|
1275
|
-
relevance: z.ZodNumber;
|
|
1276
|
-
providerAssignedRef: z.ZodString;
|
|
1277
|
-
foreignRef: z.ZodString;
|
|
1278
|
-
provider: z.ZodString;
|
|
1279
|
-
probability: z.ZodNumber;
|
|
1280
|
-
objectKind: z.ZodString;
|
|
1281
|
-
startTime: z.ZodNumber;
|
|
1282
|
-
endTime: z.ZodNullable<z.ZodNumber>;
|
|
1283
|
-
}, "strip", z.ZodTypeAny, {
|
|
1284
|
-
endTime: number | null;
|
|
1285
|
-
startTime: number;
|
|
1286
|
-
objectKind: string;
|
|
1287
|
-
probability: number;
|
|
1288
|
-
providerAssignedRef: string;
|
|
1289
|
-
foreignRef: string;
|
|
1290
|
-
provider: string;
|
|
1291
|
-
relevance: number;
|
|
1292
|
-
}, {
|
|
1293
|
-
endTime: number | null;
|
|
1294
|
-
startTime: number;
|
|
1295
|
-
objectKind: string;
|
|
1296
|
-
probability: number;
|
|
1297
|
-
providerAssignedRef: string;
|
|
1298
|
-
foreignRef: string;
|
|
1299
|
-
provider: string;
|
|
1300
|
-
relevance: number;
|
|
1301
|
-
}>, "many">;
|
|
1302
|
-
readonly "cctv:rtsp-data": z.ZodObject<{
|
|
1303
|
-
cameraName: z.ZodString;
|
|
1304
|
-
username: z.ZodString;
|
|
1305
|
-
password: z.ZodString;
|
|
1306
|
-
streams: z.ZodArray<z.ZodObject<{
|
|
1307
|
-
streamId: z.ZodString;
|
|
1308
|
-
displayName: z.ZodString;
|
|
1309
|
-
resolution: z.ZodNullable<z.ZodString>;
|
|
1310
|
-
rtspUrl: z.ZodString;
|
|
1311
|
-
}, "strip", z.ZodTypeAny, {
|
|
1511
|
+
};
|
|
1512
|
+
export declare const responseSchemasByType: {
|
|
1513
|
+
readonly "cctv:rtsp-data": import("zod").ZodObject<{
|
|
1514
|
+
cameraName: import("zod").ZodString;
|
|
1515
|
+
username: import("zod").ZodString;
|
|
1516
|
+
password: import("zod").ZodString;
|
|
1517
|
+
streams: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1518
|
+
streamId: import("zod").ZodString;
|
|
1519
|
+
displayName: import("zod").ZodString;
|
|
1520
|
+
resolution: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1521
|
+
rtspUrl: import("zod").ZodString;
|
|
1522
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1312
1523
|
resolution: string | null;
|
|
1313
1524
|
displayName: string;
|
|
1314
1525
|
streamId: string;
|
|
@@ -1319,7 +1530,7 @@ export declare const responseSchemasByType: {
|
|
|
1319
1530
|
streamId: string;
|
|
1320
1531
|
rtspUrl: string;
|
|
1321
1532
|
}>, "many">;
|
|
1322
|
-
}, "strip",
|
|
1533
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1323
1534
|
streams: {
|
|
1324
1535
|
resolution: string | null;
|
|
1325
1536
|
displayName: string;
|
|
@@ -1327,8 +1538,8 @@ export declare const responseSchemasByType: {
|
|
|
1327
1538
|
rtspUrl: string;
|
|
1328
1539
|
}[];
|
|
1329
1540
|
username: string;
|
|
1330
|
-
password: string;
|
|
1331
1541
|
cameraName: string;
|
|
1542
|
+
password: string;
|
|
1332
1543
|
}, {
|
|
1333
1544
|
streams: {
|
|
1334
1545
|
resolution: string | null;
|
|
@@ -1337,53 +1548,129 @@ export declare const responseSchemasByType: {
|
|
|
1337
1548
|
rtspUrl: string;
|
|
1338
1549
|
}[];
|
|
1339
1550
|
username: string;
|
|
1340
|
-
password: string;
|
|
1341
1551
|
cameraName: string;
|
|
1552
|
+
password: string;
|
|
1342
1553
|
}>;
|
|
1343
|
-
readonly "cctv:
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1554
|
+
readonly "cctv:media-search": import("zod").ZodArray<import("zod").ZodObject<{
|
|
1555
|
+
relevance: import("zod").ZodNumber;
|
|
1556
|
+
providerAssignedRef: import("zod").ZodString;
|
|
1557
|
+
foreignRef: import("zod").ZodString;
|
|
1558
|
+
provider: import("zod").ZodString;
|
|
1559
|
+
probability: import("zod").ZodNumber;
|
|
1560
|
+
objectKind: import("zod").ZodString;
|
|
1561
|
+
startTime: import("zod").ZodNumber;
|
|
1562
|
+
endTime: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1563
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1564
|
+
endTime: number | null;
|
|
1565
|
+
startTime: number;
|
|
1566
|
+
objectKind: string;
|
|
1567
|
+
probability: number;
|
|
1568
|
+
providerAssignedRef: string;
|
|
1569
|
+
foreignRef: string;
|
|
1570
|
+
provider: string;
|
|
1571
|
+
relevance: number;
|
|
1572
|
+
}, {
|
|
1573
|
+
endTime: number | null;
|
|
1574
|
+
startTime: number;
|
|
1575
|
+
objectKind: string;
|
|
1576
|
+
probability: number;
|
|
1577
|
+
providerAssignedRef: string;
|
|
1578
|
+
foreignRef: string;
|
|
1579
|
+
provider: string;
|
|
1580
|
+
relevance: number;
|
|
1581
|
+
}>, "many">;
|
|
1582
|
+
readonly "cctv:scene-preview-clip": import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1583
|
+
mimeType: import("zod").ZodString;
|
|
1584
|
+
data: import("zod").ZodString;
|
|
1585
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1347
1586
|
data: string;
|
|
1348
1587
|
mimeType: string;
|
|
1349
1588
|
}, {
|
|
1350
1589
|
data: string;
|
|
1351
1590
|
mimeType: string;
|
|
1352
1591
|
}>>;
|
|
1353
|
-
readonly "cctv:
|
|
1354
|
-
mimeType:
|
|
1355
|
-
data:
|
|
1356
|
-
}, "strip",
|
|
1592
|
+
readonly "cctv:object-snapshot": import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1593
|
+
mimeType: import("zod").ZodString;
|
|
1594
|
+
data: import("zod").ZodString;
|
|
1595
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1357
1596
|
data: string;
|
|
1358
1597
|
mimeType: string;
|
|
1359
1598
|
}, {
|
|
1360
1599
|
data: string;
|
|
1361
1600
|
mimeType: string;
|
|
1362
1601
|
}>>;
|
|
1363
|
-
readonly "cctv:
|
|
1364
|
-
mimeType:
|
|
1365
|
-
data:
|
|
1366
|
-
}, "strip",
|
|
1602
|
+
readonly "cctv:object-thumbnail": import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1603
|
+
mimeType: import("zod").ZodString;
|
|
1604
|
+
data: import("zod").ZodString;
|
|
1605
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1367
1606
|
data: string;
|
|
1368
1607
|
mimeType: string;
|
|
1369
1608
|
}, {
|
|
1370
1609
|
data: string;
|
|
1371
1610
|
mimeType: string;
|
|
1372
1611
|
}>>;
|
|
1373
|
-
readonly "cctv:
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1612
|
+
readonly "cctv:get-export-link": import("zod").ZodObject<{
|
|
1613
|
+
exportLink: import("zod").ZodString;
|
|
1614
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1615
|
+
exportLink: string;
|
|
1616
|
+
}, {
|
|
1617
|
+
exportLink: string;
|
|
1618
|
+
}>;
|
|
1619
|
+
readonly "cctv:get-exports": import("zod").ZodArray<import("zod").ZodObject<{
|
|
1620
|
+
name: import("zod").ZodString;
|
|
1621
|
+
endTime: import("zod").ZodNumber;
|
|
1622
|
+
startTime: import("zod").ZodNumber;
|
|
1623
|
+
id: import("zod").ZodString;
|
|
1624
|
+
status: import("zod").ZodString;
|
|
1625
|
+
size: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1626
|
+
expires: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1627
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1628
|
+
name: string;
|
|
1629
|
+
endTime: number;
|
|
1630
|
+
startTime: number;
|
|
1631
|
+
id: string;
|
|
1632
|
+
status: string;
|
|
1633
|
+
size?: string | undefined;
|
|
1634
|
+
expires?: number | undefined;
|
|
1635
|
+
}, {
|
|
1636
|
+
name: string;
|
|
1637
|
+
endTime: number;
|
|
1638
|
+
startTime: number;
|
|
1639
|
+
id: string;
|
|
1640
|
+
status: string;
|
|
1641
|
+
size?: string | undefined;
|
|
1642
|
+
expires?: number | undefined;
|
|
1643
|
+
}>, "many">;
|
|
1644
|
+
readonly "cctv:recordings-by-time-range": import("zod").ZodArray<import("zod").ZodObject<{
|
|
1645
|
+
start: import("zod").ZodNumber;
|
|
1646
|
+
end: import("zod").ZodNumber;
|
|
1647
|
+
motion: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1648
|
+
objects: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1649
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1650
|
+
end: number;
|
|
1651
|
+
start: number;
|
|
1652
|
+
motion?: number | undefined;
|
|
1653
|
+
objects?: number | undefined;
|
|
1654
|
+
}, {
|
|
1655
|
+
end: number;
|
|
1656
|
+
start: number;
|
|
1657
|
+
motion?: number | undefined;
|
|
1658
|
+
objects?: number | undefined;
|
|
1659
|
+
}>, "many">;
|
|
1660
|
+
readonly "cctv:preview-image": import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1661
|
+
mimeType: import("zod").ZodString;
|
|
1662
|
+
data: import("zod").ZodString;
|
|
1663
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1377
1664
|
data: string;
|
|
1378
1665
|
mimeType: string;
|
|
1379
1666
|
}, {
|
|
1380
1667
|
data: string;
|
|
1381
1668
|
mimeType: string;
|
|
1382
1669
|
}>>;
|
|
1383
|
-
readonly "cctv:
|
|
1384
|
-
mimeType:
|
|
1385
|
-
data:
|
|
1386
|
-
}, "strip",
|
|
1670
|
+
readonly "cctv:latest-frame": import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1671
|
+
mimeType: import("zod").ZodString;
|
|
1672
|
+
data: import("zod").ZodString;
|
|
1673
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1387
1674
|
data: string;
|
|
1388
1675
|
mimeType: string;
|
|
1389
1676
|
}, {
|
|
@@ -1391,28 +1678,8 @@ export declare const responseSchemasByType: {
|
|
|
1391
1678
|
mimeType: string;
|
|
1392
1679
|
}>>;
|
|
1393
1680
|
};
|
|
1394
|
-
export type QueryRequestMap =
|
|
1395
|
-
|
|
1396
|
-
[QUERY_RECORDINGS_BY_TIME_RANGE]: RecordingsByTimeRangeArgs;
|
|
1397
|
-
[QUERY_MEDIA_SEARCH]: MediaSearchArgs;
|
|
1398
|
-
[QUERY_RTSP_DATA]: RtspDataArgs;
|
|
1399
|
-
[QUERY_PREVIEW_IMAGE]: PreviewImageArgs;
|
|
1400
|
-
[QUERY_CAMERA_LATEST_FRAME]: CameraLatestFrameArgs;
|
|
1401
|
-
[QUERY_SCENE_PREVIEW_CLIP]: ScenePreviewClipArgs;
|
|
1402
|
-
[QUERY_OBJECT_SNAPSHOT]: ObjectSnapshotArgs;
|
|
1403
|
-
[QUERY_OBJECT_THUMBNAIL]: ObjectThumbnailArgs;
|
|
1404
|
-
};
|
|
1405
|
-
export type QueryResponseMap = {
|
|
1406
|
-
[QUERY_DEVICE_GRAPH]: DeviceGraphResponse;
|
|
1407
|
-
[QUERY_RECORDINGS_BY_TIME_RANGE]: RecordingsResponse;
|
|
1408
|
-
[QUERY_MEDIA_SEARCH]: MediaSearchResponse;
|
|
1409
|
-
[QUERY_RTSP_DATA]: RtspDataResponse;
|
|
1410
|
-
[QUERY_PREVIEW_IMAGE]: PreviewImageResponse;
|
|
1411
|
-
[QUERY_CAMERA_LATEST_FRAME]: CameraLatestFrameResponse;
|
|
1412
|
-
[QUERY_SCENE_PREVIEW_CLIP]: ScenePreviewClipResponse;
|
|
1413
|
-
[QUERY_OBJECT_SNAPSHOT]: ObjectSnapshotResponse;
|
|
1414
|
-
[QUERY_OBJECT_THUMBNAIL]: ObjectThumbnailResponse;
|
|
1415
|
-
};
|
|
1681
|
+
export type QueryRequestMap = NvrAnalyticsQueryRequestMap & NvrRecorderQueryRequestMap & CameraQueryRequestMap & NvrExporterQueryRequestMap;
|
|
1682
|
+
export type QueryResponseMap = NvrAnalyticsQueryResponseMap & NvrRecorderQueryResponseMap & CameraQueryResponseMap & NvrExporterQueryResponseMap;
|
|
1416
1683
|
export type QueryType = keyof QueryRequestMap;
|
|
1417
1684
|
export type RequestForQuery<T extends QueryType> = QueryRequestMap[T];
|
|
1418
1685
|
export type ResponseForQuery<T extends QueryType> = QueryResponseMap[T];
|