@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
|
@@ -62,12 +62,12 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
62
62
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
id: string;
|
|
65
|
-
height: number | null;
|
|
66
|
-
width: number | null;
|
|
67
65
|
displayName: string;
|
|
68
66
|
externalPlayerUrl: string | null;
|
|
69
67
|
rtspUrl: string | null;
|
|
70
68
|
recordingCapable: boolean;
|
|
69
|
+
width: number | null;
|
|
70
|
+
height: number | null;
|
|
71
71
|
lensType: "flat" | "fisheye";
|
|
72
72
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
73
73
|
webrtcPlaybackSource: ({
|
|
@@ -75,12 +75,12 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
75
75
|
} & Record<string, unknown>) | null;
|
|
76
76
|
}, {
|
|
77
77
|
id: string;
|
|
78
|
-
height: number | null;
|
|
79
|
-
width: number | null;
|
|
80
78
|
displayName: string;
|
|
81
79
|
externalPlayerUrl: string | null;
|
|
82
80
|
rtspUrl: string | null;
|
|
83
81
|
recordingCapable: boolean;
|
|
82
|
+
width: number | null;
|
|
83
|
+
height: number | null;
|
|
84
84
|
lensType: "flat" | "fisheye";
|
|
85
85
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
86
86
|
webrtcPlaybackSource: ({
|
|
@@ -93,20 +93,34 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
93
93
|
type: z.ZodLiteral<"camera">;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
type: "camera";
|
|
96
|
+
ptzCapable: boolean;
|
|
97
|
+
ptzPanSpeed: number;
|
|
98
|
+
ptzTiltSpeed: number;
|
|
99
|
+
ptzZoomSpeed: number;
|
|
100
|
+
panMin: number;
|
|
101
|
+
panMax: number;
|
|
102
|
+
tiltMin: number;
|
|
103
|
+
tiltMax: number;
|
|
104
|
+
zoomMin: number;
|
|
105
|
+
zoomMax: number;
|
|
96
106
|
streams: {
|
|
97
107
|
id: string;
|
|
98
|
-
height: number | null;
|
|
99
|
-
width: number | null;
|
|
100
108
|
displayName: string;
|
|
101
109
|
externalPlayerUrl: string | null;
|
|
102
110
|
rtspUrl: string | null;
|
|
103
111
|
recordingCapable: boolean;
|
|
112
|
+
width: number | null;
|
|
113
|
+
height: number | null;
|
|
104
114
|
lensType: "flat" | "fisheye";
|
|
105
115
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
106
116
|
webrtcPlaybackSource: ({
|
|
107
117
|
kind: string;
|
|
108
118
|
} & Record<string, unknown>) | null;
|
|
109
119
|
}[];
|
|
120
|
+
defaultStreamId: string;
|
|
121
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
122
|
+
}, {
|
|
123
|
+
type: "camera";
|
|
110
124
|
ptzCapable: boolean;
|
|
111
125
|
ptzPanSpeed: number;
|
|
112
126
|
ptzTiltSpeed: number;
|
|
@@ -117,36 +131,22 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
117
131
|
tiltMax: number;
|
|
118
132
|
zoomMin: number;
|
|
119
133
|
zoomMax: number;
|
|
120
|
-
defaultStreamId: string;
|
|
121
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
122
|
-
}, {
|
|
123
|
-
type: "camera";
|
|
124
134
|
streams: {
|
|
125
135
|
id: string;
|
|
126
|
-
height: number | null;
|
|
127
|
-
width: number | null;
|
|
128
136
|
displayName: string;
|
|
129
137
|
externalPlayerUrl: string | null;
|
|
130
138
|
rtspUrl: string | null;
|
|
131
139
|
recordingCapable: boolean;
|
|
140
|
+
width: number | null;
|
|
141
|
+
height: number | null;
|
|
132
142
|
lensType: "flat" | "fisheye";
|
|
133
143
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
134
144
|
webrtcPlaybackSource: ({
|
|
135
145
|
kind: string;
|
|
136
146
|
} & Record<string, unknown>) | null;
|
|
137
147
|
}[];
|
|
138
|
-
ptzCapable: boolean;
|
|
139
|
-
ptzPanSpeed: number;
|
|
140
|
-
ptzTiltSpeed: number;
|
|
141
|
-
ptzZoomSpeed: number;
|
|
142
|
-
panMin: number;
|
|
143
|
-
panMax: number;
|
|
144
|
-
tiltMin: number;
|
|
145
|
-
tiltMax: number;
|
|
146
|
-
zoomMin: number;
|
|
147
|
-
zoomMax: number;
|
|
148
148
|
defaultStreamId: string;
|
|
149
|
-
streamNaming: "
|
|
149
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
150
150
|
}>, z.ZodObject<{
|
|
151
151
|
canReportOpenState: z.ZodBoolean;
|
|
152
152
|
canReportLockState: z.ZodBoolean;
|
|
@@ -161,14 +161,14 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
161
161
|
canReportLockState: boolean;
|
|
162
162
|
canControlLock: boolean;
|
|
163
163
|
canRelease: boolean;
|
|
164
|
-
style?: "
|
|
164
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
165
165
|
}, {
|
|
166
166
|
type: "door";
|
|
167
167
|
canReportOpenState: boolean;
|
|
168
168
|
canReportLockState: boolean;
|
|
169
169
|
canControlLock: boolean;
|
|
170
170
|
canRelease: boolean;
|
|
171
|
-
style?: "
|
|
171
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
172
172
|
}>, z.ZodObject<{
|
|
173
173
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
174
174
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -365,12 +365,12 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
365
365
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
367
|
id: string;
|
|
368
|
-
height: number | null;
|
|
369
|
-
width: number | null;
|
|
370
368
|
displayName: string;
|
|
371
369
|
externalPlayerUrl: string | null;
|
|
372
370
|
rtspUrl: string | null;
|
|
373
371
|
recordingCapable: boolean;
|
|
372
|
+
width: number | null;
|
|
373
|
+
height: number | null;
|
|
374
374
|
lensType: "flat" | "fisheye";
|
|
375
375
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
376
376
|
webrtcPlaybackSource: ({
|
|
@@ -378,12 +378,12 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
378
378
|
} & Record<string, unknown>) | null;
|
|
379
379
|
}, {
|
|
380
380
|
id: string;
|
|
381
|
-
height: number | null;
|
|
382
|
-
width: number | null;
|
|
383
381
|
displayName: string;
|
|
384
382
|
externalPlayerUrl: string | null;
|
|
385
383
|
rtspUrl: string | null;
|
|
386
384
|
recordingCapable: boolean;
|
|
385
|
+
width: number | null;
|
|
386
|
+
height: number | null;
|
|
387
387
|
lensType: "flat" | "fisheye";
|
|
388
388
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
389
389
|
webrtcPlaybackSource: ({
|
|
@@ -396,20 +396,34 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
396
396
|
type: z.ZodLiteral<"camera">;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
398
|
type: "camera";
|
|
399
|
+
ptzCapable: boolean;
|
|
400
|
+
ptzPanSpeed: number;
|
|
401
|
+
ptzTiltSpeed: number;
|
|
402
|
+
ptzZoomSpeed: number;
|
|
403
|
+
panMin: number;
|
|
404
|
+
panMax: number;
|
|
405
|
+
tiltMin: number;
|
|
406
|
+
tiltMax: number;
|
|
407
|
+
zoomMin: number;
|
|
408
|
+
zoomMax: number;
|
|
399
409
|
streams: {
|
|
400
410
|
id: string;
|
|
401
|
-
height: number | null;
|
|
402
|
-
width: number | null;
|
|
403
411
|
displayName: string;
|
|
404
412
|
externalPlayerUrl: string | null;
|
|
405
413
|
rtspUrl: string | null;
|
|
406
414
|
recordingCapable: boolean;
|
|
415
|
+
width: number | null;
|
|
416
|
+
height: number | null;
|
|
407
417
|
lensType: "flat" | "fisheye";
|
|
408
418
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
409
419
|
webrtcPlaybackSource: ({
|
|
410
420
|
kind: string;
|
|
411
421
|
} & Record<string, unknown>) | null;
|
|
412
422
|
}[];
|
|
423
|
+
defaultStreamId: string;
|
|
424
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
425
|
+
}, {
|
|
426
|
+
type: "camera";
|
|
413
427
|
ptzCapable: boolean;
|
|
414
428
|
ptzPanSpeed: number;
|
|
415
429
|
ptzTiltSpeed: number;
|
|
@@ -420,36 +434,22 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
420
434
|
tiltMax: number;
|
|
421
435
|
zoomMin: number;
|
|
422
436
|
zoomMax: number;
|
|
423
|
-
defaultStreamId: string;
|
|
424
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
425
|
-
}, {
|
|
426
|
-
type: "camera";
|
|
427
437
|
streams: {
|
|
428
438
|
id: string;
|
|
429
|
-
height: number | null;
|
|
430
|
-
width: number | null;
|
|
431
439
|
displayName: string;
|
|
432
440
|
externalPlayerUrl: string | null;
|
|
433
441
|
rtspUrl: string | null;
|
|
434
442
|
recordingCapable: boolean;
|
|
443
|
+
width: number | null;
|
|
444
|
+
height: number | null;
|
|
435
445
|
lensType: "flat" | "fisheye";
|
|
436
446
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
437
447
|
webrtcPlaybackSource: ({
|
|
438
448
|
kind: string;
|
|
439
449
|
} & Record<string, unknown>) | null;
|
|
440
450
|
}[];
|
|
441
|
-
ptzCapable: boolean;
|
|
442
|
-
ptzPanSpeed: number;
|
|
443
|
-
ptzTiltSpeed: number;
|
|
444
|
-
ptzZoomSpeed: number;
|
|
445
|
-
panMin: number;
|
|
446
|
-
panMax: number;
|
|
447
|
-
tiltMin: number;
|
|
448
|
-
tiltMax: number;
|
|
449
|
-
zoomMin: number;
|
|
450
|
-
zoomMax: number;
|
|
451
451
|
defaultStreamId: string;
|
|
452
|
-
streamNaming: "
|
|
452
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
453
453
|
}>, z.ZodObject<{
|
|
454
454
|
canReportOpenState: z.ZodBoolean;
|
|
455
455
|
canReportLockState: z.ZodBoolean;
|
|
@@ -464,14 +464,14 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
464
464
|
canReportLockState: boolean;
|
|
465
465
|
canControlLock: boolean;
|
|
466
466
|
canRelease: boolean;
|
|
467
|
-
style?: "
|
|
467
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
468
468
|
}, {
|
|
469
469
|
type: "door";
|
|
470
470
|
canReportOpenState: boolean;
|
|
471
471
|
canReportLockState: boolean;
|
|
472
472
|
canControlLock: boolean;
|
|
473
473
|
canRelease: boolean;
|
|
474
|
-
style?: "
|
|
474
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
475
475
|
}>, z.ZodObject<{
|
|
476
476
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
477
477
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -629,39 +629,39 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
629
629
|
type: "alarm";
|
|
630
630
|
} | {
|
|
631
631
|
type: "camera";
|
|
632
|
+
ptzCapable: boolean;
|
|
633
|
+
ptzPanSpeed: number;
|
|
634
|
+
ptzTiltSpeed: number;
|
|
635
|
+
ptzZoomSpeed: number;
|
|
636
|
+
panMin: number;
|
|
637
|
+
panMax: number;
|
|
638
|
+
tiltMin: number;
|
|
639
|
+
tiltMax: number;
|
|
640
|
+
zoomMin: number;
|
|
641
|
+
zoomMax: number;
|
|
632
642
|
streams: {
|
|
633
643
|
id: string;
|
|
634
|
-
height: number | null;
|
|
635
|
-
width: number | null;
|
|
636
644
|
displayName: string;
|
|
637
645
|
externalPlayerUrl: string | null;
|
|
638
646
|
rtspUrl: string | null;
|
|
639
647
|
recordingCapable: boolean;
|
|
648
|
+
width: number | null;
|
|
649
|
+
height: number | null;
|
|
640
650
|
lensType: "flat" | "fisheye";
|
|
641
651
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
642
652
|
webrtcPlaybackSource: ({
|
|
643
653
|
kind: string;
|
|
644
654
|
} & Record<string, unknown>) | null;
|
|
645
655
|
}[];
|
|
646
|
-
ptzCapable: boolean;
|
|
647
|
-
ptzPanSpeed: number;
|
|
648
|
-
ptzTiltSpeed: number;
|
|
649
|
-
ptzZoomSpeed: number;
|
|
650
|
-
panMin: number;
|
|
651
|
-
panMax: number;
|
|
652
|
-
tiltMin: number;
|
|
653
|
-
tiltMax: number;
|
|
654
|
-
zoomMin: number;
|
|
655
|
-
zoomMax: number;
|
|
656
656
|
defaultStreamId: string;
|
|
657
|
-
streamNaming: "
|
|
657
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
658
658
|
} | {
|
|
659
659
|
type: "door";
|
|
660
660
|
canReportOpenState: boolean;
|
|
661
661
|
canReportLockState: boolean;
|
|
662
662
|
canControlLock: boolean;
|
|
663
663
|
canRelease: boolean;
|
|
664
|
-
style?: "
|
|
664
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
665
665
|
} | {
|
|
666
666
|
type: "io-board";
|
|
667
667
|
inputs: string[];
|
|
@@ -704,7 +704,7 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
704
704
|
type: "system";
|
|
705
705
|
}))[];
|
|
706
706
|
relations: ({
|
|
707
|
-
kind: "
|
|
707
|
+
kind: "attachedTo" | "parent" | "child" | "holds" | "isHeldBy" | "observes" | "isObservedBy" | "sendsInputTo" | "receivesInputFrom" | "sendsOutputTo" | "receivesOutputFrom" | "unlocks" | "isUnlockedBy" | "controls" | "isControlledBy" | "records" | "isRecordedBy" | "reads" | "isReadBy";
|
|
708
708
|
leftId: string;
|
|
709
709
|
rightId: string;
|
|
710
710
|
} & {
|
|
@@ -726,39 +726,39 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
726
726
|
type: "alarm";
|
|
727
727
|
} | {
|
|
728
728
|
type: "camera";
|
|
729
|
+
ptzCapable: boolean;
|
|
730
|
+
ptzPanSpeed: number;
|
|
731
|
+
ptzTiltSpeed: number;
|
|
732
|
+
ptzZoomSpeed: number;
|
|
733
|
+
panMin: number;
|
|
734
|
+
panMax: number;
|
|
735
|
+
tiltMin: number;
|
|
736
|
+
tiltMax: number;
|
|
737
|
+
zoomMin: number;
|
|
738
|
+
zoomMax: number;
|
|
729
739
|
streams: {
|
|
730
740
|
id: string;
|
|
731
|
-
height: number | null;
|
|
732
|
-
width: number | null;
|
|
733
741
|
displayName: string;
|
|
734
742
|
externalPlayerUrl: string | null;
|
|
735
743
|
rtspUrl: string | null;
|
|
736
744
|
recordingCapable: boolean;
|
|
745
|
+
width: number | null;
|
|
746
|
+
height: number | null;
|
|
737
747
|
lensType: "flat" | "fisheye";
|
|
738
748
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
739
749
|
webrtcPlaybackSource: ({
|
|
740
750
|
kind: string;
|
|
741
751
|
} & Record<string, unknown>) | null;
|
|
742
752
|
}[];
|
|
743
|
-
ptzCapable: boolean;
|
|
744
|
-
ptzPanSpeed: number;
|
|
745
|
-
ptzTiltSpeed: number;
|
|
746
|
-
ptzZoomSpeed: number;
|
|
747
|
-
panMin: number;
|
|
748
|
-
panMax: number;
|
|
749
|
-
tiltMin: number;
|
|
750
|
-
tiltMax: number;
|
|
751
|
-
zoomMin: number;
|
|
752
|
-
zoomMax: number;
|
|
753
753
|
defaultStreamId: string;
|
|
754
|
-
streamNaming: "
|
|
754
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
755
755
|
} | {
|
|
756
756
|
type: "door";
|
|
757
757
|
canReportOpenState: boolean;
|
|
758
758
|
canReportLockState: boolean;
|
|
759
759
|
canControlLock: boolean;
|
|
760
760
|
canRelease: boolean;
|
|
761
|
-
style?: "
|
|
761
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
762
762
|
} | {
|
|
763
763
|
type: "io-board";
|
|
764
764
|
inputs: string[];
|
|
@@ -801,7 +801,7 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
801
801
|
type: "system";
|
|
802
802
|
}))[];
|
|
803
803
|
relations: ({
|
|
804
|
-
kind: "
|
|
804
|
+
kind: "attachedTo" | "parent" | "child" | "holds" | "isHeldBy" | "observes" | "isObservedBy" | "sendsInputTo" | "receivesInputFrom" | "sendsOutputTo" | "receivesOutputFrom" | "unlocks" | "isUnlockedBy" | "controls" | "isControlledBy" | "records" | "isRecordedBy" | "reads" | "isReadBy";
|
|
805
805
|
leftId: string;
|
|
806
806
|
rightId: string;
|
|
807
807
|
} & {
|
|
@@ -872,12 +872,12 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
872
872
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
873
873
|
}, "strip", z.ZodTypeAny, {
|
|
874
874
|
id: string;
|
|
875
|
-
height: number | null;
|
|
876
|
-
width: number | null;
|
|
877
875
|
displayName: string;
|
|
878
876
|
externalPlayerUrl: string | null;
|
|
879
877
|
rtspUrl: string | null;
|
|
880
878
|
recordingCapable: boolean;
|
|
879
|
+
width: number | null;
|
|
880
|
+
height: number | null;
|
|
881
881
|
lensType: "flat" | "fisheye";
|
|
882
882
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
883
883
|
webrtcPlaybackSource: ({
|
|
@@ -885,12 +885,12 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
885
885
|
} & Record<string, unknown>) | null;
|
|
886
886
|
}, {
|
|
887
887
|
id: string;
|
|
888
|
-
height: number | null;
|
|
889
|
-
width: number | null;
|
|
890
888
|
displayName: string;
|
|
891
889
|
externalPlayerUrl: string | null;
|
|
892
890
|
rtspUrl: string | null;
|
|
893
891
|
recordingCapable: boolean;
|
|
892
|
+
width: number | null;
|
|
893
|
+
height: number | null;
|
|
894
894
|
lensType: "flat" | "fisheye";
|
|
895
895
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
896
896
|
webrtcPlaybackSource: ({
|
|
@@ -903,20 +903,34 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
903
903
|
type: z.ZodLiteral<"camera">;
|
|
904
904
|
}, "strip", z.ZodTypeAny, {
|
|
905
905
|
type: "camera";
|
|
906
|
+
ptzCapable: boolean;
|
|
907
|
+
ptzPanSpeed: number;
|
|
908
|
+
ptzTiltSpeed: number;
|
|
909
|
+
ptzZoomSpeed: number;
|
|
910
|
+
panMin: number;
|
|
911
|
+
panMax: number;
|
|
912
|
+
tiltMin: number;
|
|
913
|
+
tiltMax: number;
|
|
914
|
+
zoomMin: number;
|
|
915
|
+
zoomMax: number;
|
|
906
916
|
streams: {
|
|
907
917
|
id: string;
|
|
908
|
-
height: number | null;
|
|
909
|
-
width: number | null;
|
|
910
918
|
displayName: string;
|
|
911
919
|
externalPlayerUrl: string | null;
|
|
912
920
|
rtspUrl: string | null;
|
|
913
921
|
recordingCapable: boolean;
|
|
922
|
+
width: number | null;
|
|
923
|
+
height: number | null;
|
|
914
924
|
lensType: "flat" | "fisheye";
|
|
915
925
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
916
926
|
webrtcPlaybackSource: ({
|
|
917
927
|
kind: string;
|
|
918
928
|
} & Record<string, unknown>) | null;
|
|
919
929
|
}[];
|
|
930
|
+
defaultStreamId: string;
|
|
931
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
932
|
+
}, {
|
|
933
|
+
type: "camera";
|
|
920
934
|
ptzCapable: boolean;
|
|
921
935
|
ptzPanSpeed: number;
|
|
922
936
|
ptzTiltSpeed: number;
|
|
@@ -927,36 +941,22 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
927
941
|
tiltMax: number;
|
|
928
942
|
zoomMin: number;
|
|
929
943
|
zoomMax: number;
|
|
930
|
-
defaultStreamId: string;
|
|
931
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
932
|
-
}, {
|
|
933
|
-
type: "camera";
|
|
934
944
|
streams: {
|
|
935
945
|
id: string;
|
|
936
|
-
height: number | null;
|
|
937
|
-
width: number | null;
|
|
938
946
|
displayName: string;
|
|
939
947
|
externalPlayerUrl: string | null;
|
|
940
948
|
rtspUrl: string | null;
|
|
941
949
|
recordingCapable: boolean;
|
|
950
|
+
width: number | null;
|
|
951
|
+
height: number | null;
|
|
942
952
|
lensType: "flat" | "fisheye";
|
|
943
953
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
944
954
|
webrtcPlaybackSource: ({
|
|
945
955
|
kind: string;
|
|
946
956
|
} & Record<string, unknown>) | null;
|
|
947
957
|
}[];
|
|
948
|
-
ptzCapable: boolean;
|
|
949
|
-
ptzPanSpeed: number;
|
|
950
|
-
ptzTiltSpeed: number;
|
|
951
|
-
ptzZoomSpeed: number;
|
|
952
|
-
panMin: number;
|
|
953
|
-
panMax: number;
|
|
954
|
-
tiltMin: number;
|
|
955
|
-
tiltMax: number;
|
|
956
|
-
zoomMin: number;
|
|
957
|
-
zoomMax: number;
|
|
958
958
|
defaultStreamId: string;
|
|
959
|
-
streamNaming: "
|
|
959
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
960
960
|
}>, z.ZodObject<{
|
|
961
961
|
canReportOpenState: z.ZodBoolean;
|
|
962
962
|
canReportLockState: z.ZodBoolean;
|
|
@@ -971,14 +971,14 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
971
971
|
canReportLockState: boolean;
|
|
972
972
|
canControlLock: boolean;
|
|
973
973
|
canRelease: boolean;
|
|
974
|
-
style?: "
|
|
974
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
975
975
|
}, {
|
|
976
976
|
type: "door";
|
|
977
977
|
canReportOpenState: boolean;
|
|
978
978
|
canReportLockState: boolean;
|
|
979
979
|
canControlLock: boolean;
|
|
980
980
|
canRelease: boolean;
|
|
981
|
-
style?: "
|
|
981
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
982
982
|
}>, z.ZodObject<{
|
|
983
983
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
984
984
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1152,12 +1152,12 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1152
1152
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1153
1153
|
}, "strip", z.ZodTypeAny, {
|
|
1154
1154
|
id: string;
|
|
1155
|
-
height: number | null;
|
|
1156
|
-
width: number | null;
|
|
1157
1155
|
displayName: string;
|
|
1158
1156
|
externalPlayerUrl: string | null;
|
|
1159
1157
|
rtspUrl: string | null;
|
|
1160
1158
|
recordingCapable: boolean;
|
|
1159
|
+
width: number | null;
|
|
1160
|
+
height: number | null;
|
|
1161
1161
|
lensType: "flat" | "fisheye";
|
|
1162
1162
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1163
1163
|
webrtcPlaybackSource: ({
|
|
@@ -1165,12 +1165,12 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1165
1165
|
} & Record<string, unknown>) | null;
|
|
1166
1166
|
}, {
|
|
1167
1167
|
id: string;
|
|
1168
|
-
height: number | null;
|
|
1169
|
-
width: number | null;
|
|
1170
1168
|
displayName: string;
|
|
1171
1169
|
externalPlayerUrl: string | null;
|
|
1172
1170
|
rtspUrl: string | null;
|
|
1173
1171
|
recordingCapable: boolean;
|
|
1172
|
+
width: number | null;
|
|
1173
|
+
height: number | null;
|
|
1174
1174
|
lensType: "flat" | "fisheye";
|
|
1175
1175
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1176
1176
|
webrtcPlaybackSource: ({
|
|
@@ -1183,20 +1183,34 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1183
1183
|
type: z.ZodLiteral<"camera">;
|
|
1184
1184
|
}, "strip", z.ZodTypeAny, {
|
|
1185
1185
|
type: "camera";
|
|
1186
|
+
ptzCapable: boolean;
|
|
1187
|
+
ptzPanSpeed: number;
|
|
1188
|
+
ptzTiltSpeed: number;
|
|
1189
|
+
ptzZoomSpeed: number;
|
|
1190
|
+
panMin: number;
|
|
1191
|
+
panMax: number;
|
|
1192
|
+
tiltMin: number;
|
|
1193
|
+
tiltMax: number;
|
|
1194
|
+
zoomMin: number;
|
|
1195
|
+
zoomMax: number;
|
|
1186
1196
|
streams: {
|
|
1187
1197
|
id: string;
|
|
1188
|
-
height: number | null;
|
|
1189
|
-
width: number | null;
|
|
1190
1198
|
displayName: string;
|
|
1191
1199
|
externalPlayerUrl: string | null;
|
|
1192
1200
|
rtspUrl: string | null;
|
|
1193
1201
|
recordingCapable: boolean;
|
|
1202
|
+
width: number | null;
|
|
1203
|
+
height: number | null;
|
|
1194
1204
|
lensType: "flat" | "fisheye";
|
|
1195
1205
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1196
1206
|
webrtcPlaybackSource: ({
|
|
1197
1207
|
kind: string;
|
|
1198
1208
|
} & Record<string, unknown>) | null;
|
|
1199
1209
|
}[];
|
|
1210
|
+
defaultStreamId: string;
|
|
1211
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1212
|
+
}, {
|
|
1213
|
+
type: "camera";
|
|
1200
1214
|
ptzCapable: boolean;
|
|
1201
1215
|
ptzPanSpeed: number;
|
|
1202
1216
|
ptzTiltSpeed: number;
|
|
@@ -1207,36 +1221,22 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1207
1221
|
tiltMax: number;
|
|
1208
1222
|
zoomMin: number;
|
|
1209
1223
|
zoomMax: number;
|
|
1210
|
-
defaultStreamId: string;
|
|
1211
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1212
|
-
}, {
|
|
1213
|
-
type: "camera";
|
|
1214
1224
|
streams: {
|
|
1215
1225
|
id: string;
|
|
1216
|
-
height: number | null;
|
|
1217
|
-
width: number | null;
|
|
1218
1226
|
displayName: string;
|
|
1219
1227
|
externalPlayerUrl: string | null;
|
|
1220
1228
|
rtspUrl: string | null;
|
|
1221
1229
|
recordingCapable: boolean;
|
|
1230
|
+
width: number | null;
|
|
1231
|
+
height: number | null;
|
|
1222
1232
|
lensType: "flat" | "fisheye";
|
|
1223
1233
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1224
1234
|
webrtcPlaybackSource: ({
|
|
1225
1235
|
kind: string;
|
|
1226
1236
|
} & Record<string, unknown>) | null;
|
|
1227
1237
|
}[];
|
|
1228
|
-
ptzCapable: boolean;
|
|
1229
|
-
ptzPanSpeed: number;
|
|
1230
|
-
ptzTiltSpeed: number;
|
|
1231
|
-
ptzZoomSpeed: number;
|
|
1232
|
-
panMin: number;
|
|
1233
|
-
panMax: number;
|
|
1234
|
-
tiltMin: number;
|
|
1235
|
-
tiltMax: number;
|
|
1236
|
-
zoomMin: number;
|
|
1237
|
-
zoomMax: number;
|
|
1238
1238
|
defaultStreamId: string;
|
|
1239
|
-
streamNaming: "
|
|
1239
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1240
1240
|
}>, z.ZodObject<{
|
|
1241
1241
|
canReportOpenState: z.ZodBoolean;
|
|
1242
1242
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1251,14 +1251,14 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1251
1251
|
canReportLockState: boolean;
|
|
1252
1252
|
canControlLock: boolean;
|
|
1253
1253
|
canRelease: boolean;
|
|
1254
|
-
style?: "
|
|
1254
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1255
1255
|
}, {
|
|
1256
1256
|
type: "door";
|
|
1257
1257
|
canReportOpenState: boolean;
|
|
1258
1258
|
canReportLockState: boolean;
|
|
1259
1259
|
canControlLock: boolean;
|
|
1260
1260
|
canRelease: boolean;
|
|
1261
|
-
style?: "
|
|
1261
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1262
1262
|
}>, z.ZodObject<{
|
|
1263
1263
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
1264
1264
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1393,16 +1393,16 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1393
1393
|
createdOn: z.ZodString;
|
|
1394
1394
|
lastModifiedOn: z.ZodString;
|
|
1395
1395
|
}, "strip", z.ZodTypeAny, {
|
|
1396
|
-
name: string;
|
|
1397
1396
|
id: string;
|
|
1397
|
+
name: string;
|
|
1398
1398
|
createdOn: string;
|
|
1399
1399
|
lastModifiedOn: string;
|
|
1400
1400
|
isDefault: boolean;
|
|
1401
1401
|
assignedRef: string | null;
|
|
1402
1402
|
params?: unknown;
|
|
1403
1403
|
}, {
|
|
1404
|
-
name: string;
|
|
1405
1404
|
id: string;
|
|
1405
|
+
name: string;
|
|
1406
1406
|
createdOn: string;
|
|
1407
1407
|
lastModifiedOn: string;
|
|
1408
1408
|
isDefault: boolean;
|
|
@@ -1427,14 +1427,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1427
1427
|
createdOn: z.ZodString;
|
|
1428
1428
|
lastModifiedOn: z.ZodString;
|
|
1429
1429
|
}, "strip", z.ZodTypeAny, {
|
|
1430
|
-
groups: string[];
|
|
1431
1430
|
id: string;
|
|
1432
1431
|
createdOn: string;
|
|
1433
1432
|
lastModifiedOn: string;
|
|
1434
1433
|
enabled: boolean;
|
|
1435
1434
|
presets: {
|
|
1436
|
-
name: string;
|
|
1437
1435
|
id: string;
|
|
1436
|
+
name: string;
|
|
1438
1437
|
createdOn: string;
|
|
1439
1438
|
lastModifiedOn: string;
|
|
1440
1439
|
isDefault: boolean;
|
|
@@ -1448,15 +1447,15 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1448
1447
|
id: z.ZodString;
|
|
1449
1448
|
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
1450
1449
|
}, z.ZodUnknown, "strip">[];
|
|
1451
|
-
}, {
|
|
1452
1450
|
groups: string[];
|
|
1451
|
+
}, {
|
|
1453
1452
|
id: string;
|
|
1454
1453
|
createdOn: string;
|
|
1455
1454
|
lastModifiedOn: string;
|
|
1456
1455
|
enabled: boolean;
|
|
1457
1456
|
presets: {
|
|
1458
|
-
name: string;
|
|
1459
1457
|
id: string;
|
|
1458
|
+
name: string;
|
|
1460
1459
|
createdOn: string;
|
|
1461
1460
|
lastModifiedOn: string;
|
|
1462
1461
|
isDefault: boolean;
|
|
@@ -1470,6 +1469,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1470
1469
|
id: z.ZodString;
|
|
1471
1470
|
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
1472
1471
|
}, z.ZodUnknown, "strip">[];
|
|
1472
|
+
groups: string[];
|
|
1473
1473
|
}>>, z.ZodObject<{
|
|
1474
1474
|
name: z.ZodString;
|
|
1475
1475
|
foreignRef: z.ZodString;
|
|
@@ -1514,24 +1514,107 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1514
1514
|
refs: string[];
|
|
1515
1515
|
}>, "many">;
|
|
1516
1516
|
}, "strip", z.ZodTypeAny, {
|
|
1517
|
-
|
|
1517
|
+
relations: z.objectOutputType<{
|
|
1518
|
+
leftId: z.ZodString;
|
|
1519
|
+
rightId: z.ZodString;
|
|
1520
|
+
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
1521
|
+
}, z.ZodUnknown, "strip">[];
|
|
1522
|
+
added: ({
|
|
1523
|
+
tags?: string[] | undefined;
|
|
1524
|
+
} & {
|
|
1525
|
+
name: string;
|
|
1526
|
+
foreignRef: string;
|
|
1527
|
+
provider: string;
|
|
1528
|
+
providerMetadata: {} & {
|
|
1529
|
+
[k: string]: unknown;
|
|
1530
|
+
};
|
|
1531
|
+
} & ({
|
|
1518
1532
|
type: "alarm";
|
|
1519
1533
|
} | {
|
|
1520
1534
|
type: "camera";
|
|
1535
|
+
ptzCapable: boolean;
|
|
1536
|
+
ptzPanSpeed: number;
|
|
1537
|
+
ptzTiltSpeed: number;
|
|
1538
|
+
ptzZoomSpeed: number;
|
|
1539
|
+
panMin: number;
|
|
1540
|
+
panMax: number;
|
|
1541
|
+
tiltMin: number;
|
|
1542
|
+
tiltMax: number;
|
|
1543
|
+
zoomMin: number;
|
|
1544
|
+
zoomMax: number;
|
|
1521
1545
|
streams: {
|
|
1522
1546
|
id: string;
|
|
1523
|
-
height: number | null;
|
|
1524
|
-
width: number | null;
|
|
1525
1547
|
displayName: string;
|
|
1526
1548
|
externalPlayerUrl: string | null;
|
|
1527
1549
|
rtspUrl: string | null;
|
|
1528
1550
|
recordingCapable: boolean;
|
|
1551
|
+
width: number | null;
|
|
1552
|
+
height: number | null;
|
|
1529
1553
|
lensType: "flat" | "fisheye";
|
|
1530
1554
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1531
1555
|
webrtcPlaybackSource: ({
|
|
1532
1556
|
kind: string;
|
|
1533
1557
|
} & Record<string, unknown>) | null;
|
|
1534
1558
|
}[];
|
|
1559
|
+
defaultStreamId: string;
|
|
1560
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1561
|
+
} | {
|
|
1562
|
+
type: "door";
|
|
1563
|
+
canReportOpenState: boolean;
|
|
1564
|
+
canReportLockState: boolean;
|
|
1565
|
+
canControlLock: boolean;
|
|
1566
|
+
canRelease: boolean;
|
|
1567
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1568
|
+
} | {
|
|
1569
|
+
type: "io-board";
|
|
1570
|
+
inputs: string[];
|
|
1571
|
+
outputs: string[];
|
|
1572
|
+
} | {
|
|
1573
|
+
type: "camera-lift";
|
|
1574
|
+
} | {
|
|
1575
|
+
type: "motion-sensor";
|
|
1576
|
+
} | {
|
|
1577
|
+
type: "panic-button";
|
|
1578
|
+
} | {
|
|
1579
|
+
type: "intercom-terminal";
|
|
1580
|
+
sipUri: string;
|
|
1581
|
+
sipUser: string;
|
|
1582
|
+
sipPassword: string;
|
|
1583
|
+
sipRealm: string;
|
|
1584
|
+
remoteExtension: string;
|
|
1585
|
+
} | {
|
|
1586
|
+
type: "pbx";
|
|
1587
|
+
sipWsUrl: string;
|
|
1588
|
+
} | {
|
|
1589
|
+
type: "server";
|
|
1590
|
+
} | {
|
|
1591
|
+
type: "intercom-operator";
|
|
1592
|
+
} | {
|
|
1593
|
+
type: "device-gateway";
|
|
1594
|
+
} | {
|
|
1595
|
+
type: "presence-tracker";
|
|
1596
|
+
} | {
|
|
1597
|
+
type: "reader";
|
|
1598
|
+
} | {
|
|
1599
|
+
type: "display";
|
|
1600
|
+
} | {
|
|
1601
|
+
type: "nvr-recorder";
|
|
1602
|
+
} | {
|
|
1603
|
+
type: "nvr-exporter";
|
|
1604
|
+
} | {
|
|
1605
|
+
type: "nvr-analytics-server";
|
|
1606
|
+
} | {
|
|
1607
|
+
type: "system";
|
|
1608
|
+
}))[];
|
|
1609
|
+
updated: z.objectOutputType<{
|
|
1610
|
+
id: z.ZodString;
|
|
1611
|
+
provider: z.ZodString;
|
|
1612
|
+
foreignRef: z.ZodString;
|
|
1613
|
+
}, z.ZodUnknown, "strip">[];
|
|
1614
|
+
removed: ((({
|
|
1615
|
+
type: "alarm";
|
|
1616
|
+
} | {
|
|
1617
|
+
type: "camera";
|
|
1535
1618
|
ptzCapable: boolean;
|
|
1536
1619
|
ptzPanSpeed: number;
|
|
1537
1620
|
ptzTiltSpeed: number;
|
|
@@ -1542,15 +1625,29 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1542
1625
|
tiltMax: number;
|
|
1543
1626
|
zoomMin: number;
|
|
1544
1627
|
zoomMax: number;
|
|
1628
|
+
streams: {
|
|
1629
|
+
id: string;
|
|
1630
|
+
displayName: string;
|
|
1631
|
+
externalPlayerUrl: string | null;
|
|
1632
|
+
rtspUrl: string | null;
|
|
1633
|
+
recordingCapable: boolean;
|
|
1634
|
+
width: number | null;
|
|
1635
|
+
height: number | null;
|
|
1636
|
+
lensType: "flat" | "fisheye";
|
|
1637
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1638
|
+
webrtcPlaybackSource: ({
|
|
1639
|
+
kind: string;
|
|
1640
|
+
} & Record<string, unknown>) | null;
|
|
1641
|
+
}[];
|
|
1545
1642
|
defaultStreamId: string;
|
|
1546
|
-
streamNaming: "
|
|
1643
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1547
1644
|
} | {
|
|
1548
1645
|
type: "door";
|
|
1549
1646
|
canReportOpenState: boolean;
|
|
1550
1647
|
canReportLockState: boolean;
|
|
1551
1648
|
canControlLock: boolean;
|
|
1552
1649
|
canRelease: boolean;
|
|
1553
|
-
style?: "
|
|
1650
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1554
1651
|
} | {
|
|
1555
1652
|
type: "io-board";
|
|
1556
1653
|
inputs: string[];
|
|
@@ -1592,14 +1689,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1592
1689
|
} | {
|
|
1593
1690
|
type: "system";
|
|
1594
1691
|
}) & {
|
|
1595
|
-
groups: string[];
|
|
1596
1692
|
id: string;
|
|
1597
1693
|
createdOn: string;
|
|
1598
1694
|
lastModifiedOn: string;
|
|
1599
1695
|
enabled: boolean;
|
|
1600
1696
|
presets: {
|
|
1601
|
-
name: string;
|
|
1602
1697
|
id: string;
|
|
1698
|
+
name: string;
|
|
1603
1699
|
createdOn: string;
|
|
1604
1700
|
lastModifiedOn: string;
|
|
1605
1701
|
isDefault: boolean;
|
|
@@ -1613,6 +1709,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1613
1709
|
id: z.ZodString;
|
|
1614
1710
|
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
1615
1711
|
}, z.ZodUnknown, "strip">[];
|
|
1712
|
+
groups: string[];
|
|
1616
1713
|
}) & {
|
|
1617
1714
|
name: string;
|
|
1618
1715
|
foreignRef: string;
|
|
@@ -1621,7 +1718,12 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1621
1718
|
[k: string]: unknown;
|
|
1622
1719
|
};
|
|
1623
1720
|
})[];
|
|
1624
|
-
|
|
1721
|
+
duplicates: {
|
|
1722
|
+
name: string;
|
|
1723
|
+
refs: string[];
|
|
1724
|
+
}[];
|
|
1725
|
+
}, {
|
|
1726
|
+
relations: z.objectInputType<{
|
|
1625
1727
|
leftId: z.ZodString;
|
|
1626
1728
|
rightId: z.ZodString;
|
|
1627
1729
|
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
@@ -1639,39 +1741,39 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1639
1741
|
type: "alarm";
|
|
1640
1742
|
} | {
|
|
1641
1743
|
type: "camera";
|
|
1744
|
+
ptzCapable: boolean;
|
|
1745
|
+
ptzPanSpeed: number;
|
|
1746
|
+
ptzTiltSpeed: number;
|
|
1747
|
+
ptzZoomSpeed: number;
|
|
1748
|
+
panMin: number;
|
|
1749
|
+
panMax: number;
|
|
1750
|
+
tiltMin: number;
|
|
1751
|
+
tiltMax: number;
|
|
1752
|
+
zoomMin: number;
|
|
1753
|
+
zoomMax: number;
|
|
1642
1754
|
streams: {
|
|
1643
1755
|
id: string;
|
|
1644
|
-
height: number | null;
|
|
1645
|
-
width: number | null;
|
|
1646
1756
|
displayName: string;
|
|
1647
1757
|
externalPlayerUrl: string | null;
|
|
1648
1758
|
rtspUrl: string | null;
|
|
1649
1759
|
recordingCapable: boolean;
|
|
1760
|
+
width: number | null;
|
|
1761
|
+
height: number | null;
|
|
1650
1762
|
lensType: "flat" | "fisheye";
|
|
1651
1763
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1652
1764
|
webrtcPlaybackSource: ({
|
|
1653
1765
|
kind: string;
|
|
1654
1766
|
} & Record<string, unknown>) | null;
|
|
1655
1767
|
}[];
|
|
1656
|
-
ptzCapable: boolean;
|
|
1657
|
-
ptzPanSpeed: number;
|
|
1658
|
-
ptzTiltSpeed: number;
|
|
1659
|
-
ptzZoomSpeed: number;
|
|
1660
|
-
panMin: number;
|
|
1661
|
-
panMax: number;
|
|
1662
|
-
tiltMin: number;
|
|
1663
|
-
tiltMax: number;
|
|
1664
|
-
zoomMin: number;
|
|
1665
|
-
zoomMax: number;
|
|
1666
1768
|
defaultStreamId: string;
|
|
1667
|
-
streamNaming: "
|
|
1769
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1668
1770
|
} | {
|
|
1669
1771
|
type: "door";
|
|
1670
1772
|
canReportOpenState: boolean;
|
|
1671
1773
|
canReportLockState: boolean;
|
|
1672
1774
|
canControlLock: boolean;
|
|
1673
1775
|
canRelease: boolean;
|
|
1674
|
-
style?: "
|
|
1776
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1675
1777
|
} | {
|
|
1676
1778
|
type: "io-board";
|
|
1677
1779
|
inputs: string[];
|
|
@@ -1713,53 +1815,48 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1713
1815
|
} | {
|
|
1714
1816
|
type: "system";
|
|
1715
1817
|
}))[];
|
|
1716
|
-
updated: z.
|
|
1818
|
+
updated: z.objectInputType<{
|
|
1717
1819
|
id: z.ZodString;
|
|
1718
1820
|
provider: z.ZodString;
|
|
1719
1821
|
foreignRef: z.ZodString;
|
|
1720
1822
|
}, z.ZodUnknown, "strip">[];
|
|
1721
|
-
duplicates: {
|
|
1722
|
-
name: string;
|
|
1723
|
-
refs: string[];
|
|
1724
|
-
}[];
|
|
1725
|
-
}, {
|
|
1726
1823
|
removed: ((({
|
|
1727
1824
|
type: "alarm";
|
|
1728
1825
|
} | {
|
|
1729
1826
|
type: "camera";
|
|
1827
|
+
ptzCapable: boolean;
|
|
1828
|
+
ptzPanSpeed: number;
|
|
1829
|
+
ptzTiltSpeed: number;
|
|
1830
|
+
ptzZoomSpeed: number;
|
|
1831
|
+
panMin: number;
|
|
1832
|
+
panMax: number;
|
|
1833
|
+
tiltMin: number;
|
|
1834
|
+
tiltMax: number;
|
|
1835
|
+
zoomMin: number;
|
|
1836
|
+
zoomMax: number;
|
|
1730
1837
|
streams: {
|
|
1731
1838
|
id: string;
|
|
1732
|
-
height: number | null;
|
|
1733
|
-
width: number | null;
|
|
1734
1839
|
displayName: string;
|
|
1735
1840
|
externalPlayerUrl: string | null;
|
|
1736
1841
|
rtspUrl: string | null;
|
|
1737
1842
|
recordingCapable: boolean;
|
|
1843
|
+
width: number | null;
|
|
1844
|
+
height: number | null;
|
|
1738
1845
|
lensType: "flat" | "fisheye";
|
|
1739
1846
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1740
1847
|
webrtcPlaybackSource: ({
|
|
1741
1848
|
kind: string;
|
|
1742
1849
|
} & Record<string, unknown>) | null;
|
|
1743
1850
|
}[];
|
|
1744
|
-
ptzCapable: boolean;
|
|
1745
|
-
ptzPanSpeed: number;
|
|
1746
|
-
ptzTiltSpeed: number;
|
|
1747
|
-
ptzZoomSpeed: number;
|
|
1748
|
-
panMin: number;
|
|
1749
|
-
panMax: number;
|
|
1750
|
-
tiltMin: number;
|
|
1751
|
-
tiltMax: number;
|
|
1752
|
-
zoomMin: number;
|
|
1753
|
-
zoomMax: number;
|
|
1754
1851
|
defaultStreamId: string;
|
|
1755
|
-
streamNaming: "
|
|
1852
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1756
1853
|
} | {
|
|
1757
1854
|
type: "door";
|
|
1758
1855
|
canReportOpenState: boolean;
|
|
1759
1856
|
canReportLockState: boolean;
|
|
1760
1857
|
canControlLock: boolean;
|
|
1761
1858
|
canRelease: boolean;
|
|
1762
|
-
style?: "
|
|
1859
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1763
1860
|
} | {
|
|
1764
1861
|
type: "io-board";
|
|
1765
1862
|
inputs: string[];
|
|
@@ -1801,14 +1898,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1801
1898
|
} | {
|
|
1802
1899
|
type: "system";
|
|
1803
1900
|
}) & {
|
|
1804
|
-
groups: string[];
|
|
1805
1901
|
id: string;
|
|
1806
1902
|
createdOn: string;
|
|
1807
1903
|
lastModifiedOn: string;
|
|
1808
1904
|
enabled: boolean;
|
|
1809
1905
|
presets: {
|
|
1810
|
-
name: string;
|
|
1811
1906
|
id: string;
|
|
1907
|
+
name: string;
|
|
1812
1908
|
createdOn: string;
|
|
1813
1909
|
lastModifiedOn: string;
|
|
1814
1910
|
isDefault: boolean;
|
|
@@ -1822,6 +1918,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1822
1918
|
id: z.ZodString;
|
|
1823
1919
|
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
1824
1920
|
}, z.ZodUnknown, "strip">[];
|
|
1921
|
+
groups: string[];
|
|
1825
1922
|
}) & {
|
|
1826
1923
|
name: string;
|
|
1827
1924
|
foreignRef: string;
|
|
@@ -1830,103 +1927,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1830
1927
|
[k: string]: unknown;
|
|
1831
1928
|
};
|
|
1832
1929
|
})[];
|
|
1833
|
-
relations: z.objectInputType<{
|
|
1834
|
-
leftId: z.ZodString;
|
|
1835
|
-
rightId: z.ZodString;
|
|
1836
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
1837
|
-
}, z.ZodUnknown, "strip">[];
|
|
1838
|
-
added: ({
|
|
1839
|
-
tags?: string[] | undefined;
|
|
1840
|
-
} & {
|
|
1841
|
-
name: string;
|
|
1842
|
-
foreignRef: string;
|
|
1843
|
-
provider: string;
|
|
1844
|
-
providerMetadata: {} & {
|
|
1845
|
-
[k: string]: unknown;
|
|
1846
|
-
};
|
|
1847
|
-
} & ({
|
|
1848
|
-
type: "alarm";
|
|
1849
|
-
} | {
|
|
1850
|
-
type: "camera";
|
|
1851
|
-
streams: {
|
|
1852
|
-
id: string;
|
|
1853
|
-
height: number | null;
|
|
1854
|
-
width: number | null;
|
|
1855
|
-
displayName: string;
|
|
1856
|
-
externalPlayerUrl: string | null;
|
|
1857
|
-
rtspUrl: string | null;
|
|
1858
|
-
recordingCapable: boolean;
|
|
1859
|
-
lensType: "flat" | "fisheye";
|
|
1860
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1861
|
-
webrtcPlaybackSource: ({
|
|
1862
|
-
kind: string;
|
|
1863
|
-
} & Record<string, unknown>) | null;
|
|
1864
|
-
}[];
|
|
1865
|
-
ptzCapable: boolean;
|
|
1866
|
-
ptzPanSpeed: number;
|
|
1867
|
-
ptzTiltSpeed: number;
|
|
1868
|
-
ptzZoomSpeed: number;
|
|
1869
|
-
panMin: number;
|
|
1870
|
-
panMax: number;
|
|
1871
|
-
tiltMin: number;
|
|
1872
|
-
tiltMax: number;
|
|
1873
|
-
zoomMin: number;
|
|
1874
|
-
zoomMax: number;
|
|
1875
|
-
defaultStreamId: string;
|
|
1876
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1877
|
-
} | {
|
|
1878
|
-
type: "door";
|
|
1879
|
-
canReportOpenState: boolean;
|
|
1880
|
-
canReportLockState: boolean;
|
|
1881
|
-
canControlLock: boolean;
|
|
1882
|
-
canRelease: boolean;
|
|
1883
|
-
style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
|
|
1884
|
-
} | {
|
|
1885
|
-
type: "io-board";
|
|
1886
|
-
inputs: string[];
|
|
1887
|
-
outputs: string[];
|
|
1888
|
-
} | {
|
|
1889
|
-
type: "camera-lift";
|
|
1890
|
-
} | {
|
|
1891
|
-
type: "motion-sensor";
|
|
1892
|
-
} | {
|
|
1893
|
-
type: "panic-button";
|
|
1894
|
-
} | {
|
|
1895
|
-
type: "intercom-terminal";
|
|
1896
|
-
sipUri: string;
|
|
1897
|
-
sipUser: string;
|
|
1898
|
-
sipPassword: string;
|
|
1899
|
-
sipRealm: string;
|
|
1900
|
-
remoteExtension: string;
|
|
1901
|
-
} | {
|
|
1902
|
-
type: "pbx";
|
|
1903
|
-
sipWsUrl: string;
|
|
1904
|
-
} | {
|
|
1905
|
-
type: "server";
|
|
1906
|
-
} | {
|
|
1907
|
-
type: "intercom-operator";
|
|
1908
|
-
} | {
|
|
1909
|
-
type: "device-gateway";
|
|
1910
|
-
} | {
|
|
1911
|
-
type: "presence-tracker";
|
|
1912
|
-
} | {
|
|
1913
|
-
type: "reader";
|
|
1914
|
-
} | {
|
|
1915
|
-
type: "display";
|
|
1916
|
-
} | {
|
|
1917
|
-
type: "nvr-recorder";
|
|
1918
|
-
} | {
|
|
1919
|
-
type: "nvr-exporter";
|
|
1920
|
-
} | {
|
|
1921
|
-
type: "nvr-analytics-server";
|
|
1922
|
-
} | {
|
|
1923
|
-
type: "system";
|
|
1924
|
-
}))[];
|
|
1925
|
-
updated: z.objectInputType<{
|
|
1926
|
-
id: z.ZodString;
|
|
1927
|
-
provider: z.ZodString;
|
|
1928
|
-
foreignRef: z.ZodString;
|
|
1929
|
-
}, z.ZodUnknown, "strip">[];
|
|
1930
1930
|
duplicates: {
|
|
1931
1931
|
name: string;
|
|
1932
1932
|
refs: string[];
|