@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
|
@@ -73,8 +73,6 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
73
73
|
}, {
|
|
74
74
|
type: "alarm";
|
|
75
75
|
}>, z.ZodObject<{
|
|
76
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
77
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
78
76
|
ptzCapable: z.ZodBoolean;
|
|
79
77
|
ptzPanSpeed: z.ZodNumber;
|
|
80
78
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -85,31 +83,46 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
85
83
|
tiltMax: z.ZodNumber;
|
|
86
84
|
zoomMin: z.ZodNumber;
|
|
87
85
|
zoomMax: z.ZodNumber;
|
|
88
|
-
recordingCapable: z.ZodBoolean;
|
|
89
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
90
|
-
kind: z.ZodString;
|
|
91
|
-
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
kind: string;
|
|
93
|
-
}, {
|
|
94
|
-
kind: string;
|
|
95
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
96
86
|
streams: z.ZodArray<z.ZodObject<{
|
|
97
87
|
id: z.ZodString;
|
|
98
88
|
displayName: z.ZodString;
|
|
99
89
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
100
90
|
rtspUrl: z.ZodString;
|
|
91
|
+
recordingCapable: z.ZodBoolean;
|
|
92
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
93
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
94
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
95
|
+
kind: z.ZodString;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
kind: string;
|
|
98
|
+
}, {
|
|
99
|
+
kind: string;
|
|
100
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
id: string;
|
|
103
103
|
displayName: string;
|
|
104
104
|
externalPlayerUrl: string | null;
|
|
105
105
|
rtspUrl: string;
|
|
106
|
+
recordingCapable: boolean;
|
|
107
|
+
lensType: "flat" | "fisheye";
|
|
108
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
109
|
+
webrtcPlaybackSource: ({
|
|
110
|
+
kind: string;
|
|
111
|
+
} & Record<string, unknown>) | null;
|
|
106
112
|
}, {
|
|
107
113
|
id: string;
|
|
108
114
|
displayName: string;
|
|
109
115
|
externalPlayerUrl: string | null;
|
|
110
116
|
rtspUrl: string;
|
|
117
|
+
recordingCapable: boolean;
|
|
118
|
+
lensType: "flat" | "fisheye";
|
|
119
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
120
|
+
webrtcPlaybackSource: ({
|
|
121
|
+
kind: string;
|
|
122
|
+
} & Record<string, unknown>) | null;
|
|
111
123
|
}>, "many">;
|
|
112
124
|
defaultStreamId: z.ZodString;
|
|
125
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
113
126
|
} & {
|
|
114
127
|
type: z.ZodLiteral<"camera">;
|
|
115
128
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -119,9 +132,13 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
119
132
|
displayName: string;
|
|
120
133
|
externalPlayerUrl: string | null;
|
|
121
134
|
rtspUrl: string;
|
|
135
|
+
recordingCapable: boolean;
|
|
136
|
+
lensType: "flat" | "fisheye";
|
|
137
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
138
|
+
webrtcPlaybackSource: ({
|
|
139
|
+
kind: string;
|
|
140
|
+
} & Record<string, unknown>) | null;
|
|
122
141
|
}[];
|
|
123
|
-
lensType: "flat" | "fisheye";
|
|
124
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
125
142
|
ptzCapable: boolean;
|
|
126
143
|
ptzPanSpeed: number;
|
|
127
144
|
ptzTiltSpeed: number;
|
|
@@ -132,11 +149,8 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
132
149
|
tiltMax: number;
|
|
133
150
|
zoomMin: number;
|
|
134
151
|
zoomMax: number;
|
|
135
|
-
recordingCapable: boolean;
|
|
136
|
-
webrtcPlaybackSource: ({
|
|
137
|
-
kind: string;
|
|
138
|
-
} & Record<string, unknown>) | null;
|
|
139
152
|
defaultStreamId: string;
|
|
153
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
140
154
|
}, {
|
|
141
155
|
type: "camera";
|
|
142
156
|
streams: {
|
|
@@ -144,9 +158,13 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
144
158
|
displayName: string;
|
|
145
159
|
externalPlayerUrl: string | null;
|
|
146
160
|
rtspUrl: string;
|
|
161
|
+
recordingCapable: boolean;
|
|
162
|
+
lensType: "flat" | "fisheye";
|
|
163
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
164
|
+
webrtcPlaybackSource: ({
|
|
165
|
+
kind: string;
|
|
166
|
+
} & Record<string, unknown>) | null;
|
|
147
167
|
}[];
|
|
148
|
-
lensType: "flat" | "fisheye";
|
|
149
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
150
168
|
ptzCapable: boolean;
|
|
151
169
|
ptzPanSpeed: number;
|
|
152
170
|
ptzTiltSpeed: number;
|
|
@@ -157,11 +175,8 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
157
175
|
tiltMax: number;
|
|
158
176
|
zoomMin: number;
|
|
159
177
|
zoomMax: number;
|
|
160
|
-
recordingCapable: boolean;
|
|
161
|
-
webrtcPlaybackSource: ({
|
|
162
|
-
kind: string;
|
|
163
|
-
} & Record<string, unknown>) | null;
|
|
164
178
|
defaultStreamId: string;
|
|
179
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
165
180
|
}>, z.ZodObject<{
|
|
166
181
|
canReportOpenState: z.ZodBoolean;
|
|
167
182
|
canReportLockState: z.ZodBoolean;
|
|
@@ -308,6 +323,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
308
323
|
}, {
|
|
309
324
|
type: "system";
|
|
310
325
|
}>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
|
|
326
|
+
streamId: z.ZodString;
|
|
311
327
|
timeFrom: z.ZodNumber;
|
|
312
328
|
timeTo: z.ZodNumber;
|
|
313
329
|
name: z.ZodString;
|
|
@@ -338,9 +354,13 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
338
354
|
displayName: string;
|
|
339
355
|
externalPlayerUrl: string | null;
|
|
340
356
|
rtspUrl: string;
|
|
357
|
+
recordingCapable: boolean;
|
|
358
|
+
lensType: "flat" | "fisheye";
|
|
359
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
360
|
+
webrtcPlaybackSource: ({
|
|
361
|
+
kind: string;
|
|
362
|
+
} & Record<string, unknown>) | null;
|
|
341
363
|
}[];
|
|
342
|
-
lensType: "flat" | "fisheye";
|
|
343
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
344
364
|
ptzCapable: boolean;
|
|
345
365
|
ptzPanSpeed: number;
|
|
346
366
|
ptzTiltSpeed: number;
|
|
@@ -351,11 +371,8 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
351
371
|
tiltMax: number;
|
|
352
372
|
zoomMin: number;
|
|
353
373
|
zoomMax: number;
|
|
354
|
-
recordingCapable: boolean;
|
|
355
|
-
webrtcPlaybackSource: ({
|
|
356
|
-
kind: string;
|
|
357
|
-
} & Record<string, unknown>) | null;
|
|
358
374
|
defaultStreamId: string;
|
|
375
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
359
376
|
} | {
|
|
360
377
|
type: "door";
|
|
361
378
|
canReportOpenState: boolean;
|
|
@@ -404,6 +421,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
404
421
|
} | {
|
|
405
422
|
type: "system";
|
|
406
423
|
}));
|
|
424
|
+
streamId: string;
|
|
407
425
|
requestId: string;
|
|
408
426
|
timeFrom: number;
|
|
409
427
|
timeTo: number;
|
|
@@ -434,9 +452,13 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
434
452
|
displayName: string;
|
|
435
453
|
externalPlayerUrl: string | null;
|
|
436
454
|
rtspUrl: string;
|
|
455
|
+
recordingCapable: boolean;
|
|
456
|
+
lensType: "flat" | "fisheye";
|
|
457
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
458
|
+
webrtcPlaybackSource: ({
|
|
459
|
+
kind: string;
|
|
460
|
+
} & Record<string, unknown>) | null;
|
|
437
461
|
}[];
|
|
438
|
-
lensType: "flat" | "fisheye";
|
|
439
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
440
462
|
ptzCapable: boolean;
|
|
441
463
|
ptzPanSpeed: number;
|
|
442
464
|
ptzTiltSpeed: number;
|
|
@@ -447,11 +469,8 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
447
469
|
tiltMax: number;
|
|
448
470
|
zoomMin: number;
|
|
449
471
|
zoomMax: number;
|
|
450
|
-
recordingCapable: boolean;
|
|
451
|
-
webrtcPlaybackSource: ({
|
|
452
|
-
kind: string;
|
|
453
|
-
} & Record<string, unknown>) | null;
|
|
454
472
|
defaultStreamId: string;
|
|
473
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
455
474
|
} | {
|
|
456
475
|
type: "door";
|
|
457
476
|
canReportOpenState: boolean;
|
|
@@ -500,6 +519,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
500
519
|
} | {
|
|
501
520
|
type: "system";
|
|
502
521
|
}));
|
|
522
|
+
streamId: string;
|
|
503
523
|
requestId: string;
|
|
504
524
|
timeFrom: number;
|
|
505
525
|
timeTo: number;
|
|
@@ -532,9 +552,13 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
532
552
|
displayName: string;
|
|
533
553
|
externalPlayerUrl: string | null;
|
|
534
554
|
rtspUrl: string;
|
|
555
|
+
recordingCapable: boolean;
|
|
556
|
+
lensType: "flat" | "fisheye";
|
|
557
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
558
|
+
webrtcPlaybackSource: ({
|
|
559
|
+
kind: string;
|
|
560
|
+
} & Record<string, unknown>) | null;
|
|
535
561
|
}[];
|
|
536
|
-
lensType: "flat" | "fisheye";
|
|
537
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
538
562
|
ptzCapable: boolean;
|
|
539
563
|
ptzPanSpeed: number;
|
|
540
564
|
ptzTiltSpeed: number;
|
|
@@ -545,11 +569,8 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
545
569
|
tiltMax: number;
|
|
546
570
|
zoomMin: number;
|
|
547
571
|
zoomMax: number;
|
|
548
|
-
recordingCapable: boolean;
|
|
549
|
-
webrtcPlaybackSource: ({
|
|
550
|
-
kind: string;
|
|
551
|
-
} & Record<string, unknown>) | null;
|
|
552
572
|
defaultStreamId: string;
|
|
573
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
553
574
|
} | {
|
|
554
575
|
type: "door";
|
|
555
576
|
canReportOpenState: boolean;
|
|
@@ -598,6 +619,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
598
619
|
} | {
|
|
599
620
|
type: "system";
|
|
600
621
|
}));
|
|
622
|
+
streamId: string;
|
|
601
623
|
requestId: string;
|
|
602
624
|
timeFrom: number;
|
|
603
625
|
timeTo: number;
|
|
@@ -631,9 +653,13 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
631
653
|
displayName: string;
|
|
632
654
|
externalPlayerUrl: string | null;
|
|
633
655
|
rtspUrl: string;
|
|
656
|
+
recordingCapable: boolean;
|
|
657
|
+
lensType: "flat" | "fisheye";
|
|
658
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
659
|
+
webrtcPlaybackSource: ({
|
|
660
|
+
kind: string;
|
|
661
|
+
} & Record<string, unknown>) | null;
|
|
634
662
|
}[];
|
|
635
|
-
lensType: "flat" | "fisheye";
|
|
636
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
637
663
|
ptzCapable: boolean;
|
|
638
664
|
ptzPanSpeed: number;
|
|
639
665
|
ptzTiltSpeed: number;
|
|
@@ -644,11 +670,8 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
644
670
|
tiltMax: number;
|
|
645
671
|
zoomMin: number;
|
|
646
672
|
zoomMax: number;
|
|
647
|
-
recordingCapable: boolean;
|
|
648
|
-
webrtcPlaybackSource: ({
|
|
649
|
-
kind: string;
|
|
650
|
-
} & Record<string, unknown>) | null;
|
|
651
673
|
defaultStreamId: string;
|
|
674
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
652
675
|
} | {
|
|
653
676
|
type: "door";
|
|
654
677
|
canReportOpenState: boolean;
|
|
@@ -697,6 +720,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
697
720
|
} | {
|
|
698
721
|
type: "system";
|
|
699
722
|
}));
|
|
723
|
+
streamId: string;
|
|
700
724
|
requestId: string;
|
|
701
725
|
timeFrom: number;
|
|
702
726
|
timeTo: number;
|
|
@@ -801,8 +825,6 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
801
825
|
}, {
|
|
802
826
|
type: "alarm";
|
|
803
827
|
}>, z.ZodObject<{
|
|
804
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
805
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
806
828
|
ptzCapable: z.ZodBoolean;
|
|
807
829
|
ptzPanSpeed: z.ZodNumber;
|
|
808
830
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -813,31 +835,46 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
813
835
|
tiltMax: z.ZodNumber;
|
|
814
836
|
zoomMin: z.ZodNumber;
|
|
815
837
|
zoomMax: z.ZodNumber;
|
|
816
|
-
recordingCapable: z.ZodBoolean;
|
|
817
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
818
|
-
kind: z.ZodString;
|
|
819
|
-
}, "strip", z.ZodTypeAny, {
|
|
820
|
-
kind: string;
|
|
821
|
-
}, {
|
|
822
|
-
kind: string;
|
|
823
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
824
838
|
streams: z.ZodArray<z.ZodObject<{
|
|
825
839
|
id: z.ZodString;
|
|
826
840
|
displayName: z.ZodString;
|
|
827
841
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
828
842
|
rtspUrl: z.ZodString;
|
|
843
|
+
recordingCapable: z.ZodBoolean;
|
|
844
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
845
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
846
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
847
|
+
kind: z.ZodString;
|
|
848
|
+
}, "strip", z.ZodTypeAny, {
|
|
849
|
+
kind: string;
|
|
850
|
+
}, {
|
|
851
|
+
kind: string;
|
|
852
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
829
853
|
}, "strip", z.ZodTypeAny, {
|
|
830
854
|
id: string;
|
|
831
855
|
displayName: string;
|
|
832
856
|
externalPlayerUrl: string | null;
|
|
833
857
|
rtspUrl: string;
|
|
858
|
+
recordingCapable: boolean;
|
|
859
|
+
lensType: "flat" | "fisheye";
|
|
860
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
861
|
+
webrtcPlaybackSource: ({
|
|
862
|
+
kind: string;
|
|
863
|
+
} & Record<string, unknown>) | null;
|
|
834
864
|
}, {
|
|
835
865
|
id: string;
|
|
836
866
|
displayName: string;
|
|
837
867
|
externalPlayerUrl: string | null;
|
|
838
868
|
rtspUrl: string;
|
|
869
|
+
recordingCapable: boolean;
|
|
870
|
+
lensType: "flat" | "fisheye";
|
|
871
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
872
|
+
webrtcPlaybackSource: ({
|
|
873
|
+
kind: string;
|
|
874
|
+
} & Record<string, unknown>) | null;
|
|
839
875
|
}>, "many">;
|
|
840
876
|
defaultStreamId: z.ZodString;
|
|
877
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
841
878
|
} & {
|
|
842
879
|
type: z.ZodLiteral<"camera">;
|
|
843
880
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -847,9 +884,13 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
847
884
|
displayName: string;
|
|
848
885
|
externalPlayerUrl: string | null;
|
|
849
886
|
rtspUrl: string;
|
|
887
|
+
recordingCapable: boolean;
|
|
888
|
+
lensType: "flat" | "fisheye";
|
|
889
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
890
|
+
webrtcPlaybackSource: ({
|
|
891
|
+
kind: string;
|
|
892
|
+
} & Record<string, unknown>) | null;
|
|
850
893
|
}[];
|
|
851
|
-
lensType: "flat" | "fisheye";
|
|
852
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
853
894
|
ptzCapable: boolean;
|
|
854
895
|
ptzPanSpeed: number;
|
|
855
896
|
ptzTiltSpeed: number;
|
|
@@ -860,11 +901,8 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
860
901
|
tiltMax: number;
|
|
861
902
|
zoomMin: number;
|
|
862
903
|
zoomMax: number;
|
|
863
|
-
recordingCapable: boolean;
|
|
864
|
-
webrtcPlaybackSource: ({
|
|
865
|
-
kind: string;
|
|
866
|
-
} & Record<string, unknown>) | null;
|
|
867
904
|
defaultStreamId: string;
|
|
905
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
868
906
|
}, {
|
|
869
907
|
type: "camera";
|
|
870
908
|
streams: {
|
|
@@ -872,9 +910,13 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
872
910
|
displayName: string;
|
|
873
911
|
externalPlayerUrl: string | null;
|
|
874
912
|
rtspUrl: string;
|
|
913
|
+
recordingCapable: boolean;
|
|
914
|
+
lensType: "flat" | "fisheye";
|
|
915
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
916
|
+
webrtcPlaybackSource: ({
|
|
917
|
+
kind: string;
|
|
918
|
+
} & Record<string, unknown>) | null;
|
|
875
919
|
}[];
|
|
876
|
-
lensType: "flat" | "fisheye";
|
|
877
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
878
920
|
ptzCapable: boolean;
|
|
879
921
|
ptzPanSpeed: number;
|
|
880
922
|
ptzTiltSpeed: number;
|
|
@@ -885,11 +927,8 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
885
927
|
tiltMax: number;
|
|
886
928
|
zoomMin: number;
|
|
887
929
|
zoomMax: number;
|
|
888
|
-
recordingCapable: boolean;
|
|
889
|
-
webrtcPlaybackSource: ({
|
|
890
|
-
kind: string;
|
|
891
|
-
} & Record<string, unknown>) | null;
|
|
892
930
|
defaultStreamId: string;
|
|
931
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
893
932
|
}>, z.ZodObject<{
|
|
894
933
|
canReportOpenState: z.ZodBoolean;
|
|
895
934
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1036,6 +1075,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1036
1075
|
}, {
|
|
1037
1076
|
type: "system";
|
|
1038
1077
|
}>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
|
|
1078
|
+
streamId: z.ZodString;
|
|
1039
1079
|
timeFrom: z.ZodNumber;
|
|
1040
1080
|
timeTo: z.ZodNumber;
|
|
1041
1081
|
name: z.ZodString;
|
|
@@ -1066,9 +1106,13 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1066
1106
|
displayName: string;
|
|
1067
1107
|
externalPlayerUrl: string | null;
|
|
1068
1108
|
rtspUrl: string;
|
|
1109
|
+
recordingCapable: boolean;
|
|
1110
|
+
lensType: "flat" | "fisheye";
|
|
1111
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1112
|
+
webrtcPlaybackSource: ({
|
|
1113
|
+
kind: string;
|
|
1114
|
+
} & Record<string, unknown>) | null;
|
|
1069
1115
|
}[];
|
|
1070
|
-
lensType: "flat" | "fisheye";
|
|
1071
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1072
1116
|
ptzCapable: boolean;
|
|
1073
1117
|
ptzPanSpeed: number;
|
|
1074
1118
|
ptzTiltSpeed: number;
|
|
@@ -1079,11 +1123,8 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1079
1123
|
tiltMax: number;
|
|
1080
1124
|
zoomMin: number;
|
|
1081
1125
|
zoomMax: number;
|
|
1082
|
-
recordingCapable: boolean;
|
|
1083
|
-
webrtcPlaybackSource: ({
|
|
1084
|
-
kind: string;
|
|
1085
|
-
} & Record<string, unknown>) | null;
|
|
1086
1126
|
defaultStreamId: string;
|
|
1127
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1087
1128
|
} | {
|
|
1088
1129
|
type: "door";
|
|
1089
1130
|
canReportOpenState: boolean;
|
|
@@ -1132,6 +1173,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1132
1173
|
} | {
|
|
1133
1174
|
type: "system";
|
|
1134
1175
|
}));
|
|
1176
|
+
streamId: string;
|
|
1135
1177
|
requestId: string;
|
|
1136
1178
|
timeFrom: number;
|
|
1137
1179
|
timeTo: number;
|
|
@@ -1162,9 +1204,13 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1162
1204
|
displayName: string;
|
|
1163
1205
|
externalPlayerUrl: string | null;
|
|
1164
1206
|
rtspUrl: string;
|
|
1207
|
+
recordingCapable: boolean;
|
|
1208
|
+
lensType: "flat" | "fisheye";
|
|
1209
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1210
|
+
webrtcPlaybackSource: ({
|
|
1211
|
+
kind: string;
|
|
1212
|
+
} & Record<string, unknown>) | null;
|
|
1165
1213
|
}[];
|
|
1166
|
-
lensType: "flat" | "fisheye";
|
|
1167
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1168
1214
|
ptzCapable: boolean;
|
|
1169
1215
|
ptzPanSpeed: number;
|
|
1170
1216
|
ptzTiltSpeed: number;
|
|
@@ -1175,11 +1221,8 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1175
1221
|
tiltMax: number;
|
|
1176
1222
|
zoomMin: number;
|
|
1177
1223
|
zoomMax: number;
|
|
1178
|
-
recordingCapable: boolean;
|
|
1179
|
-
webrtcPlaybackSource: ({
|
|
1180
|
-
kind: string;
|
|
1181
|
-
} & Record<string, unknown>) | null;
|
|
1182
1224
|
defaultStreamId: string;
|
|
1225
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1183
1226
|
} | {
|
|
1184
1227
|
type: "door";
|
|
1185
1228
|
canReportOpenState: boolean;
|
|
@@ -1228,6 +1271,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1228
1271
|
} | {
|
|
1229
1272
|
type: "system";
|
|
1230
1273
|
}));
|
|
1274
|
+
streamId: string;
|
|
1231
1275
|
requestId: string;
|
|
1232
1276
|
timeFrom: number;
|
|
1233
1277
|
timeTo: number;
|
|
@@ -1260,9 +1304,13 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1260
1304
|
displayName: string;
|
|
1261
1305
|
externalPlayerUrl: string | null;
|
|
1262
1306
|
rtspUrl: string;
|
|
1307
|
+
recordingCapable: boolean;
|
|
1308
|
+
lensType: "flat" | "fisheye";
|
|
1309
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1310
|
+
webrtcPlaybackSource: ({
|
|
1311
|
+
kind: string;
|
|
1312
|
+
} & Record<string, unknown>) | null;
|
|
1263
1313
|
}[];
|
|
1264
|
-
lensType: "flat" | "fisheye";
|
|
1265
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1266
1314
|
ptzCapable: boolean;
|
|
1267
1315
|
ptzPanSpeed: number;
|
|
1268
1316
|
ptzTiltSpeed: number;
|
|
@@ -1273,11 +1321,8 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1273
1321
|
tiltMax: number;
|
|
1274
1322
|
zoomMin: number;
|
|
1275
1323
|
zoomMax: number;
|
|
1276
|
-
recordingCapable: boolean;
|
|
1277
|
-
webrtcPlaybackSource: ({
|
|
1278
|
-
kind: string;
|
|
1279
|
-
} & Record<string, unknown>) | null;
|
|
1280
1324
|
defaultStreamId: string;
|
|
1325
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1281
1326
|
} | {
|
|
1282
1327
|
type: "door";
|
|
1283
1328
|
canReportOpenState: boolean;
|
|
@@ -1326,6 +1371,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1326
1371
|
} | {
|
|
1327
1372
|
type: "system";
|
|
1328
1373
|
}));
|
|
1374
|
+
streamId: string;
|
|
1329
1375
|
requestId: string;
|
|
1330
1376
|
timeFrom: number;
|
|
1331
1377
|
timeTo: number;
|
|
@@ -1359,9 +1405,13 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1359
1405
|
displayName: string;
|
|
1360
1406
|
externalPlayerUrl: string | null;
|
|
1361
1407
|
rtspUrl: string;
|
|
1408
|
+
recordingCapable: boolean;
|
|
1409
|
+
lensType: "flat" | "fisheye";
|
|
1410
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1411
|
+
webrtcPlaybackSource: ({
|
|
1412
|
+
kind: string;
|
|
1413
|
+
} & Record<string, unknown>) | null;
|
|
1362
1414
|
}[];
|
|
1363
|
-
lensType: "flat" | "fisheye";
|
|
1364
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1365
1415
|
ptzCapable: boolean;
|
|
1366
1416
|
ptzPanSpeed: number;
|
|
1367
1417
|
ptzTiltSpeed: number;
|
|
@@ -1372,11 +1422,8 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1372
1422
|
tiltMax: number;
|
|
1373
1423
|
zoomMin: number;
|
|
1374
1424
|
zoomMax: number;
|
|
1375
|
-
recordingCapable: boolean;
|
|
1376
|
-
webrtcPlaybackSource: ({
|
|
1377
|
-
kind: string;
|
|
1378
|
-
} & Record<string, unknown>) | null;
|
|
1379
1425
|
defaultStreamId: string;
|
|
1426
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1380
1427
|
} | {
|
|
1381
1428
|
type: "door";
|
|
1382
1429
|
canReportOpenState: boolean;
|
|
@@ -1425,6 +1472,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1425
1472
|
} | {
|
|
1426
1473
|
type: "system";
|
|
1427
1474
|
}));
|
|
1475
|
+
streamId: string;
|
|
1428
1476
|
requestId: string;
|
|
1429
1477
|
timeFrom: number;
|
|
1430
1478
|
timeTo: number;
|
|
@@ -9,6 +9,7 @@ exports.sStartExportCommand = zod_1.z.object({
|
|
|
9
9
|
params: zod_1.z.object({
|
|
10
10
|
requestId: zod_1.z.string().nonempty(),
|
|
11
11
|
device: primitives_1.sDeviceParam,
|
|
12
|
+
streamId: zod_1.z.string().nonempty(),
|
|
12
13
|
timeFrom: zod_1.z.number().int().nonnegative(),
|
|
13
14
|
timeTo: zod_1.z.number().int().nonnegative(),
|
|
14
15
|
name: zod_1.z.string().nonempty(),
|