@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
package/dist/lifecycle/job.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const jobKindSchema: z.ZodEnum<{
|
|
3
|
-
update: "update";
|
|
4
|
-
restart: "restart";
|
|
5
3
|
install: "install";
|
|
4
|
+
restart: "restart";
|
|
6
5
|
uninstall: "uninstall";
|
|
6
|
+
update: "update";
|
|
7
7
|
}>;
|
|
8
8
|
export type JobKind = z.infer<typeof jobKindSchema>;
|
|
9
9
|
export declare const taskPhaseSchema: z.ZodEnum<{
|
|
10
|
-
|
|
10
|
+
applied: "applied";
|
|
11
|
+
applying: "applying";
|
|
11
12
|
done: "done";
|
|
12
13
|
failed: "failed";
|
|
13
|
-
applied: "applied";
|
|
14
14
|
fetching: "fetching";
|
|
15
|
-
|
|
16
|
-
validating: "validating";
|
|
17
|
-
applying: "applying";
|
|
15
|
+
queued: "queued";
|
|
18
16
|
restarting: "restarting";
|
|
19
17
|
skipped: "skipped";
|
|
18
|
+
staged: "staged";
|
|
19
|
+
validating: "validating";
|
|
20
20
|
}>;
|
|
21
21
|
export type TaskPhase = z.infer<typeof taskPhaseSchema>;
|
|
22
22
|
export declare const taskTargetSchema: z.ZodEnum<{
|
|
23
|
-
framework: "framework";
|
|
24
23
|
addon: "addon";
|
|
24
|
+
framework: "framework";
|
|
25
25
|
}>;
|
|
26
26
|
export type TaskTarget = z.infer<typeof taskTargetSchema>;
|
|
27
27
|
export declare const taskLogEntrySchema: z.ZodObject<{
|
|
@@ -29,16 +29,16 @@ export declare const taskLogEntrySchema: z.ZodObject<{
|
|
|
29
29
|
nodeId: z.ZodString;
|
|
30
30
|
packageName: z.ZodString;
|
|
31
31
|
phase: z.ZodEnum<{
|
|
32
|
-
|
|
32
|
+
applied: "applied";
|
|
33
|
+
applying: "applying";
|
|
33
34
|
done: "done";
|
|
34
35
|
failed: "failed";
|
|
35
|
-
applied: "applied";
|
|
36
36
|
fetching: "fetching";
|
|
37
|
-
|
|
38
|
-
validating: "validating";
|
|
39
|
-
applying: "applying";
|
|
37
|
+
queued: "queued";
|
|
40
38
|
restarting: "restarting";
|
|
41
39
|
skipped: "skipped";
|
|
40
|
+
staged: "staged";
|
|
41
|
+
validating: "validating";
|
|
42
42
|
}>;
|
|
43
43
|
message: z.ZodString;
|
|
44
44
|
}, z.core.$strip>;
|
|
@@ -50,20 +50,20 @@ export declare const lifecycleTaskSchema: z.ZodObject<{
|
|
|
50
50
|
fromVersion: z.ZodNullable<z.ZodString>;
|
|
51
51
|
toVersion: z.ZodString;
|
|
52
52
|
target: z.ZodEnum<{
|
|
53
|
-
framework: "framework";
|
|
54
53
|
addon: "addon";
|
|
54
|
+
framework: "framework";
|
|
55
55
|
}>;
|
|
56
56
|
phase: z.ZodEnum<{
|
|
57
|
-
|
|
57
|
+
applied: "applied";
|
|
58
|
+
applying: "applying";
|
|
58
59
|
done: "done";
|
|
59
60
|
failed: "failed";
|
|
60
|
-
applied: "applied";
|
|
61
61
|
fetching: "fetching";
|
|
62
|
-
|
|
63
|
-
validating: "validating";
|
|
64
|
-
applying: "applying";
|
|
62
|
+
queued: "queued";
|
|
65
63
|
restarting: "restarting";
|
|
66
64
|
skipped: "skipped";
|
|
65
|
+
staged: "staged";
|
|
66
|
+
validating: "validating";
|
|
67
67
|
}>;
|
|
68
68
|
stagedPath: z.ZodNullable<z.ZodString>;
|
|
69
69
|
attempts: z.ZodNumber;
|
|
@@ -72,16 +72,16 @@ export declare const lifecycleTaskSchema: z.ZodObject<{
|
|
|
72
72
|
nodeId: z.ZodString;
|
|
73
73
|
packageName: z.ZodString;
|
|
74
74
|
phase: z.ZodEnum<{
|
|
75
|
-
|
|
75
|
+
applied: "applied";
|
|
76
|
+
applying: "applying";
|
|
76
77
|
done: "done";
|
|
77
78
|
failed: "failed";
|
|
78
|
-
applied: "applied";
|
|
79
79
|
fetching: "fetching";
|
|
80
|
-
|
|
81
|
-
validating: "validating";
|
|
82
|
-
applying: "applying";
|
|
80
|
+
queued: "queued";
|
|
83
81
|
restarting: "restarting";
|
|
84
82
|
skipped: "skipped";
|
|
83
|
+
staged: "staged";
|
|
84
|
+
validating: "validating";
|
|
85
85
|
}>;
|
|
86
86
|
message: z.ZodString;
|
|
87
87
|
}, z.core.$strip>>;
|
|
@@ -91,33 +91,33 @@ export declare const lifecycleTaskSchema: z.ZodObject<{
|
|
|
91
91
|
}, z.core.$strip>;
|
|
92
92
|
export type LifecycleTask = z.infer<typeof lifecycleTaskSchema>;
|
|
93
93
|
export declare const lifecycleJobStateSchema: z.ZodEnum<{
|
|
94
|
-
running: "running";
|
|
95
|
-
failed: "failed";
|
|
96
94
|
cancelled: "cancelled";
|
|
97
95
|
completed: "completed";
|
|
96
|
+
failed: "failed";
|
|
98
97
|
"partially-failed": "partially-failed";
|
|
98
|
+
running: "running";
|
|
99
99
|
}>;
|
|
100
100
|
export type LifecycleJobState = z.infer<typeof lifecycleJobStateSchema>;
|
|
101
101
|
export declare const lifecycleJobScopeSchema: z.ZodEnum<{
|
|
102
|
+
bulk: "bulk";
|
|
102
103
|
cluster: "cluster";
|
|
103
104
|
single: "single";
|
|
104
|
-
bulk: "bulk";
|
|
105
105
|
}>;
|
|
106
106
|
export type LifecycleJobScope = z.infer<typeof lifecycleJobScopeSchema>;
|
|
107
107
|
export declare const lifecycleJobSchema: z.ZodObject<{
|
|
108
108
|
jobId: z.ZodString;
|
|
109
109
|
kind: z.ZodEnum<{
|
|
110
|
-
update: "update";
|
|
111
|
-
restart: "restart";
|
|
112
110
|
install: "install";
|
|
111
|
+
restart: "restart";
|
|
113
112
|
uninstall: "uninstall";
|
|
113
|
+
update: "update";
|
|
114
114
|
}>;
|
|
115
115
|
createdAtMs: z.ZodNumber;
|
|
116
116
|
createdBy: z.ZodString;
|
|
117
117
|
scope: z.ZodEnum<{
|
|
118
|
+
bulk: "bulk";
|
|
118
119
|
cluster: "cluster";
|
|
119
120
|
single: "single";
|
|
120
|
-
bulk: "bulk";
|
|
121
121
|
}>;
|
|
122
122
|
tasks: z.ZodArray<z.ZodObject<{
|
|
123
123
|
taskId: z.ZodString;
|
|
@@ -126,20 +126,20 @@ export declare const lifecycleJobSchema: z.ZodObject<{
|
|
|
126
126
|
fromVersion: z.ZodNullable<z.ZodString>;
|
|
127
127
|
toVersion: z.ZodString;
|
|
128
128
|
target: z.ZodEnum<{
|
|
129
|
-
framework: "framework";
|
|
130
129
|
addon: "addon";
|
|
130
|
+
framework: "framework";
|
|
131
131
|
}>;
|
|
132
132
|
phase: z.ZodEnum<{
|
|
133
|
-
|
|
133
|
+
applied: "applied";
|
|
134
|
+
applying: "applying";
|
|
134
135
|
done: "done";
|
|
135
136
|
failed: "failed";
|
|
136
|
-
applied: "applied";
|
|
137
137
|
fetching: "fetching";
|
|
138
|
-
|
|
139
|
-
validating: "validating";
|
|
140
|
-
applying: "applying";
|
|
138
|
+
queued: "queued";
|
|
141
139
|
restarting: "restarting";
|
|
142
140
|
skipped: "skipped";
|
|
141
|
+
staged: "staged";
|
|
142
|
+
validating: "validating";
|
|
143
143
|
}>;
|
|
144
144
|
stagedPath: z.ZodNullable<z.ZodString>;
|
|
145
145
|
attempts: z.ZodNumber;
|
|
@@ -148,16 +148,16 @@ export declare const lifecycleJobSchema: z.ZodObject<{
|
|
|
148
148
|
nodeId: z.ZodString;
|
|
149
149
|
packageName: z.ZodString;
|
|
150
150
|
phase: z.ZodEnum<{
|
|
151
|
-
|
|
151
|
+
applied: "applied";
|
|
152
|
+
applying: "applying";
|
|
152
153
|
done: "done";
|
|
153
154
|
failed: "failed";
|
|
154
|
-
applied: "applied";
|
|
155
155
|
fetching: "fetching";
|
|
156
|
-
|
|
157
|
-
validating: "validating";
|
|
158
|
-
applying: "applying";
|
|
156
|
+
queued: "queued";
|
|
159
157
|
restarting: "restarting";
|
|
160
158
|
skipped: "skipped";
|
|
159
|
+
staged: "staged";
|
|
160
|
+
validating: "validating";
|
|
161
161
|
}>;
|
|
162
162
|
message: z.ZodString;
|
|
163
163
|
}, z.core.$strip>>;
|
|
@@ -166,11 +166,11 @@ export declare const lifecycleJobSchema: z.ZodObject<{
|
|
|
166
166
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
167
167
|
}, z.core.$strip>>;
|
|
168
168
|
state: z.ZodEnum<{
|
|
169
|
-
running: "running";
|
|
170
|
-
failed: "failed";
|
|
171
169
|
cancelled: "cancelled";
|
|
172
170
|
completed: "completed";
|
|
171
|
+
failed: "failed";
|
|
173
172
|
"partially-failed": "partially-failed";
|
|
173
|
+
running: "running";
|
|
174
174
|
}>;
|
|
175
175
|
schemaVersion: z.ZodLiteral<1>;
|
|
176
176
|
}, z.core.$strip>;
|
|
@@ -56,8 +56,8 @@ import type { IScopedLogger, LogExtras } from '../interfaces/logging.js';
|
|
|
56
56
|
* to read it later.
|
|
57
57
|
*/
|
|
58
58
|
export declare const LogChannelLevelSchema: z.ZodEnum<{
|
|
59
|
-
info: "info";
|
|
60
59
|
error: "error";
|
|
60
|
+
info: "info";
|
|
61
61
|
warn: "warn";
|
|
62
62
|
}>;
|
|
63
63
|
/**
|
|
@@ -68,8 +68,8 @@ export declare const LogChannelDescriptorSchema: z.ZodObject<{
|
|
|
68
68
|
name: z.ZodString;
|
|
69
69
|
description: z.ZodString;
|
|
70
70
|
defaultLevel: z.ZodEnum<{
|
|
71
|
-
info: "info";
|
|
72
71
|
error: "error";
|
|
72
|
+
info: "info";
|
|
73
73
|
warn: "warn";
|
|
74
74
|
}>;
|
|
75
75
|
perDevice: z.ZodBoolean;
|
|
@@ -60,7 +60,7 @@ import { z } from 'zod';
|
|
|
60
60
|
* left on disk is unreadable by design, like a legacy `event:` one, and the
|
|
61
61
|
* orphan audit reclaims its row as a retired owner.
|
|
62
62
|
*/
|
|
63
|
-
export declare const MEDIA_OWNER_TYPES: readonly [
|
|
63
|
+
export declare const MEDIA_OWNER_TYPES: readonly ['track', 'face', 'identity', 'plate', 'vehicle', 'scene', 'motion', 'object', 'audio', 'mosaic'];
|
|
64
64
|
export type MediaOwnerType = (typeof MEDIA_OWNER_TYPES)[number];
|
|
65
65
|
/** A parsed media key. `timestampMs` is absent for the three-segment form. */
|
|
66
66
|
export interface MediaOwnerKey {
|
|
@@ -108,7 +108,7 @@ export declare function formatMediaOwnerKey(key: MediaOwnerKeyInput): string;
|
|
|
108
108
|
* should consider them. Exported so a consumer asking "is this key an event?"
|
|
109
109
|
* does not re-spell the list and drift from it.
|
|
110
110
|
*/
|
|
111
|
-
export declare const EVENT_OWNER_TYPES: readonly [
|
|
111
|
+
export declare const EVENT_OWNER_TYPES: readonly ['motion', 'object', 'audio'];
|
|
112
112
|
export type EventOwnerType = (typeof EVENT_OWNER_TYPES)[number];
|
|
113
113
|
/**
|
|
114
114
|
* The same list as a Zod enum, for the cap inputs that must NAME the table
|
|
@@ -22,13 +22,13 @@ import type { NcConditions, NcRuleAction, NcRuleActions } from '../capabilities/
|
|
|
22
22
|
* engine's opening table (`alarm-openings.ts`, which is checked against this
|
|
23
23
|
* list with `satisfies`). Only these carry an opening edge the alarm refuses.
|
|
24
24
|
*/
|
|
25
|
-
export declare const NC_ALARM_OPENING_EVENT_KINDS: readonly [
|
|
25
|
+
export declare const NC_ALARM_OPENING_EVENT_KINDS: readonly ['contact', 'cover', 'lock', 'switch'];
|
|
26
26
|
export type NcAlarmOpeningEventKind = (typeof NC_ALARM_OPENING_EVENT_KINDS)[number];
|
|
27
27
|
/**
|
|
28
28
|
* Opening caps that can be ACTUATED to a secure state on arm (close / lock /
|
|
29
29
|
* off). Contacts are openings but not controllable — they only block.
|
|
30
30
|
*/
|
|
31
|
-
export declare const NC_ALARM_CONTROLLABLE_CAPS: readonly [
|
|
31
|
+
export declare const NC_ALARM_CONTROLLABLE_CAPS: readonly ['cover', 'lock-control', 'switch'];
|
|
32
32
|
export type NcAlarmControllableCap = (typeof NC_ALARM_CONTROLLABLE_CAPS)[number];
|
|
33
33
|
export declare function isAlarmControllableCap(cap: string): cap is NcAlarmControllableCap;
|
|
34
34
|
/** What the alarm-membership question reads off a rule. */
|
|
@@ -19,7 +19,7 @@ export declare const NC_ALARM_SYSTEM_DEFAULT_DELAYS: {
|
|
|
19
19
|
exitDelaySec: number;
|
|
20
20
|
entryDelaySec: number;
|
|
21
21
|
triggeredDurationSec: number;
|
|
22
|
-
postTriggeredAction:
|
|
22
|
+
postTriggeredAction: 'rearmAfter';
|
|
23
23
|
};
|
|
24
24
|
/** Empty memberships + stock delays + no announce targets. */
|
|
25
25
|
export declare function ncAlarmSystemDefaultSettings(): NcAlarmSettings;
|
|
@@ -67,7 +67,7 @@ export declare function knownValues(picker: TaxonomyPicker): ReadonlySet<string>
|
|
|
67
67
|
* Shared for the same reason as the picker model: two surfaces disagreeing
|
|
68
68
|
* about what counts as "basic" is a worse outcome than either choice.
|
|
69
69
|
*/
|
|
70
|
-
export declare const NC_BASE_CONDITION_KEYS: readonly [
|
|
70
|
+
export declare const NC_BASE_CONDITION_KEYS: readonly ['devices', 'classes'];
|
|
71
71
|
export type NcBaseConditionKey = (typeof NC_BASE_CONDITION_KEYS)[number];
|
|
72
72
|
/** True when a condition key belongs to the BASE surface. */
|
|
73
73
|
export declare function isBaseConditionKey(key: string): boolean;
|
|
@@ -36,7 +36,7 @@ export declare const NC_SERVER_PACKAGE_NAME = "@camstack/server";
|
|
|
36
36
|
* `core/updates/__tests__/update-event-package-names.spec.ts` pins each literal
|
|
37
37
|
* to its producer constant. This is a picker list, never a routing list.
|
|
38
38
|
*/
|
|
39
|
-
export declare const NC_UPDATE_EVENT_PACKAGE_NAMES: readonly ["@camstack/server",
|
|
39
|
+
export declare const NC_UPDATE_EVENT_PACKAGE_NAMES: readonly ["@camstack/server", '@camstack/system', 'camstack-wrapper'];
|
|
40
40
|
export interface NcInstalledPackageLike {
|
|
41
41
|
readonly name: string;
|
|
42
42
|
readonly version: string;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { type NcSystemEventCondition, type NcSystemEventKind } from '../capabilities/notification-rules.cap.js';
|
|
17
17
|
import { type NcSystemEventFilterKey } from './system-event-filters.js';
|
|
18
|
-
export declare const NC_SYSTEM_EVENT_FAMILIES: readonly [
|
|
18
|
+
export declare const NC_SYSTEM_EVENT_FAMILIES: readonly ['device-events', 'system', 'alarm'];
|
|
19
19
|
export type NcSystemEventFamily = (typeof NC_SYSTEM_EVENT_FAMILIES)[number];
|
|
20
20
|
export declare function isSystemEventFamily(value: string): value is NcSystemEventFamily;
|
|
21
21
|
/** Total over the enum: a kind added to the cap without a family fails tsc here. */
|
|
@@ -52,8 +52,8 @@ export declare const TIMELAPSE_DENSE_FLOOR_SEC = 0.1;
|
|
|
52
52
|
* A GIF that cannot be assembled DEGRADES to the still — never to nothing.
|
|
53
53
|
*/
|
|
54
54
|
declare const PreviewModeField: z.ZodEnum<{
|
|
55
|
-
image: "image";
|
|
56
55
|
gif: "gif";
|
|
56
|
+
image: "image";
|
|
57
57
|
}>;
|
|
58
58
|
/** Still or animation — the rule field, as a type the renderer can take. */
|
|
59
59
|
export type TimelapsePreviewMode = z.infer<typeof PreviewModeField>;
|
|
@@ -89,8 +89,8 @@ export declare const TimelapseRuleInputSchema: z.ZodObject<{
|
|
|
89
89
|
}, z.core.$strip>>;
|
|
90
90
|
previewText: z.ZodOptional<z.ZodString>;
|
|
91
91
|
previewMode: z.ZodDefault<z.ZodEnum<{
|
|
92
|
-
image: "image";
|
|
93
92
|
gif: "gif";
|
|
93
|
+
image: "image";
|
|
94
94
|
}>>;
|
|
95
95
|
reportClasses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
96
96
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
@@ -147,8 +147,8 @@ export declare const TimelapseRulePatchSchema: z.ZodObject<{
|
|
|
147
147
|
}, z.core.$strip>>>;
|
|
148
148
|
previewText: z.ZodOptional<z.ZodString>;
|
|
149
149
|
previewMode: z.ZodOptional<z.ZodEnum<{
|
|
150
|
-
image: "image";
|
|
151
150
|
gif: "gif";
|
|
151
|
+
image: "image";
|
|
152
152
|
}>>;
|
|
153
153
|
reportClasses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
154
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -182,8 +182,8 @@ export declare const TimelapseRuleSchema: z.ZodObject<{
|
|
|
182
182
|
}, z.core.$strip>>;
|
|
183
183
|
previewText: z.ZodOptional<z.ZodString>;
|
|
184
184
|
previewMode: z.ZodDefault<z.ZodEnum<{
|
|
185
|
-
image: "image";
|
|
186
185
|
gif: "gif";
|
|
186
|
+
image: "image";
|
|
187
187
|
}>>;
|
|
188
188
|
reportClasses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
189
189
|
priority: z.ZodDefault<z.ZodNumber>;
|