@camera.ui/browser 0.0.75 → 0.0.77

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.
Files changed (35) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/packages/client/browser/src/proxy/cameraDevice.d.ts +3 -1
  3. package/dist/types/packages/client/browser/src/types.d.ts +3 -1
  4. package/dist/types/server/src/api/controllers/frameWorkers.controller.d.ts +16 -0
  5. package/dist/types/server/src/api/database/types.d.ts +3 -2
  6. package/dist/types/server/src/api/routes/frameWorkers.routes.d.ts +2 -0
  7. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +74 -35
  8. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +99 -0
  9. package/dist/types/server/src/api/services/auth.service.d.ts +0 -1
  10. package/dist/types/server/src/api/services/plugins.service.d.ts +0 -1
  11. package/dist/types/server/src/api/services/users.service.d.ts +0 -1
  12. package/dist/types/server/src/api/types/index.d.ts +14 -1
  13. package/dist/types/server/src/api/websocket/nsp/frameWorker.d.ts +13 -0
  14. package/dist/types/server/src/api/websocket/nsp/metrics.d.ts +6 -1
  15. package/dist/types/server/src/api/websocket/nsp/status.d.ts +6 -0
  16. package/dist/types/server/src/api/websocket/types.d.ts +6 -2
  17. package/dist/types/server/src/camera/controller.d.ts +6 -3
  18. package/dist/types/server/src/camera/device.d.ts +11 -3
  19. package/dist/types/server/src/camera/index.d.ts +15 -7
  20. package/dist/types/server/src/camera/polygon.d.ts +2 -0
  21. package/dist/types/server/src/camera/types.d.ts +11 -6
  22. package/dist/types/server/src/camera/videoFrame.d.ts +14 -7
  23. package/dist/types/server/src/decoder/types.d.ts +26 -6
  24. package/dist/types/server/src/decoder/worker.d.ts +10 -2
  25. package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +2 -2
  26. package/dist/types/server/src/nats/types.d.ts +2 -2
  27. package/dist/types/server/src/plugins/types.d.ts +2 -0
  28. package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +20 -6
  29. package/dist/types/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +3 -3
  30. package/dist/types/server/src/polyglot/node/plugins/proxy/pluginsManager.d.ts +3 -3
  31. package/dist/types/server/src/polyglot/node/plugins/proxy/queue.d.ts +2 -0
  32. package/dist/types/server/src/polyglot/node/plugins/proxy/systemManager.d.ts +3 -3
  33. package/dist/types/server/src/services/config/types.d.ts +8 -0
  34. package/dist/types/shared/types/index.d.ts +1 -0
  35. package/package.json +7 -5
@@ -6,11 +6,13 @@ import type { CameraDevice } from '../types.js';
6
6
  export declare class CameraDeviceProxy extends BaseCameraDevice implements CameraDevice {
7
7
  private socketService;
8
8
  private socket;
9
- private started;
9
+ private _started;
10
+ get started(): boolean;
10
11
  get sources(): CameraSource[];
11
12
  constructor(camera: Camera, socketService: SocketService, logger: BaseLogger);
12
13
  start(): void;
13
14
  stop(): void;
15
+ close(): void;
14
16
  connect(): Promise<void>;
15
17
  disconnect(): Promise<void>;
16
18
  reboot(): Promise<void>;
@@ -2,7 +2,7 @@ import type { Observable, Subject } from 'rxjs';
2
2
  import type { BaseCameraDevice } from '../../../../server/src/camera/index.js';
3
3
  import type { BaseLogger } from '../../../../shared/types/index.js';
4
4
  import type { StreamingSession } from './streaming/streaming-session.js';
5
- export type { AudioSetEvent, AudioState, BaseLogger, BatterySetEvent, BatteryState, CameraActivitySettings, CameraSource, CameraZone, Detection, DetectionZone, DoorbellState, LightSetEvent, LightState, MotionSetEvent, MotionState, ObjectSetEvent, ObjectState, Point, PrebufferContainer, PrebufferState, SirenSetEvent, SirenState, ZoneFilter, ZoneType, } from '../../../../shared/types/index.js';
5
+ export type { AudioSetEvent, AudioState, BaseLogger, BatterySetEvent, BatteryState, CameraActivitySettings, CameraSource, CameraZone, Container, Detection, DetectionZone, DoorbellState, LightSetEvent, LightState, MotionSetEvent, MotionState, ObjectSetEvent, ObjectState, Point, PrebufferState, SirenSetEvent, SirenState, ZoneFilter, ZoneType, } from '../../../../shared/types/index.js';
6
6
  export type { BasicPeerConnection } from './streaming/peer-connection.js';
7
7
  export type { StreamingSession } from './streaming/streaming-session.js';
8
8
  export type { WebrtcConnection } from './streaming/webrtc-connection.js';
@@ -21,8 +21,10 @@ export interface BasicBrowserPeerConnection {
21
21
  close(): void;
22
22
  }
23
23
  export interface CameraDevice extends BaseCameraDevice {
24
+ readonly started: boolean;
24
25
  start(): void;
25
26
  stop(): void;
27
+ close(): void;
26
28
  snapshot(forceNew?: boolean): Promise<ArrayBuffer>;
27
29
  createSession(sourceName: string, videoElement: HTMLVideoElement): Promise<StreamingSession>;
28
30
  }
@@ -0,0 +1,16 @@
1
+ import type { FastifyInstance, FastifyReply, FastifyRequest } from 'fastify';
2
+ import type { AuthLoginRequest, FrameWorker, FrameWorkerParamsNameRequest, PaginationRequest } from '../types/index.js';
3
+ export interface PluginInfo {
4
+ pluginName: string;
5
+ id?: string;
6
+ version?: string;
7
+ }
8
+ export declare class FrameWorkersController {
9
+ private app;
10
+ private frameManager;
11
+ constructor(app: FastifyInstance);
12
+ list(req: FastifyRequest<AuthLoginRequest & PaginationRequest>, reply: FastifyReply): FastifyReply | FrameWorker[];
13
+ restartByName(req: FastifyRequest<AuthLoginRequest & FrameWorkerParamsNameRequest>, reply: FastifyReply): Promise<FastifyReply>;
14
+ startByName(req: FastifyRequest<AuthLoginRequest & FrameWorkerParamsNameRequest>, reply: FastifyReply): Promise<FastifyReply>;
15
+ stopByName(req: FastifyRequest<AuthLoginRequest & FrameWorkerParamsNameRequest>, reply: FastifyReply): Promise<FastifyReply>;
16
+ }
@@ -1,4 +1,4 @@
1
- import type { DetectionZone } from '../../camera/types.js';
1
+ import type { DetectionZone, ObjectClasses } from '../../camera/types.js';
2
2
  import type { ClientData, JwtTokenEncoded } from '../types/index.js';
3
3
  export interface DBAuth {
4
4
  tokens: JwtTokenEncoded[];
@@ -86,6 +86,7 @@ export interface MotionDetectionSettings {
86
86
  timeout: number;
87
87
  }
88
88
  export interface ObjectDetectionSettings {
89
+ confidence: number;
89
90
  }
90
91
  export type Point = [number, number];
91
92
  export type ZoneType = 'intersect' | 'contain';
@@ -99,7 +100,7 @@ export interface ZoneRegion {
99
100
  coords: ZoneCoord[];
100
101
  type: ZoneType;
101
102
  filter: ZoneFilter;
102
- classes: string[];
103
+ classes: ObjectClasses[];
103
104
  isPrivacyMask: boolean;
104
105
  }
105
106
  export interface ZoneCoord {
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const FrameWorkersRoute: FastifyPluginAsync;
@@ -16,6 +16,7 @@ export declare const coordsSchema: zod.ZodObject<{
16
16
  points: [number, number];
17
17
  _id?: string | undefined;
18
18
  }>;
19
+ export declare const objectClassesSchema: zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>;
19
20
  export declare const regionsSchema: zod.ZodObject<{
20
21
  _id: zod.ZodDefault<zod.ZodString>;
21
22
  coords: zod.ZodArray<zod.ZodObject<{
@@ -30,7 +31,7 @@ export declare const regionsSchema: zod.ZodObject<{
30
31
  }>, "many">;
31
32
  type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
32
33
  filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
33
- classes: zod.ZodArray<zod.ZodString, "many">;
34
+ classes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>, "many">;
34
35
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
35
36
  }, "strict", zod.ZodTypeAny, {
36
37
  _id: string;
@@ -40,14 +41,14 @@ export declare const regionsSchema: zod.ZodObject<{
40
41
  _id: string;
41
42
  points: [number, number];
42
43
  }[];
43
- classes: string[];
44
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
44
45
  isPrivacyMask: boolean;
45
46
  }, {
46
47
  coords: {
47
48
  points: [number, number];
48
49
  _id?: string | undefined;
49
50
  }[];
50
- classes: string[];
51
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
51
52
  _id?: string | undefined;
52
53
  filter?: "include" | "exclude" | undefined;
53
54
  type?: "intersect" | "contain" | undefined;
@@ -69,7 +70,7 @@ export declare const cameraZonesSchema: zod.ZodObject<{
69
70
  }>, "many">;
70
71
  type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
71
72
  filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
72
- classes: zod.ZodArray<zod.ZodString, "many">;
73
+ classes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>, "many">;
73
74
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
74
75
  }, "strict", zod.ZodTypeAny, {
75
76
  _id: string;
@@ -79,14 +80,14 @@ export declare const cameraZonesSchema: zod.ZodObject<{
79
80
  _id: string;
80
81
  points: [number, number];
81
82
  }[];
82
- classes: string[];
83
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
83
84
  isPrivacyMask: boolean;
84
85
  }, {
85
86
  coords: {
86
87
  points: [number, number];
87
88
  _id?: string | undefined;
88
89
  }[];
89
- classes: string[];
90
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
90
91
  _id?: string | undefined;
91
92
  filter?: "include" | "exclude" | undefined;
92
93
  type?: "intersect" | "contain" | undefined;
@@ -102,7 +103,7 @@ export declare const cameraZonesSchema: zod.ZodObject<{
102
103
  _id: string;
103
104
  points: [number, number];
104
105
  }[];
105
- classes: string[];
106
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
106
107
  isPrivacyMask: boolean;
107
108
  }[];
108
109
  }, {
@@ -112,7 +113,7 @@ export declare const cameraZonesSchema: zod.ZodObject<{
112
113
  points: [number, number];
113
114
  _id?: string | undefined;
114
115
  }[];
115
- classes: string[];
116
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
116
117
  _id?: string | undefined;
117
118
  filter?: "include" | "exclude" | undefined;
118
119
  type?: "intersect" | "contain" | undefined;
@@ -127,14 +128,24 @@ export declare const activitySettingsSchema: zod.ZodObject<{
127
128
  }, {
128
129
  timeout: number;
129
130
  }>;
130
- object: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
131
+ object: zod.ZodObject<{
132
+ confidence: zod.ZodNumber;
133
+ }, "strip", zod.ZodTypeAny, {
134
+ confidence: number;
135
+ }, {
136
+ confidence: number;
137
+ }>;
131
138
  }, "strip", zod.ZodTypeAny, {
132
- object: {};
139
+ object: {
140
+ confidence: number;
141
+ };
133
142
  motion: {
134
143
  timeout: number;
135
144
  };
136
145
  }, {
137
- object: {};
146
+ object: {
147
+ confidence: number;
148
+ };
138
149
  motion: {
139
150
  timeout: number;
140
151
  };
@@ -333,7 +344,7 @@ export declare const createCameraSchema: zod.ZodObject<{
333
344
  }>, "many">;
334
345
  type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
335
346
  filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
336
- classes: zod.ZodArray<zod.ZodString, "many">;
347
+ classes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>, "many">;
337
348
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
338
349
  }, "strict", zod.ZodTypeAny, {
339
350
  _id: string;
@@ -343,14 +354,14 @@ export declare const createCameraSchema: zod.ZodObject<{
343
354
  _id: string;
344
355
  points: [number, number];
345
356
  }[];
346
- classes: string[];
357
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
347
358
  isPrivacyMask: boolean;
348
359
  }, {
349
360
  coords: {
350
361
  points: [number, number];
351
362
  _id?: string | undefined;
352
363
  }[];
353
- classes: string[];
364
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
354
365
  _id?: string | undefined;
355
366
  filter?: "include" | "exclude" | undefined;
356
367
  type?: "intersect" | "contain" | undefined;
@@ -366,7 +377,7 @@ export declare const createCameraSchema: zod.ZodObject<{
366
377
  _id: string;
367
378
  points: [number, number];
368
379
  }[];
369
- classes: string[];
380
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
370
381
  isPrivacyMask: boolean;
371
382
  }[];
372
383
  }, {
@@ -376,7 +387,7 @@ export declare const createCameraSchema: zod.ZodObject<{
376
387
  points: [number, number];
377
388
  _id?: string | undefined;
378
389
  }[];
379
- classes: string[];
390
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
380
391
  _id?: string | undefined;
381
392
  filter?: "include" | "exclude" | undefined;
382
393
  type?: "intersect" | "contain" | undefined;
@@ -391,14 +402,24 @@ export declare const createCameraSchema: zod.ZodObject<{
391
402
  }, {
392
403
  timeout: number;
393
404
  }>;
394
- object: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
405
+ object: zod.ZodObject<{
406
+ confidence: zod.ZodNumber;
407
+ }, "strip", zod.ZodTypeAny, {
408
+ confidence: number;
409
+ }, {
410
+ confidence: number;
411
+ }>;
395
412
  }, "strip", zod.ZodTypeAny, {
396
- object: {};
413
+ object: {
414
+ confidence: number;
415
+ };
397
416
  motion: {
398
417
  timeout: number;
399
418
  };
400
419
  }, {
401
- object: {};
420
+ object: {
421
+ confidence: number;
422
+ };
402
423
  motion: {
403
424
  timeout: number;
404
425
  };
@@ -453,12 +474,14 @@ export declare const createCameraSchema: zod.ZodObject<{
453
474
  _id: string;
454
475
  points: [number, number];
455
476
  }[];
456
- classes: string[];
477
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
457
478
  isPrivacyMask: boolean;
458
479
  }[];
459
480
  }[];
460
481
  activitySettings: {
461
- object: {};
482
+ object: {
483
+ confidence: number;
484
+ };
462
485
  motion: {
463
486
  timeout: number;
464
487
  };
@@ -512,7 +535,7 @@ export declare const createCameraSchema: zod.ZodObject<{
512
535
  points: [number, number];
513
536
  _id?: string | undefined;
514
537
  }[];
515
- classes: string[];
538
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
516
539
  _id?: string | undefined;
517
540
  filter?: "include" | "exclude" | undefined;
518
541
  type?: "intersect" | "contain" | undefined;
@@ -520,7 +543,9 @@ export declare const createCameraSchema: zod.ZodObject<{
520
543
  }[];
521
544
  }[] | undefined;
522
545
  activitySettings?: {
523
- object: {};
546
+ object: {
547
+ confidence: number;
548
+ };
524
549
  motion: {
525
550
  timeout: number;
526
551
  };
@@ -623,7 +648,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
623
648
  }>, "many">;
624
649
  type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
625
650
  filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
626
- classes: zod.ZodArray<zod.ZodString, "many">;
651
+ classes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>, "many">;
627
652
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
628
653
  }, "strict", zod.ZodTypeAny, {
629
654
  _id: string;
@@ -633,14 +658,14 @@ export declare const patchCameraSchema: zod.ZodObject<{
633
658
  _id: string;
634
659
  points: [number, number];
635
660
  }[];
636
- classes: string[];
661
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
637
662
  isPrivacyMask: boolean;
638
663
  }, {
639
664
  coords: {
640
665
  points: [number, number];
641
666
  _id?: string | undefined;
642
667
  }[];
643
- classes: string[];
668
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
644
669
  _id?: string | undefined;
645
670
  filter?: "include" | "exclude" | undefined;
646
671
  type?: "intersect" | "contain" | undefined;
@@ -656,7 +681,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
656
681
  _id: string;
657
682
  points: [number, number];
658
683
  }[];
659
- classes: string[];
684
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
660
685
  isPrivacyMask: boolean;
661
686
  }[];
662
687
  }, {
@@ -666,7 +691,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
666
691
  points: [number, number];
667
692
  _id?: string | undefined;
668
693
  }[];
669
- classes: string[];
694
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
670
695
  _id?: string | undefined;
671
696
  filter?: "include" | "exclude" | undefined;
672
697
  type?: "intersect" | "contain" | undefined;
@@ -681,14 +706,24 @@ export declare const patchCameraSchema: zod.ZodObject<{
681
706
  }, {
682
707
  timeout: number;
683
708
  }>>;
684
- object: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>;
709
+ object: zod.ZodOptional<zod.ZodObject<{
710
+ confidence: zod.ZodNumber;
711
+ }, "strip", zod.ZodTypeAny, {
712
+ confidence: number;
713
+ }, {
714
+ confidence: number;
715
+ }>>;
685
716
  }, "strip", zod.ZodTypeAny, {
686
- object?: {} | undefined;
717
+ object?: {
718
+ confidence: number;
719
+ } | undefined;
687
720
  motion?: {
688
721
  timeout: number;
689
722
  } | undefined;
690
723
  }, {
691
- object?: {} | undefined;
724
+ object?: {
725
+ confidence: number;
726
+ } | undefined;
692
727
  motion?: {
693
728
  timeout: number;
694
729
  } | undefined;
@@ -736,12 +771,14 @@ export declare const patchCameraSchema: zod.ZodObject<{
736
771
  _id: string;
737
772
  points: [number, number];
738
773
  }[];
739
- classes: string[];
774
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
740
775
  isPrivacyMask: boolean;
741
776
  }[];
742
777
  }[] | undefined;
743
778
  activitySettings?: {
744
- object?: {} | undefined;
779
+ object?: {
780
+ confidence: number;
781
+ } | undefined;
745
782
  motion?: {
746
783
  timeout: number;
747
784
  } | undefined;
@@ -786,7 +823,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
786
823
  points: [number, number];
787
824
  _id?: string | undefined;
788
825
  }[];
789
- classes: string[];
826
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
790
827
  _id?: string | undefined;
791
828
  filter?: "include" | "exclude" | undefined;
792
829
  type?: "intersect" | "contain" | undefined;
@@ -794,7 +831,9 @@ export declare const patchCameraSchema: zod.ZodObject<{
794
831
  }[];
795
832
  }[] | undefined;
796
833
  activitySettings?: {
797
- object?: {} | undefined;
834
+ object?: {
835
+ confidence: number;
836
+ } | undefined;
798
837
  motion?: {
799
838
  timeout: number;
800
839
  } | undefined;
@@ -132,6 +132,25 @@ export declare const ngrokSchema: zod.ZodObject<{
132
132
  }, {
133
133
  command: string;
134
134
  }>;
135
+ export declare const filterSchema: zod.ZodObject<{
136
+ candidates: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
137
+ networks: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
138
+ interfaces: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
139
+ ips: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
140
+ udp_ports: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
141
+ }, "strict", zod.ZodTypeAny, {
142
+ candidates: string[];
143
+ networks: string[];
144
+ interfaces: string[];
145
+ ips: string[];
146
+ udp_ports: string[];
147
+ }, {
148
+ candidates?: string[] | undefined;
149
+ networks?: string[] | undefined;
150
+ interfaces?: string[] | undefined;
151
+ ips?: string[] | undefined;
152
+ udp_ports?: string[] | undefined;
153
+ }>;
135
154
  export declare const iceServerSchema: zod.ZodObject<{
136
155
  urls: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
137
156
  username: zod.ZodOptional<zod.ZodString>;
@@ -161,6 +180,25 @@ export declare const webrtcSchema: zod.ZodObject<{
161
180
  username?: string | undefined;
162
181
  credential?: string | undefined;
163
182
  }>, "many">;
183
+ filters: zod.ZodOptional<zod.ZodObject<{
184
+ candidates: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
185
+ networks: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
186
+ interfaces: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
187
+ ips: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
188
+ udp_ports: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
189
+ }, "strict", zod.ZodTypeAny, {
190
+ candidates: string[];
191
+ networks: string[];
192
+ interfaces: string[];
193
+ ips: string[];
194
+ udp_ports: string[];
195
+ }, {
196
+ candidates?: string[] | undefined;
197
+ networks?: string[] | undefined;
198
+ interfaces?: string[] | undefined;
199
+ ips?: string[] | undefined;
200
+ udp_ports?: string[] | undefined;
201
+ }>>;
164
202
  }, "strict", zod.ZodTypeAny, {
165
203
  listen: string;
166
204
  candidates: string[];
@@ -169,6 +207,13 @@ export declare const webrtcSchema: zod.ZodObject<{
169
207
  username?: string | undefined;
170
208
  credential?: string | undefined;
171
209
  }[];
210
+ filters?: {
211
+ candidates: string[];
212
+ networks: string[];
213
+ interfaces: string[];
214
+ ips: string[];
215
+ udp_ports: string[];
216
+ } | undefined;
172
217
  }, {
173
218
  ice_servers: {
174
219
  urls?: string[] | undefined;
@@ -177,6 +222,13 @@ export declare const webrtcSchema: zod.ZodObject<{
177
222
  }[];
178
223
  listen?: string | undefined;
179
224
  candidates?: string[] | undefined;
225
+ filters?: {
226
+ candidates?: string[] | undefined;
227
+ networks?: string[] | undefined;
228
+ interfaces?: string[] | undefined;
229
+ ips?: string[] | undefined;
230
+ udp_ports?: string[] | undefined;
231
+ } | undefined;
180
232
  }>;
181
233
  export declare const homeKitSettingsSchema: zod.ZodObject<{
182
234
  pin: zod.ZodNumber;
@@ -364,6 +416,25 @@ export declare const patchGo2RtcSchema: zod.ZodObject<{
364
416
  username?: string | undefined;
365
417
  credential?: string | undefined;
366
418
  }>, "many">;
419
+ filters: zod.ZodOptional<zod.ZodObject<{
420
+ candidates: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
421
+ networks: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
422
+ interfaces: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
423
+ ips: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
424
+ udp_ports: zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>;
425
+ }, "strict", zod.ZodTypeAny, {
426
+ candidates: string[];
427
+ networks: string[];
428
+ interfaces: string[];
429
+ ips: string[];
430
+ udp_ports: string[];
431
+ }, {
432
+ candidates?: string[] | undefined;
433
+ networks?: string[] | undefined;
434
+ interfaces?: string[] | undefined;
435
+ ips?: string[] | undefined;
436
+ udp_ports?: string[] | undefined;
437
+ }>>;
367
438
  }, "strict", zod.ZodTypeAny, {
368
439
  listen: string;
369
440
  candidates: string[];
@@ -372,6 +443,13 @@ export declare const patchGo2RtcSchema: zod.ZodObject<{
372
443
  username?: string | undefined;
373
444
  credential?: string | undefined;
374
445
  }[];
446
+ filters?: {
447
+ candidates: string[];
448
+ networks: string[];
449
+ interfaces: string[];
450
+ ips: string[];
451
+ udp_ports: string[];
452
+ } | undefined;
375
453
  }, {
376
454
  ice_servers: {
377
455
  urls?: string[] | undefined;
@@ -380,6 +458,13 @@ export declare const patchGo2RtcSchema: zod.ZodObject<{
380
458
  }[];
381
459
  listen?: string | undefined;
382
460
  candidates?: string[] | undefined;
461
+ filters?: {
462
+ candidates?: string[] | undefined;
463
+ networks?: string[] | undefined;
464
+ interfaces?: string[] | undefined;
465
+ ips?: string[] | undefined;
466
+ udp_ports?: string[] | undefined;
467
+ } | undefined;
383
468
  }>>;
384
469
  ffmpeg: zod.ZodDefault<zod.ZodIntersection<zod.ZodRecord<zod.ZodString, zod.ZodString>, zod.ZodObject<{
385
470
  bin: zod.ZodDefault<zod.ZodString>;
@@ -471,6 +556,13 @@ export declare const patchGo2RtcSchema: zod.ZodObject<{
471
556
  username?: string | undefined;
472
557
  credential?: string | undefined;
473
558
  }[];
559
+ filters?: {
560
+ candidates: string[];
561
+ networks: string[];
562
+ interfaces: string[];
563
+ ips: string[];
564
+ udp_ports: string[];
565
+ } | undefined;
474
566
  };
475
567
  api: {
476
568
  password: string;
@@ -543,6 +635,13 @@ export declare const patchGo2RtcSchema: zod.ZodObject<{
543
635
  }[];
544
636
  listen?: string | undefined;
545
637
  candidates?: string[] | undefined;
638
+ filters?: {
639
+ candidates?: string[] | undefined;
640
+ networks?: string[] | undefined;
641
+ interfaces?: string[] | undefined;
642
+ ips?: string[] | undefined;
643
+ udp_ports?: string[] | undefined;
644
+ } | undefined;
546
645
  } | undefined;
547
646
  api?: {
548
647
  password?: string | undefined;