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