@camstack/addon-provider-unifi 0.2.48 → 0.2.49
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 +246 -2
- package/dist/addon.mjs +246 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -8018,6 +8018,20 @@ var RelocateJobSchema = object({
|
|
|
8018
8018
|
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8019
8019
|
*/
|
|
8020
8020
|
rowsReconciled: number().int().nonnegative().optional(),
|
|
8021
|
+
/**
|
|
8022
|
+
* Rows this run FORGOT because the file they name is not on disk.
|
|
8023
|
+
*
|
|
8024
|
+
* The mover derived the path from the row's own fields and `stat`ed it; an
|
|
8025
|
+
* ENOENT there is a per-path confirmation that the segment is gone (D296),
|
|
8026
|
+
* and the durable row is dropped through the same channel eviction uses. It
|
|
8027
|
+
* is reported for the same reason `rowsReconciled` is: this is a durable
|
|
8028
|
+
* mutation nobody asked for, and a migration that quietly erases hour rows is
|
|
8029
|
+
* the same failure as one that quietly skips them (D295).
|
|
8030
|
+
*
|
|
8031
|
+
* The production drain of 2026-08-30 would have reported 11 074 here — the
|
|
8032
|
+
* ledger claimed 5.65 GB of footage that no longer existed.
|
|
8033
|
+
*/
|
|
8034
|
+
rowsForgotten: number().int().nonnegative().optional(),
|
|
8021
8035
|
startedAt: number(),
|
|
8022
8036
|
finishedAt: number().nullable(),
|
|
8023
8037
|
error: string().nullable()
|
|
@@ -8381,6 +8395,91 @@ var RelocateResidueSchema = object({
|
|
|
8381
8395
|
segments: number().int().nonnegative(),
|
|
8382
8396
|
bytes: number().int().nonnegative()
|
|
8383
8397
|
}).nullable();
|
|
8398
|
+
/**
|
|
8399
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8400
|
+
* (D319).
|
|
8401
|
+
*
|
|
8402
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8403
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8404
|
+
* destructive run before authorising it.
|
|
8405
|
+
*/
|
|
8406
|
+
var LedgerWalkInputSchema = object({
|
|
8407
|
+
locationId: string().min(1),
|
|
8408
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8409
|
+
apply: boolean().optional(),
|
|
8410
|
+
/** Narrow to one camera. */
|
|
8411
|
+
deviceId: number().int().positive().optional(),
|
|
8412
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8413
|
+
profiles: array(string().min(1)).optional()
|
|
8414
|
+
});
|
|
8415
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8416
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8417
|
+
"location-unknown",
|
|
8418
|
+
"source-writable",
|
|
8419
|
+
"no-ledger",
|
|
8420
|
+
"archive-unreadable",
|
|
8421
|
+
"anchor-absent",
|
|
8422
|
+
"anchor-unreadable",
|
|
8423
|
+
"anchor-moved"
|
|
8424
|
+
]);
|
|
8425
|
+
_enum([
|
|
8426
|
+
"live-tail",
|
|
8427
|
+
"listing-error",
|
|
8428
|
+
"path-mismatch",
|
|
8429
|
+
"durable-refused"
|
|
8430
|
+
]);
|
|
8431
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8432
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8433
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8434
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8435
|
+
"live-tail": number().int().nonnegative(),
|
|
8436
|
+
"listing-error": number().int().nonnegative(),
|
|
8437
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8438
|
+
"durable-refused": number().int().nonnegative()
|
|
8439
|
+
});
|
|
8440
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8441
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8442
|
+
deviceId: number().int(),
|
|
8443
|
+
hoursWalked: number().int().nonnegative(),
|
|
8444
|
+
hoursMissing: number().int().nonnegative(),
|
|
8445
|
+
ghostSegments: number().int().nonnegative(),
|
|
8446
|
+
ghostBytes: number().int().nonnegative(),
|
|
8447
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8448
|
+
orphanFiles: number().int().nonnegative()
|
|
8449
|
+
});
|
|
8450
|
+
/**
|
|
8451
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8452
|
+
*
|
|
8453
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8454
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8455
|
+
* than in the absence of one.
|
|
8456
|
+
*/
|
|
8457
|
+
var LedgerWalkReportSchema = object({
|
|
8458
|
+
locationId: string(),
|
|
8459
|
+
applied: boolean(),
|
|
8460
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8461
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8462
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8463
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8464
|
+
hoursWalked: number().int().nonnegative(),
|
|
8465
|
+
hoursMissing: number().int().nonnegative(),
|
|
8466
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8467
|
+
listings: number().int().nonnegative(),
|
|
8468
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8469
|
+
ghostSegments: number().int().nonnegative(),
|
|
8470
|
+
ghostBytes: number().int().nonnegative(),
|
|
8471
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8472
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8473
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8474
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8475
|
+
orphanFiles: number().int().nonnegative(),
|
|
8476
|
+
orphanSample: array(string()).readonly(),
|
|
8477
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8478
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8479
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8480
|
+
bounded: boolean(),
|
|
8481
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8482
|
+
});
|
|
8384
8483
|
/** How many rows a media pass would still act on against a given target — the
|
|
8385
8484
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8386
8485
|
* never disagree. `null` = the count could not be taken. */
|
|
@@ -18996,13 +19095,15 @@ var ListGroupsPageSchema = object({
|
|
|
18996
19095
|
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
18997
19096
|
nextCursor: string().nullable()
|
|
18998
19097
|
});
|
|
19098
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
19099
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
18999
19100
|
var KeyEventQueryInput = object({
|
|
19000
19101
|
deviceId: number(),
|
|
19001
19102
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
19002
19103
|
since: number(),
|
|
19003
19104
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
19004
19105
|
until: number(),
|
|
19005
|
-
limit: number().int().min(1).max(
|
|
19106
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19006
19107
|
/** Drop tracks scoring below this importance. */
|
|
19007
19108
|
minImportance: number().min(0).max(1).optional(),
|
|
19008
19109
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -19024,6 +19125,32 @@ var KeyEventSchema = object({
|
|
|
19024
19125
|
...TrackFlagFields,
|
|
19025
19126
|
...TrackRetrainFields
|
|
19026
19127
|
});
|
|
19128
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
19129
|
+
var KeyEventBatchQueryInput = object({
|
|
19130
|
+
deviceIds: array(number()).min(1).max(200),
|
|
19131
|
+
since: number(),
|
|
19132
|
+
until: number(),
|
|
19133
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
19134
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
19135
|
+
* rows and change what the merged feed contains. */
|
|
19136
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19137
|
+
minImportance: number().min(0).max(1).optional(),
|
|
19138
|
+
classFilter: string().optional()
|
|
19139
|
+
});
|
|
19140
|
+
/**
|
|
19141
|
+
* One camera's key events in a batch answer.
|
|
19142
|
+
*
|
|
19143
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
19144
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
19145
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
19146
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
19147
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
19148
|
+
* key, which only worked because there was one query per camera).
|
|
19149
|
+
*/
|
|
19150
|
+
var KeyEventsForDeviceSchema = object({
|
|
19151
|
+
deviceId: number(),
|
|
19152
|
+
events: array(KeyEventSchema).readonly()
|
|
19153
|
+
});
|
|
19027
19154
|
object({
|
|
19028
19155
|
trackId: string(),
|
|
19029
19156
|
className: string(),
|
|
@@ -19293,7 +19420,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19293
19420
|
until: number().optional(),
|
|
19294
19421
|
kinds: array(string()).optional(),
|
|
19295
19422
|
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
19296
|
-
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
19423
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
19297
19424
|
deviceId: number(),
|
|
19298
19425
|
since: number(),
|
|
19299
19426
|
until: number(),
|
|
@@ -28677,6 +28804,9 @@ method(object({
|
|
|
28677
28804
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
28678
28805
|
kind: "query",
|
|
28679
28806
|
auth: "admin"
|
|
28807
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
28808
|
+
kind: "mutation",
|
|
28809
|
+
auth: "admin"
|
|
28680
28810
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
28681
28811
|
kind: "mutation",
|
|
28682
28812
|
auth: "admin"
|
|
@@ -29068,6 +29198,25 @@ var SceneMonitorStatusSchema = object({
|
|
|
29068
29198
|
monitors: array(SceneMonitorSchema),
|
|
29069
29199
|
lastFetchedAt: number()
|
|
29070
29200
|
});
|
|
29201
|
+
/**
|
|
29202
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
29203
|
+
*
|
|
29204
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
29205
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
29206
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
29207
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
29208
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
29209
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
29210
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
29211
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
29212
|
+
*
|
|
29213
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
29214
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
29215
|
+
*/
|
|
29216
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
29217
|
+
deviceId: number(),
|
|
29218
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
29219
|
+
});
|
|
29071
29220
|
var sceneMonitorCapability = {
|
|
29072
29221
|
name: "scene-monitor",
|
|
29073
29222
|
scope: "device",
|
|
@@ -29077,6 +29226,22 @@ var sceneMonitorCapability = {
|
|
|
29077
29226
|
deviceTypes: [DeviceType.Camera],
|
|
29078
29227
|
methods: {
|
|
29079
29228
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
29229
|
+
/**
|
|
29230
|
+
* The same answer, for a SET of cameras, in one round trip.
|
|
29231
|
+
*
|
|
29232
|
+
* `/scenes` renders every camera and re-reads them on a 30s safety-net
|
|
29233
|
+
* poll behind the push slice. Fanned out client-side that was one query
|
|
29234
|
+
* per camera — 29 round trips through the browser, the hub and the
|
|
29235
|
+
* post-analysis runner every 30 seconds to read an in-memory map the
|
|
29236
|
+
* owner had already merged. The work is unchanged (`statusFor` per
|
|
29237
|
+
* device, all in-process at the owner); what collapses is the transport.
|
|
29238
|
+
*
|
|
29239
|
+
* A camera that cannot answer still gets a row, with `status: null` —
|
|
29240
|
+
* see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
|
|
29241
|
+
* ids: a caller that asked for twenty-nine and got twenty-seven cannot
|
|
29242
|
+
* tell which two are missing, or that any are.
|
|
29243
|
+
*/
|
|
29244
|
+
listScenesBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
29080
29245
|
createScene: method(object({
|
|
29081
29246
|
deviceId: number(),
|
|
29082
29247
|
label: string(),
|
|
@@ -30912,6 +31077,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
30912
31077
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
30913
31078
|
});
|
|
30914
31079
|
/**
|
|
31080
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
31081
|
+
*
|
|
31082
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
31083
|
+
* because `snapshot: null` was already spoken for:
|
|
31084
|
+
*
|
|
31085
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
31086
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
31087
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
31088
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
31089
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
31090
|
+
*
|
|
31091
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
31092
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
31093
|
+
* which is a definite claim about a camera nobody could read.
|
|
31094
|
+
*/
|
|
31095
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
31096
|
+
deviceId: number(),
|
|
31097
|
+
read: _enum(["read", "unreadable"]),
|
|
31098
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
31099
|
+
});
|
|
31100
|
+
/**
|
|
30915
31101
|
* Time-series resolution. The history methods return one bucket per
|
|
30916
31102
|
* step over the requested range. Smaller resolutions cost more
|
|
30917
31103
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -30968,6 +31154,20 @@ var zoneAnalyticsCapability = {
|
|
|
30968
31154
|
* (no inference result emitted since boot or since binding was
|
|
30969
31155
|
* activated). */
|
|
30970
31156
|
getCurrentSnapshot: method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()),
|
|
31157
|
+
/**
|
|
31158
|
+
* The same snapshot, for a SET of cameras, in one round trip.
|
|
31159
|
+
*
|
|
31160
|
+
* The Events page's Stationary section polls this every 15s for every
|
|
31161
|
+
* selected camera. Fanned out client-side that is one query per camera to
|
|
31162
|
+
* read a `Map.get` at the owner — the answer costs nothing, the round trip
|
|
31163
|
+
* costs everything. Batched, N transports become one and the per-device
|
|
31164
|
+
* work is unchanged.
|
|
31165
|
+
*
|
|
31166
|
+
* Every requested deviceId gets a row, tagged `read` — see
|
|
31167
|
+
* {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
|
|
31168
|
+
* not answer for is `'unreadable'`, never an empty reading.
|
|
31169
|
+
*/
|
|
31170
|
+
getCurrentSnapshotBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()),
|
|
30971
31171
|
/** Time-series object count inside one zone. `className` optional —
|
|
30972
31172
|
* omit to count every class in the zone. */
|
|
30973
31173
|
getZoneHistory: method(object({
|
|
@@ -35389,6 +35589,12 @@ Object.freeze({
|
|
|
35389
35589
|
addonId: null,
|
|
35390
35590
|
access: "view"
|
|
35391
35591
|
},
|
|
35592
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
35593
|
+
capName: "pipeline-analytics",
|
|
35594
|
+
capScope: "device",
|
|
35595
|
+
addonId: null,
|
|
35596
|
+
access: "view"
|
|
35597
|
+
},
|
|
35392
35598
|
"pipelineAnalytics.getMotionEvents": {
|
|
35393
35599
|
capName: "pipeline-analytics",
|
|
35394
35600
|
capScope: "device",
|
|
@@ -36565,6 +36771,12 @@ Object.freeze({
|
|
|
36565
36771
|
addonId: null,
|
|
36566
36772
|
access: "view"
|
|
36567
36773
|
},
|
|
36774
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
36775
|
+
capName: "recording",
|
|
36776
|
+
capScope: "system",
|
|
36777
|
+
addonId: null,
|
|
36778
|
+
access: "create"
|
|
36779
|
+
},
|
|
36568
36780
|
"recording.refreshStorageLocationsForMigration": {
|
|
36569
36781
|
capName: "recording",
|
|
36570
36782
|
capScope: "system",
|
|
@@ -36691,6 +36903,12 @@ Object.freeze({
|
|
|
36691
36903
|
addonId: null,
|
|
36692
36904
|
access: "view"
|
|
36693
36905
|
},
|
|
36906
|
+
"sceneMonitor.listScenesBatch": {
|
|
36907
|
+
capName: "scene-monitor",
|
|
36908
|
+
capScope: "device",
|
|
36909
|
+
addonId: null,
|
|
36910
|
+
access: "view"
|
|
36911
|
+
},
|
|
36694
36912
|
"sceneMonitor.recheckNow": {
|
|
36695
36913
|
capName: "scene-monitor",
|
|
36696
36914
|
capScope: "device",
|
|
@@ -38047,6 +38265,12 @@ Object.freeze({
|
|
|
38047
38265
|
addonId: null,
|
|
38048
38266
|
access: "view"
|
|
38049
38267
|
},
|
|
38268
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
38269
|
+
capName: "zone-analytics",
|
|
38270
|
+
capScope: "device",
|
|
38271
|
+
addonId: null,
|
|
38272
|
+
access: "view"
|
|
38273
|
+
},
|
|
38050
38274
|
"zoneAnalytics.getUnzonedHistory": {
|
|
38051
38275
|
capName: "zone-analytics",
|
|
38052
38276
|
capScope: "device",
|
|
@@ -39051,6 +39275,11 @@ Object.freeze({
|
|
|
39051
39275
|
form: "single",
|
|
39052
39276
|
optional: false
|
|
39053
39277
|
}],
|
|
39278
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
39279
|
+
name: "deviceIds",
|
|
39280
|
+
form: "array",
|
|
39281
|
+
optional: false
|
|
39282
|
+
}],
|
|
39054
39283
|
"pipelineAnalytics.getMotionEvents": [{
|
|
39055
39284
|
name: "deviceId",
|
|
39056
39285
|
form: "single",
|
|
@@ -39491,6 +39720,11 @@ Object.freeze({
|
|
|
39491
39720
|
form: "single",
|
|
39492
39721
|
optional: false
|
|
39493
39722
|
}],
|
|
39723
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
39724
|
+
name: "deviceId",
|
|
39725
|
+
form: "single",
|
|
39726
|
+
optional: true
|
|
39727
|
+
}],
|
|
39494
39728
|
"recording.relocateFootage": [{
|
|
39495
39729
|
name: "deviceId",
|
|
39496
39730
|
form: "single",
|
|
@@ -39556,6 +39790,11 @@ Object.freeze({
|
|
|
39556
39790
|
form: "single",
|
|
39557
39791
|
optional: false
|
|
39558
39792
|
}],
|
|
39793
|
+
"sceneMonitor.listScenesBatch": [{
|
|
39794
|
+
name: "deviceIds",
|
|
39795
|
+
form: "array",
|
|
39796
|
+
optional: false
|
|
39797
|
+
}],
|
|
39559
39798
|
"sceneMonitor.recheckNow": [{
|
|
39560
39799
|
name: "deviceId",
|
|
39561
39800
|
form: "single",
|
|
@@ -39817,6 +40056,11 @@ Object.freeze({
|
|
|
39817
40056
|
form: "single",
|
|
39818
40057
|
optional: false
|
|
39819
40058
|
}],
|
|
40059
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
40060
|
+
name: "deviceIds",
|
|
40061
|
+
form: "array",
|
|
40062
|
+
optional: false
|
|
40063
|
+
}],
|
|
39820
40064
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
39821
40065
|
name: "deviceId",
|
|
39822
40066
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -8017,6 +8017,20 @@ var RelocateJobSchema = object({
|
|
|
8017
8017
|
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8018
8018
|
*/
|
|
8019
8019
|
rowsReconciled: number().int().nonnegative().optional(),
|
|
8020
|
+
/**
|
|
8021
|
+
* Rows this run FORGOT because the file they name is not on disk.
|
|
8022
|
+
*
|
|
8023
|
+
* The mover derived the path from the row's own fields and `stat`ed it; an
|
|
8024
|
+
* ENOENT there is a per-path confirmation that the segment is gone (D296),
|
|
8025
|
+
* and the durable row is dropped through the same channel eviction uses. It
|
|
8026
|
+
* is reported for the same reason `rowsReconciled` is: this is a durable
|
|
8027
|
+
* mutation nobody asked for, and a migration that quietly erases hour rows is
|
|
8028
|
+
* the same failure as one that quietly skips them (D295).
|
|
8029
|
+
*
|
|
8030
|
+
* The production drain of 2026-08-30 would have reported 11 074 here — the
|
|
8031
|
+
* ledger claimed 5.65 GB of footage that no longer existed.
|
|
8032
|
+
*/
|
|
8033
|
+
rowsForgotten: number().int().nonnegative().optional(),
|
|
8020
8034
|
startedAt: number(),
|
|
8021
8035
|
finishedAt: number().nullable(),
|
|
8022
8036
|
error: string().nullable()
|
|
@@ -8380,6 +8394,91 @@ var RelocateResidueSchema = object({
|
|
|
8380
8394
|
segments: number().int().nonnegative(),
|
|
8381
8395
|
bytes: number().int().nonnegative()
|
|
8382
8396
|
}).nullable();
|
|
8397
|
+
/**
|
|
8398
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8399
|
+
* (D319).
|
|
8400
|
+
*
|
|
8401
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8402
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8403
|
+
* destructive run before authorising it.
|
|
8404
|
+
*/
|
|
8405
|
+
var LedgerWalkInputSchema = object({
|
|
8406
|
+
locationId: string().min(1),
|
|
8407
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8408
|
+
apply: boolean().optional(),
|
|
8409
|
+
/** Narrow to one camera. */
|
|
8410
|
+
deviceId: number().int().positive().optional(),
|
|
8411
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8412
|
+
profiles: array(string().min(1)).optional()
|
|
8413
|
+
});
|
|
8414
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8415
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8416
|
+
"location-unknown",
|
|
8417
|
+
"source-writable",
|
|
8418
|
+
"no-ledger",
|
|
8419
|
+
"archive-unreadable",
|
|
8420
|
+
"anchor-absent",
|
|
8421
|
+
"anchor-unreadable",
|
|
8422
|
+
"anchor-moved"
|
|
8423
|
+
]);
|
|
8424
|
+
_enum([
|
|
8425
|
+
"live-tail",
|
|
8426
|
+
"listing-error",
|
|
8427
|
+
"path-mismatch",
|
|
8428
|
+
"durable-refused"
|
|
8429
|
+
]);
|
|
8430
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8431
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8432
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8433
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8434
|
+
"live-tail": number().int().nonnegative(),
|
|
8435
|
+
"listing-error": number().int().nonnegative(),
|
|
8436
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8437
|
+
"durable-refused": number().int().nonnegative()
|
|
8438
|
+
});
|
|
8439
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8440
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8441
|
+
deviceId: number().int(),
|
|
8442
|
+
hoursWalked: number().int().nonnegative(),
|
|
8443
|
+
hoursMissing: number().int().nonnegative(),
|
|
8444
|
+
ghostSegments: number().int().nonnegative(),
|
|
8445
|
+
ghostBytes: number().int().nonnegative(),
|
|
8446
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8447
|
+
orphanFiles: number().int().nonnegative()
|
|
8448
|
+
});
|
|
8449
|
+
/**
|
|
8450
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8451
|
+
*
|
|
8452
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8453
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8454
|
+
* than in the absence of one.
|
|
8455
|
+
*/
|
|
8456
|
+
var LedgerWalkReportSchema = object({
|
|
8457
|
+
locationId: string(),
|
|
8458
|
+
applied: boolean(),
|
|
8459
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8460
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8461
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8462
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8463
|
+
hoursWalked: number().int().nonnegative(),
|
|
8464
|
+
hoursMissing: number().int().nonnegative(),
|
|
8465
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8466
|
+
listings: number().int().nonnegative(),
|
|
8467
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8468
|
+
ghostSegments: number().int().nonnegative(),
|
|
8469
|
+
ghostBytes: number().int().nonnegative(),
|
|
8470
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8471
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8472
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8473
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8474
|
+
orphanFiles: number().int().nonnegative(),
|
|
8475
|
+
orphanSample: array(string()).readonly(),
|
|
8476
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8477
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8478
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8479
|
+
bounded: boolean(),
|
|
8480
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8481
|
+
});
|
|
8383
8482
|
/** How many rows a media pass would still act on against a given target — the
|
|
8384
8483
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8385
8484
|
* never disagree. `null` = the count could not be taken. */
|
|
@@ -18995,13 +19094,15 @@ var ListGroupsPageSchema = object({
|
|
|
18995
19094
|
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
18996
19095
|
nextCursor: string().nullable()
|
|
18997
19096
|
});
|
|
19097
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
19098
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
18998
19099
|
var KeyEventQueryInput = object({
|
|
18999
19100
|
deviceId: number(),
|
|
19000
19101
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
19001
19102
|
since: number(),
|
|
19002
19103
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
19003
19104
|
until: number(),
|
|
19004
|
-
limit: number().int().min(1).max(
|
|
19105
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19005
19106
|
/** Drop tracks scoring below this importance. */
|
|
19006
19107
|
minImportance: number().min(0).max(1).optional(),
|
|
19007
19108
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -19023,6 +19124,32 @@ var KeyEventSchema = object({
|
|
|
19023
19124
|
...TrackFlagFields,
|
|
19024
19125
|
...TrackRetrainFields
|
|
19025
19126
|
});
|
|
19127
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
19128
|
+
var KeyEventBatchQueryInput = object({
|
|
19129
|
+
deviceIds: array(number()).min(1).max(200),
|
|
19130
|
+
since: number(),
|
|
19131
|
+
until: number(),
|
|
19132
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
19133
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
19134
|
+
* rows and change what the merged feed contains. */
|
|
19135
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19136
|
+
minImportance: number().min(0).max(1).optional(),
|
|
19137
|
+
classFilter: string().optional()
|
|
19138
|
+
});
|
|
19139
|
+
/**
|
|
19140
|
+
* One camera's key events in a batch answer.
|
|
19141
|
+
*
|
|
19142
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
19143
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
19144
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
19145
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
19146
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
19147
|
+
* key, which only worked because there was one query per camera).
|
|
19148
|
+
*/
|
|
19149
|
+
var KeyEventsForDeviceSchema = object({
|
|
19150
|
+
deviceId: number(),
|
|
19151
|
+
events: array(KeyEventSchema).readonly()
|
|
19152
|
+
});
|
|
19026
19153
|
object({
|
|
19027
19154
|
trackId: string(),
|
|
19028
19155
|
className: string(),
|
|
@@ -19292,7 +19419,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19292
19419
|
until: number().optional(),
|
|
19293
19420
|
kinds: array(string()).optional(),
|
|
19294
19421
|
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
19295
|
-
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
19422
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
19296
19423
|
deviceId: number(),
|
|
19297
19424
|
since: number(),
|
|
19298
19425
|
until: number(),
|
|
@@ -28676,6 +28803,9 @@ method(object({
|
|
|
28676
28803
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
28677
28804
|
kind: "query",
|
|
28678
28805
|
auth: "admin"
|
|
28806
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
28807
|
+
kind: "mutation",
|
|
28808
|
+
auth: "admin"
|
|
28679
28809
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
28680
28810
|
kind: "mutation",
|
|
28681
28811
|
auth: "admin"
|
|
@@ -29067,6 +29197,25 @@ var SceneMonitorStatusSchema = object({
|
|
|
29067
29197
|
monitors: array(SceneMonitorSchema),
|
|
29068
29198
|
lastFetchedAt: number()
|
|
29069
29199
|
});
|
|
29200
|
+
/**
|
|
29201
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
29202
|
+
*
|
|
29203
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
29204
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
29205
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
29206
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
29207
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
29208
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
29209
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
29210
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
29211
|
+
*
|
|
29212
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
29213
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
29214
|
+
*/
|
|
29215
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
29216
|
+
deviceId: number(),
|
|
29217
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
29218
|
+
});
|
|
29070
29219
|
var sceneMonitorCapability = {
|
|
29071
29220
|
name: "scene-monitor",
|
|
29072
29221
|
scope: "device",
|
|
@@ -29076,6 +29225,22 @@ var sceneMonitorCapability = {
|
|
|
29076
29225
|
deviceTypes: [DeviceType.Camera],
|
|
29077
29226
|
methods: {
|
|
29078
29227
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
29228
|
+
/**
|
|
29229
|
+
* The same answer, for a SET of cameras, in one round trip.
|
|
29230
|
+
*
|
|
29231
|
+
* `/scenes` renders every camera and re-reads them on a 30s safety-net
|
|
29232
|
+
* poll behind the push slice. Fanned out client-side that was one query
|
|
29233
|
+
* per camera — 29 round trips through the browser, the hub and the
|
|
29234
|
+
* post-analysis runner every 30 seconds to read an in-memory map the
|
|
29235
|
+
* owner had already merged. The work is unchanged (`statusFor` per
|
|
29236
|
+
* device, all in-process at the owner); what collapses is the transport.
|
|
29237
|
+
*
|
|
29238
|
+
* A camera that cannot answer still gets a row, with `status: null` —
|
|
29239
|
+
* see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
|
|
29240
|
+
* ids: a caller that asked for twenty-nine and got twenty-seven cannot
|
|
29241
|
+
* tell which two are missing, or that any are.
|
|
29242
|
+
*/
|
|
29243
|
+
listScenesBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
29079
29244
|
createScene: method(object({
|
|
29080
29245
|
deviceId: number(),
|
|
29081
29246
|
label: string(),
|
|
@@ -30911,6 +31076,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
30911
31076
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
30912
31077
|
});
|
|
30913
31078
|
/**
|
|
31079
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
31080
|
+
*
|
|
31081
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
31082
|
+
* because `snapshot: null` was already spoken for:
|
|
31083
|
+
*
|
|
31084
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
31085
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
31086
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
31087
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
31088
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
31089
|
+
*
|
|
31090
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
31091
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
31092
|
+
* which is a definite claim about a camera nobody could read.
|
|
31093
|
+
*/
|
|
31094
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
31095
|
+
deviceId: number(),
|
|
31096
|
+
read: _enum(["read", "unreadable"]),
|
|
31097
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
31098
|
+
});
|
|
31099
|
+
/**
|
|
30914
31100
|
* Time-series resolution. The history methods return one bucket per
|
|
30915
31101
|
* step over the requested range. Smaller resolutions cost more
|
|
30916
31102
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -30967,6 +31153,20 @@ var zoneAnalyticsCapability = {
|
|
|
30967
31153
|
* (no inference result emitted since boot or since binding was
|
|
30968
31154
|
* activated). */
|
|
30969
31155
|
getCurrentSnapshot: method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()),
|
|
31156
|
+
/**
|
|
31157
|
+
* The same snapshot, for a SET of cameras, in one round trip.
|
|
31158
|
+
*
|
|
31159
|
+
* The Events page's Stationary section polls this every 15s for every
|
|
31160
|
+
* selected camera. Fanned out client-side that is one query per camera to
|
|
31161
|
+
* read a `Map.get` at the owner — the answer costs nothing, the round trip
|
|
31162
|
+
* costs everything. Batched, N transports become one and the per-device
|
|
31163
|
+
* work is unchanged.
|
|
31164
|
+
*
|
|
31165
|
+
* Every requested deviceId gets a row, tagged `read` — see
|
|
31166
|
+
* {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
|
|
31167
|
+
* not answer for is `'unreadable'`, never an empty reading.
|
|
31168
|
+
*/
|
|
31169
|
+
getCurrentSnapshotBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()),
|
|
30970
31170
|
/** Time-series object count inside one zone. `className` optional —
|
|
30971
31171
|
* omit to count every class in the zone. */
|
|
30972
31172
|
getZoneHistory: method(object({
|
|
@@ -35388,6 +35588,12 @@ Object.freeze({
|
|
|
35388
35588
|
addonId: null,
|
|
35389
35589
|
access: "view"
|
|
35390
35590
|
},
|
|
35591
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
35592
|
+
capName: "pipeline-analytics",
|
|
35593
|
+
capScope: "device",
|
|
35594
|
+
addonId: null,
|
|
35595
|
+
access: "view"
|
|
35596
|
+
},
|
|
35391
35597
|
"pipelineAnalytics.getMotionEvents": {
|
|
35392
35598
|
capName: "pipeline-analytics",
|
|
35393
35599
|
capScope: "device",
|
|
@@ -36564,6 +36770,12 @@ Object.freeze({
|
|
|
36564
36770
|
addonId: null,
|
|
36565
36771
|
access: "view"
|
|
36566
36772
|
},
|
|
36773
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
36774
|
+
capName: "recording",
|
|
36775
|
+
capScope: "system",
|
|
36776
|
+
addonId: null,
|
|
36777
|
+
access: "create"
|
|
36778
|
+
},
|
|
36567
36779
|
"recording.refreshStorageLocationsForMigration": {
|
|
36568
36780
|
capName: "recording",
|
|
36569
36781
|
capScope: "system",
|
|
@@ -36690,6 +36902,12 @@ Object.freeze({
|
|
|
36690
36902
|
addonId: null,
|
|
36691
36903
|
access: "view"
|
|
36692
36904
|
},
|
|
36905
|
+
"sceneMonitor.listScenesBatch": {
|
|
36906
|
+
capName: "scene-monitor",
|
|
36907
|
+
capScope: "device",
|
|
36908
|
+
addonId: null,
|
|
36909
|
+
access: "view"
|
|
36910
|
+
},
|
|
36693
36911
|
"sceneMonitor.recheckNow": {
|
|
36694
36912
|
capName: "scene-monitor",
|
|
36695
36913
|
capScope: "device",
|
|
@@ -38046,6 +38264,12 @@ Object.freeze({
|
|
|
38046
38264
|
addonId: null,
|
|
38047
38265
|
access: "view"
|
|
38048
38266
|
},
|
|
38267
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
38268
|
+
capName: "zone-analytics",
|
|
38269
|
+
capScope: "device",
|
|
38270
|
+
addonId: null,
|
|
38271
|
+
access: "view"
|
|
38272
|
+
},
|
|
38049
38273
|
"zoneAnalytics.getUnzonedHistory": {
|
|
38050
38274
|
capName: "zone-analytics",
|
|
38051
38275
|
capScope: "device",
|
|
@@ -39050,6 +39274,11 @@ Object.freeze({
|
|
|
39050
39274
|
form: "single",
|
|
39051
39275
|
optional: false
|
|
39052
39276
|
}],
|
|
39277
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
39278
|
+
name: "deviceIds",
|
|
39279
|
+
form: "array",
|
|
39280
|
+
optional: false
|
|
39281
|
+
}],
|
|
39053
39282
|
"pipelineAnalytics.getMotionEvents": [{
|
|
39054
39283
|
name: "deviceId",
|
|
39055
39284
|
form: "single",
|
|
@@ -39490,6 +39719,11 @@ Object.freeze({
|
|
|
39490
39719
|
form: "single",
|
|
39491
39720
|
optional: false
|
|
39492
39721
|
}],
|
|
39722
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
39723
|
+
name: "deviceId",
|
|
39724
|
+
form: "single",
|
|
39725
|
+
optional: true
|
|
39726
|
+
}],
|
|
39493
39727
|
"recording.relocateFootage": [{
|
|
39494
39728
|
name: "deviceId",
|
|
39495
39729
|
form: "single",
|
|
@@ -39555,6 +39789,11 @@ Object.freeze({
|
|
|
39555
39789
|
form: "single",
|
|
39556
39790
|
optional: false
|
|
39557
39791
|
}],
|
|
39792
|
+
"sceneMonitor.listScenesBatch": [{
|
|
39793
|
+
name: "deviceIds",
|
|
39794
|
+
form: "array",
|
|
39795
|
+
optional: false
|
|
39796
|
+
}],
|
|
39558
39797
|
"sceneMonitor.recheckNow": [{
|
|
39559
39798
|
name: "deviceId",
|
|
39560
39799
|
form: "single",
|
|
@@ -39816,6 +40055,11 @@ Object.freeze({
|
|
|
39816
40055
|
form: "single",
|
|
39817
40056
|
optional: false
|
|
39818
40057
|
}],
|
|
40058
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
40059
|
+
name: "deviceIds",
|
|
40060
|
+
form: "array",
|
|
40061
|
+
optional: false
|
|
40062
|
+
}],
|
|
39819
40063
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
39820
40064
|
name: "deviceId",
|
|
39821
40065
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-unifi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.49",
|
|
4
4
|
"description": "UniFi Network controller device-provider addon for CamStack — local-controller infra switches/APs (as containers) + network-client presence. NO cameras/Protect.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|