@awarevue/api-types 2.0.49 → 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/dist/primitives.js +6 -6
- package/package.json +1 -1
|
@@ -108,6 +108,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
108
108
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
109
109
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
110
110
|
recordingCapable: z.ZodBoolean;
|
|
111
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
112
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
111
113
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
112
114
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
113
115
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -119,6 +121,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
119
121
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
120
122
|
}, "strip", z.ZodTypeAny, {
|
|
121
123
|
id: string;
|
|
124
|
+
height: number | null;
|
|
125
|
+
width: number | null;
|
|
122
126
|
displayName: string;
|
|
123
127
|
externalPlayerUrl: string | null;
|
|
124
128
|
rtspUrl: string | null;
|
|
@@ -130,6 +134,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
130
134
|
} & Record<string, unknown>) | null;
|
|
131
135
|
}, {
|
|
132
136
|
id: string;
|
|
137
|
+
height: number | null;
|
|
138
|
+
width: number | null;
|
|
133
139
|
displayName: string;
|
|
134
140
|
externalPlayerUrl: string | null;
|
|
135
141
|
rtspUrl: string | null;
|
|
@@ -148,6 +154,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
148
154
|
type: "camera";
|
|
149
155
|
streams: {
|
|
150
156
|
id: string;
|
|
157
|
+
height: number | null;
|
|
158
|
+
width: number | null;
|
|
151
159
|
displayName: string;
|
|
152
160
|
externalPlayerUrl: string | null;
|
|
153
161
|
rtspUrl: string | null;
|
|
@@ -174,6 +182,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
174
182
|
type: "camera";
|
|
175
183
|
streams: {
|
|
176
184
|
id: string;
|
|
185
|
+
height: number | null;
|
|
186
|
+
width: number | null;
|
|
177
187
|
displayName: string;
|
|
178
188
|
externalPlayerUrl: string | null;
|
|
179
189
|
rtspUrl: string | null;
|
|
@@ -371,6 +381,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
371
381
|
type: "camera";
|
|
372
382
|
streams: {
|
|
373
383
|
id: string;
|
|
384
|
+
height: number | null;
|
|
385
|
+
width: number | null;
|
|
374
386
|
displayName: string;
|
|
375
387
|
externalPlayerUrl: string | null;
|
|
376
388
|
rtspUrl: string | null;
|
|
@@ -469,6 +481,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
469
481
|
type: "camera";
|
|
470
482
|
streams: {
|
|
471
483
|
id: string;
|
|
484
|
+
height: number | null;
|
|
485
|
+
width: number | null;
|
|
472
486
|
displayName: string;
|
|
473
487
|
externalPlayerUrl: string | null;
|
|
474
488
|
rtspUrl: string | null;
|
|
@@ -569,6 +583,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
569
583
|
type: "camera";
|
|
570
584
|
streams: {
|
|
571
585
|
id: string;
|
|
586
|
+
height: number | null;
|
|
587
|
+
width: number | null;
|
|
572
588
|
displayName: string;
|
|
573
589
|
externalPlayerUrl: string | null;
|
|
574
590
|
rtspUrl: string | null;
|
|
@@ -670,6 +686,8 @@ export declare const sNotify: z.ZodObject<{
|
|
|
670
686
|
type: "camera";
|
|
671
687
|
streams: {
|
|
672
688
|
id: string;
|
|
689
|
+
height: number | null;
|
|
690
|
+
width: number | null;
|
|
673
691
|
displayName: string;
|
|
674
692
|
externalPlayerUrl: string | null;
|
|
675
693
|
rtspUrl: string | null;
|
|
@@ -859,6 +877,8 @@ export declare const serverCommands: {
|
|
|
859
877
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
860
878
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
861
879
|
recordingCapable: z.ZodBoolean;
|
|
880
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
881
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
862
882
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
863
883
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
864
884
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -870,6 +890,8 @@ export declare const serverCommands: {
|
|
|
870
890
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
871
891
|
}, "strip", z.ZodTypeAny, {
|
|
872
892
|
id: string;
|
|
893
|
+
height: number | null;
|
|
894
|
+
width: number | null;
|
|
873
895
|
displayName: string;
|
|
874
896
|
externalPlayerUrl: string | null;
|
|
875
897
|
rtspUrl: string | null;
|
|
@@ -881,6 +903,8 @@ export declare const serverCommands: {
|
|
|
881
903
|
} & Record<string, unknown>) | null;
|
|
882
904
|
}, {
|
|
883
905
|
id: string;
|
|
906
|
+
height: number | null;
|
|
907
|
+
width: number | null;
|
|
884
908
|
displayName: string;
|
|
885
909
|
externalPlayerUrl: string | null;
|
|
886
910
|
rtspUrl: string | null;
|
|
@@ -899,6 +923,8 @@ export declare const serverCommands: {
|
|
|
899
923
|
type: "camera";
|
|
900
924
|
streams: {
|
|
901
925
|
id: string;
|
|
926
|
+
height: number | null;
|
|
927
|
+
width: number | null;
|
|
902
928
|
displayName: string;
|
|
903
929
|
externalPlayerUrl: string | null;
|
|
904
930
|
rtspUrl: string | null;
|
|
@@ -925,6 +951,8 @@ export declare const serverCommands: {
|
|
|
925
951
|
type: "camera";
|
|
926
952
|
streams: {
|
|
927
953
|
id: string;
|
|
954
|
+
height: number | null;
|
|
955
|
+
width: number | null;
|
|
928
956
|
displayName: string;
|
|
929
957
|
externalPlayerUrl: string | null;
|
|
930
958
|
rtspUrl: string | null;
|
|
@@ -1122,6 +1150,8 @@ export declare const serverCommands: {
|
|
|
1122
1150
|
type: "camera";
|
|
1123
1151
|
streams: {
|
|
1124
1152
|
id: string;
|
|
1153
|
+
height: number | null;
|
|
1154
|
+
width: number | null;
|
|
1125
1155
|
displayName: string;
|
|
1126
1156
|
externalPlayerUrl: string | null;
|
|
1127
1157
|
rtspUrl: string | null;
|
|
@@ -1220,6 +1250,8 @@ export declare const serverCommands: {
|
|
|
1220
1250
|
type: "camera";
|
|
1221
1251
|
streams: {
|
|
1222
1252
|
id: string;
|
|
1253
|
+
height: number | null;
|
|
1254
|
+
width: number | null;
|
|
1223
1255
|
displayName: string;
|
|
1224
1256
|
externalPlayerUrl: string | null;
|
|
1225
1257
|
rtspUrl: string | null;
|
|
@@ -1320,6 +1352,8 @@ export declare const serverCommands: {
|
|
|
1320
1352
|
type: "camera";
|
|
1321
1353
|
streams: {
|
|
1322
1354
|
id: string;
|
|
1355
|
+
height: number | null;
|
|
1356
|
+
width: number | null;
|
|
1323
1357
|
displayName: string;
|
|
1324
1358
|
externalPlayerUrl: string | null;
|
|
1325
1359
|
rtspUrl: string | null;
|
|
@@ -1421,6 +1455,8 @@ export declare const serverCommands: {
|
|
|
1421
1455
|
type: "camera";
|
|
1422
1456
|
streams: {
|
|
1423
1457
|
id: string;
|
|
1458
|
+
height: number | null;
|
|
1459
|
+
width: number | null;
|
|
1424
1460
|
displayName: string;
|
|
1425
1461
|
externalPlayerUrl: string | null;
|
|
1426
1462
|
rtspUrl: string | null;
|
|
@@ -227,6 +227,8 @@ export declare const requestSchemasByType: {
|
|
|
227
227
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
228
228
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
229
229
|
recordingCapable: z.ZodBoolean;
|
|
230
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
231
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
230
232
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
231
233
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
232
234
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -238,6 +240,8 @@ export declare const requestSchemasByType: {
|
|
|
238
240
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
239
241
|
}, "strip", z.ZodTypeAny, {
|
|
240
242
|
id: string;
|
|
243
|
+
height: number | null;
|
|
244
|
+
width: number | null;
|
|
241
245
|
displayName: string;
|
|
242
246
|
externalPlayerUrl: string | null;
|
|
243
247
|
rtspUrl: string | null;
|
|
@@ -249,6 +253,8 @@ export declare const requestSchemasByType: {
|
|
|
249
253
|
} & Record<string, unknown>) | null;
|
|
250
254
|
}, {
|
|
251
255
|
id: string;
|
|
256
|
+
height: number | null;
|
|
257
|
+
width: number | null;
|
|
252
258
|
displayName: string;
|
|
253
259
|
externalPlayerUrl: string | null;
|
|
254
260
|
rtspUrl: string | null;
|
|
@@ -267,6 +273,8 @@ export declare const requestSchemasByType: {
|
|
|
267
273
|
type: "camera";
|
|
268
274
|
streams: {
|
|
269
275
|
id: string;
|
|
276
|
+
height: number | null;
|
|
277
|
+
width: number | null;
|
|
270
278
|
displayName: string;
|
|
271
279
|
externalPlayerUrl: string | null;
|
|
272
280
|
rtspUrl: string | null;
|
|
@@ -293,6 +301,8 @@ export declare const requestSchemasByType: {
|
|
|
293
301
|
type: "camera";
|
|
294
302
|
streams: {
|
|
295
303
|
id: string;
|
|
304
|
+
height: number | null;
|
|
305
|
+
width: number | null;
|
|
296
306
|
displayName: string;
|
|
297
307
|
externalPlayerUrl: string | null;
|
|
298
308
|
rtspUrl: string | null;
|
|
@@ -486,6 +496,8 @@ export declare const requestSchemasByType: {
|
|
|
486
496
|
type: "camera";
|
|
487
497
|
streams: {
|
|
488
498
|
id: string;
|
|
499
|
+
height: number | null;
|
|
500
|
+
width: number | null;
|
|
489
501
|
displayName: string;
|
|
490
502
|
externalPlayerUrl: string | null;
|
|
491
503
|
rtspUrl: string | null;
|
|
@@ -581,6 +593,8 @@ export declare const requestSchemasByType: {
|
|
|
581
593
|
type: "camera";
|
|
582
594
|
streams: {
|
|
583
595
|
id: string;
|
|
596
|
+
height: number | null;
|
|
597
|
+
width: number | null;
|
|
584
598
|
displayName: string;
|
|
585
599
|
externalPlayerUrl: string | null;
|
|
586
600
|
rtspUrl: string | null;
|
|
@@ -741,6 +755,8 @@ export declare const requestSchemasByType: {
|
|
|
741
755
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
742
756
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
743
757
|
recordingCapable: z.ZodBoolean;
|
|
758
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
759
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
744
760
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
745
761
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
746
762
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -752,6 +768,8 @@ export declare const requestSchemasByType: {
|
|
|
752
768
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
753
769
|
}, "strip", z.ZodTypeAny, {
|
|
754
770
|
id: string;
|
|
771
|
+
height: number | null;
|
|
772
|
+
width: number | null;
|
|
755
773
|
displayName: string;
|
|
756
774
|
externalPlayerUrl: string | null;
|
|
757
775
|
rtspUrl: string | null;
|
|
@@ -763,6 +781,8 @@ export declare const requestSchemasByType: {
|
|
|
763
781
|
} & Record<string, unknown>) | null;
|
|
764
782
|
}, {
|
|
765
783
|
id: string;
|
|
784
|
+
height: number | null;
|
|
785
|
+
width: number | null;
|
|
766
786
|
displayName: string;
|
|
767
787
|
externalPlayerUrl: string | null;
|
|
768
788
|
rtspUrl: string | null;
|
|
@@ -781,6 +801,8 @@ export declare const requestSchemasByType: {
|
|
|
781
801
|
type: "camera";
|
|
782
802
|
streams: {
|
|
783
803
|
id: string;
|
|
804
|
+
height: number | null;
|
|
805
|
+
width: number | null;
|
|
784
806
|
displayName: string;
|
|
785
807
|
externalPlayerUrl: string | null;
|
|
786
808
|
rtspUrl: string | null;
|
|
@@ -807,6 +829,8 @@ export declare const requestSchemasByType: {
|
|
|
807
829
|
type: "camera";
|
|
808
830
|
streams: {
|
|
809
831
|
id: string;
|
|
832
|
+
height: number | null;
|
|
833
|
+
width: number | null;
|
|
810
834
|
displayName: string;
|
|
811
835
|
externalPlayerUrl: string | null;
|
|
812
836
|
rtspUrl: string | null;
|
|
@@ -1002,6 +1026,8 @@ export declare const requestSchemasByType: {
|
|
|
1002
1026
|
type: "camera";
|
|
1003
1027
|
streams: {
|
|
1004
1028
|
id: string;
|
|
1029
|
+
height: number | null;
|
|
1030
|
+
width: number | null;
|
|
1005
1031
|
displayName: string;
|
|
1006
1032
|
externalPlayerUrl: string | null;
|
|
1007
1033
|
rtspUrl: string | null;
|
|
@@ -1097,6 +1123,8 @@ export declare const requestSchemasByType: {
|
|
|
1097
1123
|
type: "camera";
|
|
1098
1124
|
streams: {
|
|
1099
1125
|
id: string;
|
|
1126
|
+
height: number | null;
|
|
1127
|
+
width: number | null;
|
|
1100
1128
|
displayName: string;
|
|
1101
1129
|
externalPlayerUrl: string | null;
|
|
1102
1130
|
rtspUrl: string | null;
|
|
@@ -1255,6 +1283,8 @@ export declare const requestSchemasByType: {
|
|
|
1255
1283
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1256
1284
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
1257
1285
|
recordingCapable: z.ZodBoolean;
|
|
1286
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
1287
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
1258
1288
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1259
1289
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1260
1290
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
@@ -1266,6 +1296,8 @@ export declare const requestSchemasByType: {
|
|
|
1266
1296
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1267
1297
|
}, "strip", z.ZodTypeAny, {
|
|
1268
1298
|
id: string;
|
|
1299
|
+
height: number | null;
|
|
1300
|
+
width: number | null;
|
|
1269
1301
|
displayName: string;
|
|
1270
1302
|
externalPlayerUrl: string | null;
|
|
1271
1303
|
rtspUrl: string | null;
|
|
@@ -1277,6 +1309,8 @@ export declare const requestSchemasByType: {
|
|
|
1277
1309
|
} & Record<string, unknown>) | null;
|
|
1278
1310
|
}, {
|
|
1279
1311
|
id: string;
|
|
1312
|
+
height: number | null;
|
|
1313
|
+
width: number | null;
|
|
1280
1314
|
displayName: string;
|
|
1281
1315
|
externalPlayerUrl: string | null;
|
|
1282
1316
|
rtspUrl: string | null;
|
|
@@ -1295,6 +1329,8 @@ export declare const requestSchemasByType: {
|
|
|
1295
1329
|
type: "camera";
|
|
1296
1330
|
streams: {
|
|
1297
1331
|
id: string;
|
|
1332
|
+
height: number | null;
|
|
1333
|
+
width: number | null;
|
|
1298
1334
|
displayName: string;
|
|
1299
1335
|
externalPlayerUrl: string | null;
|
|
1300
1336
|
rtspUrl: string | null;
|
|
@@ -1321,6 +1357,8 @@ export declare const requestSchemasByType: {
|
|
|
1321
1357
|
type: "camera";
|
|
1322
1358
|
streams: {
|
|
1323
1359
|
id: string;
|
|
1360
|
+
height: number | null;
|
|
1361
|
+
width: number | null;
|
|
1324
1362
|
displayName: string;
|
|
1325
1363
|
externalPlayerUrl: string | null;
|
|
1326
1364
|
rtspUrl: string | null;
|
|
@@ -1516,6 +1554,8 @@ export declare const requestSchemasByType: {
|
|
|
1516
1554
|
type: "camera";
|
|
1517
1555
|
streams: {
|
|
1518
1556
|
id: string;
|
|
1557
|
+
height: number | null;
|
|
1558
|
+
width: number | null;
|
|
1519
1559
|
displayName: string;
|
|
1520
1560
|
externalPlayerUrl: string | null;
|
|
1521
1561
|
rtspUrl: string | null;
|
|
@@ -1611,6 +1651,8 @@ export declare const requestSchemasByType: {
|
|
|
1611
1651
|
type: "camera";
|
|
1612
1652
|
streams: {
|
|
1613
1653
|
id: string;
|
|
1654
|
+
height: number | null;
|
|
1655
|
+
width: number | null;
|
|
1614
1656
|
displayName: string;
|
|
1615
1657
|
externalPlayerUrl: string | null;
|
|
1616
1658
|
rtspUrl: string | null;
|