@camstack/types 1.2.336 → 1.2.337
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/dist/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +275 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +66 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +78 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -16,18 +16,18 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
16
16
|
*/
|
|
17
17
|
/** Where the master key in use came from. */
|
|
18
18
|
export declare const KeychainKeySourceKindSchema: z.ZodEnum<{
|
|
19
|
-
platform: "platform";
|
|
20
19
|
"config-file": "config-file";
|
|
21
|
-
"previous-config-file": "previous-config-file";
|
|
22
20
|
"default-file": "default-file";
|
|
21
|
+
platform: "platform";
|
|
22
|
+
"previous-config-file": "previous-config-file";
|
|
23
23
|
}>;
|
|
24
24
|
export type KeychainKeySourceKind = z.infer<typeof KeychainKeySourceKindSchema>;
|
|
25
25
|
export declare const KeychainKeySourceSchema: z.ZodObject<{
|
|
26
26
|
kind: z.ZodEnum<{
|
|
27
|
-
platform: "platform";
|
|
28
27
|
"config-file": "config-file";
|
|
29
|
-
"previous-config-file": "previous-config-file";
|
|
30
28
|
"default-file": "default-file";
|
|
29
|
+
platform: "platform";
|
|
30
|
+
"previous-config-file": "previous-config-file";
|
|
31
31
|
}>;
|
|
32
32
|
path: z.ZodOptional<z.ZodString>;
|
|
33
33
|
sharesBackupWithDatabase: z.ZodBoolean;
|
|
@@ -62,30 +62,30 @@ export declare const KeychainStatusSchema: z.ZodObject<{
|
|
|
62
62
|
}, z.core.$strip>, z.ZodObject<{
|
|
63
63
|
state: z.ZodLiteral<"locked">;
|
|
64
64
|
reason: z.ZodEnum<{
|
|
65
|
-
"
|
|
66
|
-
"wrong-key": "wrong-key";
|
|
65
|
+
"decrypt-failed": "decrypt-failed";
|
|
67
66
|
"key-file-unreadable": "key-file-unreadable";
|
|
68
|
-
"
|
|
67
|
+
"key-missing": "key-missing";
|
|
69
68
|
"not-initialized": "not-initialized";
|
|
70
|
-
"
|
|
69
|
+
"store-unavailable": "store-unavailable";
|
|
70
|
+
"wrong-key": "wrong-key";
|
|
71
71
|
}>;
|
|
72
72
|
}, z.core.$strip>], "state">;
|
|
73
73
|
keySource: z.ZodNullable<z.ZodObject<{
|
|
74
74
|
kind: z.ZodEnum<{
|
|
75
|
-
platform: "platform";
|
|
76
75
|
"config-file": "config-file";
|
|
77
|
-
"previous-config-file": "previous-config-file";
|
|
78
76
|
"default-file": "default-file";
|
|
77
|
+
platform: "platform";
|
|
78
|
+
"previous-config-file": "previous-config-file";
|
|
79
79
|
}>;
|
|
80
80
|
path: z.ZodOptional<z.ZodString>;
|
|
81
81
|
sharesBackupWithDatabase: z.ZodBoolean;
|
|
82
82
|
}, z.core.$strip>>;
|
|
83
83
|
configuredSource: z.ZodObject<{
|
|
84
84
|
kind: z.ZodEnum<{
|
|
85
|
-
platform: "platform";
|
|
86
85
|
"config-file": "config-file";
|
|
87
|
-
"previous-config-file": "previous-config-file";
|
|
88
86
|
"default-file": "default-file";
|
|
87
|
+
platform: "platform";
|
|
88
|
+
"previous-config-file": "previous-config-file";
|
|
89
89
|
}>;
|
|
90
90
|
path: z.ZodOptional<z.ZodString>;
|
|
91
91
|
sharesBackupWithDatabase: z.ZodBoolean;
|
|
@@ -115,9 +115,9 @@ export type KeychainStatus = z.infer<typeof KeychainStatusSchema>;
|
|
|
115
115
|
* never reported as an orphan (and never deleted as one).
|
|
116
116
|
*/
|
|
117
117
|
export declare const KeychainSecretUsageSchema: z.ZodEnum<{
|
|
118
|
-
unknown: "unknown";
|
|
119
118
|
"in-use": "in-use";
|
|
120
119
|
orphan: "orphan";
|
|
120
|
+
unknown: "unknown";
|
|
121
121
|
}>;
|
|
122
122
|
export type KeychainSecretUsage = z.infer<typeof KeychainSecretUsageSchema>;
|
|
123
123
|
export declare const KeychainAdminSecretSchema: z.ZodObject<{
|
|
@@ -131,39 +131,39 @@ export declare const KeychainAdminSecretSchema: z.ZodObject<{
|
|
|
131
131
|
updatedBy: z.ZodString;
|
|
132
132
|
lastReadAt: z.ZodNullable<z.ZodNumber>;
|
|
133
133
|
usage: z.ZodEnum<{
|
|
134
|
-
unknown: "unknown";
|
|
135
134
|
"in-use": "in-use";
|
|
136
135
|
orphan: "orphan";
|
|
136
|
+
unknown: "unknown";
|
|
137
137
|
}>;
|
|
138
138
|
}, z.core.$strip>;
|
|
139
139
|
export type KeychainAdminSecret = z.infer<typeof KeychainAdminSecretSchema>;
|
|
140
140
|
export declare const KeychainAuditActionSchema: z.ZodEnum<{
|
|
141
|
+
"acknowledge-reset": "acknowledge-reset";
|
|
141
142
|
delete: "delete";
|
|
142
|
-
|
|
143
|
+
"delete-orphans": "delete-orphans";
|
|
144
|
+
"download-recovery-key": "download-recovery-key";
|
|
145
|
+
initialize: "initialize";
|
|
146
|
+
"purge-retired-keys": "purge-retired-keys";
|
|
143
147
|
put: "put";
|
|
148
|
+
reset: "reset";
|
|
144
149
|
reveal: "reveal";
|
|
145
150
|
"rotate-master-key": "rotate-master-key";
|
|
146
|
-
"purge-retired-keys": "purge-retired-keys";
|
|
147
|
-
"download-recovery-key": "download-recovery-key";
|
|
148
|
-
"delete-orphans": "delete-orphans";
|
|
149
|
-
"acknowledge-reset": "acknowledge-reset";
|
|
150
|
-
initialize: "initialize";
|
|
151
151
|
}>;
|
|
152
152
|
export type KeychainAuditAction = z.infer<typeof KeychainAuditActionSchema>;
|
|
153
153
|
export declare const KeychainAuditEntrySchema: z.ZodObject<{
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
at: z.ZodNumber;
|
|
156
156
|
action: z.ZodEnum<{
|
|
157
|
+
"acknowledge-reset": "acknowledge-reset";
|
|
157
158
|
delete: "delete";
|
|
158
|
-
|
|
159
|
+
"delete-orphans": "delete-orphans";
|
|
160
|
+
"download-recovery-key": "download-recovery-key";
|
|
161
|
+
initialize: "initialize";
|
|
162
|
+
"purge-retired-keys": "purge-retired-keys";
|
|
159
163
|
put: "put";
|
|
164
|
+
reset: "reset";
|
|
160
165
|
reveal: "reveal";
|
|
161
166
|
"rotate-master-key": "rotate-master-key";
|
|
162
|
-
"purge-retired-keys": "purge-retired-keys";
|
|
163
|
-
"download-recovery-key": "download-recovery-key";
|
|
164
|
-
"delete-orphans": "delete-orphans";
|
|
165
|
-
"acknowledge-reset": "acknowledge-reset";
|
|
166
|
-
initialize: "initialize";
|
|
167
167
|
}>;
|
|
168
168
|
actor: z.ZodString;
|
|
169
169
|
ref: z.ZodNullable<z.ZodString>;
|
|
@@ -182,9 +182,9 @@ export declare const SystemHeldSecretNameSchema: z.ZodEnum<{
|
|
|
182
182
|
}>;
|
|
183
183
|
export type SystemHeldSecretName = z.infer<typeof SystemHeldSecretNameSchema>;
|
|
184
184
|
export declare const keychainAdminCapability: {
|
|
185
|
-
readonly name:
|
|
186
|
-
readonly scope:
|
|
187
|
-
readonly mode:
|
|
185
|
+
readonly name: 'keychain-admin';
|
|
186
|
+
readonly scope: 'system';
|
|
187
|
+
readonly mode: 'singleton';
|
|
188
188
|
readonly methods: {
|
|
189
189
|
readonly status: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
190
190
|
keychain: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -192,30 +192,30 @@ export declare const keychainAdminCapability: {
|
|
|
192
192
|
}, z.core.$strip>, z.ZodObject<{
|
|
193
193
|
state: z.ZodLiteral<"locked">;
|
|
194
194
|
reason: z.ZodEnum<{
|
|
195
|
-
"
|
|
196
|
-
"wrong-key": "wrong-key";
|
|
195
|
+
"decrypt-failed": "decrypt-failed";
|
|
197
196
|
"key-file-unreadable": "key-file-unreadable";
|
|
198
|
-
"
|
|
197
|
+
"key-missing": "key-missing";
|
|
199
198
|
"not-initialized": "not-initialized";
|
|
200
|
-
"
|
|
199
|
+
"store-unavailable": "store-unavailable";
|
|
200
|
+
"wrong-key": "wrong-key";
|
|
201
201
|
}>;
|
|
202
202
|
}, z.core.$strip>], "state">;
|
|
203
203
|
keySource: z.ZodNullable<z.ZodObject<{
|
|
204
204
|
kind: z.ZodEnum<{
|
|
205
|
-
platform: "platform";
|
|
206
205
|
"config-file": "config-file";
|
|
207
|
-
"previous-config-file": "previous-config-file";
|
|
208
206
|
"default-file": "default-file";
|
|
207
|
+
platform: "platform";
|
|
208
|
+
"previous-config-file": "previous-config-file";
|
|
209
209
|
}>;
|
|
210
210
|
path: z.ZodOptional<z.ZodString>;
|
|
211
211
|
sharesBackupWithDatabase: z.ZodBoolean;
|
|
212
212
|
}, z.core.$strip>>;
|
|
213
213
|
configuredSource: z.ZodObject<{
|
|
214
214
|
kind: z.ZodEnum<{
|
|
215
|
-
platform: "platform";
|
|
216
215
|
"config-file": "config-file";
|
|
217
|
-
"previous-config-file": "previous-config-file";
|
|
218
216
|
"default-file": "default-file";
|
|
217
|
+
platform: "platform";
|
|
218
|
+
"previous-config-file": "previous-config-file";
|
|
219
219
|
}>;
|
|
220
220
|
path: z.ZodOptional<z.ZodString>;
|
|
221
221
|
sharesBackupWithDatabase: z.ZodBoolean;
|
|
@@ -249,9 +249,9 @@ export declare const keychainAdminCapability: {
|
|
|
249
249
|
updatedBy: z.ZodString;
|
|
250
250
|
lastReadAt: z.ZodNullable<z.ZodNumber>;
|
|
251
251
|
usage: z.ZodEnum<{
|
|
252
|
-
unknown: "unknown";
|
|
253
252
|
"in-use": "in-use";
|
|
254
253
|
orphan: "orphan";
|
|
254
|
+
unknown: "unknown";
|
|
255
255
|
}>;
|
|
256
256
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
257
257
|
readonly listAudit: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -260,16 +260,16 @@ export declare const keychainAdminCapability: {
|
|
|
260
260
|
id: z.ZodString;
|
|
261
261
|
at: z.ZodNumber;
|
|
262
262
|
action: z.ZodEnum<{
|
|
263
|
+
"acknowledge-reset": "acknowledge-reset";
|
|
263
264
|
delete: "delete";
|
|
264
|
-
|
|
265
|
+
"delete-orphans": "delete-orphans";
|
|
266
|
+
"download-recovery-key": "download-recovery-key";
|
|
267
|
+
initialize: "initialize";
|
|
268
|
+
"purge-retired-keys": "purge-retired-keys";
|
|
265
269
|
put: "put";
|
|
270
|
+
reset: "reset";
|
|
266
271
|
reveal: "reveal";
|
|
267
272
|
"rotate-master-key": "rotate-master-key";
|
|
268
|
-
"purge-retired-keys": "purge-retired-keys";
|
|
269
|
-
"download-recovery-key": "download-recovery-key";
|
|
270
|
-
"delete-orphans": "delete-orphans";
|
|
271
|
-
"acknowledge-reset": "acknowledge-reset";
|
|
272
|
-
initialize: "initialize";
|
|
273
273
|
}>;
|
|
274
274
|
actor: z.ZodString;
|
|
275
275
|
ref: z.ZodNullable<z.ZodString>;
|
|
@@ -285,7 +285,7 @@ export declare const keychainAdminCapability: {
|
|
|
285
285
|
value: z.ZodString;
|
|
286
286
|
version: z.ZodNumber;
|
|
287
287
|
}, z.core.$strip>, "mutation"> & {
|
|
288
|
-
readonly caller:
|
|
288
|
+
readonly caller: 'required';
|
|
289
289
|
};
|
|
290
290
|
/**
|
|
291
291
|
* Replace a system-held secret (no form edits it) with an operator-supplied
|
|
@@ -303,7 +303,7 @@ export declare const keychainAdminCapability: {
|
|
|
303
303
|
ref: z.ZodString;
|
|
304
304
|
version: z.ZodNumber;
|
|
305
305
|
}, z.core.$strip>, "mutation"> & {
|
|
306
|
-
readonly caller:
|
|
306
|
+
readonly caller: 'required';
|
|
307
307
|
};
|
|
308
308
|
/** Delete refs no owner points at any more. Re-checked here; `unknown` is kept. */
|
|
309
309
|
readonly deleteOrphans: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -313,13 +313,13 @@ export declare const keychainAdminCapability: {
|
|
|
313
313
|
kept: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
314
314
|
ref: z.ZodString;
|
|
315
315
|
usage: z.ZodEnum<{
|
|
316
|
-
unknown: "unknown";
|
|
317
316
|
"in-use": "in-use";
|
|
318
317
|
orphan: "orphan";
|
|
318
|
+
unknown: "unknown";
|
|
319
319
|
}>;
|
|
320
320
|
}, z.core.$strip>>>;
|
|
321
321
|
}, z.core.$strip>, "mutation"> & {
|
|
322
|
-
readonly caller:
|
|
322
|
+
readonly caller: 'required';
|
|
323
323
|
};
|
|
324
324
|
/**
|
|
325
325
|
* Wrap the data key under the configured primary master key.
|
|
@@ -336,21 +336,21 @@ export declare const keychainAdminCapability: {
|
|
|
336
336
|
fingerprint: z.ZodString;
|
|
337
337
|
keySource: z.ZodObject<{
|
|
338
338
|
kind: z.ZodEnum<{
|
|
339
|
-
platform: "platform";
|
|
340
339
|
"config-file": "config-file";
|
|
341
|
-
"previous-config-file": "previous-config-file";
|
|
342
340
|
"default-file": "default-file";
|
|
341
|
+
platform: "platform";
|
|
342
|
+
"previous-config-file": "previous-config-file";
|
|
343
343
|
}>;
|
|
344
344
|
path: z.ZodOptional<z.ZodString>;
|
|
345
345
|
sharesBackupWithDatabase: z.ZodBoolean;
|
|
346
346
|
}, z.core.$strip>;
|
|
347
347
|
}, z.core.$strip>, "mutation"> & {
|
|
348
|
-
readonly caller:
|
|
348
|
+
readonly caller: 'required';
|
|
349
349
|
};
|
|
350
350
|
readonly purgeRetiredKeys: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
351
351
|
purged: z.ZodNumber;
|
|
352
352
|
}, z.core.$strip>, "mutation"> & {
|
|
353
|
-
readonly caller:
|
|
353
|
+
readonly caller: 'required';
|
|
354
354
|
};
|
|
355
355
|
/** The master key, base64. Audited; marks the recovery copy as taken. */
|
|
356
356
|
readonly downloadRecoveryKey: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
@@ -358,16 +358,16 @@ export declare const keychainAdminCapability: {
|
|
|
358
358
|
fingerprint: z.ZodString;
|
|
359
359
|
keySource: z.ZodObject<{
|
|
360
360
|
kind: z.ZodEnum<{
|
|
361
|
-
platform: "platform";
|
|
362
361
|
"config-file": "config-file";
|
|
363
|
-
"previous-config-file": "previous-config-file";
|
|
364
362
|
"default-file": "default-file";
|
|
363
|
+
platform: "platform";
|
|
364
|
+
"previous-config-file": "previous-config-file";
|
|
365
365
|
}>;
|
|
366
366
|
path: z.ZodOptional<z.ZodString>;
|
|
367
367
|
sharesBackupWithDatabase: z.ZodBoolean;
|
|
368
368
|
}, z.core.$strip>;
|
|
369
369
|
}, z.core.$strip>, "mutation"> & {
|
|
370
|
-
readonly caller:
|
|
370
|
+
readonly caller: 'required';
|
|
371
371
|
};
|
|
372
372
|
/**
|
|
373
373
|
* Lost-key recovery: archive every stored value into a
|
|
@@ -381,7 +381,7 @@ export declare const keychainAdminCapability: {
|
|
|
381
381
|
archivedCollection: z.ZodNullable<z.ZodString>;
|
|
382
382
|
archived: z.ZodNumber;
|
|
383
383
|
}, z.core.$strip>, "mutation"> & {
|
|
384
|
-
readonly caller:
|
|
384
|
+
readonly caller: 'required';
|
|
385
385
|
};
|
|
386
386
|
/**
|
|
387
387
|
* What the last reset left to re-enter: the archived refs (owner, scope,
|
|
@@ -416,7 +416,7 @@ export declare const keychainAdminCapability: {
|
|
|
416
416
|
readonly acknowledgeReset: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
417
417
|
acknowledged: z.ZodBoolean;
|
|
418
418
|
}, z.core.$strip>, "mutation"> & {
|
|
419
|
-
readonly caller:
|
|
419
|
+
readonly caller: 'required';
|
|
420
420
|
};
|
|
421
421
|
};
|
|
422
422
|
};
|
|
@@ -27,12 +27,12 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
27
27
|
*/
|
|
28
28
|
/** Why a value cannot be served right now. Never folded into "missing". */
|
|
29
29
|
export declare const KeychainUnavailableReasonSchema: z.ZodEnum<{
|
|
30
|
-
"
|
|
31
|
-
"wrong-key": "wrong-key";
|
|
30
|
+
"decrypt-failed": "decrypt-failed";
|
|
32
31
|
"key-file-unreadable": "key-file-unreadable";
|
|
33
|
-
"
|
|
32
|
+
"key-missing": "key-missing";
|
|
34
33
|
"not-initialized": "not-initialized";
|
|
35
|
-
"
|
|
34
|
+
"store-unavailable": "store-unavailable";
|
|
35
|
+
"wrong-key": "wrong-key";
|
|
36
36
|
}>;
|
|
37
37
|
export type KeychainUnavailableReason = z.infer<typeof KeychainUnavailableReasonSchema>;
|
|
38
38
|
export declare const KeychainStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -40,12 +40,12 @@ export declare const KeychainStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
40
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
41
|
state: z.ZodLiteral<"locked">;
|
|
42
42
|
reason: z.ZodEnum<{
|
|
43
|
-
"
|
|
44
|
-
"wrong-key": "wrong-key";
|
|
43
|
+
"decrypt-failed": "decrypt-failed";
|
|
45
44
|
"key-file-unreadable": "key-file-unreadable";
|
|
46
|
-
"
|
|
45
|
+
"key-missing": "key-missing";
|
|
47
46
|
"not-initialized": "not-initialized";
|
|
48
|
-
"
|
|
47
|
+
"store-unavailable": "store-unavailable";
|
|
48
|
+
"wrong-key": "wrong-key";
|
|
49
49
|
}>;
|
|
50
50
|
}, z.core.$strip>], "state">;
|
|
51
51
|
export type KeychainState = z.infer<typeof KeychainStateSchema>;
|
|
@@ -58,12 +58,12 @@ export declare const KeychainResolveEntrySchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
58
58
|
}, z.core.$strip>, z.ZodObject<{
|
|
59
59
|
kind: z.ZodLiteral<"unavailable">;
|
|
60
60
|
reason: z.ZodEnum<{
|
|
61
|
-
"
|
|
62
|
-
"wrong-key": "wrong-key";
|
|
61
|
+
"decrypt-failed": "decrypt-failed";
|
|
63
62
|
"key-file-unreadable": "key-file-unreadable";
|
|
64
|
-
"
|
|
63
|
+
"key-missing": "key-missing";
|
|
65
64
|
"not-initialized": "not-initialized";
|
|
66
|
-
"
|
|
65
|
+
"store-unavailable": "store-unavailable";
|
|
66
|
+
"wrong-key": "wrong-key";
|
|
67
67
|
}>;
|
|
68
68
|
}, z.core.$strip>, z.ZodObject<{
|
|
69
69
|
kind: z.ZodLiteral<"forbidden">;
|
|
@@ -78,12 +78,12 @@ export declare const KeychainResolveResultSchema: z.ZodRecord<z.ZodString, z.Zod
|
|
|
78
78
|
}, z.core.$strip>, z.ZodObject<{
|
|
79
79
|
kind: z.ZodLiteral<"unavailable">;
|
|
80
80
|
reason: z.ZodEnum<{
|
|
81
|
-
"
|
|
82
|
-
"wrong-key": "wrong-key";
|
|
81
|
+
"decrypt-failed": "decrypt-failed";
|
|
83
82
|
"key-file-unreadable": "key-file-unreadable";
|
|
84
|
-
"
|
|
83
|
+
"key-missing": "key-missing";
|
|
85
84
|
"not-initialized": "not-initialized";
|
|
86
|
-
"
|
|
85
|
+
"store-unavailable": "store-unavailable";
|
|
86
|
+
"wrong-key": "wrong-key";
|
|
87
87
|
}>;
|
|
88
88
|
}, z.core.$strip>, z.ZodObject<{
|
|
89
89
|
kind: z.ZodLiteral<"forbidden">;
|
|
@@ -105,9 +105,9 @@ export type KeychainSecretMeta = z.infer<typeof KeychainSecretMetaSchema>;
|
|
|
105
105
|
/** A batch bound: one `resolveConfig` resolves every marker of one blob at once. */
|
|
106
106
|
export declare const KEYCHAIN_MAX_REFS_PER_CALL = 512;
|
|
107
107
|
export declare const keychainCapability: {
|
|
108
|
-
readonly name:
|
|
109
|
-
readonly scope:
|
|
110
|
-
readonly mode:
|
|
108
|
+
readonly name: 'keychain';
|
|
109
|
+
readonly scope: 'system';
|
|
110
|
+
readonly mode: 'singleton';
|
|
111
111
|
readonly internal: true;
|
|
112
112
|
readonly methods: {
|
|
113
113
|
/** Store (or replace) the caller's value at `ref`. Refused while locked. */
|
|
@@ -133,12 +133,12 @@ export declare const keychainCapability: {
|
|
|
133
133
|
}, z.core.$strip>, z.ZodObject<{
|
|
134
134
|
kind: z.ZodLiteral<"unavailable">;
|
|
135
135
|
reason: z.ZodEnum<{
|
|
136
|
-
"
|
|
137
|
-
"wrong-key": "wrong-key";
|
|
136
|
+
"decrypt-failed": "decrypt-failed";
|
|
138
137
|
"key-file-unreadable": "key-file-unreadable";
|
|
139
|
-
"
|
|
138
|
+
"key-missing": "key-missing";
|
|
140
139
|
"not-initialized": "not-initialized";
|
|
141
|
-
"
|
|
140
|
+
"store-unavailable": "store-unavailable";
|
|
141
|
+
"wrong-key": "wrong-key";
|
|
142
142
|
}>;
|
|
143
143
|
}, z.core.$strip>, z.ZodObject<{
|
|
144
144
|
kind: z.ZodLiteral<"forbidden">;
|
|
@@ -167,12 +167,12 @@ export declare const keychainCapability: {
|
|
|
167
167
|
}, z.core.$strip>, z.ZodObject<{
|
|
168
168
|
state: z.ZodLiteral<"locked">;
|
|
169
169
|
reason: z.ZodEnum<{
|
|
170
|
-
"
|
|
171
|
-
"wrong-key": "wrong-key";
|
|
170
|
+
"decrypt-failed": "decrypt-failed";
|
|
172
171
|
"key-file-unreadable": "key-file-unreadable";
|
|
173
|
-
"
|
|
172
|
+
"key-missing": "key-missing";
|
|
174
173
|
"not-initialized": "not-initialized";
|
|
175
|
-
"
|
|
174
|
+
"store-unavailable": "store-unavailable";
|
|
175
|
+
"wrong-key": "wrong-key";
|
|
176
176
|
}>;
|
|
177
177
|
}, z.core.$strip>], "state">, import("./capability-definition.js").CapabilityMethodKind>;
|
|
178
178
|
};
|
|
@@ -13,45 +13,45 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
13
13
|
* `dock` sends the mower back to its charging station.
|
|
14
14
|
*/
|
|
15
15
|
export declare const LawnMowerActivitySchema: z.ZodEnum<{
|
|
16
|
+
docked: "docked";
|
|
16
17
|
error: "error";
|
|
17
18
|
idle: "idle";
|
|
18
|
-
paused: "paused";
|
|
19
19
|
mowing: "mowing";
|
|
20
|
-
|
|
20
|
+
paused: "paused";
|
|
21
21
|
}>;
|
|
22
22
|
export type LawnMowerActivity = z.infer<typeof LawnMowerActivitySchema>;
|
|
23
23
|
/** Severity of the current device/error code — info (status), warning, error. */
|
|
24
24
|
export declare const DeviceCodeSeveritySchema: z.ZodEnum<{
|
|
25
|
-
info: "info";
|
|
26
25
|
error: "error";
|
|
26
|
+
info: "info";
|
|
27
27
|
warning: "warning";
|
|
28
28
|
}>;
|
|
29
29
|
export type DeviceCodeSeverity = z.infer<typeof DeviceCodeSeveritySchema>;
|
|
30
30
|
export declare const LawnMowerControlStatusSchema: z.ZodObject<{
|
|
31
31
|
activity: z.ZodEnum<{
|
|
32
|
+
docked: "docked";
|
|
32
33
|
error: "error";
|
|
33
34
|
idle: "idle";
|
|
34
|
-
paused: "paused";
|
|
35
35
|
mowing: "mowing";
|
|
36
|
-
|
|
36
|
+
paused: "paused";
|
|
37
37
|
}>;
|
|
38
38
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
39
39
|
progressPercent: z.ZodNullable<z.ZodNumber>;
|
|
40
40
|
currentCode: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
currentCodeLabel: z.ZodNullable<z.ZodString>;
|
|
42
42
|
severity: z.ZodEnum<{
|
|
43
|
-
info: "info";
|
|
44
43
|
error: "error";
|
|
44
|
+
info: "info";
|
|
45
45
|
warning: "warning";
|
|
46
46
|
}>;
|
|
47
47
|
lastChangedAt: z.ZodNumber;
|
|
48
48
|
}, z.core.$strip>;
|
|
49
49
|
export type LawnMowerControlStatus = z.infer<typeof LawnMowerControlStatusSchema>;
|
|
50
50
|
export declare const lawnMowerControlCapability: {
|
|
51
|
-
readonly name:
|
|
52
|
-
readonly scope:
|
|
51
|
+
readonly name: 'lawn-mower-control';
|
|
52
|
+
readonly scope: 'device';
|
|
53
53
|
readonly deviceNative: true;
|
|
54
|
-
readonly mode:
|
|
54
|
+
readonly mode: 'singleton';
|
|
55
55
|
readonly deviceTypes: readonly [DeviceType.LawnMower];
|
|
56
56
|
readonly methods: {
|
|
57
57
|
readonly startMowing: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
@@ -67,24 +67,24 @@ export declare const lawnMowerControlCapability: {
|
|
|
67
67
|
readonly status: {
|
|
68
68
|
readonly schema: z.ZodObject<{
|
|
69
69
|
activity: z.ZodEnum<{
|
|
70
|
+
docked: "docked";
|
|
70
71
|
error: "error";
|
|
71
72
|
idle: "idle";
|
|
72
|
-
paused: "paused";
|
|
73
73
|
mowing: "mowing";
|
|
74
|
-
|
|
74
|
+
paused: "paused";
|
|
75
75
|
}>;
|
|
76
76
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
77
77
|
progressPercent: z.ZodNullable<z.ZodNumber>;
|
|
78
78
|
currentCode: z.ZodNullable<z.ZodNumber>;
|
|
79
79
|
currentCodeLabel: z.ZodNullable<z.ZodString>;
|
|
80
80
|
severity: z.ZodEnum<{
|
|
81
|
-
info: "info";
|
|
82
81
|
error: "error";
|
|
82
|
+
info: "info";
|
|
83
83
|
warning: "warning";
|
|
84
84
|
}>;
|
|
85
85
|
lastChangedAt: z.ZodNumber;
|
|
86
86
|
}, z.core.$strip>;
|
|
87
|
-
readonly kind:
|
|
87
|
+
readonly kind: 'push';
|
|
88
88
|
};
|
|
89
89
|
/**
|
|
90
90
|
* Runtime-state slice — mirrored by the kernel. UI controls watch the
|
|
@@ -92,19 +92,19 @@ export declare const lawnMowerControlCapability: {
|
|
|
92
92
|
*/
|
|
93
93
|
readonly runtimeState: z.ZodObject<{
|
|
94
94
|
activity: z.ZodEnum<{
|
|
95
|
+
docked: "docked";
|
|
95
96
|
error: "error";
|
|
96
97
|
idle: "idle";
|
|
97
|
-
paused: "paused";
|
|
98
98
|
mowing: "mowing";
|
|
99
|
-
|
|
99
|
+
paused: "paused";
|
|
100
100
|
}>;
|
|
101
101
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
102
102
|
progressPercent: z.ZodNullable<z.ZodNumber>;
|
|
103
103
|
currentCode: z.ZodNullable<z.ZodNumber>;
|
|
104
104
|
currentCodeLabel: z.ZodNullable<z.ZodString>;
|
|
105
105
|
severity: z.ZodEnum<{
|
|
106
|
-
info: "info";
|
|
107
106
|
error: "error";
|
|
107
|
+
info: "info";
|
|
108
108
|
warning: "warning";
|
|
109
109
|
}>;
|
|
110
110
|
lastChangedAt: z.ZodNumber;
|
|
@@ -115,6 +115,6 @@ export declare const lawnMowerControlCapability: {
|
|
|
115
115
|
* See `RuntimeStateDurability`. Enforced by
|
|
116
116
|
* `scripts/check-runtime-state-durability.ts`.
|
|
117
117
|
*/
|
|
118
|
-
readonly durability:
|
|
118
|
+
readonly durability: 'session';
|
|
119
119
|
};
|
|
120
120
|
export type ILawnMowerControlProvider = InferProvider<typeof lawnMowerControlCapability>;
|