@awarevue/api-types 2.0.5 → 2.0.7
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 +52 -210
- package/dist/agent-communication/queries.d.ts +42 -210
- package/dist/device/any-device.d.ts +139 -5
- package/dist/device/any-device.js +10 -1
- package/dist/device/index.d.ts +1 -0
- package/dist/device/index.js +1 -0
- package/dist/device/nvr-exporter.d.ts +44 -188
- package/dist/device/nvr-recorder.d.ts +84 -420
- package/dist/device/other.d.ts +48 -0
- package/dist/device/other.js +21 -0
- package/dist/device-command.d.ts +22 -94
- package/dist/device-event.d.ts +21 -1
- package/dist/device-event.js +3 -0
- package/dist/device-import.d.ts +36 -0
- package/dist/notifications.d.ts +29 -0
- package/dist/notifications.js +15 -0
- package/dist/package.json +1 -1
- package/dist/permissions.d.ts +3 -3
- package/dist/permissions.js +3 -0
- package/dist/primitives.d.ts +14 -92
- package/dist/primitives.js +3 -2
- package/dist/user.d.ts +12 -12
- 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,17 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
258
258
|
type: "nvr-analytics-server";
|
|
259
259
|
}, {
|
|
260
260
|
type: "nvr-analytics-server";
|
|
261
|
-
}
|
|
262
|
-
|
|
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">;
|
|
261
|
+
}>, z.ZodObject<{
|
|
262
|
+
type: z.ZodLiteral<"device-other">;
|
|
287
263
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
|
|
289
|
-
name: string;
|
|
290
|
-
id: string;
|
|
291
|
-
isDefault: boolean;
|
|
292
|
-
assignedRef: string | null;
|
|
293
|
-
createdOn: string;
|
|
294
|
-
lastModifiedOn: string;
|
|
295
|
-
params?: unknown;
|
|
296
|
-
}[];
|
|
264
|
+
type: "device-other";
|
|
297
265
|
}, {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
id: string;
|
|
301
|
-
isDefault: boolean;
|
|
302
|
-
assignedRef: string | null;
|
|
303
|
-
createdOn: string;
|
|
304
|
-
lastModifiedOn: string;
|
|
305
|
-
params?: unknown;
|
|
306
|
-
}[];
|
|
307
|
-
}>>]>;
|
|
266
|
+
type: "device-other";
|
|
267
|
+
}>]>>]>;
|
|
308
268
|
timeFrom: z.ZodNumber;
|
|
309
269
|
timeTo: z.ZodNumber;
|
|
310
270
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
device: string | (
|
|
271
|
+
device: string | ({
|
|
312
272
|
name: string;
|
|
313
273
|
foreignRef: string;
|
|
314
274
|
provider: string;
|
|
@@ -385,21 +345,13 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
385
345
|
type: "nvr-exporter";
|
|
386
346
|
} | {
|
|
387
347
|
type: "nvr-analytics-server";
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
id: string;
|
|
392
|
-
isDefault: boolean;
|
|
393
|
-
assignedRef: string | null;
|
|
394
|
-
createdOn: string;
|
|
395
|
-
lastModifiedOn: string;
|
|
396
|
-
params?: unknown;
|
|
397
|
-
}[];
|
|
398
|
-
});
|
|
348
|
+
} | {
|
|
349
|
+
type: "device-other";
|
|
350
|
+
}));
|
|
399
351
|
timeFrom: number;
|
|
400
352
|
timeTo: number;
|
|
401
353
|
}, {
|
|
402
|
-
device: string | (
|
|
354
|
+
device: string | ({
|
|
403
355
|
name: string;
|
|
404
356
|
foreignRef: string;
|
|
405
357
|
provider: string;
|
|
@@ -476,17 +428,9 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
476
428
|
type: "nvr-exporter";
|
|
477
429
|
} | {
|
|
478
430
|
type: "nvr-analytics-server";
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
id: string;
|
|
483
|
-
isDefault: boolean;
|
|
484
|
-
assignedRef: string | null;
|
|
485
|
-
createdOn: string;
|
|
486
|
-
lastModifiedOn: string;
|
|
487
|
-
params?: unknown;
|
|
488
|
-
}[];
|
|
489
|
-
});
|
|
431
|
+
} | {
|
|
432
|
+
type: "device-other";
|
|
433
|
+
}));
|
|
490
434
|
timeFrom: number;
|
|
491
435
|
timeTo: number;
|
|
492
436
|
}>;
|
|
@@ -510,7 +454,7 @@ export type RecordingsByTimeRangeArgs = z.infer<typeof sRecordingsByTimeRangeArg
|
|
|
510
454
|
export type RecordingsResponse = z.infer<typeof sRecordingsResponse>;
|
|
511
455
|
export declare const QUERY_PREVIEW_IMAGE = "cctv:preview-image";
|
|
512
456
|
export declare const sPreviewImageArgs: z.ZodObject<{
|
|
513
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
457
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
514
458
|
name: z.ZodString;
|
|
515
459
|
foreignRef: z.ZodString;
|
|
516
460
|
provider: z.ZodString;
|
|
@@ -756,59 +700,19 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
756
700
|
type: "nvr-analytics-server";
|
|
757
701
|
}, {
|
|
758
702
|
type: "nvr-analytics-server";
|
|
759
|
-
}
|
|
760
|
-
|
|
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">;
|
|
703
|
+
}>, z.ZodObject<{
|
|
704
|
+
type: z.ZodLiteral<"device-other">;
|
|
785
705
|
}, "strip", z.ZodTypeAny, {
|
|
786
|
-
|
|
787
|
-
name: string;
|
|
788
|
-
id: string;
|
|
789
|
-
isDefault: boolean;
|
|
790
|
-
assignedRef: string | null;
|
|
791
|
-
createdOn: string;
|
|
792
|
-
lastModifiedOn: string;
|
|
793
|
-
params?: unknown;
|
|
794
|
-
}[];
|
|
706
|
+
type: "device-other";
|
|
795
707
|
}, {
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
id: string;
|
|
799
|
-
isDefault: boolean;
|
|
800
|
-
assignedRef: string | null;
|
|
801
|
-
createdOn: string;
|
|
802
|
-
lastModifiedOn: string;
|
|
803
|
-
params?: unknown;
|
|
804
|
-
}[];
|
|
805
|
-
}>>]>;
|
|
708
|
+
type: "device-other";
|
|
709
|
+
}>]>>]>;
|
|
806
710
|
time: z.ZodNumber;
|
|
807
711
|
height: z.ZodNumber;
|
|
808
712
|
}, "strip", z.ZodTypeAny, {
|
|
809
713
|
time: number;
|
|
810
714
|
height: number;
|
|
811
|
-
device: string | (
|
|
715
|
+
device: string | ({
|
|
812
716
|
name: string;
|
|
813
717
|
foreignRef: string;
|
|
814
718
|
provider: string;
|
|
@@ -885,21 +789,13 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
885
789
|
type: "nvr-exporter";
|
|
886
790
|
} | {
|
|
887
791
|
type: "nvr-analytics-server";
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
id: string;
|
|
892
|
-
isDefault: boolean;
|
|
893
|
-
assignedRef: string | null;
|
|
894
|
-
createdOn: string;
|
|
895
|
-
lastModifiedOn: string;
|
|
896
|
-
params?: unknown;
|
|
897
|
-
}[];
|
|
898
|
-
});
|
|
792
|
+
} | {
|
|
793
|
+
type: "device-other";
|
|
794
|
+
}));
|
|
899
795
|
}, {
|
|
900
796
|
time: number;
|
|
901
797
|
height: number;
|
|
902
|
-
device: string | (
|
|
798
|
+
device: string | ({
|
|
903
799
|
name: string;
|
|
904
800
|
foreignRef: string;
|
|
905
801
|
provider: string;
|
|
@@ -976,17 +872,9 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
976
872
|
type: "nvr-exporter";
|
|
977
873
|
} | {
|
|
978
874
|
type: "nvr-analytics-server";
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
id: string;
|
|
983
|
-
isDefault: boolean;
|
|
984
|
-
assignedRef: string | null;
|
|
985
|
-
createdOn: string;
|
|
986
|
-
lastModifiedOn: string;
|
|
987
|
-
params?: unknown;
|
|
988
|
-
}[];
|
|
989
|
-
});
|
|
875
|
+
} | {
|
|
876
|
+
type: "device-other";
|
|
877
|
+
}));
|
|
990
878
|
}>;
|
|
991
879
|
export declare const sPreviewImageResponse: z.ZodNullable<z.ZodObject<{
|
|
992
880
|
mimeType: z.ZodString;
|
|
@@ -1002,7 +890,7 @@ export type PreviewImageArgs = z.infer<typeof sPreviewImageArgs>;
|
|
|
1002
890
|
export type PreviewImageResponse = z.infer<typeof sPreviewImageResponse>;
|
|
1003
891
|
export declare const QUERY_CAMERA_LATEST_FRAME = "cctv:latest-frame";
|
|
1004
892
|
export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
1005
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
893
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
1006
894
|
name: z.ZodString;
|
|
1007
895
|
foreignRef: z.ZodString;
|
|
1008
896
|
provider: z.ZodString;
|
|
@@ -1248,59 +1136,19 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1248
1136
|
type: "nvr-analytics-server";
|
|
1249
1137
|
}, {
|
|
1250
1138
|
type: "nvr-analytics-server";
|
|
1251
|
-
}
|
|
1252
|
-
|
|
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">;
|
|
1139
|
+
}>, z.ZodObject<{
|
|
1140
|
+
type: z.ZodLiteral<"device-other">;
|
|
1277
1141
|
}, "strip", z.ZodTypeAny, {
|
|
1278
|
-
|
|
1279
|
-
name: string;
|
|
1280
|
-
id: string;
|
|
1281
|
-
isDefault: boolean;
|
|
1282
|
-
assignedRef: string | null;
|
|
1283
|
-
createdOn: string;
|
|
1284
|
-
lastModifiedOn: string;
|
|
1285
|
-
params?: unknown;
|
|
1286
|
-
}[];
|
|
1142
|
+
type: "device-other";
|
|
1287
1143
|
}, {
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
id: string;
|
|
1291
|
-
isDefault: boolean;
|
|
1292
|
-
assignedRef: string | null;
|
|
1293
|
-
createdOn: string;
|
|
1294
|
-
lastModifiedOn: string;
|
|
1295
|
-
params?: unknown;
|
|
1296
|
-
}[];
|
|
1297
|
-
}>>]>;
|
|
1144
|
+
type: "device-other";
|
|
1145
|
+
}>]>>]>;
|
|
1298
1146
|
width: z.ZodNumber;
|
|
1299
1147
|
height: z.ZodNumber;
|
|
1300
1148
|
}, "strip", z.ZodTypeAny, {
|
|
1301
1149
|
height: number;
|
|
1302
1150
|
width: number;
|
|
1303
|
-
device: string | (
|
|
1151
|
+
device: string | ({
|
|
1304
1152
|
name: string;
|
|
1305
1153
|
foreignRef: string;
|
|
1306
1154
|
provider: string;
|
|
@@ -1377,21 +1225,13 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1377
1225
|
type: "nvr-exporter";
|
|
1378
1226
|
} | {
|
|
1379
1227
|
type: "nvr-analytics-server";
|
|
1380
|
-
}
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
id: string;
|
|
1384
|
-
isDefault: boolean;
|
|
1385
|
-
assignedRef: string | null;
|
|
1386
|
-
createdOn: string;
|
|
1387
|
-
lastModifiedOn: string;
|
|
1388
|
-
params?: unknown;
|
|
1389
|
-
}[];
|
|
1390
|
-
});
|
|
1228
|
+
} | {
|
|
1229
|
+
type: "device-other";
|
|
1230
|
+
}));
|
|
1391
1231
|
}, {
|
|
1392
1232
|
height: number;
|
|
1393
1233
|
width: number;
|
|
1394
|
-
device: string | (
|
|
1234
|
+
device: string | ({
|
|
1395
1235
|
name: string;
|
|
1396
1236
|
foreignRef: string;
|
|
1397
1237
|
provider: string;
|
|
@@ -1468,17 +1308,9 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1468
1308
|
type: "nvr-exporter";
|
|
1469
1309
|
} | {
|
|
1470
1310
|
type: "nvr-analytics-server";
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
id: string;
|
|
1475
|
-
isDefault: boolean;
|
|
1476
|
-
assignedRef: string | null;
|
|
1477
|
-
createdOn: string;
|
|
1478
|
-
lastModifiedOn: string;
|
|
1479
|
-
params?: unknown;
|
|
1480
|
-
}[];
|
|
1481
|
-
});
|
|
1311
|
+
} | {
|
|
1312
|
+
type: "device-other";
|
|
1313
|
+
}));
|
|
1482
1314
|
}>;
|
|
1483
1315
|
export declare const sCameraLatestFrameResponse: z.ZodNullable<z.ZodObject<{
|
|
1484
1316
|
mimeType: z.ZodString;
|
|
@@ -1494,7 +1326,7 @@ export type CameraLatestFrameArgs = z.infer<typeof sCameraLatestFrameArgs>;
|
|
|
1494
1326
|
export type CameraLatestFrameResponse = z.infer<typeof sCameraLatestFrameResponse>;
|
|
1495
1327
|
export declare const nvrRecorderRequestSchemas: {
|
|
1496
1328
|
readonly "cctv:recordings-by-time-range": z.ZodObject<{
|
|
1497
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
1329
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
1498
1330
|
name: z.ZodString;
|
|
1499
1331
|
foreignRef: z.ZodString;
|
|
1500
1332
|
provider: z.ZodString;
|
|
@@ -1740,57 +1572,17 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1740
1572
|
type: "nvr-analytics-server";
|
|
1741
1573
|
}, {
|
|
1742
1574
|
type: "nvr-analytics-server";
|
|
1743
|
-
}
|
|
1744
|
-
|
|
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">;
|
|
1575
|
+
}>, z.ZodObject<{
|
|
1576
|
+
type: z.ZodLiteral<"device-other">;
|
|
1769
1577
|
}, "strip", z.ZodTypeAny, {
|
|
1770
|
-
|
|
1771
|
-
name: string;
|
|
1772
|
-
id: string;
|
|
1773
|
-
isDefault: boolean;
|
|
1774
|
-
assignedRef: string | null;
|
|
1775
|
-
createdOn: string;
|
|
1776
|
-
lastModifiedOn: string;
|
|
1777
|
-
params?: unknown;
|
|
1778
|
-
}[];
|
|
1578
|
+
type: "device-other";
|
|
1779
1579
|
}, {
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
id: string;
|
|
1783
|
-
isDefault: boolean;
|
|
1784
|
-
assignedRef: string | null;
|
|
1785
|
-
createdOn: string;
|
|
1786
|
-
lastModifiedOn: string;
|
|
1787
|
-
params?: unknown;
|
|
1788
|
-
}[];
|
|
1789
|
-
}>>]>;
|
|
1580
|
+
type: "device-other";
|
|
1581
|
+
}>]>>]>;
|
|
1790
1582
|
timeFrom: z.ZodNumber;
|
|
1791
1583
|
timeTo: z.ZodNumber;
|
|
1792
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1793
|
-
device: string | (
|
|
1585
|
+
device: string | ({
|
|
1794
1586
|
name: string;
|
|
1795
1587
|
foreignRef: string;
|
|
1796
1588
|
provider: string;
|
|
@@ -1867,21 +1659,13 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1867
1659
|
type: "nvr-exporter";
|
|
1868
1660
|
} | {
|
|
1869
1661
|
type: "nvr-analytics-server";
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
id: string;
|
|
1874
|
-
isDefault: boolean;
|
|
1875
|
-
assignedRef: string | null;
|
|
1876
|
-
createdOn: string;
|
|
1877
|
-
lastModifiedOn: string;
|
|
1878
|
-
params?: unknown;
|
|
1879
|
-
}[];
|
|
1880
|
-
});
|
|
1662
|
+
} | {
|
|
1663
|
+
type: "device-other";
|
|
1664
|
+
}));
|
|
1881
1665
|
timeFrom: number;
|
|
1882
1666
|
timeTo: number;
|
|
1883
1667
|
}, {
|
|
1884
|
-
device: string | (
|
|
1668
|
+
device: string | ({
|
|
1885
1669
|
name: string;
|
|
1886
1670
|
foreignRef: string;
|
|
1887
1671
|
provider: string;
|
|
@@ -1958,22 +1742,14 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1958
1742
|
type: "nvr-exporter";
|
|
1959
1743
|
} | {
|
|
1960
1744
|
type: "nvr-analytics-server";
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
id: string;
|
|
1965
|
-
isDefault: boolean;
|
|
1966
|
-
assignedRef: string | null;
|
|
1967
|
-
createdOn: string;
|
|
1968
|
-
lastModifiedOn: string;
|
|
1969
|
-
params?: unknown;
|
|
1970
|
-
}[];
|
|
1971
|
-
});
|
|
1745
|
+
} | {
|
|
1746
|
+
type: "device-other";
|
|
1747
|
+
}));
|
|
1972
1748
|
timeFrom: number;
|
|
1973
1749
|
timeTo: number;
|
|
1974
1750
|
}>;
|
|
1975
1751
|
readonly "cctv:preview-image": z.ZodObject<{
|
|
1976
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
1752
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
1977
1753
|
name: z.ZodString;
|
|
1978
1754
|
foreignRef: z.ZodString;
|
|
1979
1755
|
provider: z.ZodString;
|
|
@@ -2219,59 +1995,19 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2219
1995
|
type: "nvr-analytics-server";
|
|
2220
1996
|
}, {
|
|
2221
1997
|
type: "nvr-analytics-server";
|
|
2222
|
-
}
|
|
2223
|
-
|
|
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">;
|
|
1998
|
+
}>, z.ZodObject<{
|
|
1999
|
+
type: z.ZodLiteral<"device-other">;
|
|
2248
2000
|
}, "strip", z.ZodTypeAny, {
|
|
2249
|
-
|
|
2250
|
-
name: string;
|
|
2251
|
-
id: string;
|
|
2252
|
-
isDefault: boolean;
|
|
2253
|
-
assignedRef: string | null;
|
|
2254
|
-
createdOn: string;
|
|
2255
|
-
lastModifiedOn: string;
|
|
2256
|
-
params?: unknown;
|
|
2257
|
-
}[];
|
|
2001
|
+
type: "device-other";
|
|
2258
2002
|
}, {
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
id: string;
|
|
2262
|
-
isDefault: boolean;
|
|
2263
|
-
assignedRef: string | null;
|
|
2264
|
-
createdOn: string;
|
|
2265
|
-
lastModifiedOn: string;
|
|
2266
|
-
params?: unknown;
|
|
2267
|
-
}[];
|
|
2268
|
-
}>>]>;
|
|
2003
|
+
type: "device-other";
|
|
2004
|
+
}>]>>]>;
|
|
2269
2005
|
time: z.ZodNumber;
|
|
2270
2006
|
height: z.ZodNumber;
|
|
2271
2007
|
}, "strip", z.ZodTypeAny, {
|
|
2272
2008
|
time: number;
|
|
2273
2009
|
height: number;
|
|
2274
|
-
device: string | (
|
|
2010
|
+
device: string | ({
|
|
2275
2011
|
name: string;
|
|
2276
2012
|
foreignRef: string;
|
|
2277
2013
|
provider: string;
|
|
@@ -2348,21 +2084,13 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2348
2084
|
type: "nvr-exporter";
|
|
2349
2085
|
} | {
|
|
2350
2086
|
type: "nvr-analytics-server";
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
id: string;
|
|
2355
|
-
isDefault: boolean;
|
|
2356
|
-
assignedRef: string | null;
|
|
2357
|
-
createdOn: string;
|
|
2358
|
-
lastModifiedOn: string;
|
|
2359
|
-
params?: unknown;
|
|
2360
|
-
}[];
|
|
2361
|
-
});
|
|
2087
|
+
} | {
|
|
2088
|
+
type: "device-other";
|
|
2089
|
+
}));
|
|
2362
2090
|
}, {
|
|
2363
2091
|
time: number;
|
|
2364
2092
|
height: number;
|
|
2365
|
-
device: string | (
|
|
2093
|
+
device: string | ({
|
|
2366
2094
|
name: string;
|
|
2367
2095
|
foreignRef: string;
|
|
2368
2096
|
provider: string;
|
|
@@ -2439,20 +2167,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2439
2167
|
type: "nvr-exporter";
|
|
2440
2168
|
} | {
|
|
2441
2169
|
type: "nvr-analytics-server";
|
|
2442
|
-
}
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
id: string;
|
|
2446
|
-
isDefault: boolean;
|
|
2447
|
-
assignedRef: string | null;
|
|
2448
|
-
createdOn: string;
|
|
2449
|
-
lastModifiedOn: string;
|
|
2450
|
-
params?: unknown;
|
|
2451
|
-
}[];
|
|
2452
|
-
});
|
|
2170
|
+
} | {
|
|
2171
|
+
type: "device-other";
|
|
2172
|
+
}));
|
|
2453
2173
|
}>;
|
|
2454
2174
|
readonly "cctv:latest-frame": z.ZodObject<{
|
|
2455
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
2175
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
2456
2176
|
name: z.ZodString;
|
|
2457
2177
|
foreignRef: z.ZodString;
|
|
2458
2178
|
provider: z.ZodString;
|
|
@@ -2698,59 +2418,19 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2698
2418
|
type: "nvr-analytics-server";
|
|
2699
2419
|
}, {
|
|
2700
2420
|
type: "nvr-analytics-server";
|
|
2701
|
-
}
|
|
2702
|
-
|
|
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">;
|
|
2421
|
+
}>, z.ZodObject<{
|
|
2422
|
+
type: z.ZodLiteral<"device-other">;
|
|
2727
2423
|
}, "strip", z.ZodTypeAny, {
|
|
2728
|
-
|
|
2729
|
-
name: string;
|
|
2730
|
-
id: string;
|
|
2731
|
-
isDefault: boolean;
|
|
2732
|
-
assignedRef: string | null;
|
|
2733
|
-
createdOn: string;
|
|
2734
|
-
lastModifiedOn: string;
|
|
2735
|
-
params?: unknown;
|
|
2736
|
-
}[];
|
|
2424
|
+
type: "device-other";
|
|
2737
2425
|
}, {
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
id: string;
|
|
2741
|
-
isDefault: boolean;
|
|
2742
|
-
assignedRef: string | null;
|
|
2743
|
-
createdOn: string;
|
|
2744
|
-
lastModifiedOn: string;
|
|
2745
|
-
params?: unknown;
|
|
2746
|
-
}[];
|
|
2747
|
-
}>>]>;
|
|
2426
|
+
type: "device-other";
|
|
2427
|
+
}>]>>]>;
|
|
2748
2428
|
width: z.ZodNumber;
|
|
2749
2429
|
height: z.ZodNumber;
|
|
2750
2430
|
}, "strip", z.ZodTypeAny, {
|
|
2751
2431
|
height: number;
|
|
2752
2432
|
width: number;
|
|
2753
|
-
device: string | (
|
|
2433
|
+
device: string | ({
|
|
2754
2434
|
name: string;
|
|
2755
2435
|
foreignRef: string;
|
|
2756
2436
|
provider: string;
|
|
@@ -2827,21 +2507,13 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2827
2507
|
type: "nvr-exporter";
|
|
2828
2508
|
} | {
|
|
2829
2509
|
type: "nvr-analytics-server";
|
|
2830
|
-
}
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
id: string;
|
|
2834
|
-
isDefault: boolean;
|
|
2835
|
-
assignedRef: string | null;
|
|
2836
|
-
createdOn: string;
|
|
2837
|
-
lastModifiedOn: string;
|
|
2838
|
-
params?: unknown;
|
|
2839
|
-
}[];
|
|
2840
|
-
});
|
|
2510
|
+
} | {
|
|
2511
|
+
type: "device-other";
|
|
2512
|
+
}));
|
|
2841
2513
|
}, {
|
|
2842
2514
|
height: number;
|
|
2843
2515
|
width: number;
|
|
2844
|
-
device: string | (
|
|
2516
|
+
device: string | ({
|
|
2845
2517
|
name: string;
|
|
2846
2518
|
foreignRef: string;
|
|
2847
2519
|
provider: string;
|
|
@@ -2918,17 +2590,9 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2918
2590
|
type: "nvr-exporter";
|
|
2919
2591
|
} | {
|
|
2920
2592
|
type: "nvr-analytics-server";
|
|
2921
|
-
}
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
id: string;
|
|
2925
|
-
isDefault: boolean;
|
|
2926
|
-
assignedRef: string | null;
|
|
2927
|
-
createdOn: string;
|
|
2928
|
-
lastModifiedOn: string;
|
|
2929
|
-
params?: unknown;
|
|
2930
|
-
}[];
|
|
2931
|
-
});
|
|
2593
|
+
} | {
|
|
2594
|
+
type: "device-other";
|
|
2595
|
+
}));
|
|
2932
2596
|
}>;
|
|
2933
2597
|
};
|
|
2934
2598
|
export declare const nvrRecorderResponseSchemas: {
|