@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.
@@ -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.ZodIntersection<z.ZodObject<{
539
+ device: z.ZodIntersection<z.ZodObject<{
540
540
  name: z.ZodString;
541
541
  foreignRef: z.ZodString;
542
542
  provider: z.ZodString;
@@ -782,60 +782,20 @@ export declare const sRunCommandRq: z.ZodObject<{
782
782
  type: "nvr-analytics-server";
783
783
  }, {
784
784
  type: "nvr-analytics-server";
785
- }>]>>, z.ZodObject<{
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">;
785
+ }>, z.ZodObject<{
786
+ type: z.ZodLiteral<"device-other">;
811
787
  }, "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
- }[];
788
+ type: "device-other";
821
789
  }, {
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
- }>>;
790
+ type: "device-other";
791
+ }>]>>;
832
792
  command: z.ZodString;
833
793
  batchId: z.ZodOptional<z.ZodString>;
834
794
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
835
795
  }, "strip", z.ZodTypeAny, {
836
796
  kind: "command";
837
797
  command: string;
838
- device: ({
798
+ device: {
839
799
  name: string;
840
800
  foreignRef: string;
841
801
  provider: string;
@@ -912,23 +872,15 @@ export declare const sRunCommandRq: z.ZodObject<{
912
872
  type: "nvr-exporter";
913
873
  } | {
914
874
  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
- };
875
+ } | {
876
+ type: "device-other";
877
+ });
926
878
  params?: Record<string, unknown> | undefined;
927
879
  batchId?: string | undefined;
928
880
  }, {
929
881
  kind: "command";
930
882
  command: string;
931
- device: ({
883
+ device: {
932
884
  name: string;
933
885
  foreignRef: string;
934
886
  provider: string;
@@ -1005,17 +957,9 @@ export declare const sRunCommandRq: z.ZodObject<{
1005
957
  type: "nvr-exporter";
1006
958
  } | {
1007
959
  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
- };
960
+ } | {
961
+ type: "device-other";
962
+ });
1019
963
  params?: Record<string, unknown> | undefined;
1020
964
  batchId?: string | undefined;
1021
965
  }>;
@@ -1032,7 +976,7 @@ export declare const sRunCommandRs: z.ZodIntersection<z.ZodObject<{
1032
976
  export declare const sQueryRq: z.ZodObject<{
1033
977
  kind: z.ZodLiteral<"query">;
1034
978
  query: z.ZodString;
1035
- device: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
979
+ device: z.ZodIntersection<z.ZodObject<{
1036
980
  name: z.ZodString;
1037
981
  foreignRef: z.ZodString;
1038
982
  provider: z.ZodString;
@@ -1278,57 +1222,17 @@ export declare const sQueryRq: z.ZodObject<{
1278
1222
  type: "nvr-analytics-server";
1279
1223
  }, {
1280
1224
  type: "nvr-analytics-server";
1281
- }>]>>, z.ZodObject<{
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">;
1225
+ }>, z.ZodObject<{
1226
+ type: z.ZodLiteral<"device-other">;
1307
1227
  }, "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
- }[];
1228
+ type: "device-other";
1317
1229
  }, {
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
- }>>;
1230
+ type: "device-other";
1231
+ }>]>>;
1328
1232
  args: z.ZodUnknown;
1329
1233
  }, "strip", z.ZodTypeAny, {
1330
1234
  kind: "query";
1331
- device: ({
1235
+ device: {
1332
1236
  name: string;
1333
1237
  foreignRef: string;
1334
1238
  provider: string;
@@ -1405,22 +1309,14 @@ export declare const sQueryRq: z.ZodObject<{
1405
1309
  type: "nvr-exporter";
1406
1310
  } | {
1407
1311
  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
- };
1312
+ } | {
1313
+ type: "device-other";
1314
+ });
1419
1315
  query: string;
1420
1316
  args?: unknown;
1421
1317
  }, {
1422
1318
  kind: "query";
1423
- device: ({
1319
+ device: {
1424
1320
  name: string;
1425
1321
  foreignRef: string;
1426
1322
  provider: string;
@@ -1497,17 +1393,9 @@ export declare const sQueryRq: z.ZodObject<{
1497
1393
  type: "nvr-exporter";
1498
1394
  } | {
1499
1395
  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
- };
1396
+ } | {
1397
+ type: "device-other";
1398
+ });
1511
1399
  query: string;
1512
1400
  args?: unknown;
1513
1401
  }>;
@@ -1530,7 +1418,7 @@ export declare const sQueryRs: z.ZodIntersection<z.ZodObject<{
1530
1418
  export declare const sPushFile: z.ZodObject<{
1531
1419
  kind: z.ZodLiteral<"push-file">;
1532
1420
  query: z.ZodString;
1533
- device: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
1421
+ device: z.ZodIntersection<z.ZodObject<{
1534
1422
  name: z.ZodString;
1535
1423
  foreignRef: z.ZodString;
1536
1424
  provider: z.ZodString;
@@ -1776,59 +1664,19 @@ export declare const sPushFile: z.ZodObject<{
1776
1664
  type: "nvr-analytics-server";
1777
1665
  }, {
1778
1666
  type: "nvr-analytics-server";
1779
- }>]>>, z.ZodObject<{
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">;
1667
+ }>, z.ZodObject<{
1668
+ type: z.ZodLiteral<"device-other">;
1805
1669
  }, "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
- }[];
1670
+ type: "device-other";
1815
1671
  }, {
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
- }>>;
1672
+ type: "device-other";
1673
+ }>]>>;
1826
1674
  args: z.ZodUnknown;
1827
1675
  url: z.ZodString;
1828
1676
  }, "strip", z.ZodTypeAny, {
1829
1677
  url: string;
1830
1678
  kind: "push-file";
1831
- device: ({
1679
+ device: {
1832
1680
  name: string;
1833
1681
  foreignRef: string;
1834
1682
  provider: string;
@@ -1905,23 +1753,15 @@ export declare const sPushFile: z.ZodObject<{
1905
1753
  type: "nvr-exporter";
1906
1754
  } | {
1907
1755
  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
- };
1756
+ } | {
1757
+ type: "device-other";
1758
+ });
1919
1759
  query: string;
1920
1760
  args?: unknown;
1921
1761
  }, {
1922
1762
  url: string;
1923
1763
  kind: "push-file";
1924
- device: ({
1764
+ device: {
1925
1765
  name: string;
1926
1766
  foreignRef: string;
1927
1767
  provider: string;
@@ -1998,17 +1838,9 @@ export declare const sPushFile: z.ZodObject<{
1998
1838
  type: "nvr-exporter";
1999
1839
  } | {
2000
1840
  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
- };
1841
+ } | {
1842
+ type: "device-other";
1843
+ });
2012
1844
  query: string;
2013
1845
  args?: unknown;
2014
1846
  }>;
@@ -2345,6 +2177,12 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
2345
2177
  type: "nvr-analytics-server";
2346
2178
  }, {
2347
2179
  type: "nvr-analytics-server";
2180
+ }>, z.ZodObject<{
2181
+ type: z.ZodLiteral<"device-other">;
2182
+ }, "strip", z.ZodTypeAny, {
2183
+ type: "device-other";
2184
+ }, {
2185
+ type: "device-other";
2348
2186
  }>]>>, "many">;
2349
2187
  relations: z.ZodArray<z.ZodIntersection<z.ZodObject<{
2350
2188
  leftId: z.ZodString;
@@ -2445,6 +2283,8 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
2445
2283
  type: "nvr-exporter";
2446
2284
  } | {
2447
2285
  type: "nvr-analytics-server";
2286
+ } | {
2287
+ type: "device-other";
2448
2288
  }))[];
2449
2289
  relations: ({
2450
2290
  kind: "parent" | "attachedTo" | "child" | "holds" | "isHeldBy" | "observes" | "isObservedBy" | "sendsInputTo" | "receivesInputFrom" | "sendsOutputTo" | "receivesOutputFrom" | "unlocks" | "isUnlockedBy" | "controls" | "isControlledBy" | "records" | "isRecordedBy" | "reads" | "isReadBy";
@@ -2535,6 +2375,8 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
2535
2375
  type: "nvr-exporter";
2536
2376
  } | {
2537
2377
  type: "nvr-analytics-server";
2378
+ } | {
2379
+ type: "device-other";
2538
2380
  }))[];
2539
2381
  relations: ({
2540
2382
  kind: "parent" | "attachedTo" | "child" | "holds" | "isHeldBy" | "observes" | "isObservedBy" | "sendsInputTo" | "receivesInputFrom" | "sendsOutputTo" | "receivesOutputFrom" | "unlocks" | "isUnlockedBy" | "controls" | "isControlledBy" | "records" | "isRecordedBy" | "reads" | "isReadBy";