@awarevue/api-types 2.0.53 → 2.0.54
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/api/agent-protocol/protocol.d.ts +853 -840
- package/dist/api/agent-protocol/protocol.js +14 -1
- package/dist/api/commands/all.d.ts +224 -224
- package/dist/api/commands/camera.d.ts +16 -16
- package/dist/api/commands/display.d.ts +48 -48
- package/dist/api/commands/nvr-exporter.d.ts +194 -194
- package/dist/api/commands/server.d.ts +202 -202
- package/dist/api/events/all.d.ts +30 -30
- package/dist/api/events/camera.d.ts +42 -42
- package/dist/api/events/door.d.ts +4 -4
- package/dist/api/events/intercom-terminal.d.ts +8 -8
- package/dist/api/events/io-board.d.ts +4 -4
- package/dist/api/queries/all.d.ts +225 -225
- package/dist/api/queries/camera.d.ts +8 -8
- package/dist/api/queries/nvr-analytics-server.d.ts +36 -36
- package/dist/api/queries/nvr-exporter.d.ts +18 -18
- package/dist/api/queries/nvr-recorder.d.ts +398 -398
- package/dist/api/rest/agreement.d.ts +5 -5
- package/dist/api/rest/automation.d.ts +46 -46
- package/dist/api/rest/bookmarks.d.ts +12 -12
- package/dist/api/rest/custom-field.d.ts +5 -5
- package/dist/api/rest/device.d.ts +6 -6
- package/dist/api/rest/io-device.d.ts +14 -14
- package/dist/api/rest/layout.d.ts +16 -16
- package/dist/api/rest/macros.d.ts +13 -13
- package/dist/api/rest/media.d.ts +16 -16
- package/dist/api/rest/person.d.ts +12 -12
- package/dist/api/rest/query.d.ts +2 -2
- package/dist/api/rest/schedule.d.ts +24 -24
- package/dist/api/rest/security-level.d.ts +10 -10
- package/dist/api/rest/template.d.ts +4 -4
- package/dist/api/rest/token-conversion.d.ts +5 -5
- package/dist/api/rest/user.d.ts +17 -17
- package/dist/api/rest/view.d.ts +44 -44
- package/dist/api/ws/device-communication.d.ts +6 -6
- package/dist/api/ws/notifications.d.ts +4 -4
- package/dist/api/ws/progress.d.ts +15 -15
- package/dist/api/ws/web-rtc-signaling.d.ts +2 -2
- package/dist/objects/access-rule.d.ts +2 -2
- package/dist/objects/agent-metadata.d.ts +16 -16
- package/dist/objects/agreement.d.ts +2 -2
- package/dist/objects/api-key.d.ts +2 -2
- package/dist/objects/automation-rule.d.ts +34 -34
- package/dist/objects/bookmark.d.ts +8 -8
- package/dist/objects/credential.d.ts +2 -2
- package/dist/objects/custom-field.d.ts +2 -2
- package/dist/objects/device/any-device.d.ts +205 -205
- package/dist/objects/device/camera.d.ts +26 -26
- package/dist/objects/device/device-import.d.ts +277 -277
- package/dist/objects/device/door.d.ts +2 -2
- package/dist/objects/device/intercom-terminal.d.ts +2 -2
- package/dist/objects/layout.d.ts +16 -16
- package/dist/objects/macro.d.ts +14 -14
- package/dist/objects/notification.d.ts +4 -4
- package/dist/objects/person-presence.d.ts +12 -12
- package/dist/objects/person.d.ts +14 -14
- package/dist/objects/role.d.ts +2 -2
- package/dist/objects/schedule.d.ts +36 -36
- package/dist/objects/security-level.d.ts +6 -6
- package/dist/objects/template.d.ts +2 -2
- package/dist/objects/token-conversion.d.ts +2 -2
- package/dist/objects/user.d.ts +4 -4
- package/dist/objects/view.d.ts +58 -58
- package/dist/objects/zone.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +60 -60
- package/package.json +1 -1
|
@@ -22,20 +22,20 @@ export declare const requestSchemasByType: {
|
|
|
22
22
|
timeTo: z.ZodOptional<z.ZodNumber>;
|
|
23
23
|
sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">, z.ZodLiteral<"relevance">]>>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
label?: string[] | undefined;
|
|
26
|
-
q?: string | undefined;
|
|
27
25
|
devices?: any[] | undefined;
|
|
26
|
+
label?: string[] | undefined;
|
|
28
27
|
limit?: number | undefined;
|
|
28
|
+
q?: string | undefined;
|
|
29
29
|
timeFrom?: number | undefined;
|
|
30
30
|
timeTo?: number | undefined;
|
|
31
31
|
similarTo?: string | undefined;
|
|
32
32
|
subLabel?: string[] | undefined;
|
|
33
33
|
sortBy?: "time_asc" | "time_desc" | "relevance" | undefined;
|
|
34
34
|
}, {
|
|
35
|
-
label?: string[] | undefined;
|
|
36
|
-
q?: string | undefined;
|
|
37
35
|
devices?: any[] | undefined;
|
|
36
|
+
label?: string[] | undefined;
|
|
38
37
|
limit?: number | undefined;
|
|
38
|
+
q?: string | undefined;
|
|
39
39
|
timeFrom?: number | undefined;
|
|
40
40
|
timeTo?: number | undefined;
|
|
41
41
|
similarTo?: string | undefined;
|
|
@@ -156,16 +156,16 @@ export declare const requestSchemasByType: {
|
|
|
156
156
|
createdOn: z.ZodString;
|
|
157
157
|
lastModifiedOn: z.ZodString;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
name: string;
|
|
160
159
|
id: string;
|
|
160
|
+
name: string;
|
|
161
161
|
createdOn: string;
|
|
162
162
|
lastModifiedOn: string;
|
|
163
163
|
isDefault: boolean;
|
|
164
164
|
assignedRef: string | null;
|
|
165
165
|
params?: unknown;
|
|
166
166
|
}, {
|
|
167
|
-
name: string;
|
|
168
167
|
id: string;
|
|
168
|
+
name: string;
|
|
169
169
|
createdOn: string;
|
|
170
170
|
lastModifiedOn: string;
|
|
171
171
|
isDefault: boolean;
|
|
@@ -176,8 +176,8 @@ export declare const requestSchemasByType: {
|
|
|
176
176
|
name: string;
|
|
177
177
|
foreignRef: string;
|
|
178
178
|
presets: {
|
|
179
|
-
name: string;
|
|
180
179
|
id: string;
|
|
180
|
+
name: string;
|
|
181
181
|
createdOn: string;
|
|
182
182
|
lastModifiedOn: string;
|
|
183
183
|
isDefault: boolean;
|
|
@@ -192,8 +192,8 @@ export declare const requestSchemasByType: {
|
|
|
192
192
|
name: string;
|
|
193
193
|
foreignRef: string;
|
|
194
194
|
presets: {
|
|
195
|
-
name: string;
|
|
196
195
|
id: string;
|
|
196
|
+
name: string;
|
|
197
197
|
createdOn: string;
|
|
198
198
|
lastModifiedOn: string;
|
|
199
199
|
isDefault: boolean;
|
|
@@ -240,12 +240,12 @@ export declare const requestSchemasByType: {
|
|
|
240
240
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
242
|
id: string;
|
|
243
|
-
height: number | null;
|
|
244
|
-
width: number | null;
|
|
245
243
|
displayName: string;
|
|
246
244
|
externalPlayerUrl: string | null;
|
|
247
245
|
rtspUrl: string | null;
|
|
248
246
|
recordingCapable: boolean;
|
|
247
|
+
width: number | null;
|
|
248
|
+
height: number | null;
|
|
249
249
|
lensType: "flat" | "fisheye";
|
|
250
250
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
251
251
|
webrtcPlaybackSource: ({
|
|
@@ -253,12 +253,12 @@ export declare const requestSchemasByType: {
|
|
|
253
253
|
} & Record<string, unknown>) | null;
|
|
254
254
|
}, {
|
|
255
255
|
id: string;
|
|
256
|
-
height: number | null;
|
|
257
|
-
width: number | null;
|
|
258
256
|
displayName: string;
|
|
259
257
|
externalPlayerUrl: string | null;
|
|
260
258
|
rtspUrl: string | null;
|
|
261
259
|
recordingCapable: boolean;
|
|
260
|
+
width: number | null;
|
|
261
|
+
height: number | null;
|
|
262
262
|
lensType: "flat" | "fisheye";
|
|
263
263
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
264
264
|
webrtcPlaybackSource: ({
|
|
@@ -271,20 +271,34 @@ export declare const requestSchemasByType: {
|
|
|
271
271
|
type: z.ZodLiteral<"camera">;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
273
|
type: "camera";
|
|
274
|
+
ptzCapable: boolean;
|
|
275
|
+
ptzPanSpeed: number;
|
|
276
|
+
ptzTiltSpeed: number;
|
|
277
|
+
ptzZoomSpeed: number;
|
|
278
|
+
panMin: number;
|
|
279
|
+
panMax: number;
|
|
280
|
+
tiltMin: number;
|
|
281
|
+
tiltMax: number;
|
|
282
|
+
zoomMin: number;
|
|
283
|
+
zoomMax: number;
|
|
274
284
|
streams: {
|
|
275
285
|
id: string;
|
|
276
|
-
height: number | null;
|
|
277
|
-
width: number | null;
|
|
278
286
|
displayName: string;
|
|
279
287
|
externalPlayerUrl: string | null;
|
|
280
288
|
rtspUrl: string | null;
|
|
281
289
|
recordingCapable: boolean;
|
|
290
|
+
width: number | null;
|
|
291
|
+
height: number | null;
|
|
282
292
|
lensType: "flat" | "fisheye";
|
|
283
293
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
284
294
|
webrtcPlaybackSource: ({
|
|
285
295
|
kind: string;
|
|
286
296
|
} & Record<string, unknown>) | null;
|
|
287
297
|
}[];
|
|
298
|
+
defaultStreamId: string;
|
|
299
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
300
|
+
}, {
|
|
301
|
+
type: "camera";
|
|
288
302
|
ptzCapable: boolean;
|
|
289
303
|
ptzPanSpeed: number;
|
|
290
304
|
ptzTiltSpeed: number;
|
|
@@ -295,36 +309,22 @@ export declare const requestSchemasByType: {
|
|
|
295
309
|
tiltMax: number;
|
|
296
310
|
zoomMin: number;
|
|
297
311
|
zoomMax: number;
|
|
298
|
-
defaultStreamId: string;
|
|
299
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
300
|
-
}, {
|
|
301
|
-
type: "camera";
|
|
302
312
|
streams: {
|
|
303
313
|
id: string;
|
|
304
|
-
height: number | null;
|
|
305
|
-
width: number | null;
|
|
306
314
|
displayName: string;
|
|
307
315
|
externalPlayerUrl: string | null;
|
|
308
316
|
rtspUrl: string | null;
|
|
309
317
|
recordingCapable: boolean;
|
|
318
|
+
width: number | null;
|
|
319
|
+
height: number | null;
|
|
310
320
|
lensType: "flat" | "fisheye";
|
|
311
321
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
312
322
|
webrtcPlaybackSource: ({
|
|
313
323
|
kind: string;
|
|
314
324
|
} & Record<string, unknown>) | null;
|
|
315
325
|
}[];
|
|
316
|
-
ptzCapable: boolean;
|
|
317
|
-
ptzPanSpeed: number;
|
|
318
|
-
ptzTiltSpeed: number;
|
|
319
|
-
ptzZoomSpeed: number;
|
|
320
|
-
panMin: number;
|
|
321
|
-
panMax: number;
|
|
322
|
-
tiltMin: number;
|
|
323
|
-
tiltMax: number;
|
|
324
|
-
zoomMin: number;
|
|
325
|
-
zoomMax: number;
|
|
326
326
|
defaultStreamId: string;
|
|
327
|
-
streamNaming: "
|
|
327
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
328
328
|
}>, z.ZodObject<{
|
|
329
329
|
canReportOpenState: z.ZodBoolean;
|
|
330
330
|
canReportLockState: z.ZodBoolean;
|
|
@@ -339,14 +339,14 @@ export declare const requestSchemasByType: {
|
|
|
339
339
|
canReportLockState: boolean;
|
|
340
340
|
canControlLock: boolean;
|
|
341
341
|
canRelease: boolean;
|
|
342
|
-
style?: "
|
|
342
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
343
343
|
}, {
|
|
344
344
|
type: "door";
|
|
345
345
|
canReportOpenState: boolean;
|
|
346
346
|
canReportLockState: boolean;
|
|
347
347
|
canControlLock: boolean;
|
|
348
348
|
canRelease: boolean;
|
|
349
|
-
style?: "
|
|
349
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
350
350
|
}>, z.ZodObject<{
|
|
351
351
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
352
352
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -474,12 +474,12 @@ export declare const requestSchemasByType: {
|
|
|
474
474
|
timeFrom: z.ZodNumber;
|
|
475
475
|
timeTo: z.ZodNumber;
|
|
476
476
|
}, "strip", z.ZodTypeAny, {
|
|
477
|
-
device: string |
|
|
477
|
+
device: string | ({
|
|
478
478
|
name: string;
|
|
479
479
|
foreignRef: string;
|
|
480
480
|
presets: {
|
|
481
|
-
name: string;
|
|
482
481
|
id: string;
|
|
482
|
+
name: string;
|
|
483
483
|
createdOn: string;
|
|
484
484
|
lastModifiedOn: string;
|
|
485
485
|
isDefault: boolean;
|
|
@@ -494,39 +494,39 @@ export declare const requestSchemasByType: {
|
|
|
494
494
|
type: "alarm";
|
|
495
495
|
} | {
|
|
496
496
|
type: "camera";
|
|
497
|
+
ptzCapable: boolean;
|
|
498
|
+
ptzPanSpeed: number;
|
|
499
|
+
ptzTiltSpeed: number;
|
|
500
|
+
ptzZoomSpeed: number;
|
|
501
|
+
panMin: number;
|
|
502
|
+
panMax: number;
|
|
503
|
+
tiltMin: number;
|
|
504
|
+
tiltMax: number;
|
|
505
|
+
zoomMin: number;
|
|
506
|
+
zoomMax: number;
|
|
497
507
|
streams: {
|
|
498
508
|
id: string;
|
|
499
|
-
height: number | null;
|
|
500
|
-
width: number | null;
|
|
501
509
|
displayName: string;
|
|
502
510
|
externalPlayerUrl: string | null;
|
|
503
511
|
rtspUrl: string | null;
|
|
504
512
|
recordingCapable: boolean;
|
|
513
|
+
width: number | null;
|
|
514
|
+
height: number | null;
|
|
505
515
|
lensType: "flat" | "fisheye";
|
|
506
516
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
507
517
|
webrtcPlaybackSource: ({
|
|
508
518
|
kind: string;
|
|
509
519
|
} & Record<string, unknown>) | null;
|
|
510
520
|
}[];
|
|
511
|
-
ptzCapable: boolean;
|
|
512
|
-
ptzPanSpeed: number;
|
|
513
|
-
ptzTiltSpeed: number;
|
|
514
|
-
ptzZoomSpeed: number;
|
|
515
|
-
panMin: number;
|
|
516
|
-
panMax: number;
|
|
517
|
-
tiltMin: number;
|
|
518
|
-
tiltMax: number;
|
|
519
|
-
zoomMin: number;
|
|
520
|
-
zoomMax: number;
|
|
521
521
|
defaultStreamId: string;
|
|
522
|
-
streamNaming: "
|
|
522
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
523
523
|
} | {
|
|
524
524
|
type: "door";
|
|
525
525
|
canReportOpenState: boolean;
|
|
526
526
|
canReportLockState: boolean;
|
|
527
527
|
canControlLock: boolean;
|
|
528
528
|
canRelease: boolean;
|
|
529
|
-
style?: "
|
|
529
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
530
530
|
} | {
|
|
531
531
|
type: "io-board";
|
|
532
532
|
inputs: string[];
|
|
@@ -567,16 +567,16 @@ export declare const requestSchemasByType: {
|
|
|
567
567
|
type: "nvr-analytics-server";
|
|
568
568
|
} | {
|
|
569
569
|
type: "system";
|
|
570
|
-
}));
|
|
570
|
+
})) | [string, string];
|
|
571
571
|
timeFrom: number;
|
|
572
572
|
timeTo: number;
|
|
573
573
|
}, {
|
|
574
|
-
device: string |
|
|
574
|
+
device: string | ({
|
|
575
575
|
name: string;
|
|
576
576
|
foreignRef: string;
|
|
577
577
|
presets: {
|
|
578
|
-
name: string;
|
|
579
578
|
id: string;
|
|
579
|
+
name: string;
|
|
580
580
|
createdOn: string;
|
|
581
581
|
lastModifiedOn: string;
|
|
582
582
|
isDefault: boolean;
|
|
@@ -591,39 +591,39 @@ export declare const requestSchemasByType: {
|
|
|
591
591
|
type: "alarm";
|
|
592
592
|
} | {
|
|
593
593
|
type: "camera";
|
|
594
|
+
ptzCapable: boolean;
|
|
595
|
+
ptzPanSpeed: number;
|
|
596
|
+
ptzTiltSpeed: number;
|
|
597
|
+
ptzZoomSpeed: number;
|
|
598
|
+
panMin: number;
|
|
599
|
+
panMax: number;
|
|
600
|
+
tiltMin: number;
|
|
601
|
+
tiltMax: number;
|
|
602
|
+
zoomMin: number;
|
|
603
|
+
zoomMax: number;
|
|
594
604
|
streams: {
|
|
595
605
|
id: string;
|
|
596
|
-
height: number | null;
|
|
597
|
-
width: number | null;
|
|
598
606
|
displayName: string;
|
|
599
607
|
externalPlayerUrl: string | null;
|
|
600
608
|
rtspUrl: string | null;
|
|
601
609
|
recordingCapable: boolean;
|
|
610
|
+
width: number | null;
|
|
611
|
+
height: number | null;
|
|
602
612
|
lensType: "flat" | "fisheye";
|
|
603
613
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
604
614
|
webrtcPlaybackSource: ({
|
|
605
615
|
kind: string;
|
|
606
616
|
} & Record<string, unknown>) | null;
|
|
607
617
|
}[];
|
|
608
|
-
ptzCapable: boolean;
|
|
609
|
-
ptzPanSpeed: number;
|
|
610
|
-
ptzTiltSpeed: number;
|
|
611
|
-
ptzZoomSpeed: number;
|
|
612
|
-
panMin: number;
|
|
613
|
-
panMax: number;
|
|
614
|
-
tiltMin: number;
|
|
615
|
-
tiltMax: number;
|
|
616
|
-
zoomMin: number;
|
|
617
|
-
zoomMax: number;
|
|
618
618
|
defaultStreamId: string;
|
|
619
|
-
streamNaming: "
|
|
619
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
620
620
|
} | {
|
|
621
621
|
type: "door";
|
|
622
622
|
canReportOpenState: boolean;
|
|
623
623
|
canReportLockState: boolean;
|
|
624
624
|
canControlLock: boolean;
|
|
625
625
|
canRelease: boolean;
|
|
626
|
-
style?: "
|
|
626
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
627
627
|
} | {
|
|
628
628
|
type: "io-board";
|
|
629
629
|
inputs: string[];
|
|
@@ -664,7 +664,7 @@ export declare const requestSchemasByType: {
|
|
|
664
664
|
type: "nvr-analytics-server";
|
|
665
665
|
} | {
|
|
666
666
|
type: "system";
|
|
667
|
-
}));
|
|
667
|
+
})) | [string, string];
|
|
668
668
|
timeFrom: number;
|
|
669
669
|
timeTo: number;
|
|
670
670
|
}>;
|
|
@@ -684,16 +684,16 @@ export declare const requestSchemasByType: {
|
|
|
684
684
|
createdOn: z.ZodString;
|
|
685
685
|
lastModifiedOn: z.ZodString;
|
|
686
686
|
}, "strip", z.ZodTypeAny, {
|
|
687
|
-
name: string;
|
|
688
687
|
id: string;
|
|
688
|
+
name: string;
|
|
689
689
|
createdOn: string;
|
|
690
690
|
lastModifiedOn: string;
|
|
691
691
|
isDefault: boolean;
|
|
692
692
|
assignedRef: string | null;
|
|
693
693
|
params?: unknown;
|
|
694
694
|
}, {
|
|
695
|
-
name: string;
|
|
696
695
|
id: string;
|
|
696
|
+
name: string;
|
|
697
697
|
createdOn: string;
|
|
698
698
|
lastModifiedOn: string;
|
|
699
699
|
isDefault: boolean;
|
|
@@ -704,8 +704,8 @@ export declare const requestSchemasByType: {
|
|
|
704
704
|
name: string;
|
|
705
705
|
foreignRef: string;
|
|
706
706
|
presets: {
|
|
707
|
-
name: string;
|
|
708
707
|
id: string;
|
|
708
|
+
name: string;
|
|
709
709
|
createdOn: string;
|
|
710
710
|
lastModifiedOn: string;
|
|
711
711
|
isDefault: boolean;
|
|
@@ -720,8 +720,8 @@ export declare const requestSchemasByType: {
|
|
|
720
720
|
name: string;
|
|
721
721
|
foreignRef: string;
|
|
722
722
|
presets: {
|
|
723
|
-
name: string;
|
|
724
723
|
id: string;
|
|
724
|
+
name: string;
|
|
725
725
|
createdOn: string;
|
|
726
726
|
lastModifiedOn: string;
|
|
727
727
|
isDefault: boolean;
|
|
@@ -768,12 +768,12 @@ export declare const requestSchemasByType: {
|
|
|
768
768
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
769
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
770
|
id: string;
|
|
771
|
-
height: number | null;
|
|
772
|
-
width: number | null;
|
|
773
771
|
displayName: string;
|
|
774
772
|
externalPlayerUrl: string | null;
|
|
775
773
|
rtspUrl: string | null;
|
|
776
774
|
recordingCapable: boolean;
|
|
775
|
+
width: number | null;
|
|
776
|
+
height: number | null;
|
|
777
777
|
lensType: "flat" | "fisheye";
|
|
778
778
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
779
779
|
webrtcPlaybackSource: ({
|
|
@@ -781,12 +781,12 @@ export declare const requestSchemasByType: {
|
|
|
781
781
|
} & Record<string, unknown>) | null;
|
|
782
782
|
}, {
|
|
783
783
|
id: string;
|
|
784
|
-
height: number | null;
|
|
785
|
-
width: number | null;
|
|
786
784
|
displayName: string;
|
|
787
785
|
externalPlayerUrl: string | null;
|
|
788
786
|
rtspUrl: string | null;
|
|
789
787
|
recordingCapable: boolean;
|
|
788
|
+
width: number | null;
|
|
789
|
+
height: number | null;
|
|
790
790
|
lensType: "flat" | "fisheye";
|
|
791
791
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
792
792
|
webrtcPlaybackSource: ({
|
|
@@ -799,20 +799,34 @@ export declare const requestSchemasByType: {
|
|
|
799
799
|
type: z.ZodLiteral<"camera">;
|
|
800
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
801
|
type: "camera";
|
|
802
|
+
ptzCapable: boolean;
|
|
803
|
+
ptzPanSpeed: number;
|
|
804
|
+
ptzTiltSpeed: number;
|
|
805
|
+
ptzZoomSpeed: number;
|
|
806
|
+
panMin: number;
|
|
807
|
+
panMax: number;
|
|
808
|
+
tiltMin: number;
|
|
809
|
+
tiltMax: number;
|
|
810
|
+
zoomMin: number;
|
|
811
|
+
zoomMax: number;
|
|
802
812
|
streams: {
|
|
803
813
|
id: string;
|
|
804
|
-
height: number | null;
|
|
805
|
-
width: number | null;
|
|
806
814
|
displayName: string;
|
|
807
815
|
externalPlayerUrl: string | null;
|
|
808
816
|
rtspUrl: string | null;
|
|
809
817
|
recordingCapable: boolean;
|
|
818
|
+
width: number | null;
|
|
819
|
+
height: number | null;
|
|
810
820
|
lensType: "flat" | "fisheye";
|
|
811
821
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
812
822
|
webrtcPlaybackSource: ({
|
|
813
823
|
kind: string;
|
|
814
824
|
} & Record<string, unknown>) | null;
|
|
815
825
|
}[];
|
|
826
|
+
defaultStreamId: string;
|
|
827
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
828
|
+
}, {
|
|
829
|
+
type: "camera";
|
|
816
830
|
ptzCapable: boolean;
|
|
817
831
|
ptzPanSpeed: number;
|
|
818
832
|
ptzTiltSpeed: number;
|
|
@@ -823,36 +837,22 @@ export declare const requestSchemasByType: {
|
|
|
823
837
|
tiltMax: number;
|
|
824
838
|
zoomMin: number;
|
|
825
839
|
zoomMax: number;
|
|
826
|
-
defaultStreamId: string;
|
|
827
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
828
|
-
}, {
|
|
829
|
-
type: "camera";
|
|
830
840
|
streams: {
|
|
831
841
|
id: string;
|
|
832
|
-
height: number | null;
|
|
833
|
-
width: number | null;
|
|
834
842
|
displayName: string;
|
|
835
843
|
externalPlayerUrl: string | null;
|
|
836
844
|
rtspUrl: string | null;
|
|
837
845
|
recordingCapable: boolean;
|
|
846
|
+
width: number | null;
|
|
847
|
+
height: number | null;
|
|
838
848
|
lensType: "flat" | "fisheye";
|
|
839
849
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
840
850
|
webrtcPlaybackSource: ({
|
|
841
851
|
kind: string;
|
|
842
852
|
} & Record<string, unknown>) | null;
|
|
843
853
|
}[];
|
|
844
|
-
ptzCapable: boolean;
|
|
845
|
-
ptzPanSpeed: number;
|
|
846
|
-
ptzTiltSpeed: number;
|
|
847
|
-
ptzZoomSpeed: number;
|
|
848
|
-
panMin: number;
|
|
849
|
-
panMax: number;
|
|
850
|
-
tiltMin: number;
|
|
851
|
-
tiltMax: number;
|
|
852
|
-
zoomMin: number;
|
|
853
|
-
zoomMax: number;
|
|
854
854
|
defaultStreamId: string;
|
|
855
|
-
streamNaming: "
|
|
855
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
856
856
|
}>, z.ZodObject<{
|
|
857
857
|
canReportOpenState: z.ZodBoolean;
|
|
858
858
|
canReportLockState: z.ZodBoolean;
|
|
@@ -867,14 +867,14 @@ export declare const requestSchemasByType: {
|
|
|
867
867
|
canReportLockState: boolean;
|
|
868
868
|
canControlLock: boolean;
|
|
869
869
|
canRelease: boolean;
|
|
870
|
-
style?: "
|
|
870
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
871
871
|
}, {
|
|
872
872
|
type: "door";
|
|
873
873
|
canReportOpenState: boolean;
|
|
874
874
|
canReportLockState: boolean;
|
|
875
875
|
canControlLock: boolean;
|
|
876
876
|
canRelease: boolean;
|
|
877
|
-
style?: "
|
|
877
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
878
878
|
}>, z.ZodObject<{
|
|
879
879
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
880
880
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1002,14 +1002,13 @@ export declare const requestSchemasByType: {
|
|
|
1002
1002
|
time: z.ZodNumber;
|
|
1003
1003
|
height: z.ZodNumber;
|
|
1004
1004
|
}, "strip", z.ZodTypeAny, {
|
|
1005
|
-
time: number;
|
|
1006
1005
|
height: number;
|
|
1007
|
-
device: string |
|
|
1006
|
+
device: string | ({
|
|
1008
1007
|
name: string;
|
|
1009
1008
|
foreignRef: string;
|
|
1010
1009
|
presets: {
|
|
1011
|
-
name: string;
|
|
1012
1010
|
id: string;
|
|
1011
|
+
name: string;
|
|
1013
1012
|
createdOn: string;
|
|
1014
1013
|
lastModifiedOn: string;
|
|
1015
1014
|
isDefault: boolean;
|
|
@@ -1024,39 +1023,39 @@ export declare const requestSchemasByType: {
|
|
|
1024
1023
|
type: "alarm";
|
|
1025
1024
|
} | {
|
|
1026
1025
|
type: "camera";
|
|
1026
|
+
ptzCapable: boolean;
|
|
1027
|
+
ptzPanSpeed: number;
|
|
1028
|
+
ptzTiltSpeed: number;
|
|
1029
|
+
ptzZoomSpeed: number;
|
|
1030
|
+
panMin: number;
|
|
1031
|
+
panMax: number;
|
|
1032
|
+
tiltMin: number;
|
|
1033
|
+
tiltMax: number;
|
|
1034
|
+
zoomMin: number;
|
|
1035
|
+
zoomMax: number;
|
|
1027
1036
|
streams: {
|
|
1028
1037
|
id: string;
|
|
1029
|
-
height: number | null;
|
|
1030
|
-
width: number | null;
|
|
1031
1038
|
displayName: string;
|
|
1032
1039
|
externalPlayerUrl: string | null;
|
|
1033
1040
|
rtspUrl: string | null;
|
|
1034
1041
|
recordingCapable: boolean;
|
|
1042
|
+
width: number | null;
|
|
1043
|
+
height: number | null;
|
|
1035
1044
|
lensType: "flat" | "fisheye";
|
|
1036
1045
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1037
1046
|
webrtcPlaybackSource: ({
|
|
1038
1047
|
kind: string;
|
|
1039
1048
|
} & Record<string, unknown>) | null;
|
|
1040
1049
|
}[];
|
|
1041
|
-
ptzCapable: boolean;
|
|
1042
|
-
ptzPanSpeed: number;
|
|
1043
|
-
ptzTiltSpeed: number;
|
|
1044
|
-
ptzZoomSpeed: number;
|
|
1045
|
-
panMin: number;
|
|
1046
|
-
panMax: number;
|
|
1047
|
-
tiltMin: number;
|
|
1048
|
-
tiltMax: number;
|
|
1049
|
-
zoomMin: number;
|
|
1050
|
-
zoomMax: number;
|
|
1051
1050
|
defaultStreamId: string;
|
|
1052
|
-
streamNaming: "
|
|
1051
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1053
1052
|
} | {
|
|
1054
1053
|
type: "door";
|
|
1055
1054
|
canReportOpenState: boolean;
|
|
1056
1055
|
canReportLockState: boolean;
|
|
1057
1056
|
canControlLock: boolean;
|
|
1058
1057
|
canRelease: boolean;
|
|
1059
|
-
style?: "
|
|
1058
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1060
1059
|
} | {
|
|
1061
1060
|
type: "io-board";
|
|
1062
1061
|
inputs: string[];
|
|
@@ -1097,16 +1096,16 @@ export declare const requestSchemasByType: {
|
|
|
1097
1096
|
type: "nvr-analytics-server";
|
|
1098
1097
|
} | {
|
|
1099
1098
|
type: "system";
|
|
1100
|
-
}));
|
|
1101
|
-
}, {
|
|
1099
|
+
})) | [string, string];
|
|
1102
1100
|
time: number;
|
|
1101
|
+
}, {
|
|
1103
1102
|
height: number;
|
|
1104
|
-
device: string |
|
|
1103
|
+
device: string | ({
|
|
1105
1104
|
name: string;
|
|
1106
1105
|
foreignRef: string;
|
|
1107
1106
|
presets: {
|
|
1108
|
-
name: string;
|
|
1109
1107
|
id: string;
|
|
1108
|
+
name: string;
|
|
1110
1109
|
createdOn: string;
|
|
1111
1110
|
lastModifiedOn: string;
|
|
1112
1111
|
isDefault: boolean;
|
|
@@ -1121,39 +1120,39 @@ export declare const requestSchemasByType: {
|
|
|
1121
1120
|
type: "alarm";
|
|
1122
1121
|
} | {
|
|
1123
1122
|
type: "camera";
|
|
1123
|
+
ptzCapable: boolean;
|
|
1124
|
+
ptzPanSpeed: number;
|
|
1125
|
+
ptzTiltSpeed: number;
|
|
1126
|
+
ptzZoomSpeed: number;
|
|
1127
|
+
panMin: number;
|
|
1128
|
+
panMax: number;
|
|
1129
|
+
tiltMin: number;
|
|
1130
|
+
tiltMax: number;
|
|
1131
|
+
zoomMin: number;
|
|
1132
|
+
zoomMax: number;
|
|
1124
1133
|
streams: {
|
|
1125
1134
|
id: string;
|
|
1126
|
-
height: number | null;
|
|
1127
|
-
width: number | null;
|
|
1128
1135
|
displayName: string;
|
|
1129
1136
|
externalPlayerUrl: string | null;
|
|
1130
1137
|
rtspUrl: string | null;
|
|
1131
1138
|
recordingCapable: boolean;
|
|
1139
|
+
width: number | null;
|
|
1140
|
+
height: number | null;
|
|
1132
1141
|
lensType: "flat" | "fisheye";
|
|
1133
1142
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1134
1143
|
webrtcPlaybackSource: ({
|
|
1135
1144
|
kind: string;
|
|
1136
1145
|
} & Record<string, unknown>) | null;
|
|
1137
1146
|
}[];
|
|
1138
|
-
ptzCapable: boolean;
|
|
1139
|
-
ptzPanSpeed: number;
|
|
1140
|
-
ptzTiltSpeed: number;
|
|
1141
|
-
ptzZoomSpeed: number;
|
|
1142
|
-
panMin: number;
|
|
1143
|
-
panMax: number;
|
|
1144
|
-
tiltMin: number;
|
|
1145
|
-
tiltMax: number;
|
|
1146
|
-
zoomMin: number;
|
|
1147
|
-
zoomMax: number;
|
|
1148
1147
|
defaultStreamId: string;
|
|
1149
|
-
streamNaming: "
|
|
1148
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1150
1149
|
} | {
|
|
1151
1150
|
type: "door";
|
|
1152
1151
|
canReportOpenState: boolean;
|
|
1153
1152
|
canReportLockState: boolean;
|
|
1154
1153
|
canControlLock: boolean;
|
|
1155
1154
|
canRelease: boolean;
|
|
1156
|
-
style?: "
|
|
1155
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1157
1156
|
} | {
|
|
1158
1157
|
type: "io-board";
|
|
1159
1158
|
inputs: string[];
|
|
@@ -1194,7 +1193,8 @@ export declare const requestSchemasByType: {
|
|
|
1194
1193
|
type: "nvr-analytics-server";
|
|
1195
1194
|
} | {
|
|
1196
1195
|
type: "system";
|
|
1197
|
-
}));
|
|
1196
|
+
})) | [string, string];
|
|
1197
|
+
time: number;
|
|
1198
1198
|
}>;
|
|
1199
1199
|
readonly "cctv:latest-frame": z.ZodObject<{
|
|
1200
1200
|
device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1212,16 +1212,16 @@ export declare const requestSchemasByType: {
|
|
|
1212
1212
|
createdOn: z.ZodString;
|
|
1213
1213
|
lastModifiedOn: z.ZodString;
|
|
1214
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1215
|
-
name: string;
|
|
1216
1215
|
id: string;
|
|
1216
|
+
name: string;
|
|
1217
1217
|
createdOn: string;
|
|
1218
1218
|
lastModifiedOn: string;
|
|
1219
1219
|
isDefault: boolean;
|
|
1220
1220
|
assignedRef: string | null;
|
|
1221
1221
|
params?: unknown;
|
|
1222
1222
|
}, {
|
|
1223
|
-
name: string;
|
|
1224
1223
|
id: string;
|
|
1224
|
+
name: string;
|
|
1225
1225
|
createdOn: string;
|
|
1226
1226
|
lastModifiedOn: string;
|
|
1227
1227
|
isDefault: boolean;
|
|
@@ -1232,8 +1232,8 @@ export declare const requestSchemasByType: {
|
|
|
1232
1232
|
name: string;
|
|
1233
1233
|
foreignRef: string;
|
|
1234
1234
|
presets: {
|
|
1235
|
-
name: string;
|
|
1236
1235
|
id: string;
|
|
1236
|
+
name: string;
|
|
1237
1237
|
createdOn: string;
|
|
1238
1238
|
lastModifiedOn: string;
|
|
1239
1239
|
isDefault: boolean;
|
|
@@ -1248,8 +1248,8 @@ export declare const requestSchemasByType: {
|
|
|
1248
1248
|
name: string;
|
|
1249
1249
|
foreignRef: string;
|
|
1250
1250
|
presets: {
|
|
1251
|
-
name: string;
|
|
1252
1251
|
id: string;
|
|
1252
|
+
name: string;
|
|
1253
1253
|
createdOn: string;
|
|
1254
1254
|
lastModifiedOn: string;
|
|
1255
1255
|
isDefault: boolean;
|
|
@@ -1296,12 +1296,12 @@ export declare const requestSchemasByType: {
|
|
|
1296
1296
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1297
1297
|
}, "strip", z.ZodTypeAny, {
|
|
1298
1298
|
id: string;
|
|
1299
|
-
height: number | null;
|
|
1300
|
-
width: number | null;
|
|
1301
1299
|
displayName: string;
|
|
1302
1300
|
externalPlayerUrl: string | null;
|
|
1303
1301
|
rtspUrl: string | null;
|
|
1304
1302
|
recordingCapable: boolean;
|
|
1303
|
+
width: number | null;
|
|
1304
|
+
height: number | null;
|
|
1305
1305
|
lensType: "flat" | "fisheye";
|
|
1306
1306
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1307
1307
|
webrtcPlaybackSource: ({
|
|
@@ -1309,12 +1309,12 @@ export declare const requestSchemasByType: {
|
|
|
1309
1309
|
} & Record<string, unknown>) | null;
|
|
1310
1310
|
}, {
|
|
1311
1311
|
id: string;
|
|
1312
|
-
height: number | null;
|
|
1313
|
-
width: number | null;
|
|
1314
1312
|
displayName: string;
|
|
1315
1313
|
externalPlayerUrl: string | null;
|
|
1316
1314
|
rtspUrl: string | null;
|
|
1317
1315
|
recordingCapable: boolean;
|
|
1316
|
+
width: number | null;
|
|
1317
|
+
height: number | null;
|
|
1318
1318
|
lensType: "flat" | "fisheye";
|
|
1319
1319
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1320
1320
|
webrtcPlaybackSource: ({
|
|
@@ -1327,20 +1327,34 @@ export declare const requestSchemasByType: {
|
|
|
1327
1327
|
type: z.ZodLiteral<"camera">;
|
|
1328
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1329
1329
|
type: "camera";
|
|
1330
|
+
ptzCapable: boolean;
|
|
1331
|
+
ptzPanSpeed: number;
|
|
1332
|
+
ptzTiltSpeed: number;
|
|
1333
|
+
ptzZoomSpeed: number;
|
|
1334
|
+
panMin: number;
|
|
1335
|
+
panMax: number;
|
|
1336
|
+
tiltMin: number;
|
|
1337
|
+
tiltMax: number;
|
|
1338
|
+
zoomMin: number;
|
|
1339
|
+
zoomMax: number;
|
|
1330
1340
|
streams: {
|
|
1331
1341
|
id: string;
|
|
1332
|
-
height: number | null;
|
|
1333
|
-
width: number | null;
|
|
1334
1342
|
displayName: string;
|
|
1335
1343
|
externalPlayerUrl: string | null;
|
|
1336
1344
|
rtspUrl: string | null;
|
|
1337
1345
|
recordingCapable: boolean;
|
|
1346
|
+
width: number | null;
|
|
1347
|
+
height: number | null;
|
|
1338
1348
|
lensType: "flat" | "fisheye";
|
|
1339
1349
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1340
1350
|
webrtcPlaybackSource: ({
|
|
1341
1351
|
kind: string;
|
|
1342
1352
|
} & Record<string, unknown>) | null;
|
|
1343
1353
|
}[];
|
|
1354
|
+
defaultStreamId: string;
|
|
1355
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1356
|
+
}, {
|
|
1357
|
+
type: "camera";
|
|
1344
1358
|
ptzCapable: boolean;
|
|
1345
1359
|
ptzPanSpeed: number;
|
|
1346
1360
|
ptzTiltSpeed: number;
|
|
@@ -1351,36 +1365,22 @@ export declare const requestSchemasByType: {
|
|
|
1351
1365
|
tiltMax: number;
|
|
1352
1366
|
zoomMin: number;
|
|
1353
1367
|
zoomMax: number;
|
|
1354
|
-
defaultStreamId: string;
|
|
1355
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1356
|
-
}, {
|
|
1357
|
-
type: "camera";
|
|
1358
1368
|
streams: {
|
|
1359
1369
|
id: string;
|
|
1360
|
-
height: number | null;
|
|
1361
|
-
width: number | null;
|
|
1362
1370
|
displayName: string;
|
|
1363
1371
|
externalPlayerUrl: string | null;
|
|
1364
1372
|
rtspUrl: string | null;
|
|
1365
1373
|
recordingCapable: boolean;
|
|
1374
|
+
width: number | null;
|
|
1375
|
+
height: number | null;
|
|
1366
1376
|
lensType: "flat" | "fisheye";
|
|
1367
1377
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1368
1378
|
webrtcPlaybackSource: ({
|
|
1369
1379
|
kind: string;
|
|
1370
1380
|
} & Record<string, unknown>) | null;
|
|
1371
1381
|
}[];
|
|
1372
|
-
ptzCapable: boolean;
|
|
1373
|
-
ptzPanSpeed: number;
|
|
1374
|
-
ptzTiltSpeed: number;
|
|
1375
|
-
ptzZoomSpeed: number;
|
|
1376
|
-
panMin: number;
|
|
1377
|
-
panMax: number;
|
|
1378
|
-
tiltMin: number;
|
|
1379
|
-
tiltMax: number;
|
|
1380
|
-
zoomMin: number;
|
|
1381
|
-
zoomMax: number;
|
|
1382
1382
|
defaultStreamId: string;
|
|
1383
|
-
streamNaming: "
|
|
1383
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1384
1384
|
}>, z.ZodObject<{
|
|
1385
1385
|
canReportOpenState: z.ZodBoolean;
|
|
1386
1386
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1395,14 +1395,14 @@ export declare const requestSchemasByType: {
|
|
|
1395
1395
|
canReportLockState: boolean;
|
|
1396
1396
|
canControlLock: boolean;
|
|
1397
1397
|
canRelease: boolean;
|
|
1398
|
-
style?: "
|
|
1398
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1399
1399
|
}, {
|
|
1400
1400
|
type: "door";
|
|
1401
1401
|
canReportOpenState: boolean;
|
|
1402
1402
|
canReportLockState: boolean;
|
|
1403
1403
|
canControlLock: boolean;
|
|
1404
1404
|
canRelease: boolean;
|
|
1405
|
-
style?: "
|
|
1405
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1406
1406
|
}>, z.ZodObject<{
|
|
1407
1407
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
1408
1408
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1530,14 +1530,14 @@ export declare const requestSchemasByType: {
|
|
|
1530
1530
|
width: z.ZodNumber;
|
|
1531
1531
|
height: z.ZodNumber;
|
|
1532
1532
|
}, "strip", z.ZodTypeAny, {
|
|
1533
|
-
height: number;
|
|
1534
1533
|
width: number;
|
|
1535
|
-
|
|
1534
|
+
height: number;
|
|
1535
|
+
device: string | ({
|
|
1536
1536
|
name: string;
|
|
1537
1537
|
foreignRef: string;
|
|
1538
1538
|
presets: {
|
|
1539
|
-
name: string;
|
|
1540
1539
|
id: string;
|
|
1540
|
+
name: string;
|
|
1541
1541
|
createdOn: string;
|
|
1542
1542
|
lastModifiedOn: string;
|
|
1543
1543
|
isDefault: boolean;
|
|
@@ -1552,39 +1552,39 @@ export declare const requestSchemasByType: {
|
|
|
1552
1552
|
type: "alarm";
|
|
1553
1553
|
} | {
|
|
1554
1554
|
type: "camera";
|
|
1555
|
+
ptzCapable: boolean;
|
|
1556
|
+
ptzPanSpeed: number;
|
|
1557
|
+
ptzTiltSpeed: number;
|
|
1558
|
+
ptzZoomSpeed: number;
|
|
1559
|
+
panMin: number;
|
|
1560
|
+
panMax: number;
|
|
1561
|
+
tiltMin: number;
|
|
1562
|
+
tiltMax: number;
|
|
1563
|
+
zoomMin: number;
|
|
1564
|
+
zoomMax: number;
|
|
1555
1565
|
streams: {
|
|
1556
1566
|
id: string;
|
|
1557
|
-
height: number | null;
|
|
1558
|
-
width: number | null;
|
|
1559
1567
|
displayName: string;
|
|
1560
1568
|
externalPlayerUrl: string | null;
|
|
1561
1569
|
rtspUrl: string | null;
|
|
1562
1570
|
recordingCapable: boolean;
|
|
1571
|
+
width: number | null;
|
|
1572
|
+
height: number | null;
|
|
1563
1573
|
lensType: "flat" | "fisheye";
|
|
1564
1574
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1565
1575
|
webrtcPlaybackSource: ({
|
|
1566
1576
|
kind: string;
|
|
1567
1577
|
} & Record<string, unknown>) | null;
|
|
1568
1578
|
}[];
|
|
1569
|
-
ptzCapable: boolean;
|
|
1570
|
-
ptzPanSpeed: number;
|
|
1571
|
-
ptzTiltSpeed: number;
|
|
1572
|
-
ptzZoomSpeed: number;
|
|
1573
|
-
panMin: number;
|
|
1574
|
-
panMax: number;
|
|
1575
|
-
tiltMin: number;
|
|
1576
|
-
tiltMax: number;
|
|
1577
|
-
zoomMin: number;
|
|
1578
|
-
zoomMax: number;
|
|
1579
1579
|
defaultStreamId: string;
|
|
1580
|
-
streamNaming: "
|
|
1580
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1581
1581
|
} | {
|
|
1582
1582
|
type: "door";
|
|
1583
1583
|
canReportOpenState: boolean;
|
|
1584
1584
|
canReportLockState: boolean;
|
|
1585
1585
|
canControlLock: boolean;
|
|
1586
1586
|
canRelease: boolean;
|
|
1587
|
-
style?: "
|
|
1587
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1588
1588
|
} | {
|
|
1589
1589
|
type: "io-board";
|
|
1590
1590
|
inputs: string[];
|
|
@@ -1625,16 +1625,16 @@ export declare const requestSchemasByType: {
|
|
|
1625
1625
|
type: "nvr-analytics-server";
|
|
1626
1626
|
} | {
|
|
1627
1627
|
type: "system";
|
|
1628
|
-
}));
|
|
1628
|
+
})) | [string, string];
|
|
1629
1629
|
}, {
|
|
1630
|
-
height: number;
|
|
1631
1630
|
width: number;
|
|
1632
|
-
|
|
1631
|
+
height: number;
|
|
1632
|
+
device: string | ({
|
|
1633
1633
|
name: string;
|
|
1634
1634
|
foreignRef: string;
|
|
1635
1635
|
presets: {
|
|
1636
|
-
name: string;
|
|
1637
1636
|
id: string;
|
|
1637
|
+
name: string;
|
|
1638
1638
|
createdOn: string;
|
|
1639
1639
|
lastModifiedOn: string;
|
|
1640
1640
|
isDefault: boolean;
|
|
@@ -1649,39 +1649,39 @@ export declare const requestSchemasByType: {
|
|
|
1649
1649
|
type: "alarm";
|
|
1650
1650
|
} | {
|
|
1651
1651
|
type: "camera";
|
|
1652
|
+
ptzCapable: boolean;
|
|
1653
|
+
ptzPanSpeed: number;
|
|
1654
|
+
ptzTiltSpeed: number;
|
|
1655
|
+
ptzZoomSpeed: number;
|
|
1656
|
+
panMin: number;
|
|
1657
|
+
panMax: number;
|
|
1658
|
+
tiltMin: number;
|
|
1659
|
+
tiltMax: number;
|
|
1660
|
+
zoomMin: number;
|
|
1661
|
+
zoomMax: number;
|
|
1652
1662
|
streams: {
|
|
1653
1663
|
id: string;
|
|
1654
|
-
height: number | null;
|
|
1655
|
-
width: number | null;
|
|
1656
1664
|
displayName: string;
|
|
1657
1665
|
externalPlayerUrl: string | null;
|
|
1658
1666
|
rtspUrl: string | null;
|
|
1659
1667
|
recordingCapable: boolean;
|
|
1668
|
+
width: number | null;
|
|
1669
|
+
height: number | null;
|
|
1660
1670
|
lensType: "flat" | "fisheye";
|
|
1661
1671
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1662
1672
|
webrtcPlaybackSource: ({
|
|
1663
1673
|
kind: string;
|
|
1664
1674
|
} & Record<string, unknown>) | null;
|
|
1665
1675
|
}[];
|
|
1666
|
-
ptzCapable: boolean;
|
|
1667
|
-
ptzPanSpeed: number;
|
|
1668
|
-
ptzTiltSpeed: number;
|
|
1669
|
-
ptzZoomSpeed: number;
|
|
1670
|
-
panMin: number;
|
|
1671
|
-
panMax: number;
|
|
1672
|
-
tiltMin: number;
|
|
1673
|
-
tiltMax: number;
|
|
1674
|
-
zoomMin: number;
|
|
1675
|
-
zoomMax: number;
|
|
1676
1676
|
defaultStreamId: string;
|
|
1677
|
-
streamNaming: "
|
|
1677
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1678
1678
|
} | {
|
|
1679
1679
|
type: "door";
|
|
1680
1680
|
canReportOpenState: boolean;
|
|
1681
1681
|
canReportLockState: boolean;
|
|
1682
1682
|
canControlLock: boolean;
|
|
1683
1683
|
canRelease: boolean;
|
|
1684
|
-
style?: "
|
|
1684
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1685
1685
|
} | {
|
|
1686
1686
|
type: "io-board";
|
|
1687
1687
|
inputs: string[];
|
|
@@ -1722,7 +1722,7 @@ export declare const requestSchemasByType: {
|
|
|
1722
1722
|
type: "nvr-analytics-server";
|
|
1723
1723
|
} | {
|
|
1724
1724
|
type: "system";
|
|
1725
|
-
}));
|
|
1725
|
+
})) | [string, string];
|
|
1726
1726
|
}>;
|
|
1727
1727
|
};
|
|
1728
1728
|
export declare const responseSchemasByType: {
|
|
@@ -1737,32 +1737,32 @@ export declare const responseSchemasByType: {
|
|
|
1737
1737
|
resolution: z.ZodNullable<z.ZodString>;
|
|
1738
1738
|
rtspUrl: z.ZodString;
|
|
1739
1739
|
}, "strip", z.ZodTypeAny, {
|
|
1740
|
-
resolution: string | null;
|
|
1741
1740
|
displayName: string;
|
|
1742
1741
|
rtspUrl: string;
|
|
1743
1742
|
streamId: string;
|
|
1744
|
-
}, {
|
|
1745
1743
|
resolution: string | null;
|
|
1744
|
+
}, {
|
|
1746
1745
|
displayName: string;
|
|
1747
1746
|
rtspUrl: string;
|
|
1748
1747
|
streamId: string;
|
|
1748
|
+
resolution: string | null;
|
|
1749
1749
|
}>, "many">;
|
|
1750
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1751
1751
|
streams: {
|
|
1752
|
-
resolution: string | null;
|
|
1753
1752
|
displayName: string;
|
|
1754
1753
|
rtspUrl: string;
|
|
1755
1754
|
streamId: string;
|
|
1755
|
+
resolution: string | null;
|
|
1756
1756
|
}[];
|
|
1757
1757
|
username: string;
|
|
1758
1758
|
password: string;
|
|
1759
1759
|
cameraName: string;
|
|
1760
1760
|
}, {
|
|
1761
1761
|
streams: {
|
|
1762
|
-
resolution: string | null;
|
|
1763
1762
|
displayName: string;
|
|
1764
1763
|
rtspUrl: string;
|
|
1765
1764
|
streamId: string;
|
|
1765
|
+
resolution: string | null;
|
|
1766
1766
|
}[];
|
|
1767
1767
|
username: string;
|
|
1768
1768
|
password: string;
|
|
@@ -1779,22 +1779,22 @@ export declare const responseSchemasByType: {
|
|
|
1779
1779
|
startTime: z.ZodNumber;
|
|
1780
1780
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
1781
1781
|
}, "strip", z.ZodTypeAny, {
|
|
1782
|
-
endTime: number | null;
|
|
1783
|
-
startTime: number;
|
|
1784
1782
|
foreignRef: string;
|
|
1785
1783
|
provider: string;
|
|
1786
1784
|
objectKind: string;
|
|
1787
1785
|
probability: number;
|
|
1786
|
+
startTime: number;
|
|
1787
|
+
endTime: number | null;
|
|
1788
1788
|
providerAssignedRef: string;
|
|
1789
1789
|
relevance: number;
|
|
1790
1790
|
subLabel: string;
|
|
1791
1791
|
}, {
|
|
1792
|
-
endTime: number | null;
|
|
1793
|
-
startTime: number;
|
|
1794
1792
|
foreignRef: string;
|
|
1795
1793
|
provider: string;
|
|
1796
1794
|
objectKind: string;
|
|
1797
1795
|
probability: number;
|
|
1796
|
+
startTime: number;
|
|
1797
|
+
endTime: number | null;
|
|
1798
1798
|
providerAssignedRef: string;
|
|
1799
1799
|
relevance: number;
|
|
1800
1800
|
subLabel: string;
|
|
@@ -1803,31 +1803,31 @@ export declare const responseSchemasByType: {
|
|
|
1803
1803
|
mimeType: z.ZodString;
|
|
1804
1804
|
data: z.ZodString;
|
|
1805
1805
|
}, "strip", z.ZodTypeAny, {
|
|
1806
|
-
data: string;
|
|
1807
1806
|
mimeType: string;
|
|
1808
|
-
}, {
|
|
1809
1807
|
data: string;
|
|
1808
|
+
}, {
|
|
1810
1809
|
mimeType: string;
|
|
1810
|
+
data: string;
|
|
1811
1811
|
}>>;
|
|
1812
1812
|
readonly "cctv:object-snapshot": z.ZodNullable<z.ZodObject<{
|
|
1813
1813
|
mimeType: z.ZodString;
|
|
1814
1814
|
data: z.ZodString;
|
|
1815
1815
|
}, "strip", z.ZodTypeAny, {
|
|
1816
|
-
data: string;
|
|
1817
1816
|
mimeType: string;
|
|
1818
|
-
}, {
|
|
1819
1817
|
data: string;
|
|
1818
|
+
}, {
|
|
1820
1819
|
mimeType: string;
|
|
1820
|
+
data: string;
|
|
1821
1821
|
}>>;
|
|
1822
1822
|
readonly "cctv:object-thumbnail": z.ZodNullable<z.ZodObject<{
|
|
1823
1823
|
mimeType: z.ZodString;
|
|
1824
1824
|
data: z.ZodString;
|
|
1825
1825
|
}, "strip", z.ZodTypeAny, {
|
|
1826
|
-
data: string;
|
|
1827
1826
|
mimeType: string;
|
|
1828
|
-
}, {
|
|
1829
1827
|
data: string;
|
|
1828
|
+
}, {
|
|
1830
1829
|
mimeType: string;
|
|
1830
|
+
data: string;
|
|
1831
1831
|
}>>;
|
|
1832
1832
|
readonly "cctv:object-labels": z.ZodArray<z.ZodString, "many">;
|
|
1833
1833
|
readonly "cctv:media-faces": z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1876,11 +1876,11 @@ export declare const responseSchemasByType: {
|
|
|
1876
1876
|
mimeType: z.ZodString;
|
|
1877
1877
|
data: z.ZodString;
|
|
1878
1878
|
}, "strip", z.ZodTypeAny, {
|
|
1879
|
-
data: string;
|
|
1880
1879
|
mimeType: string;
|
|
1881
|
-
}, {
|
|
1882
1880
|
data: string;
|
|
1881
|
+
}, {
|
|
1883
1882
|
mimeType: string;
|
|
1883
|
+
data: string;
|
|
1884
1884
|
}>>;
|
|
1885
1885
|
readonly "cctv:media-face-train": z.ZodObject<{
|
|
1886
1886
|
success: z.ZodBoolean;
|
|
@@ -1908,19 +1908,19 @@ export declare const responseSchemasByType: {
|
|
|
1908
1908
|
size: z.ZodOptional<z.ZodString>;
|
|
1909
1909
|
expires: z.ZodOptional<z.ZodNumber>;
|
|
1910
1910
|
}, "strip", z.ZodTypeAny, {
|
|
1911
|
+
status: string;
|
|
1912
|
+
id: string;
|
|
1911
1913
|
name: string;
|
|
1912
|
-
endTime: number;
|
|
1913
1914
|
startTime: number;
|
|
1914
|
-
|
|
1915
|
-
status: string;
|
|
1915
|
+
endTime: number;
|
|
1916
1916
|
size?: string | undefined;
|
|
1917
1917
|
expires?: number | undefined;
|
|
1918
1918
|
}, {
|
|
1919
|
+
status: string;
|
|
1920
|
+
id: string;
|
|
1919
1921
|
name: string;
|
|
1920
|
-
endTime: number;
|
|
1921
1922
|
startTime: number;
|
|
1922
|
-
|
|
1923
|
-
status: string;
|
|
1923
|
+
endTime: number;
|
|
1924
1924
|
size?: string | undefined;
|
|
1925
1925
|
expires?: number | undefined;
|
|
1926
1926
|
}>, "many">;
|
|
@@ -1930,13 +1930,13 @@ export declare const responseSchemasByType: {
|
|
|
1930
1930
|
motion: z.ZodOptional<z.ZodNumber>;
|
|
1931
1931
|
objects: z.ZodOptional<z.ZodNumber>;
|
|
1932
1932
|
}, "strip", z.ZodTypeAny, {
|
|
1933
|
-
end: number;
|
|
1934
1933
|
start: number;
|
|
1934
|
+
end: number;
|
|
1935
1935
|
motion?: number | undefined;
|
|
1936
1936
|
objects?: number | undefined;
|
|
1937
1937
|
}, {
|
|
1938
|
-
end: number;
|
|
1939
1938
|
start: number;
|
|
1939
|
+
end: number;
|
|
1940
1940
|
motion?: number | undefined;
|
|
1941
1941
|
objects?: number | undefined;
|
|
1942
1942
|
}>, "many">;
|
|
@@ -1944,21 +1944,21 @@ export declare const responseSchemasByType: {
|
|
|
1944
1944
|
mimeType: z.ZodString;
|
|
1945
1945
|
data: z.ZodString;
|
|
1946
1946
|
}, "strip", z.ZodTypeAny, {
|
|
1947
|
-
data: string;
|
|
1948
1947
|
mimeType: string;
|
|
1949
|
-
}, {
|
|
1950
1948
|
data: string;
|
|
1949
|
+
}, {
|
|
1951
1950
|
mimeType: string;
|
|
1951
|
+
data: string;
|
|
1952
1952
|
}>>;
|
|
1953
1953
|
readonly "cctv:latest-frame": z.ZodNullable<z.ZodObject<{
|
|
1954
1954
|
mimeType: z.ZodString;
|
|
1955
1955
|
data: z.ZodString;
|
|
1956
1956
|
}, "strip", z.ZodTypeAny, {
|
|
1957
|
-
data: string;
|
|
1958
1957
|
mimeType: string;
|
|
1959
|
-
}, {
|
|
1960
1958
|
data: string;
|
|
1959
|
+
}, {
|
|
1961
1960
|
mimeType: string;
|
|
1961
|
+
data: string;
|
|
1962
1962
|
}>>;
|
|
1963
1963
|
};
|
|
1964
1964
|
export type QueryRequestMap = NvrAnalyticsQueryRequestMap & NvrRecorderQueryRequestMap & CameraQueryRequestMap & NvrExporterQueryRequestMap & {
|