@camstack/types 1.2.560 → 1.2.562
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.
- package/CHANGELOG.md +22 -0
- package/dist/addon/instances-of-cap.d.ts +7 -2
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/automation/codegen.d.ts +6 -0
- package/dist/automation/recipe-literal.d.ts +35 -0
- package/dist/automation/recipe.d.ts +166 -120
- package/dist/automation/template-link.d.ts +206 -0
- package/dist/capabilities/accessories.cap.d.ts +6 -0
- package/dist/capabilities/action-source.cap.d.ts +3 -0
- package/dist/capabilities/actions.cap.d.ts +3 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -0
- package/dist/capabilities/addon-pages.cap.d.ts +3 -0
- package/dist/capabilities/addon-routes.cap.d.ts +3 -0
- package/dist/capabilities/addon-settings.cap.d.ts +3 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts +3 -0
- package/dist/capabilities/addon-widgets.cap.d.ts +3 -0
- package/dist/capabilities/addons.cap.d.ts +3 -0
- package/dist/capabilities/admin-ui.cap.d.ts +3 -0
- package/dist/capabilities/air-quality-sensor.cap.d.ts +39 -0
- package/dist/capabilities/alarm-panel.cap.d.ts +60 -14
- package/dist/capabilities/alerts.cap.d.ts +3 -0
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +12 -0
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts +3 -0
- package/dist/capabilities/audio-codec.cap.d.ts +3 -0
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -0
- package/dist/capabilities/auth-provider.cap.d.ts +3 -0
- package/dist/capabilities/automation-control.cap.d.ts +19 -0
- package/dist/capabilities/backup.cap.d.ts +3 -0
- package/dist/capabilities/battery.cap.d.ts +53 -0
- package/dist/capabilities/binary.cap.d.ts +136 -0
- package/dist/capabilities/board-key-source.cap.d.ts +3 -0
- package/dist/capabilities/brightness.cap.d.ts +13 -0
- package/dist/capabilities/broker.cap.d.ts +3 -0
- package/dist/capabilities/button.cap.d.ts +4 -0
- package/dist/capabilities/calendar-source.cap.d.ts +3 -0
- package/dist/capabilities/calendars.cap.d.ts +3 -0
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -0
- package/dist/capabilities/camera-grid-layout.cap.d.ts +4 -0
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -0
- package/dist/capabilities/camera-streams.cap.d.ts +4 -0
- package/dist/capabilities/capability-definition.d.ts +37 -8
- package/dist/capabilities/carbon-monoxide.cap.d.ts +12 -0
- package/dist/capabilities/climate-control.cap.d.ts +68 -12
- package/dist/capabilities/cluster-update.cap.d.ts +3 -0
- package/dist/capabilities/color.cap.d.ts +21 -0
- package/dist/capabilities/composer.cap.d.ts +3 -0
- package/dist/capabilities/connectivity.cap.d.ts +12 -0
- package/dist/capabilities/consumables.cap.d.ts +4 -0
- package/dist/capabilities/contact.cap.d.ts +12 -0
- package/dist/capabilities/control.cap.d.ts +15 -0
- package/dist/capabilities/core-blocks.cap.d.ts +3 -0
- package/dist/capabilities/cover.cap.d.ts +110 -0
- package/dist/capabilities/custom-model-registry.cap.d.ts +3 -0
- package/dist/capabilities/data-store-provider.cap.d.ts +3 -0
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -0
- package/dist/capabilities/day-night.cap.d.ts +25 -0
- package/dist/capabilities/decoder.cap.d.ts +3 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -0
- package/dist/capabilities/device-admin-link.cap.d.ts +4 -0
- package/dist/capabilities/device-adoption.cap.d.ts +3 -0
- package/dist/capabilities/device-credentials.cap.d.ts +3 -0
- package/dist/capabilities/device-export.cap.d.ts +3 -0
- package/dist/capabilities/device-extension.cap.d.ts +4 -0
- package/dist/capabilities/device-history.cap.d.ts +3 -0
- package/dist/capabilities/device-manager.cap.d.ts +3 -0
- package/dist/capabilities/device-ops.cap.d.ts +4 -0
- package/dist/capabilities/device-provider.cap.d.ts +3 -0
- package/dist/capabilities/device-removal-hook.cap.d.ts +3 -0
- package/dist/capabilities/device-runs.cap.d.ts +6 -0
- package/dist/capabilities/device-state.cap.d.ts +3 -0
- package/dist/capabilities/device-status.cap.d.ts +25 -0
- package/dist/capabilities/device-transitions.cap.d.ts +4 -0
- package/dist/capabilities/dishwasher.cap.d.ts +60 -0
- package/dist/capabilities/display-palette.cap.d.ts +3 -0
- package/dist/capabilities/do-not-disturb.cap.d.ts +12 -0
- package/dist/capabilities/doorbell.cap.d.ts +11 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts +3 -0
- package/dist/capabilities/energy-system.cap.d.ts +281 -0
- package/dist/capabilities/enum-sensor.cap.d.ts +10 -0
- package/dist/capabilities/event-emitter.cap.d.ts +11 -0
- package/dist/capabilities/face-gallery.cap.d.ts +3 -0
- package/dist/capabilities/failure-contribution.cap.d.ts +3 -0
- package/dist/capabilities/fan-control.cap.d.ts +19 -0
- package/dist/capabilities/fan-presets.cap.d.ts +3 -0
- package/dist/capabilities/feature-probe.cap.d.ts +5 -0
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -0
- package/dist/capabilities/flood.cap.d.ts +12 -0
- package/dist/capabilities/gas.cap.d.ts +12 -0
- package/dist/capabilities/group-active.cap.d.ts +4 -0
- package/dist/capabilities/group-commands.cap.d.ts +4 -0
- package/dist/capabilities/group-status.cap.d.ts +23 -0
- package/dist/capabilities/heat-pump-control.cap.d.ts +4 -0
- package/dist/capabilities/heat-pump-status.cap.d.ts +4 -0
- package/dist/capabilities/heating-valve.cap.d.ts +12 -0
- package/dist/capabilities/hero-layout.cap.d.ts +3 -0
- package/dist/capabilities/humidifier.cap.d.ts +19 -0
- package/dist/capabilities/humidity-sensor.cap.d.ts +12 -0
- package/dist/capabilities/image-settings.cap.d.ts +4 -0
- package/dist/capabilities/image.cap.d.ts +4 -0
- package/dist/capabilities/index.d.ts +5 -3
- package/dist/capabilities/integration-instances.cap.d.ts +12 -0
- package/dist/capabilities/integrations.cap.d.ts +3 -0
- package/dist/capabilities/intercom.cap.d.ts +13 -0
- package/dist/capabilities/ir-transmitter.cap.d.ts +101 -0
- package/dist/capabilities/keychain-admin.cap.d.ts +3 -0
- package/dist/capabilities/keychain.cap.d.ts +3 -0
- package/dist/capabilities/lawn-mower-control.cap.d.ts +36 -0
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -0
- package/dist/capabilities/llm.cap.d.ts +3 -0
- package/dist/capabilities/load-contribution.cap.d.ts +3 -0
- package/dist/capabilities/local-network.cap.d.ts +3 -0
- package/dist/capabilities/lock-control.cap.d.ts +35 -0
- package/dist/capabilities/log-channels.cap.d.ts +3 -0
- package/dist/capabilities/log-destination.cap.d.ts +3 -0
- package/dist/capabilities/login-method.cap.d.ts +3 -0
- package/dist/capabilities/media-player.cap.d.ts +66 -6
- package/dist/capabilities/mesh-network.cap.d.ts +3 -0
- package/dist/capabilities/meter.cap.d.ts +11 -0
- package/dist/capabilities/metrics-provider.cap.d.ts +3 -0
- package/dist/capabilities/migrations.cap.d.ts +3 -0
- package/dist/capabilities/model-convert.cap.d.ts +3 -0
- package/dist/capabilities/model-distributor.cap.d.ts +3 -0
- package/dist/capabilities/motion-detection.cap.d.ts +5 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +13 -0
- package/dist/capabilities/motion-zones.cap.d.ts +4 -0
- package/dist/capabilities/motion.cap.d.ts +13 -0
- package/dist/capabilities/mqtt-broker.cap.d.ts +3 -0
- package/dist/capabilities/native-object-detection.cap.d.ts +19 -0
- package/dist/capabilities/navigation.cap.d.ts +36 -0
- package/dist/capabilities/network-access.cap.d.ts +3 -0
- package/dist/capabilities/network-link.cap.d.ts +31 -0
- package/dist/capabilities/network-quality.cap.d.ts +3 -0
- package/dist/capabilities/node-certificates.cap.d.ts +3 -0
- package/dist/capabilities/node-removal-hook.cap.d.ts +3 -0
- package/dist/capabilities/nodes.cap.d.ts +3 -0
- package/dist/capabilities/notification-output.cap.d.ts +3 -0
- package/dist/capabilities/notification-rules.cap.d.ts +3 -0
- package/dist/capabilities/notifier.cap.d.ts +5 -0
- package/dist/capabilities/numeric-sensor.cap.d.ts +11 -0
- package/dist/capabilities/oauth-integration.cap.d.ts +3 -0
- package/dist/capabilities/osd-manager.cap.d.ts +3 -0
- package/dist/capabilities/osd.cap.d.ts +5 -0
- package/dist/capabilities/pet-feeder.cap.d.ts +35 -9
- package/dist/capabilities/pet-fountain.cap.d.ts +19 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +35 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts +3 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +3 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +3 -0
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -0
- package/dist/capabilities/platform-probe.cap.d.ts +3 -0
- package/dist/capabilities/power-meter.cap.d.ts +33 -0
- package/dist/capabilities/power-source.cap.d.ts +12 -0
- package/dist/capabilities/presence.cap.d.ts +11 -0
- package/dist/capabilities/pressure-sensor.cap.d.ts +12 -0
- package/dist/capabilities/privacy-mask.cap.d.ts +19 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts +13 -0
- package/dist/capabilities/ptz.cap.d.ts +11 -7
- package/dist/capabilities/pump-cycle.cap.d.ts +12 -0
- package/dist/capabilities/reboot.cap.d.ts +4 -0
- package/dist/capabilities/record-entries.cap.d.ts +3 -0
- package/dist/capabilities/recording-archive.cap.d.ts +3 -0
- package/dist/capabilities/recording-export.cap.d.ts +3 -0
- package/dist/capabilities/recording-onboard.cap.d.ts +12 -0
- package/dist/capabilities/recording-signal.cap.d.ts +12 -0
- package/dist/capabilities/recording.cap.d.ts +4 -0
- package/dist/capabilities/records.cap.d.ts +3 -0
- package/dist/capabilities/remote-layout-components.cap.d.ts +3 -0
- package/dist/capabilities/remote.cap.d.ts +3 -0
- package/dist/capabilities/running-state.cap.d.ts +77 -0
- package/dist/capabilities/scene-monitor.cap.d.ts +11 -0
- package/dist/capabilities/schedulers.cap.d.ts +3 -0
- package/dist/capabilities/script-runner.cap.d.ts +12 -0
- package/dist/capabilities/server-management.cap.d.ts +3 -0
- package/dist/capabilities/settings-store.cap.d.ts +3 -0
- package/dist/capabilities/smoke.cap.d.ts +12 -0
- package/dist/capabilities/smtp-provider.cap.d.ts +3 -0
- package/dist/capabilities/snapshot.cap.d.ts +4 -0
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -0
- package/dist/capabilities/storage-admin.cap.d.ts +3 -0
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -0
- package/dist/capabilities/storage-migration.cap.d.ts +3 -0
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -0
- package/dist/capabilities/storage-provider.cap.d.ts +3 -0
- package/dist/capabilities/storage.cap.d.ts +3 -0
- package/dist/capabilities/stream-broker.cap.d.ts +3 -0
- package/dist/capabilities/stream-catalog.cap.d.ts +4 -0
- package/dist/capabilities/stream-params.cap.d.ts +4 -0
- package/dist/capabilities/stream-signals.cap.d.ts +4 -0
- package/dist/capabilities/switch.cap.d.ts +208 -0
- package/dist/capabilities/system.cap.d.ts +3 -0
- package/dist/capabilities/tamper.cap.d.ts +12 -0
- package/dist/capabilities/temperature-sensor.cap.d.ts +12 -0
- package/dist/capabilities/template.cap.d.ts +42 -2
- package/dist/capabilities/terminal-session.cap.d.ts +3 -0
- package/dist/capabilities/timed-run.cap.d.ts +4 -0
- package/dist/capabilities/toast.cap.d.ts +3 -0
- package/dist/capabilities/training-provider.cap.d.ts +3 -0
- package/dist/capabilities/training.cap.d.ts +3 -0
- package/dist/capabilities/turn-provider.cap.d.ts +3 -0
- package/dist/capabilities/update.cap.d.ts +19 -0
- package/dist/capabilities/user-management.cap.d.ts +3 -0
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -0
- package/dist/capabilities/vacuum-control.cap.d.ts +43 -0
- package/dist/capabilities/valve.cap.d.ts +38 -0
- package/dist/capabilities/vector-store.cap.d.ts +3 -0
- package/dist/capabilities/vibration.cap.d.ts +12 -0
- package/dist/capabilities/videoclips.cap.d.ts +4 -0
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -0
- package/dist/capabilities/water-heater.cap.d.ts +33 -4
- package/dist/capabilities/weather.cap.d.ts +39 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +4 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +11 -0
- package/dist/capabilities/zone-rules.cap.d.ts +4 -0
- package/dist/capabilities/zones.cap.d.ts +4 -0
- package/dist/client.js +186 -29
- package/dist/client.mjs +186 -29
- package/dist/{composed-stable-id-iddnCQ51.mjs → composed-stable-id-B3wcvtvW.mjs} +4 -0
- package/dist/{composed-stable-id-BmJ_5GiE.js → composed-stable-id-Bp33yrYi.js} +4 -0
- package/dist/device/cap-vocabulary/declaration.d.ts +107 -0
- package/dist/device/cap-vocabulary/index.d.ts +4 -2
- package/dist/device/cap-vocabulary/system-reasons.d.ts +17 -0
- package/dist/device/cap-vocabulary/types.d.ts +24 -6
- package/dist/device/cap-vocabulary/vocabulary.d.ts +15 -3
- package/dist/device/device-control-resolution.d.ts +1 -1
- package/dist/device/device-icon.d.ts +1 -0
- package/dist/device/device-type.d.ts +5 -1
- package/dist/device/hero/hero-layout.d.ts +1 -0
- package/dist/device/hero/hero-look.d.ts +6 -0
- package/dist/device/hero/hero-scene.d.ts +1 -0
- package/dist/generated/addon-api.d.ts +66 -52
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/cap-vocabulary.d.ts +7 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/customize-catalog.d.ts +1 -1
- package/dist/generated/device-local-state.d.ts +6 -0
- package/dist/generated/device-proxy.d.ts +4 -0
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/{implemented-methods-CfaRR_ki.js → implemented-methods-CDYOCn9a.js} +1 -1
- package/dist/{implemented-methods-CSTk6zYK.mjs → implemented-methods-CgUBu6uM.mjs} +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.js +6739 -765
- package/dist/index.mjs +6685 -766
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-CyWfD1LJ.js → sleep-Cb2px0Nb.js} +5706 -1620
- package/dist/{sleep-BvVGLl30.mjs → sleep-Cykc2bzi.mjs} +5701 -1621
- package/dist/template/automation-template.d.ts +782 -0
- package/dist/template/builtin-automation-templates.d.ts +17 -0
- package/dist/template/template-kinds.d.ts +4 -3
- package/package.json +1 -1
- package/dist/device/cap-vocabulary/entries/actuators.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/appliances.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/camera.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/heat-pump.d.ts +0 -4
- package/dist/device/cap-vocabulary/entries/sensors.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/system.d.ts +0 -8
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The link an automation made FROM a template carries (#527): which template,
|
|
3
|
+
* the values the operator filled in, and — when the template has since changed
|
|
4
|
+
* so that those values no longer fit — the problems that say why.
|
|
5
|
+
*
|
|
6
|
+
* It lives inside the recipe (`AutomationRecipe.template`), so the one row in
|
|
7
|
+
* `core_blocks` stays the one artefact: there is no second store of instances
|
|
8
|
+
* to drift from the blocks, and deleting the automation deletes the link.
|
|
9
|
+
* "Convert to a free automation" is dropping this field.
|
|
10
|
+
*
|
|
11
|
+
* This file depends on nothing in `recipe.ts`, so the recipe can embed it and
|
|
12
|
+
* the template engine (`template/automation-template.ts`) can import both.
|
|
13
|
+
*/
|
|
14
|
+
import { z } from 'zod';
|
|
15
|
+
/** An `event` input's value: the same three narrowing lists a `device-fired` row takes. */
|
|
16
|
+
export declare const TemplateEventValueSchema: z.ZodObject<{
|
|
17
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
20
|
+
"double-press": "double-press";
|
|
21
|
+
"long-press": "long-press";
|
|
22
|
+
"long-press-start": "long-press-start";
|
|
23
|
+
other: "other";
|
|
24
|
+
press: "press";
|
|
25
|
+
release: "release";
|
|
26
|
+
repeat: "repeat";
|
|
27
|
+
}>>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
export type TemplateEventValue = z.infer<typeof TemplateEventValueSchema>;
|
|
30
|
+
/** An `action` input's value: a vocabulary action and its open args. */
|
|
31
|
+
export declare const TemplateActionValueSchema: z.ZodObject<{
|
|
32
|
+
actionId: z.ZodString;
|
|
33
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export type TemplateActionValue = z.infer<typeof TemplateActionValueSchema>;
|
|
36
|
+
/** The value of one non-group input. Which member is right is the input kind's to judge. */
|
|
37
|
+
export declare const TemplateScalarValueSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
38
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
41
|
+
"double-press": "double-press";
|
|
42
|
+
"long-press": "long-press";
|
|
43
|
+
"long-press-start": "long-press-start";
|
|
44
|
+
other: "other";
|
|
45
|
+
press: "press";
|
|
46
|
+
release: "release";
|
|
47
|
+
repeat: "repeat";
|
|
48
|
+
}>>>;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
actionId: z.ZodString;
|
|
51
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
52
|
+
}, z.core.$strip>]>;
|
|
53
|
+
export type TemplateScalarValue = z.infer<typeof TemplateScalarValueSchema>;
|
|
54
|
+
/** One row of a repeatable group: row-input key → value. */
|
|
55
|
+
export declare const TemplateGroupRowSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
56
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
59
|
+
"double-press": "double-press";
|
|
60
|
+
"long-press": "long-press";
|
|
61
|
+
"long-press-start": "long-press-start";
|
|
62
|
+
other: "other";
|
|
63
|
+
press: "press";
|
|
64
|
+
release: "release";
|
|
65
|
+
repeat: "repeat";
|
|
66
|
+
}>>>;
|
|
67
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
+
actionId: z.ZodString;
|
|
69
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
70
|
+
}, z.core.$strip>]>>;
|
|
71
|
+
export type TemplateGroupRow = z.infer<typeof TemplateGroupRowSchema>;
|
|
72
|
+
export declare const TemplateInputValueSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
73
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
74
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
76
|
+
"double-press": "double-press";
|
|
77
|
+
"long-press": "long-press";
|
|
78
|
+
"long-press-start": "long-press-start";
|
|
79
|
+
other: "other";
|
|
80
|
+
press: "press";
|
|
81
|
+
release: "release";
|
|
82
|
+
repeat: "repeat";
|
|
83
|
+
}>>>;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
+
actionId: z.ZodString;
|
|
86
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
87
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
88
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
91
|
+
"double-press": "double-press";
|
|
92
|
+
"long-press": "long-press";
|
|
93
|
+
"long-press-start": "long-press-start";
|
|
94
|
+
other: "other";
|
|
95
|
+
press: "press";
|
|
96
|
+
release: "release";
|
|
97
|
+
repeat: "repeat";
|
|
98
|
+
}>>>;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
+
actionId: z.ZodString;
|
|
101
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
102
|
+
}, z.core.$strip>]>>>]>;
|
|
103
|
+
export type TemplateInputValue = z.infer<typeof TemplateInputValueSchema>;
|
|
104
|
+
/** Input key → value. */
|
|
105
|
+
export declare const TemplateInputValuesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
106
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
108
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
109
|
+
"double-press": "double-press";
|
|
110
|
+
"long-press": "long-press";
|
|
111
|
+
"long-press-start": "long-press-start";
|
|
112
|
+
other: "other";
|
|
113
|
+
press: "press";
|
|
114
|
+
release: "release";
|
|
115
|
+
repeat: "repeat";
|
|
116
|
+
}>>>;
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
actionId: z.ZodString;
|
|
119
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
120
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
121
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
122
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
124
|
+
"double-press": "double-press";
|
|
125
|
+
"long-press": "long-press";
|
|
126
|
+
"long-press-start": "long-press-start";
|
|
127
|
+
other: "other";
|
|
128
|
+
press: "press";
|
|
129
|
+
release: "release";
|
|
130
|
+
repeat: "repeat";
|
|
131
|
+
}>>>;
|
|
132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
|
+
actionId: z.ZodString;
|
|
134
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
135
|
+
}, z.core.$strip>]>>>]>>;
|
|
136
|
+
export type TemplateInputValues = z.infer<typeof TemplateInputValuesSchema>;
|
|
137
|
+
export declare const TEMPLATE_INSTANCE_PROBLEM_CODES: readonly [
|
|
138
|
+
/** A required input has no value. */
|
|
139
|
+
'missing-input',
|
|
140
|
+
/** A value the input's kind or bounds refuse. */
|
|
141
|
+
'invalid-input',
|
|
142
|
+
/** The expansion is not a valid automation. */
|
|
143
|
+
'invalid-recipe',
|
|
144
|
+
/** The template the instance points at is gone. */
|
|
145
|
+
'missing-template',
|
|
146
|
+
/** The code was changed outside the generator: it is no longer re-expanded. */
|
|
147
|
+
'edited-by-hand'];
|
|
148
|
+
export declare const TemplateInstanceProblemSchema: z.ZodObject<{
|
|
149
|
+
code: z.ZodEnum<{
|
|
150
|
+
"edited-by-hand": "edited-by-hand";
|
|
151
|
+
"invalid-input": "invalid-input";
|
|
152
|
+
"invalid-recipe": "invalid-recipe";
|
|
153
|
+
"missing-input": "missing-input";
|
|
154
|
+
"missing-template": "missing-template";
|
|
155
|
+
}>;
|
|
156
|
+
input: z.ZodOptional<z.ZodString>;
|
|
157
|
+
detail: z.ZodString;
|
|
158
|
+
}, z.core.$strip>;
|
|
159
|
+
export type TemplateInstanceProblem = z.infer<typeof TemplateInstanceProblemSchema>;
|
|
160
|
+
export declare const AutomationTemplateLinkSchema: z.ZodObject<{
|
|
161
|
+
templateId: z.ZodString;
|
|
162
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
163
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
164
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
165
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
166
|
+
"double-press": "double-press";
|
|
167
|
+
"long-press": "long-press";
|
|
168
|
+
"long-press-start": "long-press-start";
|
|
169
|
+
other: "other";
|
|
170
|
+
press: "press";
|
|
171
|
+
release: "release";
|
|
172
|
+
repeat: "repeat";
|
|
173
|
+
}>>>;
|
|
174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
175
|
+
actionId: z.ZodString;
|
|
176
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
177
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
178
|
+
eventIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
179
|
+
sourceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
180
|
+
kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
181
|
+
"double-press": "double-press";
|
|
182
|
+
"long-press": "long-press";
|
|
183
|
+
"long-press-start": "long-press-start";
|
|
184
|
+
other: "other";
|
|
185
|
+
press: "press";
|
|
186
|
+
release: "release";
|
|
187
|
+
repeat: "repeat";
|
|
188
|
+
}>>>;
|
|
189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
190
|
+
actionId: z.ZodString;
|
|
191
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
192
|
+
}, z.core.$strip>]>>>]>>;
|
|
193
|
+
codeHash: z.ZodOptional<z.ZodString>;
|
|
194
|
+
problems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
195
|
+
code: z.ZodEnum<{
|
|
196
|
+
"edited-by-hand": "edited-by-hand";
|
|
197
|
+
"invalid-input": "invalid-input";
|
|
198
|
+
"invalid-recipe": "invalid-recipe";
|
|
199
|
+
"missing-input": "missing-input";
|
|
200
|
+
"missing-template": "missing-template";
|
|
201
|
+
}>;
|
|
202
|
+
input: z.ZodOptional<z.ZodString>;
|
|
203
|
+
detail: z.ZodString;
|
|
204
|
+
}, z.core.$strip>>>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
export type AutomationTemplateLink = z.infer<typeof AutomationTemplateLinkSchema>;
|
|
@@ -64,6 +64,7 @@ export declare const accessoriesCapability: {
|
|
|
64
64
|
childDeviceIds: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
65
65
|
hiddenChildIds: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
66
66
|
}, z.core.$strip>;
|
|
67
|
+
readonly notOperatorFacing: 'the device’s child list changed — administration, not a happening';
|
|
67
68
|
};
|
|
68
69
|
/**
|
|
69
70
|
* Emitted when the operator toggles a child's UI-visibility.
|
|
@@ -76,6 +77,7 @@ export declare const accessoriesCapability: {
|
|
|
76
77
|
childDeviceId: z.ZodNumber;
|
|
77
78
|
hidden: z.ZodBoolean;
|
|
78
79
|
}, z.core.$strip>;
|
|
80
|
+
readonly notOperatorFacing: 'an operator hid or showed a child — administration, not a happening';
|
|
79
81
|
};
|
|
80
82
|
};
|
|
81
83
|
readonly status: {
|
|
@@ -85,5 +87,9 @@ export declare const accessoriesCapability: {
|
|
|
85
87
|
}, z.core.$strip>;
|
|
86
88
|
readonly kind: 'command-driven';
|
|
87
89
|
};
|
|
90
|
+
readonly vocabulary: {
|
|
91
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
92
|
+
readonly order: 3000;
|
|
93
|
+
};
|
|
88
94
|
};
|
|
89
95
|
export type IAccessoriesProvider = InferProvider<typeof accessoriesCapability>;
|
|
@@ -121,5 +121,8 @@ export declare const actionSourceCapability: {
|
|
|
121
121
|
actionId: z.ZodString;
|
|
122
122
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
123
123
|
};
|
|
124
|
+
readonly vocabulary: {
|
|
125
|
+
readonly notOperatorFacing: "internal plumbing between addons — never operator-facing";
|
|
126
|
+
};
|
|
124
127
|
};
|
|
125
128
|
export type IActionSourceProvider = InferProvider<typeof actionSourceCapability>;
|
|
@@ -752,5 +752,8 @@ export declare const actionsCapability: {
|
|
|
752
752
|
}, z.core.$strip>;
|
|
753
753
|
};
|
|
754
754
|
};
|
|
755
|
+
readonly vocabulary: {
|
|
756
|
+
readonly notOperatorFacing: 'declared actions — run from the Actions page and from the cameras that link them';
|
|
757
|
+
};
|
|
755
758
|
};
|
|
756
759
|
export type IActionsProvider = InferProvider<typeof actionsCapability>;
|
|
@@ -49,6 +49,9 @@ export declare const addonPagesSourceCapability: {
|
|
|
49
49
|
sectionLabel: z.ZodOptional<z.ZodString>;
|
|
50
50
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
51
51
|
};
|
|
52
|
+
readonly vocabulary: {
|
|
53
|
+
readonly notOperatorFacing: "admin UI plumbing — pages, widgets and routes, not something a device does";
|
|
54
|
+
};
|
|
52
55
|
};
|
|
53
56
|
export type IAddonPagesSourceProvider = InferProvider<typeof addonPagesSourceCapability>;
|
|
54
57
|
export { AddonPageDeclarationSchema };
|
|
@@ -34,6 +34,9 @@ export declare const addonPagesCapability: {
|
|
|
34
34
|
bundleUrl: z.ZodString;
|
|
35
35
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
36
36
|
};
|
|
37
|
+
readonly vocabulary: {
|
|
38
|
+
readonly notOperatorFacing: "admin UI plumbing — pages, widgets and routes, not something a device does";
|
|
39
|
+
};
|
|
37
40
|
};
|
|
38
41
|
export type IAddonPagesAggregatorProvider = InferProvider<typeof addonPagesCapability>;
|
|
39
42
|
export { AddonPageInfoSchema };
|
|
@@ -90,6 +90,9 @@ export declare const addonRoutesCapability: {
|
|
|
90
90
|
readonly mount: {
|
|
91
91
|
readonly kind: 'skip';
|
|
92
92
|
};
|
|
93
|
+
readonly vocabulary: {
|
|
94
|
+
readonly notOperatorFacing: "admin UI plumbing — pages, widgets and routes, not something a device does";
|
|
95
|
+
};
|
|
93
96
|
};
|
|
94
97
|
export type IAddonRoutesProvider = InferProvider<typeof addonRoutesCapability>;
|
|
95
98
|
export { InvokeRequestSchema, InvokeReplyEnvelopeSchema };
|
|
@@ -227,6 +227,9 @@ export declare const addonSettingsCapability: {
|
|
|
227
227
|
success: z.ZodLiteral<true>;
|
|
228
228
|
}, z.core.$strip>, "mutation">;
|
|
229
229
|
};
|
|
230
|
+
readonly vocabulary: {
|
|
231
|
+
readonly notOperatorFacing: "addon administration — installed and configured from the Addons page";
|
|
232
|
+
};
|
|
230
233
|
};
|
|
231
234
|
export type IAddonSettingsProvider = InferProvider<typeof addonSettingsCapability>;
|
|
232
235
|
export { SettingsSchemaWithValuesSchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, SettingsPatchSchema, SettingsUpdateResultSchema, };
|
|
@@ -177,6 +177,9 @@ export declare const addonWidgetsSourceCapability: {
|
|
|
177
177
|
defaultRows: z.ZodDefault<z.ZodNumber>;
|
|
178
178
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
179
179
|
};
|
|
180
|
+
readonly vocabulary: {
|
|
181
|
+
readonly notOperatorFacing: "admin UI plumbing — pages, widgets and routes, not something a device does";
|
|
182
|
+
};
|
|
180
183
|
};
|
|
181
184
|
export type IAddonWidgetsSourceProvider = InferProvider<typeof addonWidgetsSourceCapability>;
|
|
182
185
|
/** A single widget declaration — a `UiContribution` (`kind:'remote'`) + widget metadata. */
|
|
@@ -110,6 +110,9 @@ export declare const addonWidgetsCapability: {
|
|
|
110
110
|
bundleUrl: z.ZodString;
|
|
111
111
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
112
112
|
};
|
|
113
|
+
readonly vocabulary: {
|
|
114
|
+
readonly notOperatorFacing: "admin UI plumbing — pages, widgets and routes, not something a device does";
|
|
115
|
+
};
|
|
113
116
|
};
|
|
114
117
|
export type IAddonWidgetsAggregatorProvider = InferProvider<typeof addonWidgetsCapability>;
|
|
115
118
|
/** One enriched widget row — `WidgetMetadata` + aggregator-stamped `addonId` + `bundleUrl`. */
|
|
@@ -1023,6 +1023,9 @@ export declare const addonsCapability: {
|
|
|
1023
1023
|
readonly mount: {
|
|
1024
1024
|
readonly kind: 'server-provided';
|
|
1025
1025
|
};
|
|
1026
|
+
readonly vocabulary: {
|
|
1027
|
+
readonly notOperatorFacing: "addon administration — installed and configured from the Addons page";
|
|
1028
|
+
};
|
|
1026
1029
|
};
|
|
1027
1030
|
export type IAddonsProvider = InferProvider<typeof addonsCapability>;
|
|
1028
1031
|
export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, BulkUpdateItemSchema, BulkUpdateItemStatusSchema, BulkUpdatePhaseSchema, BulkUpdateStateSchema, ChannelSchema, ChannelWithInheritSchema, CustomActionInputSchema, FrameworkPackageStatusSchema, InstalledPackageSchema, LogLevelSchema, LogStreamEntrySchema, PackageInstallationSchema, PackageInstallationsSchema, PackageDocBodySchema, PackageDocsSchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, UninstallNodeOutcomeSchema, UninstallNodeResultSchema, UninstallPackageResultSchema, };
|
|
@@ -22,5 +22,8 @@ export declare const adminUiCapability: {
|
|
|
22
22
|
version: z.ZodString;
|
|
23
23
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
24
24
|
};
|
|
25
|
+
readonly vocabulary: {
|
|
26
|
+
readonly notOperatorFacing: "admin UI plumbing — pages, widgets and routes, not something a device does";
|
|
27
|
+
};
|
|
25
28
|
};
|
|
26
29
|
export type IAdminUiProvider = InferProvider<typeof adminUiCapability>;
|
|
@@ -87,5 +87,44 @@ export declare const airQualitySensorCapability: {
|
|
|
87
87
|
/** Clock fields: written, but excluded from the compare that decides
|
|
88
88
|
* whether persisting is worth a SQLite commit. */
|
|
89
89
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
90
|
+
readonly vocabulary: {
|
|
91
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
92
|
+
readonly order: 5000;
|
|
93
|
+
readonly state: readonly [{
|
|
94
|
+
readonly kind: 'numeric';
|
|
95
|
+
readonly field: 'co2';
|
|
96
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
97
|
+
readonly label: import("../index.js").VocabL10n;
|
|
98
|
+
readonly unit: 'ppm';
|
|
99
|
+
readonly icon: 'wind';
|
|
100
|
+
}, {
|
|
101
|
+
readonly kind: 'numeric';
|
|
102
|
+
readonly field: 'voc';
|
|
103
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
104
|
+
readonly label: import("../index.js").VocabL10n;
|
|
105
|
+
readonly unit: 'ppb';
|
|
106
|
+
readonly icon: 'wind';
|
|
107
|
+
}, {
|
|
108
|
+
readonly kind: 'numeric';
|
|
109
|
+
readonly field: 'pm25';
|
|
110
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
111
|
+
readonly label: import("../index.js").VocabL10n;
|
|
112
|
+
readonly unit: 'µg/m³';
|
|
113
|
+
readonly icon: 'cloud-fog';
|
|
114
|
+
}, {
|
|
115
|
+
readonly kind: 'numeric';
|
|
116
|
+
readonly field: 'pm10';
|
|
117
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
118
|
+
readonly label: import("../index.js").VocabL10n;
|
|
119
|
+
readonly unit: 'µg/m³';
|
|
120
|
+
readonly icon: 'cloud-fog';
|
|
121
|
+
}, {
|
|
122
|
+
readonly kind: 'numeric';
|
|
123
|
+
readonly field: 'aqi';
|
|
124
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
125
|
+
readonly label: import("../index.js").VocabL10n;
|
|
126
|
+
readonly icon: 'wind';
|
|
127
|
+
}];
|
|
128
|
+
};
|
|
90
129
|
};
|
|
91
130
|
export type IAirQualitySensorProvider = InferProvider<typeof airQualitySensorCapability>;
|
|
@@ -76,6 +76,20 @@ export declare const alarmPanelCapability: {
|
|
|
76
76
|
readonly mode: 'singleton';
|
|
77
77
|
readonly deviceTypes: readonly [DeviceType.AlarmPanel];
|
|
78
78
|
readonly methods: {
|
|
79
|
+
/**
|
|
80
|
+
* Force the panel into the `triggered` state — used by HA
|
|
81
|
+
* automations to surface external sensor events through the panel
|
|
82
|
+
* (e.g. a Reolink camera intrusion event firing the security
|
|
83
|
+
* system). Provider rejects when the panel hardware doesn't
|
|
84
|
+
* support a software-initiated trigger.
|
|
85
|
+
*/
|
|
86
|
+
readonly trigger: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
87
|
+
deviceId: z.ZodNumber;
|
|
88
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
89
|
+
readonly disarm: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
90
|
+
deviceId: z.ZodNumber;
|
|
91
|
+
code: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
79
93
|
readonly arm: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
80
94
|
deviceId: z.ZodNumber;
|
|
81
95
|
mode: z.ZodEnum<{
|
|
@@ -87,20 +101,6 @@ export declare const alarmPanelCapability: {
|
|
|
87
101
|
}>;
|
|
88
102
|
code: z.ZodOptional<z.ZodString>;
|
|
89
103
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
90
|
-
readonly disarm: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
91
|
-
deviceId: z.ZodNumber;
|
|
92
|
-
code: z.ZodOptional<z.ZodString>;
|
|
93
|
-
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
94
|
-
/**
|
|
95
|
-
* Force the panel into the `triggered` state — used by HA
|
|
96
|
-
* automations to surface external sensor events through the panel
|
|
97
|
-
* (e.g. a Reolink camera intrusion event firing the security
|
|
98
|
-
* system). Provider rejects when the panel hardware doesn't
|
|
99
|
-
* support a software-initiated trigger.
|
|
100
|
-
*/
|
|
101
|
-
readonly trigger: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
102
|
-
deviceId: z.ZodNumber;
|
|
103
|
-
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
104
104
|
};
|
|
105
105
|
readonly status: {
|
|
106
106
|
readonly schema: z.ZodObject<{
|
|
@@ -192,5 +192,51 @@ export declare const alarmPanelCapability: {
|
|
|
192
192
|
/** Clock fields: written, but excluded from the compare that decides
|
|
193
193
|
* whether persisting is worth a SQLite commit. */
|
|
194
194
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
195
|
+
readonly vocabulary: {
|
|
196
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
197
|
+
readonly order: 1120;
|
|
198
|
+
readonly state: readonly [{
|
|
199
|
+
readonly kind: 'enum';
|
|
200
|
+
readonly field: 'state';
|
|
201
|
+
readonly label: import("../index.js").VocabL10n;
|
|
202
|
+
readonly values: readonly [{
|
|
203
|
+
readonly value: 'disarmed';
|
|
204
|
+
readonly label: import("../index.js").VocabL10n;
|
|
205
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
206
|
+
}, {
|
|
207
|
+
readonly value: 'armed_home';
|
|
208
|
+
readonly label: import("../index.js").VocabL10n;
|
|
209
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
210
|
+
}, {
|
|
211
|
+
readonly value: 'armed_away';
|
|
212
|
+
readonly label: import("../index.js").VocabL10n;
|
|
213
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
214
|
+
}, {
|
|
215
|
+
readonly value: 'armed_night';
|
|
216
|
+
readonly label: import("../index.js").VocabL10n;
|
|
217
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
218
|
+
}, {
|
|
219
|
+
readonly value: 'armed_vacation';
|
|
220
|
+
readonly label: import("../index.js").VocabL10n;
|
|
221
|
+
}, {
|
|
222
|
+
readonly value: 'armed_custom_bypass';
|
|
223
|
+
readonly label: import("../index.js").VocabL10n;
|
|
224
|
+
}, {
|
|
225
|
+
readonly value: 'arming';
|
|
226
|
+
readonly label: import("../index.js").VocabL10n;
|
|
227
|
+
}, {
|
|
228
|
+
readonly value: 'disarming';
|
|
229
|
+
readonly label: import("../index.js").VocabL10n;
|
|
230
|
+
}, {
|
|
231
|
+
readonly value: 'pending';
|
|
232
|
+
readonly label: import("../index.js").VocabL10n;
|
|
233
|
+
}, {
|
|
234
|
+
readonly value: 'triggered';
|
|
235
|
+
readonly label: import("../index.js").VocabL10n;
|
|
236
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
237
|
+
}];
|
|
238
|
+
readonly icon: 'shield';
|
|
239
|
+
}];
|
|
240
|
+
};
|
|
195
241
|
};
|
|
196
242
|
export type IAlarmPanelProvider = InferProvider<typeof alarmPanelCapability>;
|
|
@@ -240,5 +240,8 @@ export declare const alertsCapability: {
|
|
|
240
240
|
alertId: z.ZodString;
|
|
241
241
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
242
242
|
};
|
|
243
|
+
readonly vocabulary: {
|
|
244
|
+
readonly notOperatorFacing: 'the alert centre — read and acknowledged on its own page';
|
|
245
|
+
};
|
|
243
246
|
};
|
|
244
247
|
export type IAlertsProvider = InferProvider<typeof alertsCapability>;
|
|
@@ -51,5 +51,17 @@ export declare const ambientLightSensorCapability: {
|
|
|
51
51
|
/** Clock fields: written, but excluded from the compare that decides
|
|
52
52
|
* whether persisting is worth a SQLite commit. */
|
|
53
53
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|
|
54
|
+
readonly vocabulary: {
|
|
55
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
56
|
+
readonly order: 5010;
|
|
57
|
+
readonly state: readonly [{
|
|
58
|
+
readonly kind: 'numeric';
|
|
59
|
+
readonly field: 'illuminance';
|
|
60
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
61
|
+
readonly label: import("../index.js").VocabL10n;
|
|
62
|
+
readonly unit: 'lx';
|
|
63
|
+
readonly icon: 'sun';
|
|
64
|
+
}];
|
|
65
|
+
};
|
|
54
66
|
};
|
|
55
67
|
export type IAmbientLightSensorProvider = InferProvider<typeof ambientLightSensorCapability>;
|
|
@@ -44,5 +44,9 @@ export declare const audioAnalysisCapability: {
|
|
|
44
44
|
dbfs: z.ZodNumber;
|
|
45
45
|
}, z.core.$strip>>;
|
|
46
46
|
};
|
|
47
|
+
readonly vocabulary: {
|
|
48
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
49
|
+
readonly order: 3010;
|
|
50
|
+
};
|
|
47
51
|
};
|
|
48
52
|
export type IAudioAnalysisProvider = InferProvider<typeof audioAnalysisCapability>;
|
|
@@ -228,6 +228,9 @@ export declare const audioAnalyzerCapability: {
|
|
|
228
228
|
backend: z.ZodString;
|
|
229
229
|
}, z.core.$strip>, "mutation">;
|
|
230
230
|
};
|
|
231
|
+
readonly vocabulary: {
|
|
232
|
+
readonly notOperatorFacing: "detection pipeline machinery — tuned on the pipeline pages, never actuated per device";
|
|
233
|
+
};
|
|
231
234
|
};
|
|
232
235
|
export type IAudioAnalyzerProvider = InferProvider<typeof audioAnalyzerCapability>;
|
|
233
236
|
export { AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioClassificationResultSchema, AudioAttachDeviceInputSchema, AudioAttachDeviceResultSchema, AudioDetachDeviceResultSchema, };
|
|
@@ -197,6 +197,9 @@ export declare const audioCodecCapability: {
|
|
|
197
197
|
framesOut: z.ZodNumber;
|
|
198
198
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
199
199
|
};
|
|
200
|
+
readonly vocabulary: {
|
|
201
|
+
readonly notOperatorFacing: "internal plumbing between addons — never operator-facing";
|
|
202
|
+
};
|
|
200
203
|
};
|
|
201
204
|
export type IAudioCodecCapProvider = InferProvider<typeof audioCodecCapability>;
|
|
202
205
|
export { AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSessionConfigSchema, AudioPcmChunkSchema, AudioEncodedChunkSchema, PcmSampleFormatSchema, };
|
|
@@ -179,6 +179,10 @@ export declare const audioMetricsCapability: {
|
|
|
179
179
|
* History (D850): none — the level is the addon series `pipeline-analytics/audio-level` (producer `record`); the other numbers move every inference window and duplicate it.
|
|
180
180
|
*/
|
|
181
181
|
readonly history: 'none';
|
|
182
|
+
readonly vocabulary: {
|
|
183
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
184
|
+
readonly order: 3020;
|
|
185
|
+
};
|
|
182
186
|
};
|
|
183
187
|
export type IAudioMetricsProvider = InferProvider<typeof audioMetricsCapability>;
|
|
184
188
|
export { AudioMetricsSnapshotSchema, AudioClassSummarySchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, };
|
|
@@ -47,6 +47,9 @@ export declare const authProviderCapability: {
|
|
|
47
47
|
readonly mount: {
|
|
48
48
|
readonly kind: 'skip';
|
|
49
49
|
};
|
|
50
|
+
readonly vocabulary: {
|
|
51
|
+
readonly notOperatorFacing: "identity and access administration — users, sign-in and secrets";
|
|
52
|
+
};
|
|
50
53
|
};
|
|
51
54
|
export type IAuthProvider = InferProvider<typeof authProviderCapability>;
|
|
52
55
|
export { AuthResultSchema };
|
|
@@ -71,5 +71,24 @@ export declare const automationControlCapability: {
|
|
|
71
71
|
* History (D850): none — configuration and transient run state.
|
|
72
72
|
*/
|
|
73
73
|
readonly history: 'none';
|
|
74
|
+
readonly vocabulary: {
|
|
75
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
76
|
+
readonly order: 2100;
|
|
77
|
+
readonly state: readonly [{
|
|
78
|
+
readonly kind: 'boolean';
|
|
79
|
+
readonly field: 'enabled';
|
|
80
|
+
readonly label: import("../index.js").VocabL10n;
|
|
81
|
+
readonly whenTrue: import("../index.js").VocabL10n;
|
|
82
|
+
readonly whenFalse: import("../index.js").VocabL10n;
|
|
83
|
+
readonly icon: 'toggle-right';
|
|
84
|
+
}, {
|
|
85
|
+
readonly kind: 'boolean';
|
|
86
|
+
readonly field: 'isRunning';
|
|
87
|
+
readonly label: import("../index.js").VocabL10n;
|
|
88
|
+
readonly whenTrue: import("../index.js").VocabL10n;
|
|
89
|
+
readonly whenFalse: import("../index.js").VocabL10n;
|
|
90
|
+
readonly icon: 'workflow';
|
|
91
|
+
}];
|
|
92
|
+
};
|
|
74
93
|
};
|
|
75
94
|
export type IAutomationControlProvider = InferProvider<typeof automationControlCapability>;
|
|
@@ -675,6 +675,9 @@ export declare const backupCapability: {
|
|
|
675
675
|
id: z.ZodString;
|
|
676
676
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
677
677
|
};
|
|
678
|
+
readonly vocabulary: {
|
|
679
|
+
readonly notOperatorFacing: 'system backups — run and restored from the Backups page';
|
|
680
|
+
};
|
|
678
681
|
};
|
|
679
682
|
export type IBackupProvider = InferProvider<typeof backupCapability>;
|
|
680
683
|
export { ArchiveEntrySchema, ArchiveManifestSchema, BackupArchiveEncryptionSchema, BackupArchiveEntrySchema, BackupEncryptionStatusSchema, BackupDestinationInfoSchema, BackupEntrySchema, BackupRunPhaseSchema, BackupRunSchema, BackupRunStateSchema, BackupScheduleSchema, BackupSubDestinationInfoSchema, BackupTriggerResultSchema, LocationStatSchema, };
|