@awarevue/api-types 2.0.54 → 2.0.56

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.
@@ -9,7 +9,8 @@ import { PbxCommand } from './pbx';
9
9
  import { PresenceTrackerCommand } from './presence-tracker';
10
10
  import { ServerCommand } from './server';
11
11
  import { PermissionId } from '../../permissions';
12
- export type AnyDeviceCommand = ServerCommand | CameraCommand | DoorCommand | IoBoardCommand | CameraLiftCommand | AlarmCommand | PbxCommand | PresenceTrackerCommand | DisplayCommand | NvrExporterCommand;
12
+ import { NvrRecorderCommand } from './nvr-recorder';
13
+ export type AnyDeviceCommand = ServerCommand | CameraCommand | DoorCommand | IoBoardCommand | CameraLiftCommand | AlarmCommand | PbxCommand | PresenceTrackerCommand | DisplayCommand | NvrRecorderCommand | NvrExporterCommand;
13
14
  export type CommandRun<TCommand extends AnyDeviceCommand = AnyDeviceCommand> = {
14
15
  timestamp: number;
15
16
  requestId: string;
@@ -1549,6 +1550,2920 @@ export declare const commandSchemas: {
1549
1550
  };
1550
1551
  command: "nvr-exporter.delete-export";
1551
1552
  }>;
1553
+ readonly 'nvr-recorder.start-recording': import("zod").ZodObject<{
1554
+ command: import("zod").ZodLiteral<"nvr-recorder.start-recording">;
1555
+ params: import("zod").ZodObject<{
1556
+ camera: import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
1557
+ name: import("zod").ZodString;
1558
+ foreignRef: import("zod").ZodString;
1559
+ provider: import("zod").ZodString;
1560
+ providerMetadata: import("zod").ZodObject<{}, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{}, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{}, import("zod").ZodUnknown, "strip">>;
1561
+ } & {
1562
+ presets: import("zod").ZodArray<import("zod").ZodObject<{
1563
+ id: import("zod").ZodString;
1564
+ name: import("zod").ZodString;
1565
+ params: import("zod").ZodUnknown;
1566
+ isDefault: import("zod").ZodBoolean;
1567
+ assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
1568
+ createdOn: import("zod").ZodString;
1569
+ lastModifiedOn: import("zod").ZodString;
1570
+ }, "strip", import("zod").ZodTypeAny, {
1571
+ id: string;
1572
+ name: string;
1573
+ createdOn: string;
1574
+ lastModifiedOn: string;
1575
+ isDefault: boolean;
1576
+ assignedRef: string | null;
1577
+ params?: unknown;
1578
+ }, {
1579
+ id: string;
1580
+ name: string;
1581
+ createdOn: string;
1582
+ lastModifiedOn: string;
1583
+ isDefault: boolean;
1584
+ assignedRef: string | null;
1585
+ params?: unknown;
1586
+ }>, "many">;
1587
+ }, "strip", import("zod").ZodTypeAny, {
1588
+ name: string;
1589
+ foreignRef: string;
1590
+ presets: {
1591
+ id: string;
1592
+ name: string;
1593
+ createdOn: string;
1594
+ lastModifiedOn: string;
1595
+ isDefault: boolean;
1596
+ assignedRef: string | null;
1597
+ params?: unknown;
1598
+ }[];
1599
+ provider: string;
1600
+ providerMetadata: {} & {
1601
+ [k: string]: unknown;
1602
+ };
1603
+ }, {
1604
+ name: string;
1605
+ foreignRef: string;
1606
+ presets: {
1607
+ id: string;
1608
+ name: string;
1609
+ createdOn: string;
1610
+ lastModifiedOn: string;
1611
+ isDefault: boolean;
1612
+ assignedRef: string | null;
1613
+ params?: unknown;
1614
+ }[];
1615
+ provider: string;
1616
+ providerMetadata: {} & {
1617
+ [k: string]: unknown;
1618
+ };
1619
+ }>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
1620
+ type: import("zod").ZodLiteral<"alarm">;
1621
+ }, "strip", import("zod").ZodTypeAny, {
1622
+ type: "alarm";
1623
+ }, {
1624
+ type: "alarm";
1625
+ }>, import("zod").ZodObject<{
1626
+ ptzCapable: import("zod").ZodBoolean;
1627
+ ptzPanSpeed: import("zod").ZodNumber;
1628
+ ptzTiltSpeed: import("zod").ZodNumber;
1629
+ ptzZoomSpeed: import("zod").ZodNumber;
1630
+ panMin: import("zod").ZodNumber;
1631
+ panMax: import("zod").ZodNumber;
1632
+ tiltMin: import("zod").ZodNumber;
1633
+ tiltMax: import("zod").ZodNumber;
1634
+ zoomMin: import("zod").ZodNumber;
1635
+ zoomMax: import("zod").ZodNumber;
1636
+ streams: import("zod").ZodArray<import("zod").ZodObject<{
1637
+ id: import("zod").ZodString;
1638
+ displayName: import("zod").ZodString;
1639
+ externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
1640
+ rtspUrl: import("zod").ZodNullable<import("zod").ZodString>;
1641
+ recordingCapable: import("zod").ZodBoolean;
1642
+ width: import("zod").ZodNullable<import("zod").ZodNumber>;
1643
+ height: import("zod").ZodNullable<import("zod").ZodNumber>;
1644
+ lensType: import("zod").ZodEnum<["flat", "fisheye"]>;
1645
+ mountPoint: import("zod").ZodEnum<["wall", "ceiling", "floor"]>;
1646
+ webrtcPlaybackSource: import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
1647
+ kind: import("zod").ZodString;
1648
+ }, "strip", import("zod").ZodTypeAny, {
1649
+ kind: string;
1650
+ }, {
1651
+ kind: string;
1652
+ }>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
1653
+ }, "strip", import("zod").ZodTypeAny, {
1654
+ id: string;
1655
+ displayName: string;
1656
+ externalPlayerUrl: string | null;
1657
+ rtspUrl: string | null;
1658
+ recordingCapable: boolean;
1659
+ width: number | null;
1660
+ height: number | null;
1661
+ lensType: "flat" | "fisheye";
1662
+ mountPoint: "wall" | "ceiling" | "floor";
1663
+ webrtcPlaybackSource: ({
1664
+ kind: string;
1665
+ } & Record<string, unknown>) | null;
1666
+ }, {
1667
+ id: string;
1668
+ displayName: string;
1669
+ externalPlayerUrl: string | null;
1670
+ rtspUrl: string | null;
1671
+ recordingCapable: boolean;
1672
+ width: number | null;
1673
+ height: number | null;
1674
+ lensType: "flat" | "fisheye";
1675
+ mountPoint: "wall" | "ceiling" | "floor";
1676
+ webrtcPlaybackSource: ({
1677
+ kind: string;
1678
+ } & Record<string, unknown>) | null;
1679
+ }>, "many">;
1680
+ defaultStreamId: import("zod").ZodString;
1681
+ streamNaming: import("zod").ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
1682
+ } & {
1683
+ type: import("zod").ZodLiteral<"camera">;
1684
+ }, "strip", import("zod").ZodTypeAny, {
1685
+ type: "camera";
1686
+ ptzCapable: boolean;
1687
+ ptzPanSpeed: number;
1688
+ ptzTiltSpeed: number;
1689
+ ptzZoomSpeed: number;
1690
+ panMin: number;
1691
+ panMax: number;
1692
+ tiltMin: number;
1693
+ tiltMax: number;
1694
+ zoomMin: number;
1695
+ zoomMax: number;
1696
+ streams: {
1697
+ id: string;
1698
+ displayName: string;
1699
+ externalPlayerUrl: string | null;
1700
+ rtspUrl: string | null;
1701
+ recordingCapable: boolean;
1702
+ width: number | null;
1703
+ height: number | null;
1704
+ lensType: "flat" | "fisheye";
1705
+ mountPoint: "wall" | "ceiling" | "floor";
1706
+ webrtcPlaybackSource: ({
1707
+ kind: string;
1708
+ } & Record<string, unknown>) | null;
1709
+ }[];
1710
+ defaultStreamId: string;
1711
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1712
+ }, {
1713
+ type: "camera";
1714
+ ptzCapable: boolean;
1715
+ ptzPanSpeed: number;
1716
+ ptzTiltSpeed: number;
1717
+ ptzZoomSpeed: number;
1718
+ panMin: number;
1719
+ panMax: number;
1720
+ tiltMin: number;
1721
+ tiltMax: number;
1722
+ zoomMin: number;
1723
+ zoomMax: number;
1724
+ streams: {
1725
+ id: string;
1726
+ displayName: string;
1727
+ externalPlayerUrl: string | null;
1728
+ rtspUrl: string | null;
1729
+ recordingCapable: boolean;
1730
+ width: number | null;
1731
+ height: number | null;
1732
+ lensType: "flat" | "fisheye";
1733
+ mountPoint: "wall" | "ceiling" | "floor";
1734
+ webrtcPlaybackSource: ({
1735
+ kind: string;
1736
+ } & Record<string, unknown>) | null;
1737
+ }[];
1738
+ defaultStreamId: string;
1739
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1740
+ }>, import("zod").ZodObject<{
1741
+ canReportOpenState: import("zod").ZodBoolean;
1742
+ canReportLockState: import("zod").ZodBoolean;
1743
+ canControlLock: import("zod").ZodBoolean;
1744
+ canRelease: import("zod").ZodBoolean;
1745
+ style: import("zod").ZodOptional<import("zod").ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
1746
+ } & {
1747
+ type: import("zod").ZodLiteral<"door">;
1748
+ }, "strip", import("zod").ZodTypeAny, {
1749
+ type: "door";
1750
+ canReportOpenState: boolean;
1751
+ canReportLockState: boolean;
1752
+ canControlLock: boolean;
1753
+ canRelease: boolean;
1754
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1755
+ }, {
1756
+ type: "door";
1757
+ canReportOpenState: boolean;
1758
+ canReportLockState: boolean;
1759
+ canControlLock: boolean;
1760
+ canRelease: boolean;
1761
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1762
+ }>, import("zod").ZodObject<{
1763
+ inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
1764
+ outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
1765
+ } & {
1766
+ type: import("zod").ZodLiteral<"io-board">;
1767
+ }, "strip", import("zod").ZodTypeAny, {
1768
+ type: "io-board";
1769
+ inputs: string[];
1770
+ outputs: string[];
1771
+ }, {
1772
+ type: "io-board";
1773
+ inputs: string[];
1774
+ outputs: string[];
1775
+ }>, import("zod").ZodObject<{
1776
+ type: import("zod").ZodLiteral<"camera-lift">;
1777
+ }, "strip", import("zod").ZodTypeAny, {
1778
+ type: "camera-lift";
1779
+ }, {
1780
+ type: "camera-lift";
1781
+ }>, import("zod").ZodObject<{
1782
+ type: import("zod").ZodLiteral<"motion-sensor">;
1783
+ }, "strip", import("zod").ZodTypeAny, {
1784
+ type: "motion-sensor";
1785
+ }, {
1786
+ type: "motion-sensor";
1787
+ }>, import("zod").ZodObject<{
1788
+ type: import("zod").ZodLiteral<"panic-button">;
1789
+ }, "strip", import("zod").ZodTypeAny, {
1790
+ type: "panic-button";
1791
+ }, {
1792
+ type: "panic-button";
1793
+ }>, import("zod").ZodObject<{
1794
+ sipUri: import("zod").ZodString;
1795
+ sipUser: import("zod").ZodString;
1796
+ sipPassword: import("zod").ZodString;
1797
+ sipRealm: import("zod").ZodString;
1798
+ remoteExtension: import("zod").ZodString;
1799
+ } & {
1800
+ type: import("zod").ZodLiteral<"intercom-terminal">;
1801
+ }, "strip", import("zod").ZodTypeAny, {
1802
+ type: "intercom-terminal";
1803
+ sipUri: string;
1804
+ sipUser: string;
1805
+ sipPassword: string;
1806
+ sipRealm: string;
1807
+ remoteExtension: string;
1808
+ }, {
1809
+ type: "intercom-terminal";
1810
+ sipUri: string;
1811
+ sipUser: string;
1812
+ sipPassword: string;
1813
+ sipRealm: string;
1814
+ remoteExtension: string;
1815
+ }>, import("zod").ZodObject<{
1816
+ sipWsUrl: import("zod").ZodString;
1817
+ } & {
1818
+ type: import("zod").ZodLiteral<"pbx">;
1819
+ }, "strip", import("zod").ZodTypeAny, {
1820
+ type: "pbx";
1821
+ sipWsUrl: string;
1822
+ }, {
1823
+ type: "pbx";
1824
+ sipWsUrl: string;
1825
+ }>, import("zod").ZodObject<{
1826
+ type: import("zod").ZodLiteral<"server">;
1827
+ }, "strip", import("zod").ZodTypeAny, {
1828
+ type: "server";
1829
+ }, {
1830
+ type: "server";
1831
+ }>, import("zod").ZodObject<{
1832
+ type: import("zod").ZodLiteral<"intercom-operator">;
1833
+ }, "strip", import("zod").ZodTypeAny, {
1834
+ type: "intercom-operator";
1835
+ }, {
1836
+ type: "intercom-operator";
1837
+ }>, import("zod").ZodObject<{
1838
+ type: import("zod").ZodLiteral<"device-gateway">;
1839
+ }, "strip", import("zod").ZodTypeAny, {
1840
+ type: "device-gateway";
1841
+ }, {
1842
+ type: "device-gateway";
1843
+ }>, import("zod").ZodObject<{
1844
+ type: import("zod").ZodLiteral<"presence-tracker">;
1845
+ }, "strip", import("zod").ZodTypeAny, {
1846
+ type: "presence-tracker";
1847
+ }, {
1848
+ type: "presence-tracker";
1849
+ }>, import("zod").ZodObject<{
1850
+ type: import("zod").ZodLiteral<"reader">;
1851
+ }, "strip", import("zod").ZodTypeAny, {
1852
+ type: "reader";
1853
+ }, {
1854
+ type: "reader";
1855
+ }>, import("zod").ZodObject<{
1856
+ type: import("zod").ZodLiteral<"display">;
1857
+ }, "strip", import("zod").ZodTypeAny, {
1858
+ type: "display";
1859
+ }, {
1860
+ type: "display";
1861
+ }>, import("zod").ZodObject<{
1862
+ type: import("zod").ZodLiteral<"nvr-recorder">;
1863
+ }, "strip", import("zod").ZodTypeAny, {
1864
+ type: "nvr-recorder";
1865
+ }, {
1866
+ type: "nvr-recorder";
1867
+ }>, import("zod").ZodObject<{
1868
+ type: import("zod").ZodLiteral<"nvr-exporter">;
1869
+ }, "strip", import("zod").ZodTypeAny, {
1870
+ type: "nvr-exporter";
1871
+ }, {
1872
+ type: "nvr-exporter";
1873
+ }>, import("zod").ZodObject<{
1874
+ type: import("zod").ZodLiteral<"nvr-analytics-server">;
1875
+ }, "strip", import("zod").ZodTypeAny, {
1876
+ type: "nvr-analytics-server";
1877
+ }, {
1878
+ type: "nvr-analytics-server";
1879
+ }>, import("zod").ZodObject<{
1880
+ type: import("zod").ZodLiteral<"system">;
1881
+ }, "strip", import("zod").ZodTypeAny, {
1882
+ type: "system";
1883
+ }, {
1884
+ type: "system";
1885
+ }>]>>]>, import("zod").ZodTuple<[import("zod").ZodString, import("zod").ZodString], null>]>;
1886
+ streamId: import("zod").ZodString;
1887
+ }, "strip", import("zod").ZodTypeAny, {
1888
+ camera: string | ({
1889
+ name: string;
1890
+ foreignRef: string;
1891
+ presets: {
1892
+ id: string;
1893
+ name: string;
1894
+ createdOn: string;
1895
+ lastModifiedOn: string;
1896
+ isDefault: boolean;
1897
+ assignedRef: string | null;
1898
+ params?: unknown;
1899
+ }[];
1900
+ provider: string;
1901
+ providerMetadata: {} & {
1902
+ [k: string]: unknown;
1903
+ };
1904
+ } & ({
1905
+ type: "alarm";
1906
+ } | {
1907
+ type: "camera";
1908
+ ptzCapable: boolean;
1909
+ ptzPanSpeed: number;
1910
+ ptzTiltSpeed: number;
1911
+ ptzZoomSpeed: number;
1912
+ panMin: number;
1913
+ panMax: number;
1914
+ tiltMin: number;
1915
+ tiltMax: number;
1916
+ zoomMin: number;
1917
+ zoomMax: number;
1918
+ streams: {
1919
+ id: string;
1920
+ displayName: string;
1921
+ externalPlayerUrl: string | null;
1922
+ rtspUrl: string | null;
1923
+ recordingCapable: boolean;
1924
+ width: number | null;
1925
+ height: number | null;
1926
+ lensType: "flat" | "fisheye";
1927
+ mountPoint: "wall" | "ceiling" | "floor";
1928
+ webrtcPlaybackSource: ({
1929
+ kind: string;
1930
+ } & Record<string, unknown>) | null;
1931
+ }[];
1932
+ defaultStreamId: string;
1933
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1934
+ } | {
1935
+ type: "door";
1936
+ canReportOpenState: boolean;
1937
+ canReportLockState: boolean;
1938
+ canControlLock: boolean;
1939
+ canRelease: boolean;
1940
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1941
+ } | {
1942
+ type: "io-board";
1943
+ inputs: string[];
1944
+ outputs: string[];
1945
+ } | {
1946
+ type: "camera-lift";
1947
+ } | {
1948
+ type: "motion-sensor";
1949
+ } | {
1950
+ type: "panic-button";
1951
+ } | {
1952
+ type: "intercom-terminal";
1953
+ sipUri: string;
1954
+ sipUser: string;
1955
+ sipPassword: string;
1956
+ sipRealm: string;
1957
+ remoteExtension: string;
1958
+ } | {
1959
+ type: "pbx";
1960
+ sipWsUrl: string;
1961
+ } | {
1962
+ type: "server";
1963
+ } | {
1964
+ type: "intercom-operator";
1965
+ } | {
1966
+ type: "device-gateway";
1967
+ } | {
1968
+ type: "presence-tracker";
1969
+ } | {
1970
+ type: "reader";
1971
+ } | {
1972
+ type: "display";
1973
+ } | {
1974
+ type: "nvr-recorder";
1975
+ } | {
1976
+ type: "nvr-exporter";
1977
+ } | {
1978
+ type: "nvr-analytics-server";
1979
+ } | {
1980
+ type: "system";
1981
+ })) | [string, string];
1982
+ streamId: string;
1983
+ }, {
1984
+ camera: string | ({
1985
+ name: string;
1986
+ foreignRef: string;
1987
+ presets: {
1988
+ id: string;
1989
+ name: string;
1990
+ createdOn: string;
1991
+ lastModifiedOn: string;
1992
+ isDefault: boolean;
1993
+ assignedRef: string | null;
1994
+ params?: unknown;
1995
+ }[];
1996
+ provider: string;
1997
+ providerMetadata: {} & {
1998
+ [k: string]: unknown;
1999
+ };
2000
+ } & ({
2001
+ type: "alarm";
2002
+ } | {
2003
+ type: "camera";
2004
+ ptzCapable: boolean;
2005
+ ptzPanSpeed: number;
2006
+ ptzTiltSpeed: number;
2007
+ ptzZoomSpeed: number;
2008
+ panMin: number;
2009
+ panMax: number;
2010
+ tiltMin: number;
2011
+ tiltMax: number;
2012
+ zoomMin: number;
2013
+ zoomMax: number;
2014
+ streams: {
2015
+ id: string;
2016
+ displayName: string;
2017
+ externalPlayerUrl: string | null;
2018
+ rtspUrl: string | null;
2019
+ recordingCapable: boolean;
2020
+ width: number | null;
2021
+ height: number | null;
2022
+ lensType: "flat" | "fisheye";
2023
+ mountPoint: "wall" | "ceiling" | "floor";
2024
+ webrtcPlaybackSource: ({
2025
+ kind: string;
2026
+ } & Record<string, unknown>) | null;
2027
+ }[];
2028
+ defaultStreamId: string;
2029
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2030
+ } | {
2031
+ type: "door";
2032
+ canReportOpenState: boolean;
2033
+ canReportLockState: boolean;
2034
+ canControlLock: boolean;
2035
+ canRelease: boolean;
2036
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2037
+ } | {
2038
+ type: "io-board";
2039
+ inputs: string[];
2040
+ outputs: string[];
2041
+ } | {
2042
+ type: "camera-lift";
2043
+ } | {
2044
+ type: "motion-sensor";
2045
+ } | {
2046
+ type: "panic-button";
2047
+ } | {
2048
+ type: "intercom-terminal";
2049
+ sipUri: string;
2050
+ sipUser: string;
2051
+ sipPassword: string;
2052
+ sipRealm: string;
2053
+ remoteExtension: string;
2054
+ } | {
2055
+ type: "pbx";
2056
+ sipWsUrl: string;
2057
+ } | {
2058
+ type: "server";
2059
+ } | {
2060
+ type: "intercom-operator";
2061
+ } | {
2062
+ type: "device-gateway";
2063
+ } | {
2064
+ type: "presence-tracker";
2065
+ } | {
2066
+ type: "reader";
2067
+ } | {
2068
+ type: "display";
2069
+ } | {
2070
+ type: "nvr-recorder";
2071
+ } | {
2072
+ type: "nvr-exporter";
2073
+ } | {
2074
+ type: "nvr-analytics-server";
2075
+ } | {
2076
+ type: "system";
2077
+ })) | [string, string];
2078
+ streamId: string;
2079
+ }>;
2080
+ }, "strip", import("zod").ZodTypeAny, {
2081
+ params: {
2082
+ camera: string | ({
2083
+ name: string;
2084
+ foreignRef: string;
2085
+ presets: {
2086
+ id: string;
2087
+ name: string;
2088
+ createdOn: string;
2089
+ lastModifiedOn: string;
2090
+ isDefault: boolean;
2091
+ assignedRef: string | null;
2092
+ params?: unknown;
2093
+ }[];
2094
+ provider: string;
2095
+ providerMetadata: {} & {
2096
+ [k: string]: unknown;
2097
+ };
2098
+ } & ({
2099
+ type: "alarm";
2100
+ } | {
2101
+ type: "camera";
2102
+ ptzCapable: boolean;
2103
+ ptzPanSpeed: number;
2104
+ ptzTiltSpeed: number;
2105
+ ptzZoomSpeed: number;
2106
+ panMin: number;
2107
+ panMax: number;
2108
+ tiltMin: number;
2109
+ tiltMax: number;
2110
+ zoomMin: number;
2111
+ zoomMax: number;
2112
+ streams: {
2113
+ id: string;
2114
+ displayName: string;
2115
+ externalPlayerUrl: string | null;
2116
+ rtspUrl: string | null;
2117
+ recordingCapable: boolean;
2118
+ width: number | null;
2119
+ height: number | null;
2120
+ lensType: "flat" | "fisheye";
2121
+ mountPoint: "wall" | "ceiling" | "floor";
2122
+ webrtcPlaybackSource: ({
2123
+ kind: string;
2124
+ } & Record<string, unknown>) | null;
2125
+ }[];
2126
+ defaultStreamId: string;
2127
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2128
+ } | {
2129
+ type: "door";
2130
+ canReportOpenState: boolean;
2131
+ canReportLockState: boolean;
2132
+ canControlLock: boolean;
2133
+ canRelease: boolean;
2134
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2135
+ } | {
2136
+ type: "io-board";
2137
+ inputs: string[];
2138
+ outputs: string[];
2139
+ } | {
2140
+ type: "camera-lift";
2141
+ } | {
2142
+ type: "motion-sensor";
2143
+ } | {
2144
+ type: "panic-button";
2145
+ } | {
2146
+ type: "intercom-terminal";
2147
+ sipUri: string;
2148
+ sipUser: string;
2149
+ sipPassword: string;
2150
+ sipRealm: string;
2151
+ remoteExtension: string;
2152
+ } | {
2153
+ type: "pbx";
2154
+ sipWsUrl: string;
2155
+ } | {
2156
+ type: "server";
2157
+ } | {
2158
+ type: "intercom-operator";
2159
+ } | {
2160
+ type: "device-gateway";
2161
+ } | {
2162
+ type: "presence-tracker";
2163
+ } | {
2164
+ type: "reader";
2165
+ } | {
2166
+ type: "display";
2167
+ } | {
2168
+ type: "nvr-recorder";
2169
+ } | {
2170
+ type: "nvr-exporter";
2171
+ } | {
2172
+ type: "nvr-analytics-server";
2173
+ } | {
2174
+ type: "system";
2175
+ })) | [string, string];
2176
+ streamId: string;
2177
+ };
2178
+ command: "nvr-recorder.start-recording";
2179
+ }, {
2180
+ params: {
2181
+ camera: string | ({
2182
+ name: string;
2183
+ foreignRef: string;
2184
+ presets: {
2185
+ id: string;
2186
+ name: string;
2187
+ createdOn: string;
2188
+ lastModifiedOn: string;
2189
+ isDefault: boolean;
2190
+ assignedRef: string | null;
2191
+ params?: unknown;
2192
+ }[];
2193
+ provider: string;
2194
+ providerMetadata: {} & {
2195
+ [k: string]: unknown;
2196
+ };
2197
+ } & ({
2198
+ type: "alarm";
2199
+ } | {
2200
+ type: "camera";
2201
+ ptzCapable: boolean;
2202
+ ptzPanSpeed: number;
2203
+ ptzTiltSpeed: number;
2204
+ ptzZoomSpeed: number;
2205
+ panMin: number;
2206
+ panMax: number;
2207
+ tiltMin: number;
2208
+ tiltMax: number;
2209
+ zoomMin: number;
2210
+ zoomMax: number;
2211
+ streams: {
2212
+ id: string;
2213
+ displayName: string;
2214
+ externalPlayerUrl: string | null;
2215
+ rtspUrl: string | null;
2216
+ recordingCapable: boolean;
2217
+ width: number | null;
2218
+ height: number | null;
2219
+ lensType: "flat" | "fisheye";
2220
+ mountPoint: "wall" | "ceiling" | "floor";
2221
+ webrtcPlaybackSource: ({
2222
+ kind: string;
2223
+ } & Record<string, unknown>) | null;
2224
+ }[];
2225
+ defaultStreamId: string;
2226
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2227
+ } | {
2228
+ type: "door";
2229
+ canReportOpenState: boolean;
2230
+ canReportLockState: boolean;
2231
+ canControlLock: boolean;
2232
+ canRelease: boolean;
2233
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2234
+ } | {
2235
+ type: "io-board";
2236
+ inputs: string[];
2237
+ outputs: string[];
2238
+ } | {
2239
+ type: "camera-lift";
2240
+ } | {
2241
+ type: "motion-sensor";
2242
+ } | {
2243
+ type: "panic-button";
2244
+ } | {
2245
+ type: "intercom-terminal";
2246
+ sipUri: string;
2247
+ sipUser: string;
2248
+ sipPassword: string;
2249
+ sipRealm: string;
2250
+ remoteExtension: string;
2251
+ } | {
2252
+ type: "pbx";
2253
+ sipWsUrl: string;
2254
+ } | {
2255
+ type: "server";
2256
+ } | {
2257
+ type: "intercom-operator";
2258
+ } | {
2259
+ type: "device-gateway";
2260
+ } | {
2261
+ type: "presence-tracker";
2262
+ } | {
2263
+ type: "reader";
2264
+ } | {
2265
+ type: "display";
2266
+ } | {
2267
+ type: "nvr-recorder";
2268
+ } | {
2269
+ type: "nvr-exporter";
2270
+ } | {
2271
+ type: "nvr-analytics-server";
2272
+ } | {
2273
+ type: "system";
2274
+ })) | [string, string];
2275
+ streamId: string;
2276
+ };
2277
+ command: "nvr-recorder.start-recording";
2278
+ }>;
2279
+ readonly 'nvr-recorder.stop-recording': import("zod").ZodObject<{
2280
+ command: import("zod").ZodLiteral<"nvr-recorder.stop-recording">;
2281
+ params: import("zod").ZodObject<{
2282
+ camera: import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
2283
+ name: import("zod").ZodString;
2284
+ foreignRef: import("zod").ZodString;
2285
+ provider: import("zod").ZodString;
2286
+ providerMetadata: import("zod").ZodObject<{}, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{}, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{}, import("zod").ZodUnknown, "strip">>;
2287
+ } & {
2288
+ presets: import("zod").ZodArray<import("zod").ZodObject<{
2289
+ id: import("zod").ZodString;
2290
+ name: import("zod").ZodString;
2291
+ params: import("zod").ZodUnknown;
2292
+ isDefault: import("zod").ZodBoolean;
2293
+ assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
2294
+ createdOn: import("zod").ZodString;
2295
+ lastModifiedOn: import("zod").ZodString;
2296
+ }, "strip", import("zod").ZodTypeAny, {
2297
+ id: string;
2298
+ name: string;
2299
+ createdOn: string;
2300
+ lastModifiedOn: string;
2301
+ isDefault: boolean;
2302
+ assignedRef: string | null;
2303
+ params?: unknown;
2304
+ }, {
2305
+ id: string;
2306
+ name: string;
2307
+ createdOn: string;
2308
+ lastModifiedOn: string;
2309
+ isDefault: boolean;
2310
+ assignedRef: string | null;
2311
+ params?: unknown;
2312
+ }>, "many">;
2313
+ }, "strip", import("zod").ZodTypeAny, {
2314
+ name: string;
2315
+ foreignRef: string;
2316
+ presets: {
2317
+ id: string;
2318
+ name: string;
2319
+ createdOn: string;
2320
+ lastModifiedOn: string;
2321
+ isDefault: boolean;
2322
+ assignedRef: string | null;
2323
+ params?: unknown;
2324
+ }[];
2325
+ provider: string;
2326
+ providerMetadata: {} & {
2327
+ [k: string]: unknown;
2328
+ };
2329
+ }, {
2330
+ name: string;
2331
+ foreignRef: string;
2332
+ presets: {
2333
+ id: string;
2334
+ name: string;
2335
+ createdOn: string;
2336
+ lastModifiedOn: string;
2337
+ isDefault: boolean;
2338
+ assignedRef: string | null;
2339
+ params?: unknown;
2340
+ }[];
2341
+ provider: string;
2342
+ providerMetadata: {} & {
2343
+ [k: string]: unknown;
2344
+ };
2345
+ }>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
2346
+ type: import("zod").ZodLiteral<"alarm">;
2347
+ }, "strip", import("zod").ZodTypeAny, {
2348
+ type: "alarm";
2349
+ }, {
2350
+ type: "alarm";
2351
+ }>, import("zod").ZodObject<{
2352
+ ptzCapable: import("zod").ZodBoolean;
2353
+ ptzPanSpeed: import("zod").ZodNumber;
2354
+ ptzTiltSpeed: import("zod").ZodNumber;
2355
+ ptzZoomSpeed: import("zod").ZodNumber;
2356
+ panMin: import("zod").ZodNumber;
2357
+ panMax: import("zod").ZodNumber;
2358
+ tiltMin: import("zod").ZodNumber;
2359
+ tiltMax: import("zod").ZodNumber;
2360
+ zoomMin: import("zod").ZodNumber;
2361
+ zoomMax: import("zod").ZodNumber;
2362
+ streams: import("zod").ZodArray<import("zod").ZodObject<{
2363
+ id: import("zod").ZodString;
2364
+ displayName: import("zod").ZodString;
2365
+ externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
2366
+ rtspUrl: import("zod").ZodNullable<import("zod").ZodString>;
2367
+ recordingCapable: import("zod").ZodBoolean;
2368
+ width: import("zod").ZodNullable<import("zod").ZodNumber>;
2369
+ height: import("zod").ZodNullable<import("zod").ZodNumber>;
2370
+ lensType: import("zod").ZodEnum<["flat", "fisheye"]>;
2371
+ mountPoint: import("zod").ZodEnum<["wall", "ceiling", "floor"]>;
2372
+ webrtcPlaybackSource: import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
2373
+ kind: import("zod").ZodString;
2374
+ }, "strip", import("zod").ZodTypeAny, {
2375
+ kind: string;
2376
+ }, {
2377
+ kind: string;
2378
+ }>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
2379
+ }, "strip", import("zod").ZodTypeAny, {
2380
+ id: string;
2381
+ displayName: string;
2382
+ externalPlayerUrl: string | null;
2383
+ rtspUrl: string | null;
2384
+ recordingCapable: boolean;
2385
+ width: number | null;
2386
+ height: number | null;
2387
+ lensType: "flat" | "fisheye";
2388
+ mountPoint: "wall" | "ceiling" | "floor";
2389
+ webrtcPlaybackSource: ({
2390
+ kind: string;
2391
+ } & Record<string, unknown>) | null;
2392
+ }, {
2393
+ id: string;
2394
+ displayName: string;
2395
+ externalPlayerUrl: string | null;
2396
+ rtspUrl: string | null;
2397
+ recordingCapable: boolean;
2398
+ width: number | null;
2399
+ height: number | null;
2400
+ lensType: "flat" | "fisheye";
2401
+ mountPoint: "wall" | "ceiling" | "floor";
2402
+ webrtcPlaybackSource: ({
2403
+ kind: string;
2404
+ } & Record<string, unknown>) | null;
2405
+ }>, "many">;
2406
+ defaultStreamId: import("zod").ZodString;
2407
+ streamNaming: import("zod").ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
2408
+ } & {
2409
+ type: import("zod").ZodLiteral<"camera">;
2410
+ }, "strip", import("zod").ZodTypeAny, {
2411
+ type: "camera";
2412
+ ptzCapable: boolean;
2413
+ ptzPanSpeed: number;
2414
+ ptzTiltSpeed: number;
2415
+ ptzZoomSpeed: number;
2416
+ panMin: number;
2417
+ panMax: number;
2418
+ tiltMin: number;
2419
+ tiltMax: number;
2420
+ zoomMin: number;
2421
+ zoomMax: number;
2422
+ streams: {
2423
+ id: string;
2424
+ displayName: string;
2425
+ externalPlayerUrl: string | null;
2426
+ rtspUrl: string | null;
2427
+ recordingCapable: boolean;
2428
+ width: number | null;
2429
+ height: number | null;
2430
+ lensType: "flat" | "fisheye";
2431
+ mountPoint: "wall" | "ceiling" | "floor";
2432
+ webrtcPlaybackSource: ({
2433
+ kind: string;
2434
+ } & Record<string, unknown>) | null;
2435
+ }[];
2436
+ defaultStreamId: string;
2437
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2438
+ }, {
2439
+ type: "camera";
2440
+ ptzCapable: boolean;
2441
+ ptzPanSpeed: number;
2442
+ ptzTiltSpeed: number;
2443
+ ptzZoomSpeed: number;
2444
+ panMin: number;
2445
+ panMax: number;
2446
+ tiltMin: number;
2447
+ tiltMax: number;
2448
+ zoomMin: number;
2449
+ zoomMax: number;
2450
+ streams: {
2451
+ id: string;
2452
+ displayName: string;
2453
+ externalPlayerUrl: string | null;
2454
+ rtspUrl: string | null;
2455
+ recordingCapable: boolean;
2456
+ width: number | null;
2457
+ height: number | null;
2458
+ lensType: "flat" | "fisheye";
2459
+ mountPoint: "wall" | "ceiling" | "floor";
2460
+ webrtcPlaybackSource: ({
2461
+ kind: string;
2462
+ } & Record<string, unknown>) | null;
2463
+ }[];
2464
+ defaultStreamId: string;
2465
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2466
+ }>, import("zod").ZodObject<{
2467
+ canReportOpenState: import("zod").ZodBoolean;
2468
+ canReportLockState: import("zod").ZodBoolean;
2469
+ canControlLock: import("zod").ZodBoolean;
2470
+ canRelease: import("zod").ZodBoolean;
2471
+ style: import("zod").ZodOptional<import("zod").ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
2472
+ } & {
2473
+ type: import("zod").ZodLiteral<"door">;
2474
+ }, "strip", import("zod").ZodTypeAny, {
2475
+ type: "door";
2476
+ canReportOpenState: boolean;
2477
+ canReportLockState: boolean;
2478
+ canControlLock: boolean;
2479
+ canRelease: boolean;
2480
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2481
+ }, {
2482
+ type: "door";
2483
+ canReportOpenState: boolean;
2484
+ canReportLockState: boolean;
2485
+ canControlLock: boolean;
2486
+ canRelease: boolean;
2487
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2488
+ }>, import("zod").ZodObject<{
2489
+ inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
2490
+ outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
2491
+ } & {
2492
+ type: import("zod").ZodLiteral<"io-board">;
2493
+ }, "strip", import("zod").ZodTypeAny, {
2494
+ type: "io-board";
2495
+ inputs: string[];
2496
+ outputs: string[];
2497
+ }, {
2498
+ type: "io-board";
2499
+ inputs: string[];
2500
+ outputs: string[];
2501
+ }>, import("zod").ZodObject<{
2502
+ type: import("zod").ZodLiteral<"camera-lift">;
2503
+ }, "strip", import("zod").ZodTypeAny, {
2504
+ type: "camera-lift";
2505
+ }, {
2506
+ type: "camera-lift";
2507
+ }>, import("zod").ZodObject<{
2508
+ type: import("zod").ZodLiteral<"motion-sensor">;
2509
+ }, "strip", import("zod").ZodTypeAny, {
2510
+ type: "motion-sensor";
2511
+ }, {
2512
+ type: "motion-sensor";
2513
+ }>, import("zod").ZodObject<{
2514
+ type: import("zod").ZodLiteral<"panic-button">;
2515
+ }, "strip", import("zod").ZodTypeAny, {
2516
+ type: "panic-button";
2517
+ }, {
2518
+ type: "panic-button";
2519
+ }>, import("zod").ZodObject<{
2520
+ sipUri: import("zod").ZodString;
2521
+ sipUser: import("zod").ZodString;
2522
+ sipPassword: import("zod").ZodString;
2523
+ sipRealm: import("zod").ZodString;
2524
+ remoteExtension: import("zod").ZodString;
2525
+ } & {
2526
+ type: import("zod").ZodLiteral<"intercom-terminal">;
2527
+ }, "strip", import("zod").ZodTypeAny, {
2528
+ type: "intercom-terminal";
2529
+ sipUri: string;
2530
+ sipUser: string;
2531
+ sipPassword: string;
2532
+ sipRealm: string;
2533
+ remoteExtension: string;
2534
+ }, {
2535
+ type: "intercom-terminal";
2536
+ sipUri: string;
2537
+ sipUser: string;
2538
+ sipPassword: string;
2539
+ sipRealm: string;
2540
+ remoteExtension: string;
2541
+ }>, import("zod").ZodObject<{
2542
+ sipWsUrl: import("zod").ZodString;
2543
+ } & {
2544
+ type: import("zod").ZodLiteral<"pbx">;
2545
+ }, "strip", import("zod").ZodTypeAny, {
2546
+ type: "pbx";
2547
+ sipWsUrl: string;
2548
+ }, {
2549
+ type: "pbx";
2550
+ sipWsUrl: string;
2551
+ }>, import("zod").ZodObject<{
2552
+ type: import("zod").ZodLiteral<"server">;
2553
+ }, "strip", import("zod").ZodTypeAny, {
2554
+ type: "server";
2555
+ }, {
2556
+ type: "server";
2557
+ }>, import("zod").ZodObject<{
2558
+ type: import("zod").ZodLiteral<"intercom-operator">;
2559
+ }, "strip", import("zod").ZodTypeAny, {
2560
+ type: "intercom-operator";
2561
+ }, {
2562
+ type: "intercom-operator";
2563
+ }>, import("zod").ZodObject<{
2564
+ type: import("zod").ZodLiteral<"device-gateway">;
2565
+ }, "strip", import("zod").ZodTypeAny, {
2566
+ type: "device-gateway";
2567
+ }, {
2568
+ type: "device-gateway";
2569
+ }>, import("zod").ZodObject<{
2570
+ type: import("zod").ZodLiteral<"presence-tracker">;
2571
+ }, "strip", import("zod").ZodTypeAny, {
2572
+ type: "presence-tracker";
2573
+ }, {
2574
+ type: "presence-tracker";
2575
+ }>, import("zod").ZodObject<{
2576
+ type: import("zod").ZodLiteral<"reader">;
2577
+ }, "strip", import("zod").ZodTypeAny, {
2578
+ type: "reader";
2579
+ }, {
2580
+ type: "reader";
2581
+ }>, import("zod").ZodObject<{
2582
+ type: import("zod").ZodLiteral<"display">;
2583
+ }, "strip", import("zod").ZodTypeAny, {
2584
+ type: "display";
2585
+ }, {
2586
+ type: "display";
2587
+ }>, import("zod").ZodObject<{
2588
+ type: import("zod").ZodLiteral<"nvr-recorder">;
2589
+ }, "strip", import("zod").ZodTypeAny, {
2590
+ type: "nvr-recorder";
2591
+ }, {
2592
+ type: "nvr-recorder";
2593
+ }>, import("zod").ZodObject<{
2594
+ type: import("zod").ZodLiteral<"nvr-exporter">;
2595
+ }, "strip", import("zod").ZodTypeAny, {
2596
+ type: "nvr-exporter";
2597
+ }, {
2598
+ type: "nvr-exporter";
2599
+ }>, import("zod").ZodObject<{
2600
+ type: import("zod").ZodLiteral<"nvr-analytics-server">;
2601
+ }, "strip", import("zod").ZodTypeAny, {
2602
+ type: "nvr-analytics-server";
2603
+ }, {
2604
+ type: "nvr-analytics-server";
2605
+ }>, import("zod").ZodObject<{
2606
+ type: import("zod").ZodLiteral<"system">;
2607
+ }, "strip", import("zod").ZodTypeAny, {
2608
+ type: "system";
2609
+ }, {
2610
+ type: "system";
2611
+ }>]>>]>, import("zod").ZodTuple<[import("zod").ZodString, import("zod").ZodString], null>]>;
2612
+ streamId: import("zod").ZodString;
2613
+ }, "strip", import("zod").ZodTypeAny, {
2614
+ camera: string | ({
2615
+ name: string;
2616
+ foreignRef: string;
2617
+ presets: {
2618
+ id: string;
2619
+ name: string;
2620
+ createdOn: string;
2621
+ lastModifiedOn: string;
2622
+ isDefault: boolean;
2623
+ assignedRef: string | null;
2624
+ params?: unknown;
2625
+ }[];
2626
+ provider: string;
2627
+ providerMetadata: {} & {
2628
+ [k: string]: unknown;
2629
+ };
2630
+ } & ({
2631
+ type: "alarm";
2632
+ } | {
2633
+ type: "camera";
2634
+ ptzCapable: boolean;
2635
+ ptzPanSpeed: number;
2636
+ ptzTiltSpeed: number;
2637
+ ptzZoomSpeed: number;
2638
+ panMin: number;
2639
+ panMax: number;
2640
+ tiltMin: number;
2641
+ tiltMax: number;
2642
+ zoomMin: number;
2643
+ zoomMax: number;
2644
+ streams: {
2645
+ id: string;
2646
+ displayName: string;
2647
+ externalPlayerUrl: string | null;
2648
+ rtspUrl: string | null;
2649
+ recordingCapable: boolean;
2650
+ width: number | null;
2651
+ height: number | null;
2652
+ lensType: "flat" | "fisheye";
2653
+ mountPoint: "wall" | "ceiling" | "floor";
2654
+ webrtcPlaybackSource: ({
2655
+ kind: string;
2656
+ } & Record<string, unknown>) | null;
2657
+ }[];
2658
+ defaultStreamId: string;
2659
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2660
+ } | {
2661
+ type: "door";
2662
+ canReportOpenState: boolean;
2663
+ canReportLockState: boolean;
2664
+ canControlLock: boolean;
2665
+ canRelease: boolean;
2666
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2667
+ } | {
2668
+ type: "io-board";
2669
+ inputs: string[];
2670
+ outputs: string[];
2671
+ } | {
2672
+ type: "camera-lift";
2673
+ } | {
2674
+ type: "motion-sensor";
2675
+ } | {
2676
+ type: "panic-button";
2677
+ } | {
2678
+ type: "intercom-terminal";
2679
+ sipUri: string;
2680
+ sipUser: string;
2681
+ sipPassword: string;
2682
+ sipRealm: string;
2683
+ remoteExtension: string;
2684
+ } | {
2685
+ type: "pbx";
2686
+ sipWsUrl: string;
2687
+ } | {
2688
+ type: "server";
2689
+ } | {
2690
+ type: "intercom-operator";
2691
+ } | {
2692
+ type: "device-gateway";
2693
+ } | {
2694
+ type: "presence-tracker";
2695
+ } | {
2696
+ type: "reader";
2697
+ } | {
2698
+ type: "display";
2699
+ } | {
2700
+ type: "nvr-recorder";
2701
+ } | {
2702
+ type: "nvr-exporter";
2703
+ } | {
2704
+ type: "nvr-analytics-server";
2705
+ } | {
2706
+ type: "system";
2707
+ })) | [string, string];
2708
+ streamId: string;
2709
+ }, {
2710
+ camera: string | ({
2711
+ name: string;
2712
+ foreignRef: string;
2713
+ presets: {
2714
+ id: string;
2715
+ name: string;
2716
+ createdOn: string;
2717
+ lastModifiedOn: string;
2718
+ isDefault: boolean;
2719
+ assignedRef: string | null;
2720
+ params?: unknown;
2721
+ }[];
2722
+ provider: string;
2723
+ providerMetadata: {} & {
2724
+ [k: string]: unknown;
2725
+ };
2726
+ } & ({
2727
+ type: "alarm";
2728
+ } | {
2729
+ type: "camera";
2730
+ ptzCapable: boolean;
2731
+ ptzPanSpeed: number;
2732
+ ptzTiltSpeed: number;
2733
+ ptzZoomSpeed: number;
2734
+ panMin: number;
2735
+ panMax: number;
2736
+ tiltMin: number;
2737
+ tiltMax: number;
2738
+ zoomMin: number;
2739
+ zoomMax: number;
2740
+ streams: {
2741
+ id: string;
2742
+ displayName: string;
2743
+ externalPlayerUrl: string | null;
2744
+ rtspUrl: string | null;
2745
+ recordingCapable: boolean;
2746
+ width: number | null;
2747
+ height: number | null;
2748
+ lensType: "flat" | "fisheye";
2749
+ mountPoint: "wall" | "ceiling" | "floor";
2750
+ webrtcPlaybackSource: ({
2751
+ kind: string;
2752
+ } & Record<string, unknown>) | null;
2753
+ }[];
2754
+ defaultStreamId: string;
2755
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2756
+ } | {
2757
+ type: "door";
2758
+ canReportOpenState: boolean;
2759
+ canReportLockState: boolean;
2760
+ canControlLock: boolean;
2761
+ canRelease: boolean;
2762
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2763
+ } | {
2764
+ type: "io-board";
2765
+ inputs: string[];
2766
+ outputs: string[];
2767
+ } | {
2768
+ type: "camera-lift";
2769
+ } | {
2770
+ type: "motion-sensor";
2771
+ } | {
2772
+ type: "panic-button";
2773
+ } | {
2774
+ type: "intercom-terminal";
2775
+ sipUri: string;
2776
+ sipUser: string;
2777
+ sipPassword: string;
2778
+ sipRealm: string;
2779
+ remoteExtension: string;
2780
+ } | {
2781
+ type: "pbx";
2782
+ sipWsUrl: string;
2783
+ } | {
2784
+ type: "server";
2785
+ } | {
2786
+ type: "intercom-operator";
2787
+ } | {
2788
+ type: "device-gateway";
2789
+ } | {
2790
+ type: "presence-tracker";
2791
+ } | {
2792
+ type: "reader";
2793
+ } | {
2794
+ type: "display";
2795
+ } | {
2796
+ type: "nvr-recorder";
2797
+ } | {
2798
+ type: "nvr-exporter";
2799
+ } | {
2800
+ type: "nvr-analytics-server";
2801
+ } | {
2802
+ type: "system";
2803
+ })) | [string, string];
2804
+ streamId: string;
2805
+ }>;
2806
+ }, "strip", import("zod").ZodTypeAny, {
2807
+ params: {
2808
+ camera: string | ({
2809
+ name: string;
2810
+ foreignRef: string;
2811
+ presets: {
2812
+ id: string;
2813
+ name: string;
2814
+ createdOn: string;
2815
+ lastModifiedOn: string;
2816
+ isDefault: boolean;
2817
+ assignedRef: string | null;
2818
+ params?: unknown;
2819
+ }[];
2820
+ provider: string;
2821
+ providerMetadata: {} & {
2822
+ [k: string]: unknown;
2823
+ };
2824
+ } & ({
2825
+ type: "alarm";
2826
+ } | {
2827
+ type: "camera";
2828
+ ptzCapable: boolean;
2829
+ ptzPanSpeed: number;
2830
+ ptzTiltSpeed: number;
2831
+ ptzZoomSpeed: number;
2832
+ panMin: number;
2833
+ panMax: number;
2834
+ tiltMin: number;
2835
+ tiltMax: number;
2836
+ zoomMin: number;
2837
+ zoomMax: number;
2838
+ streams: {
2839
+ id: string;
2840
+ displayName: string;
2841
+ externalPlayerUrl: string | null;
2842
+ rtspUrl: string | null;
2843
+ recordingCapable: boolean;
2844
+ width: number | null;
2845
+ height: number | null;
2846
+ lensType: "flat" | "fisheye";
2847
+ mountPoint: "wall" | "ceiling" | "floor";
2848
+ webrtcPlaybackSource: ({
2849
+ kind: string;
2850
+ } & Record<string, unknown>) | null;
2851
+ }[];
2852
+ defaultStreamId: string;
2853
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2854
+ } | {
2855
+ type: "door";
2856
+ canReportOpenState: boolean;
2857
+ canReportLockState: boolean;
2858
+ canControlLock: boolean;
2859
+ canRelease: boolean;
2860
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2861
+ } | {
2862
+ type: "io-board";
2863
+ inputs: string[];
2864
+ outputs: string[];
2865
+ } | {
2866
+ type: "camera-lift";
2867
+ } | {
2868
+ type: "motion-sensor";
2869
+ } | {
2870
+ type: "panic-button";
2871
+ } | {
2872
+ type: "intercom-terminal";
2873
+ sipUri: string;
2874
+ sipUser: string;
2875
+ sipPassword: string;
2876
+ sipRealm: string;
2877
+ remoteExtension: string;
2878
+ } | {
2879
+ type: "pbx";
2880
+ sipWsUrl: string;
2881
+ } | {
2882
+ type: "server";
2883
+ } | {
2884
+ type: "intercom-operator";
2885
+ } | {
2886
+ type: "device-gateway";
2887
+ } | {
2888
+ type: "presence-tracker";
2889
+ } | {
2890
+ type: "reader";
2891
+ } | {
2892
+ type: "display";
2893
+ } | {
2894
+ type: "nvr-recorder";
2895
+ } | {
2896
+ type: "nvr-exporter";
2897
+ } | {
2898
+ type: "nvr-analytics-server";
2899
+ } | {
2900
+ type: "system";
2901
+ })) | [string, string];
2902
+ streamId: string;
2903
+ };
2904
+ command: "nvr-recorder.stop-recording";
2905
+ }, {
2906
+ params: {
2907
+ camera: string | ({
2908
+ name: string;
2909
+ foreignRef: string;
2910
+ presets: {
2911
+ id: string;
2912
+ name: string;
2913
+ createdOn: string;
2914
+ lastModifiedOn: string;
2915
+ isDefault: boolean;
2916
+ assignedRef: string | null;
2917
+ params?: unknown;
2918
+ }[];
2919
+ provider: string;
2920
+ providerMetadata: {} & {
2921
+ [k: string]: unknown;
2922
+ };
2923
+ } & ({
2924
+ type: "alarm";
2925
+ } | {
2926
+ type: "camera";
2927
+ ptzCapable: boolean;
2928
+ ptzPanSpeed: number;
2929
+ ptzTiltSpeed: number;
2930
+ ptzZoomSpeed: number;
2931
+ panMin: number;
2932
+ panMax: number;
2933
+ tiltMin: number;
2934
+ tiltMax: number;
2935
+ zoomMin: number;
2936
+ zoomMax: number;
2937
+ streams: {
2938
+ id: string;
2939
+ displayName: string;
2940
+ externalPlayerUrl: string | null;
2941
+ rtspUrl: string | null;
2942
+ recordingCapable: boolean;
2943
+ width: number | null;
2944
+ height: number | null;
2945
+ lensType: "flat" | "fisheye";
2946
+ mountPoint: "wall" | "ceiling" | "floor";
2947
+ webrtcPlaybackSource: ({
2948
+ kind: string;
2949
+ } & Record<string, unknown>) | null;
2950
+ }[];
2951
+ defaultStreamId: string;
2952
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2953
+ } | {
2954
+ type: "door";
2955
+ canReportOpenState: boolean;
2956
+ canReportLockState: boolean;
2957
+ canControlLock: boolean;
2958
+ canRelease: boolean;
2959
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2960
+ } | {
2961
+ type: "io-board";
2962
+ inputs: string[];
2963
+ outputs: string[];
2964
+ } | {
2965
+ type: "camera-lift";
2966
+ } | {
2967
+ type: "motion-sensor";
2968
+ } | {
2969
+ type: "panic-button";
2970
+ } | {
2971
+ type: "intercom-terminal";
2972
+ sipUri: string;
2973
+ sipUser: string;
2974
+ sipPassword: string;
2975
+ sipRealm: string;
2976
+ remoteExtension: string;
2977
+ } | {
2978
+ type: "pbx";
2979
+ sipWsUrl: string;
2980
+ } | {
2981
+ type: "server";
2982
+ } | {
2983
+ type: "intercom-operator";
2984
+ } | {
2985
+ type: "device-gateway";
2986
+ } | {
2987
+ type: "presence-tracker";
2988
+ } | {
2989
+ type: "reader";
2990
+ } | {
2991
+ type: "display";
2992
+ } | {
2993
+ type: "nvr-recorder";
2994
+ } | {
2995
+ type: "nvr-exporter";
2996
+ } | {
2997
+ type: "nvr-analytics-server";
2998
+ } | {
2999
+ type: "system";
3000
+ })) | [string, string];
3001
+ streamId: string;
3002
+ };
3003
+ command: "nvr-recorder.stop-recording";
3004
+ }>;
3005
+ readonly 'nvr-recorder.mount-stream': import("zod").ZodObject<{
3006
+ command: import("zod").ZodLiteral<"nvr-recorder.mount-stream">;
3007
+ params: import("zod").ZodObject<{
3008
+ camera: import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
3009
+ name: import("zod").ZodString;
3010
+ foreignRef: import("zod").ZodString;
3011
+ provider: import("zod").ZodString;
3012
+ providerMetadata: import("zod").ZodObject<{}, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{}, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{}, import("zod").ZodUnknown, "strip">>;
3013
+ } & {
3014
+ presets: import("zod").ZodArray<import("zod").ZodObject<{
3015
+ id: import("zod").ZodString;
3016
+ name: import("zod").ZodString;
3017
+ params: import("zod").ZodUnknown;
3018
+ isDefault: import("zod").ZodBoolean;
3019
+ assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
3020
+ createdOn: import("zod").ZodString;
3021
+ lastModifiedOn: import("zod").ZodString;
3022
+ }, "strip", import("zod").ZodTypeAny, {
3023
+ id: string;
3024
+ name: string;
3025
+ createdOn: string;
3026
+ lastModifiedOn: string;
3027
+ isDefault: boolean;
3028
+ assignedRef: string | null;
3029
+ params?: unknown;
3030
+ }, {
3031
+ id: string;
3032
+ name: string;
3033
+ createdOn: string;
3034
+ lastModifiedOn: string;
3035
+ isDefault: boolean;
3036
+ assignedRef: string | null;
3037
+ params?: unknown;
3038
+ }>, "many">;
3039
+ }, "strip", import("zod").ZodTypeAny, {
3040
+ name: string;
3041
+ foreignRef: string;
3042
+ presets: {
3043
+ id: string;
3044
+ name: string;
3045
+ createdOn: string;
3046
+ lastModifiedOn: string;
3047
+ isDefault: boolean;
3048
+ assignedRef: string | null;
3049
+ params?: unknown;
3050
+ }[];
3051
+ provider: string;
3052
+ providerMetadata: {} & {
3053
+ [k: string]: unknown;
3054
+ };
3055
+ }, {
3056
+ name: string;
3057
+ foreignRef: string;
3058
+ presets: {
3059
+ id: string;
3060
+ name: string;
3061
+ createdOn: string;
3062
+ lastModifiedOn: string;
3063
+ isDefault: boolean;
3064
+ assignedRef: string | null;
3065
+ params?: unknown;
3066
+ }[];
3067
+ provider: string;
3068
+ providerMetadata: {} & {
3069
+ [k: string]: unknown;
3070
+ };
3071
+ }>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
3072
+ type: import("zod").ZodLiteral<"alarm">;
3073
+ }, "strip", import("zod").ZodTypeAny, {
3074
+ type: "alarm";
3075
+ }, {
3076
+ type: "alarm";
3077
+ }>, import("zod").ZodObject<{
3078
+ ptzCapable: import("zod").ZodBoolean;
3079
+ ptzPanSpeed: import("zod").ZodNumber;
3080
+ ptzTiltSpeed: import("zod").ZodNumber;
3081
+ ptzZoomSpeed: import("zod").ZodNumber;
3082
+ panMin: import("zod").ZodNumber;
3083
+ panMax: import("zod").ZodNumber;
3084
+ tiltMin: import("zod").ZodNumber;
3085
+ tiltMax: import("zod").ZodNumber;
3086
+ zoomMin: import("zod").ZodNumber;
3087
+ zoomMax: import("zod").ZodNumber;
3088
+ streams: import("zod").ZodArray<import("zod").ZodObject<{
3089
+ id: import("zod").ZodString;
3090
+ displayName: import("zod").ZodString;
3091
+ externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
3092
+ rtspUrl: import("zod").ZodNullable<import("zod").ZodString>;
3093
+ recordingCapable: import("zod").ZodBoolean;
3094
+ width: import("zod").ZodNullable<import("zod").ZodNumber>;
3095
+ height: import("zod").ZodNullable<import("zod").ZodNumber>;
3096
+ lensType: import("zod").ZodEnum<["flat", "fisheye"]>;
3097
+ mountPoint: import("zod").ZodEnum<["wall", "ceiling", "floor"]>;
3098
+ webrtcPlaybackSource: import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
3099
+ kind: import("zod").ZodString;
3100
+ }, "strip", import("zod").ZodTypeAny, {
3101
+ kind: string;
3102
+ }, {
3103
+ kind: string;
3104
+ }>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
3105
+ }, "strip", import("zod").ZodTypeAny, {
3106
+ id: string;
3107
+ displayName: string;
3108
+ externalPlayerUrl: string | null;
3109
+ rtspUrl: string | null;
3110
+ recordingCapable: boolean;
3111
+ width: number | null;
3112
+ height: number | null;
3113
+ lensType: "flat" | "fisheye";
3114
+ mountPoint: "wall" | "ceiling" | "floor";
3115
+ webrtcPlaybackSource: ({
3116
+ kind: string;
3117
+ } & Record<string, unknown>) | null;
3118
+ }, {
3119
+ id: string;
3120
+ displayName: string;
3121
+ externalPlayerUrl: string | null;
3122
+ rtspUrl: string | null;
3123
+ recordingCapable: boolean;
3124
+ width: number | null;
3125
+ height: number | null;
3126
+ lensType: "flat" | "fisheye";
3127
+ mountPoint: "wall" | "ceiling" | "floor";
3128
+ webrtcPlaybackSource: ({
3129
+ kind: string;
3130
+ } & Record<string, unknown>) | null;
3131
+ }>, "many">;
3132
+ defaultStreamId: import("zod").ZodString;
3133
+ streamNaming: import("zod").ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
3134
+ } & {
3135
+ type: import("zod").ZodLiteral<"camera">;
3136
+ }, "strip", import("zod").ZodTypeAny, {
3137
+ type: "camera";
3138
+ ptzCapable: boolean;
3139
+ ptzPanSpeed: number;
3140
+ ptzTiltSpeed: number;
3141
+ ptzZoomSpeed: number;
3142
+ panMin: number;
3143
+ panMax: number;
3144
+ tiltMin: number;
3145
+ tiltMax: number;
3146
+ zoomMin: number;
3147
+ zoomMax: number;
3148
+ streams: {
3149
+ id: string;
3150
+ displayName: string;
3151
+ externalPlayerUrl: string | null;
3152
+ rtspUrl: string | null;
3153
+ recordingCapable: boolean;
3154
+ width: number | null;
3155
+ height: number | null;
3156
+ lensType: "flat" | "fisheye";
3157
+ mountPoint: "wall" | "ceiling" | "floor";
3158
+ webrtcPlaybackSource: ({
3159
+ kind: string;
3160
+ } & Record<string, unknown>) | null;
3161
+ }[];
3162
+ defaultStreamId: string;
3163
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3164
+ }, {
3165
+ type: "camera";
3166
+ ptzCapable: boolean;
3167
+ ptzPanSpeed: number;
3168
+ ptzTiltSpeed: number;
3169
+ ptzZoomSpeed: number;
3170
+ panMin: number;
3171
+ panMax: number;
3172
+ tiltMin: number;
3173
+ tiltMax: number;
3174
+ zoomMin: number;
3175
+ zoomMax: number;
3176
+ streams: {
3177
+ id: string;
3178
+ displayName: string;
3179
+ externalPlayerUrl: string | null;
3180
+ rtspUrl: string | null;
3181
+ recordingCapable: boolean;
3182
+ width: number | null;
3183
+ height: number | null;
3184
+ lensType: "flat" | "fisheye";
3185
+ mountPoint: "wall" | "ceiling" | "floor";
3186
+ webrtcPlaybackSource: ({
3187
+ kind: string;
3188
+ } & Record<string, unknown>) | null;
3189
+ }[];
3190
+ defaultStreamId: string;
3191
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3192
+ }>, import("zod").ZodObject<{
3193
+ canReportOpenState: import("zod").ZodBoolean;
3194
+ canReportLockState: import("zod").ZodBoolean;
3195
+ canControlLock: import("zod").ZodBoolean;
3196
+ canRelease: import("zod").ZodBoolean;
3197
+ style: import("zod").ZodOptional<import("zod").ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
3198
+ } & {
3199
+ type: import("zod").ZodLiteral<"door">;
3200
+ }, "strip", import("zod").ZodTypeAny, {
3201
+ type: "door";
3202
+ canReportOpenState: boolean;
3203
+ canReportLockState: boolean;
3204
+ canControlLock: boolean;
3205
+ canRelease: boolean;
3206
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3207
+ }, {
3208
+ type: "door";
3209
+ canReportOpenState: boolean;
3210
+ canReportLockState: boolean;
3211
+ canControlLock: boolean;
3212
+ canRelease: boolean;
3213
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3214
+ }>, import("zod").ZodObject<{
3215
+ inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
3216
+ outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
3217
+ } & {
3218
+ type: import("zod").ZodLiteral<"io-board">;
3219
+ }, "strip", import("zod").ZodTypeAny, {
3220
+ type: "io-board";
3221
+ inputs: string[];
3222
+ outputs: string[];
3223
+ }, {
3224
+ type: "io-board";
3225
+ inputs: string[];
3226
+ outputs: string[];
3227
+ }>, import("zod").ZodObject<{
3228
+ type: import("zod").ZodLiteral<"camera-lift">;
3229
+ }, "strip", import("zod").ZodTypeAny, {
3230
+ type: "camera-lift";
3231
+ }, {
3232
+ type: "camera-lift";
3233
+ }>, import("zod").ZodObject<{
3234
+ type: import("zod").ZodLiteral<"motion-sensor">;
3235
+ }, "strip", import("zod").ZodTypeAny, {
3236
+ type: "motion-sensor";
3237
+ }, {
3238
+ type: "motion-sensor";
3239
+ }>, import("zod").ZodObject<{
3240
+ type: import("zod").ZodLiteral<"panic-button">;
3241
+ }, "strip", import("zod").ZodTypeAny, {
3242
+ type: "panic-button";
3243
+ }, {
3244
+ type: "panic-button";
3245
+ }>, import("zod").ZodObject<{
3246
+ sipUri: import("zod").ZodString;
3247
+ sipUser: import("zod").ZodString;
3248
+ sipPassword: import("zod").ZodString;
3249
+ sipRealm: import("zod").ZodString;
3250
+ remoteExtension: import("zod").ZodString;
3251
+ } & {
3252
+ type: import("zod").ZodLiteral<"intercom-terminal">;
3253
+ }, "strip", import("zod").ZodTypeAny, {
3254
+ type: "intercom-terminal";
3255
+ sipUri: string;
3256
+ sipUser: string;
3257
+ sipPassword: string;
3258
+ sipRealm: string;
3259
+ remoteExtension: string;
3260
+ }, {
3261
+ type: "intercom-terminal";
3262
+ sipUri: string;
3263
+ sipUser: string;
3264
+ sipPassword: string;
3265
+ sipRealm: string;
3266
+ remoteExtension: string;
3267
+ }>, import("zod").ZodObject<{
3268
+ sipWsUrl: import("zod").ZodString;
3269
+ } & {
3270
+ type: import("zod").ZodLiteral<"pbx">;
3271
+ }, "strip", import("zod").ZodTypeAny, {
3272
+ type: "pbx";
3273
+ sipWsUrl: string;
3274
+ }, {
3275
+ type: "pbx";
3276
+ sipWsUrl: string;
3277
+ }>, import("zod").ZodObject<{
3278
+ type: import("zod").ZodLiteral<"server">;
3279
+ }, "strip", import("zod").ZodTypeAny, {
3280
+ type: "server";
3281
+ }, {
3282
+ type: "server";
3283
+ }>, import("zod").ZodObject<{
3284
+ type: import("zod").ZodLiteral<"intercom-operator">;
3285
+ }, "strip", import("zod").ZodTypeAny, {
3286
+ type: "intercom-operator";
3287
+ }, {
3288
+ type: "intercom-operator";
3289
+ }>, import("zod").ZodObject<{
3290
+ type: import("zod").ZodLiteral<"device-gateway">;
3291
+ }, "strip", import("zod").ZodTypeAny, {
3292
+ type: "device-gateway";
3293
+ }, {
3294
+ type: "device-gateway";
3295
+ }>, import("zod").ZodObject<{
3296
+ type: import("zod").ZodLiteral<"presence-tracker">;
3297
+ }, "strip", import("zod").ZodTypeAny, {
3298
+ type: "presence-tracker";
3299
+ }, {
3300
+ type: "presence-tracker";
3301
+ }>, import("zod").ZodObject<{
3302
+ type: import("zod").ZodLiteral<"reader">;
3303
+ }, "strip", import("zod").ZodTypeAny, {
3304
+ type: "reader";
3305
+ }, {
3306
+ type: "reader";
3307
+ }>, import("zod").ZodObject<{
3308
+ type: import("zod").ZodLiteral<"display">;
3309
+ }, "strip", import("zod").ZodTypeAny, {
3310
+ type: "display";
3311
+ }, {
3312
+ type: "display";
3313
+ }>, import("zod").ZodObject<{
3314
+ type: import("zod").ZodLiteral<"nvr-recorder">;
3315
+ }, "strip", import("zod").ZodTypeAny, {
3316
+ type: "nvr-recorder";
3317
+ }, {
3318
+ type: "nvr-recorder";
3319
+ }>, import("zod").ZodObject<{
3320
+ type: import("zod").ZodLiteral<"nvr-exporter">;
3321
+ }, "strip", import("zod").ZodTypeAny, {
3322
+ type: "nvr-exporter";
3323
+ }, {
3324
+ type: "nvr-exporter";
3325
+ }>, import("zod").ZodObject<{
3326
+ type: import("zod").ZodLiteral<"nvr-analytics-server">;
3327
+ }, "strip", import("zod").ZodTypeAny, {
3328
+ type: "nvr-analytics-server";
3329
+ }, {
3330
+ type: "nvr-analytics-server";
3331
+ }>, import("zod").ZodObject<{
3332
+ type: import("zod").ZodLiteral<"system">;
3333
+ }, "strip", import("zod").ZodTypeAny, {
3334
+ type: "system";
3335
+ }, {
3336
+ type: "system";
3337
+ }>]>>]>, import("zod").ZodTuple<[import("zod").ZodString, import("zod").ZodString], null>]>;
3338
+ streamId: import("zod").ZodString;
3339
+ rtspUrl: import("zod").ZodString;
3340
+ retentionHours: import("zod").ZodOptional<import("zod").ZodNumber>;
3341
+ }, "strip", import("zod").ZodTypeAny, {
3342
+ camera: string | ({
3343
+ name: string;
3344
+ foreignRef: string;
3345
+ presets: {
3346
+ id: string;
3347
+ name: string;
3348
+ createdOn: string;
3349
+ lastModifiedOn: string;
3350
+ isDefault: boolean;
3351
+ assignedRef: string | null;
3352
+ params?: unknown;
3353
+ }[];
3354
+ provider: string;
3355
+ providerMetadata: {} & {
3356
+ [k: string]: unknown;
3357
+ };
3358
+ } & ({
3359
+ type: "alarm";
3360
+ } | {
3361
+ type: "camera";
3362
+ ptzCapable: boolean;
3363
+ ptzPanSpeed: number;
3364
+ ptzTiltSpeed: number;
3365
+ ptzZoomSpeed: number;
3366
+ panMin: number;
3367
+ panMax: number;
3368
+ tiltMin: number;
3369
+ tiltMax: number;
3370
+ zoomMin: number;
3371
+ zoomMax: number;
3372
+ streams: {
3373
+ id: string;
3374
+ displayName: string;
3375
+ externalPlayerUrl: string | null;
3376
+ rtspUrl: string | null;
3377
+ recordingCapable: boolean;
3378
+ width: number | null;
3379
+ height: number | null;
3380
+ lensType: "flat" | "fisheye";
3381
+ mountPoint: "wall" | "ceiling" | "floor";
3382
+ webrtcPlaybackSource: ({
3383
+ kind: string;
3384
+ } & Record<string, unknown>) | null;
3385
+ }[];
3386
+ defaultStreamId: string;
3387
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3388
+ } | {
3389
+ type: "door";
3390
+ canReportOpenState: boolean;
3391
+ canReportLockState: boolean;
3392
+ canControlLock: boolean;
3393
+ canRelease: boolean;
3394
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3395
+ } | {
3396
+ type: "io-board";
3397
+ inputs: string[];
3398
+ outputs: string[];
3399
+ } | {
3400
+ type: "camera-lift";
3401
+ } | {
3402
+ type: "motion-sensor";
3403
+ } | {
3404
+ type: "panic-button";
3405
+ } | {
3406
+ type: "intercom-terminal";
3407
+ sipUri: string;
3408
+ sipUser: string;
3409
+ sipPassword: string;
3410
+ sipRealm: string;
3411
+ remoteExtension: string;
3412
+ } | {
3413
+ type: "pbx";
3414
+ sipWsUrl: string;
3415
+ } | {
3416
+ type: "server";
3417
+ } | {
3418
+ type: "intercom-operator";
3419
+ } | {
3420
+ type: "device-gateway";
3421
+ } | {
3422
+ type: "presence-tracker";
3423
+ } | {
3424
+ type: "reader";
3425
+ } | {
3426
+ type: "display";
3427
+ } | {
3428
+ type: "nvr-recorder";
3429
+ } | {
3430
+ type: "nvr-exporter";
3431
+ } | {
3432
+ type: "nvr-analytics-server";
3433
+ } | {
3434
+ type: "system";
3435
+ })) | [string, string];
3436
+ rtspUrl: string;
3437
+ streamId: string;
3438
+ retentionHours?: number | undefined;
3439
+ }, {
3440
+ camera: string | ({
3441
+ name: string;
3442
+ foreignRef: string;
3443
+ presets: {
3444
+ id: string;
3445
+ name: string;
3446
+ createdOn: string;
3447
+ lastModifiedOn: string;
3448
+ isDefault: boolean;
3449
+ assignedRef: string | null;
3450
+ params?: unknown;
3451
+ }[];
3452
+ provider: string;
3453
+ providerMetadata: {} & {
3454
+ [k: string]: unknown;
3455
+ };
3456
+ } & ({
3457
+ type: "alarm";
3458
+ } | {
3459
+ type: "camera";
3460
+ ptzCapable: boolean;
3461
+ ptzPanSpeed: number;
3462
+ ptzTiltSpeed: number;
3463
+ ptzZoomSpeed: number;
3464
+ panMin: number;
3465
+ panMax: number;
3466
+ tiltMin: number;
3467
+ tiltMax: number;
3468
+ zoomMin: number;
3469
+ zoomMax: number;
3470
+ streams: {
3471
+ id: string;
3472
+ displayName: string;
3473
+ externalPlayerUrl: string | null;
3474
+ rtspUrl: string | null;
3475
+ recordingCapable: boolean;
3476
+ width: number | null;
3477
+ height: number | null;
3478
+ lensType: "flat" | "fisheye";
3479
+ mountPoint: "wall" | "ceiling" | "floor";
3480
+ webrtcPlaybackSource: ({
3481
+ kind: string;
3482
+ } & Record<string, unknown>) | null;
3483
+ }[];
3484
+ defaultStreamId: string;
3485
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3486
+ } | {
3487
+ type: "door";
3488
+ canReportOpenState: boolean;
3489
+ canReportLockState: boolean;
3490
+ canControlLock: boolean;
3491
+ canRelease: boolean;
3492
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3493
+ } | {
3494
+ type: "io-board";
3495
+ inputs: string[];
3496
+ outputs: string[];
3497
+ } | {
3498
+ type: "camera-lift";
3499
+ } | {
3500
+ type: "motion-sensor";
3501
+ } | {
3502
+ type: "panic-button";
3503
+ } | {
3504
+ type: "intercom-terminal";
3505
+ sipUri: string;
3506
+ sipUser: string;
3507
+ sipPassword: string;
3508
+ sipRealm: string;
3509
+ remoteExtension: string;
3510
+ } | {
3511
+ type: "pbx";
3512
+ sipWsUrl: string;
3513
+ } | {
3514
+ type: "server";
3515
+ } | {
3516
+ type: "intercom-operator";
3517
+ } | {
3518
+ type: "device-gateway";
3519
+ } | {
3520
+ type: "presence-tracker";
3521
+ } | {
3522
+ type: "reader";
3523
+ } | {
3524
+ type: "display";
3525
+ } | {
3526
+ type: "nvr-recorder";
3527
+ } | {
3528
+ type: "nvr-exporter";
3529
+ } | {
3530
+ type: "nvr-analytics-server";
3531
+ } | {
3532
+ type: "system";
3533
+ })) | [string, string];
3534
+ rtspUrl: string;
3535
+ streamId: string;
3536
+ retentionHours?: number | undefined;
3537
+ }>;
3538
+ }, "strip", import("zod").ZodTypeAny, {
3539
+ params: {
3540
+ camera: string | ({
3541
+ name: string;
3542
+ foreignRef: string;
3543
+ presets: {
3544
+ id: string;
3545
+ name: string;
3546
+ createdOn: string;
3547
+ lastModifiedOn: string;
3548
+ isDefault: boolean;
3549
+ assignedRef: string | null;
3550
+ params?: unknown;
3551
+ }[];
3552
+ provider: string;
3553
+ providerMetadata: {} & {
3554
+ [k: string]: unknown;
3555
+ };
3556
+ } & ({
3557
+ type: "alarm";
3558
+ } | {
3559
+ type: "camera";
3560
+ ptzCapable: boolean;
3561
+ ptzPanSpeed: number;
3562
+ ptzTiltSpeed: number;
3563
+ ptzZoomSpeed: number;
3564
+ panMin: number;
3565
+ panMax: number;
3566
+ tiltMin: number;
3567
+ tiltMax: number;
3568
+ zoomMin: number;
3569
+ zoomMax: number;
3570
+ streams: {
3571
+ id: string;
3572
+ displayName: string;
3573
+ externalPlayerUrl: string | null;
3574
+ rtspUrl: string | null;
3575
+ recordingCapable: boolean;
3576
+ width: number | null;
3577
+ height: number | null;
3578
+ lensType: "flat" | "fisheye";
3579
+ mountPoint: "wall" | "ceiling" | "floor";
3580
+ webrtcPlaybackSource: ({
3581
+ kind: string;
3582
+ } & Record<string, unknown>) | null;
3583
+ }[];
3584
+ defaultStreamId: string;
3585
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3586
+ } | {
3587
+ type: "door";
3588
+ canReportOpenState: boolean;
3589
+ canReportLockState: boolean;
3590
+ canControlLock: boolean;
3591
+ canRelease: boolean;
3592
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3593
+ } | {
3594
+ type: "io-board";
3595
+ inputs: string[];
3596
+ outputs: string[];
3597
+ } | {
3598
+ type: "camera-lift";
3599
+ } | {
3600
+ type: "motion-sensor";
3601
+ } | {
3602
+ type: "panic-button";
3603
+ } | {
3604
+ type: "intercom-terminal";
3605
+ sipUri: string;
3606
+ sipUser: string;
3607
+ sipPassword: string;
3608
+ sipRealm: string;
3609
+ remoteExtension: string;
3610
+ } | {
3611
+ type: "pbx";
3612
+ sipWsUrl: string;
3613
+ } | {
3614
+ type: "server";
3615
+ } | {
3616
+ type: "intercom-operator";
3617
+ } | {
3618
+ type: "device-gateway";
3619
+ } | {
3620
+ type: "presence-tracker";
3621
+ } | {
3622
+ type: "reader";
3623
+ } | {
3624
+ type: "display";
3625
+ } | {
3626
+ type: "nvr-recorder";
3627
+ } | {
3628
+ type: "nvr-exporter";
3629
+ } | {
3630
+ type: "nvr-analytics-server";
3631
+ } | {
3632
+ type: "system";
3633
+ })) | [string, string];
3634
+ rtspUrl: string;
3635
+ streamId: string;
3636
+ retentionHours?: number | undefined;
3637
+ };
3638
+ command: "nvr-recorder.mount-stream";
3639
+ }, {
3640
+ params: {
3641
+ camera: string | ({
3642
+ name: string;
3643
+ foreignRef: string;
3644
+ presets: {
3645
+ id: string;
3646
+ name: string;
3647
+ createdOn: string;
3648
+ lastModifiedOn: string;
3649
+ isDefault: boolean;
3650
+ assignedRef: string | null;
3651
+ params?: unknown;
3652
+ }[];
3653
+ provider: string;
3654
+ providerMetadata: {} & {
3655
+ [k: string]: unknown;
3656
+ };
3657
+ } & ({
3658
+ type: "alarm";
3659
+ } | {
3660
+ type: "camera";
3661
+ ptzCapable: boolean;
3662
+ ptzPanSpeed: number;
3663
+ ptzTiltSpeed: number;
3664
+ ptzZoomSpeed: number;
3665
+ panMin: number;
3666
+ panMax: number;
3667
+ tiltMin: number;
3668
+ tiltMax: number;
3669
+ zoomMin: number;
3670
+ zoomMax: number;
3671
+ streams: {
3672
+ id: string;
3673
+ displayName: string;
3674
+ externalPlayerUrl: string | null;
3675
+ rtspUrl: string | null;
3676
+ recordingCapable: boolean;
3677
+ width: number | null;
3678
+ height: number | null;
3679
+ lensType: "flat" | "fisheye";
3680
+ mountPoint: "wall" | "ceiling" | "floor";
3681
+ webrtcPlaybackSource: ({
3682
+ kind: string;
3683
+ } & Record<string, unknown>) | null;
3684
+ }[];
3685
+ defaultStreamId: string;
3686
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3687
+ } | {
3688
+ type: "door";
3689
+ canReportOpenState: boolean;
3690
+ canReportLockState: boolean;
3691
+ canControlLock: boolean;
3692
+ canRelease: boolean;
3693
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3694
+ } | {
3695
+ type: "io-board";
3696
+ inputs: string[];
3697
+ outputs: string[];
3698
+ } | {
3699
+ type: "camera-lift";
3700
+ } | {
3701
+ type: "motion-sensor";
3702
+ } | {
3703
+ type: "panic-button";
3704
+ } | {
3705
+ type: "intercom-terminal";
3706
+ sipUri: string;
3707
+ sipUser: string;
3708
+ sipPassword: string;
3709
+ sipRealm: string;
3710
+ remoteExtension: string;
3711
+ } | {
3712
+ type: "pbx";
3713
+ sipWsUrl: string;
3714
+ } | {
3715
+ type: "server";
3716
+ } | {
3717
+ type: "intercom-operator";
3718
+ } | {
3719
+ type: "device-gateway";
3720
+ } | {
3721
+ type: "presence-tracker";
3722
+ } | {
3723
+ type: "reader";
3724
+ } | {
3725
+ type: "display";
3726
+ } | {
3727
+ type: "nvr-recorder";
3728
+ } | {
3729
+ type: "nvr-exporter";
3730
+ } | {
3731
+ type: "nvr-analytics-server";
3732
+ } | {
3733
+ type: "system";
3734
+ })) | [string, string];
3735
+ rtspUrl: string;
3736
+ streamId: string;
3737
+ retentionHours?: number | undefined;
3738
+ };
3739
+ command: "nvr-recorder.mount-stream";
3740
+ }>;
3741
+ readonly 'nvr-recorder.unmount-stream': import("zod").ZodObject<{
3742
+ command: import("zod").ZodLiteral<"nvr-recorder.unmount-stream">;
3743
+ params: import("zod").ZodObject<{
3744
+ camera: import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
3745
+ name: import("zod").ZodString;
3746
+ foreignRef: import("zod").ZodString;
3747
+ provider: import("zod").ZodString;
3748
+ providerMetadata: import("zod").ZodObject<{}, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{}, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{}, import("zod").ZodUnknown, "strip">>;
3749
+ } & {
3750
+ presets: import("zod").ZodArray<import("zod").ZodObject<{
3751
+ id: import("zod").ZodString;
3752
+ name: import("zod").ZodString;
3753
+ params: import("zod").ZodUnknown;
3754
+ isDefault: import("zod").ZodBoolean;
3755
+ assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
3756
+ createdOn: import("zod").ZodString;
3757
+ lastModifiedOn: import("zod").ZodString;
3758
+ }, "strip", import("zod").ZodTypeAny, {
3759
+ id: string;
3760
+ name: string;
3761
+ createdOn: string;
3762
+ lastModifiedOn: string;
3763
+ isDefault: boolean;
3764
+ assignedRef: string | null;
3765
+ params?: unknown;
3766
+ }, {
3767
+ id: string;
3768
+ name: string;
3769
+ createdOn: string;
3770
+ lastModifiedOn: string;
3771
+ isDefault: boolean;
3772
+ assignedRef: string | null;
3773
+ params?: unknown;
3774
+ }>, "many">;
3775
+ }, "strip", import("zod").ZodTypeAny, {
3776
+ name: string;
3777
+ foreignRef: string;
3778
+ presets: {
3779
+ id: string;
3780
+ name: string;
3781
+ createdOn: string;
3782
+ lastModifiedOn: string;
3783
+ isDefault: boolean;
3784
+ assignedRef: string | null;
3785
+ params?: unknown;
3786
+ }[];
3787
+ provider: string;
3788
+ providerMetadata: {} & {
3789
+ [k: string]: unknown;
3790
+ };
3791
+ }, {
3792
+ name: string;
3793
+ foreignRef: string;
3794
+ presets: {
3795
+ id: string;
3796
+ name: string;
3797
+ createdOn: string;
3798
+ lastModifiedOn: string;
3799
+ isDefault: boolean;
3800
+ assignedRef: string | null;
3801
+ params?: unknown;
3802
+ }[];
3803
+ provider: string;
3804
+ providerMetadata: {} & {
3805
+ [k: string]: unknown;
3806
+ };
3807
+ }>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
3808
+ type: import("zod").ZodLiteral<"alarm">;
3809
+ }, "strip", import("zod").ZodTypeAny, {
3810
+ type: "alarm";
3811
+ }, {
3812
+ type: "alarm";
3813
+ }>, import("zod").ZodObject<{
3814
+ ptzCapable: import("zod").ZodBoolean;
3815
+ ptzPanSpeed: import("zod").ZodNumber;
3816
+ ptzTiltSpeed: import("zod").ZodNumber;
3817
+ ptzZoomSpeed: import("zod").ZodNumber;
3818
+ panMin: import("zod").ZodNumber;
3819
+ panMax: import("zod").ZodNumber;
3820
+ tiltMin: import("zod").ZodNumber;
3821
+ tiltMax: import("zod").ZodNumber;
3822
+ zoomMin: import("zod").ZodNumber;
3823
+ zoomMax: import("zod").ZodNumber;
3824
+ streams: import("zod").ZodArray<import("zod").ZodObject<{
3825
+ id: import("zod").ZodString;
3826
+ displayName: import("zod").ZodString;
3827
+ externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
3828
+ rtspUrl: import("zod").ZodNullable<import("zod").ZodString>;
3829
+ recordingCapable: import("zod").ZodBoolean;
3830
+ width: import("zod").ZodNullable<import("zod").ZodNumber>;
3831
+ height: import("zod").ZodNullable<import("zod").ZodNumber>;
3832
+ lensType: import("zod").ZodEnum<["flat", "fisheye"]>;
3833
+ mountPoint: import("zod").ZodEnum<["wall", "ceiling", "floor"]>;
3834
+ webrtcPlaybackSource: import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
3835
+ kind: import("zod").ZodString;
3836
+ }, "strip", import("zod").ZodTypeAny, {
3837
+ kind: string;
3838
+ }, {
3839
+ kind: string;
3840
+ }>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
3841
+ }, "strip", import("zod").ZodTypeAny, {
3842
+ id: string;
3843
+ displayName: string;
3844
+ externalPlayerUrl: string | null;
3845
+ rtspUrl: string | null;
3846
+ recordingCapable: boolean;
3847
+ width: number | null;
3848
+ height: number | null;
3849
+ lensType: "flat" | "fisheye";
3850
+ mountPoint: "wall" | "ceiling" | "floor";
3851
+ webrtcPlaybackSource: ({
3852
+ kind: string;
3853
+ } & Record<string, unknown>) | null;
3854
+ }, {
3855
+ id: string;
3856
+ displayName: string;
3857
+ externalPlayerUrl: string | null;
3858
+ rtspUrl: string | null;
3859
+ recordingCapable: boolean;
3860
+ width: number | null;
3861
+ height: number | null;
3862
+ lensType: "flat" | "fisheye";
3863
+ mountPoint: "wall" | "ceiling" | "floor";
3864
+ webrtcPlaybackSource: ({
3865
+ kind: string;
3866
+ } & Record<string, unknown>) | null;
3867
+ }>, "many">;
3868
+ defaultStreamId: import("zod").ZodString;
3869
+ streamNaming: import("zod").ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
3870
+ } & {
3871
+ type: import("zod").ZodLiteral<"camera">;
3872
+ }, "strip", import("zod").ZodTypeAny, {
3873
+ type: "camera";
3874
+ ptzCapable: boolean;
3875
+ ptzPanSpeed: number;
3876
+ ptzTiltSpeed: number;
3877
+ ptzZoomSpeed: number;
3878
+ panMin: number;
3879
+ panMax: number;
3880
+ tiltMin: number;
3881
+ tiltMax: number;
3882
+ zoomMin: number;
3883
+ zoomMax: number;
3884
+ streams: {
3885
+ id: string;
3886
+ displayName: string;
3887
+ externalPlayerUrl: string | null;
3888
+ rtspUrl: string | null;
3889
+ recordingCapable: boolean;
3890
+ width: number | null;
3891
+ height: number | null;
3892
+ lensType: "flat" | "fisheye";
3893
+ mountPoint: "wall" | "ceiling" | "floor";
3894
+ webrtcPlaybackSource: ({
3895
+ kind: string;
3896
+ } & Record<string, unknown>) | null;
3897
+ }[];
3898
+ defaultStreamId: string;
3899
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3900
+ }, {
3901
+ type: "camera";
3902
+ ptzCapable: boolean;
3903
+ ptzPanSpeed: number;
3904
+ ptzTiltSpeed: number;
3905
+ ptzZoomSpeed: number;
3906
+ panMin: number;
3907
+ panMax: number;
3908
+ tiltMin: number;
3909
+ tiltMax: number;
3910
+ zoomMin: number;
3911
+ zoomMax: number;
3912
+ streams: {
3913
+ id: string;
3914
+ displayName: string;
3915
+ externalPlayerUrl: string | null;
3916
+ rtspUrl: string | null;
3917
+ recordingCapable: boolean;
3918
+ width: number | null;
3919
+ height: number | null;
3920
+ lensType: "flat" | "fisheye";
3921
+ mountPoint: "wall" | "ceiling" | "floor";
3922
+ webrtcPlaybackSource: ({
3923
+ kind: string;
3924
+ } & Record<string, unknown>) | null;
3925
+ }[];
3926
+ defaultStreamId: string;
3927
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3928
+ }>, import("zod").ZodObject<{
3929
+ canReportOpenState: import("zod").ZodBoolean;
3930
+ canReportLockState: import("zod").ZodBoolean;
3931
+ canControlLock: import("zod").ZodBoolean;
3932
+ canRelease: import("zod").ZodBoolean;
3933
+ style: import("zod").ZodOptional<import("zod").ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
3934
+ } & {
3935
+ type: import("zod").ZodLiteral<"door">;
3936
+ }, "strip", import("zod").ZodTypeAny, {
3937
+ type: "door";
3938
+ canReportOpenState: boolean;
3939
+ canReportLockState: boolean;
3940
+ canControlLock: boolean;
3941
+ canRelease: boolean;
3942
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3943
+ }, {
3944
+ type: "door";
3945
+ canReportOpenState: boolean;
3946
+ canReportLockState: boolean;
3947
+ canControlLock: boolean;
3948
+ canRelease: boolean;
3949
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3950
+ }>, import("zod").ZodObject<{
3951
+ inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
3952
+ outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
3953
+ } & {
3954
+ type: import("zod").ZodLiteral<"io-board">;
3955
+ }, "strip", import("zod").ZodTypeAny, {
3956
+ type: "io-board";
3957
+ inputs: string[];
3958
+ outputs: string[];
3959
+ }, {
3960
+ type: "io-board";
3961
+ inputs: string[];
3962
+ outputs: string[];
3963
+ }>, import("zod").ZodObject<{
3964
+ type: import("zod").ZodLiteral<"camera-lift">;
3965
+ }, "strip", import("zod").ZodTypeAny, {
3966
+ type: "camera-lift";
3967
+ }, {
3968
+ type: "camera-lift";
3969
+ }>, import("zod").ZodObject<{
3970
+ type: import("zod").ZodLiteral<"motion-sensor">;
3971
+ }, "strip", import("zod").ZodTypeAny, {
3972
+ type: "motion-sensor";
3973
+ }, {
3974
+ type: "motion-sensor";
3975
+ }>, import("zod").ZodObject<{
3976
+ type: import("zod").ZodLiteral<"panic-button">;
3977
+ }, "strip", import("zod").ZodTypeAny, {
3978
+ type: "panic-button";
3979
+ }, {
3980
+ type: "panic-button";
3981
+ }>, import("zod").ZodObject<{
3982
+ sipUri: import("zod").ZodString;
3983
+ sipUser: import("zod").ZodString;
3984
+ sipPassword: import("zod").ZodString;
3985
+ sipRealm: import("zod").ZodString;
3986
+ remoteExtension: import("zod").ZodString;
3987
+ } & {
3988
+ type: import("zod").ZodLiteral<"intercom-terminal">;
3989
+ }, "strip", import("zod").ZodTypeAny, {
3990
+ type: "intercom-terminal";
3991
+ sipUri: string;
3992
+ sipUser: string;
3993
+ sipPassword: string;
3994
+ sipRealm: string;
3995
+ remoteExtension: string;
3996
+ }, {
3997
+ type: "intercom-terminal";
3998
+ sipUri: string;
3999
+ sipUser: string;
4000
+ sipPassword: string;
4001
+ sipRealm: string;
4002
+ remoteExtension: string;
4003
+ }>, import("zod").ZodObject<{
4004
+ sipWsUrl: import("zod").ZodString;
4005
+ } & {
4006
+ type: import("zod").ZodLiteral<"pbx">;
4007
+ }, "strip", import("zod").ZodTypeAny, {
4008
+ type: "pbx";
4009
+ sipWsUrl: string;
4010
+ }, {
4011
+ type: "pbx";
4012
+ sipWsUrl: string;
4013
+ }>, import("zod").ZodObject<{
4014
+ type: import("zod").ZodLiteral<"server">;
4015
+ }, "strip", import("zod").ZodTypeAny, {
4016
+ type: "server";
4017
+ }, {
4018
+ type: "server";
4019
+ }>, import("zod").ZodObject<{
4020
+ type: import("zod").ZodLiteral<"intercom-operator">;
4021
+ }, "strip", import("zod").ZodTypeAny, {
4022
+ type: "intercom-operator";
4023
+ }, {
4024
+ type: "intercom-operator";
4025
+ }>, import("zod").ZodObject<{
4026
+ type: import("zod").ZodLiteral<"device-gateway">;
4027
+ }, "strip", import("zod").ZodTypeAny, {
4028
+ type: "device-gateway";
4029
+ }, {
4030
+ type: "device-gateway";
4031
+ }>, import("zod").ZodObject<{
4032
+ type: import("zod").ZodLiteral<"presence-tracker">;
4033
+ }, "strip", import("zod").ZodTypeAny, {
4034
+ type: "presence-tracker";
4035
+ }, {
4036
+ type: "presence-tracker";
4037
+ }>, import("zod").ZodObject<{
4038
+ type: import("zod").ZodLiteral<"reader">;
4039
+ }, "strip", import("zod").ZodTypeAny, {
4040
+ type: "reader";
4041
+ }, {
4042
+ type: "reader";
4043
+ }>, import("zod").ZodObject<{
4044
+ type: import("zod").ZodLiteral<"display">;
4045
+ }, "strip", import("zod").ZodTypeAny, {
4046
+ type: "display";
4047
+ }, {
4048
+ type: "display";
4049
+ }>, import("zod").ZodObject<{
4050
+ type: import("zod").ZodLiteral<"nvr-recorder">;
4051
+ }, "strip", import("zod").ZodTypeAny, {
4052
+ type: "nvr-recorder";
4053
+ }, {
4054
+ type: "nvr-recorder";
4055
+ }>, import("zod").ZodObject<{
4056
+ type: import("zod").ZodLiteral<"nvr-exporter">;
4057
+ }, "strip", import("zod").ZodTypeAny, {
4058
+ type: "nvr-exporter";
4059
+ }, {
4060
+ type: "nvr-exporter";
4061
+ }>, import("zod").ZodObject<{
4062
+ type: import("zod").ZodLiteral<"nvr-analytics-server">;
4063
+ }, "strip", import("zod").ZodTypeAny, {
4064
+ type: "nvr-analytics-server";
4065
+ }, {
4066
+ type: "nvr-analytics-server";
4067
+ }>, import("zod").ZodObject<{
4068
+ type: import("zod").ZodLiteral<"system">;
4069
+ }, "strip", import("zod").ZodTypeAny, {
4070
+ type: "system";
4071
+ }, {
4072
+ type: "system";
4073
+ }>]>>]>, import("zod").ZodTuple<[import("zod").ZodString, import("zod").ZodString], null>]>;
4074
+ streamId: import("zod").ZodString;
4075
+ }, "strip", import("zod").ZodTypeAny, {
4076
+ camera: string | ({
4077
+ name: string;
4078
+ foreignRef: string;
4079
+ presets: {
4080
+ id: string;
4081
+ name: string;
4082
+ createdOn: string;
4083
+ lastModifiedOn: string;
4084
+ isDefault: boolean;
4085
+ assignedRef: string | null;
4086
+ params?: unknown;
4087
+ }[];
4088
+ provider: string;
4089
+ providerMetadata: {} & {
4090
+ [k: string]: unknown;
4091
+ };
4092
+ } & ({
4093
+ type: "alarm";
4094
+ } | {
4095
+ type: "camera";
4096
+ ptzCapable: boolean;
4097
+ ptzPanSpeed: number;
4098
+ ptzTiltSpeed: number;
4099
+ ptzZoomSpeed: number;
4100
+ panMin: number;
4101
+ panMax: number;
4102
+ tiltMin: number;
4103
+ tiltMax: number;
4104
+ zoomMin: number;
4105
+ zoomMax: number;
4106
+ streams: {
4107
+ id: string;
4108
+ displayName: string;
4109
+ externalPlayerUrl: string | null;
4110
+ rtspUrl: string | null;
4111
+ recordingCapable: boolean;
4112
+ width: number | null;
4113
+ height: number | null;
4114
+ lensType: "flat" | "fisheye";
4115
+ mountPoint: "wall" | "ceiling" | "floor";
4116
+ webrtcPlaybackSource: ({
4117
+ kind: string;
4118
+ } & Record<string, unknown>) | null;
4119
+ }[];
4120
+ defaultStreamId: string;
4121
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
4122
+ } | {
4123
+ type: "door";
4124
+ canReportOpenState: boolean;
4125
+ canReportLockState: boolean;
4126
+ canControlLock: boolean;
4127
+ canRelease: boolean;
4128
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
4129
+ } | {
4130
+ type: "io-board";
4131
+ inputs: string[];
4132
+ outputs: string[];
4133
+ } | {
4134
+ type: "camera-lift";
4135
+ } | {
4136
+ type: "motion-sensor";
4137
+ } | {
4138
+ type: "panic-button";
4139
+ } | {
4140
+ type: "intercom-terminal";
4141
+ sipUri: string;
4142
+ sipUser: string;
4143
+ sipPassword: string;
4144
+ sipRealm: string;
4145
+ remoteExtension: string;
4146
+ } | {
4147
+ type: "pbx";
4148
+ sipWsUrl: string;
4149
+ } | {
4150
+ type: "server";
4151
+ } | {
4152
+ type: "intercom-operator";
4153
+ } | {
4154
+ type: "device-gateway";
4155
+ } | {
4156
+ type: "presence-tracker";
4157
+ } | {
4158
+ type: "reader";
4159
+ } | {
4160
+ type: "display";
4161
+ } | {
4162
+ type: "nvr-recorder";
4163
+ } | {
4164
+ type: "nvr-exporter";
4165
+ } | {
4166
+ type: "nvr-analytics-server";
4167
+ } | {
4168
+ type: "system";
4169
+ })) | [string, string];
4170
+ streamId: string;
4171
+ }, {
4172
+ camera: string | ({
4173
+ name: string;
4174
+ foreignRef: string;
4175
+ presets: {
4176
+ id: string;
4177
+ name: string;
4178
+ createdOn: string;
4179
+ lastModifiedOn: string;
4180
+ isDefault: boolean;
4181
+ assignedRef: string | null;
4182
+ params?: unknown;
4183
+ }[];
4184
+ provider: string;
4185
+ providerMetadata: {} & {
4186
+ [k: string]: unknown;
4187
+ };
4188
+ } & ({
4189
+ type: "alarm";
4190
+ } | {
4191
+ type: "camera";
4192
+ ptzCapable: boolean;
4193
+ ptzPanSpeed: number;
4194
+ ptzTiltSpeed: number;
4195
+ ptzZoomSpeed: number;
4196
+ panMin: number;
4197
+ panMax: number;
4198
+ tiltMin: number;
4199
+ tiltMax: number;
4200
+ zoomMin: number;
4201
+ zoomMax: number;
4202
+ streams: {
4203
+ id: string;
4204
+ displayName: string;
4205
+ externalPlayerUrl: string | null;
4206
+ rtspUrl: string | null;
4207
+ recordingCapable: boolean;
4208
+ width: number | null;
4209
+ height: number | null;
4210
+ lensType: "flat" | "fisheye";
4211
+ mountPoint: "wall" | "ceiling" | "floor";
4212
+ webrtcPlaybackSource: ({
4213
+ kind: string;
4214
+ } & Record<string, unknown>) | null;
4215
+ }[];
4216
+ defaultStreamId: string;
4217
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
4218
+ } | {
4219
+ type: "door";
4220
+ canReportOpenState: boolean;
4221
+ canReportLockState: boolean;
4222
+ canControlLock: boolean;
4223
+ canRelease: boolean;
4224
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
4225
+ } | {
4226
+ type: "io-board";
4227
+ inputs: string[];
4228
+ outputs: string[];
4229
+ } | {
4230
+ type: "camera-lift";
4231
+ } | {
4232
+ type: "motion-sensor";
4233
+ } | {
4234
+ type: "panic-button";
4235
+ } | {
4236
+ type: "intercom-terminal";
4237
+ sipUri: string;
4238
+ sipUser: string;
4239
+ sipPassword: string;
4240
+ sipRealm: string;
4241
+ remoteExtension: string;
4242
+ } | {
4243
+ type: "pbx";
4244
+ sipWsUrl: string;
4245
+ } | {
4246
+ type: "server";
4247
+ } | {
4248
+ type: "intercom-operator";
4249
+ } | {
4250
+ type: "device-gateway";
4251
+ } | {
4252
+ type: "presence-tracker";
4253
+ } | {
4254
+ type: "reader";
4255
+ } | {
4256
+ type: "display";
4257
+ } | {
4258
+ type: "nvr-recorder";
4259
+ } | {
4260
+ type: "nvr-exporter";
4261
+ } | {
4262
+ type: "nvr-analytics-server";
4263
+ } | {
4264
+ type: "system";
4265
+ })) | [string, string];
4266
+ streamId: string;
4267
+ }>;
4268
+ }, "strip", import("zod").ZodTypeAny, {
4269
+ params: {
4270
+ camera: string | ({
4271
+ name: string;
4272
+ foreignRef: string;
4273
+ presets: {
4274
+ id: string;
4275
+ name: string;
4276
+ createdOn: string;
4277
+ lastModifiedOn: string;
4278
+ isDefault: boolean;
4279
+ assignedRef: string | null;
4280
+ params?: unknown;
4281
+ }[];
4282
+ provider: string;
4283
+ providerMetadata: {} & {
4284
+ [k: string]: unknown;
4285
+ };
4286
+ } & ({
4287
+ type: "alarm";
4288
+ } | {
4289
+ type: "camera";
4290
+ ptzCapable: boolean;
4291
+ ptzPanSpeed: number;
4292
+ ptzTiltSpeed: number;
4293
+ ptzZoomSpeed: number;
4294
+ panMin: number;
4295
+ panMax: number;
4296
+ tiltMin: number;
4297
+ tiltMax: number;
4298
+ zoomMin: number;
4299
+ zoomMax: number;
4300
+ streams: {
4301
+ id: string;
4302
+ displayName: string;
4303
+ externalPlayerUrl: string | null;
4304
+ rtspUrl: string | null;
4305
+ recordingCapable: boolean;
4306
+ width: number | null;
4307
+ height: number | null;
4308
+ lensType: "flat" | "fisheye";
4309
+ mountPoint: "wall" | "ceiling" | "floor";
4310
+ webrtcPlaybackSource: ({
4311
+ kind: string;
4312
+ } & Record<string, unknown>) | null;
4313
+ }[];
4314
+ defaultStreamId: string;
4315
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
4316
+ } | {
4317
+ type: "door";
4318
+ canReportOpenState: boolean;
4319
+ canReportLockState: boolean;
4320
+ canControlLock: boolean;
4321
+ canRelease: boolean;
4322
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
4323
+ } | {
4324
+ type: "io-board";
4325
+ inputs: string[];
4326
+ outputs: string[];
4327
+ } | {
4328
+ type: "camera-lift";
4329
+ } | {
4330
+ type: "motion-sensor";
4331
+ } | {
4332
+ type: "panic-button";
4333
+ } | {
4334
+ type: "intercom-terminal";
4335
+ sipUri: string;
4336
+ sipUser: string;
4337
+ sipPassword: string;
4338
+ sipRealm: string;
4339
+ remoteExtension: string;
4340
+ } | {
4341
+ type: "pbx";
4342
+ sipWsUrl: string;
4343
+ } | {
4344
+ type: "server";
4345
+ } | {
4346
+ type: "intercom-operator";
4347
+ } | {
4348
+ type: "device-gateway";
4349
+ } | {
4350
+ type: "presence-tracker";
4351
+ } | {
4352
+ type: "reader";
4353
+ } | {
4354
+ type: "display";
4355
+ } | {
4356
+ type: "nvr-recorder";
4357
+ } | {
4358
+ type: "nvr-exporter";
4359
+ } | {
4360
+ type: "nvr-analytics-server";
4361
+ } | {
4362
+ type: "system";
4363
+ })) | [string, string];
4364
+ streamId: string;
4365
+ };
4366
+ command: "nvr-recorder.unmount-stream";
4367
+ }, {
4368
+ params: {
4369
+ camera: string | ({
4370
+ name: string;
4371
+ foreignRef: string;
4372
+ presets: {
4373
+ id: string;
4374
+ name: string;
4375
+ createdOn: string;
4376
+ lastModifiedOn: string;
4377
+ isDefault: boolean;
4378
+ assignedRef: string | null;
4379
+ params?: unknown;
4380
+ }[];
4381
+ provider: string;
4382
+ providerMetadata: {} & {
4383
+ [k: string]: unknown;
4384
+ };
4385
+ } & ({
4386
+ type: "alarm";
4387
+ } | {
4388
+ type: "camera";
4389
+ ptzCapable: boolean;
4390
+ ptzPanSpeed: number;
4391
+ ptzTiltSpeed: number;
4392
+ ptzZoomSpeed: number;
4393
+ panMin: number;
4394
+ panMax: number;
4395
+ tiltMin: number;
4396
+ tiltMax: number;
4397
+ zoomMin: number;
4398
+ zoomMax: number;
4399
+ streams: {
4400
+ id: string;
4401
+ displayName: string;
4402
+ externalPlayerUrl: string | null;
4403
+ rtspUrl: string | null;
4404
+ recordingCapable: boolean;
4405
+ width: number | null;
4406
+ height: number | null;
4407
+ lensType: "flat" | "fisheye";
4408
+ mountPoint: "wall" | "ceiling" | "floor";
4409
+ webrtcPlaybackSource: ({
4410
+ kind: string;
4411
+ } & Record<string, unknown>) | null;
4412
+ }[];
4413
+ defaultStreamId: string;
4414
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
4415
+ } | {
4416
+ type: "door";
4417
+ canReportOpenState: boolean;
4418
+ canReportLockState: boolean;
4419
+ canControlLock: boolean;
4420
+ canRelease: boolean;
4421
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
4422
+ } | {
4423
+ type: "io-board";
4424
+ inputs: string[];
4425
+ outputs: string[];
4426
+ } | {
4427
+ type: "camera-lift";
4428
+ } | {
4429
+ type: "motion-sensor";
4430
+ } | {
4431
+ type: "panic-button";
4432
+ } | {
4433
+ type: "intercom-terminal";
4434
+ sipUri: string;
4435
+ sipUser: string;
4436
+ sipPassword: string;
4437
+ sipRealm: string;
4438
+ remoteExtension: string;
4439
+ } | {
4440
+ type: "pbx";
4441
+ sipWsUrl: string;
4442
+ } | {
4443
+ type: "server";
4444
+ } | {
4445
+ type: "intercom-operator";
4446
+ } | {
4447
+ type: "device-gateway";
4448
+ } | {
4449
+ type: "presence-tracker";
4450
+ } | {
4451
+ type: "reader";
4452
+ } | {
4453
+ type: "display";
4454
+ } | {
4455
+ type: "nvr-recorder";
4456
+ } | {
4457
+ type: "nvr-exporter";
4458
+ } | {
4459
+ type: "nvr-analytics-server";
4460
+ } | {
4461
+ type: "system";
4462
+ })) | [string, string];
4463
+ streamId: string;
4464
+ };
4465
+ command: "nvr-recorder.unmount-stream";
4466
+ }>;
1552
4467
  readonly 'display.set-view': import("zod").ZodObject<{
1553
4468
  command: import("zod").ZodLiteral<"display.set-view">;
1554
4469
  params: import("zod").ZodObject<{