@awarevue/api-types 2.0.18 → 2.0.20
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/queries/all.d.ts
CHANGED
|
@@ -1,19 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
import { CameraQueryRequestMap, CameraQueryResponseMap } from './camera';
|
|
2
3
|
import { NvrAnalyticsQueryRequestMap, NvrAnalyticsQueryResponseMap } from './nvr-analytics-server';
|
|
3
4
|
import { NvrExporterQueryRequestMap, NvrExporterQueryResponseMap } from './nvr-exporter';
|
|
4
5
|
import { NvrRecorderQueryRequestMap, NvrRecorderQueryResponseMap } from './nvr-recorder';
|
|
6
|
+
export declare const sEventCapsQueryArgs: {};
|
|
7
|
+
export type EventCapsQueryArgs = typeof sEventCapsQueryArgs;
|
|
8
|
+
export declare const QUERY_EVENT_CAPS = "device:event-caps";
|
|
9
|
+
export declare const sEventCapsQueryResponse: z.ZodArray<z.ZodString, "many">;
|
|
10
|
+
export type EventCapsQueryResponse = z.infer<typeof sEventCapsQueryResponse>;
|
|
5
11
|
export declare const requestSchemasByType: {
|
|
6
|
-
readonly "
|
|
7
|
-
readonly "cctv:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
readonly "device:event-caps": {};
|
|
13
|
+
readonly "cctv:rtsp-data": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
14
|
+
readonly "cctv:media-search": z.ZodObject<{
|
|
15
|
+
devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
|
|
16
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
q: z.ZodOptional<z.ZodString>;
|
|
18
|
+
similarTo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
label: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
|
+
timeFrom: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
timeTo: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">]>>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
24
|
label?: string[] | undefined;
|
|
18
25
|
q?: string | undefined;
|
|
19
26
|
devices?: any[] | undefined;
|
|
@@ -32,20 +39,20 @@ export declare const requestSchemasByType: {
|
|
|
32
39
|
similarTo?: string | undefined;
|
|
33
40
|
sortBy?: "time_asc" | "time_desc" | undefined;
|
|
34
41
|
}>;
|
|
35
|
-
readonly "cctv:scene-preview-clip":
|
|
36
|
-
providerAssignedRef:
|
|
37
|
-
}, "strip",
|
|
42
|
+
readonly "cctv:scene-preview-clip": z.ZodObject<{
|
|
43
|
+
providerAssignedRef: z.ZodString;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
45
|
providerAssignedRef: string;
|
|
39
46
|
}, {
|
|
40
47
|
providerAssignedRef: string;
|
|
41
48
|
}>;
|
|
42
|
-
readonly "cctv:object-snapshot":
|
|
43
|
-
providerAssignedRef:
|
|
44
|
-
height:
|
|
45
|
-
quality:
|
|
46
|
-
crop:
|
|
47
|
-
boxes:
|
|
48
|
-
}, "strip",
|
|
49
|
+
readonly "cctv:object-snapshot": z.ZodObject<{
|
|
50
|
+
providerAssignedRef: z.ZodString;
|
|
51
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
quality: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
crop: z.ZodBoolean;
|
|
54
|
+
boxes: z.ZodBoolean;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
56
|
providerAssignedRef: string;
|
|
50
57
|
crop: boolean;
|
|
51
58
|
boxes: boolean;
|
|
@@ -58,37 +65,38 @@ export declare const requestSchemasByType: {
|
|
|
58
65
|
height?: number | undefined;
|
|
59
66
|
quality?: number | undefined;
|
|
60
67
|
}>;
|
|
61
|
-
readonly "cctv:object-thumbnail":
|
|
62
|
-
providerAssignedRef:
|
|
63
|
-
}, "strip",
|
|
68
|
+
readonly "cctv:object-thumbnail": z.ZodObject<{
|
|
69
|
+
providerAssignedRef: z.ZodString;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
71
|
providerAssignedRef: string;
|
|
65
72
|
}, {
|
|
66
73
|
providerAssignedRef: string;
|
|
67
74
|
}>;
|
|
68
|
-
readonly "cctv:
|
|
69
|
-
|
|
70
|
-
|
|
75
|
+
readonly "cctv:object-labels": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
76
|
+
readonly "cctv:get-export-link": z.ZodObject<{
|
|
77
|
+
exportId: z.ZodString;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
79
|
exportId: string;
|
|
72
80
|
}, {
|
|
73
81
|
exportId: string;
|
|
74
82
|
}>;
|
|
75
|
-
readonly "cctv:get-exports":
|
|
76
|
-
readonly "cctv:recordings-by-time-range":
|
|
77
|
-
device:
|
|
78
|
-
name:
|
|
79
|
-
foreignRef:
|
|
80
|
-
provider:
|
|
81
|
-
providerMetadata:
|
|
83
|
+
readonly "cctv:get-exports": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
84
|
+
readonly "cctv:recordings-by-time-range": z.ZodObject<{
|
|
85
|
+
device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
86
|
+
name: z.ZodString;
|
|
87
|
+
foreignRef: z.ZodString;
|
|
88
|
+
provider: z.ZodString;
|
|
89
|
+
providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
|
|
82
90
|
} & {
|
|
83
|
-
presets:
|
|
84
|
-
id:
|
|
85
|
-
name:
|
|
86
|
-
params:
|
|
87
|
-
isDefault:
|
|
88
|
-
assignedRef:
|
|
89
|
-
createdOn:
|
|
90
|
-
lastModifiedOn:
|
|
91
|
-
}, "strip",
|
|
91
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
92
|
+
id: z.ZodString;
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
params: z.ZodUnknown;
|
|
95
|
+
isDefault: z.ZodBoolean;
|
|
96
|
+
assignedRef: z.ZodNullable<z.ZodString>;
|
|
97
|
+
createdOn: z.ZodString;
|
|
98
|
+
lastModifiedOn: z.ZodString;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
100
|
name: string;
|
|
93
101
|
id: string;
|
|
94
102
|
isDefault: boolean;
|
|
@@ -105,7 +113,7 @@ export declare const requestSchemasByType: {
|
|
|
105
113
|
lastModifiedOn: string;
|
|
106
114
|
params?: unknown;
|
|
107
115
|
}>, "many">;
|
|
108
|
-
}, "strip",
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
117
|
name: string;
|
|
110
118
|
foreignRef: string;
|
|
111
119
|
provider: string;
|
|
@@ -137,39 +145,39 @@ export declare const requestSchemasByType: {
|
|
|
137
145
|
lastModifiedOn: string;
|
|
138
146
|
params?: unknown;
|
|
139
147
|
}[];
|
|
140
|
-
}>,
|
|
141
|
-
type:
|
|
142
|
-
}, "strip",
|
|
148
|
+
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
149
|
+
type: z.ZodLiteral<"alarm">;
|
|
150
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
151
|
type: "alarm";
|
|
144
152
|
}, {
|
|
145
153
|
type: "alarm";
|
|
146
|
-
}>,
|
|
147
|
-
lensType:
|
|
148
|
-
mountPoint:
|
|
149
|
-
ptzCapable:
|
|
150
|
-
ptzPanSpeed:
|
|
151
|
-
ptzTiltSpeed:
|
|
152
|
-
ptzZoomSpeed:
|
|
153
|
-
panMin:
|
|
154
|
-
panMax:
|
|
155
|
-
tiltMin:
|
|
156
|
-
tiltMax:
|
|
157
|
-
zoomMin:
|
|
158
|
-
zoomMax:
|
|
159
|
-
recordingCapable:
|
|
160
|
-
webrtcPlaybackSource:
|
|
161
|
-
kind:
|
|
162
|
-
}, "strip",
|
|
154
|
+
}>, z.ZodObject<{
|
|
155
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
156
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
157
|
+
ptzCapable: z.ZodBoolean;
|
|
158
|
+
ptzPanSpeed: z.ZodNumber;
|
|
159
|
+
ptzTiltSpeed: z.ZodNumber;
|
|
160
|
+
ptzZoomSpeed: z.ZodNumber;
|
|
161
|
+
panMin: z.ZodNumber;
|
|
162
|
+
panMax: z.ZodNumber;
|
|
163
|
+
tiltMin: z.ZodNumber;
|
|
164
|
+
tiltMax: z.ZodNumber;
|
|
165
|
+
zoomMin: z.ZodNumber;
|
|
166
|
+
zoomMax: z.ZodNumber;
|
|
167
|
+
recordingCapable: z.ZodBoolean;
|
|
168
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
169
|
+
kind: z.ZodString;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
163
171
|
kind: string;
|
|
164
172
|
}, {
|
|
165
173
|
kind: string;
|
|
166
|
-
}>,
|
|
167
|
-
streams:
|
|
168
|
-
id:
|
|
169
|
-
displayName:
|
|
170
|
-
externalPlayerUrl:
|
|
171
|
-
rtspUrl:
|
|
172
|
-
}, "strip",
|
|
174
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
175
|
+
streams: z.ZodArray<z.ZodObject<{
|
|
176
|
+
id: z.ZodString;
|
|
177
|
+
displayName: z.ZodString;
|
|
178
|
+
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
179
|
+
rtspUrl: z.ZodString;
|
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
181
|
id: string;
|
|
174
182
|
displayName: string;
|
|
175
183
|
externalPlayerUrl: string | null;
|
|
@@ -180,10 +188,10 @@ export declare const requestSchemasByType: {
|
|
|
180
188
|
externalPlayerUrl: string | null;
|
|
181
189
|
rtspUrl: string;
|
|
182
190
|
}>, "many">;
|
|
183
|
-
defaultStreamId:
|
|
191
|
+
defaultStreamId: z.ZodString;
|
|
184
192
|
} & {
|
|
185
|
-
type:
|
|
186
|
-
}, "strip",
|
|
193
|
+
type: z.ZodLiteral<"camera">;
|
|
194
|
+
}, "strip", z.ZodTypeAny, {
|
|
187
195
|
type: "camera";
|
|
188
196
|
streams: {
|
|
189
197
|
id: string;
|
|
@@ -233,14 +241,14 @@ export declare const requestSchemasByType: {
|
|
|
233
241
|
kind: string;
|
|
234
242
|
} & Record<string, unknown>) | null;
|
|
235
243
|
defaultStreamId: string;
|
|
236
|
-
}>,
|
|
237
|
-
canReportOpenState:
|
|
238
|
-
canReportLockState:
|
|
239
|
-
canControlLock:
|
|
240
|
-
canRelease:
|
|
244
|
+
}>, z.ZodObject<{
|
|
245
|
+
canReportOpenState: z.ZodBoolean;
|
|
246
|
+
canReportLockState: z.ZodBoolean;
|
|
247
|
+
canControlLock: z.ZodBoolean;
|
|
248
|
+
canRelease: z.ZodBoolean;
|
|
241
249
|
} & {
|
|
242
|
-
type:
|
|
243
|
-
}, "strip",
|
|
250
|
+
type: z.ZodLiteral<"door">;
|
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
252
|
type: "door";
|
|
245
253
|
canReportOpenState: boolean;
|
|
246
254
|
canReportLockState: boolean;
|
|
@@ -252,12 +260,12 @@ export declare const requestSchemasByType: {
|
|
|
252
260
|
canReportLockState: boolean;
|
|
253
261
|
canControlLock: boolean;
|
|
254
262
|
canRelease: boolean;
|
|
255
|
-
}>,
|
|
256
|
-
inputs:
|
|
257
|
-
outputs:
|
|
263
|
+
}>, z.ZodObject<{
|
|
264
|
+
inputs: z.ZodArray<z.ZodString, "many">;
|
|
265
|
+
outputs: z.ZodArray<z.ZodString, "many">;
|
|
258
266
|
} & {
|
|
259
|
-
type:
|
|
260
|
-
}, "strip",
|
|
267
|
+
type: z.ZodLiteral<"io-board">;
|
|
268
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
269
|
type: "io-board";
|
|
262
270
|
inputs: string[];
|
|
263
271
|
outputs: string[];
|
|
@@ -265,33 +273,33 @@ export declare const requestSchemasByType: {
|
|
|
265
273
|
type: "io-board";
|
|
266
274
|
inputs: string[];
|
|
267
275
|
outputs: string[];
|
|
268
|
-
}>,
|
|
269
|
-
type:
|
|
270
|
-
}, "strip",
|
|
276
|
+
}>, z.ZodObject<{
|
|
277
|
+
type: z.ZodLiteral<"camera-lift">;
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
271
279
|
type: "camera-lift";
|
|
272
280
|
}, {
|
|
273
281
|
type: "camera-lift";
|
|
274
|
-
}>,
|
|
275
|
-
type:
|
|
276
|
-
}, "strip",
|
|
282
|
+
}>, z.ZodObject<{
|
|
283
|
+
type: z.ZodLiteral<"motion-sensor">;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
285
|
type: "motion-sensor";
|
|
278
286
|
}, {
|
|
279
287
|
type: "motion-sensor";
|
|
280
|
-
}>,
|
|
281
|
-
type:
|
|
282
|
-
}, "strip",
|
|
288
|
+
}>, z.ZodObject<{
|
|
289
|
+
type: z.ZodLiteral<"panic-button">;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
291
|
type: "panic-button";
|
|
284
292
|
}, {
|
|
285
293
|
type: "panic-button";
|
|
286
|
-
}>,
|
|
287
|
-
sipUri:
|
|
288
|
-
sipUser:
|
|
289
|
-
sipPassword:
|
|
290
|
-
sipRealm:
|
|
291
|
-
remoteExtension:
|
|
294
|
+
}>, z.ZodObject<{
|
|
295
|
+
sipUri: z.ZodString;
|
|
296
|
+
sipUser: z.ZodString;
|
|
297
|
+
sipPassword: z.ZodString;
|
|
298
|
+
sipRealm: z.ZodString;
|
|
299
|
+
remoteExtension: z.ZodString;
|
|
292
300
|
} & {
|
|
293
|
-
type:
|
|
294
|
-
}, "strip",
|
|
301
|
+
type: z.ZodLiteral<"intercom-terminal">;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
303
|
type: "intercom-terminal";
|
|
296
304
|
sipUri: string;
|
|
297
305
|
sipUser: string;
|
|
@@ -305,80 +313,80 @@ export declare const requestSchemasByType: {
|
|
|
305
313
|
sipPassword: string;
|
|
306
314
|
sipRealm: string;
|
|
307
315
|
remoteExtension: string;
|
|
308
|
-
}>,
|
|
309
|
-
sipWsUrl:
|
|
316
|
+
}>, z.ZodObject<{
|
|
317
|
+
sipWsUrl: z.ZodString;
|
|
310
318
|
} & {
|
|
311
|
-
type:
|
|
312
|
-
}, "strip",
|
|
319
|
+
type: z.ZodLiteral<"pbx">;
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
321
|
type: "pbx";
|
|
314
322
|
sipWsUrl: string;
|
|
315
323
|
}, {
|
|
316
324
|
type: "pbx";
|
|
317
325
|
sipWsUrl: string;
|
|
318
|
-
}>,
|
|
319
|
-
type:
|
|
320
|
-
}, "strip",
|
|
326
|
+
}>, z.ZodObject<{
|
|
327
|
+
type: z.ZodLiteral<"server">;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
329
|
type: "server";
|
|
322
330
|
}, {
|
|
323
331
|
type: "server";
|
|
324
|
-
}>,
|
|
325
|
-
type:
|
|
326
|
-
}, "strip",
|
|
332
|
+
}>, z.ZodObject<{
|
|
333
|
+
type: z.ZodLiteral<"intercom-operator">;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
327
335
|
type: "intercom-operator";
|
|
328
336
|
}, {
|
|
329
337
|
type: "intercom-operator";
|
|
330
|
-
}>,
|
|
331
|
-
type:
|
|
332
|
-
}, "strip",
|
|
338
|
+
}>, z.ZodObject<{
|
|
339
|
+
type: z.ZodLiteral<"device-gateway">;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
333
341
|
type: "device-gateway";
|
|
334
342
|
}, {
|
|
335
343
|
type: "device-gateway";
|
|
336
|
-
}>,
|
|
337
|
-
type:
|
|
338
|
-
}, "strip",
|
|
344
|
+
}>, z.ZodObject<{
|
|
345
|
+
type: z.ZodLiteral<"presence-tracker">;
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
339
347
|
type: "presence-tracker";
|
|
340
348
|
}, {
|
|
341
349
|
type: "presence-tracker";
|
|
342
|
-
}>,
|
|
343
|
-
type:
|
|
344
|
-
}, "strip",
|
|
350
|
+
}>, z.ZodObject<{
|
|
351
|
+
type: z.ZodLiteral<"reader">;
|
|
352
|
+
}, "strip", z.ZodTypeAny, {
|
|
345
353
|
type: "reader";
|
|
346
354
|
}, {
|
|
347
355
|
type: "reader";
|
|
348
|
-
}>,
|
|
349
|
-
type:
|
|
350
|
-
}, "strip",
|
|
356
|
+
}>, z.ZodObject<{
|
|
357
|
+
type: z.ZodLiteral<"display">;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
351
359
|
type: "display";
|
|
352
360
|
}, {
|
|
353
361
|
type: "display";
|
|
354
|
-
}>,
|
|
355
|
-
type:
|
|
356
|
-
}, "strip",
|
|
362
|
+
}>, z.ZodObject<{
|
|
363
|
+
type: z.ZodLiteral<"nvr-recorder">;
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
357
365
|
type: "nvr-recorder";
|
|
358
366
|
}, {
|
|
359
367
|
type: "nvr-recorder";
|
|
360
|
-
}>,
|
|
361
|
-
type:
|
|
362
|
-
}, "strip",
|
|
368
|
+
}>, z.ZodObject<{
|
|
369
|
+
type: z.ZodLiteral<"nvr-exporter">;
|
|
370
|
+
}, "strip", z.ZodTypeAny, {
|
|
363
371
|
type: "nvr-exporter";
|
|
364
372
|
}, {
|
|
365
373
|
type: "nvr-exporter";
|
|
366
|
-
}>,
|
|
367
|
-
type:
|
|
368
|
-
}, "strip",
|
|
374
|
+
}>, z.ZodObject<{
|
|
375
|
+
type: z.ZodLiteral<"nvr-analytics-server">;
|
|
376
|
+
}, "strip", z.ZodTypeAny, {
|
|
369
377
|
type: "nvr-analytics-server";
|
|
370
378
|
}, {
|
|
371
379
|
type: "nvr-analytics-server";
|
|
372
|
-
}>,
|
|
373
|
-
type:
|
|
374
|
-
}, "strip",
|
|
380
|
+
}>, z.ZodObject<{
|
|
381
|
+
type: z.ZodLiteral<"system">;
|
|
382
|
+
}, "strip", z.ZodTypeAny, {
|
|
375
383
|
type: "system";
|
|
376
384
|
}, {
|
|
377
385
|
type: "system";
|
|
378
|
-
}>]>>]>,
|
|
379
|
-
timeFrom:
|
|
380
|
-
timeTo:
|
|
381
|
-
}, "strip",
|
|
386
|
+
}>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
|
|
387
|
+
timeFrom: z.ZodNumber;
|
|
388
|
+
timeTo: z.ZodNumber;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
382
390
|
device: string | [string, string] | ({
|
|
383
391
|
name: string;
|
|
384
392
|
foreignRef: string;
|
|
@@ -565,22 +573,22 @@ export declare const requestSchemasByType: {
|
|
|
565
573
|
timeFrom: number;
|
|
566
574
|
timeTo: number;
|
|
567
575
|
}>;
|
|
568
|
-
readonly "cctv:preview-image":
|
|
569
|
-
device:
|
|
570
|
-
name:
|
|
571
|
-
foreignRef:
|
|
572
|
-
provider:
|
|
573
|
-
providerMetadata:
|
|
576
|
+
readonly "cctv:preview-image": z.ZodObject<{
|
|
577
|
+
device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
578
|
+
name: z.ZodString;
|
|
579
|
+
foreignRef: z.ZodString;
|
|
580
|
+
provider: z.ZodString;
|
|
581
|
+
providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
|
|
574
582
|
} & {
|
|
575
|
-
presets:
|
|
576
|
-
id:
|
|
577
|
-
name:
|
|
578
|
-
params:
|
|
579
|
-
isDefault:
|
|
580
|
-
assignedRef:
|
|
581
|
-
createdOn:
|
|
582
|
-
lastModifiedOn:
|
|
583
|
-
}, "strip",
|
|
583
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
584
|
+
id: z.ZodString;
|
|
585
|
+
name: z.ZodString;
|
|
586
|
+
params: z.ZodUnknown;
|
|
587
|
+
isDefault: z.ZodBoolean;
|
|
588
|
+
assignedRef: z.ZodNullable<z.ZodString>;
|
|
589
|
+
createdOn: z.ZodString;
|
|
590
|
+
lastModifiedOn: z.ZodString;
|
|
591
|
+
}, "strip", z.ZodTypeAny, {
|
|
584
592
|
name: string;
|
|
585
593
|
id: string;
|
|
586
594
|
isDefault: boolean;
|
|
@@ -597,7 +605,7 @@ export declare const requestSchemasByType: {
|
|
|
597
605
|
lastModifiedOn: string;
|
|
598
606
|
params?: unknown;
|
|
599
607
|
}>, "many">;
|
|
600
|
-
}, "strip",
|
|
608
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
609
|
name: string;
|
|
602
610
|
foreignRef: string;
|
|
603
611
|
provider: string;
|
|
@@ -629,39 +637,39 @@ export declare const requestSchemasByType: {
|
|
|
629
637
|
lastModifiedOn: string;
|
|
630
638
|
params?: unknown;
|
|
631
639
|
}[];
|
|
632
|
-
}>,
|
|
633
|
-
type:
|
|
634
|
-
}, "strip",
|
|
640
|
+
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
641
|
+
type: z.ZodLiteral<"alarm">;
|
|
642
|
+
}, "strip", z.ZodTypeAny, {
|
|
635
643
|
type: "alarm";
|
|
636
644
|
}, {
|
|
637
645
|
type: "alarm";
|
|
638
|
-
}>,
|
|
639
|
-
lensType:
|
|
640
|
-
mountPoint:
|
|
641
|
-
ptzCapable:
|
|
642
|
-
ptzPanSpeed:
|
|
643
|
-
ptzTiltSpeed:
|
|
644
|
-
ptzZoomSpeed:
|
|
645
|
-
panMin:
|
|
646
|
-
panMax:
|
|
647
|
-
tiltMin:
|
|
648
|
-
tiltMax:
|
|
649
|
-
zoomMin:
|
|
650
|
-
zoomMax:
|
|
651
|
-
recordingCapable:
|
|
652
|
-
webrtcPlaybackSource:
|
|
653
|
-
kind:
|
|
654
|
-
}, "strip",
|
|
646
|
+
}>, z.ZodObject<{
|
|
647
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
648
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
649
|
+
ptzCapable: z.ZodBoolean;
|
|
650
|
+
ptzPanSpeed: z.ZodNumber;
|
|
651
|
+
ptzTiltSpeed: z.ZodNumber;
|
|
652
|
+
ptzZoomSpeed: z.ZodNumber;
|
|
653
|
+
panMin: z.ZodNumber;
|
|
654
|
+
panMax: z.ZodNumber;
|
|
655
|
+
tiltMin: z.ZodNumber;
|
|
656
|
+
tiltMax: z.ZodNumber;
|
|
657
|
+
zoomMin: z.ZodNumber;
|
|
658
|
+
zoomMax: z.ZodNumber;
|
|
659
|
+
recordingCapable: z.ZodBoolean;
|
|
660
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
661
|
+
kind: z.ZodString;
|
|
662
|
+
}, "strip", z.ZodTypeAny, {
|
|
655
663
|
kind: string;
|
|
656
664
|
}, {
|
|
657
665
|
kind: string;
|
|
658
|
-
}>,
|
|
659
|
-
streams:
|
|
660
|
-
id:
|
|
661
|
-
displayName:
|
|
662
|
-
externalPlayerUrl:
|
|
663
|
-
rtspUrl:
|
|
664
|
-
}, "strip",
|
|
666
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
667
|
+
streams: z.ZodArray<z.ZodObject<{
|
|
668
|
+
id: z.ZodString;
|
|
669
|
+
displayName: z.ZodString;
|
|
670
|
+
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
671
|
+
rtspUrl: z.ZodString;
|
|
672
|
+
}, "strip", z.ZodTypeAny, {
|
|
665
673
|
id: string;
|
|
666
674
|
displayName: string;
|
|
667
675
|
externalPlayerUrl: string | null;
|
|
@@ -672,10 +680,10 @@ export declare const requestSchemasByType: {
|
|
|
672
680
|
externalPlayerUrl: string | null;
|
|
673
681
|
rtspUrl: string;
|
|
674
682
|
}>, "many">;
|
|
675
|
-
defaultStreamId:
|
|
683
|
+
defaultStreamId: z.ZodString;
|
|
676
684
|
} & {
|
|
677
|
-
type:
|
|
678
|
-
}, "strip",
|
|
685
|
+
type: z.ZodLiteral<"camera">;
|
|
686
|
+
}, "strip", z.ZodTypeAny, {
|
|
679
687
|
type: "camera";
|
|
680
688
|
streams: {
|
|
681
689
|
id: string;
|
|
@@ -725,14 +733,14 @@ export declare const requestSchemasByType: {
|
|
|
725
733
|
kind: string;
|
|
726
734
|
} & Record<string, unknown>) | null;
|
|
727
735
|
defaultStreamId: string;
|
|
728
|
-
}>,
|
|
729
|
-
canReportOpenState:
|
|
730
|
-
canReportLockState:
|
|
731
|
-
canControlLock:
|
|
732
|
-
canRelease:
|
|
736
|
+
}>, z.ZodObject<{
|
|
737
|
+
canReportOpenState: z.ZodBoolean;
|
|
738
|
+
canReportLockState: z.ZodBoolean;
|
|
739
|
+
canControlLock: z.ZodBoolean;
|
|
740
|
+
canRelease: z.ZodBoolean;
|
|
733
741
|
} & {
|
|
734
|
-
type:
|
|
735
|
-
}, "strip",
|
|
742
|
+
type: z.ZodLiteral<"door">;
|
|
743
|
+
}, "strip", z.ZodTypeAny, {
|
|
736
744
|
type: "door";
|
|
737
745
|
canReportOpenState: boolean;
|
|
738
746
|
canReportLockState: boolean;
|
|
@@ -744,12 +752,12 @@ export declare const requestSchemasByType: {
|
|
|
744
752
|
canReportLockState: boolean;
|
|
745
753
|
canControlLock: boolean;
|
|
746
754
|
canRelease: boolean;
|
|
747
|
-
}>,
|
|
748
|
-
inputs:
|
|
749
|
-
outputs:
|
|
755
|
+
}>, z.ZodObject<{
|
|
756
|
+
inputs: z.ZodArray<z.ZodString, "many">;
|
|
757
|
+
outputs: z.ZodArray<z.ZodString, "many">;
|
|
750
758
|
} & {
|
|
751
|
-
type:
|
|
752
|
-
}, "strip",
|
|
759
|
+
type: z.ZodLiteral<"io-board">;
|
|
760
|
+
}, "strip", z.ZodTypeAny, {
|
|
753
761
|
type: "io-board";
|
|
754
762
|
inputs: string[];
|
|
755
763
|
outputs: string[];
|
|
@@ -757,33 +765,33 @@ export declare const requestSchemasByType: {
|
|
|
757
765
|
type: "io-board";
|
|
758
766
|
inputs: string[];
|
|
759
767
|
outputs: string[];
|
|
760
|
-
}>,
|
|
761
|
-
type:
|
|
762
|
-
}, "strip",
|
|
768
|
+
}>, z.ZodObject<{
|
|
769
|
+
type: z.ZodLiteral<"camera-lift">;
|
|
770
|
+
}, "strip", z.ZodTypeAny, {
|
|
763
771
|
type: "camera-lift";
|
|
764
772
|
}, {
|
|
765
773
|
type: "camera-lift";
|
|
766
|
-
}>,
|
|
767
|
-
type:
|
|
768
|
-
}, "strip",
|
|
774
|
+
}>, z.ZodObject<{
|
|
775
|
+
type: z.ZodLiteral<"motion-sensor">;
|
|
776
|
+
}, "strip", z.ZodTypeAny, {
|
|
769
777
|
type: "motion-sensor";
|
|
770
778
|
}, {
|
|
771
779
|
type: "motion-sensor";
|
|
772
|
-
}>,
|
|
773
|
-
type:
|
|
774
|
-
}, "strip",
|
|
780
|
+
}>, z.ZodObject<{
|
|
781
|
+
type: z.ZodLiteral<"panic-button">;
|
|
782
|
+
}, "strip", z.ZodTypeAny, {
|
|
775
783
|
type: "panic-button";
|
|
776
784
|
}, {
|
|
777
785
|
type: "panic-button";
|
|
778
|
-
}>,
|
|
779
|
-
sipUri:
|
|
780
|
-
sipUser:
|
|
781
|
-
sipPassword:
|
|
782
|
-
sipRealm:
|
|
783
|
-
remoteExtension:
|
|
786
|
+
}>, z.ZodObject<{
|
|
787
|
+
sipUri: z.ZodString;
|
|
788
|
+
sipUser: z.ZodString;
|
|
789
|
+
sipPassword: z.ZodString;
|
|
790
|
+
sipRealm: z.ZodString;
|
|
791
|
+
remoteExtension: z.ZodString;
|
|
784
792
|
} & {
|
|
785
|
-
type:
|
|
786
|
-
}, "strip",
|
|
793
|
+
type: z.ZodLiteral<"intercom-terminal">;
|
|
794
|
+
}, "strip", z.ZodTypeAny, {
|
|
787
795
|
type: "intercom-terminal";
|
|
788
796
|
sipUri: string;
|
|
789
797
|
sipUser: string;
|
|
@@ -797,80 +805,80 @@ export declare const requestSchemasByType: {
|
|
|
797
805
|
sipPassword: string;
|
|
798
806
|
sipRealm: string;
|
|
799
807
|
remoteExtension: string;
|
|
800
|
-
}>,
|
|
801
|
-
sipWsUrl:
|
|
808
|
+
}>, z.ZodObject<{
|
|
809
|
+
sipWsUrl: z.ZodString;
|
|
802
810
|
} & {
|
|
803
|
-
type:
|
|
804
|
-
}, "strip",
|
|
811
|
+
type: z.ZodLiteral<"pbx">;
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
805
813
|
type: "pbx";
|
|
806
814
|
sipWsUrl: string;
|
|
807
815
|
}, {
|
|
808
816
|
type: "pbx";
|
|
809
817
|
sipWsUrl: string;
|
|
810
|
-
}>,
|
|
811
|
-
type:
|
|
812
|
-
}, "strip",
|
|
818
|
+
}>, z.ZodObject<{
|
|
819
|
+
type: z.ZodLiteral<"server">;
|
|
820
|
+
}, "strip", z.ZodTypeAny, {
|
|
813
821
|
type: "server";
|
|
814
822
|
}, {
|
|
815
823
|
type: "server";
|
|
816
|
-
}>,
|
|
817
|
-
type:
|
|
818
|
-
}, "strip",
|
|
824
|
+
}>, z.ZodObject<{
|
|
825
|
+
type: z.ZodLiteral<"intercom-operator">;
|
|
826
|
+
}, "strip", z.ZodTypeAny, {
|
|
819
827
|
type: "intercom-operator";
|
|
820
828
|
}, {
|
|
821
829
|
type: "intercom-operator";
|
|
822
|
-
}>,
|
|
823
|
-
type:
|
|
824
|
-
}, "strip",
|
|
830
|
+
}>, z.ZodObject<{
|
|
831
|
+
type: z.ZodLiteral<"device-gateway">;
|
|
832
|
+
}, "strip", z.ZodTypeAny, {
|
|
825
833
|
type: "device-gateway";
|
|
826
834
|
}, {
|
|
827
835
|
type: "device-gateway";
|
|
828
|
-
}>,
|
|
829
|
-
type:
|
|
830
|
-
}, "strip",
|
|
836
|
+
}>, z.ZodObject<{
|
|
837
|
+
type: z.ZodLiteral<"presence-tracker">;
|
|
838
|
+
}, "strip", z.ZodTypeAny, {
|
|
831
839
|
type: "presence-tracker";
|
|
832
840
|
}, {
|
|
833
841
|
type: "presence-tracker";
|
|
834
|
-
}>,
|
|
835
|
-
type:
|
|
836
|
-
}, "strip",
|
|
842
|
+
}>, z.ZodObject<{
|
|
843
|
+
type: z.ZodLiteral<"reader">;
|
|
844
|
+
}, "strip", z.ZodTypeAny, {
|
|
837
845
|
type: "reader";
|
|
838
846
|
}, {
|
|
839
847
|
type: "reader";
|
|
840
|
-
}>,
|
|
841
|
-
type:
|
|
842
|
-
}, "strip",
|
|
848
|
+
}>, z.ZodObject<{
|
|
849
|
+
type: z.ZodLiteral<"display">;
|
|
850
|
+
}, "strip", z.ZodTypeAny, {
|
|
843
851
|
type: "display";
|
|
844
852
|
}, {
|
|
845
853
|
type: "display";
|
|
846
|
-
}>,
|
|
847
|
-
type:
|
|
848
|
-
}, "strip",
|
|
854
|
+
}>, z.ZodObject<{
|
|
855
|
+
type: z.ZodLiteral<"nvr-recorder">;
|
|
856
|
+
}, "strip", z.ZodTypeAny, {
|
|
849
857
|
type: "nvr-recorder";
|
|
850
858
|
}, {
|
|
851
859
|
type: "nvr-recorder";
|
|
852
|
-
}>,
|
|
853
|
-
type:
|
|
854
|
-
}, "strip",
|
|
860
|
+
}>, z.ZodObject<{
|
|
861
|
+
type: z.ZodLiteral<"nvr-exporter">;
|
|
862
|
+
}, "strip", z.ZodTypeAny, {
|
|
855
863
|
type: "nvr-exporter";
|
|
856
864
|
}, {
|
|
857
865
|
type: "nvr-exporter";
|
|
858
|
-
}>,
|
|
859
|
-
type:
|
|
860
|
-
}, "strip",
|
|
866
|
+
}>, z.ZodObject<{
|
|
867
|
+
type: z.ZodLiteral<"nvr-analytics-server">;
|
|
868
|
+
}, "strip", z.ZodTypeAny, {
|
|
861
869
|
type: "nvr-analytics-server";
|
|
862
870
|
}, {
|
|
863
871
|
type: "nvr-analytics-server";
|
|
864
|
-
}>,
|
|
865
|
-
type:
|
|
866
|
-
}, "strip",
|
|
872
|
+
}>, z.ZodObject<{
|
|
873
|
+
type: z.ZodLiteral<"system">;
|
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
|
867
875
|
type: "system";
|
|
868
876
|
}, {
|
|
869
877
|
type: "system";
|
|
870
|
-
}>]>>]>,
|
|
871
|
-
time:
|
|
872
|
-
height:
|
|
873
|
-
}, "strip",
|
|
878
|
+
}>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
|
|
879
|
+
time: z.ZodNumber;
|
|
880
|
+
height: z.ZodNumber;
|
|
881
|
+
}, "strip", z.ZodTypeAny, {
|
|
874
882
|
time: number;
|
|
875
883
|
height: number;
|
|
876
884
|
device: string | [string, string] | ({
|
|
@@ -1057,22 +1065,22 @@ export declare const requestSchemasByType: {
|
|
|
1057
1065
|
type: "system";
|
|
1058
1066
|
}));
|
|
1059
1067
|
}>;
|
|
1060
|
-
readonly "cctv:latest-frame":
|
|
1061
|
-
device:
|
|
1062
|
-
name:
|
|
1063
|
-
foreignRef:
|
|
1064
|
-
provider:
|
|
1065
|
-
providerMetadata:
|
|
1068
|
+
readonly "cctv:latest-frame": z.ZodObject<{
|
|
1069
|
+
device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
1070
|
+
name: z.ZodString;
|
|
1071
|
+
foreignRef: z.ZodString;
|
|
1072
|
+
provider: z.ZodString;
|
|
1073
|
+
providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
|
|
1066
1074
|
} & {
|
|
1067
|
-
presets:
|
|
1068
|
-
id:
|
|
1069
|
-
name:
|
|
1070
|
-
params:
|
|
1071
|
-
isDefault:
|
|
1072
|
-
assignedRef:
|
|
1073
|
-
createdOn:
|
|
1074
|
-
lastModifiedOn:
|
|
1075
|
-
}, "strip",
|
|
1075
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
1076
|
+
id: z.ZodString;
|
|
1077
|
+
name: z.ZodString;
|
|
1078
|
+
params: z.ZodUnknown;
|
|
1079
|
+
isDefault: z.ZodBoolean;
|
|
1080
|
+
assignedRef: z.ZodNullable<z.ZodString>;
|
|
1081
|
+
createdOn: z.ZodString;
|
|
1082
|
+
lastModifiedOn: z.ZodString;
|
|
1083
|
+
}, "strip", z.ZodTypeAny, {
|
|
1076
1084
|
name: string;
|
|
1077
1085
|
id: string;
|
|
1078
1086
|
isDefault: boolean;
|
|
@@ -1089,7 +1097,7 @@ export declare const requestSchemasByType: {
|
|
|
1089
1097
|
lastModifiedOn: string;
|
|
1090
1098
|
params?: unknown;
|
|
1091
1099
|
}>, "many">;
|
|
1092
|
-
}, "strip",
|
|
1100
|
+
}, "strip", z.ZodTypeAny, {
|
|
1093
1101
|
name: string;
|
|
1094
1102
|
foreignRef: string;
|
|
1095
1103
|
provider: string;
|
|
@@ -1121,39 +1129,39 @@ export declare const requestSchemasByType: {
|
|
|
1121
1129
|
lastModifiedOn: string;
|
|
1122
1130
|
params?: unknown;
|
|
1123
1131
|
}[];
|
|
1124
|
-
}>,
|
|
1125
|
-
type:
|
|
1126
|
-
}, "strip",
|
|
1132
|
+
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1133
|
+
type: z.ZodLiteral<"alarm">;
|
|
1134
|
+
}, "strip", z.ZodTypeAny, {
|
|
1127
1135
|
type: "alarm";
|
|
1128
1136
|
}, {
|
|
1129
1137
|
type: "alarm";
|
|
1130
|
-
}>,
|
|
1131
|
-
lensType:
|
|
1132
|
-
mountPoint:
|
|
1133
|
-
ptzCapable:
|
|
1134
|
-
ptzPanSpeed:
|
|
1135
|
-
ptzTiltSpeed:
|
|
1136
|
-
ptzZoomSpeed:
|
|
1137
|
-
panMin:
|
|
1138
|
-
panMax:
|
|
1139
|
-
tiltMin:
|
|
1140
|
-
tiltMax:
|
|
1141
|
-
zoomMin:
|
|
1142
|
-
zoomMax:
|
|
1143
|
-
recordingCapable:
|
|
1144
|
-
webrtcPlaybackSource:
|
|
1145
|
-
kind:
|
|
1146
|
-
}, "strip",
|
|
1138
|
+
}>, z.ZodObject<{
|
|
1139
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1140
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1141
|
+
ptzCapable: z.ZodBoolean;
|
|
1142
|
+
ptzPanSpeed: z.ZodNumber;
|
|
1143
|
+
ptzTiltSpeed: z.ZodNumber;
|
|
1144
|
+
ptzZoomSpeed: z.ZodNumber;
|
|
1145
|
+
panMin: z.ZodNumber;
|
|
1146
|
+
panMax: z.ZodNumber;
|
|
1147
|
+
tiltMin: z.ZodNumber;
|
|
1148
|
+
tiltMax: z.ZodNumber;
|
|
1149
|
+
zoomMin: z.ZodNumber;
|
|
1150
|
+
zoomMax: z.ZodNumber;
|
|
1151
|
+
recordingCapable: z.ZodBoolean;
|
|
1152
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1153
|
+
kind: z.ZodString;
|
|
1154
|
+
}, "strip", z.ZodTypeAny, {
|
|
1147
1155
|
kind: string;
|
|
1148
1156
|
}, {
|
|
1149
1157
|
kind: string;
|
|
1150
|
-
}>,
|
|
1151
|
-
streams:
|
|
1152
|
-
id:
|
|
1153
|
-
displayName:
|
|
1154
|
-
externalPlayerUrl:
|
|
1155
|
-
rtspUrl:
|
|
1156
|
-
}, "strip",
|
|
1158
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1159
|
+
streams: z.ZodArray<z.ZodObject<{
|
|
1160
|
+
id: z.ZodString;
|
|
1161
|
+
displayName: z.ZodString;
|
|
1162
|
+
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1163
|
+
rtspUrl: z.ZodString;
|
|
1164
|
+
}, "strip", z.ZodTypeAny, {
|
|
1157
1165
|
id: string;
|
|
1158
1166
|
displayName: string;
|
|
1159
1167
|
externalPlayerUrl: string | null;
|
|
@@ -1164,10 +1172,10 @@ export declare const requestSchemasByType: {
|
|
|
1164
1172
|
externalPlayerUrl: string | null;
|
|
1165
1173
|
rtspUrl: string;
|
|
1166
1174
|
}>, "many">;
|
|
1167
|
-
defaultStreamId:
|
|
1175
|
+
defaultStreamId: z.ZodString;
|
|
1168
1176
|
} & {
|
|
1169
|
-
type:
|
|
1170
|
-
}, "strip",
|
|
1177
|
+
type: z.ZodLiteral<"camera">;
|
|
1178
|
+
}, "strip", z.ZodTypeAny, {
|
|
1171
1179
|
type: "camera";
|
|
1172
1180
|
streams: {
|
|
1173
1181
|
id: string;
|
|
@@ -1217,14 +1225,14 @@ export declare const requestSchemasByType: {
|
|
|
1217
1225
|
kind: string;
|
|
1218
1226
|
} & Record<string, unknown>) | null;
|
|
1219
1227
|
defaultStreamId: string;
|
|
1220
|
-
}>,
|
|
1221
|
-
canReportOpenState:
|
|
1222
|
-
canReportLockState:
|
|
1223
|
-
canControlLock:
|
|
1224
|
-
canRelease:
|
|
1228
|
+
}>, z.ZodObject<{
|
|
1229
|
+
canReportOpenState: z.ZodBoolean;
|
|
1230
|
+
canReportLockState: z.ZodBoolean;
|
|
1231
|
+
canControlLock: z.ZodBoolean;
|
|
1232
|
+
canRelease: z.ZodBoolean;
|
|
1225
1233
|
} & {
|
|
1226
|
-
type:
|
|
1227
|
-
}, "strip",
|
|
1234
|
+
type: z.ZodLiteral<"door">;
|
|
1235
|
+
}, "strip", z.ZodTypeAny, {
|
|
1228
1236
|
type: "door";
|
|
1229
1237
|
canReportOpenState: boolean;
|
|
1230
1238
|
canReportLockState: boolean;
|
|
@@ -1236,12 +1244,12 @@ export declare const requestSchemasByType: {
|
|
|
1236
1244
|
canReportLockState: boolean;
|
|
1237
1245
|
canControlLock: boolean;
|
|
1238
1246
|
canRelease: boolean;
|
|
1239
|
-
}>,
|
|
1240
|
-
inputs:
|
|
1241
|
-
outputs:
|
|
1247
|
+
}>, z.ZodObject<{
|
|
1248
|
+
inputs: z.ZodArray<z.ZodString, "many">;
|
|
1249
|
+
outputs: z.ZodArray<z.ZodString, "many">;
|
|
1242
1250
|
} & {
|
|
1243
|
-
type:
|
|
1244
|
-
}, "strip",
|
|
1251
|
+
type: z.ZodLiteral<"io-board">;
|
|
1252
|
+
}, "strip", z.ZodTypeAny, {
|
|
1245
1253
|
type: "io-board";
|
|
1246
1254
|
inputs: string[];
|
|
1247
1255
|
outputs: string[];
|
|
@@ -1249,33 +1257,33 @@ export declare const requestSchemasByType: {
|
|
|
1249
1257
|
type: "io-board";
|
|
1250
1258
|
inputs: string[];
|
|
1251
1259
|
outputs: string[];
|
|
1252
|
-
}>,
|
|
1253
|
-
type:
|
|
1254
|
-
}, "strip",
|
|
1260
|
+
}>, z.ZodObject<{
|
|
1261
|
+
type: z.ZodLiteral<"camera-lift">;
|
|
1262
|
+
}, "strip", z.ZodTypeAny, {
|
|
1255
1263
|
type: "camera-lift";
|
|
1256
1264
|
}, {
|
|
1257
1265
|
type: "camera-lift";
|
|
1258
|
-
}>,
|
|
1259
|
-
type:
|
|
1260
|
-
}, "strip",
|
|
1266
|
+
}>, z.ZodObject<{
|
|
1267
|
+
type: z.ZodLiteral<"motion-sensor">;
|
|
1268
|
+
}, "strip", z.ZodTypeAny, {
|
|
1261
1269
|
type: "motion-sensor";
|
|
1262
1270
|
}, {
|
|
1263
1271
|
type: "motion-sensor";
|
|
1264
|
-
}>,
|
|
1265
|
-
type:
|
|
1266
|
-
}, "strip",
|
|
1272
|
+
}>, z.ZodObject<{
|
|
1273
|
+
type: z.ZodLiteral<"panic-button">;
|
|
1274
|
+
}, "strip", z.ZodTypeAny, {
|
|
1267
1275
|
type: "panic-button";
|
|
1268
1276
|
}, {
|
|
1269
1277
|
type: "panic-button";
|
|
1270
|
-
}>,
|
|
1271
|
-
sipUri:
|
|
1272
|
-
sipUser:
|
|
1273
|
-
sipPassword:
|
|
1274
|
-
sipRealm:
|
|
1275
|
-
remoteExtension:
|
|
1278
|
+
}>, z.ZodObject<{
|
|
1279
|
+
sipUri: z.ZodString;
|
|
1280
|
+
sipUser: z.ZodString;
|
|
1281
|
+
sipPassword: z.ZodString;
|
|
1282
|
+
sipRealm: z.ZodString;
|
|
1283
|
+
remoteExtension: z.ZodString;
|
|
1276
1284
|
} & {
|
|
1277
|
-
type:
|
|
1278
|
-
}, "strip",
|
|
1285
|
+
type: z.ZodLiteral<"intercom-terminal">;
|
|
1286
|
+
}, "strip", z.ZodTypeAny, {
|
|
1279
1287
|
type: "intercom-terminal";
|
|
1280
1288
|
sipUri: string;
|
|
1281
1289
|
sipUser: string;
|
|
@@ -1289,80 +1297,80 @@ export declare const requestSchemasByType: {
|
|
|
1289
1297
|
sipPassword: string;
|
|
1290
1298
|
sipRealm: string;
|
|
1291
1299
|
remoteExtension: string;
|
|
1292
|
-
}>,
|
|
1293
|
-
sipWsUrl:
|
|
1300
|
+
}>, z.ZodObject<{
|
|
1301
|
+
sipWsUrl: z.ZodString;
|
|
1294
1302
|
} & {
|
|
1295
|
-
type:
|
|
1296
|
-
}, "strip",
|
|
1303
|
+
type: z.ZodLiteral<"pbx">;
|
|
1304
|
+
}, "strip", z.ZodTypeAny, {
|
|
1297
1305
|
type: "pbx";
|
|
1298
1306
|
sipWsUrl: string;
|
|
1299
1307
|
}, {
|
|
1300
1308
|
type: "pbx";
|
|
1301
1309
|
sipWsUrl: string;
|
|
1302
|
-
}>,
|
|
1303
|
-
type:
|
|
1304
|
-
}, "strip",
|
|
1310
|
+
}>, z.ZodObject<{
|
|
1311
|
+
type: z.ZodLiteral<"server">;
|
|
1312
|
+
}, "strip", z.ZodTypeAny, {
|
|
1305
1313
|
type: "server";
|
|
1306
1314
|
}, {
|
|
1307
1315
|
type: "server";
|
|
1308
|
-
}>,
|
|
1309
|
-
type:
|
|
1310
|
-
}, "strip",
|
|
1316
|
+
}>, z.ZodObject<{
|
|
1317
|
+
type: z.ZodLiteral<"intercom-operator">;
|
|
1318
|
+
}, "strip", z.ZodTypeAny, {
|
|
1311
1319
|
type: "intercom-operator";
|
|
1312
1320
|
}, {
|
|
1313
1321
|
type: "intercom-operator";
|
|
1314
|
-
}>,
|
|
1315
|
-
type:
|
|
1316
|
-
}, "strip",
|
|
1322
|
+
}>, z.ZodObject<{
|
|
1323
|
+
type: z.ZodLiteral<"device-gateway">;
|
|
1324
|
+
}, "strip", z.ZodTypeAny, {
|
|
1317
1325
|
type: "device-gateway";
|
|
1318
1326
|
}, {
|
|
1319
1327
|
type: "device-gateway";
|
|
1320
|
-
}>,
|
|
1321
|
-
type:
|
|
1322
|
-
}, "strip",
|
|
1328
|
+
}>, z.ZodObject<{
|
|
1329
|
+
type: z.ZodLiteral<"presence-tracker">;
|
|
1330
|
+
}, "strip", z.ZodTypeAny, {
|
|
1323
1331
|
type: "presence-tracker";
|
|
1324
1332
|
}, {
|
|
1325
1333
|
type: "presence-tracker";
|
|
1326
|
-
}>,
|
|
1327
|
-
type:
|
|
1328
|
-
}, "strip",
|
|
1334
|
+
}>, z.ZodObject<{
|
|
1335
|
+
type: z.ZodLiteral<"reader">;
|
|
1336
|
+
}, "strip", z.ZodTypeAny, {
|
|
1329
1337
|
type: "reader";
|
|
1330
1338
|
}, {
|
|
1331
1339
|
type: "reader";
|
|
1332
|
-
}>,
|
|
1333
|
-
type:
|
|
1334
|
-
}, "strip",
|
|
1340
|
+
}>, z.ZodObject<{
|
|
1341
|
+
type: z.ZodLiteral<"display">;
|
|
1342
|
+
}, "strip", z.ZodTypeAny, {
|
|
1335
1343
|
type: "display";
|
|
1336
1344
|
}, {
|
|
1337
1345
|
type: "display";
|
|
1338
|
-
}>,
|
|
1339
|
-
type:
|
|
1340
|
-
}, "strip",
|
|
1346
|
+
}>, z.ZodObject<{
|
|
1347
|
+
type: z.ZodLiteral<"nvr-recorder">;
|
|
1348
|
+
}, "strip", z.ZodTypeAny, {
|
|
1341
1349
|
type: "nvr-recorder";
|
|
1342
1350
|
}, {
|
|
1343
1351
|
type: "nvr-recorder";
|
|
1344
|
-
}>,
|
|
1345
|
-
type:
|
|
1346
|
-
}, "strip",
|
|
1352
|
+
}>, z.ZodObject<{
|
|
1353
|
+
type: z.ZodLiteral<"nvr-exporter">;
|
|
1354
|
+
}, "strip", z.ZodTypeAny, {
|
|
1347
1355
|
type: "nvr-exporter";
|
|
1348
1356
|
}, {
|
|
1349
1357
|
type: "nvr-exporter";
|
|
1350
|
-
}>,
|
|
1351
|
-
type:
|
|
1352
|
-
}, "strip",
|
|
1358
|
+
}>, z.ZodObject<{
|
|
1359
|
+
type: z.ZodLiteral<"nvr-analytics-server">;
|
|
1360
|
+
}, "strip", z.ZodTypeAny, {
|
|
1353
1361
|
type: "nvr-analytics-server";
|
|
1354
1362
|
}, {
|
|
1355
1363
|
type: "nvr-analytics-server";
|
|
1356
|
-
}>,
|
|
1357
|
-
type:
|
|
1358
|
-
}, "strip",
|
|
1364
|
+
}>, z.ZodObject<{
|
|
1365
|
+
type: z.ZodLiteral<"system">;
|
|
1366
|
+
}, "strip", z.ZodTypeAny, {
|
|
1359
1367
|
type: "system";
|
|
1360
1368
|
}, {
|
|
1361
1369
|
type: "system";
|
|
1362
|
-
}>]>>]>,
|
|
1363
|
-
width:
|
|
1364
|
-
height:
|
|
1365
|
-
}, "strip",
|
|
1370
|
+
}>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
|
|
1371
|
+
width: z.ZodNumber;
|
|
1372
|
+
height: z.ZodNumber;
|
|
1373
|
+
}, "strip", z.ZodTypeAny, {
|
|
1366
1374
|
height: number;
|
|
1367
1375
|
width: number;
|
|
1368
1376
|
device: string | [string, string] | ({
|
|
@@ -1551,16 +1559,17 @@ export declare const requestSchemasByType: {
|
|
|
1551
1559
|
}>;
|
|
1552
1560
|
};
|
|
1553
1561
|
export declare const responseSchemasByType: {
|
|
1554
|
-
readonly "
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1562
|
+
readonly "device:event-caps": z.ZodArray<z.ZodString, "many">;
|
|
1563
|
+
readonly "cctv:rtsp-data": z.ZodObject<{
|
|
1564
|
+
cameraName: z.ZodString;
|
|
1565
|
+
username: z.ZodString;
|
|
1566
|
+
password: z.ZodString;
|
|
1567
|
+
streams: z.ZodArray<z.ZodObject<{
|
|
1568
|
+
streamId: z.ZodString;
|
|
1569
|
+
displayName: z.ZodString;
|
|
1570
|
+
resolution: z.ZodNullable<z.ZodString>;
|
|
1571
|
+
rtspUrl: z.ZodString;
|
|
1572
|
+
}, "strip", z.ZodTypeAny, {
|
|
1564
1573
|
resolution: string | null;
|
|
1565
1574
|
displayName: string;
|
|
1566
1575
|
rtspUrl: string;
|
|
@@ -1571,7 +1580,7 @@ export declare const responseSchemasByType: {
|
|
|
1571
1580
|
rtspUrl: string;
|
|
1572
1581
|
streamId: string;
|
|
1573
1582
|
}>, "many">;
|
|
1574
|
-
}, "strip",
|
|
1583
|
+
}, "strip", z.ZodTypeAny, {
|
|
1575
1584
|
streams: {
|
|
1576
1585
|
resolution: string | null;
|
|
1577
1586
|
displayName: string;
|
|
@@ -1592,16 +1601,16 @@ export declare const responseSchemasByType: {
|
|
|
1592
1601
|
password: string;
|
|
1593
1602
|
cameraName: string;
|
|
1594
1603
|
}>;
|
|
1595
|
-
readonly "cctv:media-search":
|
|
1596
|
-
relevance:
|
|
1597
|
-
providerAssignedRef:
|
|
1598
|
-
foreignRef:
|
|
1599
|
-
provider:
|
|
1600
|
-
probability:
|
|
1601
|
-
objectKind:
|
|
1602
|
-
startTime:
|
|
1603
|
-
endTime:
|
|
1604
|
-
}, "strip",
|
|
1604
|
+
readonly "cctv:media-search": z.ZodArray<z.ZodObject<{
|
|
1605
|
+
relevance: z.ZodNumber;
|
|
1606
|
+
providerAssignedRef: z.ZodString;
|
|
1607
|
+
foreignRef: z.ZodString;
|
|
1608
|
+
provider: z.ZodString;
|
|
1609
|
+
probability: z.ZodNumber;
|
|
1610
|
+
objectKind: z.ZodString;
|
|
1611
|
+
startTime: z.ZodNumber;
|
|
1612
|
+
endTime: z.ZodNullable<z.ZodNumber>;
|
|
1613
|
+
}, "strip", z.ZodTypeAny, {
|
|
1605
1614
|
endTime: number | null;
|
|
1606
1615
|
startTime: number;
|
|
1607
1616
|
foreignRef: string;
|
|
@@ -1620,52 +1629,53 @@ export declare const responseSchemasByType: {
|
|
|
1620
1629
|
providerAssignedRef: string;
|
|
1621
1630
|
relevance: number;
|
|
1622
1631
|
}>, "many">;
|
|
1623
|
-
readonly "cctv:scene-preview-clip":
|
|
1624
|
-
mimeType:
|
|
1625
|
-
data:
|
|
1626
|
-
}, "strip",
|
|
1632
|
+
readonly "cctv:scene-preview-clip": z.ZodNullable<z.ZodObject<{
|
|
1633
|
+
mimeType: z.ZodString;
|
|
1634
|
+
data: z.ZodString;
|
|
1635
|
+
}, "strip", z.ZodTypeAny, {
|
|
1627
1636
|
data: string;
|
|
1628
1637
|
mimeType: string;
|
|
1629
1638
|
}, {
|
|
1630
1639
|
data: string;
|
|
1631
1640
|
mimeType: string;
|
|
1632
1641
|
}>>;
|
|
1633
|
-
readonly "cctv:object-snapshot":
|
|
1634
|
-
mimeType:
|
|
1635
|
-
data:
|
|
1636
|
-
}, "strip",
|
|
1642
|
+
readonly "cctv:object-snapshot": z.ZodNullable<z.ZodObject<{
|
|
1643
|
+
mimeType: z.ZodString;
|
|
1644
|
+
data: z.ZodString;
|
|
1645
|
+
}, "strip", z.ZodTypeAny, {
|
|
1637
1646
|
data: string;
|
|
1638
1647
|
mimeType: string;
|
|
1639
1648
|
}, {
|
|
1640
1649
|
data: string;
|
|
1641
1650
|
mimeType: string;
|
|
1642
1651
|
}>>;
|
|
1643
|
-
readonly "cctv:object-thumbnail":
|
|
1644
|
-
mimeType:
|
|
1645
|
-
data:
|
|
1646
|
-
}, "strip",
|
|
1652
|
+
readonly "cctv:object-thumbnail": z.ZodNullable<z.ZodObject<{
|
|
1653
|
+
mimeType: z.ZodString;
|
|
1654
|
+
data: z.ZodString;
|
|
1655
|
+
}, "strip", z.ZodTypeAny, {
|
|
1647
1656
|
data: string;
|
|
1648
1657
|
mimeType: string;
|
|
1649
1658
|
}, {
|
|
1650
1659
|
data: string;
|
|
1651
1660
|
mimeType: string;
|
|
1652
1661
|
}>>;
|
|
1653
|
-
readonly "cctv:
|
|
1654
|
-
|
|
1655
|
-
|
|
1662
|
+
readonly "cctv:object-labels": z.ZodArray<z.ZodString, "many">;
|
|
1663
|
+
readonly "cctv:get-export-link": z.ZodObject<{
|
|
1664
|
+
exportLink: z.ZodString;
|
|
1665
|
+
}, "strip", z.ZodTypeAny, {
|
|
1656
1666
|
exportLink: string;
|
|
1657
1667
|
}, {
|
|
1658
1668
|
exportLink: string;
|
|
1659
1669
|
}>;
|
|
1660
|
-
readonly "cctv:get-exports":
|
|
1661
|
-
name:
|
|
1662
|
-
endTime:
|
|
1663
|
-
startTime:
|
|
1664
|
-
id:
|
|
1665
|
-
status:
|
|
1666
|
-
size:
|
|
1667
|
-
expires:
|
|
1668
|
-
}, "strip",
|
|
1670
|
+
readonly "cctv:get-exports": z.ZodArray<z.ZodObject<{
|
|
1671
|
+
name: z.ZodString;
|
|
1672
|
+
endTime: z.ZodNumber;
|
|
1673
|
+
startTime: z.ZodNumber;
|
|
1674
|
+
id: z.ZodString;
|
|
1675
|
+
status: z.ZodString;
|
|
1676
|
+
size: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
expires: z.ZodOptional<z.ZodNumber>;
|
|
1678
|
+
}, "strip", z.ZodTypeAny, {
|
|
1669
1679
|
name: string;
|
|
1670
1680
|
endTime: number;
|
|
1671
1681
|
startTime: number;
|
|
@@ -1682,12 +1692,12 @@ export declare const responseSchemasByType: {
|
|
|
1682
1692
|
size?: string | undefined;
|
|
1683
1693
|
expires?: number | undefined;
|
|
1684
1694
|
}>, "many">;
|
|
1685
|
-
readonly "cctv:recordings-by-time-range":
|
|
1686
|
-
start:
|
|
1687
|
-
end:
|
|
1688
|
-
motion:
|
|
1689
|
-
objects:
|
|
1690
|
-
}, "strip",
|
|
1695
|
+
readonly "cctv:recordings-by-time-range": z.ZodArray<z.ZodObject<{
|
|
1696
|
+
start: z.ZodNumber;
|
|
1697
|
+
end: z.ZodNumber;
|
|
1698
|
+
motion: z.ZodOptional<z.ZodNumber>;
|
|
1699
|
+
objects: z.ZodOptional<z.ZodNumber>;
|
|
1700
|
+
}, "strip", z.ZodTypeAny, {
|
|
1691
1701
|
end: number;
|
|
1692
1702
|
start: number;
|
|
1693
1703
|
motion?: number | undefined;
|
|
@@ -1698,20 +1708,20 @@ export declare const responseSchemasByType: {
|
|
|
1698
1708
|
motion?: number | undefined;
|
|
1699
1709
|
objects?: number | undefined;
|
|
1700
1710
|
}>, "many">;
|
|
1701
|
-
readonly "cctv:preview-image":
|
|
1702
|
-
mimeType:
|
|
1703
|
-
data:
|
|
1704
|
-
}, "strip",
|
|
1711
|
+
readonly "cctv:preview-image": z.ZodNullable<z.ZodObject<{
|
|
1712
|
+
mimeType: z.ZodString;
|
|
1713
|
+
data: z.ZodString;
|
|
1714
|
+
}, "strip", z.ZodTypeAny, {
|
|
1705
1715
|
data: string;
|
|
1706
1716
|
mimeType: string;
|
|
1707
1717
|
}, {
|
|
1708
1718
|
data: string;
|
|
1709
1719
|
mimeType: string;
|
|
1710
1720
|
}>>;
|
|
1711
|
-
readonly "cctv:latest-frame":
|
|
1712
|
-
mimeType:
|
|
1713
|
-
data:
|
|
1714
|
-
}, "strip",
|
|
1721
|
+
readonly "cctv:latest-frame": z.ZodNullable<z.ZodObject<{
|
|
1722
|
+
mimeType: z.ZodString;
|
|
1723
|
+
data: z.ZodString;
|
|
1724
|
+
}, "strip", z.ZodTypeAny, {
|
|
1715
1725
|
data: string;
|
|
1716
1726
|
mimeType: string;
|
|
1717
1727
|
}, {
|
|
@@ -1719,8 +1729,12 @@ export declare const responseSchemasByType: {
|
|
|
1719
1729
|
mimeType: string;
|
|
1720
1730
|
}>>;
|
|
1721
1731
|
};
|
|
1722
|
-
export type QueryRequestMap = NvrAnalyticsQueryRequestMap & NvrRecorderQueryRequestMap & CameraQueryRequestMap & NvrExporterQueryRequestMap
|
|
1723
|
-
|
|
1732
|
+
export type QueryRequestMap = NvrAnalyticsQueryRequestMap & NvrRecorderQueryRequestMap & CameraQueryRequestMap & NvrExporterQueryRequestMap & {
|
|
1733
|
+
[QUERY_EVENT_CAPS]: EventCapsQueryArgs;
|
|
1734
|
+
};
|
|
1735
|
+
export type QueryResponseMap = NvrAnalyticsQueryResponseMap & NvrRecorderQueryResponseMap & CameraQueryResponseMap & NvrExporterQueryResponseMap & {
|
|
1736
|
+
[QUERY_EVENT_CAPS]: EventCapsQueryResponse;
|
|
1737
|
+
};
|
|
1724
1738
|
export type QueryType = keyof QueryRequestMap;
|
|
1725
1739
|
export type RequestForQuery<T extends QueryType> = QueryRequestMap[T];
|
|
1726
1740
|
export type ResponseForQuery<T extends QueryType> = QueryResponseMap[T];
|