@camera.ui/browser 0.0.77 → 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 +21 -7
- package/dist/types/packages/client/browser/src/proxy/deviceManager.d.ts +4 -0
- package/dist/types/packages/client/browser/src/socket.d.ts +7 -7
- package/dist/types/packages/client/browser/src/streaming/go2rts-session.d.ts +54 -0
- package/dist/types/packages/client/browser/src/types.d.ts +11 -8
- package/dist/types/packages/client/browser/src/utils.d.ts +12 -0
- package/dist/types/server/src/api/controllers/users.controller.d.ts +9 -3
- package/dist/types/server/src/api/database/index.d.ts +10 -3
- package/dist/types/server/src/api/database/types.d.ts +35 -29
- package/dist/types/server/src/api/go2rtc/api/config.d.ts +3 -4
- package/dist/types/server/src/api/go2rtc/api/index.d.ts +1 -2
- package/dist/types/server/src/api/go2rtc/api/streams.d.ts +5 -6
- package/dist/types/server/src/api/go2rtc/types.d.ts +5 -2
- package/dist/types/server/src/api/index.d.ts +7 -9
- 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 +201 -142
- package/dist/types/server/src/api/schemas/config.schema.d.ts +20 -20
- package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +60 -60
- 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/plugins.service.d.ts +1 -0
- package/dist/types/server/src/api/services/users.service.d.ts +6 -2
- package/dist/types/server/src/api/types/index.d.ts +34 -8
- package/dist/types/server/src/api/utils/fetch.d.ts +2 -0
- package/dist/types/server/src/api/websocket/nsp/status.d.ts +1 -1
- package/dist/types/server/src/api/websocket/types.d.ts +1 -15
- package/dist/types/server/src/api.d.ts +1 -2
- package/dist/types/server/src/camera/controller.d.ts +23 -12
- package/dist/types/server/src/camera/device.d.ts +7 -16
- package/dist/types/server/src/camera/index.d.ts +31 -22
- 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/polygon.d.ts +3 -2
- package/dist/types/server/src/camera/streaming/peer-connection.d.ts +1 -1
- 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 +60 -21
- package/dist/types/server/src/camera/videoFrame.d.ts +10 -11
- package/dist/types/server/src/decoder/types.d.ts +31 -22
- package/dist/types/server/src/decoder/worker.d.ts +4 -4
- package/dist/types/server/src/nats/index.d.ts +1 -1
- package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +30 -36
- 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/server.d.ts +10 -7
- package/dist/types/server/src/nats/types.d.ts +27 -53
- package/dist/types/server/src/nats/websocket.d.ts +9 -5
- package/dist/types/server/src/plugins/base.d.ts +2 -3
- package/dist/types/server/src/plugins/index.d.ts +1 -0
- 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/api.d.ts +1 -2
- package/dist/types/server/src/polyglot/node/plugins/cameraStorage.d.ts +2 -2
- package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +35 -14
- package/dist/types/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +5 -5
- package/dist/types/server/src/polyglot/node/plugins/proxy/pluginsManager.d.ts +5 -5
- package/dist/types/server/src/polyglot/node/plugins/proxy/systemManager.d.ts +5 -5
- package/dist/types/server/src/polyglot/node/plugins/schema.d.ts +10 -2
- package/dist/types/server/src/polyglot/node/plugins/storageController.d.ts +1 -1
- package/dist/types/server/src/services/config/constants.d.ts +0 -2
- 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/server/src/utils/packer.d.ts +2 -0
- package/dist/types/server/src/utils/pythonInstaller.d.ts +1 -1
- package/dist/types/server/src/utils/utils.d.ts +5 -0
- package/dist/types/shared/types/index.d.ts +5 -0
- package/package.json +10 -14
- package/dist/types/packages/client/browser/src/streaming/peer-connection.d.ts +0 -24
- package/dist/types/packages/client/browser/src/streaming/streaming-session.d.ts +0 -25
- package/dist/types/packages/client/browser/src/streaming/webrtc-connection.d.ts +0 -26
- package/dist/types/server/src/api/utils/axios.d.ts +0 -2
- package/dist/types/server/src/api/websocket/nsp/streams.d.ts +0 -15
|
@@ -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
37
|
filter: "include" | "exclude";
|
|
39
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;
|
|
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")[];
|
|
53
52
|
filter?: "include" | "exclude" | undefined;
|
|
54
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
76
|
filter: "include" | "exclude";
|
|
78
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;
|
|
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")[];
|
|
92
91
|
filter?: "include" | "exclude" | undefined;
|
|
93
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
99
|
filter: "include" | "exclude";
|
|
101
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;
|
|
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")[];
|
|
118
117
|
filter?: "include" | "exclude" | undefined;
|
|
119
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,29 +193,42 @@ 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">]>;
|
|
212
|
+
export declare const frameWorkerSettingsSchema: zod.ZodObject<{
|
|
213
|
+
decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">]>;
|
|
214
|
+
fps: zod.ZodNumber;
|
|
215
|
+
resolution: zod.ZodUnion<[zod.ZodLiteral<640>, zod.ZodLiteral<480>, zod.ZodLiteral<320>]>;
|
|
216
|
+
}, "strip", zod.ZodTypeAny, {
|
|
217
|
+
decoder: "pillow" | "wasm";
|
|
218
|
+
fps: number;
|
|
219
|
+
resolution: 640 | 480 | 320;
|
|
220
|
+
}, {
|
|
221
|
+
decoder: "pillow" | "wasm";
|
|
222
|
+
fps: number;
|
|
223
|
+
resolution: 640 | 480 | 320;
|
|
224
|
+
}>;
|
|
212
225
|
export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, zod.ZodLiteral<"doorbell">]>;
|
|
213
226
|
export declare const interfaceSettingsSchema: zod.ZodObject<{
|
|
214
|
-
|
|
227
|
+
streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
|
|
215
228
|
}, "strip", zod.ZodTypeAny, {
|
|
216
|
-
|
|
229
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
217
230
|
}, {
|
|
218
|
-
|
|
231
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
219
232
|
}>;
|
|
220
233
|
export declare const cameraInfoSchema: zod.ZodObject<{
|
|
221
234
|
model: zod.ZodString;
|
|
@@ -276,17 +289,17 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
276
289
|
sources: zod.ZodArray<zod.ZodObject<{
|
|
277
290
|
_id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
|
|
278
291
|
name: zod.ZodEffects<zod.ZodString, string, string>;
|
|
279
|
-
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")[]>;
|
|
280
293
|
urls: zod.ZodArray<zod.ZodString, "many">;
|
|
281
294
|
}, "strict", zod.ZodTypeAny, {
|
|
282
|
-
_id: string;
|
|
283
295
|
name: string;
|
|
284
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
285
296
|
urls: string[];
|
|
297
|
+
_id: string;
|
|
298
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
286
299
|
}, {
|
|
287
300
|
name: string;
|
|
288
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
289
301
|
urls: string[];
|
|
302
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
290
303
|
_id?: string | undefined;
|
|
291
304
|
}>, "many">;
|
|
292
305
|
extensions: zod.ZodDefault<zod.ZodObject<{
|
|
@@ -299,19 +312,19 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
299
312
|
plugins: zod.ZodArray<zod.ZodString, "many">;
|
|
300
313
|
}, "strict", zod.ZodTypeAny, {
|
|
301
314
|
plugins: string[];
|
|
302
|
-
hub?: string[] | undefined;
|
|
303
315
|
prebuffer?: string | undefined;
|
|
316
|
+
hub?: string[] | undefined;
|
|
304
317
|
motionDetection?: string | undefined;
|
|
305
|
-
objectDetection?: string | undefined;
|
|
306
318
|
audioDetection?: string | undefined;
|
|
319
|
+
objectDetection?: string | undefined;
|
|
307
320
|
ptz?: string | undefined;
|
|
308
321
|
}, {
|
|
309
322
|
plugins: string[];
|
|
310
|
-
hub?: string[] | undefined;
|
|
311
323
|
prebuffer?: string | undefined;
|
|
324
|
+
hub?: string[] | undefined;
|
|
312
325
|
motionDetection?: string | undefined;
|
|
313
|
-
objectDetection?: string | undefined;
|
|
314
326
|
audioDetection?: string | undefined;
|
|
327
|
+
objectDetection?: string | undefined;
|
|
315
328
|
ptz?: string | undefined;
|
|
316
329
|
}>>;
|
|
317
330
|
recording: zod.ZodDefault<zod.ZodObject<{
|
|
@@ -322,11 +335,11 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
322
335
|
enabled?: boolean | undefined;
|
|
323
336
|
}>>;
|
|
324
337
|
interface: zod.ZodDefault<zod.ZodObject<{
|
|
325
|
-
|
|
338
|
+
streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
|
|
326
339
|
}, "strip", zod.ZodTypeAny, {
|
|
327
|
-
|
|
340
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
328
341
|
}, {
|
|
329
|
-
|
|
342
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
330
343
|
}>>;
|
|
331
344
|
activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
332
345
|
name: zod.ZodString;
|
|
@@ -347,37 +360,37 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
347
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">;
|
|
348
361
|
isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
|
|
349
362
|
}, "strict", zod.ZodTypeAny, {
|
|
350
|
-
_id: string;
|
|
351
363
|
filter: "include" | "exclude";
|
|
352
364
|
type: "intersect" | "contain";
|
|
365
|
+
_id: string;
|
|
353
366
|
coords: {
|
|
354
367
|
_id: string;
|
|
355
368
|
points: [number, number];
|
|
356
369
|
}[];
|
|
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" | "
|
|
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")[];
|
|
358
371
|
isPrivacyMask: boolean;
|
|
359
372
|
}, {
|
|
360
373
|
coords: {
|
|
361
374
|
points: [number, number];
|
|
362
375
|
_id?: string | undefined;
|
|
363
376
|
}[];
|
|
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" | "
|
|
365
|
-
_id?: string | 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")[];
|
|
366
378
|
filter?: "include" | "exclude" | undefined;
|
|
367
379
|
type?: "intersect" | "contain" | undefined;
|
|
380
|
+
_id?: string | undefined;
|
|
368
381
|
isPrivacyMask?: boolean | undefined;
|
|
369
382
|
}>, "many">;
|
|
370
383
|
}, "strip", zod.ZodTypeAny, {
|
|
371
384
|
name: string;
|
|
372
385
|
regions: {
|
|
373
|
-
_id: string;
|
|
374
386
|
filter: "include" | "exclude";
|
|
375
387
|
type: "intersect" | "contain";
|
|
388
|
+
_id: string;
|
|
376
389
|
coords: {
|
|
377
390
|
_id: string;
|
|
378
391
|
points: [number, number];
|
|
379
392
|
}[];
|
|
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" | "
|
|
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")[];
|
|
381
394
|
isPrivacyMask: boolean;
|
|
382
395
|
}[];
|
|
383
396
|
}, {
|
|
@@ -387,10 +400,10 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
387
400
|
points: [number, number];
|
|
388
401
|
_id?: string | undefined;
|
|
389
402
|
}[];
|
|
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" | "
|
|
391
|
-
_id?: string | 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")[];
|
|
392
404
|
filter?: "include" | "exclude" | undefined;
|
|
393
405
|
type?: "intersect" | "contain" | undefined;
|
|
406
|
+
_id?: string | undefined;
|
|
394
407
|
isPrivacyMask?: boolean | undefined;
|
|
395
408
|
}[];
|
|
396
409
|
}>, "many">>;
|
|
@@ -424,10 +437,20 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
424
437
|
timeout: number;
|
|
425
438
|
};
|
|
426
439
|
}>>;
|
|
440
|
+
frameWorkerSettings: zod.ZodDefault<zod.ZodObject<{
|
|
441
|
+
decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">]>;
|
|
442
|
+
fps: zod.ZodNumber;
|
|
443
|
+
resolution: zod.ZodUnion<[zod.ZodLiteral<640>, zod.ZodLiteral<480>, zod.ZodLiteral<320>]>;
|
|
444
|
+
}, "strip", zod.ZodTypeAny, {
|
|
445
|
+
decoder: "pillow" | "wasm";
|
|
446
|
+
fps: number;
|
|
447
|
+
resolution: 640 | 480 | 320;
|
|
448
|
+
}, {
|
|
449
|
+
decoder: "pillow" | "wasm";
|
|
450
|
+
fps: number;
|
|
451
|
+
resolution: 640 | 480 | 320;
|
|
452
|
+
}>>;
|
|
427
453
|
}, "strict", zod.ZodTypeAny, {
|
|
428
|
-
_id: string;
|
|
429
|
-
name: string;
|
|
430
|
-
disabled: boolean;
|
|
431
454
|
info: {
|
|
432
455
|
model: string;
|
|
433
456
|
manufacturer: string;
|
|
@@ -436,45 +459,48 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
436
459
|
firmwareVersion: string;
|
|
437
460
|
supportUrl: string;
|
|
438
461
|
};
|
|
439
|
-
|
|
440
|
-
pluginId: string;
|
|
441
|
-
isCloud: boolean;
|
|
442
|
-
hasLight: boolean;
|
|
443
|
-
hasSiren: boolean;
|
|
444
|
-
hasBinarySensor: boolean;
|
|
445
|
-
hasBattery: boolean;
|
|
446
|
-
sources: {
|
|
447
|
-
_id: string;
|
|
448
|
-
name: string;
|
|
449
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
450
|
-
urls: string[];
|
|
451
|
-
}[];
|
|
462
|
+
name: string;
|
|
452
463
|
extensions: {
|
|
453
464
|
plugins: string[];
|
|
454
|
-
hub?: string[] | undefined;
|
|
455
465
|
prebuffer?: string | undefined;
|
|
466
|
+
hub?: string[] | undefined;
|
|
456
467
|
motionDetection?: string | undefined;
|
|
457
|
-
objectDetection?: string | undefined;
|
|
458
468
|
audioDetection?: string | undefined;
|
|
469
|
+
objectDetection?: string | undefined;
|
|
459
470
|
ptz?: string | undefined;
|
|
460
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
|
+
}[];
|
|
461
484
|
recording: {
|
|
462
485
|
enabled: boolean;
|
|
463
486
|
};
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
487
|
+
disabled: boolean;
|
|
488
|
+
isCloud: boolean;
|
|
489
|
+
hasLight: boolean;
|
|
490
|
+
hasSiren: boolean;
|
|
491
|
+
hasBinarySensor: boolean;
|
|
492
|
+
hasBattery: boolean;
|
|
467
493
|
activityZones: {
|
|
468
494
|
name: string;
|
|
469
495
|
regions: {
|
|
470
|
-
_id: string;
|
|
471
496
|
filter: "include" | "exclude";
|
|
472
497
|
type: "intersect" | "contain";
|
|
498
|
+
_id: string;
|
|
473
499
|
coords: {
|
|
474
500
|
_id: string;
|
|
475
501
|
points: [number, number];
|
|
476
502
|
}[];
|
|
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" | "
|
|
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")[];
|
|
478
504
|
isPrivacyMask: boolean;
|
|
479
505
|
}[];
|
|
480
506
|
}[];
|
|
@@ -486,17 +512,20 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
486
512
|
timeout: number;
|
|
487
513
|
};
|
|
488
514
|
};
|
|
515
|
+
frameWorkerSettings: {
|
|
516
|
+
decoder: "pillow" | "wasm";
|
|
517
|
+
fps: number;
|
|
518
|
+
resolution: 640 | 480 | 320;
|
|
519
|
+
};
|
|
489
520
|
nativeId?: string | undefined;
|
|
490
521
|
}, {
|
|
491
522
|
name: string;
|
|
492
523
|
sources: {
|
|
493
524
|
name: string;
|
|
494
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
495
525
|
urls: string[];
|
|
526
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
496
527
|
_id?: string | undefined;
|
|
497
528
|
}[];
|
|
498
|
-
_id?: string | undefined;
|
|
499
|
-
disabled?: boolean | undefined;
|
|
500
529
|
info?: {
|
|
501
530
|
model: string;
|
|
502
531
|
manufacturer: string;
|
|
@@ -505,29 +534,31 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
505
534
|
firmwareVersion: string;
|
|
506
535
|
supportUrl: string;
|
|
507
536
|
} | undefined;
|
|
508
|
-
type?: "doorbell" | "camera" | undefined;
|
|
509
|
-
nativeId?: string | undefined;
|
|
510
|
-
pluginId?: string | undefined;
|
|
511
|
-
isCloud?: boolean | undefined;
|
|
512
|
-
hasLight?: boolean | undefined;
|
|
513
|
-
hasSiren?: boolean | undefined;
|
|
514
|
-
hasBinarySensor?: boolean | undefined;
|
|
515
|
-
hasBattery?: boolean | undefined;
|
|
516
537
|
extensions?: {
|
|
517
538
|
plugins: string[];
|
|
518
|
-
hub?: string[] | undefined;
|
|
519
539
|
prebuffer?: string | undefined;
|
|
540
|
+
hub?: string[] | undefined;
|
|
520
541
|
motionDetection?: string | undefined;
|
|
521
|
-
objectDetection?: string | undefined;
|
|
522
542
|
audioDetection?: string | undefined;
|
|
543
|
+
objectDetection?: string | undefined;
|
|
523
544
|
ptz?: string | undefined;
|
|
524
545
|
} | undefined;
|
|
546
|
+
type?: "camera" | "doorbell" | undefined;
|
|
547
|
+
interface?: {
|
|
548
|
+
streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
|
|
549
|
+
} | undefined;
|
|
550
|
+
_id?: string | undefined;
|
|
551
|
+
pluginId?: string | undefined;
|
|
525
552
|
recording?: {
|
|
526
553
|
enabled?: boolean | undefined;
|
|
527
554
|
} | undefined;
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
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;
|
|
531
562
|
activityZones?: {
|
|
532
563
|
name: string;
|
|
533
564
|
regions: {
|
|
@@ -535,10 +566,10 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
535
566
|
points: [number, number];
|
|
536
567
|
_id?: string | undefined;
|
|
537
568
|
}[];
|
|
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" | "
|
|
539
|
-
_id?: string | 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;
|
|
541
571
|
type?: "intersect" | "contain" | undefined;
|
|
572
|
+
_id?: string | undefined;
|
|
542
573
|
isPrivacyMask?: boolean | undefined;
|
|
543
574
|
}[];
|
|
544
575
|
}[] | undefined;
|
|
@@ -550,6 +581,11 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
550
581
|
timeout: number;
|
|
551
582
|
};
|
|
552
583
|
} | undefined;
|
|
584
|
+
frameWorkerSettings?: {
|
|
585
|
+
decoder: "pillow" | "wasm";
|
|
586
|
+
fps: number;
|
|
587
|
+
resolution: 640 | 480 | 320;
|
|
588
|
+
} | undefined;
|
|
553
589
|
}>;
|
|
554
590
|
export declare const patchCameraSchema: zod.ZodObject<{
|
|
555
591
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -580,17 +616,17 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
580
616
|
sources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
581
617
|
_id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
|
|
582
618
|
name: zod.ZodEffects<zod.ZodString, string, string>;
|
|
583
|
-
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")[]>;
|
|
584
620
|
urls: zod.ZodArray<zod.ZodString, "many">;
|
|
585
621
|
}, "strict", zod.ZodTypeAny, {
|
|
586
|
-
_id: string;
|
|
587
622
|
name: string;
|
|
588
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
589
623
|
urls: string[];
|
|
624
|
+
_id: string;
|
|
625
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
590
626
|
}, {
|
|
591
627
|
name: string;
|
|
592
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
593
628
|
urls: string[];
|
|
629
|
+
roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
|
|
594
630
|
_id?: string | undefined;
|
|
595
631
|
}>, "many">>;
|
|
596
632
|
extensions: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -602,28 +638,28 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
602
638
|
ptz: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
603
639
|
plugins: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
604
640
|
}, "strict", zod.ZodTypeAny, {
|
|
605
|
-
|
|
641
|
+
plugins?: string[] | undefined;
|
|
606
642
|
prebuffer?: string | undefined;
|
|
643
|
+
hub?: string[] | undefined;
|
|
607
644
|
motionDetection?: string | undefined;
|
|
608
|
-
objectDetection?: string | undefined;
|
|
609
645
|
audioDetection?: string | undefined;
|
|
646
|
+
objectDetection?: string | undefined;
|
|
610
647
|
ptz?: string | undefined;
|
|
611
|
-
plugins?: string[] | undefined;
|
|
612
648
|
}, {
|
|
613
|
-
|
|
649
|
+
plugins?: string[] | undefined;
|
|
614
650
|
prebuffer?: string | undefined;
|
|
651
|
+
hub?: string[] | undefined;
|
|
615
652
|
motionDetection?: string | undefined;
|
|
616
|
-
objectDetection?: string | undefined;
|
|
617
653
|
audioDetection?: string | undefined;
|
|
654
|
+
objectDetection?: string | undefined;
|
|
618
655
|
ptz?: string | undefined;
|
|
619
|
-
plugins?: string[] | undefined;
|
|
620
656
|
}>>;
|
|
621
657
|
interface: zod.ZodOptional<zod.ZodObject<{
|
|
622
|
-
|
|
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">]>>;
|
|
623
659
|
}, "strip", zod.ZodTypeAny, {
|
|
624
|
-
|
|
660
|
+
streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
|
|
625
661
|
}, {
|
|
626
|
-
|
|
662
|
+
streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
|
|
627
663
|
}>>;
|
|
628
664
|
recording: zod.ZodOptional<zod.ZodObject<{
|
|
629
665
|
enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
|
|
@@ -651,37 +687,37 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
651
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">;
|
|
652
688
|
isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
|
|
653
689
|
}, "strict", zod.ZodTypeAny, {
|
|
654
|
-
_id: string;
|
|
655
690
|
filter: "include" | "exclude";
|
|
656
691
|
type: "intersect" | "contain";
|
|
692
|
+
_id: string;
|
|
657
693
|
coords: {
|
|
658
694
|
_id: string;
|
|
659
695
|
points: [number, number];
|
|
660
696
|
}[];
|
|
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" | "
|
|
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")[];
|
|
662
698
|
isPrivacyMask: boolean;
|
|
663
699
|
}, {
|
|
664
700
|
coords: {
|
|
665
701
|
points: [number, number];
|
|
666
702
|
_id?: string | undefined;
|
|
667
703
|
}[];
|
|
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" | "
|
|
669
|
-
_id?: string | 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")[];
|
|
670
705
|
filter?: "include" | "exclude" | undefined;
|
|
671
706
|
type?: "intersect" | "contain" | undefined;
|
|
707
|
+
_id?: string | undefined;
|
|
672
708
|
isPrivacyMask?: boolean | undefined;
|
|
673
709
|
}>, "many">;
|
|
674
710
|
}, "strip", zod.ZodTypeAny, {
|
|
675
711
|
name: string;
|
|
676
712
|
regions: {
|
|
677
|
-
_id: string;
|
|
678
713
|
filter: "include" | "exclude";
|
|
679
714
|
type: "intersect" | "contain";
|
|
715
|
+
_id: string;
|
|
680
716
|
coords: {
|
|
681
717
|
_id: string;
|
|
682
718
|
points: [number, number];
|
|
683
719
|
}[];
|
|
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" | "
|
|
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")[];
|
|
685
721
|
isPrivacyMask: boolean;
|
|
686
722
|
}[];
|
|
687
723
|
}, {
|
|
@@ -691,10 +727,10 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
691
727
|
points: [number, number];
|
|
692
728
|
_id?: string | undefined;
|
|
693
729
|
}[];
|
|
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" | "
|
|
695
|
-
_id?: string | 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")[];
|
|
696
731
|
filter?: "include" | "exclude" | undefined;
|
|
697
732
|
type?: "intersect" | "contain" | undefined;
|
|
733
|
+
_id?: string | undefined;
|
|
698
734
|
isPrivacyMask?: boolean | undefined;
|
|
699
735
|
}[];
|
|
700
736
|
}>, "many">>;
|
|
@@ -728,9 +764,20 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
728
764
|
timeout: number;
|
|
729
765
|
} | undefined;
|
|
730
766
|
}>>;
|
|
767
|
+
frameWorkerSettings: zod.ZodOptional<zod.ZodObject<{
|
|
768
|
+
decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">]>;
|
|
769
|
+
fps: zod.ZodNumber;
|
|
770
|
+
resolution: zod.ZodUnion<[zod.ZodLiteral<640>, zod.ZodLiteral<480>, zod.ZodLiteral<320>]>;
|
|
771
|
+
}, "strip", zod.ZodTypeAny, {
|
|
772
|
+
decoder: "pillow" | "wasm";
|
|
773
|
+
fps: number;
|
|
774
|
+
resolution: 640 | 480 | 320;
|
|
775
|
+
}, {
|
|
776
|
+
decoder: "pillow" | "wasm";
|
|
777
|
+
fps: number;
|
|
778
|
+
resolution: 640 | 480 | 320;
|
|
779
|
+
}>>;
|
|
731
780
|
}, "strict", zod.ZodTypeAny, {
|
|
732
|
-
name?: string | undefined;
|
|
733
|
-
disabled?: boolean | undefined;
|
|
734
781
|
info?: {
|
|
735
782
|
model?: string | undefined;
|
|
736
783
|
manufacturer?: string | undefined;
|
|
@@ -739,39 +786,41 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
739
786
|
firmwareVersion?: string | undefined;
|
|
740
787
|
supportUrl?: string | undefined;
|
|
741
788
|
} | undefined;
|
|
742
|
-
|
|
743
|
-
sources?: {
|
|
744
|
-
_id: string;
|
|
745
|
-
name: string;
|
|
746
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
747
|
-
urls: string[];
|
|
748
|
-
}[] | undefined;
|
|
789
|
+
name?: string | undefined;
|
|
749
790
|
extensions?: {
|
|
750
|
-
|
|
791
|
+
plugins?: string[] | undefined;
|
|
751
792
|
prebuffer?: string | undefined;
|
|
793
|
+
hub?: string[] | undefined;
|
|
752
794
|
motionDetection?: string | undefined;
|
|
753
|
-
objectDetection?: string | undefined;
|
|
754
795
|
audioDetection?: string | undefined;
|
|
796
|
+
objectDetection?: string | undefined;
|
|
755
797
|
ptz?: string | undefined;
|
|
756
|
-
plugins?: string[] | undefined;
|
|
757
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;
|
|
758
809
|
recording?: {
|
|
759
810
|
enabled?: boolean | undefined;
|
|
760
811
|
} | undefined;
|
|
761
|
-
|
|
762
|
-
streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
|
|
763
|
-
} | undefined;
|
|
812
|
+
disabled?: boolean | undefined;
|
|
764
813
|
activityZones?: {
|
|
765
814
|
name: string;
|
|
766
815
|
regions: {
|
|
767
|
-
_id: string;
|
|
768
816
|
filter: "include" | "exclude";
|
|
769
817
|
type: "intersect" | "contain";
|
|
818
|
+
_id: string;
|
|
770
819
|
coords: {
|
|
771
820
|
_id: string;
|
|
772
821
|
points: [number, number];
|
|
773
822
|
}[];
|
|
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" | "
|
|
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")[];
|
|
775
824
|
isPrivacyMask: boolean;
|
|
776
825
|
}[];
|
|
777
826
|
}[] | undefined;
|
|
@@ -783,9 +832,12 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
783
832
|
timeout: number;
|
|
784
833
|
} | undefined;
|
|
785
834
|
} | undefined;
|
|
835
|
+
frameWorkerSettings?: {
|
|
836
|
+
decoder: "pillow" | "wasm";
|
|
837
|
+
fps: number;
|
|
838
|
+
resolution: 640 | 480 | 320;
|
|
839
|
+
} | undefined;
|
|
786
840
|
}, {
|
|
787
|
-
name?: string | undefined;
|
|
788
|
-
disabled?: boolean | undefined;
|
|
789
841
|
info?: {
|
|
790
842
|
model?: string | undefined;
|
|
791
843
|
manufacturer?: string | undefined;
|
|
@@ -794,28 +846,30 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
794
846
|
firmwareVersion?: string | undefined;
|
|
795
847
|
supportUrl?: string | undefined;
|
|
796
848
|
} | undefined;
|
|
797
|
-
|
|
798
|
-
sources?: {
|
|
799
|
-
name: string;
|
|
800
|
-
roles: ("detect" | "record" | "stream" | "snapshot" | "none")[];
|
|
801
|
-
urls: string[];
|
|
802
|
-
_id?: string | undefined;
|
|
803
|
-
}[] | undefined;
|
|
849
|
+
name?: string | undefined;
|
|
804
850
|
extensions?: {
|
|
805
|
-
|
|
851
|
+
plugins?: string[] | undefined;
|
|
806
852
|
prebuffer?: string | undefined;
|
|
853
|
+
hub?: string[] | undefined;
|
|
807
854
|
motionDetection?: string | undefined;
|
|
808
|
-
objectDetection?: string | undefined;
|
|
809
855
|
audioDetection?: string | undefined;
|
|
856
|
+
objectDetection?: string | undefined;
|
|
810
857
|
ptz?: string | undefined;
|
|
811
|
-
plugins?: string[] | undefined;
|
|
812
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;
|
|
813
869
|
recording?: {
|
|
814
870
|
enabled?: boolean | undefined;
|
|
815
871
|
} | undefined;
|
|
816
|
-
|
|
817
|
-
streamingModes?: ("mp4" | "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls")[] | undefined;
|
|
818
|
-
} | undefined;
|
|
872
|
+
disabled?: boolean | undefined;
|
|
819
873
|
activityZones?: {
|
|
820
874
|
name: string;
|
|
821
875
|
regions: {
|
|
@@ -823,10 +877,10 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
823
877
|
points: [number, number];
|
|
824
878
|
_id?: string | undefined;
|
|
825
879
|
}[];
|
|
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" | "
|
|
827
|
-
_id?: string | 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")[];
|
|
828
881
|
filter?: "include" | "exclude" | undefined;
|
|
829
882
|
type?: "intersect" | "contain" | undefined;
|
|
883
|
+
_id?: string | undefined;
|
|
830
884
|
isPrivacyMask?: boolean | undefined;
|
|
831
885
|
}[];
|
|
832
886
|
}[] | undefined;
|
|
@@ -838,6 +892,11 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
838
892
|
timeout: number;
|
|
839
893
|
} | undefined;
|
|
840
894
|
} | undefined;
|
|
895
|
+
frameWorkerSettings?: {
|
|
896
|
+
decoder: "pillow" | "wasm";
|
|
897
|
+
fps: number;
|
|
898
|
+
resolution: 640 | 480 | 320;
|
|
899
|
+
} | undefined;
|
|
841
900
|
}>;
|
|
842
901
|
export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
843
902
|
export declare const previewCameraSchema: zod.ZodObject<{
|