@camstack/addon-provider-vesync 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.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-Bz24uP1U.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -269,6 +269,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
269
269
|
*/
|
|
270
270
|
EventCategory["DeviceStateChanged"] = "device.state-changed";
|
|
271
271
|
/**
|
|
272
|
+
* Frame occupancy for a camera CHANGED — a tracked object was gained or
|
|
273
|
+
* lost. Carries `{ deviceId, totalObjects, byClass, zones }`.
|
|
274
|
+
*
|
|
275
|
+
* Emitted only on a change, so a steady scene is silent. It exists so a
|
|
276
|
+
* client can stop polling `zoneAnalytics.getCurrentSnapshot`: that was the
|
|
277
|
+
* one live badge with no push signal at all, and it cost a request every
|
|
278
|
+
* four seconds per visible camera.
|
|
279
|
+
*
|
|
280
|
+
* Like every event it is telemetry and may be dropped ([D8]) — a consumer
|
|
281
|
+
* keeps a slow reconcile rather than trusting it alone.
|
|
282
|
+
*/
|
|
283
|
+
EventCategory["ZoneAnalyticsOccupancyChanged"] = "zone-analytics.occupancy-changed";
|
|
284
|
+
/**
|
|
272
285
|
* Cap event fired by every device that registers the `battery`
|
|
273
286
|
* capability. Mirrors the cap definition's `onStatusChanged`. Carries
|
|
274
287
|
* `{ deviceId, status: BatteryStatus }`. Subscribers (alert center,
|
|
@@ -7212,35 +7225,22 @@ var ConvertResultSchema = object({
|
|
|
7212
7225
|
*/
|
|
7213
7226
|
var RecordingWeekdaySchema = number().int().min(0).max(6);
|
|
7214
7227
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
7215
|
-
var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
|
|
7216
|
-
kind: literal("timeOfDay"),
|
|
7217
|
-
start: string().regex(HHMM),
|
|
7218
|
-
end: string().regex(HHMM),
|
|
7219
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
7220
|
-
days: array(RecordingWeekdaySchema).optional()
|
|
7221
|
-
})]);
|
|
7222
|
-
var RecordingModeSchema = _enum([
|
|
7223
|
-
"continuous",
|
|
7224
|
-
"onMotion",
|
|
7225
|
-
"onAudioThreshold"
|
|
7226
|
-
]);
|
|
7227
7228
|
/**
|
|
7228
|
-
*
|
|
7229
|
-
*
|
|
7230
|
-
* - `off` —
|
|
7231
|
-
* - `events` —
|
|
7232
|
-
*
|
|
7233
|
-
* - `continuous` — record 24/7 within the schedule.
|
|
7229
|
+
* DERIVED per-camera storage summary — the single field cheap consumers read
|
|
7230
|
+
* (the viewer's status dot, the camera list) instead of walking `bands`:
|
|
7231
|
+
* - `off` — no band covers the camera (or it is disabled).
|
|
7232
|
+
* - `events` — every band records around triggers only.
|
|
7233
|
+
* - `continuous` — at least one band records continuously.
|
|
7234
7234
|
*
|
|
7235
|
-
*
|
|
7236
|
-
*
|
|
7235
|
+
* NEVER authored: the recorder stamps it from the authoritative `bands` on
|
|
7236
|
+
* every save (`activeModeForConfig`). Writing it has no effect.
|
|
7237
7237
|
*/
|
|
7238
7238
|
var RecordingStorageModeSchema = _enum([
|
|
7239
7239
|
"off",
|
|
7240
7240
|
"events",
|
|
7241
7241
|
"continuous"
|
|
7242
7242
|
]);
|
|
7243
|
-
/** Which detectors trigger an `events`-mode
|
|
7243
|
+
/** Which detectors trigger an `events`-mode band. */
|
|
7244
7244
|
var RecordingTriggersSchema = object({
|
|
7245
7245
|
motion: boolean().optional(),
|
|
7246
7246
|
audioThresholdDbfs: number().optional()
|
|
@@ -7276,18 +7276,6 @@ var RecordingBandSchema = object({
|
|
|
7276
7276
|
preBufferSec: number().min(0).optional(),
|
|
7277
7277
|
postBufferSec: number().min(0).optional()
|
|
7278
7278
|
});
|
|
7279
|
-
var RecordingRuleSchema = object({
|
|
7280
|
-
schedule: RecordingScheduleSchema,
|
|
7281
|
-
mode: RecordingModeSchema,
|
|
7282
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
7283
|
-
preBufferSec: number().min(0).default(0),
|
|
7284
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
7285
|
-
postBufferSec: number().min(0).default(0),
|
|
7286
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
7287
|
-
resetTimeoutOnNewEvent: boolean().default(true),
|
|
7288
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
7289
|
-
thresholdDbfs: number().optional()
|
|
7290
|
-
});
|
|
7291
7279
|
/**
|
|
7292
7280
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7293
7281
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7321,40 +7309,28 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7321
7309
|
/**
|
|
7322
7310
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7323
7311
|
*
|
|
7324
|
-
* `
|
|
7325
|
-
*
|
|
7326
|
-
*
|
|
7327
|
-
*
|
|
7312
|
+
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
7313
|
+
* which trigger. `mode` is a derived summary the recorder stamps on save; every
|
|
7314
|
+
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7315
|
+
*
|
|
7316
|
+
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7317
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
|
|
7318
|
+
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7319
|
+
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7328
7320
|
*/
|
|
7329
7321
|
var RecordingConfigSchema = object({
|
|
7330
7322
|
enabled: boolean(),
|
|
7331
|
-
/**
|
|
7332
|
-
*
|
|
7323
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7324
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7333
7325
|
mode: RecordingStorageModeSchema.optional(),
|
|
7334
7326
|
profiles: array(CamProfileSchema).optional(),
|
|
7335
7327
|
segmentSeconds: number().int().positive().optional(),
|
|
7336
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
7337
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
7338
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
7339
|
-
schedules: array(RecordingScheduleSchema).optional(),
|
|
7340
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
7341
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
7342
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
7343
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
7344
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
7345
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
7346
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
7347
|
-
preBufferSec: number().min(0).optional(),
|
|
7348
|
-
postBufferSec: number().min(0).optional(),
|
|
7349
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
7350
|
-
rules: array(RecordingRuleSchema).optional(),
|
|
7351
7328
|
/**
|
|
7352
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
7353
|
-
*
|
|
7354
|
-
*
|
|
7355
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
7329
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
7330
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
7331
|
+
* "off" is the absence of a covering band, never a band value.
|
|
7356
7332
|
*/
|
|
7357
|
-
bands: array(RecordingBandSchema).
|
|
7333
|
+
bands: array(RecordingBandSchema).default([]),
|
|
7358
7334
|
retention: RecordingRetentionSchema.optional(),
|
|
7359
7335
|
/**
|
|
7360
7336
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -7362,8 +7338,15 @@ var RecordingConfigSchema = object({
|
|
|
7362
7338
|
* windows only — existing sheets are immutable, and each window's index
|
|
7363
7339
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7364
7340
|
*/
|
|
7365
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7366
|
-
|
|
7341
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
7342
|
+
/**
|
|
7343
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
7344
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
7345
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
7346
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
7347
|
+
*/
|
|
7348
|
+
stripsEnabled: boolean().optional()
|
|
7349
|
+
}).strict();
|
|
7367
7350
|
/**
|
|
7368
7351
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7369
7352
|
* recordings and events management surfaces.
|
|
@@ -7382,7 +7365,8 @@ var OpsLogOpSchema = _enum([
|
|
|
7382
7365
|
"prune",
|
|
7383
7366
|
"manual-delete",
|
|
7384
7367
|
"rescan",
|
|
7385
|
-
"retention-run"
|
|
7368
|
+
"retention-run",
|
|
7369
|
+
"relocate"
|
|
7386
7370
|
]);
|
|
7387
7371
|
/** Why the operation ran. */
|
|
7388
7372
|
var OpsLogReasonSchema = _enum([
|
|
@@ -7421,6 +7405,55 @@ var OpsLogQueryInputSchema = object({
|
|
|
7421
7405
|
limit: number().int().min(1).max(1e3).optional()
|
|
7422
7406
|
});
|
|
7423
7407
|
/**
|
|
7408
|
+
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
7409
|
+
*
|
|
7410
|
+
* One shape shared by the recorder's `relocateFootage` (segments + strips) and
|
|
7411
|
+
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7412
|
+
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
7413
|
+
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
7414
|
+
* after verify) and each completed/failed run also lands one durable ops-log
|
|
7415
|
+
* row on the owning addon's surface.
|
|
7416
|
+
*/
|
|
7417
|
+
var RelocateJobStateSchema = _enum([
|
|
7418
|
+
"running",
|
|
7419
|
+
"done",
|
|
7420
|
+
"failed",
|
|
7421
|
+
"cancelled"
|
|
7422
|
+
]);
|
|
7423
|
+
var RelocateJobSchema = object({
|
|
7424
|
+
jobId: string(),
|
|
7425
|
+
state: RelocateJobStateSchema,
|
|
7426
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
7427
|
+
* move from wherever they are to the target). */
|
|
7428
|
+
fromLocationId: string(),
|
|
7429
|
+
toLocationId: string(),
|
|
7430
|
+
/** Scoped device, or null = every device. */
|
|
7431
|
+
deviceId: number().nullable(),
|
|
7432
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
7433
|
+
entities: array(string()),
|
|
7434
|
+
filesMoved: number().int(),
|
|
7435
|
+
bytesMoved: number().int(),
|
|
7436
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
7437
|
+
filesTotal: number().int().nullable(),
|
|
7438
|
+
startedAt: number(),
|
|
7439
|
+
finishedAt: number().nullable(),
|
|
7440
|
+
error: string().nullable()
|
|
7441
|
+
});
|
|
7442
|
+
var RelocateFootageInputSchema = object({
|
|
7443
|
+
deviceId: number().optional(),
|
|
7444
|
+
fromLocationId: string(),
|
|
7445
|
+
toLocationId: string(),
|
|
7446
|
+
entities: array(_enum(["segments", "strips"])).optional(),
|
|
7447
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7448
|
+
* never allowed to starve live writers. */
|
|
7449
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7450
|
+
});
|
|
7451
|
+
var RelocateMediaInputSchema = object({
|
|
7452
|
+
deviceId: number().optional(),
|
|
7453
|
+
toLocationId: string(),
|
|
7454
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7455
|
+
});
|
|
7456
|
+
/**
|
|
7424
7457
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7425
7458
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7426
7459
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -7470,6 +7503,13 @@ var StorageLocationSchema = object({
|
|
|
7470
7503
|
nodeId: string().optional(),
|
|
7471
7504
|
isDefault: boolean().default(false),
|
|
7472
7505
|
isSystem: boolean().default(false),
|
|
7506
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
7507
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
7508
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
7509
|
+
capacity: object({
|
|
7510
|
+
totalBytes: number(),
|
|
7511
|
+
availableBytes: number()
|
|
7512
|
+
}).nullable().optional(),
|
|
7473
7513
|
createdAt: number(),
|
|
7474
7514
|
updatedAt: number()
|
|
7475
7515
|
});
|
|
@@ -8237,7 +8277,8 @@ var NcTaxonomyEntrySchema = object({
|
|
|
8237
8277
|
/** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
|
|
8238
8278
|
parentKind: string().nullable()
|
|
8239
8279
|
});
|
|
8240
|
-
|
|
8280
|
+
/** The complete NC picker taxonomy — three grouped buckets. */
|
|
8281
|
+
var NcTaxonomySchema = object({
|
|
8241
8282
|
videoClasses: array(NcTaxonomyEntrySchema),
|
|
8242
8283
|
audioKinds: array(NcTaxonomyEntrySchema),
|
|
8243
8284
|
labels: array(NcTaxonomyEntrySchema)
|
|
@@ -9140,6 +9181,7 @@ function shallowEqual(a, b) {
|
|
|
9140
9181
|
for (const k of ak) if (a[k] !== b[k]) return false;
|
|
9141
9182
|
return true;
|
|
9142
9183
|
}
|
|
9184
|
+
new Set(["devices", "classes"]);
|
|
9143
9185
|
/**
|
|
9144
9186
|
* Shared geometry vocabulary for on-frame shape caps — privacy-mask,
|
|
9145
9187
|
* motion-zones, and the detection zones/lines editor all speak this one
|
|
@@ -9298,6 +9340,29 @@ var NcOccupancyConditionSchema = object({
|
|
|
9298
9340
|
count: number().int().min(0).default(1),
|
|
9299
9341
|
sustainSeconds: number().int().min(0).max(3600).default(15)
|
|
9300
9342
|
});
|
|
9343
|
+
/**
|
|
9344
|
+
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
9345
|
+
*
|
|
9346
|
+
* The values are not symmetric, and deliberately so — the absent value has to
|
|
9347
|
+
* mean exactly what every rule authored before this condition existed already
|
|
9348
|
+
* does:
|
|
9349
|
+
* - `enter` — entries and every NON-crossing record (movement state,
|
|
9350
|
+
* package, sensor). Exits are rejected. **This is the absent behaviour**:
|
|
9351
|
+
* an operator who never asked for exits must not start receiving them.
|
|
9352
|
+
* - `exit` — ONLY an exit crossing. A record that is not a crossing at all
|
|
9353
|
+
* fails closed, because "the car left the drive" is a question about a
|
|
9354
|
+
* boundary, not about a detection.
|
|
9355
|
+
* - `any` — no direction filter; entries, exits and non-crossings alike.
|
|
9356
|
+
*
|
|
9357
|
+
* A rule asking for a direction should normally also scope `zones`, which the
|
|
9358
|
+
* engine evaluates against the crossed zone as well as the current membership
|
|
9359
|
+
* (an exit's membership no longer contains the zone it just left).
|
|
9360
|
+
*/
|
|
9361
|
+
var NcCrossingSchema = _enum([
|
|
9362
|
+
"enter",
|
|
9363
|
+
"exit",
|
|
9364
|
+
"any"
|
|
9365
|
+
]);
|
|
9301
9366
|
/** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
|
|
9302
9367
|
var NcZoneConditionSchema = object({
|
|
9303
9368
|
ids: array(string().min(1)).min(1),
|
|
@@ -9322,6 +9387,13 @@ var NcConditionsSchema = object({
|
|
|
9322
9387
|
/** Veto zones — any hit fails the rule. */
|
|
9323
9388
|
zonesExclude: array(string().min(1)).optional(),
|
|
9324
9389
|
/**
|
|
9390
|
+
* Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
|
|
9391
|
+
* and a closed track carries none, so a `track-end` rule asking for one
|
|
9392
|
+
* fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
|
|
9393
|
+
* which is exactly today's behaviour. See {@link NcCrossingSchema}.
|
|
9394
|
+
*/
|
|
9395
|
+
crossing: NcCrossingSchema.optional(),
|
|
9396
|
+
/**
|
|
9325
9397
|
* Exact (case-insensitive) match on the record's collapsed `label`
|
|
9326
9398
|
* (identity name / plate text / subclass).
|
|
9327
9399
|
*/
|
|
@@ -9456,17 +9528,85 @@ var NcRuleTargetSchema = object({
|
|
|
9456
9528
|
* - `keyFrame` — the clean scene frame (no subject box).
|
|
9457
9529
|
* - `none` — no attachment.
|
|
9458
9530
|
*/
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9531
|
+
/**
|
|
9532
|
+
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
9533
|
+
* conflate it with the selection strategy and betray the request: asking for
|
|
9534
|
+
* the clean scene frame on an object-event owner used to start at
|
|
9535
|
+
* `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
|
|
9536
|
+
* - `cropped` — the subject, tight. What "who is at the door" wants.
|
|
9537
|
+
* - `full` — the clean scene, no annotation. What "what is going on" wants.
|
|
9538
|
+
* - `boxed` — the scene WITH the detection boxes drawn, for verifying what
|
|
9539
|
+
* the pipeline actually saw.
|
|
9540
|
+
*/
|
|
9541
|
+
var NcMediaFrameSchema = _enum([
|
|
9542
|
+
"cropped",
|
|
9543
|
+
"full",
|
|
9544
|
+
"boxed"
|
|
9545
|
+
]);
|
|
9546
|
+
var NcMediaPolicySchema = object({
|
|
9547
|
+
attach: _enum([
|
|
9548
|
+
"best",
|
|
9549
|
+
"best-matching",
|
|
9550
|
+
"keyFrame",
|
|
9551
|
+
"none"
|
|
9552
|
+
]).default("best"),
|
|
9553
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
9554
|
+
frame: NcMediaFrameSchema.optional(),
|
|
9555
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
9556
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
9557
|
+
zoneCrop: boolean().optional(),
|
|
9558
|
+
/**
|
|
9559
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
9560
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
9561
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
9562
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
9563
|
+
* gif, never a failed notification.
|
|
9564
|
+
*/
|
|
9565
|
+
gif: boolean().optional(),
|
|
9566
|
+
/**
|
|
9567
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
9568
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
9569
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
9570
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
9571
|
+
*/
|
|
9572
|
+
clip: boolean().optional(),
|
|
9573
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
9574
|
+
clipPreRollSec: number().int().min(0).max(30).optional(),
|
|
9575
|
+
clipPostRollSec: number().int().min(0).max(30).optional(),
|
|
9576
|
+
/**
|
|
9577
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
9578
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
9579
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
9580
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
9581
|
+
* reports which one actually ran.
|
|
9582
|
+
*/
|
|
9583
|
+
profile: CamProfileSchema.optional()
|
|
9584
|
+
});
|
|
9585
|
+
/**
|
|
9586
|
+
* Cooldown GRANULARITY over the subject's class — how much a fired
|
|
9587
|
+
* notification suppresses.
|
|
9588
|
+
* - `shared` (default, and the absent value) — one window for the whole
|
|
9589
|
+
* rule/scope: a cat silences the next dog for `cooldownSec`.
|
|
9590
|
+
* - `per-class` — an independent window per detected class, so cat→dog fires
|
|
9591
|
+
* at once and cat→cat still waits.
|
|
9592
|
+
*
|
|
9593
|
+
* AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
|
|
9594
|
+
* must not be swallowed by a bark's window (the precedent this generalizes —
|
|
9595
|
+
* see `cooldownKey` in the rule engine).
|
|
9596
|
+
*/
|
|
9597
|
+
var NcThrottleGranularitySchema = _enum(["shared", "per-class"]);
|
|
9465
9598
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
9466
9599
|
var NcThrottleSchema = object({
|
|
9467
9600
|
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
9468
9601
|
/** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
|
|
9469
|
-
scope: _enum(["rule", "rule-device"]).default("rule-device")
|
|
9602
|
+
scope: _enum(["rule", "rule-device"]).default("rule-device"),
|
|
9603
|
+
/**
|
|
9604
|
+
* Class granularity of the cooldown key. Optional rather than defaulted:
|
|
9605
|
+
* a Zod default does NOT run on the addon→addon cap path, so a persisted
|
|
9606
|
+
* rule authored before this field simply carries none — and the engine
|
|
9607
|
+
* reads absent as `shared`, the pre-existing behaviour.
|
|
9608
|
+
*/
|
|
9609
|
+
granularity: NcThrottleGranularitySchema.optional()
|
|
9470
9610
|
});
|
|
9471
9611
|
/** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
|
|
9472
9612
|
var NcRuleInputSchema = object({
|
|
@@ -9475,7 +9615,19 @@ var NcRuleInputSchema = object({
|
|
|
9475
9615
|
delivery: NcDeliverySchema,
|
|
9476
9616
|
conditions: NcConditionsSchema.default({}),
|
|
9477
9617
|
schedule: NcScheduleSchema.optional(),
|
|
9478
|
-
|
|
9618
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
9619
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
9620
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
9621
|
+
targets: array(NcRuleTargetSchema),
|
|
9622
|
+
/**
|
|
9623
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
9624
|
+
* time each user fans out to the personal targets they own
|
|
9625
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
9626
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
9627
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
9628
|
+
* targets.
|
|
9629
|
+
*/
|
|
9630
|
+
targetUsers: array(string()).optional(),
|
|
9479
9631
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
9480
9632
|
throttle: NcThrottleSchema.default({
|
|
9481
9633
|
cooldownSec: 60,
|
|
@@ -9562,6 +9714,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
9562
9714
|
"schedule",
|
|
9563
9715
|
"plateMatcher",
|
|
9564
9716
|
"packagePhase",
|
|
9717
|
+
"crossingSelect",
|
|
9565
9718
|
"polygonDraw",
|
|
9566
9719
|
"occupancy"
|
|
9567
9720
|
]),
|
|
@@ -9688,7 +9841,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
9688
9841
|
}), object({ results: array(NcTestResultSchema) }), {
|
|
9689
9842
|
kind: "mutation",
|
|
9690
9843
|
auth: "admin"
|
|
9691
|
-
}), method(object({}), object({
|
|
9844
|
+
}), method(object({}), object({
|
|
9845
|
+
catalog: array(NcConditionDescriptorSchema),
|
|
9846
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
9847
|
+
})), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
|
|
9692
9848
|
/**
|
|
9693
9849
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
9694
9850
|
*
|
|
@@ -10697,6 +10853,28 @@ method(object({
|
|
|
10697
10853
|
}), object({ success: literal(true) }), {
|
|
10698
10854
|
kind: "mutation",
|
|
10699
10855
|
auth: "admin"
|
|
10856
|
+
}), method(object({
|
|
10857
|
+
deviceId: number(),
|
|
10858
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
10859
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
10860
|
+
profile: CamProfileSchema.optional(),
|
|
10861
|
+
aroundMs: number(),
|
|
10862
|
+
preRollSec: number().min(0).max(20).default(3),
|
|
10863
|
+
postRollSec: number().min(0).max(20).default(5),
|
|
10864
|
+
format: _enum(["gif", "mp4"]).default("gif"),
|
|
10865
|
+
maxWidth: number().int().min(120).max(1920).default(480),
|
|
10866
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
10867
|
+
fps: number().int().min(1).max(15).default(5)
|
|
10868
|
+
}), object({
|
|
10869
|
+
base64: string(),
|
|
10870
|
+
mime: string(),
|
|
10871
|
+
bytes: number().int(),
|
|
10872
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
10873
|
+
profile: CamProfileSchema,
|
|
10874
|
+
durationMs: number()
|
|
10875
|
+
}), {
|
|
10876
|
+
kind: "mutation",
|
|
10877
|
+
auth: "admin"
|
|
10700
10878
|
}), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
|
|
10701
10879
|
probed: boolean(),
|
|
10702
10880
|
summary: string()
|
|
@@ -13827,6 +14005,18 @@ var motionCapability = {
|
|
|
13827
14005
|
name: "motion",
|
|
13828
14006
|
scope: "device",
|
|
13829
14007
|
mode: "singleton",
|
|
14008
|
+
/**
|
|
14009
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14010
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14011
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14012
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14013
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14014
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14015
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14016
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14017
|
+
* `snapshot` and every other per-device native cap.
|
|
14018
|
+
*/
|
|
14019
|
+
deviceNative: true,
|
|
13830
14020
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
13831
14021
|
methods: {
|
|
13832
14022
|
/**
|
|
@@ -18759,7 +18949,10 @@ method(object({
|
|
|
18759
18949
|
}), method(object({
|
|
18760
18950
|
deviceId: number(),
|
|
18761
18951
|
caps: array(string()).readonly().optional()
|
|
18762
|
-
}), record(string(), unknown().nullable()))
|
|
18952
|
+
}), record(string(), unknown().nullable())), method(object({
|
|
18953
|
+
deviceIds: array(number()).readonly(),
|
|
18954
|
+
caps: array(string()).readonly().optional()
|
|
18955
|
+
}), record(string(), record(string(), unknown().nullable())));
|
|
18763
18956
|
method(object({ deviceId: number() }), record(string(), record(string(), unknown()))), method(object({
|
|
18764
18957
|
deviceId: number(),
|
|
18765
18958
|
capName: string()
|
|
@@ -19690,6 +19883,36 @@ var TargetKindSchema = object({
|
|
|
19690
19883
|
icon: string(),
|
|
19691
19884
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
19692
19885
|
addonId: string(),
|
|
19886
|
+
/**
|
|
19887
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
19888
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
19889
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
19890
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
19891
|
+
*
|
|
19892
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
19893
|
+
* client, and a native client joins it onto its own hub base.
|
|
19894
|
+
*
|
|
19895
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
19896
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
19897
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
19898
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
19899
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
19900
|
+
*/
|
|
19901
|
+
iconUrl: string().optional(),
|
|
19902
|
+
/**
|
|
19903
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
19904
|
+
*
|
|
19905
|
+
* The server knows this and therefore says it, because the client cannot
|
|
19906
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
19907
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
19908
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
19909
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
19910
|
+
*
|
|
19911
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
19912
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
19913
|
+
* its raster path, which is the safe default for an unknown image.
|
|
19914
|
+
*/
|
|
19915
|
+
iconMediaType: string().optional(),
|
|
19693
19916
|
configSchema: ConfigSchemaPassthrough,
|
|
19694
19917
|
supportsDiscovery: boolean(),
|
|
19695
19918
|
caps: TargetKindCapsSchema
|
|
@@ -20137,6 +20360,29 @@ var MotionEventSchema = object({
|
|
|
20137
20360
|
* Absent on legacy rows ⇒ treat as `pipeline`.
|
|
20138
20361
|
*/
|
|
20139
20362
|
var DetectionSourceSchema = _enum(["pipeline", "onboard"]);
|
|
20363
|
+
/**
|
|
20364
|
+
* The confirmed zone crossing that produced an object event. Present ONLY on
|
|
20365
|
+
* an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
|
|
20366
|
+
* event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
|
|
20367
|
+
* appearance event carry none, so a rule asking for a direction fails closed
|
|
20368
|
+
* on them.
|
|
20369
|
+
*
|
|
20370
|
+
* Exactly ONE crossing per event: the emitter turns each confirmed crossing
|
|
20371
|
+
* into its own event, so a frame in which a track enters A while leaving B
|
|
20372
|
+
* produces two events with two directions — never one ambiguous row.
|
|
20373
|
+
*
|
|
20374
|
+
* `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
|
|
20375
|
+
* membership the box has NOW, and by definition it no longer contains the zone
|
|
20376
|
+
* that was just left. Without the id here, a zone-scoped rule could never match
|
|
20377
|
+
* the exit it asked for.
|
|
20378
|
+
*/
|
|
20379
|
+
var ZoneCrossingSchema = object({
|
|
20380
|
+
direction: _enum(["enter", "exit"]),
|
|
20381
|
+
/** Admin zone id crossed. */
|
|
20382
|
+
zoneId: string(),
|
|
20383
|
+
/** Zone display name at crossing time (falls back to the id). */
|
|
20384
|
+
zoneName: string().optional()
|
|
20385
|
+
});
|
|
20140
20386
|
var ObjectEventSchema = object({
|
|
20141
20387
|
...BaseEventFields,
|
|
20142
20388
|
kind: literal("object"),
|
|
@@ -20163,6 +20409,12 @@ var ObjectEventSchema = object({
|
|
|
20163
20409
|
zones: array(string()).readonly().optional(),
|
|
20164
20410
|
/** Omitted in slim projection. */
|
|
20165
20411
|
state: TrackStateSchema.optional(),
|
|
20412
|
+
/**
|
|
20413
|
+
* The zone crossing this event IS, when it is one. Absent on every other
|
|
20414
|
+
* event kind (movement state, appearance, package) — see
|
|
20415
|
+
* {@link ZoneCrossingSchema}. Omitted in slim projection.
|
|
20416
|
+
*/
|
|
20417
|
+
zoneCrossing: ZoneCrossingSchema.optional(),
|
|
20166
20418
|
/** Detection-frame dimensions in pixels — let consumers normalize the
|
|
20167
20419
|
* pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
|
|
20168
20420
|
frameWidth: number().optional(),
|
|
@@ -20421,6 +20673,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20421
20673
|
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
20422
20674
|
kind: "mutation",
|
|
20423
20675
|
auth: "admin"
|
|
20676
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
20677
|
+
kind: "mutation",
|
|
20678
|
+
auth: "admin"
|
|
20679
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
20680
|
+
kind: "query",
|
|
20681
|
+
auth: "admin"
|
|
20682
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
20683
|
+
kind: "mutation",
|
|
20684
|
+
auth: "admin"
|
|
20424
20685
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20425
20686
|
kind: "query",
|
|
20426
20687
|
auth: "admin"
|
|
@@ -22900,6 +23161,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
22900
23161
|
*/
|
|
22901
23162
|
priority: number()
|
|
22902
23163
|
})).readonly() });
|
|
23164
|
+
/**
|
|
23165
|
+
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
23166
|
+
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
23167
|
+
* what AUTO currently picks, so the UI can show the effective value either way.
|
|
23168
|
+
*/
|
|
23169
|
+
var NotificationEndpointSchema = object({
|
|
23170
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
23171
|
+
baseUrl: string().nullable(),
|
|
23172
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
23173
|
+
resolved: string().nullable()
|
|
23174
|
+
});
|
|
22903
23175
|
var AllowedAddressesSchema = object({
|
|
22904
23176
|
/**
|
|
22905
23177
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -22922,7 +23194,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
22922
23194
|
* to avoid mixed-content blocks in the browser. The public
|
|
22923
23195
|
* tunnel always emits `https://` regardless. */
|
|
22924
23196
|
scheme: _enum(["http", "https"]).optional()
|
|
22925
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
23197
|
+
}), 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" });
|
|
22926
23198
|
/**
|
|
22927
23199
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
22928
23200
|
*
|
|
@@ -23721,7 +23993,12 @@ var RecordingDeviceUsageSchema = object({
|
|
|
23721
23993
|
var RecordingLocationUsageSchema = object({
|
|
23722
23994
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
23723
23995
|
locationId: string().nullable(),
|
|
23724
|
-
/**
|
|
23996
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
23997
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
23998
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
23999
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24000
|
+
locationIds: array(string()).optional(),
|
|
24001
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
23725
24002
|
usedBytes: number(),
|
|
23726
24003
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
23727
24004
|
availableBytes: number().nullable(),
|
|
@@ -23833,6 +24110,44 @@ method(object({
|
|
|
23833
24110
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
23834
24111
|
kind: "query",
|
|
23835
24112
|
auth: "admin"
|
|
24113
|
+
}), method(object({
|
|
24114
|
+
deviceId: number(),
|
|
24115
|
+
aroundMs: number(),
|
|
24116
|
+
preRollSec: number().min(0).max(30).default(2),
|
|
24117
|
+
postRollSec: number().min(0).max(30).default(5),
|
|
24118
|
+
maxWidth: number().int().min(120).max(1280).default(480),
|
|
24119
|
+
fps: number().int().min(1).max(15).default(5)
|
|
24120
|
+
}), object({
|
|
24121
|
+
gifBase64: string(),
|
|
24122
|
+
fromMs: number(),
|
|
24123
|
+
toMs: number()
|
|
24124
|
+
}), {
|
|
24125
|
+
kind: "mutation",
|
|
24126
|
+
auth: "admin"
|
|
24127
|
+
}), method(object({
|
|
24128
|
+
deviceId: number(),
|
|
24129
|
+
aroundMs: number(),
|
|
24130
|
+
preRollSec: number().min(0).max(30).default(3),
|
|
24131
|
+
postRollSec: number().min(0).max(30).default(7),
|
|
24132
|
+
maxWidth: number().int().min(160).max(1920).default(640)
|
|
24133
|
+
}), object({
|
|
24134
|
+
clipBase64: string(),
|
|
24135
|
+
mime: string(),
|
|
24136
|
+
fromMs: number(),
|
|
24137
|
+
toMs: number(),
|
|
24138
|
+
bytes: number().int()
|
|
24139
|
+
}), {
|
|
24140
|
+
kind: "mutation",
|
|
24141
|
+
auth: "admin"
|
|
24142
|
+
}), method(RelocateFootageInputSchema, object({ jobId: string() }), {
|
|
24143
|
+
kind: "mutation",
|
|
24144
|
+
auth: "admin"
|
|
24145
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
24146
|
+
kind: "query",
|
|
24147
|
+
auth: "admin"
|
|
24148
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
24149
|
+
kind: "mutation",
|
|
24150
|
+
auth: "admin"
|
|
23836
24151
|
});
|
|
23837
24152
|
/**
|
|
23838
24153
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -25424,6 +25739,12 @@ Object.freeze({
|
|
|
25424
25739
|
addonId: null,
|
|
25425
25740
|
access: "view"
|
|
25426
25741
|
},
|
|
25742
|
+
"deviceManager.getDeviceStatusAggregateBatch": {
|
|
25743
|
+
capName: "device-manager",
|
|
25744
|
+
capScope: "system",
|
|
25745
|
+
addonId: null,
|
|
25746
|
+
access: "view"
|
|
25747
|
+
},
|
|
25427
25748
|
"deviceManager.getLinkedDevices": {
|
|
25428
25749
|
capName: "device-manager",
|
|
25429
25750
|
capScope: "system",
|
|
@@ -26318,6 +26639,12 @@ Object.freeze({
|
|
|
26318
26639
|
addonId: null,
|
|
26319
26640
|
access: "view"
|
|
26320
26641
|
},
|
|
26642
|
+
"localNetwork.getNotificationEndpoint": {
|
|
26643
|
+
capName: "local-network",
|
|
26644
|
+
capScope: "system",
|
|
26645
|
+
addonId: null,
|
|
26646
|
+
access: "view"
|
|
26647
|
+
},
|
|
26321
26648
|
"localNetwork.getPreferred": {
|
|
26322
26649
|
capName: "local-network",
|
|
26323
26650
|
capScope: "system",
|
|
@@ -26342,6 +26669,12 @@ Object.freeze({
|
|
|
26342
26669
|
addonId: null,
|
|
26343
26670
|
access: "create"
|
|
26344
26671
|
},
|
|
26672
|
+
"localNetwork.setNotificationEndpoint": {
|
|
26673
|
+
capName: "local-network",
|
|
26674
|
+
capScope: "system",
|
|
26675
|
+
addonId: null,
|
|
26676
|
+
access: "create"
|
|
26677
|
+
},
|
|
26345
26678
|
"lockControl.lock": {
|
|
26346
26679
|
capName: "lock-control",
|
|
26347
26680
|
capScope: "device",
|
|
@@ -26984,6 +27317,12 @@ Object.freeze({
|
|
|
26984
27317
|
addonId: null,
|
|
26985
27318
|
access: "create"
|
|
26986
27319
|
},
|
|
27320
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
27321
|
+
capName: "pipeline-analytics",
|
|
27322
|
+
capScope: "device",
|
|
27323
|
+
addonId: null,
|
|
27324
|
+
access: "create"
|
|
27325
|
+
},
|
|
26987
27326
|
"pipelineAnalytics.clearTracks": {
|
|
26988
27327
|
capName: "pipeline-analytics",
|
|
26989
27328
|
capScope: "device",
|
|
@@ -27038,6 +27377,12 @@ Object.freeze({
|
|
|
27038
27377
|
addonId: null,
|
|
27039
27378
|
access: "view"
|
|
27040
27379
|
},
|
|
27380
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
27381
|
+
capName: "pipeline-analytics",
|
|
27382
|
+
capScope: "device",
|
|
27383
|
+
addonId: null,
|
|
27384
|
+
access: "view"
|
|
27385
|
+
},
|
|
27041
27386
|
"pipelineAnalytics.getMotionEvents": {
|
|
27042
27387
|
capName: "pipeline-analytics",
|
|
27043
27388
|
capScope: "device",
|
|
@@ -27110,6 +27455,12 @@ Object.freeze({
|
|
|
27110
27455
|
addonId: null,
|
|
27111
27456
|
access: "create"
|
|
27112
27457
|
},
|
|
27458
|
+
"pipelineAnalytics.relocateMedia": {
|
|
27459
|
+
capName: "pipeline-analytics",
|
|
27460
|
+
capScope: "device",
|
|
27461
|
+
addonId: null,
|
|
27462
|
+
access: "create"
|
|
27463
|
+
},
|
|
27113
27464
|
"pipelineAnalytics.searchObjectEvents": {
|
|
27114
27465
|
capName: "pipeline-analytics",
|
|
27115
27466
|
capScope: "device",
|
|
@@ -27872,6 +28223,12 @@ Object.freeze({
|
|
|
27872
28223
|
addonId: null,
|
|
27873
28224
|
access: "create"
|
|
27874
28225
|
},
|
|
28226
|
+
"recording.cancelRelocate": {
|
|
28227
|
+
capName: "recording",
|
|
28228
|
+
capScope: "system",
|
|
28229
|
+
addonId: null,
|
|
28230
|
+
access: "create"
|
|
28231
|
+
},
|
|
27875
28232
|
"recording.deleteFootprint": {
|
|
27876
28233
|
capName: "recording",
|
|
27877
28234
|
capScope: "system",
|
|
@@ -27902,6 +28259,12 @@ Object.freeze({
|
|
|
27902
28259
|
addonId: null,
|
|
27903
28260
|
access: "view"
|
|
27904
28261
|
},
|
|
28262
|
+
"recording.getRelocateStatus": {
|
|
28263
|
+
capName: "recording",
|
|
28264
|
+
capScope: "system",
|
|
28265
|
+
addonId: null,
|
|
28266
|
+
access: "view"
|
|
28267
|
+
},
|
|
27905
28268
|
"recording.getStorageUsage": {
|
|
27906
28269
|
capName: "recording",
|
|
27907
28270
|
capScope: "system",
|
|
@@ -27932,6 +28295,24 @@ Object.freeze({
|
|
|
27932
28295
|
addonId: null,
|
|
27933
28296
|
access: "view"
|
|
27934
28297
|
},
|
|
28298
|
+
"recording.relocateFootage": {
|
|
28299
|
+
capName: "recording",
|
|
28300
|
+
capScope: "system",
|
|
28301
|
+
addonId: null,
|
|
28302
|
+
access: "create"
|
|
28303
|
+
},
|
|
28304
|
+
"recording.renderClip": {
|
|
28305
|
+
capName: "recording",
|
|
28306
|
+
capScope: "system",
|
|
28307
|
+
addonId: null,
|
|
28308
|
+
access: "create"
|
|
28309
|
+
},
|
|
28310
|
+
"recording.renderGif": {
|
|
28311
|
+
capName: "recording",
|
|
28312
|
+
capScope: "system",
|
|
28313
|
+
addonId: null,
|
|
28314
|
+
access: "create"
|
|
28315
|
+
},
|
|
27935
28316
|
"recording.rescanStorage": {
|
|
27936
28317
|
capName: "recording",
|
|
27937
28318
|
capScope: "system",
|
|
@@ -28526,6 +28907,12 @@ Object.freeze({
|
|
|
28526
28907
|
addonId: null,
|
|
28527
28908
|
access: "create"
|
|
28528
28909
|
},
|
|
28910
|
+
"streamBroker.renderPreBufferClip": {
|
|
28911
|
+
capName: "stream-broker",
|
|
28912
|
+
capScope: "system",
|
|
28913
|
+
addonId: null,
|
|
28914
|
+
access: "create"
|
|
28915
|
+
},
|
|
28529
28916
|
"streamBroker.restartProfile": {
|
|
28530
28917
|
capName: "stream-broker",
|
|
28531
28918
|
capScope: "system",
|