@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
|
@@ -52,6 +52,7 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
52
52
|
height: z.ZodNullable<z.ZodNumber>;
|
|
53
53
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
54
54
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
55
|
+
recordingCapable: z.ZodBoolean;
|
|
55
56
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
56
57
|
kind: z.ZodString;
|
|
57
58
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -68,6 +69,7 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
68
69
|
height: number | null;
|
|
69
70
|
lensType: "flat" | "fisheye";
|
|
70
71
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
72
|
+
recordingCapable: boolean;
|
|
71
73
|
webrtcPlaybackSource: ({
|
|
72
74
|
kind: string;
|
|
73
75
|
} & Record<string, unknown>) | null;
|
|
@@ -80,11 +82,13 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
80
82
|
height: number | null;
|
|
81
83
|
lensType: "flat" | "fisheye";
|
|
82
84
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
85
|
+
recordingCapable: boolean;
|
|
83
86
|
webrtcPlaybackSource: ({
|
|
84
87
|
kind: string;
|
|
85
88
|
} & Record<string, unknown>) | null;
|
|
86
89
|
}>, "many">;
|
|
87
90
|
defaultStreamId: z.ZodString;
|
|
91
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
88
92
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
89
93
|
} & {
|
|
90
94
|
type: z.ZodLiteral<"camera">;
|
|
@@ -109,11 +113,13 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
109
113
|
height: number | null;
|
|
110
114
|
lensType: "flat" | "fisheye";
|
|
111
115
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
116
|
+
recordingCapable: boolean;
|
|
112
117
|
webrtcPlaybackSource: ({
|
|
113
118
|
kind: string;
|
|
114
119
|
} & Record<string, unknown>) | null;
|
|
115
120
|
}[];
|
|
116
121
|
defaultStreamId: string;
|
|
122
|
+
autoSwitchStreams: boolean;
|
|
117
123
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
118
124
|
}, {
|
|
119
125
|
type: "camera";
|
|
@@ -136,11 +142,13 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
136
142
|
height: number | null;
|
|
137
143
|
lensType: "flat" | "fisheye";
|
|
138
144
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
145
|
+
recordingCapable: boolean;
|
|
139
146
|
webrtcPlaybackSource: ({
|
|
140
147
|
kind: string;
|
|
141
148
|
} & Record<string, unknown>) | null;
|
|
142
149
|
}[];
|
|
143
150
|
defaultStreamId: string;
|
|
151
|
+
autoSwitchStreams: boolean;
|
|
144
152
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
145
153
|
}>, z.ZodObject<{
|
|
146
154
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -350,6 +358,7 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
350
358
|
height: z.ZodNullable<z.ZodNumber>;
|
|
351
359
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
352
360
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
361
|
+
recordingCapable: z.ZodBoolean;
|
|
353
362
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
354
363
|
kind: z.ZodString;
|
|
355
364
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -366,6 +375,7 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
366
375
|
height: number | null;
|
|
367
376
|
lensType: "flat" | "fisheye";
|
|
368
377
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
378
|
+
recordingCapable: boolean;
|
|
369
379
|
webrtcPlaybackSource: ({
|
|
370
380
|
kind: string;
|
|
371
381
|
} & Record<string, unknown>) | null;
|
|
@@ -378,11 +388,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
378
388
|
height: number | null;
|
|
379
389
|
lensType: "flat" | "fisheye";
|
|
380
390
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
391
|
+
recordingCapable: boolean;
|
|
381
392
|
webrtcPlaybackSource: ({
|
|
382
393
|
kind: string;
|
|
383
394
|
} & Record<string, unknown>) | null;
|
|
384
395
|
}>, "many">;
|
|
385
396
|
defaultStreamId: z.ZodString;
|
|
397
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
386
398
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
387
399
|
} & {
|
|
388
400
|
type: z.ZodLiteral<"camera">;
|
|
@@ -407,11 +419,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
407
419
|
height: number | null;
|
|
408
420
|
lensType: "flat" | "fisheye";
|
|
409
421
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
422
|
+
recordingCapable: boolean;
|
|
410
423
|
webrtcPlaybackSource: ({
|
|
411
424
|
kind: string;
|
|
412
425
|
} & Record<string, unknown>) | null;
|
|
413
426
|
}[];
|
|
414
427
|
defaultStreamId: string;
|
|
428
|
+
autoSwitchStreams: boolean;
|
|
415
429
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
416
430
|
}, {
|
|
417
431
|
type: "camera";
|
|
@@ -434,11 +448,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
434
448
|
height: number | null;
|
|
435
449
|
lensType: "flat" | "fisheye";
|
|
436
450
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
451
|
+
recordingCapable: boolean;
|
|
437
452
|
webrtcPlaybackSource: ({
|
|
438
453
|
kind: string;
|
|
439
454
|
} & Record<string, unknown>) | null;
|
|
440
455
|
}[];
|
|
441
456
|
defaultStreamId: string;
|
|
457
|
+
autoSwitchStreams: boolean;
|
|
442
458
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
443
459
|
}>, z.ZodObject<{
|
|
444
460
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -638,11 +654,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
638
654
|
height: number | null;
|
|
639
655
|
lensType: "flat" | "fisheye";
|
|
640
656
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
657
|
+
recordingCapable: boolean;
|
|
641
658
|
webrtcPlaybackSource: ({
|
|
642
659
|
kind: string;
|
|
643
660
|
} & Record<string, unknown>) | null;
|
|
644
661
|
}[];
|
|
645
662
|
defaultStreamId: string;
|
|
663
|
+
autoSwitchStreams: boolean;
|
|
646
664
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
647
665
|
} | {
|
|
648
666
|
type: "door";
|
|
@@ -734,11 +752,13 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
734
752
|
height: number | null;
|
|
735
753
|
lensType: "flat" | "fisheye";
|
|
736
754
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
755
|
+
recordingCapable: boolean;
|
|
737
756
|
webrtcPlaybackSource: ({
|
|
738
757
|
kind: string;
|
|
739
758
|
} & Record<string, unknown>) | null;
|
|
740
759
|
}[];
|
|
741
760
|
defaultStreamId: string;
|
|
761
|
+
autoSwitchStreams: boolean;
|
|
742
762
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
743
763
|
} | {
|
|
744
764
|
type: "door";
|
|
@@ -850,6 +870,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
850
870
|
height: z.ZodNullable<z.ZodNumber>;
|
|
851
871
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
852
872
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
873
|
+
recordingCapable: z.ZodBoolean;
|
|
853
874
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
854
875
|
kind: z.ZodString;
|
|
855
876
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -866,6 +887,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
866
887
|
height: number | null;
|
|
867
888
|
lensType: "flat" | "fisheye";
|
|
868
889
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
890
|
+
recordingCapable: boolean;
|
|
869
891
|
webrtcPlaybackSource: ({
|
|
870
892
|
kind: string;
|
|
871
893
|
} & Record<string, unknown>) | null;
|
|
@@ -878,11 +900,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
878
900
|
height: number | null;
|
|
879
901
|
lensType: "flat" | "fisheye";
|
|
880
902
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
903
|
+
recordingCapable: boolean;
|
|
881
904
|
webrtcPlaybackSource: ({
|
|
882
905
|
kind: string;
|
|
883
906
|
} & Record<string, unknown>) | null;
|
|
884
907
|
}>, "many">;
|
|
885
908
|
defaultStreamId: z.ZodString;
|
|
909
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
886
910
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
887
911
|
} & {
|
|
888
912
|
type: z.ZodLiteral<"camera">;
|
|
@@ -907,11 +931,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
907
931
|
height: number | null;
|
|
908
932
|
lensType: "flat" | "fisheye";
|
|
909
933
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
934
|
+
recordingCapable: boolean;
|
|
910
935
|
webrtcPlaybackSource: ({
|
|
911
936
|
kind: string;
|
|
912
937
|
} & Record<string, unknown>) | null;
|
|
913
938
|
}[];
|
|
914
939
|
defaultStreamId: string;
|
|
940
|
+
autoSwitchStreams: boolean;
|
|
915
941
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
916
942
|
}, {
|
|
917
943
|
type: "camera";
|
|
@@ -934,11 +960,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
934
960
|
height: number | null;
|
|
935
961
|
lensType: "flat" | "fisheye";
|
|
936
962
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
963
|
+
recordingCapable: boolean;
|
|
937
964
|
webrtcPlaybackSource: ({
|
|
938
965
|
kind: string;
|
|
939
966
|
} & Record<string, unknown>) | null;
|
|
940
967
|
}[];
|
|
941
968
|
defaultStreamId: string;
|
|
969
|
+
autoSwitchStreams: boolean;
|
|
942
970
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
943
971
|
}>, z.ZodObject<{
|
|
944
972
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -1125,6 +1153,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1125
1153
|
height: z.ZodNullable<z.ZodNumber>;
|
|
1126
1154
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1127
1155
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1156
|
+
recordingCapable: z.ZodBoolean;
|
|
1128
1157
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1129
1158
|
kind: z.ZodString;
|
|
1130
1159
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1141,6 +1170,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1141
1170
|
height: number | null;
|
|
1142
1171
|
lensType: "flat" | "fisheye";
|
|
1143
1172
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1173
|
+
recordingCapable: boolean;
|
|
1144
1174
|
webrtcPlaybackSource: ({
|
|
1145
1175
|
kind: string;
|
|
1146
1176
|
} & Record<string, unknown>) | null;
|
|
@@ -1153,11 +1183,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1153
1183
|
height: number | null;
|
|
1154
1184
|
lensType: "flat" | "fisheye";
|
|
1155
1185
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1186
|
+
recordingCapable: boolean;
|
|
1156
1187
|
webrtcPlaybackSource: ({
|
|
1157
1188
|
kind: string;
|
|
1158
1189
|
} & Record<string, unknown>) | null;
|
|
1159
1190
|
}>, "many">;
|
|
1160
1191
|
defaultStreamId: z.ZodString;
|
|
1192
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
1161
1193
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
1162
1194
|
} & {
|
|
1163
1195
|
type: z.ZodLiteral<"camera">;
|
|
@@ -1182,11 +1214,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1182
1214
|
height: number | null;
|
|
1183
1215
|
lensType: "flat" | "fisheye";
|
|
1184
1216
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1217
|
+
recordingCapable: boolean;
|
|
1185
1218
|
webrtcPlaybackSource: ({
|
|
1186
1219
|
kind: string;
|
|
1187
1220
|
} & Record<string, unknown>) | null;
|
|
1188
1221
|
}[];
|
|
1189
1222
|
defaultStreamId: string;
|
|
1223
|
+
autoSwitchStreams: boolean;
|
|
1190
1224
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1191
1225
|
}, {
|
|
1192
1226
|
type: "camera";
|
|
@@ -1209,11 +1243,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1209
1243
|
height: number | null;
|
|
1210
1244
|
lensType: "flat" | "fisheye";
|
|
1211
1245
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1246
|
+
recordingCapable: boolean;
|
|
1212
1247
|
webrtcPlaybackSource: ({
|
|
1213
1248
|
kind: string;
|
|
1214
1249
|
} & Record<string, unknown>) | null;
|
|
1215
1250
|
}[];
|
|
1216
1251
|
defaultStreamId: string;
|
|
1252
|
+
autoSwitchStreams: boolean;
|
|
1217
1253
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1218
1254
|
}>, z.ZodObject<{
|
|
1219
1255
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -1529,11 +1565,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1529
1565
|
height: number | null;
|
|
1530
1566
|
lensType: "flat" | "fisheye";
|
|
1531
1567
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1568
|
+
recordingCapable: boolean;
|
|
1532
1569
|
webrtcPlaybackSource: ({
|
|
1533
1570
|
kind: string;
|
|
1534
1571
|
} & Record<string, unknown>) | null;
|
|
1535
1572
|
}[];
|
|
1536
1573
|
defaultStreamId: string;
|
|
1574
|
+
autoSwitchStreams: boolean;
|
|
1537
1575
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1538
1576
|
} | {
|
|
1539
1577
|
type: "door";
|
|
@@ -1611,11 +1649,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1611
1649
|
height: number | null;
|
|
1612
1650
|
lensType: "flat" | "fisheye";
|
|
1613
1651
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1652
|
+
recordingCapable: boolean;
|
|
1614
1653
|
webrtcPlaybackSource: ({
|
|
1615
1654
|
kind: string;
|
|
1616
1655
|
} & Record<string, unknown>) | null;
|
|
1617
1656
|
}[];
|
|
1618
1657
|
defaultStreamId: string;
|
|
1658
|
+
autoSwitchStreams: boolean;
|
|
1619
1659
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1620
1660
|
} | {
|
|
1621
1661
|
type: "door";
|
|
@@ -1736,11 +1776,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1736
1776
|
height: number | null;
|
|
1737
1777
|
lensType: "flat" | "fisheye";
|
|
1738
1778
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1779
|
+
recordingCapable: boolean;
|
|
1739
1780
|
webrtcPlaybackSource: ({
|
|
1740
1781
|
kind: string;
|
|
1741
1782
|
} & Record<string, unknown>) | null;
|
|
1742
1783
|
}[];
|
|
1743
1784
|
defaultStreamId: string;
|
|
1785
|
+
autoSwitchStreams: boolean;
|
|
1744
1786
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1745
1787
|
} | {
|
|
1746
1788
|
type: "door";
|
|
@@ -1818,11 +1860,13 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1818
1860
|
height: number | null;
|
|
1819
1861
|
lensType: "flat" | "fisheye";
|
|
1820
1862
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1863
|
+
recordingCapable: boolean;
|
|
1821
1864
|
webrtcPlaybackSource: ({
|
|
1822
1865
|
kind: string;
|
|
1823
1866
|
} & Record<string, unknown>) | null;
|
|
1824
1867
|
}[];
|
|
1825
1868
|
defaultStreamId: string;
|
|
1869
|
+
autoSwitchStreams: boolean;
|
|
1826
1870
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1827
1871
|
} | {
|
|
1828
1872
|
type: "door";
|
package/dist/objects/view.d.ts
CHANGED
|
@@ -29,16 +29,19 @@ export declare const sDeviceArea: z.ZodObject<{
|
|
|
29
29
|
type: z.ZodLiteral<"device">;
|
|
30
30
|
deviceId: z.ZodString;
|
|
31
31
|
streamId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
32
33
|
}, "strip", z.ZodTypeAny, {
|
|
33
34
|
type: "device";
|
|
34
35
|
deviceId: string;
|
|
35
36
|
area: string;
|
|
36
37
|
streamId?: string | undefined;
|
|
38
|
+
fullscreenStreamId?: string | undefined;
|
|
37
39
|
}, {
|
|
38
40
|
type: "device";
|
|
39
41
|
deviceId: string;
|
|
40
42
|
area: string;
|
|
41
43
|
streamId?: string | undefined;
|
|
44
|
+
fullscreenStreamId?: string | undefined;
|
|
42
45
|
}>;
|
|
43
46
|
export type DeviceArea = z.infer<typeof sDeviceArea>;
|
|
44
47
|
export declare const sDeviceCarouselArea: z.ZodObject<{
|
|
@@ -48,12 +51,15 @@ export declare const sDeviceCarouselArea: z.ZodObject<{
|
|
|
48
51
|
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
49
52
|
deviceId: z.ZodString;
|
|
50
53
|
streamId: z.ZodString;
|
|
54
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
51
55
|
}, "strip", z.ZodTypeAny, {
|
|
52
56
|
deviceId: string;
|
|
53
57
|
streamId: string;
|
|
58
|
+
fullscreenStreamId?: string | undefined;
|
|
54
59
|
}, {
|
|
55
60
|
deviceId: string;
|
|
56
61
|
streamId: string;
|
|
62
|
+
fullscreenStreamId?: string | undefined;
|
|
57
63
|
}>, "many">>;
|
|
58
64
|
timeIntervalMs: z.ZodNumber;
|
|
59
65
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -64,6 +70,7 @@ export declare const sDeviceCarouselArea: z.ZodObject<{
|
|
|
64
70
|
streams?: {
|
|
65
71
|
deviceId: string;
|
|
66
72
|
streamId: string;
|
|
73
|
+
fullscreenStreamId?: string | undefined;
|
|
67
74
|
}[] | undefined;
|
|
68
75
|
}, {
|
|
69
76
|
type: "deviceCarousel";
|
|
@@ -73,6 +80,7 @@ export declare const sDeviceCarouselArea: z.ZodObject<{
|
|
|
73
80
|
streams?: {
|
|
74
81
|
deviceId: string;
|
|
75
82
|
streamId: string;
|
|
83
|
+
fullscreenStreamId?: string | undefined;
|
|
76
84
|
}[] | undefined;
|
|
77
85
|
}>;
|
|
78
86
|
export type DeviceCarouselArea = z.infer<typeof sDeviceCarouselArea>;
|
|
@@ -135,16 +143,19 @@ export declare const sViewAreaContents: z.ZodUnion<[z.ZodObject<{
|
|
|
135
143
|
type: z.ZodLiteral<"device">;
|
|
136
144
|
deviceId: z.ZodString;
|
|
137
145
|
streamId: z.ZodOptional<z.ZodString>;
|
|
146
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
138
147
|
}, "strip", z.ZodTypeAny, {
|
|
139
148
|
type: "device";
|
|
140
149
|
deviceId: string;
|
|
141
150
|
area: string;
|
|
142
151
|
streamId?: string | undefined;
|
|
152
|
+
fullscreenStreamId?: string | undefined;
|
|
143
153
|
}, {
|
|
144
154
|
type: "device";
|
|
145
155
|
deviceId: string;
|
|
146
156
|
area: string;
|
|
147
157
|
streamId?: string | undefined;
|
|
158
|
+
fullscreenStreamId?: string | undefined;
|
|
148
159
|
}>, z.ZodObject<{
|
|
149
160
|
area: z.ZodString;
|
|
150
161
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
@@ -152,12 +163,15 @@ export declare const sViewAreaContents: z.ZodUnion<[z.ZodObject<{
|
|
|
152
163
|
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
164
|
deviceId: z.ZodString;
|
|
154
165
|
streamId: z.ZodString;
|
|
166
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
155
167
|
}, "strip", z.ZodTypeAny, {
|
|
156
168
|
deviceId: string;
|
|
157
169
|
streamId: string;
|
|
170
|
+
fullscreenStreamId?: string | undefined;
|
|
158
171
|
}, {
|
|
159
172
|
deviceId: string;
|
|
160
173
|
streamId: string;
|
|
174
|
+
fullscreenStreamId?: string | undefined;
|
|
161
175
|
}>, "many">>;
|
|
162
176
|
timeIntervalMs: z.ZodNumber;
|
|
163
177
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -168,6 +182,7 @@ export declare const sViewAreaContents: z.ZodUnion<[z.ZodObject<{
|
|
|
168
182
|
streams?: {
|
|
169
183
|
deviceId: string;
|
|
170
184
|
streamId: string;
|
|
185
|
+
fullscreenStreamId?: string | undefined;
|
|
171
186
|
}[] | undefined;
|
|
172
187
|
}, {
|
|
173
188
|
type: "deviceCarousel";
|
|
@@ -177,6 +192,7 @@ export declare const sViewAreaContents: z.ZodUnion<[z.ZodObject<{
|
|
|
177
192
|
streams?: {
|
|
178
193
|
deviceId: string;
|
|
179
194
|
streamId: string;
|
|
195
|
+
fullscreenStreamId?: string | undefined;
|
|
180
196
|
}[] | undefined;
|
|
181
197
|
}>, z.ZodObject<{
|
|
182
198
|
area: z.ZodString;
|
|
@@ -240,16 +256,19 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
240
256
|
type: z.ZodLiteral<"device">;
|
|
241
257
|
deviceId: z.ZodString;
|
|
242
258
|
streamId: z.ZodOptional<z.ZodString>;
|
|
259
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
243
260
|
}, "strip", z.ZodTypeAny, {
|
|
244
261
|
type: "device";
|
|
245
262
|
deviceId: string;
|
|
246
263
|
area: string;
|
|
247
264
|
streamId?: string | undefined;
|
|
265
|
+
fullscreenStreamId?: string | undefined;
|
|
248
266
|
}, {
|
|
249
267
|
type: "device";
|
|
250
268
|
deviceId: string;
|
|
251
269
|
area: string;
|
|
252
270
|
streamId?: string | undefined;
|
|
271
|
+
fullscreenStreamId?: string | undefined;
|
|
253
272
|
}>, z.ZodObject<{
|
|
254
273
|
area: z.ZodString;
|
|
255
274
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
@@ -257,12 +276,15 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
257
276
|
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
258
277
|
deviceId: z.ZodString;
|
|
259
278
|
streamId: z.ZodString;
|
|
279
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
260
280
|
}, "strip", z.ZodTypeAny, {
|
|
261
281
|
deviceId: string;
|
|
262
282
|
streamId: string;
|
|
283
|
+
fullscreenStreamId?: string | undefined;
|
|
263
284
|
}, {
|
|
264
285
|
deviceId: string;
|
|
265
286
|
streamId: string;
|
|
287
|
+
fullscreenStreamId?: string | undefined;
|
|
266
288
|
}>, "many">>;
|
|
267
289
|
timeIntervalMs: z.ZodNumber;
|
|
268
290
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -273,6 +295,7 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
273
295
|
streams?: {
|
|
274
296
|
deviceId: string;
|
|
275
297
|
streamId: string;
|
|
298
|
+
fullscreenStreamId?: string | undefined;
|
|
276
299
|
}[] | undefined;
|
|
277
300
|
}, {
|
|
278
301
|
type: "deviceCarousel";
|
|
@@ -282,6 +305,7 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
282
305
|
streams?: {
|
|
283
306
|
deviceId: string;
|
|
284
307
|
streamId: string;
|
|
308
|
+
fullscreenStreamId?: string | undefined;
|
|
285
309
|
}[] | undefined;
|
|
286
310
|
}>, z.ZodObject<{
|
|
287
311
|
area: z.ZodString;
|
|
@@ -330,6 +354,7 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
330
354
|
deviceId: string;
|
|
331
355
|
area: string;
|
|
332
356
|
streamId?: string | undefined;
|
|
357
|
+
fullscreenStreamId?: string | undefined;
|
|
333
358
|
} | {
|
|
334
359
|
type: "deviceCarousel";
|
|
335
360
|
area: string;
|
|
@@ -338,6 +363,7 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
338
363
|
streams?: {
|
|
339
364
|
deviceId: string;
|
|
340
365
|
streamId: string;
|
|
366
|
+
fullscreenStreamId?: string | undefined;
|
|
341
367
|
}[] | undefined;
|
|
342
368
|
} | {
|
|
343
369
|
type: "playbackTrack";
|
|
@@ -365,6 +391,7 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
365
391
|
deviceId: string;
|
|
366
392
|
area: string;
|
|
367
393
|
streamId?: string | undefined;
|
|
394
|
+
fullscreenStreamId?: string | undefined;
|
|
368
395
|
} | {
|
|
369
396
|
type: "deviceCarousel";
|
|
370
397
|
area: string;
|
|
@@ -373,6 +400,7 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
373
400
|
streams?: {
|
|
374
401
|
deviceId: string;
|
|
375
402
|
streamId: string;
|
|
403
|
+
fullscreenStreamId?: string | undefined;
|
|
376
404
|
}[] | undefined;
|
|
377
405
|
} | {
|
|
378
406
|
type: "playbackTrack";
|
|
@@ -432,16 +460,19 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
432
460
|
type: z.ZodLiteral<"device">;
|
|
433
461
|
deviceId: z.ZodString;
|
|
434
462
|
streamId: z.ZodOptional<z.ZodString>;
|
|
463
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
435
464
|
}, "strip", z.ZodTypeAny, {
|
|
436
465
|
type: "device";
|
|
437
466
|
deviceId: string;
|
|
438
467
|
area: string;
|
|
439
468
|
streamId?: string | undefined;
|
|
469
|
+
fullscreenStreamId?: string | undefined;
|
|
440
470
|
}, {
|
|
441
471
|
type: "device";
|
|
442
472
|
deviceId: string;
|
|
443
473
|
area: string;
|
|
444
474
|
streamId?: string | undefined;
|
|
475
|
+
fullscreenStreamId?: string | undefined;
|
|
445
476
|
}>, z.ZodObject<{
|
|
446
477
|
area: z.ZodString;
|
|
447
478
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
@@ -449,12 +480,15 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
449
480
|
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
450
481
|
deviceId: z.ZodString;
|
|
451
482
|
streamId: z.ZodString;
|
|
483
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
452
484
|
}, "strip", z.ZodTypeAny, {
|
|
453
485
|
deviceId: string;
|
|
454
486
|
streamId: string;
|
|
487
|
+
fullscreenStreamId?: string | undefined;
|
|
455
488
|
}, {
|
|
456
489
|
deviceId: string;
|
|
457
490
|
streamId: string;
|
|
491
|
+
fullscreenStreamId?: string | undefined;
|
|
458
492
|
}>, "many">>;
|
|
459
493
|
timeIntervalMs: z.ZodNumber;
|
|
460
494
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -465,6 +499,7 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
465
499
|
streams?: {
|
|
466
500
|
deviceId: string;
|
|
467
501
|
streamId: string;
|
|
502
|
+
fullscreenStreamId?: string | undefined;
|
|
468
503
|
}[] | undefined;
|
|
469
504
|
}, {
|
|
470
505
|
type: "deviceCarousel";
|
|
@@ -474,6 +509,7 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
474
509
|
streams?: {
|
|
475
510
|
deviceId: string;
|
|
476
511
|
streamId: string;
|
|
512
|
+
fullscreenStreamId?: string | undefined;
|
|
477
513
|
}[] | undefined;
|
|
478
514
|
}>, z.ZodObject<{
|
|
479
515
|
area: z.ZodString;
|
|
@@ -522,6 +558,7 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
522
558
|
deviceId: string;
|
|
523
559
|
area: string;
|
|
524
560
|
streamId?: string | undefined;
|
|
561
|
+
fullscreenStreamId?: string | undefined;
|
|
525
562
|
} | {
|
|
526
563
|
type: "deviceCarousel";
|
|
527
564
|
area: string;
|
|
@@ -530,6 +567,7 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
530
567
|
streams?: {
|
|
531
568
|
deviceId: string;
|
|
532
569
|
streamId: string;
|
|
570
|
+
fullscreenStreamId?: string | undefined;
|
|
533
571
|
}[] | undefined;
|
|
534
572
|
} | {
|
|
535
573
|
type: "playbackTrack";
|
|
@@ -557,6 +595,7 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
557
595
|
deviceId: string;
|
|
558
596
|
area: string;
|
|
559
597
|
streamId?: string | undefined;
|
|
598
|
+
fullscreenStreamId?: string | undefined;
|
|
560
599
|
} | {
|
|
561
600
|
type: "deviceCarousel";
|
|
562
601
|
area: string;
|
|
@@ -565,6 +604,7 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
565
604
|
streams?: {
|
|
566
605
|
deviceId: string;
|
|
567
606
|
streamId: string;
|
|
607
|
+
fullscreenStreamId?: string | undefined;
|
|
568
608
|
}[] | undefined;
|
|
569
609
|
} | {
|
|
570
610
|
type: "playbackTrack";
|
|
@@ -636,16 +676,19 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
636
676
|
type: z.ZodLiteral<"device">;
|
|
637
677
|
deviceId: z.ZodString;
|
|
638
678
|
streamId: z.ZodOptional<z.ZodString>;
|
|
679
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
639
680
|
}, "strip", z.ZodTypeAny, {
|
|
640
681
|
type: "device";
|
|
641
682
|
deviceId: string;
|
|
642
683
|
area: string;
|
|
643
684
|
streamId?: string | undefined;
|
|
685
|
+
fullscreenStreamId?: string | undefined;
|
|
644
686
|
}, {
|
|
645
687
|
type: "device";
|
|
646
688
|
deviceId: string;
|
|
647
689
|
area: string;
|
|
648
690
|
streamId?: string | undefined;
|
|
691
|
+
fullscreenStreamId?: string | undefined;
|
|
649
692
|
}>, z.ZodObject<{
|
|
650
693
|
area: z.ZodString;
|
|
651
694
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
@@ -653,12 +696,15 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
653
696
|
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
654
697
|
deviceId: z.ZodString;
|
|
655
698
|
streamId: z.ZodString;
|
|
699
|
+
fullscreenStreamId: z.ZodOptional<z.ZodString>;
|
|
656
700
|
}, "strip", z.ZodTypeAny, {
|
|
657
701
|
deviceId: string;
|
|
658
702
|
streamId: string;
|
|
703
|
+
fullscreenStreamId?: string | undefined;
|
|
659
704
|
}, {
|
|
660
705
|
deviceId: string;
|
|
661
706
|
streamId: string;
|
|
707
|
+
fullscreenStreamId?: string | undefined;
|
|
662
708
|
}>, "many">>;
|
|
663
709
|
timeIntervalMs: z.ZodNumber;
|
|
664
710
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -669,6 +715,7 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
669
715
|
streams?: {
|
|
670
716
|
deviceId: string;
|
|
671
717
|
streamId: string;
|
|
718
|
+
fullscreenStreamId?: string | undefined;
|
|
672
719
|
}[] | undefined;
|
|
673
720
|
}, {
|
|
674
721
|
type: "deviceCarousel";
|
|
@@ -678,6 +725,7 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
678
725
|
streams?: {
|
|
679
726
|
deviceId: string;
|
|
680
727
|
streamId: string;
|
|
728
|
+
fullscreenStreamId?: string | undefined;
|
|
681
729
|
}[] | undefined;
|
|
682
730
|
}>, z.ZodObject<{
|
|
683
731
|
area: z.ZodString;
|
|
@@ -726,6 +774,7 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
726
774
|
deviceId: string;
|
|
727
775
|
area: string;
|
|
728
776
|
streamId?: string | undefined;
|
|
777
|
+
fullscreenStreamId?: string | undefined;
|
|
729
778
|
} | {
|
|
730
779
|
type: "deviceCarousel";
|
|
731
780
|
area: string;
|
|
@@ -734,6 +783,7 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
734
783
|
streams?: {
|
|
735
784
|
deviceId: string;
|
|
736
785
|
streamId: string;
|
|
786
|
+
fullscreenStreamId?: string | undefined;
|
|
737
787
|
}[] | undefined;
|
|
738
788
|
} | {
|
|
739
789
|
type: "playbackTrack";
|
|
@@ -761,6 +811,7 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
761
811
|
deviceId: string;
|
|
762
812
|
area: string;
|
|
763
813
|
streamId?: string | undefined;
|
|
814
|
+
fullscreenStreamId?: string | undefined;
|
|
764
815
|
} | {
|
|
765
816
|
type: "deviceCarousel";
|
|
766
817
|
area: string;
|
|
@@ -769,6 +820,7 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
769
820
|
streams?: {
|
|
770
821
|
deviceId: string;
|
|
771
822
|
streamId: string;
|
|
823
|
+
fullscreenStreamId?: string | undefined;
|
|
772
824
|
}[] | undefined;
|
|
773
825
|
} | {
|
|
774
826
|
type: "playbackTrack";
|
package/dist/objects/view.js
CHANGED
|
@@ -16,6 +16,7 @@ exports.sDeviceArea = zod_1.z.object({
|
|
|
16
16
|
type: zod_1.z.literal('device'),
|
|
17
17
|
deviceId: zod_1.z.string().nonempty(),
|
|
18
18
|
streamId: zod_1.z.string().nonempty().optional(),
|
|
19
|
+
fullscreenStreamId: zod_1.z.string().nonempty().optional(),
|
|
19
20
|
});
|
|
20
21
|
exports.sDeviceCarouselArea = zod_1.z.object({
|
|
21
22
|
area: zod_1.z.string().nonempty(),
|
|
@@ -25,6 +26,7 @@ exports.sDeviceCarouselArea = zod_1.z.object({
|
|
|
25
26
|
.array(zod_1.z.object({
|
|
26
27
|
deviceId: zod_1.z.string().nonempty(),
|
|
27
28
|
streamId: zod_1.z.string().nonempty(),
|
|
29
|
+
fullscreenStreamId: zod_1.z.string().nonempty().optional(),
|
|
28
30
|
}))
|
|
29
31
|
.optional(),
|
|
30
32
|
timeIntervalMs: zod_1.z.number().nonnegative(),
|
package/dist/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.60",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|