@awarevue/api-types 2.0.96 → 2.0.98

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.
@@ -675,6 +675,8 @@ export declare const sGetAvailableDevicesRs: z.ZodObject<{
675
675
  isRecordedBy: "isRecordedBy";
676
676
  reads: "reads";
677
677
  isReadBy: "isReadBy";
678
+ isIngestedBy: "isIngestedBy";
679
+ ingests: "ingests";
678
680
  }>;
679
681
  }, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
680
682
  provider: z.ZodString;
@@ -29,6 +29,8 @@ export declare const sAddDeviceRequest: z.ZodObject<{
29
29
  isRecordedBy: "isRecordedBy";
30
30
  reads: "reads";
31
31
  isReadBy: "isReadBy";
32
+ isIngestedBy: "isIngestedBy";
33
+ ingests: "ingests";
32
34
  }>;
33
35
  }, z.core.$catchall<z.ZodUnknown>>>;
34
36
  type: z.ZodEnum<{
@@ -83,6 +85,8 @@ export declare const sUpdateDeviceRequest: z.ZodObject<{
83
85
  isRecordedBy: "isRecordedBy";
84
86
  reads: "reads";
85
87
  isReadBy: "isReadBy";
88
+ isIngestedBy: "isIngestedBy";
89
+ ingests: "ingests";
86
90
  }>;
87
91
  }, z.core.$catchall<z.ZodUnknown>>>>;
88
92
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -144,6 +148,8 @@ export declare const sSetUnsetRelationRequest: z.ZodObject<{
144
148
  isRecordedBy: "isRecordedBy";
145
149
  reads: "reads";
146
150
  isReadBy: "isReadBy";
151
+ isIngestedBy: "isIngestedBy";
152
+ ingests: "ingests";
147
153
  }>;
148
154
  }, z.core.$catchall<z.ZodUnknown>>;
149
155
  export type AddDeviceRequest = z.infer<typeof sAddDeviceRequest>;
@@ -203,6 +203,8 @@ export declare const sDeviceMgmtInfo: z.ZodObject<{
203
203
  isRecordedBy: "isRecordedBy";
204
204
  reads: "reads";
205
205
  isReadBy: "isReadBy";
206
+ isIngestedBy: "isIngestedBy";
207
+ ingests: "ingests";
206
208
  }>;
207
209
  }, z.core.$catchall<z.ZodUnknown>>>;
208
210
  groups: z.ZodArray<z.ZodString>;
@@ -354,6 +356,8 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
354
356
  isRecordedBy: "isRecordedBy";
355
357
  reads: "reads";
356
358
  isReadBy: "isReadBy";
359
+ isIngestedBy: "isIngestedBy";
360
+ ingests: "ingests";
357
361
  }>;
358
362
  }, z.core.$catchall<z.ZodUnknown>>>;
359
363
  groups: z.ZodArray<z.ZodString>;
@@ -441,6 +445,8 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
441
445
  isRecordedBy: "isRecordedBy";
442
446
  reads: "reads";
443
447
  isReadBy: "isReadBy";
448
+ isIngestedBy: "isIngestedBy";
449
+ ingests: "ingests";
444
450
  }>;
445
451
  }, z.core.$catchall<z.ZodUnknown>>>;
446
452
  groups: z.ZodArray<z.ZodString>;
@@ -503,6 +509,8 @@ export declare const sDoorDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
503
509
  isRecordedBy: "isRecordedBy";
504
510
  reads: "reads";
505
511
  isReadBy: "isReadBy";
512
+ isIngestedBy: "isIngestedBy";
513
+ ingests: "ingests";
506
514
  }>;
507
515
  }, z.core.$catchall<z.ZodUnknown>>>;
508
516
  groups: z.ZodArray<z.ZodString>;
@@ -560,6 +568,8 @@ export declare const sReaderDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
560
568
  isRecordedBy: "isRecordedBy";
561
569
  reads: "reads";
562
570
  isReadBy: "isReadBy";
571
+ isIngestedBy: "isIngestedBy";
572
+ ingests: "ingests";
563
573
  }>;
564
574
  }, z.core.$catchall<z.ZodUnknown>>>;
565
575
  groups: z.ZodArray<z.ZodString>;
@@ -612,6 +622,8 @@ export declare const sIoBoardDto: z.ZodIntersection<z.ZodIntersection<z.ZodObjec
612
622
  isRecordedBy: "isRecordedBy";
613
623
  reads: "reads";
614
624
  isReadBy: "isReadBy";
625
+ isIngestedBy: "isIngestedBy";
626
+ ingests: "ingests";
615
627
  }>;
616
628
  }, z.core.$catchall<z.ZodUnknown>>>;
617
629
  groups: z.ZodArray<z.ZodString>;
@@ -662,6 +674,8 @@ export declare const sCameraLiftDto: z.ZodIntersection<z.ZodIntersection<z.ZodOb
662
674
  isRecordedBy: "isRecordedBy";
663
675
  reads: "reads";
664
676
  isReadBy: "isReadBy";
677
+ isIngestedBy: "isIngestedBy";
678
+ ingests: "ingests";
665
679
  }>;
666
680
  }, z.core.$catchall<z.ZodUnknown>>>;
667
681
  groups: z.ZodArray<z.ZodString>;
@@ -712,6 +726,8 @@ export declare const sMotionSensorDto: z.ZodIntersection<z.ZodIntersection<z.Zod
712
726
  isRecordedBy: "isRecordedBy";
713
727
  reads: "reads";
714
728
  isReadBy: "isReadBy";
729
+ isIngestedBy: "isIngestedBy";
730
+ ingests: "ingests";
715
731
  }>;
716
732
  }, z.core.$catchall<z.ZodUnknown>>>;
717
733
  groups: z.ZodArray<z.ZodString>;
@@ -762,6 +778,8 @@ export declare const sPanicButtonDto: z.ZodIntersection<z.ZodIntersection<z.ZodO
762
778
  isRecordedBy: "isRecordedBy";
763
779
  reads: "reads";
764
780
  isReadBy: "isReadBy";
781
+ isIngestedBy: "isIngestedBy";
782
+ ingests: "ingests";
765
783
  }>;
766
784
  }, z.core.$catchall<z.ZodUnknown>>>;
767
785
  groups: z.ZodArray<z.ZodString>;
@@ -817,6 +835,8 @@ export declare const sIntercomTerminalDto: z.ZodIntersection<z.ZodIntersection<z
817
835
  isRecordedBy: "isRecordedBy";
818
836
  reads: "reads";
819
837
  isReadBy: "isReadBy";
838
+ isIngestedBy: "isIngestedBy";
839
+ ingests: "ingests";
820
840
  }>;
821
841
  }, z.core.$catchall<z.ZodUnknown>>>;
822
842
  groups: z.ZodArray<z.ZodString>;
@@ -868,6 +888,8 @@ export declare const sPbxDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
868
888
  isRecordedBy: "isRecordedBy";
869
889
  reads: "reads";
870
890
  isReadBy: "isReadBy";
891
+ isIngestedBy: "isIngestedBy";
892
+ ingests: "ingests";
871
893
  }>;
872
894
  }, z.core.$catchall<z.ZodUnknown>>>;
873
895
  groups: z.ZodArray<z.ZodString>;
@@ -918,6 +940,8 @@ export declare const sDeviceGatewayDto: z.ZodIntersection<z.ZodIntersection<z.Zo
918
940
  isRecordedBy: "isRecordedBy";
919
941
  reads: "reads";
920
942
  isReadBy: "isReadBy";
943
+ isIngestedBy: "isIngestedBy";
944
+ ingests: "ingests";
921
945
  }>;
922
946
  }, z.core.$catchall<z.ZodUnknown>>>;
923
947
  groups: z.ZodArray<z.ZodString>;
@@ -968,6 +992,8 @@ export declare const sPresenceTrackerDto: z.ZodIntersection<z.ZodIntersection<z.
968
992
  isRecordedBy: "isRecordedBy";
969
993
  reads: "reads";
970
994
  isReadBy: "isReadBy";
995
+ isIngestedBy: "isIngestedBy";
996
+ ingests: "ingests";
971
997
  }>;
972
998
  }, z.core.$catchall<z.ZodUnknown>>>;
973
999
  groups: z.ZodArray<z.ZodString>;
@@ -1018,6 +1044,8 @@ export declare const sServerDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
1018
1044
  isRecordedBy: "isRecordedBy";
1019
1045
  reads: "reads";
1020
1046
  isReadBy: "isReadBy";
1047
+ isIngestedBy: "isIngestedBy";
1048
+ ingests: "ingests";
1021
1049
  }>;
1022
1050
  }, z.core.$catchall<z.ZodUnknown>>>;
1023
1051
  groups: z.ZodArray<z.ZodString>;
@@ -1068,6 +1096,8 @@ export declare const sAlarmDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject<
1068
1096
  isRecordedBy: "isRecordedBy";
1069
1097
  reads: "reads";
1070
1098
  isReadBy: "isReadBy";
1099
+ isIngestedBy: "isIngestedBy";
1100
+ ingests: "ingests";
1071
1101
  }>;
1072
1102
  }, z.core.$catchall<z.ZodUnknown>>>;
1073
1103
  groups: z.ZodArray<z.ZodString>;
@@ -1118,6 +1148,8 @@ export declare const sIntercomOperatorDto: z.ZodIntersection<z.ZodIntersection<z
1118
1148
  isRecordedBy: "isRecordedBy";
1119
1149
  reads: "reads";
1120
1150
  isReadBy: "isReadBy";
1151
+ isIngestedBy: "isIngestedBy";
1152
+ ingests: "ingests";
1121
1153
  }>;
1122
1154
  }, z.core.$catchall<z.ZodUnknown>>>;
1123
1155
  groups: z.ZodArray<z.ZodString>;
@@ -1168,6 +1200,8 @@ export declare const sDisplayDto: z.ZodIntersection<z.ZodIntersection<z.ZodObjec
1168
1200
  isRecordedBy: "isRecordedBy";
1169
1201
  reads: "reads";
1170
1202
  isReadBy: "isReadBy";
1203
+ isIngestedBy: "isIngestedBy";
1204
+ ingests: "ingests";
1171
1205
  }>;
1172
1206
  }, z.core.$catchall<z.ZodUnknown>>>;
1173
1207
  groups: z.ZodArray<z.ZodString>;
@@ -1218,6 +1252,8 @@ export declare const sRecorderDto: z.ZodIntersection<z.ZodIntersection<z.ZodObje
1218
1252
  isRecordedBy: "isRecordedBy";
1219
1253
  reads: "reads";
1220
1254
  isReadBy: "isReadBy";
1255
+ isIngestedBy: "isIngestedBy";
1256
+ ingests: "ingests";
1221
1257
  }>;
1222
1258
  }, z.core.$catchall<z.ZodUnknown>>>;
1223
1259
  groups: z.ZodArray<z.ZodString>;
@@ -1268,6 +1304,8 @@ export declare const sNvrExporterDto: z.ZodIntersection<z.ZodIntersection<z.ZodO
1268
1304
  isRecordedBy: "isRecordedBy";
1269
1305
  reads: "reads";
1270
1306
  isReadBy: "isReadBy";
1307
+ isIngestedBy: "isIngestedBy";
1308
+ ingests: "ingests";
1271
1309
  }>;
1272
1310
  }, z.core.$catchall<z.ZodUnknown>>>;
1273
1311
  groups: z.ZodArray<z.ZodString>;
@@ -1318,6 +1356,8 @@ export declare const sNvrAnalyticsServerDto: z.ZodIntersection<z.ZodIntersection
1318
1356
  isRecordedBy: "isRecordedBy";
1319
1357
  reads: "reads";
1320
1358
  isReadBy: "isReadBy";
1359
+ isIngestedBy: "isIngestedBy";
1360
+ ingests: "ingests";
1321
1361
  }>;
1322
1362
  }, z.core.$catchall<z.ZodUnknown>>>;
1323
1363
  groups: z.ZodArray<z.ZodString>;
@@ -1368,6 +1408,8 @@ export declare const sSystemDeviceDto: z.ZodIntersection<z.ZodIntersection<z.Zod
1368
1408
  isRecordedBy: "isRecordedBy";
1369
1409
  reads: "reads";
1370
1410
  isReadBy: "isReadBy";
1411
+ isIngestedBy: "isIngestedBy";
1412
+ ingests: "ingests";
1371
1413
  }>;
1372
1414
  }, z.core.$catchall<z.ZodUnknown>>>;
1373
1415
  groups: z.ZodArray<z.ZodString>;
@@ -1482,6 +1524,8 @@ export declare const deviceDtoSchemaMap: {
1482
1524
  isRecordedBy: "isRecordedBy";
1483
1525
  reads: "reads";
1484
1526
  isReadBy: "isReadBy";
1527
+ isIngestedBy: "isIngestedBy";
1528
+ ingests: "ingests";
1485
1529
  }>;
1486
1530
  }, z.core.$catchall<z.ZodUnknown>>>;
1487
1531
  groups: z.ZodArray<z.ZodString>;
@@ -1569,6 +1613,8 @@ export declare const deviceDtoSchemaMap: {
1569
1613
  isRecordedBy: "isRecordedBy";
1570
1614
  reads: "reads";
1571
1615
  isReadBy: "isReadBy";
1616
+ isIngestedBy: "isIngestedBy";
1617
+ ingests: "ingests";
1572
1618
  }>;
1573
1619
  }, z.core.$catchall<z.ZodUnknown>>>;
1574
1620
  groups: z.ZodArray<z.ZodString>;
@@ -1631,6 +1677,8 @@ export declare const deviceDtoSchemaMap: {
1631
1677
  isRecordedBy: "isRecordedBy";
1632
1678
  reads: "reads";
1633
1679
  isReadBy: "isReadBy";
1680
+ isIngestedBy: "isIngestedBy";
1681
+ ingests: "ingests";
1634
1682
  }>;
1635
1683
  }, z.core.$catchall<z.ZodUnknown>>>;
1636
1684
  groups: z.ZodArray<z.ZodString>;
@@ -1688,6 +1736,8 @@ export declare const deviceDtoSchemaMap: {
1688
1736
  isRecordedBy: "isRecordedBy";
1689
1737
  reads: "reads";
1690
1738
  isReadBy: "isReadBy";
1739
+ isIngestedBy: "isIngestedBy";
1740
+ ingests: "ingests";
1691
1741
  }>;
1692
1742
  }, z.core.$catchall<z.ZodUnknown>>>;
1693
1743
  groups: z.ZodArray<z.ZodString>;
@@ -1740,6 +1790,8 @@ export declare const deviceDtoSchemaMap: {
1740
1790
  isRecordedBy: "isRecordedBy";
1741
1791
  reads: "reads";
1742
1792
  isReadBy: "isReadBy";
1793
+ isIngestedBy: "isIngestedBy";
1794
+ ingests: "ingests";
1743
1795
  }>;
1744
1796
  }, z.core.$catchall<z.ZodUnknown>>>;
1745
1797
  groups: z.ZodArray<z.ZodString>;
@@ -1790,6 +1842,8 @@ export declare const deviceDtoSchemaMap: {
1790
1842
  isRecordedBy: "isRecordedBy";
1791
1843
  reads: "reads";
1792
1844
  isReadBy: "isReadBy";
1845
+ isIngestedBy: "isIngestedBy";
1846
+ ingests: "ingests";
1793
1847
  }>;
1794
1848
  }, z.core.$catchall<z.ZodUnknown>>>;
1795
1849
  groups: z.ZodArray<z.ZodString>;
@@ -1840,6 +1894,8 @@ export declare const deviceDtoSchemaMap: {
1840
1894
  isRecordedBy: "isRecordedBy";
1841
1895
  reads: "reads";
1842
1896
  isReadBy: "isReadBy";
1897
+ isIngestedBy: "isIngestedBy";
1898
+ ingests: "ingests";
1843
1899
  }>;
1844
1900
  }, z.core.$catchall<z.ZodUnknown>>>;
1845
1901
  groups: z.ZodArray<z.ZodString>;
@@ -1890,6 +1946,8 @@ export declare const deviceDtoSchemaMap: {
1890
1946
  isRecordedBy: "isRecordedBy";
1891
1947
  reads: "reads";
1892
1948
  isReadBy: "isReadBy";
1949
+ isIngestedBy: "isIngestedBy";
1950
+ ingests: "ingests";
1893
1951
  }>;
1894
1952
  }, z.core.$catchall<z.ZodUnknown>>>;
1895
1953
  groups: z.ZodArray<z.ZodString>;
@@ -1940,6 +1998,8 @@ export declare const deviceDtoSchemaMap: {
1940
1998
  isRecordedBy: "isRecordedBy";
1941
1999
  reads: "reads";
1942
2000
  isReadBy: "isReadBy";
2001
+ isIngestedBy: "isIngestedBy";
2002
+ ingests: "ingests";
1943
2003
  }>;
1944
2004
  }, z.core.$catchall<z.ZodUnknown>>>;
1945
2005
  groups: z.ZodArray<z.ZodString>;
@@ -1995,6 +2055,8 @@ export declare const deviceDtoSchemaMap: {
1995
2055
  isRecordedBy: "isRecordedBy";
1996
2056
  reads: "reads";
1997
2057
  isReadBy: "isReadBy";
2058
+ isIngestedBy: "isIngestedBy";
2059
+ ingests: "ingests";
1998
2060
  }>;
1999
2061
  }, z.core.$catchall<z.ZodUnknown>>>;
2000
2062
  groups: z.ZodArray<z.ZodString>;
@@ -2046,6 +2108,8 @@ export declare const deviceDtoSchemaMap: {
2046
2108
  isRecordedBy: "isRecordedBy";
2047
2109
  reads: "reads";
2048
2110
  isReadBy: "isReadBy";
2111
+ isIngestedBy: "isIngestedBy";
2112
+ ingests: "ingests";
2049
2113
  }>;
2050
2114
  }, z.core.$catchall<z.ZodUnknown>>>;
2051
2115
  groups: z.ZodArray<z.ZodString>;
@@ -2096,6 +2160,8 @@ export declare const deviceDtoSchemaMap: {
2096
2160
  isRecordedBy: "isRecordedBy";
2097
2161
  reads: "reads";
2098
2162
  isReadBy: "isReadBy";
2163
+ isIngestedBy: "isIngestedBy";
2164
+ ingests: "ingests";
2099
2165
  }>;
2100
2166
  }, z.core.$catchall<z.ZodUnknown>>>;
2101
2167
  groups: z.ZodArray<z.ZodString>;
@@ -2146,6 +2212,8 @@ export declare const deviceDtoSchemaMap: {
2146
2212
  isRecordedBy: "isRecordedBy";
2147
2213
  reads: "reads";
2148
2214
  isReadBy: "isReadBy";
2215
+ isIngestedBy: "isIngestedBy";
2216
+ ingests: "ingests";
2149
2217
  }>;
2150
2218
  }, z.core.$catchall<z.ZodUnknown>>>;
2151
2219
  groups: z.ZodArray<z.ZodString>;
@@ -2196,6 +2264,8 @@ export declare const deviceDtoSchemaMap: {
2196
2264
  isRecordedBy: "isRecordedBy";
2197
2265
  reads: "reads";
2198
2266
  isReadBy: "isReadBy";
2267
+ isIngestedBy: "isIngestedBy";
2268
+ ingests: "ingests";
2199
2269
  }>;
2200
2270
  }, z.core.$catchall<z.ZodUnknown>>>;
2201
2271
  groups: z.ZodArray<z.ZodString>;
@@ -2246,6 +2316,8 @@ export declare const deviceDtoSchemaMap: {
2246
2316
  isRecordedBy: "isRecordedBy";
2247
2317
  reads: "reads";
2248
2318
  isReadBy: "isReadBy";
2319
+ isIngestedBy: "isIngestedBy";
2320
+ ingests: "ingests";
2249
2321
  }>;
2250
2322
  }, z.core.$catchall<z.ZodUnknown>>>;
2251
2323
  groups: z.ZodArray<z.ZodString>;
@@ -2296,6 +2368,8 @@ export declare const deviceDtoSchemaMap: {
2296
2368
  isRecordedBy: "isRecordedBy";
2297
2369
  reads: "reads";
2298
2370
  isReadBy: "isReadBy";
2371
+ isIngestedBy: "isIngestedBy";
2372
+ ingests: "ingests";
2299
2373
  }>;
2300
2374
  }, z.core.$catchall<z.ZodUnknown>>>;
2301
2375
  groups: z.ZodArray<z.ZodString>;
@@ -2346,6 +2420,8 @@ export declare const deviceDtoSchemaMap: {
2346
2420
  isRecordedBy: "isRecordedBy";
2347
2421
  reads: "reads";
2348
2422
  isReadBy: "isReadBy";
2423
+ isIngestedBy: "isIngestedBy";
2424
+ ingests: "ingests";
2349
2425
  }>;
2350
2426
  }, z.core.$catchall<z.ZodUnknown>>>;
2351
2427
  groups: z.ZodArray<z.ZodString>;
@@ -2396,6 +2472,8 @@ export declare const deviceDtoSchemaMap: {
2396
2472
  isRecordedBy: "isRecordedBy";
2397
2473
  reads: "reads";
2398
2474
  isReadBy: "isReadBy";
2475
+ isIngestedBy: "isIngestedBy";
2476
+ ingests: "ingests";
2399
2477
  }>;
2400
2478
  }, z.core.$catchall<z.ZodUnknown>>>;
2401
2479
  groups: z.ZodArray<z.ZodString>;
@@ -2446,6 +2524,8 @@ export declare const deviceDtoSchemaMap: {
2446
2524
  isRecordedBy: "isRecordedBy";
2447
2525
  reads: "reads";
2448
2526
  isReadBy: "isReadBy";
2527
+ isIngestedBy: "isIngestedBy";
2528
+ ingests: "ingests";
2449
2529
  }>;
2450
2530
  }, z.core.$catchall<z.ZodUnknown>>>;
2451
2531
  groups: z.ZodArray<z.ZodString>;
@@ -248,6 +248,8 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
248
248
  isRecordedBy: "isRecordedBy";
249
249
  reads: "reads";
250
250
  isReadBy: "isReadBy";
251
+ isIngestedBy: "isIngestedBy";
252
+ ingests: "ingests";
251
253
  }>;
252
254
  }, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
253
255
  provider: z.ZodString;
@@ -277,6 +279,8 @@ export declare const sRelationDeltaDto: z.ZodObject<{
277
279
  isRecordedBy: "isRecordedBy";
278
280
  reads: "reads";
279
281
  isReadBy: "isReadBy";
282
+ isIngestedBy: "isIngestedBy";
283
+ ingests: "ingests";
280
284
  }>;
281
285
  }, z.core.$catchall<z.ZodUnknown>>;
282
286
  action: z.ZodEnum<{
@@ -540,6 +544,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
540
544
  isRecordedBy: "isRecordedBy";
541
545
  reads: "reads";
542
546
  isReadBy: "isReadBy";
547
+ isIngestedBy: "isIngestedBy";
548
+ ingests: "ingests";
543
549
  }>;
544
550
  }, z.core.$catchall<z.ZodUnknown>>>;
545
551
  groups: z.ZodArray<z.ZodString>;
@@ -576,6 +582,8 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
576
582
  isRecordedBy: "isRecordedBy";
577
583
  reads: "reads";
578
584
  isReadBy: "isReadBy";
585
+ isIngestedBy: "isIngestedBy";
586
+ ingests: "ingests";
579
587
  }>;
580
588
  }, z.core.$catchall<z.ZodUnknown>>;
581
589
  action: z.ZodEnum<{
@@ -19,6 +19,8 @@ export declare const sDeviceRelationKind: z.ZodEnum<{
19
19
  isRecordedBy: "isRecordedBy";
20
20
  reads: "reads";
21
21
  isReadBy: "isReadBy";
22
+ isIngestedBy: "isIngestedBy";
23
+ ingests: "ingests";
22
24
  }>;
23
25
  export declare const sDeviceRelationDto: z.ZodObject<{
24
26
  leftId: z.ZodString;
@@ -43,6 +45,8 @@ export declare const sDeviceRelationDto: z.ZodObject<{
43
45
  isRecordedBy: "isRecordedBy";
44
46
  reads: "reads";
45
47
  isReadBy: "isReadBy";
48
+ isIngestedBy: "isIngestedBy";
49
+ ingests: "ingests";
46
50
  }>;
47
51
  }, z.core.$catchall<z.ZodUnknown>>;
48
52
  export declare const sDeviceRelationSide: z.ZodObject<{
@@ -67,6 +71,8 @@ export declare const sDeviceRelationSide: z.ZodObject<{
67
71
  isRecordedBy: "isRecordedBy";
68
72
  reads: "reads";
69
73
  isReadBy: "isReadBy";
74
+ isIngestedBy: "isIngestedBy";
75
+ ingests: "ingests";
70
76
  }>;
71
77
  }, z.core.$catchall<z.ZodUnknown>>;
72
78
  export type DeviceRelationKind = z.infer<typeof sDeviceRelationKind>;
@@ -75,19 +81,100 @@ export declare const inverseRelationKinds: Record<DeviceRelationKind, DeviceRela
75
81
  export type DeviceRelationDto = z.infer<typeof sDeviceRelationDto>;
76
82
  export type DeviceRelationSide = z.infer<typeof sDeviceRelationSide>;
77
83
  export declare const sStreamRecorderSettings: z.ZodObject<{
78
- streamId: z.ZodString;
79
84
  retentionHours: z.ZodOptional<z.ZodNumber>;
80
85
  prebufferSeconds: z.ZodOptional<z.ZodNumber>;
81
86
  }, z.core.$strip>;
82
87
  export declare const sRecordingRelationData: z.ZodObject<{
83
88
  streams: z.ZodRecord<z.ZodString, z.ZodObject<{
84
- streamId: z.ZodString;
85
89
  retentionHours: z.ZodOptional<z.ZodNumber>;
86
90
  prebufferSeconds: z.ZodOptional<z.ZodNumber>;
87
91
  }, z.core.$strip>>;
88
92
  }, z.core.$strip>;
89
93
  export type StreamRecorderSettings = z.infer<typeof sStreamRecorderSettings>;
90
94
  export type RecordingRelationData = z.infer<typeof sRecordingRelationData>;
95
+ export declare const sMotionDetectionConfiguration: z.ZodObject<{
96
+ threshold: z.ZodOptional<z.ZodNumber>;
97
+ enabled: z.ZodBoolean;
98
+ fps: z.ZodOptional<z.ZodNumber>;
99
+ }, z.core.$strip>;
100
+ export type MotionDetectionConfiguration = z.infer<typeof sMotionDetectionConfiguration>;
101
+ export declare const sAiLabelConfiguration: z.ZodObject<{
102
+ threshold: z.ZodOptional<z.ZodNumber>;
103
+ enabled: z.ZodBoolean;
104
+ }, z.core.$strip>;
105
+ export type AiLabelConfiguration = z.infer<typeof sAiLabelConfiguration>;
106
+ export declare const sAiDetectionConfiguration: z.ZodObject<{
107
+ labels: z.ZodRecord<z.ZodString, z.ZodObject<{
108
+ threshold: z.ZodOptional<z.ZodNumber>;
109
+ enabled: z.ZodBoolean;
110
+ }, z.core.$strip>>;
111
+ enabled: z.ZodBoolean;
112
+ fps: z.ZodOptional<z.ZodNumber>;
113
+ }, z.core.$strip>;
114
+ export type AiDetectionConfiguration = z.infer<typeof sAiDetectionConfiguration>;
115
+ export declare const sAiFaceRecognitionConfiguration: z.ZodObject<{
116
+ threshold: z.ZodOptional<z.ZodNumber>;
117
+ enabled: z.ZodBoolean;
118
+ fps: z.ZodOptional<z.ZodNumber>;
119
+ }, z.core.$strip>;
120
+ export type AiFaceRecognitionConfiguration = z.infer<typeof sAiFaceRecognitionConfiguration>;
121
+ export declare const sAiSemanticSearchConfiguration: z.ZodObject<{
122
+ enabled: z.ZodBoolean;
123
+ fps: z.ZodOptional<z.ZodNumber>;
124
+ }, z.core.$strip>;
125
+ export type AiSemanticSearchConfiguration = z.infer<typeof sAiSemanticSearchConfiguration>;
126
+ export declare const sAiStreamConfiguration: z.ZodObject<{
127
+ motionDetection: z.ZodOptional<z.ZodObject<{
128
+ threshold: z.ZodOptional<z.ZodNumber>;
129
+ enabled: z.ZodBoolean;
130
+ fps: z.ZodOptional<z.ZodNumber>;
131
+ }, z.core.$strip>>;
132
+ labelDetection: z.ZodOptional<z.ZodObject<{
133
+ labels: z.ZodRecord<z.ZodString, z.ZodObject<{
134
+ threshold: z.ZodOptional<z.ZodNumber>;
135
+ enabled: z.ZodBoolean;
136
+ }, z.core.$strip>>;
137
+ enabled: z.ZodBoolean;
138
+ fps: z.ZodOptional<z.ZodNumber>;
139
+ }, z.core.$strip>>;
140
+ faceRecognition: z.ZodOptional<z.ZodObject<{
141
+ threshold: z.ZodOptional<z.ZodNumber>;
142
+ enabled: z.ZodBoolean;
143
+ fps: z.ZodOptional<z.ZodNumber>;
144
+ }, z.core.$strip>>;
145
+ semanticSearch: z.ZodOptional<z.ZodObject<{
146
+ enabled: z.ZodBoolean;
147
+ fps: z.ZodOptional<z.ZodNumber>;
148
+ }, z.core.$strip>>;
149
+ }, z.core.$strip>;
150
+ export type AiStreamConfiguration = z.infer<typeof sAiStreamConfiguration>;
151
+ export declare const sAiInferenceRelationData: z.ZodObject<{
152
+ streams: z.ZodRecord<z.ZodString, z.ZodObject<{
153
+ motionDetection: z.ZodOptional<z.ZodObject<{
154
+ threshold: z.ZodOptional<z.ZodNumber>;
155
+ enabled: z.ZodBoolean;
156
+ fps: z.ZodOptional<z.ZodNumber>;
157
+ }, z.core.$strip>>;
158
+ labelDetection: z.ZodOptional<z.ZodObject<{
159
+ labels: z.ZodRecord<z.ZodString, z.ZodObject<{
160
+ threshold: z.ZodOptional<z.ZodNumber>;
161
+ enabled: z.ZodBoolean;
162
+ }, z.core.$strip>>;
163
+ enabled: z.ZodBoolean;
164
+ fps: z.ZodOptional<z.ZodNumber>;
165
+ }, z.core.$strip>>;
166
+ faceRecognition: z.ZodOptional<z.ZodObject<{
167
+ threshold: z.ZodOptional<z.ZodNumber>;
168
+ enabled: z.ZodBoolean;
169
+ fps: z.ZodOptional<z.ZodNumber>;
170
+ }, z.core.$strip>>;
171
+ semanticSearch: z.ZodOptional<z.ZodObject<{
172
+ enabled: z.ZodBoolean;
173
+ fps: z.ZodOptional<z.ZodNumber>;
174
+ }, z.core.$strip>>;
175
+ }, z.core.$strip>>;
176
+ }, z.core.$strip>;
177
+ export type AiInferenceRelationData = z.infer<typeof sAiInferenceRelationData>;
91
178
  export declare const sIoBoardRelationData: z.ZodObject<{
92
179
  slots: z.ZodRecord<z.ZodString, z.ZodString>;
93
180
  invertedSlots: z.ZodArray<z.ZodString>;
@@ -114,6 +201,8 @@ export interface DeviceRelationDataMap {
114
201
  isControlledBy: Record<string, never>;
115
202
  reads: Record<string, never>;
116
203
  isReadBy: Record<string, never>;
204
+ ingests: AiInferenceRelationData;
205
+ isIngestedBy: AiInferenceRelationData;
117
206
  }
118
207
  /** Runtime map: relation kind → Zod schema for its data. */
119
208
  export declare const sDeviceRelationDataMap: {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sDeviceRelationDataMap = exports.sIoBoardRelationData = exports.sRecordingRelationData = exports.sStreamRecorderSettings = exports.inverseRelationKinds = exports.relationKinds = exports.sDeviceRelationSide = exports.sDeviceRelationDto = exports.sDeviceRelationKind = void 0;
3
+ exports.sDeviceRelationDataMap = exports.sIoBoardRelationData = exports.sAiInferenceRelationData = exports.sAiStreamConfiguration = exports.sAiSemanticSearchConfiguration = exports.sAiFaceRecognitionConfiguration = exports.sAiDetectionConfiguration = exports.sAiLabelConfiguration = exports.sMotionDetectionConfiguration = exports.sRecordingRelationData = exports.sStreamRecorderSettings = exports.inverseRelationKinds = exports.relationKinds = exports.sDeviceRelationSide = exports.sDeviceRelationDto = exports.sDeviceRelationKind = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.sDeviceRelationKind = zod_1.z.enum([
6
6
  'attachedTo',
@@ -22,6 +22,8 @@ exports.sDeviceRelationKind = zod_1.z.enum([
22
22
  'isRecordedBy',
23
23
  'reads',
24
24
  'isReadBy',
25
+ 'isIngestedBy',
26
+ 'ingests',
25
27
  ]);
26
28
  exports.sDeviceRelationDto = zod_1.z
27
29
  .object({
@@ -56,6 +58,8 @@ exports.relationKinds = {
56
58
  isRecordedBy: 'isRecordedBy',
57
59
  reads: 'reads',
58
60
  isReadBy: 'isReadBy',
61
+ ingests: 'ingests',
62
+ isIngestedBy: 'isIngestedBy',
59
63
  };
60
64
  exports.inverseRelationKinds = {
61
65
  attachedTo: 'attachedTo',
@@ -77,15 +81,57 @@ exports.inverseRelationKinds = {
77
81
  isRecordedBy: 'records',
78
82
  reads: 'isReadBy',
79
83
  isReadBy: 'reads',
84
+ ingests: 'isIngestedBy',
85
+ isIngestedBy: 'ingests',
80
86
  };
87
+ // RECORDING RELATION DATA
81
88
  exports.sStreamRecorderSettings = zod_1.z.object({
82
- streamId: zod_1.z.string(),
83
89
  retentionHours: zod_1.z.number().int().positive().optional(),
84
90
  prebufferSeconds: zod_1.z.number().int().nonnegative().optional(),
85
91
  });
86
92
  exports.sRecordingRelationData = zod_1.z.object({
87
93
  streams: zod_1.z.record(zod_1.z.string(), exports.sStreamRecorderSettings),
88
94
  });
95
+ // AI INFERENCE RELATION DATA
96
+ // --- motion detection module ---
97
+ exports.sMotionDetectionConfiguration = zod_1.z.object({
98
+ threshold: zod_1.z.number().min(0).max(1).optional(),
99
+ enabled: zod_1.z.boolean(),
100
+ fps: zod_1.z.number().int().positive().optional(),
101
+ });
102
+ // --- label detection module ---
103
+ exports.sAiLabelConfiguration = zod_1.z.object({
104
+ threshold: zod_1.z.number().min(0).max(1).optional(),
105
+ enabled: zod_1.z.boolean(),
106
+ });
107
+ exports.sAiDetectionConfiguration = zod_1.z.object({
108
+ labels: zod_1.z.record(zod_1.z.string(), exports.sAiLabelConfiguration),
109
+ enabled: zod_1.z.boolean(),
110
+ fps: zod_1.z.number().int().positive().optional(),
111
+ });
112
+ // --- face recognition module ---
113
+ exports.sAiFaceRecognitionConfiguration = zod_1.z.object({
114
+ threshold: zod_1.z.number().min(0).max(1).optional(),
115
+ enabled: zod_1.z.boolean(),
116
+ fps: zod_1.z.number().int().positive().optional(),
117
+ });
118
+ // --- semantic search module ---
119
+ exports.sAiSemanticSearchConfiguration = zod_1.z.object({
120
+ enabled: zod_1.z.boolean(),
121
+ fps: zod_1.z.number().int().positive().optional(),
122
+ });
123
+ // --- stream configuration ---
124
+ exports.sAiStreamConfiguration = zod_1.z.object({
125
+ motionDetection: exports.sMotionDetectionConfiguration.optional(),
126
+ labelDetection: exports.sAiDetectionConfiguration.optional(),
127
+ faceRecognition: exports.sAiFaceRecognitionConfiguration.optional(),
128
+ semanticSearch: exports.sAiSemanticSearchConfiguration.optional(),
129
+ });
130
+ // all together now: AI inference relation data
131
+ exports.sAiInferenceRelationData = zod_1.z.object({
132
+ streams: zod_1.z.record(zod_1.z.string(), exports.sAiStreamConfiguration),
133
+ });
134
+ // IO BOARD CONNECTIONS RELATION DATA
89
135
  exports.sIoBoardRelationData = zod_1.z.object({
90
136
  slots: zod_1.z.record(zod_1.z.string(), zod_1.z.string()),
91
137
  invertedSlots: zod_1.z.array(zod_1.z.string()),
@@ -112,4 +158,6 @@ exports.sDeviceRelationDataMap = {
112
158
  isControlledBy: sEmptyRelationData,
113
159
  reads: sEmptyRelationData,
114
160
  isReadBy: sEmptyRelationData,
161
+ ingests: exports.sAiInferenceRelationData,
162
+ isIngestedBy: exports.sAiInferenceRelationData,
115
163
  };
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sReaderSpecs = exports.READER = void 0;
4
4
  const zod_1 = require("zod");
5
- const primitives_1 = require("../../primitives");
5
+ const credential_type_1 = require("../../primitives/credential-type");
6
6
  exports.READER = 'reader';
7
7
  // SPECS
8
8
  exports.sReaderSpecs = zod_1.z.object({
9
- credentialTypes: zod_1.z.array(primitives_1.sCredentialType).optional(),
9
+ credentialTypes: zod_1.z.array(credential_type_1.sCredentialType).optional(),
10
10
  });
package/dist/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
6
6
  },
7
- "version": "2.0.96",
7
+ "version": "2.0.98",
8
8
  "description": "Common types between backend, agent(s) and frontend(s)",
9
9
  "main": "dist/index.js",
10
10
  "types": "dist/index.d.ts",
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export declare const sCredentialType: z.ZodEnum<{
3
+ card: "card";
4
+ pin: "pin";
5
+ fingerprint: "fingerprint";
6
+ face: "face";
7
+ retina: "retina";
8
+ }>;
9
+ export type CredentialType = z.infer<typeof sCredentialType>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sCredentialType = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.sCredentialType = zod_1.z.enum([
6
+ 'card',
7
+ 'pin',
8
+ 'fingerprint',
9
+ 'face',
10
+ 'retina',
11
+ ]);
@@ -0,0 +1 @@
1
+ export * from './credential-type';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./credential-type"), exports);
@@ -286,11 +286,4 @@ export declare const sCallDirection: z.ZodEnum<{
286
286
  incoming: "incoming";
287
287
  outgoing: "outgoing";
288
288
  }>;
289
- export declare const sCredentialType: z.ZodEnum<{
290
- card: "card";
291
- pin: "pin";
292
- fingerprint: "fingerprint";
293
- face: "face";
294
- retina: "retina";
295
- }>;
296
- export type CredentialType = z.infer<typeof sCredentialType>;
289
+ export { sCredentialType, type CredentialType, } from './primitives/credential-type';
@@ -53,10 +53,5 @@ exports.sCallState = zod_1.z.enum([
53
53
  'terminated',
54
54
  ]);
55
55
  exports.sCallDirection = zod_1.z.enum(['incoming', 'outgoing']);
56
- exports.sCredentialType = zod_1.z.enum([
57
- 'card',
58
- 'pin',
59
- 'fingerprint',
60
- 'face',
61
- 'retina',
62
- ]);
56
+ var credential_type_1 = require("./primitives/credential-type");
57
+ Object.defineProperty(exports, "sCredentialType", { enumerable: true, get: function () { return credential_type_1.sCredentialType; } });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
6
6
  },
7
- "version": "2.0.96",
7
+ "version": "2.0.98",
8
8
  "description": "Common types between backend, agent(s) and frontend(s)",
9
9
  "main": "dist/index.js",
10
10
  "types": "dist/index.d.ts",