@camstack/types 1.2.271 → 1.2.273

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 (43) hide show
  1. package/dist/addon.js +2 -4
  2. package/dist/addon.mjs +2 -4
  3. package/dist/capabilities/control.cap.d.ts +4 -4
  4. package/dist/capabilities/core-blocks.cap.d.ts +1 -1
  5. package/dist/capabilities/device-discovery.cap.d.ts +1 -1
  6. package/dist/capabilities/device-extension.cap.d.ts +8 -8
  7. package/dist/capabilities/index.d.ts +2 -2
  8. package/dist/capabilities/integrations.cap.d.ts +3 -3
  9. package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
  10. package/dist/capabilities/llm.cap.d.ts +4 -4
  11. package/dist/capabilities/motion.cap.d.ts +12 -0
  12. package/dist/capabilities/notification-rules.cap.d.ts +9 -9
  13. package/dist/capabilities/osd-manager.cap.d.ts +10 -10
  14. package/dist/capabilities/pet-feeder.cap.d.ts +4 -4
  15. package/dist/capabilities/pipeline-analytics.cap.d.ts +22 -199
  16. package/dist/capabilities/pipeline-executor.cap.d.ts +2 -2
  17. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +156 -6
  18. package/dist/capabilities/pipeline-runner.cap.d.ts +9 -0
  19. package/dist/capabilities/recording-archive.cap.d.ts +4 -4
  20. package/dist/capabilities/recording-export.cap.d.ts +7 -7
  21. package/dist/capabilities/recording-onboard.cap.d.ts +5 -5
  22. package/dist/capabilities/recording.cap.d.ts +5 -5
  23. package/dist/capabilities/snapshot.cap.d.ts +2 -2
  24. package/dist/capabilities/storage-provider.cap.d.ts +11 -11
  25. package/dist/capabilities/storage.cap.d.ts +3 -3
  26. package/dist/capabilities/stream-broker.cap.d.ts +1 -1
  27. package/dist/capabilities/videoclips.cap.d.ts +3 -3
  28. package/dist/capabilities/zone-analytics.cap.d.ts +2 -2
  29. package/dist/composition/composition-report.d.ts +3 -3
  30. package/dist/generated/addon-api.d.ts +0 -21
  31. package/dist/generated/cap-input-defaults.d.ts +1 -1
  32. package/dist/generated/method-access-map.d.ts +1 -1
  33. package/dist/generated/method-device-selectors.d.ts +1 -1
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.js +182 -195
  36. package/dist/index.mjs +168 -193
  37. package/dist/interfaces/storage-location-mode.d.ts +1 -1
  38. package/dist/interfaces/storage-location.d.ts +1 -1
  39. package/dist/media/media-owner-key.d.ts +6 -2
  40. package/dist/pipeline/camera-sensors.d.ts +146 -0
  41. package/dist/{sleep-DlrgY4Qb.mjs → sleep-C-v96WpE.mjs} +0 -3
  42. package/dist/{sleep-DYGSsCgK.js → sleep-WOeeZ4FU.js} +0 -3
  43. package/package.json +1 -1
@@ -86,8 +86,8 @@ export declare const EventKindCategorySchema: z.ZodEnum<{
86
86
  export type EventKindCategory = z.infer<typeof EventKindCategorySchema>;
87
87
  /** Taxonomy level — macro (timeline lane) vs sub (events-page leaf). */
88
88
  export declare const EventKindLevelSchema: z.ZodEnum<{
89
- macro: "macro";
90
89
  sub: "sub";
90
+ macro: "macro";
91
91
  }>;
92
92
  export type EventKindLevel = z.infer<typeof EventKindLevelSchema>;
93
93
  declare const EventKindDescriptorSchema: z.ZodObject<{
@@ -121,8 +121,8 @@ declare const EventKindDescriptorSchema: z.ZodObject<{
121
121
  }>;
122
122
  parentKind: z.ZodNullable<z.ZodString>;
123
123
  level: z.ZodEnum<{
124
- macro: "macro";
125
124
  sub: "sub";
125
+ macro: "macro";
126
126
  }>;
127
127
  source: z.ZodObject<{
128
128
  capName: z.ZodString;
@@ -164,8 +164,8 @@ declare const EventKindsForDeviceSchema: z.ZodObject<{
164
164
  }>;
165
165
  parentKind: z.ZodNullable<z.ZodString>;
166
166
  level: z.ZodEnum<{
167
- macro: "macro";
168
167
  sub: "sub";
168
+ macro: "macro";
169
169
  }>;
170
170
  source: z.ZodObject<{
171
171
  capName: z.ZodString;
@@ -556,6 +556,12 @@ declare const MotionEventSchema: z.ZodObject<{
556
556
  frameWidth: z.ZodOptional<z.ZodNumber>;
557
557
  frameHeight: z.ZodOptional<z.ZodNumber>;
558
558
  mediaUrl: z.ZodOptional<z.ZodString>;
559
+ triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
560
+ kind: z.ZodLiteral<"camera">;
561
+ }, z.core.$strip>, z.ZodObject<{
562
+ kind: z.ZodLiteral<"sensor">;
563
+ deviceId: z.ZodNumber;
564
+ }, z.core.$strip>], "kind">>;
559
565
  durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
560
566
  edges: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
561
567
  id: z.ZodNumber;
@@ -891,9 +897,9 @@ declare const MediaFileInfoSchema: z.ZodObject<{
891
897
  sceneFrame: "sceneFrame";
892
898
  lastSceneFrame: "lastSceneFrame";
893
899
  }>;
900
+ url: z.ZodString;
894
901
  mediaId: z.ZodNumber;
895
902
  sizeBytes: z.ZodNumber;
896
- url: z.ZodString;
897
903
  }, z.core.$strip>;
898
904
  export type MediaFileInfo = z.infer<typeof MediaFileInfoSchema>;
899
905
  /**
@@ -1267,116 +1273,6 @@ declare const RecentTracksQueryInput: z.ZodObject<{
1267
1273
  }>>>;
1268
1274
  }, z.core.$strip>;
1269
1275
  export type RecentTracksQuery = z.infer<typeof RecentTracksQueryInput>;
1270
- /**
1271
- * A Summary (D359): the per-camera session envelope that references tracks.
1272
- * `groupShotMediaId` is the media ROW id of its group shot (`ownerKind:
1273
- * 'summary'`, served by the event-media plane at `/m/<id>`), null until the
1274
- * first frame with a member visible has been materialised (D482 — it was the
1275
- * row's composite key, which embedded the owner and could name another table's
1276
- * row once event ids became per-table rowids).
1277
- */
1278
- export declare const SummarySchema: z.ZodObject<{
1279
- id: z.ZodString;
1280
- deviceId: z.ZodNumber;
1281
- openedAt: z.ZodNumber;
1282
- lastActiveAt: z.ZodNumber;
1283
- sealedAt: z.ZodNullable<z.ZodNumber>;
1284
- memberCount: z.ZodNumber;
1285
- groupShotMediaId: z.ZodNullable<z.ZodNumber>;
1286
- }, z.core.$strip>;
1287
- export type Summary = z.infer<typeof SummarySchema>;
1288
- export declare const SUMMARIES_MAX_LIMIT = 200;
1289
- export declare const SUMMARIES_DEFAULT_LIMIT = 50;
1290
- /**
1291
- * One member of a group, as a reader needs it.
1292
- *
1293
- * The class and the role travel WITH the id because every consumer that shows
1294
- * a group has to say what it was made of — "two people and a dog" — and asking
1295
- * `getTrack` per member to find that out turns one card into `memberCount`
1296
- * round trips. The member row already holds both (they are written at the
1297
- * join), so this costs the reader nothing.
1298
- */
1299
- declare const SummaryMemberSchema: z.ZodObject<{
1300
- trackId: z.ZodString;
1301
- className: z.ZodNullable<z.ZodString>;
1302
- role: z.ZodNullable<z.ZodEnum<{
1303
- primary: "primary";
1304
- sibling: "sibling";
1305
- child: "child";
1306
- }>>;
1307
- joinedAt: z.ZodNumber;
1308
- label: z.ZodOptional<z.ZodString>;
1309
- subLabel: z.ZodOptional<z.ZodString>;
1310
- }, z.core.$strip>;
1311
- export type SummaryMemberOut = z.infer<typeof SummaryMemberSchema>;
1312
- declare const SummaryDetailSchema: z.ZodObject<{
1313
- summary: z.ZodObject<{
1314
- id: z.ZodString;
1315
- deviceId: z.ZodNumber;
1316
- openedAt: z.ZodNumber;
1317
- lastActiveAt: z.ZodNumber;
1318
- sealedAt: z.ZodNullable<z.ZodNumber>;
1319
- memberCount: z.ZodNumber;
1320
- groupShotMediaId: z.ZodNullable<z.ZodNumber>;
1321
- }, z.core.$strip>;
1322
- members: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1323
- trackId: z.ZodString;
1324
- className: z.ZodNullable<z.ZodString>;
1325
- role: z.ZodNullable<z.ZodEnum<{
1326
- primary: "primary";
1327
- sibling: "sibling";
1328
- child: "child";
1329
- }>>;
1330
- joinedAt: z.ZodNumber;
1331
- label: z.ZodOptional<z.ZodString>;
1332
- subLabel: z.ZodOptional<z.ZodString>;
1333
- }, z.core.$strip>>>;
1334
- }, z.core.$strip>;
1335
- /**
1336
- * What a LIST of groups carries: the envelope plus what it is MADE OF.
1337
- *
1338
- * Coarse on purpose — the operator's rule is "only the rough data on the list,
1339
- * we extend when we notice we need more". Enough to draw the card ("two people
1340
- * and a dog") and no more. The MEMBERS, their names and the per-member links
1341
- * are on {@link getSummary}: shipping every member of every group so a client
1342
- * can count them turns a page of two hundred groups into a thousand records to
1343
- * draw two hundred badges.
1344
- */
1345
- declare const SummaryListItemSchema: z.ZodObject<{
1346
- summary: z.ZodObject<{
1347
- id: z.ZodString;
1348
- deviceId: z.ZodNumber;
1349
- openedAt: z.ZodNumber;
1350
- lastActiveAt: z.ZodNumber;
1351
- sealedAt: z.ZodNullable<z.ZodNumber>;
1352
- memberCount: z.ZodNumber;
1353
- groupShotMediaId: z.ZodNullable<z.ZodNumber>;
1354
- }, z.core.$strip>;
1355
- classes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1356
- className: z.ZodNullable<z.ZodString>;
1357
- count: z.ZodNumber;
1358
- }, z.core.$strip>>>;
1359
- }, z.core.$strip>;
1360
- export type SummaryListItem = z.infer<typeof SummaryListItemSchema>;
1361
- declare const SummariesPageSchema: z.ZodObject<{
1362
- summaries: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1363
- summary: z.ZodObject<{
1364
- id: z.ZodString;
1365
- deviceId: z.ZodNumber;
1366
- openedAt: z.ZodNumber;
1367
- lastActiveAt: z.ZodNumber;
1368
- sealedAt: z.ZodNullable<z.ZodNumber>;
1369
- memberCount: z.ZodNumber;
1370
- groupShotMediaId: z.ZodNullable<z.ZodNumber>;
1371
- }, z.core.$strip>;
1372
- classes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1373
- className: z.ZodNullable<z.ZodString>;
1374
- count: z.ZodNumber;
1375
- }, z.core.$strip>>>;
1376
- }, z.core.$strip>>>;
1377
- }, z.core.$strip>;
1378
- export type SummariesPage = z.infer<typeof SummariesPageSchema>;
1379
- export type SummaryDetail = z.infer<typeof SummaryDetailSchema>;
1380
1276
  declare const RecentTracksPageSchema: z.ZodObject<{
1381
1277
  tracks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1382
1278
  retrainStatus: z.ZodOptional<z.ZodEnum<{
@@ -1617,8 +1513,8 @@ export declare const EVENT_DENSITY_BATCH_MAX = 200;
1617
1513
  export declare const EventDensityForDeviceSchema: z.ZodObject<{
1618
1514
  deviceId: z.ZodNumber;
1619
1515
  read: z.ZodEnum<{
1620
- read: "read";
1621
1516
  unreadable: "unreadable";
1517
+ read: "read";
1622
1518
  }>;
1623
1519
  buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1624
1520
  bucketStart: z.ZodNumber;
@@ -2440,85 +2336,6 @@ export declare const pipelineAnalyticsCapability: {
2440
2336
  }, z.core.$strip>>>;
2441
2337
  nextCursor: z.ZodNullable<z.ZodString>;
2442
2338
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
2443
- /** Newest first by `openedAt`, for a camera set, inside an optional window. */
2444
- readonly listSummaries: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2445
- deviceIds: z.ZodArray<z.ZodNumber>;
2446
- since: z.ZodOptional<z.ZodNumber>;
2447
- until: z.ZodOptional<z.ZodNumber>;
2448
- limit: z.ZodDefault<z.ZodNumber>;
2449
- classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2450
- }, z.core.$strip>, z.ZodObject<{
2451
- summaries: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2452
- summary: z.ZodObject<{
2453
- id: z.ZodString;
2454
- deviceId: z.ZodNumber;
2455
- openedAt: z.ZodNumber;
2456
- lastActiveAt: z.ZodNumber;
2457
- sealedAt: z.ZodNullable<z.ZodNumber>;
2458
- memberCount: z.ZodNumber;
2459
- groupShotMediaId: z.ZodNullable<z.ZodNumber>;
2460
- }, z.core.$strip>;
2461
- classes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2462
- className: z.ZodNullable<z.ZodString>;
2463
- count: z.ZodNumber;
2464
- }, z.core.$strip>>>;
2465
- }, z.core.$strip>>>;
2466
- }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
2467
- /**
2468
- * The PAGED feed — the reel and the Events gallery. Same cursor contract as
2469
- * {@link listRecentTracks}, so one screen cannot hold two ideas of newest.
2470
- */
2471
- readonly listRecentSummaries: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2472
- deviceIds: z.ZodArray<z.ZodNumber>;
2473
- since: z.ZodOptional<z.ZodNumber>;
2474
- until: z.ZodOptional<z.ZodNumber>;
2475
- limit: z.ZodDefault<z.ZodNumber>;
2476
- cursor: z.ZodOptional<z.ZodString>;
2477
- classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2478
- }, z.core.$strip>, z.ZodObject<{
2479
- summaries: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2480
- summary: z.ZodObject<{
2481
- id: z.ZodString;
2482
- deviceId: z.ZodNumber;
2483
- openedAt: z.ZodNumber;
2484
- lastActiveAt: z.ZodNumber;
2485
- sealedAt: z.ZodNullable<z.ZodNumber>;
2486
- memberCount: z.ZodNumber;
2487
- groupShotMediaId: z.ZodNullable<z.ZodNumber>;
2488
- }, z.core.$strip>;
2489
- classes: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2490
- className: z.ZodNullable<z.ZodString>;
2491
- count: z.ZodNumber;
2492
- }, z.core.$strip>>>;
2493
- }, z.core.$strip>>>;
2494
- nextCursor: z.ZodNullable<z.ZodString>;
2495
- }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
2496
- /** One summary with its member track ids; `null` for an id nobody wrote. */
2497
- readonly getSummary: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2498
- id: z.ZodString;
2499
- }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
2500
- summary: z.ZodObject<{
2501
- id: z.ZodString;
2502
- deviceId: z.ZodNumber;
2503
- openedAt: z.ZodNumber;
2504
- lastActiveAt: z.ZodNumber;
2505
- sealedAt: z.ZodNullable<z.ZodNumber>;
2506
- memberCount: z.ZodNumber;
2507
- groupShotMediaId: z.ZodNullable<z.ZodNumber>;
2508
- }, z.core.$strip>;
2509
- members: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2510
- trackId: z.ZodString;
2511
- className: z.ZodNullable<z.ZodString>;
2512
- role: z.ZodNullable<z.ZodEnum<{
2513
- primary: "primary";
2514
- sibling: "sibling";
2515
- child: "child";
2516
- }>>;
2517
- joinedAt: z.ZodNumber;
2518
- label: z.ZodOptional<z.ZodString>;
2519
- subLabel: z.ZodOptional<z.ZodString>;
2520
- }, z.core.$strip>>>;
2521
- }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
2522
2339
  readonly clearTracks: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2523
2340
  deviceId: z.ZodNumber;
2524
2341
  }, z.core.$strip>, z.ZodVoid, "mutation">;
@@ -2547,6 +2364,12 @@ export declare const pipelineAnalyticsCapability: {
2547
2364
  frameWidth: z.ZodOptional<z.ZodNumber>;
2548
2365
  frameHeight: z.ZodOptional<z.ZodNumber>;
2549
2366
  mediaUrl: z.ZodOptional<z.ZodString>;
2367
+ triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2368
+ kind: z.ZodLiteral<"camera">;
2369
+ }, z.core.$strip>, z.ZodObject<{
2370
+ kind: z.ZodLiteral<"sensor">;
2371
+ deviceId: z.ZodNumber;
2372
+ }, z.core.$strip>], "kind">>;
2550
2373
  durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2551
2374
  edges: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
2552
2375
  id: z.ZodNumber;
@@ -2701,8 +2524,8 @@ export declare const pipelineAnalyticsCapability: {
2701
2524
  }>;
2702
2525
  parentKind: z.ZodNullable<z.ZodString>;
2703
2526
  level: z.ZodEnum<{
2704
- macro: "macro";
2705
2527
  sub: "sub";
2528
+ macro: "macro";
2706
2529
  }>;
2707
2530
  source: z.ZodObject<{
2708
2531
  capName: z.ZodString;
@@ -2762,8 +2585,8 @@ export declare const pipelineAnalyticsCapability: {
2762
2585
  }>;
2763
2586
  parentKind: z.ZodNullable<z.ZodString>;
2764
2587
  level: z.ZodEnum<{
2765
- macro: "macro";
2766
2588
  sub: "sub";
2589
+ macro: "macro";
2767
2590
  }>;
2768
2591
  source: z.ZodObject<{
2769
2592
  capName: z.ZodString;
@@ -2973,8 +2796,8 @@ export declare const pipelineAnalyticsCapability: {
2973
2796
  }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
2974
2797
  deviceId: z.ZodNumber;
2975
2798
  read: z.ZodEnum<{
2976
- read: "read";
2977
2799
  unreadable: "unreadable";
2800
+ read: "read";
2978
2801
  }>;
2979
2802
  buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
2980
2803
  bucketStart: z.ZodNumber;
@@ -4210,9 +4033,9 @@ export declare const pipelineAnalyticsCapability: {
4210
4033
  sceneFrame: "sceneFrame";
4211
4034
  lastSceneFrame: "lastSceneFrame";
4212
4035
  }>;
4036
+ url: z.ZodString;
4213
4037
  mediaId: z.ZodNumber;
4214
4038
  sizeBytes: z.ZodNumber;
4215
- url: z.ZodString;
4216
4039
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
4217
4040
  /**
4218
4041
  * What media an EVENT has, without any of it — the twin `getEventMedia`
@@ -4260,9 +4083,9 @@ export declare const pipelineAnalyticsCapability: {
4260
4083
  sceneFrame: "sceneFrame";
4261
4084
  lastSceneFrame: "lastSceneFrame";
4262
4085
  }>;
4086
+ url: z.ZodString;
4263
4087
  mediaId: z.ZodNumber;
4264
4088
  sizeBytes: z.ZodNumber;
4265
- url: z.ZodString;
4266
4089
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
4267
4090
  /**
4268
4091
  * Which of `ownerIds` hold at least ONE media row — an INDEX read, never a
@@ -456,9 +456,9 @@ declare const EngineProvisioningSchema: z.ZodObject<{
456
456
  state: z.ZodEnum<{
457
457
  failed: "failed";
458
458
  verifying: "verifying";
459
+ ready: "ready";
459
460
  idle: "idle";
460
461
  installing: "installing";
461
- ready: "ready";
462
462
  }>;
463
463
  progress: z.ZodOptional<z.ZodNumber>;
464
464
  error: z.ZodOptional<z.ZodString>;
@@ -598,9 +598,9 @@ export declare const pipelineExecutorCapability: {
598
598
  state: z.ZodEnum<{
599
599
  failed: "failed";
600
600
  verifying: "verifying";
601
+ ready: "ready";
601
602
  idle: "idle";
602
603
  installing: "installing";
603
- ready: "ready";
604
604
  }>;
605
605
  progress: z.ZodOptional<z.ZodNumber>;
606
606
  error: z.ZodOptional<z.ZodString>;
@@ -256,18 +256,18 @@ declare const CameraMotionStatusSchema: z.ZodObject<{
256
256
  declare const CameraDetectionProvisioningStateSchema: z.ZodEnum<{
257
257
  failed: "failed";
258
258
  verifying: "verifying";
259
+ ready: "ready";
259
260
  idle: "idle";
260
261
  installing: "installing";
261
- ready: "ready";
262
262
  }>;
263
263
  /** Detection provisioning sub-block. */
264
264
  declare const CameraDetectionProvisioningSchema: z.ZodObject<{
265
265
  state: z.ZodEnum<{
266
266
  failed: "failed";
267
267
  verifying: "verifying";
268
+ ready: "ready";
268
269
  idle: "idle";
269
270
  installing: "installing";
270
- ready: "ready";
271
271
  }>;
272
272
  error: z.ZodOptional<z.ZodString>;
273
273
  }, z.core.$strip>;
@@ -297,9 +297,9 @@ declare const CameraDetectionStatusSchema: z.ZodObject<{
297
297
  state: z.ZodEnum<{
298
298
  failed: "failed";
299
299
  verifying: "verifying";
300
+ ready: "ready";
300
301
  idle: "idle";
301
302
  installing: "installing";
302
- ready: "ready";
303
303
  }>;
304
304
  error: z.ZodOptional<z.ZodString>;
305
305
  }, z.core.$strip>;
@@ -478,9 +478,9 @@ declare const CameraStatusSchema: z.ZodObject<{
478
478
  state: z.ZodEnum<{
479
479
  failed: "failed";
480
480
  verifying: "verifying";
481
+ ready: "ready";
481
482
  idle: "idle";
482
483
  installing: "installing";
483
- ready: "ready";
484
484
  }>;
485
485
  error: z.ZodOptional<z.ZodString>;
486
486
  }, z.core.$strip>;
@@ -510,6 +510,56 @@ declare const CameraStatusSchema: z.ZodObject<{
510
510
  "broker-audio": "broker-audio";
511
511
  "event-saving": "event-saving";
512
512
  }>>>;
513
+ cameraSensors: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
514
+ state: z.ZodLiteral<"not-configured">;
515
+ }, z.core.$strip>, z.ZodObject<{
516
+ state: z.ZodLiteral<"unreadable">;
517
+ reason: z.ZodString;
518
+ }, z.core.$strip>, z.ZodObject<{
519
+ state: z.ZodLiteral<"configured">;
520
+ mode: z.ZodEnum<{
521
+ "in-addition": "in-addition";
522
+ }>;
523
+ sensors: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
524
+ state: z.ZodLiteral<"ready">;
525
+ deviceId: z.ZodNumber;
526
+ name: z.ZodString;
527
+ caps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
528
+ addonId: z.ZodString;
529
+ stableId: z.ZodString;
530
+ }, z.core.$strip>, z.ZodObject<{
531
+ state: z.ZodLiteral<"offline">;
532
+ deviceId: z.ZodNumber;
533
+ name: z.ZodString;
534
+ reason: z.ZodEnum<{
535
+ offline: "offline";
536
+ disabled: "disabled";
537
+ }>;
538
+ addonId: z.ZodString;
539
+ stableId: z.ZodString;
540
+ }, z.core.$strip>, z.ZodObject<{
541
+ state: z.ZodLiteral<"missing">;
542
+ reason: z.ZodString;
543
+ addonId: z.ZodString;
544
+ stableId: z.ZodString;
545
+ }, z.core.$strip>, z.ZodObject<{
546
+ state: z.ZodLiteral<"unsupported">;
547
+ deviceId: z.ZodNumber;
548
+ name: z.ZodString;
549
+ reason: z.ZodString;
550
+ addonId: z.ZodString;
551
+ stableId: z.ZodString;
552
+ }, z.core.$strip>, z.ZodObject<{
553
+ state: z.ZodLiteral<"unreadable">;
554
+ reason: z.ZodString;
555
+ addonId: z.ZodString;
556
+ stableId: z.ZodString;
557
+ }, z.core.$strip>], "state">>>;
558
+ notForwarded: z.ZodOptional<z.ZodEnum<{
559
+ "onboard-not-listed": "onboard-not-listed";
560
+ "no-active-detection": "no-active-detection";
561
+ }>>;
562
+ }, z.core.$strip>], "state">>;
513
563
  degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
514
564
  stage: z.ZodEnum<{
515
565
  recording: "recording";
@@ -1508,9 +1558,9 @@ export declare const pipelineOrchestratorCapability: {
1508
1558
  state: z.ZodEnum<{
1509
1559
  failed: "failed";
1510
1560
  verifying: "verifying";
1561
+ ready: "ready";
1511
1562
  idle: "idle";
1512
1563
  installing: "installing";
1513
- ready: "ready";
1514
1564
  }>;
1515
1565
  error: z.ZodOptional<z.ZodString>;
1516
1566
  }, z.core.$strip>;
@@ -1540,6 +1590,56 @@ export declare const pipelineOrchestratorCapability: {
1540
1590
  "broker-audio": "broker-audio";
1541
1591
  "event-saving": "event-saving";
1542
1592
  }>>>;
1593
+ cameraSensors: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1594
+ state: z.ZodLiteral<"not-configured">;
1595
+ }, z.core.$strip>, z.ZodObject<{
1596
+ state: z.ZodLiteral<"unreadable">;
1597
+ reason: z.ZodString;
1598
+ }, z.core.$strip>, z.ZodObject<{
1599
+ state: z.ZodLiteral<"configured">;
1600
+ mode: z.ZodEnum<{
1601
+ "in-addition": "in-addition";
1602
+ }>;
1603
+ sensors: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1604
+ state: z.ZodLiteral<"ready">;
1605
+ deviceId: z.ZodNumber;
1606
+ name: z.ZodString;
1607
+ caps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1608
+ addonId: z.ZodString;
1609
+ stableId: z.ZodString;
1610
+ }, z.core.$strip>, z.ZodObject<{
1611
+ state: z.ZodLiteral<"offline">;
1612
+ deviceId: z.ZodNumber;
1613
+ name: z.ZodString;
1614
+ reason: z.ZodEnum<{
1615
+ offline: "offline";
1616
+ disabled: "disabled";
1617
+ }>;
1618
+ addonId: z.ZodString;
1619
+ stableId: z.ZodString;
1620
+ }, z.core.$strip>, z.ZodObject<{
1621
+ state: z.ZodLiteral<"missing">;
1622
+ reason: z.ZodString;
1623
+ addonId: z.ZodString;
1624
+ stableId: z.ZodString;
1625
+ }, z.core.$strip>, z.ZodObject<{
1626
+ state: z.ZodLiteral<"unsupported">;
1627
+ deviceId: z.ZodNumber;
1628
+ name: z.ZodString;
1629
+ reason: z.ZodString;
1630
+ addonId: z.ZodString;
1631
+ stableId: z.ZodString;
1632
+ }, z.core.$strip>, z.ZodObject<{
1633
+ state: z.ZodLiteral<"unreadable">;
1634
+ reason: z.ZodString;
1635
+ addonId: z.ZodString;
1636
+ stableId: z.ZodString;
1637
+ }, z.core.$strip>], "state">>>;
1638
+ notForwarded: z.ZodOptional<z.ZodEnum<{
1639
+ "onboard-not-listed": "onboard-not-listed";
1640
+ "no-active-detection": "no-active-detection";
1641
+ }>>;
1642
+ }, z.core.$strip>], "state">>;
1543
1643
  degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1544
1644
  stage: z.ZodEnum<{
1545
1645
  recording: "recording";
@@ -1645,9 +1745,9 @@ export declare const pipelineOrchestratorCapability: {
1645
1745
  state: z.ZodEnum<{
1646
1746
  failed: "failed";
1647
1747
  verifying: "verifying";
1748
+ ready: "ready";
1648
1749
  idle: "idle";
1649
1750
  installing: "installing";
1650
- ready: "ready";
1651
1751
  }>;
1652
1752
  error: z.ZodOptional<z.ZodString>;
1653
1753
  }, z.core.$strip>;
@@ -1677,6 +1777,56 @@ export declare const pipelineOrchestratorCapability: {
1677
1777
  "broker-audio": "broker-audio";
1678
1778
  "event-saving": "event-saving";
1679
1779
  }>>>;
1780
+ cameraSensors: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1781
+ state: z.ZodLiteral<"not-configured">;
1782
+ }, z.core.$strip>, z.ZodObject<{
1783
+ state: z.ZodLiteral<"unreadable">;
1784
+ reason: z.ZodString;
1785
+ }, z.core.$strip>, z.ZodObject<{
1786
+ state: z.ZodLiteral<"configured">;
1787
+ mode: z.ZodEnum<{
1788
+ "in-addition": "in-addition";
1789
+ }>;
1790
+ sensors: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1791
+ state: z.ZodLiteral<"ready">;
1792
+ deviceId: z.ZodNumber;
1793
+ name: z.ZodString;
1794
+ caps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1795
+ addonId: z.ZodString;
1796
+ stableId: z.ZodString;
1797
+ }, z.core.$strip>, z.ZodObject<{
1798
+ state: z.ZodLiteral<"offline">;
1799
+ deviceId: z.ZodNumber;
1800
+ name: z.ZodString;
1801
+ reason: z.ZodEnum<{
1802
+ offline: "offline";
1803
+ disabled: "disabled";
1804
+ }>;
1805
+ addonId: z.ZodString;
1806
+ stableId: z.ZodString;
1807
+ }, z.core.$strip>, z.ZodObject<{
1808
+ state: z.ZodLiteral<"missing">;
1809
+ reason: z.ZodString;
1810
+ addonId: z.ZodString;
1811
+ stableId: z.ZodString;
1812
+ }, z.core.$strip>, z.ZodObject<{
1813
+ state: z.ZodLiteral<"unsupported">;
1814
+ deviceId: z.ZodNumber;
1815
+ name: z.ZodString;
1816
+ reason: z.ZodString;
1817
+ addonId: z.ZodString;
1818
+ stableId: z.ZodString;
1819
+ }, z.core.$strip>, z.ZodObject<{
1820
+ state: z.ZodLiteral<"unreadable">;
1821
+ reason: z.ZodString;
1822
+ addonId: z.ZodString;
1823
+ stableId: z.ZodString;
1824
+ }, z.core.$strip>], "state">>>;
1825
+ notForwarded: z.ZodOptional<z.ZodEnum<{
1826
+ "onboard-not-listed": "onboard-not-listed";
1827
+ "no-active-detection": "no-active-detection";
1828
+ }>>;
1829
+ }, z.core.$strip>], "state">>;
1680
1830
  degraded: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1681
1831
  stage: z.ZodEnum<{
1682
1832
  recording: "recording";
@@ -200,6 +200,15 @@ export declare const MotionSourcesSchema: z.ZodArray<z.ZodEnum<{
200
200
  "device-activity": "device-activity";
201
201
  }>>;
202
202
  export type MotionSources = z.infer<typeof MotionSourcesSchema>;
203
+ /**
204
+ * The operator-facing name of each MOTION source (D672: `onboard` = the
205
+ * camera's sensors — its own motion plus any sensor attached to it). The wire
206
+ * value stays `onboard`; only the label changed. `detectionSources: 'onboard'`
207
+ * ("Camera onboard AI") and the notification source filter keep their labels.
208
+ */
209
+ export declare const MOTION_SOURCE_LABELS: Readonly<Record<MotionSource, string>>;
210
+ /** A value this build does not know (a newer node's) is shown as itself. */
211
+ export declare function motionSourceLabel(value: string): string;
203
212
  /**
204
213
  * Which root detector a camera runs — EXACTLY ONE.
205
214
  *
@@ -95,8 +95,8 @@ export declare const RECORDING_TIMELINE_BATCH_MAX = 200;
95
95
  export declare const RecordingAvailabilityForDeviceSchema: z.ZodObject<{
96
96
  deviceId: z.ZodNumber;
97
97
  read: z.ZodEnum<{
98
- read: "read";
99
98
  unreadable: "unreadable";
99
+ read: "read";
100
100
  }>;
101
101
  ranges: z.ZodReadonly<z.ZodArray<z.ZodObject<{
102
102
  profile: z.ZodString;
@@ -115,8 +115,8 @@ export type RecordingAvailabilityForDevice = z.infer<typeof RecordingAvailabilit
115
115
  export declare const RecordingDaysForDeviceSchema: z.ZodObject<{
116
116
  deviceId: z.ZodNumber;
117
117
  read: z.ZodEnum<{
118
- read: "read";
119
118
  unreadable: "unreadable";
119
+ read: "read";
120
120
  }>;
121
121
  days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
122
122
  }, z.core.$strip>;
@@ -423,8 +423,8 @@ export declare const recordingArchiveCapability: {
423
423
  }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
424
424
  deviceId: z.ZodNumber;
425
425
  read: z.ZodEnum<{
426
- read: "read";
427
426
  unreadable: "unreadable";
427
+ read: "read";
428
428
  }>;
429
429
  ranges: z.ZodReadonly<z.ZodArray<z.ZodObject<{
430
430
  profile: z.ZodString;
@@ -454,8 +454,8 @@ export declare const recordingArchiveCapability: {
454
454
  }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
455
455
  deviceId: z.ZodNumber;
456
456
  read: z.ZodEnum<{
457
- read: "read";
458
457
  unreadable: "unreadable";
458
+ read: "read";
459
459
  }>;
460
460
  days: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
461
461
  }, z.core.$strip>>>, "query">;