@camstack/addon-provider-onvif 1.2.79 → 1.2.81
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 +36 -9
- package/dist/addon.mjs +36 -9
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -11948,6 +11948,9 @@ var QueryFilterSchema = object({
|
|
|
11948
11948
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11949
11949
|
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
11950
11950
|
whereNot: record(string(), unknown()).optional(),
|
|
11951
|
+
/** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
|
|
11952
|
+
* empty list excludes nothing. See `QueryFilter.whereNotIn`. */
|
|
11953
|
+
whereNotIn: record(string(), array(unknown())).optional(),
|
|
11951
11954
|
orderBy: object({
|
|
11952
11955
|
field: string(),
|
|
11953
11956
|
direction: _enum(["asc", "desc"])
|
|
@@ -11968,7 +11971,8 @@ var MutationFilterSchema = object({
|
|
|
11968
11971
|
where: record(string(), unknown()).optional(),
|
|
11969
11972
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11970
11973
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11971
|
-
whereNot: record(string(), unknown()).optional()
|
|
11974
|
+
whereNot: record(string(), unknown()).optional(),
|
|
11975
|
+
whereNotIn: record(string(), array(unknown())).optional()
|
|
11972
11976
|
});
|
|
11973
11977
|
/**
|
|
11974
11978
|
* One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
|
|
@@ -18539,10 +18543,12 @@ var TrackSourceSchema = _enum([
|
|
|
18539
18543
|
* Terminal for the plain `markForTrain` toggle: returning it to `staging` is
|
|
18540
18544
|
* a deliberate action of the retrain page, not a side effect of a checkbox.
|
|
18541
18545
|
*
|
|
18542
|
-
* There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'`
|
|
18543
|
-
*
|
|
18544
|
-
*
|
|
18545
|
-
*
|
|
18546
|
+
* There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
|
|
18547
|
+
* every row is selectable by a positive predicate. (The filter language has
|
|
18548
|
+
* since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
|
|
18549
|
+
* of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
|
|
18550
|
+
* filtered on a NULLABLE column — see `excludeSources`. It did not when this
|
|
18551
|
+
* column was designed, and a NOT NULL column is still the better shape.)
|
|
18546
18552
|
*/
|
|
18547
18553
|
var RetrainStatusSchema = _enum([
|
|
18548
18554
|
"none",
|
|
@@ -19278,7 +19284,9 @@ var RecentTracksQueryInput = object({
|
|
|
19278
19284
|
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19279
19285
|
* exact one.
|
|
19280
19286
|
*/
|
|
19281
|
-
classes: array(string()).optional()
|
|
19287
|
+
classes: array(string()).optional(),
|
|
19288
|
+
/** See {@link ExcludeSourcesDoc}. */
|
|
19289
|
+
excludeSources: array(TrackSourceSchema).optional()
|
|
19282
19290
|
});
|
|
19283
19291
|
/**
|
|
19284
19292
|
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
@@ -19706,7 +19714,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19706
19714
|
* selected is an operator who has not narrowed anything, and an empty
|
|
19707
19715
|
* timeline would read as a camera that saw nothing.
|
|
19708
19716
|
*/
|
|
19709
|
-
classes: array(string()).optional()
|
|
19717
|
+
classes: array(string()).optional(),
|
|
19718
|
+
/** See {@link ExcludeSourcesDoc}. */
|
|
19719
|
+
excludeSources: array(TrackSourceSchema).optional()
|
|
19710
19720
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19711
19721
|
kind: "mutation",
|
|
19712
19722
|
auth: "admin"
|
|
@@ -20211,8 +20221,25 @@ var occupancyRecheckFramesField = {
|
|
|
20211
20221
|
* (analyzer attaches detected `regions[]`; onboard does not — the
|
|
20212
20222
|
* camera typically only reports a binary signal plus an optional
|
|
20213
20223
|
* channel/AI class which lives in dedicated event channels).
|
|
20214
|
-
|
|
20215
|
-
|
|
20224
|
+
*
|
|
20225
|
+
* - `onboard` — the camera's firmware said something moved.
|
|
20226
|
+
* - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
|
|
20227
|
+
* - `device-activity` — the DEVICE said it is doing its job: the
|
|
20228
|
+
* `recording-signal` LEVEL the same device raises for the recorder
|
|
20229
|
+
* ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
|
|
20230
|
+
* republished as a motion source. It attaches **nothing** — no regions, no
|
|
20231
|
+
* class: the only fact it carries is that the device is active, and a robot
|
|
20232
|
+
* vacuum that is itself the moving object has no region worth sending. It is
|
|
20233
|
+
* a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
|
|
20234
|
+
* `analyzer` it must not open the frame-diff side-channel — the runner's
|
|
20235
|
+
* `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
|
|
20236
|
+
* way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
|
|
20237
|
+
*/
|
|
20238
|
+
var MotionSourceEnum = _enum([
|
|
20239
|
+
"onboard",
|
|
20240
|
+
"analyzer",
|
|
20241
|
+
"device-activity"
|
|
20242
|
+
]);
|
|
20216
20243
|
/**
|
|
20217
20244
|
* List of motion sources active on a camera. Empty array is valid:
|
|
20218
20245
|
* "no source" — happens for battery cams without firmware motion when
|
package/dist/addon.mjs
CHANGED
|
@@ -11949,6 +11949,9 @@ var QueryFilterSchema = object({
|
|
|
11949
11949
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11950
11950
|
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
11951
11951
|
whereNot: record(string(), unknown()).optional(),
|
|
11952
|
+
/** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
|
|
11953
|
+
* empty list excludes nothing. See `QueryFilter.whereNotIn`. */
|
|
11954
|
+
whereNotIn: record(string(), array(unknown())).optional(),
|
|
11952
11955
|
orderBy: object({
|
|
11953
11956
|
field: string(),
|
|
11954
11957
|
direction: _enum(["asc", "desc"])
|
|
@@ -11969,7 +11972,8 @@ var MutationFilterSchema = object({
|
|
|
11969
11972
|
where: record(string(), unknown()).optional(),
|
|
11970
11973
|
whereIn: record(string(), array(unknown())).optional(),
|
|
11971
11974
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
11972
|
-
whereNot: record(string(), unknown()).optional()
|
|
11975
|
+
whereNot: record(string(), unknown()).optional(),
|
|
11976
|
+
whereNotIn: record(string(), array(unknown())).optional()
|
|
11973
11977
|
});
|
|
11974
11978
|
/**
|
|
11975
11979
|
* One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
|
|
@@ -18540,10 +18544,12 @@ var TrackSourceSchema = _enum([
|
|
|
18540
18544
|
* Terminal for the plain `markForTrain` toggle: returning it to `staging` is
|
|
18541
18545
|
* a deliberate action of the retrain page, not a side effect of a checkbox.
|
|
18542
18546
|
*
|
|
18543
|
-
* There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'`
|
|
18544
|
-
*
|
|
18545
|
-
*
|
|
18546
|
-
*
|
|
18547
|
+
* There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
|
|
18548
|
+
* every row is selectable by a positive predicate. (The filter language has
|
|
18549
|
+
* since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
|
|
18550
|
+
* of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
|
|
18551
|
+
* filtered on a NULLABLE column — see `excludeSources`. It did not when this
|
|
18552
|
+
* column was designed, and a NOT NULL column is still the better shape.)
|
|
18547
18553
|
*/
|
|
18548
18554
|
var RetrainStatusSchema = _enum([
|
|
18549
18555
|
"none",
|
|
@@ -19279,7 +19285,9 @@ var RecentTracksQueryInput = object({
|
|
|
19279
19285
|
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19280
19286
|
* exact one.
|
|
19281
19287
|
*/
|
|
19282
|
-
classes: array(string()).optional()
|
|
19288
|
+
classes: array(string()).optional(),
|
|
19289
|
+
/** See {@link ExcludeSourcesDoc}. */
|
|
19290
|
+
excludeSources: array(TrackSourceSchema).optional()
|
|
19283
19291
|
});
|
|
19284
19292
|
/**
|
|
19285
19293
|
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
@@ -19707,7 +19715,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19707
19715
|
* selected is an operator who has not narrowed anything, and an empty
|
|
19708
19716
|
* timeline would read as a camera that saw nothing.
|
|
19709
19717
|
*/
|
|
19710
|
-
classes: array(string()).optional()
|
|
19718
|
+
classes: array(string()).optional(),
|
|
19719
|
+
/** See {@link ExcludeSourcesDoc}. */
|
|
19720
|
+
excludeSources: array(TrackSourceSchema).optional()
|
|
19711
19721
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19712
19722
|
kind: "mutation",
|
|
19713
19723
|
auth: "admin"
|
|
@@ -20212,8 +20222,25 @@ var occupancyRecheckFramesField = {
|
|
|
20212
20222
|
* (analyzer attaches detected `regions[]`; onboard does not — the
|
|
20213
20223
|
* camera typically only reports a binary signal plus an optional
|
|
20214
20224
|
* channel/AI class which lives in dedicated event channels).
|
|
20215
|
-
|
|
20216
|
-
|
|
20225
|
+
*
|
|
20226
|
+
* - `onboard` — the camera's firmware said something moved.
|
|
20227
|
+
* - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
|
|
20228
|
+
* - `device-activity` — the DEVICE said it is doing its job: the
|
|
20229
|
+
* `recording-signal` LEVEL the same device raises for the recorder
|
|
20230
|
+
* ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
|
|
20231
|
+
* republished as a motion source. It attaches **nothing** — no regions, no
|
|
20232
|
+
* class: the only fact it carries is that the device is active, and a robot
|
|
20233
|
+
* vacuum that is itself the moving object has no region worth sending. It is
|
|
20234
|
+
* a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
|
|
20235
|
+
* `analyzer` it must not open the frame-diff side-channel — the runner's
|
|
20236
|
+
* `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
|
|
20237
|
+
* way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
|
|
20238
|
+
*/
|
|
20239
|
+
var MotionSourceEnum = _enum([
|
|
20240
|
+
"onboard",
|
|
20241
|
+
"analyzer",
|
|
20242
|
+
"device-activity"
|
|
20243
|
+
]);
|
|
20217
20244
|
/**
|
|
20218
20245
|
* List of motion sources active on a camera. Empty array is valid:
|
|
20219
20246
|
* "no source" — happens for battery cams without firmware motion when
|