@camstack/types 0.1.39 → 0.1.40

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.
Files changed (83) hide show
  1. package/dist/addon/base-addon.d.ts +2 -2
  2. package/dist/addon/base-addon.d.ts.map +1 -1
  3. package/dist/capabilities/addon-settings.cap.d.ts +1 -0
  4. package/dist/capabilities/addon-settings.cap.d.ts.map +1 -1
  5. package/dist/capabilities/addons.cap.d.ts +187 -1
  6. package/dist/capabilities/addons.cap.d.ts.map +1 -1
  7. package/dist/capabilities/alerts.cap.d.ts +5 -5
  8. package/dist/capabilities/audio-analyzer.cap.d.ts +2 -2
  9. package/dist/capabilities/camera-pipeline-config.cap.d.ts +43 -0
  10. package/dist/capabilities/camera-pipeline-config.cap.d.ts.map +1 -0
  11. package/dist/capabilities/index.d.ts +11 -4
  12. package/dist/capabilities/index.d.ts.map +1 -1
  13. package/dist/capabilities/local-network.cap.d.ts +1 -1
  14. package/dist/capabilities/mask-shape.d.ts +99 -0
  15. package/dist/capabilities/mask-shape.d.ts.map +1 -0
  16. package/dist/capabilities/mesh-network.cap.d.ts +3 -3
  17. package/dist/capabilities/motion-zones.cap.d.ts +94 -13
  18. package/dist/capabilities/motion-zones.cap.d.ts.map +1 -1
  19. package/dist/capabilities/mqtt-broker.cap.d.ts +3 -3
  20. package/dist/capabilities/native-object-detection.cap.d.ts +73 -3
  21. package/dist/capabilities/native-object-detection.cap.d.ts.map +1 -1
  22. package/dist/capabilities/network-access.cap.d.ts +7 -7
  23. package/dist/capabilities/oauth-integration.cap.d.ts +4 -2
  24. package/dist/capabilities/oauth-integration.cap.d.ts.map +1 -1
  25. package/dist/capabilities/pipeline-runner.cap.d.ts +2 -0
  26. package/dist/capabilities/pipeline-runner.cap.d.ts.map +1 -1
  27. package/dist/capabilities/privacy-mask.cap.d.ts +206 -0
  28. package/dist/capabilities/privacy-mask.cap.d.ts.map +1 -0
  29. package/dist/capabilities/schemas/detection-shared.d.ts +14 -1
  30. package/dist/capabilities/schemas/detection-shared.d.ts.map +1 -1
  31. package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
  32. package/dist/capabilities/stream-catalog.cap.d.ts +82 -0
  33. package/dist/capabilities/stream-catalog.cap.d.ts.map +1 -0
  34. package/dist/capabilities/user-management.cap.d.ts +20 -20
  35. package/dist/capabilities/webrtc-session.cap.d.ts +34 -0
  36. package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -1
  37. package/dist/enums/event-category.d.ts +28 -1
  38. package/dist/enums/event-category.d.ts.map +1 -1
  39. package/dist/generated/addon-api.d.ts +1250 -670
  40. package/dist/generated/addon-api.d.ts.map +1 -1
  41. package/dist/generated/cap-status-types.d.ts +3 -1
  42. package/dist/generated/cap-status-types.d.ts.map +1 -1
  43. package/dist/generated/capability-router-map.d.ts +11 -2
  44. package/dist/generated/capability-router-map.d.ts.map +1 -1
  45. package/dist/generated/device-local-state.d.ts +6 -0
  46. package/dist/generated/device-local-state.d.ts.map +1 -1
  47. package/dist/generated/device-proxy.d.ts +8 -0
  48. package/dist/generated/device-proxy.d.ts.map +1 -1
  49. package/dist/generated/method-access-map.d.ts +1 -1
  50. package/dist/generated/method-access-map.d.ts.map +1 -1
  51. package/dist/generated/system-proxy.d.ts +1 -1
  52. package/dist/generated/system-proxy.d.ts.map +1 -1
  53. package/dist/health/wiring-health.d.ts +136 -0
  54. package/dist/health/wiring-health.d.ts.map +1 -0
  55. package/dist/{index-QRlzao1I.mjs → index-C2zzIDdX.mjs} +829 -420
  56. package/dist/index-C2zzIDdX.mjs.map +1 -0
  57. package/dist/{index-CMM1Y9W6.js → index-DnpdVFKv.js} +458 -49
  58. package/dist/index-DnpdVFKv.js.map +1 -0
  59. package/dist/index.d.ts +2 -0
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +176 -4
  62. package/dist/index.js.map +1 -1
  63. package/dist/index.mjs +487 -315
  64. package/dist/index.mjs.map +1 -1
  65. package/dist/interfaces/addon.d.ts +1 -1
  66. package/dist/interfaces/addon.d.ts.map +1 -1
  67. package/dist/interfaces/capability.d.ts +17 -0
  68. package/dist/interfaces/capability.d.ts.map +1 -1
  69. package/dist/interfaces/event-bus.d.ts +56 -1
  70. package/dist/interfaces/event-bus.d.ts.map +1 -1
  71. package/dist/interfaces/stream-broker.d.ts +21 -1
  72. package/dist/interfaces/stream-broker.d.ts.map +1 -1
  73. package/dist/node.js +1 -1
  74. package/dist/node.mjs +1 -1
  75. package/dist/readiness/readiness-registry.d.ts.map +1 -1
  76. package/dist/schemas/auth-records.d.ts +4 -4
  77. package/dist/types/io.d.ts +13 -1
  78. package/dist/types/io.d.ts.map +1 -1
  79. package/dist/utils/privacy-grid-raster.d.ts +48 -0
  80. package/dist/utils/privacy-grid-raster.d.ts.map +1 -0
  81. package/package.json +1 -1
  82. package/dist/index-CMM1Y9W6.js.map +0 -1
  83. package/dist/index-QRlzao1I.mjs.map +0 -1
@@ -1,15 +1,15 @@
1
1
  import type { CreateTRPCClient } from '@trpc/client';
2
2
  /** The full CamStack tRPC AppRouter type (server-side router definition). */
3
3
  export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Router<{
4
- ctx: import("@camstack/types").TrpcContext;
4
+ ctx: TrpcContext;
5
5
  meta: object;
6
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7
7
  transformer: true;
8
8
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9
9
  notifications: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10
- ctx: import("@camstack/types").TrpcContext;
10
+ ctx: TrpcContext;
11
11
  meta: object;
12
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13
13
  transformer: true;
14
14
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15
15
  listOutputs: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -46,9 +46,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
46
46
  }>;
47
47
  }>>;
48
48
  addonSettingsRaw: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
49
- ctx: import("@camstack/types").TrpcContext;
49
+ ctx: TrpcContext;
50
50
  meta: object;
51
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
51
+ errorShape: import("@camstack/types").AugmentedErrorShape;
52
52
  transformer: true;
53
53
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
54
54
  getGlobal: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -101,9 +101,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
101
101
  }>;
102
102
  }>>;
103
103
  settingsBackend: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
104
- ctx: import("@camstack/types").TrpcContext;
104
+ ctx: TrpcContext;
105
105
  meta: object;
106
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
106
+ errorShape: import("@camstack/types").AugmentedErrorShape;
107
107
  transformer: true;
108
108
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
109
109
  get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -215,9 +215,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
215
215
  }>;
216
216
  }>>;
217
217
  eventBusProxy: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
218
- ctx: import("@camstack/types").TrpcContext;
218
+ ctx: TrpcContext;
219
219
  meta: object;
220
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
220
+ errorShape: import("@camstack/types").AugmentedErrorShape;
221
221
  transformer: true;
222
222
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
223
223
  emit: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -238,9 +238,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
238
238
  }>;
239
239
  }>>;
240
240
  repl: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
241
- ctx: import("@camstack/types").TrpcContext;
241
+ ctx: TrpcContext;
242
242
  meta: object;
243
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
243
+ errorShape: import("@camstack/types").AugmentedErrorShape;
244
244
  transformer: true;
245
245
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
246
246
  execute: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -287,9 +287,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
287
287
  }>;
288
288
  }>>;
289
289
  systemEvents: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
290
- ctx: import("@camstack/types").TrpcContext;
290
+ ctx: TrpcContext;
291
291
  meta: object;
292
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
292
+ errorShape: import("@camstack/types").AugmentedErrorShape;
293
293
  transformer: true;
294
294
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
295
295
  getRecent: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -335,9 +335,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
335
335
  }>;
336
336
  }>>;
337
337
  capabilities: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
338
- ctx: import("@camstack/types").TrpcContext;
338
+ ctx: TrpcContext;
339
339
  meta: object;
340
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
340
+ errorShape: import("@camstack/types").AugmentedErrorShape;
341
341
  transformer: true;
342
342
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
343
343
  listCapabilities: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -356,6 +356,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
356
356
  input: {
357
357
  capability: string;
358
358
  addonId: string;
359
+ nodeId?: string | undefined;
360
+ };
361
+ output: void;
362
+ meta: object;
363
+ }>;
364
+ clearSingletonNodeOverride: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
365
+ input: {
366
+ capability: string;
367
+ nodeId: string;
359
368
  };
360
369
  output: void;
361
370
  meta: object;
@@ -411,9 +420,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
411
420
  }>;
412
421
  }>>;
413
422
  logs: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
414
- ctx: import("@camstack/types").TrpcContext;
423
+ ctx: TrpcContext;
415
424
  meta: object;
416
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
425
+ errorShape: import("@camstack/types").AugmentedErrorShape;
417
426
  transformer: true;
418
427
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
419
428
  query: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -489,9 +498,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
489
498
  }>;
490
499
  }>>;
491
500
  live: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
492
- ctx: import("@camstack/types").TrpcContext;
501
+ ctx: TrpcContext;
493
502
  meta: object;
494
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
503
+ errorShape: import("@camstack/types").AugmentedErrorShape;
495
504
  transformer: true;
496
505
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
497
506
  recentSystemEvents: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -527,9 +536,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
527
536
  }>;
528
537
  }>>;
529
538
  streamProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
530
- ctx: import("@camstack/types").TrpcContext;
539
+ ctx: TrpcContext;
531
540
  meta: object;
532
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
541
+ errorShape: import("@camstack/types").AugmentedErrorShape;
533
542
  transformer: true;
534
543
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
535
544
  probe: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -561,9 +570,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
561
570
  }>;
562
571
  }>>;
563
572
  hwaccel: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
564
- ctx: import("@camstack/types").TrpcContext;
573
+ ctx: TrpcContext;
565
574
  meta: object;
566
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
575
+ errorShape: import("@camstack/types").AugmentedErrorShape;
567
576
  transformer: true;
568
577
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
569
578
  resolve: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -600,9 +609,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
600
609
  }>;
601
610
  }>>;
602
611
  auth: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
603
- ctx: import("@camstack/types").TrpcContext;
612
+ ctx: TrpcContext;
604
613
  meta: object;
605
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
614
+ errorShape: import("@camstack/types").AugmentedErrorShape;
606
615
  transformer: true;
607
616
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
608
617
  login: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -714,9 +723,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
714
723
  }>;
715
724
  }>>;
716
725
  networkQuality: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
717
- ctx: import("@camstack/types").TrpcContext;
726
+ ctx: TrpcContext;
718
727
  meta: object;
719
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
728
+ errorShape: import("@camstack/types").AugmentedErrorShape;
720
729
  transformer: true;
721
730
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
722
731
  getDeviceStats: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -777,9 +786,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
777
786
  }>;
778
787
  }>>;
779
788
  system: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
780
- ctx: import("@camstack/types").TrpcContext;
789
+ ctx: TrpcContext;
781
790
  meta: object;
782
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
791
+ errorShape: import("@camstack/types").AugmentedErrorShape;
783
792
  transformer: true;
784
793
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
785
794
  info: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -859,9 +868,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
859
868
  }>;
860
869
  }>>;
861
870
  toast: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
862
- ctx: import("@camstack/types").TrpcContext;
871
+ ctx: TrpcContext;
863
872
  meta: object;
864
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
873
+ errorShape: import("@camstack/types").AugmentedErrorShape;
865
874
  transformer: true;
866
875
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
867
876
  onToast: import("@trpc/server/unstable-core-do-not-import").SubscriptionProcedure<{
@@ -871,9 +880,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
871
880
  }>;
872
881
  }>>;
873
882
  integrations: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
874
- ctx: import("@camstack/types").TrpcContext;
883
+ ctx: TrpcContext;
875
884
  meta: object;
876
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
885
+ errorShape: import("@camstack/types").AugmentedErrorShape;
877
886
  transformer: true;
878
887
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
879
888
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -1029,9 +1038,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1029
1038
  }>;
1030
1039
  }>>;
1031
1040
  nodes: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
1032
- ctx: import("@camstack/types").TrpcContext;
1041
+ ctx: TrpcContext;
1033
1042
  meta: object;
1034
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
1043
+ errorShape: import("@camstack/types").AugmentedErrorShape;
1035
1044
  transformer: true;
1036
1045
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
1037
1046
  topology: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -1233,9 +1242,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1233
1242
  }>;
1234
1243
  }>>;
1235
1244
  addons: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
1236
- ctx: import("@camstack/types").TrpcContext;
1245
+ ctx: TrpcContext;
1237
1246
  meta: object;
1238
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
1247
+ errorShape: import("@camstack/types").AugmentedErrorShape;
1239
1248
  transformer: true;
1240
1249
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
1241
1250
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -1384,6 +1393,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1384
1393
  latestVersion: string;
1385
1394
  category: "addon" | "core";
1386
1395
  requiresRestart: boolean;
1396
+ isSystem: boolean;
1387
1397
  }[];
1388
1398
  meta: object;
1389
1399
  }>;
@@ -1428,7 +1438,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1428
1438
  nodeId?: string | undefined;
1429
1439
  } | undefined;
1430
1440
  output: {
1431
- kind: "system" | "manual" | "framework-update";
1441
+ kind: "system" | "manual" | "framework-update" | "framework-bulk-update";
1432
1442
  requestedAt: number;
1433
1443
  packageName?: string | undefined;
1434
1444
  fromVersion?: string | undefined;
@@ -1479,6 +1489,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1479
1489
  [x: string]: unknown;
1480
1490
  packageName: string;
1481
1491
  version?: string | undefined;
1492
+ deferRestart?: boolean | undefined;
1482
1493
  };
1483
1494
  output: {
1484
1495
  packageName: string;
@@ -1488,6 +1499,89 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1488
1499
  };
1489
1500
  meta: object;
1490
1501
  }>;
1502
+ startBulkUpdate: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
1503
+ input: {
1504
+ [x: string]: unknown;
1505
+ nodeId: string;
1506
+ items: readonly {
1507
+ name: string;
1508
+ version: string;
1509
+ isSystem: boolean;
1510
+ }[];
1511
+ };
1512
+ output: {
1513
+ id: string;
1514
+ };
1515
+ meta: object;
1516
+ }>;
1517
+ getBulkUpdateState: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
1518
+ input: {
1519
+ [x: string]: unknown;
1520
+ id: string;
1521
+ };
1522
+ output: {
1523
+ id: string;
1524
+ nodeId: string;
1525
+ startedAtMs: number;
1526
+ total: number;
1527
+ completed: number;
1528
+ failed: number;
1529
+ current: string | null;
1530
+ phase: "system" | "regular" | "restarting" | "finalizing";
1531
+ cancelled: boolean;
1532
+ items: readonly {
1533
+ name: string;
1534
+ isSystem: boolean;
1535
+ fromVersion: string;
1536
+ toVersion: string;
1537
+ status: "failed" | "queued" | "updating" | "done" | "done-pending-restart";
1538
+ error?: string | undefined;
1539
+ startedAtMs?: number | undefined;
1540
+ completedAtMs?: number | undefined;
1541
+ }[];
1542
+ completedAtMs?: number | undefined;
1543
+ } | null;
1544
+ meta: object;
1545
+ }>;
1546
+ cancelBulkUpdate: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
1547
+ input: {
1548
+ [x: string]: unknown;
1549
+ id: string;
1550
+ };
1551
+ output: {
1552
+ cancelled: boolean;
1553
+ };
1554
+ meta: object;
1555
+ }>;
1556
+ listActiveBulkUpdates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
1557
+ input: {
1558
+ [x: string]: unknown;
1559
+ nodeId?: string | undefined;
1560
+ };
1561
+ output: readonly {
1562
+ id: string;
1563
+ nodeId: string;
1564
+ startedAtMs: number;
1565
+ total: number;
1566
+ completed: number;
1567
+ failed: number;
1568
+ current: string | null;
1569
+ phase: "system" | "regular" | "restarting" | "finalizing";
1570
+ cancelled: boolean;
1571
+ items: readonly {
1572
+ name: string;
1573
+ isSystem: boolean;
1574
+ fromVersion: string;
1575
+ toVersion: string;
1576
+ status: "failed" | "queued" | "updating" | "done" | "done-pending-restart";
1577
+ error?: string | undefined;
1578
+ startedAtMs?: number | undefined;
1579
+ completedAtMs?: number | undefined;
1580
+ }[];
1581
+ completedAtMs?: number | undefined;
1582
+ }[];
1583
+ meta: object;
1584
+ }>;
1491
1585
  getVersions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
1492
1586
  input: {
1493
1587
  [x: string]: unknown;
@@ -1585,9 +1679,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1585
1679
  }>;
1586
1680
  }>>;
1587
1681
  pipelineExecutor: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
1588
- ctx: import("@camstack/types").TrpcContext;
1682
+ ctx: TrpcContext;
1589
1683
  meta: object;
1590
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
1684
+ errorShape: import("@camstack/types").AugmentedErrorShape;
1591
1685
  transformer: true;
1592
1686
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
1593
1687
  getAvailableEngines: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -2115,9 +2209,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2115
2209
  }>;
2116
2210
  }>>;
2117
2211
  pipelineRunner: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2118
- ctx: import("@camstack/types").TrpcContext;
2212
+ ctx: TrpcContext;
2119
2213
  meta: object;
2120
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
2214
+ errorShape: import("@camstack/types").AugmentedErrorShape;
2121
2215
  transformer: true;
2122
2216
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
2123
2217
  attachCamera: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -2160,6 +2254,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2160
2254
  kind?: "polygon" | "tripwire" | undefined;
2161
2255
  color?: string | undefined;
2162
2256
  }[] | undefined;
2257
+ onboardMotionDrivesAnalyzer?: boolean | undefined;
2163
2258
  };
2164
2259
  output: {
2165
2260
  success: true;
@@ -2271,9 +2366,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2271
2366
  }>;
2272
2367
  }>>;
2273
2368
  pipelineOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2274
- ctx: import("@camstack/types").TrpcContext;
2369
+ ctx: TrpcContext;
2275
2370
  meta: object;
2276
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
2371
+ errorShape: import("@camstack/types").AugmentedErrorShape;
2277
2372
  transformer: true;
2278
2373
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
2279
2374
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -2289,7 +2384,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2289
2384
  description?: string | undefined;
2290
2385
  style?: "card" | "accordion" | undefined;
2291
2386
  defaultCollapsed?: boolean | undefined;
2292
- columns?: 1 | 2 | 3 | 4 | undefined;
2387
+ columns?: 1 | 3 | 2 | 4 | undefined;
2293
2388
  tab?: string | undefined;
2294
2389
  location?: "settings" | "top-tab" | undefined;
2295
2390
  order?: number | undefined;
@@ -2316,7 +2411,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2316
2411
  description?: string | undefined;
2317
2412
  style?: "card" | "accordion" | undefined;
2318
2413
  defaultCollapsed?: boolean | undefined;
2319
- columns?: 1 | 2 | 3 | 4 | undefined;
2414
+ columns?: 1 | 3 | 2 | 4 | undefined;
2320
2415
  tab?: string | undefined;
2321
2416
  location?: "settings" | "top-tab" | undefined;
2322
2417
  order?: number | undefined;
@@ -2893,16 +2988,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2893
2988
  }>;
2894
2989
  }>>;
2895
2990
  audioAnalyzer: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2896
- ctx: import("@camstack/types").TrpcContext;
2991
+ ctx: TrpcContext;
2897
2992
  meta: object;
2898
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
2993
+ errorShape: import("@camstack/types").AugmentedErrorShape;
2899
2994
  transformer: true;
2900
2995
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
2901
2996
  analyseChunk: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
2902
2997
  input: {
2903
2998
  [x: string]: unknown;
2904
2999
  chunk: {
2905
- data: Float32Array<ArrayBuffer>;
3000
+ data: Uint8Array<ArrayBuffer>;
2906
3001
  sampleRate: number;
2907
3002
  channels: number;
2908
3003
  timestamp: number;
@@ -2933,7 +3028,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2933
3028
  classify: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
2934
3029
  input: {
2935
3030
  [x: string]: unknown;
2936
- data: Float32Array<ArrayBuffer>;
3031
+ data: Uint8Array<ArrayBuffer>;
2937
3032
  sampleRate: number;
2938
3033
  channels: number;
2939
3034
  timestamp: number;
@@ -2979,9 +3074,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2979
3074
  }>;
2980
3075
  }>>;
2981
3076
  audioCodec: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2982
- ctx: import("@camstack/types").TrpcContext;
3077
+ ctx: TrpcContext;
2983
3078
  meta: object;
2984
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3079
+ errorShape: import("@camstack/types").AugmentedErrorShape;
2985
3080
  transformer: true;
2986
3081
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
2987
3082
  listSupportedCodecs: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3142,9 +3237,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3142
3237
  }>;
3143
3238
  }>>;
3144
3239
  decoder: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3145
- ctx: import("@camstack/types").TrpcContext;
3240
+ ctx: TrpcContext;
3146
3241
  meta: object;
3147
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3242
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3148
3243
  transformer: true;
3149
3244
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3150
3245
  supportsCodec: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3351,9 +3446,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3351
3446
  }>;
3352
3447
  }>>;
3353
3448
  platformProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3354
- ctx: import("@camstack/types").TrpcContext;
3449
+ ctx: TrpcContext;
3355
3450
  meta: object;
3356
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3451
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3357
3452
  transformer: true;
3358
3453
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3359
3454
  getCapabilities: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3488,9 +3583,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3488
3583
  }>;
3489
3584
  }>>;
3490
3585
  localNetwork: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3491
- ctx: import("@camstack/types").TrpcContext;
3586
+ ctx: TrpcContext;
3492
3587
  meta: object;
3493
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3588
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3494
3589
  transformer: true;
3495
3590
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3496
3591
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3585,9 +3680,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3585
3680
  }>;
3586
3681
  }>>;
3587
3682
  snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3588
- ctx: import("@camstack/types").TrpcContext;
3683
+ ctx: TrpcContext;
3589
3684
  meta: object;
3590
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3685
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3591
3686
  transformer: true;
3592
3687
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3593
3688
  supportsDevice: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3611,10 +3706,135 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3611
3706
  meta: object;
3612
3707
  }>;
3613
3708
  }>>;
3709
+ webrtcSession: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3710
+ ctx: TrpcContext;
3711
+ meta: object;
3712
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3713
+ transformer: true;
3714
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3715
+ listStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
3716
+ input: {
3717
+ [x: string]: unknown;
3718
+ deviceId: number;
3719
+ };
3720
+ output: {
3721
+ id: string;
3722
+ label: string;
3723
+ target: {
3724
+ kind: "adaptive";
3725
+ } | {
3726
+ kind: "profile";
3727
+ profile: "high" | "low" | "mid";
3728
+ } | {
3729
+ kind: "cam-stream";
3730
+ camStreamId: string;
3731
+ };
3732
+ codec: string | null;
3733
+ resolution: {
3734
+ width: number;
3735
+ height: number;
3736
+ } | null;
3737
+ status: "error" | "streaming" | "idle" | "connecting" | "stopped" | null;
3738
+ inputFps: number | null;
3739
+ decodeFps: number | null;
3740
+ bitrateKbps: number | null;
3741
+ }[];
3742
+ meta: object;
3743
+ }>;
3744
+ createSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
3745
+ input: {
3746
+ [x: string]: unknown;
3747
+ deviceId: number;
3748
+ target: {
3749
+ kind: "adaptive";
3750
+ } | {
3751
+ kind: "profile";
3752
+ profile: "high" | "low" | "mid";
3753
+ } | {
3754
+ kind: "cam-stream";
3755
+ camStreamId: string;
3756
+ };
3757
+ hints?: {
3758
+ viewportWidth?: number | undefined;
3759
+ viewportHeight?: number | undefined;
3760
+ devicePixelRatio?: number | undefined;
3761
+ downlinkMbps?: number | undefined;
3762
+ prefersTier?: string | undefined;
3763
+ } | undefined;
3764
+ relayOnly?: boolean | undefined;
3765
+ };
3766
+ output: {
3767
+ sessionId: string;
3768
+ sdpOffer: string;
3769
+ };
3770
+ meta: object;
3771
+ }>;
3772
+ handleOffer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
3773
+ input: {
3774
+ [x: string]: unknown;
3775
+ deviceId: number;
3776
+ sdpOffer: string;
3777
+ target?: {
3778
+ kind: "adaptive";
3779
+ } | {
3780
+ kind: "profile";
3781
+ profile: "high" | "low" | "mid";
3782
+ } | {
3783
+ kind: "cam-stream";
3784
+ camStreamId: string;
3785
+ } | undefined;
3786
+ sessionId?: string | undefined;
3787
+ relayOnly?: boolean | undefined;
3788
+ };
3789
+ output: {
3790
+ sessionId: string;
3791
+ sdpAnswer: string;
3792
+ };
3793
+ meta: object;
3794
+ }>;
3795
+ handleAnswer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
3796
+ input: {
3797
+ [x: string]: unknown;
3798
+ deviceId: number;
3799
+ sessionId: string;
3800
+ sdpAnswer: string;
3801
+ };
3802
+ output: void;
3803
+ meta: object;
3804
+ }>;
3805
+ addIceCandidate: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
3806
+ input: any;
3807
+ output: any;
3808
+ meta: object;
3809
+ }>;
3810
+ getIceCandidates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
3811
+ input: any;
3812
+ output: any;
3813
+ meta: object;
3814
+ }>;
3815
+ closeSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
3816
+ input: {
3817
+ [x: string]: unknown;
3818
+ deviceId: number;
3819
+ sessionId: string;
3820
+ };
3821
+ output: void;
3822
+ meta: object;
3823
+ }>;
3824
+ hasAdaptiveBitrate: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
3825
+ input: {
3826
+ [x: string]: unknown;
3827
+ deviceId: number;
3828
+ profile: "high" | "low" | "mid";
3829
+ };
3830
+ output: boolean;
3831
+ meta: object;
3832
+ }>;
3833
+ }>>;
3614
3834
  accessories: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3615
- ctx: import("@camstack/types").TrpcContext;
3835
+ ctx: TrpcContext;
3616
3836
  meta: object;
3617
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3837
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3618
3838
  transformer: true;
3619
3839
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3620
3840
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3627,9 +3847,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3627
3847
  }>;
3628
3848
  }>>;
3629
3849
  addonPages: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3630
- ctx: import("@camstack/types").TrpcContext;
3850
+ ctx: TrpcContext;
3631
3851
  meta: object;
3632
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3852
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3633
3853
  transformer: true;
3634
3854
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3635
3855
  listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3652,9 +3872,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3652
3872
  }>;
3653
3873
  }>>;
3654
3874
  addonPagesSource: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3655
- ctx: import("@camstack/types").TrpcContext;
3875
+ ctx: TrpcContext;
3656
3876
  meta: object;
3657
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3877
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3658
3878
  transformer: true;
3659
3879
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3660
3880
  listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3674,9 +3894,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3674
3894
  }>;
3675
3895
  }>>;
3676
3896
  addonSettings: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3677
- ctx: import("@camstack/types").TrpcContext;
3897
+ ctx: TrpcContext;
3678
3898
  meta: object;
3679
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3899
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3680
3900
  transformer: true;
3681
3901
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3682
3902
  getGlobalSettings: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3685,6 +3905,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3685
3905
  addonId: string;
3686
3906
  nodeId?: string | undefined;
3687
3907
  overlay?: Record<string, unknown> | undefined;
3908
+ cap?: string | undefined;
3688
3909
  };
3689
3910
  output: {
3690
3911
  sections: {
@@ -3694,7 +3915,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3694
3915
  description?: string | undefined;
3695
3916
  style?: "card" | "accordion" | undefined;
3696
3917
  defaultCollapsed?: boolean | undefined;
3697
- columns?: 1 | 2 | 3 | 4 | undefined;
3918
+ columns?: 1 | 3 | 2 | 4 | undefined;
3698
3919
  tab?: string | undefined;
3699
3920
  location?: "settings" | "top-tab" | undefined;
3700
3921
  order?: number | undefined;
@@ -3735,7 +3956,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3735
3956
  description?: string | undefined;
3736
3957
  style?: "card" | "accordion" | undefined;
3737
3958
  defaultCollapsed?: boolean | undefined;
3738
- columns?: 1 | 2 | 3 | 4 | undefined;
3959
+ columns?: 1 | 3 | 2 | 4 | undefined;
3739
3960
  tab?: string | undefined;
3740
3961
  location?: "settings" | "top-tab" | undefined;
3741
3962
  order?: number | undefined;
@@ -3764,9 +3985,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3764
3985
  }>;
3765
3986
  }>>;
3766
3987
  addonWidgets: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3767
- ctx: import("@camstack/types").TrpcContext;
3988
+ ctx: TrpcContext;
3768
3989
  meta: object;
3769
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3990
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3770
3991
  transformer: true;
3771
3992
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3772
3993
  listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3804,9 +4025,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3804
4025
  }>;
3805
4026
  }>>;
3806
4027
  addonWidgetsSource: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3807
- ctx: import("@camstack/types").TrpcContext;
4028
+ ctx: TrpcContext;
3808
4029
  meta: object;
3809
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4030
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3810
4031
  transformer: true;
3811
4032
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3812
4033
  listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3843,9 +4064,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3843
4064
  }>;
3844
4065
  }>>;
3845
4066
  adminUi: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3846
- ctx: import("@camstack/types").TrpcContext;
4067
+ ctx: TrpcContext;
3847
4068
  meta: object;
3848
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4069
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3849
4070
  transformer: true;
3850
4071
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3851
4072
  getStaticDir: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3868,9 +4089,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3868
4089
  }>;
3869
4090
  }>>;
3870
4091
  advancedNotifier: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3871
- ctx: import("@camstack/types").TrpcContext;
4092
+ ctx: TrpcContext;
3872
4093
  meta: object;
3873
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4094
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3874
4095
  transformer: true;
3875
4096
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3876
4097
  getRules: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3999,9 +4220,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3999
4220
  }>;
4000
4221
  }>>;
4001
4222
  alerts: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4002
- ctx: import("@camstack/types").TrpcContext;
4223
+ ctx: TrpcContext;
4003
4224
  meta: object;
4004
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4225
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4005
4226
  transformer: true;
4006
4227
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4007
4228
  emit: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -4012,7 +4233,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4012
4233
  severity: "success" | "error" | "info" | "warning";
4013
4234
  title: string;
4014
4235
  message: string;
4015
- status: "failed" | "active" | "in-progress" | "completed" | "dismissed";
4236
+ status: "failed" | "completed" | "active" | "in-progress" | "dismissed";
4016
4237
  read: boolean;
4017
4238
  createdAt: number;
4018
4239
  updatedAt: number;
@@ -4036,7 +4257,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4036
4257
  severity?: "success" | "error" | "info" | "warning" | undefined;
4037
4258
  title?: string | undefined;
4038
4259
  message?: string | undefined;
4039
- status?: "failed" | "active" | "in-progress" | "completed" | "dismissed" | undefined;
4260
+ status?: "failed" | "completed" | "active" | "in-progress" | "dismissed" | undefined;
4040
4261
  progress?: number | undefined;
4041
4262
  read?: boolean | undefined;
4042
4263
  createdAt?: number | undefined;
@@ -4062,7 +4283,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4062
4283
  severity: "success" | "error" | "info" | "warning";
4063
4284
  title: string;
4064
4285
  message: string;
4065
- status: "failed" | "active" | "in-progress" | "completed" | "dismissed";
4286
+ status: "failed" | "completed" | "active" | "in-progress" | "dismissed";
4066
4287
  read: boolean;
4067
4288
  createdAt: number;
4068
4289
  updatedAt: number;
@@ -4107,9 +4328,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4107
4328
  }>;
4108
4329
  }>>;
4109
4330
  audioAnalysis: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4110
- ctx: import("@camstack/types").TrpcContext;
4331
+ ctx: TrpcContext;
4111
4332
  meta: object;
4112
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4333
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4113
4334
  transformer: true;
4114
4335
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4115
4336
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4125,7 +4346,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4125
4346
  description?: string | undefined;
4126
4347
  style?: "card" | "accordion" | undefined;
4127
4348
  defaultCollapsed?: boolean | undefined;
4128
- columns?: 1 | 2 | 3 | 4 | undefined;
4349
+ columns?: 1 | 3 | 2 | 4 | undefined;
4129
4350
  tab?: string | undefined;
4130
4351
  location?: "settings" | "top-tab" | undefined;
4131
4352
  order?: number | undefined;
@@ -4152,7 +4373,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4152
4373
  description?: string | undefined;
4153
4374
  style?: "card" | "accordion" | undefined;
4154
4375
  defaultCollapsed?: boolean | undefined;
4155
- columns?: 1 | 2 | 3 | 4 | undefined;
4376
+ columns?: 1 | 3 | 2 | 4 | undefined;
4156
4377
  tab?: string | undefined;
4157
4378
  location?: "settings" | "top-tab" | undefined;
4158
4379
  order?: number | undefined;
@@ -4187,9 +4408,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4187
4408
  }>;
4188
4409
  }>>;
4189
4410
  audioMetrics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4190
- ctx: import("@camstack/types").TrpcContext;
4411
+ ctx: TrpcContext;
4191
4412
  meta: object;
4192
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4413
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4193
4414
  transformer: true;
4194
4415
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4195
4416
  getCurrentSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4243,9 +4464,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4243
4464
  }>;
4244
4465
  }>>;
4245
4466
  backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4246
- ctx: import("@camstack/types").TrpcContext;
4467
+ ctx: TrpcContext;
4247
4468
  meta: object;
4248
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4469
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4249
4470
  transformer: true;
4250
4471
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4251
4472
  listDestinations: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4397,9 +4618,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4397
4618
  }>;
4398
4619
  }>>;
4399
4620
  battery: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4400
- ctx: import("@camstack/types").TrpcContext;
4621
+ ctx: TrpcContext;
4401
4622
  meta: object;
4402
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4623
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4403
4624
  transformer: true;
4404
4625
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4405
4626
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4412,9 +4633,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4412
4633
  }>;
4413
4634
  }>>;
4414
4635
  brightness: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4415
- ctx: import("@camstack/types").TrpcContext;
4636
+ ctx: TrpcContext;
4416
4637
  meta: object;
4417
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4638
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4418
4639
  transformer: true;
4419
4640
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4420
4641
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4436,9 +4657,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4436
4657
  }>;
4437
4658
  }>>;
4438
4659
  cameraCredentials: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4439
- ctx: import("@camstack/types").TrpcContext;
4660
+ ctx: TrpcContext;
4440
4661
  meta: object;
4441
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4662
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4442
4663
  transformer: true;
4443
4664
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4444
4665
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4467,10 +4688,82 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4467
4688
  meta: object;
4468
4689
  }>;
4469
4690
  }>>;
4691
+ cameraPipelineConfig: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4692
+ ctx: TrpcContext;
4693
+ meta: object;
4694
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4695
+ transformer: true;
4696
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4697
+ getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
4698
+ input: {
4699
+ [x: string]: unknown;
4700
+ deviceId: number;
4701
+ };
4702
+ output: {
4703
+ sections: {
4704
+ id: string;
4705
+ title: string;
4706
+ fields: any[];
4707
+ description?: string | undefined;
4708
+ style?: "card" | "accordion" | undefined;
4709
+ defaultCollapsed?: boolean | undefined;
4710
+ columns?: 1 | 3 | 2 | 4 | undefined;
4711
+ tab?: string | undefined;
4712
+ location?: "settings" | "top-tab" | undefined;
4713
+ order?: number | undefined;
4714
+ }[];
4715
+ tabs?: {
4716
+ id: string;
4717
+ label: string;
4718
+ icon: string;
4719
+ order?: number | undefined;
4720
+ }[] | undefined;
4721
+ } | null;
4722
+ meta: object;
4723
+ }>;
4724
+ getDeviceLiveContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
4725
+ input: {
4726
+ [x: string]: unknown;
4727
+ deviceId: number;
4728
+ };
4729
+ output: {
4730
+ sections: {
4731
+ id: string;
4732
+ title: string;
4733
+ fields: any[];
4734
+ description?: string | undefined;
4735
+ style?: "card" | "accordion" | undefined;
4736
+ defaultCollapsed?: boolean | undefined;
4737
+ columns?: 1 | 3 | 2 | 4 | undefined;
4738
+ tab?: string | undefined;
4739
+ location?: "settings" | "top-tab" | undefined;
4740
+ order?: number | undefined;
4741
+ }[];
4742
+ tabs?: {
4743
+ id: string;
4744
+ label: string;
4745
+ icon: string;
4746
+ order?: number | undefined;
4747
+ }[] | undefined;
4748
+ } | null;
4749
+ meta: object;
4750
+ }>;
4751
+ applyDeviceSettingsPatch: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
4752
+ input: {
4753
+ [x: string]: unknown;
4754
+ deviceId: number;
4755
+ patch: Record<string, unknown>;
4756
+ };
4757
+ output: {
4758
+ success: true;
4759
+ };
4760
+ meta: object;
4761
+ }>;
4762
+ }>>;
4470
4763
  cameraStreams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4471
- ctx: import("@camstack/types").TrpcContext;
4764
+ ctx: TrpcContext;
4472
4765
  meta: object;
4473
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4766
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4474
4767
  transformer: true;
4475
4768
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4476
4769
  getCameraStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4533,9 +4826,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4533
4826
  }>;
4534
4827
  }>>;
4535
4828
  detectionPipeline: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4536
- ctx: import("@camstack/types").TrpcContext;
4829
+ ctx: TrpcContext;
4537
4830
  meta: object;
4538
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4831
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4539
4832
  transformer: true;
4540
4833
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4541
4834
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4551,7 +4844,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4551
4844
  description?: string | undefined;
4552
4845
  style?: "card" | "accordion" | undefined;
4553
4846
  defaultCollapsed?: boolean | undefined;
4554
- columns?: 1 | 2 | 3 | 4 | undefined;
4847
+ columns?: 1 | 3 | 2 | 4 | undefined;
4555
4848
  tab?: string | undefined;
4556
4849
  location?: "settings" | "top-tab" | undefined;
4557
4850
  order?: number | undefined;
@@ -4578,7 +4871,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4578
4871
  description?: string | undefined;
4579
4872
  style?: "card" | "accordion" | undefined;
4580
4873
  defaultCollapsed?: boolean | undefined;
4581
- columns?: 1 | 2 | 3 | 4 | undefined;
4874
+ columns?: 1 | 3 | 2 | 4 | undefined;
4582
4875
  tab?: string | undefined;
4583
4876
  location?: "settings" | "top-tab" | undefined;
4584
4877
  order?: number | undefined;
@@ -4605,9 +4898,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4605
4898
  }>;
4606
4899
  }>>;
4607
4900
  deviceDiscovery: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4608
- ctx: import("@camstack/types").TrpcContext;
4901
+ ctx: TrpcContext;
4609
4902
  meta: object;
4610
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4903
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4611
4904
  transformer: true;
4612
4905
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4613
4906
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4690,9 +4983,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4690
4983
  }>;
4691
4984
  }>>;
4692
4985
  deviceExport: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4693
- ctx: import("@camstack/types").TrpcContext;
4986
+ ctx: TrpcContext;
4694
4987
  meta: object;
4695
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4988
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4696
4989
  transformer: true;
4697
4990
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4698
4991
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4716,7 +5009,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4716
5009
  description?: string | undefined;
4717
5010
  style?: "card" | "accordion" | undefined;
4718
5011
  defaultCollapsed?: boolean | undefined;
4719
- columns?: 1 | 2 | 3 | 4 | undefined;
5012
+ columns?: 1 | 3 | 2 | 4 | undefined;
4720
5013
  tab?: string | undefined;
4721
5014
  location?: "settings" | "top-tab" | undefined;
4722
5015
  order?: number | undefined;
@@ -4743,7 +5036,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4743
5036
  description?: string | undefined;
4744
5037
  style?: "card" | "accordion" | undefined;
4745
5038
  defaultCollapsed?: boolean | undefined;
4746
- columns?: 1 | 2 | 3 | 4 | undefined;
5039
+ columns?: 1 | 3 | 2 | 4 | undefined;
4747
5040
  tab?: string | undefined;
4748
5041
  location?: "settings" | "top-tab" | undefined;
4749
5042
  order?: number | undefined;
@@ -4807,9 +5100,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4807
5100
  }>;
4808
5101
  }>>;
4809
5102
  deviceManager: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4810
- ctx: import("@camstack/types").TrpcContext;
5103
+ ctx: TrpcContext;
4811
5104
  meta: object;
4812
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5105
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4813
5106
  transformer: true;
4814
5107
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4815
5108
  allocateDeviceId: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -5230,7 +5523,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5230
5523
  description?: string | undefined;
5231
5524
  style?: "card" | "accordion" | undefined;
5232
5525
  defaultCollapsed?: boolean | undefined;
5233
- columns?: 1 | 2 | 3 | 4 | undefined;
5526
+ columns?: 1 | 3 | 2 | 4 | undefined;
5234
5527
  tab?: string | undefined;
5235
5528
  location?: "settings" | "top-tab" | undefined;
5236
5529
  order?: number | undefined;
@@ -5257,7 +5550,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5257
5550
  description?: string | undefined;
5258
5551
  style?: "card" | "accordion" | undefined;
5259
5552
  defaultCollapsed?: boolean | undefined;
5260
- columns?: 1 | 2 | 3 | 4 | undefined;
5553
+ columns?: 1 | 3 | 2 | 4 | undefined;
5261
5554
  tab?: string | undefined;
5262
5555
  location?: "settings" | "top-tab" | undefined;
5263
5556
  order?: number | undefined;
@@ -5285,7 +5578,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5285
5578
  description?: string | undefined;
5286
5579
  style?: "card" | "accordion" | undefined;
5287
5580
  defaultCollapsed?: boolean | undefined;
5288
- columns?: 1 | 2 | 3 | 4 | undefined;
5581
+ columns?: 1 | 3 | 2 | 4 | undefined;
5289
5582
  tab?: string | undefined;
5290
5583
  location?: "settings" | "top-tab" | undefined;
5291
5584
  order?: number | undefined;
@@ -5305,7 +5598,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5305
5598
  description?: string | undefined;
5306
5599
  style?: "card" | "accordion" | undefined;
5307
5600
  defaultCollapsed?: boolean | undefined;
5308
- columns?: 1 | 2 | 3 | 4 | undefined;
5601
+ columns?: 1 | 3 | 2 | 4 | undefined;
5309
5602
  tab?: string | undefined;
5310
5603
  location?: "settings" | "top-tab" | undefined;
5311
5604
  order?: number | undefined;
@@ -5462,9 +5755,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5462
5755
  }>;
5463
5756
  }>>;
5464
5757
  deviceOps: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5465
- ctx: import("@camstack/types").TrpcContext;
5758
+ ctx: TrpcContext;
5466
5759
  meta: object;
5467
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5760
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5468
5761
  transformer: true;
5469
5762
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5470
5763
  getStreamSources: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5527,9 +5820,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5527
5820
  }>;
5528
5821
  }>>;
5529
5822
  deviceProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5530
- ctx: import("@camstack/types").TrpcContext;
5823
+ ctx: TrpcContext;
5531
5824
  meta: object;
5532
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5825
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5533
5826
  transformer: true;
5534
5827
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5535
5828
  start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -5661,9 +5954,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5661
5954
  }>;
5662
5955
  }>>;
5663
5956
  deviceState: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5664
- ctx: import("@camstack/types").TrpcContext;
5957
+ ctx: TrpcContext;
5665
5958
  meta: object;
5666
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5959
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5667
5960
  transformer: true;
5668
5961
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5669
5962
  getSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5702,9 +5995,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5702
5995
  }>;
5703
5996
  }>>;
5704
5997
  deviceStatus: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5705
- ctx: import("@camstack/types").TrpcContext;
5998
+ ctx: TrpcContext;
5706
5999
  meta: object;
5707
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6000
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5708
6001
  transformer: true;
5709
6002
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5710
6003
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5717,9 +6010,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5717
6010
  }>;
5718
6011
  }>>;
5719
6012
  doorbell: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5720
- ctx: import("@camstack/types").TrpcContext;
6013
+ ctx: TrpcContext;
5721
6014
  meta: object;
5722
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6015
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5723
6016
  transformer: true;
5724
6017
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5725
6018
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5732,9 +6025,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5732
6025
  }>;
5733
6026
  }>>;
5734
6027
  embeddingEncoder: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5735
- ctx: import("@camstack/types").TrpcContext;
6028
+ ctx: TrpcContext;
5736
6029
  meta: object;
5737
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6030
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5738
6031
  transformer: true;
5739
6032
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5740
6033
  encode: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5775,9 +6068,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5775
6068
  }>;
5776
6069
  }>>;
5777
6070
  events: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5778
- ctx: import("@camstack/types").TrpcContext;
6071
+ ctx: TrpcContext;
5779
6072
  meta: object;
5780
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6073
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5781
6074
  transformer: true;
5782
6075
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5783
6076
  getEvents: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5822,9 +6115,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5822
6115
  }>;
5823
6116
  }>>;
5824
6117
  featureProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5825
- ctx: import("@camstack/types").TrpcContext;
6118
+ ctx: TrpcContext;
5826
6119
  meta: object;
5827
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6120
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5828
6121
  transformer: true;
5829
6122
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5830
6123
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5837,9 +6130,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5837
6130
  }>;
5838
6131
  }>>;
5839
6132
  intercom: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5840
- ctx: import("@camstack/types").TrpcContext;
6133
+ ctx: TrpcContext;
5841
6134
  meta: object;
5842
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6135
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5843
6136
  transformer: true;
5844
6137
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5845
6138
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5912,9 +6205,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5912
6205
  }>;
5913
6206
  }>>;
5914
6207
  meshNetwork: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5915
- ctx: import("@camstack/types").TrpcContext;
6208
+ ctx: TrpcContext;
5916
6209
  meta: object;
5917
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6210
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5918
6211
  transformer: true;
5919
6212
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5920
6213
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6010,9 +6303,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6010
6303
  }>;
6011
6304
  }>>;
6012
6305
  metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6013
- ctx: import("@camstack/types").TrpcContext;
6306
+ ctx: TrpcContext;
6014
6307
  meta: object;
6015
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6308
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6016
6309
  transformer: true;
6017
6310
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6018
6311
  collectSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6325,9 +6618,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6325
6618
  }>;
6326
6619
  }>>;
6327
6620
  motion: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6328
- ctx: import("@camstack/types").TrpcContext;
6621
+ ctx: TrpcContext;
6329
6622
  meta: object;
6330
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6623
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6331
6624
  transformer: true;
6332
6625
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6333
6626
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6348,9 +6641,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6348
6641
  }>;
6349
6642
  }>>;
6350
6643
  motionDetection: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6351
- ctx: import("@camstack/types").TrpcContext;
6644
+ ctx: TrpcContext;
6352
6645
  meta: object;
6353
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6646
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6354
6647
  transformer: true;
6355
6648
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6356
6649
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6366,7 +6659,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6366
6659
  description?: string | undefined;
6367
6660
  style?: "card" | "accordion" | undefined;
6368
6661
  defaultCollapsed?: boolean | undefined;
6369
- columns?: 1 | 2 | 3 | 4 | undefined;
6662
+ columns?: 1 | 3 | 2 | 4 | undefined;
6370
6663
  tab?: string | undefined;
6371
6664
  location?: "settings" | "top-tab" | undefined;
6372
6665
  order?: number | undefined;
@@ -6393,7 +6686,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6393
6686
  description?: string | undefined;
6394
6687
  style?: "card" | "accordion" | undefined;
6395
6688
  defaultCollapsed?: boolean | undefined;
6396
- columns?: 1 | 2 | 3 | 4 | undefined;
6689
+ columns?: 1 | 3 | 2 | 4 | undefined;
6397
6690
  tab?: string | undefined;
6398
6691
  location?: "settings" | "top-tab" | undefined;
6399
6692
  order?: number | undefined;
@@ -6476,9 +6769,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6476
6769
  }>;
6477
6770
  }>>;
6478
6771
  motionTrigger: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6479
- ctx: import("@camstack/types").TrpcContext;
6772
+ ctx: TrpcContext;
6480
6773
  meta: object;
6481
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6774
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6482
6775
  transformer: true;
6483
6776
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6484
6777
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6500,9 +6793,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6500
6793
  }>;
6501
6794
  }>>;
6502
6795
  motionZones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6503
- ctx: import("@camstack/types").TrpcContext;
6796
+ ctx: TrpcContext;
6504
6797
  meta: object;
6505
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6798
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6506
6799
  transformer: true;
6507
6800
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6508
6801
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6519,8 +6812,12 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6519
6812
  deviceId: number;
6520
6813
  };
6521
6814
  output: {
6522
- gridWidth: number;
6523
- gridHeight: number;
6815
+ maxRegions: number;
6816
+ supportedShapes: ("grid" | "polygon" | "rect" | "line")[];
6817
+ grid: {
6818
+ width: number;
6819
+ height: number;
6820
+ };
6524
6821
  sensitivity: {
6525
6822
  min: number;
6526
6823
  max: number;
@@ -6536,7 +6833,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6536
6833
  patch: {
6537
6834
  enabled?: boolean | undefined;
6538
6835
  sensitivity?: number | undefined;
6539
- cells?: boolean[] | undefined;
6836
+ regions?: {
6837
+ id: number;
6838
+ enabled: boolean;
6839
+ shape: {
6840
+ kind: "grid";
6841
+ gridWidth: number;
6842
+ gridHeight: number;
6843
+ cells: boolean[];
6844
+ };
6845
+ }[] | undefined;
6540
6846
  };
6541
6847
  };
6542
6848
  output: void;
@@ -6544,9 +6850,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6544
6850
  }>;
6545
6851
  }>>;
6546
6852
  mqttBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6547
- ctx: import("@camstack/types").TrpcContext;
6853
+ ctx: TrpcContext;
6548
6854
  meta: object;
6549
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6855
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6550
6856
  transformer: true;
6551
6857
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6552
6858
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6567,7 +6873,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6567
6873
  name: string;
6568
6874
  url: string;
6569
6875
  kind: "external" | "embedded";
6570
- status: "connected" | "disconnected" | "auth-failed" | "unreachable" | "tls-error";
6876
+ status: "connected" | "unreachable" | "disconnected" | "auth-failed" | "tls-error";
6571
6877
  latencyMs: number | null;
6572
6878
  error?: string | undefined;
6573
6879
  connectedClients?: number | undefined;
@@ -6648,9 +6954,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6648
6954
  }>;
6649
6955
  }>>;
6650
6956
  nativeObjectDetection: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6651
- ctx: import("@camstack/types").TrpcContext;
6957
+ ctx: TrpcContext;
6652
6958
  meta: object;
6653
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6959
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6654
6960
  transformer: true;
6655
6961
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6656
6962
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6661,11 +6967,20 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6661
6967
  output: unknown;
6662
6968
  meta: object;
6663
6969
  }>;
6970
+ setEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
6971
+ input: {
6972
+ [x: string]: unknown;
6973
+ deviceId: number;
6974
+ enabled: boolean;
6975
+ };
6976
+ output: void;
6977
+ meta: object;
6978
+ }>;
6664
6979
  }>>;
6665
6980
  networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6666
- ctx: import("@camstack/types").TrpcContext;
6981
+ ctx: TrpcContext;
6667
6982
  meta: object;
6668
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6983
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6669
6984
  transformer: true;
6670
6985
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6671
6986
  start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -6729,9 +7044,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6729
7044
  }>;
6730
7045
  }>>;
6731
7046
  notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6732
- ctx: import("@camstack/types").TrpcContext;
7047
+ ctx: TrpcContext;
6733
7048
  meta: object;
6734
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7049
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6735
7050
  transformer: true;
6736
7051
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6737
7052
  send: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -6761,9 +7076,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6761
7076
  }>;
6762
7077
  }>>;
6763
7078
  oauthIntegration: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6764
- ctx: import("@camstack/types").TrpcContext;
7079
+ ctx: TrpcContext;
6765
7080
  meta: object;
6766
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7081
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6767
7082
  transformer: true;
6768
7083
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6769
7084
  getDescriptor: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6792,14 +7107,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6792
7107
  access: ("delete" | "create" | "view")[];
6793
7108
  })[];
6794
7109
  allowedRedirectPrefixes: string[];
7110
+ hubUrl?: string | undefined;
6795
7111
  };
6796
7112
  meta: object;
6797
7113
  }>;
6798
7114
  }>>;
6799
7115
  osd: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6800
- ctx: import("@camstack/types").TrpcContext;
7116
+ ctx: TrpcContext;
6801
7117
  meta: object;
6802
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7118
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6803
7119
  transformer: true;
6804
7120
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6805
7121
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6826,9 +7142,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6826
7142
  }>;
6827
7143
  }>>;
6828
7144
  pipelineAnalytics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6829
- ctx: import("@camstack/types").TrpcContext;
7145
+ ctx: TrpcContext;
6830
7146
  meta: object;
6831
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7147
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6832
7148
  transformer: true;
6833
7149
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6834
7150
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6844,7 +7160,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6844
7160
  description?: string | undefined;
6845
7161
  style?: "card" | "accordion" | undefined;
6846
7162
  defaultCollapsed?: boolean | undefined;
6847
- columns?: 1 | 2 | 3 | 4 | undefined;
7163
+ columns?: 1 | 3 | 2 | 4 | undefined;
6848
7164
  tab?: string | undefined;
6849
7165
  location?: "settings" | "top-tab" | undefined;
6850
7166
  order?: number | undefined;
@@ -6871,7 +7187,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6871
7187
  description?: string | undefined;
6872
7188
  style?: "card" | "accordion" | undefined;
6873
7189
  defaultCollapsed?: boolean | undefined;
6874
- columns?: 1 | 2 | 3 | 4 | undefined;
7190
+ columns?: 1 | 3 | 2 | 4 | undefined;
6875
7191
  tab?: string | undefined;
6876
7192
  location?: "settings" | "top-tab" | undefined;
6877
7193
  order?: number | undefined;
@@ -7154,10 +7470,68 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7154
7470
  meta: object;
7155
7471
  }>;
7156
7472
  }>>;
7157
- ptz: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7158
- ctx: import("@camstack/types").TrpcContext;
7473
+ privacyMask: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7474
+ ctx: TrpcContext;
7159
7475
  meta: object;
7160
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7476
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7477
+ transformer: true;
7478
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7479
+ getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
7480
+ input: {
7481
+ [x: string]: unknown;
7482
+ deviceId: number;
7483
+ };
7484
+ output: unknown;
7485
+ meta: object;
7486
+ }>;
7487
+ getOptions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
7488
+ input: {
7489
+ [x: string]: unknown;
7490
+ deviceId: number;
7491
+ };
7492
+ output: {
7493
+ maxRegions: number;
7494
+ supportedShapes: ("grid" | "polygon" | "rect" | "line")[];
7495
+ polygonVertices?: {
7496
+ min: number;
7497
+ max: number;
7498
+ } | undefined;
7499
+ };
7500
+ meta: object;
7501
+ }>;
7502
+ setMask: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
7503
+ input: {
7504
+ [x: string]: unknown;
7505
+ deviceId: number;
7506
+ patch: {
7507
+ enabled?: boolean | undefined;
7508
+ regions?: {
7509
+ id: number;
7510
+ enabled: boolean;
7511
+ shape: {
7512
+ kind: "rect";
7513
+ x: number;
7514
+ y: number;
7515
+ width: number;
7516
+ height: number;
7517
+ } | {
7518
+ kind: "polygon";
7519
+ points: {
7520
+ x: number;
7521
+ y: number;
7522
+ }[];
7523
+ };
7524
+ }[] | undefined;
7525
+ };
7526
+ };
7527
+ output: void;
7528
+ meta: object;
7529
+ }>;
7530
+ }>>;
7531
+ ptz: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7532
+ ctx: TrpcContext;
7533
+ meta: object;
7534
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7161
7535
  transformer: true;
7162
7536
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7163
7537
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7285,9 +7659,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7285
7659
  }>;
7286
7660
  }>>;
7287
7661
  ptzAutotrack: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7288
- ctx: import("@camstack/types").TrpcContext;
7662
+ ctx: TrpcContext;
7289
7663
  meta: object;
7290
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7664
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7291
7665
  transformer: true;
7292
7666
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7293
7667
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7334,9 +7708,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7334
7708
  }>;
7335
7709
  }>>;
7336
7710
  reboot: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7337
- ctx: import("@camstack/types").TrpcContext;
7711
+ ctx: TrpcContext;
7338
7712
  meta: object;
7339
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7713
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7340
7714
  transformer: true;
7341
7715
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7342
7716
  reboot: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -7351,9 +7725,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7351
7725
  }>;
7352
7726
  }>>;
7353
7727
  recording: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7354
- ctx: import("@camstack/types").TrpcContext;
7728
+ ctx: TrpcContext;
7355
7729
  meta: object;
7356
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7730
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7357
7731
  transformer: true;
7358
7732
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7359
7733
  getSegments: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7395,9 +7769,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7395
7769
  }>;
7396
7770
  }>>;
7397
7771
  recordingEngine: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7398
- ctx: import("@camstack/types").TrpcContext;
7772
+ ctx: TrpcContext;
7399
7773
  meta: object;
7400
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7774
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7401
7775
  transformer: true;
7402
7776
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7403
7777
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7736,9 +8110,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7736
8110
  }>;
7737
8111
  }>>;
7738
8112
  settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7739
- ctx: import("@camstack/types").TrpcContext;
8113
+ ctx: TrpcContext;
7740
8114
  meta: object;
7741
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8115
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7742
8116
  transformer: true;
7743
8117
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7744
8118
  get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7871,9 +8245,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7871
8245
  }>;
7872
8246
  }>>;
7873
8247
  smtpProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7874
- ctx: import("@camstack/types").TrpcContext;
8248
+ ctx: TrpcContext;
7875
8249
  meta: object;
7876
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8250
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7877
8251
  transformer: true;
7878
8252
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7879
8253
  sendEmail: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -7918,9 +8292,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7918
8292
  }>;
7919
8293
  }>>;
7920
8294
  snapshot: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7921
- ctx: import("@camstack/types").TrpcContext;
8295
+ ctx: TrpcContext;
7922
8296
  meta: object;
7923
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8297
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7924
8298
  transformer: true;
7925
8299
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7926
8300
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7944,7 +8318,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7944
8318
  description?: string | undefined;
7945
8319
  style?: "card" | "accordion" | undefined;
7946
8320
  defaultCollapsed?: boolean | undefined;
7947
- columns?: 1 | 2 | 3 | 4 | undefined;
8321
+ columns?: 1 | 3 | 2 | 4 | undefined;
7948
8322
  tab?: string | undefined;
7949
8323
  location?: "settings" | "top-tab" | undefined;
7950
8324
  order?: number | undefined;
@@ -7971,7 +8345,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7971
8345
  description?: string | undefined;
7972
8346
  style?: "card" | "accordion" | undefined;
7973
8347
  defaultCollapsed?: boolean | undefined;
7974
- columns?: 1 | 2 | 3 | 4 | undefined;
8348
+ columns?: 1 | 3 | 2 | 4 | undefined;
7975
8349
  tab?: string | undefined;
7976
8350
  location?: "settings" | "top-tab" | undefined;
7977
8351
  order?: number | undefined;
@@ -8019,9 +8393,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8019
8393
  }>;
8020
8394
  }>>;
8021
8395
  ssoBridge: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8022
- ctx: import("@camstack/types").TrpcContext;
8396
+ ctx: TrpcContext;
8023
8397
  meta: object;
8024
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8398
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8025
8399
  transformer: true;
8026
8400
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
8027
8401
  signBridgeToken: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -8103,9 +8477,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8103
8477
  }>;
8104
8478
  }>>;
8105
8479
  storage: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8106
- ctx: import("@camstack/types").TrpcContext;
8480
+ ctx: TrpcContext;
8107
8481
  meta: object;
8108
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8482
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8109
8483
  transformer: true;
8110
8484
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
8111
8485
  resolve: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -8344,9 +8718,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8344
8718
  }>;
8345
8719
  }>>;
8346
8720
  storageProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8347
- ctx: import("@camstack/types").TrpcContext;
8721
+ ctx: TrpcContext;
8348
8722
  meta: object;
8349
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8723
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8350
8724
  transformer: true;
8351
8725
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
8352
8726
  getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -8596,9 +8970,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8596
8970
  }>;
8597
8971
  }>>;
8598
8972
  streamBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8599
- ctx: import("@camstack/types").TrpcContext;
8973
+ ctx: TrpcContext;
8600
8974
  meta: object;
8601
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8975
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8602
8976
  transformer: true;
8603
8977
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
8604
8978
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -8614,7 +8988,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8614
8988
  description?: string | undefined;
8615
8989
  style?: "card" | "accordion" | undefined;
8616
8990
  defaultCollapsed?: boolean | undefined;
8617
- columns?: 1 | 2 | 3 | 4 | undefined;
8991
+ columns?: 1 | 3 | 2 | 4 | undefined;
8618
8992
  tab?: string | undefined;
8619
8993
  location?: "settings" | "top-tab" | undefined;
8620
8994
  order?: number | undefined;
@@ -8641,7 +9015,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8641
9015
  description?: string | undefined;
8642
9016
  style?: "card" | "accordion" | undefined;
8643
9017
  defaultCollapsed?: boolean | undefined;
8644
- columns?: 1 | 2 | 3 | 4 | undefined;
9018
+ columns?: 1 | 3 | 2 | 4 | undefined;
8645
9019
  tab?: string | undefined;
8646
9020
  location?: "settings" | "top-tab" | undefined;
8647
9021
  order?: number | undefined;
@@ -9060,10 +9434,39 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9060
9434
  meta: object;
9061
9435
  }>;
9062
9436
  }>>;
9437
+ streamCatalog: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9438
+ ctx: TrpcContext;
9439
+ meta: object;
9440
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9441
+ transformer: true;
9442
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9443
+ getCatalog: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
9444
+ input: {
9445
+ [x: string]: unknown;
9446
+ deviceId: number;
9447
+ };
9448
+ output: readonly {
9449
+ camStreamId: string;
9450
+ kind: "pull-rtsp" | "pull-rtmp" | "pull-http" | "pull-rfc4571" | "push-annexb";
9451
+ url?: string | undefined;
9452
+ codec?: string | undefined;
9453
+ resolution?: {
9454
+ width: number;
9455
+ height: number;
9456
+ } | undefined;
9457
+ fps?: number | undefined;
9458
+ label?: string | undefined;
9459
+ deviceFeatures?: string[] | undefined;
9460
+ autoEligible?: boolean | undefined;
9461
+ metadata?: Record<string, unknown> | undefined;
9462
+ }[];
9463
+ meta: object;
9464
+ }>;
9465
+ }>>;
9063
9466
  streamParams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9064
- ctx: import("@camstack/types").TrpcContext;
9467
+ ctx: TrpcContext;
9065
9468
  meta: object;
9066
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9469
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9067
9470
  transformer: true;
9068
9471
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9069
9472
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -9167,9 +9570,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9167
9570
  }>;
9168
9571
  }>>;
9169
9572
  switch: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9170
- ctx: import("@camstack/types").TrpcContext;
9573
+ ctx: TrpcContext;
9171
9574
  meta: object;
9172
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9575
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9173
9576
  transformer: true;
9174
9577
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9175
9578
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -9191,9 +9594,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9191
9594
  }>;
9192
9595
  }>>;
9193
9596
  turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9194
- ctx: import("@camstack/types").TrpcContext;
9597
+ ctx: TrpcContext;
9195
9598
  meta: object;
9196
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9599
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9197
9600
  transformer: true;
9198
9601
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9199
9602
  getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -9210,9 +9613,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9210
9613
  }>;
9211
9614
  }>>;
9212
9615
  userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9213
- ctx: import("@camstack/types").TrpcContext;
9616
+ ctx: TrpcContext;
9214
9617
  meta: object;
9215
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9618
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9216
9619
  transformer: true;
9217
9620
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9218
9621
  listUsers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -9796,9 +10199,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9796
10199
  }>;
9797
10200
  }>>;
9798
10201
  userPasskeys: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9799
- ctx: import("@camstack/types").TrpcContext;
10202
+ ctx: TrpcContext;
9800
10203
  meta: object;
9801
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10204
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9802
10205
  transformer: true;
9803
10206
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9804
10207
  beginRegistration: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -9872,123 +10275,10 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9872
10275
  meta: object;
9873
10276
  }>;
9874
10277
  }>>;
9875
- webrtcSession: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9876
- ctx: import("@camstack/types").TrpcContext;
9877
- meta: object;
9878
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9879
- transformer: true;
9880
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9881
- listStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
9882
- input: {
9883
- [x: string]: unknown;
9884
- deviceId: number;
9885
- };
9886
- output: {
9887
- id: string;
9888
- label: string;
9889
- target: {
9890
- kind: "adaptive";
9891
- } | {
9892
- kind: "profile";
9893
- profile: "high" | "low" | "mid";
9894
- } | {
9895
- kind: "cam-stream";
9896
- camStreamId: string;
9897
- };
9898
- codec: string | null;
9899
- resolution: {
9900
- width: number;
9901
- height: number;
9902
- } | null;
9903
- status: "error" | "streaming" | "idle" | "connecting" | "stopped" | null;
9904
- inputFps: number | null;
9905
- decodeFps: number | null;
9906
- bitrateKbps: number | null;
9907
- }[];
9908
- meta: object;
9909
- }>;
9910
- createSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
9911
- input: {
9912
- [x: string]: unknown;
9913
- deviceId: number;
9914
- target: {
9915
- kind: "adaptive";
9916
- } | {
9917
- kind: "profile";
9918
- profile: "high" | "low" | "mid";
9919
- } | {
9920
- kind: "cam-stream";
9921
- camStreamId: string;
9922
- };
9923
- hints?: {
9924
- viewportWidth?: number | undefined;
9925
- viewportHeight?: number | undefined;
9926
- devicePixelRatio?: number | undefined;
9927
- downlinkMbps?: number | undefined;
9928
- prefersTier?: string | undefined;
9929
- } | undefined;
9930
- };
9931
- output: {
9932
- sessionId: string;
9933
- sdpOffer: string;
9934
- };
9935
- meta: object;
9936
- }>;
9937
- handleOffer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
9938
- input: {
9939
- [x: string]: unknown;
9940
- deviceId: number;
9941
- sdpOffer: string;
9942
- target?: {
9943
- kind: "adaptive";
9944
- } | {
9945
- kind: "profile";
9946
- profile: "high" | "low" | "mid";
9947
- } | {
9948
- kind: "cam-stream";
9949
- camStreamId: string;
9950
- } | undefined;
9951
- sessionId?: string | undefined;
9952
- };
9953
- output: {
9954
- sessionId: string;
9955
- sdpAnswer: string;
9956
- };
9957
- meta: object;
9958
- }>;
9959
- handleAnswer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
9960
- input: {
9961
- [x: string]: unknown;
9962
- deviceId: number;
9963
- sessionId: string;
9964
- sdpAnswer: string;
9965
- };
9966
- output: void;
9967
- meta: object;
9968
- }>;
9969
- closeSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
9970
- input: {
9971
- [x: string]: unknown;
9972
- deviceId: number;
9973
- sessionId: string;
9974
- };
9975
- output: void;
9976
- meta: object;
9977
- }>;
9978
- hasAdaptiveBitrate: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
9979
- input: {
9980
- [x: string]: unknown;
9981
- deviceId: number;
9982
- profile: "high" | "low" | "mid";
9983
- };
9984
- output: boolean;
9985
- meta: object;
9986
- }>;
9987
- }>>;
9988
10278
  zoneAnalytics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9989
- ctx: import("@camstack/types").TrpcContext;
10279
+ ctx: TrpcContext;
9990
10280
  meta: object;
9991
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10281
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9992
10282
  transformer: true;
9993
10283
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9994
10284
  getCurrentSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10066,9 +10356,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10066
10356
  }>;
10067
10357
  }>>;
10068
10358
  zoneRules: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10069
- ctx: import("@camstack/types").TrpcContext;
10359
+ ctx: TrpcContext;
10070
10360
  meta: object;
10071
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10361
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10072
10362
  transformer: true;
10073
10363
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10074
10364
  listRules: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10112,9 +10402,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10112
10402
  }>;
10113
10403
  }>>;
10114
10404
  zones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10115
- ctx: import("@camstack/types").TrpcContext;
10405
+ ctx: TrpcContext;
10116
10406
  meta: object;
10117
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10407
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10118
10408
  transformer: true;
10119
10409
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10120
10410
  listZones: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10182,9 +10472,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10182
10472
  }>>;
10183
10473
  }>> & import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10184
10474
  notifications: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10185
- ctx: import("@camstack/types").TrpcContext;
10475
+ ctx: TrpcContext;
10186
10476
  meta: object;
10187
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10477
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10188
10478
  transformer: true;
10189
10479
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10190
10480
  listOutputs: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10221,9 +10511,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10221
10511
  }>;
10222
10512
  }>>;
10223
10513
  addonSettingsRaw: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10224
- ctx: import("@camstack/types").TrpcContext;
10514
+ ctx: TrpcContext;
10225
10515
  meta: object;
10226
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10516
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10227
10517
  transformer: true;
10228
10518
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10229
10519
  getGlobal: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10276,9 +10566,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10276
10566
  }>;
10277
10567
  }>>;
10278
10568
  settingsBackend: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10279
- ctx: import("@camstack/types").TrpcContext;
10569
+ ctx: TrpcContext;
10280
10570
  meta: object;
10281
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10571
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10282
10572
  transformer: true;
10283
10573
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10284
10574
  get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10390,9 +10680,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10390
10680
  }>;
10391
10681
  }>>;
10392
10682
  eventBusProxy: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10393
- ctx: import("@camstack/types").TrpcContext;
10683
+ ctx: TrpcContext;
10394
10684
  meta: object;
10395
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10685
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10396
10686
  transformer: true;
10397
10687
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10398
10688
  emit: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -10413,9 +10703,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10413
10703
  }>;
10414
10704
  }>>;
10415
10705
  repl: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10416
- ctx: import("@camstack/types").TrpcContext;
10706
+ ctx: TrpcContext;
10417
10707
  meta: object;
10418
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10708
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10419
10709
  transformer: true;
10420
10710
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10421
10711
  execute: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -10462,9 +10752,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10462
10752
  }>;
10463
10753
  }>>;
10464
10754
  systemEvents: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10465
- ctx: import("@camstack/types").TrpcContext;
10755
+ ctx: TrpcContext;
10466
10756
  meta: object;
10467
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10757
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10468
10758
  transformer: true;
10469
10759
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10470
10760
  getRecent: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10510,9 +10800,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10510
10800
  }>;
10511
10801
  }>>;
10512
10802
  capabilities: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10513
- ctx: import("@camstack/types").TrpcContext;
10803
+ ctx: TrpcContext;
10514
10804
  meta: object;
10515
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10805
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10516
10806
  transformer: true;
10517
10807
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10518
10808
  listCapabilities: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10531,6 +10821,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10531
10821
  input: {
10532
10822
  capability: string;
10533
10823
  addonId: string;
10824
+ nodeId?: string | undefined;
10825
+ };
10826
+ output: void;
10827
+ meta: object;
10828
+ }>;
10829
+ clearSingletonNodeOverride: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
10830
+ input: {
10831
+ capability: string;
10832
+ nodeId: string;
10534
10833
  };
10535
10834
  output: void;
10536
10835
  meta: object;
@@ -10586,9 +10885,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10586
10885
  }>;
10587
10886
  }>>;
10588
10887
  logs: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10589
- ctx: import("@camstack/types").TrpcContext;
10888
+ ctx: TrpcContext;
10590
10889
  meta: object;
10591
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10890
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10592
10891
  transformer: true;
10593
10892
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10594
10893
  query: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10664,9 +10963,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10664
10963
  }>;
10665
10964
  }>>;
10666
10965
  live: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10667
- ctx: import("@camstack/types").TrpcContext;
10966
+ ctx: TrpcContext;
10668
10967
  meta: object;
10669
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10968
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10670
10969
  transformer: true;
10671
10970
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10672
10971
  recentSystemEvents: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10702,9 +11001,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10702
11001
  }>;
10703
11002
  }>>;
10704
11003
  streamProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10705
- ctx: import("@camstack/types").TrpcContext;
11004
+ ctx: TrpcContext;
10706
11005
  meta: object;
10707
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11006
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10708
11007
  transformer: true;
10709
11008
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10710
11009
  probe: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -10736,9 +11035,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10736
11035
  }>;
10737
11036
  }>>;
10738
11037
  hwaccel: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10739
- ctx: import("@camstack/types").TrpcContext;
11038
+ ctx: TrpcContext;
10740
11039
  meta: object;
10741
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11040
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10742
11041
  transformer: true;
10743
11042
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10744
11043
  resolve: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10775,9 +11074,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10775
11074
  }>;
10776
11075
  }>>;
10777
11076
  auth: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10778
- ctx: import("@camstack/types").TrpcContext;
11077
+ ctx: TrpcContext;
10779
11078
  meta: object;
10780
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11079
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10781
11080
  transformer: true;
10782
11081
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10783
11082
  login: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -10889,9 +11188,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10889
11188
  }>;
10890
11189
  }>>;
10891
11190
  networkQuality: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10892
- ctx: import("@camstack/types").TrpcContext;
11191
+ ctx: TrpcContext;
10893
11192
  meta: object;
10894
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11193
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10895
11194
  transformer: true;
10896
11195
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10897
11196
  getDeviceStats: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10952,9 +11251,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10952
11251
  }>;
10953
11252
  }>>;
10954
11253
  system: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10955
- ctx: import("@camstack/types").TrpcContext;
11254
+ ctx: TrpcContext;
10956
11255
  meta: object;
10957
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11256
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10958
11257
  transformer: true;
10959
11258
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10960
11259
  info: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -11034,9 +11333,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11034
11333
  }>;
11035
11334
  }>>;
11036
11335
  toast: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11037
- ctx: import("@camstack/types").TrpcContext;
11336
+ ctx: TrpcContext;
11038
11337
  meta: object;
11039
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11338
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11040
11339
  transformer: true;
11041
11340
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11042
11341
  onToast: import("@trpc/server/unstable-core-do-not-import").SubscriptionProcedure<{
@@ -11046,9 +11345,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11046
11345
  }>;
11047
11346
  }>>;
11048
11347
  integrations: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11049
- ctx: import("@camstack/types").TrpcContext;
11348
+ ctx: TrpcContext;
11050
11349
  meta: object;
11051
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11350
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11052
11351
  transformer: true;
11053
11352
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11054
11353
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -11204,9 +11503,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11204
11503
  }>;
11205
11504
  }>>;
11206
11505
  nodes: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11207
- ctx: import("@camstack/types").TrpcContext;
11506
+ ctx: TrpcContext;
11208
11507
  meta: object;
11209
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11508
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11210
11509
  transformer: true;
11211
11510
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11212
11511
  topology: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -11408,9 +11707,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11408
11707
  }>;
11409
11708
  }>>;
11410
11709
  addons: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11411
- ctx: import("@camstack/types").TrpcContext;
11710
+ ctx: TrpcContext;
11412
11711
  meta: object;
11413
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11712
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11414
11713
  transformer: true;
11415
11714
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11416
11715
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -11559,6 +11858,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11559
11858
  latestVersion: string;
11560
11859
  category: "addon" | "core";
11561
11860
  requiresRestart: boolean;
11861
+ isSystem: boolean;
11562
11862
  }[];
11563
11863
  meta: object;
11564
11864
  }>;
@@ -11603,7 +11903,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11603
11903
  nodeId?: string | undefined;
11604
11904
  } | undefined;
11605
11905
  output: {
11606
- kind: "system" | "manual" | "framework-update";
11906
+ kind: "system" | "manual" | "framework-update" | "framework-bulk-update";
11607
11907
  requestedAt: number;
11608
11908
  packageName?: string | undefined;
11609
11909
  fromVersion?: string | undefined;
@@ -11654,6 +11954,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11654
11954
  [x: string]: unknown;
11655
11955
  packageName: string;
11656
11956
  version?: string | undefined;
11957
+ deferRestart?: boolean | undefined;
11657
11958
  };
11658
11959
  output: {
11659
11960
  packageName: string;
@@ -11663,6 +11964,89 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11663
11964
  };
11664
11965
  meta: object;
11665
11966
  }>;
11967
+ startBulkUpdate: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
11968
+ input: {
11969
+ [x: string]: unknown;
11970
+ nodeId: string;
11971
+ items: readonly {
11972
+ name: string;
11973
+ version: string;
11974
+ isSystem: boolean;
11975
+ }[];
11976
+ };
11977
+ output: {
11978
+ id: string;
11979
+ };
11980
+ meta: object;
11981
+ }>;
11982
+ getBulkUpdateState: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
11983
+ input: {
11984
+ [x: string]: unknown;
11985
+ id: string;
11986
+ };
11987
+ output: {
11988
+ id: string;
11989
+ nodeId: string;
11990
+ startedAtMs: number;
11991
+ total: number;
11992
+ completed: number;
11993
+ failed: number;
11994
+ current: string | null;
11995
+ phase: "system" | "regular" | "restarting" | "finalizing";
11996
+ cancelled: boolean;
11997
+ items: readonly {
11998
+ name: string;
11999
+ isSystem: boolean;
12000
+ fromVersion: string;
12001
+ toVersion: string;
12002
+ status: "failed" | "queued" | "updating" | "done" | "done-pending-restart";
12003
+ error?: string | undefined;
12004
+ startedAtMs?: number | undefined;
12005
+ completedAtMs?: number | undefined;
12006
+ }[];
12007
+ completedAtMs?: number | undefined;
12008
+ } | null;
12009
+ meta: object;
12010
+ }>;
12011
+ cancelBulkUpdate: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
12012
+ input: {
12013
+ [x: string]: unknown;
12014
+ id: string;
12015
+ };
12016
+ output: {
12017
+ cancelled: boolean;
12018
+ };
12019
+ meta: object;
12020
+ }>;
12021
+ listActiveBulkUpdates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
12022
+ input: {
12023
+ [x: string]: unknown;
12024
+ nodeId?: string | undefined;
12025
+ };
12026
+ output: readonly {
12027
+ id: string;
12028
+ nodeId: string;
12029
+ startedAtMs: number;
12030
+ total: number;
12031
+ completed: number;
12032
+ failed: number;
12033
+ current: string | null;
12034
+ phase: "system" | "regular" | "restarting" | "finalizing";
12035
+ cancelled: boolean;
12036
+ items: readonly {
12037
+ name: string;
12038
+ isSystem: boolean;
12039
+ fromVersion: string;
12040
+ toVersion: string;
12041
+ status: "failed" | "queued" | "updating" | "done" | "done-pending-restart";
12042
+ error?: string | undefined;
12043
+ startedAtMs?: number | undefined;
12044
+ completedAtMs?: number | undefined;
12045
+ }[];
12046
+ completedAtMs?: number | undefined;
12047
+ }[];
12048
+ meta: object;
12049
+ }>;
11666
12050
  getVersions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
11667
12051
  input: {
11668
12052
  [x: string]: unknown;
@@ -11760,9 +12144,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11760
12144
  }>;
11761
12145
  }>>;
11762
12146
  pipelineExecutor: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11763
- ctx: import("@camstack/types").TrpcContext;
12147
+ ctx: TrpcContext;
11764
12148
  meta: object;
11765
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12149
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11766
12150
  transformer: true;
11767
12151
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11768
12152
  getAvailableEngines: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -12290,9 +12674,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12290
12674
  }>;
12291
12675
  }>>;
12292
12676
  pipelineRunner: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12293
- ctx: import("@camstack/types").TrpcContext;
12677
+ ctx: TrpcContext;
12294
12678
  meta: object;
12295
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12679
+ errorShape: import("@camstack/types").AugmentedErrorShape;
12296
12680
  transformer: true;
12297
12681
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12298
12682
  attachCamera: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -12335,6 +12719,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12335
12719
  kind?: "polygon" | "tripwire" | undefined;
12336
12720
  color?: string | undefined;
12337
12721
  }[] | undefined;
12722
+ onboardMotionDrivesAnalyzer?: boolean | undefined;
12338
12723
  };
12339
12724
  output: {
12340
12725
  success: true;
@@ -12446,9 +12831,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12446
12831
  }>;
12447
12832
  }>>;
12448
12833
  pipelineOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12449
- ctx: import("@camstack/types").TrpcContext;
12834
+ ctx: TrpcContext;
12450
12835
  meta: object;
12451
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12836
+ errorShape: import("@camstack/types").AugmentedErrorShape;
12452
12837
  transformer: true;
12453
12838
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12454
12839
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -12464,7 +12849,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12464
12849
  description?: string | undefined;
12465
12850
  style?: "card" | "accordion" | undefined;
12466
12851
  defaultCollapsed?: boolean | undefined;
12467
- columns?: 1 | 2 | 3 | 4 | undefined;
12852
+ columns?: 1 | 3 | 2 | 4 | undefined;
12468
12853
  tab?: string | undefined;
12469
12854
  location?: "settings" | "top-tab" | undefined;
12470
12855
  order?: number | undefined;
@@ -12491,7 +12876,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12491
12876
  description?: string | undefined;
12492
12877
  style?: "card" | "accordion" | undefined;
12493
12878
  defaultCollapsed?: boolean | undefined;
12494
- columns?: 1 | 2 | 3 | 4 | undefined;
12879
+ columns?: 1 | 3 | 2 | 4 | undefined;
12495
12880
  tab?: string | undefined;
12496
12881
  location?: "settings" | "top-tab" | undefined;
12497
12882
  order?: number | undefined;
@@ -13068,16 +13453,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13068
13453
  }>;
13069
13454
  }>>;
13070
13455
  audioAnalyzer: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13071
- ctx: import("@camstack/types").TrpcContext;
13456
+ ctx: TrpcContext;
13072
13457
  meta: object;
13073
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13458
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13074
13459
  transformer: true;
13075
13460
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13076
13461
  analyseChunk: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
13077
13462
  input: {
13078
13463
  [x: string]: unknown;
13079
13464
  chunk: {
13080
- data: Float32Array<ArrayBuffer>;
13465
+ data: Uint8Array<ArrayBuffer>;
13081
13466
  sampleRate: number;
13082
13467
  channels: number;
13083
13468
  timestamp: number;
@@ -13108,7 +13493,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13108
13493
  classify: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
13109
13494
  input: {
13110
13495
  [x: string]: unknown;
13111
- data: Float32Array<ArrayBuffer>;
13496
+ data: Uint8Array<ArrayBuffer>;
13112
13497
  sampleRate: number;
13113
13498
  channels: number;
13114
13499
  timestamp: number;
@@ -13154,9 +13539,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13154
13539
  }>;
13155
13540
  }>>;
13156
13541
  audioCodec: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13157
- ctx: import("@camstack/types").TrpcContext;
13542
+ ctx: TrpcContext;
13158
13543
  meta: object;
13159
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13544
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13160
13545
  transformer: true;
13161
13546
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13162
13547
  listSupportedCodecs: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13317,9 +13702,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13317
13702
  }>;
13318
13703
  }>>;
13319
13704
  decoder: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13320
- ctx: import("@camstack/types").TrpcContext;
13705
+ ctx: TrpcContext;
13321
13706
  meta: object;
13322
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13707
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13323
13708
  transformer: true;
13324
13709
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13325
13710
  supportsCodec: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13526,9 +13911,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13526
13911
  }>;
13527
13912
  }>>;
13528
13913
  platformProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13529
- ctx: import("@camstack/types").TrpcContext;
13914
+ ctx: TrpcContext;
13530
13915
  meta: object;
13531
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13916
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13532
13917
  transformer: true;
13533
13918
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13534
13919
  getCapabilities: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13663,9 +14048,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13663
14048
  }>;
13664
14049
  }>>;
13665
14050
  localNetwork: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13666
- ctx: import("@camstack/types").TrpcContext;
14051
+ ctx: TrpcContext;
13667
14052
  meta: object;
13668
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14053
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13669
14054
  transformer: true;
13670
14055
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13671
14056
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13760,9 +14145,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13760
14145
  }>;
13761
14146
  }>>;
13762
14147
  snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13763
- ctx: import("@camstack/types").TrpcContext;
14148
+ ctx: TrpcContext;
13764
14149
  meta: object;
13765
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14150
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13766
14151
  transformer: true;
13767
14152
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13768
14153
  supportsDevice: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13786,38 +14171,163 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13786
14171
  meta: object;
13787
14172
  }>;
13788
14173
  }>>;
13789
- accessories: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13790
- ctx: import("@camstack/types").TrpcContext;
14174
+ webrtcSession: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14175
+ ctx: TrpcContext;
13791
14176
  meta: object;
13792
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14177
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13793
14178
  transformer: true;
13794
14179
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13795
- getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
14180
+ listStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
13796
14181
  input: {
13797
14182
  [x: string]: unknown;
13798
14183
  deviceId: number;
13799
14184
  };
13800
- output: unknown;
13801
- meta: object;
13802
- }>;
13803
- }>>;
13804
- addonPages: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13805
- ctx: import("@camstack/types").TrpcContext;
13806
- meta: object;
13807
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13808
- transformer: true;
13809
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13810
- listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
13811
- input: {
13812
- nodeId?: string | undefined;
13813
- } | undefined;
13814
- output: readonly {
13815
- addonId: string;
13816
- page: {
13817
- id: string;
13818
- label: string;
13819
- icon: string;
13820
- path: string;
14185
+ output: {
14186
+ id: string;
14187
+ label: string;
14188
+ target: {
14189
+ kind: "adaptive";
14190
+ } | {
14191
+ kind: "profile";
14192
+ profile: "high" | "low" | "mid";
14193
+ } | {
14194
+ kind: "cam-stream";
14195
+ camStreamId: string;
14196
+ };
14197
+ codec: string | null;
14198
+ resolution: {
14199
+ width: number;
14200
+ height: number;
14201
+ } | null;
14202
+ status: "error" | "streaming" | "idle" | "connecting" | "stopped" | null;
14203
+ inputFps: number | null;
14204
+ decodeFps: number | null;
14205
+ bitrateKbps: number | null;
14206
+ }[];
14207
+ meta: object;
14208
+ }>;
14209
+ createSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
14210
+ input: {
14211
+ [x: string]: unknown;
14212
+ deviceId: number;
14213
+ target: {
14214
+ kind: "adaptive";
14215
+ } | {
14216
+ kind: "profile";
14217
+ profile: "high" | "low" | "mid";
14218
+ } | {
14219
+ kind: "cam-stream";
14220
+ camStreamId: string;
14221
+ };
14222
+ hints?: {
14223
+ viewportWidth?: number | undefined;
14224
+ viewportHeight?: number | undefined;
14225
+ devicePixelRatio?: number | undefined;
14226
+ downlinkMbps?: number | undefined;
14227
+ prefersTier?: string | undefined;
14228
+ } | undefined;
14229
+ relayOnly?: boolean | undefined;
14230
+ };
14231
+ output: {
14232
+ sessionId: string;
14233
+ sdpOffer: string;
14234
+ };
14235
+ meta: object;
14236
+ }>;
14237
+ handleOffer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
14238
+ input: {
14239
+ [x: string]: unknown;
14240
+ deviceId: number;
14241
+ sdpOffer: string;
14242
+ target?: {
14243
+ kind: "adaptive";
14244
+ } | {
14245
+ kind: "profile";
14246
+ profile: "high" | "low" | "mid";
14247
+ } | {
14248
+ kind: "cam-stream";
14249
+ camStreamId: string;
14250
+ } | undefined;
14251
+ sessionId?: string | undefined;
14252
+ relayOnly?: boolean | undefined;
14253
+ };
14254
+ output: {
14255
+ sessionId: string;
14256
+ sdpAnswer: string;
14257
+ };
14258
+ meta: object;
14259
+ }>;
14260
+ handleAnswer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
14261
+ input: {
14262
+ [x: string]: unknown;
14263
+ deviceId: number;
14264
+ sessionId: string;
14265
+ sdpAnswer: string;
14266
+ };
14267
+ output: void;
14268
+ meta: object;
14269
+ }>;
14270
+ addIceCandidate: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
14271
+ input: any;
14272
+ output: any;
14273
+ meta: object;
14274
+ }>;
14275
+ getIceCandidates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
14276
+ input: any;
14277
+ output: any;
14278
+ meta: object;
14279
+ }>;
14280
+ closeSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
14281
+ input: {
14282
+ [x: string]: unknown;
14283
+ deviceId: number;
14284
+ sessionId: string;
14285
+ };
14286
+ output: void;
14287
+ meta: object;
14288
+ }>;
14289
+ hasAdaptiveBitrate: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
14290
+ input: {
14291
+ [x: string]: unknown;
14292
+ deviceId: number;
14293
+ profile: "high" | "low" | "mid";
14294
+ };
14295
+ output: boolean;
14296
+ meta: object;
14297
+ }>;
14298
+ }>>;
14299
+ accessories: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14300
+ ctx: TrpcContext;
14301
+ meta: object;
14302
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14303
+ transformer: true;
14304
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14305
+ getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
14306
+ input: {
14307
+ [x: string]: unknown;
14308
+ deviceId: number;
14309
+ };
14310
+ output: unknown;
14311
+ meta: object;
14312
+ }>;
14313
+ }>>;
14314
+ addonPages: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14315
+ ctx: TrpcContext;
14316
+ meta: object;
14317
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14318
+ transformer: true;
14319
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14320
+ listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
14321
+ input: {
14322
+ nodeId?: string | undefined;
14323
+ } | undefined;
14324
+ output: readonly {
14325
+ addonId: string;
14326
+ page: {
14327
+ id: string;
14328
+ label: string;
14329
+ icon: string;
14330
+ path: string;
13821
14331
  remoteName: string;
13822
14332
  bundle: string;
13823
14333
  };
@@ -13827,9 +14337,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13827
14337
  }>;
13828
14338
  }>>;
13829
14339
  addonPagesSource: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13830
- ctx: import("@camstack/types").TrpcContext;
14340
+ ctx: TrpcContext;
13831
14341
  meta: object;
13832
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14342
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13833
14343
  transformer: true;
13834
14344
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13835
14345
  listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13849,9 +14359,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13849
14359
  }>;
13850
14360
  }>>;
13851
14361
  addonSettings: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13852
- ctx: import("@camstack/types").TrpcContext;
14362
+ ctx: TrpcContext;
13853
14363
  meta: object;
13854
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14364
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13855
14365
  transformer: true;
13856
14366
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13857
14367
  getGlobalSettings: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13860,6 +14370,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13860
14370
  addonId: string;
13861
14371
  nodeId?: string | undefined;
13862
14372
  overlay?: Record<string, unknown> | undefined;
14373
+ cap?: string | undefined;
13863
14374
  };
13864
14375
  output: {
13865
14376
  sections: {
@@ -13869,7 +14380,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13869
14380
  description?: string | undefined;
13870
14381
  style?: "card" | "accordion" | undefined;
13871
14382
  defaultCollapsed?: boolean | undefined;
13872
- columns?: 1 | 2 | 3 | 4 | undefined;
14383
+ columns?: 1 | 3 | 2 | 4 | undefined;
13873
14384
  tab?: string | undefined;
13874
14385
  location?: "settings" | "top-tab" | undefined;
13875
14386
  order?: number | undefined;
@@ -13910,7 +14421,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13910
14421
  description?: string | undefined;
13911
14422
  style?: "card" | "accordion" | undefined;
13912
14423
  defaultCollapsed?: boolean | undefined;
13913
- columns?: 1 | 2 | 3 | 4 | undefined;
14424
+ columns?: 1 | 3 | 2 | 4 | undefined;
13914
14425
  tab?: string | undefined;
13915
14426
  location?: "settings" | "top-tab" | undefined;
13916
14427
  order?: number | undefined;
@@ -13939,9 +14450,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13939
14450
  }>;
13940
14451
  }>>;
13941
14452
  addonWidgets: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13942
- ctx: import("@camstack/types").TrpcContext;
14453
+ ctx: TrpcContext;
13943
14454
  meta: object;
13944
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14455
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13945
14456
  transformer: true;
13946
14457
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13947
14458
  listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13979,9 +14490,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13979
14490
  }>;
13980
14491
  }>>;
13981
14492
  addonWidgetsSource: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13982
- ctx: import("@camstack/types").TrpcContext;
14493
+ ctx: TrpcContext;
13983
14494
  meta: object;
13984
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14495
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13985
14496
  transformer: true;
13986
14497
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13987
14498
  listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14018,9 +14529,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14018
14529
  }>;
14019
14530
  }>>;
14020
14531
  adminUi: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14021
- ctx: import("@camstack/types").TrpcContext;
14532
+ ctx: TrpcContext;
14022
14533
  meta: object;
14023
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14534
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14024
14535
  transformer: true;
14025
14536
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14026
14537
  getStaticDir: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14043,9 +14554,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14043
14554
  }>;
14044
14555
  }>>;
14045
14556
  advancedNotifier: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14046
- ctx: import("@camstack/types").TrpcContext;
14557
+ ctx: TrpcContext;
14047
14558
  meta: object;
14048
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14559
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14049
14560
  transformer: true;
14050
14561
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14051
14562
  getRules: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14174,9 +14685,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14174
14685
  }>;
14175
14686
  }>>;
14176
14687
  alerts: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14177
- ctx: import("@camstack/types").TrpcContext;
14688
+ ctx: TrpcContext;
14178
14689
  meta: object;
14179
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14690
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14180
14691
  transformer: true;
14181
14692
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14182
14693
  emit: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -14187,7 +14698,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14187
14698
  severity: "success" | "error" | "info" | "warning";
14188
14699
  title: string;
14189
14700
  message: string;
14190
- status: "failed" | "active" | "in-progress" | "completed" | "dismissed";
14701
+ status: "failed" | "completed" | "active" | "in-progress" | "dismissed";
14191
14702
  read: boolean;
14192
14703
  createdAt: number;
14193
14704
  updatedAt: number;
@@ -14211,7 +14722,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14211
14722
  severity?: "success" | "error" | "info" | "warning" | undefined;
14212
14723
  title?: string | undefined;
14213
14724
  message?: string | undefined;
14214
- status?: "failed" | "active" | "in-progress" | "completed" | "dismissed" | undefined;
14725
+ status?: "failed" | "completed" | "active" | "in-progress" | "dismissed" | undefined;
14215
14726
  progress?: number | undefined;
14216
14727
  read?: boolean | undefined;
14217
14728
  createdAt?: number | undefined;
@@ -14237,7 +14748,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14237
14748
  severity: "success" | "error" | "info" | "warning";
14238
14749
  title: string;
14239
14750
  message: string;
14240
- status: "failed" | "active" | "in-progress" | "completed" | "dismissed";
14751
+ status: "failed" | "completed" | "active" | "in-progress" | "dismissed";
14241
14752
  read: boolean;
14242
14753
  createdAt: number;
14243
14754
  updatedAt: number;
@@ -14282,9 +14793,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14282
14793
  }>;
14283
14794
  }>>;
14284
14795
  audioAnalysis: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14285
- ctx: import("@camstack/types").TrpcContext;
14796
+ ctx: TrpcContext;
14286
14797
  meta: object;
14287
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14798
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14288
14799
  transformer: true;
14289
14800
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14290
14801
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14300,7 +14811,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14300
14811
  description?: string | undefined;
14301
14812
  style?: "card" | "accordion" | undefined;
14302
14813
  defaultCollapsed?: boolean | undefined;
14303
- columns?: 1 | 2 | 3 | 4 | undefined;
14814
+ columns?: 1 | 3 | 2 | 4 | undefined;
14304
14815
  tab?: string | undefined;
14305
14816
  location?: "settings" | "top-tab" | undefined;
14306
14817
  order?: number | undefined;
@@ -14327,7 +14838,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14327
14838
  description?: string | undefined;
14328
14839
  style?: "card" | "accordion" | undefined;
14329
14840
  defaultCollapsed?: boolean | undefined;
14330
- columns?: 1 | 2 | 3 | 4 | undefined;
14841
+ columns?: 1 | 3 | 2 | 4 | undefined;
14331
14842
  tab?: string | undefined;
14332
14843
  location?: "settings" | "top-tab" | undefined;
14333
14844
  order?: number | undefined;
@@ -14362,9 +14873,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14362
14873
  }>;
14363
14874
  }>>;
14364
14875
  audioMetrics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14365
- ctx: import("@camstack/types").TrpcContext;
14876
+ ctx: TrpcContext;
14366
14877
  meta: object;
14367
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14878
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14368
14879
  transformer: true;
14369
14880
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14370
14881
  getCurrentSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14418,9 +14929,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14418
14929
  }>;
14419
14930
  }>>;
14420
14931
  backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14421
- ctx: import("@camstack/types").TrpcContext;
14932
+ ctx: TrpcContext;
14422
14933
  meta: object;
14423
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14934
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14424
14935
  transformer: true;
14425
14936
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14426
14937
  listDestinations: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14572,9 +15083,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14572
15083
  }>;
14573
15084
  }>>;
14574
15085
  battery: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14575
- ctx: import("@camstack/types").TrpcContext;
15086
+ ctx: TrpcContext;
14576
15087
  meta: object;
14577
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15088
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14578
15089
  transformer: true;
14579
15090
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14580
15091
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14587,9 +15098,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14587
15098
  }>;
14588
15099
  }>>;
14589
15100
  brightness: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14590
- ctx: import("@camstack/types").TrpcContext;
15101
+ ctx: TrpcContext;
14591
15102
  meta: object;
14592
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15103
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14593
15104
  transformer: true;
14594
15105
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14595
15106
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14611,9 +15122,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14611
15122
  }>;
14612
15123
  }>>;
14613
15124
  cameraCredentials: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14614
- ctx: import("@camstack/types").TrpcContext;
15125
+ ctx: TrpcContext;
14615
15126
  meta: object;
14616
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15127
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14617
15128
  transformer: true;
14618
15129
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14619
15130
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14642,10 +15153,82 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14642
15153
  meta: object;
14643
15154
  }>;
14644
15155
  }>>;
15156
+ cameraPipelineConfig: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15157
+ ctx: TrpcContext;
15158
+ meta: object;
15159
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15160
+ transformer: true;
15161
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15162
+ getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
15163
+ input: {
15164
+ [x: string]: unknown;
15165
+ deviceId: number;
15166
+ };
15167
+ output: {
15168
+ sections: {
15169
+ id: string;
15170
+ title: string;
15171
+ fields: any[];
15172
+ description?: string | undefined;
15173
+ style?: "card" | "accordion" | undefined;
15174
+ defaultCollapsed?: boolean | undefined;
15175
+ columns?: 1 | 3 | 2 | 4 | undefined;
15176
+ tab?: string | undefined;
15177
+ location?: "settings" | "top-tab" | undefined;
15178
+ order?: number | undefined;
15179
+ }[];
15180
+ tabs?: {
15181
+ id: string;
15182
+ label: string;
15183
+ icon: string;
15184
+ order?: number | undefined;
15185
+ }[] | undefined;
15186
+ } | null;
15187
+ meta: object;
15188
+ }>;
15189
+ getDeviceLiveContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
15190
+ input: {
15191
+ [x: string]: unknown;
15192
+ deviceId: number;
15193
+ };
15194
+ output: {
15195
+ sections: {
15196
+ id: string;
15197
+ title: string;
15198
+ fields: any[];
15199
+ description?: string | undefined;
15200
+ style?: "card" | "accordion" | undefined;
15201
+ defaultCollapsed?: boolean | undefined;
15202
+ columns?: 1 | 3 | 2 | 4 | undefined;
15203
+ tab?: string | undefined;
15204
+ location?: "settings" | "top-tab" | undefined;
15205
+ order?: number | undefined;
15206
+ }[];
15207
+ tabs?: {
15208
+ id: string;
15209
+ label: string;
15210
+ icon: string;
15211
+ order?: number | undefined;
15212
+ }[] | undefined;
15213
+ } | null;
15214
+ meta: object;
15215
+ }>;
15216
+ applyDeviceSettingsPatch: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
15217
+ input: {
15218
+ [x: string]: unknown;
15219
+ deviceId: number;
15220
+ patch: Record<string, unknown>;
15221
+ };
15222
+ output: {
15223
+ success: true;
15224
+ };
15225
+ meta: object;
15226
+ }>;
15227
+ }>>;
14645
15228
  cameraStreams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14646
- ctx: import("@camstack/types").TrpcContext;
15229
+ ctx: TrpcContext;
14647
15230
  meta: object;
14648
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15231
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14649
15232
  transformer: true;
14650
15233
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14651
15234
  getCameraStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14708,9 +15291,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14708
15291
  }>;
14709
15292
  }>>;
14710
15293
  detectionPipeline: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14711
- ctx: import("@camstack/types").TrpcContext;
15294
+ ctx: TrpcContext;
14712
15295
  meta: object;
14713
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15296
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14714
15297
  transformer: true;
14715
15298
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14716
15299
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14726,7 +15309,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14726
15309
  description?: string | undefined;
14727
15310
  style?: "card" | "accordion" | undefined;
14728
15311
  defaultCollapsed?: boolean | undefined;
14729
- columns?: 1 | 2 | 3 | 4 | undefined;
15312
+ columns?: 1 | 3 | 2 | 4 | undefined;
14730
15313
  tab?: string | undefined;
14731
15314
  location?: "settings" | "top-tab" | undefined;
14732
15315
  order?: number | undefined;
@@ -14753,7 +15336,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14753
15336
  description?: string | undefined;
14754
15337
  style?: "card" | "accordion" | undefined;
14755
15338
  defaultCollapsed?: boolean | undefined;
14756
- columns?: 1 | 2 | 3 | 4 | undefined;
15339
+ columns?: 1 | 3 | 2 | 4 | undefined;
14757
15340
  tab?: string | undefined;
14758
15341
  location?: "settings" | "top-tab" | undefined;
14759
15342
  order?: number | undefined;
@@ -14780,9 +15363,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14780
15363
  }>;
14781
15364
  }>>;
14782
15365
  deviceDiscovery: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14783
- ctx: import("@camstack/types").TrpcContext;
15366
+ ctx: TrpcContext;
14784
15367
  meta: object;
14785
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15368
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14786
15369
  transformer: true;
14787
15370
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14788
15371
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14865,9 +15448,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14865
15448
  }>;
14866
15449
  }>>;
14867
15450
  deviceExport: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14868
- ctx: import("@camstack/types").TrpcContext;
15451
+ ctx: TrpcContext;
14869
15452
  meta: object;
14870
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15453
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14871
15454
  transformer: true;
14872
15455
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14873
15456
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14891,7 +15474,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14891
15474
  description?: string | undefined;
14892
15475
  style?: "card" | "accordion" | undefined;
14893
15476
  defaultCollapsed?: boolean | undefined;
14894
- columns?: 1 | 2 | 3 | 4 | undefined;
15477
+ columns?: 1 | 3 | 2 | 4 | undefined;
14895
15478
  tab?: string | undefined;
14896
15479
  location?: "settings" | "top-tab" | undefined;
14897
15480
  order?: number | undefined;
@@ -14918,7 +15501,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14918
15501
  description?: string | undefined;
14919
15502
  style?: "card" | "accordion" | undefined;
14920
15503
  defaultCollapsed?: boolean | undefined;
14921
- columns?: 1 | 2 | 3 | 4 | undefined;
15504
+ columns?: 1 | 3 | 2 | 4 | undefined;
14922
15505
  tab?: string | undefined;
14923
15506
  location?: "settings" | "top-tab" | undefined;
14924
15507
  order?: number | undefined;
@@ -14982,9 +15565,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14982
15565
  }>;
14983
15566
  }>>;
14984
15567
  deviceManager: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14985
- ctx: import("@camstack/types").TrpcContext;
15568
+ ctx: TrpcContext;
14986
15569
  meta: object;
14987
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15570
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14988
15571
  transformer: true;
14989
15572
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14990
15573
  allocateDeviceId: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -15405,7 +15988,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15405
15988
  description?: string | undefined;
15406
15989
  style?: "card" | "accordion" | undefined;
15407
15990
  defaultCollapsed?: boolean | undefined;
15408
- columns?: 1 | 2 | 3 | 4 | undefined;
15991
+ columns?: 1 | 3 | 2 | 4 | undefined;
15409
15992
  tab?: string | undefined;
15410
15993
  location?: "settings" | "top-tab" | undefined;
15411
15994
  order?: number | undefined;
@@ -15432,7 +16015,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15432
16015
  description?: string | undefined;
15433
16016
  style?: "card" | "accordion" | undefined;
15434
16017
  defaultCollapsed?: boolean | undefined;
15435
- columns?: 1 | 2 | 3 | 4 | undefined;
16018
+ columns?: 1 | 3 | 2 | 4 | undefined;
15436
16019
  tab?: string | undefined;
15437
16020
  location?: "settings" | "top-tab" | undefined;
15438
16021
  order?: number | undefined;
@@ -15460,7 +16043,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15460
16043
  description?: string | undefined;
15461
16044
  style?: "card" | "accordion" | undefined;
15462
16045
  defaultCollapsed?: boolean | undefined;
15463
- columns?: 1 | 2 | 3 | 4 | undefined;
16046
+ columns?: 1 | 3 | 2 | 4 | undefined;
15464
16047
  tab?: string | undefined;
15465
16048
  location?: "settings" | "top-tab" | undefined;
15466
16049
  order?: number | undefined;
@@ -15480,7 +16063,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15480
16063
  description?: string | undefined;
15481
16064
  style?: "card" | "accordion" | undefined;
15482
16065
  defaultCollapsed?: boolean | undefined;
15483
- columns?: 1 | 2 | 3 | 4 | undefined;
16066
+ columns?: 1 | 3 | 2 | 4 | undefined;
15484
16067
  tab?: string | undefined;
15485
16068
  location?: "settings" | "top-tab" | undefined;
15486
16069
  order?: number | undefined;
@@ -15637,9 +16220,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15637
16220
  }>;
15638
16221
  }>>;
15639
16222
  deviceOps: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15640
- ctx: import("@camstack/types").TrpcContext;
16223
+ ctx: TrpcContext;
15641
16224
  meta: object;
15642
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16225
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15643
16226
  transformer: true;
15644
16227
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15645
16228
  getStreamSources: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15702,9 +16285,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15702
16285
  }>;
15703
16286
  }>>;
15704
16287
  deviceProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15705
- ctx: import("@camstack/types").TrpcContext;
16288
+ ctx: TrpcContext;
15706
16289
  meta: object;
15707
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16290
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15708
16291
  transformer: true;
15709
16292
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15710
16293
  start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -15836,9 +16419,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15836
16419
  }>;
15837
16420
  }>>;
15838
16421
  deviceState: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15839
- ctx: import("@camstack/types").TrpcContext;
16422
+ ctx: TrpcContext;
15840
16423
  meta: object;
15841
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16424
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15842
16425
  transformer: true;
15843
16426
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15844
16427
  getSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15877,9 +16460,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15877
16460
  }>;
15878
16461
  }>>;
15879
16462
  deviceStatus: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15880
- ctx: import("@camstack/types").TrpcContext;
16463
+ ctx: TrpcContext;
15881
16464
  meta: object;
15882
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16465
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15883
16466
  transformer: true;
15884
16467
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15885
16468
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15892,9 +16475,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15892
16475
  }>;
15893
16476
  }>>;
15894
16477
  doorbell: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15895
- ctx: import("@camstack/types").TrpcContext;
16478
+ ctx: TrpcContext;
15896
16479
  meta: object;
15897
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16480
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15898
16481
  transformer: true;
15899
16482
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15900
16483
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15907,9 +16490,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15907
16490
  }>;
15908
16491
  }>>;
15909
16492
  embeddingEncoder: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15910
- ctx: import("@camstack/types").TrpcContext;
16493
+ ctx: TrpcContext;
15911
16494
  meta: object;
15912
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16495
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15913
16496
  transformer: true;
15914
16497
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15915
16498
  encode: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15950,9 +16533,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15950
16533
  }>;
15951
16534
  }>>;
15952
16535
  events: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15953
- ctx: import("@camstack/types").TrpcContext;
16536
+ ctx: TrpcContext;
15954
16537
  meta: object;
15955
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16538
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15956
16539
  transformer: true;
15957
16540
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15958
16541
  getEvents: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15997,9 +16580,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15997
16580
  }>;
15998
16581
  }>>;
15999
16582
  featureProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16000
- ctx: import("@camstack/types").TrpcContext;
16583
+ ctx: TrpcContext;
16001
16584
  meta: object;
16002
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16585
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16003
16586
  transformer: true;
16004
16587
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16005
16588
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16012,9 +16595,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16012
16595
  }>;
16013
16596
  }>>;
16014
16597
  intercom: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16015
- ctx: import("@camstack/types").TrpcContext;
16598
+ ctx: TrpcContext;
16016
16599
  meta: object;
16017
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16600
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16018
16601
  transformer: true;
16019
16602
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16020
16603
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16087,9 +16670,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16087
16670
  }>;
16088
16671
  }>>;
16089
16672
  meshNetwork: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16090
- ctx: import("@camstack/types").TrpcContext;
16673
+ ctx: TrpcContext;
16091
16674
  meta: object;
16092
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16675
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16093
16676
  transformer: true;
16094
16677
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16095
16678
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16185,9 +16768,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16185
16768
  }>;
16186
16769
  }>>;
16187
16770
  metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16188
- ctx: import("@camstack/types").TrpcContext;
16771
+ ctx: TrpcContext;
16189
16772
  meta: object;
16190
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16773
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16191
16774
  transformer: true;
16192
16775
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16193
16776
  collectSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16500,9 +17083,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16500
17083
  }>;
16501
17084
  }>>;
16502
17085
  motion: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16503
- ctx: import("@camstack/types").TrpcContext;
17086
+ ctx: TrpcContext;
16504
17087
  meta: object;
16505
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17088
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16506
17089
  transformer: true;
16507
17090
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16508
17091
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16523,9 +17106,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16523
17106
  }>;
16524
17107
  }>>;
16525
17108
  motionDetection: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16526
- ctx: import("@camstack/types").TrpcContext;
17109
+ ctx: TrpcContext;
16527
17110
  meta: object;
16528
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17111
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16529
17112
  transformer: true;
16530
17113
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16531
17114
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16541,7 +17124,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16541
17124
  description?: string | undefined;
16542
17125
  style?: "card" | "accordion" | undefined;
16543
17126
  defaultCollapsed?: boolean | undefined;
16544
- columns?: 1 | 2 | 3 | 4 | undefined;
17127
+ columns?: 1 | 3 | 2 | 4 | undefined;
16545
17128
  tab?: string | undefined;
16546
17129
  location?: "settings" | "top-tab" | undefined;
16547
17130
  order?: number | undefined;
@@ -16568,7 +17151,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16568
17151
  description?: string | undefined;
16569
17152
  style?: "card" | "accordion" | undefined;
16570
17153
  defaultCollapsed?: boolean | undefined;
16571
- columns?: 1 | 2 | 3 | 4 | undefined;
17154
+ columns?: 1 | 3 | 2 | 4 | undefined;
16572
17155
  tab?: string | undefined;
16573
17156
  location?: "settings" | "top-tab" | undefined;
16574
17157
  order?: number | undefined;
@@ -16651,9 +17234,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16651
17234
  }>;
16652
17235
  }>>;
16653
17236
  motionTrigger: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16654
- ctx: import("@camstack/types").TrpcContext;
17237
+ ctx: TrpcContext;
16655
17238
  meta: object;
16656
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17239
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16657
17240
  transformer: true;
16658
17241
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16659
17242
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16675,9 +17258,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16675
17258
  }>;
16676
17259
  }>>;
16677
17260
  motionZones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16678
- ctx: import("@camstack/types").TrpcContext;
17261
+ ctx: TrpcContext;
16679
17262
  meta: object;
16680
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17263
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16681
17264
  transformer: true;
16682
17265
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16683
17266
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16694,8 +17277,12 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16694
17277
  deviceId: number;
16695
17278
  };
16696
17279
  output: {
16697
- gridWidth: number;
16698
- gridHeight: number;
17280
+ maxRegions: number;
17281
+ supportedShapes: ("grid" | "polygon" | "rect" | "line")[];
17282
+ grid: {
17283
+ width: number;
17284
+ height: number;
17285
+ };
16699
17286
  sensitivity: {
16700
17287
  min: number;
16701
17288
  max: number;
@@ -16711,7 +17298,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16711
17298
  patch: {
16712
17299
  enabled?: boolean | undefined;
16713
17300
  sensitivity?: number | undefined;
16714
- cells?: boolean[] | undefined;
17301
+ regions?: {
17302
+ id: number;
17303
+ enabled: boolean;
17304
+ shape: {
17305
+ kind: "grid";
17306
+ gridWidth: number;
17307
+ gridHeight: number;
17308
+ cells: boolean[];
17309
+ };
17310
+ }[] | undefined;
16715
17311
  };
16716
17312
  };
16717
17313
  output: void;
@@ -16719,9 +17315,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16719
17315
  }>;
16720
17316
  }>>;
16721
17317
  mqttBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16722
- ctx: import("@camstack/types").TrpcContext;
17318
+ ctx: TrpcContext;
16723
17319
  meta: object;
16724
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17320
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16725
17321
  transformer: true;
16726
17322
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16727
17323
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16742,7 +17338,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16742
17338
  name: string;
16743
17339
  url: string;
16744
17340
  kind: "external" | "embedded";
16745
- status: "connected" | "disconnected" | "auth-failed" | "unreachable" | "tls-error";
17341
+ status: "connected" | "unreachable" | "disconnected" | "auth-failed" | "tls-error";
16746
17342
  latencyMs: number | null;
16747
17343
  error?: string | undefined;
16748
17344
  connectedClients?: number | undefined;
@@ -16823,9 +17419,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16823
17419
  }>;
16824
17420
  }>>;
16825
17421
  nativeObjectDetection: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16826
- ctx: import("@camstack/types").TrpcContext;
17422
+ ctx: TrpcContext;
16827
17423
  meta: object;
16828
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17424
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16829
17425
  transformer: true;
16830
17426
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16831
17427
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16836,11 +17432,20 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16836
17432
  output: unknown;
16837
17433
  meta: object;
16838
17434
  }>;
17435
+ setEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
17436
+ input: {
17437
+ [x: string]: unknown;
17438
+ deviceId: number;
17439
+ enabled: boolean;
17440
+ };
17441
+ output: void;
17442
+ meta: object;
17443
+ }>;
16839
17444
  }>>;
16840
17445
  networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16841
- ctx: import("@camstack/types").TrpcContext;
17446
+ ctx: TrpcContext;
16842
17447
  meta: object;
16843
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17448
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16844
17449
  transformer: true;
16845
17450
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16846
17451
  start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -16904,9 +17509,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16904
17509
  }>;
16905
17510
  }>>;
16906
17511
  notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16907
- ctx: import("@camstack/types").TrpcContext;
17512
+ ctx: TrpcContext;
16908
17513
  meta: object;
16909
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17514
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16910
17515
  transformer: true;
16911
17516
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16912
17517
  send: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -16936,9 +17541,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16936
17541
  }>;
16937
17542
  }>>;
16938
17543
  oauthIntegration: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16939
- ctx: import("@camstack/types").TrpcContext;
17544
+ ctx: TrpcContext;
16940
17545
  meta: object;
16941
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17546
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16942
17547
  transformer: true;
16943
17548
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16944
17549
  getDescriptor: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16967,14 +17572,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16967
17572
  access: ("delete" | "create" | "view")[];
16968
17573
  })[];
16969
17574
  allowedRedirectPrefixes: string[];
17575
+ hubUrl?: string | undefined;
16970
17576
  };
16971
17577
  meta: object;
16972
17578
  }>;
16973
17579
  }>>;
16974
17580
  osd: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16975
- ctx: import("@camstack/types").TrpcContext;
17581
+ ctx: TrpcContext;
16976
17582
  meta: object;
16977
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17583
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16978
17584
  transformer: true;
16979
17585
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16980
17586
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17001,9 +17607,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17001
17607
  }>;
17002
17608
  }>>;
17003
17609
  pipelineAnalytics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17004
- ctx: import("@camstack/types").TrpcContext;
17610
+ ctx: TrpcContext;
17005
17611
  meta: object;
17006
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17612
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17007
17613
  transformer: true;
17008
17614
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17009
17615
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17019,7 +17625,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17019
17625
  description?: string | undefined;
17020
17626
  style?: "card" | "accordion" | undefined;
17021
17627
  defaultCollapsed?: boolean | undefined;
17022
- columns?: 1 | 2 | 3 | 4 | undefined;
17628
+ columns?: 1 | 3 | 2 | 4 | undefined;
17023
17629
  tab?: string | undefined;
17024
17630
  location?: "settings" | "top-tab" | undefined;
17025
17631
  order?: number | undefined;
@@ -17046,7 +17652,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17046
17652
  description?: string | undefined;
17047
17653
  style?: "card" | "accordion" | undefined;
17048
17654
  defaultCollapsed?: boolean | undefined;
17049
- columns?: 1 | 2 | 3 | 4 | undefined;
17655
+ columns?: 1 | 3 | 2 | 4 | undefined;
17050
17656
  tab?: string | undefined;
17051
17657
  location?: "settings" | "top-tab" | undefined;
17052
17658
  order?: number | undefined;
@@ -17329,10 +17935,68 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17329
17935
  meta: object;
17330
17936
  }>;
17331
17937
  }>>;
17938
+ privacyMask: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17939
+ ctx: TrpcContext;
17940
+ meta: object;
17941
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17942
+ transformer: true;
17943
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17944
+ getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
17945
+ input: {
17946
+ [x: string]: unknown;
17947
+ deviceId: number;
17948
+ };
17949
+ output: unknown;
17950
+ meta: object;
17951
+ }>;
17952
+ getOptions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
17953
+ input: {
17954
+ [x: string]: unknown;
17955
+ deviceId: number;
17956
+ };
17957
+ output: {
17958
+ maxRegions: number;
17959
+ supportedShapes: ("grid" | "polygon" | "rect" | "line")[];
17960
+ polygonVertices?: {
17961
+ min: number;
17962
+ max: number;
17963
+ } | undefined;
17964
+ };
17965
+ meta: object;
17966
+ }>;
17967
+ setMask: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
17968
+ input: {
17969
+ [x: string]: unknown;
17970
+ deviceId: number;
17971
+ patch: {
17972
+ enabled?: boolean | undefined;
17973
+ regions?: {
17974
+ id: number;
17975
+ enabled: boolean;
17976
+ shape: {
17977
+ kind: "rect";
17978
+ x: number;
17979
+ y: number;
17980
+ width: number;
17981
+ height: number;
17982
+ } | {
17983
+ kind: "polygon";
17984
+ points: {
17985
+ x: number;
17986
+ y: number;
17987
+ }[];
17988
+ };
17989
+ }[] | undefined;
17990
+ };
17991
+ };
17992
+ output: void;
17993
+ meta: object;
17994
+ }>;
17995
+ }>>;
17332
17996
  ptz: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17333
- ctx: import("@camstack/types").TrpcContext;
17997
+ ctx: TrpcContext;
17334
17998
  meta: object;
17335
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17999
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17336
18000
  transformer: true;
17337
18001
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17338
18002
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17460,9 +18124,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17460
18124
  }>;
17461
18125
  }>>;
17462
18126
  ptzAutotrack: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17463
- ctx: import("@camstack/types").TrpcContext;
18127
+ ctx: TrpcContext;
17464
18128
  meta: object;
17465
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18129
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17466
18130
  transformer: true;
17467
18131
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17468
18132
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17509,9 +18173,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17509
18173
  }>;
17510
18174
  }>>;
17511
18175
  reboot: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17512
- ctx: import("@camstack/types").TrpcContext;
18176
+ ctx: TrpcContext;
17513
18177
  meta: object;
17514
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18178
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17515
18179
  transformer: true;
17516
18180
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17517
18181
  reboot: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -17526,9 +18190,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17526
18190
  }>;
17527
18191
  }>>;
17528
18192
  recording: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17529
- ctx: import("@camstack/types").TrpcContext;
18193
+ ctx: TrpcContext;
17530
18194
  meta: object;
17531
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18195
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17532
18196
  transformer: true;
17533
18197
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17534
18198
  getSegments: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17570,9 +18234,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17570
18234
  }>;
17571
18235
  }>>;
17572
18236
  recordingEngine: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17573
- ctx: import("@camstack/types").TrpcContext;
18237
+ ctx: TrpcContext;
17574
18238
  meta: object;
17575
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18239
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17576
18240
  transformer: true;
17577
18241
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17578
18242
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17911,9 +18575,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17911
18575
  }>;
17912
18576
  }>>;
17913
18577
  settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17914
- ctx: import("@camstack/types").TrpcContext;
18578
+ ctx: TrpcContext;
17915
18579
  meta: object;
17916
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18580
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17917
18581
  transformer: true;
17918
18582
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17919
18583
  get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18046,9 +18710,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18046
18710
  }>;
18047
18711
  }>>;
18048
18712
  smtpProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18049
- ctx: import("@camstack/types").TrpcContext;
18713
+ ctx: TrpcContext;
18050
18714
  meta: object;
18051
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18715
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18052
18716
  transformer: true;
18053
18717
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18054
18718
  sendEmail: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -18093,9 +18757,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18093
18757
  }>;
18094
18758
  }>>;
18095
18759
  snapshot: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18096
- ctx: import("@camstack/types").TrpcContext;
18760
+ ctx: TrpcContext;
18097
18761
  meta: object;
18098
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18762
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18099
18763
  transformer: true;
18100
18764
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18101
18765
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18119,7 +18783,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18119
18783
  description?: string | undefined;
18120
18784
  style?: "card" | "accordion" | undefined;
18121
18785
  defaultCollapsed?: boolean | undefined;
18122
- columns?: 1 | 2 | 3 | 4 | undefined;
18786
+ columns?: 1 | 3 | 2 | 4 | undefined;
18123
18787
  tab?: string | undefined;
18124
18788
  location?: "settings" | "top-tab" | undefined;
18125
18789
  order?: number | undefined;
@@ -18146,7 +18810,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18146
18810
  description?: string | undefined;
18147
18811
  style?: "card" | "accordion" | undefined;
18148
18812
  defaultCollapsed?: boolean | undefined;
18149
- columns?: 1 | 2 | 3 | 4 | undefined;
18813
+ columns?: 1 | 3 | 2 | 4 | undefined;
18150
18814
  tab?: string | undefined;
18151
18815
  location?: "settings" | "top-tab" | undefined;
18152
18816
  order?: number | undefined;
@@ -18194,9 +18858,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18194
18858
  }>;
18195
18859
  }>>;
18196
18860
  ssoBridge: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18197
- ctx: import("@camstack/types").TrpcContext;
18861
+ ctx: TrpcContext;
18198
18862
  meta: object;
18199
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18863
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18200
18864
  transformer: true;
18201
18865
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18202
18866
  signBridgeToken: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18278,9 +18942,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18278
18942
  }>;
18279
18943
  }>>;
18280
18944
  storage: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18281
- ctx: import("@camstack/types").TrpcContext;
18945
+ ctx: TrpcContext;
18282
18946
  meta: object;
18283
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18947
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18284
18948
  transformer: true;
18285
18949
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18286
18950
  resolve: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18519,9 +19183,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18519
19183
  }>;
18520
19184
  }>>;
18521
19185
  storageProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18522
- ctx: import("@camstack/types").TrpcContext;
19186
+ ctx: TrpcContext;
18523
19187
  meta: object;
18524
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
19188
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18525
19189
  transformer: true;
18526
19190
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18527
19191
  getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18771,9 +19435,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18771
19435
  }>;
18772
19436
  }>>;
18773
19437
  streamBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18774
- ctx: import("@camstack/types").TrpcContext;
19438
+ ctx: TrpcContext;
18775
19439
  meta: object;
18776
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
19440
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18777
19441
  transformer: true;
18778
19442
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18779
19443
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18789,7 +19453,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18789
19453
  description?: string | undefined;
18790
19454
  style?: "card" | "accordion" | undefined;
18791
19455
  defaultCollapsed?: boolean | undefined;
18792
- columns?: 1 | 2 | 3 | 4 | undefined;
19456
+ columns?: 1 | 3 | 2 | 4 | undefined;
18793
19457
  tab?: string | undefined;
18794
19458
  location?: "settings" | "top-tab" | undefined;
18795
19459
  order?: number | undefined;
@@ -18816,7 +19480,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18816
19480
  description?: string | undefined;
18817
19481
  style?: "card" | "accordion" | undefined;
18818
19482
  defaultCollapsed?: boolean | undefined;
18819
- columns?: 1 | 2 | 3 | 4 | undefined;
19483
+ columns?: 1 | 3 | 2 | 4 | undefined;
18820
19484
  tab?: string | undefined;
18821
19485
  location?: "settings" | "top-tab" | undefined;
18822
19486
  order?: number | undefined;
@@ -19235,10 +19899,39 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19235
19899
  meta: object;
19236
19900
  }>;
19237
19901
  }>>;
19902
+ streamCatalog: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19903
+ ctx: TrpcContext;
19904
+ meta: object;
19905
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19906
+ transformer: true;
19907
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19908
+ getCatalog: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
19909
+ input: {
19910
+ [x: string]: unknown;
19911
+ deviceId: number;
19912
+ };
19913
+ output: readonly {
19914
+ camStreamId: string;
19915
+ kind: "pull-rtsp" | "pull-rtmp" | "pull-http" | "pull-rfc4571" | "push-annexb";
19916
+ url?: string | undefined;
19917
+ codec?: string | undefined;
19918
+ resolution?: {
19919
+ width: number;
19920
+ height: number;
19921
+ } | undefined;
19922
+ fps?: number | undefined;
19923
+ label?: string | undefined;
19924
+ deviceFeatures?: string[] | undefined;
19925
+ autoEligible?: boolean | undefined;
19926
+ metadata?: Record<string, unknown> | undefined;
19927
+ }[];
19928
+ meta: object;
19929
+ }>;
19930
+ }>>;
19238
19931
  streamParams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19239
- ctx: import("@camstack/types").TrpcContext;
19932
+ ctx: TrpcContext;
19240
19933
  meta: object;
19241
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
19934
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19242
19935
  transformer: true;
19243
19936
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19244
19937
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -19342,9 +20035,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19342
20035
  }>;
19343
20036
  }>>;
19344
20037
  switch: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19345
- ctx: import("@camstack/types").TrpcContext;
20038
+ ctx: TrpcContext;
19346
20039
  meta: object;
19347
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20040
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19348
20041
  transformer: true;
19349
20042
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19350
20043
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -19366,9 +20059,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19366
20059
  }>;
19367
20060
  }>>;
19368
20061
  turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19369
- ctx: import("@camstack/types").TrpcContext;
20062
+ ctx: TrpcContext;
19370
20063
  meta: object;
19371
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20064
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19372
20065
  transformer: true;
19373
20066
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19374
20067
  getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -19385,9 +20078,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19385
20078
  }>;
19386
20079
  }>>;
19387
20080
  userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19388
- ctx: import("@camstack/types").TrpcContext;
20081
+ ctx: TrpcContext;
19389
20082
  meta: object;
19390
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20083
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19391
20084
  transformer: true;
19392
20085
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19393
20086
  listUsers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -19971,9 +20664,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19971
20664
  }>;
19972
20665
  }>>;
19973
20666
  userPasskeys: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19974
- ctx: import("@camstack/types").TrpcContext;
20667
+ ctx: TrpcContext;
19975
20668
  meta: object;
19976
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20669
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19977
20670
  transformer: true;
19978
20671
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19979
20672
  beginRegistration: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -20047,123 +20740,10 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
20047
20740
  meta: object;
20048
20741
  }>;
20049
20742
  }>>;
20050
- webrtcSession: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
20051
- ctx: import("@camstack/types").TrpcContext;
20052
- meta: object;
20053
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20054
- transformer: true;
20055
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
20056
- listStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
20057
- input: {
20058
- [x: string]: unknown;
20059
- deviceId: number;
20060
- };
20061
- output: {
20062
- id: string;
20063
- label: string;
20064
- target: {
20065
- kind: "adaptive";
20066
- } | {
20067
- kind: "profile";
20068
- profile: "high" | "low" | "mid";
20069
- } | {
20070
- kind: "cam-stream";
20071
- camStreamId: string;
20072
- };
20073
- codec: string | null;
20074
- resolution: {
20075
- width: number;
20076
- height: number;
20077
- } | null;
20078
- status: "error" | "streaming" | "idle" | "connecting" | "stopped" | null;
20079
- inputFps: number | null;
20080
- decodeFps: number | null;
20081
- bitrateKbps: number | null;
20082
- }[];
20083
- meta: object;
20084
- }>;
20085
- createSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
20086
- input: {
20087
- [x: string]: unknown;
20088
- deviceId: number;
20089
- target: {
20090
- kind: "adaptive";
20091
- } | {
20092
- kind: "profile";
20093
- profile: "high" | "low" | "mid";
20094
- } | {
20095
- kind: "cam-stream";
20096
- camStreamId: string;
20097
- };
20098
- hints?: {
20099
- viewportWidth?: number | undefined;
20100
- viewportHeight?: number | undefined;
20101
- devicePixelRatio?: number | undefined;
20102
- downlinkMbps?: number | undefined;
20103
- prefersTier?: string | undefined;
20104
- } | undefined;
20105
- };
20106
- output: {
20107
- sessionId: string;
20108
- sdpOffer: string;
20109
- };
20110
- meta: object;
20111
- }>;
20112
- handleOffer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
20113
- input: {
20114
- [x: string]: unknown;
20115
- deviceId: number;
20116
- sdpOffer: string;
20117
- target?: {
20118
- kind: "adaptive";
20119
- } | {
20120
- kind: "profile";
20121
- profile: "high" | "low" | "mid";
20122
- } | {
20123
- kind: "cam-stream";
20124
- camStreamId: string;
20125
- } | undefined;
20126
- sessionId?: string | undefined;
20127
- };
20128
- output: {
20129
- sessionId: string;
20130
- sdpAnswer: string;
20131
- };
20132
- meta: object;
20133
- }>;
20134
- handleAnswer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
20135
- input: {
20136
- [x: string]: unknown;
20137
- deviceId: number;
20138
- sessionId: string;
20139
- sdpAnswer: string;
20140
- };
20141
- output: void;
20142
- meta: object;
20143
- }>;
20144
- closeSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
20145
- input: {
20146
- [x: string]: unknown;
20147
- deviceId: number;
20148
- sessionId: string;
20149
- };
20150
- output: void;
20151
- meta: object;
20152
- }>;
20153
- hasAdaptiveBitrate: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
20154
- input: {
20155
- [x: string]: unknown;
20156
- deviceId: number;
20157
- profile: "high" | "low" | "mid";
20158
- };
20159
- output: boolean;
20160
- meta: object;
20161
- }>;
20162
- }>>;
20163
20743
  zoneAnalytics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
20164
- ctx: import("@camstack/types").TrpcContext;
20744
+ ctx: TrpcContext;
20165
20745
  meta: object;
20166
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20746
+ errorShape: import("@camstack/types").AugmentedErrorShape;
20167
20747
  transformer: true;
20168
20748
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
20169
20749
  getCurrentSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -20241,9 +20821,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
20241
20821
  }>;
20242
20822
  }>>;
20243
20823
  zoneRules: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
20244
- ctx: import("@camstack/types").TrpcContext;
20824
+ ctx: TrpcContext;
20245
20825
  meta: object;
20246
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20826
+ errorShape: import("@camstack/types").AugmentedErrorShape;
20247
20827
  transformer: true;
20248
20828
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
20249
20829
  listRules: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -20287,9 +20867,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
20287
20867
  }>;
20288
20868
  }>>;
20289
20869
  zones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
20290
- ctx: import("@camstack/types").TrpcContext;
20870
+ ctx: TrpcContext;
20291
20871
  meta: object;
20292
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20872
+ errorShape: import("@camstack/types").AugmentedErrorShape;
20293
20873
  transformer: true;
20294
20874
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
20295
20875
  listZones: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{