@camera.ui/browser 0.0.79 → 0.0.80
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/proxy/cameraDevice.d.ts +17 -3
- package/dist/types/packages/client/browser/src/proxy/deviceManager.d.ts +4 -0
- package/dist/types/packages/client/browser/src/socket.d.ts +2 -3
- package/dist/types/packages/client/browser/src/types.d.ts +0 -1
- package/dist/types/server/src/api/controllers/users.controller.d.ts +9 -3
- package/dist/types/server/src/api/database/index.d.ts +9 -2
- package/dist/types/server/src/api/database/types.d.ts +24 -23
- package/dist/types/server/src/api/go2rtc/api/streams.d.ts +2 -2
- package/dist/types/server/src/api/go2rtc/types.d.ts +5 -2
- package/dist/types/server/src/api/index.d.ts +7 -8
- package/dist/types/server/src/api/middlewares/pagination.middleware.d.ts +1 -1
- package/dist/types/server/src/api/plugins/logger.plugin.d.ts +7 -0
- package/dist/types/server/src/api/routes/index.d.ts +1 -2
- package/dist/types/server/src/api/schemas/backup.schema.d.ts +53 -155
- package/dist/types/server/src/api/schemas/cameras.schema.d.ts +215 -215
- package/dist/types/server/src/api/schemas/config.schema.d.ts +22 -22
- package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +66 -66
- package/dist/types/server/src/api/schemas/users.schema.d.ts +242 -136
- package/dist/types/server/src/api/services/cameras.service.d.ts +9 -7
- package/dist/types/server/src/api/services/users.service.d.ts +6 -2
- package/dist/types/server/src/api/types/index.d.ts +34 -6
- package/dist/types/server/src/api/websocket/nsp/status.d.ts +1 -1
- package/dist/types/server/src/camera/controller.d.ts +17 -10
- package/dist/types/server/src/camera/device.d.ts +5 -13
- package/dist/types/server/src/camera/index.d.ts +17 -10
- package/dist/types/server/src/camera/interfaces/audioDetection.d.ts +10 -0
- package/dist/types/server/src/camera/interfaces/camera.d.ts +19 -0
- package/dist/types/server/src/camera/interfaces/motionDetection.d.ts +10 -0
- package/dist/types/server/src/camera/interfaces/objectDetection.d.ts +10 -0
- package/dist/types/server/src/camera/interfaces/prebuffer.d.ts +11 -0
- package/dist/types/server/src/camera/interfaces/ptz.d.ts +13 -0
- package/dist/types/server/src/camera/streaming/webrtc-connection.d.ts +2 -1
- package/dist/types/server/src/camera/streaming/{streaming-session.d.ts → werift-session.d.ts} +1 -1
- package/dist/types/server/src/camera/types.d.ts +53 -15
- package/dist/types/server/src/decoder/worker.d.ts +1 -1
- package/dist/types/server/src/nats/index.d.ts +1 -1
- package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +30 -34
- package/dist/types/server/src/nats/proxy/deviceManager.d.ts +1 -1
- package/dist/types/server/src/nats/proxy/pluginsManager.d.ts +1 -1
- package/dist/types/server/src/nats/proxy/systemManager.d.ts +1 -1
- package/dist/types/server/src/nats/types.d.ts +20 -45
- package/dist/types/server/src/nats/websocket.d.ts +1 -5
- package/dist/types/server/src/plugins/base.d.ts +2 -3
- package/dist/types/server/src/plugins/types.d.ts +22 -5
- package/dist/types/server/src/plugins/worker.d.ts +1 -0
- package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +28 -6
- package/dist/types/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +3 -3
- package/dist/types/server/src/polyglot/node/plugins/proxy/pluginsManager.d.ts +3 -3
- package/dist/types/server/src/polyglot/node/plugins/proxy/systemManager.d.ts +3 -3
- package/dist/types/server/src/polyglot/node/plugins/schema.d.ts +2 -1
- package/dist/types/server/src/services/config/index.d.ts +29 -36
- package/dist/types/server/src/services/config/types.d.ts +1 -1
- package/dist/types/server/src/types.d.ts +4 -0
- package/dist/types/shared/types/index.d.ts +5 -0
- package/package.json +10 -10
|
@@ -34,24 +34,24 @@ export declare const regionsSchema: zod.ZodObject<{
|
|
|
34
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
35
|
isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
|
|
36
36
|
}, "strict", zod.ZodTypeAny, {
|
|
37
|
-
_id: string;
|
|
38
|
-
type: "intersect" | "contain";
|
|
39
37
|
filter: "include" | "exclude";
|
|
38
|
+
type: "intersect" | "contain";
|
|
39
|
+
_id: string;
|
|
40
40
|
coords: {
|
|
41
41
|
_id: string;
|
|
42
42
|
points: [number, number];
|
|
43
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" | "
|
|
44
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
45
45
|
isPrivacyMask: boolean;
|
|
46
46
|
}, {
|
|
47
47
|
coords: {
|
|
48
48
|
points: [number, number];
|
|
49
49
|
_id?: string | undefined;
|
|
50
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" | "
|
|
52
|
-
_id?: string | undefined;
|
|
53
|
-
type?: "intersect" | "contain" | undefined;
|
|
51
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
54
52
|
filter?: "include" | "exclude" | undefined;
|
|
53
|
+
type?: "intersect" | "contain" | undefined;
|
|
54
|
+
_id?: string | undefined;
|
|
55
55
|
isPrivacyMask?: boolean | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
export declare const cameraZonesSchema: zod.ZodObject<{
|
|
@@ -73,37 +73,37 @@ export declare const cameraZonesSchema: zod.ZodObject<{
|
|
|
73
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
74
|
isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
|
|
75
75
|
}, "strict", zod.ZodTypeAny, {
|
|
76
|
-
_id: string;
|
|
77
|
-
type: "intersect" | "contain";
|
|
78
76
|
filter: "include" | "exclude";
|
|
77
|
+
type: "intersect" | "contain";
|
|
78
|
+
_id: string;
|
|
79
79
|
coords: {
|
|
80
80
|
_id: string;
|
|
81
81
|
points: [number, number];
|
|
82
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" | "
|
|
83
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
84
84
|
isPrivacyMask: boolean;
|
|
85
85
|
}, {
|
|
86
86
|
coords: {
|
|
87
87
|
points: [number, number];
|
|
88
88
|
_id?: string | undefined;
|
|
89
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" | "
|
|
91
|
-
_id?: string | undefined;
|
|
92
|
-
type?: "intersect" | "contain" | undefined;
|
|
90
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
93
91
|
filter?: "include" | "exclude" | undefined;
|
|
92
|
+
type?: "intersect" | "contain" | undefined;
|
|
93
|
+
_id?: string | undefined;
|
|
94
94
|
isPrivacyMask?: boolean | undefined;
|
|
95
95
|
}>, "many">;
|
|
96
96
|
}, "strip", zod.ZodTypeAny, {
|
|
97
97
|
name: string;
|
|
98
98
|
regions: {
|
|
99
|
-
_id: string;
|
|
100
|
-
type: "intersect" | "contain";
|
|
101
99
|
filter: "include" | "exclude";
|
|
100
|
+
type: "intersect" | "contain";
|
|
101
|
+
_id: string;
|
|
102
102
|
coords: {
|
|
103
103
|
_id: string;
|
|
104
104
|
points: [number, number];
|
|
105
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" | "
|
|
106
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
107
107
|
isPrivacyMask: boolean;
|
|
108
108
|
}[];
|
|
109
109
|
}, {
|
|
@@ -113,10 +113,10 @@ export declare const cameraZonesSchema: zod.ZodObject<{
|
|
|
113
113
|
points: [number, number];
|
|
114
114
|
_id?: string | undefined;
|
|
115
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" | "
|
|
117
|
-
_id?: string | undefined;
|
|
118
|
-
type?: "intersect" | "contain" | undefined;
|
|
116
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
119
117
|
filter?: "include" | "exclude" | undefined;
|
|
118
|
+
type?: "intersect" | "contain" | undefined;
|
|
119
|
+
_id?: string | undefined;
|
|
120
120
|
isPrivacyMask?: boolean | undefined;
|
|
121
121
|
}[];
|
|
122
122
|
}>;
|
|
@@ -154,33 +154,33 @@ export declare const inputRoleSchema: zod.ZodUnion<[zod.ZodLiteral<"detect">, zo
|
|
|
154
154
|
export declare const inputSchema: zod.ZodObject<{
|
|
155
155
|
_id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
|
|
156
156
|
name: zod.ZodEffects<zod.ZodString, string, string>;
|
|
157
|
-
roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("
|
|
157
|
+
roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("none" | "detect" | "record" | "stream" | "snapshot")[], ("none" | "detect" | "record" | "stream" | "snapshot")[]>;
|
|
158
158
|
urls: zod.ZodArray<zod.ZodString, "many">;
|
|
159
159
|
}, "strict", zod.ZodTypeAny, {
|
|
160
|
-
_id: string;
|
|
161
160
|
name: string;
|
|
162
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
163
161
|
urls: string[];
|
|
162
|
+
_id: string;
|
|
163
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
164
164
|
}, {
|
|
165
165
|
name: string;
|
|
166
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
167
166
|
urls: string[];
|
|
167
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
168
168
|
_id?: string | undefined;
|
|
169
169
|
}>;
|
|
170
170
|
export declare const patchInputSchema: zod.ZodObject<{
|
|
171
171
|
_id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
|
|
172
172
|
name: zod.ZodEffects<zod.ZodString, string, string>;
|
|
173
|
-
roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("
|
|
173
|
+
roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("none" | "detect" | "record" | "stream" | "snapshot")[], ("none" | "detect" | "record" | "stream" | "snapshot")[]>;
|
|
174
174
|
urls: zod.ZodArray<zod.ZodString, "many">;
|
|
175
175
|
}, "strict", zod.ZodTypeAny, {
|
|
176
|
-
_id: string;
|
|
177
176
|
name: string;
|
|
178
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
179
177
|
urls: string[];
|
|
178
|
+
_id: string;
|
|
179
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
180
180
|
}, {
|
|
181
181
|
name: string;
|
|
182
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
183
182
|
urls: string[];
|
|
183
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
184
184
|
_id?: string | undefined;
|
|
185
185
|
}>;
|
|
186
186
|
export declare const extensionsSettingsSchema: zod.ZodObject<{
|
|
@@ -193,19 +193,19 @@ export declare const extensionsSettingsSchema: zod.ZodObject<{
|
|
|
193
193
|
plugins: zod.ZodArray<zod.ZodString, "many">;
|
|
194
194
|
}, "strict", zod.ZodTypeAny, {
|
|
195
195
|
plugins: string[];
|
|
196
|
-
hub?: string[] | undefined;
|
|
197
196
|
prebuffer?: string | undefined;
|
|
197
|
+
hub?: string[] | undefined;
|
|
198
198
|
motionDetection?: string | undefined;
|
|
199
|
-
objectDetection?: string | undefined;
|
|
200
199
|
audioDetection?: string | undefined;
|
|
200
|
+
objectDetection?: string | undefined;
|
|
201
201
|
ptz?: string | undefined;
|
|
202
202
|
}, {
|
|
203
203
|
plugins: string[];
|
|
204
|
-
hub?: string[] | undefined;
|
|
205
204
|
prebuffer?: string | undefined;
|
|
205
|
+
hub?: string[] | undefined;
|
|
206
206
|
motionDetection?: string | undefined;
|
|
207
|
-
objectDetection?: string | undefined;
|
|
208
207
|
audioDetection?: string | undefined;
|
|
208
|
+
objectDetection?: string | undefined;
|
|
209
209
|
ptz?: string | undefined;
|
|
210
210
|
}>;
|
|
211
211
|
export declare const streamingModeSchema: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
|
|
@@ -226,9 +226,9 @@ export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, z
|
|
|
226
226
|
export declare const interfaceSettingsSchema: zod.ZodObject<{
|
|
227
227
|
streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
|
|
228
228
|
}, "strip", zod.ZodTypeAny, {
|
|
229
|
-
streamingMode: "mp4" | "
|
|
229
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
230
230
|
}, {
|
|
231
|
-
streamingMode: "mp4" | "
|
|
231
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
232
232
|
}>;
|
|
233
233
|
export declare const cameraInfoSchema: zod.ZodObject<{
|
|
234
234
|
model: zod.ZodString;
|
|
@@ -289,17 +289,17 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
289
289
|
sources: zod.ZodArray<zod.ZodObject<{
|
|
290
290
|
_id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
|
|
291
291
|
name: zod.ZodEffects<zod.ZodString, string, string>;
|
|
292
|
-
roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("
|
|
292
|
+
roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("none" | "detect" | "record" | "stream" | "snapshot")[], ("none" | "detect" | "record" | "stream" | "snapshot")[]>;
|
|
293
293
|
urls: zod.ZodArray<zod.ZodString, "many">;
|
|
294
294
|
}, "strict", zod.ZodTypeAny, {
|
|
295
|
-
_id: string;
|
|
296
295
|
name: string;
|
|
297
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
298
296
|
urls: string[];
|
|
297
|
+
_id: string;
|
|
298
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
299
299
|
}, {
|
|
300
300
|
name: string;
|
|
301
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
302
301
|
urls: string[];
|
|
302
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
303
303
|
_id?: string | undefined;
|
|
304
304
|
}>, "many">;
|
|
305
305
|
extensions: zod.ZodDefault<zod.ZodObject<{
|
|
@@ -312,19 +312,19 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
312
312
|
plugins: zod.ZodArray<zod.ZodString, "many">;
|
|
313
313
|
}, "strict", zod.ZodTypeAny, {
|
|
314
314
|
plugins: string[];
|
|
315
|
-
hub?: string[] | undefined;
|
|
316
315
|
prebuffer?: string | undefined;
|
|
316
|
+
hub?: string[] | undefined;
|
|
317
317
|
motionDetection?: string | undefined;
|
|
318
|
-
objectDetection?: string | undefined;
|
|
319
318
|
audioDetection?: string | undefined;
|
|
319
|
+
objectDetection?: string | undefined;
|
|
320
320
|
ptz?: string | undefined;
|
|
321
321
|
}, {
|
|
322
322
|
plugins: string[];
|
|
323
|
-
hub?: string[] | undefined;
|
|
324
323
|
prebuffer?: string | undefined;
|
|
324
|
+
hub?: string[] | undefined;
|
|
325
325
|
motionDetection?: string | undefined;
|
|
326
|
-
objectDetection?: string | undefined;
|
|
327
326
|
audioDetection?: string | undefined;
|
|
327
|
+
objectDetection?: string | undefined;
|
|
328
328
|
ptz?: string | undefined;
|
|
329
329
|
}>>;
|
|
330
330
|
recording: zod.ZodDefault<zod.ZodObject<{
|
|
@@ -337,9 +337,9 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
337
337
|
interface: zod.ZodDefault<zod.ZodObject<{
|
|
338
338
|
streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
|
|
339
339
|
}, "strip", zod.ZodTypeAny, {
|
|
340
|
-
streamingMode: "mp4" | "
|
|
340
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
341
341
|
}, {
|
|
342
|
-
streamingMode: "mp4" | "
|
|
342
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
343
343
|
}>>;
|
|
344
344
|
activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
345
345
|
name: zod.ZodString;
|
|
@@ -360,37 +360,37 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
360
360
|
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">;
|
|
361
361
|
isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
|
|
362
362
|
}, "strict", zod.ZodTypeAny, {
|
|
363
|
-
_id: string;
|
|
364
|
-
type: "intersect" | "contain";
|
|
365
363
|
filter: "include" | "exclude";
|
|
364
|
+
type: "intersect" | "contain";
|
|
365
|
+
_id: string;
|
|
366
366
|
coords: {
|
|
367
367
|
_id: string;
|
|
368
368
|
points: [number, number];
|
|
369
369
|
}[];
|
|
370
|
-
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" | "
|
|
370
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
371
371
|
isPrivacyMask: boolean;
|
|
372
372
|
}, {
|
|
373
373
|
coords: {
|
|
374
374
|
points: [number, number];
|
|
375
375
|
_id?: string | undefined;
|
|
376
376
|
}[];
|
|
377
|
-
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" | "
|
|
378
|
-
_id?: string | undefined;
|
|
379
|
-
type?: "intersect" | "contain" | undefined;
|
|
377
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
380
378
|
filter?: "include" | "exclude" | undefined;
|
|
379
|
+
type?: "intersect" | "contain" | undefined;
|
|
380
|
+
_id?: string | undefined;
|
|
381
381
|
isPrivacyMask?: boolean | undefined;
|
|
382
382
|
}>, "many">;
|
|
383
383
|
}, "strip", zod.ZodTypeAny, {
|
|
384
384
|
name: string;
|
|
385
385
|
regions: {
|
|
386
|
-
_id: string;
|
|
387
|
-
type: "intersect" | "contain";
|
|
388
386
|
filter: "include" | "exclude";
|
|
387
|
+
type: "intersect" | "contain";
|
|
388
|
+
_id: string;
|
|
389
389
|
coords: {
|
|
390
390
|
_id: string;
|
|
391
391
|
points: [number, number];
|
|
392
392
|
}[];
|
|
393
|
-
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" | "
|
|
393
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
394
394
|
isPrivacyMask: boolean;
|
|
395
395
|
}[];
|
|
396
396
|
}, {
|
|
@@ -400,10 +400,10 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
400
400
|
points: [number, number];
|
|
401
401
|
_id?: string | undefined;
|
|
402
402
|
}[];
|
|
403
|
-
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" | "
|
|
404
|
-
_id?: string | undefined;
|
|
405
|
-
type?: "intersect" | "contain" | undefined;
|
|
403
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
406
404
|
filter?: "include" | "exclude" | undefined;
|
|
405
|
+
type?: "intersect" | "contain" | undefined;
|
|
406
|
+
_id?: string | undefined;
|
|
407
407
|
isPrivacyMask?: boolean | undefined;
|
|
408
408
|
}[];
|
|
409
409
|
}>, "many">>;
|
|
@@ -451,38 +451,59 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
451
451
|
resolution: 640 | 480 | 320;
|
|
452
452
|
}>>;
|
|
453
453
|
}, "strict", zod.ZodTypeAny, {
|
|
454
|
-
|
|
454
|
+
info: {
|
|
455
|
+
model: string;
|
|
456
|
+
manufacturer: string;
|
|
457
|
+
hardware: string;
|
|
458
|
+
serialNumber: string;
|
|
459
|
+
firmwareVersion: string;
|
|
460
|
+
supportUrl: string;
|
|
461
|
+
};
|
|
455
462
|
name: string;
|
|
463
|
+
extensions: {
|
|
464
|
+
plugins: string[];
|
|
465
|
+
prebuffer?: string | undefined;
|
|
466
|
+
hub?: string[] | undefined;
|
|
467
|
+
motionDetection?: string | undefined;
|
|
468
|
+
audioDetection?: string | undefined;
|
|
469
|
+
objectDetection?: string | undefined;
|
|
470
|
+
ptz?: string | undefined;
|
|
471
|
+
};
|
|
472
|
+
type: "camera" | "doorbell";
|
|
473
|
+
interface: {
|
|
474
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
475
|
+
};
|
|
476
|
+
_id: string;
|
|
477
|
+
pluginId: string;
|
|
478
|
+
sources: {
|
|
479
|
+
name: string;
|
|
480
|
+
urls: string[];
|
|
481
|
+
_id: string;
|
|
482
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
483
|
+
}[];
|
|
484
|
+
recording: {
|
|
485
|
+
enabled: boolean;
|
|
486
|
+
};
|
|
487
|
+
disabled: boolean;
|
|
488
|
+
isCloud: boolean;
|
|
489
|
+
hasLight: boolean;
|
|
490
|
+
hasSiren: boolean;
|
|
491
|
+
hasBinarySensor: boolean;
|
|
492
|
+
hasBattery: boolean;
|
|
456
493
|
activityZones: {
|
|
457
494
|
name: string;
|
|
458
495
|
regions: {
|
|
459
|
-
_id: string;
|
|
460
|
-
type: "intersect" | "contain";
|
|
461
496
|
filter: "include" | "exclude";
|
|
497
|
+
type: "intersect" | "contain";
|
|
498
|
+
_id: string;
|
|
462
499
|
coords: {
|
|
463
500
|
_id: string;
|
|
464
501
|
points: [number, number];
|
|
465
502
|
}[];
|
|
466
|
-
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" | "
|
|
503
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
467
504
|
isPrivacyMask: boolean;
|
|
468
505
|
}[];
|
|
469
506
|
}[];
|
|
470
|
-
pluginId: string;
|
|
471
|
-
disabled: boolean;
|
|
472
|
-
isCloud: boolean;
|
|
473
|
-
hasLight: boolean;
|
|
474
|
-
hasSiren: boolean;
|
|
475
|
-
hasBinarySensor: boolean;
|
|
476
|
-
hasBattery: boolean;
|
|
477
|
-
info: {
|
|
478
|
-
model: string;
|
|
479
|
-
manufacturer: string;
|
|
480
|
-
hardware: string;
|
|
481
|
-
serialNumber: string;
|
|
482
|
-
firmwareVersion: string;
|
|
483
|
-
supportUrl: string;
|
|
484
|
-
};
|
|
485
|
-
type: "doorbell" | "camera";
|
|
486
507
|
activitySettings: {
|
|
487
508
|
object: {
|
|
488
509
|
confidence: number;
|
|
@@ -496,37 +517,48 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
496
517
|
fps: number;
|
|
497
518
|
resolution: 640 | 480 | 320;
|
|
498
519
|
};
|
|
520
|
+
nativeId?: string | undefined;
|
|
521
|
+
}, {
|
|
522
|
+
name: string;
|
|
499
523
|
sources: {
|
|
500
|
-
_id: string;
|
|
501
524
|
name: string;
|
|
502
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
503
525
|
urls: string[];
|
|
526
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
527
|
+
_id?: string | undefined;
|
|
504
528
|
}[];
|
|
505
|
-
|
|
529
|
+
info?: {
|
|
530
|
+
model: string;
|
|
531
|
+
manufacturer: string;
|
|
532
|
+
hardware: string;
|
|
533
|
+
serialNumber: string;
|
|
534
|
+
firmwareVersion: string;
|
|
535
|
+
supportUrl: string;
|
|
536
|
+
} | undefined;
|
|
537
|
+
extensions?: {
|
|
506
538
|
plugins: string[];
|
|
507
|
-
hub?: string[] | undefined;
|
|
508
539
|
prebuffer?: string | undefined;
|
|
540
|
+
hub?: string[] | undefined;
|
|
509
541
|
motionDetection?: string | undefined;
|
|
510
|
-
objectDetection?: string | undefined;
|
|
511
542
|
audioDetection?: string | undefined;
|
|
543
|
+
objectDetection?: string | undefined;
|
|
512
544
|
ptz?: string | undefined;
|
|
513
|
-
};
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
|
|
519
|
-
};
|
|
520
|
-
nativeId?: string | undefined;
|
|
521
|
-
}, {
|
|
522
|
-
name: string;
|
|
523
|
-
sources: {
|
|
524
|
-
name: string;
|
|
525
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
526
|
-
urls: string[];
|
|
527
|
-
_id?: string | undefined;
|
|
528
|
-
}[];
|
|
545
|
+
} | undefined;
|
|
546
|
+
type?: "camera" | "doorbell" | undefined;
|
|
547
|
+
interface?: {
|
|
548
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
549
|
+
} | undefined;
|
|
529
550
|
_id?: string | undefined;
|
|
551
|
+
pluginId?: string | undefined;
|
|
552
|
+
recording?: {
|
|
553
|
+
enabled?: boolean | undefined;
|
|
554
|
+
} | undefined;
|
|
555
|
+
nativeId?: string | undefined;
|
|
556
|
+
disabled?: boolean | undefined;
|
|
557
|
+
isCloud?: boolean | undefined;
|
|
558
|
+
hasLight?: boolean | undefined;
|
|
559
|
+
hasSiren?: boolean | undefined;
|
|
560
|
+
hasBinarySensor?: boolean | undefined;
|
|
561
|
+
hasBattery?: boolean | undefined;
|
|
530
562
|
activityZones?: {
|
|
531
563
|
name: string;
|
|
532
564
|
regions: {
|
|
@@ -534,30 +566,13 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
534
566
|
points: [number, number];
|
|
535
567
|
_id?: string | undefined;
|
|
536
568
|
}[];
|
|
537
|
-
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" | "
|
|
538
|
-
_id?: string | undefined;
|
|
539
|
-
type?: "intersect" | "contain" | undefined;
|
|
569
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
540
570
|
filter?: "include" | "exclude" | undefined;
|
|
571
|
+
type?: "intersect" | "contain" | undefined;
|
|
572
|
+
_id?: string | undefined;
|
|
541
573
|
isPrivacyMask?: boolean | undefined;
|
|
542
574
|
}[];
|
|
543
575
|
}[] | undefined;
|
|
544
|
-
nativeId?: string | undefined;
|
|
545
|
-
pluginId?: string | undefined;
|
|
546
|
-
disabled?: boolean | undefined;
|
|
547
|
-
isCloud?: boolean | undefined;
|
|
548
|
-
hasLight?: boolean | undefined;
|
|
549
|
-
hasSiren?: boolean | undefined;
|
|
550
|
-
hasBinarySensor?: boolean | undefined;
|
|
551
|
-
hasBattery?: boolean | undefined;
|
|
552
|
-
info?: {
|
|
553
|
-
model: string;
|
|
554
|
-
manufacturer: string;
|
|
555
|
-
hardware: string;
|
|
556
|
-
serialNumber: string;
|
|
557
|
-
firmwareVersion: string;
|
|
558
|
-
supportUrl: string;
|
|
559
|
-
} | undefined;
|
|
560
|
-
type?: "doorbell" | "camera" | undefined;
|
|
561
576
|
activitySettings?: {
|
|
562
577
|
object: {
|
|
563
578
|
confidence: number;
|
|
@@ -571,21 +586,6 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
571
586
|
fps: number;
|
|
572
587
|
resolution: 640 | 480 | 320;
|
|
573
588
|
} | undefined;
|
|
574
|
-
extensions?: {
|
|
575
|
-
plugins: string[];
|
|
576
|
-
hub?: string[] | undefined;
|
|
577
|
-
prebuffer?: string | undefined;
|
|
578
|
-
motionDetection?: string | undefined;
|
|
579
|
-
objectDetection?: string | undefined;
|
|
580
|
-
audioDetection?: string | undefined;
|
|
581
|
-
ptz?: string | undefined;
|
|
582
|
-
} | undefined;
|
|
583
|
-
recording?: {
|
|
584
|
-
enabled?: boolean | undefined;
|
|
585
|
-
} | undefined;
|
|
586
|
-
interface?: {
|
|
587
|
-
streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
|
|
588
|
-
} | undefined;
|
|
589
589
|
}>;
|
|
590
590
|
export declare const patchCameraSchema: zod.ZodObject<{
|
|
591
591
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -616,17 +616,17 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
616
616
|
sources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
617
617
|
_id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
|
|
618
618
|
name: zod.ZodEffects<zod.ZodString, string, string>;
|
|
619
|
-
roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("
|
|
619
|
+
roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("none" | "detect" | "record" | "stream" | "snapshot")[], ("none" | "detect" | "record" | "stream" | "snapshot")[]>;
|
|
620
620
|
urls: zod.ZodArray<zod.ZodString, "many">;
|
|
621
621
|
}, "strict", zod.ZodTypeAny, {
|
|
622
|
-
_id: string;
|
|
623
622
|
name: string;
|
|
624
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
625
623
|
urls: string[];
|
|
624
|
+
_id: string;
|
|
625
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
626
626
|
}, {
|
|
627
627
|
name: string;
|
|
628
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
629
628
|
urls: string[];
|
|
629
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
630
630
|
_id?: string | undefined;
|
|
631
631
|
}>, "many">>;
|
|
632
632
|
extensions: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -638,28 +638,28 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
638
638
|
ptz: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
639
639
|
plugins: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
640
640
|
}, "strict", zod.ZodTypeAny, {
|
|
641
|
-
|
|
641
|
+
plugins?: string[] | undefined;
|
|
642
642
|
prebuffer?: string | undefined;
|
|
643
|
+
hub?: string[] | undefined;
|
|
643
644
|
motionDetection?: string | undefined;
|
|
644
|
-
objectDetection?: string | undefined;
|
|
645
645
|
audioDetection?: string | undefined;
|
|
646
|
+
objectDetection?: string | undefined;
|
|
646
647
|
ptz?: string | undefined;
|
|
647
|
-
plugins?: string[] | undefined;
|
|
648
648
|
}, {
|
|
649
|
-
|
|
649
|
+
plugins?: string[] | undefined;
|
|
650
650
|
prebuffer?: string | undefined;
|
|
651
|
+
hub?: string[] | undefined;
|
|
651
652
|
motionDetection?: string | undefined;
|
|
652
|
-
objectDetection?: string | undefined;
|
|
653
653
|
audioDetection?: string | undefined;
|
|
654
|
+
objectDetection?: string | undefined;
|
|
654
655
|
ptz?: string | undefined;
|
|
655
|
-
plugins?: string[] | undefined;
|
|
656
656
|
}>>;
|
|
657
657
|
interface: zod.ZodOptional<zod.ZodObject<{
|
|
658
658
|
streamingMode: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>>;
|
|
659
659
|
}, "strip", zod.ZodTypeAny, {
|
|
660
|
-
streamingMode?: "mp4" | "
|
|
660
|
+
streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
|
|
661
661
|
}, {
|
|
662
|
-
streamingMode?: "mp4" | "
|
|
662
|
+
streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
|
|
663
663
|
}>>;
|
|
664
664
|
recording: zod.ZodOptional<zod.ZodObject<{
|
|
665
665
|
enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
|
|
@@ -687,37 +687,37 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
687
687
|
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">;
|
|
688
688
|
isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
|
|
689
689
|
}, "strict", zod.ZodTypeAny, {
|
|
690
|
-
_id: string;
|
|
691
|
-
type: "intersect" | "contain";
|
|
692
690
|
filter: "include" | "exclude";
|
|
691
|
+
type: "intersect" | "contain";
|
|
692
|
+
_id: string;
|
|
693
693
|
coords: {
|
|
694
694
|
_id: string;
|
|
695
695
|
points: [number, number];
|
|
696
696
|
}[];
|
|
697
|
-
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" | "
|
|
697
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
698
698
|
isPrivacyMask: boolean;
|
|
699
699
|
}, {
|
|
700
700
|
coords: {
|
|
701
701
|
points: [number, number];
|
|
702
702
|
_id?: string | undefined;
|
|
703
703
|
}[];
|
|
704
|
-
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" | "
|
|
705
|
-
_id?: string | undefined;
|
|
706
|
-
type?: "intersect" | "contain" | undefined;
|
|
704
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
707
705
|
filter?: "include" | "exclude" | undefined;
|
|
706
|
+
type?: "intersect" | "contain" | undefined;
|
|
707
|
+
_id?: string | undefined;
|
|
708
708
|
isPrivacyMask?: boolean | undefined;
|
|
709
709
|
}>, "many">;
|
|
710
710
|
}, "strip", zod.ZodTypeAny, {
|
|
711
711
|
name: string;
|
|
712
712
|
regions: {
|
|
713
|
-
_id: string;
|
|
714
|
-
type: "intersect" | "contain";
|
|
715
713
|
filter: "include" | "exclude";
|
|
714
|
+
type: "intersect" | "contain";
|
|
715
|
+
_id: string;
|
|
716
716
|
coords: {
|
|
717
717
|
_id: string;
|
|
718
718
|
points: [number, number];
|
|
719
719
|
}[];
|
|
720
|
-
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" | "
|
|
720
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
721
721
|
isPrivacyMask: boolean;
|
|
722
722
|
}[];
|
|
723
723
|
}, {
|
|
@@ -727,10 +727,10 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
727
727
|
points: [number, number];
|
|
728
728
|
_id?: string | undefined;
|
|
729
729
|
}[];
|
|
730
|
-
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" | "
|
|
731
|
-
_id?: string | undefined;
|
|
732
|
-
type?: "intersect" | "contain" | undefined;
|
|
730
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
733
731
|
filter?: "include" | "exclude" | undefined;
|
|
732
|
+
type?: "intersect" | "contain" | undefined;
|
|
733
|
+
_id?: string | undefined;
|
|
734
734
|
isPrivacyMask?: boolean | undefined;
|
|
735
735
|
}[];
|
|
736
736
|
}>, "many">>;
|
|
@@ -778,31 +778,52 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
778
778
|
resolution: 640 | 480 | 320;
|
|
779
779
|
}>>;
|
|
780
780
|
}, "strict", zod.ZodTypeAny, {
|
|
781
|
+
info?: {
|
|
782
|
+
model?: string | undefined;
|
|
783
|
+
manufacturer?: string | undefined;
|
|
784
|
+
hardware?: string | undefined;
|
|
785
|
+
serialNumber?: string | undefined;
|
|
786
|
+
firmwareVersion?: string | undefined;
|
|
787
|
+
supportUrl?: string | undefined;
|
|
788
|
+
} | undefined;
|
|
781
789
|
name?: string | undefined;
|
|
790
|
+
extensions?: {
|
|
791
|
+
plugins?: string[] | undefined;
|
|
792
|
+
prebuffer?: string | undefined;
|
|
793
|
+
hub?: string[] | undefined;
|
|
794
|
+
motionDetection?: string | undefined;
|
|
795
|
+
audioDetection?: string | undefined;
|
|
796
|
+
objectDetection?: string | undefined;
|
|
797
|
+
ptz?: string | undefined;
|
|
798
|
+
} | undefined;
|
|
799
|
+
type?: "camera" | "doorbell" | undefined;
|
|
800
|
+
interface?: {
|
|
801
|
+
streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
|
|
802
|
+
} | undefined;
|
|
803
|
+
sources?: {
|
|
804
|
+
name: string;
|
|
805
|
+
urls: string[];
|
|
806
|
+
_id: string;
|
|
807
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
808
|
+
}[] | undefined;
|
|
809
|
+
recording?: {
|
|
810
|
+
enabled?: boolean | undefined;
|
|
811
|
+
} | undefined;
|
|
812
|
+
disabled?: boolean | undefined;
|
|
782
813
|
activityZones?: {
|
|
783
814
|
name: string;
|
|
784
815
|
regions: {
|
|
785
|
-
_id: string;
|
|
786
|
-
type: "intersect" | "contain";
|
|
787
816
|
filter: "include" | "exclude";
|
|
817
|
+
type: "intersect" | "contain";
|
|
818
|
+
_id: string;
|
|
788
819
|
coords: {
|
|
789
820
|
_id: string;
|
|
790
821
|
points: [number, number];
|
|
791
822
|
}[];
|
|
792
|
-
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" | "
|
|
823
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
793
824
|
isPrivacyMask: boolean;
|
|
794
825
|
}[];
|
|
795
826
|
}[] | undefined;
|
|
796
|
-
disabled?: boolean | undefined;
|
|
797
|
-
info?: {
|
|
798
|
-
model?: string | undefined;
|
|
799
|
-
manufacturer?: string | undefined;
|
|
800
|
-
hardware?: string | undefined;
|
|
801
|
-
serialNumber?: string | undefined;
|
|
802
|
-
firmwareVersion?: string | undefined;
|
|
803
|
-
supportUrl?: string | undefined;
|
|
804
|
-
} | undefined;
|
|
805
|
-
type?: "doorbell" | "camera" | undefined;
|
|
806
827
|
activitySettings?: {
|
|
807
828
|
object?: {
|
|
808
829
|
confidence: number;
|
|
@@ -816,29 +837,39 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
816
837
|
fps: number;
|
|
817
838
|
resolution: 640 | 480 | 320;
|
|
818
839
|
} | undefined;
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
840
|
+
}, {
|
|
841
|
+
info?: {
|
|
842
|
+
model?: string | undefined;
|
|
843
|
+
manufacturer?: string | undefined;
|
|
844
|
+
hardware?: string | undefined;
|
|
845
|
+
serialNumber?: string | undefined;
|
|
846
|
+
firmwareVersion?: string | undefined;
|
|
847
|
+
supportUrl?: string | undefined;
|
|
848
|
+
} | undefined;
|
|
849
|
+
name?: string | undefined;
|
|
825
850
|
extensions?: {
|
|
826
|
-
|
|
851
|
+
plugins?: string[] | undefined;
|
|
827
852
|
prebuffer?: string | undefined;
|
|
853
|
+
hub?: string[] | undefined;
|
|
828
854
|
motionDetection?: string | undefined;
|
|
829
|
-
objectDetection?: string | undefined;
|
|
830
855
|
audioDetection?: string | undefined;
|
|
856
|
+
objectDetection?: string | undefined;
|
|
831
857
|
ptz?: string | undefined;
|
|
832
|
-
plugins?: string[] | undefined;
|
|
833
858
|
} | undefined;
|
|
859
|
+
type?: "camera" | "doorbell" | undefined;
|
|
860
|
+
interface?: {
|
|
861
|
+
streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
|
|
862
|
+
} | undefined;
|
|
863
|
+
sources?: {
|
|
864
|
+
name: string;
|
|
865
|
+
urls: string[];
|
|
866
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
867
|
+
_id?: string | undefined;
|
|
868
|
+
}[] | undefined;
|
|
834
869
|
recording?: {
|
|
835
870
|
enabled?: boolean | undefined;
|
|
836
871
|
} | undefined;
|
|
837
|
-
|
|
838
|
-
streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
|
|
839
|
-
} | undefined;
|
|
840
|
-
}, {
|
|
841
|
-
name?: string | undefined;
|
|
872
|
+
disabled?: boolean | undefined;
|
|
842
873
|
activityZones?: {
|
|
843
874
|
name: string;
|
|
844
875
|
regions: {
|
|
@@ -846,23 +877,13 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
846
877
|
points: [number, number];
|
|
847
878
|
_id?: string | undefined;
|
|
848
879
|
}[];
|
|
849
|
-
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" | "
|
|
850
|
-
_id?: string | undefined;
|
|
851
|
-
type?: "intersect" | "contain" | undefined;
|
|
880
|
+
classes: ("remote" | "motion" | "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" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush")[];
|
|
852
881
|
filter?: "include" | "exclude" | undefined;
|
|
882
|
+
type?: "intersect" | "contain" | undefined;
|
|
883
|
+
_id?: string | undefined;
|
|
853
884
|
isPrivacyMask?: boolean | undefined;
|
|
854
885
|
}[];
|
|
855
886
|
}[] | undefined;
|
|
856
|
-
disabled?: boolean | undefined;
|
|
857
|
-
info?: {
|
|
858
|
-
model?: string | undefined;
|
|
859
|
-
manufacturer?: string | undefined;
|
|
860
|
-
hardware?: string | undefined;
|
|
861
|
-
serialNumber?: string | undefined;
|
|
862
|
-
firmwareVersion?: string | undefined;
|
|
863
|
-
supportUrl?: string | undefined;
|
|
864
|
-
} | undefined;
|
|
865
|
-
type?: "doorbell" | "camera" | undefined;
|
|
866
887
|
activitySettings?: {
|
|
867
888
|
object?: {
|
|
868
889
|
confidence: number;
|
|
@@ -876,27 +897,6 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
876
897
|
fps: number;
|
|
877
898
|
resolution: 640 | 480 | 320;
|
|
878
899
|
} | undefined;
|
|
879
|
-
sources?: {
|
|
880
|
-
name: string;
|
|
881
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
882
|
-
urls: string[];
|
|
883
|
-
_id?: string | undefined;
|
|
884
|
-
}[] | undefined;
|
|
885
|
-
extensions?: {
|
|
886
|
-
hub?: string[] | undefined;
|
|
887
|
-
prebuffer?: string | undefined;
|
|
888
|
-
motionDetection?: string | undefined;
|
|
889
|
-
objectDetection?: string | undefined;
|
|
890
|
-
audioDetection?: string | undefined;
|
|
891
|
-
ptz?: string | undefined;
|
|
892
|
-
plugins?: string[] | undefined;
|
|
893
|
-
} | undefined;
|
|
894
|
-
recording?: {
|
|
895
|
-
enabled?: boolean | undefined;
|
|
896
|
-
} | undefined;
|
|
897
|
-
interface?: {
|
|
898
|
-
streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
|
|
899
|
-
} | undefined;
|
|
900
900
|
}>;
|
|
901
901
|
export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
902
902
|
export declare const previewCameraSchema: zod.ZodObject<{
|