@camstack/types 1.2.188 → 1.2.190
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.
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/camera/stream-pick.d.ts +71 -0
- package/dist/capabilities/camera-streams.cap.d.ts +10 -0
- package/dist/capabilities/index.d.ts +5 -3
- package/dist/capabilities/native-object-detection.cap.d.ts +67 -0
- package/dist/capabilities/notification-rules.cap.d.ts +60 -12
- package/dist/capabilities/osd-manager.cap.d.ts +18 -0
- package/dist/capabilities/stream-broker.cap.d.ts +37 -0
- package/dist/capabilities/stream-signals.cap.d.ts +80 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +1 -0
- package/dist/enums/event-category.d.ts +14 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-ZyX6jcse.mjs → event-category-BVDXG4tB.mjs} +14 -0
- package/dist/{event-category-yW4s1MGD.js → event-category-BVfsrBYA.js} +14 -0
- package/dist/generated/addon-api.d.ts +36 -0
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +4 -1
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +442 -39
- package/dist/index.mjs +434 -40
- package/dist/{sleep-DXsYD0RX.js → sleep-B8nfmQ8a.js} +8 -2
- package/dist/{sleep-DBKu2-U5.mjs → sleep-BEyvfshj.mjs} +8 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_event_category = require("./event-category-
|
|
1
|
+
const require_event_category = require("./event-category-BVfsrBYA.js");
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/audio/audio-chunk-format.ts
|
|
4
4
|
/**
|
|
@@ -3354,6 +3354,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3354
3354
|
smoke: createSliceHandle(stateSource, binding.deviceId, "smoke"),
|
|
3355
3355
|
streamCatalog: createSliceHandle(stateSource, binding.deviceId, "stream-catalog"),
|
|
3356
3356
|
streamParams: createSliceHandle(stateSource, binding.deviceId, "stream-params"),
|
|
3357
|
+
streamSignals: createSliceHandle(stateSource, binding.deviceId, "stream-signals"),
|
|
3357
3358
|
switch: createSliceHandle(stateSource, binding.deviceId, "switch"),
|
|
3358
3359
|
tamper: createSliceHandle(stateSource, binding.deviceId, "tamper"),
|
|
3359
3360
|
temperatureSensor: createSliceHandle(stateSource, binding.deviceId, "temperature-sensor"),
|
|
@@ -3571,6 +3572,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3571
3572
|
getStatus: (input) => dispatch("motion-zones", "motionZones", "getStatus", "query", input)
|
|
3572
3573
|
},
|
|
3573
3574
|
nativeObjectDetection: {
|
|
3575
|
+
getOptions: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getOptions", "query", input),
|
|
3576
|
+
setSettings: (input) => dispatch("native-object-detection", "nativeObjectDetection", "setSettings", "mutation", input),
|
|
3574
3577
|
setEnabled: (input) => dispatch("native-object-detection", "nativeObjectDetection", "setEnabled", "mutation", input),
|
|
3575
3578
|
getStatus: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getStatus", "query", input)
|
|
3576
3579
|
},
|
|
@@ -3768,6 +3771,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3768
3771
|
getConfigSchema: (input) => dispatch("stream-params", "streamParams", "getConfigSchema", "query", input),
|
|
3769
3772
|
getStatus: (input) => dispatch("stream-params", "streamParams", "getStatus", "query", input)
|
|
3770
3773
|
},
|
|
3774
|
+
streamSignals: { listSignals: (input) => dispatch("stream-signals", "streamSignals", "listSignals", "query", input) },
|
|
3771
3775
|
switch: {
|
|
3772
3776
|
setState: (input) => dispatch("switch", "switch", "setState", "mutation", input),
|
|
3773
3777
|
getStatus: (input) => dispatch("switch", "switch", "getStatus", "query", input)
|
|
@@ -3977,6 +3981,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3977
3981
|
},
|
|
3978
3982
|
recordingExport: { listExports: (input) => dispatchSystem("recordingExport", "listExports", "query", input) },
|
|
3979
3983
|
streamBroker: {
|
|
3984
|
+
reportStreamSignal: (input) => dispatchSystem("streamBroker", "reportStreamSignal", "mutation", input),
|
|
3980
3985
|
publishCameraStream: (input) => dispatchSystem("streamBroker", "publishCameraStream", "mutation", input),
|
|
3981
3986
|
retractCameraStream: (input) => dispatchSystem("streamBroker", "retractCameraStream", "mutation", input),
|
|
3982
3987
|
assignProfile: (input) => dispatchSystem("streamBroker", "assignProfile", "mutation", input),
|
|
@@ -4002,7 +4007,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
4002
4007
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
4003
4008
|
* (~144MB RSS per runner, D28).
|
|
4004
4009
|
*
|
|
4005
|
-
* Coverage:
|
|
4010
|
+
* Coverage: 84 device-scoped capabilities.
|
|
4006
4011
|
*/
|
|
4007
4012
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
4008
4013
|
"accessories",
|
|
@@ -4074,6 +4079,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
4074
4079
|
"snapshot",
|
|
4075
4080
|
"stream-catalog",
|
|
4076
4081
|
"stream-params",
|
|
4082
|
+
"stream-signals",
|
|
4077
4083
|
"switch",
|
|
4078
4084
|
"tamper",
|
|
4079
4085
|
"temperature-sensor",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { t as EventCategory } from "./event-category-BVDXG4tB.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/audio/audio-chunk-format.ts
|
|
4
4
|
/**
|
|
@@ -3354,6 +3354,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3354
3354
|
smoke: createSliceHandle(stateSource, binding.deviceId, "smoke"),
|
|
3355
3355
|
streamCatalog: createSliceHandle(stateSource, binding.deviceId, "stream-catalog"),
|
|
3356
3356
|
streamParams: createSliceHandle(stateSource, binding.deviceId, "stream-params"),
|
|
3357
|
+
streamSignals: createSliceHandle(stateSource, binding.deviceId, "stream-signals"),
|
|
3357
3358
|
switch: createSliceHandle(stateSource, binding.deviceId, "switch"),
|
|
3358
3359
|
tamper: createSliceHandle(stateSource, binding.deviceId, "tamper"),
|
|
3359
3360
|
temperatureSensor: createSliceHandle(stateSource, binding.deviceId, "temperature-sensor"),
|
|
@@ -3571,6 +3572,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3571
3572
|
getStatus: (input) => dispatch("motion-zones", "motionZones", "getStatus", "query", input)
|
|
3572
3573
|
},
|
|
3573
3574
|
nativeObjectDetection: {
|
|
3575
|
+
getOptions: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getOptions", "query", input),
|
|
3576
|
+
setSettings: (input) => dispatch("native-object-detection", "nativeObjectDetection", "setSettings", "mutation", input),
|
|
3574
3577
|
setEnabled: (input) => dispatch("native-object-detection", "nativeObjectDetection", "setEnabled", "mutation", input),
|
|
3575
3578
|
getStatus: (input) => dispatch("native-object-detection", "nativeObjectDetection", "getStatus", "query", input)
|
|
3576
3579
|
},
|
|
@@ -3768,6 +3771,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3768
3771
|
getConfigSchema: (input) => dispatch("stream-params", "streamParams", "getConfigSchema", "query", input),
|
|
3769
3772
|
getStatus: (input) => dispatch("stream-params", "streamParams", "getStatus", "query", input)
|
|
3770
3773
|
},
|
|
3774
|
+
streamSignals: { listSignals: (input) => dispatch("stream-signals", "streamSignals", "listSignals", "query", input) },
|
|
3771
3775
|
switch: {
|
|
3772
3776
|
setState: (input) => dispatch("switch", "switch", "setState", "mutation", input),
|
|
3773
3777
|
getStatus: (input) => dispatch("switch", "switch", "getStatus", "query", input)
|
|
@@ -3977,6 +3981,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3977
3981
|
},
|
|
3978
3982
|
recordingExport: { listExports: (input) => dispatchSystem("recordingExport", "listExports", "query", input) },
|
|
3979
3983
|
streamBroker: {
|
|
3984
|
+
reportStreamSignal: (input) => dispatchSystem("streamBroker", "reportStreamSignal", "mutation", input),
|
|
3980
3985
|
publishCameraStream: (input) => dispatchSystem("streamBroker", "publishCameraStream", "mutation", input),
|
|
3981
3986
|
retractCameraStream: (input) => dispatchSystem("streamBroker", "retractCameraStream", "mutation", input),
|
|
3982
3987
|
assignProfile: (input) => dispatchSystem("streamBroker", "assignProfile", "mutation", input),
|
|
@@ -4002,7 +4007,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
4002
4007
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
4003
4008
|
* (~144MB RSS per runner, D28).
|
|
4004
4009
|
*
|
|
4005
|
-
* Coverage:
|
|
4010
|
+
* Coverage: 84 device-scoped capabilities.
|
|
4006
4011
|
*/
|
|
4007
4012
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
4008
4013
|
"accessories",
|
|
@@ -4074,6 +4079,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
4074
4079
|
"snapshot",
|
|
4075
4080
|
"stream-catalog",
|
|
4076
4081
|
"stream-params",
|
|
4082
|
+
"stream-signals",
|
|
4077
4083
|
"switch",
|
|
4078
4084
|
"tamper",
|
|
4079
4085
|
"temperature-sensor",
|