@camera.ui/browser 0.0.110 → 0.0.112

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 (133) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +10 -1
  3. package/dist/index.d.ts +1269 -0
  4. package/dist/index.js +4179 -0
  5. package/package.json +55 -36
  6. package/CHANGELOG.md +0 -8
  7. package/dist/bundle.js +0 -2
  8. package/dist/bundle.js.LICENSE.txt +0 -23
  9. package/dist/types/packages/client/browser/src/api.d.ts +0 -8
  10. package/dist/types/packages/client/browser/src/client.d.ts +0 -23
  11. package/dist/types/packages/client/browser/src/index.d.ts +0 -2
  12. package/dist/types/packages/client/browser/src/proxy/cameraDevice.d.ts +0 -30
  13. package/dist/types/packages/client/browser/src/proxy/coreManager.d.ts +0 -16
  14. package/dist/types/packages/client/browser/src/proxy/deviceManager.d.ts +0 -18
  15. package/dist/types/packages/client/browser/src/proxy/index.d.ts +0 -3
  16. package/dist/types/packages/client/browser/src/socket.d.ts +0 -15
  17. package/dist/types/packages/client/browser/src/streaming/go2rts-session.d.ts +0 -71
  18. package/dist/types/packages/client/browser/src/types.d.ts +0 -58
  19. package/dist/types/packages/client/browser/src/utils.d.ts +0 -12
  20. package/dist/types/packages/common/src/nats/messageQueue.d.ts +0 -48
  21. package/dist/types/packages/common/src/nats/nats.d.ts +0 -30
  22. package/dist/types/packages/common/src/nats/packer.d.ts +0 -2
  23. package/dist/types/packages/common/src/utils/subscribed.d.ts +0 -18
  24. package/dist/types/packages/plugineer/src/polyglot/node/camera/index.d.ts +0 -91
  25. package/dist/types/packages/plugineer/src/polyglot/node/camera/interfaces/camera.d.ts +0 -8
  26. package/dist/types/packages/plugineer/src/polyglot/node/camera/interfaces/ptz.d.ts +0 -11
  27. package/dist/types/packages/plugineer/src/polyglot/node/camera/iou.d.ts +0 -2
  28. package/dist/types/packages/plugineer/src/polyglot/node/camera/polygon.d.ts +0 -4
  29. package/dist/types/packages/plugineer/src/polyglot/node/camera/types.d.ts +0 -18
  30. package/dist/types/packages/plugineer/src/polyglot/node/plugins/schema.d.ts +0 -62
  31. package/dist/types/packages/plugineer/src/polyglot/node/plugins/types.d.ts +0 -135
  32. package/dist/types/packages/plugineer/src/types.d.ts +0 -4
  33. package/dist/types/packages/types/src/index.d.ts +0 -730
  34. package/dist/types/server/src/api/controllers/api.controller.d.ts +0 -7
  35. package/dist/types/server/src/api/controllers/auth.controller.d.ts +0 -16
  36. package/dist/types/server/src/api/controllers/backup.controller.d.ts +0 -10
  37. package/dist/types/server/src/api/controllers/cameras.controller.d.ts +0 -38
  38. package/dist/types/server/src/api/controllers/config.controller.d.ts +0 -14
  39. package/dist/types/server/src/api/controllers/files.controller.d.ts +0 -8
  40. package/dist/types/server/src/api/controllers/frameWorkers.controller.d.ts +0 -11
  41. package/dist/types/server/src/api/controllers/plugins.controller.d.ts +0 -48
  42. package/dist/types/server/src/api/controllers/system.controller.d.ts +0 -23
  43. package/dist/types/server/src/api/controllers/users.controller.d.ts +0 -28
  44. package/dist/types/server/src/api/database/checks.d.ts +0 -55
  45. package/dist/types/server/src/api/database/constants.d.ts +0 -8
  46. package/dist/types/server/src/api/database/index.d.ts +0 -30
  47. package/dist/types/server/src/api/database/migration.d.ts +0 -15
  48. package/dist/types/server/src/api/database/selfcheck.d.ts +0 -48
  49. package/dist/types/server/src/api/database/types.d.ts +0 -88
  50. package/dist/types/server/src/api/go2rtc/api/application.d.ts +0 -9
  51. package/dist/types/server/src/api/go2rtc/api/config.d.ts +0 -8
  52. package/dist/types/server/src/api/go2rtc/api/index.d.ts +0 -1
  53. package/dist/types/server/src/api/go2rtc/api/snapshot.d.ts +0 -8
  54. package/dist/types/server/src/api/go2rtc/api/streams.d.ts +0 -12
  55. package/dist/types/server/src/api/go2rtc/index.d.ts +0 -14
  56. package/dist/types/server/src/api/go2rtc/queue.d.ts +0 -10
  57. package/dist/types/server/src/api/go2rtc/types.d.ts +0 -92
  58. package/dist/types/server/src/api/index.d.ts +0 -22
  59. package/dist/types/server/src/api/middlewares/authPermission.middleware.d.ts +0 -5
  60. package/dist/types/server/src/api/middlewares/authValidation.middleware.d.ts +0 -4
  61. package/dist/types/server/src/api/middlewares/pagination.middleware.d.ts +0 -3
  62. package/dist/types/server/src/api/middlewares/socketAuth.middleware.d.ts +0 -41
  63. package/dist/types/server/src/api/plugins/header.plugin.d.ts +0 -2
  64. package/dist/types/server/src/api/plugins/socket.plugin.d.ts +0 -11
  65. package/dist/types/server/src/api/plugins/system.plugin.d.ts +0 -20
  66. package/dist/types/server/src/api/plugins/useragent.plugin.d.ts +0 -8
  67. package/dist/types/server/src/api/routes/api.routes.d.ts +0 -2
  68. package/dist/types/server/src/api/routes/auth.routes.d.ts +0 -2
  69. package/dist/types/server/src/api/routes/backup.routes.d.ts +0 -2
  70. package/dist/types/server/src/api/routes/cameras.routes.d.ts +0 -2
  71. package/dist/types/server/src/api/routes/config.routes.d.ts +0 -2
  72. package/dist/types/server/src/api/routes/files.routes.d.ts +0 -2
  73. package/dist/types/server/src/api/routes/frameWorkers.routes.d.ts +0 -2
  74. package/dist/types/server/src/api/routes/index.d.ts +0 -6
  75. package/dist/types/server/src/api/routes/plugins.routes.d.ts +0 -2
  76. package/dist/types/server/src/api/routes/system.routes.d.ts +0 -2
  77. package/dist/types/server/src/api/routes/users.routes.d.ts +0 -2
  78. package/dist/types/server/src/api/schemas/backup.schema.d.ts +0 -211
  79. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +0 -980
  80. package/dist/types/server/src/api/schemas/config.schema.d.ts +0 -114
  81. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +0 -703
  82. package/dist/types/server/src/api/schemas/plugins.schema.d.ts +0 -72
  83. package/dist/types/server/src/api/schemas/system.schema.d.ts +0 -17
  84. package/dist/types/server/src/api/schemas/users.schema.d.ts +0 -1013
  85. package/dist/types/server/src/api/services/auth.service.d.ts +0 -24
  86. package/dist/types/server/src/api/services/backup.service.d.ts +0 -11
  87. package/dist/types/server/src/api/services/cameras.service.d.ts +0 -54
  88. package/dist/types/server/src/api/services/plugins.service.d.ts +0 -38
  89. package/dist/types/server/src/api/services/system.service.d.ts +0 -13
  90. package/dist/types/server/src/api/services/users.service.d.ts +0 -25
  91. package/dist/types/server/src/api/types/index.d.ts +0 -610
  92. package/dist/types/server/src/api/utils/cameraSource.d.ts +0 -6
  93. package/dist/types/server/src/api/utils/cert.d.ts +0 -11
  94. package/dist/types/server/src/api/utils/constants.d.ts +0 -13
  95. package/dist/types/server/src/api/utils/fetch.d.ts +0 -1
  96. package/dist/types/server/src/api/utils/moveFiles.d.ts +0 -4
  97. package/dist/types/server/src/api/utils/parse.d.ts +0 -2
  98. package/dist/types/server/src/api/websocket/go2rtc.d.ts +0 -21
  99. package/dist/types/server/src/api/websocket/index.d.ts +0 -16
  100. package/dist/types/server/src/api/websocket/nsp/logs.d.ts +0 -19
  101. package/dist/types/server/src/api/websocket/nsp/main.d.ts +0 -9
  102. package/dist/types/server/src/api/websocket/nsp/metrics.d.ts +0 -24
  103. package/dist/types/server/src/api/websocket/nsp/notifications.d.ts +0 -12
  104. package/dist/types/server/src/api/websocket/nsp/plugins.d.ts +0 -13
  105. package/dist/types/server/src/api/websocket/nsp/proxy.d.ts +0 -27
  106. package/dist/types/server/src/api/websocket/nsp/server.d.ts +0 -26
  107. package/dist/types/server/src/api/websocket/nsp/status.d.ts +0 -15
  108. package/dist/types/server/src/api/websocket/types.d.ts +0 -41
  109. package/dist/types/server/src/api.d.ts +0 -29
  110. package/dist/types/server/src/camera/controller.d.ts +0 -61
  111. package/dist/types/server/src/camera/frameWorker.d.ts +0 -45
  112. package/dist/types/server/src/camera/types.d.ts +0 -11
  113. package/dist/types/server/src/go2rtc/index.d.ts +0 -25
  114. package/dist/types/server/src/go2rtc/types.d.ts +0 -14
  115. package/dist/types/server/src/main.d.ts +0 -25
  116. package/dist/types/server/src/nats/index.d.ts +0 -40
  117. package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +0 -22
  118. package/dist/types/server/src/nats/proxy/coreManager.d.ts +0 -14
  119. package/dist/types/server/src/nats/proxy/deviceManager.d.ts +0 -14
  120. package/dist/types/server/src/nats/server.d.ts +0 -38
  121. package/dist/types/server/src/nats/types.d.ts +0 -18
  122. package/dist/types/server/src/nats/utils.d.ts +0 -2
  123. package/dist/types/server/src/plugins/index.d.ts +0 -33
  124. package/dist/types/server/src/plugins/plugin.d.ts +0 -35
  125. package/dist/types/server/src/plugins/schema.d.ts +0 -34
  126. package/dist/types/server/src/plugins/types.d.ts +0 -7
  127. package/dist/types/server/src/plugins/worker.d.ts +0 -55
  128. package/dist/types/server/src/services/config/constants.d.ts +0 -6
  129. package/dist/types/server/src/services/config/index.d.ts +0 -67
  130. package/dist/types/server/src/services/config/types.d.ts +0 -156
  131. package/dist/types/server/src/services/logger/index.d.ts +0 -16
  132. package/dist/types/server/src/types.d.ts +0 -31
  133. package/dist/types/shared/types/index.d.ts +0 -21
@@ -1,980 +0,0 @@
1
- import zod from 'zod';
2
- export declare const recordingsSettingsSchema: zod.ZodObject<{
3
- enabled: zod.ZodDefault<zod.ZodBoolean>;
4
- }, "strict", zod.ZodTypeAny, {
5
- enabled: boolean;
6
- }, {
7
- enabled?: boolean | undefined;
8
- }>;
9
- export declare const coordsSchema: zod.ZodObject<{
10
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
11
- points: zod.ZodTuple<[zod.ZodNumber, zod.ZodNumber], null>;
12
- }, "strip", zod.ZodTypeAny, {
13
- _id: string;
14
- points: [number, number];
15
- }, {
16
- points: [number, number];
17
- _id?: string | undefined;
18
- }>;
19
- export declare const objectClassesSchema: zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>;
20
- export declare const regionsSchema: zod.ZodObject<{
21
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
22
- coords: zod.ZodArray<zod.ZodObject<{
23
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
24
- points: zod.ZodTuple<[zod.ZodNumber, zod.ZodNumber], null>;
25
- }, "strip", zod.ZodTypeAny, {
26
- _id: string;
27
- points: [number, number];
28
- }, {
29
- points: [number, number];
30
- _id?: string | undefined;
31
- }>, "many">;
32
- type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
33
- filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
34
- classes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>, "many">;
35
- isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
36
- }, "strict", zod.ZodTypeAny, {
37
- filter: "include" | "exclude";
38
- _id: string;
39
- type: "intersect" | "contain";
40
- coords: {
41
- _id: string;
42
- points: [number, number];
43
- }[];
44
- classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
45
- isPrivacyMask: boolean;
46
- }, {
47
- coords: {
48
- points: [number, number];
49
- _id?: string | undefined;
50
- }[];
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
- filter?: "include" | "exclude" | undefined;
53
- _id?: string | undefined;
54
- type?: "intersect" | "contain" | undefined;
55
- isPrivacyMask?: boolean | undefined;
56
- }>;
57
- export declare const detectionZoneSchema: zod.ZodObject<{
58
- name: zod.ZodString;
59
- regions: zod.ZodArray<zod.ZodObject<{
60
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
61
- coords: zod.ZodArray<zod.ZodObject<{
62
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
63
- points: zod.ZodTuple<[zod.ZodNumber, zod.ZodNumber], null>;
64
- }, "strip", zod.ZodTypeAny, {
65
- _id: string;
66
- points: [number, number];
67
- }, {
68
- points: [number, number];
69
- _id?: string | undefined;
70
- }>, "many">;
71
- type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
72
- filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
73
- classes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>, "many">;
74
- isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
75
- }, "strict", zod.ZodTypeAny, {
76
- filter: "include" | "exclude";
77
- _id: string;
78
- type: "intersect" | "contain";
79
- coords: {
80
- _id: string;
81
- points: [number, number];
82
- }[];
83
- classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
84
- isPrivacyMask: boolean;
85
- }, {
86
- coords: {
87
- points: [number, number];
88
- _id?: string | undefined;
89
- }[];
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
- filter?: "include" | "exclude" | undefined;
92
- _id?: string | undefined;
93
- type?: "intersect" | "contain" | undefined;
94
- isPrivacyMask?: boolean | undefined;
95
- }>, "many">;
96
- }, "strip", zod.ZodTypeAny, {
97
- name: string;
98
- regions: {
99
- filter: "include" | "exclude";
100
- _id: string;
101
- type: "intersect" | "contain";
102
- coords: {
103
- _id: string;
104
- points: [number, number];
105
- }[];
106
- classes: ("person" | "bicycle" | "car" | "motorcycle" | "airplane" | "bus" | "train" | "truck" | "boat" | "traffic light" | "fire hydrant" | "stop sign" | "parking meter" | "bench" | "bird" | "cat" | "dog" | "horse" | "sheep" | "cow" | "elephant" | "bear" | "zebra" | "giraffe" | "backpack" | "umbrella" | "handbag" | "tie" | "suitcase" | "frisbee" | "skis" | "snowboard" | "sports ball" | "kite" | "baseball bat" | "baseball glove" | "skateboard" | "surfboard" | "tennis racket" | "bottle" | "wine glass" | "cup" | "fork" | "knife" | "spoon" | "bowl" | "banana" | "apple" | "sandwich" | "orange" | "broccoli" | "carrot" | "hot dog" | "pizza" | "donut" | "cake" | "chair" | "couch" | "potted plant" | "bed" | "dining table" | "toilet" | "tv" | "laptop" | "mouse" | "remote" | "keyboard" | "cell phone" | "microwave" | "oven" | "toaster" | "sink" | "refrigerator" | "book" | "clock" | "vase" | "scissors" | "teddy bear" | "hair drier" | "toothbrush" | "motion")[];
107
- isPrivacyMask: boolean;
108
- }[];
109
- }, {
110
- name: string;
111
- regions: {
112
- coords: {
113
- points: [number, number];
114
- _id?: string | undefined;
115
- }[];
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
- filter?: "include" | "exclude" | undefined;
118
- _id?: string | undefined;
119
- type?: "intersect" | "contain" | undefined;
120
- isPrivacyMask?: boolean | undefined;
121
- }[];
122
- }>;
123
- export declare const detectionSettingsSchema: zod.ZodObject<{
124
- motion: zod.ZodObject<{
125
- timeout: zod.ZodNumber;
126
- }, "strip", zod.ZodTypeAny, {
127
- timeout: number;
128
- }, {
129
- timeout: number;
130
- }>;
131
- object: zod.ZodObject<{
132
- confidence: zod.ZodNumber;
133
- }, "strip", zod.ZodTypeAny, {
134
- confidence: number;
135
- }, {
136
- confidence: number;
137
- }>;
138
- }, "strip", zod.ZodTypeAny, {
139
- object: {
140
- confidence: number;
141
- };
142
- motion: {
143
- timeout: number;
144
- };
145
- }, {
146
- object: {
147
- confidence: number;
148
- };
149
- motion: {
150
- timeout: number;
151
- };
152
- }>;
153
- export declare const inputRoleSchema: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>;
154
- export declare const streamingSourceRole: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>;
155
- export declare const inputProtocolSchema: zod.ZodUnion<[zod.ZodLiteral<"bubble://">, zod.ZodLiteral<"dvrip://">, zod.ZodLiteral<"echo:">, zod.ZodLiteral<"exec:">, zod.ZodLiteral<"expr:">, zod.ZodLiteral<"ffmpeg:">, zod.ZodLiteral<"gopro://">, zod.ZodLiteral<"hass:">, zod.ZodLiteral<"homekit://">, zod.ZodLiteral<"http://">, zod.ZodLiteral<"https://">, zod.ZodLiteral<"httpx://">, zod.ZodLiteral<"isapi://">, zod.ZodLiteral<"ivideon:">, zod.ZodLiteral<"kasa://">, zod.ZodLiteral<"nest:">, zod.ZodLiteral<"onvif://">, zod.ZodLiteral<"roborock://">, zod.ZodLiteral<"rtmp://">, zod.ZodLiteral<"rtsp://">, zod.ZodLiteral<"rtspx://">, zod.ZodLiteral<"tapo://">, zod.ZodLiteral<"tcp://">, zod.ZodLiteral<"webrtc:">, zod.ZodLiteral<"webtorrent:">]>;
156
- export declare const inputSchema: zod.ZodObject<{
157
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
158
- name: zod.ZodEffects<zod.ZodString, string, string>;
159
- roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
160
- urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
161
- internal: zod.ZodDefault<zod.ZodBoolean>;
162
- }, "strict", zod.ZodTypeAny, {
163
- _id: string;
164
- name: string;
165
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
166
- urls: string[];
167
- internal: boolean;
168
- }, {
169
- name: string;
170
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
171
- urls: string[];
172
- _id?: string | undefined;
173
- internal?: boolean | undefined;
174
- }>;
175
- export declare const patchInputSchema: zod.ZodObject<{
176
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
177
- name: zod.ZodEffects<zod.ZodString, string, string>;
178
- roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
179
- urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
180
- internal: zod.ZodDefault<zod.ZodBoolean>;
181
- }, "strict", zod.ZodTypeAny, {
182
- _id: string;
183
- name: string;
184
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
185
- urls: string[];
186
- internal: boolean;
187
- }, {
188
- name: string;
189
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
190
- urls: string[];
191
- _id?: string | undefined;
192
- internal?: boolean | undefined;
193
- }>;
194
- export declare const extensionsSettingsSchema: zod.ZodObject<{
195
- hub: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
196
- cameraController: zod.ZodOptional<zod.ZodString>;
197
- motionDetection: zod.ZodOptional<zod.ZodString>;
198
- audioDetection: zod.ZodOptional<zod.ZodString>;
199
- objectDetection: zod.ZodOptional<zod.ZodString>;
200
- ptz: zod.ZodOptional<zod.ZodString>;
201
- plugins: zod.ZodArray<zod.ZodString, "many">;
202
- }, "strict", zod.ZodTypeAny, {
203
- plugins: string[];
204
- cameraController?: string | undefined;
205
- hub?: string[] | undefined;
206
- motionDetection?: string | undefined;
207
- objectDetection?: string | undefined;
208
- audioDetection?: string | undefined;
209
- ptz?: string | undefined;
210
- }, {
211
- plugins: string[];
212
- cameraController?: string | undefined;
213
- hub?: string[] | undefined;
214
- motionDetection?: string | undefined;
215
- objectDetection?: string | undefined;
216
- audioDetection?: string | undefined;
217
- ptz?: string | undefined;
218
- }>;
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
- export declare const frameWorkerSettingsSchema: zod.ZodObject<{
221
- decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">, zod.ZodLiteral<"rust">]>;
222
- fps: zod.ZodNumber;
223
- resolution: zod.ZodUnion<[zod.ZodLiteral<"3840x2160">, zod.ZodLiteral<"3072x1728">, zod.ZodLiteral<"2560x1440">, zod.ZodLiteral<"1920x1080">, zod.ZodLiteral<"1440x1080">, zod.ZodLiteral<"1280x720">, zod.ZodLiteral<"960x540">, zod.ZodLiteral<"640x480">, zod.ZodLiteral<"640x360">, zod.ZodLiteral<"320x240">, zod.ZodLiteral<"320x180">]>;
224
- }, "strip", zod.ZodTypeAny, {
225
- decoder: "pillow" | "wasm" | "rust";
226
- fps: number;
227
- resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
228
- }, {
229
- decoder: "pillow" | "wasm" | "rust";
230
- fps: number;
231
- resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
232
- }>;
233
- export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, zod.ZodLiteral<"doorbell">]>;
234
- export declare const interfaceSettingsSchema: zod.ZodObject<{
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
- streamingSource: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>;
237
- }, "strip", zod.ZodTypeAny, {
238
- streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
239
- streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
240
- }, {
241
- streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
242
- streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
243
- }>;
244
- export declare const cameraInfoSchema: zod.ZodObject<{
245
- model: zod.ZodOptional<zod.ZodString>;
246
- manufacturer: zod.ZodOptional<zod.ZodString>;
247
- hardware: zod.ZodOptional<zod.ZodString>;
248
- serialNumber: zod.ZodOptional<zod.ZodString>;
249
- firmwareVersion: zod.ZodOptional<zod.ZodString>;
250
- supportUrl: zod.ZodOptional<zod.ZodString>;
251
- }, "strip", zod.ZodTypeAny, {
252
- model?: string | undefined;
253
- manufacturer?: string | undefined;
254
- hardware?: string | undefined;
255
- serialNumber?: string | undefined;
256
- firmwareVersion?: string | undefined;
257
- supportUrl?: string | undefined;
258
- }, {
259
- model?: string | undefined;
260
- manufacturer?: string | undefined;
261
- hardware?: string | undefined;
262
- serialNumber?: string | undefined;
263
- firmwareVersion?: string | undefined;
264
- supportUrl?: string | undefined;
265
- }>;
266
- export declare const createCameraSchema: zod.ZodObject<{
267
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
268
- nativeId: zod.ZodOptional<zod.ZodString>;
269
- pluginId: zod.ZodDefault<zod.ZodString>;
270
- disabled: zod.ZodDefault<zod.ZodBoolean>;
271
- name: zod.ZodString;
272
- type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"camera">, zod.ZodLiteral<"doorbell">]>>;
273
- isCloud: zod.ZodDefault<zod.ZodBoolean>;
274
- hasLight: zod.ZodDefault<zod.ZodBoolean>;
275
- hasSiren: zod.ZodDefault<zod.ZodBoolean>;
276
- hasBinarySensor: zod.ZodDefault<zod.ZodBoolean>;
277
- hasBattery: zod.ZodDefault<zod.ZodBoolean>;
278
- snapshotTTL: zod.ZodDefault<zod.ZodNumber>;
279
- info: zod.ZodDefault<zod.ZodObject<{
280
- model: zod.ZodOptional<zod.ZodString>;
281
- manufacturer: zod.ZodOptional<zod.ZodString>;
282
- hardware: zod.ZodOptional<zod.ZodString>;
283
- serialNumber: zod.ZodOptional<zod.ZodString>;
284
- firmwareVersion: zod.ZodOptional<zod.ZodString>;
285
- supportUrl: zod.ZodOptional<zod.ZodString>;
286
- }, "strip", zod.ZodTypeAny, {
287
- model?: string | undefined;
288
- manufacturer?: string | undefined;
289
- hardware?: string | undefined;
290
- serialNumber?: string | undefined;
291
- firmwareVersion?: string | undefined;
292
- supportUrl?: string | undefined;
293
- }, {
294
- model?: string | undefined;
295
- manufacturer?: string | undefined;
296
- hardware?: string | undefined;
297
- serialNumber?: string | undefined;
298
- firmwareVersion?: string | undefined;
299
- supportUrl?: string | undefined;
300
- }>>;
301
- sources: zod.ZodEffects<zod.ZodArray<zod.ZodObject<{
302
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
303
- name: zod.ZodEffects<zod.ZodString, string, string>;
304
- roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
305
- urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
306
- internal: zod.ZodDefault<zod.ZodBoolean>;
307
- }, "strict", zod.ZodTypeAny, {
308
- _id: string;
309
- name: string;
310
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
311
- urls: string[];
312
- internal: boolean;
313
- }, {
314
- name: string;
315
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
316
- urls: string[];
317
- _id?: string | undefined;
318
- internal?: boolean | undefined;
319
- }>, "many">, {
320
- _id: string;
321
- name: string;
322
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
323
- urls: string[];
324
- internal: boolean;
325
- }[], {
326
- name: string;
327
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
328
- urls: string[];
329
- _id?: string | undefined;
330
- internal?: boolean | undefined;
331
- }[]>;
332
- extensions: zod.ZodDefault<zod.ZodObject<{
333
- hub: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
334
- cameraController: zod.ZodOptional<zod.ZodString>;
335
- motionDetection: zod.ZodOptional<zod.ZodString>;
336
- audioDetection: zod.ZodOptional<zod.ZodString>;
337
- objectDetection: zod.ZodOptional<zod.ZodString>;
338
- ptz: zod.ZodOptional<zod.ZodString>;
339
- plugins: zod.ZodArray<zod.ZodString, "many">;
340
- }, "strict", zod.ZodTypeAny, {
341
- plugins: string[];
342
- cameraController?: string | undefined;
343
- hub?: string[] | undefined;
344
- motionDetection?: string | undefined;
345
- objectDetection?: string | undefined;
346
- audioDetection?: string | undefined;
347
- ptz?: string | undefined;
348
- }, {
349
- plugins: string[];
350
- cameraController?: string | undefined;
351
- hub?: string[] | undefined;
352
- motionDetection?: string | undefined;
353
- objectDetection?: string | undefined;
354
- audioDetection?: string | undefined;
355
- ptz?: string | undefined;
356
- }>>;
357
- recording: zod.ZodDefault<zod.ZodObject<{
358
- enabled: zod.ZodDefault<zod.ZodBoolean>;
359
- }, "strict", zod.ZodTypeAny, {
360
- enabled: boolean;
361
- }, {
362
- enabled?: boolean | undefined;
363
- }>>;
364
- interface: zod.ZodDefault<zod.ZodObject<{
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
- streamingSource: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>;
367
- }, "strip", zod.ZodTypeAny, {
368
- streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
369
- streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
370
- }, {
371
- streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
372
- streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
373
- }>>;
374
- detectionZone: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
375
- name: zod.ZodString;
376
- regions: zod.ZodArray<zod.ZodObject<{
377
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
378
- coords: zod.ZodArray<zod.ZodObject<{
379
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
380
- points: zod.ZodTuple<[zod.ZodNumber, zod.ZodNumber], null>;
381
- }, "strip", zod.ZodTypeAny, {
382
- _id: string;
383
- points: [number, number];
384
- }, {
385
- points: [number, number];
386
- _id?: string | undefined;
387
- }>, "many">;
388
- type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
389
- filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
390
- classes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>, "many">;
391
- isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
392
- }, "strict", zod.ZodTypeAny, {
393
- filter: "include" | "exclude";
394
- _id: string;
395
- type: "intersect" | "contain";
396
- coords: {
397
- _id: string;
398
- points: [number, number];
399
- }[];
400
- 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")[];
401
- isPrivacyMask: boolean;
402
- }, {
403
- coords: {
404
- points: [number, number];
405
- _id?: string | undefined;
406
- }[];
407
- 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")[];
408
- filter?: "include" | "exclude" | undefined;
409
- _id?: string | undefined;
410
- type?: "intersect" | "contain" | undefined;
411
- isPrivacyMask?: boolean | undefined;
412
- }>, "many">;
413
- }, "strip", zod.ZodTypeAny, {
414
- name: string;
415
- regions: {
416
- filter: "include" | "exclude";
417
- _id: string;
418
- type: "intersect" | "contain";
419
- coords: {
420
- _id: string;
421
- points: [number, number];
422
- }[];
423
- 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")[];
424
- isPrivacyMask: boolean;
425
- }[];
426
- }, {
427
- name: string;
428
- regions: {
429
- coords: {
430
- points: [number, number];
431
- _id?: string | undefined;
432
- }[];
433
- 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")[];
434
- filter?: "include" | "exclude" | undefined;
435
- _id?: string | undefined;
436
- type?: "intersect" | "contain" | undefined;
437
- isPrivacyMask?: boolean | undefined;
438
- }[];
439
- }>, "many">>;
440
- detectionSettings: zod.ZodDefault<zod.ZodObject<{
441
- motion: zod.ZodObject<{
442
- timeout: zod.ZodNumber;
443
- }, "strip", zod.ZodTypeAny, {
444
- timeout: number;
445
- }, {
446
- timeout: number;
447
- }>;
448
- object: zod.ZodObject<{
449
- confidence: zod.ZodNumber;
450
- }, "strip", zod.ZodTypeAny, {
451
- confidence: number;
452
- }, {
453
- confidence: number;
454
- }>;
455
- }, "strip", zod.ZodTypeAny, {
456
- object: {
457
- confidence: number;
458
- };
459
- motion: {
460
- timeout: number;
461
- };
462
- }, {
463
- object: {
464
- confidence: number;
465
- };
466
- motion: {
467
- timeout: number;
468
- };
469
- }>>;
470
- frameWorkerSettings: zod.ZodDefault<zod.ZodObject<{
471
- decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">, zod.ZodLiteral<"rust">]>;
472
- fps: zod.ZodNumber;
473
- resolution: zod.ZodUnion<[zod.ZodLiteral<"3840x2160">, zod.ZodLiteral<"3072x1728">, zod.ZodLiteral<"2560x1440">, zod.ZodLiteral<"1920x1080">, zod.ZodLiteral<"1440x1080">, zod.ZodLiteral<"1280x720">, zod.ZodLiteral<"960x540">, zod.ZodLiteral<"640x480">, zod.ZodLiteral<"640x360">, zod.ZodLiteral<"320x240">, zod.ZodLiteral<"320x180">]>;
474
- }, "strip", zod.ZodTypeAny, {
475
- decoder: "pillow" | "wasm" | "rust";
476
- fps: number;
477
- resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
478
- }, {
479
- decoder: "pillow" | "wasm" | "rust";
480
- fps: number;
481
- resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
482
- }>>;
483
- }, "strict", zod.ZodTypeAny, {
484
- detectionZone: {
485
- name: string;
486
- regions: {
487
- filter: "include" | "exclude";
488
- _id: string;
489
- type: "intersect" | "contain";
490
- coords: {
491
- _id: string;
492
- points: [number, number];
493
- }[];
494
- 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")[];
495
- isPrivacyMask: boolean;
496
- }[];
497
- }[];
498
- _id: string;
499
- pluginId: string;
500
- name: string;
501
- disabled: boolean;
502
- isCloud: boolean;
503
- hasLight: boolean;
504
- hasSiren: boolean;
505
- hasBinarySensor: boolean;
506
- hasBattery: boolean;
507
- info: {
508
- model?: string | undefined;
509
- manufacturer?: string | undefined;
510
- hardware?: string | undefined;
511
- serialNumber?: string | undefined;
512
- firmwareVersion?: string | undefined;
513
- supportUrl?: string | undefined;
514
- };
515
- type: "camera" | "doorbell";
516
- snapshotTTL: number;
517
- detectionSettings: {
518
- object: {
519
- confidence: number;
520
- };
521
- motion: {
522
- timeout: number;
523
- };
524
- };
525
- frameWorkerSettings: {
526
- decoder: "pillow" | "wasm" | "rust";
527
- fps: number;
528
- resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
529
- };
530
- sources: {
531
- _id: string;
532
- name: string;
533
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
534
- urls: string[];
535
- internal: boolean;
536
- }[];
537
- interface: {
538
- streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
539
- streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
540
- };
541
- extensions: {
542
- plugins: string[];
543
- cameraController?: string | undefined;
544
- hub?: string[] | undefined;
545
- motionDetection?: string | undefined;
546
- objectDetection?: string | undefined;
547
- audioDetection?: string | undefined;
548
- ptz?: string | undefined;
549
- };
550
- recording: {
551
- enabled: boolean;
552
- };
553
- nativeId?: string | undefined;
554
- }, {
555
- name: string;
556
- sources: {
557
- name: string;
558
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
559
- urls: string[];
560
- _id?: string | undefined;
561
- internal?: boolean | undefined;
562
- }[];
563
- detectionZone?: {
564
- name: string;
565
- regions: {
566
- coords: {
567
- points: [number, number];
568
- _id?: string | undefined;
569
- }[];
570
- 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")[];
571
- filter?: "include" | "exclude" | undefined;
572
- _id?: string | undefined;
573
- type?: "intersect" | "contain" | undefined;
574
- isPrivacyMask?: boolean | undefined;
575
- }[];
576
- }[] | undefined;
577
- _id?: string | undefined;
578
- nativeId?: string | undefined;
579
- pluginId?: string | undefined;
580
- disabled?: boolean | undefined;
581
- isCloud?: boolean | undefined;
582
- hasLight?: boolean | undefined;
583
- hasSiren?: boolean | undefined;
584
- hasBinarySensor?: boolean | undefined;
585
- hasBattery?: boolean | undefined;
586
- info?: {
587
- model?: string | undefined;
588
- manufacturer?: string | undefined;
589
- hardware?: string | undefined;
590
- serialNumber?: string | undefined;
591
- firmwareVersion?: string | undefined;
592
- supportUrl?: string | undefined;
593
- } | undefined;
594
- type?: "camera" | "doorbell" | undefined;
595
- snapshotTTL?: number | undefined;
596
- detectionSettings?: {
597
- object: {
598
- confidence: number;
599
- };
600
- motion: {
601
- timeout: number;
602
- };
603
- } | undefined;
604
- frameWorkerSettings?: {
605
- decoder: "pillow" | "wasm" | "rust";
606
- fps: number;
607
- resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
608
- } | undefined;
609
- interface?: {
610
- streamingMode: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
611
- streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
612
- } | undefined;
613
- extensions?: {
614
- plugins: string[];
615
- cameraController?: string | undefined;
616
- hub?: string[] | undefined;
617
- motionDetection?: string | undefined;
618
- objectDetection?: string | undefined;
619
- audioDetection?: string | undefined;
620
- ptz?: string | undefined;
621
- } | undefined;
622
- recording?: {
623
- enabled?: boolean | undefined;
624
- } | undefined;
625
- }>;
626
- export declare const patchCameraSchema: zod.ZodObject<{
627
- disabled: zod.ZodOptional<zod.ZodBoolean>;
628
- type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"camera">, zod.ZodLiteral<"doorbell">]>>;
629
- name: zod.ZodOptional<zod.ZodString>;
630
- snapshotTTL: zod.ZodOptional<zod.ZodNumber>;
631
- info: zod.ZodOptional<zod.ZodObject<{
632
- model: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
633
- manufacturer: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
634
- hardware: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
635
- serialNumber: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
636
- firmwareVersion: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
637
- supportUrl: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
638
- }, "strip", zod.ZodTypeAny, {
639
- model?: string | undefined;
640
- manufacturer?: string | undefined;
641
- hardware?: string | undefined;
642
- serialNumber?: string | undefined;
643
- firmwareVersion?: string | undefined;
644
- supportUrl?: string | undefined;
645
- }, {
646
- model?: string | undefined;
647
- manufacturer?: string | undefined;
648
- hardware?: string | undefined;
649
- serialNumber?: string | undefined;
650
- firmwareVersion?: string | undefined;
651
- supportUrl?: string | undefined;
652
- }>>;
653
- sources: zod.ZodOptional<zod.ZodEffects<zod.ZodArray<zod.ZodObject<{
654
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
655
- name: zod.ZodEffects<zod.ZodString, string, string>;
656
- roles: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>, "many">;
657
- urls: zod.ZodArray<zod.ZodEffects<zod.ZodString, string, string>, "many">;
658
- internal: zod.ZodDefault<zod.ZodBoolean>;
659
- }, "strict", zod.ZodTypeAny, {
660
- _id: string;
661
- name: string;
662
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
663
- urls: string[];
664
- internal: boolean;
665
- }, {
666
- name: string;
667
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
668
- urls: string[];
669
- _id?: string | undefined;
670
- internal?: boolean | undefined;
671
- }>, "many">, {
672
- _id: string;
673
- name: string;
674
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
675
- urls: string[];
676
- internal: boolean;
677
- }[], {
678
- name: string;
679
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
680
- urls: string[];
681
- _id?: string | undefined;
682
- internal?: boolean | undefined;
683
- }[]>>;
684
- extensions: zod.ZodOptional<zod.ZodObject<{
685
- hub: zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
686
- cameraController: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
687
- motionDetection: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
688
- audioDetection: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
689
- objectDetection: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
690
- ptz: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
691
- plugins: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
692
- }, "strict", zod.ZodTypeAny, {
693
- cameraController?: string | undefined;
694
- hub?: string[] | undefined;
695
- motionDetection?: string | undefined;
696
- objectDetection?: string | undefined;
697
- audioDetection?: string | undefined;
698
- ptz?: string | undefined;
699
- plugins?: string[] | undefined;
700
- }, {
701
- cameraController?: string | undefined;
702
- hub?: string[] | undefined;
703
- motionDetection?: string | undefined;
704
- objectDetection?: string | undefined;
705
- audioDetection?: string | undefined;
706
- ptz?: string | undefined;
707
- plugins?: string[] | undefined;
708
- }>>;
709
- interface: zod.ZodOptional<zod.ZodObject<{
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
- streamingSource: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>>;
712
- }, "strip", zod.ZodTypeAny, {
713
- streamingMode?: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
714
- streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
715
- }, {
716
- streamingMode?: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
717
- streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
718
- }>>;
719
- recording: zod.ZodOptional<zod.ZodObject<{
720
- enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
721
- }, "strict", zod.ZodTypeAny, {
722
- enabled?: boolean | undefined;
723
- }, {
724
- enabled?: boolean | undefined;
725
- }>>;
726
- detectionZone: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
727
- name: zod.ZodString;
728
- regions: zod.ZodArray<zod.ZodObject<{
729
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
730
- coords: zod.ZodArray<zod.ZodObject<{
731
- _id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
732
- points: zod.ZodTuple<[zod.ZodNumber, zod.ZodNumber], null>;
733
- }, "strip", zod.ZodTypeAny, {
734
- _id: string;
735
- points: [number, number];
736
- }, {
737
- points: [number, number];
738
- _id?: string | undefined;
739
- }>, "many">;
740
- type: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"intersect">, zod.ZodLiteral<"contain">]>>;
741
- filter: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"include">, zod.ZodLiteral<"exclude">]>>;
742
- classes: zod.ZodArray<zod.ZodUnion<[zod.ZodLiteral<"person">, zod.ZodLiteral<"bicycle">, zod.ZodLiteral<"car">, zod.ZodLiteral<"motorcycle">, zod.ZodLiteral<"airplane">, zod.ZodLiteral<"bus">, zod.ZodLiteral<"train">, zod.ZodLiteral<"truck">, zod.ZodLiteral<"boat">, zod.ZodLiteral<"traffic light">, zod.ZodLiteral<"fire hydrant">, zod.ZodLiteral<"stop sign">, zod.ZodLiteral<"parking meter">, zod.ZodLiteral<"bench">, zod.ZodLiteral<"bird">, zod.ZodLiteral<"cat">, zod.ZodLiteral<"dog">, zod.ZodLiteral<"horse">, zod.ZodLiteral<"sheep">, zod.ZodLiteral<"cow">, zod.ZodLiteral<"elephant">, zod.ZodLiteral<"bear">, zod.ZodLiteral<"zebra">, zod.ZodLiteral<"giraffe">, zod.ZodLiteral<"backpack">, zod.ZodLiteral<"umbrella">, zod.ZodLiteral<"handbag">, zod.ZodLiteral<"tie">, zod.ZodLiteral<"suitcase">, zod.ZodLiteral<"frisbee">, zod.ZodLiteral<"skis">, zod.ZodLiteral<"snowboard">, zod.ZodLiteral<"sports ball">, zod.ZodLiteral<"kite">, zod.ZodLiteral<"baseball bat">, zod.ZodLiteral<"baseball glove">, zod.ZodLiteral<"skateboard">, zod.ZodLiteral<"surfboard">, zod.ZodLiteral<"tennis racket">, zod.ZodLiteral<"bottle">, zod.ZodLiteral<"wine glass">, zod.ZodLiteral<"cup">, zod.ZodLiteral<"fork">, zod.ZodLiteral<"knife">, zod.ZodLiteral<"spoon">, zod.ZodLiteral<"bowl">, zod.ZodLiteral<"banana">, zod.ZodLiteral<"apple">, zod.ZodLiteral<"sandwich">, zod.ZodLiteral<"orange">, zod.ZodLiteral<"broccoli">, zod.ZodLiteral<"carrot">, zod.ZodLiteral<"hot dog">, zod.ZodLiteral<"pizza">, zod.ZodLiteral<"donut">, zod.ZodLiteral<"cake">, zod.ZodLiteral<"chair">, zod.ZodLiteral<"couch">, zod.ZodLiteral<"potted plant">, zod.ZodLiteral<"bed">, zod.ZodLiteral<"dining table">, zod.ZodLiteral<"toilet">, zod.ZodLiteral<"tv">, zod.ZodLiteral<"laptop">, zod.ZodLiteral<"mouse">, zod.ZodLiteral<"remote">, zod.ZodLiteral<"keyboard">, zod.ZodLiteral<"cell phone">, zod.ZodLiteral<"microwave">, zod.ZodLiteral<"oven">, zod.ZodLiteral<"toaster">, zod.ZodLiteral<"sink">, zod.ZodLiteral<"refrigerator">, zod.ZodLiteral<"book">, zod.ZodLiteral<"clock">, zod.ZodLiteral<"vase">, zod.ZodLiteral<"scissors">, zod.ZodLiteral<"teddy bear">, zod.ZodLiteral<"hair drier">, zod.ZodLiteral<"toothbrush">, zod.ZodLiteral<"motion">]>, "many">;
743
- isPrivacyMask: zod.ZodDefault<zod.ZodBoolean>;
744
- }, "strict", zod.ZodTypeAny, {
745
- filter: "include" | "exclude";
746
- _id: string;
747
- type: "intersect" | "contain";
748
- coords: {
749
- _id: string;
750
- points: [number, number];
751
- }[];
752
- 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")[];
753
- isPrivacyMask: boolean;
754
- }, {
755
- coords: {
756
- points: [number, number];
757
- _id?: string | undefined;
758
- }[];
759
- 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")[];
760
- filter?: "include" | "exclude" | undefined;
761
- _id?: string | undefined;
762
- type?: "intersect" | "contain" | undefined;
763
- isPrivacyMask?: boolean | undefined;
764
- }>, "many">;
765
- }, "strip", zod.ZodTypeAny, {
766
- name: string;
767
- regions: {
768
- filter: "include" | "exclude";
769
- _id: string;
770
- type: "intersect" | "contain";
771
- coords: {
772
- _id: string;
773
- points: [number, number];
774
- }[];
775
- 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")[];
776
- isPrivacyMask: boolean;
777
- }[];
778
- }, {
779
- name: string;
780
- regions: {
781
- coords: {
782
- points: [number, number];
783
- _id?: string | undefined;
784
- }[];
785
- 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")[];
786
- filter?: "include" | "exclude" | undefined;
787
- _id?: string | undefined;
788
- type?: "intersect" | "contain" | undefined;
789
- isPrivacyMask?: boolean | undefined;
790
- }[];
791
- }>, "many">>;
792
- detectionSettings: zod.ZodOptional<zod.ZodObject<{
793
- motion: zod.ZodOptional<zod.ZodObject<{
794
- timeout: zod.ZodNumber;
795
- }, "strip", zod.ZodTypeAny, {
796
- timeout: number;
797
- }, {
798
- timeout: number;
799
- }>>;
800
- object: zod.ZodOptional<zod.ZodObject<{
801
- confidence: zod.ZodNumber;
802
- }, "strip", zod.ZodTypeAny, {
803
- confidence: number;
804
- }, {
805
- confidence: number;
806
- }>>;
807
- }, "strip", zod.ZodTypeAny, {
808
- object?: {
809
- confidence: number;
810
- } | undefined;
811
- motion?: {
812
- timeout: number;
813
- } | undefined;
814
- }, {
815
- object?: {
816
- confidence: number;
817
- } | undefined;
818
- motion?: {
819
- timeout: number;
820
- } | undefined;
821
- }>>;
822
- frameWorkerSettings: zod.ZodOptional<zod.ZodObject<{
823
- decoder: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">, zod.ZodLiteral<"rust">]>>;
824
- fps: zod.ZodOptional<zod.ZodNumber>;
825
- resolution: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"3840x2160">, zod.ZodLiteral<"3072x1728">, zod.ZodLiteral<"2560x1440">, zod.ZodLiteral<"1920x1080">, zod.ZodLiteral<"1440x1080">, zod.ZodLiteral<"1280x720">, zod.ZodLiteral<"960x540">, zod.ZodLiteral<"640x480">, zod.ZodLiteral<"640x360">, zod.ZodLiteral<"320x240">, zod.ZodLiteral<"320x180">]>>;
826
- }, "strip", zod.ZodTypeAny, {
827
- decoder?: "pillow" | "wasm" | "rust" | undefined;
828
- fps?: number | undefined;
829
- resolution?: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180" | undefined;
830
- }, {
831
- decoder?: "pillow" | "wasm" | "rust" | undefined;
832
- fps?: number | undefined;
833
- resolution?: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180" | undefined;
834
- }>>;
835
- }, "strict", zod.ZodTypeAny, {
836
- detectionZone?: {
837
- name: string;
838
- regions: {
839
- filter: "include" | "exclude";
840
- _id: string;
841
- type: "intersect" | "contain";
842
- coords: {
843
- _id: string;
844
- points: [number, number];
845
- }[];
846
- 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")[];
847
- isPrivacyMask: boolean;
848
- }[];
849
- }[] | undefined;
850
- name?: string | undefined;
851
- disabled?: boolean | undefined;
852
- info?: {
853
- model?: string | undefined;
854
- manufacturer?: string | undefined;
855
- hardware?: string | undefined;
856
- serialNumber?: string | undefined;
857
- firmwareVersion?: string | undefined;
858
- supportUrl?: string | undefined;
859
- } | undefined;
860
- type?: "camera" | "doorbell" | undefined;
861
- snapshotTTL?: number | undefined;
862
- detectionSettings?: {
863
- object?: {
864
- confidence: number;
865
- } | undefined;
866
- motion?: {
867
- timeout: number;
868
- } | undefined;
869
- } | undefined;
870
- frameWorkerSettings?: {
871
- decoder?: "pillow" | "wasm" | "rust" | undefined;
872
- fps?: number | undefined;
873
- resolution?: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180" | undefined;
874
- } | undefined;
875
- sources?: {
876
- _id: string;
877
- name: string;
878
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
879
- urls: string[];
880
- internal: boolean;
881
- }[] | undefined;
882
- interface?: {
883
- streamingMode?: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
884
- streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
885
- } | undefined;
886
- extensions?: {
887
- cameraController?: string | undefined;
888
- hub?: string[] | undefined;
889
- motionDetection?: string | undefined;
890
- objectDetection?: string | undefined;
891
- audioDetection?: string | undefined;
892
- ptz?: string | undefined;
893
- plugins?: string[] | undefined;
894
- } | undefined;
895
- recording?: {
896
- enabled?: boolean | undefined;
897
- } | undefined;
898
- }, {
899
- detectionZone?: {
900
- name: string;
901
- regions: {
902
- coords: {
903
- points: [number, number];
904
- _id?: string | undefined;
905
- }[];
906
- 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")[];
907
- filter?: "include" | "exclude" | undefined;
908
- _id?: string | undefined;
909
- type?: "intersect" | "contain" | undefined;
910
- isPrivacyMask?: boolean | undefined;
911
- }[];
912
- }[] | undefined;
913
- name?: string | undefined;
914
- disabled?: boolean | undefined;
915
- info?: {
916
- model?: string | undefined;
917
- manufacturer?: string | undefined;
918
- hardware?: string | undefined;
919
- serialNumber?: string | undefined;
920
- firmwareVersion?: string | undefined;
921
- supportUrl?: string | undefined;
922
- } | undefined;
923
- type?: "camera" | "doorbell" | undefined;
924
- snapshotTTL?: number | undefined;
925
- detectionSettings?: {
926
- object?: {
927
- confidence: number;
928
- } | undefined;
929
- motion?: {
930
- timeout: number;
931
- } | undefined;
932
- } | undefined;
933
- frameWorkerSettings?: {
934
- decoder?: "pillow" | "wasm" | "rust" | undefined;
935
- fps?: number | undefined;
936
- resolution?: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180" | undefined;
937
- } | undefined;
938
- sources?: {
939
- name: string;
940
- roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
941
- urls: string[];
942
- _id?: string | undefined;
943
- internal?: boolean | undefined;
944
- }[] | undefined;
945
- interface?: {
946
- streamingMode?: "mjpeg" | "mp4" | "auto" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
947
- streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
948
- } | undefined;
949
- extensions?: {
950
- cameraController?: string | undefined;
951
- hub?: string[] | undefined;
952
- motionDetection?: string | undefined;
953
- objectDetection?: string | undefined;
954
- audioDetection?: string | undefined;
955
- ptz?: string | undefined;
956
- plugins?: string[] | undefined;
957
- } | undefined;
958
- recording?: {
959
- enabled?: boolean | undefined;
960
- } | undefined;
961
- }>;
962
- export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
963
- export declare const submitExtensionsSchema: zod.ZodObject<{
964
- configPath: zod.ZodString;
965
- }, "strict", zod.ZodTypeAny, {
966
- configPath: string;
967
- }, {
968
- configPath: string;
969
- }>;
970
- export declare const previewCameraSchema: zod.ZodObject<{
971
- url: zod.ZodString;
972
- }, "strict", zod.ZodTypeAny, {
973
- url: string;
974
- }, {
975
- url: string;
976
- }>;
977
- export type PreviewCameraInput = zod.TypeOf<typeof previewCameraSchema>;
978
- export type CreateCameraInput = zod.TypeOf<typeof createCameraSchema>;
979
- export type PatchCameraInput = zod.TypeOf<typeof patchCameraSchema>;
980
- export type PatchExtensionsInput = zod.TypeOf<typeof patchExtensionsSchema>;