@camstack/addon-provider-hikvision 1.2.7 → 1.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 +346 -73
- package/dist/addon.mjs +346 -73
- package/package.json +3 -2
package/dist/addon.js
CHANGED
|
@@ -7369,35 +7369,22 @@ function findTimezone(id) {
|
|
|
7369
7369
|
*/
|
|
7370
7370
|
var RecordingWeekdaySchema = number().int().min(0).max(6);
|
|
7371
7371
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
7372
|
-
var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
|
|
7373
|
-
kind: literal("timeOfDay"),
|
|
7374
|
-
start: string().regex(HHMM),
|
|
7375
|
-
end: string().regex(HHMM),
|
|
7376
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
7377
|
-
days: array(RecordingWeekdaySchema).optional()
|
|
7378
|
-
})]);
|
|
7379
|
-
var RecordingModeSchema = _enum([
|
|
7380
|
-
"continuous",
|
|
7381
|
-
"onMotion",
|
|
7382
|
-
"onAudioThreshold"
|
|
7383
|
-
]);
|
|
7384
7372
|
/**
|
|
7385
|
-
*
|
|
7386
|
-
*
|
|
7387
|
-
* - `off` —
|
|
7388
|
-
* - `events` —
|
|
7389
|
-
*
|
|
7390
|
-
* - `continuous` — record 24/7 within the schedule.
|
|
7373
|
+
* DERIVED per-camera storage summary — the single field cheap consumers read
|
|
7374
|
+
* (the viewer's status dot, the camera list) instead of walking `bands`:
|
|
7375
|
+
* - `off` — no band covers the camera (or it is disabled).
|
|
7376
|
+
* - `events` — every band records around triggers only.
|
|
7377
|
+
* - `continuous` — at least one band records continuously.
|
|
7391
7378
|
*
|
|
7392
|
-
*
|
|
7393
|
-
*
|
|
7379
|
+
* NEVER authored: the recorder stamps it from the authoritative `bands` on
|
|
7380
|
+
* every save (`activeModeForConfig`). Writing it has no effect.
|
|
7394
7381
|
*/
|
|
7395
7382
|
var RecordingStorageModeSchema = _enum([
|
|
7396
7383
|
"off",
|
|
7397
7384
|
"events",
|
|
7398
7385
|
"continuous"
|
|
7399
7386
|
]);
|
|
7400
|
-
/** Which detectors trigger an `events`-mode
|
|
7387
|
+
/** Which detectors trigger an `events`-mode band. */
|
|
7401
7388
|
var RecordingTriggersSchema = object({
|
|
7402
7389
|
motion: boolean().optional(),
|
|
7403
7390
|
audioThresholdDbfs: number().optional()
|
|
@@ -7433,18 +7420,6 @@ var RecordingBandSchema = object({
|
|
|
7433
7420
|
preBufferSec: number().min(0).optional(),
|
|
7434
7421
|
postBufferSec: number().min(0).optional()
|
|
7435
7422
|
});
|
|
7436
|
-
var RecordingRuleSchema = object({
|
|
7437
|
-
schedule: RecordingScheduleSchema,
|
|
7438
|
-
mode: RecordingModeSchema,
|
|
7439
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
7440
|
-
preBufferSec: number().min(0).default(0),
|
|
7441
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
7442
|
-
postBufferSec: number().min(0).default(0),
|
|
7443
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
7444
|
-
resetTimeoutOnNewEvent: boolean().default(true),
|
|
7445
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
7446
|
-
thresholdDbfs: number().optional()
|
|
7447
|
-
});
|
|
7448
7423
|
/**
|
|
7449
7424
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7450
7425
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7478,40 +7453,28 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7478
7453
|
/**
|
|
7479
7454
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7480
7455
|
*
|
|
7481
|
-
* `
|
|
7482
|
-
*
|
|
7483
|
-
*
|
|
7484
|
-
*
|
|
7456
|
+
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
7457
|
+
* which trigger. `mode` is a derived summary the recorder stamps on save; every
|
|
7458
|
+
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7459
|
+
*
|
|
7460
|
+
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7461
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
|
|
7462
|
+
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7463
|
+
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7485
7464
|
*/
|
|
7486
7465
|
var RecordingConfigSchema = object({
|
|
7487
7466
|
enabled: boolean(),
|
|
7488
|
-
/**
|
|
7489
|
-
*
|
|
7467
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7468
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7490
7469
|
mode: RecordingStorageModeSchema.optional(),
|
|
7491
7470
|
profiles: array(CamProfileSchema).optional(),
|
|
7492
7471
|
segmentSeconds: number().int().positive().optional(),
|
|
7493
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
7494
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
7495
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
7496
|
-
schedules: array(RecordingScheduleSchema).optional(),
|
|
7497
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
7498
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
7499
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
7500
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
7501
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
7502
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
7503
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
7504
|
-
preBufferSec: number().min(0).optional(),
|
|
7505
|
-
postBufferSec: number().min(0).optional(),
|
|
7506
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
7507
|
-
rules: array(RecordingRuleSchema).optional(),
|
|
7508
7472
|
/**
|
|
7509
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
7510
|
-
*
|
|
7511
|
-
*
|
|
7512
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
7473
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
7474
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
7475
|
+
* "off" is the absence of a covering band, never a band value.
|
|
7513
7476
|
*/
|
|
7514
|
-
bands: array(RecordingBandSchema).
|
|
7477
|
+
bands: array(RecordingBandSchema).default([]),
|
|
7515
7478
|
retention: RecordingRetentionSchema.optional(),
|
|
7516
7479
|
/**
|
|
7517
7480
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -7519,8 +7482,15 @@ var RecordingConfigSchema = object({
|
|
|
7519
7482
|
* windows only — existing sheets are immutable, and each window's index
|
|
7520
7483
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7521
7484
|
*/
|
|
7522
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7523
|
-
|
|
7485
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
7486
|
+
/**
|
|
7487
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
7488
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
7489
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
7490
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
7491
|
+
*/
|
|
7492
|
+
stripsEnabled: boolean().optional()
|
|
7493
|
+
}).strict();
|
|
7524
7494
|
/**
|
|
7525
7495
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7526
7496
|
* recordings and events management surfaces.
|
|
@@ -7539,7 +7509,8 @@ var OpsLogOpSchema = _enum([
|
|
|
7539
7509
|
"prune",
|
|
7540
7510
|
"manual-delete",
|
|
7541
7511
|
"rescan",
|
|
7542
|
-
"retention-run"
|
|
7512
|
+
"retention-run",
|
|
7513
|
+
"relocate"
|
|
7543
7514
|
]);
|
|
7544
7515
|
/** Why the operation ran. */
|
|
7545
7516
|
var OpsLogReasonSchema = _enum([
|
|
@@ -7578,6 +7549,55 @@ var OpsLogQueryInputSchema = object({
|
|
|
7578
7549
|
limit: number().int().min(1).max(1e3).optional()
|
|
7579
7550
|
});
|
|
7580
7551
|
/**
|
|
7552
|
+
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
7553
|
+
*
|
|
7554
|
+
* One shape shared by the recorder's `relocateFootage` (segments + strips) and
|
|
7555
|
+
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7556
|
+
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
7557
|
+
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
7558
|
+
* after verify) and each completed/failed run also lands one durable ops-log
|
|
7559
|
+
* row on the owning addon's surface.
|
|
7560
|
+
*/
|
|
7561
|
+
var RelocateJobStateSchema = _enum([
|
|
7562
|
+
"running",
|
|
7563
|
+
"done",
|
|
7564
|
+
"failed",
|
|
7565
|
+
"cancelled"
|
|
7566
|
+
]);
|
|
7567
|
+
var RelocateJobSchema = object({
|
|
7568
|
+
jobId: string(),
|
|
7569
|
+
state: RelocateJobStateSchema,
|
|
7570
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
7571
|
+
* move from wherever they are to the target). */
|
|
7572
|
+
fromLocationId: string(),
|
|
7573
|
+
toLocationId: string(),
|
|
7574
|
+
/** Scoped device, or null = every device. */
|
|
7575
|
+
deviceId: number().nullable(),
|
|
7576
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
7577
|
+
entities: array(string()),
|
|
7578
|
+
filesMoved: number().int(),
|
|
7579
|
+
bytesMoved: number().int(),
|
|
7580
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
7581
|
+
filesTotal: number().int().nullable(),
|
|
7582
|
+
startedAt: number(),
|
|
7583
|
+
finishedAt: number().nullable(),
|
|
7584
|
+
error: string().nullable()
|
|
7585
|
+
});
|
|
7586
|
+
var RelocateFootageInputSchema = object({
|
|
7587
|
+
deviceId: number().optional(),
|
|
7588
|
+
fromLocationId: string(),
|
|
7589
|
+
toLocationId: string(),
|
|
7590
|
+
entities: array(_enum(["segments", "strips"])).optional(),
|
|
7591
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7592
|
+
* never allowed to starve live writers. */
|
|
7593
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7594
|
+
});
|
|
7595
|
+
var RelocateMediaInputSchema = object({
|
|
7596
|
+
deviceId: number().optional(),
|
|
7597
|
+
toLocationId: string(),
|
|
7598
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7599
|
+
});
|
|
7600
|
+
/**
|
|
7581
7601
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7582
7602
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7583
7603
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -7627,6 +7647,13 @@ var StorageLocationSchema = object({
|
|
|
7627
7647
|
nodeId: string().optional(),
|
|
7628
7648
|
isDefault: boolean().default(false),
|
|
7629
7649
|
isSystem: boolean().default(false),
|
|
7650
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
7651
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
7652
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
7653
|
+
capacity: object({
|
|
7654
|
+
totalBytes: number(),
|
|
7655
|
+
availableBytes: number()
|
|
7656
|
+
}).nullable().optional(),
|
|
7630
7657
|
createdAt: number(),
|
|
7631
7658
|
updatedAt: number()
|
|
7632
7659
|
});
|
|
@@ -8394,7 +8421,8 @@ var NcTaxonomyEntrySchema = object({
|
|
|
8394
8421
|
/** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
|
|
8395
8422
|
parentKind: string().nullable()
|
|
8396
8423
|
});
|
|
8397
|
-
|
|
8424
|
+
/** The complete NC picker taxonomy — three grouped buckets. */
|
|
8425
|
+
var NcTaxonomySchema = object({
|
|
8398
8426
|
videoClasses: array(NcTaxonomyEntrySchema),
|
|
8399
8427
|
audioKinds: array(NcTaxonomyEntrySchema),
|
|
8400
8428
|
labels: array(NcTaxonomyEntrySchema)
|
|
@@ -9402,6 +9430,7 @@ function startReachabilityPoll(options) {
|
|
|
9402
9430
|
timer = void 0;
|
|
9403
9431
|
} };
|
|
9404
9432
|
}
|
|
9433
|
+
new Set(["devices", "classes"]);
|
|
9405
9434
|
/**
|
|
9406
9435
|
* Shared geometry vocabulary for on-frame shape caps — privacy-mask,
|
|
9407
9436
|
* motion-zones, and the detection zones/lines editor all speak this one
|
|
@@ -9718,12 +9747,60 @@ var NcRuleTargetSchema = object({
|
|
|
9718
9747
|
* - `keyFrame` — the clean scene frame (no subject box).
|
|
9719
9748
|
* - `none` — no attachment.
|
|
9720
9749
|
*/
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9750
|
+
/**
|
|
9751
|
+
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
9752
|
+
* conflate it with the selection strategy and betray the request: asking for
|
|
9753
|
+
* the clean scene frame on an object-event owner used to start at
|
|
9754
|
+
* `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
|
|
9755
|
+
* - `cropped` — the subject, tight. What "who is at the door" wants.
|
|
9756
|
+
* - `full` — the clean scene, no annotation. What "what is going on" wants.
|
|
9757
|
+
* - `boxed` — the scene WITH the detection boxes drawn, for verifying what
|
|
9758
|
+
* the pipeline actually saw.
|
|
9759
|
+
*/
|
|
9760
|
+
var NcMediaFrameSchema = _enum([
|
|
9761
|
+
"cropped",
|
|
9762
|
+
"full",
|
|
9763
|
+
"boxed"
|
|
9764
|
+
]);
|
|
9765
|
+
var NcMediaPolicySchema = object({
|
|
9766
|
+
attach: _enum([
|
|
9767
|
+
"best",
|
|
9768
|
+
"best-matching",
|
|
9769
|
+
"keyFrame",
|
|
9770
|
+
"none"
|
|
9771
|
+
]).default("best"),
|
|
9772
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
9773
|
+
frame: NcMediaFrameSchema.optional(),
|
|
9774
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
9775
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
9776
|
+
zoneCrop: boolean().optional(),
|
|
9777
|
+
/**
|
|
9778
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
9779
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
9780
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
9781
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
9782
|
+
* gif, never a failed notification.
|
|
9783
|
+
*/
|
|
9784
|
+
gif: boolean().optional(),
|
|
9785
|
+
/**
|
|
9786
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
9787
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
9788
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
9789
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
9790
|
+
*/
|
|
9791
|
+
clip: boolean().optional(),
|
|
9792
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
9793
|
+
clipPreRollSec: number().int().min(0).max(30).optional(),
|
|
9794
|
+
clipPostRollSec: number().int().min(0).max(30).optional(),
|
|
9795
|
+
/**
|
|
9796
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
9797
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
9798
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
9799
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
9800
|
+
* reports which one actually ran.
|
|
9801
|
+
*/
|
|
9802
|
+
profile: CamProfileSchema.optional()
|
|
9803
|
+
});
|
|
9727
9804
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
9728
9805
|
var NcThrottleSchema = object({
|
|
9729
9806
|
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
@@ -9737,7 +9814,19 @@ var NcRuleInputSchema = object({
|
|
|
9737
9814
|
delivery: NcDeliverySchema,
|
|
9738
9815
|
conditions: NcConditionsSchema.default({}),
|
|
9739
9816
|
schedule: NcScheduleSchema.optional(),
|
|
9740
|
-
|
|
9817
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
9818
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
9819
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
9820
|
+
targets: array(NcRuleTargetSchema),
|
|
9821
|
+
/**
|
|
9822
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
9823
|
+
* time each user fans out to the personal targets they own
|
|
9824
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
9825
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
9826
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
9827
|
+
* targets.
|
|
9828
|
+
*/
|
|
9829
|
+
targetUsers: array(string()).optional(),
|
|
9741
9830
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
9742
9831
|
throttle: NcThrottleSchema.default({
|
|
9743
9832
|
cooldownSec: 60,
|
|
@@ -9950,7 +10039,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
9950
10039
|
}), object({ results: array(NcTestResultSchema) }), {
|
|
9951
10040
|
kind: "mutation",
|
|
9952
10041
|
auth: "admin"
|
|
9953
|
-
}), method(object({}), object({
|
|
10042
|
+
}), method(object({}), object({
|
|
10043
|
+
catalog: array(NcConditionDescriptorSchema),
|
|
10044
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
10045
|
+
})), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
|
|
9954
10046
|
/**
|
|
9955
10047
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
9956
10048
|
*
|
|
@@ -10959,6 +11051,28 @@ method(object({
|
|
|
10959
11051
|
}), object({ success: literal(true) }), {
|
|
10960
11052
|
kind: "mutation",
|
|
10961
11053
|
auth: "admin"
|
|
11054
|
+
}), method(object({
|
|
11055
|
+
deviceId: number(),
|
|
11056
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
11057
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
11058
|
+
profile: CamProfileSchema.optional(),
|
|
11059
|
+
aroundMs: number(),
|
|
11060
|
+
preRollSec: number().min(0).max(20).default(3),
|
|
11061
|
+
postRollSec: number().min(0).max(20).default(5),
|
|
11062
|
+
format: _enum(["gif", "mp4"]).default("gif"),
|
|
11063
|
+
maxWidth: number().int().min(120).max(1920).default(480),
|
|
11064
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
11065
|
+
fps: number().int().min(1).max(15).default(5)
|
|
11066
|
+
}), object({
|
|
11067
|
+
base64: string(),
|
|
11068
|
+
mime: string(),
|
|
11069
|
+
bytes: number().int(),
|
|
11070
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
11071
|
+
profile: CamProfileSchema,
|
|
11072
|
+
durationMs: number()
|
|
11073
|
+
}), {
|
|
11074
|
+
kind: "mutation",
|
|
11075
|
+
auth: "admin"
|
|
10962
11076
|
}), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
|
|
10963
11077
|
probed: boolean(),
|
|
10964
11078
|
summary: string()
|
|
@@ -19964,6 +20078,36 @@ var TargetKindSchema = object({
|
|
|
19964
20078
|
icon: string(),
|
|
19965
20079
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
19966
20080
|
addonId: string(),
|
|
20081
|
+
/**
|
|
20082
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
20083
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
20084
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
20085
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
20086
|
+
*
|
|
20087
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
20088
|
+
* client, and a native client joins it onto its own hub base.
|
|
20089
|
+
*
|
|
20090
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
20091
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
20092
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
20093
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
20094
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
20095
|
+
*/
|
|
20096
|
+
iconUrl: string().optional(),
|
|
20097
|
+
/**
|
|
20098
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
20099
|
+
*
|
|
20100
|
+
* The server knows this and therefore says it, because the client cannot
|
|
20101
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
20102
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
20103
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
20104
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
20105
|
+
*
|
|
20106
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
20107
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
20108
|
+
* its raster path, which is the safe default for an unknown image.
|
|
20109
|
+
*/
|
|
20110
|
+
iconMediaType: string().optional(),
|
|
19967
20111
|
configSchema: ConfigSchemaPassthrough,
|
|
19968
20112
|
supportsDiscovery: boolean(),
|
|
19969
20113
|
caps: TargetKindCapsSchema
|
|
@@ -20695,6 +20839,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20695
20839
|
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
20696
20840
|
kind: "mutation",
|
|
20697
20841
|
auth: "admin"
|
|
20842
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
20843
|
+
kind: "mutation",
|
|
20844
|
+
auth: "admin"
|
|
20845
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
20846
|
+
kind: "query",
|
|
20847
|
+
auth: "admin"
|
|
20848
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
20849
|
+
kind: "mutation",
|
|
20850
|
+
auth: "admin"
|
|
20698
20851
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20699
20852
|
kind: "query",
|
|
20700
20853
|
auth: "admin"
|
|
@@ -23276,6 +23429,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
23276
23429
|
*/
|
|
23277
23430
|
priority: number()
|
|
23278
23431
|
})).readonly() });
|
|
23432
|
+
/**
|
|
23433
|
+
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
23434
|
+
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
23435
|
+
* what AUTO currently picks, so the UI can show the effective value either way.
|
|
23436
|
+
*/
|
|
23437
|
+
var NotificationEndpointSchema = object({
|
|
23438
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
23439
|
+
baseUrl: string().nullable(),
|
|
23440
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
23441
|
+
resolved: string().nullable()
|
|
23442
|
+
});
|
|
23279
23443
|
var AllowedAddressesSchema = object({
|
|
23280
23444
|
/**
|
|
23281
23445
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -23298,7 +23462,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
23298
23462
|
* to avoid mixed-content blocks in the browser. The public
|
|
23299
23463
|
* tunnel always emits `https://` regardless. */
|
|
23300
23464
|
scheme: _enum(["http", "https"]).optional()
|
|
23301
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
23465
|
+
}), 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" });
|
|
23302
23466
|
/**
|
|
23303
23467
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
23304
23468
|
*
|
|
@@ -24210,7 +24374,12 @@ var RecordingDeviceUsageSchema = object({
|
|
|
24210
24374
|
var RecordingLocationUsageSchema = object({
|
|
24211
24375
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
24212
24376
|
locationId: string().nullable(),
|
|
24213
|
-
/**
|
|
24377
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
24378
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
24379
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
24380
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24381
|
+
locationIds: array(string()).optional(),
|
|
24382
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
24214
24383
|
usedBytes: number(),
|
|
24215
24384
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
24216
24385
|
availableBytes: number().nullable(),
|
|
@@ -24322,6 +24491,44 @@ method(object({
|
|
|
24322
24491
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
24323
24492
|
kind: "query",
|
|
24324
24493
|
auth: "admin"
|
|
24494
|
+
}), method(object({
|
|
24495
|
+
deviceId: number(),
|
|
24496
|
+
aroundMs: number(),
|
|
24497
|
+
preRollSec: number().min(0).max(30).default(2),
|
|
24498
|
+
postRollSec: number().min(0).max(30).default(5),
|
|
24499
|
+
maxWidth: number().int().min(120).max(1280).default(480),
|
|
24500
|
+
fps: number().int().min(1).max(15).default(5)
|
|
24501
|
+
}), object({
|
|
24502
|
+
gifBase64: string(),
|
|
24503
|
+
fromMs: number(),
|
|
24504
|
+
toMs: number()
|
|
24505
|
+
}), {
|
|
24506
|
+
kind: "mutation",
|
|
24507
|
+
auth: "admin"
|
|
24508
|
+
}), method(object({
|
|
24509
|
+
deviceId: number(),
|
|
24510
|
+
aroundMs: number(),
|
|
24511
|
+
preRollSec: number().min(0).max(30).default(3),
|
|
24512
|
+
postRollSec: number().min(0).max(30).default(7),
|
|
24513
|
+
maxWidth: number().int().min(160).max(1920).default(640)
|
|
24514
|
+
}), object({
|
|
24515
|
+
clipBase64: string(),
|
|
24516
|
+
mime: string(),
|
|
24517
|
+
fromMs: number(),
|
|
24518
|
+
toMs: number(),
|
|
24519
|
+
bytes: number().int()
|
|
24520
|
+
}), {
|
|
24521
|
+
kind: "mutation",
|
|
24522
|
+
auth: "admin"
|
|
24523
|
+
}), method(RelocateFootageInputSchema, object({ jobId: string() }), {
|
|
24524
|
+
kind: "mutation",
|
|
24525
|
+
auth: "admin"
|
|
24526
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
24527
|
+
kind: "query",
|
|
24528
|
+
auth: "admin"
|
|
24529
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
24530
|
+
kind: "mutation",
|
|
24531
|
+
auth: "admin"
|
|
24325
24532
|
});
|
|
24326
24533
|
/**
|
|
24327
24534
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -27018,6 +27225,12 @@ Object.freeze({
|
|
|
27018
27225
|
addonId: null,
|
|
27019
27226
|
access: "view"
|
|
27020
27227
|
},
|
|
27228
|
+
"localNetwork.getNotificationEndpoint": {
|
|
27229
|
+
capName: "local-network",
|
|
27230
|
+
capScope: "system",
|
|
27231
|
+
addonId: null,
|
|
27232
|
+
access: "view"
|
|
27233
|
+
},
|
|
27021
27234
|
"localNetwork.getPreferred": {
|
|
27022
27235
|
capName: "local-network",
|
|
27023
27236
|
capScope: "system",
|
|
@@ -27042,6 +27255,12 @@ Object.freeze({
|
|
|
27042
27255
|
addonId: null,
|
|
27043
27256
|
access: "create"
|
|
27044
27257
|
},
|
|
27258
|
+
"localNetwork.setNotificationEndpoint": {
|
|
27259
|
+
capName: "local-network",
|
|
27260
|
+
capScope: "system",
|
|
27261
|
+
addonId: null,
|
|
27262
|
+
access: "create"
|
|
27263
|
+
},
|
|
27045
27264
|
"lockControl.lock": {
|
|
27046
27265
|
capName: "lock-control",
|
|
27047
27266
|
capScope: "device",
|
|
@@ -27684,6 +27903,12 @@ Object.freeze({
|
|
|
27684
27903
|
addonId: null,
|
|
27685
27904
|
access: "create"
|
|
27686
27905
|
},
|
|
27906
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
27907
|
+
capName: "pipeline-analytics",
|
|
27908
|
+
capScope: "device",
|
|
27909
|
+
addonId: null,
|
|
27910
|
+
access: "create"
|
|
27911
|
+
},
|
|
27687
27912
|
"pipelineAnalytics.clearTracks": {
|
|
27688
27913
|
capName: "pipeline-analytics",
|
|
27689
27914
|
capScope: "device",
|
|
@@ -27738,6 +27963,12 @@ Object.freeze({
|
|
|
27738
27963
|
addonId: null,
|
|
27739
27964
|
access: "view"
|
|
27740
27965
|
},
|
|
27966
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
27967
|
+
capName: "pipeline-analytics",
|
|
27968
|
+
capScope: "device",
|
|
27969
|
+
addonId: null,
|
|
27970
|
+
access: "view"
|
|
27971
|
+
},
|
|
27741
27972
|
"pipelineAnalytics.getMotionEvents": {
|
|
27742
27973
|
capName: "pipeline-analytics",
|
|
27743
27974
|
capScope: "device",
|
|
@@ -27810,6 +28041,12 @@ Object.freeze({
|
|
|
27810
28041
|
addonId: null,
|
|
27811
28042
|
access: "create"
|
|
27812
28043
|
},
|
|
28044
|
+
"pipelineAnalytics.relocateMedia": {
|
|
28045
|
+
capName: "pipeline-analytics",
|
|
28046
|
+
capScope: "device",
|
|
28047
|
+
addonId: null,
|
|
28048
|
+
access: "create"
|
|
28049
|
+
},
|
|
27813
28050
|
"pipelineAnalytics.searchObjectEvents": {
|
|
27814
28051
|
capName: "pipeline-analytics",
|
|
27815
28052
|
capScope: "device",
|
|
@@ -28572,6 +28809,12 @@ Object.freeze({
|
|
|
28572
28809
|
addonId: null,
|
|
28573
28810
|
access: "create"
|
|
28574
28811
|
},
|
|
28812
|
+
"recording.cancelRelocate": {
|
|
28813
|
+
capName: "recording",
|
|
28814
|
+
capScope: "system",
|
|
28815
|
+
addonId: null,
|
|
28816
|
+
access: "create"
|
|
28817
|
+
},
|
|
28575
28818
|
"recording.deleteFootprint": {
|
|
28576
28819
|
capName: "recording",
|
|
28577
28820
|
capScope: "system",
|
|
@@ -28602,6 +28845,12 @@ Object.freeze({
|
|
|
28602
28845
|
addonId: null,
|
|
28603
28846
|
access: "view"
|
|
28604
28847
|
},
|
|
28848
|
+
"recording.getRelocateStatus": {
|
|
28849
|
+
capName: "recording",
|
|
28850
|
+
capScope: "system",
|
|
28851
|
+
addonId: null,
|
|
28852
|
+
access: "view"
|
|
28853
|
+
},
|
|
28605
28854
|
"recording.getStorageUsage": {
|
|
28606
28855
|
capName: "recording",
|
|
28607
28856
|
capScope: "system",
|
|
@@ -28632,6 +28881,24 @@ Object.freeze({
|
|
|
28632
28881
|
addonId: null,
|
|
28633
28882
|
access: "view"
|
|
28634
28883
|
},
|
|
28884
|
+
"recording.relocateFootage": {
|
|
28885
|
+
capName: "recording",
|
|
28886
|
+
capScope: "system",
|
|
28887
|
+
addonId: null,
|
|
28888
|
+
access: "create"
|
|
28889
|
+
},
|
|
28890
|
+
"recording.renderClip": {
|
|
28891
|
+
capName: "recording",
|
|
28892
|
+
capScope: "system",
|
|
28893
|
+
addonId: null,
|
|
28894
|
+
access: "create"
|
|
28895
|
+
},
|
|
28896
|
+
"recording.renderGif": {
|
|
28897
|
+
capName: "recording",
|
|
28898
|
+
capScope: "system",
|
|
28899
|
+
addonId: null,
|
|
28900
|
+
access: "create"
|
|
28901
|
+
},
|
|
28635
28902
|
"recording.rescanStorage": {
|
|
28636
28903
|
capName: "recording",
|
|
28637
28904
|
capScope: "system",
|
|
@@ -29226,6 +29493,12 @@ Object.freeze({
|
|
|
29226
29493
|
addonId: null,
|
|
29227
29494
|
access: "create"
|
|
29228
29495
|
},
|
|
29496
|
+
"streamBroker.renderPreBufferClip": {
|
|
29497
|
+
capName: "stream-broker",
|
|
29498
|
+
capScope: "system",
|
|
29499
|
+
addonId: null,
|
|
29500
|
+
access: "create"
|
|
29501
|
+
},
|
|
29229
29502
|
"streamBroker.restartProfile": {
|
|
29230
29503
|
capName: "stream-broker",
|
|
29231
29504
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -7370,35 +7370,22 @@ function findTimezone(id) {
|
|
|
7370
7370
|
*/
|
|
7371
7371
|
var RecordingWeekdaySchema = number().int().min(0).max(6);
|
|
7372
7372
|
var HHMM = /^([01]\d|2[0-3]):[0-5]\d$/;
|
|
7373
|
-
var RecordingScheduleSchema = discriminatedUnion("kind", [object({ kind: literal("always") }), object({
|
|
7374
|
-
kind: literal("timeOfDay"),
|
|
7375
|
-
start: string().regex(HHMM),
|
|
7376
|
-
end: string().regex(HHMM),
|
|
7377
|
-
/** Restrict to these weekdays; omit = every day. */
|
|
7378
|
-
days: array(RecordingWeekdaySchema).optional()
|
|
7379
|
-
})]);
|
|
7380
|
-
var RecordingModeSchema = _enum([
|
|
7381
|
-
"continuous",
|
|
7382
|
-
"onMotion",
|
|
7383
|
-
"onAudioThreshold"
|
|
7384
|
-
]);
|
|
7385
7373
|
/**
|
|
7386
|
-
*
|
|
7387
|
-
*
|
|
7388
|
-
* - `off` —
|
|
7389
|
-
* - `events` —
|
|
7390
|
-
*
|
|
7391
|
-
* - `continuous` — record 24/7 within the schedule.
|
|
7374
|
+
* DERIVED per-camera storage summary — the single field cheap consumers read
|
|
7375
|
+
* (the viewer's status dot, the camera list) instead of walking `bands`:
|
|
7376
|
+
* - `off` — no band covers the camera (or it is disabled).
|
|
7377
|
+
* - `events` — every band records around triggers only.
|
|
7378
|
+
* - `continuous` — at least one band records continuously.
|
|
7392
7379
|
*
|
|
7393
|
-
*
|
|
7394
|
-
*
|
|
7380
|
+
* NEVER authored: the recorder stamps it from the authoritative `bands` on
|
|
7381
|
+
* every save (`activeModeForConfig`). Writing it has no effect.
|
|
7395
7382
|
*/
|
|
7396
7383
|
var RecordingStorageModeSchema = _enum([
|
|
7397
7384
|
"off",
|
|
7398
7385
|
"events",
|
|
7399
7386
|
"continuous"
|
|
7400
7387
|
]);
|
|
7401
|
-
/** Which detectors trigger an `events`-mode
|
|
7388
|
+
/** Which detectors trigger an `events`-mode band. */
|
|
7402
7389
|
var RecordingTriggersSchema = object({
|
|
7403
7390
|
motion: boolean().optional(),
|
|
7404
7391
|
audioThresholdDbfs: number().optional()
|
|
@@ -7434,18 +7421,6 @@ var RecordingBandSchema = object({
|
|
|
7434
7421
|
preBufferSec: number().min(0).optional(),
|
|
7435
7422
|
postBufferSec: number().min(0).optional()
|
|
7436
7423
|
});
|
|
7437
|
-
var RecordingRuleSchema = object({
|
|
7438
|
-
schedule: RecordingScheduleSchema,
|
|
7439
|
-
mode: RecordingModeSchema,
|
|
7440
|
-
/** Seconds of footage to retain BEFORE a trigger (applied at keep/discard). */
|
|
7441
|
-
preBufferSec: number().min(0).default(0),
|
|
7442
|
-
/** Keep recording until this many seconds after the last trigger. */
|
|
7443
|
-
postBufferSec: number().min(0).default(0),
|
|
7444
|
-
/** Each new trigger restarts the post-buffer window. */
|
|
7445
|
-
resetTimeoutOnNewEvent: boolean().default(true),
|
|
7446
|
-
/** onAudioThreshold only — dBFS level that counts as a trigger. */
|
|
7447
|
-
thresholdDbfs: number().optional()
|
|
7448
|
-
});
|
|
7449
7424
|
/**
|
|
7450
7425
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7451
7426
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7479,40 +7454,28 @@ var ScrubThumbnailPresetSchema = _enum([
|
|
|
7479
7454
|
/**
|
|
7480
7455
|
* The full per-camera recording intent — the wire shape of a RecordingTarget.
|
|
7481
7456
|
*
|
|
7482
|
-
* `
|
|
7483
|
-
*
|
|
7484
|
-
*
|
|
7485
|
-
*
|
|
7457
|
+
* `bands` is the ONLY authored recording intent: what to record, when, and on
|
|
7458
|
+
* which trigger. `mode` is a derived summary the recorder stamps on save; every
|
|
7459
|
+
* other field is a storage knob (profiles, segment length, retention, scrub).
|
|
7460
|
+
*
|
|
7461
|
+
* STRICT on purpose: the legacy authoring surface (`schedule`/`schedules`/
|
|
7462
|
+
* `triggers`/`preBufferSec`/`postBufferSec`/`rules`) was retired 2026-07-30.
|
|
7463
|
+
* A stale caller must fail loudly — silently stripping its legacy intent would
|
|
7464
|
+
* persist a band-less config, i.e. silently stop recording the camera.
|
|
7486
7465
|
*/
|
|
7487
7466
|
var RecordingConfigSchema = object({
|
|
7488
7467
|
enabled: boolean(),
|
|
7489
|
-
/**
|
|
7490
|
-
*
|
|
7468
|
+
/** DERIVED summary of `bands`, stamped by the recorder on every save.
|
|
7469
|
+
* Authoring it has no effect — see {@link RecordingStorageModeSchema}. */
|
|
7491
7470
|
mode: RecordingStorageModeSchema.optional(),
|
|
7492
7471
|
profiles: array(CamProfileSchema).optional(),
|
|
7493
7472
|
segmentSeconds: number().int().positive().optional(),
|
|
7494
|
-
/** Shared recording time-bands for `events` & `continuous` — record only when
|
|
7495
|
-
* the wall-clock falls inside one of these windows. Omit or empty = always.
|
|
7496
|
-
* `continuous` compiles to one rule per band; `events` to band × trigger. */
|
|
7497
|
-
schedules: array(RecordingScheduleSchema).optional(),
|
|
7498
|
-
/** Legacy single-band predecessor of `schedules`. Read-compat only — it is
|
|
7499
|
-
* normalized into `schedules` on read and never written going forward. (Not
|
|
7500
|
-
* tagged `@deprecated`: the normalization paths must read it cast-free.) */
|
|
7501
|
-
schedule: RecordingScheduleSchema.optional(),
|
|
7502
|
-
/** `events`-mode only — which detectors trigger a recording. */
|
|
7503
|
-
triggers: RecordingTriggersSchema.optional(),
|
|
7504
|
-
/** `events`-mode only — seconds retained before / after a trigger. */
|
|
7505
|
-
preBufferSec: number().min(0).optional(),
|
|
7506
|
-
postBufferSec: number().min(0).optional(),
|
|
7507
|
-
/** DEPRECATED authoring input; retained for migration/transition. */
|
|
7508
|
-
rules: array(RecordingRuleSchema).optional(),
|
|
7509
7473
|
/**
|
|
7510
|
-
* AUTHORITATIVE mode-per-band recording model
|
|
7511
|
-
*
|
|
7512
|
-
*
|
|
7513
|
-
* derived into bands once via `migrateConfigToBands`.
|
|
7474
|
+
* AUTHORITATIVE mode-per-band recording model — the single source of truth
|
|
7475
|
+
* the recorder's band engine consumes. An empty array = record nothing;
|
|
7476
|
+
* "off" is the absence of a covering band, never a band value.
|
|
7514
7477
|
*/
|
|
7515
|
-
bands: array(RecordingBandSchema).
|
|
7478
|
+
bands: array(RecordingBandSchema).default([]),
|
|
7516
7479
|
retention: RecordingRetentionSchema.optional(),
|
|
7517
7480
|
/**
|
|
7518
7481
|
* Per-camera scrub-thumbnail fidelity preset (resolution + JPEG quality for
|
|
@@ -7520,8 +7483,15 @@ var RecordingConfigSchema = object({
|
|
|
7520
7483
|
* windows only — existing sheets are immutable, and each window's index
|
|
7521
7484
|
* carries its own tile dims so mixed-preset history renders correctly.
|
|
7522
7485
|
*/
|
|
7523
|
-
scrubThumbnails: ScrubThumbnailPresetSchema.optional()
|
|
7524
|
-
|
|
7486
|
+
scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
|
|
7487
|
+
/**
|
|
7488
|
+
* OPT-IN thumbnail-strip generation for this camera: every keyframe of the
|
|
7489
|
+
* low recording saved as a JPEG (the fast-drag scrub depth), a derived
|
|
7490
|
+
* cache that eviction reclaims with the footage. Absent/false = no strips
|
|
7491
|
+
* are written and scrub reads exact keyframes at every velocity.
|
|
7492
|
+
*/
|
|
7493
|
+
stripsEnabled: boolean().optional()
|
|
7494
|
+
}).strict();
|
|
7525
7495
|
/**
|
|
7526
7496
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7527
7497
|
* recordings and events management surfaces.
|
|
@@ -7540,7 +7510,8 @@ var OpsLogOpSchema = _enum([
|
|
|
7540
7510
|
"prune",
|
|
7541
7511
|
"manual-delete",
|
|
7542
7512
|
"rescan",
|
|
7543
|
-
"retention-run"
|
|
7513
|
+
"retention-run",
|
|
7514
|
+
"relocate"
|
|
7544
7515
|
]);
|
|
7545
7516
|
/** Why the operation ran. */
|
|
7546
7517
|
var OpsLogReasonSchema = _enum([
|
|
@@ -7579,6 +7550,55 @@ var OpsLogQueryInputSchema = object({
|
|
|
7579
7550
|
limit: number().int().min(1).max(1e3).optional()
|
|
7580
7551
|
});
|
|
7581
7552
|
/**
|
|
7553
|
+
* Entity-relocation job state (storage entity-routing spec, Phase 4).
|
|
7554
|
+
*
|
|
7555
|
+
* One shape shared by the recorder's `relocateFootage` (segments + strips) and
|
|
7556
|
+
* pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
|
|
7557
|
+
* page renders both movers with one component. Jobs are in-RAM (a restart
|
|
7558
|
+
* forgets them — re-running is safe by construction: copy-if-absent, delete
|
|
7559
|
+
* after verify) and each completed/failed run also lands one durable ops-log
|
|
7560
|
+
* row on the owning addon's surface.
|
|
7561
|
+
*/
|
|
7562
|
+
var RelocateJobStateSchema = _enum([
|
|
7563
|
+
"running",
|
|
7564
|
+
"done",
|
|
7565
|
+
"failed",
|
|
7566
|
+
"cancelled"
|
|
7567
|
+
]);
|
|
7568
|
+
var RelocateJobSchema = object({
|
|
7569
|
+
jobId: string(),
|
|
7570
|
+
state: RelocateJobStateSchema,
|
|
7571
|
+
/** Source location — for media relocation this is informational ('*': rows
|
|
7572
|
+
* move from wherever they are to the target). */
|
|
7573
|
+
fromLocationId: string(),
|
|
7574
|
+
toLocationId: string(),
|
|
7575
|
+
/** Scoped device, or null = every device. */
|
|
7576
|
+
deviceId: number().nullable(),
|
|
7577
|
+
/** What the job moves (owner-addon specific: segments/strips or media). */
|
|
7578
|
+
entities: array(string()),
|
|
7579
|
+
filesMoved: number().int(),
|
|
7580
|
+
bytesMoved: number().int(),
|
|
7581
|
+
/** Total files discovered up front; null while (or when) unknown. */
|
|
7582
|
+
filesTotal: number().int().nullable(),
|
|
7583
|
+
startedAt: number(),
|
|
7584
|
+
finishedAt: number().nullable(),
|
|
7585
|
+
error: string().nullable()
|
|
7586
|
+
});
|
|
7587
|
+
var RelocateFootageInputSchema = object({
|
|
7588
|
+
deviceId: number().optional(),
|
|
7589
|
+
fromLocationId: string(),
|
|
7590
|
+
toLocationId: string(),
|
|
7591
|
+
entities: array(_enum(["segments", "strips"])).optional(),
|
|
7592
|
+
/** Copy throttle in MB/s (default 40) — the drain is a background chore,
|
|
7593
|
+
* never allowed to starve live writers. */
|
|
7594
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7595
|
+
});
|
|
7596
|
+
var RelocateMediaInputSchema = object({
|
|
7597
|
+
deviceId: number().optional(),
|
|
7598
|
+
toLocationId: string(),
|
|
7599
|
+
throttleMbps: number().min(1).max(1e3).optional()
|
|
7600
|
+
});
|
|
7601
|
+
/**
|
|
7582
7602
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
7583
7603
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
7584
7604
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -7628,6 +7648,13 @@ var StorageLocationSchema = object({
|
|
|
7628
7648
|
nodeId: string().optional(),
|
|
7629
7649
|
isDefault: boolean().default(false),
|
|
7630
7650
|
isSystem: boolean().default(false),
|
|
7651
|
+
/** COMPUTED at read time by the orchestrator (statfs of the backing volume
|
|
7652
|
+
* for node-local locations it can reach) — never persisted, absent when the
|
|
7653
|
+
* volume is remote/unreachable. The single capacity truth every UI reads. */
|
|
7654
|
+
capacity: object({
|
|
7655
|
+
totalBytes: number(),
|
|
7656
|
+
availableBytes: number()
|
|
7657
|
+
}).nullable().optional(),
|
|
7631
7658
|
createdAt: number(),
|
|
7632
7659
|
updatedAt: number()
|
|
7633
7660
|
});
|
|
@@ -8395,7 +8422,8 @@ var NcTaxonomyEntrySchema = object({
|
|
|
8395
8422
|
/** Macro/category parent for grouping ('car' → 'vehicle'); null for a top. */
|
|
8396
8423
|
parentKind: string().nullable()
|
|
8397
8424
|
});
|
|
8398
|
-
|
|
8425
|
+
/** The complete NC picker taxonomy — three grouped buckets. */
|
|
8426
|
+
var NcTaxonomySchema = object({
|
|
8399
8427
|
videoClasses: array(NcTaxonomyEntrySchema),
|
|
8400
8428
|
audioKinds: array(NcTaxonomyEntrySchema),
|
|
8401
8429
|
labels: array(NcTaxonomyEntrySchema)
|
|
@@ -9403,6 +9431,7 @@ function startReachabilityPoll(options) {
|
|
|
9403
9431
|
timer = void 0;
|
|
9404
9432
|
} };
|
|
9405
9433
|
}
|
|
9434
|
+
new Set(["devices", "classes"]);
|
|
9406
9435
|
/**
|
|
9407
9436
|
* Shared geometry vocabulary for on-frame shape caps — privacy-mask,
|
|
9408
9437
|
* motion-zones, and the detection zones/lines editor all speak this one
|
|
@@ -9719,12 +9748,60 @@ var NcRuleTargetSchema = object({
|
|
|
9719
9748
|
* - `keyFrame` — the clean scene frame (no subject box).
|
|
9720
9749
|
* - `none` — no attachment.
|
|
9721
9750
|
*/
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9751
|
+
/**
|
|
9752
|
+
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
9753
|
+
* conflate it with the selection strategy and betray the request: asking for
|
|
9754
|
+
* the clean scene frame on an object-event owner used to start at
|
|
9755
|
+
* `fullFrameBoxed`, i.e. the annotated frame (2026-07-30).
|
|
9756
|
+
* - `cropped` — the subject, tight. What "who is at the door" wants.
|
|
9757
|
+
* - `full` — the clean scene, no annotation. What "what is going on" wants.
|
|
9758
|
+
* - `boxed` — the scene WITH the detection boxes drawn, for verifying what
|
|
9759
|
+
* the pipeline actually saw.
|
|
9760
|
+
*/
|
|
9761
|
+
var NcMediaFrameSchema = _enum([
|
|
9762
|
+
"cropped",
|
|
9763
|
+
"full",
|
|
9764
|
+
"boxed"
|
|
9765
|
+
]);
|
|
9766
|
+
var NcMediaPolicySchema = object({
|
|
9767
|
+
attach: _enum([
|
|
9768
|
+
"best",
|
|
9769
|
+
"best-matching",
|
|
9770
|
+
"keyFrame",
|
|
9771
|
+
"none"
|
|
9772
|
+
]).default("best"),
|
|
9773
|
+
/** What the still shows. Absent = `cropped` (the historical `best` shape). */
|
|
9774
|
+
frame: NcMediaFrameSchema.optional(),
|
|
9775
|
+
/** Crop the attached still to the rule's condition-zone bbox (padded) —
|
|
9776
|
+
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
9777
|
+
zoneCrop: boolean().optional(),
|
|
9778
|
+
/**
|
|
9779
|
+
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
9780
|
+
* event — NOT from the recording, so the camera does not have to be
|
|
9781
|
+
* recording, and the window sits AROUND the moment instead of a segment
|
|
9782
|
+
* behind it. Fail-closed: a window the ring does not cover contributes no
|
|
9783
|
+
* gif, never a failed notification.
|
|
9784
|
+
*/
|
|
9785
|
+
gif: boolean().optional(),
|
|
9786
|
+
/**
|
|
9787
|
+
* Also attach a short MP4 CLIP of the same cut. Same source and the same
|
|
9788
|
+
* fail-closed rule as `gif`. Prefer it where the backend takes video
|
|
9789
|
+
* (telegram, discord, zentik, webhook); backends that do not are handled by
|
|
9790
|
+
* the degrade engine, which drops the video and keeps the still.
|
|
9791
|
+
*/
|
|
9792
|
+
clip: boolean().optional(),
|
|
9793
|
+
/** Seconds of footage BEFORE / AFTER the event instant. Defaults 3 / 7. */
|
|
9794
|
+
clipPreRollSec: number().int().min(0).max(30).optional(),
|
|
9795
|
+
clipPostRollSec: number().int().min(0).max(30).optional(),
|
|
9796
|
+
/**
|
|
9797
|
+
* Which stream profile the footage is cut from. Absent = the CHEAPEST
|
|
9798
|
+
* assigned profile: a notification is watched on a phone, so the 4K
|
|
9799
|
+
* rendition would burn CPU to produce a file the client downscales anyway.
|
|
9800
|
+
* A profile that is not assigned falls back to the cheapest, and the render
|
|
9801
|
+
* reports which one actually ran.
|
|
9802
|
+
*/
|
|
9803
|
+
profile: CamProfileSchema.optional()
|
|
9804
|
+
});
|
|
9728
9805
|
/** Throttle — cooldown survives restarts (rebuilt from the outbox on boot). */
|
|
9729
9806
|
var NcThrottleSchema = object({
|
|
9730
9807
|
cooldownSec: number().int().min(0).max(86400).default(60),
|
|
@@ -9738,7 +9815,19 @@ var NcRuleInputSchema = object({
|
|
|
9738
9815
|
delivery: NcDeliverySchema,
|
|
9739
9816
|
conditions: NcConditionsSchema.default({}),
|
|
9740
9817
|
schedule: NcScheduleSchema.optional(),
|
|
9741
|
-
|
|
9818
|
+
/** May be empty when `targetUsers` addresses at least one user — the
|
|
9819
|
+
* "at least one addressee" invariant is enforced by the provider, because
|
|
9820
|
+
* a cross-field refine here would break `NcRulePatchSchema.partial()`. */
|
|
9821
|
+
targets: array(NcRuleTargetSchema),
|
|
9822
|
+
/**
|
|
9823
|
+
* USERS this rule addresses in addition to `targets` (Phase 4). At fire
|
|
9824
|
+
* time each user fans out to the personal targets they own
|
|
9825
|
+
* (`config.ownerUserId`), filtered by that user's `allowedDevices` for the
|
|
9826
|
+
* firing camera — a user is never notified about a device they cannot open.
|
|
9827
|
+
* Per-user opt-outs (`disabledTargetIds`) still apply to the fanned-out
|
|
9828
|
+
* targets.
|
|
9829
|
+
*/
|
|
9830
|
+
targetUsers: array(string()).optional(),
|
|
9742
9831
|
media: NcMediaPolicySchema.default({ attach: "best" }),
|
|
9743
9832
|
throttle: NcThrottleSchema.default({
|
|
9744
9833
|
cooldownSec: 60,
|
|
@@ -9951,7 +10040,10 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
9951
10040
|
}), object({ results: array(NcTestResultSchema) }), {
|
|
9952
10041
|
kind: "mutation",
|
|
9953
10042
|
auth: "admin"
|
|
9954
|
-
}), method(object({}), object({
|
|
10043
|
+
}), method(object({}), object({
|
|
10044
|
+
catalog: array(NcConditionDescriptorSchema),
|
|
10045
|
+
taxonomy: NcTaxonomySchema.optional()
|
|
10046
|
+
})), method(object({ filter: NcHistoryFilterSchema.default({ limit: 100 }) }), object({ entries: array(NcHistoryEntrySchema) }), { auth: "admin" });
|
|
9955
10047
|
/**
|
|
9956
10048
|
* TimelapseRule — the STANDALONE scheduled timelapse producer's rule model.
|
|
9957
10049
|
*
|
|
@@ -10960,6 +11052,28 @@ method(object({
|
|
|
10960
11052
|
}), object({ success: literal(true) }), {
|
|
10961
11053
|
kind: "mutation",
|
|
10962
11054
|
auth: "admin"
|
|
11055
|
+
}), method(object({
|
|
11056
|
+
deviceId: number(),
|
|
11057
|
+
/** Absent = the LOWEST assigned profile — a notification attachment is
|
|
11058
|
+
* watched on a phone, and the cheap rendition is the right default. */
|
|
11059
|
+
profile: CamProfileSchema.optional(),
|
|
11060
|
+
aroundMs: number(),
|
|
11061
|
+
preRollSec: number().min(0).max(20).default(3),
|
|
11062
|
+
postRollSec: number().min(0).max(20).default(5),
|
|
11063
|
+
format: _enum(["gif", "mp4"]).default("gif"),
|
|
11064
|
+
maxWidth: number().int().min(120).max(1920).default(480),
|
|
11065
|
+
/** GIF only — MP4 keeps the source cadence. */
|
|
11066
|
+
fps: number().int().min(1).max(15).default(5)
|
|
11067
|
+
}), object({
|
|
11068
|
+
base64: string(),
|
|
11069
|
+
mime: string(),
|
|
11070
|
+
bytes: number().int(),
|
|
11071
|
+
/** The profile actually rendered (what the default resolved to). */
|
|
11072
|
+
profile: CamProfileSchema,
|
|
11073
|
+
durationMs: number()
|
|
11074
|
+
}), {
|
|
11075
|
+
kind: "mutation",
|
|
11076
|
+
auth: "admin"
|
|
10963
11077
|
}), method(_void(), array(CameraStreamSchema).readonly()), method(_void(), array(ProfileSlotSchema).readonly()), method(object({ brokerId: string() }), BrokerStatsSchema), method(object({ brokerId: string() }), object({
|
|
10964
11078
|
probed: boolean(),
|
|
10965
11079
|
summary: string()
|
|
@@ -19965,6 +20079,36 @@ var TargetKindSchema = object({
|
|
|
19965
20079
|
icon: string(),
|
|
19966
20080
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
19967
20081
|
addonId: string(),
|
|
20082
|
+
/**
|
|
20083
|
+
* URL of the kind's bundled BRAND icon, served by the providing addon over
|
|
20084
|
+
* its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
|
|
20085
|
+
* when the addon bundles no icon for that kind — the client then falls back
|
|
20086
|
+
* to a neutral glyph rather than rendering the raw `icon` NAME as text.
|
|
20087
|
+
*
|
|
20088
|
+
* Root-relative on purpose: it resolves against whatever origin serves a web
|
|
20089
|
+
* client, and a native client joins it onto its own hub base.
|
|
20090
|
+
*
|
|
20091
|
+
* DECLARED here deliberately. It used to travel as an undeclared passthrough
|
|
20092
|
+
* field that survived only because the runtime cap-router forwards provider
|
|
20093
|
+
* output verbatim — so every consumer had to re-declare it by hand to stop
|
|
20094
|
+
* its own Zod parse from stripping it, and the whole arrangement would have
|
|
20095
|
+
* broken silently the moment output validation was tightened anywhere.
|
|
20096
|
+
*/
|
|
20097
|
+
iconUrl: string().optional(),
|
|
20098
|
+
/**
|
|
20099
|
+
* Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
|
|
20100
|
+
*
|
|
20101
|
+
* The server knows this and therefore says it, because the client cannot
|
|
20102
|
+
* safely guess: a React-Native client renders SVG and raster through two
|
|
20103
|
+
* DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
|
|
20104
|
+
* not decode SVG on iOS/Android), so without this it silently fell back to a
|
|
20105
|
+
* placeholder glyph for every vector icon while the web build looked fine.
|
|
20106
|
+
*
|
|
20107
|
+
* Absent when {@link iconUrl} is absent, or for a legacy provider that has
|
|
20108
|
+
* not been updated — a client that cannot determine the type should prefer
|
|
20109
|
+
* its raster path, which is the safe default for an unknown image.
|
|
20110
|
+
*/
|
|
20111
|
+
iconMediaType: string().optional(),
|
|
19968
20112
|
configSchema: ConfigSchemaPassthrough,
|
|
19969
20113
|
supportsDiscovery: boolean(),
|
|
19970
20114
|
caps: TargetKindCapsSchema
|
|
@@ -20696,6 +20840,15 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20696
20840
|
}), method(object({ deviceId: number() }), EventPruneCountsSchema, {
|
|
20697
20841
|
kind: "mutation",
|
|
20698
20842
|
auth: "admin"
|
|
20843
|
+
}), method(RelocateMediaInputSchema, object({ jobId: string() }), {
|
|
20844
|
+
kind: "mutation",
|
|
20845
|
+
auth: "admin"
|
|
20846
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
20847
|
+
kind: "query",
|
|
20848
|
+
auth: "admin"
|
|
20849
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
20850
|
+
kind: "mutation",
|
|
20851
|
+
auth: "admin"
|
|
20699
20852
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
20700
20853
|
kind: "query",
|
|
20701
20854
|
auth: "admin"
|
|
@@ -23277,6 +23430,17 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
23277
23430
|
*/
|
|
23278
23431
|
priority: number()
|
|
23279
23432
|
})).readonly() });
|
|
23433
|
+
/**
|
|
23434
|
+
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
23435
|
+
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
23436
|
+
* what AUTO currently picks, so the UI can show the effective value either way.
|
|
23437
|
+
*/
|
|
23438
|
+
var NotificationEndpointSchema = object({
|
|
23439
|
+
/** The operator's explicit choice, or null for AUTO. */
|
|
23440
|
+
baseUrl: string().nullable(),
|
|
23441
|
+
/** What the ranking currently resolves to (null when nothing is reachable). */
|
|
23442
|
+
resolved: string().nullable()
|
|
23443
|
+
});
|
|
23280
23444
|
var AllowedAddressesSchema = object({
|
|
23281
23445
|
/**
|
|
23282
23446
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -23299,7 +23463,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
23299
23463
|
* to avoid mixed-content blocks in the browser. The public
|
|
23300
23464
|
* tunnel always emits `https://` regardless. */
|
|
23301
23465
|
scheme: _enum(["http", "https"]).optional()
|
|
23302
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" });
|
|
23466
|
+
}), 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" });
|
|
23303
23467
|
/**
|
|
23304
23468
|
* mesh-network — collection cap for mesh-VPN providers.
|
|
23305
23469
|
*
|
|
@@ -24211,7 +24375,12 @@ var RecordingDeviceUsageSchema = object({
|
|
|
24211
24375
|
var RecordingLocationUsageSchema = object({
|
|
24212
24376
|
/** StorageLocation id; null for the legacy/degraded single-root fallback. */
|
|
24213
24377
|
locationId: string().nullable(),
|
|
24214
|
-
/**
|
|
24378
|
+
/** Every location id sharing this row's PHYSICAL volume (aliases). One row
|
|
24379
|
+
* is emitted per physical disk (2026-07-29): two locations on one root
|
|
24380
|
+
* previously rendered as two identical "disks" with a nonsensical used
|
|
24381
|
+
* split — hydrate attribution across aliases is arbitrary by nature. */
|
|
24382
|
+
locationIds: array(string()).optional(),
|
|
24383
|
+
/** Bytes of recordings stored on this PHYSICAL volume (all aliases). */
|
|
24215
24384
|
usedBytes: number(),
|
|
24216
24385
|
/** Free bytes on the location's volume; null when capacity is unknown (remote). */
|
|
24217
24386
|
availableBytes: number().nullable(),
|
|
@@ -24323,6 +24492,44 @@ method(object({
|
|
|
24323
24492
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
24324
24493
|
kind: "query",
|
|
24325
24494
|
auth: "admin"
|
|
24495
|
+
}), method(object({
|
|
24496
|
+
deviceId: number(),
|
|
24497
|
+
aroundMs: number(),
|
|
24498
|
+
preRollSec: number().min(0).max(30).default(2),
|
|
24499
|
+
postRollSec: number().min(0).max(30).default(5),
|
|
24500
|
+
maxWidth: number().int().min(120).max(1280).default(480),
|
|
24501
|
+
fps: number().int().min(1).max(15).default(5)
|
|
24502
|
+
}), object({
|
|
24503
|
+
gifBase64: string(),
|
|
24504
|
+
fromMs: number(),
|
|
24505
|
+
toMs: number()
|
|
24506
|
+
}), {
|
|
24507
|
+
kind: "mutation",
|
|
24508
|
+
auth: "admin"
|
|
24509
|
+
}), method(object({
|
|
24510
|
+
deviceId: number(),
|
|
24511
|
+
aroundMs: number(),
|
|
24512
|
+
preRollSec: number().min(0).max(30).default(3),
|
|
24513
|
+
postRollSec: number().min(0).max(30).default(7),
|
|
24514
|
+
maxWidth: number().int().min(160).max(1920).default(640)
|
|
24515
|
+
}), object({
|
|
24516
|
+
clipBase64: string(),
|
|
24517
|
+
mime: string(),
|
|
24518
|
+
fromMs: number(),
|
|
24519
|
+
toMs: number(),
|
|
24520
|
+
bytes: number().int()
|
|
24521
|
+
}), {
|
|
24522
|
+
kind: "mutation",
|
|
24523
|
+
auth: "admin"
|
|
24524
|
+
}), method(RelocateFootageInputSchema, object({ jobId: string() }), {
|
|
24525
|
+
kind: "mutation",
|
|
24526
|
+
auth: "admin"
|
|
24527
|
+
}), method(object({}), array(RelocateJobSchema).readonly(), {
|
|
24528
|
+
kind: "query",
|
|
24529
|
+
auth: "admin"
|
|
24530
|
+
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
24531
|
+
kind: "mutation",
|
|
24532
|
+
auth: "admin"
|
|
24326
24533
|
});
|
|
24327
24534
|
/**
|
|
24328
24535
|
* `recordingExport` cap — render a footage time range into a single downloadable
|
|
@@ -27019,6 +27226,12 @@ Object.freeze({
|
|
|
27019
27226
|
addonId: null,
|
|
27020
27227
|
access: "view"
|
|
27021
27228
|
},
|
|
27229
|
+
"localNetwork.getNotificationEndpoint": {
|
|
27230
|
+
capName: "local-network",
|
|
27231
|
+
capScope: "system",
|
|
27232
|
+
addonId: null,
|
|
27233
|
+
access: "view"
|
|
27234
|
+
},
|
|
27022
27235
|
"localNetwork.getPreferred": {
|
|
27023
27236
|
capName: "local-network",
|
|
27024
27237
|
capScope: "system",
|
|
@@ -27043,6 +27256,12 @@ Object.freeze({
|
|
|
27043
27256
|
addonId: null,
|
|
27044
27257
|
access: "create"
|
|
27045
27258
|
},
|
|
27259
|
+
"localNetwork.setNotificationEndpoint": {
|
|
27260
|
+
capName: "local-network",
|
|
27261
|
+
capScope: "system",
|
|
27262
|
+
addonId: null,
|
|
27263
|
+
access: "create"
|
|
27264
|
+
},
|
|
27046
27265
|
"lockControl.lock": {
|
|
27047
27266
|
capName: "lock-control",
|
|
27048
27267
|
capScope: "device",
|
|
@@ -27685,6 +27904,12 @@ Object.freeze({
|
|
|
27685
27904
|
addonId: null,
|
|
27686
27905
|
access: "create"
|
|
27687
27906
|
},
|
|
27907
|
+
"pipelineAnalytics.cancelMediaRelocate": {
|
|
27908
|
+
capName: "pipeline-analytics",
|
|
27909
|
+
capScope: "device",
|
|
27910
|
+
addonId: null,
|
|
27911
|
+
access: "create"
|
|
27912
|
+
},
|
|
27688
27913
|
"pipelineAnalytics.clearTracks": {
|
|
27689
27914
|
capName: "pipeline-analytics",
|
|
27690
27915
|
capScope: "device",
|
|
@@ -27739,6 +27964,12 @@ Object.freeze({
|
|
|
27739
27964
|
addonId: null,
|
|
27740
27965
|
access: "view"
|
|
27741
27966
|
},
|
|
27967
|
+
"pipelineAnalytics.getMediaRelocateStatus": {
|
|
27968
|
+
capName: "pipeline-analytics",
|
|
27969
|
+
capScope: "device",
|
|
27970
|
+
addonId: null,
|
|
27971
|
+
access: "view"
|
|
27972
|
+
},
|
|
27742
27973
|
"pipelineAnalytics.getMotionEvents": {
|
|
27743
27974
|
capName: "pipeline-analytics",
|
|
27744
27975
|
capScope: "device",
|
|
@@ -27811,6 +28042,12 @@ Object.freeze({
|
|
|
27811
28042
|
addonId: null,
|
|
27812
28043
|
access: "create"
|
|
27813
28044
|
},
|
|
28045
|
+
"pipelineAnalytics.relocateMedia": {
|
|
28046
|
+
capName: "pipeline-analytics",
|
|
28047
|
+
capScope: "device",
|
|
28048
|
+
addonId: null,
|
|
28049
|
+
access: "create"
|
|
28050
|
+
},
|
|
27814
28051
|
"pipelineAnalytics.searchObjectEvents": {
|
|
27815
28052
|
capName: "pipeline-analytics",
|
|
27816
28053
|
capScope: "device",
|
|
@@ -28573,6 +28810,12 @@ Object.freeze({
|
|
|
28573
28810
|
addonId: null,
|
|
28574
28811
|
access: "create"
|
|
28575
28812
|
},
|
|
28813
|
+
"recording.cancelRelocate": {
|
|
28814
|
+
capName: "recording",
|
|
28815
|
+
capScope: "system",
|
|
28816
|
+
addonId: null,
|
|
28817
|
+
access: "create"
|
|
28818
|
+
},
|
|
28576
28819
|
"recording.deleteFootprint": {
|
|
28577
28820
|
capName: "recording",
|
|
28578
28821
|
capScope: "system",
|
|
@@ -28603,6 +28846,12 @@ Object.freeze({
|
|
|
28603
28846
|
addonId: null,
|
|
28604
28847
|
access: "view"
|
|
28605
28848
|
},
|
|
28849
|
+
"recording.getRelocateStatus": {
|
|
28850
|
+
capName: "recording",
|
|
28851
|
+
capScope: "system",
|
|
28852
|
+
addonId: null,
|
|
28853
|
+
access: "view"
|
|
28854
|
+
},
|
|
28606
28855
|
"recording.getStorageUsage": {
|
|
28607
28856
|
capName: "recording",
|
|
28608
28857
|
capScope: "system",
|
|
@@ -28633,6 +28882,24 @@ Object.freeze({
|
|
|
28633
28882
|
addonId: null,
|
|
28634
28883
|
access: "view"
|
|
28635
28884
|
},
|
|
28885
|
+
"recording.relocateFootage": {
|
|
28886
|
+
capName: "recording",
|
|
28887
|
+
capScope: "system",
|
|
28888
|
+
addonId: null,
|
|
28889
|
+
access: "create"
|
|
28890
|
+
},
|
|
28891
|
+
"recording.renderClip": {
|
|
28892
|
+
capName: "recording",
|
|
28893
|
+
capScope: "system",
|
|
28894
|
+
addonId: null,
|
|
28895
|
+
access: "create"
|
|
28896
|
+
},
|
|
28897
|
+
"recording.renderGif": {
|
|
28898
|
+
capName: "recording",
|
|
28899
|
+
capScope: "system",
|
|
28900
|
+
addonId: null,
|
|
28901
|
+
access: "create"
|
|
28902
|
+
},
|
|
28636
28903
|
"recording.rescanStorage": {
|
|
28637
28904
|
capName: "recording",
|
|
28638
28905
|
capScope: "system",
|
|
@@ -29227,6 +29494,12 @@ Object.freeze({
|
|
|
29227
29494
|
addonId: null,
|
|
29228
29495
|
access: "create"
|
|
29229
29496
|
},
|
|
29497
|
+
"streamBroker.renderPreBufferClip": {
|
|
29498
|
+
capName: "stream-broker",
|
|
29499
|
+
capScope: "system",
|
|
29500
|
+
addonId: null,
|
|
29501
|
+
access: "create"
|
|
29502
|
+
},
|
|
29230
29503
|
"streamBroker.restartProfile": {
|
|
29231
29504
|
capName: "stream-broker",
|
|
29232
29505
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-hikvision",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
70
|
"runtimeDependencies": [
|
|
71
|
-
"onvif"
|
|
71
|
+
"onvif",
|
|
72
|
+
"werift"
|
|
72
73
|
]
|
|
73
74
|
},
|
|
74
75
|
"files": [
|