@camstack/types 1.2.336 → 1.2.338

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 (231) hide show
  1. package/dist/audio/audio-chunk-format.d.ts +1 -1
  2. package/dist/automation/recipe.d.ts +3 -3
  3. package/dist/capabilities/accessories.cap.d.ts +4 -4
  4. package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
  5. package/dist/capabilities/addon-pages.cap.d.ts +3 -3
  6. package/dist/capabilities/addon-routes.cap.d.ts +8 -8
  7. package/dist/capabilities/addon-settings.cap.d.ts +9 -9
  8. package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
  9. package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
  10. package/dist/capabilities/addons.cap.d.ts +87 -87
  11. package/dist/capabilities/admin-ui.cap.d.ts +3 -3
  12. package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
  13. package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
  14. package/dist/capabilities/alerts.cap.d.ts +18 -18
  15. package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
  16. package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
  17. package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
  18. package/dist/capabilities/audio-codec.cap.d.ts +4 -4
  19. package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
  20. package/dist/capabilities/auth-provider.cap.d.ts +4 -4
  21. package/dist/capabilities/automation-control.cap.d.ts +5 -5
  22. package/dist/capabilities/backup.cap.d.ts +18 -18
  23. package/dist/capabilities/battery.cap.d.ts +15 -15
  24. package/dist/capabilities/binary.cap.d.ts +5 -5
  25. package/dist/capabilities/brightness.cap.d.ts +5 -5
  26. package/dist/capabilities/broker.cap.d.ts +21 -21
  27. package/dist/capabilities/button.cap.d.ts +3 -3
  28. package/dist/capabilities/calendar-source.cap.d.ts +3 -3
  29. package/dist/capabilities/calendars.cap.d.ts +5 -5
  30. package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
  31. package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
  32. package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
  33. package/dist/capabilities/camera-streams.cap.d.ts +37 -37
  34. package/dist/capabilities/capability-definition.d.ts +10 -10
  35. package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
  36. package/dist/capabilities/climate-control.cap.d.ts +37 -37
  37. package/dist/capabilities/color.cap.d.ts +9 -9
  38. package/dist/capabilities/composer.cap.d.ts +16 -16
  39. package/dist/capabilities/connection-test.cap.d.ts +3 -3
  40. package/dist/capabilities/connectivity.cap.d.ts +5 -5
  41. package/dist/capabilities/consumables.cap.d.ts +21 -21
  42. package/dist/capabilities/contact.cap.d.ts +5 -5
  43. package/dist/capabilities/control.cap.d.ts +16 -16
  44. package/dist/capabilities/core-blocks.cap.d.ts +115 -115
  45. package/dist/capabilities/cover.cap.d.ts +17 -17
  46. package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
  47. package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
  48. package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
  49. package/dist/capabilities/day-night.cap.d.ts +24 -24
  50. package/dist/capabilities/decoder.cap.d.ts +4 -4
  51. package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
  52. package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
  53. package/dist/capabilities/device-adoption.cap.d.ts +4 -4
  54. package/dist/capabilities/device-discovery.cap.d.ts +7 -7
  55. package/dist/capabilities/device-export.cap.d.ts +8 -8
  56. package/dist/capabilities/device-extension.cap.d.ts +22 -22
  57. package/dist/capabilities/device-manager.cap.d.ts +113 -113
  58. package/dist/capabilities/device-ops.cap.d.ts +7 -7
  59. package/dist/capabilities/device-provider.cap.d.ts +3 -3
  60. package/dist/capabilities/device-state.cap.d.ts +24 -24
  61. package/dist/capabilities/device-status.cap.d.ts +5 -5
  62. package/dist/capabilities/doorbell.cap.d.ts +7 -7
  63. package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
  64. package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
  65. package/dist/capabilities/event-emitter.cap.d.ts +5 -5
  66. package/dist/capabilities/face-gallery.cap.d.ts +7 -7
  67. package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
  68. package/dist/capabilities/fan-control.cap.d.ts +10 -10
  69. package/dist/capabilities/feature-probe.cap.d.ts +5 -5
  70. package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
  71. package/dist/capabilities/flood.cap.d.ts +5 -5
  72. package/dist/capabilities/gas.cap.d.ts +5 -5
  73. package/dist/capabilities/hub-address.d.ts +1 -1
  74. package/dist/capabilities/humidifier.cap.d.ts +5 -5
  75. package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
  76. package/dist/capabilities/image-settings.cap.d.ts +48 -48
  77. package/dist/capabilities/image.cap.d.ts +5 -5
  78. package/dist/capabilities/integrations.cap.d.ts +12 -12
  79. package/dist/capabilities/intercom.cap.d.ts +11 -11
  80. package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
  81. package/dist/capabilities/keychain.cap.d.ts +27 -27
  82. package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
  83. package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
  84. package/dist/capabilities/llm-shared.d.ts +21 -21
  85. package/dist/capabilities/llm.cap.d.ts +109 -109
  86. package/dist/capabilities/load-contribution.cap.d.ts +12 -12
  87. package/dist/capabilities/local-network.cap.d.ts +119 -119
  88. package/dist/capabilities/lock-control.cap.d.ts +13 -13
  89. package/dist/capabilities/log-channels.cap.d.ts +5 -5
  90. package/dist/capabilities/log-destination.cap.d.ts +14 -14
  91. package/dist/capabilities/login-method.cap.d.ts +4 -4
  92. package/dist/capabilities/mask-shape.d.ts +2 -2
  93. package/dist/capabilities/media-player.cap.d.ts +13 -13
  94. package/dist/capabilities/mesh-network.cap.d.ts +9 -9
  95. package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
  96. package/dist/capabilities/model-convert.cap.d.ts +29 -29
  97. package/dist/capabilities/model-distributor.cap.d.ts +27 -27
  98. package/dist/capabilities/motion-detection.cap.d.ts +8 -8
  99. package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
  100. package/dist/capabilities/motion-zones.cap.d.ts +13 -13
  101. package/dist/capabilities/motion.cap.d.ts +7 -7
  102. package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
  103. package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
  104. package/dist/capabilities/navigation.cap.d.ts +56 -56
  105. package/dist/capabilities/network-access.cap.d.ts +4 -4
  106. package/dist/capabilities/network-link.cap.d.ts +16 -16
  107. package/dist/capabilities/network-quality.cap.d.ts +4 -4
  108. package/dist/capabilities/nodes.cap.d.ts +5 -5
  109. package/dist/capabilities/notification-output.cap.d.ts +121 -121
  110. package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
  111. package/dist/capabilities/notifier.cap.d.ts +8 -8
  112. package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
  113. package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
  114. package/dist/capabilities/osd-manager.cap.d.ts +261 -261
  115. package/dist/capabilities/osd.cap.d.ts +59 -59
  116. package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
  117. package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
  118. package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
  119. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +285 -267
  120. package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
  121. package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
  122. package/dist/capabilities/platform-probe.cap.d.ts +78 -66
  123. package/dist/capabilities/power-meter.cap.d.ts +5 -5
  124. package/dist/capabilities/presence.cap.d.ts +5 -5
  125. package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
  126. package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
  127. package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
  128. package/dist/capabilities/ptz.cap.d.ts +29 -29
  129. package/dist/capabilities/reboot.cap.d.ts +3 -3
  130. package/dist/capabilities/recording-archive.cap.d.ts +59 -59
  131. package/dist/capabilities/recording-export.cap.d.ts +37 -37
  132. package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
  133. package/dist/capabilities/recording-signal.cap.d.ts +6 -6
  134. package/dist/capabilities/recording.cap.d.ts +21 -21
  135. package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
  136. package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
  137. package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
  138. package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
  139. package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
  140. package/dist/capabilities/script-runner.cap.d.ts +5 -5
  141. package/dist/capabilities/server-management.cap.d.ts +70 -70
  142. package/dist/capabilities/settings-store.cap.d.ts +11 -11
  143. package/dist/capabilities/smoke.cap.d.ts +5 -5
  144. package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
  145. package/dist/capabilities/snapshot.cap.d.ts +9 -9
  146. package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
  147. package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
  148. package/dist/capabilities/storage-migration.cap.d.ts +53 -53
  149. package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
  150. package/dist/capabilities/storage-provider.cap.d.ts +25 -25
  151. package/dist/capabilities/storage.cap.d.ts +18 -18
  152. package/dist/capabilities/stream-broker.cap.d.ts +184 -184
  153. package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
  154. package/dist/capabilities/stream-params.cap.d.ts +36 -36
  155. package/dist/capabilities/stream-signals.cap.d.ts +4 -4
  156. package/dist/capabilities/switch.cap.d.ts +11 -11
  157. package/dist/capabilities/system.cap.d.ts +66 -66
  158. package/dist/capabilities/tamper.cap.d.ts +5 -5
  159. package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
  160. package/dist/capabilities/terminal-session.cap.d.ts +3 -3
  161. package/dist/capabilities/toast.cap.d.ts +6 -6
  162. package/dist/capabilities/training-provider.cap.d.ts +35 -35
  163. package/dist/capabilities/training.cap.d.ts +278 -278
  164. package/dist/capabilities/turn-provider.cap.d.ts +3 -3
  165. package/dist/capabilities/update.cap.d.ts +5 -5
  166. package/dist/capabilities/user-management.cap.d.ts +83 -83
  167. package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
  168. package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
  169. package/dist/capabilities/valve.cap.d.ts +17 -17
  170. package/dist/capabilities/vector-store.cap.d.ts +3 -3
  171. package/dist/capabilities/vibration.cap.d.ts +5 -5
  172. package/dist/capabilities/videoclips.cap.d.ts +53 -53
  173. package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
  174. package/dist/capabilities/water-heater.cap.d.ts +5 -5
  175. package/dist/capabilities/weather.cap.d.ts +5 -5
  176. package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
  177. package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
  178. package/dist/capabilities/zone-rules.cap.d.ts +15 -15
  179. package/dist/capabilities/zones.cap.d.ts +4 -4
  180. package/dist/catalogs/event-taxonomy.d.ts +9 -9
  181. package/dist/catalogs/root-model-supply.d.ts +3 -3
  182. package/dist/composition/composable-caps.d.ts +6 -6
  183. package/dist/composition/composition-report.d.ts +75 -75
  184. package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
  185. package/dist/device/location-icon.d.ts +25 -25
  186. package/dist/device/site-zone.d.ts +12 -12
  187. package/dist/encode-profile.d.ts +22 -22
  188. package/dist/generated/addon-api.d.ts +176 -176
  189. package/dist/generated/capability-router-map.d.ts +171 -171
  190. package/dist/generated/extension-slots.d.ts +1 -1
  191. package/dist/health/wiring-health.d.ts +8 -8
  192. package/dist/i18n/event-kind-labels.d.ts +1 -1
  193. package/dist/i18n/state-labels.d.ts +1 -1
  194. package/dist/index.js +111 -2
  195. package/dist/index.mjs +111 -2
  196. package/dist/interfaces/addon-data-plane.d.ts +1 -1
  197. package/dist/interfaces/adoption-job.d.ts +10 -10
  198. package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
  199. package/dist/interfaces/camera-switches.d.ts +21 -21
  200. package/dist/interfaces/ops-log.d.ts +14 -14
  201. package/dist/interfaces/platform.d.ts +6 -1
  202. package/dist/interfaces/recording-config.d.ts +14 -14
  203. package/dist/interfaces/relocate.d.ts +88 -88
  204. package/dist/interfaces/server-analysis.d.ts +2 -2
  205. package/dist/interfaces/storage-location-declaration.d.ts +4 -4
  206. package/dist/interfaces/storage-location-mode.d.ts +4 -4
  207. package/dist/interfaces/storage-location.d.ts +2 -2
  208. package/dist/interfaces/track-relations.d.ts +14 -14
  209. package/dist/lifecycle/job.d.ts +43 -43
  210. package/dist/logging/log-channel.d.ts +2 -2
  211. package/dist/media/media-owner-key.d.ts +2 -2
  212. package/dist/notification/alarm-membership.d.ts +2 -2
  213. package/dist/notification/alarm-profiles.d.ts +1 -1
  214. package/dist/notification/condition-taxonomy.d.ts +1 -1
  215. package/dist/notification/scope-picker-items.d.ts +1 -1
  216. package/dist/notification/system-event-families.d.ts +1 -1
  217. package/dist/notification/timelapse-rule.d.ts +4 -4
  218. package/dist/pipeline/auto-tune/plan-schemas.d.ts +100 -78
  219. package/dist/pipeline/camera-sensors.d.ts +39 -39
  220. package/dist/pipeline/cluster-model-scope.d.ts +11 -1
  221. package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
  222. package/dist/pipeline/native-lease.d.ts +4 -4
  223. package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
  224. package/dist/pipeline/provider-motion.d.ts +2 -2
  225. package/dist/schemas/auth-records.d.ts +14 -14
  226. package/dist/training/trainer-contract.d.ts +19 -19
  227. package/dist/types/clip-model.d.ts +2 -2
  228. package/dist/types/labels.d.ts +4 -4
  229. package/dist/types/models.d.ts +42 -42
  230. package/dist/units/unit-table.d.ts +45 -45
  231. package/package.json +9 -2
@@ -20,12 +20,12 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
20
20
  targetNodeId: z.ZodString;
21
21
  modelId: z.ZodString;
22
22
  format: z.ZodEnum<{
23
- onnx: "onnx";
24
23
  coreml: "coreml";
24
+ gguf: "gguf";
25
+ onnx: "onnx";
25
26
  openvino: "openvino";
26
- tflite: "tflite";
27
27
  pt: "pt";
28
- gguf: "gguf";
28
+ tflite: "tflite";
29
29
  }>;
30
30
  entry: z.ZodObject<{
31
31
  id: z.ZodString;
@@ -110,10 +110,10 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
110
110
  nhwc: "nhwc";
111
111
  }>>;
112
112
  inputNormalization: z.ZodOptional<z.ZodEnum<{
113
- none: "none";
114
- "zero-one": "zero-one";
115
113
  imagenet: "imagenet";
114
+ none: "none";
116
115
  scrfd: "scrfd";
116
+ "zero-one": "zero-one";
117
117
  }>>;
118
118
  outputProbabilities: z.ZodOptional<z.ZodBoolean>;
119
119
  preprocessMode: z.ZodOptional<z.ZodEnum<{
@@ -124,8 +124,8 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
124
124
  defaultConfidence: z.ZodOptional<z.ZodNumber>;
125
125
  defaultClassFloors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
126
126
  gpuInferencePrecision: z.ZodOptional<z.ZodEnum<{
127
- f32: "f32";
128
127
  f16: "f16";
128
+ f32: "f32";
129
129
  }>>;
130
130
  suppliedLabelFloors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
131
131
  faceAlignment: z.ZodOptional<z.ZodBoolean>;
@@ -155,9 +155,9 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
155
155
  attribution: z.ZodOptional<z.ZodString>;
156
156
  modifications: z.ZodOptional<z.ZodString>;
157
157
  hosting: z.ZodOptional<z.ZodEnum<{
158
+ "built-in": "built-in";
158
159
  "camstack-hf": "camstack-hf";
159
160
  "third-party": "third-party";
160
- "built-in": "built-in";
161
161
  }>>;
162
162
  nonCommercial: z.ZodOptional<z.ZodBoolean>;
163
163
  }, z.core.$strip>>>;
@@ -175,17 +175,17 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
175
175
  resolution: z.ZodOptional<z.ZodNumber>;
176
176
  }, z.core.$strip>>;
177
177
  provider: z.ZodOptional<z.ZodEnum<{
178
- custom: "custom";
179
178
  camstack: "camstack";
179
+ custom: "custom";
180
180
  frigate: "frigate";
181
181
  scrypted: "scrypted";
182
182
  }>>;
183
183
  classMap: z.ZodOptional<z.ZodObject<{
184
184
  mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
185
- person: "person";
186
- vehicle: "vehicle";
187
185
  animal: "animal";
188
186
  package: "package";
187
+ person: "person";
188
+ vehicle: "vehicle";
189
189
  }>>;
190
190
  preserveOriginal: z.ZodBoolean;
191
191
  }, z.core.$strip>>;
@@ -193,16 +193,16 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
193
193
  kind: z.ZodLiteral<"label">;
194
194
  stepId: z.ZodEnum<{
195
195
  "animal-classifier": "animal-classifier";
196
- "vehicle-classifier": "vehicle-classifier";
197
196
  "package-detection": "package-detection";
197
+ "vehicle-classifier": "vehicle-classifier";
198
198
  }>;
199
199
  labelToEffect: z.ZodRecord<z.ZodString, z.ZodString>;
200
200
  uncovered: z.ZodReadonly<z.ZodArray<z.ZodString>>;
201
201
  }, z.core.$strip>, z.ZodObject<{
202
202
  kind: z.ZodLiteral<"crop">;
203
203
  stepId: z.ZodEnum<{
204
- "plate-detection": "plate-detection";
205
204
  "face-detection": "face-detection";
205
+ "plate-detection": "plate-detection";
206
206
  }>;
207
207
  rootLabels: z.ZodReadonly<z.ZodArray<z.ZodString>>;
208
208
  parentMacro: z.ZodEnum<{
@@ -238,21 +238,21 @@ export declare const ModelDistributeResultSchema: z.ZodObject<{
238
238
  path: z.ZodString;
239
239
  }, z.core.$strip>;
240
240
  export declare const modelDistributorCapability: {
241
- readonly name: "model-distributor";
242
- readonly scope: "system";
243
- readonly mode: "singleton";
241
+ readonly name: 'model-distributor';
242
+ readonly scope: 'system';
243
+ readonly mode: 'singleton';
244
244
  readonly internal: true;
245
245
  readonly methods: {
246
246
  readonly distributeModel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
247
247
  targetNodeId: z.ZodString;
248
248
  modelId: z.ZodString;
249
249
  format: z.ZodEnum<{
250
- onnx: "onnx";
251
250
  coreml: "coreml";
251
+ gguf: "gguf";
252
+ onnx: "onnx";
252
253
  openvino: "openvino";
253
- tflite: "tflite";
254
254
  pt: "pt";
255
- gguf: "gguf";
255
+ tflite: "tflite";
256
256
  }>;
257
257
  entry: z.ZodObject<{
258
258
  id: z.ZodString;
@@ -337,10 +337,10 @@ export declare const modelDistributorCapability: {
337
337
  nhwc: "nhwc";
338
338
  }>>;
339
339
  inputNormalization: z.ZodOptional<z.ZodEnum<{
340
- none: "none";
341
- "zero-one": "zero-one";
342
340
  imagenet: "imagenet";
341
+ none: "none";
343
342
  scrfd: "scrfd";
343
+ "zero-one": "zero-one";
344
344
  }>>;
345
345
  outputProbabilities: z.ZodOptional<z.ZodBoolean>;
346
346
  preprocessMode: z.ZodOptional<z.ZodEnum<{
@@ -351,8 +351,8 @@ export declare const modelDistributorCapability: {
351
351
  defaultConfidence: z.ZodOptional<z.ZodNumber>;
352
352
  defaultClassFloors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
353
353
  gpuInferencePrecision: z.ZodOptional<z.ZodEnum<{
354
- f32: "f32";
355
354
  f16: "f16";
355
+ f32: "f32";
356
356
  }>>;
357
357
  suppliedLabelFloors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
358
358
  faceAlignment: z.ZodOptional<z.ZodBoolean>;
@@ -382,9 +382,9 @@ export declare const modelDistributorCapability: {
382
382
  attribution: z.ZodOptional<z.ZodString>;
383
383
  modifications: z.ZodOptional<z.ZodString>;
384
384
  hosting: z.ZodOptional<z.ZodEnum<{
385
+ "built-in": "built-in";
385
386
  "camstack-hf": "camstack-hf";
386
387
  "third-party": "third-party";
387
- "built-in": "built-in";
388
388
  }>>;
389
389
  nonCommercial: z.ZodOptional<z.ZodBoolean>;
390
390
  }, z.core.$strip>>>;
@@ -402,17 +402,17 @@ export declare const modelDistributorCapability: {
402
402
  resolution: z.ZodOptional<z.ZodNumber>;
403
403
  }, z.core.$strip>>;
404
404
  provider: z.ZodOptional<z.ZodEnum<{
405
- custom: "custom";
406
405
  camstack: "camstack";
406
+ custom: "custom";
407
407
  frigate: "frigate";
408
408
  scrypted: "scrypted";
409
409
  }>>;
410
410
  classMap: z.ZodOptional<z.ZodObject<{
411
411
  mapping: z.ZodRecord<z.ZodString, z.ZodEnum<{
412
- person: "person";
413
- vehicle: "vehicle";
414
412
  animal: "animal";
415
413
  package: "package";
414
+ person: "person";
415
+ vehicle: "vehicle";
416
416
  }>>;
417
417
  preserveOriginal: z.ZodBoolean;
418
418
  }, z.core.$strip>>;
@@ -420,16 +420,16 @@ export declare const modelDistributorCapability: {
420
420
  kind: z.ZodLiteral<"label">;
421
421
  stepId: z.ZodEnum<{
422
422
  "animal-classifier": "animal-classifier";
423
- "vehicle-classifier": "vehicle-classifier";
424
423
  "package-detection": "package-detection";
424
+ "vehicle-classifier": "vehicle-classifier";
425
425
  }>;
426
426
  labelToEffect: z.ZodRecord<z.ZodString, z.ZodString>;
427
427
  uncovered: z.ZodReadonly<z.ZodArray<z.ZodString>>;
428
428
  }, z.core.$strip>, z.ZodObject<{
429
429
  kind: z.ZodLiteral<"crop">;
430
430
  stepId: z.ZodEnum<{
431
- "plate-detection": "plate-detection";
432
431
  "face-detection": "face-detection";
432
+ "plate-detection": "plate-detection";
433
433
  }>;
434
434
  rootLabels: z.ZodReadonly<z.ZodArray<z.ZodString>>;
435
435
  parentMacro: z.ZodEnum<{
@@ -39,10 +39,10 @@ declare const MotionAnalysisResultSchema: z.ZodObject<{
39
39
  analysisMs: z.ZodNumber;
40
40
  }, z.core.$strip>;
41
41
  export declare const motionDetectionCapability: {
42
- readonly name: "motion-detection";
43
- readonly scope: "device";
44
- readonly mode: "singleton";
45
- readonly kind: "wrapper";
42
+ readonly name: 'motion-detection';
43
+ readonly scope: 'device';
44
+ readonly mode: 'singleton';
45
+ readonly kind: 'wrapper';
46
46
  readonly defaultActive: true;
47
47
  /** Frame-differencing motion analysis over a video stream — only a camera
48
48
  * produces the frames. Read by the `defaultActive` auto-bind in
@@ -55,11 +55,11 @@ export declare const motionDetectionCapability: {
55
55
  frame: z.ZodOptional<z.ZodObject<{
56
56
  data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
57
57
  format: z.ZodEnum<{
58
+ bgr: "bgr";
59
+ gray: "gray";
58
60
  jpeg: "jpeg";
59
61
  rgb: "rgb";
60
- bgr: "bgr";
61
62
  yuv420: "yuv420";
62
- gray: "gray";
63
63
  }>;
64
64
  width: z.ZodNumber;
65
65
  height: z.ZodNumber;
@@ -72,11 +72,11 @@ export declare const motionDetectionCapability: {
72
72
  width: z.ZodNumber;
73
73
  height: z.ZodNumber;
74
74
  format: z.ZodEnum<{
75
+ bgr: "bgr";
76
+ gray: "gray";
75
77
  jpeg: "jpeg";
76
78
  rgb: "rgb";
77
- bgr: "bgr";
78
79
  yuv420: "yuv420";
79
- gray: "gray";
80
80
  }>;
81
81
  pts: z.ZodNumber;
82
82
  byteLength: z.ZodNumber;
@@ -42,10 +42,10 @@ export declare const MotionTriggerRuntimeStateSchema: z.ZodObject<{
42
42
  }, z.core.$strip>;
43
43
  export type MotionTriggerRuntimeState = z.infer<typeof MotionTriggerRuntimeStateSchema>;
44
44
  export declare const motionTriggerCapability: {
45
- readonly name: "motion-trigger";
46
- readonly scope: "device";
45
+ readonly name: 'motion-trigger';
46
+ readonly scope: 'device';
47
47
  readonly deviceNative: true;
48
- readonly mode: "singleton";
48
+ readonly mode: 'singleton';
49
49
  readonly deviceTypes: readonly [DeviceType.Light, DeviceType.Siren, DeviceType.Switch];
50
50
  readonly methods: {
51
51
  readonly setMotionTrigger: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -67,7 +67,7 @@ export declare const motionTriggerCapability: {
67
67
  enabled: z.ZodBoolean;
68
68
  lastChangedAt: z.ZodNumber;
69
69
  }, z.core.$strip>;
70
- readonly kind: "command-driven";
70
+ readonly kind: 'command-driven';
71
71
  };
72
72
  readonly runtimeState: z.ZodObject<{
73
73
  enabled: z.ZodBoolean;
@@ -80,6 +80,6 @@ export declare const motionTriggerCapability: {
80
80
  * See `RuntimeStateDurability`. Enforced by
81
81
  * `scripts/check-runtime-state-durability.ts`.
82
82
  */
83
- readonly durability: "session";
83
+ readonly durability: 'session';
84
84
  };
85
85
  export type IMotionTriggerProvider = InferProvider<typeof motionTriggerCapability>;
@@ -40,10 +40,10 @@ export declare const MotionZoneStatusSchema: z.ZodObject<{
40
40
  export declare const MotionZoneOptionsSchema: z.ZodObject<{
41
41
  maxRegions: z.ZodNumber;
42
42
  supportedShapes: z.ZodArray<z.ZodEnum<{
43
- rect: "rect";
44
- polygon: "polygon";
45
43
  grid: "grid";
46
44
  line: "line";
45
+ polygon: "polygon";
46
+ rect: "rect";
47
47
  }>>;
48
48
  grid: z.ZodObject<{
49
49
  width: z.ZodNumber;
@@ -75,17 +75,17 @@ export type MotionZoneStatus = z.infer<typeof MotionZoneStatusSchema>;
75
75
  export type MotionZoneOptions = z.infer<typeof MotionZoneOptionsSchema>;
76
76
  export type MotionZonePatch = z.infer<typeof MotionZonePatchSchema>;
77
77
  export declare const motionZonesCapability: {
78
- readonly name: "motion-zones";
79
- readonly scope: "device";
78
+ readonly name: 'motion-zones';
79
+ readonly scope: 'device';
80
80
  readonly deviceNative: true;
81
- readonly mode: "singleton";
81
+ readonly mode: 'singleton';
82
82
  readonly deviceTypes: readonly [DeviceType.Camera];
83
83
  readonly deviceConfig: {
84
84
  readonly ui: {
85
- readonly kind: "widget";
86
- readonly widgetId: "host/motion-zones-grid";
87
- readonly tab: "motion";
88
- readonly label: "Motion Zones";
85
+ readonly kind: 'widget';
86
+ readonly widgetId: 'host/motion-zones-grid';
87
+ readonly tab: 'motion';
88
+ readonly label: 'Motion Zones';
89
89
  };
90
90
  };
91
91
  readonly methods: {
@@ -94,10 +94,10 @@ export declare const motionZonesCapability: {
94
94
  }, z.core.$strip>, z.ZodObject<{
95
95
  maxRegions: z.ZodNumber;
96
96
  supportedShapes: z.ZodArray<z.ZodEnum<{
97
- rect: "rect";
98
- polygon: "polygon";
99
97
  grid: "grid";
100
98
  line: "line";
99
+ polygon: "polygon";
100
+ rect: "rect";
101
101
  }>>;
102
102
  grid: z.ZodObject<{
103
103
  width: z.ZodNumber;
@@ -143,7 +143,7 @@ export declare const motionZonesCapability: {
143
143
  }, z.core.$strip>>;
144
144
  lastFetchedAt: z.ZodNumber;
145
145
  }, z.core.$strip>;
146
- readonly kind: "poll";
146
+ readonly kind: 'poll';
147
147
  };
148
148
  readonly runtimeState: z.ZodObject<{
149
149
  enabled: z.ZodBoolean;
@@ -166,7 +166,7 @@ export declare const motionZonesCapability: {
166
166
  * See `RuntimeStateDurability`. Enforced by
167
167
  * `scripts/check-runtime-state-durability.ts`.
168
168
  */
169
- readonly durability: "restored";
169
+ readonly durability: 'restored';
170
170
  /** Clock fields: written, but excluded from the compare that decides
171
171
  * whether persisting is worth a SQLite commit. */
172
172
  readonly volatileStateFields: readonly ["lastFetchedAt"];
@@ -43,9 +43,9 @@ export declare const MotionOnMotionChangedDataSchema: z.ZodObject<{
43
43
  detected: z.ZodBoolean;
44
44
  timestamp: z.ZodNumber;
45
45
  source: z.ZodEnum<{
46
- onboard: "onboard";
47
46
  analyzer: "analyzer";
48
47
  "device-activity": "device-activity";
48
+ onboard: "onboard";
49
49
  }>;
50
50
  regions: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
51
51
  bbox: z.ZodObject<{
@@ -66,9 +66,9 @@ export declare const MotionOnMotionChangedDataSchema: z.ZodObject<{
66
66
  }, z.core.$strip>;
67
67
  export type MotionOnMotionChangedData = z.infer<typeof MotionOnMotionChangedDataSchema>;
68
68
  export declare const motionCapability: {
69
- readonly name: "motion";
70
- readonly scope: "device";
71
- readonly mode: "singleton";
69
+ readonly name: 'motion';
70
+ readonly scope: 'device';
71
+ readonly mode: 'singleton';
72
72
  /**
73
73
  * Providers register per-device natives via `ctx.registerNativeCap`
74
74
  * (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
@@ -114,9 +114,9 @@ export declare const motionCapability: {
114
114
  detected: z.ZodBoolean;
115
115
  timestamp: z.ZodNumber;
116
116
  source: z.ZodEnum<{
117
- onboard: "onboard";
118
117
  analyzer: "analyzer";
119
118
  "device-activity": "device-activity";
119
+ onboard: "onboard";
120
120
  }>;
121
121
  regions: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
122
122
  bbox: z.ZodObject<{
@@ -143,7 +143,7 @@ export declare const motionCapability: {
143
143
  lastDetectedAt: z.ZodNullable<z.ZodNumber>;
144
144
  autoClearAfterMs: z.ZodNullable<z.ZodNumber>;
145
145
  }, z.core.$strip>;
146
- readonly kind: "push";
146
+ readonly kind: 'push';
147
147
  };
148
148
  /**
149
149
  * Runtime-state slice — the last observed motion snapshot, mirrored
@@ -167,6 +167,6 @@ export declare const motionCapability: {
167
167
  * See `RuntimeStateDurability`. Enforced by
168
168
  * `scripts/check-runtime-state-durability.ts`.
169
169
  */
170
- readonly durability: "session";
170
+ readonly durability: 'session';
171
171
  };
172
172
  export type IMotionProvider = InferProvider<typeof motionCapability>;
@@ -10,26 +10,26 @@ import { type InferProvider } from './capability-definition.js';
10
10
  * - `tls-error` — TLS handshake failed (cert / SNI / cipher)
11
11
  */
12
12
  declare const BrokerStatusSchema: z.ZodEnum<{
13
- unreachable: "unreachable";
13
+ "auth-failed": "auth-failed";
14
14
  connected: "connected";
15
15
  disconnected: "disconnected";
16
- "auth-failed": "auth-failed";
17
16
  "tls-error": "tls-error";
17
+ unreachable: "unreachable";
18
18
  }>;
19
19
  declare const BrokerInfoSchema: z.ZodObject<{
20
20
  id: z.ZodString;
21
21
  name: z.ZodString;
22
22
  url: z.ZodString;
23
23
  kind: z.ZodEnum<{
24
- external: "external";
25
24
  embedded: "embedded";
25
+ external: "external";
26
26
  }>;
27
27
  status: z.ZodEnum<{
28
- unreachable: "unreachable";
28
+ "auth-failed": "auth-failed";
29
29
  connected: "connected";
30
30
  disconnected: "disconnected";
31
- "auth-failed": "auth-failed";
32
31
  "tls-error": "tls-error";
32
+ unreachable: "unreachable";
33
33
  }>;
34
34
  latencyMs: z.ZodNullable<z.ZodNumber>;
35
35
  error: z.ZodOptional<z.ZodString>;
@@ -69,16 +69,16 @@ declare const StatusSchema: z.ZodObject<{
69
69
  embeddedRunning: z.ZodBoolean;
70
70
  }, z.core.$strip>;
71
71
  export declare const mqttBrokerCapability: {
72
- readonly name: "mqtt-broker";
73
- readonly scope: "system";
74
- readonly mode: "collection";
75
- readonly providerKind: "broker";
72
+ readonly name: 'mqtt-broker';
73
+ readonly scope: 'system';
74
+ readonly mode: 'collection';
75
+ readonly providerKind: 'broker';
76
76
  readonly status: {
77
77
  readonly schema: z.ZodObject<{
78
78
  brokerCount: z.ZodNumber;
79
79
  embeddedRunning: z.ZodBoolean;
80
80
  }, z.core.$strip>;
81
- readonly kind: "poll";
81
+ readonly kind: 'poll';
82
82
  };
83
83
  readonly methods: {
84
84
  readonly listBrokers: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
@@ -86,15 +86,15 @@ export declare const mqttBrokerCapability: {
86
86
  name: z.ZodString;
87
87
  url: z.ZodString;
88
88
  kind: z.ZodEnum<{
89
- external: "external";
90
89
  embedded: "embedded";
90
+ external: "external";
91
91
  }>;
92
92
  status: z.ZodEnum<{
93
- unreachable: "unreachable";
93
+ "auth-failed": "auth-failed";
94
94
  connected: "connected";
95
95
  disconnected: "disconnected";
96
- "auth-failed": "auth-failed";
97
96
  "tls-error": "tls-error";
97
+ unreachable: "unreachable";
98
98
  }>;
99
99
  latencyMs: z.ZodNullable<z.ZodNumber>;
100
100
  error: z.ZodOptional<z.ZodString>;