@camera.ui/browser 0.0.106 → 0.0.108

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 (29) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/packages/client/browser/src/proxy/cameraDevice.d.ts +0 -2
  3. package/dist/types/packages/client/browser/src/streaming/go2rts-session.d.ts +16 -3
  4. package/dist/types/packages/client/browser/src/types.d.ts +3 -2
  5. package/dist/types/packages/plugineer/src/polyglot/node/camera/index.d.ts +2 -3
  6. package/dist/types/packages/plugineer/src/polyglot/node/camera/types.d.ts +5 -2
  7. package/dist/types/packages/plugineer/src/polyglot/node/plugins/schema.d.ts +2 -229
  8. package/dist/types/packages/plugineer/src/polyglot/node/plugins/types.d.ts +4 -10
  9. package/dist/types/packages/types/src/index.d.ts +33 -17
  10. package/dist/types/server/src/api/database/index.d.ts +1 -2
  11. package/dist/types/server/src/api/database/migration.d.ts +9 -7
  12. package/dist/types/server/src/api/database/types.d.ts +2 -10
  13. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +48 -48
  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/types/index.d.ts +1 -1
  17. package/dist/types/server/src/api/websocket/go2rtc.d.ts +21 -0
  18. package/dist/types/server/src/{nats/websocket.d.ts → api/websocket/nsp/proxy.d.ts} +2 -2
  19. package/dist/types/server/src/api.d.ts +1 -0
  20. package/dist/types/server/src/camera/controller.d.ts +5 -3
  21. package/dist/types/server/src/camera/frameWorker.d.ts +3 -0
  22. package/dist/types/server/src/nats/index.d.ts +2 -2
  23. package/dist/types/server/src/nats/types.d.ts +1 -1
  24. package/dist/types/server/src/plugins/index.d.ts +3 -0
  25. package/dist/types/server/src/plugins/plugin.d.ts +0 -1
  26. package/dist/types/server/src/plugins/schema.d.ts +34 -0
  27. package/dist/types/shared/types/index.d.ts +1 -0
  28. package/package.json +5 -5
  29. package/dist/types/packages/plugineer/src/polyglot/node/camera/interfaces/prebuffer.d.ts +0 -8
@@ -161,10 +161,10 @@ export declare const inputSchema: zod.ZodObject<{
161
161
  internal: zod.ZodDefault<zod.ZodBoolean>;
162
162
  }, "strict", zod.ZodTypeAny, {
163
163
  _id: string;
164
- internal: boolean;
165
164
  name: string;
166
165
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
167
166
  urls: string[];
167
+ internal: boolean;
168
168
  }, {
169
169
  name: string;
170
170
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
@@ -180,10 +180,10 @@ export declare const patchInputSchema: zod.ZodObject<{
180
180
  internal: zod.ZodDefault<zod.ZodBoolean>;
181
181
  }, "strict", zod.ZodTypeAny, {
182
182
  _id: string;
183
- internal: boolean;
184
183
  name: string;
185
184
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
186
185
  urls: string[];
186
+ internal: boolean;
187
187
  }, {
188
188
  name: string;
189
189
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
@@ -193,7 +193,7 @@ export declare const patchInputSchema: zod.ZodObject<{
193
193
  }>;
194
194
  export declare const extensionsSettingsSchema: zod.ZodObject<{
195
195
  hub: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
196
- prebuffer: zod.ZodOptional<zod.ZodString>;
196
+ cameraController: zod.ZodOptional<zod.ZodString>;
197
197
  motionDetection: zod.ZodOptional<zod.ZodString>;
198
198
  audioDetection: zod.ZodOptional<zod.ZodString>;
199
199
  objectDetection: zod.ZodOptional<zod.ZodString>;
@@ -201,22 +201,22 @@ export declare const extensionsSettingsSchema: zod.ZodObject<{
201
201
  plugins: zod.ZodArray<zod.ZodString, "many">;
202
202
  }, "strict", zod.ZodTypeAny, {
203
203
  plugins: string[];
204
+ cameraController?: string | undefined;
204
205
  hub?: string[] | undefined;
205
- prebuffer?: string | undefined;
206
206
  motionDetection?: string | undefined;
207
207
  objectDetection?: string | undefined;
208
208
  audioDetection?: string | undefined;
209
209
  ptz?: string | undefined;
210
210
  }, {
211
211
  plugins: string[];
212
+ cameraController?: string | undefined;
212
213
  hub?: string[] | undefined;
213
- prebuffer?: string | undefined;
214
214
  motionDetection?: string | undefined;
215
215
  objectDetection?: string | undefined;
216
216
  audioDetection?: string | undefined;
217
217
  ptz?: string | undefined;
218
218
  }>;
219
- 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">]>;
219
+ export declare const streamingModeSchema: zod.ZodUnion<[zod.ZodLiteral<"auto">, zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
220
220
  export declare const frameWorkerSettingsSchema: zod.ZodObject<{
221
221
  decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">, zod.ZodLiteral<"rust">]>;
222
222
  fps: zod.ZodNumber;
@@ -232,13 +232,13 @@ export declare const frameWorkerSettingsSchema: zod.ZodObject<{
232
232
  }>;
233
233
  export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, zod.ZodLiteral<"doorbell">]>;
234
234
  export declare const interfaceSettingsSchema: zod.ZodObject<{
235
- streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
235
+ streamingMode: zod.ZodUnion<[zod.ZodLiteral<"auto">, zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
236
236
  streamingSource: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>;
237
237
  }, "strip", zod.ZodTypeAny, {
238
- streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
238
+ streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
239
239
  streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
240
240
  }, {
241
- streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
241
+ streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
242
242
  streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
243
243
  }>;
244
244
  export declare const cameraInfoSchema: zod.ZodObject<{
@@ -306,10 +306,10 @@ export declare const createCameraSchema: zod.ZodObject<{
306
306
  internal: zod.ZodDefault<zod.ZodBoolean>;
307
307
  }, "strict", zod.ZodTypeAny, {
308
308
  _id: string;
309
- internal: boolean;
310
309
  name: string;
311
310
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
312
311
  urls: string[];
312
+ internal: boolean;
313
313
  }, {
314
314
  name: string;
315
315
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
@@ -318,10 +318,10 @@ export declare const createCameraSchema: zod.ZodObject<{
318
318
  internal?: boolean | undefined;
319
319
  }>, "many">, {
320
320
  _id: string;
321
- internal: boolean;
322
321
  name: string;
323
322
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
324
323
  urls: string[];
324
+ internal: boolean;
325
325
  }[], {
326
326
  name: string;
327
327
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
@@ -331,7 +331,7 @@ export declare const createCameraSchema: zod.ZodObject<{
331
331
  }[]>;
332
332
  extensions: zod.ZodDefault<zod.ZodObject<{
333
333
  hub: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
334
- prebuffer: zod.ZodOptional<zod.ZodString>;
334
+ cameraController: zod.ZodOptional<zod.ZodString>;
335
335
  motionDetection: zod.ZodOptional<zod.ZodString>;
336
336
  audioDetection: zod.ZodOptional<zod.ZodString>;
337
337
  objectDetection: zod.ZodOptional<zod.ZodString>;
@@ -339,16 +339,16 @@ export declare const createCameraSchema: zod.ZodObject<{
339
339
  plugins: zod.ZodArray<zod.ZodString, "many">;
340
340
  }, "strict", zod.ZodTypeAny, {
341
341
  plugins: string[];
342
+ cameraController?: string | undefined;
342
343
  hub?: string[] | undefined;
343
- prebuffer?: string | undefined;
344
344
  motionDetection?: string | undefined;
345
345
  objectDetection?: string | undefined;
346
346
  audioDetection?: string | undefined;
347
347
  ptz?: string | undefined;
348
348
  }, {
349
349
  plugins: string[];
350
+ cameraController?: string | undefined;
350
351
  hub?: string[] | undefined;
351
- prebuffer?: string | undefined;
352
352
  motionDetection?: string | undefined;
353
353
  objectDetection?: string | undefined;
354
354
  audioDetection?: string | undefined;
@@ -362,13 +362,13 @@ export declare const createCameraSchema: zod.ZodObject<{
362
362
  enabled?: boolean | undefined;
363
363
  }>>;
364
364
  interface: zod.ZodDefault<zod.ZodObject<{
365
- streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
365
+ streamingMode: zod.ZodUnion<[zod.ZodLiteral<"auto">, zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
366
366
  streamingSource: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>;
367
367
  }, "strip", zod.ZodTypeAny, {
368
- streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
368
+ streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
369
369
  streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
370
370
  }, {
371
- streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
371
+ streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
372
372
  streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
373
373
  }>>;
374
374
  activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
@@ -481,9 +481,6 @@ export declare const createCameraSchema: zod.ZodObject<{
481
481
  resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
482
482
  }>>;
483
483
  }, "strict", zod.ZodTypeAny, {
484
- disabled: boolean;
485
- _id: string;
486
- name: string;
487
484
  activityZones: {
488
485
  name: string;
489
486
  regions: {
@@ -498,7 +495,10 @@ export declare const createCameraSchema: zod.ZodObject<{
498
495
  isPrivacyMask: boolean;
499
496
  }[];
500
497
  }[];
498
+ _id: string;
501
499
  pluginId: string;
500
+ name: string;
501
+ disabled: boolean;
502
502
  isCloud: boolean;
503
503
  hasLight: boolean;
504
504
  hasSiren: boolean;
@@ -512,7 +512,7 @@ export declare const createCameraSchema: zod.ZodObject<{
512
512
  firmwareVersion?: string | undefined;
513
513
  supportUrl?: string | undefined;
514
514
  };
515
- type: "doorbell" | "camera";
515
+ type: "camera" | "doorbell";
516
516
  snapshotTTL: number;
517
517
  activitySettings: {
518
518
  object: {
@@ -529,19 +529,19 @@ export declare const createCameraSchema: zod.ZodObject<{
529
529
  };
530
530
  sources: {
531
531
  _id: string;
532
- internal: boolean;
533
532
  name: string;
534
533
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
535
534
  urls: string[];
535
+ internal: boolean;
536
536
  }[];
537
537
  interface: {
538
- streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
538
+ streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
539
539
  streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
540
540
  };
541
541
  extensions: {
542
542
  plugins: string[];
543
+ cameraController?: string | undefined;
543
544
  hub?: string[] | undefined;
544
- prebuffer?: string | undefined;
545
545
  motionDetection?: string | undefined;
546
546
  objectDetection?: string | undefined;
547
547
  audioDetection?: string | undefined;
@@ -560,8 +560,6 @@ export declare const createCameraSchema: zod.ZodObject<{
560
560
  _id?: string | undefined;
561
561
  internal?: boolean | undefined;
562
562
  }[];
563
- disabled?: boolean | undefined;
564
- _id?: string | undefined;
565
563
  activityZones?: {
566
564
  name: string;
567
565
  regions: {
@@ -576,8 +574,10 @@ export declare const createCameraSchema: zod.ZodObject<{
576
574
  isPrivacyMask?: boolean | undefined;
577
575
  }[];
578
576
  }[] | undefined;
577
+ _id?: string | undefined;
579
578
  nativeId?: string | undefined;
580
579
  pluginId?: string | undefined;
580
+ disabled?: boolean | undefined;
581
581
  isCloud?: boolean | undefined;
582
582
  hasLight?: boolean | undefined;
583
583
  hasSiren?: boolean | undefined;
@@ -591,7 +591,7 @@ export declare const createCameraSchema: zod.ZodObject<{
591
591
  firmwareVersion?: string | undefined;
592
592
  supportUrl?: string | undefined;
593
593
  } | undefined;
594
- type?: "doorbell" | "camera" | undefined;
594
+ type?: "camera" | "doorbell" | undefined;
595
595
  snapshotTTL?: number | undefined;
596
596
  activitySettings?: {
597
597
  object: {
@@ -607,13 +607,13 @@ export declare const createCameraSchema: zod.ZodObject<{
607
607
  resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
608
608
  } | undefined;
609
609
  interface?: {
610
- streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
610
+ streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
611
611
  streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
612
612
  } | undefined;
613
613
  extensions?: {
614
614
  plugins: string[];
615
+ cameraController?: string | undefined;
615
616
  hub?: string[] | undefined;
616
- prebuffer?: string | undefined;
617
617
  motionDetection?: string | undefined;
618
618
  objectDetection?: string | undefined;
619
619
  audioDetection?: string | undefined;
@@ -658,10 +658,10 @@ export declare const patchCameraSchema: zod.ZodObject<{
658
658
  internal: zod.ZodDefault<zod.ZodBoolean>;
659
659
  }, "strict", zod.ZodTypeAny, {
660
660
  _id: string;
661
- internal: boolean;
662
661
  name: string;
663
662
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
664
663
  urls: string[];
664
+ internal: boolean;
665
665
  }, {
666
666
  name: string;
667
667
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
@@ -670,10 +670,10 @@ export declare const patchCameraSchema: zod.ZodObject<{
670
670
  internal?: boolean | undefined;
671
671
  }>, "many">, {
672
672
  _id: string;
673
- internal: boolean;
674
673
  name: string;
675
674
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
676
675
  urls: string[];
676
+ internal: boolean;
677
677
  }[], {
678
678
  name: string;
679
679
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
@@ -683,23 +683,23 @@ export declare const patchCameraSchema: zod.ZodObject<{
683
683
  }[]>>;
684
684
  extensions: zod.ZodOptional<zod.ZodObject<{
685
685
  hub: zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
686
- prebuffer: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
686
+ cameraController: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
687
687
  motionDetection: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
688
688
  audioDetection: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
689
689
  objectDetection: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
690
690
  ptz: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
691
691
  plugins: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
692
692
  }, "strict", zod.ZodTypeAny, {
693
+ cameraController?: string | undefined;
693
694
  hub?: string[] | undefined;
694
- prebuffer?: string | undefined;
695
695
  motionDetection?: string | undefined;
696
696
  objectDetection?: string | undefined;
697
697
  audioDetection?: string | undefined;
698
698
  ptz?: string | undefined;
699
699
  plugins?: string[] | undefined;
700
700
  }, {
701
+ cameraController?: string | undefined;
701
702
  hub?: string[] | undefined;
702
- prebuffer?: string | undefined;
703
703
  motionDetection?: string | undefined;
704
704
  objectDetection?: string | undefined;
705
705
  audioDetection?: string | undefined;
@@ -707,13 +707,13 @@ export declare const patchCameraSchema: zod.ZodObject<{
707
707
  plugins?: string[] | undefined;
708
708
  }>>;
709
709
  interface: zod.ZodOptional<zod.ZodObject<{
710
- streamingMode: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>>;
710
+ streamingMode: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"auto">, zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>>;
711
711
  streamingSource: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>>;
712
712
  }, "strip", zod.ZodTypeAny, {
713
- streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
713
+ streamingMode?: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
714
714
  streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
715
715
  }, {
716
- streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
716
+ streamingMode?: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
717
717
  streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
718
718
  }>>;
719
719
  recording: zod.ZodOptional<zod.ZodObject<{
@@ -833,8 +833,6 @@ export declare const patchCameraSchema: zod.ZodObject<{
833
833
  resolution?: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180" | undefined;
834
834
  }>>;
835
835
  }, "strict", zod.ZodTypeAny, {
836
- disabled?: boolean | undefined;
837
- name?: string | undefined;
838
836
  activityZones?: {
839
837
  name: string;
840
838
  regions: {
@@ -849,6 +847,8 @@ export declare const patchCameraSchema: zod.ZodObject<{
849
847
  isPrivacyMask: boolean;
850
848
  }[];
851
849
  }[] | undefined;
850
+ name?: string | undefined;
851
+ disabled?: boolean | undefined;
852
852
  info?: {
853
853
  model?: string | undefined;
854
854
  manufacturer?: string | undefined;
@@ -857,7 +857,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
857
857
  firmwareVersion?: string | undefined;
858
858
  supportUrl?: string | undefined;
859
859
  } | undefined;
860
- type?: "doorbell" | "camera" | undefined;
860
+ type?: "camera" | "doorbell" | undefined;
861
861
  snapshotTTL?: number | undefined;
862
862
  activitySettings?: {
863
863
  object?: {
@@ -874,18 +874,18 @@ export declare const patchCameraSchema: zod.ZodObject<{
874
874
  } | undefined;
875
875
  sources?: {
876
876
  _id: string;
877
- internal: boolean;
878
877
  name: string;
879
878
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
880
879
  urls: string[];
880
+ internal: boolean;
881
881
  }[] | undefined;
882
882
  interface?: {
883
- streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
883
+ streamingMode?: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
884
884
  streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
885
885
  } | undefined;
886
886
  extensions?: {
887
+ cameraController?: string | undefined;
887
888
  hub?: string[] | undefined;
888
- prebuffer?: string | undefined;
889
889
  motionDetection?: string | undefined;
890
890
  objectDetection?: string | undefined;
891
891
  audioDetection?: string | undefined;
@@ -896,8 +896,6 @@ export declare const patchCameraSchema: zod.ZodObject<{
896
896
  enabled?: boolean | undefined;
897
897
  } | undefined;
898
898
  }, {
899
- disabled?: boolean | undefined;
900
- name?: string | undefined;
901
899
  activityZones?: {
902
900
  name: string;
903
901
  regions: {
@@ -912,6 +910,8 @@ export declare const patchCameraSchema: zod.ZodObject<{
912
910
  isPrivacyMask?: boolean | undefined;
913
911
  }[];
914
912
  }[] | undefined;
913
+ name?: string | undefined;
914
+ disabled?: boolean | undefined;
915
915
  info?: {
916
916
  model?: string | undefined;
917
917
  manufacturer?: string | undefined;
@@ -920,7 +920,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
920
920
  firmwareVersion?: string | undefined;
921
921
  supportUrl?: string | undefined;
922
922
  } | undefined;
923
- type?: "doorbell" | "camera" | undefined;
923
+ type?: "camera" | "doorbell" | undefined;
924
924
  snapshotTTL?: number | undefined;
925
925
  activitySettings?: {
926
926
  object?: {
@@ -943,12 +943,12 @@ export declare const patchCameraSchema: zod.ZodObject<{
943
943
  internal?: boolean | undefined;
944
944
  }[] | undefined;
945
945
  interface?: {
946
- streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
946
+ streamingMode?: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
947
947
  streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
948
948
  } | undefined;
949
949
  extensions?: {
950
+ cameraController?: string | undefined;
950
951
  hub?: string[] | undefined;
951
- prebuffer?: string | undefined;
952
952
  motionDetection?: string | undefined;
953
953
  objectDetection?: string | undefined;
954
954
  audioDetection?: string | undefined;
@@ -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<{
@@ -56,10 +56,10 @@ export declare const patchConfigSchema: zod.ZodObject<{
56
56
  level: zod.ZodDefault<zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"trace">]>>>;
57
57
  disableTimestamps: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
58
58
  }, "strict", zod.ZodTypeAny, {
59
- level: "error" | "info" | "debug" | "warn" | "trace";
59
+ level: "info" | "error" | "debug" | "warn" | "trace";
60
60
  disableTimestamps: boolean;
61
61
  }, {
62
- level?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
62
+ level?: "info" | "error" | "debug" | "warn" | "trace" | undefined;
63
63
  disableTimestamps?: boolean | undefined;
64
64
  }>>;
65
65
  plugins: zod.ZodDefault<zod.ZodObject<{
@@ -87,7 +87,7 @@ export declare const patchConfigSchema: zod.ZodObject<{
87
87
  addresses: string[];
88
88
  };
89
89
  logger: {
90
- level: "error" | "info" | "debug" | "warn" | "trace";
90
+ level: "info" | "error" | "debug" | "warn" | "trace";
91
91
  disableTimestamps: boolean;
92
92
  };
93
93
  settings: {
@@ -104,7 +104,7 @@ export declare const patchConfigSchema: zod.ZodObject<{
104
104
  } | undefined;
105
105
  port?: number | undefined;
106
106
  logger?: {
107
- level?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
107
+ level?: "info" | "error" | "debug" | "warn" | "trace" | undefined;
108
108
  disableTimestamps?: boolean | undefined;
109
109
  } | undefined;
110
110
  settings?: {