@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
|
@@ -17,7 +17,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
17
17
|
command: z.ZodLiteral<"nvr-exporter.start-export">;
|
|
18
18
|
params: z.ZodObject<{
|
|
19
19
|
requestId: z.ZodString;
|
|
20
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
20
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
21
21
|
name: z.ZodString;
|
|
22
22
|
foreignRef: z.ZodString;
|
|
23
23
|
provider: z.ZodString;
|
|
@@ -263,60 +263,14 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
263
263
|
type: "nvr-analytics-server";
|
|
264
264
|
}, {
|
|
265
265
|
type: "nvr-analytics-server";
|
|
266
|
-
}>]
|
|
267
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
268
|
-
id: z.ZodString;
|
|
269
|
-
name: z.ZodString;
|
|
270
|
-
params: z.ZodUnknown;
|
|
271
|
-
isDefault: z.ZodBoolean;
|
|
272
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
273
|
-
createdOn: z.ZodString;
|
|
274
|
-
lastModifiedOn: z.ZodString;
|
|
275
|
-
}, "strip", z.ZodTypeAny, {
|
|
276
|
-
name: string;
|
|
277
|
-
id: string;
|
|
278
|
-
isDefault: boolean;
|
|
279
|
-
assignedRef: string | null;
|
|
280
|
-
createdOn: string;
|
|
281
|
-
lastModifiedOn: string;
|
|
282
|
-
params?: unknown;
|
|
283
|
-
}, {
|
|
284
|
-
name: string;
|
|
285
|
-
id: string;
|
|
286
|
-
isDefault: boolean;
|
|
287
|
-
assignedRef: string | null;
|
|
288
|
-
createdOn: string;
|
|
289
|
-
lastModifiedOn: string;
|
|
290
|
-
params?: unknown;
|
|
291
|
-
}>, "many">;
|
|
292
|
-
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
presets: {
|
|
294
|
-
name: string;
|
|
295
|
-
id: string;
|
|
296
|
-
isDefault: boolean;
|
|
297
|
-
assignedRef: string | null;
|
|
298
|
-
createdOn: string;
|
|
299
|
-
lastModifiedOn: string;
|
|
300
|
-
params?: unknown;
|
|
301
|
-
}[];
|
|
302
|
-
}, {
|
|
303
|
-
presets: {
|
|
304
|
-
name: string;
|
|
305
|
-
id: string;
|
|
306
|
-
isDefault: boolean;
|
|
307
|
-
assignedRef: string | null;
|
|
308
|
-
createdOn: string;
|
|
309
|
-
lastModifiedOn: string;
|
|
310
|
-
params?: unknown;
|
|
311
|
-
}[];
|
|
312
|
-
}>>]>;
|
|
266
|
+
}>]>>]>;
|
|
313
267
|
timeFrom: z.ZodNumber;
|
|
314
268
|
timeTo: z.ZodNumber;
|
|
315
269
|
name: z.ZodString;
|
|
316
270
|
}, "strip", z.ZodTypeAny, {
|
|
317
271
|
name: string;
|
|
318
272
|
requestId: string;
|
|
319
|
-
device: string | (
|
|
273
|
+
device: string | ({
|
|
320
274
|
name: string;
|
|
321
275
|
foreignRef: string;
|
|
322
276
|
provider: string;
|
|
@@ -393,23 +347,13 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
393
347
|
type: "nvr-exporter";
|
|
394
348
|
} | {
|
|
395
349
|
type: "nvr-analytics-server";
|
|
396
|
-
}))
|
|
397
|
-
presets: {
|
|
398
|
-
name: string;
|
|
399
|
-
id: string;
|
|
400
|
-
isDefault: boolean;
|
|
401
|
-
assignedRef: string | null;
|
|
402
|
-
createdOn: string;
|
|
403
|
-
lastModifiedOn: string;
|
|
404
|
-
params?: unknown;
|
|
405
|
-
}[];
|
|
406
|
-
});
|
|
350
|
+
}));
|
|
407
351
|
timeFrom: number;
|
|
408
352
|
timeTo: number;
|
|
409
353
|
}, {
|
|
410
354
|
name: string;
|
|
411
355
|
requestId: string;
|
|
412
|
-
device: string | (
|
|
356
|
+
device: string | ({
|
|
413
357
|
name: string;
|
|
414
358
|
foreignRef: string;
|
|
415
359
|
provider: string;
|
|
@@ -486,17 +430,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
486
430
|
type: "nvr-exporter";
|
|
487
431
|
} | {
|
|
488
432
|
type: "nvr-analytics-server";
|
|
489
|
-
}))
|
|
490
|
-
presets: {
|
|
491
|
-
name: string;
|
|
492
|
-
id: string;
|
|
493
|
-
isDefault: boolean;
|
|
494
|
-
assignedRef: string | null;
|
|
495
|
-
createdOn: string;
|
|
496
|
-
lastModifiedOn: string;
|
|
497
|
-
params?: unknown;
|
|
498
|
-
}[];
|
|
499
|
-
});
|
|
433
|
+
}));
|
|
500
434
|
timeFrom: number;
|
|
501
435
|
timeTo: number;
|
|
502
436
|
}>;
|
|
@@ -504,7 +438,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
504
438
|
params: {
|
|
505
439
|
name: string;
|
|
506
440
|
requestId: string;
|
|
507
|
-
device: string | (
|
|
441
|
+
device: string | ({
|
|
508
442
|
name: string;
|
|
509
443
|
foreignRef: string;
|
|
510
444
|
provider: string;
|
|
@@ -581,17 +515,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
581
515
|
type: "nvr-exporter";
|
|
582
516
|
} | {
|
|
583
517
|
type: "nvr-analytics-server";
|
|
584
|
-
}))
|
|
585
|
-
presets: {
|
|
586
|
-
name: string;
|
|
587
|
-
id: string;
|
|
588
|
-
isDefault: boolean;
|
|
589
|
-
assignedRef: string | null;
|
|
590
|
-
createdOn: string;
|
|
591
|
-
lastModifiedOn: string;
|
|
592
|
-
params?: unknown;
|
|
593
|
-
}[];
|
|
594
|
-
});
|
|
518
|
+
}));
|
|
595
519
|
timeFrom: number;
|
|
596
520
|
timeTo: number;
|
|
597
521
|
};
|
|
@@ -600,7 +524,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
600
524
|
params: {
|
|
601
525
|
name: string;
|
|
602
526
|
requestId: string;
|
|
603
|
-
device: string | (
|
|
527
|
+
device: string | ({
|
|
604
528
|
name: string;
|
|
605
529
|
foreignRef: string;
|
|
606
530
|
provider: string;
|
|
@@ -677,17 +601,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
677
601
|
type: "nvr-exporter";
|
|
678
602
|
} | {
|
|
679
603
|
type: "nvr-analytics-server";
|
|
680
|
-
}))
|
|
681
|
-
presets: {
|
|
682
|
-
name: string;
|
|
683
|
-
id: string;
|
|
684
|
-
isDefault: boolean;
|
|
685
|
-
assignedRef: string | null;
|
|
686
|
-
createdOn: string;
|
|
687
|
-
lastModifiedOn: string;
|
|
688
|
-
params?: unknown;
|
|
689
|
-
}[];
|
|
690
|
-
});
|
|
604
|
+
}));
|
|
691
605
|
timeFrom: number;
|
|
692
606
|
timeTo: number;
|
|
693
607
|
};
|
|
@@ -721,7 +635,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
721
635
|
command: z.ZodLiteral<"nvr-exporter.start-export">;
|
|
722
636
|
params: z.ZodObject<{
|
|
723
637
|
requestId: z.ZodString;
|
|
724
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
638
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
725
639
|
name: z.ZodString;
|
|
726
640
|
foreignRef: z.ZodString;
|
|
727
641
|
provider: z.ZodString;
|
|
@@ -967,60 +881,14 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
967
881
|
type: "nvr-analytics-server";
|
|
968
882
|
}, {
|
|
969
883
|
type: "nvr-analytics-server";
|
|
970
|
-
}>]
|
|
971
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
972
|
-
id: z.ZodString;
|
|
973
|
-
name: z.ZodString;
|
|
974
|
-
params: z.ZodUnknown;
|
|
975
|
-
isDefault: z.ZodBoolean;
|
|
976
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
977
|
-
createdOn: z.ZodString;
|
|
978
|
-
lastModifiedOn: z.ZodString;
|
|
979
|
-
}, "strip", z.ZodTypeAny, {
|
|
980
|
-
name: string;
|
|
981
|
-
id: string;
|
|
982
|
-
isDefault: boolean;
|
|
983
|
-
assignedRef: string | null;
|
|
984
|
-
createdOn: string;
|
|
985
|
-
lastModifiedOn: string;
|
|
986
|
-
params?: unknown;
|
|
987
|
-
}, {
|
|
988
|
-
name: string;
|
|
989
|
-
id: string;
|
|
990
|
-
isDefault: boolean;
|
|
991
|
-
assignedRef: string | null;
|
|
992
|
-
createdOn: string;
|
|
993
|
-
lastModifiedOn: string;
|
|
994
|
-
params?: unknown;
|
|
995
|
-
}>, "many">;
|
|
996
|
-
}, "strip", z.ZodTypeAny, {
|
|
997
|
-
presets: {
|
|
998
|
-
name: string;
|
|
999
|
-
id: string;
|
|
1000
|
-
isDefault: boolean;
|
|
1001
|
-
assignedRef: string | null;
|
|
1002
|
-
createdOn: string;
|
|
1003
|
-
lastModifiedOn: string;
|
|
1004
|
-
params?: unknown;
|
|
1005
|
-
}[];
|
|
1006
|
-
}, {
|
|
1007
|
-
presets: {
|
|
1008
|
-
name: string;
|
|
1009
|
-
id: string;
|
|
1010
|
-
isDefault: boolean;
|
|
1011
|
-
assignedRef: string | null;
|
|
1012
|
-
createdOn: string;
|
|
1013
|
-
lastModifiedOn: string;
|
|
1014
|
-
params?: unknown;
|
|
1015
|
-
}[];
|
|
1016
|
-
}>>]>;
|
|
884
|
+
}>]>>]>;
|
|
1017
885
|
timeFrom: z.ZodNumber;
|
|
1018
886
|
timeTo: z.ZodNumber;
|
|
1019
887
|
name: z.ZodString;
|
|
1020
888
|
}, "strip", z.ZodTypeAny, {
|
|
1021
889
|
name: string;
|
|
1022
890
|
requestId: string;
|
|
1023
|
-
device: string | (
|
|
891
|
+
device: string | ({
|
|
1024
892
|
name: string;
|
|
1025
893
|
foreignRef: string;
|
|
1026
894
|
provider: string;
|
|
@@ -1097,23 +965,13 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1097
965
|
type: "nvr-exporter";
|
|
1098
966
|
} | {
|
|
1099
967
|
type: "nvr-analytics-server";
|
|
1100
|
-
}))
|
|
1101
|
-
presets: {
|
|
1102
|
-
name: string;
|
|
1103
|
-
id: string;
|
|
1104
|
-
isDefault: boolean;
|
|
1105
|
-
assignedRef: string | null;
|
|
1106
|
-
createdOn: string;
|
|
1107
|
-
lastModifiedOn: string;
|
|
1108
|
-
params?: unknown;
|
|
1109
|
-
}[];
|
|
1110
|
-
});
|
|
968
|
+
}));
|
|
1111
969
|
timeFrom: number;
|
|
1112
970
|
timeTo: number;
|
|
1113
971
|
}, {
|
|
1114
972
|
name: string;
|
|
1115
973
|
requestId: string;
|
|
1116
|
-
device: string | (
|
|
974
|
+
device: string | ({
|
|
1117
975
|
name: string;
|
|
1118
976
|
foreignRef: string;
|
|
1119
977
|
provider: string;
|
|
@@ -1190,17 +1048,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1190
1048
|
type: "nvr-exporter";
|
|
1191
1049
|
} | {
|
|
1192
1050
|
type: "nvr-analytics-server";
|
|
1193
|
-
}))
|
|
1194
|
-
presets: {
|
|
1195
|
-
name: string;
|
|
1196
|
-
id: string;
|
|
1197
|
-
isDefault: boolean;
|
|
1198
|
-
assignedRef: string | null;
|
|
1199
|
-
createdOn: string;
|
|
1200
|
-
lastModifiedOn: string;
|
|
1201
|
-
params?: unknown;
|
|
1202
|
-
}[];
|
|
1203
|
-
});
|
|
1051
|
+
}));
|
|
1204
1052
|
timeFrom: number;
|
|
1205
1053
|
timeTo: number;
|
|
1206
1054
|
}>;
|
|
@@ -1208,7 +1056,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1208
1056
|
params: {
|
|
1209
1057
|
name: string;
|
|
1210
1058
|
requestId: string;
|
|
1211
|
-
device: string | (
|
|
1059
|
+
device: string | ({
|
|
1212
1060
|
name: string;
|
|
1213
1061
|
foreignRef: string;
|
|
1214
1062
|
provider: string;
|
|
@@ -1285,17 +1133,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1285
1133
|
type: "nvr-exporter";
|
|
1286
1134
|
} | {
|
|
1287
1135
|
type: "nvr-analytics-server";
|
|
1288
|
-
}))
|
|
1289
|
-
presets: {
|
|
1290
|
-
name: string;
|
|
1291
|
-
id: string;
|
|
1292
|
-
isDefault: boolean;
|
|
1293
|
-
assignedRef: string | null;
|
|
1294
|
-
createdOn: string;
|
|
1295
|
-
lastModifiedOn: string;
|
|
1296
|
-
params?: unknown;
|
|
1297
|
-
}[];
|
|
1298
|
-
});
|
|
1136
|
+
}));
|
|
1299
1137
|
timeFrom: number;
|
|
1300
1138
|
timeTo: number;
|
|
1301
1139
|
};
|
|
@@ -1304,7 +1142,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1304
1142
|
params: {
|
|
1305
1143
|
name: string;
|
|
1306
1144
|
requestId: string;
|
|
1307
|
-
device: string | (
|
|
1145
|
+
device: string | ({
|
|
1308
1146
|
name: string;
|
|
1309
1147
|
foreignRef: string;
|
|
1310
1148
|
provider: string;
|
|
@@ -1381,17 +1219,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1381
1219
|
type: "nvr-exporter";
|
|
1382
1220
|
} | {
|
|
1383
1221
|
type: "nvr-analytics-server";
|
|
1384
|
-
}))
|
|
1385
|
-
presets: {
|
|
1386
|
-
name: string;
|
|
1387
|
-
id: string;
|
|
1388
|
-
isDefault: boolean;
|
|
1389
|
-
assignedRef: string | null;
|
|
1390
|
-
createdOn: string;
|
|
1391
|
-
lastModifiedOn: string;
|
|
1392
|
-
params?: unknown;
|
|
1393
|
-
}[];
|
|
1394
|
-
});
|
|
1222
|
+
}));
|
|
1395
1223
|
timeFrom: number;
|
|
1396
1224
|
timeTo: number;
|
|
1397
1225
|
};
|