@camstack/types 1.2.271 → 1.2.272
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/capabilities/control.cap.d.ts +4 -4
- package/dist/capabilities/core-blocks.cap.d.ts +1 -1
- package/dist/capabilities/device-discovery.cap.d.ts +1 -1
- package/dist/capabilities/device-extension.cap.d.ts +8 -8
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/integrations.cap.d.ts +3 -3
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/motion.cap.d.ts +12 -0
- package/dist/capabilities/notification-rules.cap.d.ts +9 -9
- package/dist/capabilities/osd-manager.cap.d.ts +10 -10
- package/dist/capabilities/pet-feeder.cap.d.ts +4 -4
- package/dist/capabilities/pipeline-analytics.cap.d.ts +22 -10
- package/dist/capabilities/pipeline-executor.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +156 -6
- package/dist/capabilities/pipeline-runner.cap.d.ts +9 -0
- package/dist/capabilities/recording-archive.cap.d.ts +4 -4
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/recording-onboard.cap.d.ts +5 -5
- package/dist/capabilities/recording.cap.d.ts +5 -5
- package/dist/capabilities/snapshot.cap.d.ts +2 -2
- package/dist/capabilities/storage-provider.cap.d.ts +11 -11
- package/dist/capabilities/storage.cap.d.ts +3 -3
- package/dist/capabilities/stream-broker.cap.d.ts +1 -1
- package/dist/capabilities/videoclips.cap.d.ts +3 -3
- package/dist/capabilities/zone-analytics.cap.d.ts +2 -2
- package/dist/composition/composition-report.d.ts +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +176 -15
- package/dist/index.mjs +162 -16
- package/dist/interfaces/storage-location-mode.d.ts +1 -1
- package/dist/interfaces/storage-location.d.ts +1 -1
- package/dist/pipeline/camera-sensors.d.ts +146 -0
- package/package.json +1 -1
|
@@ -25,8 +25,8 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
25
25
|
* separate `sourceInfo` or device-config blob for these values.
|
|
26
26
|
*/
|
|
27
27
|
export declare const ControlKindSchema: z.ZodEnum<{
|
|
28
|
-
text: "text";
|
|
29
28
|
datetime: "datetime";
|
|
29
|
+
text: "text";
|
|
30
30
|
numeric: "numeric";
|
|
31
31
|
select: "select";
|
|
32
32
|
}>;
|
|
@@ -53,8 +53,8 @@ export type ControlKind = z.infer<typeof ControlKindSchema>;
|
|
|
53
53
|
*/
|
|
54
54
|
export declare const ControlStatusSchema: z.ZodObject<{
|
|
55
55
|
kind: z.ZodEnum<{
|
|
56
|
-
text: "text";
|
|
57
56
|
datetime: "datetime";
|
|
57
|
+
text: "text";
|
|
58
58
|
numeric: "numeric";
|
|
59
59
|
select: "select";
|
|
60
60
|
}>;
|
|
@@ -114,8 +114,8 @@ export declare const controlCapability: {
|
|
|
114
114
|
readonly status: {
|
|
115
115
|
readonly schema: z.ZodObject<{
|
|
116
116
|
kind: z.ZodEnum<{
|
|
117
|
-
text: "text";
|
|
118
117
|
datetime: "datetime";
|
|
118
|
+
text: "text";
|
|
119
119
|
numeric: "numeric";
|
|
120
120
|
select: "select";
|
|
121
121
|
}>;
|
|
@@ -142,8 +142,8 @@ export declare const controlCapability: {
|
|
|
142
142
|
*/
|
|
143
143
|
readonly runtimeState: z.ZodObject<{
|
|
144
144
|
kind: z.ZodEnum<{
|
|
145
|
-
text: "text";
|
|
146
145
|
datetime: "datetime";
|
|
146
|
+
text: "text";
|
|
147
147
|
numeric: "numeric";
|
|
148
148
|
select: "select";
|
|
149
149
|
}>;
|
|
@@ -28,8 +28,8 @@ import type { SourceInfo } from '../device/source-info.js';
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const DiscoveredChildStatusSchema: z.ZodEnum<{
|
|
30
30
|
unknown: "unknown";
|
|
31
|
-
sleeping: "sleeping";
|
|
32
31
|
offline: "offline";
|
|
32
|
+
sleeping: "sleeping";
|
|
33
33
|
online: "online";
|
|
34
34
|
}>;
|
|
35
35
|
export type DiscoveredChildStatus = z.infer<typeof DiscoveredChildStatusSchema>;
|
|
@@ -67,9 +67,9 @@ export type ExtensionSource = z.infer<typeof ExtensionSourceSchema>;
|
|
|
67
67
|
* these states is SHOWN, never silently dropped or re-pointed.
|
|
68
68
|
*/
|
|
69
69
|
export declare const ExtensionSourceHealthSchema: z.ZodEnum<{
|
|
70
|
+
missing: "missing";
|
|
70
71
|
ok: "ok";
|
|
71
72
|
unavailable: "unavailable";
|
|
72
|
-
missing: "missing";
|
|
73
73
|
foreign: "foreign";
|
|
74
74
|
}>;
|
|
75
75
|
export type ExtensionSourceHealth = z.infer<typeof ExtensionSourceHealthSchema>;
|
|
@@ -77,9 +77,9 @@ export declare const ExtensionSlotSourceSchema: z.ZodObject<{
|
|
|
77
77
|
deviceId: z.ZodNumber;
|
|
78
78
|
name: z.ZodNullable<z.ZodString>;
|
|
79
79
|
health: z.ZodEnum<{
|
|
80
|
+
missing: "missing";
|
|
80
81
|
ok: "ok";
|
|
81
82
|
unavailable: "unavailable";
|
|
82
|
-
missing: "missing";
|
|
83
83
|
foreign: "foreign";
|
|
84
84
|
}>;
|
|
85
85
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -132,9 +132,9 @@ export declare const ExtensionSlotStateSchema: z.ZodObject<{
|
|
|
132
132
|
deviceId: z.ZodNumber;
|
|
133
133
|
name: z.ZodNullable<z.ZodString>;
|
|
134
134
|
health: z.ZodEnum<{
|
|
135
|
+
missing: "missing";
|
|
135
136
|
ok: "ok";
|
|
136
137
|
unavailable: "unavailable";
|
|
137
|
-
missing: "missing";
|
|
138
138
|
foreign: "foreign";
|
|
139
139
|
}>;
|
|
140
140
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -143,9 +143,9 @@ export declare const ExtensionSlotStateSchema: z.ZodObject<{
|
|
|
143
143
|
deviceId: z.ZodNumber;
|
|
144
144
|
name: z.ZodNullable<z.ZodString>;
|
|
145
145
|
health: z.ZodEnum<{
|
|
146
|
+
missing: "missing";
|
|
146
147
|
ok: "ok";
|
|
147
148
|
unavailable: "unavailable";
|
|
148
|
-
missing: "missing";
|
|
149
149
|
foreign: "foreign";
|
|
150
150
|
}>;
|
|
151
151
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -192,9 +192,9 @@ export declare const ExtensionSlotRowSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
192
192
|
deviceId: z.ZodNumber;
|
|
193
193
|
name: z.ZodNullable<z.ZodString>;
|
|
194
194
|
health: z.ZodEnum<{
|
|
195
|
+
missing: "missing";
|
|
195
196
|
ok: "ok";
|
|
196
197
|
unavailable: "unavailable";
|
|
197
|
-
missing: "missing";
|
|
198
198
|
foreign: "foreign";
|
|
199
199
|
}>;
|
|
200
200
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -203,9 +203,9 @@ export declare const ExtensionSlotRowSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
203
203
|
deviceId: z.ZodNumber;
|
|
204
204
|
name: z.ZodNullable<z.ZodString>;
|
|
205
205
|
health: z.ZodEnum<{
|
|
206
|
+
missing: "missing";
|
|
206
207
|
ok: "ok";
|
|
207
208
|
unavailable: "unavailable";
|
|
208
|
-
missing: "missing";
|
|
209
209
|
foreign: "foreign";
|
|
210
210
|
}>;
|
|
211
211
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -340,9 +340,9 @@ export declare const deviceExtensionCapability: {
|
|
|
340
340
|
deviceId: z.ZodNumber;
|
|
341
341
|
name: z.ZodNullable<z.ZodString>;
|
|
342
342
|
health: z.ZodEnum<{
|
|
343
|
+
missing: "missing";
|
|
343
344
|
ok: "ok";
|
|
344
345
|
unavailable: "unavailable";
|
|
345
|
-
missing: "missing";
|
|
346
346
|
foreign: "foreign";
|
|
347
347
|
}>;
|
|
348
348
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -351,9 +351,9 @@ export declare const deviceExtensionCapability: {
|
|
|
351
351
|
deviceId: z.ZodNumber;
|
|
352
352
|
name: z.ZodNullable<z.ZodString>;
|
|
353
353
|
health: z.ZodEnum<{
|
|
354
|
+
missing: "missing";
|
|
354
355
|
ok: "ok";
|
|
355
356
|
unavailable: "unavailable";
|
|
356
|
-
missing: "missing";
|
|
357
357
|
foreign: "foreign";
|
|
358
358
|
}>;
|
|
359
359
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -91,7 +91,7 @@ export { EffectiveTuningSchema, ModelSubstitutionSchema, NativeCropRefSchema, Pi
|
|
|
91
91
|
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, ClusterModelChoice, ClusterModelChoiceUnreadableReason, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
92
92
|
export { AgentLoadSummarySchema, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, ClusterModelChoiceSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
93
93
|
export type { DetailParent, DetailResult, MotionSource, MotionSources, OccupancyBurstRefusal, ParkedFrameKind, ParkedTrackFrame, ParkRefusal, ParkTrackFrameResult, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunnerJumpStepProvisioning, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
|
|
94
|
-
export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, MotionSourceEnum, MotionSourcesSchema, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, OccupancyBurstRefusalSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
94
|
+
export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, MOTION_SOURCE_LABELS, MotionSourceEnum, MotionSourcesSchema, motionSourceLabel, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, OccupancyBurstRefusalSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
95
95
|
export { AUDIO_NOT_CLASSIFIED_REASONS, AudioChunkInputSchema, AudioClassificationLabelSchema, AudioClassifyOutcomeSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
96
96
|
export type { AudioClassifyOutcome, AudioNotClassifiedReason, } from './schemas/detection-shared.js';
|
|
97
97
|
export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
|
|
@@ -81,19 +81,19 @@ declare const AvailableIntegrationTypeSchema: z.ZodObject<{
|
|
|
81
81
|
* that SAYS the test did not run rather than inventing a failure.
|
|
82
82
|
*/
|
|
83
83
|
declare const TestConnectionStatusEnum: z.ZodEnum<{
|
|
84
|
+
unsupported: "unsupported";
|
|
84
85
|
validated: "validated";
|
|
85
86
|
rejected: "rejected";
|
|
86
87
|
inconclusive: "inconclusive";
|
|
87
|
-
unsupported: "unsupported";
|
|
88
88
|
}>;
|
|
89
89
|
declare const TestConnectionResultSchema: z.ZodObject<{
|
|
90
90
|
success: z.ZodBoolean;
|
|
91
91
|
error: z.ZodOptional<z.ZodString>;
|
|
92
92
|
status: z.ZodOptional<z.ZodEnum<{
|
|
93
|
+
unsupported: "unsupported";
|
|
93
94
|
validated: "validated";
|
|
94
95
|
rejected: "rejected";
|
|
95
96
|
inconclusive: "inconclusive";
|
|
96
|
-
unsupported: "unsupported";
|
|
97
97
|
}>>;
|
|
98
98
|
testedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
99
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -233,10 +233,10 @@ export declare const integrationsCapability: {
|
|
|
233
233
|
success: z.ZodBoolean;
|
|
234
234
|
error: z.ZodOptional<z.ZodString>;
|
|
235
235
|
status: z.ZodOptional<z.ZodEnum<{
|
|
236
|
+
unsupported: "unsupported";
|
|
236
237
|
validated: "validated";
|
|
237
238
|
rejected: "rejected";
|
|
238
239
|
inconclusive: "inconclusive";
|
|
239
|
-
unsupported: "unsupported";
|
|
240
240
|
}>>;
|
|
241
241
|
testedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
242
|
latencyMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -111,8 +111,8 @@ export declare const LlmRuntimeStatusSchema: z.ZodObject<{
|
|
|
111
111
|
nodeId: z.ZodString;
|
|
112
112
|
state: z.ZodEnum<{
|
|
113
113
|
failed: "failed";
|
|
114
|
-
stopped: "stopped";
|
|
115
114
|
ready: "ready";
|
|
115
|
+
stopped: "stopped";
|
|
116
116
|
starting: "starting";
|
|
117
117
|
crashed: "crashed";
|
|
118
118
|
downloading: "downloading";
|
|
@@ -503,8 +503,8 @@ export declare const llmRuntimeCapability: {
|
|
|
503
503
|
nodeId: z.ZodString;
|
|
504
504
|
state: z.ZodEnum<{
|
|
505
505
|
failed: "failed";
|
|
506
|
-
stopped: "stopped";
|
|
507
506
|
ready: "ready";
|
|
507
|
+
stopped: "stopped";
|
|
508
508
|
starting: "starting";
|
|
509
509
|
crashed: "crashed";
|
|
510
510
|
downloading: "downloading";
|
|
@@ -535,8 +535,8 @@ export declare const llmRuntimeCapability: {
|
|
|
535
535
|
nodeId: z.ZodString;
|
|
536
536
|
state: z.ZodEnum<{
|
|
537
537
|
failed: "failed";
|
|
538
|
-
stopped: "stopped";
|
|
539
538
|
ready: "ready";
|
|
539
|
+
stopped: "stopped";
|
|
540
540
|
starting: "starting";
|
|
541
541
|
crashed: "crashed";
|
|
542
542
|
downloading: "downloading";
|
|
@@ -237,8 +237,8 @@ export declare const LlmRuntimeNodeSchema: z.ZodObject<{
|
|
|
237
237
|
nodeId: z.ZodString;
|
|
238
238
|
state: z.ZodEnum<{
|
|
239
239
|
failed: "failed";
|
|
240
|
-
stopped: "stopped";
|
|
241
240
|
ready: "ready";
|
|
241
|
+
stopped: "stopped";
|
|
242
242
|
starting: "starting";
|
|
243
243
|
crashed: "crashed";
|
|
244
244
|
downloading: "downloading";
|
|
@@ -809,8 +809,8 @@ export declare const llmCapability: {
|
|
|
809
809
|
nodeId: z.ZodString;
|
|
810
810
|
state: z.ZodEnum<{
|
|
811
811
|
failed: "failed";
|
|
812
|
-
stopped: "stopped";
|
|
813
812
|
ready: "ready";
|
|
813
|
+
stopped: "stopped";
|
|
814
814
|
starting: "starting";
|
|
815
815
|
crashed: "crashed";
|
|
816
816
|
downloading: "downloading";
|
|
@@ -959,8 +959,8 @@ export declare const llmCapability: {
|
|
|
959
959
|
nodeId: z.ZodString;
|
|
960
960
|
state: z.ZodEnum<{
|
|
961
961
|
failed: "failed";
|
|
962
|
-
stopped: "stopped";
|
|
963
962
|
ready: "ready";
|
|
963
|
+
stopped: "stopped";
|
|
964
964
|
starting: "starting";
|
|
965
965
|
crashed: "crashed";
|
|
966
966
|
downloading: "downloading";
|
|
@@ -993,8 +993,8 @@ export declare const llmCapability: {
|
|
|
993
993
|
nodeId: z.ZodString;
|
|
994
994
|
state: z.ZodEnum<{
|
|
995
995
|
failed: "failed";
|
|
996
|
-
stopped: "stopped";
|
|
997
996
|
ready: "ready";
|
|
997
|
+
stopped: "stopped";
|
|
998
998
|
starting: "starting";
|
|
999
999
|
crashed: "crashed";
|
|
1000
1000
|
downloading: "downloading";
|
|
@@ -57,6 +57,12 @@ export declare const MotionOnMotionChangedDataSchema: z.ZodObject<{
|
|
|
57
57
|
pixelCount: z.ZodNumber;
|
|
58
58
|
intensity: z.ZodNumber;
|
|
59
59
|
}, z.core.$strip>>>>;
|
|
60
|
+
triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"camera">;
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
+
kind: z.ZodLiteral<"sensor">;
|
|
64
|
+
deviceId: z.ZodNumber;
|
|
65
|
+
}, z.core.$strip>], "kind">>;
|
|
60
66
|
}, z.core.$strip>;
|
|
61
67
|
export type MotionOnMotionChangedData = z.infer<typeof MotionOnMotionChangedDataSchema>;
|
|
62
68
|
export declare const motionCapability: {
|
|
@@ -122,6 +128,12 @@ export declare const motionCapability: {
|
|
|
122
128
|
pixelCount: z.ZodNumber;
|
|
123
129
|
intensity: z.ZodNumber;
|
|
124
130
|
}, z.core.$strip>>>>;
|
|
131
|
+
triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"camera">;
|
|
133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
134
|
+
kind: z.ZodLiteral<"sensor">;
|
|
135
|
+
deviceId: z.ZodNumber;
|
|
136
|
+
}, z.core.$strip>], "kind">>;
|
|
125
137
|
}, z.core.$strip>;
|
|
126
138
|
};
|
|
127
139
|
};
|
|
@@ -2294,11 +2294,11 @@ export declare const NcTemplateFieldSchema: z.ZodEnum<{
|
|
|
2294
2294
|
export type NcTemplateField = z.infer<typeof NcTemplateFieldSchema>;
|
|
2295
2295
|
export declare const NcTemplateVarGroupSchema: z.ZodEnum<{
|
|
2296
2296
|
sensor: "sensor";
|
|
2297
|
+
time: "time";
|
|
2297
2298
|
subject: "subject";
|
|
2298
2299
|
system: "system";
|
|
2299
2300
|
occupancy: "occupancy";
|
|
2300
2301
|
ai: "ai";
|
|
2301
|
-
time: "time";
|
|
2302
2302
|
sound: "sound";
|
|
2303
2303
|
rule: "rule";
|
|
2304
2304
|
place: "place";
|
|
@@ -2320,11 +2320,11 @@ export declare const NcTemplateVarDescriptorSchema: z.ZodObject<{
|
|
|
2320
2320
|
example: z.ZodString;
|
|
2321
2321
|
group: z.ZodEnum<{
|
|
2322
2322
|
sensor: "sensor";
|
|
2323
|
+
time: "time";
|
|
2323
2324
|
subject: "subject";
|
|
2324
2325
|
system: "system";
|
|
2325
2326
|
occupancy: "occupancy";
|
|
2326
2327
|
ai: "ai";
|
|
2327
|
-
time: "time";
|
|
2328
2328
|
sound: "sound";
|
|
2329
2329
|
rule: "rule";
|
|
2330
2330
|
place: "place";
|
|
@@ -3030,16 +3030,16 @@ export type NcAlarmSettingsPatch = z.infer<typeof NcAlarmSettingsPatchSchema>;
|
|
|
3030
3030
|
* with the switches the operator actually used.
|
|
3031
3031
|
*/
|
|
3032
3032
|
export declare const NcAlarmSkipReasonSchema: z.ZodEnum<{
|
|
3033
|
-
muted: "muted";
|
|
3034
3033
|
offline: "offline";
|
|
3034
|
+
muted: "muted";
|
|
3035
3035
|
"detection-off": "detection-off";
|
|
3036
3036
|
}>;
|
|
3037
3037
|
export type NcAlarmSkipReason = z.infer<typeof NcAlarmSkipReasonSchema>;
|
|
3038
3038
|
export declare const NcAlarmSkippedDeviceSchema: z.ZodObject<{
|
|
3039
3039
|
deviceId: z.ZodNumber;
|
|
3040
3040
|
reason: z.ZodEnum<{
|
|
3041
|
-
muted: "muted";
|
|
3042
3041
|
offline: "offline";
|
|
3042
|
+
muted: "muted";
|
|
3043
3043
|
"detection-off": "detection-off";
|
|
3044
3044
|
}>;
|
|
3045
3045
|
}, z.core.$strip>;
|
|
@@ -3059,8 +3059,8 @@ export declare const NcAlarmModeCoverageSchema: z.ZodObject<{
|
|
|
3059
3059
|
skippedDevices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3060
3060
|
deviceId: z.ZodNumber;
|
|
3061
3061
|
reason: z.ZodEnum<{
|
|
3062
|
-
muted: "muted";
|
|
3063
3062
|
offline: "offline";
|
|
3063
|
+
muted: "muted";
|
|
3064
3064
|
"detection-off": "detection-off";
|
|
3065
3065
|
}>;
|
|
3066
3066
|
}, z.core.$strip>>>;
|
|
@@ -3189,8 +3189,8 @@ export declare const NcAlarmConfigSchema: z.ZodObject<{
|
|
|
3189
3189
|
skippedDevices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3190
3190
|
deviceId: z.ZodNumber;
|
|
3191
3191
|
reason: z.ZodEnum<{
|
|
3192
|
-
muted: "muted";
|
|
3193
3192
|
offline: "offline";
|
|
3193
|
+
muted: "muted";
|
|
3194
3194
|
"detection-off": "detection-off";
|
|
3195
3195
|
}>;
|
|
3196
3196
|
}, z.core.$strip>>>;
|
|
@@ -5901,11 +5901,11 @@ export declare const notificationRulesCapability: {
|
|
|
5901
5901
|
example: z.ZodString;
|
|
5902
5902
|
group: z.ZodEnum<{
|
|
5903
5903
|
sensor: "sensor";
|
|
5904
|
+
time: "time";
|
|
5904
5905
|
subject: "subject";
|
|
5905
5906
|
system: "system";
|
|
5906
5907
|
occupancy: "occupancy";
|
|
5907
5908
|
ai: "ai";
|
|
5908
|
-
time: "time";
|
|
5909
5909
|
sound: "sound";
|
|
5910
5910
|
rule: "rule";
|
|
5911
5911
|
place: "place";
|
|
@@ -6354,8 +6354,8 @@ export declare const notificationRulesCapability: {
|
|
|
6354
6354
|
skippedDevices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6355
6355
|
deviceId: z.ZodNumber;
|
|
6356
6356
|
reason: z.ZodEnum<{
|
|
6357
|
-
muted: "muted";
|
|
6358
6357
|
offline: "offline";
|
|
6358
|
+
muted: "muted";
|
|
6359
6359
|
"detection-off": "detection-off";
|
|
6360
6360
|
}>;
|
|
6361
6361
|
}, z.core.$strip>>>;
|
|
@@ -6473,8 +6473,8 @@ export declare const notificationRulesCapability: {
|
|
|
6473
6473
|
skippedDevices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6474
6474
|
deviceId: z.ZodNumber;
|
|
6475
6475
|
reason: z.ZodEnum<{
|
|
6476
|
-
muted: "muted";
|
|
6477
6476
|
offline: "offline";
|
|
6477
|
+
muted: "muted";
|
|
6478
6478
|
"detection-off": "detection-off";
|
|
6479
6479
|
}>;
|
|
6480
6480
|
}, z.core.$strip>>>;
|
|
@@ -421,9 +421,9 @@ export type OsdSlotView = z.infer<typeof OsdSlotViewSchema>;
|
|
|
421
421
|
*/
|
|
422
422
|
export declare const OsdRenderOutcomeEnum: z.ZodEnum<{
|
|
423
423
|
failed: "failed";
|
|
424
|
-
unchanged: "unchanged";
|
|
425
|
-
unreadable: "unreadable";
|
|
426
424
|
disabled: "disabled";
|
|
425
|
+
unreadable: "unreadable";
|
|
426
|
+
unchanged: "unchanged";
|
|
427
427
|
written: "written";
|
|
428
428
|
gated: "gated";
|
|
429
429
|
unbound: "unbound";
|
|
@@ -433,9 +433,9 @@ export declare const OsdRenderResultSchema: z.ZodObject<{
|
|
|
433
433
|
slotId: z.ZodString;
|
|
434
434
|
outcome: z.ZodEnum<{
|
|
435
435
|
failed: "failed";
|
|
436
|
-
unchanged: "unchanged";
|
|
437
|
-
unreadable: "unreadable";
|
|
438
436
|
disabled: "disabled";
|
|
437
|
+
unreadable: "unreadable";
|
|
438
|
+
unchanged: "unchanged";
|
|
439
439
|
written: "written";
|
|
440
440
|
gated: "gated";
|
|
441
441
|
unbound: "unbound";
|
|
@@ -1133,9 +1133,9 @@ export declare const osdManagerCapability: {
|
|
|
1133
1133
|
slotId: z.ZodString;
|
|
1134
1134
|
outcome: z.ZodEnum<{
|
|
1135
1135
|
failed: "failed";
|
|
1136
|
-
unchanged: "unchanged";
|
|
1137
|
-
unreadable: "unreadable";
|
|
1138
1136
|
disabled: "disabled";
|
|
1137
|
+
unreadable: "unreadable";
|
|
1138
|
+
unchanged: "unchanged";
|
|
1139
1139
|
written: "written";
|
|
1140
1140
|
gated: "gated";
|
|
1141
1141
|
unbound: "unbound";
|
|
@@ -1348,9 +1348,9 @@ export declare const osdManagerCapability: {
|
|
|
1348
1348
|
slotId: z.ZodString;
|
|
1349
1349
|
outcome: z.ZodEnum<{
|
|
1350
1350
|
failed: "failed";
|
|
1351
|
-
unchanged: "unchanged";
|
|
1352
|
-
unreadable: "unreadable";
|
|
1353
1351
|
disabled: "disabled";
|
|
1352
|
+
unreadable: "unreadable";
|
|
1353
|
+
unchanged: "unchanged";
|
|
1354
1354
|
written: "written";
|
|
1355
1355
|
gated: "gated";
|
|
1356
1356
|
unbound: "unbound";
|
|
@@ -1366,9 +1366,9 @@ export declare const osdManagerCapability: {
|
|
|
1366
1366
|
slotId: z.ZodString;
|
|
1367
1367
|
outcome: z.ZodEnum<{
|
|
1368
1368
|
failed: "failed";
|
|
1369
|
-
unchanged: "unchanged";
|
|
1370
|
-
unreadable: "unreadable";
|
|
1371
1369
|
disabled: "disabled";
|
|
1370
|
+
unreadable: "unreadable";
|
|
1371
|
+
unchanged: "unchanged";
|
|
1372
1372
|
written: "written";
|
|
1373
1373
|
gated: "gated";
|
|
1374
1374
|
unbound: "unbound";
|
|
@@ -39,8 +39,8 @@ export declare const PET_FEEDER_MANUAL_FEED_MAX = 200;
|
|
|
39
39
|
* `on_batteries` (running on battery backup). `null` until first reported.
|
|
40
40
|
*/
|
|
41
41
|
export declare const PetFeederDeviceStatusSchema: z.ZodEnum<{
|
|
42
|
-
normal: "normal";
|
|
43
42
|
offline: "offline";
|
|
43
|
+
normal: "normal";
|
|
44
44
|
on_batteries: "on_batteries";
|
|
45
45
|
}>;
|
|
46
46
|
export type PetFeederDeviceStatus = z.infer<typeof PetFeederDeviceStatusSchema>;
|
|
@@ -53,8 +53,8 @@ export declare const PetFeederStatusSchema: z.ZodObject<{
|
|
|
53
53
|
desiccantLeftDays: z.ZodNullable<z.ZodNumber>;
|
|
54
54
|
feeding: z.ZodBoolean;
|
|
55
55
|
status: z.ZodNullable<z.ZodEnum<{
|
|
56
|
-
normal: "normal";
|
|
57
56
|
offline: "offline";
|
|
57
|
+
normal: "normal";
|
|
58
58
|
on_batteries: "on_batteries";
|
|
59
59
|
}>>;
|
|
60
60
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -139,8 +139,8 @@ export declare const petFeederCapability: {
|
|
|
139
139
|
desiccantLeftDays: z.ZodNullable<z.ZodNumber>;
|
|
140
140
|
feeding: z.ZodBoolean;
|
|
141
141
|
status: z.ZodNullable<z.ZodEnum<{
|
|
142
|
-
normal: "normal";
|
|
143
142
|
offline: "offline";
|
|
143
|
+
normal: "normal";
|
|
144
144
|
on_batteries: "on_batteries";
|
|
145
145
|
}>>;
|
|
146
146
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -168,8 +168,8 @@ export declare const petFeederCapability: {
|
|
|
168
168
|
desiccantLeftDays: z.ZodNullable<z.ZodNumber>;
|
|
169
169
|
feeding: z.ZodBoolean;
|
|
170
170
|
status: z.ZodNullable<z.ZodEnum<{
|
|
171
|
-
normal: "normal";
|
|
172
171
|
offline: "offline";
|
|
172
|
+
normal: "normal";
|
|
173
173
|
on_batteries: "on_batteries";
|
|
174
174
|
}>>;
|
|
175
175
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -86,8 +86,8 @@ export declare const EventKindCategorySchema: z.ZodEnum<{
|
|
|
86
86
|
export type EventKindCategory = z.infer<typeof EventKindCategorySchema>;
|
|
87
87
|
/** Taxonomy level — macro (timeline lane) vs sub (events-page leaf). */
|
|
88
88
|
export declare const EventKindLevelSchema: z.ZodEnum<{
|
|
89
|
-
macro: "macro";
|
|
90
89
|
sub: "sub";
|
|
90
|
+
macro: "macro";
|
|
91
91
|
}>;
|
|
92
92
|
export type EventKindLevel = z.infer<typeof EventKindLevelSchema>;
|
|
93
93
|
declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
@@ -121,8 +121,8 @@ declare const EventKindDescriptorSchema: z.ZodObject<{
|
|
|
121
121
|
}>;
|
|
122
122
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
123
123
|
level: z.ZodEnum<{
|
|
124
|
-
macro: "macro";
|
|
125
124
|
sub: "sub";
|
|
125
|
+
macro: "macro";
|
|
126
126
|
}>;
|
|
127
127
|
source: z.ZodObject<{
|
|
128
128
|
capName: z.ZodString;
|
|
@@ -164,8 +164,8 @@ declare const EventKindsForDeviceSchema: z.ZodObject<{
|
|
|
164
164
|
}>;
|
|
165
165
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
166
166
|
level: z.ZodEnum<{
|
|
167
|
-
macro: "macro";
|
|
168
167
|
sub: "sub";
|
|
168
|
+
macro: "macro";
|
|
169
169
|
}>;
|
|
170
170
|
source: z.ZodObject<{
|
|
171
171
|
capName: z.ZodString;
|
|
@@ -556,6 +556,12 @@ declare const MotionEventSchema: z.ZodObject<{
|
|
|
556
556
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
557
557
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
558
558
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
559
|
+
triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
560
|
+
kind: z.ZodLiteral<"camera">;
|
|
561
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
562
|
+
kind: z.ZodLiteral<"sensor">;
|
|
563
|
+
deviceId: z.ZodNumber;
|
|
564
|
+
}, z.core.$strip>], "kind">>;
|
|
559
565
|
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
560
566
|
edges: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
561
567
|
id: z.ZodNumber;
|
|
@@ -891,9 +897,9 @@ declare const MediaFileInfoSchema: z.ZodObject<{
|
|
|
891
897
|
sceneFrame: "sceneFrame";
|
|
892
898
|
lastSceneFrame: "lastSceneFrame";
|
|
893
899
|
}>;
|
|
900
|
+
url: z.ZodString;
|
|
894
901
|
mediaId: z.ZodNumber;
|
|
895
902
|
sizeBytes: z.ZodNumber;
|
|
896
|
-
url: z.ZodString;
|
|
897
903
|
}, z.core.$strip>;
|
|
898
904
|
export type MediaFileInfo = z.infer<typeof MediaFileInfoSchema>;
|
|
899
905
|
/**
|
|
@@ -1617,8 +1623,8 @@ export declare const EVENT_DENSITY_BATCH_MAX = 200;
|
|
|
1617
1623
|
export declare const EventDensityForDeviceSchema: z.ZodObject<{
|
|
1618
1624
|
deviceId: z.ZodNumber;
|
|
1619
1625
|
read: z.ZodEnum<{
|
|
1620
|
-
read: "read";
|
|
1621
1626
|
unreadable: "unreadable";
|
|
1627
|
+
read: "read";
|
|
1622
1628
|
}>;
|
|
1623
1629
|
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1624
1630
|
bucketStart: z.ZodNumber;
|
|
@@ -2547,6 +2553,12 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2547
2553
|
frameWidth: z.ZodOptional<z.ZodNumber>;
|
|
2548
2554
|
frameHeight: z.ZodOptional<z.ZodNumber>;
|
|
2549
2555
|
mediaUrl: z.ZodOptional<z.ZodString>;
|
|
2556
|
+
triggeredBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2557
|
+
kind: z.ZodLiteral<"camera">;
|
|
2558
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2559
|
+
kind: z.ZodLiteral<"sensor">;
|
|
2560
|
+
deviceId: z.ZodNumber;
|
|
2561
|
+
}, z.core.$strip>], "kind">>;
|
|
2550
2562
|
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2551
2563
|
edges: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
2552
2564
|
id: z.ZodNumber;
|
|
@@ -2701,8 +2713,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2701
2713
|
}>;
|
|
2702
2714
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
2703
2715
|
level: z.ZodEnum<{
|
|
2704
|
-
macro: "macro";
|
|
2705
2716
|
sub: "sub";
|
|
2717
|
+
macro: "macro";
|
|
2706
2718
|
}>;
|
|
2707
2719
|
source: z.ZodObject<{
|
|
2708
2720
|
capName: z.ZodString;
|
|
@@ -2762,8 +2774,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2762
2774
|
}>;
|
|
2763
2775
|
parentKind: z.ZodNullable<z.ZodString>;
|
|
2764
2776
|
level: z.ZodEnum<{
|
|
2765
|
-
macro: "macro";
|
|
2766
2777
|
sub: "sub";
|
|
2778
|
+
macro: "macro";
|
|
2767
2779
|
}>;
|
|
2768
2780
|
source: z.ZodObject<{
|
|
2769
2781
|
capName: z.ZodString;
|
|
@@ -2973,8 +2985,8 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2973
2985
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2974
2986
|
deviceId: z.ZodNumber;
|
|
2975
2987
|
read: z.ZodEnum<{
|
|
2976
|
-
read: "read";
|
|
2977
2988
|
unreadable: "unreadable";
|
|
2989
|
+
read: "read";
|
|
2978
2990
|
}>;
|
|
2979
2991
|
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2980
2992
|
bucketStart: z.ZodNumber;
|
|
@@ -4210,9 +4222,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4210
4222
|
sceneFrame: "sceneFrame";
|
|
4211
4223
|
lastSceneFrame: "lastSceneFrame";
|
|
4212
4224
|
}>;
|
|
4225
|
+
url: z.ZodString;
|
|
4213
4226
|
mediaId: z.ZodNumber;
|
|
4214
4227
|
sizeBytes: z.ZodNumber;
|
|
4215
|
-
url: z.ZodString;
|
|
4216
4228
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
4217
4229
|
/**
|
|
4218
4230
|
* What media an EVENT has, without any of it — the twin `getEventMedia`
|
|
@@ -4260,9 +4272,9 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4260
4272
|
sceneFrame: "sceneFrame";
|
|
4261
4273
|
lastSceneFrame: "lastSceneFrame";
|
|
4262
4274
|
}>;
|
|
4275
|
+
url: z.ZodString;
|
|
4263
4276
|
mediaId: z.ZodNumber;
|
|
4264
4277
|
sizeBytes: z.ZodNumber;
|
|
4265
|
-
url: z.ZodString;
|
|
4266
4278
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
4267
4279
|
/**
|
|
4268
4280
|
* Which of `ownerIds` hold at least ONE media row — an INDEX read, never a
|
|
@@ -456,9 +456,9 @@ declare const EngineProvisioningSchema: z.ZodObject<{
|
|
|
456
456
|
state: z.ZodEnum<{
|
|
457
457
|
failed: "failed";
|
|
458
458
|
verifying: "verifying";
|
|
459
|
+
ready: "ready";
|
|
459
460
|
idle: "idle";
|
|
460
461
|
installing: "installing";
|
|
461
|
-
ready: "ready";
|
|
462
462
|
}>;
|
|
463
463
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
464
464
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -598,9 +598,9 @@ export declare const pipelineExecutorCapability: {
|
|
|
598
598
|
state: z.ZodEnum<{
|
|
599
599
|
failed: "failed";
|
|
600
600
|
verifying: "verifying";
|
|
601
|
+
ready: "ready";
|
|
601
602
|
idle: "idle";
|
|
602
603
|
installing: "installing";
|
|
603
|
-
ready: "ready";
|
|
604
604
|
}>;
|
|
605
605
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
606
606
|
error: z.ZodOptional<z.ZodString>;
|