@awarevue/api-types 2.0.39 → 2.0.40
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 +68 -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 +114 -21
- package/dist/objects/view.js +7 -4
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +74 -44
- package/package.json +1 -1
|
@@ -33,8 +33,6 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
33
33
|
}, {
|
|
34
34
|
type: "alarm";
|
|
35
35
|
}>, z.ZodObject<{
|
|
36
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
37
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
38
36
|
ptzCapable: z.ZodBoolean;
|
|
39
37
|
ptzPanSpeed: z.ZodNumber;
|
|
40
38
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -45,31 +43,46 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
45
43
|
tiltMax: z.ZodNumber;
|
|
46
44
|
zoomMin: z.ZodNumber;
|
|
47
45
|
zoomMax: z.ZodNumber;
|
|
48
|
-
recordingCapable: z.ZodBoolean;
|
|
49
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
50
|
-
kind: z.ZodString;
|
|
51
|
-
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
kind: string;
|
|
53
|
-
}, {
|
|
54
|
-
kind: string;
|
|
55
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
56
46
|
streams: z.ZodArray<z.ZodObject<{
|
|
57
47
|
id: z.ZodString;
|
|
58
48
|
displayName: z.ZodString;
|
|
59
49
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
60
50
|
rtspUrl: z.ZodString;
|
|
51
|
+
recordingCapable: z.ZodBoolean;
|
|
52
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
53
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
54
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
55
|
+
kind: z.ZodString;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
kind: string;
|
|
58
|
+
}, {
|
|
59
|
+
kind: string;
|
|
60
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
id: string;
|
|
63
63
|
displayName: string;
|
|
64
64
|
externalPlayerUrl: string | null;
|
|
65
65
|
rtspUrl: string;
|
|
66
|
+
recordingCapable: boolean;
|
|
67
|
+
lensType: "flat" | "fisheye";
|
|
68
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
69
|
+
webrtcPlaybackSource: ({
|
|
70
|
+
kind: string;
|
|
71
|
+
} & Record<string, unknown>) | null;
|
|
66
72
|
}, {
|
|
67
73
|
id: string;
|
|
68
74
|
displayName: string;
|
|
69
75
|
externalPlayerUrl: string | null;
|
|
70
76
|
rtspUrl: string;
|
|
77
|
+
recordingCapable: boolean;
|
|
78
|
+
lensType: "flat" | "fisheye";
|
|
79
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
80
|
+
webrtcPlaybackSource: ({
|
|
81
|
+
kind: string;
|
|
82
|
+
} & Record<string, unknown>) | null;
|
|
71
83
|
}>, "many">;
|
|
72
84
|
defaultStreamId: z.ZodString;
|
|
85
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
73
86
|
} & {
|
|
74
87
|
type: z.ZodLiteral<"camera">;
|
|
75
88
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -79,9 +92,13 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
79
92
|
displayName: string;
|
|
80
93
|
externalPlayerUrl: string | null;
|
|
81
94
|
rtspUrl: string;
|
|
95
|
+
recordingCapable: boolean;
|
|
96
|
+
lensType: "flat" | "fisheye";
|
|
97
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
98
|
+
webrtcPlaybackSource: ({
|
|
99
|
+
kind: string;
|
|
100
|
+
} & Record<string, unknown>) | null;
|
|
82
101
|
}[];
|
|
83
|
-
lensType: "flat" | "fisheye";
|
|
84
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
85
102
|
ptzCapable: boolean;
|
|
86
103
|
ptzPanSpeed: number;
|
|
87
104
|
ptzTiltSpeed: number;
|
|
@@ -92,11 +109,8 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
92
109
|
tiltMax: number;
|
|
93
110
|
zoomMin: number;
|
|
94
111
|
zoomMax: number;
|
|
95
|
-
recordingCapable: boolean;
|
|
96
|
-
webrtcPlaybackSource: ({
|
|
97
|
-
kind: string;
|
|
98
|
-
} & Record<string, unknown>) | null;
|
|
99
112
|
defaultStreamId: string;
|
|
113
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
100
114
|
}, {
|
|
101
115
|
type: "camera";
|
|
102
116
|
streams: {
|
|
@@ -104,9 +118,13 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
104
118
|
displayName: string;
|
|
105
119
|
externalPlayerUrl: string | null;
|
|
106
120
|
rtspUrl: string;
|
|
121
|
+
recordingCapable: boolean;
|
|
122
|
+
lensType: "flat" | "fisheye";
|
|
123
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
124
|
+
webrtcPlaybackSource: ({
|
|
125
|
+
kind: string;
|
|
126
|
+
} & Record<string, unknown>) | null;
|
|
107
127
|
}[];
|
|
108
|
-
lensType: "flat" | "fisheye";
|
|
109
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
110
128
|
ptzCapable: boolean;
|
|
111
129
|
ptzPanSpeed: number;
|
|
112
130
|
ptzTiltSpeed: number;
|
|
@@ -117,11 +135,8 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
117
135
|
tiltMax: number;
|
|
118
136
|
zoomMin: number;
|
|
119
137
|
zoomMax: number;
|
|
120
|
-
recordingCapable: boolean;
|
|
121
|
-
webrtcPlaybackSource: ({
|
|
122
|
-
kind: string;
|
|
123
|
-
} & Record<string, unknown>) | null;
|
|
124
138
|
defaultStreamId: string;
|
|
139
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
125
140
|
}>, z.ZodObject<{
|
|
126
141
|
canReportOpenState: z.ZodBoolean;
|
|
127
142
|
canReportLockState: z.ZodBoolean;
|
|
@@ -311,8 +326,6 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
311
326
|
}, {
|
|
312
327
|
type: "alarm";
|
|
313
328
|
}>, z.ZodObject<{
|
|
314
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
315
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
316
329
|
ptzCapable: z.ZodBoolean;
|
|
317
330
|
ptzPanSpeed: z.ZodNumber;
|
|
318
331
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -323,31 +336,46 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
323
336
|
tiltMax: z.ZodNumber;
|
|
324
337
|
zoomMin: z.ZodNumber;
|
|
325
338
|
zoomMax: z.ZodNumber;
|
|
326
|
-
recordingCapable: z.ZodBoolean;
|
|
327
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
328
|
-
kind: z.ZodString;
|
|
329
|
-
}, "strip", z.ZodTypeAny, {
|
|
330
|
-
kind: string;
|
|
331
|
-
}, {
|
|
332
|
-
kind: string;
|
|
333
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
334
339
|
streams: z.ZodArray<z.ZodObject<{
|
|
335
340
|
id: z.ZodString;
|
|
336
341
|
displayName: z.ZodString;
|
|
337
342
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
338
343
|
rtspUrl: z.ZodString;
|
|
344
|
+
recordingCapable: z.ZodBoolean;
|
|
345
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
346
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
347
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
348
|
+
kind: z.ZodString;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
kind: string;
|
|
351
|
+
}, {
|
|
352
|
+
kind: string;
|
|
353
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
339
354
|
}, "strip", z.ZodTypeAny, {
|
|
340
355
|
id: string;
|
|
341
356
|
displayName: string;
|
|
342
357
|
externalPlayerUrl: string | null;
|
|
343
358
|
rtspUrl: string;
|
|
359
|
+
recordingCapable: boolean;
|
|
360
|
+
lensType: "flat" | "fisheye";
|
|
361
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
362
|
+
webrtcPlaybackSource: ({
|
|
363
|
+
kind: string;
|
|
364
|
+
} & Record<string, unknown>) | null;
|
|
344
365
|
}, {
|
|
345
366
|
id: string;
|
|
346
367
|
displayName: string;
|
|
347
368
|
externalPlayerUrl: string | null;
|
|
348
369
|
rtspUrl: string;
|
|
370
|
+
recordingCapable: boolean;
|
|
371
|
+
lensType: "flat" | "fisheye";
|
|
372
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
373
|
+
webrtcPlaybackSource: ({
|
|
374
|
+
kind: string;
|
|
375
|
+
} & Record<string, unknown>) | null;
|
|
349
376
|
}>, "many">;
|
|
350
377
|
defaultStreamId: z.ZodString;
|
|
378
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
351
379
|
} & {
|
|
352
380
|
type: z.ZodLiteral<"camera">;
|
|
353
381
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -357,9 +385,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
357
385
|
displayName: string;
|
|
358
386
|
externalPlayerUrl: string | null;
|
|
359
387
|
rtspUrl: string;
|
|
388
|
+
recordingCapable: boolean;
|
|
389
|
+
lensType: "flat" | "fisheye";
|
|
390
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
391
|
+
webrtcPlaybackSource: ({
|
|
392
|
+
kind: string;
|
|
393
|
+
} & Record<string, unknown>) | null;
|
|
360
394
|
}[];
|
|
361
|
-
lensType: "flat" | "fisheye";
|
|
362
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
363
395
|
ptzCapable: boolean;
|
|
364
396
|
ptzPanSpeed: number;
|
|
365
397
|
ptzTiltSpeed: number;
|
|
@@ -370,11 +402,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
370
402
|
tiltMax: number;
|
|
371
403
|
zoomMin: number;
|
|
372
404
|
zoomMax: number;
|
|
373
|
-
recordingCapable: boolean;
|
|
374
|
-
webrtcPlaybackSource: ({
|
|
375
|
-
kind: string;
|
|
376
|
-
} & Record<string, unknown>) | null;
|
|
377
405
|
defaultStreamId: string;
|
|
406
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
378
407
|
}, {
|
|
379
408
|
type: "camera";
|
|
380
409
|
streams: {
|
|
@@ -382,9 +411,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
382
411
|
displayName: string;
|
|
383
412
|
externalPlayerUrl: string | null;
|
|
384
413
|
rtspUrl: string;
|
|
414
|
+
recordingCapable: boolean;
|
|
415
|
+
lensType: "flat" | "fisheye";
|
|
416
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
417
|
+
webrtcPlaybackSource: ({
|
|
418
|
+
kind: string;
|
|
419
|
+
} & Record<string, unknown>) | null;
|
|
385
420
|
}[];
|
|
386
|
-
lensType: "flat" | "fisheye";
|
|
387
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
388
421
|
ptzCapable: boolean;
|
|
389
422
|
ptzPanSpeed: number;
|
|
390
423
|
ptzTiltSpeed: number;
|
|
@@ -395,11 +428,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
395
428
|
tiltMax: number;
|
|
396
429
|
zoomMin: number;
|
|
397
430
|
zoomMax: number;
|
|
398
|
-
recordingCapable: boolean;
|
|
399
|
-
webrtcPlaybackSource: ({
|
|
400
|
-
kind: string;
|
|
401
|
-
} & Record<string, unknown>) | null;
|
|
402
431
|
defaultStreamId: string;
|
|
432
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
403
433
|
}>, z.ZodObject<{
|
|
404
434
|
canReportOpenState: z.ZodBoolean;
|
|
405
435
|
canReportLockState: z.ZodBoolean;
|
|
@@ -584,9 +614,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
584
614
|
displayName: string;
|
|
585
615
|
externalPlayerUrl: string | null;
|
|
586
616
|
rtspUrl: string;
|
|
617
|
+
recordingCapable: boolean;
|
|
618
|
+
lensType: "flat" | "fisheye";
|
|
619
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
620
|
+
webrtcPlaybackSource: ({
|
|
621
|
+
kind: string;
|
|
622
|
+
} & Record<string, unknown>) | null;
|
|
587
623
|
}[];
|
|
588
|
-
lensType: "flat" | "fisheye";
|
|
589
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
590
624
|
ptzCapable: boolean;
|
|
591
625
|
ptzPanSpeed: number;
|
|
592
626
|
ptzTiltSpeed: number;
|
|
@@ -597,11 +631,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
597
631
|
tiltMax: number;
|
|
598
632
|
zoomMin: number;
|
|
599
633
|
zoomMax: number;
|
|
600
|
-
recordingCapable: boolean;
|
|
601
|
-
webrtcPlaybackSource: ({
|
|
602
|
-
kind: string;
|
|
603
|
-
} & Record<string, unknown>) | null;
|
|
604
634
|
defaultStreamId: string;
|
|
635
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
605
636
|
} | {
|
|
606
637
|
type: "door";
|
|
607
638
|
canReportOpenState: boolean;
|
|
@@ -678,9 +709,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
678
709
|
displayName: string;
|
|
679
710
|
externalPlayerUrl: string | null;
|
|
680
711
|
rtspUrl: string;
|
|
712
|
+
recordingCapable: boolean;
|
|
713
|
+
lensType: "flat" | "fisheye";
|
|
714
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
715
|
+
webrtcPlaybackSource: ({
|
|
716
|
+
kind: string;
|
|
717
|
+
} & Record<string, unknown>) | null;
|
|
681
718
|
}[];
|
|
682
|
-
lensType: "flat" | "fisheye";
|
|
683
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
684
719
|
ptzCapable: boolean;
|
|
685
720
|
ptzPanSpeed: number;
|
|
686
721
|
ptzTiltSpeed: number;
|
|
@@ -691,11 +726,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
691
726
|
tiltMax: number;
|
|
692
727
|
zoomMin: number;
|
|
693
728
|
zoomMax: number;
|
|
694
|
-
recordingCapable: boolean;
|
|
695
|
-
webrtcPlaybackSource: ({
|
|
696
|
-
kind: string;
|
|
697
|
-
} & Record<string, unknown>) | null;
|
|
698
729
|
defaultStreamId: string;
|
|
730
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
699
731
|
} | {
|
|
700
732
|
type: "door";
|
|
701
733
|
canReportOpenState: boolean;
|
|
@@ -787,8 +819,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
787
819
|
}, {
|
|
788
820
|
type: "alarm";
|
|
789
821
|
}>, z.ZodObject<{
|
|
790
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
791
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
792
822
|
ptzCapable: z.ZodBoolean;
|
|
793
823
|
ptzPanSpeed: z.ZodNumber;
|
|
794
824
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -799,31 +829,46 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
799
829
|
tiltMax: z.ZodNumber;
|
|
800
830
|
zoomMin: z.ZodNumber;
|
|
801
831
|
zoomMax: z.ZodNumber;
|
|
802
|
-
recordingCapable: z.ZodBoolean;
|
|
803
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
804
|
-
kind: z.ZodString;
|
|
805
|
-
}, "strip", z.ZodTypeAny, {
|
|
806
|
-
kind: string;
|
|
807
|
-
}, {
|
|
808
|
-
kind: string;
|
|
809
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
810
832
|
streams: z.ZodArray<z.ZodObject<{
|
|
811
833
|
id: z.ZodString;
|
|
812
834
|
displayName: z.ZodString;
|
|
813
835
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
814
836
|
rtspUrl: z.ZodString;
|
|
837
|
+
recordingCapable: z.ZodBoolean;
|
|
838
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
839
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
840
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
841
|
+
kind: z.ZodString;
|
|
842
|
+
}, "strip", z.ZodTypeAny, {
|
|
843
|
+
kind: string;
|
|
844
|
+
}, {
|
|
845
|
+
kind: string;
|
|
846
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
815
847
|
}, "strip", z.ZodTypeAny, {
|
|
816
848
|
id: string;
|
|
817
849
|
displayName: string;
|
|
818
850
|
externalPlayerUrl: string | null;
|
|
819
851
|
rtspUrl: string;
|
|
852
|
+
recordingCapable: boolean;
|
|
853
|
+
lensType: "flat" | "fisheye";
|
|
854
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
855
|
+
webrtcPlaybackSource: ({
|
|
856
|
+
kind: string;
|
|
857
|
+
} & Record<string, unknown>) | null;
|
|
820
858
|
}, {
|
|
821
859
|
id: string;
|
|
822
860
|
displayName: string;
|
|
823
861
|
externalPlayerUrl: string | null;
|
|
824
862
|
rtspUrl: string;
|
|
863
|
+
recordingCapable: boolean;
|
|
864
|
+
lensType: "flat" | "fisheye";
|
|
865
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
866
|
+
webrtcPlaybackSource: ({
|
|
867
|
+
kind: string;
|
|
868
|
+
} & Record<string, unknown>) | null;
|
|
825
869
|
}>, "many">;
|
|
826
870
|
defaultStreamId: z.ZodString;
|
|
871
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
827
872
|
} & {
|
|
828
873
|
type: z.ZodLiteral<"camera">;
|
|
829
874
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -833,9 +878,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
833
878
|
displayName: string;
|
|
834
879
|
externalPlayerUrl: string | null;
|
|
835
880
|
rtspUrl: string;
|
|
881
|
+
recordingCapable: boolean;
|
|
882
|
+
lensType: "flat" | "fisheye";
|
|
883
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
884
|
+
webrtcPlaybackSource: ({
|
|
885
|
+
kind: string;
|
|
886
|
+
} & Record<string, unknown>) | null;
|
|
836
887
|
}[];
|
|
837
|
-
lensType: "flat" | "fisheye";
|
|
838
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
839
888
|
ptzCapable: boolean;
|
|
840
889
|
ptzPanSpeed: number;
|
|
841
890
|
ptzTiltSpeed: number;
|
|
@@ -846,11 +895,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
846
895
|
tiltMax: number;
|
|
847
896
|
zoomMin: number;
|
|
848
897
|
zoomMax: number;
|
|
849
|
-
recordingCapable: boolean;
|
|
850
|
-
webrtcPlaybackSource: ({
|
|
851
|
-
kind: string;
|
|
852
|
-
} & Record<string, unknown>) | null;
|
|
853
898
|
defaultStreamId: string;
|
|
899
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
854
900
|
}, {
|
|
855
901
|
type: "camera";
|
|
856
902
|
streams: {
|
|
@@ -858,9 +904,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
858
904
|
displayName: string;
|
|
859
905
|
externalPlayerUrl: string | null;
|
|
860
906
|
rtspUrl: string;
|
|
907
|
+
recordingCapable: boolean;
|
|
908
|
+
lensType: "flat" | "fisheye";
|
|
909
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
910
|
+
webrtcPlaybackSource: ({
|
|
911
|
+
kind: string;
|
|
912
|
+
} & Record<string, unknown>) | null;
|
|
861
913
|
}[];
|
|
862
|
-
lensType: "flat" | "fisheye";
|
|
863
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
864
914
|
ptzCapable: boolean;
|
|
865
915
|
ptzPanSpeed: number;
|
|
866
916
|
ptzTiltSpeed: number;
|
|
@@ -871,11 +921,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
871
921
|
tiltMax: number;
|
|
872
922
|
zoomMin: number;
|
|
873
923
|
zoomMax: number;
|
|
874
|
-
recordingCapable: boolean;
|
|
875
|
-
webrtcPlaybackSource: ({
|
|
876
|
-
kind: string;
|
|
877
|
-
} & Record<string, unknown>) | null;
|
|
878
924
|
defaultStreamId: string;
|
|
925
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
879
926
|
}>, z.ZodObject<{
|
|
880
927
|
canReportOpenState: z.ZodBoolean;
|
|
881
928
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1042,8 +1089,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1042
1089
|
}, {
|
|
1043
1090
|
type: "alarm";
|
|
1044
1091
|
}>, z.ZodObject<{
|
|
1045
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1046
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1047
1092
|
ptzCapable: z.ZodBoolean;
|
|
1048
1093
|
ptzPanSpeed: z.ZodNumber;
|
|
1049
1094
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -1054,31 +1099,46 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1054
1099
|
tiltMax: z.ZodNumber;
|
|
1055
1100
|
zoomMin: z.ZodNumber;
|
|
1056
1101
|
zoomMax: z.ZodNumber;
|
|
1057
|
-
recordingCapable: z.ZodBoolean;
|
|
1058
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1059
|
-
kind: z.ZodString;
|
|
1060
|
-
}, "strip", z.ZodTypeAny, {
|
|
1061
|
-
kind: string;
|
|
1062
|
-
}, {
|
|
1063
|
-
kind: string;
|
|
1064
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1065
1102
|
streams: z.ZodArray<z.ZodObject<{
|
|
1066
1103
|
id: z.ZodString;
|
|
1067
1104
|
displayName: z.ZodString;
|
|
1068
1105
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1069
1106
|
rtspUrl: z.ZodString;
|
|
1107
|
+
recordingCapable: z.ZodBoolean;
|
|
1108
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1109
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1110
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1111
|
+
kind: z.ZodString;
|
|
1112
|
+
}, "strip", z.ZodTypeAny, {
|
|
1113
|
+
kind: string;
|
|
1114
|
+
}, {
|
|
1115
|
+
kind: string;
|
|
1116
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1070
1117
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1118
|
id: string;
|
|
1072
1119
|
displayName: string;
|
|
1073
1120
|
externalPlayerUrl: string | null;
|
|
1074
1121
|
rtspUrl: string;
|
|
1122
|
+
recordingCapable: boolean;
|
|
1123
|
+
lensType: "flat" | "fisheye";
|
|
1124
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1125
|
+
webrtcPlaybackSource: ({
|
|
1126
|
+
kind: string;
|
|
1127
|
+
} & Record<string, unknown>) | null;
|
|
1075
1128
|
}, {
|
|
1076
1129
|
id: string;
|
|
1077
1130
|
displayName: string;
|
|
1078
1131
|
externalPlayerUrl: string | null;
|
|
1079
1132
|
rtspUrl: string;
|
|
1133
|
+
recordingCapable: boolean;
|
|
1134
|
+
lensType: "flat" | "fisheye";
|
|
1135
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1136
|
+
webrtcPlaybackSource: ({
|
|
1137
|
+
kind: string;
|
|
1138
|
+
} & Record<string, unknown>) | null;
|
|
1080
1139
|
}>, "many">;
|
|
1081
1140
|
defaultStreamId: z.ZodString;
|
|
1141
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
1082
1142
|
} & {
|
|
1083
1143
|
type: z.ZodLiteral<"camera">;
|
|
1084
1144
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1088,9 +1148,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1088
1148
|
displayName: string;
|
|
1089
1149
|
externalPlayerUrl: string | null;
|
|
1090
1150
|
rtspUrl: string;
|
|
1151
|
+
recordingCapable: boolean;
|
|
1152
|
+
lensType: "flat" | "fisheye";
|
|
1153
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1154
|
+
webrtcPlaybackSource: ({
|
|
1155
|
+
kind: string;
|
|
1156
|
+
} & Record<string, unknown>) | null;
|
|
1091
1157
|
}[];
|
|
1092
|
-
lensType: "flat" | "fisheye";
|
|
1093
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1094
1158
|
ptzCapable: boolean;
|
|
1095
1159
|
ptzPanSpeed: number;
|
|
1096
1160
|
ptzTiltSpeed: number;
|
|
@@ -1101,11 +1165,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1101
1165
|
tiltMax: number;
|
|
1102
1166
|
zoomMin: number;
|
|
1103
1167
|
zoomMax: number;
|
|
1104
|
-
recordingCapable: boolean;
|
|
1105
|
-
webrtcPlaybackSource: ({
|
|
1106
|
-
kind: string;
|
|
1107
|
-
} & Record<string, unknown>) | null;
|
|
1108
1168
|
defaultStreamId: string;
|
|
1169
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1109
1170
|
}, {
|
|
1110
1171
|
type: "camera";
|
|
1111
1172
|
streams: {
|
|
@@ -1113,9 +1174,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1113
1174
|
displayName: string;
|
|
1114
1175
|
externalPlayerUrl: string | null;
|
|
1115
1176
|
rtspUrl: string;
|
|
1177
|
+
recordingCapable: boolean;
|
|
1178
|
+
lensType: "flat" | "fisheye";
|
|
1179
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1180
|
+
webrtcPlaybackSource: ({
|
|
1181
|
+
kind: string;
|
|
1182
|
+
} & Record<string, unknown>) | null;
|
|
1116
1183
|
}[];
|
|
1117
|
-
lensType: "flat" | "fisheye";
|
|
1118
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1119
1184
|
ptzCapable: boolean;
|
|
1120
1185
|
ptzPanSpeed: number;
|
|
1121
1186
|
ptzTiltSpeed: number;
|
|
@@ -1126,11 +1191,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1126
1191
|
tiltMax: number;
|
|
1127
1192
|
zoomMin: number;
|
|
1128
1193
|
zoomMax: number;
|
|
1129
|
-
recordingCapable: boolean;
|
|
1130
|
-
webrtcPlaybackSource: ({
|
|
1131
|
-
kind: string;
|
|
1132
|
-
} & Record<string, unknown>) | null;
|
|
1133
1194
|
defaultStreamId: string;
|
|
1195
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1134
1196
|
}>, z.ZodObject<{
|
|
1135
1197
|
canReportOpenState: z.ZodBoolean;
|
|
1136
1198
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1417,9 +1479,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1417
1479
|
displayName: string;
|
|
1418
1480
|
externalPlayerUrl: string | null;
|
|
1419
1481
|
rtspUrl: string;
|
|
1482
|
+
recordingCapable: boolean;
|
|
1483
|
+
lensType: "flat" | "fisheye";
|
|
1484
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1485
|
+
webrtcPlaybackSource: ({
|
|
1486
|
+
kind: string;
|
|
1487
|
+
} & Record<string, unknown>) | null;
|
|
1420
1488
|
}[];
|
|
1421
|
-
lensType: "flat" | "fisheye";
|
|
1422
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1423
1489
|
ptzCapable: boolean;
|
|
1424
1490
|
ptzPanSpeed: number;
|
|
1425
1491
|
ptzTiltSpeed: number;
|
|
@@ -1430,11 +1496,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1430
1496
|
tiltMax: number;
|
|
1431
1497
|
zoomMin: number;
|
|
1432
1498
|
zoomMax: number;
|
|
1433
|
-
recordingCapable: boolean;
|
|
1434
|
-
webrtcPlaybackSource: ({
|
|
1435
|
-
kind: string;
|
|
1436
|
-
} & Record<string, unknown>) | null;
|
|
1437
1499
|
defaultStreamId: string;
|
|
1500
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1438
1501
|
} | {
|
|
1439
1502
|
type: "door";
|
|
1440
1503
|
canReportOpenState: boolean;
|
|
@@ -1535,9 +1598,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1535
1598
|
displayName: string;
|
|
1536
1599
|
externalPlayerUrl: string | null;
|
|
1537
1600
|
rtspUrl: string;
|
|
1601
|
+
recordingCapable: boolean;
|
|
1602
|
+
lensType: "flat" | "fisheye";
|
|
1603
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1604
|
+
webrtcPlaybackSource: ({
|
|
1605
|
+
kind: string;
|
|
1606
|
+
} & Record<string, unknown>) | null;
|
|
1538
1607
|
}[];
|
|
1539
|
-
lensType: "flat" | "fisheye";
|
|
1540
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1541
1608
|
ptzCapable: boolean;
|
|
1542
1609
|
ptzPanSpeed: number;
|
|
1543
1610
|
ptzTiltSpeed: number;
|
|
@@ -1548,11 +1615,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1548
1615
|
tiltMax: number;
|
|
1549
1616
|
zoomMin: number;
|
|
1550
1617
|
zoomMax: number;
|
|
1551
|
-
recordingCapable: boolean;
|
|
1552
|
-
webrtcPlaybackSource: ({
|
|
1553
|
-
kind: string;
|
|
1554
|
-
} & Record<string, unknown>) | null;
|
|
1555
1618
|
defaultStreamId: string;
|
|
1619
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1556
1620
|
} | {
|
|
1557
1621
|
type: "door";
|
|
1558
1622
|
canReportOpenState: boolean;
|
|
@@ -1620,9 +1684,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1620
1684
|
displayName: string;
|
|
1621
1685
|
externalPlayerUrl: string | null;
|
|
1622
1686
|
rtspUrl: string;
|
|
1687
|
+
recordingCapable: boolean;
|
|
1688
|
+
lensType: "flat" | "fisheye";
|
|
1689
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1690
|
+
webrtcPlaybackSource: ({
|
|
1691
|
+
kind: string;
|
|
1692
|
+
} & Record<string, unknown>) | null;
|
|
1623
1693
|
}[];
|
|
1624
|
-
lensType: "flat" | "fisheye";
|
|
1625
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1626
1694
|
ptzCapable: boolean;
|
|
1627
1695
|
ptzPanSpeed: number;
|
|
1628
1696
|
ptzTiltSpeed: number;
|
|
@@ -1633,11 +1701,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1633
1701
|
tiltMax: number;
|
|
1634
1702
|
zoomMin: number;
|
|
1635
1703
|
zoomMax: number;
|
|
1636
|
-
recordingCapable: boolean;
|
|
1637
|
-
webrtcPlaybackSource: ({
|
|
1638
|
-
kind: string;
|
|
1639
|
-
} & Record<string, unknown>) | null;
|
|
1640
1704
|
defaultStreamId: string;
|
|
1705
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1641
1706
|
} | {
|
|
1642
1707
|
type: "door";
|
|
1643
1708
|
canReportOpenState: boolean;
|
|
@@ -1738,9 +1803,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1738
1803
|
displayName: string;
|
|
1739
1804
|
externalPlayerUrl: string | null;
|
|
1740
1805
|
rtspUrl: string;
|
|
1806
|
+
recordingCapable: boolean;
|
|
1807
|
+
lensType: "flat" | "fisheye";
|
|
1808
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1809
|
+
webrtcPlaybackSource: ({
|
|
1810
|
+
kind: string;
|
|
1811
|
+
} & Record<string, unknown>) | null;
|
|
1741
1812
|
}[];
|
|
1742
|
-
lensType: "flat" | "fisheye";
|
|
1743
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1744
1813
|
ptzCapable: boolean;
|
|
1745
1814
|
ptzPanSpeed: number;
|
|
1746
1815
|
ptzTiltSpeed: number;
|
|
@@ -1751,11 +1820,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1751
1820
|
tiltMax: number;
|
|
1752
1821
|
zoomMin: number;
|
|
1753
1822
|
zoomMax: number;
|
|
1754
|
-
recordingCapable: boolean;
|
|
1755
|
-
webrtcPlaybackSource: ({
|
|
1756
|
-
kind: string;
|
|
1757
|
-
} & Record<string, unknown>) | null;
|
|
1758
1823
|
defaultStreamId: string;
|
|
1824
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1759
1825
|
} | {
|
|
1760
1826
|
type: "door";
|
|
1761
1827
|
canReportOpenState: boolean;
|