@camera.ui/browser 0.0.74 → 0.0.76

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 (49) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/packages/client/browser/src/types.d.ts +1 -1
  3. package/dist/types/server/src/api/controllers/cameras.controller.d.ts +5 -5
  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 +23 -5
  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 +231 -158
  8. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +105 -6
  9. package/dist/types/server/src/api/schemas/users.schema.d.ts +2 -2
  10. package/dist/types/server/src/api/services/auth.service.d.ts +0 -1
  11. package/dist/types/server/src/api/services/cameras.service.d.ts +4 -3
  12. package/dist/types/server/src/api/services/plugins.service.d.ts +0 -1
  13. package/dist/types/server/src/api/services/users.service.d.ts +0 -1
  14. package/dist/types/server/src/api/types/index.d.ts +14 -6
  15. package/dist/types/server/src/api/websocket/nsp/frameWorker.d.ts +13 -0
  16. package/dist/types/server/src/api/websocket/nsp/metrics.d.ts +6 -1
  17. package/dist/types/server/src/api/websocket/nsp/status.d.ts +6 -0
  18. package/dist/types/server/src/api/websocket/types.d.ts +6 -2
  19. package/dist/types/server/src/api.d.ts +1 -1
  20. package/dist/types/server/src/camera/{controller/index.d.ts → controller.d.ts} +10 -7
  21. package/dist/types/server/src/camera/{cameraDevice.d.ts → device.d.ts} +11 -3
  22. package/dist/types/server/src/camera/index.d.ts +21 -15
  23. package/dist/types/server/src/camera/polygon.d.ts +3 -0
  24. package/dist/types/server/src/camera/streaming/peer-connection.d.ts +2 -2
  25. package/dist/types/server/src/camera/streaming/streaming-session.d.ts +2 -2
  26. package/dist/types/server/src/camera/streaming/webrtc-connection.d.ts +2 -2
  27. package/dist/types/server/src/camera/{controller/types.d.ts → types.d.ts} +22 -13
  28. package/dist/types/server/src/camera/videoFrame.d.ts +25 -0
  29. package/dist/types/server/src/decoder/index.d.ts +1 -12
  30. package/dist/types/server/src/decoder/types.d.ts +40 -11
  31. package/dist/types/server/src/decoder/worker.d.ts +16 -16
  32. package/dist/types/server/src/nats/constants.d.ts +0 -1
  33. package/dist/types/server/src/nats/index.d.ts +2 -2
  34. package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +2 -7
  35. package/dist/types/server/src/nats/proxy/deviceManager.d.ts +1 -1
  36. package/dist/types/server/src/nats/server.d.ts +4 -2
  37. package/dist/types/server/src/nats/types.d.ts +6 -10
  38. package/dist/types/server/src/nats/websocket.d.ts +1 -1
  39. package/dist/types/server/src/plugins/base.d.ts +1 -1
  40. package/dist/types/server/src/plugins/types.d.ts +2 -0
  41. package/dist/types/server/src/polyglot/node/plugins/api.d.ts +1 -1
  42. package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +34 -19
  43. package/dist/types/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +11 -9
  44. package/dist/types/server/src/polyglot/node/plugins/proxy/pluginsManager.d.ts +8 -7
  45. package/dist/types/server/src/polyglot/node/plugins/proxy/queue.d.ts +3 -1
  46. package/dist/types/server/src/polyglot/node/plugins/proxy/systemManager.d.ts +8 -7
  47. package/dist/types/server/src/services/config/types.d.ts +8 -0
  48. package/dist/types/shared/types/index.d.ts +3 -1
  49. package/package.json +5 -5
@@ -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<{
@@ -28,20 +29,32 @@ export declare const regionsSchema: zod.ZodObject<{
28
29
  points: [number, number];
29
30
  _id?: string | undefined;
30
31
  }>, "many">;
32
+ type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
33
+ filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
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">;
35
+ isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
31
36
  }, "strict", zod.ZodTypeAny, {
32
37
  _id: string;
38
+ filter: "include" | "exclude";
39
+ type: "intersect" | "contain";
33
40
  coords: {
34
41
  _id: string;
35
42
  points: [number, number];
36
43
  }[];
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")[];
45
+ isPrivacyMask: boolean;
37
46
  }, {
38
47
  coords: {
39
48
  points: [number, number];
40
49
  _id?: string | undefined;
41
50
  }[];
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")[];
42
52
  _id?: string | undefined;
53
+ filter?: "include" | "exclude" | undefined;
54
+ type?: "intersect" | "contain" | undefined;
55
+ isPrivacyMask?: boolean | undefined;
43
56
  }>;
44
- export declare const cameraZones: zod.ZodObject<{
57
+ export declare const cameraZonesSchema: zod.ZodObject<{
45
58
  name: zod.ZodString;
46
59
  regions: zod.ZodArray<zod.ZodObject<{
47
60
  _id: zod.ZodDefault<zod.ZodString>;
@@ -55,27 +68,43 @@ export declare const cameraZones: zod.ZodObject<{
55
68
  points: [number, number];
56
69
  _id?: string | undefined;
57
70
  }>, "many">;
71
+ type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
72
+ filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
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">;
74
+ isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
58
75
  }, "strict", zod.ZodTypeAny, {
59
76
  _id: string;
77
+ filter: "include" | "exclude";
78
+ type: "intersect" | "contain";
60
79
  coords: {
61
80
  _id: string;
62
81
  points: [number, number];
63
82
  }[];
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")[];
84
+ isPrivacyMask: boolean;
64
85
  }, {
65
86
  coords: {
66
87
  points: [number, number];
67
88
  _id?: string | undefined;
68
89
  }[];
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")[];
69
91
  _id?: string | undefined;
92
+ filter?: "include" | "exclude" | undefined;
93
+ type?: "intersect" | "contain" | undefined;
94
+ isPrivacyMask?: boolean | undefined;
70
95
  }>, "many">;
71
96
  }, "strip", zod.ZodTypeAny, {
72
97
  name: string;
73
98
  regions: {
74
99
  _id: string;
100
+ filter: "include" | "exclude";
101
+ type: "intersect" | "contain";
75
102
  coords: {
76
103
  _id: string;
77
104
  points: [number, number];
78
105
  }[];
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")[];
107
+ isPrivacyMask: boolean;
79
108
  }[];
80
109
  }, {
81
110
  name: string;
@@ -84,9 +113,43 @@ export declare const cameraZones: zod.ZodObject<{
84
113
  points: [number, number];
85
114
  _id?: string | undefined;
86
115
  }[];
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")[];
87
117
  _id?: string | undefined;
118
+ filter?: "include" | "exclude" | undefined;
119
+ type?: "intersect" | "contain" | undefined;
120
+ isPrivacyMask?: boolean | undefined;
88
121
  }[];
89
122
  }>;
123
+ export declare const activitySettingsSchema: zod.ZodObject<{
124
+ motion: zod.ZodObject<{
125
+ timeout: zod.ZodNumber;
126
+ }, "strip", zod.ZodTypeAny, {
127
+ timeout: number;
128
+ }, {
129
+ timeout: number;
130
+ }>;
131
+ object: zod.ZodObject<{
132
+ confidence: zod.ZodNumber;
133
+ }, "strip", zod.ZodTypeAny, {
134
+ confidence: number;
135
+ }, {
136
+ confidence: number;
137
+ }>;
138
+ }, "strip", zod.ZodTypeAny, {
139
+ object: {
140
+ confidence: number;
141
+ };
142
+ motion: {
143
+ timeout: number;
144
+ };
145
+ }, {
146
+ object: {
147
+ confidence: number;
148
+ };
149
+ motion: {
150
+ timeout: number;
151
+ };
152
+ }>;
90
153
  export declare const inputRoleSchema: zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>;
91
154
  export declare const inputSchema: zod.ZodObject<{
92
155
  _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
@@ -150,9 +213,9 @@ export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, z
150
213
  export declare const interfaceSettingsSchema: zod.ZodObject<{
151
214
  streamingModes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>, "many">;
152
215
  }, "strip", zod.ZodTypeAny, {
153
- streamingModes: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[];
216
+ streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
154
217
  }, {
155
- streamingModes: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[];
218
+ streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
156
219
  }>;
157
220
  export declare const cameraInfoSchema: zod.ZodObject<{
158
221
  model: zod.ZodString;
@@ -261,11 +324,11 @@ export declare const createCameraSchema: zod.ZodObject<{
261
324
  interface: zod.ZodDefault<zod.ZodObject<{
262
325
  streamingModes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>, "many">;
263
326
  }, "strip", zod.ZodTypeAny, {
264
- streamingModes: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[];
327
+ streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
265
328
  }, {
266
- streamingModes: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[];
329
+ streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
267
330
  }>>;
268
- motionZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
331
+ activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
269
332
  name: zod.ZodString;
270
333
  regions: zod.ZodArray<zod.ZodObject<{
271
334
  _id: zod.ZodDefault<zod.ZodString>;
@@ -279,27 +342,43 @@ export declare const createCameraSchema: zod.ZodObject<{
279
342
  points: [number, number];
280
343
  _id?: string | undefined;
281
344
  }>, "many">;
345
+ type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
346
+ filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
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">;
348
+ isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
282
349
  }, "strict", zod.ZodTypeAny, {
283
350
  _id: string;
351
+ filter: "include" | "exclude";
352
+ type: "intersect" | "contain";
284
353
  coords: {
285
354
  _id: string;
286
355
  points: [number, number];
287
356
  }[];
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")[];
358
+ isPrivacyMask: boolean;
288
359
  }, {
289
360
  coords: {
290
361
  points: [number, number];
291
362
  _id?: string | undefined;
292
363
  }[];
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")[];
293
365
  _id?: string | undefined;
366
+ filter?: "include" | "exclude" | undefined;
367
+ type?: "intersect" | "contain" | undefined;
368
+ isPrivacyMask?: boolean | undefined;
294
369
  }>, "many">;
295
370
  }, "strip", zod.ZodTypeAny, {
296
371
  name: string;
297
372
  regions: {
298
373
  _id: string;
374
+ filter: "include" | "exclude";
375
+ type: "intersect" | "contain";
299
376
  coords: {
300
377
  _id: string;
301
378
  points: [number, number];
302
379
  }[];
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")[];
381
+ isPrivacyMask: boolean;
303
382
  }[];
304
383
  }, {
305
384
  name: string;
@@ -308,57 +387,46 @@ export declare const createCameraSchema: zod.ZodObject<{
308
387
  points: [number, number];
309
388
  _id?: string | undefined;
310
389
  }[];
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")[];
311
391
  _id?: string | undefined;
392
+ filter?: "include" | "exclude" | undefined;
393
+ type?: "intersect" | "contain" | undefined;
394
+ isPrivacyMask?: boolean | undefined;
312
395
  }[];
313
396
  }>, "many">>;
314
- objectZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
315
- name: zod.ZodString;
316
- regions: zod.ZodArray<zod.ZodObject<{
317
- _id: zod.ZodDefault<zod.ZodString>;
318
- coords: zod.ZodArray<zod.ZodObject<{
319
- _id: zod.ZodDefault<zod.ZodString>;
320
- points: zod.ZodTuple<[zod.ZodNumber, zod.ZodNumber], null>;
321
- }, "strip", zod.ZodTypeAny, {
322
- _id: string;
323
- points: [number, number];
324
- }, {
325
- points: [number, number];
326
- _id?: string | undefined;
327
- }>, "many">;
328
- }, "strict", zod.ZodTypeAny, {
329
- _id: string;
330
- coords: {
331
- _id: string;
332
- points: [number, number];
333
- }[];
397
+ activitySettings: zod.ZodDefault<zod.ZodObject<{
398
+ motion: zod.ZodObject<{
399
+ timeout: zod.ZodNumber;
400
+ }, "strip", zod.ZodTypeAny, {
401
+ timeout: number;
334
402
  }, {
335
- coords: {
336
- points: [number, number];
337
- _id?: string | undefined;
338
- }[];
339
- _id?: string | undefined;
340
- }>, "many">;
403
+ timeout: number;
404
+ }>;
405
+ object: zod.ZodObject<{
406
+ confidence: zod.ZodNumber;
407
+ }, "strip", zod.ZodTypeAny, {
408
+ confidence: number;
409
+ }, {
410
+ confidence: number;
411
+ }>;
341
412
  }, "strip", zod.ZodTypeAny, {
342
- name: string;
343
- regions: {
344
- _id: string;
345
- coords: {
346
- _id: string;
347
- points: [number, number];
348
- }[];
349
- }[];
413
+ object: {
414
+ confidence: number;
415
+ };
416
+ motion: {
417
+ timeout: number;
418
+ };
350
419
  }, {
351
- name: string;
352
- regions: {
353
- coords: {
354
- points: [number, number];
355
- _id?: string | undefined;
356
- }[];
357
- _id?: string | undefined;
358
- }[];
359
- }>, "many">>;
360
- motionTimeout: zod.ZodDefault<zod.ZodNumber>;
420
+ object: {
421
+ confidence: number;
422
+ };
423
+ motion: {
424
+ timeout: number;
425
+ };
426
+ }>>;
361
427
  }, "strict", zod.ZodTypeAny, {
428
+ _id: string;
429
+ name: string;
362
430
  disabled: boolean;
363
431
  info: {
364
432
  model: string;
@@ -368,9 +436,7 @@ export declare const createCameraSchema: zod.ZodObject<{
368
436
  firmwareVersion: string;
369
437
  supportUrl: string;
370
438
  };
371
- type: "camera" | "doorbell";
372
- _id: string;
373
- name: string;
439
+ type: "doorbell" | "camera";
374
440
  pluginId: string;
375
441
  isCloud: boolean;
376
442
  hasLight: boolean;
@@ -396,29 +462,30 @@ export declare const createCameraSchema: zod.ZodObject<{
396
462
  enabled: boolean;
397
463
  };
398
464
  interface: {
399
- streamingModes: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[];
465
+ streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
400
466
  };
401
- motionZones: {
467
+ activityZones: {
402
468
  name: string;
403
469
  regions: {
404
470
  _id: string;
471
+ filter: "include" | "exclude";
472
+ type: "intersect" | "contain";
405
473
  coords: {
406
474
  _id: string;
407
475
  points: [number, number];
408
476
  }[];
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")[];
478
+ isPrivacyMask: boolean;
409
479
  }[];
410
480
  }[];
411
- objectZones: {
412
- name: string;
413
- regions: {
414
- _id: string;
415
- coords: {
416
- _id: string;
417
- points: [number, number];
418
- }[];
419
- }[];
420
- }[];
421
- motionTimeout: number;
481
+ activitySettings: {
482
+ object: {
483
+ confidence: number;
484
+ };
485
+ motion: {
486
+ timeout: number;
487
+ };
488
+ };
422
489
  nativeId?: string | undefined;
423
490
  }, {
424
491
  name: string;
@@ -428,6 +495,7 @@ export declare const createCameraSchema: zod.ZodObject<{
428
495
  urls: string[];
429
496
  _id?: string | undefined;
430
497
  }[];
498
+ _id?: string | undefined;
431
499
  disabled?: boolean | undefined;
432
500
  info?: {
433
501
  model: string;
@@ -437,8 +505,7 @@ export declare const createCameraSchema: zod.ZodObject<{
437
505
  firmwareVersion: string;
438
506
  supportUrl: string;
439
507
  } | undefined;
440
- type?: "camera" | "doorbell" | undefined;
441
- _id?: string | undefined;
508
+ type?: "doorbell" | "camera" | undefined;
442
509
  nativeId?: string | undefined;
443
510
  pluginId?: string | undefined;
444
511
  isCloud?: boolean | undefined;
@@ -459,29 +526,30 @@ export declare const createCameraSchema: zod.ZodObject<{
459
526
  enabled?: boolean | undefined;
460
527
  } | undefined;
461
528
  interface?: {
462
- streamingModes: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[];
529
+ streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
463
530
  } | undefined;
464
- motionZones?: {
531
+ activityZones?: {
465
532
  name: string;
466
533
  regions: {
467
534
  coords: {
468
535
  points: [number, number];
469
536
  _id?: string | undefined;
470
537
  }[];
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")[];
471
539
  _id?: string | undefined;
540
+ filter?: "include" | "exclude" | undefined;
541
+ type?: "intersect" | "contain" | undefined;
542
+ isPrivacyMask?: boolean | undefined;
472
543
  }[];
473
544
  }[] | undefined;
474
- objectZones?: {
475
- name: string;
476
- regions: {
477
- coords: {
478
- points: [number, number];
479
- _id?: string | undefined;
480
- }[];
481
- _id?: string | undefined;
482
- }[];
483
- }[] | undefined;
484
- motionTimeout?: number | undefined;
545
+ activitySettings?: {
546
+ object: {
547
+ confidence: number;
548
+ };
549
+ motion: {
550
+ timeout: number;
551
+ };
552
+ } | undefined;
485
553
  }>;
486
554
  export declare const patchCameraSchema: zod.ZodObject<{
487
555
  disabled: zod.ZodOptional<zod.ZodBoolean>;
@@ -553,9 +621,9 @@ export declare const patchCameraSchema: zod.ZodObject<{
553
621
  interface: zod.ZodOptional<zod.ZodObject<{
554
622
  streamingModes: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>, "many">>;
555
623
  }, "strip", zod.ZodTypeAny, {
556
- streamingModes?: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[] | undefined;
624
+ streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
557
625
  }, {
558
- streamingModes?: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[] | undefined;
626
+ streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
559
627
  }>>;
560
628
  recording: zod.ZodOptional<zod.ZodObject<{
561
629
  enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
@@ -564,7 +632,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
564
632
  }, {
565
633
  enabled?: boolean | undefined;
566
634
  }>>;
567
- motionZones: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
635
+ activityZones: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
568
636
  name: zod.ZodString;
569
637
  regions: zod.ZodArray<zod.ZodObject<{
570
638
  _id: zod.ZodDefault<zod.ZodString>;
@@ -578,27 +646,43 @@ export declare const patchCameraSchema: zod.ZodObject<{
578
646
  points: [number, number];
579
647
  _id?: string | undefined;
580
648
  }>, "many">;
649
+ type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
650
+ filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
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">;
652
+ isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
581
653
  }, "strict", zod.ZodTypeAny, {
582
654
  _id: string;
655
+ filter: "include" | "exclude";
656
+ type: "intersect" | "contain";
583
657
  coords: {
584
658
  _id: string;
585
659
  points: [number, number];
586
660
  }[];
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")[];
662
+ isPrivacyMask: boolean;
587
663
  }, {
588
664
  coords: {
589
665
  points: [number, number];
590
666
  _id?: string | undefined;
591
667
  }[];
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")[];
592
669
  _id?: string | undefined;
670
+ filter?: "include" | "exclude" | undefined;
671
+ type?: "intersect" | "contain" | undefined;
672
+ isPrivacyMask?: boolean | undefined;
593
673
  }>, "many">;
594
674
  }, "strip", zod.ZodTypeAny, {
595
675
  name: string;
596
676
  regions: {
597
677
  _id: string;
678
+ filter: "include" | "exclude";
679
+ type: "intersect" | "contain";
598
680
  coords: {
599
681
  _id: string;
600
682
  points: [number, number];
601
683
  }[];
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")[];
685
+ isPrivacyMask: boolean;
602
686
  }[];
603
687
  }, {
604
688
  name: string;
@@ -607,57 +691,45 @@ export declare const patchCameraSchema: zod.ZodObject<{
607
691
  points: [number, number];
608
692
  _id?: string | undefined;
609
693
  }[];
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")[];
610
695
  _id?: string | undefined;
696
+ filter?: "include" | "exclude" | undefined;
697
+ type?: "intersect" | "contain" | undefined;
698
+ isPrivacyMask?: boolean | undefined;
611
699
  }[];
612
700
  }>, "many">>;
613
- objectZones: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
614
- name: zod.ZodString;
615
- regions: zod.ZodArray<zod.ZodObject<{
616
- _id: zod.ZodDefault<zod.ZodString>;
617
- coords: zod.ZodArray<zod.ZodObject<{
618
- _id: zod.ZodDefault<zod.ZodString>;
619
- points: zod.ZodTuple<[zod.ZodNumber, zod.ZodNumber], null>;
620
- }, "strip", zod.ZodTypeAny, {
621
- _id: string;
622
- points: [number, number];
623
- }, {
624
- points: [number, number];
625
- _id?: string | undefined;
626
- }>, "many">;
627
- }, "strict", zod.ZodTypeAny, {
628
- _id: string;
629
- coords: {
630
- _id: string;
631
- points: [number, number];
632
- }[];
701
+ activitySettings: zod.ZodOptional<zod.ZodObject<{
702
+ motion: zod.ZodOptional<zod.ZodObject<{
703
+ timeout: zod.ZodNumber;
704
+ }, "strip", zod.ZodTypeAny, {
705
+ timeout: number;
633
706
  }, {
634
- coords: {
635
- points: [number, number];
636
- _id?: string | undefined;
637
- }[];
638
- _id?: string | undefined;
639
- }>, "many">;
707
+ timeout: number;
708
+ }>>;
709
+ object: zod.ZodOptional<zod.ZodObject<{
710
+ confidence: zod.ZodNumber;
711
+ }, "strip", zod.ZodTypeAny, {
712
+ confidence: number;
713
+ }, {
714
+ confidence: number;
715
+ }>>;
640
716
  }, "strip", zod.ZodTypeAny, {
641
- name: string;
642
- regions: {
643
- _id: string;
644
- coords: {
645
- _id: string;
646
- points: [number, number];
647
- }[];
648
- }[];
717
+ object?: {
718
+ confidence: number;
719
+ } | undefined;
720
+ motion?: {
721
+ timeout: number;
722
+ } | undefined;
649
723
  }, {
650
- name: string;
651
- regions: {
652
- coords: {
653
- points: [number, number];
654
- _id?: string | undefined;
655
- }[];
656
- _id?: string | undefined;
657
- }[];
658
- }>, "many">>;
659
- motionTimeout: zod.ZodOptional<zod.ZodNumber>;
724
+ object?: {
725
+ confidence: number;
726
+ } | undefined;
727
+ motion?: {
728
+ timeout: number;
729
+ } | undefined;
730
+ }>>;
660
731
  }, "strict", zod.ZodTypeAny, {
732
+ name?: string | undefined;
661
733
  disabled?: boolean | undefined;
662
734
  info?: {
663
735
  model?: string | undefined;
@@ -667,8 +739,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
667
739
  firmwareVersion?: string | undefined;
668
740
  supportUrl?: string | undefined;
669
741
  } | undefined;
670
- type?: "camera" | "doorbell" | undefined;
671
- name?: string | undefined;
742
+ type?: "doorbell" | "camera" | undefined;
672
743
  sources?: {
673
744
  _id: string;
674
745
  name: string;
@@ -688,30 +759,32 @@ export declare const patchCameraSchema: zod.ZodObject<{
688
759
  enabled?: boolean | undefined;
689
760
  } | undefined;
690
761
  interface?: {
691
- streamingModes?: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[] | undefined;
762
+ streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
692
763
  } | undefined;
693
- motionZones?: {
694
- name: string;
695
- regions: {
696
- _id: string;
697
- coords: {
698
- _id: string;
699
- points: [number, number];
700
- }[];
701
- }[];
702
- }[] | undefined;
703
- objectZones?: {
764
+ activityZones?: {
704
765
  name: string;
705
766
  regions: {
706
767
  _id: string;
768
+ filter: "include" | "exclude";
769
+ type: "intersect" | "contain";
707
770
  coords: {
708
771
  _id: string;
709
772
  points: [number, number];
710
773
  }[];
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")[];
775
+ isPrivacyMask: boolean;
711
776
  }[];
712
777
  }[] | undefined;
713
- motionTimeout?: number | undefined;
778
+ activitySettings?: {
779
+ object?: {
780
+ confidence: number;
781
+ } | undefined;
782
+ motion?: {
783
+ timeout: number;
784
+ } | undefined;
785
+ } | undefined;
714
786
  }, {
787
+ name?: string | undefined;
715
788
  disabled?: boolean | undefined;
716
789
  info?: {
717
790
  model?: string | undefined;
@@ -721,8 +794,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
721
794
  firmwareVersion?: string | undefined;
722
795
  supportUrl?: string | undefined;
723
796
  } | undefined;
724
- type?: "camera" | "doorbell" | undefined;
725
- name?: string | undefined;
797
+ type?: "doorbell" | "camera" | undefined;
726
798
  sources?: {
727
799
  name: string;
728
800
  roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
@@ -742,29 +814,30 @@ export declare const patchCameraSchema: zod.ZodObject<{
742
814
  enabled?: boolean | undefined;
743
815
  } | undefined;
744
816
  interface?: {
745
- streamingModes?: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4")[] | undefined;
817
+ streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
746
818
  } | undefined;
747
- motionZones?: {
819
+ activityZones?: {
748
820
  name: string;
749
821
  regions: {
750
822
  coords: {
751
823
  points: [number, number];
752
824
  _id?: string | undefined;
753
825
  }[];
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")[];
754
827
  _id?: string | undefined;
828
+ filter?: "include" | "exclude" | undefined;
829
+ type?: "intersect" | "contain" | undefined;
830
+ isPrivacyMask?: boolean | undefined;
755
831
  }[];
756
832
  }[] | undefined;
757
- objectZones?: {
758
- name: string;
759
- regions: {
760
- coords: {
761
- points: [number, number];
762
- _id?: string | undefined;
763
- }[];
764
- _id?: string | undefined;
765
- }[];
766
- }[] | undefined;
767
- motionTimeout?: number | undefined;
833
+ activitySettings?: {
834
+ object?: {
835
+ confidence: number;
836
+ } | undefined;
837
+ motion?: {
838
+ timeout: number;
839
+ } | undefined;
840
+ } | undefined;
768
841
  }>;
769
842
  export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
770
843
  export declare const previewCameraSchema: zod.ZodObject<{