@camera.ui/browser 0.0.88 → 0.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/server/src/api/database/index.d.ts +1 -2
  3. package/dist/types/server/src/api/database/types.d.ts +7 -2
  4. package/dist/types/server/src/api/go2rtc/api/streams.d.ts +2 -1
  5. package/dist/types/server/src/api/go2rtc/types.d.ts +44 -0
  6. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +102 -102
  7. package/dist/types/server/src/api/schemas/config.schema.d.ts +24 -96
  8. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +81 -81
  9. package/dist/types/server/src/api/schemas/users.schema.d.ts +158 -158
  10. package/dist/types/server/src/api/services/cameras.service.d.ts +1 -5
  11. package/dist/types/server/src/api/types/index.d.ts +5 -0
  12. package/dist/types/server/src/camera/iou.d.ts +2 -0
  13. package/dist/types/server/src/camera/streaming/peer-connection.d.ts +4 -2
  14. package/dist/types/server/src/camera/streaming/webrtc-connection.d.ts +2 -0
  15. package/dist/types/server/src/camera/streaming/werift-session.d.ts +1 -1
  16. package/dist/types/server/src/camera/types.d.ts +2 -1
  17. package/dist/types/server/src/plugins/worker.d.ts +1 -0
  18. package/dist/types/server/src/polyglot/node/plugins/cameraStorage.d.ts +3 -3
  19. package/dist/types/server/src/polyglot/node/plugins/configService.d.ts +1 -1
  20. package/dist/types/server/src/polyglot/node/plugins/pluginApi.d.ts +3 -2
  21. package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +4 -4
  22. package/dist/types/server/src/polyglot/node/plugins/storageController.d.ts +3 -1
  23. package/dist/types/server/src/services/config/index.d.ts +6 -3
  24. package/dist/types/server/src/services/config/types.d.ts +8 -8
  25. package/dist/types/server/src/types.d.ts +3 -0
  26. package/package.json +3 -3
@@ -41,14 +41,14 @@ export declare const regionsSchema: zod.ZodObject<{
41
41
  _id: string;
42
42
  points: [number, number];
43
43
  }[];
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")[];
44
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
45
45
  isPrivacyMask: boolean;
46
46
  }, {
47
47
  coords: {
48
48
  points: [number, number];
49
49
  _id?: string | undefined;
50
50
  }[];
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")[];
51
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
52
52
  filter?: "include" | "exclude" | undefined;
53
53
  type?: "intersect" | "contain" | undefined;
54
54
  _id?: string | undefined;
@@ -80,14 +80,14 @@ export declare const cameraZonesSchema: zod.ZodObject<{
80
80
  _id: string;
81
81
  points: [number, number];
82
82
  }[];
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")[];
83
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
84
84
  isPrivacyMask: boolean;
85
85
  }, {
86
86
  coords: {
87
87
  points: [number, number];
88
88
  _id?: string | undefined;
89
89
  }[];
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")[];
90
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
91
91
  filter?: "include" | "exclude" | undefined;
92
92
  type?: "intersect" | "contain" | undefined;
93
93
  _id?: string | undefined;
@@ -103,7 +103,7 @@ export declare const cameraZonesSchema: zod.ZodObject<{
103
103
  _id: string;
104
104
  points: [number, number];
105
105
  }[];
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")[];
106
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
107
107
  isPrivacyMask: boolean;
108
108
  }[];
109
109
  }, {
@@ -113,7 +113,7 @@ export declare const cameraZonesSchema: zod.ZodObject<{
113
113
  points: [number, number];
114
114
  _id?: string | undefined;
115
115
  }[];
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")[];
116
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
117
117
  filter?: "include" | "exclude" | undefined;
118
118
  type?: "intersect" | "contain" | undefined;
119
119
  _id?: string | undefined;
@@ -158,13 +158,13 @@ export declare const inputSchema: zod.ZodObject<{
158
158
  roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
159
159
  urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
160
160
  }, "strict", zod.ZodTypeAny, {
161
- name: string;
162
161
  _id: string;
163
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
162
+ name: string;
163
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
164
164
  urls: string[];
165
165
  }, {
166
166
  name: string;
167
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
167
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
168
168
  urls: string[];
169
169
  _id?: string | undefined;
170
170
  }>;
@@ -174,13 +174,13 @@ export declare const patchInputSchema: zod.ZodObject<{
174
174
  roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
175
175
  urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
176
176
  }, "strict", zod.ZodTypeAny, {
177
- name: string;
178
177
  _id: string;
179
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
178
+ name: string;
179
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
180
180
  urls: string[];
181
181
  }, {
182
182
  name: string;
183
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
183
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
184
184
  urls: string[];
185
185
  _id?: string | undefined;
186
186
  }>;
@@ -227,9 +227,9 @@ export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, z
227
227
  export declare const interfaceSettingsSchema: zod.ZodObject<{
228
228
  streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
229
229
  }, "strip", zod.ZodTypeAny, {
230
- streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
230
+ streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
231
231
  }, {
232
- streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
232
+ streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
233
233
  }>;
234
234
  export declare const cameraInfoSchema: zod.ZodObject<{
235
235
  model: zod.ZodOptional<zod.ZodString>;
@@ -293,23 +293,23 @@ export declare const createCameraSchema: zod.ZodObject<{
293
293
  roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
294
294
  urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
295
295
  }, "strict", zod.ZodTypeAny, {
296
- name: string;
297
296
  _id: string;
298
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
297
+ name: string;
298
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
299
299
  urls: string[];
300
300
  }, {
301
301
  name: string;
302
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
302
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
303
303
  urls: string[];
304
304
  _id?: string | undefined;
305
305
  }>, "many">, {
306
- name: string;
307
306
  _id: string;
308
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
307
+ name: string;
308
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
309
309
  urls: string[];
310
310
  }[], {
311
311
  name: string;
312
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
312
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
313
313
  urls: string[];
314
314
  _id?: string | undefined;
315
315
  }[]>;
@@ -348,9 +348,9 @@ export declare const createCameraSchema: zod.ZodObject<{
348
348
  interface: zod.ZodDefault<zod.ZodObject<{
349
349
  streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
350
350
  }, "strip", zod.ZodTypeAny, {
351
- streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
351
+ streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
352
352
  }, {
353
- streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
353
+ streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
354
354
  }>>;
355
355
  activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
356
356
  name: zod.ZodString;
@@ -378,14 +378,14 @@ export declare const createCameraSchema: zod.ZodObject<{
378
378
  _id: string;
379
379
  points: [number, number];
380
380
  }[];
381
- 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
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
382
382
  isPrivacyMask: boolean;
383
383
  }, {
384
384
  coords: {
385
385
  points: [number, number];
386
386
  _id?: string | undefined;
387
387
  }[];
388
- 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")[];
388
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
389
389
  filter?: "include" | "exclude" | undefined;
390
390
  type?: "intersect" | "contain" | undefined;
391
391
  _id?: string | undefined;
@@ -401,7 +401,7 @@ export declare const createCameraSchema: zod.ZodObject<{
401
401
  _id: string;
402
402
  points: [number, number];
403
403
  }[];
404
- 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")[];
404
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
405
405
  isPrivacyMask: boolean;
406
406
  }[];
407
407
  }, {
@@ -411,7 +411,7 @@ export declare const createCameraSchema: zod.ZodObject<{
411
411
  points: [number, number];
412
412
  _id?: string | undefined;
413
413
  }[];
414
- 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")[];
414
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
415
415
  filter?: "include" | "exclude" | undefined;
416
416
  type?: "intersect" | "contain" | undefined;
417
417
  _id?: string | undefined;
@@ -462,6 +462,7 @@ export declare const createCameraSchema: zod.ZodObject<{
462
462
  resolution: 640 | 480 | 320;
463
463
  }>>;
464
464
  }, "strict", zod.ZodTypeAny, {
465
+ disabled: boolean;
465
466
  info: {
466
467
  model?: string | undefined;
467
468
  manufacturer?: string | undefined;
@@ -470,36 +471,35 @@ export declare const createCameraSchema: zod.ZodObject<{
470
471
  firmwareVersion?: string | undefined;
471
472
  supportUrl?: string | undefined;
472
473
  };
474
+ type: "camera" | "doorbell";
475
+ _id: string;
473
476
  name: string;
474
- extensions: {
475
- plugins: string[];
476
- prebuffer?: string | undefined;
477
- motionDetection?: string | undefined;
478
- objectDetection?: string | undefined;
479
- audioDetection?: string | undefined;
480
- ptz?: string | undefined;
481
- hub?: string[] | undefined;
482
- };
483
- disabled: boolean;
484
477
  pluginId: string;
485
- type: "doorbell" | "camera";
486
- _id: string;
487
478
  isCloud: boolean;
488
479
  hasLight: boolean;
489
480
  hasSiren: boolean;
490
481
  hasBinarySensor: boolean;
491
482
  hasBattery: boolean;
492
483
  sources: {
493
- name: string;
494
484
  _id: string;
495
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
485
+ name: string;
486
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
496
487
  urls: string[];
497
488
  }[];
489
+ extensions: {
490
+ plugins: string[];
491
+ prebuffer?: string | undefined;
492
+ motionDetection?: string | undefined;
493
+ objectDetection?: string | undefined;
494
+ audioDetection?: string | undefined;
495
+ ptz?: string | undefined;
496
+ hub?: string[] | undefined;
497
+ };
498
498
  recording: {
499
499
  enabled: boolean;
500
500
  };
501
501
  interface: {
502
- streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
502
+ streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
503
503
  };
504
504
  activityZones: {
505
505
  name: string;
@@ -511,7 +511,7 @@ export declare const createCameraSchema: zod.ZodObject<{
511
511
  _id: string;
512
512
  points: [number, number];
513
513
  }[];
514
- 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")[];
514
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
515
515
  isPrivacyMask: boolean;
516
516
  }[];
517
517
  }[];
@@ -533,10 +533,11 @@ export declare const createCameraSchema: zod.ZodObject<{
533
533
  name: string;
534
534
  sources: {
535
535
  name: string;
536
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
536
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
537
537
  urls: string[];
538
538
  _id?: string | undefined;
539
539
  }[];
540
+ disabled?: boolean | undefined;
540
541
  info?: {
541
542
  model?: string | undefined;
542
543
  manufacturer?: string | undefined;
@@ -545,6 +546,15 @@ export declare const createCameraSchema: zod.ZodObject<{
545
546
  firmwareVersion?: string | undefined;
546
547
  supportUrl?: string | undefined;
547
548
  } | undefined;
549
+ type?: "camera" | "doorbell" | undefined;
550
+ _id?: string | undefined;
551
+ nativeId?: string | undefined;
552
+ pluginId?: string | undefined;
553
+ isCloud?: boolean | undefined;
554
+ hasLight?: boolean | undefined;
555
+ hasSiren?: boolean | undefined;
556
+ hasBinarySensor?: boolean | undefined;
557
+ hasBattery?: boolean | undefined;
548
558
  extensions?: {
549
559
  plugins: string[];
550
560
  prebuffer?: string | undefined;
@@ -554,21 +564,11 @@ export declare const createCameraSchema: zod.ZodObject<{
554
564
  ptz?: string | undefined;
555
565
  hub?: string[] | undefined;
556
566
  } | undefined;
557
- disabled?: boolean | undefined;
558
- pluginId?: string | undefined;
559
- type?: "doorbell" | "camera" | undefined;
560
- _id?: string | undefined;
561
- nativeId?: string | undefined;
562
- isCloud?: boolean | undefined;
563
- hasLight?: boolean | undefined;
564
- hasSiren?: boolean | undefined;
565
- hasBinarySensor?: boolean | undefined;
566
- hasBattery?: boolean | undefined;
567
567
  recording?: {
568
568
  enabled?: boolean | undefined;
569
569
  } | undefined;
570
570
  interface?: {
571
- streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
571
+ streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
572
572
  } | undefined;
573
573
  activityZones?: {
574
574
  name: string;
@@ -577,7 +577,7 @@ export declare const createCameraSchema: zod.ZodObject<{
577
577
  points: [number, number];
578
578
  _id?: string | undefined;
579
579
  }[];
580
- 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")[];
580
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
581
581
  filter?: "include" | "exclude" | undefined;
582
582
  type?: "intersect" | "contain" | undefined;
583
583
  _id?: string | undefined;
@@ -630,23 +630,23 @@ export declare const patchCameraSchema: zod.ZodObject<{
630
630
  roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
631
631
  urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
632
632
  }, "strict", zod.ZodTypeAny, {
633
- name: string;
634
633
  _id: string;
635
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
634
+ name: string;
635
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
636
636
  urls: string[];
637
637
  }, {
638
638
  name: string;
639
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
639
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
640
640
  urls: string[];
641
641
  _id?: string | undefined;
642
642
  }>, "many">, {
643
- name: string;
644
643
  _id: string;
645
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
644
+ name: string;
645
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
646
646
  urls: string[];
647
647
  }[], {
648
648
  name: string;
649
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
649
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
650
650
  urls: string[];
651
651
  _id?: string | undefined;
652
652
  }[]>>;
@@ -678,9 +678,9 @@ export declare const patchCameraSchema: zod.ZodObject<{
678
678
  interface: zod.ZodOptional<zod.ZodObject<{
679
679
  streamingMode: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>>;
680
680
  }, "strip", zod.ZodTypeAny, {
681
- streamingMode?: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
681
+ streamingMode?: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
682
682
  }, {
683
- streamingMode?: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
683
+ streamingMode?: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
684
684
  }>>;
685
685
  recording: zod.ZodOptional<zod.ZodObject<{
686
686
  enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
@@ -715,14 +715,14 @@ export declare const patchCameraSchema: zod.ZodObject<{
715
715
  _id: string;
716
716
  points: [number, number];
717
717
  }[];
718
- 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")[];
718
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
719
719
  isPrivacyMask: boolean;
720
720
  }, {
721
721
  coords: {
722
722
  points: [number, number];
723
723
  _id?: string | undefined;
724
724
  }[];
725
- 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")[];
725
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
726
726
  filter?: "include" | "exclude" | undefined;
727
727
  type?: "intersect" | "contain" | undefined;
728
728
  _id?: string | undefined;
@@ -738,7 +738,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
738
738
  _id: string;
739
739
  points: [number, number];
740
740
  }[];
741
- 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")[];
741
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
742
742
  isPrivacyMask: boolean;
743
743
  }[];
744
744
  }, {
@@ -748,7 +748,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
748
748
  points: [number, number];
749
749
  _id?: string | undefined;
750
750
  }[];
751
- 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")[];
751
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
752
752
  filter?: "include" | "exclude" | undefined;
753
753
  type?: "intersect" | "contain" | undefined;
754
754
  _id?: string | undefined;
@@ -786,19 +786,20 @@ export declare const patchCameraSchema: zod.ZodObject<{
786
786
  } | undefined;
787
787
  }>>;
788
788
  frameWorkerSettings: zod.ZodOptional<zod.ZodObject<{
789
- decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">]>;
790
- fps: zod.ZodNumber;
791
- resolution: zod.ZodUnion<[zod.ZodLiteral<640>, zod.ZodLiteral<480>, zod.ZodLiteral<320>]>;
789
+ decoder: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">]>>;
790
+ fps: zod.ZodOptional<zod.ZodNumber>;
791
+ resolution: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<640>, zod.ZodLiteral<480>, zod.ZodLiteral<320>]>>;
792
792
  }, "strip", zod.ZodTypeAny, {
793
- decoder: "pillow" | "wasm";
794
- fps: number;
795
- resolution: 640 | 480 | 320;
793
+ decoder?: "pillow" | "wasm" | undefined;
794
+ fps?: number | undefined;
795
+ resolution?: 640 | 480 | 320 | undefined;
796
796
  }, {
797
- decoder: "pillow" | "wasm";
798
- fps: number;
799
- resolution: 640 | 480 | 320;
797
+ decoder?: "pillow" | "wasm" | undefined;
798
+ fps?: number | undefined;
799
+ resolution?: 640 | 480 | 320 | undefined;
800
800
  }>>;
801
801
  }, "strict", zod.ZodTypeAny, {
802
+ disabled?: boolean | undefined;
802
803
  info?: {
803
804
  model?: string | undefined;
804
805
  manufacturer?: string | undefined;
@@ -807,7 +808,14 @@ export declare const patchCameraSchema: zod.ZodObject<{
807
808
  firmwareVersion?: string | undefined;
808
809
  supportUrl?: string | undefined;
809
810
  } | undefined;
811
+ type?: "camera" | "doorbell" | undefined;
810
812
  name?: string | undefined;
813
+ sources?: {
814
+ _id: string;
815
+ name: string;
816
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
817
+ urls: string[];
818
+ }[] | undefined;
811
819
  extensions?: {
812
820
  prebuffer?: string | undefined;
813
821
  motionDetection?: string | undefined;
@@ -817,19 +825,11 @@ export declare const patchCameraSchema: zod.ZodObject<{
817
825
  hub?: string[] | undefined;
818
826
  plugins?: string[] | undefined;
819
827
  } | undefined;
820
- disabled?: boolean | undefined;
821
- type?: "doorbell" | "camera" | undefined;
822
- sources?: {
823
- name: string;
824
- _id: string;
825
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
826
- urls: string[];
827
- }[] | undefined;
828
828
  recording?: {
829
829
  enabled?: boolean | undefined;
830
830
  } | undefined;
831
831
  interface?: {
832
- streamingMode?: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
832
+ streamingMode?: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
833
833
  } | undefined;
834
834
  activityZones?: {
835
835
  name: string;
@@ -841,7 +841,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
841
841
  _id: string;
842
842
  points: [number, number];
843
843
  }[];
844
- 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")[];
844
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
845
845
  isPrivacyMask: boolean;
846
846
  }[];
847
847
  }[] | undefined;
@@ -854,11 +854,12 @@ export declare const patchCameraSchema: zod.ZodObject<{
854
854
  } | undefined;
855
855
  } | undefined;
856
856
  frameWorkerSettings?: {
857
- decoder: "pillow" | "wasm";
858
- fps: number;
859
- resolution: 640 | 480 | 320;
857
+ decoder?: "pillow" | "wasm" | undefined;
858
+ fps?: number | undefined;
859
+ resolution?: 640 | 480 | 320 | undefined;
860
860
  } | undefined;
861
861
  }, {
862
+ disabled?: boolean | undefined;
862
863
  info?: {
863
864
  model?: string | undefined;
864
865
  manufacturer?: string | undefined;
@@ -867,7 +868,14 @@ export declare const patchCameraSchema: zod.ZodObject<{
867
868
  firmwareVersion?: string | undefined;
868
869
  supportUrl?: string | undefined;
869
870
  } | undefined;
871
+ type?: "camera" | "doorbell" | undefined;
870
872
  name?: string | undefined;
873
+ sources?: {
874
+ name: string;
875
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
876
+ urls: string[];
877
+ _id?: string | undefined;
878
+ }[] | undefined;
871
879
  extensions?: {
872
880
  prebuffer?: string | undefined;
873
881
  motionDetection?: string | undefined;
@@ -877,19 +885,11 @@ export declare const patchCameraSchema: zod.ZodObject<{
877
885
  hub?: string[] | undefined;
878
886
  plugins?: string[] | undefined;
879
887
  } | undefined;
880
- disabled?: boolean | undefined;
881
- type?: "doorbell" | "camera" | undefined;
882
- sources?: {
883
- name: string;
884
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
885
- urls: string[];
886
- _id?: string | undefined;
887
- }[] | undefined;
888
888
  recording?: {
889
889
  enabled?: boolean | undefined;
890
890
  } | undefined;
891
891
  interface?: {
892
- streamingMode?: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
892
+ streamingMode?: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
893
893
  } | undefined;
894
894
  activityZones?: {
895
895
  name: string;
@@ -898,7 +898,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
898
898
  points: [number, number];
899
899
  _id?: string | undefined;
900
900
  }[];
901
- 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")[];
901
+ classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
902
902
  filter?: "include" | "exclude" | undefined;
903
903
  type?: "intersect" | "contain" | undefined;
904
904
  _id?: string | undefined;
@@ -914,9 +914,9 @@ export declare const patchCameraSchema: zod.ZodObject<{
914
914
  } | undefined;
915
915
  } | undefined;
916
916
  frameWorkerSettings?: {
917
- decoder: "pillow" | "wasm";
918
- fps: number;
919
- resolution: 640 | 480 | 320;
917
+ decoder?: "pillow" | "wasm" | undefined;
918
+ fps?: number | undefined;
919
+ resolution?: 640 | 480 | 320 | undefined;
920
920
  } | undefined;
921
921
  }>;
922
922
  export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;