@camstack/addon-provider-hikvision 1.2.64 → 1.2.66
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 +45 -4
- package/dist/addon.mjs +45 -4
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19490,7 +19490,20 @@ var RecentTracksQueryInput = object({
|
|
|
19490
19490
|
projection: TrackProjectionSchema.optional(),
|
|
19491
19491
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19492
19492
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19493
|
-
includeStationary: boolean().optional()
|
|
19493
|
+
includeStationary: boolean().optional(),
|
|
19494
|
+
/**
|
|
19495
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19496
|
+
*
|
|
19497
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19498
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19499
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19500
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19501
|
+
*
|
|
19502
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19503
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19504
|
+
* exact one.
|
|
19505
|
+
*/
|
|
19506
|
+
classes: array(string()).optional()
|
|
19494
19507
|
});
|
|
19495
19508
|
var RecentTracksPageSchema = object({
|
|
19496
19509
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -19877,7 +19890,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19877
19890
|
/** Include stationary-promoted rows (parked objects handed to the
|
|
19878
19891
|
* stationary registry). Default false: the timeline lists passages,
|
|
19879
19892
|
* not parking records (operator decision, 2026-08-15). */
|
|
19880
|
-
includeStationary: boolean().optional()
|
|
19893
|
+
includeStationary: boolean().optional(),
|
|
19894
|
+
/**
|
|
19895
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19896
|
+
*
|
|
19897
|
+
* Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
|
|
19898
|
+
* on a day of rows already downloaded. The zone filter had been moved
|
|
19899
|
+
* here for exactly that reason — and it is also what lets the rows come
|
|
19900
|
+
* back `slim` — but the class filter was left behind, so a narrow
|
|
19901
|
+
* selection was still a wide read followed by a wide discard.
|
|
19902
|
+
*
|
|
19903
|
+
* Empty is "show all", not "nothing matches": a chip row with nothing
|
|
19904
|
+
* selected is an operator who has not narrowed anything, and an empty
|
|
19905
|
+
* timeline would read as a camera that saw nothing.
|
|
19906
|
+
*/
|
|
19907
|
+
classes: array(string()).optional()
|
|
19881
19908
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19882
19909
|
kind: "mutation",
|
|
19883
19910
|
auth: "admin"
|
|
@@ -23750,8 +23777,22 @@ var automationControlCapability = {
|
|
|
23750
23777
|
* threshold.
|
|
23751
23778
|
*/
|
|
23752
23779
|
var BatteryStatusSchema = object({
|
|
23753
|
-
/**
|
|
23754
|
-
|
|
23780
|
+
/**
|
|
23781
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23782
|
+
* provider has registered the capability but no reading has landed.
|
|
23783
|
+
*
|
|
23784
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23785
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23786
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23787
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23788
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23789
|
+
* reading the difference is an alarm.
|
|
23790
|
+
*
|
|
23791
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23792
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23793
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23794
|
+
*/
|
|
23795
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23755
23796
|
/**
|
|
23756
23797
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23757
23798
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/addon.mjs
CHANGED
|
@@ -19491,7 +19491,20 @@ var RecentTracksQueryInput = object({
|
|
|
19491
19491
|
projection: TrackProjectionSchema.optional(),
|
|
19492
19492
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19493
19493
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19494
|
-
includeStationary: boolean().optional()
|
|
19494
|
+
includeStationary: boolean().optional(),
|
|
19495
|
+
/**
|
|
19496
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19497
|
+
*
|
|
19498
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19499
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19500
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19501
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19502
|
+
*
|
|
19503
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19504
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19505
|
+
* exact one.
|
|
19506
|
+
*/
|
|
19507
|
+
classes: array(string()).optional()
|
|
19495
19508
|
});
|
|
19496
19509
|
var RecentTracksPageSchema = object({
|
|
19497
19510
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -19878,7 +19891,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19878
19891
|
/** Include stationary-promoted rows (parked objects handed to the
|
|
19879
19892
|
* stationary registry). Default false: the timeline lists passages,
|
|
19880
19893
|
* not parking records (operator decision, 2026-08-15). */
|
|
19881
|
-
includeStationary: boolean().optional()
|
|
19894
|
+
includeStationary: boolean().optional(),
|
|
19895
|
+
/**
|
|
19896
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19897
|
+
*
|
|
19898
|
+
* Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
|
|
19899
|
+
* on a day of rows already downloaded. The zone filter had been moved
|
|
19900
|
+
* here for exactly that reason — and it is also what lets the rows come
|
|
19901
|
+
* back `slim` — but the class filter was left behind, so a narrow
|
|
19902
|
+
* selection was still a wide read followed by a wide discard.
|
|
19903
|
+
*
|
|
19904
|
+
* Empty is "show all", not "nothing matches": a chip row with nothing
|
|
19905
|
+
* selected is an operator who has not narrowed anything, and an empty
|
|
19906
|
+
* timeline would read as a camera that saw nothing.
|
|
19907
|
+
*/
|
|
19908
|
+
classes: array(string()).optional()
|
|
19882
19909
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19883
19910
|
kind: "mutation",
|
|
19884
19911
|
auth: "admin"
|
|
@@ -23751,8 +23778,22 @@ var automationControlCapability = {
|
|
|
23751
23778
|
* threshold.
|
|
23752
23779
|
*/
|
|
23753
23780
|
var BatteryStatusSchema = object({
|
|
23754
|
-
/**
|
|
23755
|
-
|
|
23781
|
+
/**
|
|
23782
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23783
|
+
* provider has registered the capability but no reading has landed.
|
|
23784
|
+
*
|
|
23785
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23786
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23787
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23788
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23789
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23790
|
+
* reading the difference is an alarm.
|
|
23791
|
+
*
|
|
23792
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23793
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23794
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23795
|
+
*/
|
|
23796
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23756
23797
|
/**
|
|
23757
23798
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23758
23799
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-hikvision",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.66",
|
|
4
4
|
"description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|