@camstack/addon-agent-ui 1.2.6 → 1.2.7
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-Bz24uP1U.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -271,6 +271,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
271
271
|
*/
|
|
272
272
|
EventCategory["DeviceStateChanged"] = "device.state-changed";
|
|
273
273
|
/**
|
|
274
|
+
* Frame occupancy for a camera CHANGED — a tracked object was gained or
|
|
275
|
+
* lost. Carries `{ deviceId, totalObjects, byClass, zones }`.
|
|
276
|
+
*
|
|
277
|
+
* Emitted only on a change, so a steady scene is silent. It exists so a
|
|
278
|
+
* client can stop polling `zoneAnalytics.getCurrentSnapshot`: that was the
|
|
279
|
+
* one live badge with no push signal at all, and it cost a request every
|
|
280
|
+
* four seconds per visible camera.
|
|
281
|
+
*
|
|
282
|
+
* Like every event it is telemetry and may be dropped ([D8]) — a consumer
|
|
283
|
+
* keeps a slow reconcile rather than trusting it alone.
|
|
284
|
+
*/
|
|
285
|
+
EventCategory["ZoneAnalyticsOccupancyChanged"] = "zone-analytics.occupancy-changed";
|
|
286
|
+
/**
|
|
274
287
|
* Cap event fired by every device that registers the `battery`
|
|
275
288
|
* capability. Mirrors the cap definition's `onStatusChanged`. Carries
|
|
276
289
|
* `{ deviceId, status: BatteryStatus }`. Subscribers (alert center,
|
|
@@ -7193,35 +7206,22 @@ var ConvertResultSchema = object({
|
|
|
7193
7206
|
*/
|
|
7194
7207
|
var RecordingWeekdaySchema = number().int().min(0).max(6);
|
|
7195
7208
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
7196
|
-
var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
|
|
7197
|
-
kind: literal("timeOfDay"),
|
|
7198
|
-
start: string().regex(HHMM),
|
|
7199
|
-
end: string().regex(HHMM),
|
|
7200
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
7201
|
-
days: array(RecordingWeekdaySchema).optional()
|
|
7202
|
-
})]);
|
|
7203
|
-
var RecordingModeSchema = _enum([
|
|
7204
|
-
"continuous",
|
|
7205
|
-
"onMotion",
|
|
7206
|
-
"onAudioThreshold"
|
|
7207
|
-
]);
|
|
7208
7209
|
/**
|
|
7209
|
-
*
|
|
7210
|
-
*
|
|
7211
|
-
* - `off` —
|
|
7212
|
-
* - `events` —
|
|
7213
|
-
*
|
|
7214
|
-
* - `continuous` — record 24/7 within the schedule.
|
|
7210
|
+
* DERIVED per-camera storage summary — the single field cheap consumers read
|
|
7211
|
+
* (the viewer's status dot, the camera list) instead of walking `bands`:
|
|
7212
|
+
* - `off` — no band covers the camera (or it is disabled).
|
|
7213
|
+
* - `events` — every band records around triggers only.
|
|
7214
|
+
* - `continuous` — at least one band records continuously.
|
|
7215
7215
|
*
|
|
7216
|
-
*
|
|
7217
|
-
*
|
|
7216
|
+
* NEVER authored: the recorder stamps it from the authoritative `bands` on
|
|
7217
|
+
* every save (`activeModeForConfig`). Writing it has no effect.
|
|
7218
7218
|
*/
|
|
7219
7219
|
var RecordingStorageModeSchema = _enum([
|
|
7220
7220
|
"off",
|
|
7221
7221
|
"events",
|
|
7222
7222
|
"continuous"
|
|
7223
7223
|
]);
|
|
7224
|
-
/** Which detectors trigger an `events`-mode
|
|
7224
|
+
/** Which detectors trigger an `events`-mode band. */
|
|
7225
7225
|
var RecordingTriggersSchema = object({
|
|
7226
7226
|
motion: boolean().optional(),
|
|
7227
7227
|
audioThresholdDbfs: number().optional()
|
|
@@ -7257,18 +7257,6 @@ var RecordingBandSchema = object({
|
|
|
7257
7257
|
preBufferSec: number().min(0).optional(),
|
|
7258
7258
|
postBufferSec: number().min(0).optional()
|
|
7259
7259
|
});
|
|
7260
|
-
var RecordingRuleSchema = object({
|
|
7261
|
-
schedule: RecordingScheduleSchema,
|
|
7262
|
-
mode: RecordingModeSchema,
|
|
7263
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
7264
|
-
preBufferSec: number().min(0).default(0),
|
|
7265
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
7266
|
-
postBufferSec: number().min(0).default(0),
|
|
7267
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
7268
|
-
resetTimeoutOnNewEvent: boolean().default(true),
|
|
7269
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
7270
|
-
thresholdDbfs: number().optional()
|
|
7271
|
-
});
|
|
7272
7260
|
/**
|
|
7273
7261
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7274
7262
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7302,40 +7290,28 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7302
7290
|
/**
|
|
7303
7291
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7304
7292
|
*
|
|
7305
|
-
* `
|
|
7306
|
-
*
|
|
7307
|
-
*
|
|
7308
|
-
*
|
|
7293
|
+
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
7294
|
+
* which trigger. `mode` is a derived summary the recorder stamps on save; every
|
|
7295
|
+
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7296
|
+
*
|
|
7297
|
+
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7298
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
|
|
7299
|
+
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7300
|
+
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7309
7301
|
*/
|
|
7310
7302
|
var RecordingConfigSchema = object({
|
|
7311
7303
|
enabled: boolean(),
|
|
7312
|
-
/**
|
|
7313
|
-
*
|
|
7304
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7305
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7314
7306
|
mode: RecordingStorageModeSchema.optional(),
|
|
7315
7307
|
profiles: array(CamProfileSchema).optional(),
|
|
7316
7308
|
segmentSeconds: number().int().positive().optional(),
|
|
7317
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
7318
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
7319
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
7320
|
-
schedules: array(RecordingScheduleSchema).optional(),
|
|
7321
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
7322
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
7323
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
7324
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
7325
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
7326
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
7327
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
7328
|
-
preBufferSec: number().min(0).optional(),
|
|
7329
|
-
postBufferSec: number().min(0).optional(),
|
|
7330
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
7331
|
-
rules: array(RecordingRuleSchema).optional(),
|
|
7332
7309
|
/**
|
|
7333
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
7334
|
-
*
|
|
7335
|
-
*
|
|
7336
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
7310
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
7311
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
7312
|
+
* "off" is the absence of a covering band, never a band value.
|
|
7337
7313
|
*/
|
|
7338
|
-
bands: array(RecordingBandSchema).
|
|
7314
|
+
bands: array(RecordingBandSchema).default([]),
|
|
7339
7315
|
retention: RecordingRetentionSchema.optional(),
|
|
7340
7316
|
/**
|
|
7341
7317
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -7343,8 +7319,15 @@ var RecordingConfigSchema = object({
|
|
|
7343
7319
|
* windows only — existing sheets are immutable, and each window's index
|
|
7344
7320
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7345
7321
|
*/
|
|
7346
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7347
|
-
|
|
7322
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
7323
|
+
/**
|
|
7324
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
7325
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
7326
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
7327
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
7328
|
+
*/
|
|
7329
|
+
stripsEnabled: boolean().optional()
|
|
7330
|
+
}).strict();
|
|
7348
7331
|
/**
|
|
7349
7332
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7350
7333
|
* recordings and events management surfaces.
|
|
@@ -7363,7 +7346,8 @@ var OpsLogOpSchema = _enum([
|
|
|
7363
7346
|
"prune",
|
|
7364
7347
|
"manual-delete",
|
|
7365
7348
|
"rescan",
|
|
7366
|
-
"retention-run"
|
|
7349
|
+
"retention-run",
|
|
7350
|
+
"relocate"
|
|
7367
7351
|
]);
|
|
7368
7352
|
/** Why the operation ran. */
|
|
7369
7353
|
var OpsLogReasonSchema = _enum([
|
|
@@ -7402,6 +7386,55 @@ var OpsLogQueryInputSchema = object({
|
|
|
7402
7386
|
limit: number().int().min(1).max(1e3).optional()
|
|
7403
7387
|
});
|
|
7404
7388
|
/**
|
|
7389
|
+
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
7390
|
+
*
|
|
7391
|
+
* One shape shared by the recorder's `relocateFootage` (segments + strips) and
|
|
7392
|
+
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7393
|
+
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
7394
|
+
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
7395
|
+
* after verify) and each completed/failed run also lands one durable ops-log
|
|
7396
|
+
* row on the owning addon's surface.
|
|
7397
|
+
*/
|
|
7398
|
+
var RelocateJobStateSchema = _enum([
|
|
7399
|
+
"running",
|
|
7400
|
+
"done",
|
|
7401
|
+
"failed",
|
|
7402
|
+
"cancelled"
|
|
7403
|
+
]);
|
|
7404
|
+
var RelocateJobSchema = object({
|
|
7405
|
+
jobId: string(),
|
|
7406
|
+
state: RelocateJobStateSchema,
|
|
7407
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
7408
|
+
* move from wherever they are to the target). */
|
|
7409
|
+
fromLocationId: string(),
|
|
7410
|
+
toLocationId: string(),
|
|
7411
|
+
/** Scoped device, or null = every device. */
|
|
7412
|
+
deviceId: number().nullable(),
|
|
7413
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
7414
|
+
entities: array(string()),
|
|
7415
|
+
filesMoved: number().int(),
|
|
7416
|
+
bytesMoved: number().int(),
|
|
7417
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
7418
|
+
filesTotal: number().int().nullable(),
|
|
7419
|
+
startedAt: number(),
|
|
7420
|
+
finishedAt: number().nullable(),
|
|
7421
|
+
error: string().nullable()
|
|
7422
|
+
});
|
|
7423
|
+
var RelocateFootageInputSchema = object({
|
|
7424
|
+
deviceId: number().optional(),
|
|
7425
|
+
fromLocationId: string(),
|
|
7426
|
+
toLocationId: string(),
|
|
7427
|
+
entities: array(_enum(["segments", "strips"])).optional(),
|
|
7428
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7429
|
+
* never allowed to starve live writers. */
|
|
7430
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7431
|
+
});
|
|
7432
|
+
var RelocateMediaInputSchema = object({
|
|
7433
|
+
deviceId: number().optional(),
|
|
7434
|
+
toLocationId: string(),
|
|
7435
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7436
|
+
});
|
|
7437
|
+
/**
|
|
7405
7438
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7406
7439
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7407
7440
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -7451,6 +7484,13 @@ var StorageLocationSchema = object({
|
|
|
7451
7484
|
nodeId: string().optional(),
|
|
7452
7485
|
isDefault: boolean().default(false),
|
|
7453
7486
|
isSystem: boolean().default(false),
|
|
7487
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
7488
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
7489
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
7490
|
+
capacity: object({
|
|
7491
|
+
totalBytes: number(),
|
|
7492
|
+
availableBytes: number()
|
|
7493
|
+
}).nullable().optional(),
|
|
7454
7494
|
createdAt: number(),
|
|
7455
7495
|
updatedAt: number()
|
|
7456
7496
|
});
|
|
@@ -8218,7 +8258,8 @@ var NcTaxonomyEntrySchema = object({
|
|
|
8218
8258
|
/** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
|
|
8219
8259
|
parentKind: string().nullable()
|
|
8220
8260
|
});
|
|
8221
|
-
|
|
8261
|
+
/** The complete NC picker taxonomy — three grouped buckets. */
|
|
8262
|
+
var NcTaxonomySchema = object({
|
|
8222
8263
|
videoClasses: array(NcTaxonomyEntrySchema),
|
|
8223
8264
|
audioKinds: array(NcTaxonomyEntrySchema),
|
|
8224
8265
|
labels: array(NcTaxonomyEntrySchema)
|
|
@@ -8878,6 +8919,7 @@ var AccessoryKind = {
|
|
|
8878
8919
|
};
|
|
8879
8920
|
AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
|
|
8880
8921
|
DeviceFeature.BatteryOperated;
|
|
8922
|
+
new Set(["devices", "classes"]);
|
|
8881
8923
|
/**
|
|
8882
8924
|
* Shared geometry vocabulary for on-frame shape caps — privacy-mask,
|
|
8883
8925
|
* motion-zones, and the detection zones/lines editor all speak this one
|
|
@@ -9036,6 +9078,29 @@ var NcOccupancyConditionSchema = object({
|
|
|
9036
9078
|
count: number().int().min(0).default(1),
|
|
9037
9079
|
sustainSeconds: number().int().min(0).max(3600).default(15)
|
|
9038
9080
|
});
|
|
9081
|
+
/**
|
|
9082
|
+
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
9083
|
+
*
|
|
9084
|
+
* The values are not symmetric, and deliberately so — the absent value has to
|
|
9085
|
+
* mean exactly what every rule authored before this condition existed already
|
|
9086
|
+
* does:
|
|
9087
|
+
* - `enter` — entries and every NON-crossing record (movement state,
|
|
9088
|
+
* package, sensor). Exits are rejected. **This is the absent behaviour**:
|
|
9089
|
+
* an operator who never asked for exits must not start receiving them.
|
|
9090
|
+
* - `exit` — ONLY an exit crossing. A record that is not a crossing at all
|
|
9091
|
+
* fails closed, because "the car left the drive" is a question about a
|
|
9092
|
+
* boundary, not about a detection.
|
|
9093
|
+
* - `any` — no direction filter; entries, exits and non-crossings alike.
|
|
9094
|
+
*
|
|
9095
|
+
* A rule asking for a direction should normally also scope `zones`, which the
|
|
9096
|
+
* engine evaluates against the crossed zone as well as the current membership
|
|
9097
|
+
* (an exit's membership no longer contains the zone it just left).
|
|
9098
|
+
*/
|
|
9099
|
+
var NcCrossingSchema = _enum([
|
|
9100
|
+
"enter",
|
|
9101
|
+
"exit",
|
|
9102
|
+
"any"
|
|
9103
|
+
]);
|
|
9039
9104
|
/** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
|
|
9040
9105
|
var NcZoneConditionSchema = object({
|
|
9041
9106
|
ids: array(string().min(1)).min(1),
|
|
@@ -9060,6 +9125,13 @@ var NcConditionsSchema = object({
|
|
|
9060
9125
|
/** Veto zones — any hit fails the rule. */
|
|
9061
9126
|
zonesExclude: array(string().min(1)).optional(),
|
|
9062
9127
|
/**
|
|
9128
|
+
* Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
|
|
9129
|
+
* and a closed track carries none, so a `track-end` rule asking for one
|
|
9130
|
+
* fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
|
|
9131
|
+
* which is exactly today's behaviour. See {@link NcCrossingSchema}.
|
|
9132
|
+
*/
|
|
9133
|
+
crossing: NcCrossingSchema.optional(),
|
|
9134
|
+
/**
|
|
9063
9135
|
* Exact (case-insensitive) match on the record's collapsed `label`
|
|
9064
9136
|
* (identity name / plate text / subclass).
|
|
9065
9137
|
*/
|
|
@@ -9194,17 +9266,85 @@ var NcRuleTargetSchema = object({
|
|
|
9194
9266
|
* - `keyFrame` — the clean scene frame (no subject box).
|
|
9195
9267
|
* - `none` — no attachment.
|
|
9196
9268
|
*/
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9269
|
+
/**
|
|
9270
|
+
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
9271
|
+
* conflate it with the selection strategy and betray the request: asking for
|
|
9272
|
+
* the clean scene frame on an object-event owner used to start at
|
|
9273
|
+
* `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
|
|
9274
|
+
* - `cropped` — the subject, tight. What "who is at the door" wants.
|
|
9275
|
+
* - `full` — the clean scene, no annotation. What "what is going on" wants.
|
|
9276
|
+
* - `boxed` — the scene WITH the detection boxes drawn, for verifying what
|
|
9277
|
+
* the pipeline actually saw.
|
|
9278
|
+
*/
|
|
9279
|
+
var NcMediaFrameSchema = _enum([
|
|
9280
|
+
"cropped",
|
|
9281
|
+
"full",
|
|
9282
|
+
"boxed"
|
|
9283
|
+
]);
|
|
9284
|
+
var NcMediaPolicySchema = object({
|
|
9285
|
+
attach: _enum([
|
|
9286
|
+
"best",
|
|
9287
|
+
"best-matching",
|
|
9288
|
+
"keyFrame",
|
|
9289
|
+
"none"
|
|
9290
|
+
]).default("best"),
|
|
9291
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
9292
|
+
frame: NcMediaFrameSchema.optional(),
|
|
9293
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
9294
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
9295
|
+
zoneCrop: boolean().optional(),
|
|
9296
|
+
/**
|
|
9297
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
9298
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
9299
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
9300
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
9301
|
+
* gif, never a failed notification.
|
|
9302
|
+
*/
|
|
9303
|
+
gif: boolean().optional(),
|
|
9304
|
+
/**
|
|
9305
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
9306
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
9307
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
9308
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
9309
|
+
*/
|
|
9310
|
+
clip: boolean().optional(),
|
|
9311
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
9312
|
+
clipPreRollSec: number().int().min(0).max(30).optional(),
|
|
9313
|
+
clipPostRollSec: number().int().min(0).max(30).optional(),
|
|
9314
|
+
/**
|
|
9315
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
9316
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
9317
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
9318
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
9319
|
+
* reports which one actually ran.
|
|
9320
|
+
*/
|
|
9321
|
+
profile: CamProfileSchema.optional()
|
|
9322
|
+
});
|
|
9323
|
+
/**
|
|
9324
|
+
* Cooldown GRANULARITY over the subject's class — how much a fired
|
|
9325
|
+
* notification suppresses.
|
|
9326
|
+
* - `shared` (default, and the absent value) — one window for the whole
|
|
9327
|
+
* rule/scope: a cat silences the next dog for `cooldownSec`.
|
|
9328
|
+
* - `per-class` — an independent window per detected class, so cat→dog fires
|
|
9329
|
+
* at once and cat→cat still waits.
|
|
9330
|
+
*
|
|
9331
|
+
* AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
|
|
9332
|
+
* must not be swallowed by a bark's window (the precedent this generalizes —
|
|
9333
|
+
* see `cooldownKey` in the rule engine).
|
|
9334
|
+
*/
|
|
9335
|
+
var NcThrottleGranularitySchema = _enum(["shared", "per-class"]);
|
|
9203
9336
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
9204
9337
|
var NcThrottleSchema = object({
|
|
9205
9338
|
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
9206
9339
|
/** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
|
|
9207
|
-
scope: _enum(["rule", "rule-device"]).default("rule-device")
|
|
9340
|
+
scope: _enum(["rule", "rule-device"]).default("rule-device"),
|
|
9341
|
+
/**
|
|
9342
|
+
* Class granularity of the cooldown key. Optional rather than defaulted:
|
|
9343
|
+
* a Zod default does NOT run on the addon→addon cap path, so a persisted
|
|
9344
|
+
* rule authored before this field simply carries none — and the engine
|
|
9345
|
+
* reads absent as `shared`, the pre-existing behaviour.
|
|
9346
|
+
*/
|
|
9347
|
+
granularity: NcThrottleGranularitySchema.optional()
|
|
9208
9348
|
});
|
|
9209
9349
|
/** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
|
|
9210
9350
|
var NcRuleInputSchema = object({
|
|
@@ -9213,7 +9353,19 @@ var NcRuleInputSchema = object({
|
|
|
9213
9353
|
delivery: NcDeliverySchema,
|
|
9214
9354
|
conditions: NcConditionsSchema.default({}),
|
|
9215
9355
|
schedule: NcScheduleSchema.optional(),
|
|
9216
|
-
|
|
9356
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
9357
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
9358
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
9359
|
+
targets: array(NcRuleTargetSchema),
|
|
9360
|
+
/**
|
|
9361
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
9362
|
+
* time each user fans out to the personal targets they own
|
|
9363
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
9364
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
9365
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
9366
|
+
* targets.
|
|
9367
|
+
*/
|
|
9368
|
+
targetUsers: array(string()).optional(),
|
|
9217
9369
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
9218
9370
|
throttle: NcThrottleSchema.default({
|
|
9219
9371
|
cooldownSec: 60,
|
|
@@ -9300,6 +9452,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
9300
9452
|
"schedule",
|
|
9301
9453
|
"plateMatcher",
|
|
9302
9454
|
"packagePhase",
|
|
9455
|
+
"crossingSelect",
|
|
9303
9456
|
"polygonDraw",
|
|
9304
9457
|
"occupancy"
|
|
9305
9458
|
]),
|
|
@@ -9426,7 +9579,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
9426
9579
|
}), object({ results: array(NcTestResultSchema) }), {
|
|
9427
9580
|
kind: "mutation",
|
|
9428
9581
|
auth: "admin"
|
|
9429
|
-
}), method(object({}), object({
|
|
9582
|
+
}), method(object({}), object({
|
|
9583
|
+
catalog: array(NcConditionDescriptorSchema),
|
|
9584
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
9585
|
+
})), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
|
|
9430
9586
|
/**
|
|
9431
9587
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
9432
9588
|
*
|
|
@@ -10163,6 +10319,28 @@ method(object({
|
|
|
10163
10319
|
}), object({ success: literal(true) }), {
|
|
10164
10320
|
kind: "mutation",
|
|
10165
10321
|
auth: "admin"
|
|
10322
|
+
}), method(object({
|
|
10323
|
+
deviceId: number(),
|
|
10324
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
10325
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
10326
|
+
profile: CamProfileSchema.optional(),
|
|
10327
|
+
aroundMs: number(),
|
|
10328
|
+
preRollSec: number().min(0).max(20).default(3),
|
|
10329
|
+
postRollSec: number().min(0).max(20).default(5),
|
|
10330
|
+
format: _enum(["gif", "mp4"]).default("gif"),
|
|
10331
|
+
maxWidth: number().int().min(120).max(1920).default(480),
|
|
10332
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
10333
|
+
fps: number().int().min(1).max(15).default(5)
|
|
10334
|
+
}), object({
|
|
10335
|
+
base64: string(),
|
|
10336
|
+
mime: string(),
|
|
10337
|
+
bytes: number().int(),
|
|
10338
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
10339
|
+
profile: CamProfileSchema,
|
|
10340
|
+
durationMs: number()
|
|
10341
|
+
}), {
|
|
10342
|
+
kind: "mutation",
|
|
10343
|
+
auth: "admin"
|
|
10166
10344
|
}), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
|
|
10167
10345
|
probed: boolean(),
|
|
10168
10346
|
summary: string()
|
|
@@ -15757,7 +15935,10 @@ method(object({
|
|
|
15757
15935
|
}), method(object({
|
|
15758
15936
|
deviceId: number(),
|
|
15759
15937
|
caps: array(string()).readonly().optional()
|
|
15760
|
-
}), record(string(), unknown().nullable()))
|
|
15938
|
+
}), record(string(), unknown().nullable())), method(object({
|
|
15939
|
+
deviceIds: array(number()).readonly(),
|
|
15940
|
+
caps: array(string()).readonly().optional()
|
|
15941
|
+
}), record(string(), record(string(), unknown().nullable())));
|
|
15761
15942
|
method(object({ deviceId: number() }), record(string(), record(string(), unknown()))), method(object({
|
|
15762
15943
|
deviceId: number(),
|
|
15763
15944
|
capName: string()
|
|
@@ -16688,6 +16869,36 @@ var TargetKindSchema = object({
|
|
|
16688
16869
|
icon: string(),
|
|
16689
16870
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
16690
16871
|
addonId: string(),
|
|
16872
|
+
/**
|
|
16873
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
16874
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
16875
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
16876
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
16877
|
+
*
|
|
16878
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
16879
|
+
* client, and a native client joins it onto its own hub base.
|
|
16880
|
+
*
|
|
16881
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
16882
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
16883
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
16884
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
16885
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
16886
|
+
*/
|
|
16887
|
+
iconUrl: string().optional(),
|
|
16888
|
+
/**
|
|
16889
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
16890
|
+
*
|
|
16891
|
+
* The server knows this and therefore says it, because the client cannot
|
|
16892
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
16893
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
16894
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
16895
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
16896
|
+
*
|
|
16897
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
16898
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
16899
|
+
* its raster path, which is the safe default for an unknown image.
|
|
16900
|
+
*/
|
|
16901
|
+
iconMediaType: string().optional(),
|
|
16691
16902
|
configSchema: ConfigSchemaPassthrough,
|
|
16692
16903
|
supportsDiscovery: boolean(),
|
|
16693
16904
|
caps: TargetKindCapsSchema
|
|
@@ -17135,6 +17346,29 @@ var MotionEventSchema = object({
|
|
|
17135
17346
|
* Absent on legacy rows ⇒ treat as `pipeline`.
|
|
17136
17347
|
*/
|
|
17137
17348
|
var DetectionSourceSchema = _enum(["pipeline", "onboard"]);
|
|
17349
|
+
/**
|
|
17350
|
+
* The confirmed zone crossing that produced an object event. Present ONLY on
|
|
17351
|
+
* an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
|
|
17352
|
+
* event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
|
|
17353
|
+
* appearance event carry none, so a rule asking for a direction fails closed
|
|
17354
|
+
* on them.
|
|
17355
|
+
*
|
|
17356
|
+
* Exactly ONE crossing per event: the emitter turns each confirmed crossing
|
|
17357
|
+
* into its own event, so a frame in which a track enters A while leaving B
|
|
17358
|
+
* produces two events with two directions — never one ambiguous row.
|
|
17359
|
+
*
|
|
17360
|
+
* `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
|
|
17361
|
+
* membership the box has NOW, and by definition it no longer contains the zone
|
|
17362
|
+
* that was just left. Without the id here, a zone-scoped rule could never match
|
|
17363
|
+
* the exit it asked for.
|
|
17364
|
+
*/
|
|
17365
|
+
var ZoneCrossingSchema = object({
|
|
17366
|
+
direction: _enum(["enter", "exit"]),
|
|
17367
|
+
/** Admin zone id crossed. */
|
|
17368
|
+
zoneId: string(),
|
|
17369
|
+
/** Zone display name at crossing time (falls back to the id). */
|
|
17370
|
+
zoneName: string().optional()
|
|
17371
|
+
});
|
|
17138
17372
|
var ObjectEventSchema = object({
|
|
17139
17373
|
...BaseEventFields,
|
|
17140
17374
|
kind: literal("object"),
|
|
@@ -17161,6 +17395,12 @@ var ObjectEventSchema = object({
|
|
|
17161
17395
|
zones: array(string()).readonly().optional(),
|
|
17162
17396
|
/** Omitted in slim projection. */
|
|
17163
17397
|
state: TrackStateSchema.optional(),
|
|
17398
|
+
/**
|
|
17399
|
+
* The zone crossing this event IS, when it is one. Absent on every other
|
|
17400
|
+
* event kind (movement state, appearance, package) — see
|
|
17401
|
+
* {@link ZoneCrossingSchema}. Omitted in slim projection.
|
|
17402
|
+
*/
|
|
17403
|
+
zoneCrossing: ZoneCrossingSchema.optional(),
|
|
17164
17404
|
/** Detection-frame dimensions in pixels — let consumers normalize the
|
|
17165
17405
|
* pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
|
|
17166
17406
|
frameWidth: number().optional(),
|
|
@@ -17419,6 +17659,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
17419
17659
|
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
17420
17660
|
kind: "mutation",
|
|
17421
17661
|
auth: "admin"
|
|
17662
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
17663
|
+
kind: "mutation",
|
|
17664
|
+
auth: "admin"
|
|
17665
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
17666
|
+
kind: "query",
|
|
17667
|
+
auth: "admin"
|
|
17668
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
17669
|
+
kind: "mutation",
|
|
17670
|
+
auth: "admin"
|
|
17422
17671
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
17423
17672
|
kind: "query",
|
|
17424
17673
|
auth: "admin"
|
|
@@ -19898,6 +20147,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
19898
20147
|
*/
|
|
19899
20148
|
priority: number()
|
|
19900
20149
|
})).readonly() });
|
|
20150
|
+
/**
|
|
20151
|
+
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
20152
|
+
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
20153
|
+
* what AUTO currently picks, so the UI can show the effective value either way.
|
|
20154
|
+
*/
|
|
20155
|
+
var NotificationEndpointSchema = object({
|
|
20156
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
20157
|
+
baseUrl: string().nullable(),
|
|
20158
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
20159
|
+
resolved: string().nullable()
|
|
20160
|
+
});
|
|
19901
20161
|
var AllowedAddressesSchema = object({
|
|
19902
20162
|
/**
|
|
19903
20163
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -19920,7 +20180,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
19920
20180
|
* to avoid mixed-content blocks in the browser. The public
|
|
19921
20181
|
* tunnel always emits `https://` regardless. */
|
|
19922
20182
|
scheme: _enum(["http", "https"]).optional()
|
|
19923
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
20183
|
+
}), 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" });
|
|
19924
20184
|
/**
|
|
19925
20185
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
19926
20186
|
*
|
|
@@ -20719,7 +20979,12 @@ var RecordingDeviceUsageSchema = object({
|
|
|
20719
20979
|
var RecordingLocationUsageSchema = object({
|
|
20720
20980
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
20721
20981
|
locationId: string().nullable(),
|
|
20722
|
-
/**
|
|
20982
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
20983
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
20984
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
20985
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
20986
|
+
locationIds: array(string()).optional(),
|
|
20987
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
20723
20988
|
usedBytes: number(),
|
|
20724
20989
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
20725
20990
|
availableBytes: number().nullable(),
|
|
@@ -20831,6 +21096,44 @@ method(object({
|
|
|
20831
21096
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20832
21097
|
kind: "query",
|
|
20833
21098
|
auth: "admin"
|
|
21099
|
+
}), method(object({
|
|
21100
|
+
deviceId: number(),
|
|
21101
|
+
aroundMs: number(),
|
|
21102
|
+
preRollSec: number().min(0).max(30).default(2),
|
|
21103
|
+
postRollSec: number().min(0).max(30).default(5),
|
|
21104
|
+
maxWidth: number().int().min(120).max(1280).default(480),
|
|
21105
|
+
fps: number().int().min(1).max(15).default(5)
|
|
21106
|
+
}), object({
|
|
21107
|
+
gifBase64: string(),
|
|
21108
|
+
fromMs: number(),
|
|
21109
|
+
toMs: number()
|
|
21110
|
+
}), {
|
|
21111
|
+
kind: "mutation",
|
|
21112
|
+
auth: "admin"
|
|
21113
|
+
}), method(object({
|
|
21114
|
+
deviceId: number(),
|
|
21115
|
+
aroundMs: number(),
|
|
21116
|
+
preRollSec: number().min(0).max(30).default(3),
|
|
21117
|
+
postRollSec: number().min(0).max(30).default(7),
|
|
21118
|
+
maxWidth: number().int().min(160).max(1920).default(640)
|
|
21119
|
+
}), object({
|
|
21120
|
+
clipBase64: string(),
|
|
21121
|
+
mime: string(),
|
|
21122
|
+
fromMs: number(),
|
|
21123
|
+
toMs: number(),
|
|
21124
|
+
bytes: number().int()
|
|
21125
|
+
}), {
|
|
21126
|
+
kind: "mutation",
|
|
21127
|
+
auth: "admin"
|
|
21128
|
+
}), method(RelocateFootageInputSchema, object({ jobId: string() }), {
|
|
21129
|
+
kind: "mutation",
|
|
21130
|
+
auth: "admin"
|
|
21131
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
21132
|
+
kind: "query",
|
|
21133
|
+
auth: "admin"
|
|
21134
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
21135
|
+
kind: "mutation",
|
|
21136
|
+
auth: "admin"
|
|
20834
21137
|
});
|
|
20835
21138
|
/**
|
|
20836
21139
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -22422,6 +22725,12 @@ Object.freeze({
|
|
|
22422
22725
|
addonId: null,
|
|
22423
22726
|
access: "view"
|
|
22424
22727
|
},
|
|
22728
|
+
"deviceManager.getDeviceStatusAggregateBatch": {
|
|
22729
|
+
capName: "device-manager",
|
|
22730
|
+
capScope: "system",
|
|
22731
|
+
addonId: null,
|
|
22732
|
+
access: "view"
|
|
22733
|
+
},
|
|
22425
22734
|
"deviceManager.getLinkedDevices": {
|
|
22426
22735
|
capName: "device-manager",
|
|
22427
22736
|
capScope: "system",
|
|
@@ -23316,6 +23625,12 @@ Object.freeze({
|
|
|
23316
23625
|
addonId: null,
|
|
23317
23626
|
access: "view"
|
|
23318
23627
|
},
|
|
23628
|
+
"localNetwork.getNotificationEndpoint": {
|
|
23629
|
+
capName: "local-network",
|
|
23630
|
+
capScope: "system",
|
|
23631
|
+
addonId: null,
|
|
23632
|
+
access: "view"
|
|
23633
|
+
},
|
|
23319
23634
|
"localNetwork.getPreferred": {
|
|
23320
23635
|
capName: "local-network",
|
|
23321
23636
|
capScope: "system",
|
|
@@ -23340,6 +23655,12 @@ Object.freeze({
|
|
|
23340
23655
|
addonId: null,
|
|
23341
23656
|
access: "create"
|
|
23342
23657
|
},
|
|
23658
|
+
"localNetwork.setNotificationEndpoint": {
|
|
23659
|
+
capName: "local-network",
|
|
23660
|
+
capScope: "system",
|
|
23661
|
+
addonId: null,
|
|
23662
|
+
access: "create"
|
|
23663
|
+
},
|
|
23343
23664
|
"lockControl.lock": {
|
|
23344
23665
|
capName: "lock-control",
|
|
23345
23666
|
capScope: "device",
|
|
@@ -23982,6 +24303,12 @@ Object.freeze({
|
|
|
23982
24303
|
addonId: null,
|
|
23983
24304
|
access: "create"
|
|
23984
24305
|
},
|
|
24306
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
24307
|
+
capName: "pipeline-analytics",
|
|
24308
|
+
capScope: "device",
|
|
24309
|
+
addonId: null,
|
|
24310
|
+
access: "create"
|
|
24311
|
+
},
|
|
23985
24312
|
"pipelineAnalytics.clearTracks": {
|
|
23986
24313
|
capName: "pipeline-analytics",
|
|
23987
24314
|
capScope: "device",
|
|
@@ -24036,6 +24363,12 @@ Object.freeze({
|
|
|
24036
24363
|
addonId: null,
|
|
24037
24364
|
access: "view"
|
|
24038
24365
|
},
|
|
24366
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
24367
|
+
capName: "pipeline-analytics",
|
|
24368
|
+
capScope: "device",
|
|
24369
|
+
addonId: null,
|
|
24370
|
+
access: "view"
|
|
24371
|
+
},
|
|
24039
24372
|
"pipelineAnalytics.getMotionEvents": {
|
|
24040
24373
|
capName: "pipeline-analytics",
|
|
24041
24374
|
capScope: "device",
|
|
@@ -24108,6 +24441,12 @@ Object.freeze({
|
|
|
24108
24441
|
addonId: null,
|
|
24109
24442
|
access: "create"
|
|
24110
24443
|
},
|
|
24444
|
+
"pipelineAnalytics.relocateMedia": {
|
|
24445
|
+
capName: "pipeline-analytics",
|
|
24446
|
+
capScope: "device",
|
|
24447
|
+
addonId: null,
|
|
24448
|
+
access: "create"
|
|
24449
|
+
},
|
|
24111
24450
|
"pipelineAnalytics.searchObjectEvents": {
|
|
24112
24451
|
capName: "pipeline-analytics",
|
|
24113
24452
|
capScope: "device",
|
|
@@ -24870,6 +25209,12 @@ Object.freeze({
|
|
|
24870
25209
|
addonId: null,
|
|
24871
25210
|
access: "create"
|
|
24872
25211
|
},
|
|
25212
|
+
"recording.cancelRelocate": {
|
|
25213
|
+
capName: "recording",
|
|
25214
|
+
capScope: "system",
|
|
25215
|
+
addonId: null,
|
|
25216
|
+
access: "create"
|
|
25217
|
+
},
|
|
24873
25218
|
"recording.deleteFootprint": {
|
|
24874
25219
|
capName: "recording",
|
|
24875
25220
|
capScope: "system",
|
|
@@ -24900,6 +25245,12 @@ Object.freeze({
|
|
|
24900
25245
|
addonId: null,
|
|
24901
25246
|
access: "view"
|
|
24902
25247
|
},
|
|
25248
|
+
"recording.getRelocateStatus": {
|
|
25249
|
+
capName: "recording",
|
|
25250
|
+
capScope: "system",
|
|
25251
|
+
addonId: null,
|
|
25252
|
+
access: "view"
|
|
25253
|
+
},
|
|
24903
25254
|
"recording.getStorageUsage": {
|
|
24904
25255
|
capName: "recording",
|
|
24905
25256
|
capScope: "system",
|
|
@@ -24930,6 +25281,24 @@ Object.freeze({
|
|
|
24930
25281
|
addonId: null,
|
|
24931
25282
|
access: "view"
|
|
24932
25283
|
},
|
|
25284
|
+
"recording.relocateFootage": {
|
|
25285
|
+
capName: "recording",
|
|
25286
|
+
capScope: "system",
|
|
25287
|
+
addonId: null,
|
|
25288
|
+
access: "create"
|
|
25289
|
+
},
|
|
25290
|
+
"recording.renderClip": {
|
|
25291
|
+
capName: "recording",
|
|
25292
|
+
capScope: "system",
|
|
25293
|
+
addonId: null,
|
|
25294
|
+
access: "create"
|
|
25295
|
+
},
|
|
25296
|
+
"recording.renderGif": {
|
|
25297
|
+
capName: "recording",
|
|
25298
|
+
capScope: "system",
|
|
25299
|
+
addonId: null,
|
|
25300
|
+
access: "create"
|
|
25301
|
+
},
|
|
24933
25302
|
"recording.rescanStorage": {
|
|
24934
25303
|
capName: "recording",
|
|
24935
25304
|
capScope: "system",
|
|
@@ -25524,6 +25893,12 @@ Object.freeze({
|
|
|
25524
25893
|
addonId: null,
|
|
25525
25894
|
access: "create"
|
|
25526
25895
|
},
|
|
25896
|
+
"streamBroker.renderPreBufferClip": {
|
|
25897
|
+
capName: "stream-broker",
|
|
25898
|
+
capScope: "system",
|
|
25899
|
+
addonId: null,
|
|
25900
|
+
access: "create"
|
|
25901
|
+
},
|
|
25527
25902
|
"streamBroker.restartProfile": {
|
|
25528
25903
|
capName: "stream-broker",
|
|
25529
25904
|
capScope: "system",
|
|
@@ -26161,7 +26536,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
26161
26536
|
capability: adminUiCapability,
|
|
26162
26537
|
provider: {
|
|
26163
26538
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
26164
|
-
getVersion: async () => ({ version: "1.2.
|
|
26539
|
+
getVersion: async () => ({ version: "1.2.7" })
|
|
26165
26540
|
}
|
|
26166
26541
|
}];
|
|
26167
26542
|
}
|