@camera.ui/browser 0.0.80 → 0.0.82

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 (61) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/packages/client/browser/src/client.d.ts +1 -7
  3. package/dist/types/packages/client/browser/src/proxy/cameraDevice.d.ts +2 -6
  4. package/dist/types/packages/client/browser/src/proxy/index.d.ts +0 -2
  5. package/dist/types/packages/client/browser/src/streaming/go2rts-session.d.ts +2 -0
  6. package/dist/types/server/src/api/controllers/cameras.controller.d.ts +2 -1
  7. package/dist/types/server/src/api/controllers/plugins.controller.d.ts +6 -1
  8. package/dist/types/server/src/api/controllers/users.controller.d.ts +8 -1
  9. package/dist/types/server/src/api/database/index.d.ts +11 -8
  10. package/dist/types/server/src/api/database/migration.d.ts +12 -0
  11. package/dist/types/server/src/api/database/types.d.ts +22 -2
  12. package/dist/types/server/src/api/index.d.ts +0 -1
  13. package/dist/types/server/src/api/routes/index.d.ts +1 -1
  14. package/dist/types/server/src/api/schemas/backup.schema.d.ts +15 -15
  15. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +79 -79
  16. package/dist/types/server/src/api/schemas/config.schema.d.ts +11 -14
  17. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +60 -60
  18. package/dist/types/server/src/api/schemas/plugins.schema.d.ts +50 -0
  19. package/dist/types/server/src/api/schemas/users.schema.d.ts +499 -112
  20. package/dist/types/server/src/api/services/backup.service.d.ts +2 -1
  21. package/dist/types/server/src/api/services/cameras.service.d.ts +0 -3
  22. package/dist/types/server/src/api/services/users.service.d.ts +12 -3
  23. package/dist/types/server/src/api/types/index.d.ts +40 -35
  24. package/dist/types/server/src/api/utils/parse.d.ts +2 -0
  25. package/dist/types/server/src/api.d.ts +1 -1
  26. package/dist/types/server/src/camera/controller.d.ts +3 -7
  27. package/dist/types/server/src/camera/index.d.ts +6 -7
  28. package/dist/types/server/src/camera/interfaces/camera.d.ts +5 -13
  29. package/dist/types/server/src/camera/interfaces/prebuffer.d.ts +3 -3
  30. package/dist/types/server/src/camera/types.d.ts +3 -25
  31. package/dist/types/server/src/decoder/types.d.ts +10 -1
  32. package/dist/types/server/src/nats/index.d.ts +7 -6
  33. package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +11 -55
  34. package/dist/types/server/src/nats/proxy/deviceManager.d.ts +6 -21
  35. package/dist/types/server/src/nats/proxy/index.d.ts +0 -2
  36. package/dist/types/server/src/nats/types.d.ts +42 -124
  37. package/dist/types/server/src/plugins/interfaces/audioDetection.d.ts +7 -0
  38. package/dist/types/server/src/plugins/{base.d.ts → interfaces/base.d.ts} +2 -2
  39. package/dist/types/server/src/plugins/interfaces/motionDetection.d.ts +6 -0
  40. package/dist/types/server/src/plugins/interfaces/objectDetection.d.ts +7 -0
  41. package/dist/types/server/src/plugins/types.d.ts +12 -5
  42. package/dist/types/server/src/polyglot/node/plugins/api.d.ts +2 -6
  43. package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +6 -16
  44. package/dist/types/server/src/polyglot/node/plugins/proxy/index.d.ts +0 -2
  45. package/dist/types/server/src/polyglot/node/plugins/schema.d.ts +14 -10
  46. package/dist/types/server/src/services/config/types.d.ts +0 -1
  47. package/dist/types/server/src/utils/utils.d.ts +1 -2
  48. package/package.json +6 -6
  49. package/dist/types/packages/client/browser/src/proxy/pluginsManager.d.ts +0 -10
  50. package/dist/types/packages/client/browser/src/proxy/systemManager.d.ts +0 -10
  51. package/dist/types/server/src/api/controllers/streams.controller.d.ts +0 -12
  52. package/dist/types/server/src/api/routes/streams.routes.d.ts +0 -2
  53. package/dist/types/server/src/camera/interfaces/audioDetection.d.ts +0 -10
  54. package/dist/types/server/src/camera/interfaces/motionDetection.d.ts +0 -10
  55. package/dist/types/server/src/camera/interfaces/objectDetection.d.ts +0 -10
  56. package/dist/types/server/src/nats/proxy/pluginsManager.d.ts +0 -12
  57. package/dist/types/server/src/nats/proxy/systemManager.d.ts +0 -8
  58. package/dist/types/server/src/polyglot/node/plugins/proxy/pluginsManager.d.ts +0 -39
  59. package/dist/types/server/src/polyglot/node/plugins/proxy/systemManager.d.ts +0 -37
  60. /package/dist/types/server/src/nats/{queue.d.ts → messageQueue.d.ts} +0 -0
  61. /package/dist/types/server/src/polyglot/node/plugins/proxy/{queue.d.ts → messageQueue.d.ts} +0 -0
@@ -150,37 +150,37 @@ export declare const activitySettingsSchema: zod.ZodObject<{
150
150
  timeout: number;
151
151
  };
152
152
  }>;
153
- export declare const inputRoleSchema: zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>;
153
+ export declare const inputRoleSchema: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>;
154
154
  export declare const inputSchema: zod.ZodObject<{
155
155
  _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
156
156
  name: zod.ZodEffects<zod.ZodString, string, string>;
157
- roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("none" | "detect" | "record" | "stream" | "snapshot")[], ("none" | "detect" | "record" | "stream" | "snapshot")[]>;
157
+ roles: zod.ZodEffects<zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[], ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[]>, ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[], ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[]>;
158
158
  urls: zod.ZodArray<zod.ZodString, "many">;
159
159
  }, "strict", zod.ZodTypeAny, {
160
160
  name: string;
161
- urls: string[];
162
161
  _id: string;
163
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
162
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
163
+ urls: string[];
164
164
  }, {
165
165
  name: string;
166
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
166
167
  urls: string[];
167
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
168
168
  _id?: string | undefined;
169
169
  }>;
170
170
  export declare const patchInputSchema: zod.ZodObject<{
171
171
  _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
172
172
  name: zod.ZodEffects<zod.ZodString, string, string>;
173
- roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("none" | "detect" | "record" | "stream" | "snapshot")[], ("none" | "detect" | "record" | "stream" | "snapshot")[]>;
173
+ roles: zod.ZodEffects<zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[], ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[]>, ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[], ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[]>;
174
174
  urls: zod.ZodArray<zod.ZodString, "many">;
175
175
  }, "strict", zod.ZodTypeAny, {
176
176
  name: string;
177
- urls: string[];
178
177
  _id: string;
179
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
178
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
179
+ urls: string[];
180
180
  }, {
181
181
  name: string;
182
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
182
183
  urls: string[];
183
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
184
184
  _id?: string | undefined;
185
185
  }>;
186
186
  export declare const extensionsSettingsSchema: zod.ZodObject<{
@@ -194,19 +194,19 @@ export declare const extensionsSettingsSchema: zod.ZodObject<{
194
194
  }, "strict", zod.ZodTypeAny, {
195
195
  plugins: string[];
196
196
  prebuffer?: string | undefined;
197
- hub?: string[] | undefined;
198
197
  motionDetection?: string | undefined;
199
- audioDetection?: string | undefined;
200
198
  objectDetection?: string | undefined;
199
+ audioDetection?: string | undefined;
201
200
  ptz?: string | undefined;
201
+ hub?: string[] | undefined;
202
202
  }, {
203
203
  plugins: string[];
204
204
  prebuffer?: string | undefined;
205
- hub?: string[] | undefined;
206
205
  motionDetection?: string | undefined;
207
- audioDetection?: string | undefined;
208
206
  objectDetection?: string | undefined;
207
+ audioDetection?: string | undefined;
209
208
  ptz?: string | undefined;
209
+ hub?: string[] | undefined;
210
210
  }>;
211
211
  export declare const streamingModeSchema: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
212
212
  export declare const frameWorkerSettingsSchema: zod.ZodObject<{
@@ -226,9 +226,9 @@ export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, z
226
226
  export declare const interfaceSettingsSchema: zod.ZodObject<{
227
227
  streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
228
228
  }, "strip", zod.ZodTypeAny, {
229
- streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
229
+ streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
230
230
  }, {
231
- streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
231
+ streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
232
232
  }>;
233
233
  export declare const cameraInfoSchema: zod.ZodObject<{
234
234
  model: zod.ZodString;
@@ -289,17 +289,17 @@ export declare const createCameraSchema: zod.ZodObject<{
289
289
  sources: zod.ZodArray<zod.ZodObject<{
290
290
  _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
291
291
  name: zod.ZodEffects<zod.ZodString, string, string>;
292
- roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("none" | "detect" | "record" | "stream" | "snapshot")[], ("none" | "detect" | "record" | "stream" | "snapshot")[]>;
292
+ roles: zod.ZodEffects<zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[], ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[]>, ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[], ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[]>;
293
293
  urls: zod.ZodArray<zod.ZodString, "many">;
294
294
  }, "strict", zod.ZodTypeAny, {
295
295
  name: string;
296
- urls: string[];
297
296
  _id: string;
298
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
297
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
298
+ urls: string[];
299
299
  }, {
300
300
  name: string;
301
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
301
302
  urls: string[];
302
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
303
303
  _id?: string | undefined;
304
304
  }>, "many">;
305
305
  extensions: zod.ZodDefault<zod.ZodObject<{
@@ -313,19 +313,19 @@ export declare const createCameraSchema: zod.ZodObject<{
313
313
  }, "strict", zod.ZodTypeAny, {
314
314
  plugins: string[];
315
315
  prebuffer?: string | undefined;
316
- hub?: string[] | undefined;
317
316
  motionDetection?: string | undefined;
318
- audioDetection?: string | undefined;
319
317
  objectDetection?: string | undefined;
318
+ audioDetection?: string | undefined;
320
319
  ptz?: string | undefined;
320
+ hub?: string[] | undefined;
321
321
  }, {
322
322
  plugins: string[];
323
323
  prebuffer?: string | undefined;
324
- hub?: string[] | undefined;
325
324
  motionDetection?: string | undefined;
326
- audioDetection?: string | undefined;
327
325
  objectDetection?: string | undefined;
326
+ audioDetection?: string | undefined;
328
327
  ptz?: string | undefined;
328
+ hub?: string[] | undefined;
329
329
  }>>;
330
330
  recording: zod.ZodDefault<zod.ZodObject<{
331
331
  enabled: zod.ZodDefault<zod.ZodBoolean>;
@@ -337,9 +337,9 @@ export declare const createCameraSchema: zod.ZodObject<{
337
337
  interface: zod.ZodDefault<zod.ZodObject<{
338
338
  streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
339
339
  }, "strip", zod.ZodTypeAny, {
340
- streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
340
+ streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
341
341
  }, {
342
- streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
342
+ streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
343
343
  }>>;
344
344
  activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
345
345
  name: zod.ZodString;
@@ -463,33 +463,33 @@ export declare const createCameraSchema: zod.ZodObject<{
463
463
  extensions: {
464
464
  plugins: string[];
465
465
  prebuffer?: string | undefined;
466
- hub?: string[] | undefined;
467
466
  motionDetection?: string | undefined;
468
- audioDetection?: string | undefined;
469
467
  objectDetection?: string | undefined;
468
+ audioDetection?: string | undefined;
470
469
  ptz?: string | undefined;
470
+ hub?: string[] | undefined;
471
471
  };
472
+ disabled: boolean;
473
+ pluginId: string;
472
474
  type: "camera" | "doorbell";
473
- interface: {
474
- streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
475
- };
476
475
  _id: string;
477
- pluginId: string;
476
+ isCloud: boolean;
477
+ hasLight: boolean;
478
+ hasSiren: boolean;
479
+ hasBinarySensor: boolean;
480
+ hasBattery: boolean;
478
481
  sources: {
479
482
  name: string;
480
- urls: string[];
481
483
  _id: string;
482
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
484
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
485
+ urls: string[];
483
486
  }[];
484
487
  recording: {
485
488
  enabled: boolean;
486
489
  };
487
- disabled: boolean;
488
- isCloud: boolean;
489
- hasLight: boolean;
490
- hasSiren: boolean;
491
- hasBinarySensor: boolean;
492
- hasBattery: boolean;
490
+ interface: {
491
+ streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
492
+ };
493
493
  activityZones: {
494
494
  name: string;
495
495
  regions: {
@@ -522,8 +522,8 @@ export declare const createCameraSchema: zod.ZodObject<{
522
522
  name: string;
523
523
  sources: {
524
524
  name: string;
525
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
525
526
  urls: string[];
526
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
527
527
  _id?: string | undefined;
528
528
  }[];
529
529
  info?: {
@@ -537,28 +537,28 @@ export declare const createCameraSchema: zod.ZodObject<{
537
537
  extensions?: {
538
538
  plugins: string[];
539
539
  prebuffer?: string | undefined;
540
- hub?: string[] | undefined;
541
540
  motionDetection?: string | undefined;
542
- audioDetection?: string | undefined;
543
541
  objectDetection?: string | undefined;
542
+ audioDetection?: string | undefined;
544
543
  ptz?: string | undefined;
544
+ hub?: string[] | undefined;
545
545
  } | undefined;
546
+ disabled?: boolean | undefined;
547
+ pluginId?: string | undefined;
546
548
  type?: "camera" | "doorbell" | undefined;
547
- interface?: {
548
- streamingMode: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp";
549
- } | undefined;
550
549
  _id?: string | undefined;
551
- pluginId?: string | undefined;
552
- recording?: {
553
- enabled?: boolean | undefined;
554
- } | undefined;
555
550
  nativeId?: string | undefined;
556
- disabled?: boolean | undefined;
557
551
  isCloud?: boolean | undefined;
558
552
  hasLight?: boolean | undefined;
559
553
  hasSiren?: boolean | undefined;
560
554
  hasBinarySensor?: boolean | undefined;
561
555
  hasBattery?: boolean | undefined;
556
+ recording?: {
557
+ enabled?: boolean | undefined;
558
+ } | undefined;
559
+ interface?: {
560
+ streamingMode: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4";
561
+ } | undefined;
562
562
  activityZones?: {
563
563
  name: string;
564
564
  regions: {
@@ -616,17 +616,17 @@ export declare const patchCameraSchema: zod.ZodObject<{
616
616
  sources: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
617
617
  _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
618
618
  name: zod.ZodEffects<zod.ZodString, string, string>;
619
- roles: zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"detect">, zod.ZodLiteral<"record">, zod.ZodLiteral<"stream">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("none" | "detect" | "record" | "stream" | "snapshot")[], ("none" | "detect" | "record" | "stream" | "snapshot")[]>;
619
+ roles: zod.ZodEffects<zod.ZodEffects<zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">, zod.ZodLiteral<"none">]>, "many">, ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[], ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[]>, ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[], ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[]>;
620
620
  urls: zod.ZodArray<zod.ZodString, "many">;
621
621
  }, "strict", zod.ZodTypeAny, {
622
622
  name: string;
623
- urls: string[];
624
623
  _id: string;
625
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
624
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
625
+ urls: string[];
626
626
  }, {
627
627
  name: string;
628
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
628
629
  urls: string[];
629
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
630
630
  _id?: string | undefined;
631
631
  }>, "many">>;
632
632
  extensions: zod.ZodOptional<zod.ZodObject<{
@@ -638,28 +638,28 @@ export declare const patchCameraSchema: zod.ZodObject<{
638
638
  ptz: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
639
639
  plugins: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
640
640
  }, "strict", zod.ZodTypeAny, {
641
- plugins?: string[] | undefined;
642
641
  prebuffer?: string | undefined;
643
- hub?: string[] | undefined;
644
642
  motionDetection?: string | undefined;
645
- audioDetection?: string | undefined;
646
643
  objectDetection?: string | undefined;
644
+ audioDetection?: string | undefined;
647
645
  ptz?: string | undefined;
648
- }, {
646
+ hub?: string[] | undefined;
649
647
  plugins?: string[] | undefined;
648
+ }, {
650
649
  prebuffer?: string | undefined;
651
- hub?: string[] | undefined;
652
650
  motionDetection?: string | undefined;
653
- audioDetection?: string | undefined;
654
651
  objectDetection?: string | undefined;
652
+ audioDetection?: string | undefined;
655
653
  ptz?: string | undefined;
654
+ hub?: string[] | undefined;
655
+ plugins?: string[] | undefined;
656
656
  }>>;
657
657
  interface: zod.ZodOptional<zod.ZodObject<{
658
658
  streamingMode: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>>;
659
659
  }, "strip", zod.ZodTypeAny, {
660
- streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
660
+ streamingMode?: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
661
661
  }, {
662
- streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
662
+ streamingMode?: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
663
663
  }>>;
664
664
  recording: zod.ZodOptional<zod.ZodObject<{
665
665
  enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
@@ -788,28 +788,28 @@ export declare const patchCameraSchema: zod.ZodObject<{
788
788
  } | undefined;
789
789
  name?: string | undefined;
790
790
  extensions?: {
791
- plugins?: string[] | undefined;
792
791
  prebuffer?: string | undefined;
793
- hub?: string[] | undefined;
794
792
  motionDetection?: string | undefined;
795
- audioDetection?: string | undefined;
796
793
  objectDetection?: string | undefined;
794
+ audioDetection?: string | undefined;
797
795
  ptz?: string | undefined;
796
+ hub?: string[] | undefined;
797
+ plugins?: string[] | undefined;
798
798
  } | undefined;
799
+ disabled?: boolean | undefined;
799
800
  type?: "camera" | "doorbell" | undefined;
800
- interface?: {
801
- streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
802
- } | undefined;
803
801
  sources?: {
804
802
  name: string;
805
- urls: string[];
806
803
  _id: string;
807
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
804
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
805
+ urls: string[];
808
806
  }[] | undefined;
809
807
  recording?: {
810
808
  enabled?: boolean | undefined;
811
809
  } | undefined;
812
- disabled?: boolean | undefined;
810
+ interface?: {
811
+ streamingMode?: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
812
+ } | undefined;
813
813
  activityZones?: {
814
814
  name: string;
815
815
  regions: {
@@ -848,28 +848,28 @@ export declare const patchCameraSchema: zod.ZodObject<{
848
848
  } | undefined;
849
849
  name?: string | undefined;
850
850
  extensions?: {
851
- plugins?: string[] | undefined;
852
851
  prebuffer?: string | undefined;
853
- hub?: string[] | undefined;
854
852
  motionDetection?: string | undefined;
855
- audioDetection?: string | undefined;
856
853
  objectDetection?: string | undefined;
854
+ audioDetection?: string | undefined;
857
855
  ptz?: string | undefined;
856
+ hub?: string[] | undefined;
857
+ plugins?: string[] | undefined;
858
858
  } | undefined;
859
+ disabled?: boolean | undefined;
859
860
  type?: "camera" | "doorbell" | undefined;
860
- interface?: {
861
- streamingMode?: "mp4" | "hls" | "mjpeg" | "webrtc" | "mse" | "webrtc/tcp" | undefined;
862
- } | undefined;
863
861
  sources?: {
864
862
  name: string;
863
+ roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution" | "none")[];
865
864
  urls: string[];
866
- roles: ("none" | "detect" | "record" | "stream" | "snapshot")[];
867
865
  _id?: string | undefined;
868
866
  }[] | undefined;
869
867
  recording?: {
870
868
  enabled?: boolean | undefined;
871
869
  } | undefined;
872
- disabled?: boolean | undefined;
870
+ interface?: {
871
+ streamingMode?: "webrtc" | "mse" | "webrtc/tcp" | "mjpeg" | "hls" | "mp4" | undefined;
872
+ } | undefined;
873
873
  activityZones?: {
874
874
  name: string;
875
875
  regions: {
@@ -19,16 +19,16 @@ export declare const mqttTLSSchema: zod.ZodEffects<zod.ZodObject<{
19
19
  key?: string | undefined;
20
20
  cert?: string | undefined;
21
21
  }, {
22
- enabled?: boolean | undefined;
23
22
  key?: string | undefined;
23
+ enabled?: boolean | undefined;
24
24
  cert?: string | undefined;
25
25
  }>, {
26
26
  enabled: boolean;
27
27
  key?: string | undefined;
28
28
  cert?: string | undefined;
29
29
  }, {
30
- enabled?: boolean | undefined;
31
30
  key?: string | undefined;
31
+ enabled?: boolean | undefined;
32
32
  cert?: string | undefined;
33
33
  }>;
34
34
  export declare const mqttSchema: zod.ZodObject<{
@@ -48,16 +48,16 @@ export declare const mqttSchema: zod.ZodObject<{
48
48
  key?: string | undefined;
49
49
  cert?: string | undefined;
50
50
  }, {
51
- enabled?: boolean | undefined;
52
51
  key?: string | undefined;
52
+ enabled?: boolean | undefined;
53
53
  cert?: string | undefined;
54
54
  }>, {
55
55
  enabled: boolean;
56
56
  key?: string | undefined;
57
57
  cert?: string | undefined;
58
58
  }, {
59
- enabled?: boolean | undefined;
60
59
  key?: string | undefined;
60
+ enabled?: boolean | undefined;
61
61
  cert?: string | undefined;
62
62
  }>>>;
63
63
  }, "strict", zod.ZodTypeAny, {
@@ -82,8 +82,8 @@ export declare const mqttSchema: zod.ZodObject<{
82
82
  clientId?: string | undefined;
83
83
  user?: string | undefined;
84
84
  tls?: {
85
- enabled?: boolean | undefined;
86
85
  key?: string | undefined;
86
+ enabled?: boolean | undefined;
87
87
  cert?: string | undefined;
88
88
  } | undefined;
89
89
  }>;
@@ -119,7 +119,6 @@ export declare const interfaceSettingsSchema: zod.ZodObject<{
119
119
  }>;
120
120
  export declare const patchConfigSchema: zod.ZodObject<{
121
121
  port: zod.ZodDefault<zod.ZodNumber>;
122
- localPort: zod.ZodDefault<zod.ZodNumber>;
123
122
  tempFile: zod.ZodOptional<zod.ZodString>;
124
123
  ssl: zod.ZodObject<{
125
124
  certFile: zod.ZodString;
@@ -162,8 +161,11 @@ export declare const patchConfigSchema: zod.ZodObject<{
162
161
  snapshotCache?: number | undefined;
163
162
  }>>;
164
163
  }, "strict", zod.ZodTypeAny, {
164
+ plugins: {
165
+ sudo?: boolean | undefined;
166
+ disabledPlugins?: string[] | undefined;
167
+ };
165
168
  port: number;
166
- localPort: number;
167
169
  ssl: {
168
170
  certFile: string;
169
171
  keyFile: string;
@@ -173,10 +175,6 @@ export declare const patchConfigSchema: zod.ZodObject<{
173
175
  level: "error" | "info" | "debug" | "warn" | "trace";
174
176
  disableTimestamps: boolean;
175
177
  };
176
- plugins: {
177
- sudo?: boolean | undefined;
178
- disabledPlugins?: string[] | undefined;
179
- };
180
178
  settings: {
181
179
  snapshotCache: number;
182
180
  };
@@ -191,13 +189,12 @@ export declare const patchConfigSchema: zod.ZodObject<{
191
189
  level?: "error" | "info" | "debug" | "warn" | "trace" | undefined;
192
190
  disableTimestamps?: boolean | undefined;
193
191
  };
194
- port?: number | undefined;
195
- localPort?: number | undefined;
196
- tempFile?: string | undefined;
197
192
  plugins?: {
198
193
  sudo?: boolean | undefined;
199
194
  disabledPlugins?: string[] | undefined;
200
195
  } | undefined;
196
+ port?: number | undefined;
197
+ tempFile?: string | undefined;
201
198
  settings?: {
202
199
  snapshotCache?: number | undefined;
203
200
  } | undefined;