@awarevue/api-types 2.0.50 → 2.0.51
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 +56 -0
- package/dist/api/commands/all.d.ts +36 -0
- package/dist/api/commands/nvr-exporter.d.ts +36 -0
- package/dist/api/commands/server.d.ts +36 -0
- package/dist/api/queries/all.d.ts +42 -0
- package/dist/api/queries/nvr-recorder.d.ts +84 -0
- package/dist/objects/device/any-device.d.ts +30 -0
- package/dist/objects/device/camera.d.ts +16 -0
- package/dist/objects/device/camera.js +2 -0
- package/dist/objects/device/device-import.d.ts +52 -0
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +20 -0
- package/package.json +1 -1
|
@@ -87,6 +87,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
87
87
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
88
88
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
89
89
|
recordingCapable: z.ZodBoolean;
|
|
90
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
91
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
90
92
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
91
93
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
92
94
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -98,6 +100,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
98
100
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
99
101
|
}, "strip", z.ZodTypeAny, {
|
|
100
102
|
id: string;
|
|
103
|
+
height: number | null;
|
|
104
|
+
width: number | null;
|
|
101
105
|
displayName: string;
|
|
102
106
|
externalPlayerUrl: string | null;
|
|
103
107
|
rtspUrl: string | null;
|
|
@@ -109,6 +113,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
109
113
|
} & Record<string, unknown>) | null;
|
|
110
114
|
}, {
|
|
111
115
|
id: string;
|
|
116
|
+
height: number | null;
|
|
117
|
+
width: number | null;
|
|
112
118
|
displayName: string;
|
|
113
119
|
externalPlayerUrl: string | null;
|
|
114
120
|
rtspUrl: string | null;
|
|
@@ -127,6 +133,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
127
133
|
type: "camera";
|
|
128
134
|
streams: {
|
|
129
135
|
id: string;
|
|
136
|
+
height: number | null;
|
|
137
|
+
width: number | null;
|
|
130
138
|
displayName: string;
|
|
131
139
|
externalPlayerUrl: string | null;
|
|
132
140
|
rtspUrl: string | null;
|
|
@@ -153,6 +161,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
153
161
|
type: "camera";
|
|
154
162
|
streams: {
|
|
155
163
|
id: string;
|
|
164
|
+
height: number | null;
|
|
165
|
+
width: number | null;
|
|
156
166
|
displayName: string;
|
|
157
167
|
externalPlayerUrl: string | null;
|
|
158
168
|
rtspUrl: string | null;
|
|
@@ -346,6 +356,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
346
356
|
type: "camera";
|
|
347
357
|
streams: {
|
|
348
358
|
id: string;
|
|
359
|
+
height: number | null;
|
|
360
|
+
width: number | null;
|
|
349
361
|
displayName: string;
|
|
350
362
|
externalPlayerUrl: string | null;
|
|
351
363
|
rtspUrl: string | null;
|
|
@@ -441,6 +453,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
441
453
|
type: "camera";
|
|
442
454
|
streams: {
|
|
443
455
|
id: string;
|
|
456
|
+
height: number | null;
|
|
457
|
+
width: number | null;
|
|
444
458
|
displayName: string;
|
|
445
459
|
externalPlayerUrl: string | null;
|
|
446
460
|
rtspUrl: string | null;
|
|
@@ -620,6 +634,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
620
634
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
621
635
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
622
636
|
recordingCapable: z.ZodBoolean;
|
|
637
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
638
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
623
639
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
624
640
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
625
641
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -631,6 +647,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
631
647
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
632
648
|
}, "strip", z.ZodTypeAny, {
|
|
633
649
|
id: string;
|
|
650
|
+
height: number | null;
|
|
651
|
+
width: number | null;
|
|
634
652
|
displayName: string;
|
|
635
653
|
externalPlayerUrl: string | null;
|
|
636
654
|
rtspUrl: string | null;
|
|
@@ -642,6 +660,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
642
660
|
} & Record<string, unknown>) | null;
|
|
643
661
|
}, {
|
|
644
662
|
id: string;
|
|
663
|
+
height: number | null;
|
|
664
|
+
width: number | null;
|
|
645
665
|
displayName: string;
|
|
646
666
|
externalPlayerUrl: string | null;
|
|
647
667
|
rtspUrl: string | null;
|
|
@@ -660,6 +680,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
660
680
|
type: "camera";
|
|
661
681
|
streams: {
|
|
662
682
|
id: string;
|
|
683
|
+
height: number | null;
|
|
684
|
+
width: number | null;
|
|
663
685
|
displayName: string;
|
|
664
686
|
externalPlayerUrl: string | null;
|
|
665
687
|
rtspUrl: string | null;
|
|
@@ -686,6 +708,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
686
708
|
type: "camera";
|
|
687
709
|
streams: {
|
|
688
710
|
id: string;
|
|
711
|
+
height: number | null;
|
|
712
|
+
width: number | null;
|
|
689
713
|
displayName: string;
|
|
690
714
|
externalPlayerUrl: string | null;
|
|
691
715
|
rtspUrl: string | null;
|
|
@@ -881,6 +905,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
881
905
|
type: "camera";
|
|
882
906
|
streams: {
|
|
883
907
|
id: string;
|
|
908
|
+
height: number | null;
|
|
909
|
+
width: number | null;
|
|
884
910
|
displayName: string;
|
|
885
911
|
externalPlayerUrl: string | null;
|
|
886
912
|
rtspUrl: string | null;
|
|
@@ -976,6 +1002,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
976
1002
|
type: "camera";
|
|
977
1003
|
streams: {
|
|
978
1004
|
id: string;
|
|
1005
|
+
height: number | null;
|
|
1006
|
+
width: number | null;
|
|
979
1007
|
displayName: string;
|
|
980
1008
|
externalPlayerUrl: string | null;
|
|
981
1009
|
rtspUrl: string | null;
|
|
@@ -1147,6 +1175,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1147
1175
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1148
1176
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
1149
1177
|
recordingCapable: z.ZodBoolean;
|
|
1178
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
1179
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
1150
1180
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1151
1181
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1152
1182
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -1158,6 +1188,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1158
1188
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1159
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1160
1190
|
id: string;
|
|
1191
|
+
height: number | null;
|
|
1192
|
+
width: number | null;
|
|
1161
1193
|
displayName: string;
|
|
1162
1194
|
externalPlayerUrl: string | null;
|
|
1163
1195
|
rtspUrl: string | null;
|
|
@@ -1169,6 +1201,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1169
1201
|
} & Record<string, unknown>) | null;
|
|
1170
1202
|
}, {
|
|
1171
1203
|
id: string;
|
|
1204
|
+
height: number | null;
|
|
1205
|
+
width: number | null;
|
|
1172
1206
|
displayName: string;
|
|
1173
1207
|
externalPlayerUrl: string | null;
|
|
1174
1208
|
rtspUrl: string | null;
|
|
@@ -1187,6 +1221,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1187
1221
|
type: "camera";
|
|
1188
1222
|
streams: {
|
|
1189
1223
|
id: string;
|
|
1224
|
+
height: number | null;
|
|
1225
|
+
width: number | null;
|
|
1190
1226
|
displayName: string;
|
|
1191
1227
|
externalPlayerUrl: string | null;
|
|
1192
1228
|
rtspUrl: string | null;
|
|
@@ -1213,6 +1249,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1213
1249
|
type: "camera";
|
|
1214
1250
|
streams: {
|
|
1215
1251
|
id: string;
|
|
1252
|
+
height: number | null;
|
|
1253
|
+
width: number | null;
|
|
1216
1254
|
displayName: string;
|
|
1217
1255
|
externalPlayerUrl: string | null;
|
|
1218
1256
|
rtspUrl: string | null;
|
|
@@ -1408,6 +1446,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1408
1446
|
type: "camera";
|
|
1409
1447
|
streams: {
|
|
1410
1448
|
id: string;
|
|
1449
|
+
height: number | null;
|
|
1450
|
+
width: number | null;
|
|
1411
1451
|
displayName: string;
|
|
1412
1452
|
externalPlayerUrl: string | null;
|
|
1413
1453
|
rtspUrl: string | null;
|
|
@@ -1503,6 +1543,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1503
1543
|
type: "camera";
|
|
1504
1544
|
streams: {
|
|
1505
1545
|
id: string;
|
|
1546
|
+
height: number | null;
|
|
1547
|
+
width: number | null;
|
|
1506
1548
|
displayName: string;
|
|
1507
1549
|
externalPlayerUrl: string | null;
|
|
1508
1550
|
rtspUrl: string | null;
|
|
@@ -1674,6 +1716,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1674
1716
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1675
1717
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
1676
1718
|
recordingCapable: z.ZodBoolean;
|
|
1719
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
1720
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
1677
1721
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1678
1722
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1679
1723
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -1685,6 +1729,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1685
1729
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1686
1730
|
}, "strip", z.ZodTypeAny, {
|
|
1687
1731
|
id: string;
|
|
1732
|
+
height: number | null;
|
|
1733
|
+
width: number | null;
|
|
1688
1734
|
displayName: string;
|
|
1689
1735
|
externalPlayerUrl: string | null;
|
|
1690
1736
|
rtspUrl: string | null;
|
|
@@ -1696,6 +1742,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1696
1742
|
} & Record<string, unknown>) | null;
|
|
1697
1743
|
}, {
|
|
1698
1744
|
id: string;
|
|
1745
|
+
height: number | null;
|
|
1746
|
+
width: number | null;
|
|
1699
1747
|
displayName: string;
|
|
1700
1748
|
externalPlayerUrl: string | null;
|
|
1701
1749
|
rtspUrl: string | null;
|
|
@@ -1714,6 +1762,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1714
1762
|
type: "camera";
|
|
1715
1763
|
streams: {
|
|
1716
1764
|
id: string;
|
|
1765
|
+
height: number | null;
|
|
1766
|
+
width: number | null;
|
|
1717
1767
|
displayName: string;
|
|
1718
1768
|
externalPlayerUrl: string | null;
|
|
1719
1769
|
rtspUrl: string | null;
|
|
@@ -1740,6 +1790,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1740
1790
|
type: "camera";
|
|
1741
1791
|
streams: {
|
|
1742
1792
|
id: string;
|
|
1793
|
+
height: number | null;
|
|
1794
|
+
width: number | null;
|
|
1743
1795
|
displayName: string;
|
|
1744
1796
|
externalPlayerUrl: string | null;
|
|
1745
1797
|
rtspUrl: string | null;
|
|
@@ -1933,6 +1985,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1933
1985
|
type: "camera";
|
|
1934
1986
|
streams: {
|
|
1935
1987
|
id: string;
|
|
1988
|
+
height: number | null;
|
|
1989
|
+
width: number | null;
|
|
1936
1990
|
displayName: string;
|
|
1937
1991
|
externalPlayerUrl: string | null;
|
|
1938
1992
|
rtspUrl: string | null;
|
|
@@ -2028,6 +2082,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2028
2082
|
type: "camera";
|
|
2029
2083
|
streams: {
|
|
2030
2084
|
id: string;
|
|
2085
|
+
height: number | null;
|
|
2086
|
+
width: number | null;
|
|
2031
2087
|
displayName: string;
|
|
2032
2088
|
externalPlayerUrl: string | null;
|
|
2033
2089
|
rtspUrl: string | null;
|
|
@@ -2188,6 +2244,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2188
2244
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
2189
2245
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
2190
2246
|
recordingCapable: z.ZodBoolean;
|
|
2247
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
2248
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
2191
2249
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
2192
2250
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
2193
2251
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -2199,6 +2257,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2199
2257
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2200
2258
|
}, "strip", z.ZodTypeAny, {
|
|
2201
2259
|
id: string;
|
|
2260
|
+
height: number | null;
|
|
2261
|
+
width: number | null;
|
|
2202
2262
|
displayName: string;
|
|
2203
2263
|
externalPlayerUrl: string | null;
|
|
2204
2264
|
rtspUrl: string | null;
|
|
@@ -2210,6 +2270,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2210
2270
|
} & Record<string, unknown>) | null;
|
|
2211
2271
|
}, {
|
|
2212
2272
|
id: string;
|
|
2273
|
+
height: number | null;
|
|
2274
|
+
width: number | null;
|
|
2213
2275
|
displayName: string;
|
|
2214
2276
|
externalPlayerUrl: string | null;
|
|
2215
2277
|
rtspUrl: string | null;
|
|
@@ -2228,6 +2290,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2228
2290
|
type: "camera";
|
|
2229
2291
|
streams: {
|
|
2230
2292
|
id: string;
|
|
2293
|
+
height: number | null;
|
|
2294
|
+
width: number | null;
|
|
2231
2295
|
displayName: string;
|
|
2232
2296
|
externalPlayerUrl: string | null;
|
|
2233
2297
|
rtspUrl: string | null;
|
|
@@ -2254,6 +2318,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2254
2318
|
type: "camera";
|
|
2255
2319
|
streams: {
|
|
2256
2320
|
id: string;
|
|
2321
|
+
height: number | null;
|
|
2322
|
+
width: number | null;
|
|
2257
2323
|
displayName: string;
|
|
2258
2324
|
externalPlayerUrl: string | null;
|
|
2259
2325
|
rtspUrl: string | null;
|
|
@@ -2449,6 +2515,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2449
2515
|
type: "camera";
|
|
2450
2516
|
streams: {
|
|
2451
2517
|
id: string;
|
|
2518
|
+
height: number | null;
|
|
2519
|
+
width: number | null;
|
|
2452
2520
|
displayName: string;
|
|
2453
2521
|
externalPlayerUrl: string | null;
|
|
2454
2522
|
rtspUrl: string | null;
|
|
@@ -2544,6 +2612,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2544
2612
|
type: "camera";
|
|
2545
2613
|
streams: {
|
|
2546
2614
|
id: string;
|
|
2615
|
+
height: number | null;
|
|
2616
|
+
width: number | null;
|
|
2547
2617
|
displayName: string;
|
|
2548
2618
|
externalPlayerUrl: string | null;
|
|
2549
2619
|
rtspUrl: string | null;
|
|
@@ -2702,6 +2772,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2702
2772
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
2703
2773
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
2704
2774
|
recordingCapable: z.ZodBoolean;
|
|
2775
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
2776
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
2705
2777
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
2706
2778
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
2707
2779
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -2713,6 +2785,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2713
2785
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2714
2786
|
}, "strip", z.ZodTypeAny, {
|
|
2715
2787
|
id: string;
|
|
2788
|
+
height: number | null;
|
|
2789
|
+
width: number | null;
|
|
2716
2790
|
displayName: string;
|
|
2717
2791
|
externalPlayerUrl: string | null;
|
|
2718
2792
|
rtspUrl: string | null;
|
|
@@ -2724,6 +2798,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2724
2798
|
} & Record<string, unknown>) | null;
|
|
2725
2799
|
}, {
|
|
2726
2800
|
id: string;
|
|
2801
|
+
height: number | null;
|
|
2802
|
+
width: number | null;
|
|
2727
2803
|
displayName: string;
|
|
2728
2804
|
externalPlayerUrl: string | null;
|
|
2729
2805
|
rtspUrl: string | null;
|
|
@@ -2742,6 +2818,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2742
2818
|
type: "camera";
|
|
2743
2819
|
streams: {
|
|
2744
2820
|
id: string;
|
|
2821
|
+
height: number | null;
|
|
2822
|
+
width: number | null;
|
|
2745
2823
|
displayName: string;
|
|
2746
2824
|
externalPlayerUrl: string | null;
|
|
2747
2825
|
rtspUrl: string | null;
|
|
@@ -2768,6 +2846,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2768
2846
|
type: "camera";
|
|
2769
2847
|
streams: {
|
|
2770
2848
|
id: string;
|
|
2849
|
+
height: number | null;
|
|
2850
|
+
width: number | null;
|
|
2771
2851
|
displayName: string;
|
|
2772
2852
|
externalPlayerUrl: string | null;
|
|
2773
2853
|
rtspUrl: string | null;
|
|
@@ -2963,6 +3043,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2963
3043
|
type: "camera";
|
|
2964
3044
|
streams: {
|
|
2965
3045
|
id: string;
|
|
3046
|
+
height: number | null;
|
|
3047
|
+
width: number | null;
|
|
2966
3048
|
displayName: string;
|
|
2967
3049
|
externalPlayerUrl: string | null;
|
|
2968
3050
|
rtspUrl: string | null;
|
|
@@ -3058,6 +3140,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
3058
3140
|
type: "camera";
|
|
3059
3141
|
streams: {
|
|
3060
3142
|
id: string;
|
|
3143
|
+
height: number | null;
|
|
3144
|
+
width: number | null;
|
|
3061
3145
|
displayName: string;
|
|
3062
3146
|
externalPlayerUrl: string | null;
|
|
3063
3147
|
rtspUrl: string | null;
|
|
@@ -59,6 +59,8 @@ export declare const sAnyDeviceSpecs: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
59
59
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
60
60
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
61
61
|
recordingCapable: z.ZodBoolean;
|
|
62
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
63
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
62
64
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
63
65
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
64
66
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -70,6 +72,8 @@ export declare const sAnyDeviceSpecs: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
70
72
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
71
73
|
}, "strip", z.ZodTypeAny, {
|
|
72
74
|
id: string;
|
|
75
|
+
height: number | null;
|
|
76
|
+
width: number | null;
|
|
73
77
|
displayName: string;
|
|
74
78
|
externalPlayerUrl: string | null;
|
|
75
79
|
rtspUrl: string | null;
|
|
@@ -81,6 +85,8 @@ export declare const sAnyDeviceSpecs: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
81
85
|
} & Record<string, unknown>) | null;
|
|
82
86
|
}, {
|
|
83
87
|
id: string;
|
|
88
|
+
height: number | null;
|
|
89
|
+
width: number | null;
|
|
84
90
|
displayName: string;
|
|
85
91
|
externalPlayerUrl: string | null;
|
|
86
92
|
rtspUrl: string | null;
|
|
@@ -99,6 +105,8 @@ export declare const sAnyDeviceSpecs: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
99
105
|
type: "camera";
|
|
100
106
|
streams: {
|
|
101
107
|
id: string;
|
|
108
|
+
height: number | null;
|
|
109
|
+
width: number | null;
|
|
102
110
|
displayName: string;
|
|
103
111
|
externalPlayerUrl: string | null;
|
|
104
112
|
rtspUrl: string | null;
|
|
@@ -125,6 +133,8 @@ export declare const sAnyDeviceSpecs: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
125
133
|
type: "camera";
|
|
126
134
|
streams: {
|
|
127
135
|
id: string;
|
|
136
|
+
height: number | null;
|
|
137
|
+
width: number | null;
|
|
128
138
|
displayName: string;
|
|
129
139
|
externalPlayerUrl: string | null;
|
|
130
140
|
rtspUrl: string | null;
|
|
@@ -451,6 +461,8 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
|
|
|
451
461
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
452
462
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
453
463
|
recordingCapable: z.ZodBoolean;
|
|
464
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
465
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
454
466
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
455
467
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
456
468
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -462,6 +474,8 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
|
|
|
462
474
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
463
475
|
}, "strip", z.ZodTypeAny, {
|
|
464
476
|
id: string;
|
|
477
|
+
height: number | null;
|
|
478
|
+
width: number | null;
|
|
465
479
|
displayName: string;
|
|
466
480
|
externalPlayerUrl: string | null;
|
|
467
481
|
rtspUrl: string | null;
|
|
@@ -473,6 +487,8 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
|
|
|
473
487
|
} & Record<string, unknown>) | null;
|
|
474
488
|
}, {
|
|
475
489
|
id: string;
|
|
490
|
+
height: number | null;
|
|
491
|
+
width: number | null;
|
|
476
492
|
displayName: string;
|
|
477
493
|
externalPlayerUrl: string | null;
|
|
478
494
|
rtspUrl: string | null;
|
|
@@ -491,6 +507,8 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
|
|
|
491
507
|
type: "camera";
|
|
492
508
|
streams: {
|
|
493
509
|
id: string;
|
|
510
|
+
height: number | null;
|
|
511
|
+
width: number | null;
|
|
494
512
|
displayName: string;
|
|
495
513
|
externalPlayerUrl: string | null;
|
|
496
514
|
rtspUrl: string | null;
|
|
@@ -517,6 +535,8 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
|
|
|
517
535
|
type: "camera";
|
|
518
536
|
streams: {
|
|
519
537
|
id: string;
|
|
538
|
+
height: number | null;
|
|
539
|
+
width: number | null;
|
|
520
540
|
displayName: string;
|
|
521
541
|
externalPlayerUrl: string | null;
|
|
522
542
|
rtspUrl: string | null;
|
|
@@ -809,6 +829,8 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
|
|
|
809
829
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
810
830
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
811
831
|
recordingCapable: z.ZodBoolean;
|
|
832
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
833
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
812
834
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
813
835
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
814
836
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -820,6 +842,8 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
|
|
|
820
842
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
821
843
|
}, "strip", z.ZodTypeAny, {
|
|
822
844
|
id: string;
|
|
845
|
+
height: number | null;
|
|
846
|
+
width: number | null;
|
|
823
847
|
displayName: string;
|
|
824
848
|
externalPlayerUrl: string | null;
|
|
825
849
|
rtspUrl: string | null;
|
|
@@ -831,6 +855,8 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
|
|
|
831
855
|
} & Record<string, unknown>) | null;
|
|
832
856
|
}, {
|
|
833
857
|
id: string;
|
|
858
|
+
height: number | null;
|
|
859
|
+
width: number | null;
|
|
834
860
|
displayName: string;
|
|
835
861
|
externalPlayerUrl: string | null;
|
|
836
862
|
rtspUrl: string | null;
|
|
@@ -849,6 +875,8 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
|
|
|
849
875
|
type: "camera";
|
|
850
876
|
streams: {
|
|
851
877
|
id: string;
|
|
878
|
+
height: number | null;
|
|
879
|
+
width: number | null;
|
|
852
880
|
displayName: string;
|
|
853
881
|
externalPlayerUrl: string | null;
|
|
854
882
|
rtspUrl: string | null;
|
|
@@ -875,6 +903,8 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
|
|
|
875
903
|
type: "camera";
|
|
876
904
|
streams: {
|
|
877
905
|
id: string;
|
|
906
|
+
height: number | null;
|
|
907
|
+
width: number | null;
|
|
878
908
|
displayName: string;
|
|
879
909
|
externalPlayerUrl: string | null;
|
|
880
910
|
rtspUrl: string | null;
|
|
@@ -13,6 +13,8 @@ export declare const sStreamInfo: z.ZodObject<{
|
|
|
13
13
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
14
14
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
15
15
|
recordingCapable: z.ZodBoolean;
|
|
16
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
17
19
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
18
20
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -24,6 +26,8 @@ export declare const sStreamInfo: z.ZodObject<{
|
|
|
24
26
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
27
|
}, "strip", z.ZodTypeAny, {
|
|
26
28
|
id: string;
|
|
29
|
+
height: number | null;
|
|
30
|
+
width: number | null;
|
|
27
31
|
displayName: string;
|
|
28
32
|
externalPlayerUrl: string | null;
|
|
29
33
|
rtspUrl: string | null;
|
|
@@ -35,6 +39,8 @@ export declare const sStreamInfo: z.ZodObject<{
|
|
|
35
39
|
} & Record<string, unknown>) | null;
|
|
36
40
|
}, {
|
|
37
41
|
id: string;
|
|
42
|
+
height: number | null;
|
|
43
|
+
width: number | null;
|
|
38
44
|
displayName: string;
|
|
39
45
|
externalPlayerUrl: string | null;
|
|
40
46
|
rtspUrl: string | null;
|
|
@@ -62,6 +68,8 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
62
68
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
63
69
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
64
70
|
recordingCapable: z.ZodBoolean;
|
|
71
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
72
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
65
73
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
66
74
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
67
75
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -73,6 +81,8 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
73
81
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
74
82
|
}, "strip", z.ZodTypeAny, {
|
|
75
83
|
id: string;
|
|
84
|
+
height: number | null;
|
|
85
|
+
width: number | null;
|
|
76
86
|
displayName: string;
|
|
77
87
|
externalPlayerUrl: string | null;
|
|
78
88
|
rtspUrl: string | null;
|
|
@@ -84,6 +94,8 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
84
94
|
} & Record<string, unknown>) | null;
|
|
85
95
|
}, {
|
|
86
96
|
id: string;
|
|
97
|
+
height: number | null;
|
|
98
|
+
width: number | null;
|
|
87
99
|
displayName: string;
|
|
88
100
|
externalPlayerUrl: string | null;
|
|
89
101
|
rtspUrl: string | null;
|
|
@@ -99,6 +111,8 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
99
111
|
}, "strip", z.ZodTypeAny, {
|
|
100
112
|
streams: {
|
|
101
113
|
id: string;
|
|
114
|
+
height: number | null;
|
|
115
|
+
width: number | null;
|
|
102
116
|
displayName: string;
|
|
103
117
|
externalPlayerUrl: string | null;
|
|
104
118
|
rtspUrl: string | null;
|
|
@@ -124,6 +138,8 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
124
138
|
}, {
|
|
125
139
|
streams: {
|
|
126
140
|
id: string;
|
|
141
|
+
height: number | null;
|
|
142
|
+
width: number | null;
|
|
127
143
|
displayName: string;
|
|
128
144
|
externalPlayerUrl: string | null;
|
|
129
145
|
rtspUrl: string | null;
|
|
@@ -15,6 +15,8 @@ exports.sStreamInfo = zod_1.z.object({
|
|
|
15
15
|
externalPlayerUrl: zod_1.z.string().nullable(),
|
|
16
16
|
rtspUrl: zod_1.z.string().nonempty().nullable(),
|
|
17
17
|
recordingCapable: zod_1.z.boolean(),
|
|
18
|
+
width: zod_1.z.number().positive().nullable(),
|
|
19
|
+
height: zod_1.z.number().positive().nullable(),
|
|
18
20
|
lensType: zod_1.z.enum(['flat', 'fisheye']),
|
|
19
21
|
mountPoint: zod_1.z.enum(['wall', 'ceiling', 'floor']),
|
|
20
22
|
webrtcPlaybackSource: exports.sWebRtcPlaybackSource.nullable(),
|