@camstack/addon-ai 0.2.10 → 0.2.12
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 +451 -76
- package/dist/addon.mjs +451 -76
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { createReadStream } from "node:fs";
|
|
|
5
5
|
import * as fsp from "node:fs/promises";
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
import { createServer } from "node:net";
|
|
8
|
-
//#region ../types/dist/event-category-
|
|
8
|
+
//#region ../types/dist/event-category-Bz24uP1U.mjs
|
|
9
9
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
10
10
|
EventCategory["SystemBoot"] = "system.boot";
|
|
11
11
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -276,6 +276,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
276
276
|
*/
|
|
277
277
|
EventCategory["DeviceStateChanged"] = "device.state-changed";
|
|
278
278
|
/**
|
|
279
|
+
* Frame occupancy for a camera CHANGED — a tracked object was gained or
|
|
280
|
+
* lost. Carries `{ deviceId, totalObjects, byClass, zones }`.
|
|
281
|
+
*
|
|
282
|
+
* Emitted only on a change, so a steady scene is silent. It exists so a
|
|
283
|
+
* client can stop polling `zoneAnalytics.getCurrentSnapshot`: that was the
|
|
284
|
+
* one live badge with no push signal at all, and it cost a request every
|
|
285
|
+
* four seconds per visible camera.
|
|
286
|
+
*
|
|
287
|
+
* Like every event it is telemetry and may be dropped ([D8]) — a consumer
|
|
288
|
+
* keeps a slow reconcile rather than trusting it alone.
|
|
289
|
+
*/
|
|
290
|
+
EventCategory["ZoneAnalyticsOccupancyChanged"] = "zone-analytics.occupancy-changed";
|
|
291
|
+
/**
|
|
279
292
|
* Cap event fired by every device that registers the `battery`
|
|
280
293
|
* capability. Mirrors the cap definition's `onStatusChanged`. Carries
|
|
281
294
|
* `{ deviceId, status: BatteryStatus }`. Subscribers (alert center,
|
|
@@ -7219,35 +7232,22 @@ var ConvertResultSchema = object({
|
|
|
7219
7232
|
*/
|
|
7220
7233
|
var RecordingWeekdaySchema = number().int().min(0).max(6);
|
|
7221
7234
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
7222
|
-
var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
|
|
7223
|
-
kind: literal("timeOfDay"),
|
|
7224
|
-
start: string().regex(HHMM),
|
|
7225
|
-
end: string().regex(HHMM),
|
|
7226
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
7227
|
-
days: array(RecordingWeekdaySchema).optional()
|
|
7228
|
-
})]);
|
|
7229
|
-
var RecordingModeSchema = _enum([
|
|
7230
|
-
"continuous",
|
|
7231
|
-
"onMotion",
|
|
7232
|
-
"onAudioThreshold"
|
|
7233
|
-
]);
|
|
7234
7235
|
/**
|
|
7235
|
-
*
|
|
7236
|
-
*
|
|
7237
|
-
* - `off` —
|
|
7238
|
-
* - `events` —
|
|
7239
|
-
*
|
|
7240
|
-
* - `continuous` — record 24/7 within the schedule.
|
|
7236
|
+
* DERIVED per-camera storage summary — the single field cheap consumers read
|
|
7237
|
+
* (the viewer's status dot, the camera list) instead of walking `bands`:
|
|
7238
|
+
* - `off` — no band covers the camera (or it is disabled).
|
|
7239
|
+
* - `events` — every band records around triggers only.
|
|
7240
|
+
* - `continuous` — at least one band records continuously.
|
|
7241
7241
|
*
|
|
7242
|
-
*
|
|
7243
|
-
*
|
|
7242
|
+
* NEVER authored: the recorder stamps it from the authoritative `bands` on
|
|
7243
|
+
* every save (`activeModeForConfig`). Writing it has no effect.
|
|
7244
7244
|
*/
|
|
7245
7245
|
var RecordingStorageModeSchema = _enum([
|
|
7246
7246
|
"off",
|
|
7247
7247
|
"events",
|
|
7248
7248
|
"continuous"
|
|
7249
7249
|
]);
|
|
7250
|
-
/** Which detectors trigger an `events`-mode
|
|
7250
|
+
/** Which detectors trigger an `events`-mode band. */
|
|
7251
7251
|
var RecordingTriggersSchema = object({
|
|
7252
7252
|
motion: boolean().optional(),
|
|
7253
7253
|
audioThresholdDbfs: number().optional()
|
|
@@ -7283,18 +7283,6 @@ var RecordingBandSchema = object({
|
|
|
7283
7283
|
preBufferSec: number().min(0).optional(),
|
|
7284
7284
|
postBufferSec: number().min(0).optional()
|
|
7285
7285
|
});
|
|
7286
|
-
var RecordingRuleSchema = object({
|
|
7287
|
-
schedule: RecordingScheduleSchema,
|
|
7288
|
-
mode: RecordingModeSchema,
|
|
7289
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
7290
|
-
preBufferSec: number().min(0).default(0),
|
|
7291
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
7292
|
-
postBufferSec: number().min(0).default(0),
|
|
7293
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
7294
|
-
resetTimeoutOnNewEvent: boolean().default(true),
|
|
7295
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
7296
|
-
thresholdDbfs: number().optional()
|
|
7297
|
-
});
|
|
7298
7286
|
/**
|
|
7299
7287
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7300
7288
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7328,40 +7316,28 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7328
7316
|
/**
|
|
7329
7317
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7330
7318
|
*
|
|
7331
|
-
* `
|
|
7332
|
-
*
|
|
7333
|
-
*
|
|
7334
|
-
*
|
|
7319
|
+
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
7320
|
+
* which trigger. `mode` is a derived summary the recorder stamps on save; every
|
|
7321
|
+
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7322
|
+
*
|
|
7323
|
+
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7324
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
|
|
7325
|
+
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7326
|
+
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7335
7327
|
*/
|
|
7336
7328
|
var RecordingConfigSchema = object({
|
|
7337
7329
|
enabled: boolean(),
|
|
7338
|
-
/**
|
|
7339
|
-
*
|
|
7330
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7331
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7340
7332
|
mode: RecordingStorageModeSchema.optional(),
|
|
7341
7333
|
profiles: array(CamProfileSchema).optional(),
|
|
7342
7334
|
segmentSeconds: number().int().positive().optional(),
|
|
7343
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
7344
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
7345
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
7346
|
-
schedules: array(RecordingScheduleSchema).optional(),
|
|
7347
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
7348
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
7349
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
7350
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
7351
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
7352
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
7353
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
7354
|
-
preBufferSec: number().min(0).optional(),
|
|
7355
|
-
postBufferSec: number().min(0).optional(),
|
|
7356
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
7357
|
-
rules: array(RecordingRuleSchema).optional(),
|
|
7358
7335
|
/**
|
|
7359
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
7360
|
-
*
|
|
7361
|
-
*
|
|
7362
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
7336
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
7337
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
7338
|
+
* "off" is the absence of a covering band, never a band value.
|
|
7363
7339
|
*/
|
|
7364
|
-
bands: array(RecordingBandSchema).
|
|
7340
|
+
bands: array(RecordingBandSchema).default([]),
|
|
7365
7341
|
retention: RecordingRetentionSchema.optional(),
|
|
7366
7342
|
/**
|
|
7367
7343
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -7369,8 +7345,15 @@ var RecordingConfigSchema = object({
|
|
|
7369
7345
|
* windows only — existing sheets are immutable, and each window's index
|
|
7370
7346
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7371
7347
|
*/
|
|
7372
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7373
|
-
|
|
7348
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
7349
|
+
/**
|
|
7350
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
7351
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
7352
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
7353
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
7354
|
+
*/
|
|
7355
|
+
stripsEnabled: boolean().optional()
|
|
7356
|
+
}).strict();
|
|
7374
7357
|
/**
|
|
7375
7358
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7376
7359
|
* recordings and events management surfaces.
|
|
@@ -7389,7 +7372,8 @@ var OpsLogOpSchema = _enum([
|
|
|
7389
7372
|
"prune",
|
|
7390
7373
|
"manual-delete",
|
|
7391
7374
|
"rescan",
|
|
7392
|
-
"retention-run"
|
|
7375
|
+
"retention-run",
|
|
7376
|
+
"relocate"
|
|
7393
7377
|
]);
|
|
7394
7378
|
/** Why the operation ran. */
|
|
7395
7379
|
var OpsLogReasonSchema = _enum([
|
|
@@ -7428,6 +7412,55 @@ var OpsLogQueryInputSchema = object({
|
|
|
7428
7412
|
limit: number().int().min(1).max(1e3).optional()
|
|
7429
7413
|
});
|
|
7430
7414
|
/**
|
|
7415
|
+
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
7416
|
+
*
|
|
7417
|
+
* One shape shared by the recorder's `relocateFootage` (segments + strips) and
|
|
7418
|
+
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7419
|
+
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
7420
|
+
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
7421
|
+
* after verify) and each completed/failed run also lands one durable ops-log
|
|
7422
|
+
* row on the owning addon's surface.
|
|
7423
|
+
*/
|
|
7424
|
+
var RelocateJobStateSchema = _enum([
|
|
7425
|
+
"running",
|
|
7426
|
+
"done",
|
|
7427
|
+
"failed",
|
|
7428
|
+
"cancelled"
|
|
7429
|
+
]);
|
|
7430
|
+
var RelocateJobSchema = object({
|
|
7431
|
+
jobId: string(),
|
|
7432
|
+
state: RelocateJobStateSchema,
|
|
7433
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
7434
|
+
* move from wherever they are to the target). */
|
|
7435
|
+
fromLocationId: string(),
|
|
7436
|
+
toLocationId: string(),
|
|
7437
|
+
/** Scoped device, or null = every device. */
|
|
7438
|
+
deviceId: number().nullable(),
|
|
7439
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
7440
|
+
entities: array(string()),
|
|
7441
|
+
filesMoved: number().int(),
|
|
7442
|
+
bytesMoved: number().int(),
|
|
7443
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
7444
|
+
filesTotal: number().int().nullable(),
|
|
7445
|
+
startedAt: number(),
|
|
7446
|
+
finishedAt: number().nullable(),
|
|
7447
|
+
error: string().nullable()
|
|
7448
|
+
});
|
|
7449
|
+
var RelocateFootageInputSchema = object({
|
|
7450
|
+
deviceId: number().optional(),
|
|
7451
|
+
fromLocationId: string(),
|
|
7452
|
+
toLocationId: string(),
|
|
7453
|
+
entities: array(_enum(["segments", "strips"])).optional(),
|
|
7454
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7455
|
+
* never allowed to starve live writers. */
|
|
7456
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7457
|
+
});
|
|
7458
|
+
var RelocateMediaInputSchema = object({
|
|
7459
|
+
deviceId: number().optional(),
|
|
7460
|
+
toLocationId: string(),
|
|
7461
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7462
|
+
});
|
|
7463
|
+
/**
|
|
7431
7464
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7432
7465
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7433
7466
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -7477,6 +7510,13 @@ var StorageLocationSchema = object({
|
|
|
7477
7510
|
nodeId: string().optional(),
|
|
7478
7511
|
isDefault: boolean().default(false),
|
|
7479
7512
|
isSystem: boolean().default(false),
|
|
7513
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
7514
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
7515
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
7516
|
+
capacity: object({
|
|
7517
|
+
totalBytes: number(),
|
|
7518
|
+
availableBytes: number()
|
|
7519
|
+
}).nullable().optional(),
|
|
7480
7520
|
createdAt: number(),
|
|
7481
7521
|
updatedAt: number()
|
|
7482
7522
|
});
|
|
@@ -8244,7 +8284,8 @@ var NcTaxonomyEntrySchema = object({
|
|
|
8244
8284
|
/** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
|
|
8245
8285
|
parentKind: string().nullable()
|
|
8246
8286
|
});
|
|
8247
|
-
|
|
8287
|
+
/** The complete NC picker taxonomy — three grouped buckets. */
|
|
8288
|
+
var NcTaxonomySchema = object({
|
|
8248
8289
|
videoClasses: array(NcTaxonomyEntrySchema),
|
|
8249
8290
|
audioKinds: array(NcTaxonomyEntrySchema),
|
|
8250
8291
|
labels: array(NcTaxonomyEntrySchema)
|
|
@@ -8904,6 +8945,7 @@ var AccessoryKind = {
|
|
|
8904
8945
|
};
|
|
8905
8946
|
AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
|
|
8906
8947
|
DeviceFeature.BatteryOperated;
|
|
8948
|
+
new Set(["devices", "classes"]);
|
|
8907
8949
|
/**
|
|
8908
8950
|
* Shared geometry vocabulary for on-frame shape caps — privacy-mask,
|
|
8909
8951
|
* motion-zones, and the detection zones/lines editor all speak this one
|
|
@@ -9062,6 +9104,29 @@ var NcOccupancyConditionSchema = object({
|
|
|
9062
9104
|
count: number().int().min(0).default(1),
|
|
9063
9105
|
sustainSeconds: number().int().min(0).max(3600).default(15)
|
|
9064
9106
|
});
|
|
9107
|
+
/**
|
|
9108
|
+
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
9109
|
+
*
|
|
9110
|
+
* The values are not symmetric, and deliberately so — the absent value has to
|
|
9111
|
+
* mean exactly what every rule authored before this condition existed already
|
|
9112
|
+
* does:
|
|
9113
|
+
* - `enter` — entries and every NON-crossing record (movement state,
|
|
9114
|
+
* package, sensor). Exits are rejected. **This is the absent behaviour**:
|
|
9115
|
+
* an operator who never asked for exits must not start receiving them.
|
|
9116
|
+
* - `exit` — ONLY an exit crossing. A record that is not a crossing at all
|
|
9117
|
+
* fails closed, because "the car left the drive" is a question about a
|
|
9118
|
+
* boundary, not about a detection.
|
|
9119
|
+
* - `any` — no direction filter; entries, exits and non-crossings alike.
|
|
9120
|
+
*
|
|
9121
|
+
* A rule asking for a direction should normally also scope `zones`, which the
|
|
9122
|
+
* engine evaluates against the crossed zone as well as the current membership
|
|
9123
|
+
* (an exit's membership no longer contains the zone it just left).
|
|
9124
|
+
*/
|
|
9125
|
+
var NcCrossingSchema = _enum([
|
|
9126
|
+
"enter",
|
|
9127
|
+
"exit",
|
|
9128
|
+
"any"
|
|
9129
|
+
]);
|
|
9065
9130
|
/** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
|
|
9066
9131
|
var NcZoneConditionSchema = object({
|
|
9067
9132
|
ids: array(string().min(1)).min(1),
|
|
@@ -9086,6 +9151,13 @@ var NcConditionsSchema = object({
|
|
|
9086
9151
|
/** Veto zones — any hit fails the rule. */
|
|
9087
9152
|
zonesExclude: array(string().min(1)).optional(),
|
|
9088
9153
|
/**
|
|
9154
|
+
* Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
|
|
9155
|
+
* and a closed track carries none, so a `track-end` rule asking for one
|
|
9156
|
+
* fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
|
|
9157
|
+
* which is exactly today's behaviour. See {@link NcCrossingSchema}.
|
|
9158
|
+
*/
|
|
9159
|
+
crossing: NcCrossingSchema.optional(),
|
|
9160
|
+
/**
|
|
9089
9161
|
* Exact (case-insensitive) match on the record's collapsed `label`
|
|
9090
9162
|
* (identity name / plate text / subclass).
|
|
9091
9163
|
*/
|
|
@@ -9220,17 +9292,85 @@ var NcRuleTargetSchema = object({
|
|
|
9220
9292
|
* - `keyFrame` — the clean scene frame (no subject box).
|
|
9221
9293
|
* - `none` — no attachment.
|
|
9222
9294
|
*/
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9295
|
+
/**
|
|
9296
|
+
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
9297
|
+
* conflate it with the selection strategy and betray the request: asking for
|
|
9298
|
+
* the clean scene frame on an object-event owner used to start at
|
|
9299
|
+
* `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
|
|
9300
|
+
* - `cropped` — the subject, tight. What "who is at the door" wants.
|
|
9301
|
+
* - `full` — the clean scene, no annotation. What "what is going on" wants.
|
|
9302
|
+
* - `boxed` — the scene WITH the detection boxes drawn, for verifying what
|
|
9303
|
+
* the pipeline actually saw.
|
|
9304
|
+
*/
|
|
9305
|
+
var NcMediaFrameSchema = _enum([
|
|
9306
|
+
"cropped",
|
|
9307
|
+
"full",
|
|
9308
|
+
"boxed"
|
|
9309
|
+
]);
|
|
9310
|
+
var NcMediaPolicySchema = object({
|
|
9311
|
+
attach: _enum([
|
|
9312
|
+
"best",
|
|
9313
|
+
"best-matching",
|
|
9314
|
+
"keyFrame",
|
|
9315
|
+
"none"
|
|
9316
|
+
]).default("best"),
|
|
9317
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
9318
|
+
frame: NcMediaFrameSchema.optional(),
|
|
9319
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
9320
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
9321
|
+
zoneCrop: boolean().optional(),
|
|
9322
|
+
/**
|
|
9323
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
9324
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
9325
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
9326
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
9327
|
+
* gif, never a failed notification.
|
|
9328
|
+
*/
|
|
9329
|
+
gif: boolean().optional(),
|
|
9330
|
+
/**
|
|
9331
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
9332
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
9333
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
9334
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
9335
|
+
*/
|
|
9336
|
+
clip: boolean().optional(),
|
|
9337
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
9338
|
+
clipPreRollSec: number().int().min(0).max(30).optional(),
|
|
9339
|
+
clipPostRollSec: number().int().min(0).max(30).optional(),
|
|
9340
|
+
/**
|
|
9341
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
9342
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
9343
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
9344
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
9345
|
+
* reports which one actually ran.
|
|
9346
|
+
*/
|
|
9347
|
+
profile: CamProfileSchema.optional()
|
|
9348
|
+
});
|
|
9349
|
+
/**
|
|
9350
|
+
* Cooldown GRANULARITY over the subject's class — how much a fired
|
|
9351
|
+
* notification suppresses.
|
|
9352
|
+
* - `shared` (default, and the absent value) — one window for the whole
|
|
9353
|
+
* rule/scope: a cat silences the next dog for `cooldownSec`.
|
|
9354
|
+
* - `per-class` — an independent window per detected class, so cat→dog fires
|
|
9355
|
+
* at once and cat→cat still waits.
|
|
9356
|
+
*
|
|
9357
|
+
* AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
|
|
9358
|
+
* must not be swallowed by a bark's window (the precedent this generalizes —
|
|
9359
|
+
* see `cooldownKey` in the rule engine).
|
|
9360
|
+
*/
|
|
9361
|
+
var NcThrottleGranularitySchema = _enum(["shared", "per-class"]);
|
|
9229
9362
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
9230
9363
|
var NcThrottleSchema = object({
|
|
9231
9364
|
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
9232
9365
|
/** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
|
|
9233
|
-
scope: _enum(["rule", "rule-device"]).default("rule-device")
|
|
9366
|
+
scope: _enum(["rule", "rule-device"]).default("rule-device"),
|
|
9367
|
+
/**
|
|
9368
|
+
* Class granularity of the cooldown key. Optional rather than defaulted:
|
|
9369
|
+
* a Zod default does NOT run on the addon→addon cap path, so a persisted
|
|
9370
|
+
* rule authored before this field simply carries none — and the engine
|
|
9371
|
+
* reads absent as `shared`, the pre-existing behaviour.
|
|
9372
|
+
*/
|
|
9373
|
+
granularity: NcThrottleGranularitySchema.optional()
|
|
9234
9374
|
});
|
|
9235
9375
|
/** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
|
|
9236
9376
|
var NcRuleInputSchema = object({
|
|
@@ -9239,7 +9379,19 @@ var NcRuleInputSchema = object({
|
|
|
9239
9379
|
delivery: NcDeliverySchema,
|
|
9240
9380
|
conditions: NcConditionsSchema.default({}),
|
|
9241
9381
|
schedule: NcScheduleSchema.optional(),
|
|
9242
|
-
|
|
9382
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
9383
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
9384
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
9385
|
+
targets: array(NcRuleTargetSchema),
|
|
9386
|
+
/**
|
|
9387
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
9388
|
+
* time each user fans out to the personal targets they own
|
|
9389
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
9390
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
9391
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
9392
|
+
* targets.
|
|
9393
|
+
*/
|
|
9394
|
+
targetUsers: array(string()).optional(),
|
|
9243
9395
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
9244
9396
|
throttle: NcThrottleSchema.default({
|
|
9245
9397
|
cooldownSec: 60,
|
|
@@ -9326,6 +9478,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
9326
9478
|
"schedule",
|
|
9327
9479
|
"plateMatcher",
|
|
9328
9480
|
"packagePhase",
|
|
9481
|
+
"crossingSelect",
|
|
9329
9482
|
"polygonDraw",
|
|
9330
9483
|
"occupancy"
|
|
9331
9484
|
]),
|
|
@@ -9452,7 +9605,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
9452
9605
|
}), object({ results: array(NcTestResultSchema) }), {
|
|
9453
9606
|
kind: "mutation",
|
|
9454
9607
|
auth: "admin"
|
|
9455
|
-
}), method(object({}), object({
|
|
9608
|
+
}), method(object({}), object({
|
|
9609
|
+
catalog: array(NcConditionDescriptorSchema),
|
|
9610
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
9611
|
+
})), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
|
|
9456
9612
|
/**
|
|
9457
9613
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
9458
9614
|
*
|
|
@@ -10189,6 +10345,28 @@ method(object({
|
|
|
10189
10345
|
}), object({ success: literal(true) }), {
|
|
10190
10346
|
kind: "mutation",
|
|
10191
10347
|
auth: "admin"
|
|
10348
|
+
}), method(object({
|
|
10349
|
+
deviceId: number(),
|
|
10350
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
10351
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
10352
|
+
profile: CamProfileSchema.optional(),
|
|
10353
|
+
aroundMs: number(),
|
|
10354
|
+
preRollSec: number().min(0).max(20).default(3),
|
|
10355
|
+
postRollSec: number().min(0).max(20).default(5),
|
|
10356
|
+
format: _enum(["gif", "mp4"]).default("gif"),
|
|
10357
|
+
maxWidth: number().int().min(120).max(1920).default(480),
|
|
10358
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
10359
|
+
fps: number().int().min(1).max(15).default(5)
|
|
10360
|
+
}), object({
|
|
10361
|
+
base64: string(),
|
|
10362
|
+
mime: string(),
|
|
10363
|
+
bytes: number().int(),
|
|
10364
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
10365
|
+
profile: CamProfileSchema,
|
|
10366
|
+
durationMs: number()
|
|
10367
|
+
}), {
|
|
10368
|
+
kind: "mutation",
|
|
10369
|
+
auth: "admin"
|
|
10192
10370
|
}), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
|
|
10193
10371
|
probed: boolean(),
|
|
10194
10372
|
summary: string()
|
|
@@ -15783,7 +15961,10 @@ method(object({
|
|
|
15783
15961
|
}), method(object({
|
|
15784
15962
|
deviceId: number(),
|
|
15785
15963
|
caps: array(string()).readonly().optional()
|
|
15786
|
-
}), record(string(), unknown().nullable()))
|
|
15964
|
+
}), record(string(), unknown().nullable())), method(object({
|
|
15965
|
+
deviceIds: array(number()).readonly(),
|
|
15966
|
+
caps: array(string()).readonly().optional()
|
|
15967
|
+
}), record(string(), record(string(), unknown().nullable())));
|
|
15787
15968
|
method(object({ deviceId: number() }), record(string(), record(string(), unknown()))), method(object({
|
|
15788
15969
|
deviceId: number(),
|
|
15789
15970
|
capName: string()
|
|
@@ -16759,6 +16940,36 @@ var TargetKindSchema = object({
|
|
|
16759
16940
|
icon: string(),
|
|
16760
16941
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
16761
16942
|
addonId: string(),
|
|
16943
|
+
/**
|
|
16944
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
16945
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
16946
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
16947
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
16948
|
+
*
|
|
16949
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
16950
|
+
* client, and a native client joins it onto its own hub base.
|
|
16951
|
+
*
|
|
16952
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
16953
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
16954
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
16955
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
16956
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
16957
|
+
*/
|
|
16958
|
+
iconUrl: string().optional(),
|
|
16959
|
+
/**
|
|
16960
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
16961
|
+
*
|
|
16962
|
+
* The server knows this and therefore says it, because the client cannot
|
|
16963
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
16964
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
16965
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
16966
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
16967
|
+
*
|
|
16968
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
16969
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
16970
|
+
* its raster path, which is the safe default for an unknown image.
|
|
16971
|
+
*/
|
|
16972
|
+
iconMediaType: string().optional(),
|
|
16762
16973
|
configSchema: ConfigSchemaPassthrough,
|
|
16763
16974
|
supportsDiscovery: boolean(),
|
|
16764
16975
|
caps: TargetKindCapsSchema
|
|
@@ -17206,6 +17417,29 @@ var MotionEventSchema = object({
|
|
|
17206
17417
|
* Absent on legacy rows ⇒ treat as `pipeline`.
|
|
17207
17418
|
*/
|
|
17208
17419
|
var DetectionSourceSchema = _enum(["pipeline", "onboard"]);
|
|
17420
|
+
/**
|
|
17421
|
+
* The confirmed zone crossing that produced an object event. Present ONLY on
|
|
17422
|
+
* an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
|
|
17423
|
+
* event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
|
|
17424
|
+
* appearance event carry none, so a rule asking for a direction fails closed
|
|
17425
|
+
* on them.
|
|
17426
|
+
*
|
|
17427
|
+
* Exactly ONE crossing per event: the emitter turns each confirmed crossing
|
|
17428
|
+
* into its own event, so a frame in which a track enters A while leaving B
|
|
17429
|
+
* produces two events with two directions — never one ambiguous row.
|
|
17430
|
+
*
|
|
17431
|
+
* `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
|
|
17432
|
+
* membership the box has NOW, and by definition it no longer contains the zone
|
|
17433
|
+
* that was just left. Without the id here, a zone-scoped rule could never match
|
|
17434
|
+
* the exit it asked for.
|
|
17435
|
+
*/
|
|
17436
|
+
var ZoneCrossingSchema = object({
|
|
17437
|
+
direction: _enum(["enter", "exit"]),
|
|
17438
|
+
/** Admin zone id crossed. */
|
|
17439
|
+
zoneId: string(),
|
|
17440
|
+
/** Zone display name at crossing time (falls back to the id). */
|
|
17441
|
+
zoneName: string().optional()
|
|
17442
|
+
});
|
|
17209
17443
|
var ObjectEventSchema = object({
|
|
17210
17444
|
...BaseEventFields,
|
|
17211
17445
|
kind: literal("object"),
|
|
@@ -17232,6 +17466,12 @@ var ObjectEventSchema = object({
|
|
|
17232
17466
|
zones: array(string()).readonly().optional(),
|
|
17233
17467
|
/** Omitted in slim projection. */
|
|
17234
17468
|
state: TrackStateSchema.optional(),
|
|
17469
|
+
/**
|
|
17470
|
+
* The zone crossing this event IS, when it is one. Absent on every other
|
|
17471
|
+
* event kind (movement state, appearance, package) — see
|
|
17472
|
+
* {@link ZoneCrossingSchema}. Omitted in slim projection.
|
|
17473
|
+
*/
|
|
17474
|
+
zoneCrossing: ZoneCrossingSchema.optional(),
|
|
17235
17475
|
/** Detection-frame dimensions in pixels — let consumers normalize the
|
|
17236
17476
|
* pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
|
|
17237
17477
|
frameWidth: number().optional(),
|
|
@@ -17490,6 +17730,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17490
17730
|
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
17491
17731
|
kind: "mutation",
|
|
17492
17732
|
auth: "admin"
|
|
17733
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
17734
|
+
kind: "mutation",
|
|
17735
|
+
auth: "admin"
|
|
17736
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
17737
|
+
kind: "query",
|
|
17738
|
+
auth: "admin"
|
|
17739
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17740
|
+
kind: "mutation",
|
|
17741
|
+
auth: "admin"
|
|
17493
17742
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17494
17743
|
kind: "query",
|
|
17495
17744
|
auth: "admin"
|
|
@@ -19969,6 +20218,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
19969
20218
|
*/
|
|
19970
20219
|
priority: number()
|
|
19971
20220
|
})).readonly() });
|
|
20221
|
+
/**
|
|
20222
|
+
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
20223
|
+
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
20224
|
+
* what AUTO currently picks, so the UI can show the effective value either way.
|
|
20225
|
+
*/
|
|
20226
|
+
var NotificationEndpointSchema = object({
|
|
20227
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
20228
|
+
baseUrl: string().nullable(),
|
|
20229
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
20230
|
+
resolved: string().nullable()
|
|
20231
|
+
});
|
|
19972
20232
|
var AllowedAddressesSchema = object({
|
|
19973
20233
|
/**
|
|
19974
20234
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -19991,7 +20251,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
19991
20251
|
* to avoid mixed-content blocks in the browser. The public
|
|
19992
20252
|
* tunnel always emits `https://` regardless. */
|
|
19993
20253
|
scheme: _enum(["http", "https"]).optional()
|
|
19994
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
20254
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
19995
20255
|
/**
|
|
19996
20256
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
19997
20257
|
*
|
|
@@ -20790,7 +21050,12 @@ var RecordingDeviceUsageSchema = object({
|
|
|
20790
21050
|
var RecordingLocationUsageSchema = object({
|
|
20791
21051
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
20792
21052
|
locationId: string().nullable(),
|
|
20793
|
-
/**
|
|
21053
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
21054
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
21055
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
21056
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
21057
|
+
locationIds: array(string()).optional(),
|
|
21058
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
20794
21059
|
usedBytes: number(),
|
|
20795
21060
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
20796
21061
|
availableBytes: number().nullable(),
|
|
@@ -20902,6 +21167,44 @@ method(object({
|
|
|
20902
21167
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20903
21168
|
kind: "query",
|
|
20904
21169
|
auth: "admin"
|
|
21170
|
+
}), method(object({
|
|
21171
|
+
deviceId: number(),
|
|
21172
|
+
aroundMs: number(),
|
|
21173
|
+
preRollSec: number().min(0).max(30).default(2),
|
|
21174
|
+
postRollSec: number().min(0).max(30).default(5),
|
|
21175
|
+
maxWidth: number().int().min(120).max(1280).default(480),
|
|
21176
|
+
fps: number().int().min(1).max(15).default(5)
|
|
21177
|
+
}), object({
|
|
21178
|
+
gifBase64: string(),
|
|
21179
|
+
fromMs: number(),
|
|
21180
|
+
toMs: number()
|
|
21181
|
+
}), {
|
|
21182
|
+
kind: "mutation",
|
|
21183
|
+
auth: "admin"
|
|
21184
|
+
}), method(object({
|
|
21185
|
+
deviceId: number(),
|
|
21186
|
+
aroundMs: number(),
|
|
21187
|
+
preRollSec: number().min(0).max(30).default(3),
|
|
21188
|
+
postRollSec: number().min(0).max(30).default(7),
|
|
21189
|
+
maxWidth: number().int().min(160).max(1920).default(640)
|
|
21190
|
+
}), object({
|
|
21191
|
+
clipBase64: string(),
|
|
21192
|
+
mime: string(),
|
|
21193
|
+
fromMs: number(),
|
|
21194
|
+
toMs: number(),
|
|
21195
|
+
bytes: number().int()
|
|
21196
|
+
}), {
|
|
21197
|
+
kind: "mutation",
|
|
21198
|
+
auth: "admin"
|
|
21199
|
+
}), method(RelocateFootageInputSchema, object({ jobId: string() }), {
|
|
21200
|
+
kind: "mutation",
|
|
21201
|
+
auth: "admin"
|
|
21202
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
21203
|
+
kind: "query",
|
|
21204
|
+
auth: "admin"
|
|
21205
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
21206
|
+
kind: "mutation",
|
|
21207
|
+
auth: "admin"
|
|
20905
21208
|
});
|
|
20906
21209
|
/**
|
|
20907
21210
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -22493,6 +22796,12 @@ Object.freeze({
|
|
|
22493
22796
|
addonId: null,
|
|
22494
22797
|
access: "view"
|
|
22495
22798
|
},
|
|
22799
|
+
"deviceManager.getDeviceStatusAggregateBatch": {
|
|
22800
|
+
capName: "device-manager",
|
|
22801
|
+
capScope: "system",
|
|
22802
|
+
addonId: null,
|
|
22803
|
+
access: "view"
|
|
22804
|
+
},
|
|
22496
22805
|
"deviceManager.getLinkedDevices": {
|
|
22497
22806
|
capName: "device-manager",
|
|
22498
22807
|
capScope: "system",
|
|
@@ -23387,6 +23696,12 @@ Object.freeze({
|
|
|
23387
23696
|
addonId: null,
|
|
23388
23697
|
access: "view"
|
|
23389
23698
|
},
|
|
23699
|
+
"localNetwork.getNotificationEndpoint": {
|
|
23700
|
+
capName: "local-network",
|
|
23701
|
+
capScope: "system",
|
|
23702
|
+
addonId: null,
|
|
23703
|
+
access: "view"
|
|
23704
|
+
},
|
|
23390
23705
|
"localNetwork.getPreferred": {
|
|
23391
23706
|
capName: "local-network",
|
|
23392
23707
|
capScope: "system",
|
|
@@ -23411,6 +23726,12 @@ Object.freeze({
|
|
|
23411
23726
|
addonId: null,
|
|
23412
23727
|
access: "create"
|
|
23413
23728
|
},
|
|
23729
|
+
"localNetwork.setNotificationEndpoint": {
|
|
23730
|
+
capName: "local-network",
|
|
23731
|
+
capScope: "system",
|
|
23732
|
+
addonId: null,
|
|
23733
|
+
access: "create"
|
|
23734
|
+
},
|
|
23414
23735
|
"lockControl.lock": {
|
|
23415
23736
|
capName: "lock-control",
|
|
23416
23737
|
capScope: "device",
|
|
@@ -24053,6 +24374,12 @@ Object.freeze({
|
|
|
24053
24374
|
addonId: null,
|
|
24054
24375
|
access: "create"
|
|
24055
24376
|
},
|
|
24377
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
24378
|
+
capName: "pipeline-analytics",
|
|
24379
|
+
capScope: "device",
|
|
24380
|
+
addonId: null,
|
|
24381
|
+
access: "create"
|
|
24382
|
+
},
|
|
24056
24383
|
"pipelineAnalytics.clearTracks": {
|
|
24057
24384
|
capName: "pipeline-analytics",
|
|
24058
24385
|
capScope: "device",
|
|
@@ -24107,6 +24434,12 @@ Object.freeze({
|
|
|
24107
24434
|
addonId: null,
|
|
24108
24435
|
access: "view"
|
|
24109
24436
|
},
|
|
24437
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
24438
|
+
capName: "pipeline-analytics",
|
|
24439
|
+
capScope: "device",
|
|
24440
|
+
addonId: null,
|
|
24441
|
+
access: "view"
|
|
24442
|
+
},
|
|
24110
24443
|
"pipelineAnalytics.getMotionEvents": {
|
|
24111
24444
|
capName: "pipeline-analytics",
|
|
24112
24445
|
capScope: "device",
|
|
@@ -24179,6 +24512,12 @@ Object.freeze({
|
|
|
24179
24512
|
addonId: null,
|
|
24180
24513
|
access: "create"
|
|
24181
24514
|
},
|
|
24515
|
+
"pipelineAnalytics.relocateMedia": {
|
|
24516
|
+
capName: "pipeline-analytics",
|
|
24517
|
+
capScope: "device",
|
|
24518
|
+
addonId: null,
|
|
24519
|
+
access: "create"
|
|
24520
|
+
},
|
|
24182
24521
|
"pipelineAnalytics.searchObjectEvents": {
|
|
24183
24522
|
capName: "pipeline-analytics",
|
|
24184
24523
|
capScope: "device",
|
|
@@ -24941,6 +25280,12 @@ Object.freeze({
|
|
|
24941
25280
|
addonId: null,
|
|
24942
25281
|
access: "create"
|
|
24943
25282
|
},
|
|
25283
|
+
"recording.cancelRelocate": {
|
|
25284
|
+
capName: "recording",
|
|
25285
|
+
capScope: "system",
|
|
25286
|
+
addonId: null,
|
|
25287
|
+
access: "create"
|
|
25288
|
+
},
|
|
24944
25289
|
"recording.deleteFootprint": {
|
|
24945
25290
|
capName: "recording",
|
|
24946
25291
|
capScope: "system",
|
|
@@ -24971,6 +25316,12 @@ Object.freeze({
|
|
|
24971
25316
|
addonId: null,
|
|
24972
25317
|
access: "view"
|
|
24973
25318
|
},
|
|
25319
|
+
"recording.getRelocateStatus": {
|
|
25320
|
+
capName: "recording",
|
|
25321
|
+
capScope: "system",
|
|
25322
|
+
addonId: null,
|
|
25323
|
+
access: "view"
|
|
25324
|
+
},
|
|
24974
25325
|
"recording.getStorageUsage": {
|
|
24975
25326
|
capName: "recording",
|
|
24976
25327
|
capScope: "system",
|
|
@@ -25001,6 +25352,24 @@ Object.freeze({
|
|
|
25001
25352
|
addonId: null,
|
|
25002
25353
|
access: "view"
|
|
25003
25354
|
},
|
|
25355
|
+
"recording.relocateFootage": {
|
|
25356
|
+
capName: "recording",
|
|
25357
|
+
capScope: "system",
|
|
25358
|
+
addonId: null,
|
|
25359
|
+
access: "create"
|
|
25360
|
+
},
|
|
25361
|
+
"recording.renderClip": {
|
|
25362
|
+
capName: "recording",
|
|
25363
|
+
capScope: "system",
|
|
25364
|
+
addonId: null,
|
|
25365
|
+
access: "create"
|
|
25366
|
+
},
|
|
25367
|
+
"recording.renderGif": {
|
|
25368
|
+
capName: "recording",
|
|
25369
|
+
capScope: "system",
|
|
25370
|
+
addonId: null,
|
|
25371
|
+
access: "create"
|
|
25372
|
+
},
|
|
25004
25373
|
"recording.rescanStorage": {
|
|
25005
25374
|
capName: "recording",
|
|
25006
25375
|
capScope: "system",
|
|
@@ -25595,6 +25964,12 @@ Object.freeze({
|
|
|
25595
25964
|
addonId: null,
|
|
25596
25965
|
access: "create"
|
|
25597
25966
|
},
|
|
25967
|
+
"streamBroker.renderPreBufferClip": {
|
|
25968
|
+
capName: "stream-broker",
|
|
25969
|
+
capScope: "system",
|
|
25970
|
+
addonId: null,
|
|
25971
|
+
access: "create"
|
|
25972
|
+
},
|
|
25598
25973
|
"streamBroker.restartProfile": {
|
|
25599
25974
|
capName: "stream-broker",
|
|
25600
25975
|
capScope: "system",
|