@camstack/types 1.2.16 → 1.2.17

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 (59) hide show
  1. package/dist/addon.d.ts +1 -0
  2. package/dist/addon.js +265 -1
  3. package/dist/addon.mjs +264 -2
  4. package/dist/capabilities/addons.cap.d.ts +7 -7
  5. package/dist/capabilities/broker.cap.d.ts +8 -8
  6. package/dist/capabilities/camera-streams.cap.d.ts +5 -5
  7. package/dist/capabilities/climate-control.cap.d.ts +8 -8
  8. package/dist/capabilities/day-night.cap.d.ts +8 -8
  9. package/dist/capabilities/decoder.cap.d.ts +2 -2
  10. package/dist/capabilities/device-manager.cap.d.ts +2 -2
  11. package/dist/capabilities/face-gallery.cap.d.ts +1 -1
  12. package/dist/capabilities/image-settings.cap.d.ts +16 -16
  13. package/dist/capabilities/index.d.ts +1 -1
  14. package/dist/capabilities/intercom.cap.d.ts +6 -6
  15. package/dist/capabilities/lawn-mower-control.cap.d.ts +4 -4
  16. package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
  17. package/dist/capabilities/llm.cap.d.ts +4 -4
  18. package/dist/capabilities/local-network.cap.d.ts +38 -0
  19. package/dist/capabilities/media-player.cap.d.ts +9 -9
  20. package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
  21. package/dist/capabilities/mqtt-broker.cap.d.ts +3 -3
  22. package/dist/capabilities/notification-output.cap.d.ts +4 -0
  23. package/dist/capabilities/notification-rules.cap.d.ts +236 -18
  24. package/dist/capabilities/pipeline-analytics.cap.d.ts +64 -27
  25. package/dist/capabilities/pipeline-executor.cap.d.ts +2 -2
  26. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +15 -15
  27. package/dist/capabilities/pipeline-runner.cap.d.ts +2 -2
  28. package/dist/capabilities/recording-export.cap.d.ts +7 -7
  29. package/dist/capabilities/recording.cap.d.ts +102 -129
  30. package/dist/capabilities/schemas/orchestrator-metrics.d.ts +2 -2
  31. package/dist/capabilities/schemas/streaming-shared.d.ts +4 -4
  32. package/dist/capabilities/storage-provider.cap.d.ts +44 -0
  33. package/dist/capabilities/storage.cap.d.ts +17 -1
  34. package/dist/capabilities/stream-broker.cap.d.ts +58 -12
  35. package/dist/capabilities/webrtc-session.cap.d.ts +6 -6
  36. package/dist/generated/addon-api.d.ts +5351 -30965
  37. package/dist/generated/cap-input-defaults.d.ts +29 -0
  38. package/dist/generated/device-proxy.d.ts +2 -2
  39. package/dist/generated/method-access-map.d.ts +1 -1
  40. package/dist/generated/system-proxy.d.ts +2 -2
  41. package/dist/index.d.ts +2 -1
  42. package/dist/index.js +589 -134
  43. package/dist/index.mjs +580 -131
  44. package/dist/interfaces/addon.d.ts +9 -0
  45. package/dist/interfaces/ops-log.d.ts +2 -0
  46. package/dist/interfaces/recording-config.d.ts +33 -91
  47. package/dist/interfaces/relocate.d.ts +55 -0
  48. package/dist/interfaces/storage-location-declaration.d.ts +1 -1
  49. package/dist/interfaces/storage-location.d.ts +4 -0
  50. package/dist/interfaces/stream-broker.d.ts +1 -1
  51. package/dist/lifecycle/job.d.ts +6 -6
  52. package/dist/node.js +1 -0
  53. package/dist/node.mjs +1 -0
  54. package/dist/notification/condition-taxonomy.d.ts +61 -0
  55. package/dist/notification/format-transcode.d.ts +12 -1
  56. package/dist/{sleep-C3ceNSsf.mjs → sleep-Ct4Is70g.mjs} +6 -0
  57. package/dist/{sleep-DRg9F6JJ.js → sleep-yfPaamGa.js} +6 -0
  58. package/package.json +1 -1
  59. package/dist/interfaces/recording-config-migrate.d.ts +0 -12
@@ -46,9 +46,9 @@ import { type InferProvider } from './capability-definition.js';
46
46
  * one trigger.
47
47
  */
48
48
  export declare const NcDeliverySchema: z.ZodEnum<{
49
+ "device-event": "device-event";
49
50
  immediate: "immediate";
50
51
  "track-end": "track-end";
51
- "device-event": "device-event";
52
52
  "package-event": "package-event";
53
53
  }>;
54
54
  export type NcDelivery = z.infer<typeof NcDeliverySchema>;
@@ -197,6 +197,22 @@ export type NcRuleTarget = z.infer<typeof NcRuleTargetSchema>;
197
197
  * - `keyFrame` — the clean scene frame (no subject box).
198
198
  * - `none` — no attachment.
199
199
  */
200
+ /**
201
+ * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
202
+ * conflate it with the selection strategy and betray the request: asking for
203
+ * the clean scene frame on an object-event owner used to start at
204
+ * `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
205
+ * - `cropped` — the subject, tight. What "who is at the door" wants.
206
+ * - `full` — the clean scene, no annotation. What "what is going on" wants.
207
+ * - `boxed` — the scene WITH the detection boxes drawn, for verifying what
208
+ * the pipeline actually saw.
209
+ */
210
+ export declare const NcMediaFrameSchema: z.ZodEnum<{
211
+ full: "full";
212
+ cropped: "cropped";
213
+ boxed: "boxed";
214
+ }>;
215
+ export type NcMediaFrame = z.infer<typeof NcMediaFrameSchema>;
200
216
  export declare const NcMediaPolicySchema: z.ZodObject<{
201
217
  attach: z.ZodDefault<z.ZodEnum<{
202
218
  none: "none";
@@ -204,6 +220,21 @@ export declare const NcMediaPolicySchema: z.ZodObject<{
204
220
  "best-matching": "best-matching";
205
221
  keyFrame: "keyFrame";
206
222
  }>>;
223
+ frame: z.ZodOptional<z.ZodEnum<{
224
+ full: "full";
225
+ cropped: "cropped";
226
+ boxed: "boxed";
227
+ }>>;
228
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
229
+ gif: z.ZodOptional<z.ZodBoolean>;
230
+ clip: z.ZodOptional<z.ZodBoolean>;
231
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
232
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
233
+ profile: z.ZodOptional<z.ZodEnum<{
234
+ high: "high";
235
+ mid: "mid";
236
+ low: "low";
237
+ }>>;
207
238
  }, z.core.$strip>;
208
239
  export type NcMediaPolicy = z.infer<typeof NcMediaPolicySchema>;
209
240
  /** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
@@ -220,9 +251,9 @@ export declare const NcRuleInputSchema: z.ZodObject<{
220
251
  name: z.ZodString;
221
252
  enabled: z.ZodDefault<z.ZodBoolean>;
222
253
  delivery: z.ZodEnum<{
254
+ "device-event": "device-event";
223
255
  immediate: "immediate";
224
256
  "track-end": "track-end";
225
- "device-event": "device-event";
226
257
  "package-event": "package-event";
227
258
  }>;
228
259
  conditions: z.ZodDefault<z.ZodObject<{
@@ -294,6 +325,7 @@ export declare const NcRuleInputSchema: z.ZodObject<{
294
325
  targetId: z.ZodString;
295
326
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
296
327
  }, z.core.$strip>>;
328
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
297
329
  media: z.ZodDefault<z.ZodObject<{
298
330
  attach: z.ZodDefault<z.ZodEnum<{
299
331
  none: "none";
@@ -301,6 +333,21 @@ export declare const NcRuleInputSchema: z.ZodObject<{
301
333
  "best-matching": "best-matching";
302
334
  keyFrame: "keyFrame";
303
335
  }>>;
336
+ frame: z.ZodOptional<z.ZodEnum<{
337
+ full: "full";
338
+ cropped: "cropped";
339
+ boxed: "boxed";
340
+ }>>;
341
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
342
+ gif: z.ZodOptional<z.ZodBoolean>;
343
+ clip: z.ZodOptional<z.ZodBoolean>;
344
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
345
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
346
+ profile: z.ZodOptional<z.ZodEnum<{
347
+ high: "high";
348
+ mid: "mid";
349
+ low: "low";
350
+ }>>;
304
351
  }, z.core.$strip>>;
305
352
  throttle: z.ZodDefault<z.ZodObject<{
306
353
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -330,9 +377,9 @@ export declare const NcRulePatchSchema: z.ZodObject<{
330
377
  name: z.ZodOptional<z.ZodString>;
331
378
  enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
332
379
  delivery: z.ZodOptional<z.ZodEnum<{
380
+ "device-event": "device-event";
333
381
  immediate: "immediate";
334
382
  "track-end": "track-end";
335
- "device-event": "device-event";
336
383
  "package-event": "package-event";
337
384
  }>>;
338
385
  conditions: z.ZodOptional<z.ZodDefault<z.ZodObject<{
@@ -404,6 +451,7 @@ export declare const NcRulePatchSchema: z.ZodObject<{
404
451
  targetId: z.ZodString;
405
452
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
406
453
  }, z.core.$strip>>>;
454
+ targetUsers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
407
455
  media: z.ZodOptional<z.ZodDefault<z.ZodObject<{
408
456
  attach: z.ZodDefault<z.ZodEnum<{
409
457
  none: "none";
@@ -411,6 +459,21 @@ export declare const NcRulePatchSchema: z.ZodObject<{
411
459
  "best-matching": "best-matching";
412
460
  keyFrame: "keyFrame";
413
461
  }>>;
462
+ frame: z.ZodOptional<z.ZodEnum<{
463
+ full: "full";
464
+ cropped: "cropped";
465
+ boxed: "boxed";
466
+ }>>;
467
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
468
+ gif: z.ZodOptional<z.ZodBoolean>;
469
+ clip: z.ZodOptional<z.ZodBoolean>;
470
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
471
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
472
+ profile: z.ZodOptional<z.ZodEnum<{
473
+ high: "high";
474
+ mid: "mid";
475
+ low: "low";
476
+ }>>;
414
477
  }, z.core.$strip>>>;
415
478
  throttle: z.ZodOptional<z.ZodDefault<z.ZodObject<{
416
479
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -433,9 +496,9 @@ export declare const NcRuleSchema: z.ZodObject<{
433
496
  name: z.ZodString;
434
497
  enabled: z.ZodDefault<z.ZodBoolean>;
435
498
  delivery: z.ZodEnum<{
499
+ "device-event": "device-event";
436
500
  immediate: "immediate";
437
501
  "track-end": "track-end";
438
- "device-event": "device-event";
439
502
  "package-event": "package-event";
440
503
  }>;
441
504
  conditions: z.ZodDefault<z.ZodObject<{
@@ -507,6 +570,7 @@ export declare const NcRuleSchema: z.ZodObject<{
507
570
  targetId: z.ZodString;
508
571
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
509
572
  }, z.core.$strip>>;
573
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
510
574
  media: z.ZodDefault<z.ZodObject<{
511
575
  attach: z.ZodDefault<z.ZodEnum<{
512
576
  none: "none";
@@ -514,6 +578,21 @@ export declare const NcRuleSchema: z.ZodObject<{
514
578
  "best-matching": "best-matching";
515
579
  keyFrame: "keyFrame";
516
580
  }>>;
581
+ frame: z.ZodOptional<z.ZodEnum<{
582
+ full: "full";
583
+ cropped: "cropped";
584
+ boxed: "boxed";
585
+ }>>;
586
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
587
+ gif: z.ZodOptional<z.ZodBoolean>;
588
+ clip: z.ZodOptional<z.ZodBoolean>;
589
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
590
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
591
+ profile: z.ZodOptional<z.ZodEnum<{
592
+ high: "high";
593
+ mid: "mid";
594
+ low: "low";
595
+ }>>;
517
596
  }, z.core.$strip>>;
518
597
  throttle: z.ZodDefault<z.ZodObject<{
519
598
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -589,9 +668,9 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
589
668
  withinSchedule: "withinSchedule";
590
669
  }>;
591
670
  appliesTo: z.ZodArray<z.ZodEnum<{
671
+ "device-event": "device-event";
592
672
  immediate: "immediate";
593
673
  "track-end": "track-end";
594
- "device-event": "device-event";
595
674
  "package-event": "package-event";
596
675
  }>>;
597
676
  phase: z.ZodString;
@@ -623,8 +702,8 @@ export declare const NcHistoryStatusSchema: z.ZodEnum<{
623
702
  export type NcHistoryStatus = z.infer<typeof NcHistoryStatusSchema>;
624
703
  /** The evaluated record kind a history row descends from (one per trigger). */
625
704
  export declare const NcHistoryRecordKindSchema: z.ZodEnum<{
626
- "track-end": "track-end";
627
705
  "device-event": "device-event";
706
+ "track-end": "track-end";
628
707
  "package-event": "package-event";
629
708
  "object-event": "object-event";
630
709
  }>;
@@ -654,16 +733,16 @@ export declare const NcHistoryEntrySchema: z.ZodObject<{
654
733
  ruleId: z.ZodString;
655
734
  ruleName: z.ZodString;
656
735
  delivery: z.ZodEnum<{
736
+ "device-event": "device-event";
657
737
  immediate: "immediate";
658
738
  "track-end": "track-end";
659
- "device-event": "device-event";
660
739
  "package-event": "package-event";
661
740
  }>;
662
741
  targetId: z.ZodString;
663
742
  deviceId: z.ZodNumber;
664
743
  recordKind: z.ZodEnum<{
665
- "track-end": "track-end";
666
744
  "device-event": "device-event";
745
+ "track-end": "track-end";
667
746
  "package-event": "package-event";
668
747
  "object-event": "object-event";
669
748
  }>;
@@ -719,9 +798,9 @@ export declare const notificationRulesCapability: {
719
798
  name: z.ZodString;
720
799
  enabled: z.ZodDefault<z.ZodBoolean>;
721
800
  delivery: z.ZodEnum<{
801
+ "device-event": "device-event";
722
802
  immediate: "immediate";
723
803
  "track-end": "track-end";
724
- "device-event": "device-event";
725
804
  "package-event": "package-event";
726
805
  }>;
727
806
  conditions: z.ZodDefault<z.ZodObject<{
@@ -793,6 +872,7 @@ export declare const notificationRulesCapability: {
793
872
  targetId: z.ZodString;
794
873
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
795
874
  }, z.core.$strip>>;
875
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
796
876
  media: z.ZodDefault<z.ZodObject<{
797
877
  attach: z.ZodDefault<z.ZodEnum<{
798
878
  none: "none";
@@ -800,6 +880,21 @@ export declare const notificationRulesCapability: {
800
880
  "best-matching": "best-matching";
801
881
  keyFrame: "keyFrame";
802
882
  }>>;
883
+ frame: z.ZodOptional<z.ZodEnum<{
884
+ full: "full";
885
+ cropped: "cropped";
886
+ boxed: "boxed";
887
+ }>>;
888
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
889
+ gif: z.ZodOptional<z.ZodBoolean>;
890
+ clip: z.ZodOptional<z.ZodBoolean>;
891
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
892
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
893
+ profile: z.ZodOptional<z.ZodEnum<{
894
+ high: "high";
895
+ mid: "mid";
896
+ low: "low";
897
+ }>>;
803
898
  }, z.core.$strip>>;
804
899
  throttle: z.ZodDefault<z.ZodObject<{
805
900
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -828,9 +923,9 @@ export declare const notificationRulesCapability: {
828
923
  name: z.ZodString;
829
924
  enabled: z.ZodDefault<z.ZodBoolean>;
830
925
  delivery: z.ZodEnum<{
926
+ "device-event": "device-event";
831
927
  immediate: "immediate";
832
928
  "track-end": "track-end";
833
- "device-event": "device-event";
834
929
  "package-event": "package-event";
835
930
  }>;
836
931
  conditions: z.ZodDefault<z.ZodObject<{
@@ -902,6 +997,7 @@ export declare const notificationRulesCapability: {
902
997
  targetId: z.ZodString;
903
998
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
904
999
  }, z.core.$strip>>;
1000
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
905
1001
  media: z.ZodDefault<z.ZodObject<{
906
1002
  attach: z.ZodDefault<z.ZodEnum<{
907
1003
  none: "none";
@@ -909,6 +1005,21 @@ export declare const notificationRulesCapability: {
909
1005
  "best-matching": "best-matching";
910
1006
  keyFrame: "keyFrame";
911
1007
  }>>;
1008
+ frame: z.ZodOptional<z.ZodEnum<{
1009
+ full: "full";
1010
+ cropped: "cropped";
1011
+ boxed: "boxed";
1012
+ }>>;
1013
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
1014
+ gif: z.ZodOptional<z.ZodBoolean>;
1015
+ clip: z.ZodOptional<z.ZodBoolean>;
1016
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
1017
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
1018
+ profile: z.ZodOptional<z.ZodEnum<{
1019
+ high: "high";
1020
+ mid: "mid";
1021
+ low: "low";
1022
+ }>>;
912
1023
  }, z.core.$strip>>;
913
1024
  throttle: z.ZodDefault<z.ZodObject<{
914
1025
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -935,9 +1046,9 @@ export declare const notificationRulesCapability: {
935
1046
  name: z.ZodString;
936
1047
  enabled: z.ZodDefault<z.ZodBoolean>;
937
1048
  delivery: z.ZodEnum<{
1049
+ "device-event": "device-event";
938
1050
  immediate: "immediate";
939
1051
  "track-end": "track-end";
940
- "device-event": "device-event";
941
1052
  "package-event": "package-event";
942
1053
  }>;
943
1054
  conditions: z.ZodDefault<z.ZodObject<{
@@ -1009,6 +1120,7 @@ export declare const notificationRulesCapability: {
1009
1120
  targetId: z.ZodString;
1010
1121
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1011
1122
  }, z.core.$strip>>;
1123
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1012
1124
  media: z.ZodDefault<z.ZodObject<{
1013
1125
  attach: z.ZodDefault<z.ZodEnum<{
1014
1126
  none: "none";
@@ -1016,6 +1128,21 @@ export declare const notificationRulesCapability: {
1016
1128
  "best-matching": "best-matching";
1017
1129
  keyFrame: "keyFrame";
1018
1130
  }>>;
1131
+ frame: z.ZodOptional<z.ZodEnum<{
1132
+ full: "full";
1133
+ cropped: "cropped";
1134
+ boxed: "boxed";
1135
+ }>>;
1136
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
1137
+ gif: z.ZodOptional<z.ZodBoolean>;
1138
+ clip: z.ZodOptional<z.ZodBoolean>;
1139
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
1140
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
1141
+ profile: z.ZodOptional<z.ZodEnum<{
1142
+ high: "high";
1143
+ mid: "mid";
1144
+ low: "low";
1145
+ }>>;
1019
1146
  }, z.core.$strip>>;
1020
1147
  throttle: z.ZodDefault<z.ZodObject<{
1021
1148
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -1036,9 +1163,9 @@ export declare const notificationRulesCapability: {
1036
1163
  name: z.ZodString;
1037
1164
  enabled: z.ZodDefault<z.ZodBoolean>;
1038
1165
  delivery: z.ZodEnum<{
1166
+ "device-event": "device-event";
1039
1167
  immediate: "immediate";
1040
1168
  "track-end": "track-end";
1041
- "device-event": "device-event";
1042
1169
  "package-event": "package-event";
1043
1170
  }>;
1044
1171
  conditions: z.ZodDefault<z.ZodObject<{
@@ -1110,6 +1237,7 @@ export declare const notificationRulesCapability: {
1110
1237
  targetId: z.ZodString;
1111
1238
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1112
1239
  }, z.core.$strip>>;
1240
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1113
1241
  media: z.ZodDefault<z.ZodObject<{
1114
1242
  attach: z.ZodDefault<z.ZodEnum<{
1115
1243
  none: "none";
@@ -1117,6 +1245,21 @@ export declare const notificationRulesCapability: {
1117
1245
  "best-matching": "best-matching";
1118
1246
  keyFrame: "keyFrame";
1119
1247
  }>>;
1248
+ frame: z.ZodOptional<z.ZodEnum<{
1249
+ full: "full";
1250
+ cropped: "cropped";
1251
+ boxed: "boxed";
1252
+ }>>;
1253
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
1254
+ gif: z.ZodOptional<z.ZodBoolean>;
1255
+ clip: z.ZodOptional<z.ZodBoolean>;
1256
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
1257
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
1258
+ profile: z.ZodOptional<z.ZodEnum<{
1259
+ high: "high";
1260
+ mid: "mid";
1261
+ low: "low";
1262
+ }>>;
1120
1263
  }, z.core.$strip>>;
1121
1264
  throttle: z.ZodDefault<z.ZodObject<{
1122
1265
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -1146,9 +1289,9 @@ export declare const notificationRulesCapability: {
1146
1289
  name: z.ZodOptional<z.ZodString>;
1147
1290
  enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1148
1291
  delivery: z.ZodOptional<z.ZodEnum<{
1292
+ "device-event": "device-event";
1149
1293
  immediate: "immediate";
1150
1294
  "track-end": "track-end";
1151
- "device-event": "device-event";
1152
1295
  "package-event": "package-event";
1153
1296
  }>>;
1154
1297
  conditions: z.ZodOptional<z.ZodDefault<z.ZodObject<{
@@ -1220,6 +1363,7 @@ export declare const notificationRulesCapability: {
1220
1363
  targetId: z.ZodString;
1221
1364
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1222
1365
  }, z.core.$strip>>>;
1366
+ targetUsers: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1223
1367
  media: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1224
1368
  attach: z.ZodDefault<z.ZodEnum<{
1225
1369
  none: "none";
@@ -1227,6 +1371,21 @@ export declare const notificationRulesCapability: {
1227
1371
  "best-matching": "best-matching";
1228
1372
  keyFrame: "keyFrame";
1229
1373
  }>>;
1374
+ frame: z.ZodOptional<z.ZodEnum<{
1375
+ full: "full";
1376
+ cropped: "cropped";
1377
+ boxed: "boxed";
1378
+ }>>;
1379
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
1380
+ gif: z.ZodOptional<z.ZodBoolean>;
1381
+ clip: z.ZodOptional<z.ZodBoolean>;
1382
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
1383
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
1384
+ profile: z.ZodOptional<z.ZodEnum<{
1385
+ high: "high";
1386
+ mid: "mid";
1387
+ low: "low";
1388
+ }>>;
1230
1389
  }, z.core.$strip>>>;
1231
1390
  throttle: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1232
1391
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -1248,9 +1407,9 @@ export declare const notificationRulesCapability: {
1248
1407
  name: z.ZodString;
1249
1408
  enabled: z.ZodDefault<z.ZodBoolean>;
1250
1409
  delivery: z.ZodEnum<{
1410
+ "device-event": "device-event";
1251
1411
  immediate: "immediate";
1252
1412
  "track-end": "track-end";
1253
- "device-event": "device-event";
1254
1413
  "package-event": "package-event";
1255
1414
  }>;
1256
1415
  conditions: z.ZodDefault<z.ZodObject<{
@@ -1322,6 +1481,7 @@ export declare const notificationRulesCapability: {
1322
1481
  targetId: z.ZodString;
1323
1482
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1324
1483
  }, z.core.$strip>>;
1484
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1325
1485
  media: z.ZodDefault<z.ZodObject<{
1326
1486
  attach: z.ZodDefault<z.ZodEnum<{
1327
1487
  none: "none";
@@ -1329,6 +1489,21 @@ export declare const notificationRulesCapability: {
1329
1489
  "best-matching": "best-matching";
1330
1490
  keyFrame: "keyFrame";
1331
1491
  }>>;
1492
+ frame: z.ZodOptional<z.ZodEnum<{
1493
+ full: "full";
1494
+ cropped: "cropped";
1495
+ boxed: "boxed";
1496
+ }>>;
1497
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
1498
+ gif: z.ZodOptional<z.ZodBoolean>;
1499
+ clip: z.ZodOptional<z.ZodBoolean>;
1500
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
1501
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
1502
+ profile: z.ZodOptional<z.ZodEnum<{
1503
+ high: "high";
1504
+ mid: "mid";
1505
+ low: "low";
1506
+ }>>;
1332
1507
  }, z.core.$strip>>;
1333
1508
  throttle: z.ZodDefault<z.ZodObject<{
1334
1509
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -1373,9 +1548,9 @@ export declare const notificationRulesCapability: {
1373
1548
  name: z.ZodString;
1374
1549
  enabled: z.ZodDefault<z.ZodBoolean>;
1375
1550
  delivery: z.ZodEnum<{
1551
+ "device-event": "device-event";
1376
1552
  immediate: "immediate";
1377
1553
  "track-end": "track-end";
1378
- "device-event": "device-event";
1379
1554
  "package-event": "package-event";
1380
1555
  }>;
1381
1556
  conditions: z.ZodDefault<z.ZodObject<{
@@ -1447,6 +1622,7 @@ export declare const notificationRulesCapability: {
1447
1622
  targetId: z.ZodString;
1448
1623
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1449
1624
  }, z.core.$strip>>;
1625
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1450
1626
  media: z.ZodDefault<z.ZodObject<{
1451
1627
  attach: z.ZodDefault<z.ZodEnum<{
1452
1628
  none: "none";
@@ -1454,6 +1630,21 @@ export declare const notificationRulesCapability: {
1454
1630
  "best-matching": "best-matching";
1455
1631
  keyFrame: "keyFrame";
1456
1632
  }>>;
1633
+ frame: z.ZodOptional<z.ZodEnum<{
1634
+ full: "full";
1635
+ cropped: "cropped";
1636
+ boxed: "boxed";
1637
+ }>>;
1638
+ zoneCrop: z.ZodOptional<z.ZodBoolean>;
1639
+ gif: z.ZodOptional<z.ZodBoolean>;
1640
+ clip: z.ZodOptional<z.ZodBoolean>;
1641
+ clipPreRollSec: z.ZodOptional<z.ZodNumber>;
1642
+ clipPostRollSec: z.ZodOptional<z.ZodNumber>;
1643
+ profile: z.ZodOptional<z.ZodEnum<{
1644
+ high: "high";
1645
+ mid: "mid";
1646
+ low: "low";
1647
+ }>>;
1457
1648
  }, z.core.$strip>>;
1458
1649
  throttle: z.ZodDefault<z.ZodObject<{
1459
1650
  cooldownSec: z.ZodDefault<z.ZodNumber>;
@@ -1487,6 +1678,16 @@ export declare const notificationRulesCapability: {
1487
1678
  label: z.ZodOptional<z.ZodString>;
1488
1679
  }, z.core.$strip>>;
1489
1680
  }, z.core.$strip>, "mutation">;
1681
+ /**
1682
+ * The machine-readable condition surface a rule editor renders from, plus
1683
+ * the picker VOCABULARY those conditions draw on.
1684
+ *
1685
+ * `taxonomy` is optional so an older provider that only returns `catalog`
1686
+ * still validates; a client that receives none keeps free-text inputs.
1687
+ * It was previously served ONLY on the `nc.getConditionCatalog` bridge
1688
+ * action, which is why the viewer had grouped pickers and the admin UI —
1689
+ * which reaches this cap — was stuck typing `person` from memory.
1690
+ */
1490
1691
  readonly getConditionCatalog: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
1491
1692
  catalog: z.ZodArray<z.ZodObject<{
1492
1693
  id: z.ZodString;
@@ -1526,14 +1727,31 @@ export declare const notificationRulesCapability: {
1526
1727
  withinSchedule: "withinSchedule";
1527
1728
  }>;
1528
1729
  appliesTo: z.ZodArray<z.ZodEnum<{
1730
+ "device-event": "device-event";
1529
1731
  immediate: "immediate";
1530
1732
  "track-end": "track-end";
1531
- "device-event": "device-event";
1532
1733
  "package-event": "package-event";
1533
1734
  }>>;
1534
1735
  phase: z.ZodString;
1535
1736
  description: z.ZodOptional<z.ZodString>;
1536
1737
  }, z.core.$strip>>;
1738
+ taxonomy: z.ZodOptional<z.ZodObject<{
1739
+ videoClasses: z.ZodArray<z.ZodObject<{
1740
+ kind: z.ZodString;
1741
+ label: z.ZodString;
1742
+ parentKind: z.ZodNullable<z.ZodString>;
1743
+ }, z.core.$strip>>;
1744
+ audioKinds: z.ZodArray<z.ZodObject<{
1745
+ kind: z.ZodString;
1746
+ label: z.ZodString;
1747
+ parentKind: z.ZodNullable<z.ZodString>;
1748
+ }, z.core.$strip>>;
1749
+ labels: z.ZodArray<z.ZodObject<{
1750
+ kind: z.ZodString;
1751
+ label: z.ZodString;
1752
+ parentKind: z.ZodNullable<z.ZodString>;
1753
+ }, z.core.$strip>>;
1754
+ }, z.core.$strip>>;
1537
1755
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
1538
1756
  /**
1539
1757
  * Queryable delivery history — a read-only view over the durable outbox
@@ -1563,16 +1781,16 @@ export declare const notificationRulesCapability: {
1563
1781
  ruleId: z.ZodString;
1564
1782
  ruleName: z.ZodString;
1565
1783
  delivery: z.ZodEnum<{
1784
+ "device-event": "device-event";
1566
1785
  immediate: "immediate";
1567
1786
  "track-end": "track-end";
1568
- "device-event": "device-event";
1569
1787
  "package-event": "package-event";
1570
1788
  }>;
1571
1789
  targetId: z.ZodString;
1572
1790
  deviceId: z.ZodNumber;
1573
1791
  recordKind: z.ZodEnum<{
1574
- "track-end": "track-end";
1575
1792
  "device-event": "device-event";
1793
+ "track-end": "track-end";
1576
1794
  "package-event": "package-event";
1577
1795
  "object-event": "object-event";
1578
1796
  }>;