@awarevue/api-types 2.0.4 → 2.0.6
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/agent-communication/protocol.d.ts +18 -216
- package/dist/agent-communication/queries.d.ts +18 -216
- package/dist/device/nvr-exporter.d.ts +627 -96
- package/dist/device/nvr-exporter.js +5 -1
- package/dist/device/nvr-recorder.d.ts +36 -432
- package/dist/device-command.d.ts +616 -1
- package/dist/device-command.js +10 -0
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +4 -96
- package/dist/primitives.js +1 -1
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
17
17
|
command: z.ZodLiteral<"nvr-exporter.start-export">;
|
|
18
18
|
params: z.ZodObject<{
|
|
19
19
|
requestId: z.ZodString;
|
|
20
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
20
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
21
21
|
name: z.ZodString;
|
|
22
22
|
foreignRef: z.ZodString;
|
|
23
23
|
provider: z.ZodString;
|
|
@@ -263,60 +263,14 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
263
263
|
type: "nvr-analytics-server";
|
|
264
264
|
}, {
|
|
265
265
|
type: "nvr-analytics-server";
|
|
266
|
-
}>]
|
|
267
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
268
|
-
id: z.ZodString;
|
|
269
|
-
name: z.ZodString;
|
|
270
|
-
params: z.ZodUnknown;
|
|
271
|
-
isDefault: z.ZodBoolean;
|
|
272
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
273
|
-
createdOn: z.ZodString;
|
|
274
|
-
lastModifiedOn: z.ZodString;
|
|
275
|
-
}, "strip", z.ZodTypeAny, {
|
|
276
|
-
name: string;
|
|
277
|
-
id: string;
|
|
278
|
-
isDefault: boolean;
|
|
279
|
-
assignedRef: string | null;
|
|
280
|
-
createdOn: string;
|
|
281
|
-
lastModifiedOn: string;
|
|
282
|
-
params?: unknown;
|
|
283
|
-
}, {
|
|
284
|
-
name: string;
|
|
285
|
-
id: string;
|
|
286
|
-
isDefault: boolean;
|
|
287
|
-
assignedRef: string | null;
|
|
288
|
-
createdOn: string;
|
|
289
|
-
lastModifiedOn: string;
|
|
290
|
-
params?: unknown;
|
|
291
|
-
}>, "many">;
|
|
292
|
-
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
presets: {
|
|
294
|
-
name: string;
|
|
295
|
-
id: string;
|
|
296
|
-
isDefault: boolean;
|
|
297
|
-
assignedRef: string | null;
|
|
298
|
-
createdOn: string;
|
|
299
|
-
lastModifiedOn: string;
|
|
300
|
-
params?: unknown;
|
|
301
|
-
}[];
|
|
302
|
-
}, {
|
|
303
|
-
presets: {
|
|
304
|
-
name: string;
|
|
305
|
-
id: string;
|
|
306
|
-
isDefault: boolean;
|
|
307
|
-
assignedRef: string | null;
|
|
308
|
-
createdOn: string;
|
|
309
|
-
lastModifiedOn: string;
|
|
310
|
-
params?: unknown;
|
|
311
|
-
}[];
|
|
312
|
-
}>>]>;
|
|
266
|
+
}>]>>]>;
|
|
313
267
|
timeFrom: z.ZodNumber;
|
|
314
268
|
timeTo: z.ZodNumber;
|
|
315
269
|
name: z.ZodString;
|
|
316
270
|
}, "strip", z.ZodTypeAny, {
|
|
317
271
|
name: string;
|
|
318
272
|
requestId: string;
|
|
319
|
-
device: string | (
|
|
273
|
+
device: string | ({
|
|
320
274
|
name: string;
|
|
321
275
|
foreignRef: string;
|
|
322
276
|
provider: string;
|
|
@@ -393,23 +347,13 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
393
347
|
type: "nvr-exporter";
|
|
394
348
|
} | {
|
|
395
349
|
type: "nvr-analytics-server";
|
|
396
|
-
}))
|
|
397
|
-
presets: {
|
|
398
|
-
name: string;
|
|
399
|
-
id: string;
|
|
400
|
-
isDefault: boolean;
|
|
401
|
-
assignedRef: string | null;
|
|
402
|
-
createdOn: string;
|
|
403
|
-
lastModifiedOn: string;
|
|
404
|
-
params?: unknown;
|
|
405
|
-
}[];
|
|
406
|
-
});
|
|
350
|
+
}));
|
|
407
351
|
timeFrom: number;
|
|
408
352
|
timeTo: number;
|
|
409
353
|
}, {
|
|
410
354
|
name: string;
|
|
411
355
|
requestId: string;
|
|
412
|
-
device: string | (
|
|
356
|
+
device: string | ({
|
|
413
357
|
name: string;
|
|
414
358
|
foreignRef: string;
|
|
415
359
|
provider: string;
|
|
@@ -486,17 +430,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
486
430
|
type: "nvr-exporter";
|
|
487
431
|
} | {
|
|
488
432
|
type: "nvr-analytics-server";
|
|
489
|
-
}))
|
|
490
|
-
presets: {
|
|
491
|
-
name: string;
|
|
492
|
-
id: string;
|
|
493
|
-
isDefault: boolean;
|
|
494
|
-
assignedRef: string | null;
|
|
495
|
-
createdOn: string;
|
|
496
|
-
lastModifiedOn: string;
|
|
497
|
-
params?: unknown;
|
|
498
|
-
}[];
|
|
499
|
-
});
|
|
433
|
+
}));
|
|
500
434
|
timeFrom: number;
|
|
501
435
|
timeTo: number;
|
|
502
436
|
}>;
|
|
@@ -504,7 +438,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
504
438
|
params: {
|
|
505
439
|
name: string;
|
|
506
440
|
requestId: string;
|
|
507
|
-
device: string | (
|
|
441
|
+
device: string | ({
|
|
508
442
|
name: string;
|
|
509
443
|
foreignRef: string;
|
|
510
444
|
provider: string;
|
|
@@ -581,17 +515,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
581
515
|
type: "nvr-exporter";
|
|
582
516
|
} | {
|
|
583
517
|
type: "nvr-analytics-server";
|
|
584
|
-
}))
|
|
585
|
-
presets: {
|
|
586
|
-
name: string;
|
|
587
|
-
id: string;
|
|
588
|
-
isDefault: boolean;
|
|
589
|
-
assignedRef: string | null;
|
|
590
|
-
createdOn: string;
|
|
591
|
-
lastModifiedOn: string;
|
|
592
|
-
params?: unknown;
|
|
593
|
-
}[];
|
|
594
|
-
});
|
|
518
|
+
}));
|
|
595
519
|
timeFrom: number;
|
|
596
520
|
timeTo: number;
|
|
597
521
|
};
|
|
@@ -600,7 +524,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
600
524
|
params: {
|
|
601
525
|
name: string;
|
|
602
526
|
requestId: string;
|
|
603
|
-
device: string | (
|
|
527
|
+
device: string | ({
|
|
604
528
|
name: string;
|
|
605
529
|
foreignRef: string;
|
|
606
530
|
provider: string;
|
|
@@ -677,17 +601,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
677
601
|
type: "nvr-exporter";
|
|
678
602
|
} | {
|
|
679
603
|
type: "nvr-analytics-server";
|
|
680
|
-
}))
|
|
681
|
-
presets: {
|
|
682
|
-
name: string;
|
|
683
|
-
id: string;
|
|
684
|
-
isDefault: boolean;
|
|
685
|
-
assignedRef: string | null;
|
|
686
|
-
createdOn: string;
|
|
687
|
-
lastModifiedOn: string;
|
|
688
|
-
params?: unknown;
|
|
689
|
-
}[];
|
|
690
|
-
});
|
|
604
|
+
}));
|
|
691
605
|
timeFrom: number;
|
|
692
606
|
timeTo: number;
|
|
693
607
|
};
|
|
@@ -715,6 +629,623 @@ export declare const sDeleteExportCommand: z.ZodObject<{
|
|
|
715
629
|
command: "nvr-exporter.delete-export";
|
|
716
630
|
}>;
|
|
717
631
|
export type DeleteExportCommand = z.infer<typeof sDeleteExportCommand>;
|
|
632
|
+
export type NvrExporterCommand = StartExportCommand | DeleteExportCommand;
|
|
633
|
+
export declare const nvrExporterCommandSchemas: {
|
|
634
|
+
readonly 'nvr-exporter.start-export': z.ZodObject<{
|
|
635
|
+
command: z.ZodLiteral<"nvr-exporter.start-export">;
|
|
636
|
+
params: z.ZodObject<{
|
|
637
|
+
requestId: z.ZodString;
|
|
638
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
639
|
+
name: z.ZodString;
|
|
640
|
+
foreignRef: z.ZodString;
|
|
641
|
+
provider: z.ZodString;
|
|
642
|
+
providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
|
|
643
|
+
}, "strip", z.ZodTypeAny, {
|
|
644
|
+
name: string;
|
|
645
|
+
foreignRef: string;
|
|
646
|
+
provider: string;
|
|
647
|
+
providerMetadata: {} & {
|
|
648
|
+
[k: string]: unknown;
|
|
649
|
+
};
|
|
650
|
+
}, {
|
|
651
|
+
name: string;
|
|
652
|
+
foreignRef: string;
|
|
653
|
+
provider: string;
|
|
654
|
+
providerMetadata: {} & {
|
|
655
|
+
[k: string]: unknown;
|
|
656
|
+
};
|
|
657
|
+
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
658
|
+
type: z.ZodLiteral<"alarm">;
|
|
659
|
+
}, "strip", z.ZodTypeAny, {
|
|
660
|
+
type: "alarm";
|
|
661
|
+
}, {
|
|
662
|
+
type: "alarm";
|
|
663
|
+
}>, z.ZodObject<{
|
|
664
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
665
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
666
|
+
ptzCapable: z.ZodBoolean;
|
|
667
|
+
ptzPanSpeed: z.ZodNumber;
|
|
668
|
+
ptzTiltSpeed: z.ZodNumber;
|
|
669
|
+
ptzZoomSpeed: z.ZodNumber;
|
|
670
|
+
panMin: z.ZodNumber;
|
|
671
|
+
panMax: z.ZodNumber;
|
|
672
|
+
tiltMin: z.ZodNumber;
|
|
673
|
+
tiltMax: z.ZodNumber;
|
|
674
|
+
zoomMin: z.ZodNumber;
|
|
675
|
+
zoomMax: z.ZodNumber;
|
|
676
|
+
recordingCapable: z.ZodBoolean;
|
|
677
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
678
|
+
kind: z.ZodString;
|
|
679
|
+
}, "strip", z.ZodTypeAny, {
|
|
680
|
+
kind: string;
|
|
681
|
+
}, {
|
|
682
|
+
kind: string;
|
|
683
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
684
|
+
streams: z.ZodArray<z.ZodObject<{
|
|
685
|
+
id: z.ZodString;
|
|
686
|
+
displayName: z.ZodString;
|
|
687
|
+
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
|
+
id: string;
|
|
690
|
+
displayName: string;
|
|
691
|
+
externalPlayerUrl: string | null;
|
|
692
|
+
}, {
|
|
693
|
+
id: string;
|
|
694
|
+
displayName: string;
|
|
695
|
+
externalPlayerUrl: string | null;
|
|
696
|
+
}>, "many">;
|
|
697
|
+
defaultStreamId: z.ZodString;
|
|
698
|
+
} & {
|
|
699
|
+
type: z.ZodLiteral<"camera">;
|
|
700
|
+
}, "strip", z.ZodTypeAny, {
|
|
701
|
+
type: "camera";
|
|
702
|
+
streams: {
|
|
703
|
+
id: string;
|
|
704
|
+
displayName: string;
|
|
705
|
+
externalPlayerUrl: string | null;
|
|
706
|
+
}[];
|
|
707
|
+
lensType: "flat" | "fisheye";
|
|
708
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
709
|
+
ptzCapable: boolean;
|
|
710
|
+
ptzPanSpeed: number;
|
|
711
|
+
ptzTiltSpeed: number;
|
|
712
|
+
ptzZoomSpeed: number;
|
|
713
|
+
panMin: number;
|
|
714
|
+
panMax: number;
|
|
715
|
+
tiltMin: number;
|
|
716
|
+
tiltMax: number;
|
|
717
|
+
zoomMin: number;
|
|
718
|
+
zoomMax: number;
|
|
719
|
+
recordingCapable: boolean;
|
|
720
|
+
webrtcPlaybackSource: ({
|
|
721
|
+
kind: string;
|
|
722
|
+
} & Record<string, unknown>) | null;
|
|
723
|
+
defaultStreamId: string;
|
|
724
|
+
}, {
|
|
725
|
+
type: "camera";
|
|
726
|
+
streams: {
|
|
727
|
+
id: string;
|
|
728
|
+
displayName: string;
|
|
729
|
+
externalPlayerUrl: string | null;
|
|
730
|
+
}[];
|
|
731
|
+
lensType: "flat" | "fisheye";
|
|
732
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
733
|
+
ptzCapable: boolean;
|
|
734
|
+
ptzPanSpeed: number;
|
|
735
|
+
ptzTiltSpeed: number;
|
|
736
|
+
ptzZoomSpeed: number;
|
|
737
|
+
panMin: number;
|
|
738
|
+
panMax: number;
|
|
739
|
+
tiltMin: number;
|
|
740
|
+
tiltMax: number;
|
|
741
|
+
zoomMin: number;
|
|
742
|
+
zoomMax: number;
|
|
743
|
+
recordingCapable: boolean;
|
|
744
|
+
webrtcPlaybackSource: ({
|
|
745
|
+
kind: string;
|
|
746
|
+
} & Record<string, unknown>) | null;
|
|
747
|
+
defaultStreamId: string;
|
|
748
|
+
}>, z.ZodObject<{
|
|
749
|
+
canReportOpenState: z.ZodBoolean;
|
|
750
|
+
canReportLockState: z.ZodBoolean;
|
|
751
|
+
canControlLock: z.ZodBoolean;
|
|
752
|
+
canRelease: z.ZodBoolean;
|
|
753
|
+
} & {
|
|
754
|
+
type: z.ZodLiteral<"door">;
|
|
755
|
+
}, "strip", z.ZodTypeAny, {
|
|
756
|
+
type: "door";
|
|
757
|
+
canReportOpenState: boolean;
|
|
758
|
+
canReportLockState: boolean;
|
|
759
|
+
canControlLock: boolean;
|
|
760
|
+
canRelease: boolean;
|
|
761
|
+
}, {
|
|
762
|
+
type: "door";
|
|
763
|
+
canReportOpenState: boolean;
|
|
764
|
+
canReportLockState: boolean;
|
|
765
|
+
canControlLock: boolean;
|
|
766
|
+
canRelease: boolean;
|
|
767
|
+
}>, z.ZodObject<{
|
|
768
|
+
inputs: z.ZodArray<z.ZodString, "many">;
|
|
769
|
+
outputs: z.ZodArray<z.ZodString, "many">;
|
|
770
|
+
} & {
|
|
771
|
+
type: z.ZodLiteral<"io-board">;
|
|
772
|
+
}, "strip", z.ZodTypeAny, {
|
|
773
|
+
type: "io-board";
|
|
774
|
+
inputs: string[];
|
|
775
|
+
outputs: string[];
|
|
776
|
+
}, {
|
|
777
|
+
type: "io-board";
|
|
778
|
+
inputs: string[];
|
|
779
|
+
outputs: string[];
|
|
780
|
+
}>, z.ZodObject<{
|
|
781
|
+
type: z.ZodLiteral<"camera-lift">;
|
|
782
|
+
}, "strip", z.ZodTypeAny, {
|
|
783
|
+
type: "camera-lift";
|
|
784
|
+
}, {
|
|
785
|
+
type: "camera-lift";
|
|
786
|
+
}>, z.ZodObject<{
|
|
787
|
+
type: z.ZodLiteral<"motion-sensor">;
|
|
788
|
+
}, "strip", z.ZodTypeAny, {
|
|
789
|
+
type: "motion-sensor";
|
|
790
|
+
}, {
|
|
791
|
+
type: "motion-sensor";
|
|
792
|
+
}>, z.ZodObject<{
|
|
793
|
+
type: z.ZodLiteral<"panic-button">;
|
|
794
|
+
}, "strip", z.ZodTypeAny, {
|
|
795
|
+
type: "panic-button";
|
|
796
|
+
}, {
|
|
797
|
+
type: "panic-button";
|
|
798
|
+
}>, z.ZodObject<{
|
|
799
|
+
sipUri: z.ZodString;
|
|
800
|
+
sipUser: z.ZodString;
|
|
801
|
+
sipPassword: z.ZodString;
|
|
802
|
+
sipRealm: z.ZodString;
|
|
803
|
+
remoteExtension: z.ZodString;
|
|
804
|
+
} & {
|
|
805
|
+
type: z.ZodLiteral<"intercom-terminal">;
|
|
806
|
+
}, "strip", z.ZodTypeAny, {
|
|
807
|
+
type: "intercom-terminal";
|
|
808
|
+
sipUri: string;
|
|
809
|
+
sipUser: string;
|
|
810
|
+
sipPassword: string;
|
|
811
|
+
sipRealm: string;
|
|
812
|
+
remoteExtension: string;
|
|
813
|
+
}, {
|
|
814
|
+
type: "intercom-terminal";
|
|
815
|
+
sipUri: string;
|
|
816
|
+
sipUser: string;
|
|
817
|
+
sipPassword: string;
|
|
818
|
+
sipRealm: string;
|
|
819
|
+
remoteExtension: string;
|
|
820
|
+
}>, z.ZodObject<{
|
|
821
|
+
sipWsUrl: z.ZodString;
|
|
822
|
+
} & {
|
|
823
|
+
type: z.ZodLiteral<"pbx">;
|
|
824
|
+
}, "strip", z.ZodTypeAny, {
|
|
825
|
+
type: "pbx";
|
|
826
|
+
sipWsUrl: string;
|
|
827
|
+
}, {
|
|
828
|
+
type: "pbx";
|
|
829
|
+
sipWsUrl: string;
|
|
830
|
+
}>, z.ZodObject<{
|
|
831
|
+
type: z.ZodLiteral<"server">;
|
|
832
|
+
}, "strip", z.ZodTypeAny, {
|
|
833
|
+
type: "server";
|
|
834
|
+
}, {
|
|
835
|
+
type: "server";
|
|
836
|
+
}>, z.ZodObject<{
|
|
837
|
+
type: z.ZodLiteral<"intercom-operator">;
|
|
838
|
+
}, "strip", z.ZodTypeAny, {
|
|
839
|
+
type: "intercom-operator";
|
|
840
|
+
}, {
|
|
841
|
+
type: "intercom-operator";
|
|
842
|
+
}>, z.ZodObject<{
|
|
843
|
+
type: z.ZodLiteral<"device-gateway">;
|
|
844
|
+
}, "strip", z.ZodTypeAny, {
|
|
845
|
+
type: "device-gateway";
|
|
846
|
+
}, {
|
|
847
|
+
type: "device-gateway";
|
|
848
|
+
}>, z.ZodObject<{
|
|
849
|
+
type: z.ZodLiteral<"presence-tracker">;
|
|
850
|
+
}, "strip", z.ZodTypeAny, {
|
|
851
|
+
type: "presence-tracker";
|
|
852
|
+
}, {
|
|
853
|
+
type: "presence-tracker";
|
|
854
|
+
}>, z.ZodObject<{
|
|
855
|
+
type: z.ZodLiteral<"reader">;
|
|
856
|
+
}, "strip", z.ZodTypeAny, {
|
|
857
|
+
type: "reader";
|
|
858
|
+
}, {
|
|
859
|
+
type: "reader";
|
|
860
|
+
}>, z.ZodObject<{
|
|
861
|
+
type: z.ZodLiteral<"display">;
|
|
862
|
+
}, "strip", z.ZodTypeAny, {
|
|
863
|
+
type: "display";
|
|
864
|
+
}, {
|
|
865
|
+
type: "display";
|
|
866
|
+
}>, z.ZodObject<{
|
|
867
|
+
type: z.ZodLiteral<"nvr-recorder">;
|
|
868
|
+
}, "strip", z.ZodTypeAny, {
|
|
869
|
+
type: "nvr-recorder";
|
|
870
|
+
}, {
|
|
871
|
+
type: "nvr-recorder";
|
|
872
|
+
}>, z.ZodObject<{
|
|
873
|
+
type: z.ZodLiteral<"nvr-exporter">;
|
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
|
875
|
+
type: "nvr-exporter";
|
|
876
|
+
}, {
|
|
877
|
+
type: "nvr-exporter";
|
|
878
|
+
}>, z.ZodObject<{
|
|
879
|
+
type: z.ZodLiteral<"nvr-analytics-server">;
|
|
880
|
+
}, "strip", z.ZodTypeAny, {
|
|
881
|
+
type: "nvr-analytics-server";
|
|
882
|
+
}, {
|
|
883
|
+
type: "nvr-analytics-server";
|
|
884
|
+
}>]>>]>;
|
|
885
|
+
timeFrom: z.ZodNumber;
|
|
886
|
+
timeTo: z.ZodNumber;
|
|
887
|
+
name: z.ZodString;
|
|
888
|
+
}, "strip", z.ZodTypeAny, {
|
|
889
|
+
name: string;
|
|
890
|
+
requestId: string;
|
|
891
|
+
device: string | ({
|
|
892
|
+
name: string;
|
|
893
|
+
foreignRef: string;
|
|
894
|
+
provider: string;
|
|
895
|
+
providerMetadata: {} & {
|
|
896
|
+
[k: string]: unknown;
|
|
897
|
+
};
|
|
898
|
+
} & ({
|
|
899
|
+
type: "alarm";
|
|
900
|
+
} | {
|
|
901
|
+
type: "camera";
|
|
902
|
+
streams: {
|
|
903
|
+
id: string;
|
|
904
|
+
displayName: string;
|
|
905
|
+
externalPlayerUrl: string | null;
|
|
906
|
+
}[];
|
|
907
|
+
lensType: "flat" | "fisheye";
|
|
908
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
909
|
+
ptzCapable: boolean;
|
|
910
|
+
ptzPanSpeed: number;
|
|
911
|
+
ptzTiltSpeed: number;
|
|
912
|
+
ptzZoomSpeed: number;
|
|
913
|
+
panMin: number;
|
|
914
|
+
panMax: number;
|
|
915
|
+
tiltMin: number;
|
|
916
|
+
tiltMax: number;
|
|
917
|
+
zoomMin: number;
|
|
918
|
+
zoomMax: number;
|
|
919
|
+
recordingCapable: boolean;
|
|
920
|
+
webrtcPlaybackSource: ({
|
|
921
|
+
kind: string;
|
|
922
|
+
} & Record<string, unknown>) | null;
|
|
923
|
+
defaultStreamId: string;
|
|
924
|
+
} | {
|
|
925
|
+
type: "door";
|
|
926
|
+
canReportOpenState: boolean;
|
|
927
|
+
canReportLockState: boolean;
|
|
928
|
+
canControlLock: boolean;
|
|
929
|
+
canRelease: boolean;
|
|
930
|
+
} | {
|
|
931
|
+
type: "io-board";
|
|
932
|
+
inputs: string[];
|
|
933
|
+
outputs: string[];
|
|
934
|
+
} | {
|
|
935
|
+
type: "camera-lift";
|
|
936
|
+
} | {
|
|
937
|
+
type: "motion-sensor";
|
|
938
|
+
} | {
|
|
939
|
+
type: "panic-button";
|
|
940
|
+
} | {
|
|
941
|
+
type: "intercom-terminal";
|
|
942
|
+
sipUri: string;
|
|
943
|
+
sipUser: string;
|
|
944
|
+
sipPassword: string;
|
|
945
|
+
sipRealm: string;
|
|
946
|
+
remoteExtension: string;
|
|
947
|
+
} | {
|
|
948
|
+
type: "pbx";
|
|
949
|
+
sipWsUrl: string;
|
|
950
|
+
} | {
|
|
951
|
+
type: "server";
|
|
952
|
+
} | {
|
|
953
|
+
type: "intercom-operator";
|
|
954
|
+
} | {
|
|
955
|
+
type: "device-gateway";
|
|
956
|
+
} | {
|
|
957
|
+
type: "presence-tracker";
|
|
958
|
+
} | {
|
|
959
|
+
type: "reader";
|
|
960
|
+
} | {
|
|
961
|
+
type: "display";
|
|
962
|
+
} | {
|
|
963
|
+
type: "nvr-recorder";
|
|
964
|
+
} | {
|
|
965
|
+
type: "nvr-exporter";
|
|
966
|
+
} | {
|
|
967
|
+
type: "nvr-analytics-server";
|
|
968
|
+
}));
|
|
969
|
+
timeFrom: number;
|
|
970
|
+
timeTo: number;
|
|
971
|
+
}, {
|
|
972
|
+
name: string;
|
|
973
|
+
requestId: string;
|
|
974
|
+
device: string | ({
|
|
975
|
+
name: string;
|
|
976
|
+
foreignRef: string;
|
|
977
|
+
provider: string;
|
|
978
|
+
providerMetadata: {} & {
|
|
979
|
+
[k: string]: unknown;
|
|
980
|
+
};
|
|
981
|
+
} & ({
|
|
982
|
+
type: "alarm";
|
|
983
|
+
} | {
|
|
984
|
+
type: "camera";
|
|
985
|
+
streams: {
|
|
986
|
+
id: string;
|
|
987
|
+
displayName: string;
|
|
988
|
+
externalPlayerUrl: string | null;
|
|
989
|
+
}[];
|
|
990
|
+
lensType: "flat" | "fisheye";
|
|
991
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
992
|
+
ptzCapable: boolean;
|
|
993
|
+
ptzPanSpeed: number;
|
|
994
|
+
ptzTiltSpeed: number;
|
|
995
|
+
ptzZoomSpeed: number;
|
|
996
|
+
panMin: number;
|
|
997
|
+
panMax: number;
|
|
998
|
+
tiltMin: number;
|
|
999
|
+
tiltMax: number;
|
|
1000
|
+
zoomMin: number;
|
|
1001
|
+
zoomMax: number;
|
|
1002
|
+
recordingCapable: boolean;
|
|
1003
|
+
webrtcPlaybackSource: ({
|
|
1004
|
+
kind: string;
|
|
1005
|
+
} & Record<string, unknown>) | null;
|
|
1006
|
+
defaultStreamId: string;
|
|
1007
|
+
} | {
|
|
1008
|
+
type: "door";
|
|
1009
|
+
canReportOpenState: boolean;
|
|
1010
|
+
canReportLockState: boolean;
|
|
1011
|
+
canControlLock: boolean;
|
|
1012
|
+
canRelease: boolean;
|
|
1013
|
+
} | {
|
|
1014
|
+
type: "io-board";
|
|
1015
|
+
inputs: string[];
|
|
1016
|
+
outputs: string[];
|
|
1017
|
+
} | {
|
|
1018
|
+
type: "camera-lift";
|
|
1019
|
+
} | {
|
|
1020
|
+
type: "motion-sensor";
|
|
1021
|
+
} | {
|
|
1022
|
+
type: "panic-button";
|
|
1023
|
+
} | {
|
|
1024
|
+
type: "intercom-terminal";
|
|
1025
|
+
sipUri: string;
|
|
1026
|
+
sipUser: string;
|
|
1027
|
+
sipPassword: string;
|
|
1028
|
+
sipRealm: string;
|
|
1029
|
+
remoteExtension: string;
|
|
1030
|
+
} | {
|
|
1031
|
+
type: "pbx";
|
|
1032
|
+
sipWsUrl: string;
|
|
1033
|
+
} | {
|
|
1034
|
+
type: "server";
|
|
1035
|
+
} | {
|
|
1036
|
+
type: "intercom-operator";
|
|
1037
|
+
} | {
|
|
1038
|
+
type: "device-gateway";
|
|
1039
|
+
} | {
|
|
1040
|
+
type: "presence-tracker";
|
|
1041
|
+
} | {
|
|
1042
|
+
type: "reader";
|
|
1043
|
+
} | {
|
|
1044
|
+
type: "display";
|
|
1045
|
+
} | {
|
|
1046
|
+
type: "nvr-recorder";
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "nvr-exporter";
|
|
1049
|
+
} | {
|
|
1050
|
+
type: "nvr-analytics-server";
|
|
1051
|
+
}));
|
|
1052
|
+
timeFrom: number;
|
|
1053
|
+
timeTo: number;
|
|
1054
|
+
}>;
|
|
1055
|
+
}, "strip", z.ZodTypeAny, {
|
|
1056
|
+
params: {
|
|
1057
|
+
name: string;
|
|
1058
|
+
requestId: string;
|
|
1059
|
+
device: string | ({
|
|
1060
|
+
name: string;
|
|
1061
|
+
foreignRef: string;
|
|
1062
|
+
provider: string;
|
|
1063
|
+
providerMetadata: {} & {
|
|
1064
|
+
[k: string]: unknown;
|
|
1065
|
+
};
|
|
1066
|
+
} & ({
|
|
1067
|
+
type: "alarm";
|
|
1068
|
+
} | {
|
|
1069
|
+
type: "camera";
|
|
1070
|
+
streams: {
|
|
1071
|
+
id: string;
|
|
1072
|
+
displayName: string;
|
|
1073
|
+
externalPlayerUrl: string | null;
|
|
1074
|
+
}[];
|
|
1075
|
+
lensType: "flat" | "fisheye";
|
|
1076
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1077
|
+
ptzCapable: boolean;
|
|
1078
|
+
ptzPanSpeed: number;
|
|
1079
|
+
ptzTiltSpeed: number;
|
|
1080
|
+
ptzZoomSpeed: number;
|
|
1081
|
+
panMin: number;
|
|
1082
|
+
panMax: number;
|
|
1083
|
+
tiltMin: number;
|
|
1084
|
+
tiltMax: number;
|
|
1085
|
+
zoomMin: number;
|
|
1086
|
+
zoomMax: number;
|
|
1087
|
+
recordingCapable: boolean;
|
|
1088
|
+
webrtcPlaybackSource: ({
|
|
1089
|
+
kind: string;
|
|
1090
|
+
} & Record<string, unknown>) | null;
|
|
1091
|
+
defaultStreamId: string;
|
|
1092
|
+
} | {
|
|
1093
|
+
type: "door";
|
|
1094
|
+
canReportOpenState: boolean;
|
|
1095
|
+
canReportLockState: boolean;
|
|
1096
|
+
canControlLock: boolean;
|
|
1097
|
+
canRelease: boolean;
|
|
1098
|
+
} | {
|
|
1099
|
+
type: "io-board";
|
|
1100
|
+
inputs: string[];
|
|
1101
|
+
outputs: string[];
|
|
1102
|
+
} | {
|
|
1103
|
+
type: "camera-lift";
|
|
1104
|
+
} | {
|
|
1105
|
+
type: "motion-sensor";
|
|
1106
|
+
} | {
|
|
1107
|
+
type: "panic-button";
|
|
1108
|
+
} | {
|
|
1109
|
+
type: "intercom-terminal";
|
|
1110
|
+
sipUri: string;
|
|
1111
|
+
sipUser: string;
|
|
1112
|
+
sipPassword: string;
|
|
1113
|
+
sipRealm: string;
|
|
1114
|
+
remoteExtension: string;
|
|
1115
|
+
} | {
|
|
1116
|
+
type: "pbx";
|
|
1117
|
+
sipWsUrl: string;
|
|
1118
|
+
} | {
|
|
1119
|
+
type: "server";
|
|
1120
|
+
} | {
|
|
1121
|
+
type: "intercom-operator";
|
|
1122
|
+
} | {
|
|
1123
|
+
type: "device-gateway";
|
|
1124
|
+
} | {
|
|
1125
|
+
type: "presence-tracker";
|
|
1126
|
+
} | {
|
|
1127
|
+
type: "reader";
|
|
1128
|
+
} | {
|
|
1129
|
+
type: "display";
|
|
1130
|
+
} | {
|
|
1131
|
+
type: "nvr-recorder";
|
|
1132
|
+
} | {
|
|
1133
|
+
type: "nvr-exporter";
|
|
1134
|
+
} | {
|
|
1135
|
+
type: "nvr-analytics-server";
|
|
1136
|
+
}));
|
|
1137
|
+
timeFrom: number;
|
|
1138
|
+
timeTo: number;
|
|
1139
|
+
};
|
|
1140
|
+
command: "nvr-exporter.start-export";
|
|
1141
|
+
}, {
|
|
1142
|
+
params: {
|
|
1143
|
+
name: string;
|
|
1144
|
+
requestId: string;
|
|
1145
|
+
device: string | ({
|
|
1146
|
+
name: string;
|
|
1147
|
+
foreignRef: string;
|
|
1148
|
+
provider: string;
|
|
1149
|
+
providerMetadata: {} & {
|
|
1150
|
+
[k: string]: unknown;
|
|
1151
|
+
};
|
|
1152
|
+
} & ({
|
|
1153
|
+
type: "alarm";
|
|
1154
|
+
} | {
|
|
1155
|
+
type: "camera";
|
|
1156
|
+
streams: {
|
|
1157
|
+
id: string;
|
|
1158
|
+
displayName: string;
|
|
1159
|
+
externalPlayerUrl: string | null;
|
|
1160
|
+
}[];
|
|
1161
|
+
lensType: "flat" | "fisheye";
|
|
1162
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1163
|
+
ptzCapable: boolean;
|
|
1164
|
+
ptzPanSpeed: number;
|
|
1165
|
+
ptzTiltSpeed: number;
|
|
1166
|
+
ptzZoomSpeed: number;
|
|
1167
|
+
panMin: number;
|
|
1168
|
+
panMax: number;
|
|
1169
|
+
tiltMin: number;
|
|
1170
|
+
tiltMax: number;
|
|
1171
|
+
zoomMin: number;
|
|
1172
|
+
zoomMax: number;
|
|
1173
|
+
recordingCapable: boolean;
|
|
1174
|
+
webrtcPlaybackSource: ({
|
|
1175
|
+
kind: string;
|
|
1176
|
+
} & Record<string, unknown>) | null;
|
|
1177
|
+
defaultStreamId: string;
|
|
1178
|
+
} | {
|
|
1179
|
+
type: "door";
|
|
1180
|
+
canReportOpenState: boolean;
|
|
1181
|
+
canReportLockState: boolean;
|
|
1182
|
+
canControlLock: boolean;
|
|
1183
|
+
canRelease: boolean;
|
|
1184
|
+
} | {
|
|
1185
|
+
type: "io-board";
|
|
1186
|
+
inputs: string[];
|
|
1187
|
+
outputs: string[];
|
|
1188
|
+
} | {
|
|
1189
|
+
type: "camera-lift";
|
|
1190
|
+
} | {
|
|
1191
|
+
type: "motion-sensor";
|
|
1192
|
+
} | {
|
|
1193
|
+
type: "panic-button";
|
|
1194
|
+
} | {
|
|
1195
|
+
type: "intercom-terminal";
|
|
1196
|
+
sipUri: string;
|
|
1197
|
+
sipUser: string;
|
|
1198
|
+
sipPassword: string;
|
|
1199
|
+
sipRealm: string;
|
|
1200
|
+
remoteExtension: string;
|
|
1201
|
+
} | {
|
|
1202
|
+
type: "pbx";
|
|
1203
|
+
sipWsUrl: string;
|
|
1204
|
+
} | {
|
|
1205
|
+
type: "server";
|
|
1206
|
+
} | {
|
|
1207
|
+
type: "intercom-operator";
|
|
1208
|
+
} | {
|
|
1209
|
+
type: "device-gateway";
|
|
1210
|
+
} | {
|
|
1211
|
+
type: "presence-tracker";
|
|
1212
|
+
} | {
|
|
1213
|
+
type: "reader";
|
|
1214
|
+
} | {
|
|
1215
|
+
type: "display";
|
|
1216
|
+
} | {
|
|
1217
|
+
type: "nvr-recorder";
|
|
1218
|
+
} | {
|
|
1219
|
+
type: "nvr-exporter";
|
|
1220
|
+
} | {
|
|
1221
|
+
type: "nvr-analytics-server";
|
|
1222
|
+
}));
|
|
1223
|
+
timeFrom: number;
|
|
1224
|
+
timeTo: number;
|
|
1225
|
+
};
|
|
1226
|
+
command: "nvr-exporter.start-export";
|
|
1227
|
+
}>;
|
|
1228
|
+
readonly 'nvr-exporter.delete-export': z.ZodObject<{
|
|
1229
|
+
command: z.ZodLiteral<"nvr-exporter.delete-export">;
|
|
1230
|
+
params: z.ZodObject<{
|
|
1231
|
+
exportId: z.ZodString;
|
|
1232
|
+
}, "strip", z.ZodTypeAny, {
|
|
1233
|
+
exportId: string;
|
|
1234
|
+
}, {
|
|
1235
|
+
exportId: string;
|
|
1236
|
+
}>;
|
|
1237
|
+
}, "strip", z.ZodTypeAny, {
|
|
1238
|
+
params: {
|
|
1239
|
+
exportId: string;
|
|
1240
|
+
};
|
|
1241
|
+
command: "nvr-exporter.delete-export";
|
|
1242
|
+
}, {
|
|
1243
|
+
params: {
|
|
1244
|
+
exportId: string;
|
|
1245
|
+
};
|
|
1246
|
+
command: "nvr-exporter.delete-export";
|
|
1247
|
+
}>;
|
|
1248
|
+
};
|
|
718
1249
|
export declare const sExportStarted: z.ZodObject<{
|
|
719
1250
|
kind: z.ZodLiteral<"nvr-export-started">;
|
|
720
1251
|
exportId: z.ZodString;
|