@awarevue/api-types 2.0.5 → 2.0.6
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/agent-communication/protocol.d.ts +18 -216
- package/dist/agent-communication/queries.d.ts +18 -216
- package/dist/device/nvr-exporter.d.ts +20 -192
- package/dist/device/nvr-recorder.d.ts +36 -432
- package/dist/device-command.d.ts +10 -96
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +4 -96
- package/dist/primitives.js +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export declare const sRecorderStateDto: z.ZodObject<{
|
|
|
12
12
|
export type RecorderStateDto = z.infer<typeof sRecorderStateDto>;
|
|
13
13
|
export declare const QUERY_RECORDINGS_BY_TIME_RANGE = "cctv:recordings-by-time-range";
|
|
14
14
|
export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
15
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
15
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
16
16
|
name: z.ZodString;
|
|
17
17
|
foreignRef: z.ZodString;
|
|
18
18
|
provider: z.ZodString;
|
|
@@ -258,57 +258,11 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
258
258
|
type: "nvr-analytics-server";
|
|
259
259
|
}, {
|
|
260
260
|
type: "nvr-analytics-server";
|
|
261
|
-
}>]
|
|
262
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
263
|
-
id: z.ZodString;
|
|
264
|
-
name: z.ZodString;
|
|
265
|
-
params: z.ZodUnknown;
|
|
266
|
-
isDefault: z.ZodBoolean;
|
|
267
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
268
|
-
createdOn: z.ZodString;
|
|
269
|
-
lastModifiedOn: z.ZodString;
|
|
270
|
-
}, "strip", z.ZodTypeAny, {
|
|
271
|
-
name: string;
|
|
272
|
-
id: string;
|
|
273
|
-
isDefault: boolean;
|
|
274
|
-
assignedRef: string | null;
|
|
275
|
-
createdOn: string;
|
|
276
|
-
lastModifiedOn: string;
|
|
277
|
-
params?: unknown;
|
|
278
|
-
}, {
|
|
279
|
-
name: string;
|
|
280
|
-
id: string;
|
|
281
|
-
isDefault: boolean;
|
|
282
|
-
assignedRef: string | null;
|
|
283
|
-
createdOn: string;
|
|
284
|
-
lastModifiedOn: string;
|
|
285
|
-
params?: unknown;
|
|
286
|
-
}>, "many">;
|
|
287
|
-
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
presets: {
|
|
289
|
-
name: string;
|
|
290
|
-
id: string;
|
|
291
|
-
isDefault: boolean;
|
|
292
|
-
assignedRef: string | null;
|
|
293
|
-
createdOn: string;
|
|
294
|
-
lastModifiedOn: string;
|
|
295
|
-
params?: unknown;
|
|
296
|
-
}[];
|
|
297
|
-
}, {
|
|
298
|
-
presets: {
|
|
299
|
-
name: string;
|
|
300
|
-
id: string;
|
|
301
|
-
isDefault: boolean;
|
|
302
|
-
assignedRef: string | null;
|
|
303
|
-
createdOn: string;
|
|
304
|
-
lastModifiedOn: string;
|
|
305
|
-
params?: unknown;
|
|
306
|
-
}[];
|
|
307
|
-
}>>]>;
|
|
261
|
+
}>]>>]>;
|
|
308
262
|
timeFrom: z.ZodNumber;
|
|
309
263
|
timeTo: z.ZodNumber;
|
|
310
264
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
device: string | (
|
|
265
|
+
device: string | ({
|
|
312
266
|
name: string;
|
|
313
267
|
foreignRef: string;
|
|
314
268
|
provider: string;
|
|
@@ -385,21 +339,11 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
385
339
|
type: "nvr-exporter";
|
|
386
340
|
} | {
|
|
387
341
|
type: "nvr-analytics-server";
|
|
388
|
-
}))
|
|
389
|
-
presets: {
|
|
390
|
-
name: string;
|
|
391
|
-
id: string;
|
|
392
|
-
isDefault: boolean;
|
|
393
|
-
assignedRef: string | null;
|
|
394
|
-
createdOn: string;
|
|
395
|
-
lastModifiedOn: string;
|
|
396
|
-
params?: unknown;
|
|
397
|
-
}[];
|
|
398
|
-
});
|
|
342
|
+
}));
|
|
399
343
|
timeFrom: number;
|
|
400
344
|
timeTo: number;
|
|
401
345
|
}, {
|
|
402
|
-
device: string | (
|
|
346
|
+
device: string | ({
|
|
403
347
|
name: string;
|
|
404
348
|
foreignRef: string;
|
|
405
349
|
provider: string;
|
|
@@ -476,17 +420,7 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
476
420
|
type: "nvr-exporter";
|
|
477
421
|
} | {
|
|
478
422
|
type: "nvr-analytics-server";
|
|
479
|
-
}))
|
|
480
|
-
presets: {
|
|
481
|
-
name: string;
|
|
482
|
-
id: string;
|
|
483
|
-
isDefault: boolean;
|
|
484
|
-
assignedRef: string | null;
|
|
485
|
-
createdOn: string;
|
|
486
|
-
lastModifiedOn: string;
|
|
487
|
-
params?: unknown;
|
|
488
|
-
}[];
|
|
489
|
-
});
|
|
423
|
+
}));
|
|
490
424
|
timeFrom: number;
|
|
491
425
|
timeTo: number;
|
|
492
426
|
}>;
|
|
@@ -510,7 +444,7 @@ export type RecordingsByTimeRangeArgs = z.infer<typeof sRecordingsByTimeRangeArg
|
|
|
510
444
|
export type RecordingsResponse = z.infer<typeof sRecordingsResponse>;
|
|
511
445
|
export declare const QUERY_PREVIEW_IMAGE = "cctv:preview-image";
|
|
512
446
|
export declare const sPreviewImageArgs: z.ZodObject<{
|
|
513
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
447
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
514
448
|
name: z.ZodString;
|
|
515
449
|
foreignRef: z.ZodString;
|
|
516
450
|
provider: z.ZodString;
|
|
@@ -756,59 +690,13 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
756
690
|
type: "nvr-analytics-server";
|
|
757
691
|
}, {
|
|
758
692
|
type: "nvr-analytics-server";
|
|
759
|
-
}>]
|
|
760
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
761
|
-
id: z.ZodString;
|
|
762
|
-
name: z.ZodString;
|
|
763
|
-
params: z.ZodUnknown;
|
|
764
|
-
isDefault: z.ZodBoolean;
|
|
765
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
766
|
-
createdOn: z.ZodString;
|
|
767
|
-
lastModifiedOn: z.ZodString;
|
|
768
|
-
}, "strip", z.ZodTypeAny, {
|
|
769
|
-
name: string;
|
|
770
|
-
id: string;
|
|
771
|
-
isDefault: boolean;
|
|
772
|
-
assignedRef: string | null;
|
|
773
|
-
createdOn: string;
|
|
774
|
-
lastModifiedOn: string;
|
|
775
|
-
params?: unknown;
|
|
776
|
-
}, {
|
|
777
|
-
name: string;
|
|
778
|
-
id: string;
|
|
779
|
-
isDefault: boolean;
|
|
780
|
-
assignedRef: string | null;
|
|
781
|
-
createdOn: string;
|
|
782
|
-
lastModifiedOn: string;
|
|
783
|
-
params?: unknown;
|
|
784
|
-
}>, "many">;
|
|
785
|
-
}, "strip", z.ZodTypeAny, {
|
|
786
|
-
presets: {
|
|
787
|
-
name: string;
|
|
788
|
-
id: string;
|
|
789
|
-
isDefault: boolean;
|
|
790
|
-
assignedRef: string | null;
|
|
791
|
-
createdOn: string;
|
|
792
|
-
lastModifiedOn: string;
|
|
793
|
-
params?: unknown;
|
|
794
|
-
}[];
|
|
795
|
-
}, {
|
|
796
|
-
presets: {
|
|
797
|
-
name: string;
|
|
798
|
-
id: string;
|
|
799
|
-
isDefault: boolean;
|
|
800
|
-
assignedRef: string | null;
|
|
801
|
-
createdOn: string;
|
|
802
|
-
lastModifiedOn: string;
|
|
803
|
-
params?: unknown;
|
|
804
|
-
}[];
|
|
805
|
-
}>>]>;
|
|
693
|
+
}>]>>]>;
|
|
806
694
|
time: z.ZodNumber;
|
|
807
695
|
height: z.ZodNumber;
|
|
808
696
|
}, "strip", z.ZodTypeAny, {
|
|
809
697
|
time: number;
|
|
810
698
|
height: number;
|
|
811
|
-
device: string | (
|
|
699
|
+
device: string | ({
|
|
812
700
|
name: string;
|
|
813
701
|
foreignRef: string;
|
|
814
702
|
provider: string;
|
|
@@ -885,21 +773,11 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
885
773
|
type: "nvr-exporter";
|
|
886
774
|
} | {
|
|
887
775
|
type: "nvr-analytics-server";
|
|
888
|
-
}))
|
|
889
|
-
presets: {
|
|
890
|
-
name: string;
|
|
891
|
-
id: string;
|
|
892
|
-
isDefault: boolean;
|
|
893
|
-
assignedRef: string | null;
|
|
894
|
-
createdOn: string;
|
|
895
|
-
lastModifiedOn: string;
|
|
896
|
-
params?: unknown;
|
|
897
|
-
}[];
|
|
898
|
-
});
|
|
776
|
+
}));
|
|
899
777
|
}, {
|
|
900
778
|
time: number;
|
|
901
779
|
height: number;
|
|
902
|
-
device: string | (
|
|
780
|
+
device: string | ({
|
|
903
781
|
name: string;
|
|
904
782
|
foreignRef: string;
|
|
905
783
|
provider: string;
|
|
@@ -976,17 +854,7 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
976
854
|
type: "nvr-exporter";
|
|
977
855
|
} | {
|
|
978
856
|
type: "nvr-analytics-server";
|
|
979
|
-
}))
|
|
980
|
-
presets: {
|
|
981
|
-
name: string;
|
|
982
|
-
id: string;
|
|
983
|
-
isDefault: boolean;
|
|
984
|
-
assignedRef: string | null;
|
|
985
|
-
createdOn: string;
|
|
986
|
-
lastModifiedOn: string;
|
|
987
|
-
params?: unknown;
|
|
988
|
-
}[];
|
|
989
|
-
});
|
|
857
|
+
}));
|
|
990
858
|
}>;
|
|
991
859
|
export declare const sPreviewImageResponse: z.ZodNullable<z.ZodObject<{
|
|
992
860
|
mimeType: z.ZodString;
|
|
@@ -1002,7 +870,7 @@ export type PreviewImageArgs = z.infer<typeof sPreviewImageArgs>;
|
|
|
1002
870
|
export type PreviewImageResponse = z.infer<typeof sPreviewImageResponse>;
|
|
1003
871
|
export declare const QUERY_CAMERA_LATEST_FRAME = "cctv:latest-frame";
|
|
1004
872
|
export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
1005
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
873
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
1006
874
|
name: z.ZodString;
|
|
1007
875
|
foreignRef: z.ZodString;
|
|
1008
876
|
provider: z.ZodString;
|
|
@@ -1248,59 +1116,13 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1248
1116
|
type: "nvr-analytics-server";
|
|
1249
1117
|
}, {
|
|
1250
1118
|
type: "nvr-analytics-server";
|
|
1251
|
-
}>]
|
|
1252
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
1253
|
-
id: z.ZodString;
|
|
1254
|
-
name: z.ZodString;
|
|
1255
|
-
params: z.ZodUnknown;
|
|
1256
|
-
isDefault: z.ZodBoolean;
|
|
1257
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
1258
|
-
createdOn: z.ZodString;
|
|
1259
|
-
lastModifiedOn: z.ZodString;
|
|
1260
|
-
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
name: string;
|
|
1262
|
-
id: string;
|
|
1263
|
-
isDefault: boolean;
|
|
1264
|
-
assignedRef: string | null;
|
|
1265
|
-
createdOn: string;
|
|
1266
|
-
lastModifiedOn: string;
|
|
1267
|
-
params?: unknown;
|
|
1268
|
-
}, {
|
|
1269
|
-
name: string;
|
|
1270
|
-
id: string;
|
|
1271
|
-
isDefault: boolean;
|
|
1272
|
-
assignedRef: string | null;
|
|
1273
|
-
createdOn: string;
|
|
1274
|
-
lastModifiedOn: string;
|
|
1275
|
-
params?: unknown;
|
|
1276
|
-
}>, "many">;
|
|
1277
|
-
}, "strip", z.ZodTypeAny, {
|
|
1278
|
-
presets: {
|
|
1279
|
-
name: string;
|
|
1280
|
-
id: string;
|
|
1281
|
-
isDefault: boolean;
|
|
1282
|
-
assignedRef: string | null;
|
|
1283
|
-
createdOn: string;
|
|
1284
|
-
lastModifiedOn: string;
|
|
1285
|
-
params?: unknown;
|
|
1286
|
-
}[];
|
|
1287
|
-
}, {
|
|
1288
|
-
presets: {
|
|
1289
|
-
name: string;
|
|
1290
|
-
id: string;
|
|
1291
|
-
isDefault: boolean;
|
|
1292
|
-
assignedRef: string | null;
|
|
1293
|
-
createdOn: string;
|
|
1294
|
-
lastModifiedOn: string;
|
|
1295
|
-
params?: unknown;
|
|
1296
|
-
}[];
|
|
1297
|
-
}>>]>;
|
|
1119
|
+
}>]>>]>;
|
|
1298
1120
|
width: z.ZodNumber;
|
|
1299
1121
|
height: z.ZodNumber;
|
|
1300
1122
|
}, "strip", z.ZodTypeAny, {
|
|
1301
1123
|
height: number;
|
|
1302
1124
|
width: number;
|
|
1303
|
-
device: string | (
|
|
1125
|
+
device: string | ({
|
|
1304
1126
|
name: string;
|
|
1305
1127
|
foreignRef: string;
|
|
1306
1128
|
provider: string;
|
|
@@ -1377,21 +1199,11 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1377
1199
|
type: "nvr-exporter";
|
|
1378
1200
|
} | {
|
|
1379
1201
|
type: "nvr-analytics-server";
|
|
1380
|
-
}))
|
|
1381
|
-
presets: {
|
|
1382
|
-
name: string;
|
|
1383
|
-
id: string;
|
|
1384
|
-
isDefault: boolean;
|
|
1385
|
-
assignedRef: string | null;
|
|
1386
|
-
createdOn: string;
|
|
1387
|
-
lastModifiedOn: string;
|
|
1388
|
-
params?: unknown;
|
|
1389
|
-
}[];
|
|
1390
|
-
});
|
|
1202
|
+
}));
|
|
1391
1203
|
}, {
|
|
1392
1204
|
height: number;
|
|
1393
1205
|
width: number;
|
|
1394
|
-
device: string | (
|
|
1206
|
+
device: string | ({
|
|
1395
1207
|
name: string;
|
|
1396
1208
|
foreignRef: string;
|
|
1397
1209
|
provider: string;
|
|
@@ -1468,17 +1280,7 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1468
1280
|
type: "nvr-exporter";
|
|
1469
1281
|
} | {
|
|
1470
1282
|
type: "nvr-analytics-server";
|
|
1471
|
-
}))
|
|
1472
|
-
presets: {
|
|
1473
|
-
name: string;
|
|
1474
|
-
id: string;
|
|
1475
|
-
isDefault: boolean;
|
|
1476
|
-
assignedRef: string | null;
|
|
1477
|
-
createdOn: string;
|
|
1478
|
-
lastModifiedOn: string;
|
|
1479
|
-
params?: unknown;
|
|
1480
|
-
}[];
|
|
1481
|
-
});
|
|
1283
|
+
}));
|
|
1482
1284
|
}>;
|
|
1483
1285
|
export declare const sCameraLatestFrameResponse: z.ZodNullable<z.ZodObject<{
|
|
1484
1286
|
mimeType: z.ZodString;
|
|
@@ -1494,7 +1296,7 @@ export type CameraLatestFrameArgs = z.infer<typeof sCameraLatestFrameArgs>;
|
|
|
1494
1296
|
export type CameraLatestFrameResponse = z.infer<typeof sCameraLatestFrameResponse>;
|
|
1495
1297
|
export declare const nvrRecorderRequestSchemas: {
|
|
1496
1298
|
readonly "cctv:recordings-by-time-range": z.ZodObject<{
|
|
1497
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
1299
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
1498
1300
|
name: z.ZodString;
|
|
1499
1301
|
foreignRef: z.ZodString;
|
|
1500
1302
|
provider: z.ZodString;
|
|
@@ -1740,57 +1542,11 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1740
1542
|
type: "nvr-analytics-server";
|
|
1741
1543
|
}, {
|
|
1742
1544
|
type: "nvr-analytics-server";
|
|
1743
|
-
}>]
|
|
1744
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
1745
|
-
id: z.ZodString;
|
|
1746
|
-
name: z.ZodString;
|
|
1747
|
-
params: z.ZodUnknown;
|
|
1748
|
-
isDefault: z.ZodBoolean;
|
|
1749
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
1750
|
-
createdOn: z.ZodString;
|
|
1751
|
-
lastModifiedOn: z.ZodString;
|
|
1752
|
-
}, "strip", z.ZodTypeAny, {
|
|
1753
|
-
name: string;
|
|
1754
|
-
id: string;
|
|
1755
|
-
isDefault: boolean;
|
|
1756
|
-
assignedRef: string | null;
|
|
1757
|
-
createdOn: string;
|
|
1758
|
-
lastModifiedOn: string;
|
|
1759
|
-
params?: unknown;
|
|
1760
|
-
}, {
|
|
1761
|
-
name: string;
|
|
1762
|
-
id: string;
|
|
1763
|
-
isDefault: boolean;
|
|
1764
|
-
assignedRef: string | null;
|
|
1765
|
-
createdOn: string;
|
|
1766
|
-
lastModifiedOn: string;
|
|
1767
|
-
params?: unknown;
|
|
1768
|
-
}>, "many">;
|
|
1769
|
-
}, "strip", z.ZodTypeAny, {
|
|
1770
|
-
presets: {
|
|
1771
|
-
name: string;
|
|
1772
|
-
id: string;
|
|
1773
|
-
isDefault: boolean;
|
|
1774
|
-
assignedRef: string | null;
|
|
1775
|
-
createdOn: string;
|
|
1776
|
-
lastModifiedOn: string;
|
|
1777
|
-
params?: unknown;
|
|
1778
|
-
}[];
|
|
1779
|
-
}, {
|
|
1780
|
-
presets: {
|
|
1781
|
-
name: string;
|
|
1782
|
-
id: string;
|
|
1783
|
-
isDefault: boolean;
|
|
1784
|
-
assignedRef: string | null;
|
|
1785
|
-
createdOn: string;
|
|
1786
|
-
lastModifiedOn: string;
|
|
1787
|
-
params?: unknown;
|
|
1788
|
-
}[];
|
|
1789
|
-
}>>]>;
|
|
1545
|
+
}>]>>]>;
|
|
1790
1546
|
timeFrom: z.ZodNumber;
|
|
1791
1547
|
timeTo: z.ZodNumber;
|
|
1792
1548
|
}, "strip", z.ZodTypeAny, {
|
|
1793
|
-
device: string | (
|
|
1549
|
+
device: string | ({
|
|
1794
1550
|
name: string;
|
|
1795
1551
|
foreignRef: string;
|
|
1796
1552
|
provider: string;
|
|
@@ -1867,21 +1623,11 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1867
1623
|
type: "nvr-exporter";
|
|
1868
1624
|
} | {
|
|
1869
1625
|
type: "nvr-analytics-server";
|
|
1870
|
-
}))
|
|
1871
|
-
presets: {
|
|
1872
|
-
name: string;
|
|
1873
|
-
id: string;
|
|
1874
|
-
isDefault: boolean;
|
|
1875
|
-
assignedRef: string | null;
|
|
1876
|
-
createdOn: string;
|
|
1877
|
-
lastModifiedOn: string;
|
|
1878
|
-
params?: unknown;
|
|
1879
|
-
}[];
|
|
1880
|
-
});
|
|
1626
|
+
}));
|
|
1881
1627
|
timeFrom: number;
|
|
1882
1628
|
timeTo: number;
|
|
1883
1629
|
}, {
|
|
1884
|
-
device: string | (
|
|
1630
|
+
device: string | ({
|
|
1885
1631
|
name: string;
|
|
1886
1632
|
foreignRef: string;
|
|
1887
1633
|
provider: string;
|
|
@@ -1958,22 +1704,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1958
1704
|
type: "nvr-exporter";
|
|
1959
1705
|
} | {
|
|
1960
1706
|
type: "nvr-analytics-server";
|
|
1961
|
-
}))
|
|
1962
|
-
presets: {
|
|
1963
|
-
name: string;
|
|
1964
|
-
id: string;
|
|
1965
|
-
isDefault: boolean;
|
|
1966
|
-
assignedRef: string | null;
|
|
1967
|
-
createdOn: string;
|
|
1968
|
-
lastModifiedOn: string;
|
|
1969
|
-
params?: unknown;
|
|
1970
|
-
}[];
|
|
1971
|
-
});
|
|
1707
|
+
}));
|
|
1972
1708
|
timeFrom: number;
|
|
1973
1709
|
timeTo: number;
|
|
1974
1710
|
}>;
|
|
1975
1711
|
readonly "cctv:preview-image": z.ZodObject<{
|
|
1976
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
1712
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
1977
1713
|
name: z.ZodString;
|
|
1978
1714
|
foreignRef: z.ZodString;
|
|
1979
1715
|
provider: z.ZodString;
|
|
@@ -2219,59 +1955,13 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2219
1955
|
type: "nvr-analytics-server";
|
|
2220
1956
|
}, {
|
|
2221
1957
|
type: "nvr-analytics-server";
|
|
2222
|
-
}>]
|
|
2223
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
2224
|
-
id: z.ZodString;
|
|
2225
|
-
name: z.ZodString;
|
|
2226
|
-
params: z.ZodUnknown;
|
|
2227
|
-
isDefault: z.ZodBoolean;
|
|
2228
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
2229
|
-
createdOn: z.ZodString;
|
|
2230
|
-
lastModifiedOn: z.ZodString;
|
|
2231
|
-
}, "strip", z.ZodTypeAny, {
|
|
2232
|
-
name: string;
|
|
2233
|
-
id: string;
|
|
2234
|
-
isDefault: boolean;
|
|
2235
|
-
assignedRef: string | null;
|
|
2236
|
-
createdOn: string;
|
|
2237
|
-
lastModifiedOn: string;
|
|
2238
|
-
params?: unknown;
|
|
2239
|
-
}, {
|
|
2240
|
-
name: string;
|
|
2241
|
-
id: string;
|
|
2242
|
-
isDefault: boolean;
|
|
2243
|
-
assignedRef: string | null;
|
|
2244
|
-
createdOn: string;
|
|
2245
|
-
lastModifiedOn: string;
|
|
2246
|
-
params?: unknown;
|
|
2247
|
-
}>, "many">;
|
|
2248
|
-
}, "strip", z.ZodTypeAny, {
|
|
2249
|
-
presets: {
|
|
2250
|
-
name: string;
|
|
2251
|
-
id: string;
|
|
2252
|
-
isDefault: boolean;
|
|
2253
|
-
assignedRef: string | null;
|
|
2254
|
-
createdOn: string;
|
|
2255
|
-
lastModifiedOn: string;
|
|
2256
|
-
params?: unknown;
|
|
2257
|
-
}[];
|
|
2258
|
-
}, {
|
|
2259
|
-
presets: {
|
|
2260
|
-
name: string;
|
|
2261
|
-
id: string;
|
|
2262
|
-
isDefault: boolean;
|
|
2263
|
-
assignedRef: string | null;
|
|
2264
|
-
createdOn: string;
|
|
2265
|
-
lastModifiedOn: string;
|
|
2266
|
-
params?: unknown;
|
|
2267
|
-
}[];
|
|
2268
|
-
}>>]>;
|
|
1958
|
+
}>]>>]>;
|
|
2269
1959
|
time: z.ZodNumber;
|
|
2270
1960
|
height: z.ZodNumber;
|
|
2271
1961
|
}, "strip", z.ZodTypeAny, {
|
|
2272
1962
|
time: number;
|
|
2273
1963
|
height: number;
|
|
2274
|
-
device: string | (
|
|
1964
|
+
device: string | ({
|
|
2275
1965
|
name: string;
|
|
2276
1966
|
foreignRef: string;
|
|
2277
1967
|
provider: string;
|
|
@@ -2348,21 +2038,11 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2348
2038
|
type: "nvr-exporter";
|
|
2349
2039
|
} | {
|
|
2350
2040
|
type: "nvr-analytics-server";
|
|
2351
|
-
}))
|
|
2352
|
-
presets: {
|
|
2353
|
-
name: string;
|
|
2354
|
-
id: string;
|
|
2355
|
-
isDefault: boolean;
|
|
2356
|
-
assignedRef: string | null;
|
|
2357
|
-
createdOn: string;
|
|
2358
|
-
lastModifiedOn: string;
|
|
2359
|
-
params?: unknown;
|
|
2360
|
-
}[];
|
|
2361
|
-
});
|
|
2041
|
+
}));
|
|
2362
2042
|
}, {
|
|
2363
2043
|
time: number;
|
|
2364
2044
|
height: number;
|
|
2365
|
-
device: string | (
|
|
2045
|
+
device: string | ({
|
|
2366
2046
|
name: string;
|
|
2367
2047
|
foreignRef: string;
|
|
2368
2048
|
provider: string;
|
|
@@ -2439,20 +2119,10 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2439
2119
|
type: "nvr-exporter";
|
|
2440
2120
|
} | {
|
|
2441
2121
|
type: "nvr-analytics-server";
|
|
2442
|
-
}))
|
|
2443
|
-
presets: {
|
|
2444
|
-
name: string;
|
|
2445
|
-
id: string;
|
|
2446
|
-
isDefault: boolean;
|
|
2447
|
-
assignedRef: string | null;
|
|
2448
|
-
createdOn: string;
|
|
2449
|
-
lastModifiedOn: string;
|
|
2450
|
-
params?: unknown;
|
|
2451
|
-
}[];
|
|
2452
|
-
});
|
|
2122
|
+
}));
|
|
2453
2123
|
}>;
|
|
2454
2124
|
readonly "cctv:latest-frame": z.ZodObject<{
|
|
2455
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
2125
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
2456
2126
|
name: z.ZodString;
|
|
2457
2127
|
foreignRef: z.ZodString;
|
|
2458
2128
|
provider: z.ZodString;
|
|
@@ -2698,59 +2368,13 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2698
2368
|
type: "nvr-analytics-server";
|
|
2699
2369
|
}, {
|
|
2700
2370
|
type: "nvr-analytics-server";
|
|
2701
|
-
}>]
|
|
2702
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
2703
|
-
id: z.ZodString;
|
|
2704
|
-
name: z.ZodString;
|
|
2705
|
-
params: z.ZodUnknown;
|
|
2706
|
-
isDefault: z.ZodBoolean;
|
|
2707
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
2708
|
-
createdOn: z.ZodString;
|
|
2709
|
-
lastModifiedOn: z.ZodString;
|
|
2710
|
-
}, "strip", z.ZodTypeAny, {
|
|
2711
|
-
name: string;
|
|
2712
|
-
id: string;
|
|
2713
|
-
isDefault: boolean;
|
|
2714
|
-
assignedRef: string | null;
|
|
2715
|
-
createdOn: string;
|
|
2716
|
-
lastModifiedOn: string;
|
|
2717
|
-
params?: unknown;
|
|
2718
|
-
}, {
|
|
2719
|
-
name: string;
|
|
2720
|
-
id: string;
|
|
2721
|
-
isDefault: boolean;
|
|
2722
|
-
assignedRef: string | null;
|
|
2723
|
-
createdOn: string;
|
|
2724
|
-
lastModifiedOn: string;
|
|
2725
|
-
params?: unknown;
|
|
2726
|
-
}>, "many">;
|
|
2727
|
-
}, "strip", z.ZodTypeAny, {
|
|
2728
|
-
presets: {
|
|
2729
|
-
name: string;
|
|
2730
|
-
id: string;
|
|
2731
|
-
isDefault: boolean;
|
|
2732
|
-
assignedRef: string | null;
|
|
2733
|
-
createdOn: string;
|
|
2734
|
-
lastModifiedOn: string;
|
|
2735
|
-
params?: unknown;
|
|
2736
|
-
}[];
|
|
2737
|
-
}, {
|
|
2738
|
-
presets: {
|
|
2739
|
-
name: string;
|
|
2740
|
-
id: string;
|
|
2741
|
-
isDefault: boolean;
|
|
2742
|
-
assignedRef: string | null;
|
|
2743
|
-
createdOn: string;
|
|
2744
|
-
lastModifiedOn: string;
|
|
2745
|
-
params?: unknown;
|
|
2746
|
-
}[];
|
|
2747
|
-
}>>]>;
|
|
2371
|
+
}>]>>]>;
|
|
2748
2372
|
width: z.ZodNumber;
|
|
2749
2373
|
height: z.ZodNumber;
|
|
2750
2374
|
}, "strip", z.ZodTypeAny, {
|
|
2751
2375
|
height: number;
|
|
2752
2376
|
width: number;
|
|
2753
|
-
device: string | (
|
|
2377
|
+
device: string | ({
|
|
2754
2378
|
name: string;
|
|
2755
2379
|
foreignRef: string;
|
|
2756
2380
|
provider: string;
|
|
@@ -2827,21 +2451,11 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2827
2451
|
type: "nvr-exporter";
|
|
2828
2452
|
} | {
|
|
2829
2453
|
type: "nvr-analytics-server";
|
|
2830
|
-
}))
|
|
2831
|
-
presets: {
|
|
2832
|
-
name: string;
|
|
2833
|
-
id: string;
|
|
2834
|
-
isDefault: boolean;
|
|
2835
|
-
assignedRef: string | null;
|
|
2836
|
-
createdOn: string;
|
|
2837
|
-
lastModifiedOn: string;
|
|
2838
|
-
params?: unknown;
|
|
2839
|
-
}[];
|
|
2840
|
-
});
|
|
2454
|
+
}));
|
|
2841
2455
|
}, {
|
|
2842
2456
|
height: number;
|
|
2843
2457
|
width: number;
|
|
2844
|
-
device: string | (
|
|
2458
|
+
device: string | ({
|
|
2845
2459
|
name: string;
|
|
2846
2460
|
foreignRef: string;
|
|
2847
2461
|
provider: string;
|
|
@@ -2918,17 +2532,7 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2918
2532
|
type: "nvr-exporter";
|
|
2919
2533
|
} | {
|
|
2920
2534
|
type: "nvr-analytics-server";
|
|
2921
|
-
}))
|
|
2922
|
-
presets: {
|
|
2923
|
-
name: string;
|
|
2924
|
-
id: string;
|
|
2925
|
-
isDefault: boolean;
|
|
2926
|
-
assignedRef: string | null;
|
|
2927
|
-
createdOn: string;
|
|
2928
|
-
lastModifiedOn: string;
|
|
2929
|
-
params?: unknown;
|
|
2930
|
-
}[];
|
|
2931
|
-
});
|
|
2535
|
+
}));
|
|
2932
2536
|
}>;
|
|
2933
2537
|
};
|
|
2934
2538
|
export declare const nvrRecorderResponseSchemas: {
|