@camstack/sdk 0.1.26 → 0.1.27
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/package.json +1 -1
- package/dist/sdk/src/adaptive-stream.d.ts +0 -91
- package/dist/sdk/src/backend-client.d.ts +0 -315
- package/dist/sdk/src/backend-router.d.ts +0 -5
- package/dist/sdk/src/camera.d.ts +0 -37
- package/dist/sdk/src/detection.d.ts +0 -58
- package/dist/sdk/src/devices.d.ts +0 -147
- package/dist/sdk/src/features.d.ts +0 -31
- package/dist/sdk/src/index.d.ts +0 -15
- package/dist/sdk/src/nvr.d.ts +0 -285
- package/dist/sdk/src/timeline.d.ts +0 -177
- package/dist/sdk/src/types.d.ts +0 -44
- package/dist/types/src/catalogs/coco-classmap.d.ts +0 -4
- package/dist/types/src/constants.d.ts +0 -2
- package/dist/types/src/generated/addon-api.d.ts +0 -4947
- package/dist/types/src/index.d.ts +0 -81
- package/dist/types/src/interfaces/addon-i18n.d.ts +0 -40
- package/dist/types/src/interfaces/addon-routes.d.ts +0 -49
- package/dist/types/src/interfaces/addon.d.ts +0 -293
- package/dist/types/src/interfaces/advanced-notifier.d.ts +0 -58
- package/dist/types/src/interfaces/agent-protocol.d.ts +0 -188
- package/dist/types/src/interfaces/agent.d.ts +0 -86
- package/dist/types/src/interfaces/analysis-persistence.d.ts +0 -277
- package/dist/types/src/interfaces/analysis.d.ts +0 -26
- package/dist/types/src/interfaces/api-shared.d.ts +0 -175
- package/dist/types/src/interfaces/auth-provider.d.ts +0 -38
- package/dist/types/src/interfaces/auth.d.ts +0 -46
- package/dist/types/src/interfaces/camera-pipeline.d.ts +0 -120
- package/dist/types/src/interfaces/capability.d.ts +0 -83
- package/dist/types/src/interfaces/classifier.d.ts +0 -7
- package/dist/types/src/interfaces/config-ui.d.ts +0 -151
- package/dist/types/src/interfaces/context.d.ts +0 -43
- package/dist/types/src/interfaces/cropper.d.ts +0 -7
- package/dist/types/src/interfaces/decoder.d.ts +0 -26
- package/dist/types/src/interfaces/detection-addon.d.ts +0 -14
- package/dist/types/src/interfaces/detector.d.ts +0 -7
- package/dist/types/src/interfaces/device-capabilities/accessory.d.ts +0 -13
- package/dist/types/src/interfaces/device-capabilities/audio-detector.d.ts +0 -11
- package/dist/types/src/interfaces/device-capabilities/camera.d.ts +0 -21
- package/dist/types/src/interfaces/device-capabilities/doorbell.d.ts +0 -9
- package/dist/types/src/interfaces/device-capabilities/events.d.ts +0 -46
- package/dist/types/src/interfaces/device-capabilities/index.d.ts +0 -14
- package/dist/types/src/interfaces/device-capabilities/motion-sensor.d.ts +0 -6
- package/dist/types/src/interfaces/device-capabilities/native-detection.d.ts +0 -13
- package/dist/types/src/interfaces/device-capabilities/object-detector.d.ts +0 -58
- package/dist/types/src/interfaces/device-capabilities/pan-tilt-zoom.d.ts +0 -28
- package/dist/types/src/interfaces/device-capabilities/recording.d.ts +0 -17
- package/dist/types/src/interfaces/device-capabilities/siren.d.ts +0 -7
- package/dist/types/src/interfaces/device-capabilities/status-light.d.ts +0 -6
- package/dist/types/src/interfaces/device-capabilities/switch.d.ts +0 -7
- package/dist/types/src/interfaces/device-capabilities/two-way-audio.d.ts +0 -7
- package/dist/types/src/interfaces/device-capability.d.ts +0 -13
- package/dist/types/src/interfaces/device-provider.d.ts +0 -42
- package/dist/types/src/interfaces/device.d.ts +0 -39
- package/dist/types/src/interfaces/event-bus.d.ts +0 -21
- package/dist/types/src/interfaces/feature-flags.d.ts +0 -13
- package/dist/types/src/interfaces/ffmpeg.d.ts +0 -9
- package/dist/types/src/interfaces/inference-capabilities.d.ts +0 -100
- package/dist/types/src/interfaces/inference-engine.d.ts +0 -16
- package/dist/types/src/interfaces/lifecycle.d.ts +0 -18
- package/dist/types/src/interfaces/logging.d.ts +0 -32
- package/dist/types/src/interfaces/model-catalog.d.ts +0 -24
- package/dist/types/src/interfaces/network-quality.d.ts +0 -24
- package/dist/types/src/interfaces/network.d.ts +0 -42
- package/dist/types/src/interfaces/notification.d.ts +0 -52
- package/dist/types/src/interfaces/pipeline-runner.d.ts +0 -22
- package/dist/types/src/interfaces/pipeline-slot.d.ts +0 -9
- package/dist/types/src/interfaces/platform.d.ts +0 -54
- package/dist/types/src/interfaces/process.d.ts +0 -40
- package/dist/types/src/interfaces/python-env.d.ts +0 -19
- package/dist/types/src/interfaces/refiner.d.ts +0 -7
- package/dist/types/src/interfaces/repl.d.ts +0 -25
- package/dist/types/src/interfaces/repositories.d.ts +0 -19
- package/dist/types/src/interfaces/restreamer.d.ts +0 -23
- package/dist/types/src/interfaces/router.d.ts +0 -29
- package/dist/types/src/interfaces/scene-intelligence.d.ts +0 -20
- package/dist/types/src/interfaces/scoped-token.d.ts +0 -21
- package/dist/types/src/interfaces/server-analysis.d.ts +0 -145
- package/dist/types/src/interfaces/server-network.d.ts +0 -77
- package/dist/types/src/interfaces/storage-backend.d.ts +0 -26
- package/dist/types/src/interfaces/storage.d.ts +0 -173
- package/dist/types/src/interfaces/stream-broker.d.ts +0 -91
- package/dist/types/src/interfaces/streaming.d.ts +0 -28
- package/dist/types/src/interfaces/task-handler.d.ts +0 -45
- package/dist/types/src/interfaces/webrtc-provider.d.ts +0 -10
- package/dist/types/src/interfaces/worker-protocol.d.ts +0 -109
- package/dist/types/src/schemas/system-settings-schemas.d.ts +0 -26
- package/dist/types/src/types/analytics.d.ts +0 -74
- package/dist/types/src/types/benchmark.d.ts +0 -111
- package/dist/types/src/types/camera-detection.d.ts +0 -33
- package/dist/types/src/types/config.d.ts +0 -36
- package/dist/types/src/types/detection.d.ts +0 -92
- package/dist/types/src/types/device-type.d.ts +0 -9
- package/dist/types/src/types/entities.d.ts +0 -34
- package/dist/types/src/types/events.d.ts +0 -34
- package/dist/types/src/types/io.d.ts +0 -24
- package/dist/types/src/types/labels.d.ts +0 -11
- package/dist/types/src/types/live-state.d.ts +0 -46
- package/dist/types/src/types/models.d.ts +0 -78
- package/dist/types/src/types/pipeline-schema.d.ts +0 -77
- package/dist/types/src/types/pipeline.d.ts +0 -41
- package/dist/types/src/types/tracked.d.ts +0 -20
- package/dist/types/src/types/zones.d.ts +0 -47
- package/dist/types/src/utils/cosine-similarity.d.ts +0 -2
- package/dist/types/src/utils/hf-url.d.ts +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/** Zone purpose per pipeline stage */
|
|
2
|
-
export type ZoneMode = 'include' | 'exclude' | 'monitor';
|
|
3
|
-
/** Motion event source for a camera */
|
|
4
|
-
export type MotionSource = 'sensor' | 'stream' | 'smart';
|
|
5
|
-
/** A polygon zone with independent motion/detection behavior */
|
|
6
|
-
export interface CameraZone {
|
|
7
|
-
readonly id: string;
|
|
8
|
-
readonly name: string;
|
|
9
|
-
/** Polygon vertices as fraction of frame (0–1) */
|
|
10
|
-
readonly polygon: readonly {
|
|
11
|
-
readonly x: number;
|
|
12
|
-
readonly y: number;
|
|
13
|
-
}[];
|
|
14
|
-
/** Zone purpose for motion detection stage */
|
|
15
|
-
readonly motionMode: ZoneMode;
|
|
16
|
-
/** Zone purpose for pipeline detection stage */
|
|
17
|
-
readonly detectionMode: ZoneMode;
|
|
18
|
-
/** Minimum overlap fraction (0–1) for bbox/mask to count as "in zone" */
|
|
19
|
-
readonly overlapThreshold: number;
|
|
20
|
-
/** Use segmentation mask for overlap when available (vs bbox only) */
|
|
21
|
-
readonly preferMask: boolean;
|
|
22
|
-
/** Only apply to these detection classes (empty/undefined = all) */
|
|
23
|
-
readonly classFilter?: readonly string[];
|
|
24
|
-
/** Seconds of no movement before emitting stationary alert for this zone */
|
|
25
|
-
readonly stationaryAlertSeconds?: number;
|
|
26
|
-
/** Visual color for UI rendering */
|
|
27
|
-
readonly color: string;
|
|
28
|
-
}
|
|
29
|
-
/** Per-camera zone configuration */
|
|
30
|
-
export interface CameraZoneConfig {
|
|
31
|
-
readonly deviceId: string;
|
|
32
|
-
readonly zones: readonly CameraZone[];
|
|
33
|
-
/** Auto-generate rectangular border exclusion zone */
|
|
34
|
-
readonly autoBorderExclude: {
|
|
35
|
-
readonly enabled: boolean;
|
|
36
|
-
/** Fraction of frame edge to exclude (0–0.2 typical) */
|
|
37
|
-
readonly percent: number;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
/** Zone membership annotation on a detection */
|
|
41
|
-
export interface DetectionZoneMembership {
|
|
42
|
-
readonly zoneId: string;
|
|
43
|
-
readonly zoneName: string;
|
|
44
|
-
/** Overlap fraction 0–1 */
|
|
45
|
-
readonly overlap: number;
|
|
46
|
-
readonly mode: ZoneMode;
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function hfModelUrl(repo: string, path: string): string;
|