@awarevue/api-types 2.0.50 → 2.0.52
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/api/rest/layout.d.ts +6 -0
- package/dist/api/rest/layout.js +2 -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/objects/layout.d.ts +3 -0
- package/dist/objects/layout.js +1 -0
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +20 -0
- package/package.json +1 -1
|
@@ -49,6 +49,8 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
49
49
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
50
50
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
51
51
|
recordingCapable: z.ZodBoolean;
|
|
52
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
52
54
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
53
55
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
54
56
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -60,6 +62,8 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
60
62
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
61
63
|
}, "strip", z.ZodTypeAny, {
|
|
62
64
|
id: string;
|
|
65
|
+
height: number | null;
|
|
66
|
+
width: number | null;
|
|
63
67
|
displayName: string;
|
|
64
68
|
externalPlayerUrl: string | null;
|
|
65
69
|
rtspUrl: string | null;
|
|
@@ -71,6 +75,8 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
71
75
|
} & Record<string, unknown>) | null;
|
|
72
76
|
}, {
|
|
73
77
|
id: string;
|
|
78
|
+
height: number | null;
|
|
79
|
+
width: number | null;
|
|
74
80
|
displayName: string;
|
|
75
81
|
externalPlayerUrl: string | null;
|
|
76
82
|
rtspUrl: string | null;
|
|
@@ -89,6 +95,8 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
89
95
|
type: "camera";
|
|
90
96
|
streams: {
|
|
91
97
|
id: string;
|
|
98
|
+
height: number | null;
|
|
99
|
+
width: number | null;
|
|
92
100
|
displayName: string;
|
|
93
101
|
externalPlayerUrl: string | null;
|
|
94
102
|
rtspUrl: string | null;
|
|
@@ -115,6 +123,8 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
115
123
|
type: "camera";
|
|
116
124
|
streams: {
|
|
117
125
|
id: string;
|
|
126
|
+
height: number | null;
|
|
127
|
+
width: number | null;
|
|
118
128
|
displayName: string;
|
|
119
129
|
externalPlayerUrl: string | null;
|
|
120
130
|
rtspUrl: string | null;
|
|
@@ -342,6 +352,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
342
352
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
343
353
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
344
354
|
recordingCapable: z.ZodBoolean;
|
|
355
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
356
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
345
357
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
346
358
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
347
359
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -353,6 +365,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
353
365
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
354
366
|
}, "strip", z.ZodTypeAny, {
|
|
355
367
|
id: string;
|
|
368
|
+
height: number | null;
|
|
369
|
+
width: number | null;
|
|
356
370
|
displayName: string;
|
|
357
371
|
externalPlayerUrl: string | null;
|
|
358
372
|
rtspUrl: string | null;
|
|
@@ -364,6 +378,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
364
378
|
} & Record<string, unknown>) | null;
|
|
365
379
|
}, {
|
|
366
380
|
id: string;
|
|
381
|
+
height: number | null;
|
|
382
|
+
width: number | null;
|
|
367
383
|
displayName: string;
|
|
368
384
|
externalPlayerUrl: string | null;
|
|
369
385
|
rtspUrl: string | null;
|
|
@@ -382,6 +398,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
382
398
|
type: "camera";
|
|
383
399
|
streams: {
|
|
384
400
|
id: string;
|
|
401
|
+
height: number | null;
|
|
402
|
+
width: number | null;
|
|
385
403
|
displayName: string;
|
|
386
404
|
externalPlayerUrl: string | null;
|
|
387
405
|
rtspUrl: string | null;
|
|
@@ -408,6 +426,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
408
426
|
type: "camera";
|
|
409
427
|
streams: {
|
|
410
428
|
id: string;
|
|
429
|
+
height: number | null;
|
|
430
|
+
width: number | null;
|
|
411
431
|
displayName: string;
|
|
412
432
|
externalPlayerUrl: string | null;
|
|
413
433
|
rtspUrl: string | null;
|
|
@@ -611,6 +631,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
611
631
|
type: "camera";
|
|
612
632
|
streams: {
|
|
613
633
|
id: string;
|
|
634
|
+
height: number | null;
|
|
635
|
+
width: number | null;
|
|
614
636
|
displayName: string;
|
|
615
637
|
externalPlayerUrl: string | null;
|
|
616
638
|
rtspUrl: string | null;
|
|
@@ -706,6 +728,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
706
728
|
type: "camera";
|
|
707
729
|
streams: {
|
|
708
730
|
id: string;
|
|
731
|
+
height: number | null;
|
|
732
|
+
width: number | null;
|
|
709
733
|
displayName: string;
|
|
710
734
|
externalPlayerUrl: string | null;
|
|
711
735
|
rtspUrl: string | null;
|
|
@@ -835,6 +859,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
835
859
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
836
860
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
837
861
|
recordingCapable: z.ZodBoolean;
|
|
862
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
863
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
838
864
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
839
865
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
840
866
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -846,6 +872,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
846
872
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
847
873
|
}, "strip", z.ZodTypeAny, {
|
|
848
874
|
id: string;
|
|
875
|
+
height: number | null;
|
|
876
|
+
width: number | null;
|
|
849
877
|
displayName: string;
|
|
850
878
|
externalPlayerUrl: string | null;
|
|
851
879
|
rtspUrl: string | null;
|
|
@@ -857,6 +885,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
857
885
|
} & Record<string, unknown>) | null;
|
|
858
886
|
}, {
|
|
859
887
|
id: string;
|
|
888
|
+
height: number | null;
|
|
889
|
+
width: number | null;
|
|
860
890
|
displayName: string;
|
|
861
891
|
externalPlayerUrl: string | null;
|
|
862
892
|
rtspUrl: string | null;
|
|
@@ -875,6 +905,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
875
905
|
type: "camera";
|
|
876
906
|
streams: {
|
|
877
907
|
id: string;
|
|
908
|
+
height: number | null;
|
|
909
|
+
width: number | null;
|
|
878
910
|
displayName: string;
|
|
879
911
|
externalPlayerUrl: string | null;
|
|
880
912
|
rtspUrl: string | null;
|
|
@@ -901,6 +933,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
901
933
|
type: "camera";
|
|
902
934
|
streams: {
|
|
903
935
|
id: string;
|
|
936
|
+
height: number | null;
|
|
937
|
+
width: number | null;
|
|
904
938
|
displayName: string;
|
|
905
939
|
externalPlayerUrl: string | null;
|
|
906
940
|
rtspUrl: string | null;
|
|
@@ -1105,6 +1139,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1105
1139
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1106
1140
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
1107
1141
|
recordingCapable: z.ZodBoolean;
|
|
1142
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
1143
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
1108
1144
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1109
1145
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1110
1146
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -1116,6 +1152,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1116
1152
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1117
1153
|
}, "strip", z.ZodTypeAny, {
|
|
1118
1154
|
id: string;
|
|
1155
|
+
height: number | null;
|
|
1156
|
+
width: number | null;
|
|
1119
1157
|
displayName: string;
|
|
1120
1158
|
externalPlayerUrl: string | null;
|
|
1121
1159
|
rtspUrl: string | null;
|
|
@@ -1127,6 +1165,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1127
1165
|
} & Record<string, unknown>) | null;
|
|
1128
1166
|
}, {
|
|
1129
1167
|
id: string;
|
|
1168
|
+
height: number | null;
|
|
1169
|
+
width: number | null;
|
|
1130
1170
|
displayName: string;
|
|
1131
1171
|
externalPlayerUrl: string | null;
|
|
1132
1172
|
rtspUrl: string | null;
|
|
@@ -1145,6 +1185,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1145
1185
|
type: "camera";
|
|
1146
1186
|
streams: {
|
|
1147
1187
|
id: string;
|
|
1188
|
+
height: number | null;
|
|
1189
|
+
width: number | null;
|
|
1148
1190
|
displayName: string;
|
|
1149
1191
|
externalPlayerUrl: string | null;
|
|
1150
1192
|
rtspUrl: string | null;
|
|
@@ -1171,6 +1213,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1171
1213
|
type: "camera";
|
|
1172
1214
|
streams: {
|
|
1173
1215
|
id: string;
|
|
1216
|
+
height: number | null;
|
|
1217
|
+
width: number | null;
|
|
1174
1218
|
displayName: string;
|
|
1175
1219
|
externalPlayerUrl: string | null;
|
|
1176
1220
|
rtspUrl: string | null;
|
|
@@ -1476,6 +1520,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1476
1520
|
type: "camera";
|
|
1477
1521
|
streams: {
|
|
1478
1522
|
id: string;
|
|
1523
|
+
height: number | null;
|
|
1524
|
+
width: number | null;
|
|
1479
1525
|
displayName: string;
|
|
1480
1526
|
externalPlayerUrl: string | null;
|
|
1481
1527
|
rtspUrl: string | null;
|
|
@@ -1595,6 +1641,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1595
1641
|
type: "camera";
|
|
1596
1642
|
streams: {
|
|
1597
1643
|
id: string;
|
|
1644
|
+
height: number | null;
|
|
1645
|
+
width: number | null;
|
|
1598
1646
|
displayName: string;
|
|
1599
1647
|
externalPlayerUrl: string | null;
|
|
1600
1648
|
rtspUrl: string | null;
|
|
@@ -1681,6 +1729,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1681
1729
|
type: "camera";
|
|
1682
1730
|
streams: {
|
|
1683
1731
|
id: string;
|
|
1732
|
+
height: number | null;
|
|
1733
|
+
width: number | null;
|
|
1684
1734
|
displayName: string;
|
|
1685
1735
|
externalPlayerUrl: string | null;
|
|
1686
1736
|
rtspUrl: string | null;
|
|
@@ -1800,6 +1850,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1800
1850
|
type: "camera";
|
|
1801
1851
|
streams: {
|
|
1802
1852
|
id: string;
|
|
1853
|
+
height: number | null;
|
|
1854
|
+
width: number | null;
|
|
1803
1855
|
displayName: string;
|
|
1804
1856
|
externalPlayerUrl: string | null;
|
|
1805
1857
|
rtspUrl: string | null;
|
package/dist/objects/layout.d.ts
CHANGED
|
@@ -58,9 +58,11 @@ export declare const sLayoutDto: z.ZodObject<{
|
|
|
58
58
|
far: number;
|
|
59
59
|
}>, "many">;
|
|
60
60
|
colorize: z.ZodBoolean;
|
|
61
|
+
map: z.ZodBoolean;
|
|
61
62
|
createdOn: z.ZodString;
|
|
62
63
|
lastModifiedOn: z.ZodString;
|
|
63
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
map: boolean;
|
|
64
66
|
name: string;
|
|
65
67
|
id: string;
|
|
66
68
|
order: number;
|
|
@@ -80,6 +82,7 @@ export declare const sLayoutDto: z.ZodObject<{
|
|
|
80
82
|
}[];
|
|
81
83
|
colorize: boolean;
|
|
82
84
|
}, {
|
|
85
|
+
map: boolean;
|
|
83
86
|
name: string;
|
|
84
87
|
id: string;
|
|
85
88
|
order: number;
|
package/dist/objects/layout.js
CHANGED
package/dist/package.json
CHANGED
package/dist/primitives.d.ts
CHANGED
|
@@ -117,6 +117,8 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
117
117
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
118
118
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
119
119
|
recordingCapable: z.ZodBoolean;
|
|
120
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
121
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
120
122
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
121
123
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
122
124
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -128,6 +130,8 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
128
130
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
129
131
|
}, "strip", z.ZodTypeAny, {
|
|
130
132
|
id: string;
|
|
133
|
+
height: number | null;
|
|
134
|
+
width: number | null;
|
|
131
135
|
displayName: string;
|
|
132
136
|
externalPlayerUrl: string | null;
|
|
133
137
|
rtspUrl: string | null;
|
|
@@ -139,6 +143,8 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
139
143
|
} & Record<string, unknown>) | null;
|
|
140
144
|
}, {
|
|
141
145
|
id: string;
|
|
146
|
+
height: number | null;
|
|
147
|
+
width: number | null;
|
|
142
148
|
displayName: string;
|
|
143
149
|
externalPlayerUrl: string | null;
|
|
144
150
|
rtspUrl: string | null;
|
|
@@ -157,6 +163,8 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
157
163
|
type: "camera";
|
|
158
164
|
streams: {
|
|
159
165
|
id: string;
|
|
166
|
+
height: number | null;
|
|
167
|
+
width: number | null;
|
|
160
168
|
displayName: string;
|
|
161
169
|
externalPlayerUrl: string | null;
|
|
162
170
|
rtspUrl: string | null;
|
|
@@ -183,6 +191,8 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
183
191
|
type: "camera";
|
|
184
192
|
streams: {
|
|
185
193
|
id: string;
|
|
194
|
+
height: number | null;
|
|
195
|
+
width: number | null;
|
|
186
196
|
displayName: string;
|
|
187
197
|
externalPlayerUrl: string | null;
|
|
188
198
|
rtspUrl: string | null;
|
|
@@ -439,6 +449,8 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
439
449
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
440
450
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
441
451
|
recordingCapable: z.ZodBoolean;
|
|
452
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
453
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
442
454
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
443
455
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
444
456
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -450,6 +462,8 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
450
462
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
451
463
|
}, "strip", z.ZodTypeAny, {
|
|
452
464
|
id: string;
|
|
465
|
+
height: number | null;
|
|
466
|
+
width: number | null;
|
|
453
467
|
displayName: string;
|
|
454
468
|
externalPlayerUrl: string | null;
|
|
455
469
|
rtspUrl: string | null;
|
|
@@ -461,6 +475,8 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
461
475
|
} & Record<string, unknown>) | null;
|
|
462
476
|
}, {
|
|
463
477
|
id: string;
|
|
478
|
+
height: number | null;
|
|
479
|
+
width: number | null;
|
|
464
480
|
displayName: string;
|
|
465
481
|
externalPlayerUrl: string | null;
|
|
466
482
|
rtspUrl: string | null;
|
|
@@ -479,6 +495,8 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
479
495
|
type: "camera";
|
|
480
496
|
streams: {
|
|
481
497
|
id: string;
|
|
498
|
+
height: number | null;
|
|
499
|
+
width: number | null;
|
|
482
500
|
displayName: string;
|
|
483
501
|
externalPlayerUrl: string | null;
|
|
484
502
|
rtspUrl: string | null;
|
|
@@ -505,6 +523,8 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
505
523
|
type: "camera";
|
|
506
524
|
streams: {
|
|
507
525
|
id: string;
|
|
526
|
+
height: number | null;
|
|
527
|
+
width: number | null;
|
|
508
528
|
displayName: string;
|
|
509
529
|
externalPlayerUrl: string | null;
|
|
510
530
|
rtspUrl: string | null;
|