@awarevue/api-types 2.0.58 → 2.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/agent-protocol/protocol.d.ts +48 -0
- package/dist/api/commands/all.d.ts +96 -0
- package/dist/api/commands/nvr-exporter.d.ts +32 -0
- package/dist/api/commands/nvr-recorder.d.ts +128 -0
- package/dist/api/commands/server.d.ts +32 -0
- package/dist/api/queries/all.d.ts +36 -0
- package/dist/api/queries/nvr-recorder.d.ts +72 -0
- package/dist/api/rest/view.d.ts +32 -0
- package/dist/objects/device/any-device.d.ts +32 -0
- package/dist/objects/device/camera.d.ts +11 -0
- package/dist/objects/device/camera.js +2 -0
- package/dist/objects/device/device-import.d.ts +44 -0
- package/dist/objects/view.d.ts +52 -0
- package/dist/objects/view.js +2 -0
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +16 -0
- package/package.json +1 -1
|
@@ -445,6 +445,7 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
445
445
|
height: z.ZodNullable<z.ZodNumber>;
|
|
446
446
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
447
447
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
448
|
+
recordingCapable: z.ZodBoolean;
|
|
448
449
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
449
450
|
kind: z.ZodString;
|
|
450
451
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -461,6 +462,7 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
461
462
|
height: number | null;
|
|
462
463
|
lensType: "flat" | "fisheye";
|
|
463
464
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
465
|
+
recordingCapable: boolean;
|
|
464
466
|
webrtcPlaybackSource: ({
|
|
465
467
|
kind: string;
|
|
466
468
|
} & Record<string, unknown>) | null;
|
|
@@ -473,11 +475,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
473
475
|
height: number | null;
|
|
474
476
|
lensType: "flat" | "fisheye";
|
|
475
477
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
478
|
+
recordingCapable: boolean;
|
|
476
479
|
webrtcPlaybackSource: ({
|
|
477
480
|
kind: string;
|
|
478
481
|
} & Record<string, unknown>) | null;
|
|
479
482
|
}>, "many">;
|
|
480
483
|
defaultStreamId: z.ZodString;
|
|
484
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
481
485
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
482
486
|
} & {
|
|
483
487
|
type: z.ZodLiteral<"camera">;
|
|
@@ -502,11 +506,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
502
506
|
height: number | null;
|
|
503
507
|
lensType: "flat" | "fisheye";
|
|
504
508
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
509
|
+
recordingCapable: boolean;
|
|
505
510
|
webrtcPlaybackSource: ({
|
|
506
511
|
kind: string;
|
|
507
512
|
} & Record<string, unknown>) | null;
|
|
508
513
|
}[];
|
|
509
514
|
defaultStreamId: string;
|
|
515
|
+
autoSwitchStreams: boolean;
|
|
510
516
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
511
517
|
}, {
|
|
512
518
|
type: "camera";
|
|
@@ -529,11 +535,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
529
535
|
height: number | null;
|
|
530
536
|
lensType: "flat" | "fisheye";
|
|
531
537
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
538
|
+
recordingCapable: boolean;
|
|
532
539
|
webrtcPlaybackSource: ({
|
|
533
540
|
kind: string;
|
|
534
541
|
} & Record<string, unknown>) | null;
|
|
535
542
|
}[];
|
|
536
543
|
defaultStreamId: string;
|
|
544
|
+
autoSwitchStreams: boolean;
|
|
537
545
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
538
546
|
}>, z.ZodObject<{
|
|
539
547
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -726,11 +734,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
726
734
|
height: number | null;
|
|
727
735
|
lensType: "flat" | "fisheye";
|
|
728
736
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
737
|
+
recordingCapable: boolean;
|
|
729
738
|
webrtcPlaybackSource: ({
|
|
730
739
|
kind: string;
|
|
731
740
|
} & Record<string, unknown>) | null;
|
|
732
741
|
}[];
|
|
733
742
|
defaultStreamId: string;
|
|
743
|
+
autoSwitchStreams: boolean;
|
|
734
744
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
735
745
|
} | {
|
|
736
746
|
type: "door";
|
|
@@ -824,11 +834,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
824
834
|
height: number | null;
|
|
825
835
|
lensType: "flat" | "fisheye";
|
|
826
836
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
837
|
+
recordingCapable: boolean;
|
|
827
838
|
webrtcPlaybackSource: ({
|
|
828
839
|
kind: string;
|
|
829
840
|
} & Record<string, unknown>) | null;
|
|
830
841
|
}[];
|
|
831
842
|
defaultStreamId: string;
|
|
843
|
+
autoSwitchStreams: boolean;
|
|
832
844
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
833
845
|
} | {
|
|
834
846
|
type: "door";
|
|
@@ -983,6 +995,7 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
983
995
|
height: z.ZodNullable<z.ZodNumber>;
|
|
984
996
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
985
997
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
998
|
+
recordingCapable: z.ZodBoolean;
|
|
986
999
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
987
1000
|
kind: z.ZodString;
|
|
988
1001
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -999,6 +1012,7 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
999
1012
|
height: number | null;
|
|
1000
1013
|
lensType: "flat" | "fisheye";
|
|
1001
1014
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1015
|
+
recordingCapable: boolean;
|
|
1002
1016
|
webrtcPlaybackSource: ({
|
|
1003
1017
|
kind: string;
|
|
1004
1018
|
} & Record<string, unknown>) | null;
|
|
@@ -1011,11 +1025,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1011
1025
|
height: number | null;
|
|
1012
1026
|
lensType: "flat" | "fisheye";
|
|
1013
1027
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1028
|
+
recordingCapable: boolean;
|
|
1014
1029
|
webrtcPlaybackSource: ({
|
|
1015
1030
|
kind: string;
|
|
1016
1031
|
} & Record<string, unknown>) | null;
|
|
1017
1032
|
}>, "many">;
|
|
1018
1033
|
defaultStreamId: z.ZodString;
|
|
1034
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
1019
1035
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
1020
1036
|
} & {
|
|
1021
1037
|
type: z.ZodLiteral<"camera">;
|
|
@@ -1040,11 +1056,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1040
1056
|
height: number | null;
|
|
1041
1057
|
lensType: "flat" | "fisheye";
|
|
1042
1058
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1059
|
+
recordingCapable: boolean;
|
|
1043
1060
|
webrtcPlaybackSource: ({
|
|
1044
1061
|
kind: string;
|
|
1045
1062
|
} & Record<string, unknown>) | null;
|
|
1046
1063
|
}[];
|
|
1047
1064
|
defaultStreamId: string;
|
|
1065
|
+
autoSwitchStreams: boolean;
|
|
1048
1066
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1049
1067
|
}, {
|
|
1050
1068
|
type: "camera";
|
|
@@ -1067,11 +1085,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1067
1085
|
height: number | null;
|
|
1068
1086
|
lensType: "flat" | "fisheye";
|
|
1069
1087
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1088
|
+
recordingCapable: boolean;
|
|
1070
1089
|
webrtcPlaybackSource: ({
|
|
1071
1090
|
kind: string;
|
|
1072
1091
|
} & Record<string, unknown>) | null;
|
|
1073
1092
|
}[];
|
|
1074
1093
|
defaultStreamId: string;
|
|
1094
|
+
autoSwitchStreams: boolean;
|
|
1075
1095
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1076
1096
|
}>, z.ZodObject<{
|
|
1077
1097
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -1261,11 +1281,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1261
1281
|
height: number | null;
|
|
1262
1282
|
lensType: "flat" | "fisheye";
|
|
1263
1283
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1284
|
+
recordingCapable: boolean;
|
|
1264
1285
|
webrtcPlaybackSource: ({
|
|
1265
1286
|
kind: string;
|
|
1266
1287
|
} & Record<string, unknown>) | null;
|
|
1267
1288
|
}[];
|
|
1268
1289
|
defaultStreamId: string;
|
|
1290
|
+
autoSwitchStreams: boolean;
|
|
1269
1291
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1270
1292
|
} | {
|
|
1271
1293
|
type: "door";
|
|
@@ -1358,11 +1380,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1358
1380
|
height: number | null;
|
|
1359
1381
|
lensType: "flat" | "fisheye";
|
|
1360
1382
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1383
|
+
recordingCapable: boolean;
|
|
1361
1384
|
webrtcPlaybackSource: ({
|
|
1362
1385
|
kind: string;
|
|
1363
1386
|
} & Record<string, unknown>) | null;
|
|
1364
1387
|
}[];
|
|
1365
1388
|
defaultStreamId: string;
|
|
1389
|
+
autoSwitchStreams: boolean;
|
|
1366
1390
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1367
1391
|
} | {
|
|
1368
1392
|
type: "door";
|
|
@@ -1523,6 +1547,7 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1523
1547
|
height: z.ZodNullable<z.ZodNumber>;
|
|
1524
1548
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1525
1549
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1550
|
+
recordingCapable: z.ZodBoolean;
|
|
1526
1551
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1527
1552
|
kind: z.ZodString;
|
|
1528
1553
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1539,6 +1564,7 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1539
1564
|
height: number | null;
|
|
1540
1565
|
lensType: "flat" | "fisheye";
|
|
1541
1566
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1567
|
+
recordingCapable: boolean;
|
|
1542
1568
|
webrtcPlaybackSource: ({
|
|
1543
1569
|
kind: string;
|
|
1544
1570
|
} & Record<string, unknown>) | null;
|
|
@@ -1551,11 +1577,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1551
1577
|
height: number | null;
|
|
1552
1578
|
lensType: "flat" | "fisheye";
|
|
1553
1579
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1580
|
+
recordingCapable: boolean;
|
|
1554
1581
|
webrtcPlaybackSource: ({
|
|
1555
1582
|
kind: string;
|
|
1556
1583
|
} & Record<string, unknown>) | null;
|
|
1557
1584
|
}>, "many">;
|
|
1558
1585
|
defaultStreamId: z.ZodString;
|
|
1586
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
1559
1587
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
1560
1588
|
} & {
|
|
1561
1589
|
type: z.ZodLiteral<"camera">;
|
|
@@ -1580,11 +1608,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1580
1608
|
height: number | null;
|
|
1581
1609
|
lensType: "flat" | "fisheye";
|
|
1582
1610
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1611
|
+
recordingCapable: boolean;
|
|
1583
1612
|
webrtcPlaybackSource: ({
|
|
1584
1613
|
kind: string;
|
|
1585
1614
|
} & Record<string, unknown>) | null;
|
|
1586
1615
|
}[];
|
|
1587
1616
|
defaultStreamId: string;
|
|
1617
|
+
autoSwitchStreams: boolean;
|
|
1588
1618
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1589
1619
|
}, {
|
|
1590
1620
|
type: "camera";
|
|
@@ -1607,11 +1637,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1607
1637
|
height: number | null;
|
|
1608
1638
|
lensType: "flat" | "fisheye";
|
|
1609
1639
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1640
|
+
recordingCapable: boolean;
|
|
1610
1641
|
webrtcPlaybackSource: ({
|
|
1611
1642
|
kind: string;
|
|
1612
1643
|
} & Record<string, unknown>) | null;
|
|
1613
1644
|
}[];
|
|
1614
1645
|
defaultStreamId: string;
|
|
1646
|
+
autoSwitchStreams: boolean;
|
|
1615
1647
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1616
1648
|
}>, z.ZodObject<{
|
|
1617
1649
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -1802,11 +1834,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1802
1834
|
height: number | null;
|
|
1803
1835
|
lensType: "flat" | "fisheye";
|
|
1804
1836
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1837
|
+
recordingCapable: boolean;
|
|
1805
1838
|
webrtcPlaybackSource: ({
|
|
1806
1839
|
kind: string;
|
|
1807
1840
|
} & Record<string, unknown>) | null;
|
|
1808
1841
|
}[];
|
|
1809
1842
|
defaultStreamId: string;
|
|
1843
|
+
autoSwitchStreams: boolean;
|
|
1810
1844
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1811
1845
|
} | {
|
|
1812
1846
|
type: "door";
|
|
@@ -1900,11 +1934,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1900
1934
|
height: number | null;
|
|
1901
1935
|
lensType: "flat" | "fisheye";
|
|
1902
1936
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1937
|
+
recordingCapable: boolean;
|
|
1903
1938
|
webrtcPlaybackSource: ({
|
|
1904
1939
|
kind: string;
|
|
1905
1940
|
} & Record<string, unknown>) | null;
|
|
1906
1941
|
}[];
|
|
1907
1942
|
defaultStreamId: string;
|
|
1943
|
+
autoSwitchStreams: boolean;
|
|
1908
1944
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1909
1945
|
} | {
|
|
1910
1946
|
type: "door";
|
|
@@ -2090,6 +2126,7 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2090
2126
|
height: z.ZodNullable<z.ZodNumber>;
|
|
2091
2127
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
2092
2128
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
2129
|
+
recordingCapable: z.ZodBoolean;
|
|
2093
2130
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
2094
2131
|
kind: z.ZodString;
|
|
2095
2132
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2106,6 +2143,7 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2106
2143
|
height: number | null;
|
|
2107
2144
|
lensType: "flat" | "fisheye";
|
|
2108
2145
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2146
|
+
recordingCapable: boolean;
|
|
2109
2147
|
webrtcPlaybackSource: ({
|
|
2110
2148
|
kind: string;
|
|
2111
2149
|
} & Record<string, unknown>) | null;
|
|
@@ -2118,11 +2156,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2118
2156
|
height: number | null;
|
|
2119
2157
|
lensType: "flat" | "fisheye";
|
|
2120
2158
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2159
|
+
recordingCapable: boolean;
|
|
2121
2160
|
webrtcPlaybackSource: ({
|
|
2122
2161
|
kind: string;
|
|
2123
2162
|
} & Record<string, unknown>) | null;
|
|
2124
2163
|
}>, "many">;
|
|
2125
2164
|
defaultStreamId: z.ZodString;
|
|
2165
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
2126
2166
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
2127
2167
|
} & {
|
|
2128
2168
|
type: z.ZodLiteral<"camera">;
|
|
@@ -2147,11 +2187,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2147
2187
|
height: number | null;
|
|
2148
2188
|
lensType: "flat" | "fisheye";
|
|
2149
2189
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2190
|
+
recordingCapable: boolean;
|
|
2150
2191
|
webrtcPlaybackSource: ({
|
|
2151
2192
|
kind: string;
|
|
2152
2193
|
} & Record<string, unknown>) | null;
|
|
2153
2194
|
}[];
|
|
2154
2195
|
defaultStreamId: string;
|
|
2196
|
+
autoSwitchStreams: boolean;
|
|
2155
2197
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2156
2198
|
}, {
|
|
2157
2199
|
type: "camera";
|
|
@@ -2174,11 +2216,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2174
2216
|
height: number | null;
|
|
2175
2217
|
lensType: "flat" | "fisheye";
|
|
2176
2218
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2219
|
+
recordingCapable: boolean;
|
|
2177
2220
|
webrtcPlaybackSource: ({
|
|
2178
2221
|
kind: string;
|
|
2179
2222
|
} & Record<string, unknown>) | null;
|
|
2180
2223
|
}[];
|
|
2181
2224
|
defaultStreamId: string;
|
|
2225
|
+
autoSwitchStreams: boolean;
|
|
2182
2226
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2183
2227
|
}>, z.ZodObject<{
|
|
2184
2228
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -2378,11 +2422,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2378
2422
|
height: number | null;
|
|
2379
2423
|
lensType: "flat" | "fisheye";
|
|
2380
2424
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2425
|
+
recordingCapable: boolean;
|
|
2381
2426
|
webrtcPlaybackSource: ({
|
|
2382
2427
|
kind: string;
|
|
2383
2428
|
} & Record<string, unknown>) | null;
|
|
2384
2429
|
}[];
|
|
2385
2430
|
defaultStreamId: string;
|
|
2431
|
+
autoSwitchStreams: boolean;
|
|
2386
2432
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2387
2433
|
} | {
|
|
2388
2434
|
type: "door";
|
|
@@ -2474,11 +2520,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2474
2520
|
height: number | null;
|
|
2475
2521
|
lensType: "flat" | "fisheye";
|
|
2476
2522
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2523
|
+
recordingCapable: boolean;
|
|
2477
2524
|
webrtcPlaybackSource: ({
|
|
2478
2525
|
kind: string;
|
|
2479
2526
|
} & Record<string, unknown>) | null;
|
|
2480
2527
|
}[];
|
|
2481
2528
|
defaultStreamId: string;
|
|
2529
|
+
autoSwitchStreams: boolean;
|
|
2482
2530
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2483
2531
|
} | {
|
|
2484
2532
|
type: "door";
|