@camstack/types 0.1.38 → 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 (87) 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/nodes.cap.d.ts +22 -0
  24. package/dist/capabilities/nodes.cap.d.ts.map +1 -1
  25. package/dist/capabilities/oauth-integration.cap.d.ts +4 -2
  26. package/dist/capabilities/oauth-integration.cap.d.ts.map +1 -1
  27. package/dist/capabilities/pipeline-runner.cap.d.ts +2 -0
  28. package/dist/capabilities/pipeline-runner.cap.d.ts.map +1 -1
  29. package/dist/capabilities/privacy-mask.cap.d.ts +206 -0
  30. package/dist/capabilities/privacy-mask.cap.d.ts.map +1 -0
  31. package/dist/capabilities/schemas/detection-shared.d.ts +14 -1
  32. package/dist/capabilities/schemas/detection-shared.d.ts.map +1 -1
  33. package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
  34. package/dist/capabilities/stream-catalog.cap.d.ts +82 -0
  35. package/dist/capabilities/stream-catalog.cap.d.ts.map +1 -0
  36. package/dist/capabilities/user-management.cap.d.ts +20 -20
  37. package/dist/capabilities/webrtc-session.cap.d.ts +34 -0
  38. package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -1
  39. package/dist/enums/event-category.d.ts +28 -1
  40. package/dist/enums/event-category.d.ts.map +1 -1
  41. package/dist/generated/addon-api.d.ts +1257 -655
  42. package/dist/generated/addon-api.d.ts.map +1 -1
  43. package/dist/generated/cap-status-types.d.ts +3 -1
  44. package/dist/generated/cap-status-types.d.ts.map +1 -1
  45. package/dist/generated/capability-router-map.d.ts +11 -2
  46. package/dist/generated/capability-router-map.d.ts.map +1 -1
  47. package/dist/generated/device-local-state.d.ts +6 -0
  48. package/dist/generated/device-local-state.d.ts.map +1 -1
  49. package/dist/generated/device-proxy.d.ts +8 -0
  50. package/dist/generated/device-proxy.d.ts.map +1 -1
  51. package/dist/generated/method-access-map.d.ts +1 -1
  52. package/dist/generated/method-access-map.d.ts.map +1 -1
  53. package/dist/generated/system-proxy.d.ts +1 -1
  54. package/dist/generated/system-proxy.d.ts.map +1 -1
  55. package/dist/health/wiring-health.d.ts +136 -0
  56. package/dist/health/wiring-health.d.ts.map +1 -0
  57. package/dist/{index-CgPd35k5.mjs → index-C2zzIDdX.mjs} +851 -428
  58. package/dist/index-C2zzIDdX.mjs.map +1 -0
  59. package/dist/{index-BblD92Si.js → index-DnpdVFKv.js} +480 -57
  60. package/dist/index-DnpdVFKv.js.map +1 -0
  61. package/dist/index.d.ts +2 -0
  62. package/dist/index.d.ts.map +1 -1
  63. package/dist/index.js +209 -8
  64. package/dist/index.js.map +1 -1
  65. package/dist/index.mjs +520 -319
  66. package/dist/index.mjs.map +1 -1
  67. package/dist/interfaces/addon.d.ts +1 -1
  68. package/dist/interfaces/addon.d.ts.map +1 -1
  69. package/dist/interfaces/capability.d.ts +17 -0
  70. package/dist/interfaces/capability.d.ts.map +1 -1
  71. package/dist/interfaces/event-bus.d.ts +70 -1
  72. package/dist/interfaces/event-bus.d.ts.map +1 -1
  73. package/dist/interfaces/stream-broker.d.ts +21 -1
  74. package/dist/interfaces/stream-broker.d.ts.map +1 -1
  75. package/dist/node.js +1 -1
  76. package/dist/node.mjs +1 -1
  77. package/dist/readiness/readiness-registry.d.ts.map +1 -1
  78. package/dist/schemas/auth-records.d.ts +4 -4
  79. package/dist/types/io.d.ts +13 -1
  80. package/dist/types/io.d.ts.map +1 -1
  81. package/dist/utils/mask-url.d.ts +14 -6
  82. package/dist/utils/mask-url.d.ts.map +1 -1
  83. package/dist/utils/privacy-grid-raster.d.ts +48 -0
  84. package/dist/utils/privacy-grid-raster.d.ts.map +1 -0
  85. package/package.json +1 -1
  86. package/dist/index-BblD92Si.js.map +0 -1
  87. package/dist/index-CgPd35k5.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<{
@@ -1074,6 +1083,17 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1074
1083
  }[];
1075
1084
  groupId?: string | undefined;
1076
1085
  }[];
1086
+ categories: readonly {
1087
+ category: string;
1088
+ total: number;
1089
+ healthy: number;
1090
+ addons: readonly {
1091
+ id: string;
1092
+ status: string;
1093
+ cpuPercent: number;
1094
+ memoryRss: number;
1095
+ }[];
1096
+ }[];
1077
1097
  }[];
1078
1098
  meta: object;
1079
1099
  }>;
@@ -1222,9 +1242,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1222
1242
  }>;
1223
1243
  }>>;
1224
1244
  addons: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
1225
- ctx: import("@camstack/types").TrpcContext;
1245
+ ctx: TrpcContext;
1226
1246
  meta: object;
1227
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
1247
+ errorShape: import("@camstack/types").AugmentedErrorShape;
1228
1248
  transformer: true;
1229
1249
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
1230
1250
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -1373,6 +1393,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1373
1393
  latestVersion: string;
1374
1394
  category: "addon" | "core";
1375
1395
  requiresRestart: boolean;
1396
+ isSystem: boolean;
1376
1397
  }[];
1377
1398
  meta: object;
1378
1399
  }>;
@@ -1417,7 +1438,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1417
1438
  nodeId?: string | undefined;
1418
1439
  } | undefined;
1419
1440
  output: {
1420
- kind: "system" | "manual" | "framework-update";
1441
+ kind: "system" | "manual" | "framework-update" | "framework-bulk-update";
1421
1442
  requestedAt: number;
1422
1443
  packageName?: string | undefined;
1423
1444
  fromVersion?: string | undefined;
@@ -1468,6 +1489,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1468
1489
  [x: string]: unknown;
1469
1490
  packageName: string;
1470
1491
  version?: string | undefined;
1492
+ deferRestart?: boolean | undefined;
1471
1493
  };
1472
1494
  output: {
1473
1495
  packageName: string;
@@ -1477,6 +1499,89 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1477
1499
  };
1478
1500
  meta: object;
1479
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
+ }>;
1480
1585
  getVersions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
1481
1586
  input: {
1482
1587
  [x: string]: unknown;
@@ -1574,9 +1679,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
1574
1679
  }>;
1575
1680
  }>>;
1576
1681
  pipelineExecutor: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
1577
- ctx: import("@camstack/types").TrpcContext;
1682
+ ctx: TrpcContext;
1578
1683
  meta: object;
1579
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
1684
+ errorShape: import("@camstack/types").AugmentedErrorShape;
1580
1685
  transformer: true;
1581
1686
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
1582
1687
  getAvailableEngines: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -2104,9 +2209,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2104
2209
  }>;
2105
2210
  }>>;
2106
2211
  pipelineRunner: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2107
- ctx: import("@camstack/types").TrpcContext;
2212
+ ctx: TrpcContext;
2108
2213
  meta: object;
2109
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
2214
+ errorShape: import("@camstack/types").AugmentedErrorShape;
2110
2215
  transformer: true;
2111
2216
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
2112
2217
  attachCamera: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -2149,6 +2254,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2149
2254
  kind?: "polygon" | "tripwire" | undefined;
2150
2255
  color?: string | undefined;
2151
2256
  }[] | undefined;
2257
+ onboardMotionDrivesAnalyzer?: boolean | undefined;
2152
2258
  };
2153
2259
  output: {
2154
2260
  success: true;
@@ -2260,9 +2366,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2260
2366
  }>;
2261
2367
  }>>;
2262
2368
  pipelineOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2263
- ctx: import("@camstack/types").TrpcContext;
2369
+ ctx: TrpcContext;
2264
2370
  meta: object;
2265
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
2371
+ errorShape: import("@camstack/types").AugmentedErrorShape;
2266
2372
  transformer: true;
2267
2373
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
2268
2374
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -2278,7 +2384,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2278
2384
  description?: string | undefined;
2279
2385
  style?: "card" | "accordion" | undefined;
2280
2386
  defaultCollapsed?: boolean | undefined;
2281
- columns?: 1 | 2 | 3 | 4 | undefined;
2387
+ columns?: 1 | 3 | 2 | 4 | undefined;
2282
2388
  tab?: string | undefined;
2283
2389
  location?: "settings" | "top-tab" | undefined;
2284
2390
  order?: number | undefined;
@@ -2305,7 +2411,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2305
2411
  description?: string | undefined;
2306
2412
  style?: "card" | "accordion" | undefined;
2307
2413
  defaultCollapsed?: boolean | undefined;
2308
- columns?: 1 | 2 | 3 | 4 | undefined;
2414
+ columns?: 1 | 3 | 2 | 4 | undefined;
2309
2415
  tab?: string | undefined;
2310
2416
  location?: "settings" | "top-tab" | undefined;
2311
2417
  order?: number | undefined;
@@ -2882,16 +2988,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2882
2988
  }>;
2883
2989
  }>>;
2884
2990
  audioAnalyzer: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2885
- ctx: import("@camstack/types").TrpcContext;
2991
+ ctx: TrpcContext;
2886
2992
  meta: object;
2887
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
2993
+ errorShape: import("@camstack/types").AugmentedErrorShape;
2888
2994
  transformer: true;
2889
2995
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
2890
2996
  analyseChunk: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
2891
2997
  input: {
2892
2998
  [x: string]: unknown;
2893
2999
  chunk: {
2894
- data: Float32Array<ArrayBuffer>;
3000
+ data: Uint8Array<ArrayBuffer>;
2895
3001
  sampleRate: number;
2896
3002
  channels: number;
2897
3003
  timestamp: number;
@@ -2922,7 +3028,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2922
3028
  classify: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
2923
3029
  input: {
2924
3030
  [x: string]: unknown;
2925
- data: Float32Array<ArrayBuffer>;
3031
+ data: Uint8Array<ArrayBuffer>;
2926
3032
  sampleRate: number;
2927
3033
  channels: number;
2928
3034
  timestamp: number;
@@ -2968,9 +3074,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
2968
3074
  }>;
2969
3075
  }>>;
2970
3076
  audioCodec: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2971
- ctx: import("@camstack/types").TrpcContext;
3077
+ ctx: TrpcContext;
2972
3078
  meta: object;
2973
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3079
+ errorShape: import("@camstack/types").AugmentedErrorShape;
2974
3080
  transformer: true;
2975
3081
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
2976
3082
  listSupportedCodecs: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3131,9 +3237,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3131
3237
  }>;
3132
3238
  }>>;
3133
3239
  decoder: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3134
- ctx: import("@camstack/types").TrpcContext;
3240
+ ctx: TrpcContext;
3135
3241
  meta: object;
3136
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3242
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3137
3243
  transformer: true;
3138
3244
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3139
3245
  supportsCodec: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3340,9 +3446,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3340
3446
  }>;
3341
3447
  }>>;
3342
3448
  platformProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3343
- ctx: import("@camstack/types").TrpcContext;
3449
+ ctx: TrpcContext;
3344
3450
  meta: object;
3345
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3451
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3346
3452
  transformer: true;
3347
3453
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3348
3454
  getCapabilities: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3477,9 +3583,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3477
3583
  }>;
3478
3584
  }>>;
3479
3585
  localNetwork: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3480
- ctx: import("@camstack/types").TrpcContext;
3586
+ ctx: TrpcContext;
3481
3587
  meta: object;
3482
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3588
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3483
3589
  transformer: true;
3484
3590
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3485
3591
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3574,9 +3680,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3574
3680
  }>;
3575
3681
  }>>;
3576
3682
  snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3577
- ctx: import("@camstack/types").TrpcContext;
3683
+ ctx: TrpcContext;
3578
3684
  meta: object;
3579
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3685
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3580
3686
  transformer: true;
3581
3687
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3582
3688
  supportsDevice: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3600,10 +3706,135 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3600
3706
  meta: object;
3601
3707
  }>;
3602
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
+ }>>;
3603
3834
  accessories: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3604
- ctx: import("@camstack/types").TrpcContext;
3835
+ ctx: TrpcContext;
3605
3836
  meta: object;
3606
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3837
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3607
3838
  transformer: true;
3608
3839
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3609
3840
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3616,9 +3847,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3616
3847
  }>;
3617
3848
  }>>;
3618
3849
  addonPages: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3619
- ctx: import("@camstack/types").TrpcContext;
3850
+ ctx: TrpcContext;
3620
3851
  meta: object;
3621
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3852
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3622
3853
  transformer: true;
3623
3854
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3624
3855
  listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3641,9 +3872,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3641
3872
  }>;
3642
3873
  }>>;
3643
3874
  addonPagesSource: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3644
- ctx: import("@camstack/types").TrpcContext;
3875
+ ctx: TrpcContext;
3645
3876
  meta: object;
3646
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3877
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3647
3878
  transformer: true;
3648
3879
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3649
3880
  listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3663,9 +3894,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3663
3894
  }>;
3664
3895
  }>>;
3665
3896
  addonSettings: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3666
- ctx: import("@camstack/types").TrpcContext;
3897
+ ctx: TrpcContext;
3667
3898
  meta: object;
3668
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3899
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3669
3900
  transformer: true;
3670
3901
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3671
3902
  getGlobalSettings: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3674,6 +3905,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3674
3905
  addonId: string;
3675
3906
  nodeId?: string | undefined;
3676
3907
  overlay?: Record<string, unknown> | undefined;
3908
+ cap?: string | undefined;
3677
3909
  };
3678
3910
  output: {
3679
3911
  sections: {
@@ -3683,7 +3915,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3683
3915
  description?: string | undefined;
3684
3916
  style?: "card" | "accordion" | undefined;
3685
3917
  defaultCollapsed?: boolean | undefined;
3686
- columns?: 1 | 2 | 3 | 4 | undefined;
3918
+ columns?: 1 | 3 | 2 | 4 | undefined;
3687
3919
  tab?: string | undefined;
3688
3920
  location?: "settings" | "top-tab" | undefined;
3689
3921
  order?: number | undefined;
@@ -3724,7 +3956,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3724
3956
  description?: string | undefined;
3725
3957
  style?: "card" | "accordion" | undefined;
3726
3958
  defaultCollapsed?: boolean | undefined;
3727
- columns?: 1 | 2 | 3 | 4 | undefined;
3959
+ columns?: 1 | 3 | 2 | 4 | undefined;
3728
3960
  tab?: string | undefined;
3729
3961
  location?: "settings" | "top-tab" | undefined;
3730
3962
  order?: number | undefined;
@@ -3753,9 +3985,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3753
3985
  }>;
3754
3986
  }>>;
3755
3987
  addonWidgets: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3756
- ctx: import("@camstack/types").TrpcContext;
3988
+ ctx: TrpcContext;
3757
3989
  meta: object;
3758
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3990
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3759
3991
  transformer: true;
3760
3992
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3761
3993
  listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3793,9 +4025,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3793
4025
  }>;
3794
4026
  }>>;
3795
4027
  addonWidgetsSource: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3796
- ctx: import("@camstack/types").TrpcContext;
4028
+ ctx: TrpcContext;
3797
4029
  meta: object;
3798
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4030
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3799
4031
  transformer: true;
3800
4032
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3801
4033
  listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3832,9 +4064,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3832
4064
  }>;
3833
4065
  }>>;
3834
4066
  adminUi: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3835
- ctx: import("@camstack/types").TrpcContext;
4067
+ ctx: TrpcContext;
3836
4068
  meta: object;
3837
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4069
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3838
4070
  transformer: true;
3839
4071
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3840
4072
  getStaticDir: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3857,9 +4089,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3857
4089
  }>;
3858
4090
  }>>;
3859
4091
  advancedNotifier: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3860
- ctx: import("@camstack/types").TrpcContext;
4092
+ ctx: TrpcContext;
3861
4093
  meta: object;
3862
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4094
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3863
4095
  transformer: true;
3864
4096
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3865
4097
  getRules: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -3988,9 +4220,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
3988
4220
  }>;
3989
4221
  }>>;
3990
4222
  alerts: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3991
- ctx: import("@camstack/types").TrpcContext;
4223
+ ctx: TrpcContext;
3992
4224
  meta: object;
3993
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4225
+ errorShape: import("@camstack/types").AugmentedErrorShape;
3994
4226
  transformer: true;
3995
4227
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3996
4228
  emit: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -4001,7 +4233,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4001
4233
  severity: "success" | "error" | "info" | "warning";
4002
4234
  title: string;
4003
4235
  message: string;
4004
- status: "failed" | "active" | "in-progress" | "completed" | "dismissed";
4236
+ status: "failed" | "completed" | "active" | "in-progress" | "dismissed";
4005
4237
  read: boolean;
4006
4238
  createdAt: number;
4007
4239
  updatedAt: number;
@@ -4025,7 +4257,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4025
4257
  severity?: "success" | "error" | "info" | "warning" | undefined;
4026
4258
  title?: string | undefined;
4027
4259
  message?: string | undefined;
4028
- status?: "failed" | "active" | "in-progress" | "completed" | "dismissed" | undefined;
4260
+ status?: "failed" | "completed" | "active" | "in-progress" | "dismissed" | undefined;
4029
4261
  progress?: number | undefined;
4030
4262
  read?: boolean | undefined;
4031
4263
  createdAt?: number | undefined;
@@ -4051,7 +4283,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4051
4283
  severity: "success" | "error" | "info" | "warning";
4052
4284
  title: string;
4053
4285
  message: string;
4054
- status: "failed" | "active" | "in-progress" | "completed" | "dismissed";
4286
+ status: "failed" | "completed" | "active" | "in-progress" | "dismissed";
4055
4287
  read: boolean;
4056
4288
  createdAt: number;
4057
4289
  updatedAt: number;
@@ -4096,9 +4328,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4096
4328
  }>;
4097
4329
  }>>;
4098
4330
  audioAnalysis: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4099
- ctx: import("@camstack/types").TrpcContext;
4331
+ ctx: TrpcContext;
4100
4332
  meta: object;
4101
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4333
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4102
4334
  transformer: true;
4103
4335
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4104
4336
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4114,7 +4346,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4114
4346
  description?: string | undefined;
4115
4347
  style?: "card" | "accordion" | undefined;
4116
4348
  defaultCollapsed?: boolean | undefined;
4117
- columns?: 1 | 2 | 3 | 4 | undefined;
4349
+ columns?: 1 | 3 | 2 | 4 | undefined;
4118
4350
  tab?: string | undefined;
4119
4351
  location?: "settings" | "top-tab" | undefined;
4120
4352
  order?: number | undefined;
@@ -4141,7 +4373,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4141
4373
  description?: string | undefined;
4142
4374
  style?: "card" | "accordion" | undefined;
4143
4375
  defaultCollapsed?: boolean | undefined;
4144
- columns?: 1 | 2 | 3 | 4 | undefined;
4376
+ columns?: 1 | 3 | 2 | 4 | undefined;
4145
4377
  tab?: string | undefined;
4146
4378
  location?: "settings" | "top-tab" | undefined;
4147
4379
  order?: number | undefined;
@@ -4176,9 +4408,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4176
4408
  }>;
4177
4409
  }>>;
4178
4410
  audioMetrics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4179
- ctx: import("@camstack/types").TrpcContext;
4411
+ ctx: TrpcContext;
4180
4412
  meta: object;
4181
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4413
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4182
4414
  transformer: true;
4183
4415
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4184
4416
  getCurrentSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4232,9 +4464,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4232
4464
  }>;
4233
4465
  }>>;
4234
4466
  backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4235
- ctx: import("@camstack/types").TrpcContext;
4467
+ ctx: TrpcContext;
4236
4468
  meta: object;
4237
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4469
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4238
4470
  transformer: true;
4239
4471
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4240
4472
  listDestinations: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4386,9 +4618,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4386
4618
  }>;
4387
4619
  }>>;
4388
4620
  battery: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4389
- ctx: import("@camstack/types").TrpcContext;
4621
+ ctx: TrpcContext;
4390
4622
  meta: object;
4391
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4623
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4392
4624
  transformer: true;
4393
4625
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4394
4626
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4401,9 +4633,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4401
4633
  }>;
4402
4634
  }>>;
4403
4635
  brightness: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4404
- ctx: import("@camstack/types").TrpcContext;
4636
+ ctx: TrpcContext;
4405
4637
  meta: object;
4406
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4638
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4407
4639
  transformer: true;
4408
4640
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4409
4641
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4425,9 +4657,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4425
4657
  }>;
4426
4658
  }>>;
4427
4659
  cameraCredentials: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4428
- ctx: import("@camstack/types").TrpcContext;
4660
+ ctx: TrpcContext;
4429
4661
  meta: object;
4430
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4662
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4431
4663
  transformer: true;
4432
4664
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4433
4665
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4456,10 +4688,82 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4456
4688
  meta: object;
4457
4689
  }>;
4458
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
+ }>>;
4459
4763
  cameraStreams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4460
- ctx: import("@camstack/types").TrpcContext;
4764
+ ctx: TrpcContext;
4461
4765
  meta: object;
4462
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4766
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4463
4767
  transformer: true;
4464
4768
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4465
4769
  getCameraStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4522,9 +4826,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4522
4826
  }>;
4523
4827
  }>>;
4524
4828
  detectionPipeline: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4525
- ctx: import("@camstack/types").TrpcContext;
4829
+ ctx: TrpcContext;
4526
4830
  meta: object;
4527
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4831
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4528
4832
  transformer: true;
4529
4833
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4530
4834
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4540,7 +4844,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4540
4844
  description?: string | undefined;
4541
4845
  style?: "card" | "accordion" | undefined;
4542
4846
  defaultCollapsed?: boolean | undefined;
4543
- columns?: 1 | 2 | 3 | 4 | undefined;
4847
+ columns?: 1 | 3 | 2 | 4 | undefined;
4544
4848
  tab?: string | undefined;
4545
4849
  location?: "settings" | "top-tab" | undefined;
4546
4850
  order?: number | undefined;
@@ -4567,7 +4871,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4567
4871
  description?: string | undefined;
4568
4872
  style?: "card" | "accordion" | undefined;
4569
4873
  defaultCollapsed?: boolean | undefined;
4570
- columns?: 1 | 2 | 3 | 4 | undefined;
4874
+ columns?: 1 | 3 | 2 | 4 | undefined;
4571
4875
  tab?: string | undefined;
4572
4876
  location?: "settings" | "top-tab" | undefined;
4573
4877
  order?: number | undefined;
@@ -4594,9 +4898,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4594
4898
  }>;
4595
4899
  }>>;
4596
4900
  deviceDiscovery: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4597
- ctx: import("@camstack/types").TrpcContext;
4901
+ ctx: TrpcContext;
4598
4902
  meta: object;
4599
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4903
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4600
4904
  transformer: true;
4601
4905
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4602
4906
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4679,9 +4983,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4679
4983
  }>;
4680
4984
  }>>;
4681
4985
  deviceExport: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4682
- ctx: import("@camstack/types").TrpcContext;
4986
+ ctx: TrpcContext;
4683
4987
  meta: object;
4684
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
4988
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4685
4989
  transformer: true;
4686
4990
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4687
4991
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -4705,7 +5009,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4705
5009
  description?: string | undefined;
4706
5010
  style?: "card" | "accordion" | undefined;
4707
5011
  defaultCollapsed?: boolean | undefined;
4708
- columns?: 1 | 2 | 3 | 4 | undefined;
5012
+ columns?: 1 | 3 | 2 | 4 | undefined;
4709
5013
  tab?: string | undefined;
4710
5014
  location?: "settings" | "top-tab" | undefined;
4711
5015
  order?: number | undefined;
@@ -4732,7 +5036,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4732
5036
  description?: string | undefined;
4733
5037
  style?: "card" | "accordion" | undefined;
4734
5038
  defaultCollapsed?: boolean | undefined;
4735
- columns?: 1 | 2 | 3 | 4 | undefined;
5039
+ columns?: 1 | 3 | 2 | 4 | undefined;
4736
5040
  tab?: string | undefined;
4737
5041
  location?: "settings" | "top-tab" | undefined;
4738
5042
  order?: number | undefined;
@@ -4796,9 +5100,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
4796
5100
  }>;
4797
5101
  }>>;
4798
5102
  deviceManager: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
4799
- ctx: import("@camstack/types").TrpcContext;
5103
+ ctx: TrpcContext;
4800
5104
  meta: object;
4801
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5105
+ errorShape: import("@camstack/types").AugmentedErrorShape;
4802
5106
  transformer: true;
4803
5107
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
4804
5108
  allocateDeviceId: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -5219,7 +5523,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5219
5523
  description?: string | undefined;
5220
5524
  style?: "card" | "accordion" | undefined;
5221
5525
  defaultCollapsed?: boolean | undefined;
5222
- columns?: 1 | 2 | 3 | 4 | undefined;
5526
+ columns?: 1 | 3 | 2 | 4 | undefined;
5223
5527
  tab?: string | undefined;
5224
5528
  location?: "settings" | "top-tab" | undefined;
5225
5529
  order?: number | undefined;
@@ -5246,7 +5550,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5246
5550
  description?: string | undefined;
5247
5551
  style?: "card" | "accordion" | undefined;
5248
5552
  defaultCollapsed?: boolean | undefined;
5249
- columns?: 1 | 2 | 3 | 4 | undefined;
5553
+ columns?: 1 | 3 | 2 | 4 | undefined;
5250
5554
  tab?: string | undefined;
5251
5555
  location?: "settings" | "top-tab" | undefined;
5252
5556
  order?: number | undefined;
@@ -5274,7 +5578,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5274
5578
  description?: string | undefined;
5275
5579
  style?: "card" | "accordion" | undefined;
5276
5580
  defaultCollapsed?: boolean | undefined;
5277
- columns?: 1 | 2 | 3 | 4 | undefined;
5581
+ columns?: 1 | 3 | 2 | 4 | undefined;
5278
5582
  tab?: string | undefined;
5279
5583
  location?: "settings" | "top-tab" | undefined;
5280
5584
  order?: number | undefined;
@@ -5294,7 +5598,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5294
5598
  description?: string | undefined;
5295
5599
  style?: "card" | "accordion" | undefined;
5296
5600
  defaultCollapsed?: boolean | undefined;
5297
- columns?: 1 | 2 | 3 | 4 | undefined;
5601
+ columns?: 1 | 3 | 2 | 4 | undefined;
5298
5602
  tab?: string | undefined;
5299
5603
  location?: "settings" | "top-tab" | undefined;
5300
5604
  order?: number | undefined;
@@ -5451,9 +5755,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5451
5755
  }>;
5452
5756
  }>>;
5453
5757
  deviceOps: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5454
- ctx: import("@camstack/types").TrpcContext;
5758
+ ctx: TrpcContext;
5455
5759
  meta: object;
5456
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5760
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5457
5761
  transformer: true;
5458
5762
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5459
5763
  getStreamSources: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5516,9 +5820,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5516
5820
  }>;
5517
5821
  }>>;
5518
5822
  deviceProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5519
- ctx: import("@camstack/types").TrpcContext;
5823
+ ctx: TrpcContext;
5520
5824
  meta: object;
5521
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5825
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5522
5826
  transformer: true;
5523
5827
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5524
5828
  start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -5650,9 +5954,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5650
5954
  }>;
5651
5955
  }>>;
5652
5956
  deviceState: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5653
- ctx: import("@camstack/types").TrpcContext;
5957
+ ctx: TrpcContext;
5654
5958
  meta: object;
5655
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5959
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5656
5960
  transformer: true;
5657
5961
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5658
5962
  getSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5691,9 +5995,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5691
5995
  }>;
5692
5996
  }>>;
5693
5997
  deviceStatus: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5694
- ctx: import("@camstack/types").TrpcContext;
5998
+ ctx: TrpcContext;
5695
5999
  meta: object;
5696
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6000
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5697
6001
  transformer: true;
5698
6002
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5699
6003
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5706,9 +6010,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5706
6010
  }>;
5707
6011
  }>>;
5708
6012
  doorbell: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5709
- ctx: import("@camstack/types").TrpcContext;
6013
+ ctx: TrpcContext;
5710
6014
  meta: object;
5711
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6015
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5712
6016
  transformer: true;
5713
6017
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5714
6018
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5721,9 +6025,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5721
6025
  }>;
5722
6026
  }>>;
5723
6027
  embeddingEncoder: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5724
- ctx: import("@camstack/types").TrpcContext;
6028
+ ctx: TrpcContext;
5725
6029
  meta: object;
5726
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6030
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5727
6031
  transformer: true;
5728
6032
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5729
6033
  encode: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5764,9 +6068,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5764
6068
  }>;
5765
6069
  }>>;
5766
6070
  events: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5767
- ctx: import("@camstack/types").TrpcContext;
6071
+ ctx: TrpcContext;
5768
6072
  meta: object;
5769
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6073
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5770
6074
  transformer: true;
5771
6075
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5772
6076
  getEvents: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5811,9 +6115,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5811
6115
  }>;
5812
6116
  }>>;
5813
6117
  featureProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5814
- ctx: import("@camstack/types").TrpcContext;
6118
+ ctx: TrpcContext;
5815
6119
  meta: object;
5816
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6120
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5817
6121
  transformer: true;
5818
6122
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5819
6123
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5826,9 +6130,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5826
6130
  }>;
5827
6131
  }>>;
5828
6132
  intercom: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5829
- ctx: import("@camstack/types").TrpcContext;
6133
+ ctx: TrpcContext;
5830
6134
  meta: object;
5831
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6135
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5832
6136
  transformer: true;
5833
6137
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5834
6138
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5901,9 +6205,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5901
6205
  }>;
5902
6206
  }>>;
5903
6207
  meshNetwork: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
5904
- ctx: import("@camstack/types").TrpcContext;
6208
+ ctx: TrpcContext;
5905
6209
  meta: object;
5906
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6210
+ errorShape: import("@camstack/types").AugmentedErrorShape;
5907
6211
  transformer: true;
5908
6212
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
5909
6213
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -5999,9 +6303,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
5999
6303
  }>;
6000
6304
  }>>;
6001
6305
  metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6002
- ctx: import("@camstack/types").TrpcContext;
6306
+ ctx: TrpcContext;
6003
6307
  meta: object;
6004
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6308
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6005
6309
  transformer: true;
6006
6310
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6007
6311
  collectSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6314,9 +6618,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6314
6618
  }>;
6315
6619
  }>>;
6316
6620
  motion: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6317
- ctx: import("@camstack/types").TrpcContext;
6621
+ ctx: TrpcContext;
6318
6622
  meta: object;
6319
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6623
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6320
6624
  transformer: true;
6321
6625
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6322
6626
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6337,9 +6641,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6337
6641
  }>;
6338
6642
  }>>;
6339
6643
  motionDetection: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6340
- ctx: import("@camstack/types").TrpcContext;
6644
+ ctx: TrpcContext;
6341
6645
  meta: object;
6342
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6646
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6343
6647
  transformer: true;
6344
6648
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6345
6649
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6355,7 +6659,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6355
6659
  description?: string | undefined;
6356
6660
  style?: "card" | "accordion" | undefined;
6357
6661
  defaultCollapsed?: boolean | undefined;
6358
- columns?: 1 | 2 | 3 | 4 | undefined;
6662
+ columns?: 1 | 3 | 2 | 4 | undefined;
6359
6663
  tab?: string | undefined;
6360
6664
  location?: "settings" | "top-tab" | undefined;
6361
6665
  order?: number | undefined;
@@ -6382,7 +6686,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6382
6686
  description?: string | undefined;
6383
6687
  style?: "card" | "accordion" | undefined;
6384
6688
  defaultCollapsed?: boolean | undefined;
6385
- columns?: 1 | 2 | 3 | 4 | undefined;
6689
+ columns?: 1 | 3 | 2 | 4 | undefined;
6386
6690
  tab?: string | undefined;
6387
6691
  location?: "settings" | "top-tab" | undefined;
6388
6692
  order?: number | undefined;
@@ -6465,9 +6769,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6465
6769
  }>;
6466
6770
  }>>;
6467
6771
  motionTrigger: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6468
- ctx: import("@camstack/types").TrpcContext;
6772
+ ctx: TrpcContext;
6469
6773
  meta: object;
6470
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6774
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6471
6775
  transformer: true;
6472
6776
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6473
6777
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6489,9 +6793,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6489
6793
  }>;
6490
6794
  }>>;
6491
6795
  motionZones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6492
- ctx: import("@camstack/types").TrpcContext;
6796
+ ctx: TrpcContext;
6493
6797
  meta: object;
6494
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6798
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6495
6799
  transformer: true;
6496
6800
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6497
6801
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6508,8 +6812,12 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6508
6812
  deviceId: number;
6509
6813
  };
6510
6814
  output: {
6511
- gridWidth: number;
6512
- gridHeight: number;
6815
+ maxRegions: number;
6816
+ supportedShapes: ("grid" | "polygon" | "rect" | "line")[];
6817
+ grid: {
6818
+ width: number;
6819
+ height: number;
6820
+ };
6513
6821
  sensitivity: {
6514
6822
  min: number;
6515
6823
  max: number;
@@ -6525,7 +6833,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6525
6833
  patch: {
6526
6834
  enabled?: boolean | undefined;
6527
6835
  sensitivity?: number | undefined;
6528
- 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;
6529
6846
  };
6530
6847
  };
6531
6848
  output: void;
@@ -6533,9 +6850,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6533
6850
  }>;
6534
6851
  }>>;
6535
6852
  mqttBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6536
- ctx: import("@camstack/types").TrpcContext;
6853
+ ctx: TrpcContext;
6537
6854
  meta: object;
6538
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6855
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6539
6856
  transformer: true;
6540
6857
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6541
6858
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6556,7 +6873,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6556
6873
  name: string;
6557
6874
  url: string;
6558
6875
  kind: "external" | "embedded";
6559
- status: "connected" | "disconnected" | "auth-failed" | "unreachable" | "tls-error";
6876
+ status: "connected" | "unreachable" | "disconnected" | "auth-failed" | "tls-error";
6560
6877
  latencyMs: number | null;
6561
6878
  error?: string | undefined;
6562
6879
  connectedClients?: number | undefined;
@@ -6637,9 +6954,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6637
6954
  }>;
6638
6955
  }>>;
6639
6956
  nativeObjectDetection: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6640
- ctx: import("@camstack/types").TrpcContext;
6957
+ ctx: TrpcContext;
6641
6958
  meta: object;
6642
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6959
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6643
6960
  transformer: true;
6644
6961
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6645
6962
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6650,13 +6967,22 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6650
6967
  output: unknown;
6651
6968
  meta: object;
6652
6969
  }>;
6653
- }>>;
6654
- networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6655
- ctx: import("@camstack/types").TrpcContext;
6656
- meta: object;
6657
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6658
- transformer: true;
6659
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
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
+ }>;
6979
+ }>>;
6980
+ networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6981
+ ctx: TrpcContext;
6982
+ meta: object;
6983
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6984
+ transformer: true;
6985
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6660
6986
  start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
6661
6987
  input: {
6662
6988
  nodeId?: string | undefined;
@@ -6718,9 +7044,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6718
7044
  }>;
6719
7045
  }>>;
6720
7046
  notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6721
- ctx: import("@camstack/types").TrpcContext;
7047
+ ctx: TrpcContext;
6722
7048
  meta: object;
6723
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7049
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6724
7050
  transformer: true;
6725
7051
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6726
7052
  send: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -6750,9 +7076,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6750
7076
  }>;
6751
7077
  }>>;
6752
7078
  oauthIntegration: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6753
- ctx: import("@camstack/types").TrpcContext;
7079
+ ctx: TrpcContext;
6754
7080
  meta: object;
6755
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7081
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6756
7082
  transformer: true;
6757
7083
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6758
7084
  getDescriptor: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6781,14 +7107,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6781
7107
  access: ("delete" | "create" | "view")[];
6782
7108
  })[];
6783
7109
  allowedRedirectPrefixes: string[];
7110
+ hubUrl?: string | undefined;
6784
7111
  };
6785
7112
  meta: object;
6786
7113
  }>;
6787
7114
  }>>;
6788
7115
  osd: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6789
- ctx: import("@camstack/types").TrpcContext;
7116
+ ctx: TrpcContext;
6790
7117
  meta: object;
6791
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7118
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6792
7119
  transformer: true;
6793
7120
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6794
7121
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6815,9 +7142,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6815
7142
  }>;
6816
7143
  }>>;
6817
7144
  pipelineAnalytics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6818
- ctx: import("@camstack/types").TrpcContext;
7145
+ ctx: TrpcContext;
6819
7146
  meta: object;
6820
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7147
+ errorShape: import("@camstack/types").AugmentedErrorShape;
6821
7148
  transformer: true;
6822
7149
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6823
7150
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -6833,7 +7160,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6833
7160
  description?: string | undefined;
6834
7161
  style?: "card" | "accordion" | undefined;
6835
7162
  defaultCollapsed?: boolean | undefined;
6836
- columns?: 1 | 2 | 3 | 4 | undefined;
7163
+ columns?: 1 | 3 | 2 | 4 | undefined;
6837
7164
  tab?: string | undefined;
6838
7165
  location?: "settings" | "top-tab" | undefined;
6839
7166
  order?: number | undefined;
@@ -6860,7 +7187,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
6860
7187
  description?: string | undefined;
6861
7188
  style?: "card" | "accordion" | undefined;
6862
7189
  defaultCollapsed?: boolean | undefined;
6863
- columns?: 1 | 2 | 3 | 4 | undefined;
7190
+ columns?: 1 | 3 | 2 | 4 | undefined;
6864
7191
  tab?: string | undefined;
6865
7192
  location?: "settings" | "top-tab" | undefined;
6866
7193
  order?: number | undefined;
@@ -7143,10 +7470,68 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7143
7470
  meta: object;
7144
7471
  }>;
7145
7472
  }>>;
7473
+ privacyMask: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7474
+ ctx: TrpcContext;
7475
+ meta: object;
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
+ }>>;
7146
7531
  ptz: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7147
- ctx: import("@camstack/types").TrpcContext;
7532
+ ctx: TrpcContext;
7148
7533
  meta: object;
7149
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7534
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7150
7535
  transformer: true;
7151
7536
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7152
7537
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7274,9 +7659,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7274
7659
  }>;
7275
7660
  }>>;
7276
7661
  ptzAutotrack: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7277
- ctx: import("@camstack/types").TrpcContext;
7662
+ ctx: TrpcContext;
7278
7663
  meta: object;
7279
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7664
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7280
7665
  transformer: true;
7281
7666
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7282
7667
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7323,9 +7708,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7323
7708
  }>;
7324
7709
  }>>;
7325
7710
  reboot: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7326
- ctx: import("@camstack/types").TrpcContext;
7711
+ ctx: TrpcContext;
7327
7712
  meta: object;
7328
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7713
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7329
7714
  transformer: true;
7330
7715
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7331
7716
  reboot: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -7340,9 +7725,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7340
7725
  }>;
7341
7726
  }>>;
7342
7727
  recording: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7343
- ctx: import("@camstack/types").TrpcContext;
7728
+ ctx: TrpcContext;
7344
7729
  meta: object;
7345
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7730
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7346
7731
  transformer: true;
7347
7732
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7348
7733
  getSegments: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7384,9 +7769,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7384
7769
  }>;
7385
7770
  }>>;
7386
7771
  recordingEngine: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7387
- ctx: import("@camstack/types").TrpcContext;
7772
+ ctx: TrpcContext;
7388
7773
  meta: object;
7389
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7774
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7390
7775
  transformer: true;
7391
7776
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7392
7777
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7725,9 +8110,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7725
8110
  }>;
7726
8111
  }>>;
7727
8112
  settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7728
- ctx: import("@camstack/types").TrpcContext;
8113
+ ctx: TrpcContext;
7729
8114
  meta: object;
7730
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8115
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7731
8116
  transformer: true;
7732
8117
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7733
8118
  get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7860,9 +8245,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7860
8245
  }>;
7861
8246
  }>>;
7862
8247
  smtpProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7863
- ctx: import("@camstack/types").TrpcContext;
8248
+ ctx: TrpcContext;
7864
8249
  meta: object;
7865
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8250
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7866
8251
  transformer: true;
7867
8252
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7868
8253
  sendEmail: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -7907,9 +8292,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7907
8292
  }>;
7908
8293
  }>>;
7909
8294
  snapshot: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7910
- ctx: import("@camstack/types").TrpcContext;
8295
+ ctx: TrpcContext;
7911
8296
  meta: object;
7912
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8297
+ errorShape: import("@camstack/types").AugmentedErrorShape;
7913
8298
  transformer: true;
7914
8299
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7915
8300
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -7933,7 +8318,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7933
8318
  description?: string | undefined;
7934
8319
  style?: "card" | "accordion" | undefined;
7935
8320
  defaultCollapsed?: boolean | undefined;
7936
- columns?: 1 | 2 | 3 | 4 | undefined;
8321
+ columns?: 1 | 3 | 2 | 4 | undefined;
7937
8322
  tab?: string | undefined;
7938
8323
  location?: "settings" | "top-tab" | undefined;
7939
8324
  order?: number | undefined;
@@ -7960,7 +8345,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
7960
8345
  description?: string | undefined;
7961
8346
  style?: "card" | "accordion" | undefined;
7962
8347
  defaultCollapsed?: boolean | undefined;
7963
- columns?: 1 | 2 | 3 | 4 | undefined;
8348
+ columns?: 1 | 3 | 2 | 4 | undefined;
7964
8349
  tab?: string | undefined;
7965
8350
  location?: "settings" | "top-tab" | undefined;
7966
8351
  order?: number | undefined;
@@ -8008,9 +8393,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8008
8393
  }>;
8009
8394
  }>>;
8010
8395
  ssoBridge: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8011
- ctx: import("@camstack/types").TrpcContext;
8396
+ ctx: TrpcContext;
8012
8397
  meta: object;
8013
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8398
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8014
8399
  transformer: true;
8015
8400
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
8016
8401
  signBridgeToken: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -8092,9 +8477,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8092
8477
  }>;
8093
8478
  }>>;
8094
8479
  storage: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8095
- ctx: import("@camstack/types").TrpcContext;
8480
+ ctx: TrpcContext;
8096
8481
  meta: object;
8097
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8482
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8098
8483
  transformer: true;
8099
8484
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
8100
8485
  resolve: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -8333,9 +8718,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8333
8718
  }>;
8334
8719
  }>>;
8335
8720
  storageProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8336
- ctx: import("@camstack/types").TrpcContext;
8721
+ ctx: TrpcContext;
8337
8722
  meta: object;
8338
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8723
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8339
8724
  transformer: true;
8340
8725
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
8341
8726
  getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -8585,9 +8970,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8585
8970
  }>;
8586
8971
  }>>;
8587
8972
  streamBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8588
- ctx: import("@camstack/types").TrpcContext;
8973
+ ctx: TrpcContext;
8589
8974
  meta: object;
8590
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
8975
+ errorShape: import("@camstack/types").AugmentedErrorShape;
8591
8976
  transformer: true;
8592
8977
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
8593
8978
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -8603,7 +8988,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8603
8988
  description?: string | undefined;
8604
8989
  style?: "card" | "accordion" | undefined;
8605
8990
  defaultCollapsed?: boolean | undefined;
8606
- columns?: 1 | 2 | 3 | 4 | undefined;
8991
+ columns?: 1 | 3 | 2 | 4 | undefined;
8607
8992
  tab?: string | undefined;
8608
8993
  location?: "settings" | "top-tab" | undefined;
8609
8994
  order?: number | undefined;
@@ -8630,7 +9015,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
8630
9015
  description?: string | undefined;
8631
9016
  style?: "card" | "accordion" | undefined;
8632
9017
  defaultCollapsed?: boolean | undefined;
8633
- columns?: 1 | 2 | 3 | 4 | undefined;
9018
+ columns?: 1 | 3 | 2 | 4 | undefined;
8634
9019
  tab?: string | undefined;
8635
9020
  location?: "settings" | "top-tab" | undefined;
8636
9021
  order?: number | undefined;
@@ -9049,10 +9434,39 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9049
9434
  meta: object;
9050
9435
  }>;
9051
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
+ }>>;
9052
9466
  streamParams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9053
- ctx: import("@camstack/types").TrpcContext;
9467
+ ctx: TrpcContext;
9054
9468
  meta: object;
9055
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9469
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9056
9470
  transformer: true;
9057
9471
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9058
9472
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -9156,9 +9570,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9156
9570
  }>;
9157
9571
  }>>;
9158
9572
  switch: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9159
- ctx: import("@camstack/types").TrpcContext;
9573
+ ctx: TrpcContext;
9160
9574
  meta: object;
9161
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9575
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9162
9576
  transformer: true;
9163
9577
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9164
9578
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -9180,9 +9594,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9180
9594
  }>;
9181
9595
  }>>;
9182
9596
  turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9183
- ctx: import("@camstack/types").TrpcContext;
9597
+ ctx: TrpcContext;
9184
9598
  meta: object;
9185
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9599
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9186
9600
  transformer: true;
9187
9601
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9188
9602
  getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -9199,9 +9613,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9199
9613
  }>;
9200
9614
  }>>;
9201
9615
  userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9202
- ctx: import("@camstack/types").TrpcContext;
9616
+ ctx: TrpcContext;
9203
9617
  meta: object;
9204
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9618
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9205
9619
  transformer: true;
9206
9620
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9207
9621
  listUsers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -9785,9 +10199,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9785
10199
  }>;
9786
10200
  }>>;
9787
10201
  userPasskeys: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9788
- ctx: import("@camstack/types").TrpcContext;
10202
+ ctx: TrpcContext;
9789
10203
  meta: object;
9790
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10204
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9791
10205
  transformer: true;
9792
10206
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9793
10207
  beginRegistration: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -9861,123 +10275,10 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
9861
10275
  meta: object;
9862
10276
  }>;
9863
10277
  }>>;
9864
- webrtcSession: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9865
- ctx: import("@camstack/types").TrpcContext;
9866
- meta: object;
9867
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
9868
- transformer: true;
9869
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9870
- listStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
9871
- input: {
9872
- [x: string]: unknown;
9873
- deviceId: number;
9874
- };
9875
- output: {
9876
- id: string;
9877
- label: string;
9878
- target: {
9879
- kind: "adaptive";
9880
- } | {
9881
- kind: "profile";
9882
- profile: "high" | "low" | "mid";
9883
- } | {
9884
- kind: "cam-stream";
9885
- camStreamId: string;
9886
- };
9887
- codec: string | null;
9888
- resolution: {
9889
- width: number;
9890
- height: number;
9891
- } | null;
9892
- status: "error" | "streaming" | "idle" | "connecting" | "stopped" | null;
9893
- inputFps: number | null;
9894
- decodeFps: number | null;
9895
- bitrateKbps: number | null;
9896
- }[];
9897
- meta: object;
9898
- }>;
9899
- createSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
9900
- input: {
9901
- [x: string]: unknown;
9902
- deviceId: number;
9903
- target: {
9904
- kind: "adaptive";
9905
- } | {
9906
- kind: "profile";
9907
- profile: "high" | "low" | "mid";
9908
- } | {
9909
- kind: "cam-stream";
9910
- camStreamId: string;
9911
- };
9912
- hints?: {
9913
- viewportWidth?: number | undefined;
9914
- viewportHeight?: number | undefined;
9915
- devicePixelRatio?: number | undefined;
9916
- downlinkMbps?: number | undefined;
9917
- prefersTier?: string | undefined;
9918
- } | undefined;
9919
- };
9920
- output: {
9921
- sessionId: string;
9922
- sdpOffer: string;
9923
- };
9924
- meta: object;
9925
- }>;
9926
- handleOffer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
9927
- input: {
9928
- [x: string]: unknown;
9929
- deviceId: number;
9930
- sdpOffer: string;
9931
- target?: {
9932
- kind: "adaptive";
9933
- } | {
9934
- kind: "profile";
9935
- profile: "high" | "low" | "mid";
9936
- } | {
9937
- kind: "cam-stream";
9938
- camStreamId: string;
9939
- } | undefined;
9940
- sessionId?: string | undefined;
9941
- };
9942
- output: {
9943
- sessionId: string;
9944
- sdpAnswer: string;
9945
- };
9946
- meta: object;
9947
- }>;
9948
- handleAnswer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
9949
- input: {
9950
- [x: string]: unknown;
9951
- deviceId: number;
9952
- sessionId: string;
9953
- sdpAnswer: string;
9954
- };
9955
- output: void;
9956
- meta: object;
9957
- }>;
9958
- closeSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
9959
- input: {
9960
- [x: string]: unknown;
9961
- deviceId: number;
9962
- sessionId: string;
9963
- };
9964
- output: void;
9965
- meta: object;
9966
- }>;
9967
- hasAdaptiveBitrate: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
9968
- input: {
9969
- [x: string]: unknown;
9970
- deviceId: number;
9971
- profile: "high" | "low" | "mid";
9972
- };
9973
- output: boolean;
9974
- meta: object;
9975
- }>;
9976
- }>>;
9977
10278
  zoneAnalytics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
9978
- ctx: import("@camstack/types").TrpcContext;
10279
+ ctx: TrpcContext;
9979
10280
  meta: object;
9980
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10281
+ errorShape: import("@camstack/types").AugmentedErrorShape;
9981
10282
  transformer: true;
9982
10283
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
9983
10284
  getCurrentSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10055,9 +10356,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10055
10356
  }>;
10056
10357
  }>>;
10057
10358
  zoneRules: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10058
- ctx: import("@camstack/types").TrpcContext;
10359
+ ctx: TrpcContext;
10059
10360
  meta: object;
10060
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10361
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10061
10362
  transformer: true;
10062
10363
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10063
10364
  listRules: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10101,9 +10402,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10101
10402
  }>;
10102
10403
  }>>;
10103
10404
  zones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10104
- ctx: import("@camstack/types").TrpcContext;
10405
+ ctx: TrpcContext;
10105
10406
  meta: object;
10106
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10407
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10107
10408
  transformer: true;
10108
10409
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10109
10410
  listZones: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10171,9 +10472,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10171
10472
  }>>;
10172
10473
  }>> & import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10173
10474
  notifications: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10174
- ctx: import("@camstack/types").TrpcContext;
10475
+ ctx: TrpcContext;
10175
10476
  meta: object;
10176
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10477
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10177
10478
  transformer: true;
10178
10479
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10179
10480
  listOutputs: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10210,9 +10511,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10210
10511
  }>;
10211
10512
  }>>;
10212
10513
  addonSettingsRaw: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10213
- ctx: import("@camstack/types").TrpcContext;
10514
+ ctx: TrpcContext;
10214
10515
  meta: object;
10215
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10516
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10216
10517
  transformer: true;
10217
10518
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10218
10519
  getGlobal: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10265,9 +10566,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10265
10566
  }>;
10266
10567
  }>>;
10267
10568
  settingsBackend: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10268
- ctx: import("@camstack/types").TrpcContext;
10569
+ ctx: TrpcContext;
10269
10570
  meta: object;
10270
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10571
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10271
10572
  transformer: true;
10272
10573
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10273
10574
  get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10379,9 +10680,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10379
10680
  }>;
10380
10681
  }>>;
10381
10682
  eventBusProxy: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10382
- ctx: import("@camstack/types").TrpcContext;
10683
+ ctx: TrpcContext;
10383
10684
  meta: object;
10384
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10685
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10385
10686
  transformer: true;
10386
10687
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10387
10688
  emit: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -10402,9 +10703,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10402
10703
  }>;
10403
10704
  }>>;
10404
10705
  repl: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10405
- ctx: import("@camstack/types").TrpcContext;
10706
+ ctx: TrpcContext;
10406
10707
  meta: object;
10407
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10708
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10408
10709
  transformer: true;
10409
10710
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10410
10711
  execute: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -10451,9 +10752,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10451
10752
  }>;
10452
10753
  }>>;
10453
10754
  systemEvents: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10454
- ctx: import("@camstack/types").TrpcContext;
10755
+ ctx: TrpcContext;
10455
10756
  meta: object;
10456
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10757
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10457
10758
  transformer: true;
10458
10759
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10459
10760
  getRecent: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10499,9 +10800,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10499
10800
  }>;
10500
10801
  }>>;
10501
10802
  capabilities: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10502
- ctx: import("@camstack/types").TrpcContext;
10803
+ ctx: TrpcContext;
10503
10804
  meta: object;
10504
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10805
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10505
10806
  transformer: true;
10506
10807
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10507
10808
  listCapabilities: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10520,6 +10821,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10520
10821
  input: {
10521
10822
  capability: string;
10522
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;
10523
10833
  };
10524
10834
  output: void;
10525
10835
  meta: object;
@@ -10575,9 +10885,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10575
10885
  }>;
10576
10886
  }>>;
10577
10887
  logs: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10578
- ctx: import("@camstack/types").TrpcContext;
10888
+ ctx: TrpcContext;
10579
10889
  meta: object;
10580
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10890
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10581
10891
  transformer: true;
10582
10892
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10583
10893
  query: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10653,9 +10963,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10653
10963
  }>;
10654
10964
  }>>;
10655
10965
  live: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10656
- ctx: import("@camstack/types").TrpcContext;
10966
+ ctx: TrpcContext;
10657
10967
  meta: object;
10658
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
10968
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10659
10969
  transformer: true;
10660
10970
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10661
10971
  recentSystemEvents: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10691,9 +11001,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10691
11001
  }>;
10692
11002
  }>>;
10693
11003
  streamProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10694
- ctx: import("@camstack/types").TrpcContext;
11004
+ ctx: TrpcContext;
10695
11005
  meta: object;
10696
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11006
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10697
11007
  transformer: true;
10698
11008
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10699
11009
  probe: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -10725,9 +11035,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10725
11035
  }>;
10726
11036
  }>>;
10727
11037
  hwaccel: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10728
- ctx: import("@camstack/types").TrpcContext;
11038
+ ctx: TrpcContext;
10729
11039
  meta: object;
10730
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11040
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10731
11041
  transformer: true;
10732
11042
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10733
11043
  resolve: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10764,9 +11074,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10764
11074
  }>;
10765
11075
  }>>;
10766
11076
  auth: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10767
- ctx: import("@camstack/types").TrpcContext;
11077
+ ctx: TrpcContext;
10768
11078
  meta: object;
10769
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11079
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10770
11080
  transformer: true;
10771
11081
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10772
11082
  login: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -10878,9 +11188,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10878
11188
  }>;
10879
11189
  }>>;
10880
11190
  networkQuality: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10881
- ctx: import("@camstack/types").TrpcContext;
11191
+ ctx: TrpcContext;
10882
11192
  meta: object;
10883
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11193
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10884
11194
  transformer: true;
10885
11195
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10886
11196
  getDeviceStats: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -10941,9 +11251,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
10941
11251
  }>;
10942
11252
  }>>;
10943
11253
  system: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
10944
- ctx: import("@camstack/types").TrpcContext;
11254
+ ctx: TrpcContext;
10945
11255
  meta: object;
10946
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11256
+ errorShape: import("@camstack/types").AugmentedErrorShape;
10947
11257
  transformer: true;
10948
11258
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
10949
11259
  info: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -11023,9 +11333,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11023
11333
  }>;
11024
11334
  }>>;
11025
11335
  toast: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11026
- ctx: import("@camstack/types").TrpcContext;
11336
+ ctx: TrpcContext;
11027
11337
  meta: object;
11028
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11338
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11029
11339
  transformer: true;
11030
11340
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11031
11341
  onToast: import("@trpc/server/unstable-core-do-not-import").SubscriptionProcedure<{
@@ -11035,9 +11345,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11035
11345
  }>;
11036
11346
  }>>;
11037
11347
  integrations: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11038
- ctx: import("@camstack/types").TrpcContext;
11348
+ ctx: TrpcContext;
11039
11349
  meta: object;
11040
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11350
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11041
11351
  transformer: true;
11042
11352
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11043
11353
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -11193,9 +11503,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11193
11503
  }>;
11194
11504
  }>>;
11195
11505
  nodes: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11196
- ctx: import("@camstack/types").TrpcContext;
11506
+ ctx: TrpcContext;
11197
11507
  meta: object;
11198
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11508
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11199
11509
  transformer: true;
11200
11510
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11201
11511
  topology: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -11238,6 +11548,17 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11238
11548
  }[];
11239
11549
  groupId?: string | undefined;
11240
11550
  }[];
11551
+ categories: readonly {
11552
+ category: string;
11553
+ total: number;
11554
+ healthy: number;
11555
+ addons: readonly {
11556
+ id: string;
11557
+ status: string;
11558
+ cpuPercent: number;
11559
+ memoryRss: number;
11560
+ }[];
11561
+ }[];
11241
11562
  }[];
11242
11563
  meta: object;
11243
11564
  }>;
@@ -11386,9 +11707,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11386
11707
  }>;
11387
11708
  }>>;
11388
11709
  addons: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11389
- ctx: import("@camstack/types").TrpcContext;
11710
+ ctx: TrpcContext;
11390
11711
  meta: object;
11391
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11712
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11392
11713
  transformer: true;
11393
11714
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11394
11715
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -11537,6 +11858,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11537
11858
  latestVersion: string;
11538
11859
  category: "addon" | "core";
11539
11860
  requiresRestart: boolean;
11861
+ isSystem: boolean;
11540
11862
  }[];
11541
11863
  meta: object;
11542
11864
  }>;
@@ -11581,7 +11903,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11581
11903
  nodeId?: string | undefined;
11582
11904
  } | undefined;
11583
11905
  output: {
11584
- kind: "system" | "manual" | "framework-update";
11906
+ kind: "system" | "manual" | "framework-update" | "framework-bulk-update";
11585
11907
  requestedAt: number;
11586
11908
  packageName?: string | undefined;
11587
11909
  fromVersion?: string | undefined;
@@ -11632,6 +11954,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11632
11954
  [x: string]: unknown;
11633
11955
  packageName: string;
11634
11956
  version?: string | undefined;
11957
+ deferRestart?: boolean | undefined;
11635
11958
  };
11636
11959
  output: {
11637
11960
  packageName: string;
@@ -11641,6 +11964,89 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11641
11964
  };
11642
11965
  meta: object;
11643
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
+ }>;
11644
12050
  getVersions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
11645
12051
  input: {
11646
12052
  [x: string]: unknown;
@@ -11738,9 +12144,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
11738
12144
  }>;
11739
12145
  }>>;
11740
12146
  pipelineExecutor: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
11741
- ctx: import("@camstack/types").TrpcContext;
12147
+ ctx: TrpcContext;
11742
12148
  meta: object;
11743
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12149
+ errorShape: import("@camstack/types").AugmentedErrorShape;
11744
12150
  transformer: true;
11745
12151
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
11746
12152
  getAvailableEngines: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -12268,9 +12674,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12268
12674
  }>;
12269
12675
  }>>;
12270
12676
  pipelineRunner: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12271
- ctx: import("@camstack/types").TrpcContext;
12677
+ ctx: TrpcContext;
12272
12678
  meta: object;
12273
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12679
+ errorShape: import("@camstack/types").AugmentedErrorShape;
12274
12680
  transformer: true;
12275
12681
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12276
12682
  attachCamera: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -12313,6 +12719,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12313
12719
  kind?: "polygon" | "tripwire" | undefined;
12314
12720
  color?: string | undefined;
12315
12721
  }[] | undefined;
12722
+ onboardMotionDrivesAnalyzer?: boolean | undefined;
12316
12723
  };
12317
12724
  output: {
12318
12725
  success: true;
@@ -12424,9 +12831,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12424
12831
  }>;
12425
12832
  }>>;
12426
12833
  pipelineOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
12427
- ctx: import("@camstack/types").TrpcContext;
12834
+ ctx: TrpcContext;
12428
12835
  meta: object;
12429
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
12836
+ errorShape: import("@camstack/types").AugmentedErrorShape;
12430
12837
  transformer: true;
12431
12838
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
12432
12839
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -12442,7 +12849,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12442
12849
  description?: string | undefined;
12443
12850
  style?: "card" | "accordion" | undefined;
12444
12851
  defaultCollapsed?: boolean | undefined;
12445
- columns?: 1 | 2 | 3 | 4 | undefined;
12852
+ columns?: 1 | 3 | 2 | 4 | undefined;
12446
12853
  tab?: string | undefined;
12447
12854
  location?: "settings" | "top-tab" | undefined;
12448
12855
  order?: number | undefined;
@@ -12469,7 +12876,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
12469
12876
  description?: string | undefined;
12470
12877
  style?: "card" | "accordion" | undefined;
12471
12878
  defaultCollapsed?: boolean | undefined;
12472
- columns?: 1 | 2 | 3 | 4 | undefined;
12879
+ columns?: 1 | 3 | 2 | 4 | undefined;
12473
12880
  tab?: string | undefined;
12474
12881
  location?: "settings" | "top-tab" | undefined;
12475
12882
  order?: number | undefined;
@@ -13046,16 +13453,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13046
13453
  }>;
13047
13454
  }>>;
13048
13455
  audioAnalyzer: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13049
- ctx: import("@camstack/types").TrpcContext;
13456
+ ctx: TrpcContext;
13050
13457
  meta: object;
13051
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13458
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13052
13459
  transformer: true;
13053
13460
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13054
13461
  analyseChunk: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
13055
13462
  input: {
13056
13463
  [x: string]: unknown;
13057
13464
  chunk: {
13058
- data: Float32Array<ArrayBuffer>;
13465
+ data: Uint8Array<ArrayBuffer>;
13059
13466
  sampleRate: number;
13060
13467
  channels: number;
13061
13468
  timestamp: number;
@@ -13086,7 +13493,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13086
13493
  classify: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
13087
13494
  input: {
13088
13495
  [x: string]: unknown;
13089
- data: Float32Array<ArrayBuffer>;
13496
+ data: Uint8Array<ArrayBuffer>;
13090
13497
  sampleRate: number;
13091
13498
  channels: number;
13092
13499
  timestamp: number;
@@ -13132,9 +13539,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13132
13539
  }>;
13133
13540
  }>>;
13134
13541
  audioCodec: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13135
- ctx: import("@camstack/types").TrpcContext;
13542
+ ctx: TrpcContext;
13136
13543
  meta: object;
13137
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13544
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13138
13545
  transformer: true;
13139
13546
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13140
13547
  listSupportedCodecs: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13295,9 +13702,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13295
13702
  }>;
13296
13703
  }>>;
13297
13704
  decoder: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13298
- ctx: import("@camstack/types").TrpcContext;
13705
+ ctx: TrpcContext;
13299
13706
  meta: object;
13300
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13707
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13301
13708
  transformer: true;
13302
13709
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13303
13710
  supportsCodec: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13504,9 +13911,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13504
13911
  }>;
13505
13912
  }>>;
13506
13913
  platformProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13507
- ctx: import("@camstack/types").TrpcContext;
13914
+ ctx: TrpcContext;
13508
13915
  meta: object;
13509
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
13916
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13510
13917
  transformer: true;
13511
13918
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13512
13919
  getCapabilities: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13641,9 +14048,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13641
14048
  }>;
13642
14049
  }>>;
13643
14050
  localNetwork: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13644
- ctx: import("@camstack/types").TrpcContext;
14051
+ ctx: TrpcContext;
13645
14052
  meta: object;
13646
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14053
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13647
14054
  transformer: true;
13648
14055
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13649
14056
  list: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13738,9 +14145,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13738
14145
  }>;
13739
14146
  }>>;
13740
14147
  snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13741
- ctx: import("@camstack/types").TrpcContext;
14148
+ ctx: TrpcContext;
13742
14149
  meta: object;
13743
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14150
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13744
14151
  transformer: true;
13745
14152
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13746
14153
  supportsDevice: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13764,13 +14171,138 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13764
14171
  meta: object;
13765
14172
  }>;
13766
14173
  }>>;
13767
- accessories: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13768
- ctx: import("@camstack/types").TrpcContext;
14174
+ webrtcSession: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14175
+ ctx: TrpcContext;
13769
14176
  meta: object;
13770
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14177
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13771
14178
  transformer: true;
13772
14179
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13773
- getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
14180
+ listStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
14181
+ input: {
14182
+ [x: string]: unknown;
14183
+ deviceId: number;
14184
+ };
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<{
13774
14306
  input: {
13775
14307
  [x: string]: unknown;
13776
14308
  deviceId: number;
@@ -13780,9 +14312,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13780
14312
  }>;
13781
14313
  }>>;
13782
14314
  addonPages: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13783
- ctx: import("@camstack/types").TrpcContext;
14315
+ ctx: TrpcContext;
13784
14316
  meta: object;
13785
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14317
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13786
14318
  transformer: true;
13787
14319
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13788
14320
  listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13805,9 +14337,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13805
14337
  }>;
13806
14338
  }>>;
13807
14339
  addonPagesSource: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13808
- ctx: import("@camstack/types").TrpcContext;
14340
+ ctx: TrpcContext;
13809
14341
  meta: object;
13810
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14342
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13811
14343
  transformer: true;
13812
14344
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13813
14345
  listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13827,9 +14359,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13827
14359
  }>;
13828
14360
  }>>;
13829
14361
  addonSettings: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13830
- ctx: import("@camstack/types").TrpcContext;
14362
+ ctx: TrpcContext;
13831
14363
  meta: object;
13832
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14364
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13833
14365
  transformer: true;
13834
14366
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13835
14367
  getGlobalSettings: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13838,6 +14370,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13838
14370
  addonId: string;
13839
14371
  nodeId?: string | undefined;
13840
14372
  overlay?: Record<string, unknown> | undefined;
14373
+ cap?: string | undefined;
13841
14374
  };
13842
14375
  output: {
13843
14376
  sections: {
@@ -13847,7 +14380,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13847
14380
  description?: string | undefined;
13848
14381
  style?: "card" | "accordion" | undefined;
13849
14382
  defaultCollapsed?: boolean | undefined;
13850
- columns?: 1 | 2 | 3 | 4 | undefined;
14383
+ columns?: 1 | 3 | 2 | 4 | undefined;
13851
14384
  tab?: string | undefined;
13852
14385
  location?: "settings" | "top-tab" | undefined;
13853
14386
  order?: number | undefined;
@@ -13888,7 +14421,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13888
14421
  description?: string | undefined;
13889
14422
  style?: "card" | "accordion" | undefined;
13890
14423
  defaultCollapsed?: boolean | undefined;
13891
- columns?: 1 | 2 | 3 | 4 | undefined;
14424
+ columns?: 1 | 3 | 2 | 4 | undefined;
13892
14425
  tab?: string | undefined;
13893
14426
  location?: "settings" | "top-tab" | undefined;
13894
14427
  order?: number | undefined;
@@ -13917,9 +14450,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13917
14450
  }>;
13918
14451
  }>>;
13919
14452
  addonWidgets: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13920
- ctx: import("@camstack/types").TrpcContext;
14453
+ ctx: TrpcContext;
13921
14454
  meta: object;
13922
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14455
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13923
14456
  transformer: true;
13924
14457
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13925
14458
  listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13957,9 +14490,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13957
14490
  }>;
13958
14491
  }>>;
13959
14492
  addonWidgetsSource: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13960
- ctx: import("@camstack/types").TrpcContext;
14493
+ ctx: TrpcContext;
13961
14494
  meta: object;
13962
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14495
+ errorShape: import("@camstack/types").AugmentedErrorShape;
13963
14496
  transformer: true;
13964
14497
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13965
14498
  listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -13996,9 +14529,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
13996
14529
  }>;
13997
14530
  }>>;
13998
14531
  adminUi: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
13999
- ctx: import("@camstack/types").TrpcContext;
14532
+ ctx: TrpcContext;
14000
14533
  meta: object;
14001
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14534
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14002
14535
  transformer: true;
14003
14536
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14004
14537
  getStaticDir: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14021,9 +14554,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14021
14554
  }>;
14022
14555
  }>>;
14023
14556
  advancedNotifier: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14024
- ctx: import("@camstack/types").TrpcContext;
14557
+ ctx: TrpcContext;
14025
14558
  meta: object;
14026
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14559
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14027
14560
  transformer: true;
14028
14561
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14029
14562
  getRules: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14152,9 +14685,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14152
14685
  }>;
14153
14686
  }>>;
14154
14687
  alerts: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14155
- ctx: import("@camstack/types").TrpcContext;
14688
+ ctx: TrpcContext;
14156
14689
  meta: object;
14157
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14690
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14158
14691
  transformer: true;
14159
14692
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14160
14693
  emit: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -14165,7 +14698,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14165
14698
  severity: "success" | "error" | "info" | "warning";
14166
14699
  title: string;
14167
14700
  message: string;
14168
- status: "failed" | "active" | "in-progress" | "completed" | "dismissed";
14701
+ status: "failed" | "completed" | "active" | "in-progress" | "dismissed";
14169
14702
  read: boolean;
14170
14703
  createdAt: number;
14171
14704
  updatedAt: number;
@@ -14189,7 +14722,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14189
14722
  severity?: "success" | "error" | "info" | "warning" | undefined;
14190
14723
  title?: string | undefined;
14191
14724
  message?: string | undefined;
14192
- status?: "failed" | "active" | "in-progress" | "completed" | "dismissed" | undefined;
14725
+ status?: "failed" | "completed" | "active" | "in-progress" | "dismissed" | undefined;
14193
14726
  progress?: number | undefined;
14194
14727
  read?: boolean | undefined;
14195
14728
  createdAt?: number | undefined;
@@ -14215,7 +14748,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14215
14748
  severity: "success" | "error" | "info" | "warning";
14216
14749
  title: string;
14217
14750
  message: string;
14218
- status: "failed" | "active" | "in-progress" | "completed" | "dismissed";
14751
+ status: "failed" | "completed" | "active" | "in-progress" | "dismissed";
14219
14752
  read: boolean;
14220
14753
  createdAt: number;
14221
14754
  updatedAt: number;
@@ -14260,9 +14793,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14260
14793
  }>;
14261
14794
  }>>;
14262
14795
  audioAnalysis: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14263
- ctx: import("@camstack/types").TrpcContext;
14796
+ ctx: TrpcContext;
14264
14797
  meta: object;
14265
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14798
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14266
14799
  transformer: true;
14267
14800
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14268
14801
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14278,7 +14811,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14278
14811
  description?: string | undefined;
14279
14812
  style?: "card" | "accordion" | undefined;
14280
14813
  defaultCollapsed?: boolean | undefined;
14281
- columns?: 1 | 2 | 3 | 4 | undefined;
14814
+ columns?: 1 | 3 | 2 | 4 | undefined;
14282
14815
  tab?: string | undefined;
14283
14816
  location?: "settings" | "top-tab" | undefined;
14284
14817
  order?: number | undefined;
@@ -14305,7 +14838,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14305
14838
  description?: string | undefined;
14306
14839
  style?: "card" | "accordion" | undefined;
14307
14840
  defaultCollapsed?: boolean | undefined;
14308
- columns?: 1 | 2 | 3 | 4 | undefined;
14841
+ columns?: 1 | 3 | 2 | 4 | undefined;
14309
14842
  tab?: string | undefined;
14310
14843
  location?: "settings" | "top-tab" | undefined;
14311
14844
  order?: number | undefined;
@@ -14340,9 +14873,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14340
14873
  }>;
14341
14874
  }>>;
14342
14875
  audioMetrics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14343
- ctx: import("@camstack/types").TrpcContext;
14876
+ ctx: TrpcContext;
14344
14877
  meta: object;
14345
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14878
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14346
14879
  transformer: true;
14347
14880
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14348
14881
  getCurrentSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14396,9 +14929,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14396
14929
  }>;
14397
14930
  }>>;
14398
14931
  backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14399
- ctx: import("@camstack/types").TrpcContext;
14932
+ ctx: TrpcContext;
14400
14933
  meta: object;
14401
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
14934
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14402
14935
  transformer: true;
14403
14936
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14404
14937
  listDestinations: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14550,9 +15083,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14550
15083
  }>;
14551
15084
  }>>;
14552
15085
  battery: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14553
- ctx: import("@camstack/types").TrpcContext;
15086
+ ctx: TrpcContext;
14554
15087
  meta: object;
14555
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15088
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14556
15089
  transformer: true;
14557
15090
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14558
15091
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14565,9 +15098,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14565
15098
  }>;
14566
15099
  }>>;
14567
15100
  brightness: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14568
- ctx: import("@camstack/types").TrpcContext;
15101
+ ctx: TrpcContext;
14569
15102
  meta: object;
14570
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15103
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14571
15104
  transformer: true;
14572
15105
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14573
15106
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14589,9 +15122,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14589
15122
  }>;
14590
15123
  }>>;
14591
15124
  cameraCredentials: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14592
- ctx: import("@camstack/types").TrpcContext;
15125
+ ctx: TrpcContext;
14593
15126
  meta: object;
14594
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15127
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14595
15128
  transformer: true;
14596
15129
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14597
15130
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14620,10 +15153,82 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14620
15153
  meta: object;
14621
15154
  }>;
14622
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
+ }>>;
14623
15228
  cameraStreams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14624
- ctx: import("@camstack/types").TrpcContext;
15229
+ ctx: TrpcContext;
14625
15230
  meta: object;
14626
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15231
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14627
15232
  transformer: true;
14628
15233
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14629
15234
  getCameraStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14686,9 +15291,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14686
15291
  }>;
14687
15292
  }>>;
14688
15293
  detectionPipeline: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14689
- ctx: import("@camstack/types").TrpcContext;
15294
+ ctx: TrpcContext;
14690
15295
  meta: object;
14691
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15296
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14692
15297
  transformer: true;
14693
15298
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14694
15299
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14704,7 +15309,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14704
15309
  description?: string | undefined;
14705
15310
  style?: "card" | "accordion" | undefined;
14706
15311
  defaultCollapsed?: boolean | undefined;
14707
- columns?: 1 | 2 | 3 | 4 | undefined;
15312
+ columns?: 1 | 3 | 2 | 4 | undefined;
14708
15313
  tab?: string | undefined;
14709
15314
  location?: "settings" | "top-tab" | undefined;
14710
15315
  order?: number | undefined;
@@ -14731,7 +15336,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14731
15336
  description?: string | undefined;
14732
15337
  style?: "card" | "accordion" | undefined;
14733
15338
  defaultCollapsed?: boolean | undefined;
14734
- columns?: 1 | 2 | 3 | 4 | undefined;
15339
+ columns?: 1 | 3 | 2 | 4 | undefined;
14735
15340
  tab?: string | undefined;
14736
15341
  location?: "settings" | "top-tab" | undefined;
14737
15342
  order?: number | undefined;
@@ -14758,9 +15363,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14758
15363
  }>;
14759
15364
  }>>;
14760
15365
  deviceDiscovery: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14761
- ctx: import("@camstack/types").TrpcContext;
15366
+ ctx: TrpcContext;
14762
15367
  meta: object;
14763
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15368
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14764
15369
  transformer: true;
14765
15370
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14766
15371
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14843,9 +15448,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14843
15448
  }>;
14844
15449
  }>>;
14845
15450
  deviceExport: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14846
- ctx: import("@camstack/types").TrpcContext;
15451
+ ctx: TrpcContext;
14847
15452
  meta: object;
14848
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15453
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14849
15454
  transformer: true;
14850
15455
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14851
15456
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -14869,7 +15474,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14869
15474
  description?: string | undefined;
14870
15475
  style?: "card" | "accordion" | undefined;
14871
15476
  defaultCollapsed?: boolean | undefined;
14872
- columns?: 1 | 2 | 3 | 4 | undefined;
15477
+ columns?: 1 | 3 | 2 | 4 | undefined;
14873
15478
  tab?: string | undefined;
14874
15479
  location?: "settings" | "top-tab" | undefined;
14875
15480
  order?: number | undefined;
@@ -14896,7 +15501,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14896
15501
  description?: string | undefined;
14897
15502
  style?: "card" | "accordion" | undefined;
14898
15503
  defaultCollapsed?: boolean | undefined;
14899
- columns?: 1 | 2 | 3 | 4 | undefined;
15504
+ columns?: 1 | 3 | 2 | 4 | undefined;
14900
15505
  tab?: string | undefined;
14901
15506
  location?: "settings" | "top-tab" | undefined;
14902
15507
  order?: number | undefined;
@@ -14960,9 +15565,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
14960
15565
  }>;
14961
15566
  }>>;
14962
15567
  deviceManager: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14963
- ctx: import("@camstack/types").TrpcContext;
15568
+ ctx: TrpcContext;
14964
15569
  meta: object;
14965
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
15570
+ errorShape: import("@camstack/types").AugmentedErrorShape;
14966
15571
  transformer: true;
14967
15572
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
14968
15573
  allocateDeviceId: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -15383,7 +15988,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15383
15988
  description?: string | undefined;
15384
15989
  style?: "card" | "accordion" | undefined;
15385
15990
  defaultCollapsed?: boolean | undefined;
15386
- columns?: 1 | 2 | 3 | 4 | undefined;
15991
+ columns?: 1 | 3 | 2 | 4 | undefined;
15387
15992
  tab?: string | undefined;
15388
15993
  location?: "settings" | "top-tab" | undefined;
15389
15994
  order?: number | undefined;
@@ -15410,7 +16015,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15410
16015
  description?: string | undefined;
15411
16016
  style?: "card" | "accordion" | undefined;
15412
16017
  defaultCollapsed?: boolean | undefined;
15413
- columns?: 1 | 2 | 3 | 4 | undefined;
16018
+ columns?: 1 | 3 | 2 | 4 | undefined;
15414
16019
  tab?: string | undefined;
15415
16020
  location?: "settings" | "top-tab" | undefined;
15416
16021
  order?: number | undefined;
@@ -15438,7 +16043,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15438
16043
  description?: string | undefined;
15439
16044
  style?: "card" | "accordion" | undefined;
15440
16045
  defaultCollapsed?: boolean | undefined;
15441
- columns?: 1 | 2 | 3 | 4 | undefined;
16046
+ columns?: 1 | 3 | 2 | 4 | undefined;
15442
16047
  tab?: string | undefined;
15443
16048
  location?: "settings" | "top-tab" | undefined;
15444
16049
  order?: number | undefined;
@@ -15458,7 +16063,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15458
16063
  description?: string | undefined;
15459
16064
  style?: "card" | "accordion" | undefined;
15460
16065
  defaultCollapsed?: boolean | undefined;
15461
- columns?: 1 | 2 | 3 | 4 | undefined;
16066
+ columns?: 1 | 3 | 2 | 4 | undefined;
15462
16067
  tab?: string | undefined;
15463
16068
  location?: "settings" | "top-tab" | undefined;
15464
16069
  order?: number | undefined;
@@ -15615,9 +16220,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15615
16220
  }>;
15616
16221
  }>>;
15617
16222
  deviceOps: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15618
- ctx: import("@camstack/types").TrpcContext;
16223
+ ctx: TrpcContext;
15619
16224
  meta: object;
15620
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16225
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15621
16226
  transformer: true;
15622
16227
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15623
16228
  getStreamSources: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15680,9 +16285,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15680
16285
  }>;
15681
16286
  }>>;
15682
16287
  deviceProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15683
- ctx: import("@camstack/types").TrpcContext;
16288
+ ctx: TrpcContext;
15684
16289
  meta: object;
15685
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16290
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15686
16291
  transformer: true;
15687
16292
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15688
16293
  start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -15814,9 +16419,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15814
16419
  }>;
15815
16420
  }>>;
15816
16421
  deviceState: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15817
- ctx: import("@camstack/types").TrpcContext;
16422
+ ctx: TrpcContext;
15818
16423
  meta: object;
15819
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16424
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15820
16425
  transformer: true;
15821
16426
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15822
16427
  getSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15855,9 +16460,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15855
16460
  }>;
15856
16461
  }>>;
15857
16462
  deviceStatus: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15858
- ctx: import("@camstack/types").TrpcContext;
16463
+ ctx: TrpcContext;
15859
16464
  meta: object;
15860
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16465
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15861
16466
  transformer: true;
15862
16467
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15863
16468
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15870,9 +16475,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15870
16475
  }>;
15871
16476
  }>>;
15872
16477
  doorbell: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15873
- ctx: import("@camstack/types").TrpcContext;
16478
+ ctx: TrpcContext;
15874
16479
  meta: object;
15875
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16480
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15876
16481
  transformer: true;
15877
16482
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15878
16483
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15885,9 +16490,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15885
16490
  }>;
15886
16491
  }>>;
15887
16492
  embeddingEncoder: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15888
- ctx: import("@camstack/types").TrpcContext;
16493
+ ctx: TrpcContext;
15889
16494
  meta: object;
15890
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16495
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15891
16496
  transformer: true;
15892
16497
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15893
16498
  encode: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15928,9 +16533,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15928
16533
  }>;
15929
16534
  }>>;
15930
16535
  events: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15931
- ctx: import("@camstack/types").TrpcContext;
16536
+ ctx: TrpcContext;
15932
16537
  meta: object;
15933
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16538
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15934
16539
  transformer: true;
15935
16540
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15936
16541
  getEvents: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15975,9 +16580,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15975
16580
  }>;
15976
16581
  }>>;
15977
16582
  featureProbe: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15978
- ctx: import("@camstack/types").TrpcContext;
16583
+ ctx: TrpcContext;
15979
16584
  meta: object;
15980
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16585
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15981
16586
  transformer: true;
15982
16587
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15983
16588
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -15990,9 +16595,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
15990
16595
  }>;
15991
16596
  }>>;
15992
16597
  intercom: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
15993
- ctx: import("@camstack/types").TrpcContext;
16598
+ ctx: TrpcContext;
15994
16599
  meta: object;
15995
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16600
+ errorShape: import("@camstack/types").AugmentedErrorShape;
15996
16601
  transformer: true;
15997
16602
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
15998
16603
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16065,9 +16670,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16065
16670
  }>;
16066
16671
  }>>;
16067
16672
  meshNetwork: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16068
- ctx: import("@camstack/types").TrpcContext;
16673
+ ctx: TrpcContext;
16069
16674
  meta: object;
16070
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16675
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16071
16676
  transformer: true;
16072
16677
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16073
16678
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16163,9 +16768,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16163
16768
  }>;
16164
16769
  }>>;
16165
16770
  metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16166
- ctx: import("@camstack/types").TrpcContext;
16771
+ ctx: TrpcContext;
16167
16772
  meta: object;
16168
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
16773
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16169
16774
  transformer: true;
16170
16775
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16171
16776
  collectSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16478,9 +17083,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16478
17083
  }>;
16479
17084
  }>>;
16480
17085
  motion: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16481
- ctx: import("@camstack/types").TrpcContext;
17086
+ ctx: TrpcContext;
16482
17087
  meta: object;
16483
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17088
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16484
17089
  transformer: true;
16485
17090
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16486
17091
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16501,9 +17106,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16501
17106
  }>;
16502
17107
  }>>;
16503
17108
  motionDetection: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16504
- ctx: import("@camstack/types").TrpcContext;
17109
+ ctx: TrpcContext;
16505
17110
  meta: object;
16506
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17111
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16507
17112
  transformer: true;
16508
17113
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16509
17114
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16519,7 +17124,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16519
17124
  description?: string | undefined;
16520
17125
  style?: "card" | "accordion" | undefined;
16521
17126
  defaultCollapsed?: boolean | undefined;
16522
- columns?: 1 | 2 | 3 | 4 | undefined;
17127
+ columns?: 1 | 3 | 2 | 4 | undefined;
16523
17128
  tab?: string | undefined;
16524
17129
  location?: "settings" | "top-tab" | undefined;
16525
17130
  order?: number | undefined;
@@ -16546,7 +17151,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16546
17151
  description?: string | undefined;
16547
17152
  style?: "card" | "accordion" | undefined;
16548
17153
  defaultCollapsed?: boolean | undefined;
16549
- columns?: 1 | 2 | 3 | 4 | undefined;
17154
+ columns?: 1 | 3 | 2 | 4 | undefined;
16550
17155
  tab?: string | undefined;
16551
17156
  location?: "settings" | "top-tab" | undefined;
16552
17157
  order?: number | undefined;
@@ -16629,9 +17234,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16629
17234
  }>;
16630
17235
  }>>;
16631
17236
  motionTrigger: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16632
- ctx: import("@camstack/types").TrpcContext;
17237
+ ctx: TrpcContext;
16633
17238
  meta: object;
16634
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17239
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16635
17240
  transformer: true;
16636
17241
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16637
17242
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16653,9 +17258,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16653
17258
  }>;
16654
17259
  }>>;
16655
17260
  motionZones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16656
- ctx: import("@camstack/types").TrpcContext;
17261
+ ctx: TrpcContext;
16657
17262
  meta: object;
16658
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17263
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16659
17264
  transformer: true;
16660
17265
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16661
17266
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16672,8 +17277,12 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16672
17277
  deviceId: number;
16673
17278
  };
16674
17279
  output: {
16675
- gridWidth: number;
16676
- gridHeight: number;
17280
+ maxRegions: number;
17281
+ supportedShapes: ("grid" | "polygon" | "rect" | "line")[];
17282
+ grid: {
17283
+ width: number;
17284
+ height: number;
17285
+ };
16677
17286
  sensitivity: {
16678
17287
  min: number;
16679
17288
  max: number;
@@ -16689,7 +17298,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16689
17298
  patch: {
16690
17299
  enabled?: boolean | undefined;
16691
17300
  sensitivity?: number | undefined;
16692
- 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;
16693
17311
  };
16694
17312
  };
16695
17313
  output: void;
@@ -16697,9 +17315,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16697
17315
  }>;
16698
17316
  }>>;
16699
17317
  mqttBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16700
- ctx: import("@camstack/types").TrpcContext;
17318
+ ctx: TrpcContext;
16701
17319
  meta: object;
16702
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17320
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16703
17321
  transformer: true;
16704
17322
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16705
17323
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16720,7 +17338,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16720
17338
  name: string;
16721
17339
  url: string;
16722
17340
  kind: "external" | "embedded";
16723
- status: "connected" | "disconnected" | "auth-failed" | "unreachable" | "tls-error";
17341
+ status: "connected" | "unreachable" | "disconnected" | "auth-failed" | "tls-error";
16724
17342
  latencyMs: number | null;
16725
17343
  error?: string | undefined;
16726
17344
  connectedClients?: number | undefined;
@@ -16801,9 +17419,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16801
17419
  }>;
16802
17420
  }>>;
16803
17421
  nativeObjectDetection: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16804
- ctx: import("@camstack/types").TrpcContext;
17422
+ ctx: TrpcContext;
16805
17423
  meta: object;
16806
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17424
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16807
17425
  transformer: true;
16808
17426
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16809
17427
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16814,11 +17432,20 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16814
17432
  output: unknown;
16815
17433
  meta: object;
16816
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
+ }>;
16817
17444
  }>>;
16818
17445
  networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16819
- ctx: import("@camstack/types").TrpcContext;
17446
+ ctx: TrpcContext;
16820
17447
  meta: object;
16821
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17448
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16822
17449
  transformer: true;
16823
17450
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16824
17451
  start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -16882,9 +17509,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16882
17509
  }>;
16883
17510
  }>>;
16884
17511
  notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16885
- ctx: import("@camstack/types").TrpcContext;
17512
+ ctx: TrpcContext;
16886
17513
  meta: object;
16887
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17514
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16888
17515
  transformer: true;
16889
17516
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16890
17517
  send: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -16914,9 +17541,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16914
17541
  }>;
16915
17542
  }>>;
16916
17543
  oauthIntegration: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16917
- ctx: import("@camstack/types").TrpcContext;
17544
+ ctx: TrpcContext;
16918
17545
  meta: object;
16919
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17546
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16920
17547
  transformer: true;
16921
17548
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16922
17549
  getDescriptor: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16945,14 +17572,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16945
17572
  access: ("delete" | "create" | "view")[];
16946
17573
  })[];
16947
17574
  allowedRedirectPrefixes: string[];
17575
+ hubUrl?: string | undefined;
16948
17576
  };
16949
17577
  meta: object;
16950
17578
  }>;
16951
17579
  }>>;
16952
17580
  osd: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16953
- ctx: import("@camstack/types").TrpcContext;
17581
+ ctx: TrpcContext;
16954
17582
  meta: object;
16955
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17583
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16956
17584
  transformer: true;
16957
17585
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16958
17586
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16979,9 +17607,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16979
17607
  }>;
16980
17608
  }>>;
16981
17609
  pipelineAnalytics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
16982
- ctx: import("@camstack/types").TrpcContext;
17610
+ ctx: TrpcContext;
16983
17611
  meta: object;
16984
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17612
+ errorShape: import("@camstack/types").AugmentedErrorShape;
16985
17613
  transformer: true;
16986
17614
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
16987
17615
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -16997,7 +17625,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
16997
17625
  description?: string | undefined;
16998
17626
  style?: "card" | "accordion" | undefined;
16999
17627
  defaultCollapsed?: boolean | undefined;
17000
- columns?: 1 | 2 | 3 | 4 | undefined;
17628
+ columns?: 1 | 3 | 2 | 4 | undefined;
17001
17629
  tab?: string | undefined;
17002
17630
  location?: "settings" | "top-tab" | undefined;
17003
17631
  order?: number | undefined;
@@ -17024,7 +17652,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17024
17652
  description?: string | undefined;
17025
17653
  style?: "card" | "accordion" | undefined;
17026
17654
  defaultCollapsed?: boolean | undefined;
17027
- columns?: 1 | 2 | 3 | 4 | undefined;
17655
+ columns?: 1 | 3 | 2 | 4 | undefined;
17028
17656
  tab?: string | undefined;
17029
17657
  location?: "settings" | "top-tab" | undefined;
17030
17658
  order?: number | undefined;
@@ -17307,10 +17935,68 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17307
17935
  meta: object;
17308
17936
  }>;
17309
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
+ }>>;
17310
17996
  ptz: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17311
- ctx: import("@camstack/types").TrpcContext;
17997
+ ctx: TrpcContext;
17312
17998
  meta: object;
17313
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17999
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17314
18000
  transformer: true;
17315
18001
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17316
18002
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17438,9 +18124,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17438
18124
  }>;
17439
18125
  }>>;
17440
18126
  ptzAutotrack: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17441
- ctx: import("@camstack/types").TrpcContext;
18127
+ ctx: TrpcContext;
17442
18128
  meta: object;
17443
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18129
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17444
18130
  transformer: true;
17445
18131
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17446
18132
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17487,9 +18173,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17487
18173
  }>;
17488
18174
  }>>;
17489
18175
  reboot: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17490
- ctx: import("@camstack/types").TrpcContext;
18176
+ ctx: TrpcContext;
17491
18177
  meta: object;
17492
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18178
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17493
18179
  transformer: true;
17494
18180
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17495
18181
  reboot: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -17504,9 +18190,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17504
18190
  }>;
17505
18191
  }>>;
17506
18192
  recording: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17507
- ctx: import("@camstack/types").TrpcContext;
18193
+ ctx: TrpcContext;
17508
18194
  meta: object;
17509
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18195
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17510
18196
  transformer: true;
17511
18197
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17512
18198
  getSegments: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17548,9 +18234,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17548
18234
  }>;
17549
18235
  }>>;
17550
18236
  recordingEngine: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17551
- ctx: import("@camstack/types").TrpcContext;
18237
+ ctx: TrpcContext;
17552
18238
  meta: object;
17553
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18239
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17554
18240
  transformer: true;
17555
18241
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17556
18242
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -17889,9 +18575,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
17889
18575
  }>;
17890
18576
  }>>;
17891
18577
  settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
17892
- ctx: import("@camstack/types").TrpcContext;
18578
+ ctx: TrpcContext;
17893
18579
  meta: object;
17894
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18580
+ errorShape: import("@camstack/types").AugmentedErrorShape;
17895
18581
  transformer: true;
17896
18582
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
17897
18583
  get: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18024,9 +18710,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18024
18710
  }>;
18025
18711
  }>>;
18026
18712
  smtpProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18027
- ctx: import("@camstack/types").TrpcContext;
18713
+ ctx: TrpcContext;
18028
18714
  meta: object;
18029
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18715
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18030
18716
  transformer: true;
18031
18717
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18032
18718
  sendEmail: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -18071,9 +18757,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18071
18757
  }>;
18072
18758
  }>>;
18073
18759
  snapshot: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18074
- ctx: import("@camstack/types").TrpcContext;
18760
+ ctx: TrpcContext;
18075
18761
  meta: object;
18076
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18762
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18077
18763
  transformer: true;
18078
18764
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18079
18765
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18097,7 +18783,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18097
18783
  description?: string | undefined;
18098
18784
  style?: "card" | "accordion" | undefined;
18099
18785
  defaultCollapsed?: boolean | undefined;
18100
- columns?: 1 | 2 | 3 | 4 | undefined;
18786
+ columns?: 1 | 3 | 2 | 4 | undefined;
18101
18787
  tab?: string | undefined;
18102
18788
  location?: "settings" | "top-tab" | undefined;
18103
18789
  order?: number | undefined;
@@ -18124,7 +18810,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18124
18810
  description?: string | undefined;
18125
18811
  style?: "card" | "accordion" | undefined;
18126
18812
  defaultCollapsed?: boolean | undefined;
18127
- columns?: 1 | 2 | 3 | 4 | undefined;
18813
+ columns?: 1 | 3 | 2 | 4 | undefined;
18128
18814
  tab?: string | undefined;
18129
18815
  location?: "settings" | "top-tab" | undefined;
18130
18816
  order?: number | undefined;
@@ -18172,9 +18858,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18172
18858
  }>;
18173
18859
  }>>;
18174
18860
  ssoBridge: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18175
- ctx: import("@camstack/types").TrpcContext;
18861
+ ctx: TrpcContext;
18176
18862
  meta: object;
18177
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18863
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18178
18864
  transformer: true;
18179
18865
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18180
18866
  signBridgeToken: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18256,9 +18942,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18256
18942
  }>;
18257
18943
  }>>;
18258
18944
  storage: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18259
- ctx: import("@camstack/types").TrpcContext;
18945
+ ctx: TrpcContext;
18260
18946
  meta: object;
18261
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
18947
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18262
18948
  transformer: true;
18263
18949
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18264
18950
  resolve: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18497,9 +19183,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18497
19183
  }>;
18498
19184
  }>>;
18499
19185
  storageProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18500
- ctx: import("@camstack/types").TrpcContext;
19186
+ ctx: TrpcContext;
18501
19187
  meta: object;
18502
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
19188
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18503
19189
  transformer: true;
18504
19190
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18505
19191
  getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18749,9 +19435,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18749
19435
  }>;
18750
19436
  }>>;
18751
19437
  streamBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
18752
- ctx: import("@camstack/types").TrpcContext;
19438
+ ctx: TrpcContext;
18753
19439
  meta: object;
18754
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
19440
+ errorShape: import("@camstack/types").AugmentedErrorShape;
18755
19441
  transformer: true;
18756
19442
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
18757
19443
  getDeviceSettingsContribution: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -18767,7 +19453,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18767
19453
  description?: string | undefined;
18768
19454
  style?: "card" | "accordion" | undefined;
18769
19455
  defaultCollapsed?: boolean | undefined;
18770
- columns?: 1 | 2 | 3 | 4 | undefined;
19456
+ columns?: 1 | 3 | 2 | 4 | undefined;
18771
19457
  tab?: string | undefined;
18772
19458
  location?: "settings" | "top-tab" | undefined;
18773
19459
  order?: number | undefined;
@@ -18794,7 +19480,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
18794
19480
  description?: string | undefined;
18795
19481
  style?: "card" | "accordion" | undefined;
18796
19482
  defaultCollapsed?: boolean | undefined;
18797
- columns?: 1 | 2 | 3 | 4 | undefined;
19483
+ columns?: 1 | 3 | 2 | 4 | undefined;
18798
19484
  tab?: string | undefined;
18799
19485
  location?: "settings" | "top-tab" | undefined;
18800
19486
  order?: number | undefined;
@@ -19213,10 +19899,39 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19213
19899
  meta: object;
19214
19900
  }>;
19215
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
+ }>>;
19216
19931
  streamParams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19217
- ctx: import("@camstack/types").TrpcContext;
19932
+ ctx: TrpcContext;
19218
19933
  meta: object;
19219
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
19934
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19220
19935
  transformer: true;
19221
19936
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19222
19937
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -19320,9 +20035,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19320
20035
  }>;
19321
20036
  }>>;
19322
20037
  switch: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19323
- ctx: import("@camstack/types").TrpcContext;
20038
+ ctx: TrpcContext;
19324
20039
  meta: object;
19325
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20040
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19326
20041
  transformer: true;
19327
20042
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19328
20043
  getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -19344,9 +20059,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19344
20059
  }>;
19345
20060
  }>>;
19346
20061
  turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19347
- ctx: import("@camstack/types").TrpcContext;
20062
+ ctx: TrpcContext;
19348
20063
  meta: object;
19349
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20064
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19350
20065
  transformer: true;
19351
20066
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19352
20067
  getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -19363,9 +20078,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19363
20078
  }>;
19364
20079
  }>>;
19365
20080
  userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19366
- ctx: import("@camstack/types").TrpcContext;
20081
+ ctx: TrpcContext;
19367
20082
  meta: object;
19368
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20083
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19369
20084
  transformer: true;
19370
20085
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19371
20086
  listUsers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -19949,9 +20664,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
19949
20664
  }>;
19950
20665
  }>>;
19951
20666
  userPasskeys: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
19952
- ctx: import("@camstack/types").TrpcContext;
20667
+ ctx: TrpcContext;
19953
20668
  meta: object;
19954
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20669
+ errorShape: import("@camstack/types").AugmentedErrorShape;
19955
20670
  transformer: true;
19956
20671
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
19957
20672
  beginRegistration: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
@@ -20025,123 +20740,10 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
20025
20740
  meta: object;
20026
20741
  }>;
20027
20742
  }>>;
20028
- webrtcSession: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
20029
- ctx: import("@camstack/types").TrpcContext;
20030
- meta: object;
20031
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20032
- transformer: true;
20033
- }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
20034
- listStreams: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
20035
- input: {
20036
- [x: string]: unknown;
20037
- deviceId: number;
20038
- };
20039
- output: {
20040
- id: string;
20041
- label: string;
20042
- target: {
20043
- kind: "adaptive";
20044
- } | {
20045
- kind: "profile";
20046
- profile: "high" | "low" | "mid";
20047
- } | {
20048
- kind: "cam-stream";
20049
- camStreamId: string;
20050
- };
20051
- codec: string | null;
20052
- resolution: {
20053
- width: number;
20054
- height: number;
20055
- } | null;
20056
- status: "error" | "streaming" | "idle" | "connecting" | "stopped" | null;
20057
- inputFps: number | null;
20058
- decodeFps: number | null;
20059
- bitrateKbps: number | null;
20060
- }[];
20061
- meta: object;
20062
- }>;
20063
- createSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
20064
- input: {
20065
- [x: string]: unknown;
20066
- deviceId: number;
20067
- target: {
20068
- kind: "adaptive";
20069
- } | {
20070
- kind: "profile";
20071
- profile: "high" | "low" | "mid";
20072
- } | {
20073
- kind: "cam-stream";
20074
- camStreamId: string;
20075
- };
20076
- hints?: {
20077
- viewportWidth?: number | undefined;
20078
- viewportHeight?: number | undefined;
20079
- devicePixelRatio?: number | undefined;
20080
- downlinkMbps?: number | undefined;
20081
- prefersTier?: string | undefined;
20082
- } | undefined;
20083
- };
20084
- output: {
20085
- sessionId: string;
20086
- sdpOffer: string;
20087
- };
20088
- meta: object;
20089
- }>;
20090
- handleOffer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
20091
- input: {
20092
- [x: string]: unknown;
20093
- deviceId: number;
20094
- sdpOffer: string;
20095
- target?: {
20096
- kind: "adaptive";
20097
- } | {
20098
- kind: "profile";
20099
- profile: "high" | "low" | "mid";
20100
- } | {
20101
- kind: "cam-stream";
20102
- camStreamId: string;
20103
- } | undefined;
20104
- sessionId?: string | undefined;
20105
- };
20106
- output: {
20107
- sessionId: string;
20108
- sdpAnswer: string;
20109
- };
20110
- meta: object;
20111
- }>;
20112
- handleAnswer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
20113
- input: {
20114
- [x: string]: unknown;
20115
- deviceId: number;
20116
- sessionId: string;
20117
- sdpAnswer: string;
20118
- };
20119
- output: void;
20120
- meta: object;
20121
- }>;
20122
- closeSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
20123
- input: {
20124
- [x: string]: unknown;
20125
- deviceId: number;
20126
- sessionId: string;
20127
- };
20128
- output: void;
20129
- meta: object;
20130
- }>;
20131
- hasAdaptiveBitrate: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
20132
- input: {
20133
- [x: string]: unknown;
20134
- deviceId: number;
20135
- profile: "high" | "low" | "mid";
20136
- };
20137
- output: boolean;
20138
- meta: object;
20139
- }>;
20140
- }>>;
20141
20743
  zoneAnalytics: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
20142
- ctx: import("@camstack/types").TrpcContext;
20744
+ ctx: TrpcContext;
20143
20745
  meta: object;
20144
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20746
+ errorShape: import("@camstack/types").AugmentedErrorShape;
20145
20747
  transformer: true;
20146
20748
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
20147
20749
  getCurrentSnapshot: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -20219,9 +20821,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
20219
20821
  }>;
20220
20822
  }>>;
20221
20823
  zoneRules: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
20222
- ctx: import("@camstack/types").TrpcContext;
20824
+ ctx: TrpcContext;
20223
20825
  meta: object;
20224
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20826
+ errorShape: import("@camstack/types").AugmentedErrorShape;
20225
20827
  transformer: true;
20226
20828
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
20227
20829
  listRules: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
@@ -20265,9 +20867,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
20265
20867
  }>;
20266
20868
  }>>;
20267
20869
  zones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
20268
- ctx: import("@camstack/types").TrpcContext;
20870
+ ctx: TrpcContext;
20269
20871
  meta: object;
20270
- errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
20872
+ errorShape: import("@camstack/types").AugmentedErrorShape;
20271
20873
  transformer: true;
20272
20874
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
20273
20875
  listZones: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{