@camstack/addon-provider-tuya 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +463 -76
- package/dist/addon.mjs +463 -76
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -3,7 +3,7 @@ let crypto$1 = require("crypto");
|
|
|
3
3
|
let net = require("net");
|
|
4
4
|
let events = require("events");
|
|
5
5
|
let dgram = require("dgram");
|
|
6
|
-
//#region ../types/dist/event-category-
|
|
6
|
+
//#region ../types/dist/event-category-Bz24uP1U.mjs
|
|
7
7
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
8
8
|
EventCategory["SystemBoot"] = "system.boot";
|
|
9
9
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -274,6 +274,19 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
274
274
|
*/
|
|
275
275
|
EventCategory["DeviceStateChanged"] = "device.state-changed";
|
|
276
276
|
/**
|
|
277
|
+
* Frame occupancy for a camera CHANGED — a tracked object was gained or
|
|
278
|
+
* lost. Carries `{ deviceId, totalObjects, byClass, zones }`.
|
|
279
|
+
*
|
|
280
|
+
* Emitted only on a change, so a steady scene is silent. It exists so a
|
|
281
|
+
* client can stop polling `zoneAnalytics.getCurrentSnapshot`: that was the
|
|
282
|
+
* one live badge with no push signal at all, and it cost a request every
|
|
283
|
+
* four seconds per visible camera.
|
|
284
|
+
*
|
|
285
|
+
* Like every event it is telemetry and may be dropped ([D8]) — a consumer
|
|
286
|
+
* keeps a slow reconcile rather than trusting it alone.
|
|
287
|
+
*/
|
|
288
|
+
EventCategory["ZoneAnalyticsOccupancyChanged"] = "zone-analytics.occupancy-changed";
|
|
289
|
+
/**
|
|
277
290
|
* Cap event fired by every device that registers the `battery`
|
|
278
291
|
* capability. Mirrors the cap definition's `onStatusChanged`. Carries
|
|
279
292
|
* `{ deviceId, status: BatteryStatus }`. Subscribers (alert center,
|
|
@@ -7217,35 +7230,22 @@ var ConvertResultSchema = object({
|
|
|
7217
7230
|
*/
|
|
7218
7231
|
var RecordingWeekdaySchema = number().int().min(0).max(6);
|
|
7219
7232
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
7220
|
-
var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
|
|
7221
|
-
kind: literal("timeOfDay"),
|
|
7222
|
-
start: string().regex(HHMM),
|
|
7223
|
-
end: string().regex(HHMM),
|
|
7224
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
7225
|
-
days: array(RecordingWeekdaySchema).optional()
|
|
7226
|
-
})]);
|
|
7227
|
-
var RecordingModeSchema = _enum([
|
|
7228
|
-
"continuous",
|
|
7229
|
-
"onMotion",
|
|
7230
|
-
"onAudioThreshold"
|
|
7231
|
-
]);
|
|
7232
7233
|
/**
|
|
7233
|
-
*
|
|
7234
|
-
*
|
|
7235
|
-
* - `off` —
|
|
7236
|
-
* - `events` —
|
|
7237
|
-
*
|
|
7238
|
-
* - `continuous` — record 24/7 within the schedule.
|
|
7234
|
+
* DERIVED per-camera storage summary — the single field cheap consumers read
|
|
7235
|
+
* (the viewer's status dot, the camera list) instead of walking `bands`:
|
|
7236
|
+
* - `off` — no band covers the camera (or it is disabled).
|
|
7237
|
+
* - `events` — every band records around triggers only.
|
|
7238
|
+
* - `continuous` — at least one band records continuously.
|
|
7239
7239
|
*
|
|
7240
|
-
*
|
|
7241
|
-
*
|
|
7240
|
+
* NEVER authored: the recorder stamps it from the authoritative `bands` on
|
|
7241
|
+
* every save (`activeModeForConfig`). Writing it has no effect.
|
|
7242
7242
|
*/
|
|
7243
7243
|
var RecordingStorageModeSchema = _enum([
|
|
7244
7244
|
"off",
|
|
7245
7245
|
"events",
|
|
7246
7246
|
"continuous"
|
|
7247
7247
|
]);
|
|
7248
|
-
/** Which detectors trigger an `events`-mode
|
|
7248
|
+
/** Which detectors trigger an `events`-mode band. */
|
|
7249
7249
|
var RecordingTriggersSchema = object({
|
|
7250
7250
|
motion: boolean().optional(),
|
|
7251
7251
|
audioThresholdDbfs: number().optional()
|
|
@@ -7281,18 +7281,6 @@ var RecordingBandSchema = object({
|
|
|
7281
7281
|
preBufferSec: number().min(0).optional(),
|
|
7282
7282
|
postBufferSec: number().min(0).optional()
|
|
7283
7283
|
});
|
|
7284
|
-
var RecordingRuleSchema = object({
|
|
7285
|
-
schedule: RecordingScheduleSchema,
|
|
7286
|
-
mode: RecordingModeSchema,
|
|
7287
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
7288
|
-
preBufferSec: number().min(0).default(0),
|
|
7289
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
7290
|
-
postBufferSec: number().min(0).default(0),
|
|
7291
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
7292
|
-
resetTimeoutOnNewEvent: boolean().default(true),
|
|
7293
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
7294
|
-
thresholdDbfs: number().optional()
|
|
7295
|
-
});
|
|
7296
7284
|
/**
|
|
7297
7285
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7298
7286
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7326,40 +7314,28 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7326
7314
|
/**
|
|
7327
7315
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7328
7316
|
*
|
|
7329
|
-
* `
|
|
7330
|
-
*
|
|
7331
|
-
*
|
|
7332
|
-
*
|
|
7317
|
+
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
7318
|
+
* which trigger. `mode` is a derived summary the recorder stamps on save; every
|
|
7319
|
+
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7320
|
+
*
|
|
7321
|
+
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7322
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
|
|
7323
|
+
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7324
|
+
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7333
7325
|
*/
|
|
7334
7326
|
var RecordingConfigSchema = object({
|
|
7335
7327
|
enabled: boolean(),
|
|
7336
|
-
/**
|
|
7337
|
-
*
|
|
7328
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7329
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7338
7330
|
mode: RecordingStorageModeSchema.optional(),
|
|
7339
7331
|
profiles: array(CamProfileSchema).optional(),
|
|
7340
7332
|
segmentSeconds: number().int().positive().optional(),
|
|
7341
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
7342
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
7343
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
7344
|
-
schedules: array(RecordingScheduleSchema).optional(),
|
|
7345
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
7346
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
7347
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
7348
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
7349
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
7350
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
7351
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
7352
|
-
preBufferSec: number().min(0).optional(),
|
|
7353
|
-
postBufferSec: number().min(0).optional(),
|
|
7354
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
7355
|
-
rules: array(RecordingRuleSchema).optional(),
|
|
7356
7333
|
/**
|
|
7357
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
7358
|
-
*
|
|
7359
|
-
*
|
|
7360
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
7334
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
7335
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
7336
|
+
* "off" is the absence of a covering band, never a band value.
|
|
7361
7337
|
*/
|
|
7362
|
-
bands: array(RecordingBandSchema).
|
|
7338
|
+
bands: array(RecordingBandSchema).default([]),
|
|
7363
7339
|
retention: RecordingRetentionSchema.optional(),
|
|
7364
7340
|
/**
|
|
7365
7341
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -7367,8 +7343,15 @@ var RecordingConfigSchema = object({
|
|
|
7367
7343
|
* windows only — existing sheets are immutable, and each window's index
|
|
7368
7344
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7369
7345
|
*/
|
|
7370
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7371
|
-
|
|
7346
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
7347
|
+
/**
|
|
7348
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
7349
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
7350
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
7351
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
7352
|
+
*/
|
|
7353
|
+
stripsEnabled: boolean().optional()
|
|
7354
|
+
}).strict();
|
|
7372
7355
|
/**
|
|
7373
7356
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7374
7357
|
* recordings and events management surfaces.
|
|
@@ -7387,7 +7370,8 @@ var OpsLogOpSchema = _enum([
|
|
|
7387
7370
|
"prune",
|
|
7388
7371
|
"manual-delete",
|
|
7389
7372
|
"rescan",
|
|
7390
|
-
"retention-run"
|
|
7373
|
+
"retention-run",
|
|
7374
|
+
"relocate"
|
|
7391
7375
|
]);
|
|
7392
7376
|
/** Why the operation ran. */
|
|
7393
7377
|
var OpsLogReasonSchema = _enum([
|
|
@@ -7426,6 +7410,55 @@ var OpsLogQueryInputSchema = object({
|
|
|
7426
7410
|
limit: number().int().min(1).max(1e3).optional()
|
|
7427
7411
|
});
|
|
7428
7412
|
/**
|
|
7413
|
+
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
7414
|
+
*
|
|
7415
|
+
* One shape shared by the recorder's `relocateFootage` (segments + strips) and
|
|
7416
|
+
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7417
|
+
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
7418
|
+
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
7419
|
+
* after verify) and each completed/failed run also lands one durable ops-log
|
|
7420
|
+
* row on the owning addon's surface.
|
|
7421
|
+
*/
|
|
7422
|
+
var RelocateJobStateSchema = _enum([
|
|
7423
|
+
"running",
|
|
7424
|
+
"done",
|
|
7425
|
+
"failed",
|
|
7426
|
+
"cancelled"
|
|
7427
|
+
]);
|
|
7428
|
+
var RelocateJobSchema = object({
|
|
7429
|
+
jobId: string(),
|
|
7430
|
+
state: RelocateJobStateSchema,
|
|
7431
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
7432
|
+
* move from wherever they are to the target). */
|
|
7433
|
+
fromLocationId: string(),
|
|
7434
|
+
toLocationId: string(),
|
|
7435
|
+
/** Scoped device, or null = every device. */
|
|
7436
|
+
deviceId: number().nullable(),
|
|
7437
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
7438
|
+
entities: array(string()),
|
|
7439
|
+
filesMoved: number().int(),
|
|
7440
|
+
bytesMoved: number().int(),
|
|
7441
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
7442
|
+
filesTotal: number().int().nullable(),
|
|
7443
|
+
startedAt: number(),
|
|
7444
|
+
finishedAt: number().nullable(),
|
|
7445
|
+
error: string().nullable()
|
|
7446
|
+
});
|
|
7447
|
+
var RelocateFootageInputSchema = object({
|
|
7448
|
+
deviceId: number().optional(),
|
|
7449
|
+
fromLocationId: string(),
|
|
7450
|
+
toLocationId: string(),
|
|
7451
|
+
entities: array(_enum(["segments", "strips"])).optional(),
|
|
7452
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7453
|
+
* never allowed to starve live writers. */
|
|
7454
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7455
|
+
});
|
|
7456
|
+
var RelocateMediaInputSchema = object({
|
|
7457
|
+
deviceId: number().optional(),
|
|
7458
|
+
toLocationId: string(),
|
|
7459
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7460
|
+
});
|
|
7461
|
+
/**
|
|
7429
7462
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7430
7463
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7431
7464
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -7475,6 +7508,13 @@ var StorageLocationSchema = object({
|
|
|
7475
7508
|
nodeId: string().optional(),
|
|
7476
7509
|
isDefault: boolean().default(false),
|
|
7477
7510
|
isSystem: boolean().default(false),
|
|
7511
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
7512
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
7513
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
7514
|
+
capacity: object({
|
|
7515
|
+
totalBytes: number(),
|
|
7516
|
+
availableBytes: number()
|
|
7517
|
+
}).nullable().optional(),
|
|
7478
7518
|
createdAt: number(),
|
|
7479
7519
|
updatedAt: number()
|
|
7480
7520
|
});
|
|
@@ -8242,7 +8282,8 @@ var NcTaxonomyEntrySchema = object({
|
|
|
8242
8282
|
/** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
|
|
8243
8283
|
parentKind: string().nullable()
|
|
8244
8284
|
});
|
|
8245
|
-
|
|
8285
|
+
/** The complete NC picker taxonomy — three grouped buckets. */
|
|
8286
|
+
var NcTaxonomySchema = object({
|
|
8246
8287
|
videoClasses: array(NcTaxonomyEntrySchema),
|
|
8247
8288
|
audioKinds: array(NcTaxonomyEntrySchema),
|
|
8248
8289
|
labels: array(NcTaxonomyEntrySchema)
|
|
@@ -9145,6 +9186,7 @@ function shallowEqual(a, b) {
|
|
|
9145
9186
|
for (const k of ak) if (a[k] !== b[k]) return false;
|
|
9146
9187
|
return true;
|
|
9147
9188
|
}
|
|
9189
|
+
new Set(["devices", "classes"]);
|
|
9148
9190
|
/**
|
|
9149
9191
|
* Shared geometry vocabulary for on-frame shape caps — privacy-mask,
|
|
9150
9192
|
* motion-zones, and the detection zones/lines editor all speak this one
|
|
@@ -9303,6 +9345,29 @@ var NcOccupancyConditionSchema = object({
|
|
|
9303
9345
|
count: number().int().min(0).default(1),
|
|
9304
9346
|
sustainSeconds: number().int().min(0).max(3600).default(15)
|
|
9305
9347
|
});
|
|
9348
|
+
/**
|
|
9349
|
+
* Which zone-crossing DIRECTION a rule accepts (`ObjectEvent.zoneCrossing`).
|
|
9350
|
+
*
|
|
9351
|
+
* The values are not symmetric, and deliberately so — the absent value has to
|
|
9352
|
+
* mean exactly what every rule authored before this condition existed already
|
|
9353
|
+
* does:
|
|
9354
|
+
* - `enter` — entries and every NON-crossing record (movement state,
|
|
9355
|
+
* package, sensor). Exits are rejected. **This is the absent behaviour**:
|
|
9356
|
+
* an operator who never asked for exits must not start receiving them.
|
|
9357
|
+
* - `exit` — ONLY an exit crossing. A record that is not a crossing at all
|
|
9358
|
+
* fails closed, because "the car left the drive" is a question about a
|
|
9359
|
+
* boundary, not about a detection.
|
|
9360
|
+
* - `any` — no direction filter; entries, exits and non-crossings alike.
|
|
9361
|
+
*
|
|
9362
|
+
* A rule asking for a direction should normally also scope `zones`, which the
|
|
9363
|
+
* engine evaluates against the crossed zone as well as the current membership
|
|
9364
|
+
* (an exit's membership no longer contains the zone it just left).
|
|
9365
|
+
*/
|
|
9366
|
+
var NcCrossingSchema = _enum([
|
|
9367
|
+
"enter",
|
|
9368
|
+
"exit",
|
|
9369
|
+
"any"
|
|
9370
|
+
]);
|
|
9306
9371
|
/** Admin-zone membership condition (zone IDs as stamped by the ZoneEngine). */
|
|
9307
9372
|
var NcZoneConditionSchema = object({
|
|
9308
9373
|
ids: array(string().min(1)).min(1),
|
|
@@ -9327,6 +9392,13 @@ var NcConditionsSchema = object({
|
|
|
9327
9392
|
/** Veto zones — any hit fails the rule. */
|
|
9328
9393
|
zonesExclude: array(string().min(1)).optional(),
|
|
9329
9394
|
/**
|
|
9395
|
+
* Zone-crossing direction. IMMEDIATE only — a crossing is a per-event fact
|
|
9396
|
+
* and a closed track carries none, so a `track-end` rule asking for one
|
|
9397
|
+
* fails closed (use `zones`, which tests `zonesVisited`). ABSENT = `enter`,
|
|
9398
|
+
* which is exactly today's behaviour. See {@link NcCrossingSchema}.
|
|
9399
|
+
*/
|
|
9400
|
+
crossing: NcCrossingSchema.optional(),
|
|
9401
|
+
/**
|
|
9330
9402
|
* Exact (case-insensitive) match on the record's collapsed `label`
|
|
9331
9403
|
* (identity name / plate text / subclass).
|
|
9332
9404
|
*/
|
|
@@ -9461,17 +9533,85 @@ var NcRuleTargetSchema = object({
|
|
|
9461
9533
|
* - `keyFrame` — the clean scene frame (no subject box).
|
|
9462
9534
|
* - `none` — no attachment.
|
|
9463
9535
|
*/
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9536
|
+
/**
|
|
9537
|
+
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
9538
|
+
* conflate it with the selection strategy and betray the request: asking for
|
|
9539
|
+
* the clean scene frame on an object-event owner used to start at
|
|
9540
|
+
* `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
|
|
9541
|
+
* - `cropped` — the subject, tight. What "who is at the door" wants.
|
|
9542
|
+
* - `full` — the clean scene, no annotation. What "what is going on" wants.
|
|
9543
|
+
* - `boxed` — the scene WITH the detection boxes drawn, for verifying what
|
|
9544
|
+
* the pipeline actually saw.
|
|
9545
|
+
*/
|
|
9546
|
+
var NcMediaFrameSchema = _enum([
|
|
9547
|
+
"cropped",
|
|
9548
|
+
"full",
|
|
9549
|
+
"boxed"
|
|
9550
|
+
]);
|
|
9551
|
+
var NcMediaPolicySchema = object({
|
|
9552
|
+
attach: _enum([
|
|
9553
|
+
"best",
|
|
9554
|
+
"best-matching",
|
|
9555
|
+
"keyFrame",
|
|
9556
|
+
"none"
|
|
9557
|
+
]).default("best"),
|
|
9558
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
9559
|
+
frame: NcMediaFrameSchema.optional(),
|
|
9560
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
9561
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
9562
|
+
zoneCrop: boolean().optional(),
|
|
9563
|
+
/**
|
|
9564
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
9565
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
9566
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
9567
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
9568
|
+
* gif, never a failed notification.
|
|
9569
|
+
*/
|
|
9570
|
+
gif: boolean().optional(),
|
|
9571
|
+
/**
|
|
9572
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
9573
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
9574
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
9575
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
9576
|
+
*/
|
|
9577
|
+
clip: boolean().optional(),
|
|
9578
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
9579
|
+
clipPreRollSec: number().int().min(0).max(30).optional(),
|
|
9580
|
+
clipPostRollSec: number().int().min(0).max(30).optional(),
|
|
9581
|
+
/**
|
|
9582
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
9583
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
9584
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
9585
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
9586
|
+
* reports which one actually ran.
|
|
9587
|
+
*/
|
|
9588
|
+
profile: CamProfileSchema.optional()
|
|
9589
|
+
});
|
|
9590
|
+
/**
|
|
9591
|
+
* Cooldown GRANULARITY over the subject's class — how much a fired
|
|
9592
|
+
* notification suppresses.
|
|
9593
|
+
* - `shared` (default, and the absent value) — one window for the whole
|
|
9594
|
+
* rule/scope: a cat silences the next dog for `cooldownSec`.
|
|
9595
|
+
* - `per-class` — an independent window per detected class, so cat→dog fires
|
|
9596
|
+
* at once and cat→cat still waits.
|
|
9597
|
+
*
|
|
9598
|
+
* AUDIO subjects are ALWAYS per-class regardless of this setting: a scream
|
|
9599
|
+
* must not be swallowed by a bark's window (the precedent this generalizes —
|
|
9600
|
+
* see `cooldownKey` in the rule engine).
|
|
9601
|
+
*/
|
|
9602
|
+
var NcThrottleGranularitySchema = _enum(["shared", "per-class"]);
|
|
9470
9603
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
9471
9604
|
var NcThrottleSchema = object({
|
|
9472
9605
|
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
9473
9606
|
/** `rule` = one shared cooldown; `rule-device` = per-camera cooldown. */
|
|
9474
|
-
scope: _enum(["rule", "rule-device"]).default("rule-device")
|
|
9607
|
+
scope: _enum(["rule", "rule-device"]).default("rule-device"),
|
|
9608
|
+
/**
|
|
9609
|
+
* Class granularity of the cooldown key. Optional rather than defaulted:
|
|
9610
|
+
* a Zod default does NOT run on the addon→addon cap path, so a persisted
|
|
9611
|
+
* rule authored before this field simply carries none — and the engine
|
|
9612
|
+
* reads absent as `shared`, the pre-existing behaviour.
|
|
9613
|
+
*/
|
|
9614
|
+
granularity: NcThrottleGranularitySchema.optional()
|
|
9475
9615
|
});
|
|
9476
9616
|
/** Client-supplied rule fields (server stamps id/createdBy/createdAt/updatedAt). */
|
|
9477
9617
|
var NcRuleInputSchema = object({
|
|
@@ -9480,7 +9620,19 @@ var NcRuleInputSchema = object({
|
|
|
9480
9620
|
delivery: NcDeliverySchema,
|
|
9481
9621
|
conditions: NcConditionsSchema.default({}),
|
|
9482
9622
|
schedule: NcScheduleSchema.optional(),
|
|
9483
|
-
|
|
9623
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
9624
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
9625
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
9626
|
+
targets: array(NcRuleTargetSchema),
|
|
9627
|
+
/**
|
|
9628
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
9629
|
+
* time each user fans out to the personal targets they own
|
|
9630
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
9631
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
9632
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
9633
|
+
* targets.
|
|
9634
|
+
*/
|
|
9635
|
+
targetUsers: array(string()).optional(),
|
|
9484
9636
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
9485
9637
|
throttle: NcThrottleSchema.default({
|
|
9486
9638
|
cooldownSec: 60,
|
|
@@ -9567,6 +9719,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
9567
9719
|
"schedule",
|
|
9568
9720
|
"plateMatcher",
|
|
9569
9721
|
"packagePhase",
|
|
9722
|
+
"crossingSelect",
|
|
9570
9723
|
"polygonDraw",
|
|
9571
9724
|
"occupancy"
|
|
9572
9725
|
]),
|
|
@@ -9693,7 +9846,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
9693
9846
|
}), object({ results: array(NcTestResultSchema) }), {
|
|
9694
9847
|
kind: "mutation",
|
|
9695
9848
|
auth: "admin"
|
|
9696
|
-
}), method(object({}), object({
|
|
9849
|
+
}), method(object({}), object({
|
|
9850
|
+
catalog: array(NcConditionDescriptorSchema),
|
|
9851
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
9852
|
+
})), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
|
|
9697
9853
|
/**
|
|
9698
9854
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
9699
9855
|
*
|
|
@@ -10702,6 +10858,28 @@ method(object({
|
|
|
10702
10858
|
}), object({ success: literal(true) }), {
|
|
10703
10859
|
kind: "mutation",
|
|
10704
10860
|
auth: "admin"
|
|
10861
|
+
}), method(object({
|
|
10862
|
+
deviceId: number(),
|
|
10863
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
10864
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
10865
|
+
profile: CamProfileSchema.optional(),
|
|
10866
|
+
aroundMs: number(),
|
|
10867
|
+
preRollSec: number().min(0).max(20).default(3),
|
|
10868
|
+
postRollSec: number().min(0).max(20).default(5),
|
|
10869
|
+
format: _enum(["gif", "mp4"]).default("gif"),
|
|
10870
|
+
maxWidth: number().int().min(120).max(1920).default(480),
|
|
10871
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
10872
|
+
fps: number().int().min(1).max(15).default(5)
|
|
10873
|
+
}), object({
|
|
10874
|
+
base64: string(),
|
|
10875
|
+
mime: string(),
|
|
10876
|
+
bytes: number().int(),
|
|
10877
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
10878
|
+
profile: CamProfileSchema,
|
|
10879
|
+
durationMs: number()
|
|
10880
|
+
}), {
|
|
10881
|
+
kind: "mutation",
|
|
10882
|
+
auth: "admin"
|
|
10705
10883
|
}), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
|
|
10706
10884
|
probed: boolean(),
|
|
10707
10885
|
summary: string()
|
|
@@ -13832,6 +14010,18 @@ var motionCapability = {
|
|
|
13832
14010
|
name: "motion",
|
|
13833
14011
|
scope: "device",
|
|
13834
14012
|
mode: "singleton",
|
|
14013
|
+
/**
|
|
14014
|
+
* Providers register per-device natives via `ctx.registerNativeCap`
|
|
14015
|
+
* (Hikvision/Reolink/Amcrest/Wyze/HA/Homematic/Alexa/Matter) — there is
|
|
14016
|
+
* NO system singleton provider. Without this flag `resolveCapMount`
|
|
14017
|
+
* derived `{ kind: 'singleton' }`, so `motion.getStatus`/`isDetected`
|
|
14018
|
+
* resolved via `registry.getSingleton('motion')` (always null) and every
|
|
14019
|
+
* call 412'd "provider not available" while bindings listed a live
|
|
14020
|
+
* `motion` native (2026-08-02). The flag routes the router through
|
|
14021
|
+
* `requireDeviceScoped` → `getProviderForDevice`, like `motion-trigger`,
|
|
14022
|
+
* `snapshot` and every other per-device native cap.
|
|
14023
|
+
*/
|
|
14024
|
+
deviceNative: true,
|
|
13835
14025
|
deviceTypes: [DeviceType.Camera, DeviceType.Sensor],
|
|
13836
14026
|
methods: {
|
|
13837
14027
|
/**
|
|
@@ -18781,7 +18971,10 @@ method(object({
|
|
|
18781
18971
|
}), method(object({
|
|
18782
18972
|
deviceId: number(),
|
|
18783
18973
|
caps: array(string()).readonly().optional()
|
|
18784
|
-
}), record(string(), unknown().nullable()))
|
|
18974
|
+
}), record(string(), unknown().nullable())), method(object({
|
|
18975
|
+
deviceIds: array(number()).readonly(),
|
|
18976
|
+
caps: array(string()).readonly().optional()
|
|
18977
|
+
}), record(string(), record(string(), unknown().nullable())));
|
|
18785
18978
|
method(object({ deviceId: number() }), record(string(), record(string(), unknown()))), method(object({
|
|
18786
18979
|
deviceId: number(),
|
|
18787
18980
|
capName: string()
|
|
@@ -19712,6 +19905,36 @@ var TargetKindSchema = object({
|
|
|
19712
19905
|
icon: string(),
|
|
19713
19906
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
19714
19907
|
addonId: string(),
|
|
19908
|
+
/**
|
|
19909
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
19910
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
19911
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
19912
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
19913
|
+
*
|
|
19914
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
19915
|
+
* client, and a native client joins it onto its own hub base.
|
|
19916
|
+
*
|
|
19917
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
19918
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
19919
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
19920
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
19921
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
19922
|
+
*/
|
|
19923
|
+
iconUrl: string().optional(),
|
|
19924
|
+
/**
|
|
19925
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
19926
|
+
*
|
|
19927
|
+
* The server knows this and therefore says it, because the client cannot
|
|
19928
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
19929
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
19930
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
19931
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
19932
|
+
*
|
|
19933
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
19934
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
19935
|
+
* its raster path, which is the safe default for an unknown image.
|
|
19936
|
+
*/
|
|
19937
|
+
iconMediaType: string().optional(),
|
|
19715
19938
|
configSchema: ConfigSchemaPassthrough,
|
|
19716
19939
|
supportsDiscovery: boolean(),
|
|
19717
19940
|
caps: TargetKindCapsSchema
|
|
@@ -20159,6 +20382,29 @@ var MotionEventSchema = object({
|
|
|
20159
20382
|
* Absent on legacy rows ⇒ treat as `pipeline`.
|
|
20160
20383
|
*/
|
|
20161
20384
|
var DetectionSourceSchema = _enum(["pipeline", "onboard"]);
|
|
20385
|
+
/**
|
|
20386
|
+
* The confirmed zone crossing that produced an object event. Present ONLY on
|
|
20387
|
+
* an event emitted BY a crossing (`zone.enter` / `zone.exit`); a movement-state
|
|
20388
|
+
* event (`object.entering` / `leaving` / `stationary` / `loitering`) and an
|
|
20389
|
+
* appearance event carry none, so a rule asking for a direction fails closed
|
|
20390
|
+
* on them.
|
|
20391
|
+
*
|
|
20392
|
+
* Exactly ONE crossing per event: the emitter turns each confirmed crossing
|
|
20393
|
+
* into its own event, so a frame in which a track enters A while leaving B
|
|
20394
|
+
* produces two events with two directions — never one ambiguous row.
|
|
20395
|
+
*
|
|
20396
|
+
* `zoneId` is load-bearing for an EXIT: the event's `zones` list is the
|
|
20397
|
+
* membership the box has NOW, and by definition it no longer contains the zone
|
|
20398
|
+
* that was just left. Without the id here, a zone-scoped rule could never match
|
|
20399
|
+
* the exit it asked for.
|
|
20400
|
+
*/
|
|
20401
|
+
var ZoneCrossingSchema = object({
|
|
20402
|
+
direction: _enum(["enter", "exit"]),
|
|
20403
|
+
/** Admin zone id crossed. */
|
|
20404
|
+
zoneId: string(),
|
|
20405
|
+
/** Zone display name at crossing time (falls back to the id). */
|
|
20406
|
+
zoneName: string().optional()
|
|
20407
|
+
});
|
|
20162
20408
|
var ObjectEventSchema = object({
|
|
20163
20409
|
...BaseEventFields,
|
|
20164
20410
|
kind: literal("object"),
|
|
@@ -20185,6 +20431,12 @@ var ObjectEventSchema = object({
|
|
|
20185
20431
|
zones: array(string()).readonly().optional(),
|
|
20186
20432
|
/** Omitted in slim projection. */
|
|
20187
20433
|
state: TrackStateSchema.optional(),
|
|
20434
|
+
/**
|
|
20435
|
+
* The zone crossing this event IS, when it is one. Absent on every other
|
|
20436
|
+
* event kind (movement state, appearance, package) — see
|
|
20437
|
+
* {@link ZoneCrossingSchema}. Omitted in slim projection.
|
|
20438
|
+
*/
|
|
20439
|
+
zoneCrossing: ZoneCrossingSchema.optional(),
|
|
20188
20440
|
/** Detection-frame dimensions in pixels — let consumers normalize the
|
|
20189
20441
|
* pixel-space `bbox` onto a displayed image. Omitted in slim projection. */
|
|
20190
20442
|
frameWidth: number().optional(),
|
|
@@ -20443,6 +20695,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20443
20695
|
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
20444
20696
|
kind: "mutation",
|
|
20445
20697
|
auth: "admin"
|
|
20698
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
20699
|
+
kind: "mutation",
|
|
20700
|
+
auth: "admin"
|
|
20701
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
20702
|
+
kind: "query",
|
|
20703
|
+
auth: "admin"
|
|
20704
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
20705
|
+
kind: "mutation",
|
|
20706
|
+
auth: "admin"
|
|
20446
20707
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20447
20708
|
kind: "query",
|
|
20448
20709
|
auth: "admin"
|
|
@@ -22922,6 +23183,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
22922
23183
|
*/
|
|
22923
23184
|
priority: number()
|
|
22924
23185
|
})).readonly() });
|
|
23186
|
+
/**
|
|
23187
|
+
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
23188
|
+
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
23189
|
+
* what AUTO currently picks, so the UI can show the effective value either way.
|
|
23190
|
+
*/
|
|
23191
|
+
var NotificationEndpointSchema = object({
|
|
23192
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
23193
|
+
baseUrl: string().nullable(),
|
|
23194
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
23195
|
+
resolved: string().nullable()
|
|
23196
|
+
});
|
|
22925
23197
|
var AllowedAddressesSchema = object({
|
|
22926
23198
|
/**
|
|
22927
23199
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -22944,7 +23216,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
22944
23216
|
* to avoid mixed-content blocks in the browser. The public
|
|
22945
23217
|
* tunnel always emits `https://` regardless. */
|
|
22946
23218
|
scheme: _enum(["http", "https"]).optional()
|
|
22947
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
23219
|
+
}), 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" });
|
|
22948
23220
|
/**
|
|
22949
23221
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
22950
23222
|
*
|
|
@@ -23743,7 +24015,12 @@ var RecordingDeviceUsageSchema = object({
|
|
|
23743
24015
|
var RecordingLocationUsageSchema = object({
|
|
23744
24016
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
23745
24017
|
locationId: string().nullable(),
|
|
23746
|
-
/**
|
|
24018
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
24019
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
24020
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
24021
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24022
|
+
locationIds: array(string()).optional(),
|
|
24023
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
23747
24024
|
usedBytes: number(),
|
|
23748
24025
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
23749
24026
|
availableBytes: number().nullable(),
|
|
@@ -23855,6 +24132,44 @@ method(object({
|
|
|
23855
24132
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
23856
24133
|
kind: "query",
|
|
23857
24134
|
auth: "admin"
|
|
24135
|
+
}), method(object({
|
|
24136
|
+
deviceId: number(),
|
|
24137
|
+
aroundMs: number(),
|
|
24138
|
+
preRollSec: number().min(0).max(30).default(2),
|
|
24139
|
+
postRollSec: number().min(0).max(30).default(5),
|
|
24140
|
+
maxWidth: number().int().min(120).max(1280).default(480),
|
|
24141
|
+
fps: number().int().min(1).max(15).default(5)
|
|
24142
|
+
}), object({
|
|
24143
|
+
gifBase64: string(),
|
|
24144
|
+
fromMs: number(),
|
|
24145
|
+
toMs: number()
|
|
24146
|
+
}), {
|
|
24147
|
+
kind: "mutation",
|
|
24148
|
+
auth: "admin"
|
|
24149
|
+
}), method(object({
|
|
24150
|
+
deviceId: number(),
|
|
24151
|
+
aroundMs: number(),
|
|
24152
|
+
preRollSec: number().min(0).max(30).default(3),
|
|
24153
|
+
postRollSec: number().min(0).max(30).default(7),
|
|
24154
|
+
maxWidth: number().int().min(160).max(1920).default(640)
|
|
24155
|
+
}), object({
|
|
24156
|
+
clipBase64: string(),
|
|
24157
|
+
mime: string(),
|
|
24158
|
+
fromMs: number(),
|
|
24159
|
+
toMs: number(),
|
|
24160
|
+
bytes: number().int()
|
|
24161
|
+
}), {
|
|
24162
|
+
kind: "mutation",
|
|
24163
|
+
auth: "admin"
|
|
24164
|
+
}), method(RelocateFootageInputSchema, object({ jobId: string() }), {
|
|
24165
|
+
kind: "mutation",
|
|
24166
|
+
auth: "admin"
|
|
24167
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
24168
|
+
kind: "query",
|
|
24169
|
+
auth: "admin"
|
|
24170
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
24171
|
+
kind: "mutation",
|
|
24172
|
+
auth: "admin"
|
|
23858
24173
|
});
|
|
23859
24174
|
/**
|
|
23860
24175
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -25446,6 +25761,12 @@ Object.freeze({
|
|
|
25446
25761
|
addonId: null,
|
|
25447
25762
|
access: "view"
|
|
25448
25763
|
},
|
|
25764
|
+
"deviceManager.getDeviceStatusAggregateBatch": {
|
|
25765
|
+
capName: "device-manager",
|
|
25766
|
+
capScope: "system",
|
|
25767
|
+
addonId: null,
|
|
25768
|
+
access: "view"
|
|
25769
|
+
},
|
|
25449
25770
|
"deviceManager.getLinkedDevices": {
|
|
25450
25771
|
capName: "device-manager",
|
|
25451
25772
|
capScope: "system",
|
|
@@ -26340,6 +26661,12 @@ Object.freeze({
|
|
|
26340
26661
|
addonId: null,
|
|
26341
26662
|
access: "view"
|
|
26342
26663
|
},
|
|
26664
|
+
"localNetwork.getNotificationEndpoint": {
|
|
26665
|
+
capName: "local-network",
|
|
26666
|
+
capScope: "system",
|
|
26667
|
+
addonId: null,
|
|
26668
|
+
access: "view"
|
|
26669
|
+
},
|
|
26343
26670
|
"localNetwork.getPreferred": {
|
|
26344
26671
|
capName: "local-network",
|
|
26345
26672
|
capScope: "system",
|
|
@@ -26364,6 +26691,12 @@ Object.freeze({
|
|
|
26364
26691
|
addonId: null,
|
|
26365
26692
|
access: "create"
|
|
26366
26693
|
},
|
|
26694
|
+
"localNetwork.setNotificationEndpoint": {
|
|
26695
|
+
capName: "local-network",
|
|
26696
|
+
capScope: "system",
|
|
26697
|
+
addonId: null,
|
|
26698
|
+
access: "create"
|
|
26699
|
+
},
|
|
26367
26700
|
"lockControl.lock": {
|
|
26368
26701
|
capName: "lock-control",
|
|
26369
26702
|
capScope: "device",
|
|
@@ -27006,6 +27339,12 @@ Object.freeze({
|
|
|
27006
27339
|
addonId: null,
|
|
27007
27340
|
access: "create"
|
|
27008
27341
|
},
|
|
27342
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
27343
|
+
capName: "pipeline-analytics",
|
|
27344
|
+
capScope: "device",
|
|
27345
|
+
addonId: null,
|
|
27346
|
+
access: "create"
|
|
27347
|
+
},
|
|
27009
27348
|
"pipelineAnalytics.clearTracks": {
|
|
27010
27349
|
capName: "pipeline-analytics",
|
|
27011
27350
|
capScope: "device",
|
|
@@ -27060,6 +27399,12 @@ Object.freeze({
|
|
|
27060
27399
|
addonId: null,
|
|
27061
27400
|
access: "view"
|
|
27062
27401
|
},
|
|
27402
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
27403
|
+
capName: "pipeline-analytics",
|
|
27404
|
+
capScope: "device",
|
|
27405
|
+
addonId: null,
|
|
27406
|
+
access: "view"
|
|
27407
|
+
},
|
|
27063
27408
|
"pipelineAnalytics.getMotionEvents": {
|
|
27064
27409
|
capName: "pipeline-analytics",
|
|
27065
27410
|
capScope: "device",
|
|
@@ -27132,6 +27477,12 @@ Object.freeze({
|
|
|
27132
27477
|
addonId: null,
|
|
27133
27478
|
access: "create"
|
|
27134
27479
|
},
|
|
27480
|
+
"pipelineAnalytics.relocateMedia": {
|
|
27481
|
+
capName: "pipeline-analytics",
|
|
27482
|
+
capScope: "device",
|
|
27483
|
+
addonId: null,
|
|
27484
|
+
access: "create"
|
|
27485
|
+
},
|
|
27135
27486
|
"pipelineAnalytics.searchObjectEvents": {
|
|
27136
27487
|
capName: "pipeline-analytics",
|
|
27137
27488
|
capScope: "device",
|
|
@@ -27894,6 +28245,12 @@ Object.freeze({
|
|
|
27894
28245
|
addonId: null,
|
|
27895
28246
|
access: "create"
|
|
27896
28247
|
},
|
|
28248
|
+
"recording.cancelRelocate": {
|
|
28249
|
+
capName: "recording",
|
|
28250
|
+
capScope: "system",
|
|
28251
|
+
addonId: null,
|
|
28252
|
+
access: "create"
|
|
28253
|
+
},
|
|
27897
28254
|
"recording.deleteFootprint": {
|
|
27898
28255
|
capName: "recording",
|
|
27899
28256
|
capScope: "system",
|
|
@@ -27924,6 +28281,12 @@ Object.freeze({
|
|
|
27924
28281
|
addonId: null,
|
|
27925
28282
|
access: "view"
|
|
27926
28283
|
},
|
|
28284
|
+
"recording.getRelocateStatus": {
|
|
28285
|
+
capName: "recording",
|
|
28286
|
+
capScope: "system",
|
|
28287
|
+
addonId: null,
|
|
28288
|
+
access: "view"
|
|
28289
|
+
},
|
|
27927
28290
|
"recording.getStorageUsage": {
|
|
27928
28291
|
capName: "recording",
|
|
27929
28292
|
capScope: "system",
|
|
@@ -27954,6 +28317,24 @@ Object.freeze({
|
|
|
27954
28317
|
addonId: null,
|
|
27955
28318
|
access: "view"
|
|
27956
28319
|
},
|
|
28320
|
+
"recording.relocateFootage": {
|
|
28321
|
+
capName: "recording",
|
|
28322
|
+
capScope: "system",
|
|
28323
|
+
addonId: null,
|
|
28324
|
+
access: "create"
|
|
28325
|
+
},
|
|
28326
|
+
"recording.renderClip": {
|
|
28327
|
+
capName: "recording",
|
|
28328
|
+
capScope: "system",
|
|
28329
|
+
addonId: null,
|
|
28330
|
+
access: "create"
|
|
28331
|
+
},
|
|
28332
|
+
"recording.renderGif": {
|
|
28333
|
+
capName: "recording",
|
|
28334
|
+
capScope: "system",
|
|
28335
|
+
addonId: null,
|
|
28336
|
+
access: "create"
|
|
28337
|
+
},
|
|
27957
28338
|
"recording.rescanStorage": {
|
|
27958
28339
|
capName: "recording",
|
|
27959
28340
|
capScope: "system",
|
|
@@ -28548,6 +28929,12 @@ Object.freeze({
|
|
|
28548
28929
|
addonId: null,
|
|
28549
28930
|
access: "create"
|
|
28550
28931
|
},
|
|
28932
|
+
"streamBroker.renderPreBufferClip": {
|
|
28933
|
+
capName: "stream-broker",
|
|
28934
|
+
capScope: "system",
|
|
28935
|
+
addonId: null,
|
|
28936
|
+
access: "create"
|
|
28937
|
+
},
|
|
28551
28938
|
"streamBroker.restartProfile": {
|
|
28552
28939
|
capName: "stream-broker",
|
|
28553
28940
|
capScope: "system",
|