@awarevue/api-types 2.0.39 → 2.0.41
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 +204 -136
- package/dist/api/commands/all.d.ts +135 -92
- package/dist/api/commands/nvr-exporter.d.ts +140 -92
- package/dist/api/commands/nvr-exporter.js +1 -0
- package/dist/api/commands/server.d.ts +130 -92
- package/dist/api/queries/all.d.ts +153 -102
- package/dist/api/queries/nvr-recorder.d.ts +306 -204
- package/dist/api/rest/cast.d.ts +2 -2
- package/dist/api/rest/device.d.ts +18 -0
- package/dist/api/rest/device.js +3 -0
- package/dist/api/rest/media.d.ts +3 -0
- package/dist/api/rest/media.js +1 -0
- package/dist/api/rest/view.d.ts +82 -14
- package/dist/api/rest/webrtc-playback.d.ts +18 -3
- package/dist/api/rest/webrtc-playback.js +5 -1
- package/dist/objects/device/any-device.d.ts +111 -66
- package/dist/objects/device/camera.d.ts +59 -22
- package/dist/objects/device/camera.js +5 -4
- package/dist/objects/device/device-import.d.ts +190 -124
- package/dist/objects/view.d.ts +135 -21
- package/dist/objects/view.js +8 -4
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +74 -44
- package/package.json +1 -1
|
@@ -152,8 +152,6 @@ export declare const requestSchemasByType: {
|
|
|
152
152
|
}, {
|
|
153
153
|
type: "alarm";
|
|
154
154
|
}>, z.ZodObject<{
|
|
155
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
156
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
157
155
|
ptzCapable: z.ZodBoolean;
|
|
158
156
|
ptzPanSpeed: z.ZodNumber;
|
|
159
157
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -164,31 +162,46 @@ export declare const requestSchemasByType: {
|
|
|
164
162
|
tiltMax: z.ZodNumber;
|
|
165
163
|
zoomMin: z.ZodNumber;
|
|
166
164
|
zoomMax: z.ZodNumber;
|
|
167
|
-
recordingCapable: z.ZodBoolean;
|
|
168
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
169
|
-
kind: z.ZodString;
|
|
170
|
-
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
kind: string;
|
|
172
|
-
}, {
|
|
173
|
-
kind: string;
|
|
174
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
175
165
|
streams: z.ZodArray<z.ZodObject<{
|
|
176
166
|
id: z.ZodString;
|
|
177
167
|
displayName: z.ZodString;
|
|
178
168
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
179
169
|
rtspUrl: z.ZodString;
|
|
170
|
+
recordingCapable: z.ZodBoolean;
|
|
171
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
172
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
173
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
174
|
+
kind: z.ZodString;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
kind: string;
|
|
177
|
+
}, {
|
|
178
|
+
kind: string;
|
|
179
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
181
|
id: string;
|
|
182
182
|
displayName: string;
|
|
183
183
|
externalPlayerUrl: string | null;
|
|
184
184
|
rtspUrl: string;
|
|
185
|
+
recordingCapable: boolean;
|
|
186
|
+
lensType: "flat" | "fisheye";
|
|
187
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
188
|
+
webrtcPlaybackSource: ({
|
|
189
|
+
kind: string;
|
|
190
|
+
} & Record<string, unknown>) | null;
|
|
185
191
|
}, {
|
|
186
192
|
id: string;
|
|
187
193
|
displayName: string;
|
|
188
194
|
externalPlayerUrl: string | null;
|
|
189
195
|
rtspUrl: string;
|
|
196
|
+
recordingCapable: boolean;
|
|
197
|
+
lensType: "flat" | "fisheye";
|
|
198
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
199
|
+
webrtcPlaybackSource: ({
|
|
200
|
+
kind: string;
|
|
201
|
+
} & Record<string, unknown>) | null;
|
|
190
202
|
}>, "many">;
|
|
191
203
|
defaultStreamId: z.ZodString;
|
|
204
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
192
205
|
} & {
|
|
193
206
|
type: z.ZodLiteral<"camera">;
|
|
194
207
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -198,9 +211,13 @@ export declare const requestSchemasByType: {
|
|
|
198
211
|
displayName: string;
|
|
199
212
|
externalPlayerUrl: string | null;
|
|
200
213
|
rtspUrl: string;
|
|
214
|
+
recordingCapable: boolean;
|
|
215
|
+
lensType: "flat" | "fisheye";
|
|
216
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
217
|
+
webrtcPlaybackSource: ({
|
|
218
|
+
kind: string;
|
|
219
|
+
} & Record<string, unknown>) | null;
|
|
201
220
|
}[];
|
|
202
|
-
lensType: "flat" | "fisheye";
|
|
203
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
204
221
|
ptzCapable: boolean;
|
|
205
222
|
ptzPanSpeed: number;
|
|
206
223
|
ptzTiltSpeed: number;
|
|
@@ -211,11 +228,8 @@ export declare const requestSchemasByType: {
|
|
|
211
228
|
tiltMax: number;
|
|
212
229
|
zoomMin: number;
|
|
213
230
|
zoomMax: number;
|
|
214
|
-
recordingCapable: boolean;
|
|
215
|
-
webrtcPlaybackSource: ({
|
|
216
|
-
kind: string;
|
|
217
|
-
} & Record<string, unknown>) | null;
|
|
218
231
|
defaultStreamId: string;
|
|
232
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
219
233
|
}, {
|
|
220
234
|
type: "camera";
|
|
221
235
|
streams: {
|
|
@@ -223,9 +237,13 @@ export declare const requestSchemasByType: {
|
|
|
223
237
|
displayName: string;
|
|
224
238
|
externalPlayerUrl: string | null;
|
|
225
239
|
rtspUrl: string;
|
|
240
|
+
recordingCapable: boolean;
|
|
241
|
+
lensType: "flat" | "fisheye";
|
|
242
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
243
|
+
webrtcPlaybackSource: ({
|
|
244
|
+
kind: string;
|
|
245
|
+
} & Record<string, unknown>) | null;
|
|
226
246
|
}[];
|
|
227
|
-
lensType: "flat" | "fisheye";
|
|
228
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
229
247
|
ptzCapable: boolean;
|
|
230
248
|
ptzPanSpeed: number;
|
|
231
249
|
ptzTiltSpeed: number;
|
|
@@ -236,11 +254,8 @@ export declare const requestSchemasByType: {
|
|
|
236
254
|
tiltMax: number;
|
|
237
255
|
zoomMin: number;
|
|
238
256
|
zoomMax: number;
|
|
239
|
-
recordingCapable: boolean;
|
|
240
|
-
webrtcPlaybackSource: ({
|
|
241
|
-
kind: string;
|
|
242
|
-
} & Record<string, unknown>) | null;
|
|
243
257
|
defaultStreamId: string;
|
|
258
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
244
259
|
}>, z.ZodObject<{
|
|
245
260
|
canReportOpenState: z.ZodBoolean;
|
|
246
261
|
canReportLockState: z.ZodBoolean;
|
|
@@ -415,9 +430,13 @@ export declare const requestSchemasByType: {
|
|
|
415
430
|
displayName: string;
|
|
416
431
|
externalPlayerUrl: string | null;
|
|
417
432
|
rtspUrl: string;
|
|
433
|
+
recordingCapable: boolean;
|
|
434
|
+
lensType: "flat" | "fisheye";
|
|
435
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
436
|
+
webrtcPlaybackSource: ({
|
|
437
|
+
kind: string;
|
|
438
|
+
} & Record<string, unknown>) | null;
|
|
418
439
|
}[];
|
|
419
|
-
lensType: "flat" | "fisheye";
|
|
420
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
421
440
|
ptzCapable: boolean;
|
|
422
441
|
ptzPanSpeed: number;
|
|
423
442
|
ptzTiltSpeed: number;
|
|
@@ -428,11 +447,8 @@ export declare const requestSchemasByType: {
|
|
|
428
447
|
tiltMax: number;
|
|
429
448
|
zoomMin: number;
|
|
430
449
|
zoomMax: number;
|
|
431
|
-
recordingCapable: boolean;
|
|
432
|
-
webrtcPlaybackSource: ({
|
|
433
|
-
kind: string;
|
|
434
|
-
} & Record<string, unknown>) | null;
|
|
435
450
|
defaultStreamId: string;
|
|
451
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
436
452
|
} | {
|
|
437
453
|
type: "door";
|
|
438
454
|
canReportOpenState: boolean;
|
|
@@ -509,9 +525,13 @@ export declare const requestSchemasByType: {
|
|
|
509
525
|
displayName: string;
|
|
510
526
|
externalPlayerUrl: string | null;
|
|
511
527
|
rtspUrl: string;
|
|
528
|
+
recordingCapable: boolean;
|
|
529
|
+
lensType: "flat" | "fisheye";
|
|
530
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
531
|
+
webrtcPlaybackSource: ({
|
|
532
|
+
kind: string;
|
|
533
|
+
} & Record<string, unknown>) | null;
|
|
512
534
|
}[];
|
|
513
|
-
lensType: "flat" | "fisheye";
|
|
514
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
515
535
|
ptzCapable: boolean;
|
|
516
536
|
ptzPanSpeed: number;
|
|
517
537
|
ptzTiltSpeed: number;
|
|
@@ -522,11 +542,8 @@ export declare const requestSchemasByType: {
|
|
|
522
542
|
tiltMax: number;
|
|
523
543
|
zoomMin: number;
|
|
524
544
|
zoomMax: number;
|
|
525
|
-
recordingCapable: boolean;
|
|
526
|
-
webrtcPlaybackSource: ({
|
|
527
|
-
kind: string;
|
|
528
|
-
} & Record<string, unknown>) | null;
|
|
529
545
|
defaultStreamId: string;
|
|
546
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
530
547
|
} | {
|
|
531
548
|
type: "door";
|
|
532
549
|
canReportOpenState: boolean;
|
|
@@ -649,8 +666,6 @@ export declare const requestSchemasByType: {
|
|
|
649
666
|
}, {
|
|
650
667
|
type: "alarm";
|
|
651
668
|
}>, z.ZodObject<{
|
|
652
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
653
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
654
669
|
ptzCapable: z.ZodBoolean;
|
|
655
670
|
ptzPanSpeed: z.ZodNumber;
|
|
656
671
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -661,31 +676,46 @@ export declare const requestSchemasByType: {
|
|
|
661
676
|
tiltMax: z.ZodNumber;
|
|
662
677
|
zoomMin: z.ZodNumber;
|
|
663
678
|
zoomMax: z.ZodNumber;
|
|
664
|
-
recordingCapable: z.ZodBoolean;
|
|
665
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
666
|
-
kind: z.ZodString;
|
|
667
|
-
}, "strip", z.ZodTypeAny, {
|
|
668
|
-
kind: string;
|
|
669
|
-
}, {
|
|
670
|
-
kind: string;
|
|
671
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
672
679
|
streams: z.ZodArray<z.ZodObject<{
|
|
673
680
|
id: z.ZodString;
|
|
674
681
|
displayName: z.ZodString;
|
|
675
682
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
676
683
|
rtspUrl: z.ZodString;
|
|
684
|
+
recordingCapable: z.ZodBoolean;
|
|
685
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
686
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
687
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
688
|
+
kind: z.ZodString;
|
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
|
690
|
+
kind: string;
|
|
691
|
+
}, {
|
|
692
|
+
kind: string;
|
|
693
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
677
694
|
}, "strip", z.ZodTypeAny, {
|
|
678
695
|
id: string;
|
|
679
696
|
displayName: string;
|
|
680
697
|
externalPlayerUrl: string | null;
|
|
681
698
|
rtspUrl: string;
|
|
699
|
+
recordingCapable: boolean;
|
|
700
|
+
lensType: "flat" | "fisheye";
|
|
701
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
702
|
+
webrtcPlaybackSource: ({
|
|
703
|
+
kind: string;
|
|
704
|
+
} & Record<string, unknown>) | null;
|
|
682
705
|
}, {
|
|
683
706
|
id: string;
|
|
684
707
|
displayName: string;
|
|
685
708
|
externalPlayerUrl: string | null;
|
|
686
709
|
rtspUrl: string;
|
|
710
|
+
recordingCapable: boolean;
|
|
711
|
+
lensType: "flat" | "fisheye";
|
|
712
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
713
|
+
webrtcPlaybackSource: ({
|
|
714
|
+
kind: string;
|
|
715
|
+
} & Record<string, unknown>) | null;
|
|
687
716
|
}>, "many">;
|
|
688
717
|
defaultStreamId: z.ZodString;
|
|
718
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
689
719
|
} & {
|
|
690
720
|
type: z.ZodLiteral<"camera">;
|
|
691
721
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -695,9 +725,13 @@ export declare const requestSchemasByType: {
|
|
|
695
725
|
displayName: string;
|
|
696
726
|
externalPlayerUrl: string | null;
|
|
697
727
|
rtspUrl: string;
|
|
728
|
+
recordingCapable: boolean;
|
|
729
|
+
lensType: "flat" | "fisheye";
|
|
730
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
731
|
+
webrtcPlaybackSource: ({
|
|
732
|
+
kind: string;
|
|
733
|
+
} & Record<string, unknown>) | null;
|
|
698
734
|
}[];
|
|
699
|
-
lensType: "flat" | "fisheye";
|
|
700
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
701
735
|
ptzCapable: boolean;
|
|
702
736
|
ptzPanSpeed: number;
|
|
703
737
|
ptzTiltSpeed: number;
|
|
@@ -708,11 +742,8 @@ export declare const requestSchemasByType: {
|
|
|
708
742
|
tiltMax: number;
|
|
709
743
|
zoomMin: number;
|
|
710
744
|
zoomMax: number;
|
|
711
|
-
recordingCapable: boolean;
|
|
712
|
-
webrtcPlaybackSource: ({
|
|
713
|
-
kind: string;
|
|
714
|
-
} & Record<string, unknown>) | null;
|
|
715
745
|
defaultStreamId: string;
|
|
746
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
716
747
|
}, {
|
|
717
748
|
type: "camera";
|
|
718
749
|
streams: {
|
|
@@ -720,9 +751,13 @@ export declare const requestSchemasByType: {
|
|
|
720
751
|
displayName: string;
|
|
721
752
|
externalPlayerUrl: string | null;
|
|
722
753
|
rtspUrl: string;
|
|
754
|
+
recordingCapable: boolean;
|
|
755
|
+
lensType: "flat" | "fisheye";
|
|
756
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
757
|
+
webrtcPlaybackSource: ({
|
|
758
|
+
kind: string;
|
|
759
|
+
} & Record<string, unknown>) | null;
|
|
723
760
|
}[];
|
|
724
|
-
lensType: "flat" | "fisheye";
|
|
725
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
726
761
|
ptzCapable: boolean;
|
|
727
762
|
ptzPanSpeed: number;
|
|
728
763
|
ptzTiltSpeed: number;
|
|
@@ -733,11 +768,8 @@ export declare const requestSchemasByType: {
|
|
|
733
768
|
tiltMax: number;
|
|
734
769
|
zoomMin: number;
|
|
735
770
|
zoomMax: number;
|
|
736
|
-
recordingCapable: boolean;
|
|
737
|
-
webrtcPlaybackSource: ({
|
|
738
|
-
kind: string;
|
|
739
|
-
} & Record<string, unknown>) | null;
|
|
740
771
|
defaultStreamId: string;
|
|
772
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
741
773
|
}>, z.ZodObject<{
|
|
742
774
|
canReportOpenState: z.ZodBoolean;
|
|
743
775
|
canReportLockState: z.ZodBoolean;
|
|
@@ -914,9 +946,13 @@ export declare const requestSchemasByType: {
|
|
|
914
946
|
displayName: string;
|
|
915
947
|
externalPlayerUrl: string | null;
|
|
916
948
|
rtspUrl: string;
|
|
949
|
+
recordingCapable: boolean;
|
|
950
|
+
lensType: "flat" | "fisheye";
|
|
951
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
952
|
+
webrtcPlaybackSource: ({
|
|
953
|
+
kind: string;
|
|
954
|
+
} & Record<string, unknown>) | null;
|
|
917
955
|
}[];
|
|
918
|
-
lensType: "flat" | "fisheye";
|
|
919
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
920
956
|
ptzCapable: boolean;
|
|
921
957
|
ptzPanSpeed: number;
|
|
922
958
|
ptzTiltSpeed: number;
|
|
@@ -927,11 +963,8 @@ export declare const requestSchemasByType: {
|
|
|
927
963
|
tiltMax: number;
|
|
928
964
|
zoomMin: number;
|
|
929
965
|
zoomMax: number;
|
|
930
|
-
recordingCapable: boolean;
|
|
931
|
-
webrtcPlaybackSource: ({
|
|
932
|
-
kind: string;
|
|
933
|
-
} & Record<string, unknown>) | null;
|
|
934
966
|
defaultStreamId: string;
|
|
967
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
935
968
|
} | {
|
|
936
969
|
type: "door";
|
|
937
970
|
canReportOpenState: boolean;
|
|
@@ -1008,9 +1041,13 @@ export declare const requestSchemasByType: {
|
|
|
1008
1041
|
displayName: string;
|
|
1009
1042
|
externalPlayerUrl: string | null;
|
|
1010
1043
|
rtspUrl: string;
|
|
1044
|
+
recordingCapable: boolean;
|
|
1045
|
+
lensType: "flat" | "fisheye";
|
|
1046
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1047
|
+
webrtcPlaybackSource: ({
|
|
1048
|
+
kind: string;
|
|
1049
|
+
} & Record<string, unknown>) | null;
|
|
1011
1050
|
}[];
|
|
1012
|
-
lensType: "flat" | "fisheye";
|
|
1013
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1014
1051
|
ptzCapable: boolean;
|
|
1015
1052
|
ptzPanSpeed: number;
|
|
1016
1053
|
ptzTiltSpeed: number;
|
|
@@ -1021,11 +1058,8 @@ export declare const requestSchemasByType: {
|
|
|
1021
1058
|
tiltMax: number;
|
|
1022
1059
|
zoomMin: number;
|
|
1023
1060
|
zoomMax: number;
|
|
1024
|
-
recordingCapable: boolean;
|
|
1025
|
-
webrtcPlaybackSource: ({
|
|
1026
|
-
kind: string;
|
|
1027
|
-
} & Record<string, unknown>) | null;
|
|
1028
1061
|
defaultStreamId: string;
|
|
1062
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1029
1063
|
} | {
|
|
1030
1064
|
type: "door";
|
|
1031
1065
|
canReportOpenState: boolean;
|
|
@@ -1146,8 +1180,6 @@ export declare const requestSchemasByType: {
|
|
|
1146
1180
|
}, {
|
|
1147
1181
|
type: "alarm";
|
|
1148
1182
|
}>, z.ZodObject<{
|
|
1149
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1150
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1151
1183
|
ptzCapable: z.ZodBoolean;
|
|
1152
1184
|
ptzPanSpeed: z.ZodNumber;
|
|
1153
1185
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -1158,31 +1190,46 @@ export declare const requestSchemasByType: {
|
|
|
1158
1190
|
tiltMax: z.ZodNumber;
|
|
1159
1191
|
zoomMin: z.ZodNumber;
|
|
1160
1192
|
zoomMax: z.ZodNumber;
|
|
1161
|
-
recordingCapable: z.ZodBoolean;
|
|
1162
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1163
|
-
kind: z.ZodString;
|
|
1164
|
-
}, "strip", z.ZodTypeAny, {
|
|
1165
|
-
kind: string;
|
|
1166
|
-
}, {
|
|
1167
|
-
kind: string;
|
|
1168
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1169
1193
|
streams: z.ZodArray<z.ZodObject<{
|
|
1170
1194
|
id: z.ZodString;
|
|
1171
1195
|
displayName: z.ZodString;
|
|
1172
1196
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1173
1197
|
rtspUrl: z.ZodString;
|
|
1198
|
+
recordingCapable: z.ZodBoolean;
|
|
1199
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1200
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1201
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1202
|
+
kind: z.ZodString;
|
|
1203
|
+
}, "strip", z.ZodTypeAny, {
|
|
1204
|
+
kind: string;
|
|
1205
|
+
}, {
|
|
1206
|
+
kind: string;
|
|
1207
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1174
1208
|
}, "strip", z.ZodTypeAny, {
|
|
1175
1209
|
id: string;
|
|
1176
1210
|
displayName: string;
|
|
1177
1211
|
externalPlayerUrl: string | null;
|
|
1178
1212
|
rtspUrl: string;
|
|
1213
|
+
recordingCapable: boolean;
|
|
1214
|
+
lensType: "flat" | "fisheye";
|
|
1215
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1216
|
+
webrtcPlaybackSource: ({
|
|
1217
|
+
kind: string;
|
|
1218
|
+
} & Record<string, unknown>) | null;
|
|
1179
1219
|
}, {
|
|
1180
1220
|
id: string;
|
|
1181
1221
|
displayName: string;
|
|
1182
1222
|
externalPlayerUrl: string | null;
|
|
1183
1223
|
rtspUrl: string;
|
|
1224
|
+
recordingCapable: boolean;
|
|
1225
|
+
lensType: "flat" | "fisheye";
|
|
1226
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1227
|
+
webrtcPlaybackSource: ({
|
|
1228
|
+
kind: string;
|
|
1229
|
+
} & Record<string, unknown>) | null;
|
|
1184
1230
|
}>, "many">;
|
|
1185
1231
|
defaultStreamId: z.ZodString;
|
|
1232
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
1186
1233
|
} & {
|
|
1187
1234
|
type: z.ZodLiteral<"camera">;
|
|
1188
1235
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1192,9 +1239,13 @@ export declare const requestSchemasByType: {
|
|
|
1192
1239
|
displayName: string;
|
|
1193
1240
|
externalPlayerUrl: string | null;
|
|
1194
1241
|
rtspUrl: string;
|
|
1242
|
+
recordingCapable: boolean;
|
|
1243
|
+
lensType: "flat" | "fisheye";
|
|
1244
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1245
|
+
webrtcPlaybackSource: ({
|
|
1246
|
+
kind: string;
|
|
1247
|
+
} & Record<string, unknown>) | null;
|
|
1195
1248
|
}[];
|
|
1196
|
-
lensType: "flat" | "fisheye";
|
|
1197
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1198
1249
|
ptzCapable: boolean;
|
|
1199
1250
|
ptzPanSpeed: number;
|
|
1200
1251
|
ptzTiltSpeed: number;
|
|
@@ -1205,11 +1256,8 @@ export declare const requestSchemasByType: {
|
|
|
1205
1256
|
tiltMax: number;
|
|
1206
1257
|
zoomMin: number;
|
|
1207
1258
|
zoomMax: number;
|
|
1208
|
-
recordingCapable: boolean;
|
|
1209
|
-
webrtcPlaybackSource: ({
|
|
1210
|
-
kind: string;
|
|
1211
|
-
} & Record<string, unknown>) | null;
|
|
1212
1259
|
defaultStreamId: string;
|
|
1260
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1213
1261
|
}, {
|
|
1214
1262
|
type: "camera";
|
|
1215
1263
|
streams: {
|
|
@@ -1217,9 +1265,13 @@ export declare const requestSchemasByType: {
|
|
|
1217
1265
|
displayName: string;
|
|
1218
1266
|
externalPlayerUrl: string | null;
|
|
1219
1267
|
rtspUrl: string;
|
|
1268
|
+
recordingCapable: boolean;
|
|
1269
|
+
lensType: "flat" | "fisheye";
|
|
1270
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1271
|
+
webrtcPlaybackSource: ({
|
|
1272
|
+
kind: string;
|
|
1273
|
+
} & Record<string, unknown>) | null;
|
|
1220
1274
|
}[];
|
|
1221
|
-
lensType: "flat" | "fisheye";
|
|
1222
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1223
1275
|
ptzCapable: boolean;
|
|
1224
1276
|
ptzPanSpeed: number;
|
|
1225
1277
|
ptzTiltSpeed: number;
|
|
@@ -1230,11 +1282,8 @@ export declare const requestSchemasByType: {
|
|
|
1230
1282
|
tiltMax: number;
|
|
1231
1283
|
zoomMin: number;
|
|
1232
1284
|
zoomMax: number;
|
|
1233
|
-
recordingCapable: boolean;
|
|
1234
|
-
webrtcPlaybackSource: ({
|
|
1235
|
-
kind: string;
|
|
1236
|
-
} & Record<string, unknown>) | null;
|
|
1237
1285
|
defaultStreamId: string;
|
|
1286
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1238
1287
|
}>, z.ZodObject<{
|
|
1239
1288
|
canReportOpenState: z.ZodBoolean;
|
|
1240
1289
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1411,9 +1460,13 @@ export declare const requestSchemasByType: {
|
|
|
1411
1460
|
displayName: string;
|
|
1412
1461
|
externalPlayerUrl: string | null;
|
|
1413
1462
|
rtspUrl: string;
|
|
1463
|
+
recordingCapable: boolean;
|
|
1464
|
+
lensType: "flat" | "fisheye";
|
|
1465
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1466
|
+
webrtcPlaybackSource: ({
|
|
1467
|
+
kind: string;
|
|
1468
|
+
} & Record<string, unknown>) | null;
|
|
1414
1469
|
}[];
|
|
1415
|
-
lensType: "flat" | "fisheye";
|
|
1416
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1417
1470
|
ptzCapable: boolean;
|
|
1418
1471
|
ptzPanSpeed: number;
|
|
1419
1472
|
ptzTiltSpeed: number;
|
|
@@ -1424,11 +1477,8 @@ export declare const requestSchemasByType: {
|
|
|
1424
1477
|
tiltMax: number;
|
|
1425
1478
|
zoomMin: number;
|
|
1426
1479
|
zoomMax: number;
|
|
1427
|
-
recordingCapable: boolean;
|
|
1428
|
-
webrtcPlaybackSource: ({
|
|
1429
|
-
kind: string;
|
|
1430
|
-
} & Record<string, unknown>) | null;
|
|
1431
1480
|
defaultStreamId: string;
|
|
1481
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1432
1482
|
} | {
|
|
1433
1483
|
type: "door";
|
|
1434
1484
|
canReportOpenState: boolean;
|
|
@@ -1505,9 +1555,13 @@ export declare const requestSchemasByType: {
|
|
|
1505
1555
|
displayName: string;
|
|
1506
1556
|
externalPlayerUrl: string | null;
|
|
1507
1557
|
rtspUrl: string;
|
|
1558
|
+
recordingCapable: boolean;
|
|
1559
|
+
lensType: "flat" | "fisheye";
|
|
1560
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1561
|
+
webrtcPlaybackSource: ({
|
|
1562
|
+
kind: string;
|
|
1563
|
+
} & Record<string, unknown>) | null;
|
|
1508
1564
|
}[];
|
|
1509
|
-
lensType: "flat" | "fisheye";
|
|
1510
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1511
1565
|
ptzCapable: boolean;
|
|
1512
1566
|
ptzPanSpeed: number;
|
|
1513
1567
|
ptzTiltSpeed: number;
|
|
@@ -1518,11 +1572,8 @@ export declare const requestSchemasByType: {
|
|
|
1518
1572
|
tiltMax: number;
|
|
1519
1573
|
zoomMin: number;
|
|
1520
1574
|
zoomMax: number;
|
|
1521
|
-
recordingCapable: boolean;
|
|
1522
|
-
webrtcPlaybackSource: ({
|
|
1523
|
-
kind: string;
|
|
1524
|
-
} & Record<string, unknown>) | null;
|
|
1525
1575
|
defaultStreamId: string;
|
|
1576
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1526
1577
|
} | {
|
|
1527
1578
|
type: "door";
|
|
1528
1579
|
canReportOpenState: boolean;
|