@camera.ui/browser 0.0.94 → 0.0.95

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 (47) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/packages/client/browser/src/proxy/cameraDevice.d.ts +3 -1
  3. package/dist/types/packages/client/browser/src/proxy/coreManager.d.ts +2 -2
  4. package/dist/types/packages/common/src/utils/subscribed.d.ts +9 -0
  5. package/dist/types/packages/plugineer/src/polyglot/node/camera/index.d.ts +4 -3
  6. package/dist/types/packages/plugineer/src/polyglot/node/camera/interfaces/prebuffer.d.ts +1 -2
  7. package/dist/types/packages/plugineer/src/polyglot/node/camera/types.d.ts +15 -0
  8. package/dist/types/packages/plugineer/src/polyglot/node/plugins/types.d.ts +136 -0
  9. package/dist/types/packages/plugineer/src/types.d.ts +4 -0
  10. package/dist/types/packages/{common/src/messaging/index.d.ts → plugineer/src/utils/messageQueue.d.ts} +3 -3
  11. package/dist/types/packages/types/src/index.d.ts +657 -0
  12. package/dist/types/server/src/api/database/types.d.ts +1 -122
  13. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +89 -69
  14. package/dist/types/server/src/api/schemas/config.schema.d.ts +6 -6
  15. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +84 -84
  16. package/dist/types/server/src/api/schemas/plugins.schema.d.ts +5 -5
  17. package/dist/types/server/src/api/schemas/users.schema.d.ts +48 -48
  18. package/dist/types/server/src/api/services/cameras.service.d.ts +6 -5
  19. package/dist/types/server/src/api/types/index.d.ts +3 -3
  20. package/dist/types/server/src/api/utils/cameraSource.d.ts +2 -0
  21. package/dist/types/server/src/api/websocket/nsp/plugins.d.ts +1 -1
  22. package/dist/types/server/src/api/websocket/types.d.ts +1 -1
  23. package/dist/types/server/src/api.d.ts +2 -2
  24. package/dist/types/server/src/camera/controller.d.ts +13 -3
  25. package/dist/types/server/src/camera/types.d.ts +1 -318
  26. package/dist/types/server/src/decoder/types.d.ts +0 -127
  27. package/dist/types/server/src/decoder/worker.d.ts +2 -2
  28. package/dist/types/server/src/nats/index.d.ts +4 -4
  29. package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +3 -3
  30. package/dist/types/server/src/nats/proxy/coreManager.d.ts +3 -5
  31. package/dist/types/server/src/nats/proxy/deviceManager.d.ts +3 -5
  32. package/dist/types/server/src/nats/types.d.ts +3 -101
  33. package/dist/types/server/src/nats/utils.d.ts +1 -1
  34. package/dist/types/server/src/nats/websocket.d.ts +2 -2
  35. package/dist/types/server/src/plugins/plugin.d.ts +2 -2
  36. package/dist/types/server/src/plugins/types.d.ts +1 -181
  37. package/dist/types/server/src/plugins/worker.d.ts +1 -1
  38. package/dist/types/server/src/services/config/constants.d.ts +2 -1
  39. package/dist/types/server/src/services/config/types.d.ts +1 -5
  40. package/dist/types/shared/types/index.d.ts +4 -3
  41. package/package.json +4 -4
  42. package/dist/types/server/src/plugins/interfaces/audioDetection.d.ts +0 -7
  43. package/dist/types/server/src/plugins/interfaces/base.d.ts +0 -6
  44. package/dist/types/server/src/plugins/interfaces/motionDetection.d.ts +0 -6
  45. package/dist/types/server/src/plugins/interfaces/objectDetection.d.ts +0 -7
  46. /package/dist/types/packages/{common/src/nats/index.d.ts → plugineer/src/utils/nats.d.ts} +0 -0
  47. /package/dist/types/packages/{common/src/packer/index.d.ts → plugineer/src/utils/packer.d.ts} +0 -0
@@ -35,8 +35,8 @@ export declare const regionsSchema: zod.ZodObject<{
35
35
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
36
36
  }, "strict", zod.ZodTypeAny, {
37
37
  filter: "include" | "exclude";
38
- _id: string;
39
38
  type: "intersect" | "contain";
39
+ _id: string;
40
40
  coords: {
41
41
  _id: string;
42
42
  points: [number, number];
@@ -50,8 +50,8 @@ export declare const regionsSchema: zod.ZodObject<{
50
50
  }[];
51
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
- _id?: string | 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<{
@@ -74,8 +74,8 @@ export declare const cameraZonesSchema: zod.ZodObject<{
74
74
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
75
75
  }, "strict", zod.ZodTypeAny, {
76
76
  filter: "include" | "exclude";
77
- _id: string;
78
77
  type: "intersect" | "contain";
78
+ _id: string;
79
79
  coords: {
80
80
  _id: string;
81
81
  points: [number, number];
@@ -89,16 +89,16 @@ export declare const cameraZonesSchema: zod.ZodObject<{
89
89
  }[];
90
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
- _id?: string | 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
99
  filter: "include" | "exclude";
100
- _id: string;
101
100
  type: "intersect" | "contain";
101
+ _id: string;
102
102
  coords: {
103
103
  _id: string;
104
104
  points: [number, number];
@@ -115,8 +115,8 @@ export declare const cameraZonesSchema: zod.ZodObject<{
115
115
  }[];
116
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
- _id?: string | undefined;
119
118
  type?: "intersect" | "contain" | undefined;
119
+ _id?: string | undefined;
120
120
  isPrivacyMask?: boolean | undefined;
121
121
  }[];
122
122
  }>;
@@ -157,32 +157,38 @@ export declare const inputSchema: zod.ZodObject<{
157
157
  name: zod.ZodEffects<zod.ZodString, string, string>;
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
+ internal: zod.ZodDefault<zod.ZodBoolean>;
160
161
  }, "strict", zod.ZodTypeAny, {
161
162
  _id: string;
163
+ internal: boolean;
162
164
  name: string;
163
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
165
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
164
166
  urls: string[];
165
167
  }, {
166
168
  name: string;
167
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
169
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
168
170
  urls: string[];
169
171
  _id?: string | undefined;
172
+ internal?: boolean | undefined;
170
173
  }>;
171
174
  export declare const patchInputSchema: zod.ZodObject<{
172
175
  _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
173
176
  name: zod.ZodEffects<zod.ZodString, string, string>;
174
177
  roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
175
178
  urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
179
+ internal: zod.ZodDefault<zod.ZodBoolean>;
176
180
  }, "strict", zod.ZodTypeAny, {
177
181
  _id: string;
182
+ internal: boolean;
178
183
  name: string;
179
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
184
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
180
185
  urls: string[];
181
186
  }, {
182
187
  name: string;
183
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
188
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
184
189
  urls: string[];
185
190
  _id?: string | undefined;
191
+ internal?: boolean | undefined;
186
192
  }>;
187
193
  export declare const extensionsSettingsSchema: zod.ZodObject<{
188
194
  hub: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
@@ -194,20 +200,20 @@ export declare const extensionsSettingsSchema: zod.ZodObject<{
194
200
  plugins: zod.ZodArray<zod.ZodString, "many">;
195
201
  }, "strict", zod.ZodTypeAny, {
196
202
  plugins: string[];
203
+ hub?: string[] | undefined;
197
204
  prebuffer?: string | undefined;
198
205
  motionDetection?: string | undefined;
199
206
  objectDetection?: string | undefined;
200
207
  audioDetection?: string | undefined;
201
208
  ptz?: string | undefined;
202
- hub?: string[] | undefined;
203
209
  }, {
204
210
  plugins: string[];
211
+ hub?: string[] | undefined;
205
212
  prebuffer?: string | undefined;
206
213
  motionDetection?: string | undefined;
207
214
  objectDetection?: string | undefined;
208
215
  audioDetection?: string | undefined;
209
216
  ptz?: string | undefined;
210
- hub?: string[] | undefined;
211
217
  }>;
212
218
  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">]>;
213
219
  export declare const frameWorkerSettingsSchema: zod.ZodObject<{
@@ -227,9 +233,9 @@ export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, z
227
233
  export declare const interfaceSettingsSchema: zod.ZodObject<{
228
234
  streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
229
235
  }, "strip", zod.ZodTypeAny, {
230
- streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
236
+ streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
231
237
  }, {
232
- streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
238
+ streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
233
239
  }>;
234
240
  export declare const cameraInfoSchema: zod.ZodObject<{
235
241
  model: zod.ZodOptional<zod.ZodString>;
@@ -292,26 +298,31 @@ export declare const createCameraSchema: zod.ZodObject<{
292
298
  name: zod.ZodEffects<zod.ZodString, string, string>;
293
299
  roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
294
300
  urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
301
+ internal: zod.ZodDefault<zod.ZodBoolean>;
295
302
  }, "strict", zod.ZodTypeAny, {
296
303
  _id: string;
304
+ internal: boolean;
297
305
  name: string;
298
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
306
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
299
307
  urls: string[];
300
308
  }, {
301
309
  name: string;
302
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
310
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
303
311
  urls: string[];
304
312
  _id?: string | undefined;
313
+ internal?: boolean | undefined;
305
314
  }>, "many">, {
306
315
  _id: string;
316
+ internal: boolean;
307
317
  name: string;
308
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
318
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
309
319
  urls: string[];
310
320
  }[], {
311
321
  name: string;
312
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
322
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
313
323
  urls: string[];
314
324
  _id?: string | undefined;
325
+ internal?: boolean | undefined;
315
326
  }[]>;
316
327
  extensions: zod.ZodDefault<zod.ZodObject<{
317
328
  hub: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
@@ -323,20 +334,20 @@ export declare const createCameraSchema: zod.ZodObject<{
323
334
  plugins: zod.ZodArray<zod.ZodString, "many">;
324
335
  }, "strict", zod.ZodTypeAny, {
325
336
  plugins: string[];
337
+ hub?: string[] | undefined;
326
338
  prebuffer?: string | undefined;
327
339
  motionDetection?: string | undefined;
328
340
  objectDetection?: string | undefined;
329
341
  audioDetection?: string | undefined;
330
342
  ptz?: string | undefined;
331
- hub?: string[] | undefined;
332
343
  }, {
333
344
  plugins: string[];
345
+ hub?: string[] | undefined;
334
346
  prebuffer?: string | undefined;
335
347
  motionDetection?: string | undefined;
336
348
  objectDetection?: string | undefined;
337
349
  audioDetection?: string | undefined;
338
350
  ptz?: string | undefined;
339
- hub?: string[] | undefined;
340
351
  }>>;
341
352
  recording: zod.ZodDefault<zod.ZodObject<{
342
353
  enabled: zod.ZodDefault<zod.ZodBoolean>;
@@ -348,9 +359,9 @@ export declare const createCameraSchema: zod.ZodObject<{
348
359
  interface: zod.ZodDefault<zod.ZodObject<{
349
360
  streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
350
361
  }, "strip", zod.ZodTypeAny, {
351
- streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
362
+ streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
352
363
  }, {
353
- streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
364
+ streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
354
365
  }>>;
355
366
  activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
356
367
  name: zod.ZodString;
@@ -372,8 +383,8 @@ export declare const createCameraSchema: zod.ZodObject<{
372
383
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
373
384
  }, "strict", zod.ZodTypeAny, {
374
385
  filter: "include" | "exclude";
375
- _id: string;
376
386
  type: "intersect" | "contain";
387
+ _id: string;
377
388
  coords: {
378
389
  _id: string;
379
390
  points: [number, number];
@@ -387,16 +398,16 @@ export declare const createCameraSchema: zod.ZodObject<{
387
398
  }[];
388
399
  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
400
  filter?: "include" | "exclude" | undefined;
390
- _id?: string | undefined;
391
401
  type?: "intersect" | "contain" | undefined;
402
+ _id?: string | undefined;
392
403
  isPrivacyMask?: boolean | undefined;
393
404
  }>, "many">;
394
405
  }, "strip", zod.ZodTypeAny, {
395
406
  name: string;
396
407
  regions: {
397
408
  filter: "include" | "exclude";
398
- _id: string;
399
409
  type: "intersect" | "contain";
410
+ _id: string;
400
411
  coords: {
401
412
  _id: string;
402
413
  points: [number, number];
@@ -413,8 +424,8 @@ export declare const createCameraSchema: zod.ZodObject<{
413
424
  }[];
414
425
  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
426
  filter?: "include" | "exclude" | undefined;
416
- _id?: string | undefined;
417
427
  type?: "intersect" | "contain" | undefined;
428
+ _id?: string | undefined;
418
429
  isPrivacyMask?: boolean | undefined;
419
430
  }[];
420
431
  }>, "many">>;
@@ -462,6 +473,11 @@ export declare const createCameraSchema: zod.ZodObject<{
462
473
  resolution: 640 | 480 | 320;
463
474
  }>>;
464
475
  }, "strict", zod.ZodTypeAny, {
476
+ pluginId: string;
477
+ type: "camera" | "doorbell";
478
+ disabled: boolean;
479
+ _id: string;
480
+ name: string;
465
481
  info: {
466
482
  model?: string | undefined;
467
483
  manufacturer?: string | undefined;
@@ -474,8 +490,8 @@ export declare const createCameraSchema: zod.ZodObject<{
474
490
  name: string;
475
491
  regions: {
476
492
  filter: "include" | "exclude";
477
- _id: string;
478
493
  type: "intersect" | "contain";
494
+ _id: string;
479
495
  coords: {
480
496
  _id: string;
481
497
  points: [number, number];
@@ -484,16 +500,11 @@ export declare const createCameraSchema: zod.ZodObject<{
484
500
  isPrivacyMask: boolean;
485
501
  }[];
486
502
  }[];
487
- _id: string;
488
- pluginId: string;
489
- name: string;
490
- disabled: boolean;
491
503
  isCloud: boolean;
492
504
  hasLight: boolean;
493
505
  hasSiren: boolean;
494
506
  hasBinarySensor: boolean;
495
507
  hasBattery: boolean;
496
- type: "camera" | "doorbell";
497
508
  activitySettings: {
498
509
  object: {
499
510
  confidence: number;
@@ -509,34 +520,40 @@ export declare const createCameraSchema: zod.ZodObject<{
509
520
  };
510
521
  sources: {
511
522
  _id: string;
523
+ internal: boolean;
512
524
  name: string;
513
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
525
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
514
526
  urls: string[];
515
527
  }[];
516
528
  extensions: {
517
529
  plugins: string[];
530
+ hub?: string[] | undefined;
518
531
  prebuffer?: string | undefined;
519
532
  motionDetection?: string | undefined;
520
533
  objectDetection?: string | undefined;
521
534
  audioDetection?: string | undefined;
522
535
  ptz?: string | undefined;
523
- hub?: string[] | undefined;
524
536
  };
525
537
  recording: {
526
538
  enabled: boolean;
527
539
  };
528
540
  interface: {
529
- streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
541
+ streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
530
542
  };
531
543
  nativeId?: string | undefined;
532
544
  }, {
533
545
  name: string;
534
546
  sources: {
535
547
  name: string;
536
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
548
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
537
549
  urls: string[];
538
550
  _id?: string | undefined;
551
+ internal?: boolean | undefined;
539
552
  }[];
553
+ pluginId?: string | undefined;
554
+ type?: "camera" | "doorbell" | undefined;
555
+ disabled?: boolean | undefined;
556
+ _id?: string | undefined;
540
557
  info?: {
541
558
  model?: string | undefined;
542
559
  manufacturer?: string | undefined;
@@ -554,21 +571,17 @@ export declare const createCameraSchema: zod.ZodObject<{
554
571
  }[];
555
572
  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")[];
556
573
  filter?: "include" | "exclude" | undefined;
557
- _id?: string | undefined;
558
574
  type?: "intersect" | "contain" | undefined;
575
+ _id?: string | undefined;
559
576
  isPrivacyMask?: boolean | undefined;
560
577
  }[];
561
578
  }[] | undefined;
562
- _id?: string | undefined;
563
579
  nativeId?: string | undefined;
564
- pluginId?: string | undefined;
565
- disabled?: boolean | undefined;
566
580
  isCloud?: boolean | undefined;
567
581
  hasLight?: boolean | undefined;
568
582
  hasSiren?: boolean | undefined;
569
583
  hasBinarySensor?: boolean | undefined;
570
584
  hasBattery?: boolean | undefined;
571
- type?: "camera" | "doorbell" | undefined;
572
585
  activitySettings?: {
573
586
  object: {
574
587
  confidence: number;
@@ -584,18 +597,18 @@ export declare const createCameraSchema: zod.ZodObject<{
584
597
  } | undefined;
585
598
  extensions?: {
586
599
  plugins: string[];
600
+ hub?: string[] | undefined;
587
601
  prebuffer?: string | undefined;
588
602
  motionDetection?: string | undefined;
589
603
  objectDetection?: string | undefined;
590
604
  audioDetection?: string | undefined;
591
605
  ptz?: string | undefined;
592
- hub?: string[] | undefined;
593
606
  } | undefined;
594
607
  recording?: {
595
608
  enabled?: boolean | undefined;
596
609
  } | undefined;
597
610
  interface?: {
598
- streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
611
+ streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
599
612
  } | undefined;
600
613
  }>;
601
614
  export declare const patchCameraSchema: zod.ZodObject<{
@@ -629,26 +642,31 @@ export declare const patchCameraSchema: zod.ZodObject<{
629
642
  name: zod.ZodEffects<zod.ZodString, string, string>;
630
643
  roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
631
644
  urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
645
+ internal: zod.ZodDefault<zod.ZodBoolean>;
632
646
  }, "strict", zod.ZodTypeAny, {
633
647
  _id: string;
648
+ internal: boolean;
634
649
  name: string;
635
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
650
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
636
651
  urls: string[];
637
652
  }, {
638
653
  name: string;
639
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
654
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
640
655
  urls: string[];
641
656
  _id?: string | undefined;
657
+ internal?: boolean | undefined;
642
658
  }>, "many">, {
643
659
  _id: string;
660
+ internal: boolean;
644
661
  name: string;
645
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
662
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
646
663
  urls: string[];
647
664
  }[], {
648
665
  name: string;
649
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
666
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
650
667
  urls: string[];
651
668
  _id?: string | undefined;
669
+ internal?: boolean | undefined;
652
670
  }[]>>;
653
671
  extensions: zod.ZodOptional<zod.ZodObject<{
654
672
  hub: zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
@@ -659,28 +677,28 @@ export declare const patchCameraSchema: zod.ZodObject<{
659
677
  ptz: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
660
678
  plugins: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
661
679
  }, "strict", zod.ZodTypeAny, {
680
+ hub?: string[] | undefined;
662
681
  prebuffer?: string | undefined;
663
682
  motionDetection?: string | undefined;
664
683
  objectDetection?: string | undefined;
665
684
  audioDetection?: string | undefined;
666
685
  ptz?: string | undefined;
667
- hub?: string[] | undefined;
668
686
  plugins?: string[] | undefined;
669
687
  }, {
688
+ hub?: string[] | undefined;
670
689
  prebuffer?: string | undefined;
671
690
  motionDetection?: string | undefined;
672
691
  objectDetection?: string | undefined;
673
692
  audioDetection?: string | undefined;
674
693
  ptz?: string | undefined;
675
- hub?: string[] | undefined;
676
694
  plugins?: string[] | undefined;
677
695
  }>>;
678
696
  interface: zod.ZodOptional<zod.ZodObject<{
679
697
  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
698
  }, "strip", zod.ZodTypeAny, {
681
- streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
699
+ streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
682
700
  }, {
683
- streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
701
+ streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
684
702
  }>>;
685
703
  recording: zod.ZodOptional<zod.ZodObject<{
686
704
  enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
@@ -709,8 +727,8 @@ export declare const patchCameraSchema: zod.ZodObject<{
709
727
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
710
728
  }, "strict", zod.ZodTypeAny, {
711
729
  filter: "include" | "exclude";
712
- _id: string;
713
730
  type: "intersect" | "contain";
731
+ _id: string;
714
732
  coords: {
715
733
  _id: string;
716
734
  points: [number, number];
@@ -724,16 +742,16 @@ export declare const patchCameraSchema: zod.ZodObject<{
724
742
  }[];
725
743
  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
744
  filter?: "include" | "exclude" | undefined;
727
- _id?: string | undefined;
728
745
  type?: "intersect" | "contain" | undefined;
746
+ _id?: string | undefined;
729
747
  isPrivacyMask?: boolean | undefined;
730
748
  }>, "many">;
731
749
  }, "strip", zod.ZodTypeAny, {
732
750
  name: string;
733
751
  regions: {
734
752
  filter: "include" | "exclude";
735
- _id: string;
736
753
  type: "intersect" | "contain";
754
+ _id: string;
737
755
  coords: {
738
756
  _id: string;
739
757
  points: [number, number];
@@ -750,8 +768,8 @@ export declare const patchCameraSchema: zod.ZodObject<{
750
768
  }[];
751
769
  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
770
  filter?: "include" | "exclude" | undefined;
753
- _id?: string | undefined;
754
771
  type?: "intersect" | "contain" | undefined;
772
+ _id?: string | undefined;
755
773
  isPrivacyMask?: boolean | undefined;
756
774
  }[];
757
775
  }>, "many">>;
@@ -799,6 +817,9 @@ export declare const patchCameraSchema: zod.ZodObject<{
799
817
  resolution?: 640 | 480 | 320 | undefined;
800
818
  }>>;
801
819
  }, "strict", zod.ZodTypeAny, {
820
+ type?: "camera" | "doorbell" | undefined;
821
+ disabled?: boolean | undefined;
822
+ name?: string | undefined;
802
823
  info?: {
803
824
  model?: string | undefined;
804
825
  manufacturer?: string | undefined;
@@ -811,8 +832,8 @@ export declare const patchCameraSchema: zod.ZodObject<{
811
832
  name: string;
812
833
  regions: {
813
834
  filter: "include" | "exclude";
814
- _id: string;
815
835
  type: "intersect" | "contain";
836
+ _id: string;
816
837
  coords: {
817
838
  _id: string;
818
839
  points: [number, number];
@@ -821,9 +842,6 @@ export declare const patchCameraSchema: zod.ZodObject<{
821
842
  isPrivacyMask: boolean;
822
843
  }[];
823
844
  }[] | undefined;
824
- name?: string | undefined;
825
- disabled?: boolean | undefined;
826
- type?: "camera" | "doorbell" | undefined;
827
845
  activitySettings?: {
828
846
  object?: {
829
847
  confidence: number;
@@ -839,26 +857,30 @@ export declare const patchCameraSchema: zod.ZodObject<{
839
857
  } | undefined;
840
858
  sources?: {
841
859
  _id: string;
860
+ internal: boolean;
842
861
  name: string;
843
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
862
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
844
863
  urls: string[];
845
864
  }[] | undefined;
846
865
  extensions?: {
866
+ hub?: string[] | undefined;
847
867
  prebuffer?: string | undefined;
848
868
  motionDetection?: string | undefined;
849
869
  objectDetection?: string | undefined;
850
870
  audioDetection?: string | undefined;
851
871
  ptz?: string | undefined;
852
- hub?: string[] | undefined;
853
872
  plugins?: string[] | undefined;
854
873
  } | undefined;
855
874
  recording?: {
856
875
  enabled?: boolean | undefined;
857
876
  } | undefined;
858
877
  interface?: {
859
- streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
878
+ streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
860
879
  } | undefined;
861
880
  }, {
881
+ type?: "camera" | "doorbell" | undefined;
882
+ disabled?: boolean | undefined;
883
+ name?: string | undefined;
862
884
  info?: {
863
885
  model?: string | undefined;
864
886
  manufacturer?: string | undefined;
@@ -876,14 +898,11 @@ export declare const patchCameraSchema: zod.ZodObject<{
876
898
  }[];
877
899
  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")[];
878
900
  filter?: "include" | "exclude" | undefined;
879
- _id?: string | undefined;
880
901
  type?: "intersect" | "contain" | undefined;
902
+ _id?: string | undefined;
881
903
  isPrivacyMask?: boolean | undefined;
882
904
  }[];
883
905
  }[] | undefined;
884
- name?: string | undefined;
885
- disabled?: boolean | undefined;
886
- type?: "camera" | "doorbell" | undefined;
887
906
  activitySettings?: {
888
907
  object?: {
889
908
  confidence: number;
@@ -899,24 +918,25 @@ export declare const patchCameraSchema: zod.ZodObject<{
899
918
  } | undefined;
900
919
  sources?: {
901
920
  name: string;
902
- roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
921
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
903
922
  urls: string[];
904
923
  _id?: string | undefined;
924
+ internal?: boolean | undefined;
905
925
  }[] | undefined;
906
926
  extensions?: {
927
+ hub?: string[] | undefined;
907
928
  prebuffer?: string | undefined;
908
929
  motionDetection?: string | undefined;
909
930
  objectDetection?: string | undefined;
910
931
  audioDetection?: string | undefined;
911
932
  ptz?: string | undefined;
912
- hub?: string[] | undefined;
913
933
  plugins?: string[] | undefined;
914
934
  } | undefined;
915
935
  recording?: {
916
936
  enabled?: boolean | undefined;
917
937
  } | undefined;
918
938
  interface?: {
919
- streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
939
+ streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
920
940
  } | undefined;
921
941
  }>;
922
942
  export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
@@ -4,10 +4,10 @@ export declare const loggerSchema: zod.ZodObject<{
4
4
  level: zod.ZodDefault<zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"trace">]>>>;
5
5
  disableTimestamps: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
6
6
  }, "strict", zod.ZodTypeAny, {
7
- level: "info" | "error" | "debug" | "warn" | "trace";
7
+ level: "error" | "info" | "debug" | "warn" | "trace";
8
8
  disableTimestamps: boolean;
9
9
  }, {
10
- level?: "info" | "error" | "debug" | "warn" | "trace" | undefined;
10
+ level?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
11
11
  disableTimestamps?: boolean | undefined;
12
12
  }>;
13
13
  export declare const iConfigSSLSchema: zod.ZodObject<{
@@ -59,10 +59,10 @@ export declare const patchConfigSchema: zod.ZodObject<{
59
59
  level: zod.ZodDefault<zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"trace">]>>>;
60
60
  disableTimestamps: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
61
61
  }, "strict", zod.ZodTypeAny, {
62
- level: "info" | "error" | "debug" | "warn" | "trace";
62
+ level: "error" | "info" | "debug" | "warn" | "trace";
63
63
  disableTimestamps: boolean;
64
64
  }, {
65
- level?: "info" | "error" | "debug" | "warn" | "trace" | undefined;
65
+ level?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
66
66
  disableTimestamps?: boolean | undefined;
67
67
  }>>;
68
68
  plugins: zod.ZodDefault<zod.ZodObject<{
@@ -93,7 +93,7 @@ export declare const patchConfigSchema: zod.ZodObject<{
93
93
  addresses: string[];
94
94
  };
95
95
  logger: {
96
- level: "info" | "error" | "debug" | "warn" | "trace";
96
+ level: "error" | "info" | "debug" | "warn" | "trace";
97
97
  disableTimestamps: boolean;
98
98
  };
99
99
  settings: {
@@ -111,7 +111,7 @@ export declare const patchConfigSchema: zod.ZodObject<{
111
111
  } | undefined;
112
112
  port?: number | undefined;
113
113
  logger?: {
114
- level?: "info" | "error" | "debug" | "warn" | "trace" | undefined;
114
+ level?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
115
115
  disableTimestamps?: boolean | undefined;
116
116
  } | undefined;
117
117
  settings?: {