@awarevue/api-types 2.0.16 → 2.0.18

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.
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
- import { sAgentDeviceInfo } from '../primitives';
3
2
  export declare const sMessageHeader: z.ZodObject<{
4
3
  version: z.ZodNumber;
5
4
  id: z.ZodString;
@@ -541,6 +540,32 @@ export declare const sRunCommandRq: z.ZodObject<{
541
540
  foreignRef: z.ZodString;
542
541
  provider: z.ZodString;
543
542
  providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
543
+ } & {
544
+ presets: z.ZodArray<z.ZodObject<{
545
+ id: z.ZodString;
546
+ name: z.ZodString;
547
+ params: z.ZodUnknown;
548
+ isDefault: z.ZodBoolean;
549
+ assignedRef: z.ZodNullable<z.ZodString>;
550
+ createdOn: z.ZodString;
551
+ lastModifiedOn: z.ZodString;
552
+ }, "strip", z.ZodTypeAny, {
553
+ name: string;
554
+ id: string;
555
+ isDefault: boolean;
556
+ assignedRef: string | null;
557
+ createdOn: string;
558
+ lastModifiedOn: string;
559
+ params?: unknown;
560
+ }, {
561
+ name: string;
562
+ id: string;
563
+ isDefault: boolean;
564
+ assignedRef: string | null;
565
+ createdOn: string;
566
+ lastModifiedOn: string;
567
+ params?: unknown;
568
+ }>, "many">;
544
569
  }, "strip", z.ZodTypeAny, {
545
570
  name: string;
546
571
  foreignRef: string;
@@ -548,6 +573,15 @@ export declare const sRunCommandRq: z.ZodObject<{
548
573
  providerMetadata: {} & {
549
574
  [k: string]: unknown;
550
575
  };
576
+ presets: {
577
+ name: string;
578
+ id: string;
579
+ isDefault: boolean;
580
+ assignedRef: string | null;
581
+ createdOn: string;
582
+ lastModifiedOn: string;
583
+ params?: unknown;
584
+ }[];
551
585
  }, {
552
586
  name: string;
553
587
  foreignRef: string;
@@ -555,6 +589,15 @@ export declare const sRunCommandRq: z.ZodObject<{
555
589
  providerMetadata: {} & {
556
590
  [k: string]: unknown;
557
591
  };
592
+ presets: {
593
+ name: string;
594
+ id: string;
595
+ isDefault: boolean;
596
+ assignedRef: string | null;
597
+ createdOn: string;
598
+ lastModifiedOn: string;
599
+ params?: unknown;
600
+ }[];
558
601
  }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
559
602
  type: z.ZodLiteral<"alarm">;
560
603
  }, "strip", z.ZodTypeAny, {
@@ -586,14 +629,17 @@ export declare const sRunCommandRq: z.ZodObject<{
586
629
  id: z.ZodString;
587
630
  displayName: z.ZodString;
588
631
  externalPlayerUrl: z.ZodNullable<z.ZodString>;
632
+ rtspUrl: z.ZodString;
589
633
  }, "strip", z.ZodTypeAny, {
590
634
  id: string;
591
635
  displayName: string;
592
636
  externalPlayerUrl: string | null;
637
+ rtspUrl: string;
593
638
  }, {
594
639
  id: string;
595
640
  displayName: string;
596
641
  externalPlayerUrl: string | null;
642
+ rtspUrl: string;
597
643
  }>, "many">;
598
644
  defaultStreamId: z.ZodString;
599
645
  } & {
@@ -604,6 +650,7 @@ export declare const sRunCommandRq: z.ZodObject<{
604
650
  id: string;
605
651
  displayName: string;
606
652
  externalPlayerUrl: string | null;
653
+ rtspUrl: string;
607
654
  }[];
608
655
  lensType: "flat" | "fisheye";
609
656
  mountPoint: "wall" | "ceiling" | "floor";
@@ -628,6 +675,7 @@ export declare const sRunCommandRq: z.ZodObject<{
628
675
  id: string;
629
676
  displayName: string;
630
677
  externalPlayerUrl: string | null;
678
+ rtspUrl: string;
631
679
  }[];
632
680
  lensType: "flat" | "fisheye";
633
681
  mountPoint: "wall" | "ceiling" | "floor";
@@ -801,6 +849,15 @@ export declare const sRunCommandRq: z.ZodObject<{
801
849
  providerMetadata: {} & {
802
850
  [k: string]: unknown;
803
851
  };
852
+ presets: {
853
+ name: string;
854
+ id: string;
855
+ isDefault: boolean;
856
+ assignedRef: string | null;
857
+ createdOn: string;
858
+ lastModifiedOn: string;
859
+ params?: unknown;
860
+ }[];
804
861
  } & ({
805
862
  type: "alarm";
806
863
  } | {
@@ -809,6 +866,7 @@ export declare const sRunCommandRq: z.ZodObject<{
809
866
  id: string;
810
867
  displayName: string;
811
868
  externalPlayerUrl: string | null;
869
+ rtspUrl: string;
812
870
  }[];
813
871
  lensType: "flat" | "fisheye";
814
872
  mountPoint: "wall" | "ceiling" | "floor";
@@ -886,6 +944,15 @@ export declare const sRunCommandRq: z.ZodObject<{
886
944
  providerMetadata: {} & {
887
945
  [k: string]: unknown;
888
946
  };
947
+ presets: {
948
+ name: string;
949
+ id: string;
950
+ isDefault: boolean;
951
+ assignedRef: string | null;
952
+ createdOn: string;
953
+ lastModifiedOn: string;
954
+ params?: unknown;
955
+ }[];
889
956
  } & ({
890
957
  type: "alarm";
891
958
  } | {
@@ -894,6 +961,7 @@ export declare const sRunCommandRq: z.ZodObject<{
894
961
  id: string;
895
962
  displayName: string;
896
963
  externalPlayerUrl: string | null;
964
+ rtspUrl: string;
897
965
  }[];
898
966
  lensType: "flat" | "fisheye";
899
967
  mountPoint: "wall" | "ceiling" | "floor";
@@ -981,6 +1049,32 @@ export declare const sQueryRq: z.ZodObject<{
981
1049
  foreignRef: z.ZodString;
982
1050
  provider: z.ZodString;
983
1051
  providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
1052
+ } & {
1053
+ presets: z.ZodArray<z.ZodObject<{
1054
+ id: z.ZodString;
1055
+ name: z.ZodString;
1056
+ params: z.ZodUnknown;
1057
+ isDefault: z.ZodBoolean;
1058
+ assignedRef: z.ZodNullable<z.ZodString>;
1059
+ createdOn: z.ZodString;
1060
+ lastModifiedOn: z.ZodString;
1061
+ }, "strip", z.ZodTypeAny, {
1062
+ name: string;
1063
+ id: string;
1064
+ isDefault: boolean;
1065
+ assignedRef: string | null;
1066
+ createdOn: string;
1067
+ lastModifiedOn: string;
1068
+ params?: unknown;
1069
+ }, {
1070
+ name: string;
1071
+ id: string;
1072
+ isDefault: boolean;
1073
+ assignedRef: string | null;
1074
+ createdOn: string;
1075
+ lastModifiedOn: string;
1076
+ params?: unknown;
1077
+ }>, "many">;
984
1078
  }, "strip", z.ZodTypeAny, {
985
1079
  name: string;
986
1080
  foreignRef: string;
@@ -988,6 +1082,15 @@ export declare const sQueryRq: z.ZodObject<{
988
1082
  providerMetadata: {} & {
989
1083
  [k: string]: unknown;
990
1084
  };
1085
+ presets: {
1086
+ name: string;
1087
+ id: string;
1088
+ isDefault: boolean;
1089
+ assignedRef: string | null;
1090
+ createdOn: string;
1091
+ lastModifiedOn: string;
1092
+ params?: unknown;
1093
+ }[];
991
1094
  }, {
992
1095
  name: string;
993
1096
  foreignRef: string;
@@ -995,6 +1098,15 @@ export declare const sQueryRq: z.ZodObject<{
995
1098
  providerMetadata: {} & {
996
1099
  [k: string]: unknown;
997
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
+ }[];
998
1110
  }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
999
1111
  type: z.ZodLiteral<"alarm">;
1000
1112
  }, "strip", z.ZodTypeAny, {
@@ -1026,14 +1138,17 @@ export declare const sQueryRq: z.ZodObject<{
1026
1138
  id: z.ZodString;
1027
1139
  displayName: z.ZodString;
1028
1140
  externalPlayerUrl: z.ZodNullable<z.ZodString>;
1141
+ rtspUrl: z.ZodString;
1029
1142
  }, "strip", z.ZodTypeAny, {
1030
1143
  id: string;
1031
1144
  displayName: string;
1032
1145
  externalPlayerUrl: string | null;
1146
+ rtspUrl: string;
1033
1147
  }, {
1034
1148
  id: string;
1035
1149
  displayName: string;
1036
1150
  externalPlayerUrl: string | null;
1151
+ rtspUrl: string;
1037
1152
  }>, "many">;
1038
1153
  defaultStreamId: z.ZodString;
1039
1154
  } & {
@@ -1044,6 +1159,7 @@ export declare const sQueryRq: z.ZodObject<{
1044
1159
  id: string;
1045
1160
  displayName: string;
1046
1161
  externalPlayerUrl: string | null;
1162
+ rtspUrl: string;
1047
1163
  }[];
1048
1164
  lensType: "flat" | "fisheye";
1049
1165
  mountPoint: "wall" | "ceiling" | "floor";
@@ -1068,6 +1184,7 @@ export declare const sQueryRq: z.ZodObject<{
1068
1184
  id: string;
1069
1185
  displayName: string;
1070
1186
  externalPlayerUrl: string | null;
1187
+ rtspUrl: string;
1071
1188
  }[];
1072
1189
  lensType: "flat" | "fisheye";
1073
1190
  mountPoint: "wall" | "ceiling" | "floor";
@@ -1239,6 +1356,15 @@ export declare const sQueryRq: z.ZodObject<{
1239
1356
  providerMetadata: {} & {
1240
1357
  [k: string]: unknown;
1241
1358
  };
1359
+ presets: {
1360
+ name: string;
1361
+ id: string;
1362
+ isDefault: boolean;
1363
+ assignedRef: string | null;
1364
+ createdOn: string;
1365
+ lastModifiedOn: string;
1366
+ params?: unknown;
1367
+ }[];
1242
1368
  } & ({
1243
1369
  type: "alarm";
1244
1370
  } | {
@@ -1247,6 +1373,7 @@ export declare const sQueryRq: z.ZodObject<{
1247
1373
  id: string;
1248
1374
  displayName: string;
1249
1375
  externalPlayerUrl: string | null;
1376
+ rtspUrl: string;
1250
1377
  }[];
1251
1378
  lensType: "flat" | "fisheye";
1252
1379
  mountPoint: "wall" | "ceiling" | "floor";
@@ -1323,6 +1450,15 @@ export declare const sQueryRq: z.ZodObject<{
1323
1450
  providerMetadata: {} & {
1324
1451
  [k: string]: unknown;
1325
1452
  };
1453
+ presets: {
1454
+ name: string;
1455
+ id: string;
1456
+ isDefault: boolean;
1457
+ assignedRef: string | null;
1458
+ createdOn: string;
1459
+ lastModifiedOn: string;
1460
+ params?: unknown;
1461
+ }[];
1326
1462
  } & ({
1327
1463
  type: "alarm";
1328
1464
  } | {
@@ -1331,6 +1467,7 @@ export declare const sQueryRq: z.ZodObject<{
1331
1467
  id: string;
1332
1468
  displayName: string;
1333
1469
  externalPlayerUrl: string | null;
1470
+ rtspUrl: string;
1334
1471
  }[];
1335
1472
  lensType: "flat" | "fisheye";
1336
1473
  mountPoint: "wall" | "ceiling" | "floor";
@@ -1423,6 +1560,32 @@ export declare const sPushFile: z.ZodObject<{
1423
1560
  foreignRef: z.ZodString;
1424
1561
  provider: z.ZodString;
1425
1562
  providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
1563
+ } & {
1564
+ presets: z.ZodArray<z.ZodObject<{
1565
+ id: z.ZodString;
1566
+ name: z.ZodString;
1567
+ params: z.ZodUnknown;
1568
+ isDefault: z.ZodBoolean;
1569
+ assignedRef: z.ZodNullable<z.ZodString>;
1570
+ createdOn: z.ZodString;
1571
+ lastModifiedOn: z.ZodString;
1572
+ }, "strip", z.ZodTypeAny, {
1573
+ name: string;
1574
+ id: string;
1575
+ isDefault: boolean;
1576
+ assignedRef: string | null;
1577
+ createdOn: string;
1578
+ lastModifiedOn: string;
1579
+ params?: unknown;
1580
+ }, {
1581
+ name: string;
1582
+ id: string;
1583
+ isDefault: boolean;
1584
+ assignedRef: string | null;
1585
+ createdOn: string;
1586
+ lastModifiedOn: string;
1587
+ params?: unknown;
1588
+ }>, "many">;
1426
1589
  }, "strip", z.ZodTypeAny, {
1427
1590
  name: string;
1428
1591
  foreignRef: string;
@@ -1430,6 +1593,15 @@ export declare const sPushFile: z.ZodObject<{
1430
1593
  providerMetadata: {} & {
1431
1594
  [k: string]: unknown;
1432
1595
  };
1596
+ presets: {
1597
+ name: string;
1598
+ id: string;
1599
+ isDefault: boolean;
1600
+ assignedRef: string | null;
1601
+ createdOn: string;
1602
+ lastModifiedOn: string;
1603
+ params?: unknown;
1604
+ }[];
1433
1605
  }, {
1434
1606
  name: string;
1435
1607
  foreignRef: string;
@@ -1437,6 +1609,15 @@ export declare const sPushFile: z.ZodObject<{
1437
1609
  providerMetadata: {} & {
1438
1610
  [k: string]: unknown;
1439
1611
  };
1612
+ presets: {
1613
+ name: string;
1614
+ id: string;
1615
+ isDefault: boolean;
1616
+ assignedRef: string | null;
1617
+ createdOn: string;
1618
+ lastModifiedOn: string;
1619
+ params?: unknown;
1620
+ }[];
1440
1621
  }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1441
1622
  type: z.ZodLiteral<"alarm">;
1442
1623
  }, "strip", z.ZodTypeAny, {
@@ -1468,14 +1649,17 @@ export declare const sPushFile: z.ZodObject<{
1468
1649
  id: z.ZodString;
1469
1650
  displayName: z.ZodString;
1470
1651
  externalPlayerUrl: z.ZodNullable<z.ZodString>;
1652
+ rtspUrl: z.ZodString;
1471
1653
  }, "strip", z.ZodTypeAny, {
1472
1654
  id: string;
1473
1655
  displayName: string;
1474
1656
  externalPlayerUrl: string | null;
1657
+ rtspUrl: string;
1475
1658
  }, {
1476
1659
  id: string;
1477
1660
  displayName: string;
1478
1661
  externalPlayerUrl: string | null;
1662
+ rtspUrl: string;
1479
1663
  }>, "many">;
1480
1664
  defaultStreamId: z.ZodString;
1481
1665
  } & {
@@ -1486,6 +1670,7 @@ export declare const sPushFile: z.ZodObject<{
1486
1670
  id: string;
1487
1671
  displayName: string;
1488
1672
  externalPlayerUrl: string | null;
1673
+ rtspUrl: string;
1489
1674
  }[];
1490
1675
  lensType: "flat" | "fisheye";
1491
1676
  mountPoint: "wall" | "ceiling" | "floor";
@@ -1510,6 +1695,7 @@ export declare const sPushFile: z.ZodObject<{
1510
1695
  id: string;
1511
1696
  displayName: string;
1512
1697
  externalPlayerUrl: string | null;
1698
+ rtspUrl: string;
1513
1699
  }[];
1514
1700
  lensType: "flat" | "fisheye";
1515
1701
  mountPoint: "wall" | "ceiling" | "floor";
@@ -1683,6 +1869,15 @@ export declare const sPushFile: z.ZodObject<{
1683
1869
  providerMetadata: {} & {
1684
1870
  [k: string]: unknown;
1685
1871
  };
1872
+ presets: {
1873
+ name: string;
1874
+ id: string;
1875
+ isDefault: boolean;
1876
+ assignedRef: string | null;
1877
+ createdOn: string;
1878
+ lastModifiedOn: string;
1879
+ params?: unknown;
1880
+ }[];
1686
1881
  } & ({
1687
1882
  type: "alarm";
1688
1883
  } | {
@@ -1691,6 +1886,7 @@ export declare const sPushFile: z.ZodObject<{
1691
1886
  id: string;
1692
1887
  displayName: string;
1693
1888
  externalPlayerUrl: string | null;
1889
+ rtspUrl: string;
1694
1890
  }[];
1695
1891
  lensType: "flat" | "fisheye";
1696
1892
  mountPoint: "wall" | "ceiling" | "floor";
@@ -1768,6 +1964,15 @@ export declare const sPushFile: z.ZodObject<{
1768
1964
  providerMetadata: {} & {
1769
1965
  [k: string]: unknown;
1770
1966
  };
1967
+ presets: {
1968
+ name: string;
1969
+ id: string;
1970
+ isDefault: boolean;
1971
+ assignedRef: string | null;
1972
+ createdOn: string;
1973
+ lastModifiedOn: string;
1974
+ params?: unknown;
1975
+ }[];
1771
1976
  } & ({
1772
1977
  type: "alarm";
1773
1978
  } | {
@@ -1776,6 +1981,7 @@ export declare const sPushFile: z.ZodObject<{
1776
1981
  id: string;
1777
1982
  displayName: string;
1778
1983
  externalPlayerUrl: string | null;
1984
+ rtspUrl: string;
1779
1985
  }[];
1780
1986
  lensType: "flat" | "fisheye";
1781
1987
  mountPoint: "wall" | "ceiling" | "floor";
@@ -1981,14 +2187,17 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
1981
2187
  id: z.ZodString;
1982
2188
  displayName: z.ZodString;
1983
2189
  externalPlayerUrl: z.ZodNullable<z.ZodString>;
2190
+ rtspUrl: z.ZodString;
1984
2191
  }, "strip", z.ZodTypeAny, {
1985
2192
  id: string;
1986
2193
  displayName: string;
1987
2194
  externalPlayerUrl: string | null;
2195
+ rtspUrl: string;
1988
2196
  }, {
1989
2197
  id: string;
1990
2198
  displayName: string;
1991
2199
  externalPlayerUrl: string | null;
2200
+ rtspUrl: string;
1992
2201
  }>, "many">;
1993
2202
  defaultStreamId: z.ZodString;
1994
2203
  } & {
@@ -1999,6 +2208,7 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
1999
2208
  id: string;
2000
2209
  displayName: string;
2001
2210
  externalPlayerUrl: string | null;
2211
+ rtspUrl: string;
2002
2212
  }[];
2003
2213
  lensType: "flat" | "fisheye";
2004
2214
  mountPoint: "wall" | "ceiling" | "floor";
@@ -2023,6 +2233,7 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
2023
2233
  id: string;
2024
2234
  displayName: string;
2025
2235
  externalPlayerUrl: string | null;
2236
+ rtspUrl: string;
2026
2237
  }[];
2027
2238
  lensType: "flat" | "fisheye";
2028
2239
  mountPoint: "wall" | "ceiling" | "floor";
@@ -2221,6 +2432,7 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
2221
2432
  id: string;
2222
2433
  displayName: string;
2223
2434
  externalPlayerUrl: string | null;
2435
+ rtspUrl: string;
2224
2436
  }[];
2225
2437
  lensType: "flat" | "fisheye";
2226
2438
  mountPoint: "wall" | "ceiling" | "floor";
@@ -2313,6 +2525,7 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
2313
2525
  id: string;
2314
2526
  displayName: string;
2315
2527
  externalPlayerUrl: string | null;
2528
+ rtspUrl: string;
2316
2529
  }[];
2317
2530
  lensType: "flat" | "fisheye";
2318
2531
  mountPoint: "wall" | "ceiling" | "floor";
@@ -9974,7 +10187,6 @@ export declare const sAbortChange: z.ZodObject<{
9974
10187
  provider: string;
9975
10188
  policyVersion: number;
9976
10189
  }>;
9977
- export type AgentDeviceInfo = z.infer<typeof sAgentDeviceInfo>;
9978
10190
  export type MessageHeader = z.infer<typeof sMessageHeader>;
9979
10191
  export type Message<TPayload> = MessageHeader & TPayload;
9980
10192
  export type ErrorPayload = z.infer<typeof sErrorPayload>;