@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
|
@@ -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,20 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
263
263
|
type: "nvr-analytics-server";
|
|
264
264
|
}, {
|
|
265
265
|
type: "nvr-analytics-server";
|
|
266
|
-
}
|
|
267
|
-
|
|
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">;
|
|
266
|
+
}>, z.ZodObject<{
|
|
267
|
+
type: z.ZodLiteral<"device-other">;
|
|
292
268
|
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
|
|
294
|
-
name: string;
|
|
295
|
-
id: string;
|
|
296
|
-
isDefault: boolean;
|
|
297
|
-
assignedRef: string | null;
|
|
298
|
-
createdOn: string;
|
|
299
|
-
lastModifiedOn: string;
|
|
300
|
-
params?: unknown;
|
|
301
|
-
}[];
|
|
269
|
+
type: "device-other";
|
|
302
270
|
}, {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
id: string;
|
|
306
|
-
isDefault: boolean;
|
|
307
|
-
assignedRef: string | null;
|
|
308
|
-
createdOn: string;
|
|
309
|
-
lastModifiedOn: string;
|
|
310
|
-
params?: unknown;
|
|
311
|
-
}[];
|
|
312
|
-
}>>]>;
|
|
271
|
+
type: "device-other";
|
|
272
|
+
}>]>>]>;
|
|
313
273
|
timeFrom: z.ZodNumber;
|
|
314
274
|
timeTo: z.ZodNumber;
|
|
315
275
|
name: z.ZodString;
|
|
316
276
|
}, "strip", z.ZodTypeAny, {
|
|
317
277
|
name: string;
|
|
318
278
|
requestId: string;
|
|
319
|
-
device: string | (
|
|
279
|
+
device: string | ({
|
|
320
280
|
name: string;
|
|
321
281
|
foreignRef: string;
|
|
322
282
|
provider: string;
|
|
@@ -393,23 +353,15 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
393
353
|
type: "nvr-exporter";
|
|
394
354
|
} | {
|
|
395
355
|
type: "nvr-analytics-server";
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
id: string;
|
|
400
|
-
isDefault: boolean;
|
|
401
|
-
assignedRef: string | null;
|
|
402
|
-
createdOn: string;
|
|
403
|
-
lastModifiedOn: string;
|
|
404
|
-
params?: unknown;
|
|
405
|
-
}[];
|
|
406
|
-
});
|
|
356
|
+
} | {
|
|
357
|
+
type: "device-other";
|
|
358
|
+
}));
|
|
407
359
|
timeFrom: number;
|
|
408
360
|
timeTo: number;
|
|
409
361
|
}, {
|
|
410
362
|
name: string;
|
|
411
363
|
requestId: string;
|
|
412
|
-
device: string | (
|
|
364
|
+
device: string | ({
|
|
413
365
|
name: string;
|
|
414
366
|
foreignRef: string;
|
|
415
367
|
provider: string;
|
|
@@ -486,17 +438,9 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
486
438
|
type: "nvr-exporter";
|
|
487
439
|
} | {
|
|
488
440
|
type: "nvr-analytics-server";
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
id: string;
|
|
493
|
-
isDefault: boolean;
|
|
494
|
-
assignedRef: string | null;
|
|
495
|
-
createdOn: string;
|
|
496
|
-
lastModifiedOn: string;
|
|
497
|
-
params?: unknown;
|
|
498
|
-
}[];
|
|
499
|
-
});
|
|
441
|
+
} | {
|
|
442
|
+
type: "device-other";
|
|
443
|
+
}));
|
|
500
444
|
timeFrom: number;
|
|
501
445
|
timeTo: number;
|
|
502
446
|
}>;
|
|
@@ -504,7 +448,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
504
448
|
params: {
|
|
505
449
|
name: string;
|
|
506
450
|
requestId: string;
|
|
507
|
-
device: string | (
|
|
451
|
+
device: string | ({
|
|
508
452
|
name: string;
|
|
509
453
|
foreignRef: string;
|
|
510
454
|
provider: string;
|
|
@@ -581,17 +525,9 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
581
525
|
type: "nvr-exporter";
|
|
582
526
|
} | {
|
|
583
527
|
type: "nvr-analytics-server";
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
id: string;
|
|
588
|
-
isDefault: boolean;
|
|
589
|
-
assignedRef: string | null;
|
|
590
|
-
createdOn: string;
|
|
591
|
-
lastModifiedOn: string;
|
|
592
|
-
params?: unknown;
|
|
593
|
-
}[];
|
|
594
|
-
});
|
|
528
|
+
} | {
|
|
529
|
+
type: "device-other";
|
|
530
|
+
}));
|
|
595
531
|
timeFrom: number;
|
|
596
532
|
timeTo: number;
|
|
597
533
|
};
|
|
@@ -600,7 +536,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
600
536
|
params: {
|
|
601
537
|
name: string;
|
|
602
538
|
requestId: string;
|
|
603
|
-
device: string | (
|
|
539
|
+
device: string | ({
|
|
604
540
|
name: string;
|
|
605
541
|
foreignRef: string;
|
|
606
542
|
provider: string;
|
|
@@ -677,17 +613,9 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
677
613
|
type: "nvr-exporter";
|
|
678
614
|
} | {
|
|
679
615
|
type: "nvr-analytics-server";
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
id: string;
|
|
684
|
-
isDefault: boolean;
|
|
685
|
-
assignedRef: string | null;
|
|
686
|
-
createdOn: string;
|
|
687
|
-
lastModifiedOn: string;
|
|
688
|
-
params?: unknown;
|
|
689
|
-
}[];
|
|
690
|
-
});
|
|
616
|
+
} | {
|
|
617
|
+
type: "device-other";
|
|
618
|
+
}));
|
|
691
619
|
timeFrom: number;
|
|
692
620
|
timeTo: number;
|
|
693
621
|
};
|
|
@@ -721,7 +649,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
721
649
|
command: z.ZodLiteral<"nvr-exporter.start-export">;
|
|
722
650
|
params: z.ZodObject<{
|
|
723
651
|
requestId: z.ZodString;
|
|
724
|
-
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.
|
|
652
|
+
device: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
725
653
|
name: z.ZodString;
|
|
726
654
|
foreignRef: z.ZodString;
|
|
727
655
|
provider: z.ZodString;
|
|
@@ -967,60 +895,20 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
967
895
|
type: "nvr-analytics-server";
|
|
968
896
|
}, {
|
|
969
897
|
type: "nvr-analytics-server";
|
|
970
|
-
}
|
|
971
|
-
|
|
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">;
|
|
898
|
+
}>, z.ZodObject<{
|
|
899
|
+
type: z.ZodLiteral<"device-other">;
|
|
996
900
|
}, "strip", z.ZodTypeAny, {
|
|
997
|
-
|
|
998
|
-
name: string;
|
|
999
|
-
id: string;
|
|
1000
|
-
isDefault: boolean;
|
|
1001
|
-
assignedRef: string | null;
|
|
1002
|
-
createdOn: string;
|
|
1003
|
-
lastModifiedOn: string;
|
|
1004
|
-
params?: unknown;
|
|
1005
|
-
}[];
|
|
901
|
+
type: "device-other";
|
|
1006
902
|
}, {
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
id: string;
|
|
1010
|
-
isDefault: boolean;
|
|
1011
|
-
assignedRef: string | null;
|
|
1012
|
-
createdOn: string;
|
|
1013
|
-
lastModifiedOn: string;
|
|
1014
|
-
params?: unknown;
|
|
1015
|
-
}[];
|
|
1016
|
-
}>>]>;
|
|
903
|
+
type: "device-other";
|
|
904
|
+
}>]>>]>;
|
|
1017
905
|
timeFrom: z.ZodNumber;
|
|
1018
906
|
timeTo: z.ZodNumber;
|
|
1019
907
|
name: z.ZodString;
|
|
1020
908
|
}, "strip", z.ZodTypeAny, {
|
|
1021
909
|
name: string;
|
|
1022
910
|
requestId: string;
|
|
1023
|
-
device: string | (
|
|
911
|
+
device: string | ({
|
|
1024
912
|
name: string;
|
|
1025
913
|
foreignRef: string;
|
|
1026
914
|
provider: string;
|
|
@@ -1097,23 +985,15 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1097
985
|
type: "nvr-exporter";
|
|
1098
986
|
} | {
|
|
1099
987
|
type: "nvr-analytics-server";
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
id: string;
|
|
1104
|
-
isDefault: boolean;
|
|
1105
|
-
assignedRef: string | null;
|
|
1106
|
-
createdOn: string;
|
|
1107
|
-
lastModifiedOn: string;
|
|
1108
|
-
params?: unknown;
|
|
1109
|
-
}[];
|
|
1110
|
-
});
|
|
988
|
+
} | {
|
|
989
|
+
type: "device-other";
|
|
990
|
+
}));
|
|
1111
991
|
timeFrom: number;
|
|
1112
992
|
timeTo: number;
|
|
1113
993
|
}, {
|
|
1114
994
|
name: string;
|
|
1115
995
|
requestId: string;
|
|
1116
|
-
device: string | (
|
|
996
|
+
device: string | ({
|
|
1117
997
|
name: string;
|
|
1118
998
|
foreignRef: string;
|
|
1119
999
|
provider: string;
|
|
@@ -1190,17 +1070,9 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1190
1070
|
type: "nvr-exporter";
|
|
1191
1071
|
} | {
|
|
1192
1072
|
type: "nvr-analytics-server";
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
id: string;
|
|
1197
|
-
isDefault: boolean;
|
|
1198
|
-
assignedRef: string | null;
|
|
1199
|
-
createdOn: string;
|
|
1200
|
-
lastModifiedOn: string;
|
|
1201
|
-
params?: unknown;
|
|
1202
|
-
}[];
|
|
1203
|
-
});
|
|
1073
|
+
} | {
|
|
1074
|
+
type: "device-other";
|
|
1075
|
+
}));
|
|
1204
1076
|
timeFrom: number;
|
|
1205
1077
|
timeTo: number;
|
|
1206
1078
|
}>;
|
|
@@ -1208,7 +1080,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1208
1080
|
params: {
|
|
1209
1081
|
name: string;
|
|
1210
1082
|
requestId: string;
|
|
1211
|
-
device: string | (
|
|
1083
|
+
device: string | ({
|
|
1212
1084
|
name: string;
|
|
1213
1085
|
foreignRef: string;
|
|
1214
1086
|
provider: string;
|
|
@@ -1285,17 +1157,9 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1285
1157
|
type: "nvr-exporter";
|
|
1286
1158
|
} | {
|
|
1287
1159
|
type: "nvr-analytics-server";
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
id: string;
|
|
1292
|
-
isDefault: boolean;
|
|
1293
|
-
assignedRef: string | null;
|
|
1294
|
-
createdOn: string;
|
|
1295
|
-
lastModifiedOn: string;
|
|
1296
|
-
params?: unknown;
|
|
1297
|
-
}[];
|
|
1298
|
-
});
|
|
1160
|
+
} | {
|
|
1161
|
+
type: "device-other";
|
|
1162
|
+
}));
|
|
1299
1163
|
timeFrom: number;
|
|
1300
1164
|
timeTo: number;
|
|
1301
1165
|
};
|
|
@@ -1304,7 +1168,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1304
1168
|
params: {
|
|
1305
1169
|
name: string;
|
|
1306
1170
|
requestId: string;
|
|
1307
|
-
device: string | (
|
|
1171
|
+
device: string | ({
|
|
1308
1172
|
name: string;
|
|
1309
1173
|
foreignRef: string;
|
|
1310
1174
|
provider: string;
|
|
@@ -1381,17 +1245,9 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1381
1245
|
type: "nvr-exporter";
|
|
1382
1246
|
} | {
|
|
1383
1247
|
type: "nvr-analytics-server";
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
id: string;
|
|
1388
|
-
isDefault: boolean;
|
|
1389
|
-
assignedRef: string | null;
|
|
1390
|
-
createdOn: string;
|
|
1391
|
-
lastModifiedOn: string;
|
|
1392
|
-
params?: unknown;
|
|
1393
|
-
}[];
|
|
1394
|
-
});
|
|
1248
|
+
} | {
|
|
1249
|
+
type: "device-other";
|
|
1250
|
+
}));
|
|
1395
1251
|
timeFrom: number;
|
|
1396
1252
|
timeTo: number;
|
|
1397
1253
|
};
|