@awarevue/api-types 2.0.4 → 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 +627 -96
- package/dist/device/nvr-exporter.js +5 -1
- package/dist/device/nvr-recorder.d.ts +36 -432
- package/dist/device-command.d.ts +616 -1
- package/dist/device-command.js +10 -0
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +4 -96
- package/dist/primitives.js +1 -1
- package/package.json +1 -1
|
@@ -536,7 +536,7 @@ export declare const sStopServiceRs: z.ZodIntersection<z.ZodObject<{
|
|
|
536
536
|
}>, z.ZodObject<{}, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>>;
|
|
537
537
|
export declare const sRunCommandRq: z.ZodObject<{
|
|
538
538
|
kind: z.ZodLiteral<"command">;
|
|
539
|
-
device: z.ZodIntersection<z.
|
|
539
|
+
device: z.ZodIntersection<z.ZodObject<{
|
|
540
540
|
name: z.ZodString;
|
|
541
541
|
foreignRef: z.ZodString;
|
|
542
542
|
provider: z.ZodString;
|
|
@@ -782,60 +782,14 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
782
782
|
type: "nvr-analytics-server";
|
|
783
783
|
}, {
|
|
784
784
|
type: "nvr-analytics-server";
|
|
785
|
-
}>]
|
|
786
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
787
|
-
id: z.ZodString;
|
|
788
|
-
name: z.ZodString;
|
|
789
|
-
params: z.ZodUnknown;
|
|
790
|
-
isDefault: z.ZodBoolean;
|
|
791
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
792
|
-
createdOn: z.ZodString;
|
|
793
|
-
lastModifiedOn: z.ZodString;
|
|
794
|
-
}, "strip", z.ZodTypeAny, {
|
|
795
|
-
name: string;
|
|
796
|
-
id: string;
|
|
797
|
-
isDefault: boolean;
|
|
798
|
-
assignedRef: string | null;
|
|
799
|
-
createdOn: string;
|
|
800
|
-
lastModifiedOn: string;
|
|
801
|
-
params?: unknown;
|
|
802
|
-
}, {
|
|
803
|
-
name: string;
|
|
804
|
-
id: string;
|
|
805
|
-
isDefault: boolean;
|
|
806
|
-
assignedRef: string | null;
|
|
807
|
-
createdOn: string;
|
|
808
|
-
lastModifiedOn: string;
|
|
809
|
-
params?: unknown;
|
|
810
|
-
}>, "many">;
|
|
811
|
-
}, "strip", z.ZodTypeAny, {
|
|
812
|
-
presets: {
|
|
813
|
-
name: string;
|
|
814
|
-
id: string;
|
|
815
|
-
isDefault: boolean;
|
|
816
|
-
assignedRef: string | null;
|
|
817
|
-
createdOn: string;
|
|
818
|
-
lastModifiedOn: string;
|
|
819
|
-
params?: unknown;
|
|
820
|
-
}[];
|
|
821
|
-
}, {
|
|
822
|
-
presets: {
|
|
823
|
-
name: string;
|
|
824
|
-
id: string;
|
|
825
|
-
isDefault: boolean;
|
|
826
|
-
assignedRef: string | null;
|
|
827
|
-
createdOn: string;
|
|
828
|
-
lastModifiedOn: string;
|
|
829
|
-
params?: unknown;
|
|
830
|
-
}[];
|
|
831
|
-
}>>;
|
|
785
|
+
}>]>>;
|
|
832
786
|
command: z.ZodString;
|
|
833
787
|
batchId: z.ZodOptional<z.ZodString>;
|
|
834
788
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
835
789
|
}, "strip", z.ZodTypeAny, {
|
|
836
790
|
kind: "command";
|
|
837
791
|
command: string;
|
|
838
|
-
device:
|
|
792
|
+
device: {
|
|
839
793
|
name: string;
|
|
840
794
|
foreignRef: string;
|
|
841
795
|
provider: string;
|
|
@@ -912,23 +866,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
912
866
|
type: "nvr-exporter";
|
|
913
867
|
} | {
|
|
914
868
|
type: "nvr-analytics-server";
|
|
915
|
-
})
|
|
916
|
-
presets: {
|
|
917
|
-
name: string;
|
|
918
|
-
id: string;
|
|
919
|
-
isDefault: boolean;
|
|
920
|
-
assignedRef: string | null;
|
|
921
|
-
createdOn: string;
|
|
922
|
-
lastModifiedOn: string;
|
|
923
|
-
params?: unknown;
|
|
924
|
-
}[];
|
|
925
|
-
};
|
|
869
|
+
});
|
|
926
870
|
params?: Record<string, unknown> | undefined;
|
|
927
871
|
batchId?: string | undefined;
|
|
928
872
|
}, {
|
|
929
873
|
kind: "command";
|
|
930
874
|
command: string;
|
|
931
|
-
device:
|
|
875
|
+
device: {
|
|
932
876
|
name: string;
|
|
933
877
|
foreignRef: string;
|
|
934
878
|
provider: string;
|
|
@@ -1005,17 +949,7 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
1005
949
|
type: "nvr-exporter";
|
|
1006
950
|
} | {
|
|
1007
951
|
type: "nvr-analytics-server";
|
|
1008
|
-
})
|
|
1009
|
-
presets: {
|
|
1010
|
-
name: string;
|
|
1011
|
-
id: string;
|
|
1012
|
-
isDefault: boolean;
|
|
1013
|
-
assignedRef: string | null;
|
|
1014
|
-
createdOn: string;
|
|
1015
|
-
lastModifiedOn: string;
|
|
1016
|
-
params?: unknown;
|
|
1017
|
-
}[];
|
|
1018
|
-
};
|
|
952
|
+
});
|
|
1019
953
|
params?: Record<string, unknown> | undefined;
|
|
1020
954
|
batchId?: string | undefined;
|
|
1021
955
|
}>;
|
|
@@ -1032,7 +966,7 @@ export declare const sRunCommandRs: z.ZodIntersection<z.ZodObject<{
|
|
|
1032
966
|
export declare const sQueryRq: z.ZodObject<{
|
|
1033
967
|
kind: z.ZodLiteral<"query">;
|
|
1034
968
|
query: z.ZodString;
|
|
1035
|
-
device: z.ZodIntersection<z.
|
|
969
|
+
device: z.ZodIntersection<z.ZodObject<{
|
|
1036
970
|
name: z.ZodString;
|
|
1037
971
|
foreignRef: z.ZodString;
|
|
1038
972
|
provider: z.ZodString;
|
|
@@ -1278,57 +1212,11 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1278
1212
|
type: "nvr-analytics-server";
|
|
1279
1213
|
}, {
|
|
1280
1214
|
type: "nvr-analytics-server";
|
|
1281
|
-
}>]
|
|
1282
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
1283
|
-
id: z.ZodString;
|
|
1284
|
-
name: z.ZodString;
|
|
1285
|
-
params: z.ZodUnknown;
|
|
1286
|
-
isDefault: z.ZodBoolean;
|
|
1287
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
1288
|
-
createdOn: z.ZodString;
|
|
1289
|
-
lastModifiedOn: z.ZodString;
|
|
1290
|
-
}, "strip", z.ZodTypeAny, {
|
|
1291
|
-
name: string;
|
|
1292
|
-
id: string;
|
|
1293
|
-
isDefault: boolean;
|
|
1294
|
-
assignedRef: string | null;
|
|
1295
|
-
createdOn: string;
|
|
1296
|
-
lastModifiedOn: string;
|
|
1297
|
-
params?: unknown;
|
|
1298
|
-
}, {
|
|
1299
|
-
name: string;
|
|
1300
|
-
id: string;
|
|
1301
|
-
isDefault: boolean;
|
|
1302
|
-
assignedRef: string | null;
|
|
1303
|
-
createdOn: string;
|
|
1304
|
-
lastModifiedOn: string;
|
|
1305
|
-
params?: unknown;
|
|
1306
|
-
}>, "many">;
|
|
1307
|
-
}, "strip", z.ZodTypeAny, {
|
|
1308
|
-
presets: {
|
|
1309
|
-
name: string;
|
|
1310
|
-
id: string;
|
|
1311
|
-
isDefault: boolean;
|
|
1312
|
-
assignedRef: string | null;
|
|
1313
|
-
createdOn: string;
|
|
1314
|
-
lastModifiedOn: string;
|
|
1315
|
-
params?: unknown;
|
|
1316
|
-
}[];
|
|
1317
|
-
}, {
|
|
1318
|
-
presets: {
|
|
1319
|
-
name: string;
|
|
1320
|
-
id: string;
|
|
1321
|
-
isDefault: boolean;
|
|
1322
|
-
assignedRef: string | null;
|
|
1323
|
-
createdOn: string;
|
|
1324
|
-
lastModifiedOn: string;
|
|
1325
|
-
params?: unknown;
|
|
1326
|
-
}[];
|
|
1327
|
-
}>>;
|
|
1215
|
+
}>]>>;
|
|
1328
1216
|
args: z.ZodUnknown;
|
|
1329
1217
|
}, "strip", z.ZodTypeAny, {
|
|
1330
1218
|
kind: "query";
|
|
1331
|
-
device:
|
|
1219
|
+
device: {
|
|
1332
1220
|
name: string;
|
|
1333
1221
|
foreignRef: string;
|
|
1334
1222
|
provider: string;
|
|
@@ -1405,22 +1293,12 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1405
1293
|
type: "nvr-exporter";
|
|
1406
1294
|
} | {
|
|
1407
1295
|
type: "nvr-analytics-server";
|
|
1408
|
-
})
|
|
1409
|
-
presets: {
|
|
1410
|
-
name: string;
|
|
1411
|
-
id: string;
|
|
1412
|
-
isDefault: boolean;
|
|
1413
|
-
assignedRef: string | null;
|
|
1414
|
-
createdOn: string;
|
|
1415
|
-
lastModifiedOn: string;
|
|
1416
|
-
params?: unknown;
|
|
1417
|
-
}[];
|
|
1418
|
-
};
|
|
1296
|
+
});
|
|
1419
1297
|
query: string;
|
|
1420
1298
|
args?: unknown;
|
|
1421
1299
|
}, {
|
|
1422
1300
|
kind: "query";
|
|
1423
|
-
device:
|
|
1301
|
+
device: {
|
|
1424
1302
|
name: string;
|
|
1425
1303
|
foreignRef: string;
|
|
1426
1304
|
provider: string;
|
|
@@ -1497,17 +1375,7 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1497
1375
|
type: "nvr-exporter";
|
|
1498
1376
|
} | {
|
|
1499
1377
|
type: "nvr-analytics-server";
|
|
1500
|
-
})
|
|
1501
|
-
presets: {
|
|
1502
|
-
name: string;
|
|
1503
|
-
id: string;
|
|
1504
|
-
isDefault: boolean;
|
|
1505
|
-
assignedRef: string | null;
|
|
1506
|
-
createdOn: string;
|
|
1507
|
-
lastModifiedOn: string;
|
|
1508
|
-
params?: unknown;
|
|
1509
|
-
}[];
|
|
1510
|
-
};
|
|
1378
|
+
});
|
|
1511
1379
|
query: string;
|
|
1512
1380
|
args?: unknown;
|
|
1513
1381
|
}>;
|
|
@@ -1530,7 +1398,7 @@ export declare const sQueryRs: z.ZodIntersection<z.ZodObject<{
|
|
|
1530
1398
|
export declare const sPushFile: z.ZodObject<{
|
|
1531
1399
|
kind: z.ZodLiteral<"push-file">;
|
|
1532
1400
|
query: z.ZodString;
|
|
1533
|
-
device: z.ZodIntersection<z.
|
|
1401
|
+
device: z.ZodIntersection<z.ZodObject<{
|
|
1534
1402
|
name: z.ZodString;
|
|
1535
1403
|
foreignRef: z.ZodString;
|
|
1536
1404
|
provider: z.ZodString;
|
|
@@ -1776,59 +1644,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1776
1644
|
type: "nvr-analytics-server";
|
|
1777
1645
|
}, {
|
|
1778
1646
|
type: "nvr-analytics-server";
|
|
1779
|
-
}>]
|
|
1780
|
-
presets: z.ZodArray<z.ZodObject<{
|
|
1781
|
-
id: z.ZodString;
|
|
1782
|
-
name: z.ZodString;
|
|
1783
|
-
params: z.ZodUnknown;
|
|
1784
|
-
isDefault: z.ZodBoolean;
|
|
1785
|
-
assignedRef: z.ZodNullable<z.ZodString>;
|
|
1786
|
-
createdOn: z.ZodString;
|
|
1787
|
-
lastModifiedOn: z.ZodString;
|
|
1788
|
-
}, "strip", z.ZodTypeAny, {
|
|
1789
|
-
name: string;
|
|
1790
|
-
id: string;
|
|
1791
|
-
isDefault: boolean;
|
|
1792
|
-
assignedRef: string | null;
|
|
1793
|
-
createdOn: string;
|
|
1794
|
-
lastModifiedOn: string;
|
|
1795
|
-
params?: unknown;
|
|
1796
|
-
}, {
|
|
1797
|
-
name: string;
|
|
1798
|
-
id: string;
|
|
1799
|
-
isDefault: boolean;
|
|
1800
|
-
assignedRef: string | null;
|
|
1801
|
-
createdOn: string;
|
|
1802
|
-
lastModifiedOn: string;
|
|
1803
|
-
params?: unknown;
|
|
1804
|
-
}>, "many">;
|
|
1805
|
-
}, "strip", z.ZodTypeAny, {
|
|
1806
|
-
presets: {
|
|
1807
|
-
name: string;
|
|
1808
|
-
id: string;
|
|
1809
|
-
isDefault: boolean;
|
|
1810
|
-
assignedRef: string | null;
|
|
1811
|
-
createdOn: string;
|
|
1812
|
-
lastModifiedOn: string;
|
|
1813
|
-
params?: unknown;
|
|
1814
|
-
}[];
|
|
1815
|
-
}, {
|
|
1816
|
-
presets: {
|
|
1817
|
-
name: string;
|
|
1818
|
-
id: string;
|
|
1819
|
-
isDefault: boolean;
|
|
1820
|
-
assignedRef: string | null;
|
|
1821
|
-
createdOn: string;
|
|
1822
|
-
lastModifiedOn: string;
|
|
1823
|
-
params?: unknown;
|
|
1824
|
-
}[];
|
|
1825
|
-
}>>;
|
|
1647
|
+
}>]>>;
|
|
1826
1648
|
args: z.ZodUnknown;
|
|
1827
1649
|
url: z.ZodString;
|
|
1828
1650
|
}, "strip", z.ZodTypeAny, {
|
|
1829
1651
|
url: string;
|
|
1830
1652
|
kind: "push-file";
|
|
1831
|
-
device:
|
|
1653
|
+
device: {
|
|
1832
1654
|
name: string;
|
|
1833
1655
|
foreignRef: string;
|
|
1834
1656
|
provider: string;
|
|
@@ -1905,23 +1727,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1905
1727
|
type: "nvr-exporter";
|
|
1906
1728
|
} | {
|
|
1907
1729
|
type: "nvr-analytics-server";
|
|
1908
|
-
})
|
|
1909
|
-
presets: {
|
|
1910
|
-
name: string;
|
|
1911
|
-
id: string;
|
|
1912
|
-
isDefault: boolean;
|
|
1913
|
-
assignedRef: string | null;
|
|
1914
|
-
createdOn: string;
|
|
1915
|
-
lastModifiedOn: string;
|
|
1916
|
-
params?: unknown;
|
|
1917
|
-
}[];
|
|
1918
|
-
};
|
|
1730
|
+
});
|
|
1919
1731
|
query: string;
|
|
1920
1732
|
args?: unknown;
|
|
1921
1733
|
}, {
|
|
1922
1734
|
url: string;
|
|
1923
1735
|
kind: "push-file";
|
|
1924
|
-
device:
|
|
1736
|
+
device: {
|
|
1925
1737
|
name: string;
|
|
1926
1738
|
foreignRef: string;
|
|
1927
1739
|
provider: string;
|
|
@@ -1998,17 +1810,7 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1998
1810
|
type: "nvr-exporter";
|
|
1999
1811
|
} | {
|
|
2000
1812
|
type: "nvr-analytics-server";
|
|
2001
|
-
})
|
|
2002
|
-
presets: {
|
|
2003
|
-
name: string;
|
|
2004
|
-
id: string;
|
|
2005
|
-
isDefault: boolean;
|
|
2006
|
-
assignedRef: string | null;
|
|
2007
|
-
createdOn: string;
|
|
2008
|
-
lastModifiedOn: string;
|
|
2009
|
-
params?: unknown;
|
|
2010
|
-
}[];
|
|
2011
|
-
};
|
|
1813
|
+
});
|
|
2012
1814
|
query: string;
|
|
2013
1815
|
args?: unknown;
|
|
2014
1816
|
}>;
|
|
@@ -72,7 +72,7 @@ export declare const requestSchemasByType: {
|
|
|
72
72
|
}>;
|
|
73
73
|
readonly "cctv:get-exports": import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
74
74
|
readonly "cctv:recordings-by-time-range": import("zod").ZodObject<{
|
|
75
|
-
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").
|
|
75
|
+
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
76
76
|
name: import("zod").ZodString;
|
|
77
77
|
foreignRef: import("zod").ZodString;
|
|
78
78
|
provider: import("zod").ZodString;
|
|
@@ -318,57 +318,11 @@ export declare const requestSchemasByType: {
|
|
|
318
318
|
type: "nvr-analytics-server";
|
|
319
319
|
}, {
|
|
320
320
|
type: "nvr-analytics-server";
|
|
321
|
-
}>]
|
|
322
|
-
presets: import("zod").ZodArray<import("zod").ZodObject<{
|
|
323
|
-
id: import("zod").ZodString;
|
|
324
|
-
name: import("zod").ZodString;
|
|
325
|
-
params: import("zod").ZodUnknown;
|
|
326
|
-
isDefault: import("zod").ZodBoolean;
|
|
327
|
-
assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
|
|
328
|
-
createdOn: import("zod").ZodString;
|
|
329
|
-
lastModifiedOn: import("zod").ZodString;
|
|
330
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
331
|
-
name: string;
|
|
332
|
-
id: string;
|
|
333
|
-
isDefault: boolean;
|
|
334
|
-
assignedRef: string | null;
|
|
335
|
-
createdOn: string;
|
|
336
|
-
lastModifiedOn: string;
|
|
337
|
-
params?: unknown;
|
|
338
|
-
}, {
|
|
339
|
-
name: string;
|
|
340
|
-
id: string;
|
|
341
|
-
isDefault: boolean;
|
|
342
|
-
assignedRef: string | null;
|
|
343
|
-
createdOn: string;
|
|
344
|
-
lastModifiedOn: string;
|
|
345
|
-
params?: unknown;
|
|
346
|
-
}>, "many">;
|
|
347
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
348
|
-
presets: {
|
|
349
|
-
name: string;
|
|
350
|
-
id: string;
|
|
351
|
-
isDefault: boolean;
|
|
352
|
-
assignedRef: string | null;
|
|
353
|
-
createdOn: string;
|
|
354
|
-
lastModifiedOn: string;
|
|
355
|
-
params?: unknown;
|
|
356
|
-
}[];
|
|
357
|
-
}, {
|
|
358
|
-
presets: {
|
|
359
|
-
name: string;
|
|
360
|
-
id: string;
|
|
361
|
-
isDefault: boolean;
|
|
362
|
-
assignedRef: string | null;
|
|
363
|
-
createdOn: string;
|
|
364
|
-
lastModifiedOn: string;
|
|
365
|
-
params?: unknown;
|
|
366
|
-
}[];
|
|
367
|
-
}>>]>;
|
|
321
|
+
}>]>>]>;
|
|
368
322
|
timeFrom: import("zod").ZodNumber;
|
|
369
323
|
timeTo: import("zod").ZodNumber;
|
|
370
324
|
}, "strip", import("zod").ZodTypeAny, {
|
|
371
|
-
device: string | (
|
|
325
|
+
device: string | ({
|
|
372
326
|
name: string;
|
|
373
327
|
foreignRef: string;
|
|
374
328
|
provider: string;
|
|
@@ -445,21 +399,11 @@ export declare const requestSchemasByType: {
|
|
|
445
399
|
type: "nvr-exporter";
|
|
446
400
|
} | {
|
|
447
401
|
type: "nvr-analytics-server";
|
|
448
|
-
}))
|
|
449
|
-
presets: {
|
|
450
|
-
name: string;
|
|
451
|
-
id: string;
|
|
452
|
-
isDefault: boolean;
|
|
453
|
-
assignedRef: string | null;
|
|
454
|
-
createdOn: string;
|
|
455
|
-
lastModifiedOn: string;
|
|
456
|
-
params?: unknown;
|
|
457
|
-
}[];
|
|
458
|
-
});
|
|
402
|
+
}));
|
|
459
403
|
timeFrom: number;
|
|
460
404
|
timeTo: number;
|
|
461
405
|
}, {
|
|
462
|
-
device: string | (
|
|
406
|
+
device: string | ({
|
|
463
407
|
name: string;
|
|
464
408
|
foreignRef: string;
|
|
465
409
|
provider: string;
|
|
@@ -536,22 +480,12 @@ export declare const requestSchemasByType: {
|
|
|
536
480
|
type: "nvr-exporter";
|
|
537
481
|
} | {
|
|
538
482
|
type: "nvr-analytics-server";
|
|
539
|
-
}))
|
|
540
|
-
presets: {
|
|
541
|
-
name: string;
|
|
542
|
-
id: string;
|
|
543
|
-
isDefault: boolean;
|
|
544
|
-
assignedRef: string | null;
|
|
545
|
-
createdOn: string;
|
|
546
|
-
lastModifiedOn: string;
|
|
547
|
-
params?: unknown;
|
|
548
|
-
}[];
|
|
549
|
-
});
|
|
483
|
+
}));
|
|
550
484
|
timeFrom: number;
|
|
551
485
|
timeTo: number;
|
|
552
486
|
}>;
|
|
553
487
|
readonly "cctv:preview-image": import("zod").ZodObject<{
|
|
554
|
-
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").
|
|
488
|
+
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
555
489
|
name: import("zod").ZodString;
|
|
556
490
|
foreignRef: import("zod").ZodString;
|
|
557
491
|
provider: import("zod").ZodString;
|
|
@@ -797,59 +731,13 @@ export declare const requestSchemasByType: {
|
|
|
797
731
|
type: "nvr-analytics-server";
|
|
798
732
|
}, {
|
|
799
733
|
type: "nvr-analytics-server";
|
|
800
|
-
}>]
|
|
801
|
-
presets: import("zod").ZodArray<import("zod").ZodObject<{
|
|
802
|
-
id: import("zod").ZodString;
|
|
803
|
-
name: import("zod").ZodString;
|
|
804
|
-
params: import("zod").ZodUnknown;
|
|
805
|
-
isDefault: import("zod").ZodBoolean;
|
|
806
|
-
assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
|
|
807
|
-
createdOn: import("zod").ZodString;
|
|
808
|
-
lastModifiedOn: import("zod").ZodString;
|
|
809
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
810
|
-
name: string;
|
|
811
|
-
id: string;
|
|
812
|
-
isDefault: boolean;
|
|
813
|
-
assignedRef: string | null;
|
|
814
|
-
createdOn: string;
|
|
815
|
-
lastModifiedOn: string;
|
|
816
|
-
params?: unknown;
|
|
817
|
-
}, {
|
|
818
|
-
name: string;
|
|
819
|
-
id: string;
|
|
820
|
-
isDefault: boolean;
|
|
821
|
-
assignedRef: string | null;
|
|
822
|
-
createdOn: string;
|
|
823
|
-
lastModifiedOn: string;
|
|
824
|
-
params?: unknown;
|
|
825
|
-
}>, "many">;
|
|
826
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
827
|
-
presets: {
|
|
828
|
-
name: string;
|
|
829
|
-
id: string;
|
|
830
|
-
isDefault: boolean;
|
|
831
|
-
assignedRef: string | null;
|
|
832
|
-
createdOn: string;
|
|
833
|
-
lastModifiedOn: string;
|
|
834
|
-
params?: unknown;
|
|
835
|
-
}[];
|
|
836
|
-
}, {
|
|
837
|
-
presets: {
|
|
838
|
-
name: string;
|
|
839
|
-
id: string;
|
|
840
|
-
isDefault: boolean;
|
|
841
|
-
assignedRef: string | null;
|
|
842
|
-
createdOn: string;
|
|
843
|
-
lastModifiedOn: string;
|
|
844
|
-
params?: unknown;
|
|
845
|
-
}[];
|
|
846
|
-
}>>]>;
|
|
734
|
+
}>]>>]>;
|
|
847
735
|
time: import("zod").ZodNumber;
|
|
848
736
|
height: import("zod").ZodNumber;
|
|
849
737
|
}, "strip", import("zod").ZodTypeAny, {
|
|
850
738
|
time: number;
|
|
851
739
|
height: number;
|
|
852
|
-
device: string | (
|
|
740
|
+
device: string | ({
|
|
853
741
|
name: string;
|
|
854
742
|
foreignRef: string;
|
|
855
743
|
provider: string;
|
|
@@ -926,21 +814,11 @@ export declare const requestSchemasByType: {
|
|
|
926
814
|
type: "nvr-exporter";
|
|
927
815
|
} | {
|
|
928
816
|
type: "nvr-analytics-server";
|
|
929
|
-
}))
|
|
930
|
-
presets: {
|
|
931
|
-
name: string;
|
|
932
|
-
id: string;
|
|
933
|
-
isDefault: boolean;
|
|
934
|
-
assignedRef: string | null;
|
|
935
|
-
createdOn: string;
|
|
936
|
-
lastModifiedOn: string;
|
|
937
|
-
params?: unknown;
|
|
938
|
-
}[];
|
|
939
|
-
});
|
|
817
|
+
}));
|
|
940
818
|
}, {
|
|
941
819
|
time: number;
|
|
942
820
|
height: number;
|
|
943
|
-
device: string | (
|
|
821
|
+
device: string | ({
|
|
944
822
|
name: string;
|
|
945
823
|
foreignRef: string;
|
|
946
824
|
provider: string;
|
|
@@ -1017,20 +895,10 @@ export declare const requestSchemasByType: {
|
|
|
1017
895
|
type: "nvr-exporter";
|
|
1018
896
|
} | {
|
|
1019
897
|
type: "nvr-analytics-server";
|
|
1020
|
-
}))
|
|
1021
|
-
presets: {
|
|
1022
|
-
name: string;
|
|
1023
|
-
id: string;
|
|
1024
|
-
isDefault: boolean;
|
|
1025
|
-
assignedRef: string | null;
|
|
1026
|
-
createdOn: string;
|
|
1027
|
-
lastModifiedOn: string;
|
|
1028
|
-
params?: unknown;
|
|
1029
|
-
}[];
|
|
1030
|
-
});
|
|
898
|
+
}));
|
|
1031
899
|
}>;
|
|
1032
900
|
readonly "cctv:latest-frame": import("zod").ZodObject<{
|
|
1033
|
-
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").
|
|
901
|
+
device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
1034
902
|
name: import("zod").ZodString;
|
|
1035
903
|
foreignRef: import("zod").ZodString;
|
|
1036
904
|
provider: import("zod").ZodString;
|
|
@@ -1276,59 +1144,13 @@ export declare const requestSchemasByType: {
|
|
|
1276
1144
|
type: "nvr-analytics-server";
|
|
1277
1145
|
}, {
|
|
1278
1146
|
type: "nvr-analytics-server";
|
|
1279
|
-
}>]
|
|
1280
|
-
presets: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1281
|
-
id: import("zod").ZodString;
|
|
1282
|
-
name: import("zod").ZodString;
|
|
1283
|
-
params: import("zod").ZodUnknown;
|
|
1284
|
-
isDefault: import("zod").ZodBoolean;
|
|
1285
|
-
assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1286
|
-
createdOn: import("zod").ZodString;
|
|
1287
|
-
lastModifiedOn: import("zod").ZodString;
|
|
1288
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1289
|
-
name: string;
|
|
1290
|
-
id: string;
|
|
1291
|
-
isDefault: boolean;
|
|
1292
|
-
assignedRef: string | null;
|
|
1293
|
-
createdOn: string;
|
|
1294
|
-
lastModifiedOn: string;
|
|
1295
|
-
params?: unknown;
|
|
1296
|
-
}, {
|
|
1297
|
-
name: string;
|
|
1298
|
-
id: string;
|
|
1299
|
-
isDefault: boolean;
|
|
1300
|
-
assignedRef: string | null;
|
|
1301
|
-
createdOn: string;
|
|
1302
|
-
lastModifiedOn: string;
|
|
1303
|
-
params?: unknown;
|
|
1304
|
-
}>, "many">;
|
|
1305
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
1306
|
-
presets: {
|
|
1307
|
-
name: string;
|
|
1308
|
-
id: string;
|
|
1309
|
-
isDefault: boolean;
|
|
1310
|
-
assignedRef: string | null;
|
|
1311
|
-
createdOn: string;
|
|
1312
|
-
lastModifiedOn: string;
|
|
1313
|
-
params?: unknown;
|
|
1314
|
-
}[];
|
|
1315
|
-
}, {
|
|
1316
|
-
presets: {
|
|
1317
|
-
name: string;
|
|
1318
|
-
id: string;
|
|
1319
|
-
isDefault: boolean;
|
|
1320
|
-
assignedRef: string | null;
|
|
1321
|
-
createdOn: string;
|
|
1322
|
-
lastModifiedOn: string;
|
|
1323
|
-
params?: unknown;
|
|
1324
|
-
}[];
|
|
1325
|
-
}>>]>;
|
|
1147
|
+
}>]>>]>;
|
|
1326
1148
|
width: import("zod").ZodNumber;
|
|
1327
1149
|
height: import("zod").ZodNumber;
|
|
1328
1150
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1329
1151
|
height: number;
|
|
1330
1152
|
width: number;
|
|
1331
|
-
device: string | (
|
|
1153
|
+
device: string | ({
|
|
1332
1154
|
name: string;
|
|
1333
1155
|
foreignRef: string;
|
|
1334
1156
|
provider: string;
|
|
@@ -1405,21 +1227,11 @@ export declare const requestSchemasByType: {
|
|
|
1405
1227
|
type: "nvr-exporter";
|
|
1406
1228
|
} | {
|
|
1407
1229
|
type: "nvr-analytics-server";
|
|
1408
|
-
}))
|
|
1409
|
-
presets: {
|
|
1410
|
-
name: string;
|
|
1411
|
-
id: string;
|
|
1412
|
-
isDefault: boolean;
|
|
1413
|
-
assignedRef: string | null;
|
|
1414
|
-
createdOn: string;
|
|
1415
|
-
lastModifiedOn: string;
|
|
1416
|
-
params?: unknown;
|
|
1417
|
-
}[];
|
|
1418
|
-
});
|
|
1230
|
+
}));
|
|
1419
1231
|
}, {
|
|
1420
1232
|
height: number;
|
|
1421
1233
|
width: number;
|
|
1422
|
-
device: string | (
|
|
1234
|
+
device: string | ({
|
|
1423
1235
|
name: string;
|
|
1424
1236
|
foreignRef: string;
|
|
1425
1237
|
provider: string;
|
|
@@ -1496,17 +1308,7 @@ export declare const requestSchemasByType: {
|
|
|
1496
1308
|
type: "nvr-exporter";
|
|
1497
1309
|
} | {
|
|
1498
1310
|
type: "nvr-analytics-server";
|
|
1499
|
-
}))
|
|
1500
|
-
presets: {
|
|
1501
|
-
name: string;
|
|
1502
|
-
id: string;
|
|
1503
|
-
isDefault: boolean;
|
|
1504
|
-
assignedRef: string | null;
|
|
1505
|
-
createdOn: string;
|
|
1506
|
-
lastModifiedOn: string;
|
|
1507
|
-
params?: unknown;
|
|
1508
|
-
}[];
|
|
1509
|
-
});
|
|
1311
|
+
}));
|
|
1510
1312
|
}>;
|
|
1511
1313
|
};
|
|
1512
1314
|
export declare const responseSchemasByType: {
|