@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,21 +16,21 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
16
16
|
* as every other cap.
|
|
17
17
|
*/
|
|
18
18
|
declare const LogLevelSchema: z.ZodEnum<{
|
|
19
|
-
info: "info";
|
|
20
|
-
error: "error";
|
|
21
19
|
debug: "debug";
|
|
20
|
+
error: "error";
|
|
21
|
+
info: "info";
|
|
22
22
|
warn: "warn";
|
|
23
23
|
}>;
|
|
24
24
|
declare const ChannelSchema: z.ZodEnum<{
|
|
25
|
-
off: "off";
|
|
26
|
-
latest: "latest";
|
|
27
25
|
beta: "beta";
|
|
26
|
+
latest: "latest";
|
|
27
|
+
off: "off";
|
|
28
28
|
}>;
|
|
29
29
|
declare const ChannelWithInheritSchema: z.ZodEnum<{
|
|
30
|
-
off: "off";
|
|
31
|
-
latest: "latest";
|
|
32
30
|
beta: "beta";
|
|
33
31
|
inherit: "inherit";
|
|
32
|
+
latest: "latest";
|
|
33
|
+
off: "off";
|
|
34
34
|
}>;
|
|
35
35
|
declare const AddonListItemSchema: z.ZodObject<{
|
|
36
36
|
manifest: z.ZodObject<{
|
|
@@ -64,8 +64,8 @@ declare const AddonListItemSchema: z.ZodObject<{
|
|
|
64
64
|
health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
65
65
|
phase: z.ZodEnum<{
|
|
66
66
|
failed: "failed";
|
|
67
|
-
pending: "pending";
|
|
68
67
|
healthy: "healthy";
|
|
68
|
+
pending: "pending";
|
|
69
69
|
}>;
|
|
70
70
|
retryCount: z.ZodNumber;
|
|
71
71
|
firstFailureAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -115,18 +115,18 @@ declare const SearchResultSchema: z.ZodObject<{
|
|
|
115
115
|
}, z.core.$strip>;
|
|
116
116
|
declare const AutoUpdateSettingsSchema: z.ZodObject<{
|
|
117
117
|
channel: z.ZodEnum<{
|
|
118
|
-
off: "off";
|
|
119
|
-
latest: "latest";
|
|
120
118
|
beta: "beta";
|
|
119
|
+
latest: "latest";
|
|
120
|
+
off: "off";
|
|
121
121
|
}>;
|
|
122
122
|
intervalSeconds: z.ZodNumber;
|
|
123
123
|
updateCheckIntervalSeconds: z.ZodNumber;
|
|
124
124
|
}, z.core.$strip>;
|
|
125
125
|
declare const AddonAutoUpdateSchema: z.ZodEnum<{
|
|
126
|
-
off: "off";
|
|
127
|
-
latest: "latest";
|
|
128
126
|
beta: "beta";
|
|
129
127
|
inherit: "inherit";
|
|
128
|
+
latest: "latest";
|
|
129
|
+
off: "off";
|
|
130
130
|
}>;
|
|
131
131
|
/**
|
|
132
132
|
* What an uninstall did on ONE node.
|
|
@@ -139,20 +139,20 @@ declare const AddonAutoUpdateSchema: z.ZodEnum<{
|
|
|
139
139
|
* copy when the node registers again (only once the hub no longer has it).
|
|
140
140
|
*/
|
|
141
141
|
declare const UninstallNodeOutcomeSchema: z.ZodEnum<{
|
|
142
|
-
refused: "refused";
|
|
143
142
|
failed: "failed";
|
|
144
|
-
uninstalled: "uninstalled";
|
|
145
143
|
"not-installed": "not-installed";
|
|
146
144
|
"pending-reconnect": "pending-reconnect";
|
|
145
|
+
refused: "refused";
|
|
146
|
+
uninstalled: "uninstalled";
|
|
147
147
|
}>;
|
|
148
148
|
declare const UninstallNodeResultSchema: z.ZodObject<{
|
|
149
149
|
nodeId: z.ZodString;
|
|
150
150
|
outcome: z.ZodEnum<{
|
|
151
|
-
refused: "refused";
|
|
152
151
|
failed: "failed";
|
|
153
|
-
uninstalled: "uninstalled";
|
|
154
152
|
"not-installed": "not-installed";
|
|
155
153
|
"pending-reconnect": "pending-reconnect";
|
|
154
|
+
refused: "refused";
|
|
155
|
+
uninstalled: "uninstalled";
|
|
156
156
|
}>;
|
|
157
157
|
error: z.ZodOptional<z.ZodString>;
|
|
158
158
|
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -165,11 +165,11 @@ declare const UninstallPackageResultSchema: z.ZodObject<{
|
|
|
165
165
|
results: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
166
166
|
nodeId: z.ZodString;
|
|
167
167
|
outcome: z.ZodEnum<{
|
|
168
|
-
refused: "refused";
|
|
169
168
|
failed: "failed";
|
|
170
|
-
uninstalled: "uninstalled";
|
|
171
169
|
"not-installed": "not-installed";
|
|
172
170
|
"pending-reconnect": "pending-reconnect";
|
|
171
|
+
refused: "refused";
|
|
172
|
+
uninstalled: "uninstalled";
|
|
173
173
|
}>;
|
|
174
174
|
error: z.ZodOptional<z.ZodString>;
|
|
175
175
|
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -226,11 +226,11 @@ export type UninstallPackageResult = z.infer<typeof UninstallPackageResultSchema
|
|
|
226
226
|
export type PackageInstallation = z.infer<typeof PackageInstallationSchema>;
|
|
227
227
|
export type PackageInstallations = z.infer<typeof PackageInstallationsSchema>;
|
|
228
228
|
declare const BulkUpdateItemStatusSchema: z.ZodEnum<{
|
|
229
|
-
queued: "queued";
|
|
230
229
|
done: "done";
|
|
230
|
+
"done-pending-restart": "done-pending-restart";
|
|
231
231
|
failed: "failed";
|
|
232
|
+
queued: "queued";
|
|
232
233
|
updating: "updating";
|
|
233
|
-
"done-pending-restart": "done-pending-restart";
|
|
234
234
|
}>;
|
|
235
235
|
declare const BulkUpdateItemSchema: z.ZodObject<{
|
|
236
236
|
name: z.ZodString;
|
|
@@ -238,21 +238,21 @@ declare const BulkUpdateItemSchema: z.ZodObject<{
|
|
|
238
238
|
fromVersion: z.ZodString;
|
|
239
239
|
toVersion: z.ZodString;
|
|
240
240
|
status: z.ZodEnum<{
|
|
241
|
-
queued: "queued";
|
|
242
241
|
done: "done";
|
|
242
|
+
"done-pending-restart": "done-pending-restart";
|
|
243
243
|
failed: "failed";
|
|
244
|
+
queued: "queued";
|
|
244
245
|
updating: "updating";
|
|
245
|
-
"done-pending-restart": "done-pending-restart";
|
|
246
246
|
}>;
|
|
247
247
|
error: z.ZodOptional<z.ZodString>;
|
|
248
248
|
startedAtMs: z.ZodOptional<z.ZodNumber>;
|
|
249
249
|
completedAtMs: z.ZodOptional<z.ZodNumber>;
|
|
250
250
|
}, z.core.$strip>;
|
|
251
251
|
declare const BulkUpdatePhaseSchema: z.ZodEnum<{
|
|
252
|
-
system: "system";
|
|
253
|
-
restarting: "restarting";
|
|
254
|
-
regular: "regular";
|
|
255
252
|
finalizing: "finalizing";
|
|
253
|
+
regular: "regular";
|
|
254
|
+
restarting: "restarting";
|
|
255
|
+
system: "system";
|
|
256
256
|
}>;
|
|
257
257
|
declare const BulkUpdateStateSchema: z.ZodObject<{
|
|
258
258
|
id: z.ZodString;
|
|
@@ -264,10 +264,10 @@ declare const BulkUpdateStateSchema: z.ZodObject<{
|
|
|
264
264
|
failed: z.ZodNumber;
|
|
265
265
|
current: z.ZodNullable<z.ZodString>;
|
|
266
266
|
phase: z.ZodEnum<{
|
|
267
|
-
system: "system";
|
|
268
|
-
restarting: "restarting";
|
|
269
|
-
regular: "regular";
|
|
270
267
|
finalizing: "finalizing";
|
|
268
|
+
regular: "regular";
|
|
269
|
+
restarting: "restarting";
|
|
270
|
+
system: "system";
|
|
271
271
|
}>;
|
|
272
272
|
cancelled: z.ZodBoolean;
|
|
273
273
|
items: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -276,11 +276,11 @@ declare const BulkUpdateStateSchema: z.ZodObject<{
|
|
|
276
276
|
fromVersion: z.ZodString;
|
|
277
277
|
toVersion: z.ZodString;
|
|
278
278
|
status: z.ZodEnum<{
|
|
279
|
-
queued: "queued";
|
|
280
279
|
done: "done";
|
|
280
|
+
"done-pending-restart": "done-pending-restart";
|
|
281
281
|
failed: "failed";
|
|
282
|
+
queued: "queued";
|
|
282
283
|
updating: "updating";
|
|
283
|
-
"done-pending-restart": "done-pending-restart";
|
|
284
284
|
}>;
|
|
285
285
|
error: z.ZodOptional<z.ZodString>;
|
|
286
286
|
startedAtMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -329,10 +329,10 @@ declare const CustomActionInputSchema: z.ZodObject<{
|
|
|
329
329
|
* for the same pattern.
|
|
330
330
|
*/
|
|
331
331
|
export declare const addonsCapability: {
|
|
332
|
-
readonly name:
|
|
333
|
-
readonly scope:
|
|
334
|
-
readonly mode:
|
|
335
|
-
readonly nodeIdMode:
|
|
332
|
+
readonly name: 'addons';
|
|
333
|
+
readonly scope: 'system';
|
|
334
|
+
readonly mode: 'singleton';
|
|
335
|
+
readonly nodeIdMode: 'data';
|
|
336
336
|
readonly methods: {
|
|
337
337
|
readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
338
338
|
manifest: z.ZodObject<{
|
|
@@ -366,8 +366,8 @@ export declare const addonsCapability: {
|
|
|
366
366
|
health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
367
367
|
phase: z.ZodEnum<{
|
|
368
368
|
failed: "failed";
|
|
369
|
-
pending: "pending";
|
|
370
369
|
healthy: "healthy";
|
|
370
|
+
pending: "pending";
|
|
371
371
|
}>;
|
|
372
372
|
retryCount: z.ZodNumber;
|
|
373
373
|
firstFailureAt: z.ZodNullable<z.ZodNumber>;
|
|
@@ -386,9 +386,9 @@ export declare const addonsCapability: {
|
|
|
386
386
|
addonId: z.ZodString;
|
|
387
387
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
388
388
|
level: z.ZodOptional<z.ZodEnum<{
|
|
389
|
-
info: "info";
|
|
390
|
-
error: "error";
|
|
391
389
|
debug: "debug";
|
|
390
|
+
error: "error";
|
|
391
|
+
info: "info";
|
|
392
392
|
warn: "warn";
|
|
393
393
|
}>>;
|
|
394
394
|
}, z.core.$strip>, z.ZodArray<z.ZodUnknown>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -427,11 +427,11 @@ export declare const addonsCapability: {
|
|
|
427
427
|
results: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
428
428
|
nodeId: z.ZodString;
|
|
429
429
|
outcome: z.ZodEnum<{
|
|
430
|
-
refused: "refused";
|
|
431
430
|
failed: "failed";
|
|
432
|
-
uninstalled: "uninstalled";
|
|
433
431
|
"not-installed": "not-installed";
|
|
434
432
|
"pending-reconnect": "pending-reconnect";
|
|
433
|
+
refused: "refused";
|
|
434
|
+
uninstalled: "uninstalled";
|
|
435
435
|
}>;
|
|
436
436
|
error: z.ZodOptional<z.ZodString>;
|
|
437
437
|
addonIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -549,10 +549,10 @@ export declare const addonsCapability: {
|
|
|
549
549
|
*/
|
|
550
550
|
readonly getLastRestart: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodNullable<z.ZodObject<{
|
|
551
551
|
kind: z.ZodEnum<{
|
|
552
|
+
"framework-bulk-update": "framework-bulk-update";
|
|
553
|
+
"framework-update": "framework-update";
|
|
552
554
|
manual: "manual";
|
|
553
555
|
system: "system";
|
|
554
|
-
"framework-update": "framework-update";
|
|
555
|
-
"framework-bulk-update": "framework-bulk-update";
|
|
556
556
|
}>;
|
|
557
557
|
packageName: z.ZodOptional<z.ZodString>;
|
|
558
558
|
fromVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -651,18 +651,18 @@ export declare const addonsCapability: {
|
|
|
651
651
|
}, z.core.$strip>, "mutation">;
|
|
652
652
|
readonly getAutoUpdateSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
653
653
|
channel: z.ZodEnum<{
|
|
654
|
-
off: "off";
|
|
655
|
-
latest: "latest";
|
|
656
654
|
beta: "beta";
|
|
655
|
+
latest: "latest";
|
|
656
|
+
off: "off";
|
|
657
657
|
}>;
|
|
658
658
|
intervalSeconds: z.ZodNumber;
|
|
659
659
|
updateCheckIntervalSeconds: z.ZodNumber;
|
|
660
660
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
661
661
|
readonly setAutoUpdateSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
662
662
|
channel: z.ZodEnum<{
|
|
663
|
-
off: "off";
|
|
664
|
-
latest: "latest";
|
|
665
663
|
beta: "beta";
|
|
664
|
+
latest: "latest";
|
|
665
|
+
off: "off";
|
|
666
666
|
}>;
|
|
667
667
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
668
668
|
updateCheckIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -670,25 +670,25 @@ export declare const addonsCapability: {
|
|
|
670
670
|
readonly getAddonAutoUpdate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
671
671
|
addonId: z.ZodString;
|
|
672
672
|
}, z.core.$strip>, z.ZodEnum<{
|
|
673
|
-
off: "off";
|
|
674
|
-
latest: "latest";
|
|
675
673
|
beta: "beta";
|
|
676
674
|
inherit: "inherit";
|
|
675
|
+
latest: "latest";
|
|
676
|
+
off: "off";
|
|
677
677
|
}>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
678
678
|
readonly setAddonAutoUpdate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
679
679
|
addonId: z.ZodString;
|
|
680
680
|
channel: z.ZodEnum<{
|
|
681
|
-
off: "off";
|
|
682
|
-
latest: "latest";
|
|
683
681
|
beta: "beta";
|
|
684
682
|
inherit: "inherit";
|
|
683
|
+
latest: "latest";
|
|
684
|
+
off: "off";
|
|
685
685
|
}>;
|
|
686
686
|
}, z.core.$strip>, z.ZodUnknown, "mutation">;
|
|
687
687
|
readonly applyAutoUpdateToAll: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
688
688
|
channel: z.ZodEnum<{
|
|
689
|
-
off: "off";
|
|
690
|
-
latest: "latest";
|
|
691
689
|
beta: "beta";
|
|
690
|
+
latest: "latest";
|
|
691
|
+
off: "off";
|
|
692
692
|
}>;
|
|
693
693
|
}, z.core.$strip>, z.ZodObject<{
|
|
694
694
|
success: z.ZodLiteral<true>;
|
|
@@ -710,10 +710,10 @@ export declare const addonsCapability: {
|
|
|
710
710
|
*/
|
|
711
711
|
readonly startJob: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
712
712
|
kind: z.ZodEnum<{
|
|
713
|
-
update: "update";
|
|
714
|
-
restart: "restart";
|
|
715
713
|
install: "install";
|
|
714
|
+
restart: "restart";
|
|
716
715
|
uninstall: "uninstall";
|
|
716
|
+
update: "update";
|
|
717
717
|
}>;
|
|
718
718
|
targets: z.ZodArray<z.ZodObject<{
|
|
719
719
|
name: z.ZodString;
|
|
@@ -732,17 +732,17 @@ export declare const addonsCapability: {
|
|
|
732
732
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
733
733
|
jobId: z.ZodString;
|
|
734
734
|
kind: z.ZodEnum<{
|
|
735
|
-
update: "update";
|
|
736
|
-
restart: "restart";
|
|
737
735
|
install: "install";
|
|
736
|
+
restart: "restart";
|
|
738
737
|
uninstall: "uninstall";
|
|
738
|
+
update: "update";
|
|
739
739
|
}>;
|
|
740
740
|
createdAtMs: z.ZodNumber;
|
|
741
741
|
createdBy: z.ZodString;
|
|
742
742
|
scope: z.ZodEnum<{
|
|
743
|
+
bulk: "bulk";
|
|
743
744
|
cluster: "cluster";
|
|
744
745
|
single: "single";
|
|
745
|
-
bulk: "bulk";
|
|
746
746
|
}>;
|
|
747
747
|
tasks: z.ZodArray<z.ZodObject<{
|
|
748
748
|
taskId: z.ZodString;
|
|
@@ -751,20 +751,20 @@ export declare const addonsCapability: {
|
|
|
751
751
|
fromVersion: z.ZodNullable<z.ZodString>;
|
|
752
752
|
toVersion: z.ZodString;
|
|
753
753
|
target: z.ZodEnum<{
|
|
754
|
-
framework: "framework";
|
|
755
754
|
addon: "addon";
|
|
755
|
+
framework: "framework";
|
|
756
756
|
}>;
|
|
757
757
|
phase: z.ZodEnum<{
|
|
758
|
-
|
|
758
|
+
applied: "applied";
|
|
759
|
+
applying: "applying";
|
|
759
760
|
done: "done";
|
|
760
761
|
failed: "failed";
|
|
761
|
-
applied: "applied";
|
|
762
762
|
fetching: "fetching";
|
|
763
|
-
|
|
764
|
-
validating: "validating";
|
|
765
|
-
applying: "applying";
|
|
763
|
+
queued: "queued";
|
|
766
764
|
restarting: "restarting";
|
|
767
765
|
skipped: "skipped";
|
|
766
|
+
staged: "staged";
|
|
767
|
+
validating: "validating";
|
|
768
768
|
}>;
|
|
769
769
|
stagedPath: z.ZodNullable<z.ZodString>;
|
|
770
770
|
attempts: z.ZodNumber;
|
|
@@ -773,16 +773,16 @@ export declare const addonsCapability: {
|
|
|
773
773
|
nodeId: z.ZodString;
|
|
774
774
|
packageName: z.ZodString;
|
|
775
775
|
phase: z.ZodEnum<{
|
|
776
|
-
|
|
776
|
+
applied: "applied";
|
|
777
|
+
applying: "applying";
|
|
777
778
|
done: "done";
|
|
778
779
|
failed: "failed";
|
|
779
|
-
applied: "applied";
|
|
780
780
|
fetching: "fetching";
|
|
781
|
-
|
|
782
|
-
validating: "validating";
|
|
783
|
-
applying: "applying";
|
|
781
|
+
queued: "queued";
|
|
784
782
|
restarting: "restarting";
|
|
785
783
|
skipped: "skipped";
|
|
784
|
+
staged: "staged";
|
|
785
|
+
validating: "validating";
|
|
786
786
|
}>;
|
|
787
787
|
message: z.ZodString;
|
|
788
788
|
}, z.core.$strip>>;
|
|
@@ -791,11 +791,11 @@ export declare const addonsCapability: {
|
|
|
791
791
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
792
792
|
}, z.core.$strip>>;
|
|
793
793
|
state: z.ZodEnum<{
|
|
794
|
-
running: "running";
|
|
795
|
-
failed: "failed";
|
|
796
794
|
cancelled: "cancelled";
|
|
797
795
|
completed: "completed";
|
|
796
|
+
failed: "failed";
|
|
798
797
|
"partially-failed": "partially-failed";
|
|
798
|
+
running: "running";
|
|
799
799
|
}>;
|
|
800
800
|
schemaVersion: z.ZodLiteral<1>;
|
|
801
801
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -808,17 +808,17 @@ export declare const addonsCapability: {
|
|
|
808
808
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
809
809
|
jobId: z.ZodString;
|
|
810
810
|
kind: z.ZodEnum<{
|
|
811
|
-
update: "update";
|
|
812
|
-
restart: "restart";
|
|
813
811
|
install: "install";
|
|
812
|
+
restart: "restart";
|
|
814
813
|
uninstall: "uninstall";
|
|
814
|
+
update: "update";
|
|
815
815
|
}>;
|
|
816
816
|
createdAtMs: z.ZodNumber;
|
|
817
817
|
createdBy: z.ZodString;
|
|
818
818
|
scope: z.ZodEnum<{
|
|
819
|
+
bulk: "bulk";
|
|
819
820
|
cluster: "cluster";
|
|
820
821
|
single: "single";
|
|
821
|
-
bulk: "bulk";
|
|
822
822
|
}>;
|
|
823
823
|
tasks: z.ZodArray<z.ZodObject<{
|
|
824
824
|
taskId: z.ZodString;
|
|
@@ -827,20 +827,20 @@ export declare const addonsCapability: {
|
|
|
827
827
|
fromVersion: z.ZodNullable<z.ZodString>;
|
|
828
828
|
toVersion: z.ZodString;
|
|
829
829
|
target: z.ZodEnum<{
|
|
830
|
-
framework: "framework";
|
|
831
830
|
addon: "addon";
|
|
831
|
+
framework: "framework";
|
|
832
832
|
}>;
|
|
833
833
|
phase: z.ZodEnum<{
|
|
834
|
-
|
|
834
|
+
applied: "applied";
|
|
835
|
+
applying: "applying";
|
|
835
836
|
done: "done";
|
|
836
837
|
failed: "failed";
|
|
837
|
-
applied: "applied";
|
|
838
838
|
fetching: "fetching";
|
|
839
|
-
|
|
840
|
-
validating: "validating";
|
|
841
|
-
applying: "applying";
|
|
839
|
+
queued: "queued";
|
|
842
840
|
restarting: "restarting";
|
|
843
841
|
skipped: "skipped";
|
|
842
|
+
staged: "staged";
|
|
843
|
+
validating: "validating";
|
|
844
844
|
}>;
|
|
845
845
|
stagedPath: z.ZodNullable<z.ZodString>;
|
|
846
846
|
attempts: z.ZodNumber;
|
|
@@ -849,16 +849,16 @@ export declare const addonsCapability: {
|
|
|
849
849
|
nodeId: z.ZodString;
|
|
850
850
|
packageName: z.ZodString;
|
|
851
851
|
phase: z.ZodEnum<{
|
|
852
|
-
|
|
852
|
+
applied: "applied";
|
|
853
|
+
applying: "applying";
|
|
853
854
|
done: "done";
|
|
854
855
|
failed: "failed";
|
|
855
|
-
applied: "applied";
|
|
856
856
|
fetching: "fetching";
|
|
857
|
-
|
|
858
|
-
validating: "validating";
|
|
859
|
-
applying: "applying";
|
|
857
|
+
queued: "queued";
|
|
860
858
|
restarting: "restarting";
|
|
861
859
|
skipped: "skipped";
|
|
860
|
+
staged: "staged";
|
|
861
|
+
validating: "validating";
|
|
862
862
|
}>;
|
|
863
863
|
message: z.ZodString;
|
|
864
864
|
}, z.core.$strip>>;
|
|
@@ -867,11 +867,11 @@ export declare const addonsCapability: {
|
|
|
867
867
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
868
868
|
}, z.core.$strip>>;
|
|
869
869
|
state: z.ZodEnum<{
|
|
870
|
-
running: "running";
|
|
871
|
-
failed: "failed";
|
|
872
870
|
cancelled: "cancelled";
|
|
873
871
|
completed: "completed";
|
|
872
|
+
failed: "failed";
|
|
874
873
|
"partially-failed": "partially-failed";
|
|
874
|
+
running: "running";
|
|
875
875
|
}>;
|
|
876
876
|
schemaVersion: z.ZodLiteral<1>;
|
|
877
877
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -888,9 +888,9 @@ export declare const addonsCapability: {
|
|
|
888
888
|
readonly onAddonLogs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
889
889
|
addonId: z.ZodString;
|
|
890
890
|
level: z.ZodOptional<z.ZodEnum<{
|
|
891
|
-
info: "info";
|
|
892
|
-
error: "error";
|
|
893
891
|
debug: "debug";
|
|
892
|
+
error: "error";
|
|
893
|
+
info: "info";
|
|
894
894
|
warn: "warn";
|
|
895
895
|
}>>;
|
|
896
896
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -902,7 +902,7 @@ export declare const addonsCapability: {
|
|
|
902
902
|
};
|
|
903
903
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
904
904
|
readonly mount: {
|
|
905
|
-
readonly kind:
|
|
905
|
+
readonly kind: 'server-provided';
|
|
906
906
|
};
|
|
907
907
|
};
|
|
908
908
|
export type IAddonsProvider = InferProvider<typeof addonsCapability>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type InferProvider } from './capability-definition.js';
|
|
3
3
|
export declare const adminUiCapability: {
|
|
4
|
-
readonly name:
|
|
5
|
-
readonly scope:
|
|
6
|
-
readonly mode:
|
|
4
|
+
readonly name: 'admin-ui';
|
|
5
|
+
readonly scope: 'system';
|
|
6
|
+
readonly mode: 'singleton';
|
|
7
7
|
readonly internal: true;
|
|
8
8
|
readonly methods: {
|
|
9
9
|
/**
|
|
@@ -22,10 +22,10 @@ export declare const AirQualitySensorStatusSchema: z.ZodObject<{
|
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
export type AirQualitySensorStatus = z.infer<typeof AirQualitySensorStatusSchema>;
|
|
24
24
|
export declare const airQualitySensorCapability: {
|
|
25
|
-
readonly name:
|
|
26
|
-
readonly scope:
|
|
25
|
+
readonly name: 'air-quality-sensor';
|
|
26
|
+
readonly scope: 'device';
|
|
27
27
|
readonly deviceNative: true;
|
|
28
|
-
readonly mode:
|
|
28
|
+
readonly mode: 'singleton';
|
|
29
29
|
readonly deviceTypes: readonly [DeviceType.Sensor];
|
|
30
30
|
readonly methods: {};
|
|
31
31
|
readonly status: {
|
|
@@ -39,7 +39,7 @@ export declare const airQualitySensorCapability: {
|
|
|
39
39
|
unit: z.ZodOptional<z.ZodString>;
|
|
40
40
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
|
-
readonly kind:
|
|
42
|
+
readonly kind: 'push';
|
|
43
43
|
};
|
|
44
44
|
readonly runtimeState: z.ZodObject<{
|
|
45
45
|
co2Ppm: z.ZodOptional<z.ZodNumber>;
|
|
@@ -57,7 +57,7 @@ export declare const airQualitySensorCapability: {
|
|
|
57
57
|
* See `RuntimeStateDurability`. Enforced by
|
|
58
58
|
* `scripts/check-runtime-state-durability.ts`.
|
|
59
59
|
*/
|
|
60
|
-
readonly durability:
|
|
60
|
+
readonly durability: 'restored';
|
|
61
61
|
/** Clock fields: written, but excluded from the compare that decides
|
|
62
62
|
* whether persisting is worth a SQLite commit. */
|
|
63
63
|
readonly volatileStateFields: readonly ["lastFetchedAt"];
|