@camstack/types 1.2.335 → 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
|
@@ -170,10 +170,10 @@ export type NodeDirectory = z.infer<typeof NodeDirectorySchema>;
|
|
|
170
170
|
* available", since `nodes` is mounted as a hub singleton).
|
|
171
171
|
*/
|
|
172
172
|
export declare const nodesCapability: {
|
|
173
|
-
readonly name:
|
|
174
|
-
readonly scope:
|
|
175
|
-
readonly mode:
|
|
176
|
-
readonly nodeIdMode:
|
|
173
|
+
readonly name: 'nodes';
|
|
174
|
+
readonly scope: 'system';
|
|
175
|
+
readonly mode: 'singleton';
|
|
176
|
+
readonly nodeIdMode: 'data';
|
|
177
177
|
readonly methods: {
|
|
178
178
|
readonly topology: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
179
179
|
id: z.ZodString;
|
|
@@ -338,7 +338,7 @@ export declare const nodesCapability: {
|
|
|
338
338
|
};
|
|
339
339
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
340
340
|
readonly mount: {
|
|
341
|
-
readonly kind:
|
|
341
|
+
readonly kind: 'server-provided';
|
|
342
342
|
};
|
|
343
343
|
};
|
|
344
344
|
export type INodesProvider = InferProvider<typeof nodesCapability>;
|
|
@@ -37,11 +37,11 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
37
37
|
* adapter picks what it supports and the degrade engine filters the rest.
|
|
38
38
|
*/
|
|
39
39
|
export declare const AttachmentMediaTypeSchema: z.ZodEnum<{
|
|
40
|
-
image: "image";
|
|
41
|
-
icon: "icon";
|
|
42
40
|
audio: "audio";
|
|
43
|
-
video: "video";
|
|
44
41
|
gif: "gif";
|
|
42
|
+
icon: "icon";
|
|
43
|
+
image: "image";
|
|
44
|
+
video: "video";
|
|
45
45
|
}>;
|
|
46
46
|
export type AttachmentMediaType = z.infer<typeof AttachmentMediaTypeSchema>;
|
|
47
47
|
/**
|
|
@@ -52,11 +52,11 @@ export type AttachmentMediaType = z.infer<typeof AttachmentMediaTypeSchema>;
|
|
|
52
52
|
*/
|
|
53
53
|
export declare const AttachmentSchema: z.ZodObject<{
|
|
54
54
|
mediaType: z.ZodEnum<{
|
|
55
|
-
image: "image";
|
|
56
|
-
icon: "icon";
|
|
57
55
|
audio: "audio";
|
|
58
|
-
video: "video";
|
|
59
56
|
gif: "gif";
|
|
57
|
+
icon: "icon";
|
|
58
|
+
image: "image";
|
|
59
|
+
video: "video";
|
|
60
60
|
}>;
|
|
61
61
|
url: z.ZodOptional<z.ZodString>;
|
|
62
62
|
bytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
@@ -65,9 +65,9 @@ export declare const AttachmentSchema: z.ZodObject<{
|
|
|
65
65
|
}, z.core.$strip>;
|
|
66
66
|
export type Attachment = z.infer<typeof AttachmentSchema>;
|
|
67
67
|
export declare const NotificationFormatSchema: z.ZodEnum<{
|
|
68
|
-
text: "text";
|
|
69
|
-
markdown: "markdown";
|
|
70
68
|
html: "html";
|
|
69
|
+
markdown: "markdown";
|
|
70
|
+
text: "text";
|
|
71
71
|
}>;
|
|
72
72
|
export type NotificationFormat = z.infer<typeof NotificationFormatSchema>;
|
|
73
73
|
/**
|
|
@@ -105,24 +105,24 @@ export type NotificationFormat = z.infer<typeof NotificationFormatSchema>;
|
|
|
105
105
|
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
106
106
|
*/
|
|
107
107
|
export declare const NotificationActionIconSchema: z.ZodEnum<{
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
lock: "lock";
|
|
111
|
-
view: "view";
|
|
108
|
+
acknowledge: "acknowledge";
|
|
109
|
+
alert: "alert";
|
|
112
110
|
arm: "arm";
|
|
111
|
+
"arm-away": "arm-away";
|
|
112
|
+
"arm-home": "arm-home";
|
|
113
|
+
"arm-night": "arm-night";
|
|
114
|
+
camera: "camera";
|
|
115
|
+
close: "close";
|
|
113
116
|
disarm: "disarm";
|
|
114
117
|
dismiss: "dismiss";
|
|
118
|
+
light: "light";
|
|
119
|
+
lock: "lock";
|
|
115
120
|
open: "open";
|
|
116
|
-
close: "close";
|
|
117
|
-
unlock: "unlock";
|
|
118
121
|
play: "play";
|
|
119
|
-
acknowledge: "acknowledge";
|
|
120
122
|
silence: "silence";
|
|
121
123
|
snooze: "snooze";
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"arm-night": "arm-night";
|
|
125
|
-
alert: "alert";
|
|
124
|
+
unlock: "unlock";
|
|
125
|
+
view: "view";
|
|
126
126
|
}>;
|
|
127
127
|
export type NotificationActionIcon = z.infer<typeof NotificationActionIconSchema>;
|
|
128
128
|
/** A single tap-through action button. */
|
|
@@ -131,29 +131,29 @@ export declare const NotificationActionSchema: z.ZodObject<{
|
|
|
131
131
|
label: z.ZodString;
|
|
132
132
|
url: z.ZodOptional<z.ZodString>;
|
|
133
133
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
lock: "lock";
|
|
137
|
-
view: "view";
|
|
134
|
+
acknowledge: "acknowledge";
|
|
135
|
+
alert: "alert";
|
|
138
136
|
arm: "arm";
|
|
137
|
+
"arm-away": "arm-away";
|
|
138
|
+
"arm-home": "arm-home";
|
|
139
|
+
"arm-night": "arm-night";
|
|
140
|
+
camera: "camera";
|
|
141
|
+
close: "close";
|
|
139
142
|
disarm: "disarm";
|
|
140
143
|
dismiss: "dismiss";
|
|
144
|
+
light: "light";
|
|
145
|
+
lock: "lock";
|
|
141
146
|
open: "open";
|
|
142
|
-
close: "close";
|
|
143
|
-
unlock: "unlock";
|
|
144
147
|
play: "play";
|
|
145
|
-
acknowledge: "acknowledge";
|
|
146
148
|
silence: "silence";
|
|
147
149
|
snooze: "snooze";
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
"arm-night": "arm-night";
|
|
151
|
-
alert: "alert";
|
|
150
|
+
unlock: "unlock";
|
|
151
|
+
view: "view";
|
|
152
152
|
}>>;
|
|
153
153
|
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
154
154
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
155
|
-
navigate: "navigate";
|
|
156
155
|
background: "background";
|
|
156
|
+
navigate: "navigate";
|
|
157
157
|
}>>;
|
|
158
158
|
}, z.core.$strip>;
|
|
159
159
|
export type NotificationAction = z.infer<typeof NotificationActionSchema>;
|
|
@@ -169,19 +169,19 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
169
169
|
body: z.ZodString;
|
|
170
170
|
title: z.ZodOptional<z.ZodString>;
|
|
171
171
|
format: z.ZodDefault<z.ZodEnum<{
|
|
172
|
-
text: "text";
|
|
173
|
-
markdown: "markdown";
|
|
174
172
|
html: "html";
|
|
173
|
+
markdown: "markdown";
|
|
174
|
+
text: "text";
|
|
175
175
|
}>>;
|
|
176
176
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
177
177
|
level: z.ZodOptional<z.ZodString>;
|
|
178
178
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
179
179
|
mediaType: z.ZodEnum<{
|
|
180
|
-
image: "image";
|
|
181
|
-
icon: "icon";
|
|
182
180
|
audio: "audio";
|
|
183
|
-
video: "video";
|
|
184
181
|
gif: "gif";
|
|
182
|
+
icon: "icon";
|
|
183
|
+
image: "image";
|
|
184
|
+
video: "video";
|
|
185
185
|
}>;
|
|
186
186
|
url: z.ZodOptional<z.ZodString>;
|
|
187
187
|
bytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
@@ -194,29 +194,29 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
194
194
|
label: z.ZodString;
|
|
195
195
|
url: z.ZodOptional<z.ZodString>;
|
|
196
196
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
lock: "lock";
|
|
200
|
-
view: "view";
|
|
197
|
+
acknowledge: "acknowledge";
|
|
198
|
+
alert: "alert";
|
|
201
199
|
arm: "arm";
|
|
200
|
+
"arm-away": "arm-away";
|
|
201
|
+
"arm-home": "arm-home";
|
|
202
|
+
"arm-night": "arm-night";
|
|
203
|
+
camera: "camera";
|
|
204
|
+
close: "close";
|
|
202
205
|
disarm: "disarm";
|
|
203
206
|
dismiss: "dismiss";
|
|
207
|
+
light: "light";
|
|
208
|
+
lock: "lock";
|
|
204
209
|
open: "open";
|
|
205
|
-
close: "close";
|
|
206
|
-
unlock: "unlock";
|
|
207
210
|
play: "play";
|
|
208
|
-
acknowledge: "acknowledge";
|
|
209
211
|
silence: "silence";
|
|
210
212
|
snooze: "snooze";
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
"arm-night": "arm-night";
|
|
214
|
-
alert: "alert";
|
|
213
|
+
unlock: "unlock";
|
|
214
|
+
view: "view";
|
|
215
215
|
}>>;
|
|
216
216
|
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
217
217
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
218
|
-
navigate: "navigate";
|
|
219
218
|
background: "background";
|
|
219
|
+
navigate: "navigate";
|
|
220
220
|
}>>;
|
|
221
221
|
}, z.core.$strip>>>;
|
|
222
222
|
sound: z.ZodOptional<z.ZodString>;
|
|
@@ -243,16 +243,16 @@ export type TargetKindLevel = z.infer<typeof TargetKindLevelSchema>;
|
|
|
243
243
|
/** Attachment capabilities for a kind (drives the degrade engine + test panel). */
|
|
244
244
|
export declare const TargetKindAttachmentsCapsSchema: z.ZodObject<{
|
|
245
245
|
mediaTypes: z.ZodArray<z.ZodEnum<{
|
|
246
|
-
image: "image";
|
|
247
|
-
icon: "icon";
|
|
248
246
|
audio: "audio";
|
|
249
|
-
video: "video";
|
|
250
247
|
gif: "gif";
|
|
248
|
+
icon: "icon";
|
|
249
|
+
image: "image";
|
|
250
|
+
video: "video";
|
|
251
251
|
}>>;
|
|
252
252
|
mode: z.ZodEnum<{
|
|
253
|
-
url: "url";
|
|
254
|
-
bytes: "bytes";
|
|
255
253
|
both: "both";
|
|
254
|
+
bytes: "bytes";
|
|
255
|
+
url: "url";
|
|
256
256
|
}>;
|
|
257
257
|
max: z.ZodNumber;
|
|
258
258
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
@@ -261,16 +261,16 @@ export declare const TargetKindAttachmentsCapsSchema: z.ZodObject<{
|
|
|
261
261
|
export declare const TargetKindCapsSchema: z.ZodObject<{
|
|
262
262
|
attachments: z.ZodObject<{
|
|
263
263
|
mediaTypes: z.ZodArray<z.ZodEnum<{
|
|
264
|
-
image: "image";
|
|
265
|
-
icon: "icon";
|
|
266
264
|
audio: "audio";
|
|
267
|
-
video: "video";
|
|
268
265
|
gif: "gif";
|
|
266
|
+
icon: "icon";
|
|
267
|
+
image: "image";
|
|
268
|
+
video: "video";
|
|
269
269
|
}>>;
|
|
270
270
|
mode: z.ZodEnum<{
|
|
271
|
-
url: "url";
|
|
272
|
-
bytes: "bytes";
|
|
273
271
|
both: "both";
|
|
272
|
+
bytes: "bytes";
|
|
273
|
+
url: "url";
|
|
274
274
|
}>;
|
|
275
275
|
max: z.ZodNumber;
|
|
276
276
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
@@ -290,9 +290,9 @@ export declare const TargetKindCapsSchema: z.ZodObject<{
|
|
|
290
290
|
description: z.ZodOptional<z.ZodString>;
|
|
291
291
|
}, z.core.$strip>>;
|
|
292
292
|
format: z.ZodArray<z.ZodEnum<{
|
|
293
|
-
text: "text";
|
|
294
|
-
markdown: "markdown";
|
|
295
293
|
html: "html";
|
|
294
|
+
markdown: "markdown";
|
|
295
|
+
text: "text";
|
|
296
296
|
}>>;
|
|
297
297
|
clickUrl: z.ZodBoolean;
|
|
298
298
|
sound: z.ZodBoolean;
|
|
@@ -313,16 +313,16 @@ export declare const TargetKindSchema: z.ZodObject<{
|
|
|
313
313
|
caps: z.ZodObject<{
|
|
314
314
|
attachments: z.ZodObject<{
|
|
315
315
|
mediaTypes: z.ZodArray<z.ZodEnum<{
|
|
316
|
-
image: "image";
|
|
317
|
-
icon: "icon";
|
|
318
316
|
audio: "audio";
|
|
319
|
-
video: "video";
|
|
320
317
|
gif: "gif";
|
|
318
|
+
icon: "icon";
|
|
319
|
+
image: "image";
|
|
320
|
+
video: "video";
|
|
321
321
|
}>>;
|
|
322
322
|
mode: z.ZodEnum<{
|
|
323
|
-
url: "url";
|
|
324
|
-
bytes: "bytes";
|
|
325
323
|
both: "both";
|
|
324
|
+
bytes: "bytes";
|
|
325
|
+
url: "url";
|
|
326
326
|
}>;
|
|
327
327
|
max: z.ZodNumber;
|
|
328
328
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
@@ -342,9 +342,9 @@ export declare const TargetKindSchema: z.ZodObject<{
|
|
|
342
342
|
description: z.ZodOptional<z.ZodString>;
|
|
343
343
|
}, z.core.$strip>>;
|
|
344
344
|
format: z.ZodArray<z.ZodEnum<{
|
|
345
|
-
text: "text";
|
|
346
|
-
markdown: "markdown";
|
|
347
345
|
html: "html";
|
|
346
|
+
markdown: "markdown";
|
|
347
|
+
text: "text";
|
|
348
348
|
}>>;
|
|
349
349
|
clickUrl: z.ZodBoolean;
|
|
350
350
|
sound: z.ZodBoolean;
|
|
@@ -381,9 +381,9 @@ export type DiscoveredTarget = z.infer<typeof DiscoveredTargetSchema>;
|
|
|
381
381
|
export declare const RenderedAsSchema: z.ZodObject<{
|
|
382
382
|
level: z.ZodString;
|
|
383
383
|
format: z.ZodEnum<{
|
|
384
|
-
text: "text";
|
|
385
|
-
markdown: "markdown";
|
|
386
384
|
html: "html";
|
|
385
|
+
markdown: "markdown";
|
|
386
|
+
text: "text";
|
|
387
387
|
}>;
|
|
388
388
|
attachmentsSent: z.ZodNumber;
|
|
389
389
|
actionsSent: z.ZodNumber;
|
|
@@ -397,9 +397,9 @@ export declare const SendResultSchema: z.ZodObject<{
|
|
|
397
397
|
renderedAs: z.ZodOptional<z.ZodObject<{
|
|
398
398
|
level: z.ZodString;
|
|
399
399
|
format: z.ZodEnum<{
|
|
400
|
-
text: "text";
|
|
401
|
-
markdown: "markdown";
|
|
402
400
|
html: "html";
|
|
401
|
+
markdown: "markdown";
|
|
402
|
+
text: "text";
|
|
403
403
|
}>;
|
|
404
404
|
attachmentsSent: z.ZodNumber;
|
|
405
405
|
actionsSent: z.ZodNumber;
|
|
@@ -415,9 +415,9 @@ export declare const TestResultSchema: z.ZodObject<{
|
|
|
415
415
|
renderedAs: z.ZodOptional<z.ZodObject<{
|
|
416
416
|
level: z.ZodString;
|
|
417
417
|
format: z.ZodEnum<{
|
|
418
|
-
text: "text";
|
|
419
|
-
markdown: "markdown";
|
|
420
418
|
html: "html";
|
|
419
|
+
markdown: "markdown";
|
|
420
|
+
text: "text";
|
|
421
421
|
}>;
|
|
422
422
|
attachmentsSent: z.ZodNumber;
|
|
423
423
|
actionsSent: z.ZodNumber;
|
|
@@ -439,9 +439,9 @@ export declare const ProbeTargetConfigResultSchema: z.ZodObject<{
|
|
|
439
439
|
}, z.core.$strip>;
|
|
440
440
|
export type ProbeTargetConfigResult = z.infer<typeof ProbeTargetConfigResultSchema>;
|
|
441
441
|
export declare const notificationOutputCapability: {
|
|
442
|
-
readonly name:
|
|
443
|
-
readonly scope:
|
|
444
|
-
readonly mode:
|
|
442
|
+
readonly name: 'notification-output';
|
|
443
|
+
readonly scope: 'system';
|
|
444
|
+
readonly mode: 'collection';
|
|
445
445
|
readonly methods: {
|
|
446
446
|
readonly listTargetKinds: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
447
447
|
kind: z.ZodString;
|
|
@@ -456,16 +456,16 @@ export declare const notificationOutputCapability: {
|
|
|
456
456
|
caps: z.ZodObject<{
|
|
457
457
|
attachments: z.ZodObject<{
|
|
458
458
|
mediaTypes: z.ZodArray<z.ZodEnum<{
|
|
459
|
-
image: "image";
|
|
460
|
-
icon: "icon";
|
|
461
459
|
audio: "audio";
|
|
462
|
-
video: "video";
|
|
463
460
|
gif: "gif";
|
|
461
|
+
icon: "icon";
|
|
462
|
+
image: "image";
|
|
463
|
+
video: "video";
|
|
464
464
|
}>>;
|
|
465
465
|
mode: z.ZodEnum<{
|
|
466
|
-
url: "url";
|
|
467
|
-
bytes: "bytes";
|
|
468
466
|
both: "both";
|
|
467
|
+
bytes: "bytes";
|
|
468
|
+
url: "url";
|
|
469
469
|
}>;
|
|
470
470
|
max: z.ZodNumber;
|
|
471
471
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
@@ -485,9 +485,9 @@ export declare const notificationOutputCapability: {
|
|
|
485
485
|
description: z.ZodOptional<z.ZodString>;
|
|
486
486
|
}, z.core.$strip>>;
|
|
487
487
|
format: z.ZodArray<z.ZodEnum<{
|
|
488
|
-
text: "text";
|
|
489
|
-
markdown: "markdown";
|
|
490
488
|
html: "html";
|
|
489
|
+
markdown: "markdown";
|
|
490
|
+
text: "text";
|
|
491
491
|
}>>;
|
|
492
492
|
clickUrl: z.ZodBoolean;
|
|
493
493
|
sound: z.ZodBoolean;
|
|
@@ -545,19 +545,19 @@ export declare const notificationOutputCapability: {
|
|
|
545
545
|
body: z.ZodString;
|
|
546
546
|
title: z.ZodOptional<z.ZodString>;
|
|
547
547
|
format: z.ZodDefault<z.ZodEnum<{
|
|
548
|
-
text: "text";
|
|
549
|
-
markdown: "markdown";
|
|
550
548
|
html: "html";
|
|
549
|
+
markdown: "markdown";
|
|
550
|
+
text: "text";
|
|
551
551
|
}>>;
|
|
552
552
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
553
553
|
level: z.ZodOptional<z.ZodString>;
|
|
554
554
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
555
555
|
mediaType: z.ZodEnum<{
|
|
556
|
-
image: "image";
|
|
557
|
-
icon: "icon";
|
|
558
556
|
audio: "audio";
|
|
559
|
-
video: "video";
|
|
560
557
|
gif: "gif";
|
|
558
|
+
icon: "icon";
|
|
559
|
+
image: "image";
|
|
560
|
+
video: "video";
|
|
561
561
|
}>;
|
|
562
562
|
url: z.ZodOptional<z.ZodString>;
|
|
563
563
|
bytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
@@ -570,29 +570,29 @@ export declare const notificationOutputCapability: {
|
|
|
570
570
|
label: z.ZodString;
|
|
571
571
|
url: z.ZodOptional<z.ZodString>;
|
|
572
572
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
lock: "lock";
|
|
576
|
-
view: "view";
|
|
573
|
+
acknowledge: "acknowledge";
|
|
574
|
+
alert: "alert";
|
|
577
575
|
arm: "arm";
|
|
576
|
+
"arm-away": "arm-away";
|
|
577
|
+
"arm-home": "arm-home";
|
|
578
|
+
"arm-night": "arm-night";
|
|
579
|
+
camera: "camera";
|
|
580
|
+
close: "close";
|
|
578
581
|
disarm: "disarm";
|
|
579
582
|
dismiss: "dismiss";
|
|
583
|
+
light: "light";
|
|
584
|
+
lock: "lock";
|
|
580
585
|
open: "open";
|
|
581
|
-
close: "close";
|
|
582
|
-
unlock: "unlock";
|
|
583
586
|
play: "play";
|
|
584
|
-
acknowledge: "acknowledge";
|
|
585
587
|
silence: "silence";
|
|
586
588
|
snooze: "snooze";
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
"arm-night": "arm-night";
|
|
590
|
-
alert: "alert";
|
|
589
|
+
unlock: "unlock";
|
|
590
|
+
view: "view";
|
|
591
591
|
}>>;
|
|
592
592
|
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
593
593
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
594
|
-
navigate: "navigate";
|
|
595
594
|
background: "background";
|
|
595
|
+
navigate: "navigate";
|
|
596
596
|
}>>;
|
|
597
597
|
}, z.core.$strip>>>;
|
|
598
598
|
sound: z.ZodOptional<z.ZodString>;
|
|
@@ -608,9 +608,9 @@ export declare const notificationOutputCapability: {
|
|
|
608
608
|
renderedAs: z.ZodOptional<z.ZodObject<{
|
|
609
609
|
level: z.ZodString;
|
|
610
610
|
format: z.ZodEnum<{
|
|
611
|
-
text: "text";
|
|
612
|
-
markdown: "markdown";
|
|
613
611
|
html: "html";
|
|
612
|
+
markdown: "markdown";
|
|
613
|
+
text: "text";
|
|
614
614
|
}>;
|
|
615
615
|
attachmentsSent: z.ZodNumber;
|
|
616
616
|
actionsSent: z.ZodNumber;
|
|
@@ -624,19 +624,19 @@ export declare const notificationOutputCapability: {
|
|
|
624
624
|
body: z.ZodString;
|
|
625
625
|
title: z.ZodOptional<z.ZodString>;
|
|
626
626
|
format: z.ZodDefault<z.ZodEnum<{
|
|
627
|
-
text: "text";
|
|
628
|
-
markdown: "markdown";
|
|
629
627
|
html: "html";
|
|
628
|
+
markdown: "markdown";
|
|
629
|
+
text: "text";
|
|
630
630
|
}>>;
|
|
631
631
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
632
632
|
level: z.ZodOptional<z.ZodString>;
|
|
633
633
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
634
634
|
mediaType: z.ZodEnum<{
|
|
635
|
-
image: "image";
|
|
636
|
-
icon: "icon";
|
|
637
635
|
audio: "audio";
|
|
638
|
-
video: "video";
|
|
639
636
|
gif: "gif";
|
|
637
|
+
icon: "icon";
|
|
638
|
+
image: "image";
|
|
639
|
+
video: "video";
|
|
640
640
|
}>;
|
|
641
641
|
url: z.ZodOptional<z.ZodString>;
|
|
642
642
|
bytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
@@ -649,29 +649,29 @@ export declare const notificationOutputCapability: {
|
|
|
649
649
|
label: z.ZodString;
|
|
650
650
|
url: z.ZodOptional<z.ZodString>;
|
|
651
651
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
lock: "lock";
|
|
655
|
-
view: "view";
|
|
652
|
+
acknowledge: "acknowledge";
|
|
653
|
+
alert: "alert";
|
|
656
654
|
arm: "arm";
|
|
655
|
+
"arm-away": "arm-away";
|
|
656
|
+
"arm-home": "arm-home";
|
|
657
|
+
"arm-night": "arm-night";
|
|
658
|
+
camera: "camera";
|
|
659
|
+
close: "close";
|
|
657
660
|
disarm: "disarm";
|
|
658
661
|
dismiss: "dismiss";
|
|
662
|
+
light: "light";
|
|
663
|
+
lock: "lock";
|
|
659
664
|
open: "open";
|
|
660
|
-
close: "close";
|
|
661
|
-
unlock: "unlock";
|
|
662
665
|
play: "play";
|
|
663
|
-
acknowledge: "acknowledge";
|
|
664
666
|
silence: "silence";
|
|
665
667
|
snooze: "snooze";
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
"arm-night": "arm-night";
|
|
669
|
-
alert: "alert";
|
|
668
|
+
unlock: "unlock";
|
|
669
|
+
view: "view";
|
|
670
670
|
}>>;
|
|
671
671
|
destructive: z.ZodOptional<z.ZodBoolean>;
|
|
672
672
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
673
|
-
navigate: "navigate";
|
|
674
673
|
background: "background";
|
|
674
|
+
navigate: "navigate";
|
|
675
675
|
}>>;
|
|
676
676
|
}, z.core.$strip>>>;
|
|
677
677
|
sound: z.ZodOptional<z.ZodString>;
|
|
@@ -687,9 +687,9 @@ export declare const notificationOutputCapability: {
|
|
|
687
687
|
renderedAs: z.ZodOptional<z.ZodObject<{
|
|
688
688
|
level: z.ZodString;
|
|
689
689
|
format: z.ZodEnum<{
|
|
690
|
-
text: "text";
|
|
691
|
-
markdown: "markdown";
|
|
692
690
|
html: "html";
|
|
691
|
+
markdown: "markdown";
|
|
692
|
+
text: "text";
|
|
693
693
|
}>;
|
|
694
694
|
attachmentsSent: z.ZodNumber;
|
|
695
695
|
actionsSent: z.ZodNumber;
|