@camstack/addon-matter-broker 0.2.6 → 0.2.8
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 +463 -76
- package/dist/addon.mjs +463 -76
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -13,7 +13,7 @@ let node_stream_promises = require("node:stream/promises");
|
|
|
13
13
|
let node_net = require("node:net");
|
|
14
14
|
let node_dgram = require("node:dgram");
|
|
15
15
|
node_dgram = require_esm.__toESM(node_dgram, 1);
|
|
16
|
-
//#region ../types/dist/event-category-
|
|
16
|
+
//#region ../types/dist/event-category-Bz24uP1U.mjs
|
|
17
17
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
18
18
|
EventCategory["SystemBoot"] = "system.boot";
|
|
19
19
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -284,6 +284,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
284
284
|
*/
|
|
285
285
|
EventCategory["DeviceStateChanged"] = "device.state-changed";
|
|
286
286
|
/**
|
|
287
|
+
* Frame occupancy for a camera CHANGED — a tracked object was gained or
|
|
288
|
+
* lost. Carries `{ deviceId, totalObjects, byClass, zones }`.
|
|
289
|
+
*
|
|
290
|
+
* Emitted only on a change, so a steady scene is silent. It exists so a
|
|
291
|
+
* client can stop polling `zoneAnalytics.getCurrentSnapshot`: that was the
|
|
292
|
+
* one live badge with no push signal at all, and it cost a request every
|
|
293
|
+
* four seconds per visible camera.
|
|
294
|
+
*
|
|
295
|
+
* Like every event it is telemetry and may be dropped ([D8]) — a consumer
|
|
296
|
+
* keeps a slow reconcile rather than trusting it alone.
|
|
297
|
+
*/
|
|
298
|
+
EventCategory["ZoneAnalyticsOccupancyChanged"] = "zone-analytics.occupancy-changed";
|
|
299
|
+
/**
|
|
287
300
|
* Cap event fired by every device that registers the `battery`
|
|
288
301
|
* capability. Mirrors the cap definition's `onStatusChanged`. Carries
|
|
289
302
|
* `{ deviceId, status: BatteryStatus }`. Subscribers (alert center,
|
|
@@ -7227,35 +7240,22 @@ var ConvertResultSchema = object({
|
|
|
7227
7240
|
*/
|
|
7228
7241
|
var RecordingWeekdaySchema = number().int().min(0).max(6);
|
|
7229
7242
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
7230
|
-
var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
|
|
7231
|
-
kind: literal("timeOfDay"),
|
|
7232
|
-
start: string$2().regex(HHMM),
|
|
7233
|
-
end: string$2().regex(HHMM),
|
|
7234
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
7235
|
-
days: array(RecordingWeekdaySchema).optional()
|
|
7236
|
-
})]);
|
|
7237
|
-
var RecordingModeSchema = _enum([
|
|
7238
|
-
"continuous",
|
|
7239
|
-
"onMotion",
|
|
7240
|
-
"onAudioThreshold"
|
|
7241
|
-
]);
|
|
7242
7243
|
/**
|
|
7243
|
-
*
|
|
7244
|
-
*
|
|
7245
|
-
* - `off` —
|
|
7246
|
-
* - `events` —
|
|
7247
|
-
*
|
|
7248
|
-
* - `continuous` — record 24/7 within the schedule.
|
|
7244
|
+
* DERIVED per-camera storage summary — the single field cheap consumers read
|
|
7245
|
+
* (the viewer's status dot, the camera list) instead of walking `bands`:
|
|
7246
|
+
* - `off` — no band covers the camera (or it is disabled).
|
|
7247
|
+
* - `events` — every band records around triggers only.
|
|
7248
|
+
* - `continuous` — at least one band records continuously.
|
|
7249
7249
|
*
|
|
7250
|
-
*
|
|
7251
|
-
*
|
|
7250
|
+
* NEVER authored: the recorder stamps it from the authoritative `bands` on
|
|
7251
|
+
* every save (`activeModeForConfig`). Writing it has no effect.
|
|
7252
7252
|
*/
|
|
7253
7253
|
var RecordingStorageModeSchema = _enum([
|
|
7254
7254
|
"off",
|
|
7255
7255
|
"events",
|
|
7256
7256
|
"continuous"
|
|
7257
7257
|
]);
|
|
7258
|
-
/** Which detectors trigger an `events`-mode
|
|
7258
|
+
/** Which detectors trigger an `events`-mode band. */
|
|
7259
7259
|
var RecordingTriggersSchema = object({
|
|
7260
7260
|
motion: boolean().optional(),
|
|
7261
7261
|
audioThresholdDbfs: number().optional()
|
|
@@ -7291,18 +7291,6 @@ var RecordingBandSchema = object({
|
|
|
7291
7291
|
preBufferSec: number().min(0).optional(),
|
|
7292
7292
|
postBufferSec: number().min(0).optional()
|
|
7293
7293
|
});
|
|
7294
|
-
var RecordingRuleSchema = object({
|
|
7295
|
-
schedule: RecordingScheduleSchema,
|
|
7296
|
-
mode: RecordingModeSchema,
|
|
7297
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
7298
|
-
preBufferSec: number().min(0).default(0),
|
|
7299
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
7300
|
-
postBufferSec: number().min(0).default(0),
|
|
7301
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
7302
|
-
resetTimeoutOnNewEvent: boolean().default(true),
|
|
7303
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
7304
|
-
thresholdDbfs: number().optional()
|
|
7305
|
-
});
|
|
7306
7294
|
/**
|
|
7307
7295
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7308
7296
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7336,40 +7324,28 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7336
7324
|
/**
|
|
7337
7325
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7338
7326
|
*
|
|
7339
|
-
* `
|
|
7340
|
-
*
|
|
7341
|
-
*
|
|
7342
|
-
*
|
|
7327
|
+
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
7328
|
+
* which trigger. `mode` is a derived summary the recorder stamps on save; every
|
|
7329
|
+
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7330
|
+
*
|
|
7331
|
+
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7332
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
|
|
7333
|
+
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7334
|
+
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7343
7335
|
*/
|
|
7344
7336
|
var RecordingConfigSchema = object({
|
|
7345
7337
|
enabled: boolean(),
|
|
7346
|
-
/**
|
|
7347
|
-
*
|
|
7338
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7339
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7348
7340
|
mode: RecordingStorageModeSchema.optional(),
|
|
7349
7341
|
profiles: array(CamProfileSchema).optional(),
|
|
7350
7342
|
segmentSeconds: number().int().positive().optional(),
|
|
7351
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
7352
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
7353
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
7354
|
-
schedules: array(RecordingScheduleSchema).optional(),
|
|
7355
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
7356
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
7357
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
7358
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
7359
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
7360
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
7361
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
7362
|
-
preBufferSec: number().min(0).optional(),
|
|
7363
|
-
postBufferSec: number().min(0).optional(),
|
|
7364
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
7365
|
-
rules: array(RecordingRuleSchema).optional(),
|
|
7366
7343
|
/**
|
|
7367
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
7368
|
-
*
|
|
7369
|
-
*
|
|
7370
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
7344
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
7345
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
7346
|
+
* "off" is the absence of a covering band, never a band value.
|
|
7371
7347
|
*/
|
|
7372
|
-
bands: array(RecordingBandSchema).
|
|
7348
|
+
bands: array(RecordingBandSchema).default([]),
|
|
7373
7349
|
retention: RecordingRetentionSchema.optional(),
|
|
7374
7350
|
/**
|
|
7375
7351
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -7377,8 +7353,15 @@ var RecordingConfigSchema = object({
|
|
|
7377
7353
|
* windows only — existing sheets are immutable, and each window's index
|
|
7378
7354
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7379
7355
|
*/
|
|
7380
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7381
|
-
|
|
7356
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
7357
|
+
/**
|
|
7358
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
7359
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
7360
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
7361
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
7362
|
+
*/
|
|
7363
|
+
stripsEnabled: boolean().optional()
|
|
7364
|
+
}).strict();
|
|
7382
7365
|
/**
|
|
7383
7366
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7384
7367
|
* recordings and events management surfaces.
|
|
@@ -7397,7 +7380,8 @@ var OpsLogOpSchema = _enum([
|
|
|
7397
7380
|
"prune",
|
|
7398
7381
|
"manual-delete",
|
|
7399
7382
|
"rescan",
|
|
7400
|
-
"retention-run"
|
|
7383
|
+
"retention-run",
|
|
7384
|
+
"relocate"
|
|
7401
7385
|
]);
|
|
7402
7386
|
/** Why the operation ran. */
|
|
7403
7387
|
var OpsLogReasonSchema = _enum([
|
|
@@ -7436,6 +7420,55 @@ var OpsLogQueryInputSchema = object({
|
|
|
7436
7420
|
limit: number().int().min(1).max(1e3).optional()
|
|
7437
7421
|
});
|
|
7438
7422
|
/**
|
|
7423
|
+
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
7424
|
+
*
|
|
7425
|
+
* One shape shared by the recorder's `relocateFootage` (segments + strips) and
|
|
7426
|
+
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7427
|
+
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
7428
|
+
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
7429
|
+
* after verify) and each completed/failed run also lands one durable ops-log
|
|
7430
|
+
* row on the owning addon's surface.
|
|
7431
|
+
*/
|
|
7432
|
+
var RelocateJobStateSchema = _enum([
|
|
7433
|
+
"running",
|
|
7434
|
+
"done",
|
|
7435
|
+
"failed",
|
|
7436
|
+
"cancelled"
|
|
7437
|
+
]);
|
|
7438
|
+
var RelocateJobSchema = object({
|
|
7439
|
+
jobId: string$2(),
|
|
7440
|
+
state: RelocateJobStateSchema,
|
|
7441
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
7442
|
+
* move from wherever they are to the target). */
|
|
7443
|
+
fromLocationId: string$2(),
|
|
7444
|
+
toLocationId: string$2(),
|
|
7445
|
+
/** Scoped device, or null = every device. */
|
|
7446
|
+
deviceId: number().nullable(),
|
|
7447
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
7448
|
+
entities: array(string$2()),
|
|
7449
|
+
filesMoved: number().int(),
|
|
7450
|
+
bytesMoved: number().int(),
|
|
7451
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
7452
|
+
filesTotal: number().int().nullable(),
|
|
7453
|
+
startedAt: number(),
|
|
7454
|
+
finishedAt: number().nullable(),
|
|
7455
|
+
error: string$2().nullable()
|
|
7456
|
+
});
|
|
7457
|
+
var RelocateFootageInputSchema = object({
|
|
7458
|
+
deviceId: number().optional(),
|
|
7459
|
+
fromLocationId: string$2(),
|
|
7460
|
+
toLocationId: string$2(),
|
|
7461
|
+
entities: array(_enum(["segments", "strips"])).optional(),
|
|
7462
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7463
|
+
* never allowed to starve live writers. */
|
|
7464
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7465
|
+
});
|
|
7466
|
+
var RelocateMediaInputSchema = object({
|
|
7467
|
+
deviceId: number().optional(),
|
|
7468
|
+
toLocationId: string$2(),
|
|
7469
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7470
|
+
});
|
|
7471
|
+
/**
|
|
7439
7472
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7440
7473
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7441
7474
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -7485,6 +7518,13 @@ var StorageLocationSchema = object({
|
|
|
7485
7518
|
nodeId: string$2().optional(),
|
|
7486
7519
|
isDefault: boolean().default(false),
|
|
7487
7520
|
isSystem: boolean().default(false),
|
|
7521
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
7522
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
7523
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
7524
|
+
capacity: object({
|
|
7525
|
+
totalBytes: number(),
|
|
7526
|
+
availableBytes: number()
|
|
7527
|
+
}).nullable().optional(),
|
|
7488
7528
|
createdAt: number(),
|
|
7489
7529
|
updatedAt: number()
|
|
7490
7530
|
});
|
|
@@ -8252,7 +8292,8 @@ var NcTaxonomyEntrySchema = object({
|
|
|
8252
8292
|
/** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
|
|
8253
8293
|
parentKind: string$2().nullable()
|
|
8254
8294
|
});
|
|
8255
|
-
|
|
8295
|
+
/** The complete NC picker taxonomy — three grouped buckets. */
|
|
8296
|
+
var NcTaxonomySchema = object({
|
|
8256
8297
|
videoClasses: array(NcTaxonomyEntrySchema),
|
|
8257
8298
|
audioKinds: array(NcTaxonomyEntrySchema),
|
|
8258
8299
|
labels: array(NcTaxonomyEntrySchema)
|
|
@@ -9155,6 +9196,7 @@ function shallowEqual$1(a, b) {
|
|
|
9155
9196
|
for (const k of ak) if (a[k] !== b[k]) return false;
|
|
9156
9197
|
return true;
|
|
9157
9198
|
}
|
|
9199
|
+
new Set(["devices", "classes"]);
|
|
9158
9200
|
/**
|
|
9159
9201
|
* Shared geometry vocabulary for on-frame shape caps — privacy-mask,
|
|
9160
9202
|
* motion-zones, and the detection zones/lines editor all speak this one
|
|
@@ -9313,6 +9355,29 @@ var NcOccupancyConditionSchema = object({
|
|
|
9313
9355
|
count: number().int().min(0).default(1),
|
|
9314
9356
|
sustainSeconds: number().int().min(0).max(3600).default(15)
|
|
9315
9357
|
});
|
|
9358
|
+
/**
|
|
9359
|
+
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
9360
|
+
*
|
|
9361
|
+
* The values are not symmetric, and deliberately so — the absent value has to
|
|
9362
|
+
* mean exactly what every rule authored before this condition existed already
|
|
9363
|
+
* does:
|
|
9364
|
+
* - `enter` — entries and every NON-crossing record (movement state,
|
|
9365
|
+
* package, sensor). Exits are rejected. **This is the absent behaviour**:
|
|
9366
|
+
* an operator who never asked for exits must not start receiving them.
|
|
9367
|
+
* - `exit` — ONLY an exit crossing. A record that is not a crossing at all
|
|
9368
|
+
* fails closed, because "the car left the drive" is a question about a
|
|
9369
|
+
* boundary, not about a detection.
|
|
9370
|
+
* - `any` — no direction filter; entries, exits and non-crossings alike.
|
|
9371
|
+
*
|
|
9372
|
+
* A rule asking for a direction should normally also scope `zones`, which the
|
|
9373
|
+
* engine evaluates against the crossed zone as well as the current membership
|
|
9374
|
+
* (an exit's membership no longer contains the zone it just left).
|
|
9375
|
+
*/
|
|
9376
|
+
var NcCrossingSchema = _enum([
|
|
9377
|
+
"enter",
|
|
9378
|
+
"exit",
|
|
9379
|
+
"any"
|
|
9380
|
+
]);
|
|
9316
9381
|
/** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
|
|
9317
9382
|
var NcZoneConditionSchema = object({
|
|
9318
9383
|
ids: array(string$2().min(1)).min(1),
|
|
@@ -9337,6 +9402,13 @@ var NcConditionsSchema = object({
|
|
|
9337
9402
|
/** Veto zones — any hit fails the rule. */
|
|
9338
9403
|
zonesExclude: array(string$2().min(1)).optional(),
|
|
9339
9404
|
/**
|
|
9405
|
+
* Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
|
|
9406
|
+
* and a closed track carries none, so a `track-end` rule asking for one
|
|
9407
|
+
* fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
|
|
9408
|
+
* which is exactly today's behaviour. See {@link NcCrossingSchema}.
|
|
9409
|
+
*/
|
|
9410
|
+
crossing: NcCrossingSchema.optional(),
|
|
9411
|
+
/**
|
|
9340
9412
|
* Exact (case-insensitive) match on the record's collapsed `label`
|
|
9341
9413
|
* (identity name / plate text / subclass).
|
|
9342
9414
|
*/
|
|
@@ -9471,17 +9543,85 @@ var NcRuleTargetSchema = object({
|
|
|
9471
9543
|
* - `keyFrame` — the clean scene frame (no subject box).
|
|
9472
9544
|
* - `none` — no attachment.
|
|
9473
9545
|
*/
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9546
|
+
/**
|
|
9547
|
+
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
9548
|
+
* conflate it with the selection strategy and betray the request: asking for
|
|
9549
|
+
* the clean scene frame on an object-event owner used to start at
|
|
9550
|
+
* `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
|
|
9551
|
+
* - `cropped` — the subject, tight. What "who is at the door" wants.
|
|
9552
|
+
* - `full` — the clean scene, no annotation. What "what is going on" wants.
|
|
9553
|
+
* - `boxed` — the scene WITH the detection boxes drawn, for verifying what
|
|
9554
|
+
* the pipeline actually saw.
|
|
9555
|
+
*/
|
|
9556
|
+
var NcMediaFrameSchema = _enum([
|
|
9557
|
+
"cropped",
|
|
9558
|
+
"full",
|
|
9559
|
+
"boxed"
|
|
9560
|
+
]);
|
|
9561
|
+
var NcMediaPolicySchema = object({
|
|
9562
|
+
attach: _enum([
|
|
9563
|
+
"best",
|
|
9564
|
+
"best-matching",
|
|
9565
|
+
"keyFrame",
|
|
9566
|
+
"none"
|
|
9567
|
+
]).default("best"),
|
|
9568
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
9569
|
+
frame: NcMediaFrameSchema.optional(),
|
|
9570
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
9571
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
9572
|
+
zoneCrop: boolean().optional(),
|
|
9573
|
+
/**
|
|
9574
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
9575
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
9576
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
9577
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
9578
|
+
* gif, never a failed notification.
|
|
9579
|
+
*/
|
|
9580
|
+
gif: boolean().optional(),
|
|
9581
|
+
/**
|
|
9582
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
9583
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
9584
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
9585
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
9586
|
+
*/
|
|
9587
|
+
clip: boolean().optional(),
|
|
9588
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
9589
|
+
clipPreRollSec: number().int().min(0).max(30).optional(),
|
|
9590
|
+
clipPostRollSec: number().int().min(0).max(30).optional(),
|
|
9591
|
+
/**
|
|
9592
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
9593
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
9594
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
9595
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
9596
|
+
* reports which one actually ran.
|
|
9597
|
+
*/
|
|
9598
|
+
profile: CamProfileSchema.optional()
|
|
9599
|
+
});
|
|
9600
|
+
/**
|
|
9601
|
+
* Cooldown GRANULARITY over the subject's class — how much a fired
|
|
9602
|
+
* notification suppresses.
|
|
9603
|
+
* - `shared` (default, and the absent value) — one window for the whole
|
|
9604
|
+
* rule/scope: a cat silences the next dog for `cooldownSec`.
|
|
9605
|
+
* - `per-class` — an independent window per detected class, so cat→dog fires
|
|
9606
|
+
* at once and cat→cat still waits.
|
|
9607
|
+
*
|
|
9608
|
+
* AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
|
|
9609
|
+
* must not be swallowed by a bark's window (the precedent this generalizes —
|
|
9610
|
+
* see `cooldownKey` in the rule engine).
|
|
9611
|
+
*/
|
|
9612
|
+
var NcThrottleGranularitySchema = _enum(["shared", "per-class"]);
|
|
9480
9613
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
9481
9614
|
var NcThrottleSchema = object({
|
|
9482
9615
|
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
9483
9616
|
/** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
|
|
9484
|
-
scope: _enum(["rule", "rule-device"]).default("rule-device")
|
|
9617
|
+
scope: _enum(["rule", "rule-device"]).default("rule-device"),
|
|
9618
|
+
/**
|
|
9619
|
+
* Class granularity of the cooldown key. Optional rather than defaulted:
|
|
9620
|
+
* a Zod default does NOT run on the addon→addon cap path, so a persisted
|
|
9621
|
+
* rule authored before this field simply carries none — and the engine
|
|
9622
|
+
* reads absent as `shared`, the pre-existing behaviour.
|
|
9623
|
+
*/
|
|
9624
|
+
granularity: NcThrottleGranularitySchema.optional()
|
|
9485
9625
|
});
|
|
9486
9626
|
/** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
|
|
9487
9627
|
var NcRuleInputSchema = object({
|
|
@@ -9490,7 +9630,19 @@ var NcRuleInputSchema = object({
|
|
|
9490
9630
|
delivery: NcDeliverySchema,
|
|
9491
9631
|
conditions: NcConditionsSchema.default({}),
|
|
9492
9632
|
schedule: NcScheduleSchema.optional(),
|
|
9493
|
-
|
|
9633
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
9634
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
9635
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
9636
|
+
targets: array(NcRuleTargetSchema),
|
|
9637
|
+
/**
|
|
9638
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
9639
|
+
* time each user fans out to the personal targets they own
|
|
9640
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
9641
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
9642
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
9643
|
+
* targets.
|
|
9644
|
+
*/
|
|
9645
|
+
targetUsers: array(string$2()).optional(),
|
|
9494
9646
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
9495
9647
|
throttle: NcThrottleSchema.default({
|
|
9496
9648
|
cooldownSec: 60,
|
|
@@ -9577,6 +9729,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
9577
9729
|
"schedule",
|
|
9578
9730
|
"plateMatcher",
|
|
9579
9731
|
"packagePhase",
|
|
9732
|
+
"crossingSelect",
|
|
9580
9733
|
"polygonDraw",
|
|
9581
9734
|
"occupancy"
|
|
9582
9735
|
]),
|
|
@@ -9703,7 +9856,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
9703
9856
|
}), object({ results: array(NcTestResultSchema) }), {
|
|
9704
9857
|
kind: "mutation",
|
|
9705
9858
|
auth: "admin"
|
|
9706
|
-
}), method(object({}), object({
|
|
9859
|
+
}), method(object({}), object({
|
|
9860
|
+
catalog: array(NcConditionDescriptorSchema),
|
|
9861
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
9862
|
+
})), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
|
|
9707
9863
|
/**
|
|
9708
9864
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
9709
9865
|
*
|
|
@@ -10712,6 +10868,28 @@ method(object({
|
|
|
10712
10868
|
}), object({ success: literal(true) }), {
|
|
10713
10869
|
kind: "mutation",
|
|
10714
10870
|
auth: "admin"
|
|
10871
|
+
}), method(object({
|
|
10872
|
+
deviceId: number(),
|
|
10873
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
10874
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
10875
|
+
profile: CamProfileSchema.optional(),
|
|
10876
|
+
aroundMs: number(),
|
|
10877
|
+
preRollSec: number().min(0).max(20).default(3),
|
|
10878
|
+
postRollSec: number().min(0).max(20).default(5),
|
|
10879
|
+
format: _enum(["gif", "mp4"]).default("gif"),
|
|
10880
|
+
maxWidth: number().int().min(120).max(1920).default(480),
|
|
10881
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
10882
|
+
fps: number().int().min(1).max(15).default(5)
|
|
10883
|
+
}), object({
|
|
10884
|
+
base64: string$2(),
|
|
10885
|
+
mime: string$2(),
|
|
10886
|
+
bytes: number().int(),
|
|
10887
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
10888
|
+
profile: CamProfileSchema,
|
|
10889
|
+
durationMs: number()
|
|
10890
|
+
}), {
|
|
10891
|
+
kind: "mutation",
|
|
10892
|
+
auth: "admin"
|
|
10715
10893
|
}), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string$2() }), BrokerStatsSchema), method(object({ brokerId: string$2() }), object({
|
|
10716
10894
|
probed: boolean(),
|
|
10717
10895
|
summary: string$2()
|
|
@@ -13842,6 +14020,18 @@ var motionCapability = {
|
|
|
13842
14020
|
name: "motion",
|
|
13843
14021
|
scope: "device",
|
|
13844
14022
|
mode: "singleton",
|
|
14023
|
+
/**
|
|
14024
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14025
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14026
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14027
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14028
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14029
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14030
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14031
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14032
|
+
* `snapshot` and every other per-device native cap.
|
|
14033
|
+
*/
|
|
14034
|
+
deviceNative: true,
|
|
13845
14035
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
13846
14036
|
methods: {
|
|
13847
14037
|
/**
|
|
@@ -18840,7 +19030,10 @@ method(object({
|
|
|
18840
19030
|
}), method(object({
|
|
18841
19031
|
deviceId: number(),
|
|
18842
19032
|
caps: array(string$2()).readonly().optional()
|
|
18843
|
-
}), record(string$2(), unknown().nullable()))
|
|
19033
|
+
}), record(string$2(), unknown().nullable())), method(object({
|
|
19034
|
+
deviceIds: array(number()).readonly(),
|
|
19035
|
+
caps: array(string$2()).readonly().optional()
|
|
19036
|
+
}), record(string$2(), record(string$2(), unknown().nullable())));
|
|
18844
19037
|
method(object({ deviceId: number() }), record(string$2(), record(string$2(), unknown()))), method(object({
|
|
18845
19038
|
deviceId: number(),
|
|
18846
19039
|
capName: string$2()
|
|
@@ -19771,6 +19964,36 @@ var TargetKindSchema = object({
|
|
|
19771
19964
|
icon: string$2(),
|
|
19772
19965
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
19773
19966
|
addonId: string$2(),
|
|
19967
|
+
/**
|
|
19968
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
19969
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
19970
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
19971
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
19972
|
+
*
|
|
19973
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
19974
|
+
* client, and a native client joins it onto its own hub base.
|
|
19975
|
+
*
|
|
19976
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
19977
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
19978
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
19979
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
19980
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
19981
|
+
*/
|
|
19982
|
+
iconUrl: string$2().optional(),
|
|
19983
|
+
/**
|
|
19984
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
19985
|
+
*
|
|
19986
|
+
* The server knows this and therefore says it, because the client cannot
|
|
19987
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
19988
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
19989
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
19990
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
19991
|
+
*
|
|
19992
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
19993
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
19994
|
+
* its raster path, which is the safe default for an unknown image.
|
|
19995
|
+
*/
|
|
19996
|
+
iconMediaType: string$2().optional(),
|
|
19774
19997
|
configSchema: ConfigSchemaPassthrough,
|
|
19775
19998
|
supportsDiscovery: boolean(),
|
|
19776
19999
|
caps: TargetKindCapsSchema
|
|
@@ -20218,6 +20441,29 @@ var MotionEventSchema = object({
|
|
|
20218
20441
|
* Absent on legacy rows ⇒ treat as `pipeline`.
|
|
20219
20442
|
*/
|
|
20220
20443
|
var DetectionSourceSchema = _enum(["pipeline", "onboard"]);
|
|
20444
|
+
/**
|
|
20445
|
+
* The confirmed zone crossing that produced an object event. Present ONLY on
|
|
20446
|
+
* an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
|
|
20447
|
+
* event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
|
|
20448
|
+
* appearance event carry none, so a rule asking for a direction fails closed
|
|
20449
|
+
* on them.
|
|
20450
|
+
*
|
|
20451
|
+
* Exactly ONE crossing per event: the emitter turns each confirmed crossing
|
|
20452
|
+
* into its own event, so a frame in which a track enters A while leaving B
|
|
20453
|
+
* produces two events with two directions — never one ambiguous row.
|
|
20454
|
+
*
|
|
20455
|
+
* `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
|
|
20456
|
+
* membership the box has NOW, and by definition it no longer contains the zone
|
|
20457
|
+
* that was just left. Without the id here, a zone-scoped rule could never match
|
|
20458
|
+
* the exit it asked for.
|
|
20459
|
+
*/
|
|
20460
|
+
var ZoneCrossingSchema = object({
|
|
20461
|
+
direction: _enum(["enter", "exit"]),
|
|
20462
|
+
/** Admin zone id crossed. */
|
|
20463
|
+
zoneId: string$2(),
|
|
20464
|
+
/** Zone display name at crossing time (falls back to the id). */
|
|
20465
|
+
zoneName: string$2().optional()
|
|
20466
|
+
});
|
|
20221
20467
|
var ObjectEventSchema = object({
|
|
20222
20468
|
...BaseEventFields,
|
|
20223
20469
|
kind: literal("object"),
|
|
@@ -20244,6 +20490,12 @@ var ObjectEventSchema = object({
|
|
|
20244
20490
|
zones: array(string$2()).readonly().optional(),
|
|
20245
20491
|
/** Omitted in slim projection. */
|
|
20246
20492
|
state: TrackStateSchema.optional(),
|
|
20493
|
+
/**
|
|
20494
|
+
* The zone crossing this event IS, when it is one. Absent on every other
|
|
20495
|
+
* event kind (movement state, appearance, package) — see
|
|
20496
|
+
* {@link ZoneCrossingSchema}. Omitted in slim projection.
|
|
20497
|
+
*/
|
|
20498
|
+
zoneCrossing: ZoneCrossingSchema.optional(),
|
|
20247
20499
|
/** Detection-frame dimensions in pixels — let consumers normalize the
|
|
20248
20500
|
* pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
|
|
20249
20501
|
frameWidth: number().optional(),
|
|
@@ -20502,6 +20754,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20502
20754
|
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
20503
20755
|
kind: "mutation",
|
|
20504
20756
|
auth: "admin"
|
|
20757
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string$2() }), {
|
|
20758
|
+
kind: "mutation",
|
|
20759
|
+
auth: "admin"
|
|
20760
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
20761
|
+
kind: "query",
|
|
20762
|
+
auth: "admin"
|
|
20763
|
+
}), method(object({ jobId: string$2() }), object({ cancelled: boolean() }), {
|
|
20764
|
+
kind: "mutation",
|
|
20765
|
+
auth: "admin"
|
|
20505
20766
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20506
20767
|
kind: "query",
|
|
20507
20768
|
auth: "admin"
|
|
@@ -22998,6 +23259,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
22998
23259
|
*/
|
|
22999
23260
|
priority: number()
|
|
23000
23261
|
})).readonly() });
|
|
23262
|
+
/**
|
|
23263
|
+
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
23264
|
+
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
23265
|
+
* what AUTO currently picks, so the UI can show the effective value either way.
|
|
23266
|
+
*/
|
|
23267
|
+
var NotificationEndpointSchema = object({
|
|
23268
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
23269
|
+
baseUrl: string$2().nullable(),
|
|
23270
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
23271
|
+
resolved: string$2().nullable()
|
|
23272
|
+
});
|
|
23001
23273
|
var AllowedAddressesSchema = object({
|
|
23002
23274
|
/**
|
|
23003
23275
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -23020,7 +23292,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
23020
23292
|
* to avoid mixed-content blocks in the browser. The public
|
|
23021
23293
|
* tunnel always emits `https://` regardless. */
|
|
23022
23294
|
scheme: _enum(["http", "https"]).optional()
|
|
23023
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
23295
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string$2().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
23024
23296
|
/**
|
|
23025
23297
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
23026
23298
|
*
|
|
@@ -23819,7 +24091,12 @@ var RecordingDeviceUsageSchema = object({
|
|
|
23819
24091
|
var RecordingLocationUsageSchema = object({
|
|
23820
24092
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
23821
24093
|
locationId: string$2().nullable(),
|
|
23822
|
-
/**
|
|
24094
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
24095
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
24096
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
24097
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24098
|
+
locationIds: array(string$2()).optional(),
|
|
24099
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
23823
24100
|
usedBytes: number(),
|
|
23824
24101
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
23825
24102
|
availableBytes: number().nullable(),
|
|
@@ -23931,6 +24208,44 @@ method(object({
|
|
|
23931
24208
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
23932
24209
|
kind: "query",
|
|
23933
24210
|
auth: "admin"
|
|
24211
|
+
}), method(object({
|
|
24212
|
+
deviceId: number(),
|
|
24213
|
+
aroundMs: number(),
|
|
24214
|
+
preRollSec: number().min(0).max(30).default(2),
|
|
24215
|
+
postRollSec: number().min(0).max(30).default(5),
|
|
24216
|
+
maxWidth: number().int().min(120).max(1280).default(480),
|
|
24217
|
+
fps: number().int().min(1).max(15).default(5)
|
|
24218
|
+
}), object({
|
|
24219
|
+
gifBase64: string$2(),
|
|
24220
|
+
fromMs: number(),
|
|
24221
|
+
toMs: number()
|
|
24222
|
+
}), {
|
|
24223
|
+
kind: "mutation",
|
|
24224
|
+
auth: "admin"
|
|
24225
|
+
}), method(object({
|
|
24226
|
+
deviceId: number(),
|
|
24227
|
+
aroundMs: number(),
|
|
24228
|
+
preRollSec: number().min(0).max(30).default(3),
|
|
24229
|
+
postRollSec: number().min(0).max(30).default(7),
|
|
24230
|
+
maxWidth: number().int().min(160).max(1920).default(640)
|
|
24231
|
+
}), object({
|
|
24232
|
+
clipBase64: string$2(),
|
|
24233
|
+
mime: string$2(),
|
|
24234
|
+
fromMs: number(),
|
|
24235
|
+
toMs: number(),
|
|
24236
|
+
bytes: number().int()
|
|
24237
|
+
}), {
|
|
24238
|
+
kind: "mutation",
|
|
24239
|
+
auth: "admin"
|
|
24240
|
+
}), method(RelocateFootageInputSchema, object({ jobId: string$2() }), {
|
|
24241
|
+
kind: "mutation",
|
|
24242
|
+
auth: "admin"
|
|
24243
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
24244
|
+
kind: "query",
|
|
24245
|
+
auth: "admin"
|
|
24246
|
+
}), method(object({ jobId: string$2() }), object({ cancelled: boolean() }), {
|
|
24247
|
+
kind: "mutation",
|
|
24248
|
+
auth: "admin"
|
|
23934
24249
|
});
|
|
23935
24250
|
/**
|
|
23936
24251
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -25522,6 +25837,12 @@ Object.freeze({
|
|
|
25522
25837
|
addonId: null,
|
|
25523
25838
|
access: "view"
|
|
25524
25839
|
},
|
|
25840
|
+
"deviceManager.getDeviceStatusAggregateBatch": {
|
|
25841
|
+
capName: "device-manager",
|
|
25842
|
+
capScope: "system",
|
|
25843
|
+
addonId: null,
|
|
25844
|
+
access: "view"
|
|
25845
|
+
},
|
|
25525
25846
|
"deviceManager.getLinkedDevices": {
|
|
25526
25847
|
capName: "device-manager",
|
|
25527
25848
|
capScope: "system",
|
|
@@ -26416,6 +26737,12 @@ Object.freeze({
|
|
|
26416
26737
|
addonId: null,
|
|
26417
26738
|
access: "view"
|
|
26418
26739
|
},
|
|
26740
|
+
"localNetwork.getNotificationEndpoint": {
|
|
26741
|
+
capName: "local-network",
|
|
26742
|
+
capScope: "system",
|
|
26743
|
+
addonId: null,
|
|
26744
|
+
access: "view"
|
|
26745
|
+
},
|
|
26419
26746
|
"localNetwork.getPreferred": {
|
|
26420
26747
|
capName: "local-network",
|
|
26421
26748
|
capScope: "system",
|
|
@@ -26440,6 +26767,12 @@ Object.freeze({
|
|
|
26440
26767
|
addonId: null,
|
|
26441
26768
|
access: "create"
|
|
26442
26769
|
},
|
|
26770
|
+
"localNetwork.setNotificationEndpoint": {
|
|
26771
|
+
capName: "local-network",
|
|
26772
|
+
capScope: "system",
|
|
26773
|
+
addonId: null,
|
|
26774
|
+
access: "create"
|
|
26775
|
+
},
|
|
26443
26776
|
"lockControl.lock": {
|
|
26444
26777
|
capName: "lock-control",
|
|
26445
26778
|
capScope: "device",
|
|
@@ -27082,6 +27415,12 @@ Object.freeze({
|
|
|
27082
27415
|
addonId: null,
|
|
27083
27416
|
access: "create"
|
|
27084
27417
|
},
|
|
27418
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
27419
|
+
capName: "pipeline-analytics",
|
|
27420
|
+
capScope: "device",
|
|
27421
|
+
addonId: null,
|
|
27422
|
+
access: "create"
|
|
27423
|
+
},
|
|
27085
27424
|
"pipelineAnalytics.clearTracks": {
|
|
27086
27425
|
capName: "pipeline-analytics",
|
|
27087
27426
|
capScope: "device",
|
|
@@ -27136,6 +27475,12 @@ Object.freeze({
|
|
|
27136
27475
|
addonId: null,
|
|
27137
27476
|
access: "view"
|
|
27138
27477
|
},
|
|
27478
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
27479
|
+
capName: "pipeline-analytics",
|
|
27480
|
+
capScope: "device",
|
|
27481
|
+
addonId: null,
|
|
27482
|
+
access: "view"
|
|
27483
|
+
},
|
|
27139
27484
|
"pipelineAnalytics.getMotionEvents": {
|
|
27140
27485
|
capName: "pipeline-analytics",
|
|
27141
27486
|
capScope: "device",
|
|
@@ -27208,6 +27553,12 @@ Object.freeze({
|
|
|
27208
27553
|
addonId: null,
|
|
27209
27554
|
access: "create"
|
|
27210
27555
|
},
|
|
27556
|
+
"pipelineAnalytics.relocateMedia": {
|
|
27557
|
+
capName: "pipeline-analytics",
|
|
27558
|
+
capScope: "device",
|
|
27559
|
+
addonId: null,
|
|
27560
|
+
access: "create"
|
|
27561
|
+
},
|
|
27211
27562
|
"pipelineAnalytics.searchObjectEvents": {
|
|
27212
27563
|
capName: "pipeline-analytics",
|
|
27213
27564
|
capScope: "device",
|
|
@@ -27970,6 +28321,12 @@ Object.freeze({
|
|
|
27970
28321
|
addonId: null,
|
|
27971
28322
|
access: "create"
|
|
27972
28323
|
},
|
|
28324
|
+
"recording.cancelRelocate": {
|
|
28325
|
+
capName: "recording",
|
|
28326
|
+
capScope: "system",
|
|
28327
|
+
addonId: null,
|
|
28328
|
+
access: "create"
|
|
28329
|
+
},
|
|
27973
28330
|
"recording.deleteFootprint": {
|
|
27974
28331
|
capName: "recording",
|
|
27975
28332
|
capScope: "system",
|
|
@@ -28000,6 +28357,12 @@ Object.freeze({
|
|
|
28000
28357
|
addonId: null,
|
|
28001
28358
|
access: "view"
|
|
28002
28359
|
},
|
|
28360
|
+
"recording.getRelocateStatus": {
|
|
28361
|
+
capName: "recording",
|
|
28362
|
+
capScope: "system",
|
|
28363
|
+
addonId: null,
|
|
28364
|
+
access: "view"
|
|
28365
|
+
},
|
|
28003
28366
|
"recording.getStorageUsage": {
|
|
28004
28367
|
capName: "recording",
|
|
28005
28368
|
capScope: "system",
|
|
@@ -28030,6 +28393,24 @@ Object.freeze({
|
|
|
28030
28393
|
addonId: null,
|
|
28031
28394
|
access: "view"
|
|
28032
28395
|
},
|
|
28396
|
+
"recording.relocateFootage": {
|
|
28397
|
+
capName: "recording",
|
|
28398
|
+
capScope: "system",
|
|
28399
|
+
addonId: null,
|
|
28400
|
+
access: "create"
|
|
28401
|
+
},
|
|
28402
|
+
"recording.renderClip": {
|
|
28403
|
+
capName: "recording",
|
|
28404
|
+
capScope: "system",
|
|
28405
|
+
addonId: null,
|
|
28406
|
+
access: "create"
|
|
28407
|
+
},
|
|
28408
|
+
"recording.renderGif": {
|
|
28409
|
+
capName: "recording",
|
|
28410
|
+
capScope: "system",
|
|
28411
|
+
addonId: null,
|
|
28412
|
+
access: "create"
|
|
28413
|
+
},
|
|
28033
28414
|
"recording.rescanStorage": {
|
|
28034
28415
|
capName: "recording",
|
|
28035
28416
|
capScope: "system",
|
|
@@ -28624,6 +29005,12 @@ Object.freeze({
|
|
|
28624
29005
|
addonId: null,
|
|
28625
29006
|
access: "create"
|
|
28626
29007
|
},
|
|
29008
|
+
"streamBroker.renderPreBufferClip": {
|
|
29009
|
+
capName: "stream-broker",
|
|
29010
|
+
capScope: "system",
|
|
29011
|
+
addonId: null,
|
|
29012
|
+
access: "create"
|
|
29013
|
+
},
|
|
28627
29014
|
"streamBroker.restartProfile": {
|
|
28628
29015
|
capName: "stream-broker",
|
|
28629
29016
|
capScope: "system",
|