@camstack/addon-provider-onvif 1.2.56 → 1.2.57
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 +30 -3
- package/dist/addon.mjs +30 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -18895,7 +18895,20 @@ var RecentTracksQueryInput = object({
|
|
|
18895
18895
|
projection: TrackProjectionSchema.optional(),
|
|
18896
18896
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18897
18897
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18898
|
-
includeStationary: boolean().optional()
|
|
18898
|
+
includeStationary: boolean().optional(),
|
|
18899
|
+
/**
|
|
18900
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18901
|
+
*
|
|
18902
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18903
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18904
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18905
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18906
|
+
*
|
|
18907
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18908
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18909
|
+
* exact one.
|
|
18910
|
+
*/
|
|
18911
|
+
classes: array(string()).optional()
|
|
18899
18912
|
});
|
|
18900
18913
|
var RecentTracksPageSchema = object({
|
|
18901
18914
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23037,8 +23050,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
23037
23050
|
* threshold.
|
|
23038
23051
|
*/
|
|
23039
23052
|
var BatteryStatusSchema = object({
|
|
23040
|
-
/**
|
|
23041
|
-
|
|
23053
|
+
/**
|
|
23054
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23055
|
+
* provider has registered the capability but no reading has landed.
|
|
23056
|
+
*
|
|
23057
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23058
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23059
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23060
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23061
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23062
|
+
* reading the difference is an alarm.
|
|
23063
|
+
*
|
|
23064
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23065
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23066
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23067
|
+
*/
|
|
23068
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23042
23069
|
/**
|
|
23043
23070
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23044
23071
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/addon.mjs
CHANGED
|
@@ -18896,7 +18896,20 @@ var RecentTracksQueryInput = object({
|
|
|
18896
18896
|
projection: TrackProjectionSchema.optional(),
|
|
18897
18897
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
18898
18898
|
* feed lists passages; parking records live on the stationary registry. */
|
|
18899
|
-
includeStationary: boolean().optional()
|
|
18899
|
+
includeStationary: boolean().optional(),
|
|
18900
|
+
/**
|
|
18901
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
18902
|
+
*
|
|
18903
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
18904
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
18905
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
18906
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
18907
|
+
*
|
|
18908
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
18909
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
18910
|
+
* exact one.
|
|
18911
|
+
*/
|
|
18912
|
+
classes: array(string()).optional()
|
|
18900
18913
|
});
|
|
18901
18914
|
var RecentTracksPageSchema = object({
|
|
18902
18915
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23038,8 +23051,22 @@ DeviceType.Automation, method(object({ deviceId: number().int().nonnegative() })
|
|
|
23038
23051
|
* threshold.
|
|
23039
23052
|
*/
|
|
23040
23053
|
var BatteryStatusSchema = object({
|
|
23041
|
-
/**
|
|
23042
|
-
|
|
23054
|
+
/**
|
|
23055
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23056
|
+
* provider has registered the capability but no reading has landed.
|
|
23057
|
+
*
|
|
23058
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23059
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23060
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23061
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23062
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23063
|
+
* reading the difference is an alarm.
|
|
23064
|
+
*
|
|
23065
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23066
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23067
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23068
|
+
*/
|
|
23069
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23043
23070
|
/**
|
|
23044
23071
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23045
23072
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|