@camera.ui/browser 0.0.90 → 0.0.92

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 (66) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/packages/client/browser/src/proxy/cameraDevice.d.ts +6 -6
  3. package/dist/types/packages/client/browser/src/proxy/coreManager.d.ts +2 -1
  4. package/dist/types/packages/client/browser/src/proxy/deviceManager.d.ts +1 -2
  5. package/dist/types/packages/client/browser/src/types.d.ts +11 -3
  6. package/dist/types/packages/common/src/messaging/index.d.ts +48 -0
  7. package/dist/types/packages/common/src/nats/index.d.ts +30 -0
  8. package/dist/types/{server/src → packages/plugineer/src/polyglot/node}/camera/index.d.ts +4 -9
  9. package/dist/types/packages/plugineer/src/polyglot/node/camera/interfaces/camera.d.ts +8 -0
  10. package/dist/types/packages/plugineer/src/polyglot/node/camera/interfaces/prebuffer.d.ts +9 -0
  11. package/dist/types/{server/src → packages/plugineer/src/polyglot/node}/camera/interfaces/ptz.d.ts +3 -5
  12. package/dist/types/{server/src → packages/plugineer/src/polyglot/node}/camera/iou.d.ts +1 -1
  13. package/dist/types/{server/src → packages/plugineer/src/polyglot/node}/camera/polygon.d.ts +1 -2
  14. package/dist/types/{server → packages/plugineer}/src/polyglot/node/plugins/schema.d.ts +2 -2
  15. package/dist/types/server/src/api/database/constants.d.ts +8 -0
  16. package/dist/types/server/src/api/database/index.d.ts +0 -8
  17. package/dist/types/server/src/api/database/types.d.ts +6 -6
  18. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +117 -117
  19. package/dist/types/server/src/api/schemas/config.schema.d.ts +6 -6
  20. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +84 -84
  21. package/dist/types/server/src/api/schemas/users.schema.d.ts +150 -150
  22. package/dist/types/server/src/api/types/index.d.ts +1 -1
  23. package/dist/types/server/src/api/websocket/nsp/metrics.d.ts +5 -1
  24. package/dist/types/server/src/api.d.ts +1 -7
  25. package/dist/types/server/src/camera/controller.d.ts +4 -9
  26. package/dist/types/server/src/camera/types.d.ts +27 -22
  27. package/dist/types/server/src/decoder/worker.d.ts +1 -1
  28. package/dist/types/server/src/nats/index.d.ts +3 -4
  29. package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +3 -4
  30. package/dist/types/server/src/nats/proxy/coreManager.d.ts +3 -3
  31. package/dist/types/server/src/nats/proxy/deviceManager.d.ts +5 -5
  32. package/dist/types/server/src/nats/types.d.ts +6 -42
  33. package/dist/types/server/src/plugins/interfaces/base.d.ts +1 -1
  34. package/dist/types/server/src/plugins/plugin.d.ts +1 -1
  35. package/dist/types/server/src/plugins/types.d.ts +36 -3
  36. package/dist/types/server/src/services/config/index.d.ts +3 -2
  37. package/dist/types/server/src/services/logger/index.d.ts +4 -16
  38. package/dist/types/shared/types/index.d.ts +5 -3
  39. package/package.json +5 -3
  40. package/dist/types/server/src/camera/device.d.ts +0 -29
  41. package/dist/types/server/src/camera/interfaces/camera.d.ts +0 -10
  42. package/dist/types/server/src/camera/interfaces/prebuffer.d.ts +0 -11
  43. package/dist/types/server/src/camera/streaming/peer-connection.d.ts +0 -54
  44. package/dist/types/server/src/camera/streaming/webrtc-connection.d.ts +0 -35
  45. package/dist/types/server/src/camera/streaming/werift-session.d.ts +0 -41
  46. package/dist/types/server/src/camera/videoFrame.d.ts +0 -24
  47. package/dist/types/server/src/nats/connection.d.ts +0 -17
  48. package/dist/types/server/src/nats/constants.d.ts +0 -1
  49. package/dist/types/server/src/nats/error.d.ts +0 -9
  50. package/dist/types/server/src/nats/messageQueue.d.ts +0 -20
  51. package/dist/types/server/src/nats/subscription.d.ts +0 -12
  52. package/dist/types/server/src/polyglot/node/plugins/cameraStorage.d.ts +0 -107
  53. package/dist/types/server/src/polyglot/node/plugins/configService.d.ts +0 -104
  54. package/dist/types/server/src/polyglot/node/plugins/pluginApi.d.ts +0 -35
  55. package/dist/types/server/src/polyglot/node/plugins/pluginLogger.d.ts +0 -18
  56. package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +0 -69
  57. package/dist/types/server/src/polyglot/node/plugins/proxy/coreManager.d.ts +0 -40
  58. package/dist/types/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +0 -47
  59. package/dist/types/server/src/polyglot/node/plugins/storageController.d.ts +0 -30
  60. package/dist/types/server/src/utils/ffmpeg.d.ts +0 -2
  61. package/dist/types/server/src/utils/network.d.ts +0 -12
  62. package/dist/types/server/src/utils/npm.d.ts +0 -1
  63. package/dist/types/server/src/utils/pythonInstaller.d.ts +0 -48
  64. package/dist/types/server/src/utils/utils.d.ts +0 -10
  65. /package/dist/types/{server/src/utils/packer.d.ts → packages/common/src/packer/index.d.ts} +0 -0
  66. /package/dist/types/{server → packages/common}/src/utils/subscribed.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
- type: "intersect" | "contain";
39
38
  _id: string;
39
+ type: "intersect" | "contain";
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
- type?: "intersect" | "contain" | undefined;
54
53
  _id?: string | undefined;
54
+ type?: "intersect" | "contain" | 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
- type: "intersect" | "contain";
78
77
  _id: string;
78
+ type: "intersect" | "contain";
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
- type?: "intersect" | "contain" | undefined;
93
92
  _id?: string | undefined;
93
+ type?: "intersect" | "contain" | 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
- type: "intersect" | "contain";
101
100
  _id: string;
101
+ type: "intersect" | "contain";
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
- type?: "intersect" | "contain" | undefined;
119
118
  _id?: string | undefined;
119
+ type?: "intersect" | "contain" | undefined;
120
120
  isPrivacyMask?: boolean | undefined;
121
121
  }[];
122
122
  }>;
@@ -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: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
230
+ streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
231
231
  }, {
232
- streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
232
+ streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
233
233
  }>;
234
234
  export declare const cameraInfoSchema: zod.ZodObject<{
235
235
  model: zod.ZodOptional<zod.ZodString>;
@@ -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: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
351
+ streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
352
352
  }, {
353
- streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
353
+ streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
354
354
  }>>;
355
355
  activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
356
356
  name: zod.ZodString;
@@ -372,8 +372,8 @@ export declare const createCameraSchema: zod.ZodObject<{
372
372
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
373
373
  }, "strict", zod.ZodTypeAny, {
374
374
  filter: "include" | "exclude";
375
- type: "intersect" | "contain";
376
375
  _id: string;
376
+ type: "intersect" | "contain";
377
377
  coords: {
378
378
  _id: string;
379
379
  points: [number, number];
@@ -387,16 +387,16 @@ export declare const createCameraSchema: zod.ZodObject<{
387
387
  }[];
388
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
- type?: "intersect" | "contain" | undefined;
391
390
  _id?: string | undefined;
391
+ type?: "intersect" | "contain" | undefined;
392
392
  isPrivacyMask?: boolean | undefined;
393
393
  }>, "many">;
394
394
  }, "strip", zod.ZodTypeAny, {
395
395
  name: string;
396
396
  regions: {
397
397
  filter: "include" | "exclude";
398
- type: "intersect" | "contain";
399
398
  _id: string;
399
+ type: "intersect" | "contain";
400
400
  coords: {
401
401
  _id: string;
402
402
  points: [number, number];
@@ -413,8 +413,8 @@ export declare const createCameraSchema: zod.ZodObject<{
413
413
  }[];
414
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
- type?: "intersect" | "contain" | undefined;
417
416
  _id?: string | undefined;
417
+ type?: "intersect" | "contain" | undefined;
418
418
  isPrivacyMask?: boolean | undefined;
419
419
  }[];
420
420
  }>, "many">>;
@@ -462,7 +462,6 @@ export declare const createCameraSchema: zod.ZodObject<{
462
462
  resolution: 640 | 480 | 320;
463
463
  }>>;
464
464
  }, "strict", zod.ZodTypeAny, {
465
- disabled: boolean;
466
465
  info: {
467
466
  model?: string | undefined;
468
467
  manufacturer?: string | undefined;
@@ -471,15 +470,43 @@ export declare const createCameraSchema: zod.ZodObject<{
471
470
  firmwareVersion?: string | undefined;
472
471
  supportUrl?: string | undefined;
473
472
  };
474
- type: "camera" | "doorbell";
473
+ activityZones: {
474
+ name: string;
475
+ regions: {
476
+ filter: "include" | "exclude";
477
+ _id: string;
478
+ type: "intersect" | "contain";
479
+ coords: {
480
+ _id: string;
481
+ points: [number, number];
482
+ }[];
483
+ 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")[];
484
+ isPrivacyMask: boolean;
485
+ }[];
486
+ }[];
475
487
  _id: string;
476
- name: string;
477
488
  pluginId: string;
489
+ name: string;
490
+ disabled: boolean;
478
491
  isCloud: boolean;
479
492
  hasLight: boolean;
480
493
  hasSiren: boolean;
481
494
  hasBinarySensor: boolean;
482
495
  hasBattery: boolean;
496
+ type: "camera" | "doorbell";
497
+ activitySettings: {
498
+ object: {
499
+ confidence: number;
500
+ };
501
+ motion: {
502
+ timeout: number;
503
+ };
504
+ };
505
+ frameWorkerSettings: {
506
+ decoder: "pillow" | "wasm";
507
+ fps: number;
508
+ resolution: 640 | 480 | 320;
509
+ };
483
510
  sources: {
484
511
  _id: string;
485
512
  name: string;
@@ -499,34 +526,7 @@ export declare const createCameraSchema: zod.ZodObject<{
499
526
  enabled: boolean;
500
527
  };
501
528
  interface: {
502
- streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
503
- };
504
- activityZones: {
505
- name: string;
506
- regions: {
507
- filter: "include" | "exclude";
508
- type: "intersect" | "contain";
509
- _id: string;
510
- coords: {
511
- _id: string;
512
- points: [number, number];
513
- }[];
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
- isPrivacyMask: boolean;
516
- }[];
517
- }[];
518
- activitySettings: {
519
- object: {
520
- confidence: number;
521
- };
522
- motion: {
523
- timeout: number;
524
- };
525
- };
526
- frameWorkerSettings: {
527
- decoder: "pillow" | "wasm";
528
- fps: number;
529
- resolution: 640 | 480 | 320;
529
+ streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
530
530
  };
531
531
  nativeId?: string | undefined;
532
532
  }, {
@@ -537,7 +537,6 @@ export declare const createCameraSchema: zod.ZodObject<{
537
537
  urls: string[];
538
538
  _id?: string | undefined;
539
539
  }[];
540
- disabled?: boolean | undefined;
541
540
  info?: {
542
541
  model?: string | undefined;
543
542
  manufacturer?: string | undefined;
@@ -546,30 +545,6 @@ export declare const createCameraSchema: zod.ZodObject<{
546
545
  firmwareVersion?: string | undefined;
547
546
  supportUrl?: string | undefined;
548
547
  } | 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;
558
- extensions?: {
559
- plugins: string[];
560
- prebuffer?: string | undefined;
561
- motionDetection?: string | undefined;
562
- objectDetection?: string | undefined;
563
- audioDetection?: string | undefined;
564
- ptz?: string | undefined;
565
- hub?: string[] | undefined;
566
- } | undefined;
567
- recording?: {
568
- enabled?: boolean | undefined;
569
- } | undefined;
570
- interface?: {
571
- streamingMode: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
572
- } | undefined;
573
548
  activityZones?: {
574
549
  name: string;
575
550
  regions: {
@@ -579,11 +554,21 @@ export declare const createCameraSchema: zod.ZodObject<{
579
554
  }[];
580
555
  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
556
  filter?: "include" | "exclude" | undefined;
582
- type?: "intersect" | "contain" | undefined;
583
557
  _id?: string | undefined;
558
+ type?: "intersect" | "contain" | undefined;
584
559
  isPrivacyMask?: boolean | undefined;
585
560
  }[];
586
561
  }[] | undefined;
562
+ _id?: string | undefined;
563
+ nativeId?: string | undefined;
564
+ pluginId?: string | undefined;
565
+ disabled?: boolean | undefined;
566
+ isCloud?: boolean | undefined;
567
+ hasLight?: boolean | undefined;
568
+ hasSiren?: boolean | undefined;
569
+ hasBinarySensor?: boolean | undefined;
570
+ hasBattery?: boolean | undefined;
571
+ type?: "camera" | "doorbell" | undefined;
587
572
  activitySettings?: {
588
573
  object: {
589
574
  confidence: number;
@@ -597,6 +582,21 @@ export declare const createCameraSchema: zod.ZodObject<{
597
582
  fps: number;
598
583
  resolution: 640 | 480 | 320;
599
584
  } | undefined;
585
+ extensions?: {
586
+ plugins: string[];
587
+ prebuffer?: string | undefined;
588
+ motionDetection?: string | undefined;
589
+ objectDetection?: string | undefined;
590
+ audioDetection?: string | undefined;
591
+ ptz?: string | undefined;
592
+ hub?: string[] | undefined;
593
+ } | undefined;
594
+ recording?: {
595
+ enabled?: boolean | undefined;
596
+ } | undefined;
597
+ interface?: {
598
+ streamingMode: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls";
599
+ } | undefined;
600
600
  }>;
601
601
  export declare const patchCameraSchema: zod.ZodObject<{
602
602
  disabled: zod.ZodOptional<zod.ZodBoolean>;
@@ -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?: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
681
+ streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
682
682
  }, {
683
- streamingMode?: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
683
+ streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
684
684
  }>>;
685
685
  recording: zod.ZodOptional<zod.ZodObject<{
686
686
  enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
@@ -709,8 +709,8 @@ export declare const patchCameraSchema: zod.ZodObject<{
709
709
  isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
710
710
  }, "strict", zod.ZodTypeAny, {
711
711
  filter: "include" | "exclude";
712
- type: "intersect" | "contain";
713
712
  _id: string;
713
+ type: "intersect" | "contain";
714
714
  coords: {
715
715
  _id: string;
716
716
  points: [number, number];
@@ -724,16 +724,16 @@ export declare const patchCameraSchema: zod.ZodObject<{
724
724
  }[];
725
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
- type?: "intersect" | "contain" | undefined;
728
727
  _id?: string | undefined;
728
+ type?: "intersect" | "contain" | undefined;
729
729
  isPrivacyMask?: boolean | undefined;
730
730
  }>, "many">;
731
731
  }, "strip", zod.ZodTypeAny, {
732
732
  name: string;
733
733
  regions: {
734
734
  filter: "include" | "exclude";
735
- type: "intersect" | "contain";
736
735
  _id: string;
736
+ type: "intersect" | "contain";
737
737
  coords: {
738
738
  _id: string;
739
739
  points: [number, number];
@@ -750,8 +750,8 @@ export declare const patchCameraSchema: zod.ZodObject<{
750
750
  }[];
751
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
- type?: "intersect" | "contain" | undefined;
754
753
  _id?: string | undefined;
754
+ type?: "intersect" | "contain" | undefined;
755
755
  isPrivacyMask?: boolean | undefined;
756
756
  }[];
757
757
  }>, "many">>;
@@ -799,7 +799,6 @@ export declare const patchCameraSchema: zod.ZodObject<{
799
799
  resolution?: 640 | 480 | 320 | undefined;
800
800
  }>>;
801
801
  }, "strict", zod.ZodTypeAny, {
802
- disabled?: boolean | undefined;
803
802
  info?: {
804
803
  model?: string | undefined;
805
804
  manufacturer?: string | undefined;
@@ -808,35 +807,12 @@ export declare const patchCameraSchema: zod.ZodObject<{
808
807
  firmwareVersion?: string | undefined;
809
808
  supportUrl?: string | undefined;
810
809
  } | undefined;
811
- type?: "camera" | "doorbell" | undefined;
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;
819
- extensions?: {
820
- prebuffer?: string | undefined;
821
- motionDetection?: string | undefined;
822
- objectDetection?: string | undefined;
823
- audioDetection?: string | undefined;
824
- ptz?: string | undefined;
825
- hub?: string[] | undefined;
826
- plugins?: string[] | undefined;
827
- } | undefined;
828
- recording?: {
829
- enabled?: boolean | undefined;
830
- } | undefined;
831
- interface?: {
832
- streamingMode?: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
833
- } | undefined;
834
810
  activityZones?: {
835
811
  name: string;
836
812
  regions: {
837
813
  filter: "include" | "exclude";
838
- type: "intersect" | "contain";
839
814
  _id: string;
815
+ type: "intersect" | "contain";
840
816
  coords: {
841
817
  _id: string;
842
818
  points: [number, number];
@@ -845,6 +821,9 @@ export declare const patchCameraSchema: zod.ZodObject<{
845
821
  isPrivacyMask: boolean;
846
822
  }[];
847
823
  }[] | undefined;
824
+ name?: string | undefined;
825
+ disabled?: boolean | undefined;
826
+ type?: "camera" | "doorbell" | undefined;
848
827
  activitySettings?: {
849
828
  object?: {
850
829
  confidence: number;
@@ -858,23 +837,11 @@ export declare const patchCameraSchema: zod.ZodObject<{
858
837
  fps?: number | undefined;
859
838
  resolution?: 640 | 480 | 320 | undefined;
860
839
  } | undefined;
861
- }, {
862
- disabled?: boolean | undefined;
863
- info?: {
864
- model?: string | undefined;
865
- manufacturer?: string | undefined;
866
- hardware?: string | undefined;
867
- serialNumber?: string | undefined;
868
- firmwareVersion?: string | undefined;
869
- supportUrl?: string | undefined;
870
- } | undefined;
871
- type?: "camera" | "doorbell" | undefined;
872
- name?: string | undefined;
873
840
  sources?: {
841
+ _id: string;
874
842
  name: string;
875
843
  roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
876
844
  urls: string[];
877
- _id?: string | undefined;
878
845
  }[] | undefined;
879
846
  extensions?: {
880
847
  prebuffer?: string | undefined;
@@ -889,7 +856,16 @@ export declare const patchCameraSchema: zod.ZodObject<{
889
856
  enabled?: boolean | undefined;
890
857
  } | undefined;
891
858
  interface?: {
892
- streamingMode?: "mse" | "webrtc" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
859
+ streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
860
+ } | undefined;
861
+ }, {
862
+ info?: {
863
+ model?: string | undefined;
864
+ manufacturer?: string | undefined;
865
+ hardware?: string | undefined;
866
+ serialNumber?: string | undefined;
867
+ firmwareVersion?: string | undefined;
868
+ supportUrl?: string | undefined;
893
869
  } | undefined;
894
870
  activityZones?: {
895
871
  name: string;
@@ -900,11 +876,14 @@ export declare const patchCameraSchema: zod.ZodObject<{
900
876
  }[];
901
877
  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
878
  filter?: "include" | "exclude" | undefined;
903
- type?: "intersect" | "contain" | undefined;
904
879
  _id?: string | undefined;
880
+ type?: "intersect" | "contain" | undefined;
905
881
  isPrivacyMask?: boolean | undefined;
906
882
  }[];
907
883
  }[] | undefined;
884
+ name?: string | undefined;
885
+ disabled?: boolean | undefined;
886
+ type?: "camera" | "doorbell" | undefined;
908
887
  activitySettings?: {
909
888
  object?: {
910
889
  confidence: number;
@@ -918,6 +897,27 @@ export declare const patchCameraSchema: zod.ZodObject<{
918
897
  fps?: number | undefined;
919
898
  resolution?: 640 | 480 | 320 | undefined;
920
899
  } | undefined;
900
+ sources?: {
901
+ name: string;
902
+ roles: ("high-resolution" | "mid-resolution" | "low-resolution" | "snapshot")[];
903
+ urls: string[];
904
+ _id?: string | undefined;
905
+ }[] | undefined;
906
+ extensions?: {
907
+ prebuffer?: string | undefined;
908
+ motionDetection?: string | undefined;
909
+ objectDetection?: string | undefined;
910
+ audioDetection?: string | undefined;
911
+ ptz?: string | undefined;
912
+ hub?: string[] | undefined;
913
+ plugins?: string[] | undefined;
914
+ } | undefined;
915
+ recording?: {
916
+ enabled?: boolean | undefined;
917
+ } | undefined;
918
+ interface?: {
919
+ streamingMode?: "mp4" | "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | undefined;
920
+ } | undefined;
921
921
  }>;
922
922
  export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
923
923
  export declare const submitExtensionsSchema: zod.ZodObject<{
@@ -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: "error" | "info" | "debug" | "warn" | "trace";
7
+ level: "info" | "error" | "debug" | "warn" | "trace";
8
8
  disableTimestamps: boolean;
9
9
  }, {
10
- level?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
10
+ level?: "info" | "error" | "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: "error" | "info" | "debug" | "warn" | "trace";
62
+ level: "info" | "error" | "debug" | "warn" | "trace";
63
63
  disableTimestamps: boolean;
64
64
  }, {
65
- level?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
65
+ level?: "info" | "error" | "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: "error" | "info" | "debug" | "warn" | "trace";
96
+ level: "info" | "error" | "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?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
114
+ level?: "info" | "error" | "debug" | "warn" | "trace" | undefined;
115
115
  disableTimestamps?: boolean | undefined;
116
116
  } | undefined;
117
117
  settings?: {