@camstack/types 1.2.270 → 1.2.272

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 (52) hide show
  1. package/dist/addon.js +1 -1
  2. package/dist/addon.mjs +1 -1
  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/device-manager.cap.d.ts +50 -0
  8. package/dist/capabilities/index.d.ts +2 -2
  9. package/dist/capabilities/integrations.cap.d.ts +3 -3
  10. package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
  11. package/dist/capabilities/llm.cap.d.ts +4 -4
  12. package/dist/capabilities/motion.cap.d.ts +12 -0
  13. package/dist/capabilities/notification-rules.cap.d.ts +9 -9
  14. package/dist/capabilities/osd-manager.cap.d.ts +10 -10
  15. package/dist/capabilities/pet-feeder.cap.d.ts +4 -4
  16. package/dist/capabilities/pipeline-analytics.cap.d.ts +22 -10
  17. package/dist/capabilities/pipeline-executor.cap.d.ts +2 -2
  18. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +156 -6
  19. package/dist/capabilities/pipeline-runner.cap.d.ts +9 -0
  20. package/dist/capabilities/recording-archive.cap.d.ts +4 -4
  21. package/dist/capabilities/recording-export.cap.d.ts +7 -7
  22. package/dist/capabilities/recording-onboard.cap.d.ts +5 -5
  23. package/dist/capabilities/recording.cap.d.ts +5 -5
  24. package/dist/capabilities/snapshot.cap.d.ts +2 -2
  25. package/dist/capabilities/storage-provider.cap.d.ts +11 -11
  26. package/dist/capabilities/storage.cap.d.ts +3 -3
  27. package/dist/capabilities/stream-broker.cap.d.ts +1 -1
  28. package/dist/capabilities/videoclips.cap.d.ts +3 -3
  29. package/dist/capabilities/zone-analytics.cap.d.ts +2 -2
  30. package/dist/composition/composition-report.d.ts +3 -3
  31. package/dist/{composition-D5BQywfe.mjs → composition-BK-GTFYb.mjs} +27 -3
  32. package/dist/{composition-BAH3n-zq.js → composition-BRxAnxtU.js} +27 -3
  33. package/dist/device/base-device-provider.d.ts +19 -1
  34. package/dist/device/device-context.d.ts +12 -0
  35. package/dist/expression/builtins.d.ts +18 -0
  36. package/dist/expression/expression-source.d.ts +2 -0
  37. package/dist/generated/addon-api.d.ts +7 -66
  38. package/dist/generated/device-proxy.d.ts +1 -1
  39. package/dist/generated/method-access-map.d.ts +1 -1
  40. package/dist/generated/method-device-selectors.d.ts +2 -2
  41. package/dist/index.d.ts +1 -0
  42. package/dist/index.js +299 -23
  43. package/dist/index.mjs +284 -24
  44. package/dist/interfaces/addon.d.ts +9 -0
  45. package/dist/interfaces/storage-location-mode.d.ts +1 -1
  46. package/dist/interfaces/storage-location.d.ts +1 -1
  47. package/dist/node.js +1 -1
  48. package/dist/node.mjs +1 -1
  49. package/dist/pipeline/camera-sensors.d.ts +146 -0
  50. package/dist/{sleep-Bg0IB7gg.js → sleep-DYGSsCgK.js} +1 -0
  51. package/dist/{sleep-E6eD4yQS.mjs → sleep-DlrgY4Qb.mjs} +1 -0
  52. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-Bg0IB7gg.js");
2
+ const require_sleep = require("./sleep-DYGSsCgK.js");
3
3
  const require_event_category = require("./event-category-MbnB-6AN.js");
4
4
  const require_err_msg = require("./err-msg-Dx2Kor0g.js");
5
5
  //#region src/generated/cap-input-defaults.ts
package/dist/addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { At as normalizeAddonInitResult, B as nodePin, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Et as DATAPLANE_SECRET_HEADER, N as expandCapMethods, Ot as DisposerChain, Pt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, kt as BaseAddon, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES } from "./sleep-E6eD4yQS.mjs";
1
+ import { At as normalizeAddonInitResult, B as nodePin, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Et as DATAPLANE_SECRET_HEADER, N as expandCapMethods, Ot as DisposerChain, Pt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, kt as BaseAddon, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES } from "./sleep-DlrgY4Qb.mjs";
2
2
  import { t as EventCategory } from "./event-category-C5xZWqz6.mjs";
3
3
  import { a as DeviceType, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
4
4
  //#region src/generated/cap-input-defaults.ts
@@ -25,8 +25,8 @@ import { DeviceType } from '../device/device-type.js';
25
25
  * separate `sourceInfo` or device-config blob for these values.
26
26
  */
27
27
  export declare const ControlKindSchema: z.ZodEnum<{
28
- text: "text";
29
28
  datetime: "datetime";
29
+ text: "text";
30
30
  numeric: "numeric";
31
31
  select: "select";
32
32
  }>;
@@ -53,8 +53,8 @@ export type ControlKind = z.infer<typeof ControlKindSchema>;
53
53
  */
54
54
  export declare const ControlStatusSchema: z.ZodObject<{
55
55
  kind: z.ZodEnum<{
56
- text: "text";
57
56
  datetime: "datetime";
57
+ text: "text";
58
58
  numeric: "numeric";
59
59
  select: "select";
60
60
  }>;
@@ -114,8 +114,8 @@ export declare const controlCapability: {
114
114
  readonly status: {
115
115
  readonly schema: z.ZodObject<{
116
116
  kind: z.ZodEnum<{
117
- text: "text";
118
117
  datetime: "datetime";
118
+ text: "text";
119
119
  numeric: "numeric";
120
120
  select: "select";
121
121
  }>;
@@ -142,8 +142,8 @@ export declare const controlCapability: {
142
142
  */
143
143
  readonly runtimeState: z.ZodObject<{
144
144
  kind: z.ZodEnum<{
145
- text: "text";
146
145
  datetime: "datetime";
146
+ text: "text";
147
147
  numeric: "numeric";
148
148
  select: "select";
149
149
  }>;
@@ -3746,8 +3746,8 @@ export declare const coreBlocksCapability: {
3746
3746
  featureIndex: z.ZodNumber;
3747
3747
  cap: z.ZodString;
3748
3748
  mode: z.ZodEnum<{
3749
- new: "new";
3750
3749
  replace: "replace";
3750
+ new: "new";
3751
3751
  add: "add";
3752
3752
  }>;
3753
3753
  }, z.core.$strip>>;
@@ -28,8 +28,8 @@ import type { SourceInfo } from '../device/source-info.js';
28
28
  */
29
29
  export declare const DiscoveredChildStatusSchema: z.ZodEnum<{
30
30
  unknown: "unknown";
31
- sleeping: "sleeping";
32
31
  offline: "offline";
32
+ sleeping: "sleeping";
33
33
  online: "online";
34
34
  }>;
35
35
  export type DiscoveredChildStatus = z.infer<typeof DiscoveredChildStatusSchema>;
@@ -67,9 +67,9 @@ export type ExtensionSource = z.infer<typeof ExtensionSourceSchema>;
67
67
  * these states is SHOWN, never silently dropped or re-pointed.
68
68
  */
69
69
  export declare const ExtensionSourceHealthSchema: z.ZodEnum<{
70
+ missing: "missing";
70
71
  ok: "ok";
71
72
  unavailable: "unavailable";
72
- missing: "missing";
73
73
  foreign: "foreign";
74
74
  }>;
75
75
  export type ExtensionSourceHealth = z.infer<typeof ExtensionSourceHealthSchema>;
@@ -77,9 +77,9 @@ export declare const ExtensionSlotSourceSchema: z.ZodObject<{
77
77
  deviceId: z.ZodNumber;
78
78
  name: z.ZodNullable<z.ZodString>;
79
79
  health: z.ZodEnum<{
80
+ missing: "missing";
80
81
  ok: "ok";
81
82
  unavailable: "unavailable";
82
- missing: "missing";
83
83
  foreign: "foreign";
84
84
  }>;
85
85
  detail: z.ZodOptional<z.ZodString>;
@@ -132,9 +132,9 @@ export declare const ExtensionSlotStateSchema: z.ZodObject<{
132
132
  deviceId: z.ZodNumber;
133
133
  name: z.ZodNullable<z.ZodString>;
134
134
  health: z.ZodEnum<{
135
+ missing: "missing";
135
136
  ok: "ok";
136
137
  unavailable: "unavailable";
137
- missing: "missing";
138
138
  foreign: "foreign";
139
139
  }>;
140
140
  detail: z.ZodOptional<z.ZodString>;
@@ -143,9 +143,9 @@ export declare const ExtensionSlotStateSchema: z.ZodObject<{
143
143
  deviceId: z.ZodNumber;
144
144
  name: z.ZodNullable<z.ZodString>;
145
145
  health: z.ZodEnum<{
146
+ missing: "missing";
146
147
  ok: "ok";
147
148
  unavailable: "unavailable";
148
- missing: "missing";
149
149
  foreign: "foreign";
150
150
  }>;
151
151
  detail: z.ZodOptional<z.ZodString>;
@@ -192,9 +192,9 @@ export declare const ExtensionSlotRowSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
192
192
  deviceId: z.ZodNumber;
193
193
  name: z.ZodNullable<z.ZodString>;
194
194
  health: z.ZodEnum<{
195
+ missing: "missing";
195
196
  ok: "ok";
196
197
  unavailable: "unavailable";
197
- missing: "missing";
198
198
  foreign: "foreign";
199
199
  }>;
200
200
  detail: z.ZodOptional<z.ZodString>;
@@ -203,9 +203,9 @@ export declare const ExtensionSlotRowSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
203
203
  deviceId: z.ZodNumber;
204
204
  name: z.ZodNullable<z.ZodString>;
205
205
  health: z.ZodEnum<{
206
+ missing: "missing";
206
207
  ok: "ok";
207
208
  unavailable: "unavailable";
208
- missing: "missing";
209
209
  foreign: "foreign";
210
210
  }>;
211
211
  detail: z.ZodOptional<z.ZodString>;
@@ -340,9 +340,9 @@ export declare const deviceExtensionCapability: {
340
340
  deviceId: z.ZodNumber;
341
341
  name: z.ZodNullable<z.ZodString>;
342
342
  health: z.ZodEnum<{
343
+ missing: "missing";
343
344
  ok: "ok";
344
345
  unavailable: "unavailable";
345
- missing: "missing";
346
346
  foreign: "foreign";
347
347
  }>;
348
348
  detail: z.ZodOptional<z.ZodString>;
@@ -351,9 +351,9 @@ export declare const deviceExtensionCapability: {
351
351
  deviceId: z.ZodNumber;
352
352
  name: z.ZodNullable<z.ZodString>;
353
353
  health: z.ZodEnum<{
354
+ missing: "missing";
354
355
  ok: "ok";
355
356
  unavailable: "unavailable";
356
- missing: "missing";
357
357
  foreign: "foreign";
358
358
  }>;
359
359
  detail: z.ZodOptional<z.ZodString>;
@@ -199,6 +199,33 @@ export declare const DeviceBindingsForDeviceSchema: z.ZodObject<{
199
199
  }, z.core.$strip>>;
200
200
  }, z.core.$strip>;
201
201
  export type DeviceBindingsForDevice = z.infer<typeof DeviceBindingsForDeviceSchema>;
202
+ /**
203
+ * The STORED wrapper activation for one `(device, capability)` pair — the row
204
+ * `setWrapperActive` writes, read back three-way (D675):
205
+ *
206
+ * - `value` — the store answered and holds an activation: the bound wrapper's
207
+ * addon id, or `null`, the operator's explicit "off" marker (D62);
208
+ * - `missing` — the store answered, its activation map exists, and it holds
209
+ * nothing for this pair: the operator never activated or deactivated a
210
+ * wrapper here;
211
+ * - `failed` — the store could not be read, holds no activation map at all
212
+ * (an empty or unready snapshot, D44), or holds something that is not an
213
+ * activation. It carries NO information: a consumer must never read it as
214
+ * `missing` (D315, D393).
215
+ *
216
+ * This is the persisted INPUT, not the derived `getBindings` view — no registry
217
+ * resolution, no `defaultActive` auto-binding, no cluster native-cap folding.
218
+ */
219
+ export declare const WrapperActivationReadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
220
+ kind: z.ZodLiteral<"value">;
221
+ wrapperAddonId: z.ZodNullable<z.ZodString>;
222
+ }, z.core.$strip>, z.ZodObject<{
223
+ kind: z.ZodLiteral<"missing">;
224
+ }, z.core.$strip>, z.ZodObject<{
225
+ kind: z.ZodLiteral<"failed">;
226
+ error: z.ZodString;
227
+ }, z.core.$strip>], "kind">;
228
+ export type WrapperActivationRead = z.infer<typeof WrapperActivationReadSchema>;
202
229
  export { StreamSourceEntrySchema };
203
230
  export declare const SavedDeviceRowSchema: z.ZodObject<{
204
231
  id: z.ZodNumber;
@@ -1459,6 +1486,29 @@ export declare const deviceManagerCapability: {
1459
1486
  wrapperAddonId: z.ZodString;
1460
1487
  active: z.ZodBoolean;
1461
1488
  }, z.core.$strip>, z.ZodVoid, "mutation">;
1489
+ /**
1490
+ * The STORED wrapper activation for one `(device, capName)` pair, three-way
1491
+ * (`value` / `missing` / `failed`, see {@link WrapperActivationReadSchema}).
1492
+ *
1493
+ * The narrow read of the durable authority behind `getBindings`: a
1494
+ * consumer that must know what the operator PERSISTED (virtual-doorbell,
1495
+ * before it drops a press) asks this instead of pulling device-manager's
1496
+ * whole addon store through `addonSettingsRaw.getGlobal` — which answered
1497
+ * `{}` on every isolated-engine hub and so never worked (D675). It reads
1498
+ * ONE row (the activation map, ~1.6 KB), never the ~625 KB store.
1499
+ */
1500
+ readonly getWrapperActivation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1501
+ deviceId: z.ZodNumber;
1502
+ capName: z.ZodString;
1503
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1504
+ kind: z.ZodLiteral<"value">;
1505
+ wrapperAddonId: z.ZodNullable<z.ZodString>;
1506
+ }, z.core.$strip>, z.ZodObject<{
1507
+ kind: z.ZodLiteral<"missing">;
1508
+ }, z.core.$strip>, z.ZodObject<{
1509
+ kind: z.ZodLiteral<"failed">;
1510
+ error: z.ZodString;
1511
+ }, z.core.$strip>], "kind">, import("./capability-definition.js").CapabilityMethodKind>;
1462
1512
  /**
1463
1513
  * Return the addon ids that declared a wrapper provider for `capName`.
1464
1514
  * Backs the device-bindings UI's wrapper-picker dropdown. Entries are
@@ -53,7 +53,7 @@ export { AdoptInputSchema as AdoptionAdoptInputSchema, type AdoptionFilter, Adop
53
53
  export type { IDeviceExportProvider } from './device-export.cap.js';
54
54
  export { DeviceExportStatusSchema, deviceExportCapability, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposeInputSchema as DeviceExportExposeInputSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, } from './device-export.cap.js';
55
55
  export type { DeviceInfo, DeviceManagerApplyInitialMetaInput } from './device-manager.cap.js';
56
- export { ConfigEntrySchema, DEVICE_CHILDREN_BATCH_MAX, DeviceInfoSchema, deviceManagerCapability, type IDeviceManagerProvider, type LinkedDevice, LinkedDeviceSchema, type LinkedDevicesMode, LinkedDevicesModeSchema, LINKED_DEVICES_SLOT, type LinkedDevicesSlotValue, LinkedDevicesSlotValueSchema, type MigrateDeviceResult, MigrateDeviceResultSchema, type MigrateSwitchOutcome, MigrateSwitchOutcomeSchema, type MigrateSwitchReport, MigrateSwitchReportSchema, } from './device-manager.cap.js';
56
+ export { ConfigEntrySchema, DEVICE_CHILDREN_BATCH_MAX, DeviceInfoSchema, deviceManagerCapability, type IDeviceManagerProvider, type LinkedDevice, LinkedDeviceSchema, type LinkedDevicesMode, LinkedDevicesModeSchema, LINKED_DEVICES_SLOT, type LinkedDevicesSlotValue, LinkedDevicesSlotValueSchema, type MigrateDeviceResult, MigrateDeviceResultSchema, type MigrateSwitchOutcome, MigrateSwitchOutcomeSchema, type MigrateSwitchReport, MigrateSwitchReportSchema, type WrapperActivationRead, WrapperActivationReadSchema, } from './device-manager.cap.js';
57
57
  export { DiscoveredDeviceSchema, deviceProviderCapability, ProviderStatusSchema, } from './device-provider.cap.js';
58
58
  export { type ClaimOutcome, ClaimOutcomeSchema, type ClaimsListing, ClaimsListingSchema, deviceStateCapability, type FieldClaim, type FieldClaimMode, FieldClaimModeSchema, FieldClaimSchema, } from './device-state.cap.js';
59
59
  export type { EmbeddingFailedModel, EmbeddingFailedRequirement, EmbeddingModelFailure, EmbeddingRefusal, EmbeddingRefusalCode, EmbeddingTower, IEmbeddingEncoderProvider, } from './embedding-encoder.cap.js';
@@ -91,7 +91,7 @@ export { EffectiveTuningSchema, ModelSubstitutionSchema, NativeCropRefSchema, Pi
91
91
  export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, ClusterModelChoice, ClusterModelChoiceUnreadableReason, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
92
92
  export { AgentLoadSummarySchema, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, ClusterModelChoiceSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
93
93
  export type { DetailParent, DetailResult, MotionSource, MotionSources, OccupancyBurstRefusal, ParkedFrameKind, ParkedTrackFrame, ParkRefusal, ParkTrackFrameResult, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunnerJumpStepProvisioning, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
94
- export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, MotionSourceEnum, MotionSourcesSchema, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, OccupancyBurstRefusalSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
94
+ export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, MOTION_SOURCE_LABELS, MotionSourceEnum, MotionSourcesSchema, motionSourceLabel, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, OccupancyBurstRefusalSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
95
95
  export { AUDIO_NOT_CLASSIFIED_REASONS, AudioChunkInputSchema, AudioClassificationLabelSchema, AudioClassifyOutcomeSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
96
96
  export type { AudioClassifyOutcome, AudioNotClassifiedReason, } from './schemas/detection-shared.js';
97
97
  export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
@@ -81,19 +81,19 @@ declare const AvailableIntegrationTypeSchema: z.ZodObject<{
81
81
  * that SAYS the test did not run rather than inventing a failure.
82
82
  */
83
83
  declare const TestConnectionStatusEnum: z.ZodEnum<{
84
+ unsupported: "unsupported";
84
85
  validated: "validated";
85
86
  rejected: "rejected";
86
87
  inconclusive: "inconclusive";
87
- unsupported: "unsupported";
88
88
  }>;
89
89
  declare const TestConnectionResultSchema: z.ZodObject<{
90
90
  success: z.ZodBoolean;
91
91
  error: z.ZodOptional<z.ZodString>;
92
92
  status: z.ZodOptional<z.ZodEnum<{
93
+ unsupported: "unsupported";
93
94
  validated: "validated";
94
95
  rejected: "rejected";
95
96
  inconclusive: "inconclusive";
96
- unsupported: "unsupported";
97
97
  }>>;
98
98
  testedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
99
  latencyMs: z.ZodOptional<z.ZodNumber>;
@@ -233,10 +233,10 @@ export declare const integrationsCapability: {
233
233
  success: z.ZodBoolean;
234
234
  error: z.ZodOptional<z.ZodString>;
235
235
  status: z.ZodOptional<z.ZodEnum<{
236
+ unsupported: "unsupported";
236
237
  validated: "validated";
237
238
  rejected: "rejected";
238
239
  inconclusive: "inconclusive";
239
- unsupported: "unsupported";
240
240
  }>>;
241
241
  testedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
242
  latencyMs: z.ZodOptional<z.ZodNumber>;
@@ -111,8 +111,8 @@ export declare const LlmRuntimeStatusSchema: z.ZodObject<{
111
111
  nodeId: z.ZodString;
112
112
  state: z.ZodEnum<{
113
113
  failed: "failed";
114
- stopped: "stopped";
115
114
  ready: "ready";
115
+ stopped: "stopped";
116
116
  starting: "starting";
117
117
  crashed: "crashed";
118
118
  downloading: "downloading";
@@ -503,8 +503,8 @@ export declare const llmRuntimeCapability: {
503
503
  nodeId: z.ZodString;
504
504
  state: z.ZodEnum<{
505
505
  failed: "failed";
506
- stopped: "stopped";
507
506
  ready: "ready";
507
+ stopped: "stopped";
508
508
  starting: "starting";
509
509
  crashed: "crashed";
510
510
  downloading: "downloading";
@@ -535,8 +535,8 @@ export declare const llmRuntimeCapability: {
535
535
  nodeId: z.ZodString;
536
536
  state: z.ZodEnum<{
537
537
  failed: "failed";
538
- stopped: "stopped";
539
538
  ready: "ready";
539
+ stopped: "stopped";
540
540
  starting: "starting";
541
541
  crashed: "crashed";
542
542
  downloading: "downloading";
@@ -237,8 +237,8 @@ export declare const LlmRuntimeNodeSchema: z.ZodObject<{
237
237
  nodeId: z.ZodString;
238
238
  state: z.ZodEnum<{
239
239
  failed: "failed";
240
- stopped: "stopped";
241
240
  ready: "ready";
241
+ stopped: "stopped";
242
242
  starting: "starting";
243
243
  crashed: "crashed";
244
244
  downloading: "downloading";
@@ -809,8 +809,8 @@ export declare const llmCapability: {
809
809
  nodeId: z.ZodString;
810
810
  state: z.ZodEnum<{
811
811
  failed: "failed";
812
- stopped: "stopped";
813
812
  ready: "ready";
813
+ stopped: "stopped";
814
814
  starting: "starting";
815
815
  crashed: "crashed";
816
816
  downloading: "downloading";
@@ -959,8 +959,8 @@ export declare const llmCapability: {
959
959
  nodeId: z.ZodString;
960
960
  state: z.ZodEnum<{
961
961
  failed: "failed";
962
- stopped: "stopped";
963
962
  ready: "ready";
963
+ stopped: "stopped";
964
964
  starting: "starting";
965
965
  crashed: "crashed";
966
966
  downloading: "downloading";
@@ -993,8 +993,8 @@ export declare const llmCapability: {
993
993
  nodeId: z.ZodString;
994
994
  state: z.ZodEnum<{
995
995
  failed: "failed";
996
- stopped: "stopped";
997
996
  ready: "ready";
997
+ stopped: "stopped";
998
998
  starting: "starting";
999
999
  crashed: "crashed";
1000
1000
  downloading: "downloading";
@@ -57,6 +57,12 @@ export declare const MotionOnMotionChangedDataSchema: z.ZodObject<{
57
57
  pixelCount: z.ZodNumber;
58
58
  intensity: z.ZodNumber;
59
59
  }, z.core.$strip>>>>;
60
+ triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
61
+ kind: z.ZodLiteral<"camera">;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ kind: z.ZodLiteral<"sensor">;
64
+ deviceId: z.ZodNumber;
65
+ }, z.core.$strip>], "kind">>;
60
66
  }, z.core.$strip>;
61
67
  export type MotionOnMotionChangedData = z.infer<typeof MotionOnMotionChangedDataSchema>;
62
68
  export declare const motionCapability: {
@@ -122,6 +128,12 @@ export declare const motionCapability: {
122
128
  pixelCount: z.ZodNumber;
123
129
  intensity: z.ZodNumber;
124
130
  }, z.core.$strip>>>>;
131
+ triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
132
+ kind: z.ZodLiteral<"camera">;
133
+ }, z.core.$strip>, z.ZodObject<{
134
+ kind: z.ZodLiteral<"sensor">;
135
+ deviceId: z.ZodNumber;
136
+ }, z.core.$strip>], "kind">>;
125
137
  }, z.core.$strip>;
126
138
  };
127
139
  };
@@ -2294,11 +2294,11 @@ export declare const NcTemplateFieldSchema: z.ZodEnum<{
2294
2294
  export type NcTemplateField = z.infer<typeof NcTemplateFieldSchema>;
2295
2295
  export declare const NcTemplateVarGroupSchema: z.ZodEnum<{
2296
2296
  sensor: "sensor";
2297
+ time: "time";
2297
2298
  subject: "subject";
2298
2299
  system: "system";
2299
2300
  occupancy: "occupancy";
2300
2301
  ai: "ai";
2301
- time: "time";
2302
2302
  sound: "sound";
2303
2303
  rule: "rule";
2304
2304
  place: "place";
@@ -2320,11 +2320,11 @@ export declare const NcTemplateVarDescriptorSchema: z.ZodObject<{
2320
2320
  example: z.ZodString;
2321
2321
  group: z.ZodEnum<{
2322
2322
  sensor: "sensor";
2323
+ time: "time";
2323
2324
  subject: "subject";
2324
2325
  system: "system";
2325
2326
  occupancy: "occupancy";
2326
2327
  ai: "ai";
2327
- time: "time";
2328
2328
  sound: "sound";
2329
2329
  rule: "rule";
2330
2330
  place: "place";
@@ -3030,16 +3030,16 @@ export type NcAlarmSettingsPatch = z.infer<typeof NcAlarmSettingsPatchSchema>;
3030
3030
  * with the switches the operator actually used.
3031
3031
  */
3032
3032
  export declare const NcAlarmSkipReasonSchema: z.ZodEnum<{
3033
- muted: "muted";
3034
3033
  offline: "offline";
3034
+ muted: "muted";
3035
3035
  "detection-off": "detection-off";
3036
3036
  }>;
3037
3037
  export type NcAlarmSkipReason = z.infer<typeof NcAlarmSkipReasonSchema>;
3038
3038
  export declare const NcAlarmSkippedDeviceSchema: z.ZodObject<{
3039
3039
  deviceId: z.ZodNumber;
3040
3040
  reason: z.ZodEnum<{
3041
- muted: "muted";
3042
3041
  offline: "offline";
3042
+ muted: "muted";
3043
3043
  "detection-off": "detection-off";
3044
3044
  }>;
3045
3045
  }, z.core.$strip>;
@@ -3059,8 +3059,8 @@ export declare const NcAlarmModeCoverageSchema: z.ZodObject<{
3059
3059
  skippedDevices: z.ZodDefault<z.ZodArray<z.ZodObject<{
3060
3060
  deviceId: z.ZodNumber;
3061
3061
  reason: z.ZodEnum<{
3062
- muted: "muted";
3063
3062
  offline: "offline";
3063
+ muted: "muted";
3064
3064
  "detection-off": "detection-off";
3065
3065
  }>;
3066
3066
  }, z.core.$strip>>>;
@@ -3189,8 +3189,8 @@ export declare const NcAlarmConfigSchema: z.ZodObject<{
3189
3189
  skippedDevices: z.ZodDefault<z.ZodArray<z.ZodObject<{
3190
3190
  deviceId: z.ZodNumber;
3191
3191
  reason: z.ZodEnum<{
3192
- muted: "muted";
3193
3192
  offline: "offline";
3193
+ muted: "muted";
3194
3194
  "detection-off": "detection-off";
3195
3195
  }>;
3196
3196
  }, z.core.$strip>>>;
@@ -5901,11 +5901,11 @@ export declare const notificationRulesCapability: {
5901
5901
  example: z.ZodString;
5902
5902
  group: z.ZodEnum<{
5903
5903
  sensor: "sensor";
5904
+ time: "time";
5904
5905
  subject: "subject";
5905
5906
  system: "system";
5906
5907
  occupancy: "occupancy";
5907
5908
  ai: "ai";
5908
- time: "time";
5909
5909
  sound: "sound";
5910
5910
  rule: "rule";
5911
5911
  place: "place";
@@ -6354,8 +6354,8 @@ export declare const notificationRulesCapability: {
6354
6354
  skippedDevices: z.ZodDefault<z.ZodArray<z.ZodObject<{
6355
6355
  deviceId: z.ZodNumber;
6356
6356
  reason: z.ZodEnum<{
6357
- muted: "muted";
6358
6357
  offline: "offline";
6358
+ muted: "muted";
6359
6359
  "detection-off": "detection-off";
6360
6360
  }>;
6361
6361
  }, z.core.$strip>>>;
@@ -6473,8 +6473,8 @@ export declare const notificationRulesCapability: {
6473
6473
  skippedDevices: z.ZodDefault<z.ZodArray<z.ZodObject<{
6474
6474
  deviceId: z.ZodNumber;
6475
6475
  reason: z.ZodEnum<{
6476
- muted: "muted";
6477
6476
  offline: "offline";
6477
+ muted: "muted";
6478
6478
  "detection-off": "detection-off";
6479
6479
  }>;
6480
6480
  }, z.core.$strip>>>;
@@ -421,9 +421,9 @@ export type OsdSlotView = z.infer<typeof OsdSlotViewSchema>;
421
421
  */
422
422
  export declare const OsdRenderOutcomeEnum: z.ZodEnum<{
423
423
  failed: "failed";
424
- unchanged: "unchanged";
425
- unreadable: "unreadable";
426
424
  disabled: "disabled";
425
+ unreadable: "unreadable";
426
+ unchanged: "unchanged";
427
427
  written: "written";
428
428
  gated: "gated";
429
429
  unbound: "unbound";
@@ -433,9 +433,9 @@ export declare const OsdRenderResultSchema: z.ZodObject<{
433
433
  slotId: z.ZodString;
434
434
  outcome: z.ZodEnum<{
435
435
  failed: "failed";
436
- unchanged: "unchanged";
437
- unreadable: "unreadable";
438
436
  disabled: "disabled";
437
+ unreadable: "unreadable";
438
+ unchanged: "unchanged";
439
439
  written: "written";
440
440
  gated: "gated";
441
441
  unbound: "unbound";
@@ -1133,9 +1133,9 @@ export declare const osdManagerCapability: {
1133
1133
  slotId: z.ZodString;
1134
1134
  outcome: z.ZodEnum<{
1135
1135
  failed: "failed";
1136
- unchanged: "unchanged";
1137
- unreadable: "unreadable";
1138
1136
  disabled: "disabled";
1137
+ unreadable: "unreadable";
1138
+ unchanged: "unchanged";
1139
1139
  written: "written";
1140
1140
  gated: "gated";
1141
1141
  unbound: "unbound";
@@ -1348,9 +1348,9 @@ export declare const osdManagerCapability: {
1348
1348
  slotId: z.ZodString;
1349
1349
  outcome: z.ZodEnum<{
1350
1350
  failed: "failed";
1351
- unchanged: "unchanged";
1352
- unreadable: "unreadable";
1353
1351
  disabled: "disabled";
1352
+ unreadable: "unreadable";
1353
+ unchanged: "unchanged";
1354
1354
  written: "written";
1355
1355
  gated: "gated";
1356
1356
  unbound: "unbound";
@@ -1366,9 +1366,9 @@ export declare const osdManagerCapability: {
1366
1366
  slotId: z.ZodString;
1367
1367
  outcome: z.ZodEnum<{
1368
1368
  failed: "failed";
1369
- unchanged: "unchanged";
1370
- unreadable: "unreadable";
1371
1369
  disabled: "disabled";
1370
+ unreadable: "unreadable";
1371
+ unchanged: "unchanged";
1372
1372
  written: "written";
1373
1373
  gated: "gated";
1374
1374
  unbound: "unbound";
@@ -39,8 +39,8 @@ export declare const PET_FEEDER_MANUAL_FEED_MAX = 200;
39
39
  * `on_batteries` (running on battery backup). `null` until first reported.
40
40
  */
41
41
  export declare const PetFeederDeviceStatusSchema: z.ZodEnum<{
42
- normal: "normal";
43
42
  offline: "offline";
43
+ normal: "normal";
44
44
  on_batteries: "on_batteries";
45
45
  }>;
46
46
  export type PetFeederDeviceStatus = z.infer<typeof PetFeederDeviceStatusSchema>;
@@ -53,8 +53,8 @@ export declare const PetFeederStatusSchema: z.ZodObject<{
53
53
  desiccantLeftDays: z.ZodNullable<z.ZodNumber>;
54
54
  feeding: z.ZodBoolean;
55
55
  status: z.ZodNullable<z.ZodEnum<{
56
- normal: "normal";
57
56
  offline: "offline";
57
+ normal: "normal";
58
58
  on_batteries: "on_batteries";
59
59
  }>>;
60
60
  error: z.ZodNullable<z.ZodString>;
@@ -139,8 +139,8 @@ export declare const petFeederCapability: {
139
139
  desiccantLeftDays: z.ZodNullable<z.ZodNumber>;
140
140
  feeding: z.ZodBoolean;
141
141
  status: z.ZodNullable<z.ZodEnum<{
142
- normal: "normal";
143
142
  offline: "offline";
143
+ normal: "normal";
144
144
  on_batteries: "on_batteries";
145
145
  }>>;
146
146
  error: z.ZodNullable<z.ZodString>;
@@ -168,8 +168,8 @@ export declare const petFeederCapability: {
168
168
  desiccantLeftDays: z.ZodNullable<z.ZodNumber>;
169
169
  feeding: z.ZodBoolean;
170
170
  status: z.ZodNullable<z.ZodEnum<{
171
- normal: "normal";
172
171
  offline: "offline";
172
+ normal: "normal";
173
173
  on_batteries: "on_batteries";
174
174
  }>>;
175
175
  error: z.ZodNullable<z.ZodString>;