@camstack/addon-agent-ui 1.2.48 → 1.2.50
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 +291 -5
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -8021,6 +8021,20 @@ var RelocateJobSchema = object({
|
|
|
8021
8021
|
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8022
8022
|
*/
|
|
8023
8023
|
rowsReconciled: number().int().nonnegative().optional(),
|
|
8024
|
+
/**
|
|
8025
|
+
* Rows this run FORGOT because the file they name is not on disk.
|
|
8026
|
+
*
|
|
8027
|
+
* The mover derived the path from the row's own fields and `stat`ed it; an
|
|
8028
|
+
* ENOENT there is a per-path confirmation that the segment is gone (D296),
|
|
8029
|
+
* and the durable row is dropped through the same channel eviction uses. It
|
|
8030
|
+
* is reported for the same reason `rowsReconciled` is: this is a durable
|
|
8031
|
+
* mutation nobody asked for, and a migration that quietly erases hour rows is
|
|
8032
|
+
* the same failure as one that quietly skips them (D295).
|
|
8033
|
+
*
|
|
8034
|
+
* The production drain of 2026-08-30 would have reported 11 074 here — the
|
|
8035
|
+
* ledger claimed 5.65 GB of footage that no longer existed.
|
|
8036
|
+
*/
|
|
8037
|
+
rowsForgotten: number().int().nonnegative().optional(),
|
|
8024
8038
|
startedAt: number(),
|
|
8025
8039
|
finishedAt: number().nullable(),
|
|
8026
8040
|
error: string().nullable()
|
|
@@ -8384,6 +8398,91 @@ var RelocateResidueSchema = object({
|
|
|
8384
8398
|
segments: number().int().nonnegative(),
|
|
8385
8399
|
bytes: number().int().nonnegative()
|
|
8386
8400
|
}).nullable();
|
|
8401
|
+
/**
|
|
8402
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8403
|
+
* (D319).
|
|
8404
|
+
*
|
|
8405
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8406
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8407
|
+
* destructive run before authorising it.
|
|
8408
|
+
*/
|
|
8409
|
+
var LedgerWalkInputSchema = object({
|
|
8410
|
+
locationId: string().min(1),
|
|
8411
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8412
|
+
apply: boolean().optional(),
|
|
8413
|
+
/** Narrow to one camera. */
|
|
8414
|
+
deviceId: number().int().positive().optional(),
|
|
8415
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8416
|
+
profiles: array(string().min(1)).optional()
|
|
8417
|
+
});
|
|
8418
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8419
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8420
|
+
"location-unknown",
|
|
8421
|
+
"source-writable",
|
|
8422
|
+
"no-ledger",
|
|
8423
|
+
"archive-unreadable",
|
|
8424
|
+
"anchor-absent",
|
|
8425
|
+
"anchor-unreadable",
|
|
8426
|
+
"anchor-moved"
|
|
8427
|
+
]);
|
|
8428
|
+
_enum([
|
|
8429
|
+
"live-tail",
|
|
8430
|
+
"listing-error",
|
|
8431
|
+
"path-mismatch",
|
|
8432
|
+
"durable-refused"
|
|
8433
|
+
]);
|
|
8434
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8435
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8436
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8437
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8438
|
+
"live-tail": number().int().nonnegative(),
|
|
8439
|
+
"listing-error": number().int().nonnegative(),
|
|
8440
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8441
|
+
"durable-refused": number().int().nonnegative()
|
|
8442
|
+
});
|
|
8443
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8444
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8445
|
+
deviceId: number().int(),
|
|
8446
|
+
hoursWalked: number().int().nonnegative(),
|
|
8447
|
+
hoursMissing: number().int().nonnegative(),
|
|
8448
|
+
ghostSegments: number().int().nonnegative(),
|
|
8449
|
+
ghostBytes: number().int().nonnegative(),
|
|
8450
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8451
|
+
orphanFiles: number().int().nonnegative()
|
|
8452
|
+
});
|
|
8453
|
+
/**
|
|
8454
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8455
|
+
*
|
|
8456
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8457
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8458
|
+
* than in the absence of one.
|
|
8459
|
+
*/
|
|
8460
|
+
var LedgerWalkReportSchema = object({
|
|
8461
|
+
locationId: string(),
|
|
8462
|
+
applied: boolean(),
|
|
8463
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8464
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8465
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8466
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8467
|
+
hoursWalked: number().int().nonnegative(),
|
|
8468
|
+
hoursMissing: number().int().nonnegative(),
|
|
8469
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8470
|
+
listings: number().int().nonnegative(),
|
|
8471
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8472
|
+
ghostSegments: number().int().nonnegative(),
|
|
8473
|
+
ghostBytes: number().int().nonnegative(),
|
|
8474
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8475
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8476
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8477
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8478
|
+
orphanFiles: number().int().nonnegative(),
|
|
8479
|
+
orphanSample: array(string()).readonly(),
|
|
8480
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8481
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8482
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8483
|
+
bounded: boolean(),
|
|
8484
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8485
|
+
});
|
|
8387
8486
|
/** How many rows a media pass would still act on against a given target — the
|
|
8388
8487
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8389
8488
|
* never disagree. `null` = the count could not be taken. */
|
|
@@ -18657,13 +18756,15 @@ var ListGroupsPageSchema = object({
|
|
|
18657
18756
|
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
18658
18757
|
nextCursor: string().nullable()
|
|
18659
18758
|
});
|
|
18759
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
18760
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
18660
18761
|
var KeyEventQueryInput = object({
|
|
18661
18762
|
deviceId: number(),
|
|
18662
18763
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
18663
18764
|
since: number(),
|
|
18664
18765
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
18665
18766
|
until: number(),
|
|
18666
|
-
limit: number().int().min(1).max(
|
|
18767
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
18667
18768
|
/** Drop tracks scoring below this importance. */
|
|
18668
18769
|
minImportance: number().min(0).max(1).optional(),
|
|
18669
18770
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -18685,6 +18786,32 @@ var KeyEventSchema = object({
|
|
|
18685
18786
|
...TrackFlagFields,
|
|
18686
18787
|
...TrackRetrainFields
|
|
18687
18788
|
});
|
|
18789
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
18790
|
+
var KeyEventBatchQueryInput = object({
|
|
18791
|
+
deviceIds: array(number()).min(1).max(200),
|
|
18792
|
+
since: number(),
|
|
18793
|
+
until: number(),
|
|
18794
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
18795
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
18796
|
+
* rows and change what the merged feed contains. */
|
|
18797
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
18798
|
+
minImportance: number().min(0).max(1).optional(),
|
|
18799
|
+
classFilter: string().optional()
|
|
18800
|
+
});
|
|
18801
|
+
/**
|
|
18802
|
+
* One camera's key events in a batch answer.
|
|
18803
|
+
*
|
|
18804
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
18805
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
18806
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
18807
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
18808
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
18809
|
+
* key, which only worked because there was one query per camera).
|
|
18810
|
+
*/
|
|
18811
|
+
var KeyEventsForDeviceSchema = object({
|
|
18812
|
+
deviceId: number(),
|
|
18813
|
+
events: array(KeyEventSchema).readonly()
|
|
18814
|
+
});
|
|
18688
18815
|
object({
|
|
18689
18816
|
trackId: string(),
|
|
18690
18817
|
className: string(),
|
|
@@ -18756,6 +18883,50 @@ var EventStoreFootprintSchema = object({
|
|
|
18756
18883
|
totalBytes: number().int(),
|
|
18757
18884
|
devices: array(EventStoreDeviceFootprintSchema).readonly()
|
|
18758
18885
|
});
|
|
18886
|
+
/** Event-media footprint for one {@link MediaFileKind}. */
|
|
18887
|
+
var EventMediaKindFootprintSchema = object({
|
|
18888
|
+
kind: MediaFileKindEnum,
|
|
18889
|
+
/** Media rows of this kind. */
|
|
18890
|
+
rows: number().int(),
|
|
18891
|
+
/** Bytes on disk held by those rows. */
|
|
18892
|
+
bytes: number().int()
|
|
18893
|
+
});
|
|
18894
|
+
/**
|
|
18895
|
+
* The media footprint broken down by KIND — the axis a deletion decision
|
|
18896
|
+
* actually turns on.
|
|
18897
|
+
*
|
|
18898
|
+
* A byte total says how much there is; it cannot say what is safe to remove.
|
|
18899
|
+
* The deletable set (the periodic `snapshot` filmstrip, the surplus per-edge
|
|
18900
|
+
* motion stills) and the keep set (`firstFrame`, rolling `lastFrame`,
|
|
18901
|
+
* `thumbnail`/`thumbnailSmall`, `keyFrame`/`keyFrameSmall`, the face/plate
|
|
18902
|
+
* buffers, gallery media, the CLIP `crop`) are distinguished by `kind` and by
|
|
18903
|
+
* nothing else, so sizing a deletion means summing per kind.
|
|
18904
|
+
*
|
|
18905
|
+
* ## Why `unaccounted*` exists
|
|
18906
|
+
*
|
|
18907
|
+
* `kinds` is enumerated from {@link MediaFileKindEnum} — the closed set the
|
|
18908
|
+
* writers use — and summed one kind at a time. `totalRows` / `totalBytes` come
|
|
18909
|
+
* from a SEPARATE unfiltered aggregate over the same rows, never from adding
|
|
18910
|
+
* `kinds` up. A row whose stored `kind` is not in the enum (written by a
|
|
18911
|
+
* retired code path, or by a version that knew a kind this one does not) would
|
|
18912
|
+
* otherwise vanish from the total silently, and an operator would delete
|
|
18913
|
+
* against a denominator smaller than the disk.
|
|
18914
|
+
*
|
|
18915
|
+
* `unaccountedRows` / `unaccountedBytes` are the difference. They are normally
|
|
18916
|
+
* zero; a non-zero value is a real finding and must be shown, not rounded away.
|
|
18917
|
+
*/
|
|
18918
|
+
var EventMediaKindBreakdownSchema = object({
|
|
18919
|
+
/** Every media row in scope, from one unfiltered aggregate. */
|
|
18920
|
+
totalRows: number().int(),
|
|
18921
|
+
/** Every media byte in scope, from that same aggregate. */
|
|
18922
|
+
totalBytes: number().int(),
|
|
18923
|
+
/** Per-kind footprint, ordered by bytes descending. */
|
|
18924
|
+
kinds: array(EventMediaKindFootprintSchema).readonly(),
|
|
18925
|
+
/** `totalRows` minus the summed `kinds` rows — see the schema note. */
|
|
18926
|
+
unaccountedRows: number().int(),
|
|
18927
|
+
/** `totalBytes` minus the summed `kinds` bytes — see the schema note. */
|
|
18928
|
+
unaccountedBytes: number().int()
|
|
18929
|
+
});
|
|
18759
18930
|
/** Per-kind counts returned by the event-prune / device-delete mutations. */
|
|
18760
18931
|
var EventPruneCountsSchema = object({
|
|
18761
18932
|
motion: number().int(),
|
|
@@ -18910,7 +19081,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18910
19081
|
until: number().optional(),
|
|
18911
19082
|
kinds: array(string()).optional(),
|
|
18912
19083
|
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
18913
|
-
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
19084
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
18914
19085
|
deviceId: number(),
|
|
18915
19086
|
since: number(),
|
|
18916
19087
|
until: number(),
|
|
@@ -18959,6 +19130,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
18959
19130
|
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
18960
19131
|
kind: "query",
|
|
18961
19132
|
auth: "admin"
|
|
19133
|
+
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
19134
|
+
kind: "query",
|
|
19135
|
+
auth: "admin"
|
|
18962
19136
|
}), method(object({
|
|
18963
19137
|
olderThanMs: number(),
|
|
18964
19138
|
reason: OpsLogReasonSchema.optional()
|
|
@@ -20910,6 +21084,20 @@ method(object({
|
|
|
20910
21084
|
error: string().optional()
|
|
20911
21085
|
}), { auth: "admin" }), method(_void(), array(ProviderListEntrySchema).readonly()), method(object({
|
|
20912
21086
|
providerId: string(),
|
|
21087
|
+
/**
|
|
21088
|
+
* The location this config is an UNSAVED edit of, when there is one.
|
|
21089
|
+
*
|
|
21090
|
+
* `listLocations` replaces every declared secret with the redaction
|
|
21091
|
+
* sentinel, so the edit modal's form state holds the sentinel for any
|
|
21092
|
+
* credential the operator did not retype — and posting that here
|
|
21093
|
+
* without a way to resolve it makes the provider try to authenticate
|
|
21094
|
+
* as `__camstack_redacted__` and report the operator's own working
|
|
21095
|
+
* password as wrong. Given this id, the orchestrator restores each
|
|
21096
|
+
* sentinel from the stored config (same rule as `upsertLocation`)
|
|
21097
|
+
* before dispatching. Omitted by the "Add location" wizard, where
|
|
21098
|
+
* every value was typed just now and nothing is stored yet.
|
|
21099
|
+
*/
|
|
21100
|
+
locationId: string().optional(),
|
|
20913
21101
|
config: record(string(), unknown())
|
|
20914
21102
|
}), object({
|
|
20915
21103
|
ok: boolean(),
|
|
@@ -26545,6 +26733,9 @@ method(object({
|
|
|
26545
26733
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
26546
26734
|
kind: "query",
|
|
26547
26735
|
auth: "admin"
|
|
26736
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
26737
|
+
kind: "mutation",
|
|
26738
|
+
auth: "admin"
|
|
26548
26739
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
26549
26740
|
kind: "mutation",
|
|
26550
26741
|
auth: "admin"
|
|
@@ -26936,7 +27127,26 @@ var SceneMonitorStatusSchema = object({
|
|
|
26936
27127
|
monitors: array(SceneMonitorSchema),
|
|
26937
27128
|
lastFetchedAt: number()
|
|
26938
27129
|
});
|
|
26939
|
-
|
|
27130
|
+
/**
|
|
27131
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
27132
|
+
*
|
|
27133
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
27134
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
27135
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
27136
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
27137
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
27138
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
27139
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
27140
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
27141
|
+
*
|
|
27142
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
27143
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
27144
|
+
*/
|
|
27145
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
27146
|
+
deviceId: number(),
|
|
27147
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
27148
|
+
});
|
|
27149
|
+
DeviceType.Camera, method(object({ deviceId: number() }), SceneMonitorStatusSchema), method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()), method(object({
|
|
26940
27150
|
deviceId: number(),
|
|
26941
27151
|
label: string(),
|
|
26942
27152
|
roi: MaskRectShapeSchema,
|
|
@@ -28260,6 +28470,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
28260
28470
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
28261
28471
|
});
|
|
28262
28472
|
/**
|
|
28473
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
28474
|
+
*
|
|
28475
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
28476
|
+
* because `snapshot: null` was already spoken for:
|
|
28477
|
+
*
|
|
28478
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
28479
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
28480
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
28481
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
28482
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
28483
|
+
*
|
|
28484
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
28485
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
28486
|
+
* which is a definite claim about a camera nobody could read.
|
|
28487
|
+
*/
|
|
28488
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
28489
|
+
deviceId: number(),
|
|
28490
|
+
read: _enum(["read", "unreadable"]),
|
|
28491
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
28492
|
+
});
|
|
28493
|
+
/**
|
|
28263
28494
|
* Time-series resolution. The history methods return one bucket per
|
|
28264
28495
|
* step over the requested range. Smaller resolutions cost more
|
|
28265
28496
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -28283,7 +28514,7 @@ var HistoryPointSchema = object({
|
|
|
28283
28514
|
/** Object count averaged over the bucket (rounded to nearest integer). */
|
|
28284
28515
|
count: number().int().nonnegative()
|
|
28285
28516
|
});
|
|
28286
|
-
DeviceType.Camera, method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()), method(object({
|
|
28517
|
+
DeviceType.Camera, method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()), method(object({
|
|
28287
28518
|
deviceId: number(),
|
|
28288
28519
|
zoneId: string(),
|
|
28289
28520
|
className: string().optional()
|
|
@@ -31564,6 +31795,12 @@ Object.freeze({
|
|
|
31564
31795
|
addonId: null,
|
|
31565
31796
|
access: "view"
|
|
31566
31797
|
},
|
|
31798
|
+
"pipelineAnalytics.getEventMediaFootprintByKind": {
|
|
31799
|
+
capName: "pipeline-analytics",
|
|
31800
|
+
capScope: "device",
|
|
31801
|
+
addonId: null,
|
|
31802
|
+
access: "view"
|
|
31803
|
+
},
|
|
31567
31804
|
"pipelineAnalytics.getEventStoreFootprint": {
|
|
31568
31805
|
capName: "pipeline-analytics",
|
|
31569
31806
|
capScope: "device",
|
|
@@ -31582,6 +31819,12 @@ Object.freeze({
|
|
|
31582
31819
|
addonId: null,
|
|
31583
31820
|
access: "view"
|
|
31584
31821
|
},
|
|
31822
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
31823
|
+
capName: "pipeline-analytics",
|
|
31824
|
+
capScope: "device",
|
|
31825
|
+
addonId: null,
|
|
31826
|
+
access: "view"
|
|
31827
|
+
},
|
|
31585
31828
|
"pipelineAnalytics.getMotionEvents": {
|
|
31586
31829
|
capName: "pipeline-analytics",
|
|
31587
31830
|
capScope: "device",
|
|
@@ -32758,6 +33001,12 @@ Object.freeze({
|
|
|
32758
33001
|
addonId: null,
|
|
32759
33002
|
access: "view"
|
|
32760
33003
|
},
|
|
33004
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
33005
|
+
capName: "recording",
|
|
33006
|
+
capScope: "system",
|
|
33007
|
+
addonId: null,
|
|
33008
|
+
access: "create"
|
|
33009
|
+
},
|
|
32761
33010
|
"recording.refreshStorageLocationsForMigration": {
|
|
32762
33011
|
capName: "recording",
|
|
32763
33012
|
capScope: "system",
|
|
@@ -32884,6 +33133,12 @@ Object.freeze({
|
|
|
32884
33133
|
addonId: null,
|
|
32885
33134
|
access: "view"
|
|
32886
33135
|
},
|
|
33136
|
+
"sceneMonitor.listScenesBatch": {
|
|
33137
|
+
capName: "scene-monitor",
|
|
33138
|
+
capScope: "device",
|
|
33139
|
+
addonId: null,
|
|
33140
|
+
access: "view"
|
|
33141
|
+
},
|
|
32887
33142
|
"sceneMonitor.recheckNow": {
|
|
32888
33143
|
capName: "scene-monitor",
|
|
32889
33144
|
capScope: "device",
|
|
@@ -34240,6 +34495,12 @@ Object.freeze({
|
|
|
34240
34495
|
addonId: null,
|
|
34241
34496
|
access: "view"
|
|
34242
34497
|
},
|
|
34498
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
34499
|
+
capName: "zone-analytics",
|
|
34500
|
+
capScope: "device",
|
|
34501
|
+
addonId: null,
|
|
34502
|
+
access: "view"
|
|
34503
|
+
},
|
|
34243
34504
|
"zoneAnalytics.getUnzonedHistory": {
|
|
34244
34505
|
capName: "zone-analytics",
|
|
34245
34506
|
capScope: "device",
|
|
@@ -35229,6 +35490,11 @@ Object.freeze({
|
|
|
35229
35490
|
form: "single",
|
|
35230
35491
|
optional: false
|
|
35231
35492
|
}],
|
|
35493
|
+
"pipelineAnalytics.getEventMediaFootprintByKind": [{
|
|
35494
|
+
name: "deviceId",
|
|
35495
|
+
form: "single",
|
|
35496
|
+
optional: true
|
|
35497
|
+
}],
|
|
35232
35498
|
"pipelineAnalytics.getGroup": [{
|
|
35233
35499
|
name: "deviceId",
|
|
35234
35500
|
form: "single",
|
|
@@ -35239,6 +35505,11 @@ Object.freeze({
|
|
|
35239
35505
|
form: "single",
|
|
35240
35506
|
optional: false
|
|
35241
35507
|
}],
|
|
35508
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
35509
|
+
name: "deviceIds",
|
|
35510
|
+
form: "array",
|
|
35511
|
+
optional: false
|
|
35512
|
+
}],
|
|
35242
35513
|
"pipelineAnalytics.getMotionEvents": [{
|
|
35243
35514
|
name: "deviceId",
|
|
35244
35515
|
form: "single",
|
|
@@ -35679,6 +35950,11 @@ Object.freeze({
|
|
|
35679
35950
|
form: "single",
|
|
35680
35951
|
optional: false
|
|
35681
35952
|
}],
|
|
35953
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
35954
|
+
name: "deviceId",
|
|
35955
|
+
form: "single",
|
|
35956
|
+
optional: true
|
|
35957
|
+
}],
|
|
35682
35958
|
"recording.relocateFootage": [{
|
|
35683
35959
|
name: "deviceId",
|
|
35684
35960
|
form: "single",
|
|
@@ -35744,6 +36020,11 @@ Object.freeze({
|
|
|
35744
36020
|
form: "single",
|
|
35745
36021
|
optional: false
|
|
35746
36022
|
}],
|
|
36023
|
+
"sceneMonitor.listScenesBatch": [{
|
|
36024
|
+
name: "deviceIds",
|
|
36025
|
+
form: "array",
|
|
36026
|
+
optional: false
|
|
36027
|
+
}],
|
|
35747
36028
|
"sceneMonitor.recheckNow": [{
|
|
35748
36029
|
name: "deviceId",
|
|
35749
36030
|
form: "single",
|
|
@@ -36005,6 +36286,11 @@ Object.freeze({
|
|
|
36005
36286
|
form: "single",
|
|
36006
36287
|
optional: false
|
|
36007
36288
|
}],
|
|
36289
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
36290
|
+
name: "deviceIds",
|
|
36291
|
+
form: "array",
|
|
36292
|
+
optional: false
|
|
36293
|
+
}],
|
|
36008
36294
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
36009
36295
|
name: "deviceId",
|
|
36010
36296
|
form: "single",
|
|
@@ -36558,7 +36844,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
36558
36844
|
capability: adminUiCapability,
|
|
36559
36845
|
provider: {
|
|
36560
36846
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
36561
|
-
getVersion: async () => ({ version: "1.2.
|
|
36847
|
+
getVersion: async () => ({ version: "1.2.50" })
|
|
36562
36848
|
}
|
|
36563
36849
|
}];
|
|
36564
36850
|
}
|