@camstack/types 1.2.194 → 1.2.196
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/addon.d.ts +1 -0
- package/dist/addon.js +2 -1
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/addons.cap.d.ts +23 -23
- package/dist/capabilities/backup.cap.d.ts +6 -6
- package/dist/capabilities/core-blocks.cap.d.ts +16 -16
- package/dist/capabilities/custom-model-registry.cap.d.ts +2 -2
- package/dist/capabilities/decoder.cap.d.ts +13 -13
- package/dist/capabilities/device-manager.cap.d.ts +6 -6
- package/dist/capabilities/image-settings.cap.d.ts +16 -16
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/load-contribution.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +4 -4
- package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
- package/dist/capabilities/model-convert.cap.d.ts +5 -5
- package/dist/capabilities/model-distributor.cap.d.ts +2 -2
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/motion-zones.cap.d.ts +4 -4
- package/dist/capabilities/navigation.cap.d.ts +7 -7
- package/dist/capabilities/notification-output.cap.d.ts +13 -13
- package/dist/capabilities/notification-rules.cap.d.ts +17 -17
- package/dist/capabilities/notifier.cap.d.ts +3 -3
- package/dist/capabilities/osd-manager.cap.d.ts +14 -14
- package/dist/capabilities/pipeline-analytics.cap.d.ts +73 -73
- package/dist/capabilities/pipeline-executor.cap.d.ts +16 -16
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +39 -39
- package/dist/capabilities/pipeline-runner.cap.d.ts +6 -6
- package/dist/capabilities/privacy-mask.cap.d.ts +4 -4
- package/dist/capabilities/recording-export.cap.d.ts +14 -14
- package/dist/capabilities/recording.cap.d.ts +12 -12
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +7 -7
- package/dist/capabilities/storage-migration.cap.d.ts +13 -13
- package/dist/capabilities/storage.cap.d.ts +6 -6
- package/dist/capabilities/stream-broker.cap.d.ts +59 -59
- package/dist/capabilities/stream-signals.cap.d.ts +15 -0
- package/dist/capabilities/system.cap.d.ts +4 -4
- package/dist/capabilities/videoclips.cap.d.ts +2 -2
- package/dist/capabilities/webrtc-session.cap.d.ts +8 -8
- package/dist/index.js +20 -52
- package/dist/index.mjs +16 -48
- package/dist/interfaces/adoption-job.d.ts +2 -2
- package/dist/interfaces/camera-switches.d.ts +3 -3
- package/dist/interfaces/event-bus.d.ts +21 -0
- package/dist/interfaces/ops-log.d.ts +2 -2
- package/dist/interfaces/recording-config.d.ts +2 -2
- package/dist/interfaces/relocate.d.ts +18 -18
- package/dist/interfaces/storage-location-declaration.d.ts +1 -1
- package/dist/interfaces/stream-broker.d.ts +2 -2
- package/dist/lifecycle/job.d.ts +24 -24
- package/dist/{sleep-B8nfmQ8a.js → sleep-9Ix5MtX4.js} +71 -0
- package/dist/{sleep-BEyvfshj.mjs → sleep-B9qx0cEV.mjs} +48 -1
- package/dist/types/detection.d.ts +24 -3
- package/dist/types/models.d.ts +4 -4
- package/package.json +1 -1
|
@@ -110,9 +110,9 @@ export type LlmDownloadProgress = z.infer<typeof LlmDownloadProgressSchema>;
|
|
|
110
110
|
export declare const LlmRuntimeStatusSchema: z.ZodObject<{
|
|
111
111
|
nodeId: z.ZodString;
|
|
112
112
|
state: z.ZodEnum<{
|
|
113
|
+
failed: "failed";
|
|
113
114
|
stopped: "stopped";
|
|
114
115
|
ready: "ready";
|
|
115
|
-
failed: "failed";
|
|
116
116
|
starting: "starting";
|
|
117
117
|
crashed: "crashed";
|
|
118
118
|
downloading: "downloading";
|
|
@@ -411,9 +411,9 @@ export declare const llmRuntimeCapability: {
|
|
|
411
411
|
}, z.core.$strip>, z.ZodObject<{
|
|
412
412
|
nodeId: z.ZodString;
|
|
413
413
|
state: z.ZodEnum<{
|
|
414
|
+
failed: "failed";
|
|
414
415
|
stopped: "stopped";
|
|
415
416
|
ready: "ready";
|
|
416
|
-
failed: "failed";
|
|
417
417
|
starting: "starting";
|
|
418
418
|
crashed: "crashed";
|
|
419
419
|
downloading: "downloading";
|
|
@@ -443,9 +443,9 @@ export declare const llmRuntimeCapability: {
|
|
|
443
443
|
readonly status: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
444
444
|
nodeId: z.ZodString;
|
|
445
445
|
state: z.ZodEnum<{
|
|
446
|
+
failed: "failed";
|
|
446
447
|
stopped: "stopped";
|
|
447
448
|
ready: "ready";
|
|
448
|
-
failed: "failed";
|
|
449
449
|
starting: "starting";
|
|
450
450
|
crashed: "crashed";
|
|
451
451
|
downloading: "downloading";
|
|
@@ -230,9 +230,9 @@ export declare const LlmRuntimeNodeSchema: z.ZodObject<{
|
|
|
230
230
|
status: z.ZodOptional<z.ZodObject<{
|
|
231
231
|
nodeId: z.ZodString;
|
|
232
232
|
state: z.ZodEnum<{
|
|
233
|
+
failed: "failed";
|
|
233
234
|
stopped: "stopped";
|
|
234
235
|
ready: "ready";
|
|
235
|
-
failed: "failed";
|
|
236
236
|
starting: "starting";
|
|
237
237
|
crashed: "crashed";
|
|
238
238
|
downloading: "downloading";
|
|
@@ -752,9 +752,9 @@ export declare const llmCapability: {
|
|
|
752
752
|
status: z.ZodOptional<z.ZodObject<{
|
|
753
753
|
nodeId: z.ZodString;
|
|
754
754
|
state: z.ZodEnum<{
|
|
755
|
+
failed: "failed";
|
|
755
756
|
stopped: "stopped";
|
|
756
757
|
ready: "ready";
|
|
757
|
-
failed: "failed";
|
|
758
758
|
starting: "starting";
|
|
759
759
|
crashed: "crashed";
|
|
760
760
|
downloading: "downloading";
|
|
@@ -877,9 +877,9 @@ export declare const llmCapability: {
|
|
|
877
877
|
}, z.core.$strip>, z.ZodObject<{
|
|
878
878
|
nodeId: z.ZodString;
|
|
879
879
|
state: z.ZodEnum<{
|
|
880
|
+
failed: "failed";
|
|
880
881
|
stopped: "stopped";
|
|
881
882
|
ready: "ready";
|
|
882
|
-
failed: "failed";
|
|
883
883
|
starting: "starting";
|
|
884
884
|
crashed: "crashed";
|
|
885
885
|
downloading: "downloading";
|
|
@@ -911,9 +911,9 @@ export declare const llmCapability: {
|
|
|
911
911
|
}, z.core.$strip>, z.ZodObject<{
|
|
912
912
|
nodeId: z.ZodString;
|
|
913
913
|
state: z.ZodEnum<{
|
|
914
|
+
failed: "failed";
|
|
914
915
|
stopped: "stopped";
|
|
915
916
|
ready: "ready";
|
|
916
|
-
failed: "failed";
|
|
917
917
|
starting: "starting";
|
|
918
918
|
crashed: "crashed";
|
|
919
919
|
downloading: "downloading";
|
|
@@ -86,11 +86,11 @@ export declare const LOAD_CONTRIBUTION_ATTRIBUTIONS: readonly ["measured", "acco
|
|
|
86
86
|
export type LoadContributionAttribution = (typeof LOAD_CONTRIBUTION_ATTRIBUTIONS)[number];
|
|
87
87
|
declare const LoadContributionSchema: z.ZodObject<{
|
|
88
88
|
role: z.ZodEnum<{
|
|
89
|
+
recording: "recording";
|
|
89
90
|
streaming: "streaming";
|
|
91
|
+
detection: "detection";
|
|
90
92
|
decode: "decode";
|
|
91
|
-
recording: "recording";
|
|
92
93
|
transcode: "transcode";
|
|
93
|
-
detection: "detection";
|
|
94
94
|
}>;
|
|
95
95
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
96
96
|
attribution: z.ZodEnum<{
|
|
@@ -118,11 +118,11 @@ export declare const loadContributionCapability: {
|
|
|
118
118
|
*/
|
|
119
119
|
readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
120
120
|
role: z.ZodEnum<{
|
|
121
|
+
recording: "recording";
|
|
121
122
|
streaming: "streaming";
|
|
123
|
+
detection: "detection";
|
|
122
124
|
decode: "decode";
|
|
123
|
-
recording: "recording";
|
|
124
125
|
transcode: "transcode";
|
|
125
|
-
detection: "detection";
|
|
126
126
|
}>;
|
|
127
127
|
deviceId: z.ZodNullable<z.ZodNumber>;
|
|
128
128
|
attribution: z.ZodEnum<{
|
|
@@ -72,10 +72,10 @@ export declare const MaskShapeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
72
72
|
}, z.core.$strip>], "kind">;
|
|
73
73
|
/** Every shape-kind discriminant, for `supportedShapes` advertisement. */
|
|
74
74
|
export declare const MaskShapeKindSchema: z.ZodEnum<{
|
|
75
|
-
line: "line";
|
|
76
|
-
polygon: "polygon";
|
|
77
75
|
rect: "rect";
|
|
76
|
+
polygon: "polygon";
|
|
78
77
|
grid: "grid";
|
|
78
|
+
line: "line";
|
|
79
79
|
}>;
|
|
80
80
|
/** Polygon vertex bounds when a cap supports 'polygon' (e.g. Hikvision {min:4,max:4}). */
|
|
81
81
|
export declare const MaskPolygonVerticesSchema: z.ZodObject<{
|
|
@@ -15,10 +15,10 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const MediaPlayerStateSchema: z.ZodEnum<{
|
|
17
17
|
idle: "idle";
|
|
18
|
+
paused: "paused";
|
|
18
19
|
off: "off";
|
|
19
20
|
playing: "playing";
|
|
20
21
|
on: "on";
|
|
21
|
-
paused: "paused";
|
|
22
22
|
buffering: "buffering";
|
|
23
23
|
standby: "standby";
|
|
24
24
|
}>;
|
|
@@ -40,10 +40,10 @@ export type MediaInfo = z.infer<typeof MediaInfoSchema>;
|
|
|
40
40
|
export declare const MediaPlayerStatusSchema: z.ZodObject<{
|
|
41
41
|
state: z.ZodEnum<{
|
|
42
42
|
idle: "idle";
|
|
43
|
+
paused: "paused";
|
|
43
44
|
off: "off";
|
|
44
45
|
playing: "playing";
|
|
45
46
|
on: "on";
|
|
46
|
-
paused: "paused";
|
|
47
47
|
buffering: "buffering";
|
|
48
48
|
standby: "standby";
|
|
49
49
|
}>;
|
|
@@ -129,10 +129,10 @@ export declare const mediaPlayerCapability: {
|
|
|
129
129
|
readonly schema: z.ZodObject<{
|
|
130
130
|
state: z.ZodEnum<{
|
|
131
131
|
idle: "idle";
|
|
132
|
+
paused: "paused";
|
|
132
133
|
off: "off";
|
|
133
134
|
playing: "playing";
|
|
134
135
|
on: "on";
|
|
135
|
-
paused: "paused";
|
|
136
136
|
buffering: "buffering";
|
|
137
137
|
standby: "standby";
|
|
138
138
|
}>;
|
|
@@ -167,10 +167,10 @@ export declare const mediaPlayerCapability: {
|
|
|
167
167
|
readonly runtimeState: z.ZodObject<{
|
|
168
168
|
state: z.ZodEnum<{
|
|
169
169
|
idle: "idle";
|
|
170
|
+
paused: "paused";
|
|
170
171
|
off: "off";
|
|
171
172
|
playing: "playing";
|
|
172
173
|
on: "on";
|
|
173
|
-
paused: "paused";
|
|
174
174
|
buffering: "buffering";
|
|
175
175
|
standby: "standby";
|
|
176
176
|
}>;
|
|
@@ -169,8 +169,8 @@ declare const AddonInstanceSchema: z.ZodObject<{
|
|
|
169
169
|
}>;
|
|
170
170
|
pid: z.ZodNumber;
|
|
171
171
|
state: z.ZodEnum<{
|
|
172
|
-
stopped: "stopped";
|
|
173
172
|
running: "running";
|
|
173
|
+
stopped: "stopped";
|
|
174
174
|
starting: "starting";
|
|
175
175
|
stopping: "stopping";
|
|
176
176
|
crashed: "crashed";
|
|
@@ -584,8 +584,8 @@ export declare const metricsProviderCapability: {
|
|
|
584
584
|
}>;
|
|
585
585
|
pid: z.ZodNumber;
|
|
586
586
|
state: z.ZodEnum<{
|
|
587
|
-
stopped: "stopped";
|
|
588
587
|
running: "running";
|
|
588
|
+
stopped: "stopped";
|
|
589
589
|
starting: "starting";
|
|
590
590
|
stopping: "stopping";
|
|
591
591
|
crashed: "crashed";
|
|
@@ -21,19 +21,19 @@ export declare const ModelConvertInputSchema: z.ZodObject<{
|
|
|
21
21
|
nhwc: "nhwc";
|
|
22
22
|
}>>;
|
|
23
23
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
none: "none";
|
|
24
25
|
"zero-one": "zero-one";
|
|
25
26
|
imagenet: "imagenet";
|
|
26
|
-
none: "none";
|
|
27
27
|
}>>;
|
|
28
28
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
29
29
|
letterbox: "letterbox";
|
|
30
30
|
resize: "resize";
|
|
31
31
|
}>>;
|
|
32
32
|
outputFormat: z.ZodEnum<{
|
|
33
|
+
classification: "classification";
|
|
33
34
|
yolo: "yolo";
|
|
34
35
|
ssd: "ssd";
|
|
35
36
|
embedding: "embedding";
|
|
36
|
-
classification: "classification";
|
|
37
37
|
ocr: "ocr";
|
|
38
38
|
segmentation: "segmentation";
|
|
39
39
|
}>;
|
|
@@ -88,19 +88,19 @@ export declare const modelConvertCapability: {
|
|
|
88
88
|
nhwc: "nhwc";
|
|
89
89
|
}>>;
|
|
90
90
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
91
|
+
none: "none";
|
|
91
92
|
"zero-one": "zero-one";
|
|
92
93
|
imagenet: "imagenet";
|
|
93
|
-
none: "none";
|
|
94
94
|
}>>;
|
|
95
95
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
96
96
|
letterbox: "letterbox";
|
|
97
97
|
resize: "resize";
|
|
98
98
|
}>>;
|
|
99
99
|
outputFormat: z.ZodEnum<{
|
|
100
|
+
classification: "classification";
|
|
100
101
|
yolo: "yolo";
|
|
101
102
|
ssd: "ssd";
|
|
102
103
|
embedding: "embedding";
|
|
103
|
-
classification: "classification";
|
|
104
104
|
ocr: "ocr";
|
|
105
105
|
segmentation: "segmentation";
|
|
106
106
|
}>;
|
|
@@ -210,9 +210,9 @@ export declare const modelConvertCapability: {
|
|
|
210
210
|
nhwc: "nhwc";
|
|
211
211
|
}>>;
|
|
212
212
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
none: "none";
|
|
213
214
|
"zero-one": "zero-one";
|
|
214
215
|
imagenet: "imagenet";
|
|
215
|
-
none: "none";
|
|
216
216
|
}>>;
|
|
217
217
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
218
218
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -104,9 +104,9 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
104
104
|
nhwc: "nhwc";
|
|
105
105
|
}>>;
|
|
106
106
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
none: "none";
|
|
107
108
|
"zero-one": "zero-one";
|
|
108
109
|
imagenet: "imagenet";
|
|
109
|
-
none: "none";
|
|
110
110
|
}>>;
|
|
111
111
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
112
112
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -262,9 +262,9 @@ export declare const modelDistributorCapability: {
|
|
|
262
262
|
nhwc: "nhwc";
|
|
263
263
|
}>>;
|
|
264
264
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
265
|
+
none: "none";
|
|
265
266
|
"zero-one": "zero-one";
|
|
266
267
|
imagenet: "imagenet";
|
|
267
|
-
none: "none";
|
|
268
268
|
}>>;
|
|
269
269
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
270
270
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -55,11 +55,11 @@ export declare const motionDetectionCapability: {
|
|
|
55
55
|
frame: z.ZodOptional<z.ZodObject<{
|
|
56
56
|
data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
|
|
57
57
|
format: z.ZodEnum<{
|
|
58
|
-
jpeg: "jpeg";
|
|
59
58
|
rgb: "rgb";
|
|
59
|
+
gray: "gray";
|
|
60
|
+
jpeg: "jpeg";
|
|
60
61
|
bgr: "bgr";
|
|
61
62
|
yuv420: "yuv420";
|
|
62
|
-
gray: "gray";
|
|
63
63
|
}>;
|
|
64
64
|
width: z.ZodNumber;
|
|
65
65
|
height: z.ZodNumber;
|
|
@@ -72,11 +72,11 @@ export declare const motionDetectionCapability: {
|
|
|
72
72
|
width: z.ZodNumber;
|
|
73
73
|
height: z.ZodNumber;
|
|
74
74
|
format: z.ZodEnum<{
|
|
75
|
-
jpeg: "jpeg";
|
|
76
75
|
rgb: "rgb";
|
|
76
|
+
gray: "gray";
|
|
77
|
+
jpeg: "jpeg";
|
|
77
78
|
bgr: "bgr";
|
|
78
79
|
yuv420: "yuv420";
|
|
79
|
-
gray: "gray";
|
|
80
80
|
}>;
|
|
81
81
|
pts: z.ZodNumber;
|
|
82
82
|
byteLength: z.ZodNumber;
|
|
@@ -40,10 +40,10 @@ export declare const MotionZoneStatusSchema: z.ZodObject<{
|
|
|
40
40
|
export declare const MotionZoneOptionsSchema: z.ZodObject<{
|
|
41
41
|
maxRegions: z.ZodNumber;
|
|
42
42
|
supportedShapes: z.ZodArray<z.ZodEnum<{
|
|
43
|
-
line: "line";
|
|
44
|
-
polygon: "polygon";
|
|
45
43
|
rect: "rect";
|
|
44
|
+
polygon: "polygon";
|
|
46
45
|
grid: "grid";
|
|
46
|
+
line: "line";
|
|
47
47
|
}>>;
|
|
48
48
|
grid: z.ZodObject<{
|
|
49
49
|
width: z.ZodNumber;
|
|
@@ -94,10 +94,10 @@ export declare const motionZonesCapability: {
|
|
|
94
94
|
}, z.core.$strip>, z.ZodObject<{
|
|
95
95
|
maxRegions: z.ZodNumber;
|
|
96
96
|
supportedShapes: z.ZodArray<z.ZodEnum<{
|
|
97
|
-
line: "line";
|
|
98
|
-
polygon: "polygon";
|
|
99
97
|
rect: "rect";
|
|
98
|
+
polygon: "polygon";
|
|
100
99
|
grid: "grid";
|
|
100
|
+
line: "line";
|
|
101
101
|
}>>;
|
|
102
102
|
grid: z.ZodObject<{
|
|
103
103
|
width: z.ZodNumber;
|
|
@@ -172,8 +172,8 @@ export declare const NavigationFeaturesSchema: z.ZodObject<{
|
|
|
172
172
|
export type NavigationFeatures = z.infer<typeof NavigationFeaturesSchema>;
|
|
173
173
|
/** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
|
|
174
174
|
export declare const NavigationLightModeSchema: z.ZodEnum<{
|
|
175
|
-
auto: "auto";
|
|
176
175
|
manual: "manual";
|
|
176
|
+
auto: "auto";
|
|
177
177
|
}>;
|
|
178
178
|
export type NavigationLightMode = z.infer<typeof NavigationLightModeSchema>;
|
|
179
179
|
/** Manual fill-light level bounds (the camera-service accepts 40..100). */
|
|
@@ -214,8 +214,8 @@ export declare const NavigationStatusSchema: z.ZodObject<{
|
|
|
214
214
|
following: z.ZodBoolean;
|
|
215
215
|
flash: z.ZodBoolean;
|
|
216
216
|
lightMode: z.ZodEnum<{
|
|
217
|
-
auto: "auto";
|
|
218
217
|
manual: "manual";
|
|
218
|
+
auto: "auto";
|
|
219
219
|
}>;
|
|
220
220
|
lightLevel: z.ZodNumber;
|
|
221
221
|
lastChangedAt: z.ZodNumber;
|
|
@@ -240,8 +240,8 @@ export declare const NavigationRuntimeStateSchema: z.ZodObject<{
|
|
|
240
240
|
following: z.ZodBoolean;
|
|
241
241
|
flash: z.ZodBoolean;
|
|
242
242
|
lightMode: z.ZodEnum<{
|
|
243
|
-
auto: "auto";
|
|
244
243
|
manual: "manual";
|
|
244
|
+
auto: "auto";
|
|
245
245
|
}>;
|
|
246
246
|
lightLevel: z.ZodNumber;
|
|
247
247
|
lastChangedAt: z.ZodNumber;
|
|
@@ -348,8 +348,8 @@ export declare const navigationCapability: {
|
|
|
348
348
|
readonly setLightMode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
349
349
|
deviceId: z.ZodNumber;
|
|
350
350
|
mode: z.ZodEnum<{
|
|
351
|
-
auto: "auto";
|
|
352
351
|
manual: "manual";
|
|
352
|
+
auto: "auto";
|
|
353
353
|
}>;
|
|
354
354
|
level: z.ZodOptional<z.ZodNumber>;
|
|
355
355
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
@@ -393,8 +393,8 @@ export declare const navigationCapability: {
|
|
|
393
393
|
following: z.ZodBoolean;
|
|
394
394
|
flash: z.ZodBoolean;
|
|
395
395
|
lightMode: z.ZodEnum<{
|
|
396
|
-
auto: "auto";
|
|
397
396
|
manual: "manual";
|
|
397
|
+
auto: "auto";
|
|
398
398
|
}>;
|
|
399
399
|
lightLevel: z.ZodNumber;
|
|
400
400
|
lastChangedAt: z.ZodNumber;
|
|
@@ -417,8 +417,8 @@ export declare const navigationCapability: {
|
|
|
417
417
|
following: z.ZodBoolean;
|
|
418
418
|
flash: z.ZodBoolean;
|
|
419
419
|
lightMode: z.ZodEnum<{
|
|
420
|
-
auto: "auto";
|
|
421
420
|
manual: "manual";
|
|
421
|
+
auto: "auto";
|
|
422
422
|
}>;
|
|
423
423
|
lightLevel: z.ZodNumber;
|
|
424
424
|
lastChangedAt: z.ZodNumber;
|
|
@@ -443,8 +443,8 @@ export declare const navigationCapability: {
|
|
|
443
443
|
following: z.ZodBoolean;
|
|
444
444
|
flash: z.ZodBoolean;
|
|
445
445
|
lightMode: z.ZodEnum<{
|
|
446
|
-
auto: "auto";
|
|
447
446
|
manual: "manual";
|
|
447
|
+
auto: "auto";
|
|
448
448
|
}>;
|
|
449
449
|
lightLevel: z.ZodNumber;
|
|
450
450
|
lastChangedAt: z.ZodNumber;
|
|
@@ -39,8 +39,8 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
39
39
|
export declare const AttachmentMediaTypeSchema: z.ZodEnum<{
|
|
40
40
|
image: "image";
|
|
41
41
|
icon: "icon";
|
|
42
|
-
video: "video";
|
|
43
42
|
audio: "audio";
|
|
43
|
+
video: "video";
|
|
44
44
|
gif: "gif";
|
|
45
45
|
}>;
|
|
46
46
|
export type AttachmentMediaType = z.infer<typeof AttachmentMediaTypeSchema>;
|
|
@@ -54,8 +54,8 @@ export declare const AttachmentSchema: z.ZodObject<{
|
|
|
54
54
|
mediaType: z.ZodEnum<{
|
|
55
55
|
image: "image";
|
|
56
56
|
icon: "icon";
|
|
57
|
-
video: "video";
|
|
58
57
|
audio: "audio";
|
|
58
|
+
video: "video";
|
|
59
59
|
gif: "gif";
|
|
60
60
|
}>;
|
|
61
61
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -179,8 +179,8 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
179
179
|
mediaType: z.ZodEnum<{
|
|
180
180
|
image: "image";
|
|
181
181
|
icon: "icon";
|
|
182
|
-
video: "video";
|
|
183
182
|
audio: "audio";
|
|
183
|
+
video: "video";
|
|
184
184
|
gif: "gif";
|
|
185
185
|
}>;
|
|
186
186
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -245,13 +245,13 @@ export declare const TargetKindAttachmentsCapsSchema: z.ZodObject<{
|
|
|
245
245
|
mediaTypes: z.ZodArray<z.ZodEnum<{
|
|
246
246
|
image: "image";
|
|
247
247
|
icon: "icon";
|
|
248
|
-
video: "video";
|
|
249
248
|
audio: "audio";
|
|
249
|
+
video: "video";
|
|
250
250
|
gif: "gif";
|
|
251
251
|
}>>;
|
|
252
252
|
mode: z.ZodEnum<{
|
|
253
|
-
url: "url";
|
|
254
253
|
bytes: "bytes";
|
|
254
|
+
url: "url";
|
|
255
255
|
both: "both";
|
|
256
256
|
}>;
|
|
257
257
|
max: z.ZodNumber;
|
|
@@ -263,13 +263,13 @@ export declare const TargetKindCapsSchema: z.ZodObject<{
|
|
|
263
263
|
mediaTypes: z.ZodArray<z.ZodEnum<{
|
|
264
264
|
image: "image";
|
|
265
265
|
icon: "icon";
|
|
266
|
-
video: "video";
|
|
267
266
|
audio: "audio";
|
|
267
|
+
video: "video";
|
|
268
268
|
gif: "gif";
|
|
269
269
|
}>>;
|
|
270
270
|
mode: z.ZodEnum<{
|
|
271
|
-
url: "url";
|
|
272
271
|
bytes: "bytes";
|
|
272
|
+
url: "url";
|
|
273
273
|
both: "both";
|
|
274
274
|
}>;
|
|
275
275
|
max: z.ZodNumber;
|
|
@@ -314,13 +314,13 @@ export declare const TargetKindSchema: z.ZodObject<{
|
|
|
314
314
|
mediaTypes: z.ZodArray<z.ZodEnum<{
|
|
315
315
|
image: "image";
|
|
316
316
|
icon: "icon";
|
|
317
|
-
video: "video";
|
|
318
317
|
audio: "audio";
|
|
318
|
+
video: "video";
|
|
319
319
|
gif: "gif";
|
|
320
320
|
}>>;
|
|
321
321
|
mode: z.ZodEnum<{
|
|
322
|
-
url: "url";
|
|
323
322
|
bytes: "bytes";
|
|
323
|
+
url: "url";
|
|
324
324
|
both: "both";
|
|
325
325
|
}>;
|
|
326
326
|
max: z.ZodNumber;
|
|
@@ -444,13 +444,13 @@ export declare const notificationOutputCapability: {
|
|
|
444
444
|
mediaTypes: z.ZodArray<z.ZodEnum<{
|
|
445
445
|
image: "image";
|
|
446
446
|
icon: "icon";
|
|
447
|
-
video: "video";
|
|
448
447
|
audio: "audio";
|
|
448
|
+
video: "video";
|
|
449
449
|
gif: "gif";
|
|
450
450
|
}>>;
|
|
451
451
|
mode: z.ZodEnum<{
|
|
452
|
-
url: "url";
|
|
453
452
|
bytes: "bytes";
|
|
453
|
+
url: "url";
|
|
454
454
|
both: "both";
|
|
455
455
|
}>;
|
|
456
456
|
max: z.ZodNumber;
|
|
@@ -513,8 +513,8 @@ export declare const notificationOutputCapability: {
|
|
|
513
513
|
mediaType: z.ZodEnum<{
|
|
514
514
|
image: "image";
|
|
515
515
|
icon: "icon";
|
|
516
|
-
video: "video";
|
|
517
516
|
audio: "audio";
|
|
517
|
+
video: "video";
|
|
518
518
|
gif: "gif";
|
|
519
519
|
}>;
|
|
520
520
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -592,8 +592,8 @@ export declare const notificationOutputCapability: {
|
|
|
592
592
|
mediaType: z.ZodEnum<{
|
|
593
593
|
image: "image";
|
|
594
594
|
icon: "icon";
|
|
595
|
-
video: "video";
|
|
596
595
|
audio: "audio";
|
|
596
|
+
video: "video";
|
|
597
597
|
gif: "gif";
|
|
598
598
|
}>;
|
|
599
599
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -597,8 +597,8 @@ export declare const NcConditionsSchema: z.ZodObject<{
|
|
|
597
597
|
source: z.ZodOptional<z.ZodEnum<{
|
|
598
598
|
sensor: "sensor";
|
|
599
599
|
any: "any";
|
|
600
|
-
audio: "audio";
|
|
601
600
|
pipeline: "pipeline";
|
|
601
|
+
audio: "audio";
|
|
602
602
|
onboard: "onboard";
|
|
603
603
|
}>>;
|
|
604
604
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -887,8 +887,8 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
887
887
|
source: z.ZodOptional<z.ZodEnum<{
|
|
888
888
|
sensor: "sensor";
|
|
889
889
|
any: "any";
|
|
890
|
-
audio: "audio";
|
|
891
890
|
pipeline: "pipeline";
|
|
891
|
+
audio: "audio";
|
|
892
892
|
onboard: "onboard";
|
|
893
893
|
}>>;
|
|
894
894
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1241,8 +1241,8 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1241
1241
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1242
1242
|
sensor: "sensor";
|
|
1243
1243
|
any: "any";
|
|
1244
|
-
audio: "audio";
|
|
1245
1244
|
pipeline: "pipeline";
|
|
1245
|
+
audio: "audio";
|
|
1246
1246
|
onboard: "onboard";
|
|
1247
1247
|
}>>;
|
|
1248
1248
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1412,8 +1412,8 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
1412
1412
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1413
1413
|
sensor: "sensor";
|
|
1414
1414
|
any: "any";
|
|
1415
|
-
audio: "audio";
|
|
1416
1415
|
pipeline: "pipeline";
|
|
1416
|
+
audio: "audio";
|
|
1417
1417
|
onboard: "onboard";
|
|
1418
1418
|
}>>;
|
|
1419
1419
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1642,13 +1642,13 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
|
|
|
1642
1642
|
id: z.ZodString;
|
|
1643
1643
|
group: z.ZodEnum<{
|
|
1644
1644
|
package: "package";
|
|
1645
|
+
audio: "audio";
|
|
1645
1646
|
class: "class";
|
|
1646
1647
|
label: "label";
|
|
1647
|
-
audio: "audio";
|
|
1648
1648
|
device: "device";
|
|
1649
1649
|
system: "system";
|
|
1650
|
-
scope: "scope";
|
|
1651
1650
|
zones: "zones";
|
|
1651
|
+
scope: "scope";
|
|
1652
1652
|
schedule: "schedule";
|
|
1653
1653
|
occupancy: "occupancy";
|
|
1654
1654
|
quality: "quality";
|
|
@@ -1656,10 +1656,10 @@ export declare const NcConditionDescriptorSchema: z.ZodObject<{
|
|
|
1656
1656
|
label: z.ZodString;
|
|
1657
1657
|
valueType: z.ZodEnum<{
|
|
1658
1658
|
number: "number";
|
|
1659
|
+
scene: "scene";
|
|
1659
1660
|
audio: "audio";
|
|
1660
1661
|
deviceState: "deviceState";
|
|
1661
1662
|
schedule: "schedule";
|
|
1662
|
-
scene: "scene";
|
|
1663
1663
|
packagePhase: "packagePhase";
|
|
1664
1664
|
systemEvent: "systemEvent";
|
|
1665
1665
|
occupancy: "occupancy";
|
|
@@ -2120,8 +2120,8 @@ export declare const notificationRulesCapability: {
|
|
|
2120
2120
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2121
2121
|
sensor: "sensor";
|
|
2122
2122
|
any: "any";
|
|
2123
|
-
audio: "audio";
|
|
2124
2123
|
pipeline: "pipeline";
|
|
2124
|
+
audio: "audio";
|
|
2125
2125
|
onboard: "onboard";
|
|
2126
2126
|
}>>;
|
|
2127
2127
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2385,8 +2385,8 @@ export declare const notificationRulesCapability: {
|
|
|
2385
2385
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2386
2386
|
sensor: "sensor";
|
|
2387
2387
|
any: "any";
|
|
2388
|
-
audio: "audio";
|
|
2389
2388
|
pipeline: "pipeline";
|
|
2389
|
+
audio: "audio";
|
|
2390
2390
|
onboard: "onboard";
|
|
2391
2391
|
}>>;
|
|
2392
2392
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2648,8 +2648,8 @@ export declare const notificationRulesCapability: {
|
|
|
2648
2648
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2649
2649
|
sensor: "sensor";
|
|
2650
2650
|
any: "any";
|
|
2651
|
-
audio: "audio";
|
|
2652
2651
|
pipeline: "pipeline";
|
|
2652
|
+
audio: "audio";
|
|
2653
2653
|
onboard: "onboard";
|
|
2654
2654
|
}>>;
|
|
2655
2655
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2905,8 +2905,8 @@ export declare const notificationRulesCapability: {
|
|
|
2905
2905
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2906
2906
|
sensor: "sensor";
|
|
2907
2907
|
any: "any";
|
|
2908
|
-
audio: "audio";
|
|
2909
2908
|
pipeline: "pipeline";
|
|
2909
|
+
audio: "audio";
|
|
2910
2910
|
onboard: "onboard";
|
|
2911
2911
|
}>>;
|
|
2912
2912
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3259,8 +3259,8 @@ export declare const notificationRulesCapability: {
|
|
|
3259
3259
|
source: z.ZodOptional<z.ZodEnum<{
|
|
3260
3260
|
sensor: "sensor";
|
|
3261
3261
|
any: "any";
|
|
3262
|
-
audio: "audio";
|
|
3263
3262
|
pipeline: "pipeline";
|
|
3263
|
+
audio: "audio";
|
|
3264
3264
|
onboard: "onboard";
|
|
3265
3265
|
}>>;
|
|
3266
3266
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3429,8 +3429,8 @@ export declare const notificationRulesCapability: {
|
|
|
3429
3429
|
source: z.ZodOptional<z.ZodEnum<{
|
|
3430
3430
|
sensor: "sensor";
|
|
3431
3431
|
any: "any";
|
|
3432
|
-
audio: "audio";
|
|
3433
3432
|
pipeline: "pipeline";
|
|
3433
|
+
audio: "audio";
|
|
3434
3434
|
onboard: "onboard";
|
|
3435
3435
|
}>>;
|
|
3436
3436
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3740,8 +3740,8 @@ export declare const notificationRulesCapability: {
|
|
|
3740
3740
|
source: z.ZodOptional<z.ZodEnum<{
|
|
3741
3741
|
sensor: "sensor";
|
|
3742
3742
|
any: "any";
|
|
3743
|
-
audio: "audio";
|
|
3744
3743
|
pipeline: "pipeline";
|
|
3744
|
+
audio: "audio";
|
|
3745
3745
|
onboard: "onboard";
|
|
3746
3746
|
}>>;
|
|
3747
3747
|
minLabelConfidence: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3977,13 +3977,13 @@ export declare const notificationRulesCapability: {
|
|
|
3977
3977
|
id: z.ZodString;
|
|
3978
3978
|
group: z.ZodEnum<{
|
|
3979
3979
|
package: "package";
|
|
3980
|
+
audio: "audio";
|
|
3980
3981
|
class: "class";
|
|
3981
3982
|
label: "label";
|
|
3982
|
-
audio: "audio";
|
|
3983
3983
|
device: "device";
|
|
3984
3984
|
system: "system";
|
|
3985
|
-
scope: "scope";
|
|
3986
3985
|
zones: "zones";
|
|
3986
|
+
scope: "scope";
|
|
3987
3987
|
schedule: "schedule";
|
|
3988
3988
|
occupancy: "occupancy";
|
|
3989
3989
|
quality: "quality";
|
|
@@ -3991,10 +3991,10 @@ export declare const notificationRulesCapability: {
|
|
|
3991
3991
|
label: z.ZodString;
|
|
3992
3992
|
valueType: z.ZodEnum<{
|
|
3993
3993
|
number: "number";
|
|
3994
|
+
scene: "scene";
|
|
3994
3995
|
audio: "audio";
|
|
3995
3996
|
deviceState: "deviceState";
|
|
3996
3997
|
schedule: "schedule";
|
|
3997
|
-
scene: "scene";
|
|
3998
3998
|
packagePhase: "packagePhase";
|
|
3999
3999
|
systemEvent: "systemEvent";
|
|
4000
4000
|
occupancy: "occupancy";
|