@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.
- package/dist/bundle.js +1 -1
- package/dist/types/packages/client/browser/src/types.d.ts +1 -1
- package/dist/types/server/src/api/controllers/cameras.controller.d.ts +5 -5
- package/dist/types/server/src/api/controllers/frameWorkers.controller.d.ts +16 -0
- package/dist/types/server/src/api/database/types.d.ts +23 -5
- package/dist/types/server/src/api/routes/frameWorkers.routes.d.ts +2 -0
- package/dist/types/server/src/api/schemas/cameras.schema.d.ts +231 -158
- package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +105 -6
- package/dist/types/server/src/api/schemas/users.schema.d.ts +2 -2
- package/dist/types/server/src/api/services/auth.service.d.ts +0 -1
- package/dist/types/server/src/api/services/cameras.service.d.ts +4 -3
- package/dist/types/server/src/api/services/plugins.service.d.ts +0 -1
- package/dist/types/server/src/api/services/users.service.d.ts +0 -1
- package/dist/types/server/src/api/types/index.d.ts +14 -6
- package/dist/types/server/src/api/websocket/nsp/frameWorker.d.ts +13 -0
- package/dist/types/server/src/api/websocket/nsp/metrics.d.ts +6 -1
- package/dist/types/server/src/api/websocket/nsp/status.d.ts +6 -0
- package/dist/types/server/src/api/websocket/types.d.ts +6 -2
- package/dist/types/server/src/api.d.ts +1 -1
- package/dist/types/server/src/camera/{controller/index.d.ts → controller.d.ts} +10 -7
- package/dist/types/server/src/camera/{cameraDevice.d.ts → device.d.ts} +11 -3
- package/dist/types/server/src/camera/index.d.ts +21 -15
- package/dist/types/server/src/camera/polygon.d.ts +3 -0
- package/dist/types/server/src/camera/streaming/peer-connection.d.ts +2 -2
- package/dist/types/server/src/camera/streaming/streaming-session.d.ts +2 -2
- package/dist/types/server/src/camera/streaming/webrtc-connection.d.ts +2 -2
- package/dist/types/server/src/camera/{controller/types.d.ts → types.d.ts} +22 -13
- package/dist/types/server/src/camera/videoFrame.d.ts +25 -0
- package/dist/types/server/src/decoder/index.d.ts +1 -12
- package/dist/types/server/src/decoder/types.d.ts +40 -11
- package/dist/types/server/src/decoder/worker.d.ts +16 -16
- package/dist/types/server/src/nats/constants.d.ts +0 -1
- package/dist/types/server/src/nats/index.d.ts +2 -2
- package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +2 -7
- package/dist/types/server/src/nats/proxy/deviceManager.d.ts +1 -1
- package/dist/types/server/src/nats/server.d.ts +4 -2
- package/dist/types/server/src/nats/types.d.ts +6 -10
- package/dist/types/server/src/nats/websocket.d.ts +1 -1
- package/dist/types/server/src/plugins/base.d.ts +1 -1
- package/dist/types/server/src/plugins/types.d.ts +2 -0
- package/dist/types/server/src/polyglot/node/plugins/api.d.ts +1 -1
- package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +34 -19
- package/dist/types/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +11 -9
- package/dist/types/server/src/polyglot/node/plugins/proxy/pluginsManager.d.ts +8 -7
- package/dist/types/server/src/polyglot/node/plugins/proxy/queue.d.ts +3 -1
- package/dist/types/server/src/polyglot/node/plugins/proxy/systemManager.d.ts +8 -7
- package/dist/types/server/src/services/config/types.d.ts +8 -0
- package/dist/types/shared/types/index.d.ts +3 -1
- 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
|
|
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"
|
|
216
|
+
streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
|
|
154
217
|
}, {
|
|
155
|
-
streamingModes: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls"
|
|
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"
|
|
327
|
+
streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
|
|
265
328
|
}, {
|
|
266
|
-
streamingModes: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls"
|
|
329
|
+
streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
|
|
267
330
|
}>>;
|
|
268
|
-
|
|
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
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
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
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
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
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
}[];
|
|
349
|
-
}[];
|
|
413
|
+
object: {
|
|
414
|
+
confidence: number;
|
|
415
|
+
};
|
|
416
|
+
motion: {
|
|
417
|
+
timeout: number;
|
|
418
|
+
};
|
|
350
419
|
}, {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
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: "
|
|
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"
|
|
465
|
+
streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
|
|
400
466
|
};
|
|
401
|
-
|
|
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
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
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?: "
|
|
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"
|
|
529
|
+
streamingModes: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[];
|
|
463
530
|
} | undefined;
|
|
464
|
-
|
|
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
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
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"
|
|
624
|
+
streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
|
|
557
625
|
}, {
|
|
558
|
-
streamingModes?: ("mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls"
|
|
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
|
-
|
|
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
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
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
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
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
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
}[];
|
|
648
|
-
}[];
|
|
717
|
+
object?: {
|
|
718
|
+
confidence: number;
|
|
719
|
+
} | undefined;
|
|
720
|
+
motion?: {
|
|
721
|
+
timeout: number;
|
|
722
|
+
} | undefined;
|
|
649
723
|
}, {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
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?: "
|
|
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"
|
|
762
|
+
streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
|
|
692
763
|
} | undefined;
|
|
693
|
-
|
|
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
|
-
|
|
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?: "
|
|
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"
|
|
817
|
+
streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
|
|
746
818
|
} | undefined;
|
|
747
|
-
|
|
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
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
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<{
|