@camstack/addon-provider-unifi 0.2.48 → 0.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 +478 -73
- package/dist/addon.mjs +478 -73
- 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()
|
|
@@ -8082,6 +8096,13 @@ var MediaRelocateModeSchema = _enum([
|
|
|
8082
8096
|
]);
|
|
8083
8097
|
var RelocateMediaInputSchema = object({
|
|
8084
8098
|
toLocationId: string(),
|
|
8099
|
+
/**
|
|
8100
|
+
* Restrict the pass to rows currently on this location. Omitted / `'*'` =
|
|
8101
|
+
* every row that is not already on `toLocationId` (the historical
|
|
8102
|
+
* behaviour). A named source is what a from→to migration needs: without it
|
|
8103
|
+
* "move events off disk 2" also emptied disk 1.
|
|
8104
|
+
*/
|
|
8105
|
+
fromLocationId: string().optional(),
|
|
8085
8106
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8086
8107
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8087
8108
|
mode: MediaRelocateModeSchema.optional()
|
|
@@ -8149,6 +8170,19 @@ var StorageMigrationDestinationsSchema = object({
|
|
|
8149
8170
|
galleryMedia: string().min(1).optional()
|
|
8150
8171
|
}).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
|
|
8151
8172
|
/**
|
|
8173
|
+
* Optional named source per class. Omitted = the class's current default
|
|
8174
|
+
* (the historical behaviour). A named source that is NOT the default is a
|
|
8175
|
+
* drain of that disk: bytes move, the default stays, and the source is
|
|
8176
|
+
* disabled when the move finishes.
|
|
8177
|
+
*/
|
|
8178
|
+
var StorageMigrationSourcesSchema = object({
|
|
8179
|
+
recordings: string().min(1).optional(),
|
|
8180
|
+
recordingsLow: string().min(1).optional(),
|
|
8181
|
+
eventMedia: string().min(1).optional(),
|
|
8182
|
+
backups: string().min(1).optional(),
|
|
8183
|
+
galleryMedia: string().min(1).optional()
|
|
8184
|
+
}).optional();
|
|
8185
|
+
/**
|
|
8152
8186
|
* How a migration sequences the cutover against the byte move.
|
|
8153
8187
|
*
|
|
8154
8188
|
* - `blocking` — the historical order: pause, move every byte, repoint,
|
|
@@ -8170,6 +8204,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
|
|
|
8170
8204
|
/** Shared input for planning and starting an orchestrated storage migration. */
|
|
8171
8205
|
var StorageMigrationInputSchema = object({
|
|
8172
8206
|
destinations: StorageMigrationDestinationsSchema,
|
|
8207
|
+
/** Omitted = each class's current default. */
|
|
8208
|
+
sources: StorageMigrationSourcesSchema,
|
|
8173
8209
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8174
8210
|
/** Omitted = `blocking`, which stays the default. */
|
|
8175
8211
|
mode: StorageMigrationModeSchema.optional()
|
|
@@ -8249,6 +8285,13 @@ var StorageMigrationMoveSchema = object({
|
|
|
8249
8285
|
storageClass: StorageMigrationClassSchema,
|
|
8250
8286
|
fromLocationId: string(),
|
|
8251
8287
|
toLocationId: string(),
|
|
8288
|
+
/**
|
|
8289
|
+
* True when `from` was NOT the class default at plan time. The move still
|
|
8290
|
+
* copies bytes, but the default is left alone and the source is disabled
|
|
8291
|
+
* once the copy verifies. Absent on jobs planned before this field existed
|
|
8292
|
+
* — those jobs always repointed, which is `false`.
|
|
8293
|
+
*/
|
|
8294
|
+
freezeSource: boolean().optional(),
|
|
8252
8295
|
moverJobId: string().nullable(),
|
|
8253
8296
|
state: RelocateJobStateSchema.nullable(),
|
|
8254
8297
|
error: string().nullable(),
|
|
@@ -8262,6 +8305,7 @@ var StorageMigrationJobSchema = object({
|
|
|
8262
8305
|
* can tell a seconds-long cutover from a thirty-hour one. */
|
|
8263
8306
|
mode: StorageMigrationModeSchema,
|
|
8264
8307
|
destinations: StorageMigrationDestinationsSchema,
|
|
8308
|
+
sources: StorageMigrationSourcesSchema,
|
|
8265
8309
|
throttleMbps: number(),
|
|
8266
8310
|
moves: array(StorageMigrationMoveSchema),
|
|
8267
8311
|
pauseLeaseId: string().nullable(),
|
|
@@ -8287,6 +8331,7 @@ var StorageMigrationFindingSchema = object({
|
|
|
8287
8331
|
});
|
|
8288
8332
|
var StorageMigrationPlanSchema = object({
|
|
8289
8333
|
destinations: StorageMigrationDestinationsSchema,
|
|
8334
|
+
sources: StorageMigrationSourcesSchema,
|
|
8290
8335
|
/** The mode this plan was built for. A plan is only valid for its mode: the
|
|
8291
8336
|
* `eventMedia` seal gate and the single-cardinality refusal both depend on
|
|
8292
8337
|
* it. */
|
|
@@ -8294,7 +8339,8 @@ var StorageMigrationPlanSchema = object({
|
|
|
8294
8339
|
moves: array(object({
|
|
8295
8340
|
storageClass: StorageMigrationClassSchema,
|
|
8296
8341
|
fromLocationId: string(),
|
|
8297
|
-
toLocationId: string()
|
|
8342
|
+
toLocationId: string(),
|
|
8343
|
+
freezeSource: boolean().optional()
|
|
8298
8344
|
})),
|
|
8299
8345
|
findings: array(StorageMigrationFindingSchema)
|
|
8300
8346
|
});
|
|
@@ -8381,16 +8427,142 @@ var RelocateResidueSchema = object({
|
|
|
8381
8427
|
segments: number().int().nonnegative(),
|
|
8382
8428
|
bytes: number().int().nonnegative()
|
|
8383
8429
|
}).nullable();
|
|
8430
|
+
/**
|
|
8431
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8432
|
+
* (D319).
|
|
8433
|
+
*
|
|
8434
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8435
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8436
|
+
* destructive run before authorising it.
|
|
8437
|
+
*/
|
|
8438
|
+
var LedgerWalkInputSchema = object({
|
|
8439
|
+
locationId: string().min(1),
|
|
8440
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8441
|
+
apply: boolean().optional(),
|
|
8442
|
+
/** Narrow to one camera. */
|
|
8443
|
+
deviceId: number().int().positive().optional(),
|
|
8444
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8445
|
+
profiles: array(string().min(1)).optional()
|
|
8446
|
+
});
|
|
8447
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8448
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8449
|
+
"location-unknown",
|
|
8450
|
+
"source-writable",
|
|
8451
|
+
"no-ledger",
|
|
8452
|
+
"archive-unreadable",
|
|
8453
|
+
"anchor-absent",
|
|
8454
|
+
"anchor-unreadable",
|
|
8455
|
+
"anchor-moved"
|
|
8456
|
+
]);
|
|
8457
|
+
_enum([
|
|
8458
|
+
"live-tail",
|
|
8459
|
+
"listing-error",
|
|
8460
|
+
"path-mismatch",
|
|
8461
|
+
"durable-refused"
|
|
8462
|
+
]);
|
|
8463
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8464
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8465
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8466
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8467
|
+
"live-tail": number().int().nonnegative(),
|
|
8468
|
+
"listing-error": number().int().nonnegative(),
|
|
8469
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8470
|
+
"durable-refused": number().int().nonnegative()
|
|
8471
|
+
});
|
|
8472
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8473
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8474
|
+
deviceId: number().int(),
|
|
8475
|
+
hoursWalked: number().int().nonnegative(),
|
|
8476
|
+
hoursMissing: number().int().nonnegative(),
|
|
8477
|
+
ghostSegments: number().int().nonnegative(),
|
|
8478
|
+
ghostBytes: number().int().nonnegative(),
|
|
8479
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8480
|
+
orphanFiles: number().int().nonnegative()
|
|
8481
|
+
});
|
|
8482
|
+
/**
|
|
8483
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8484
|
+
*
|
|
8485
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8486
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8487
|
+
* than in the absence of one.
|
|
8488
|
+
*/
|
|
8489
|
+
var LedgerWalkReportSchema = object({
|
|
8490
|
+
locationId: string(),
|
|
8491
|
+
applied: boolean(),
|
|
8492
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8493
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8494
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8495
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8496
|
+
hoursWalked: number().int().nonnegative(),
|
|
8497
|
+
hoursMissing: number().int().nonnegative(),
|
|
8498
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8499
|
+
listings: number().int().nonnegative(),
|
|
8500
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8501
|
+
ghostSegments: number().int().nonnegative(),
|
|
8502
|
+
ghostBytes: number().int().nonnegative(),
|
|
8503
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8504
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8505
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8506
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8507
|
+
orphanFiles: number().int().nonnegative(),
|
|
8508
|
+
orphanSample: array(string()).readonly(),
|
|
8509
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8510
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8511
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8512
|
+
bounded: boolean(),
|
|
8513
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8514
|
+
});
|
|
8384
8515
|
/** How many rows a media pass would still act on against a given target — the
|
|
8385
8516
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8386
8517
|
* never disagree. `null` = the count could not be taken. */
|
|
8387
8518
|
var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
|
|
8388
8519
|
var RelocatableMediaCountInputSchema = object({
|
|
8389
8520
|
toLocationId: string().min(1),
|
|
8521
|
+
/** Restrict the count to one source; omitted / `'*'` = every non-target row. */
|
|
8522
|
+
fromLocationId: string().optional(),
|
|
8390
8523
|
/** Omitted = `move`. */
|
|
8391
8524
|
mode: MediaRelocateModeSchema.optional()
|
|
8392
8525
|
});
|
|
8393
8526
|
/**
|
|
8527
|
+
* Operator cleanup of leftover analytics rows, optional debug media, and
|
|
8528
|
+
* ghost ledger entries on frozen footage locations.
|
|
8529
|
+
*
|
|
8530
|
+
* A pass is tens of minutes on a standing backlog. The hub method RETURNS
|
|
8531
|
+
* `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
|
|
8532
|
+
* is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
|
|
8533
|
+
* with no operator-visible status.
|
|
8534
|
+
*/
|
|
8535
|
+
var StorageCleanupPhaseSchema = _enum([
|
|
8536
|
+
"orphans",
|
|
8537
|
+
"debug-media",
|
|
8538
|
+
"ghost-ledger",
|
|
8539
|
+
"done",
|
|
8540
|
+
"failed",
|
|
8541
|
+
"cancelled"
|
|
8542
|
+
]);
|
|
8543
|
+
var StorageCleanupInputSchema = object({
|
|
8544
|
+
/** Also walk motion stills / track filmstrips. Off by default. */
|
|
8545
|
+
includeDebugMedia: boolean().optional() });
|
|
8546
|
+
var StorageCleanupJobSchema = object({
|
|
8547
|
+
jobId: string(),
|
|
8548
|
+
phase: StorageCleanupPhaseSchema,
|
|
8549
|
+
includeDebugMedia: boolean(),
|
|
8550
|
+
orphansReclaimed: number().int().nonnegative(),
|
|
8551
|
+
orphanBytesReclaimed: number().int().nonnegative(),
|
|
8552
|
+
debugMediaReclaimed: number().int().nonnegative(),
|
|
8553
|
+
debugMediaBytesReclaimed: number().int().nonnegative(),
|
|
8554
|
+
ghostsForgotten: number().int().nonnegative(),
|
|
8555
|
+
ghostBytesForgotten: number().int().nonnegative(),
|
|
8556
|
+
/** Short operator-facing line: current collection, pass, or location. */
|
|
8557
|
+
detail: string().nullable(),
|
|
8558
|
+
cancelRequested: boolean(),
|
|
8559
|
+
startedAt: number(),
|
|
8560
|
+
updatedAt: number(),
|
|
8561
|
+
finishedAt: number().nullable(),
|
|
8562
|
+
error: string().nullable()
|
|
8563
|
+
});
|
|
8564
|
+
var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
|
|
8565
|
+
/**
|
|
8394
8566
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
8395
8567
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
8396
8568
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -8418,11 +8590,10 @@ var StorageLocationTypeSchema = string().regex(/^[a-z][a-zA-Z0-9-]*$/);
|
|
|
8418
8590
|
* The default location for a type uses `id === <type>:default` by
|
|
8419
8591
|
* convention (the bare type ref like `'backups'` resolves to it).
|
|
8420
8592
|
*
|
|
8421
|
-
* `isSystem
|
|
8422
|
-
*
|
|
8423
|
-
*
|
|
8424
|
-
*
|
|
8425
|
-
* deleting it is rejected at the cap level.
|
|
8593
|
+
* `isSystem` is a legacy persisted flag. Seed still creates the initial
|
|
8594
|
+
* `<type>:default` locations; the flag is no longer a lock, a badge, or a
|
|
8595
|
+
* prune selector. New writes leave it false. Deletion is gated on uniqueness
|
|
8596
|
+
* / last-enabled, not on this bit.
|
|
8426
8597
|
*/
|
|
8427
8598
|
var StorageLocationSchema = object({
|
|
8428
8599
|
id: string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
|
|
@@ -12948,6 +13119,12 @@ method(object({
|
|
|
12948
13119
|
}), _void(), {
|
|
12949
13120
|
kind: "mutation",
|
|
12950
13121
|
auth: "admin"
|
|
13122
|
+
}), method(object({
|
|
13123
|
+
from: string(),
|
|
13124
|
+
to: string()
|
|
13125
|
+
}), object({ moved: number() }), {
|
|
13126
|
+
kind: "mutation",
|
|
13127
|
+
auth: "admin"
|
|
12951
13128
|
}), method(object({
|
|
12952
13129
|
deviceId: number(),
|
|
12953
13130
|
disabled: boolean()
|
|
@@ -18956,53 +19133,15 @@ var RecentTracksPageSchema = object({
|
|
|
18956
19133
|
/** Cursor for the next page, or null when this page is the last. */
|
|
18957
19134
|
nextCursor: string().nullable()
|
|
18958
19135
|
});
|
|
18959
|
-
var
|
|
18960
|
-
var
|
|
18961
|
-
var AnalyticsGroupRecordSchema = object({
|
|
18962
|
-
id: string(),
|
|
18963
|
-
deviceId: number().int(),
|
|
18964
|
-
openedAt: number().int(),
|
|
18965
|
-
closedAt: number().int(),
|
|
18966
|
-
timestamp: number().int(),
|
|
18967
|
-
memberCount: number().int(),
|
|
18968
|
-
memberTrackIds: array(string()).readonly(),
|
|
18969
|
-
className: string(),
|
|
18970
|
-
classes: array(string()).readonly(),
|
|
18971
|
-
/** Relative event-media path, or null when the group has no picture yet. */
|
|
18972
|
-
mediaUrl: string().nullable(),
|
|
18973
|
-
singleton: boolean()
|
|
18974
|
-
});
|
|
18975
|
-
var AnalyticsGroupMemberSchema = object({
|
|
18976
|
-
trackId: string(),
|
|
18977
|
-
deviceId: number().int(),
|
|
18978
|
-
className: string(),
|
|
18979
|
-
firstSeen: number().int(),
|
|
18980
|
-
lastSeen: number().int(),
|
|
18981
|
-
mediaUrl: string().nullable()
|
|
18982
|
-
});
|
|
18983
|
-
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
18984
|
-
var ListGroupsQueryInput = object({
|
|
18985
|
-
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
18986
|
-
deviceIds: array(number()),
|
|
18987
|
-
/** Window lower bound on `closedAt` (inclusive). */
|
|
18988
|
-
since: number().optional(),
|
|
18989
|
-
/** Window upper bound on `openedAt` (inclusive). */
|
|
18990
|
-
until: number().optional(),
|
|
18991
|
-
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
18992
|
-
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
18993
|
-
cursor: string().optional()
|
|
18994
|
-
});
|
|
18995
|
-
var ListGroupsPageSchema = object({
|
|
18996
|
-
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
18997
|
-
nextCursor: string().nullable()
|
|
18998
|
-
});
|
|
19136
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
19137
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
18999
19138
|
var KeyEventQueryInput = object({
|
|
19000
19139
|
deviceId: number(),
|
|
19001
19140
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
19002
19141
|
since: number(),
|
|
19003
19142
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
19004
19143
|
until: number(),
|
|
19005
|
-
limit: number().int().min(1).max(
|
|
19144
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19006
19145
|
/** Drop tracks scoring below this importance. */
|
|
19007
19146
|
minImportance: number().min(0).max(1).optional(),
|
|
19008
19147
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -19024,6 +19163,32 @@ var KeyEventSchema = object({
|
|
|
19024
19163
|
...TrackFlagFields,
|
|
19025
19164
|
...TrackRetrainFields
|
|
19026
19165
|
});
|
|
19166
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
19167
|
+
var KeyEventBatchQueryInput = object({
|
|
19168
|
+
deviceIds: array(number()).min(1).max(200),
|
|
19169
|
+
since: number(),
|
|
19170
|
+
until: number(),
|
|
19171
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
19172
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
19173
|
+
* rows and change what the merged feed contains. */
|
|
19174
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19175
|
+
minImportance: number().min(0).max(1).optional(),
|
|
19176
|
+
classFilter: string().optional()
|
|
19177
|
+
});
|
|
19178
|
+
/**
|
|
19179
|
+
* One camera's key events in a batch answer.
|
|
19180
|
+
*
|
|
19181
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
19182
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
19183
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
19184
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
19185
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
19186
|
+
* key, which only worked because there was one query per camera).
|
|
19187
|
+
*/
|
|
19188
|
+
var KeyEventsForDeviceSchema = object({
|
|
19189
|
+
deviceId: number(),
|
|
19190
|
+
events: array(KeyEventSchema).readonly()
|
|
19191
|
+
});
|
|
19027
19192
|
object({
|
|
19028
19193
|
trackId: string(),
|
|
19029
19194
|
className: string(),
|
|
@@ -19071,9 +19236,7 @@ var TrackCascadeCountsSchema = object({
|
|
|
19071
19236
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
19072
19237
|
plates: number().int(),
|
|
19073
19238
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
19074
|
-
embeddings: number().int()
|
|
19075
|
-
/** Group membership + group rows removed with their last member (best-effort). */
|
|
19076
|
-
groups: number().int()
|
|
19239
|
+
embeddings: number().int()
|
|
19077
19240
|
});
|
|
19078
19241
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
19079
19242
|
var DiskReconcileCountsSchema = object({
|
|
@@ -19243,6 +19406,47 @@ var RebuildStatusSchema = object({
|
|
|
19243
19406
|
/** Present when the pass ended by throwing. */
|
|
19244
19407
|
error: string().nullable()
|
|
19245
19408
|
});
|
|
19409
|
+
/**
|
|
19410
|
+
* Acknowledgement that a debug-media reclaim STARTED.
|
|
19411
|
+
*
|
|
19412
|
+
* The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
|
|
19413
|
+
* it runs detached and this returns immediately. Awaiting it is how the
|
|
19414
|
+
* `addons.custom` door hit the 60 s UDS deadline while the walk carried on
|
|
19415
|
+
* with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
|
|
19416
|
+
*/
|
|
19417
|
+
var MediaReclaimStartResultSchema = object({
|
|
19418
|
+
started: boolean(),
|
|
19419
|
+
/** True when a pass was already running; the new request is ignored. */
|
|
19420
|
+
alreadyRunning: boolean()
|
|
19421
|
+
});
|
|
19422
|
+
var MediaReclaimInputSchema = object({
|
|
19423
|
+
mode: _enum(["report", "reclaim"]).default("report"),
|
|
19424
|
+
scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
|
|
19425
|
+
deviceIds: array(number().int()).min(1).optional(),
|
|
19426
|
+
restart: boolean().optional(),
|
|
19427
|
+
pageSize: number().int().min(50).max(5e3).optional(),
|
|
19428
|
+
maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19429
|
+
maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19430
|
+
maxBytesPerRun: number().int().min(1).optional(),
|
|
19431
|
+
budgetMinutes: number().int().min(1).max(720).optional(),
|
|
19432
|
+
throttleBytesPerSec: number().int().min(64 * 1024).optional(),
|
|
19433
|
+
graceMinutes: number().int().min(1).max(10080).optional()
|
|
19434
|
+
});
|
|
19435
|
+
var MediaReclaimStatusSchema = object({
|
|
19436
|
+
running: boolean(),
|
|
19437
|
+
mode: _enum(["report", "reclaim"]).nullable(),
|
|
19438
|
+
totalExamined: number(),
|
|
19439
|
+
totalEligible: number(),
|
|
19440
|
+
totalReclaimed: number(),
|
|
19441
|
+
totalBytesReclaimed: number(),
|
|
19442
|
+
totalRefused: number(),
|
|
19443
|
+
/** Device+scope windows finished in this pass. */
|
|
19444
|
+
devicesDone: number(),
|
|
19445
|
+
complete: boolean().nullable(),
|
|
19446
|
+
startedAtMs: number().nullable(),
|
|
19447
|
+
finishedAtMs: number().nullable(),
|
|
19448
|
+
error: string().nullable()
|
|
19449
|
+
});
|
|
19246
19450
|
var ReplayFrameInputSchema = object({
|
|
19247
19451
|
timestamp: number(),
|
|
19248
19452
|
frame: PipelineRunResultBridge
|
|
@@ -19281,10 +19485,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19281
19485
|
* stationary registry). Default false: the timeline lists passages,
|
|
19282
19486
|
* not parking records (operator decision, 2026-08-15). */
|
|
19283
19487
|
includeStationary: boolean().optional()
|
|
19284
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
19285
|
-
deviceId: number(),
|
|
19286
|
-
groupId: string().min(1)
|
|
19287
|
-
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19488
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19288
19489
|
kind: "mutation",
|
|
19289
19490
|
auth: "admin"
|
|
19290
19491
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -19293,7 +19494,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19293
19494
|
until: number().optional(),
|
|
19294
19495
|
kinds: array(string()).optional(),
|
|
19295
19496
|
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({
|
|
19497
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
19297
19498
|
deviceId: number(),
|
|
19298
19499
|
since: number(),
|
|
19299
19500
|
until: number(),
|
|
@@ -19384,6 +19585,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19384
19585
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
19385
19586
|
kind: "query",
|
|
19386
19587
|
auth: "admin"
|
|
19588
|
+
}), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
|
|
19589
|
+
kind: "mutation",
|
|
19590
|
+
auth: "admin"
|
|
19591
|
+
}), method(object({}), MediaReclaimStatusSchema, {
|
|
19592
|
+
kind: "query",
|
|
19593
|
+
auth: "admin"
|
|
19387
19594
|
}), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
|
|
19388
19595
|
kind: "query",
|
|
19389
19596
|
auth: "admin"
|
|
@@ -21354,7 +21561,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
21354
21561
|
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
21355
21562
|
kind: "mutation",
|
|
21356
21563
|
auth: "admin"
|
|
21357
|
-
})
|
|
21564
|
+
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
21565
|
+
kind: "mutation",
|
|
21566
|
+
auth: "admin"
|
|
21567
|
+
}), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
21568
|
+
kind: "mutation",
|
|
21569
|
+
auth: "admin"
|
|
21570
|
+
}), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
|
|
21358
21571
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
21359
21572
|
providerId: string().min(1),
|
|
21360
21573
|
displayName: string().min(1),
|
|
@@ -28464,6 +28677,33 @@ var RecordingRebalanceInputSchema = object({
|
|
|
28464
28677
|
minMoveGb: number().min(0).optional()
|
|
28465
28678
|
});
|
|
28466
28679
|
/**
|
|
28680
|
+
* Operator-facing placement of one camera onto a recordings location.
|
|
28681
|
+
*
|
|
28682
|
+
* `pinLocationId` is the operator instruction: a location id, or `null` for
|
|
28683
|
+
* Auto (the planner may move this camera). `locationId` is where high/mid
|
|
28684
|
+
* currently write — the plan, which may disagree with the pin when Auto.
|
|
28685
|
+
*/
|
|
28686
|
+
var RecordingDevicePlacementSchema = object({
|
|
28687
|
+
deviceId: number().int(),
|
|
28688
|
+
profile: string(),
|
|
28689
|
+
locationId: string()
|
|
28690
|
+
});
|
|
28691
|
+
var RecordingDevicePinSchema = object({
|
|
28692
|
+
deviceId: number().int(),
|
|
28693
|
+
/** Recordings-class location this camera is pinned to. */
|
|
28694
|
+
locationId: string()
|
|
28695
|
+
});
|
|
28696
|
+
var RecordingPlacementViewSchema = object({
|
|
28697
|
+
assignments: array(RecordingDevicePlacementSchema),
|
|
28698
|
+
pins: array(RecordingDevicePinSchema),
|
|
28699
|
+
defaultLocations: record(string(), string())
|
|
28700
|
+
});
|
|
28701
|
+
var RecordingSetDevicePlacementInputSchema = object({
|
|
28702
|
+
deviceId: number().int(),
|
|
28703
|
+
/** `null` = Auto. Otherwise a `recordings:*` location id. */
|
|
28704
|
+
locationId: string().nullable()
|
|
28705
|
+
});
|
|
28706
|
+
/**
|
|
28467
28707
|
* Result of locating footage at a wall-clock instant for one device/profile.
|
|
28468
28708
|
* `segment` carries the covering segment's window; `gap` reports the forward
|
|
28469
28709
|
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
@@ -28677,6 +28917,9 @@ method(object({
|
|
|
28677
28917
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
28678
28918
|
kind: "query",
|
|
28679
28919
|
auth: "admin"
|
|
28920
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
28921
|
+
kind: "mutation",
|
|
28922
|
+
auth: "admin"
|
|
28680
28923
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
28681
28924
|
kind: "mutation",
|
|
28682
28925
|
auth: "admin"
|
|
@@ -28686,6 +28929,12 @@ method(object({
|
|
|
28686
28929
|
}), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
|
|
28687
28930
|
kind: "mutation",
|
|
28688
28931
|
auth: "admin"
|
|
28932
|
+
}), method(object({}), RecordingPlacementViewSchema, {
|
|
28933
|
+
kind: "query",
|
|
28934
|
+
auth: "admin"
|
|
28935
|
+
}), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
|
|
28936
|
+
kind: "mutation",
|
|
28937
|
+
auth: "admin"
|
|
28689
28938
|
});
|
|
28690
28939
|
/**
|
|
28691
28940
|
* `recording-export` cap — render a footage time range into a single downloadable
|
|
@@ -29068,6 +29317,25 @@ var SceneMonitorStatusSchema = object({
|
|
|
29068
29317
|
monitors: array(SceneMonitorSchema),
|
|
29069
29318
|
lastFetchedAt: number()
|
|
29070
29319
|
});
|
|
29320
|
+
/**
|
|
29321
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
29322
|
+
*
|
|
29323
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
29324
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
29325
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
29326
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
29327
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
29328
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
29329
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
29330
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
29331
|
+
*
|
|
29332
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
29333
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
29334
|
+
*/
|
|
29335
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
29336
|
+
deviceId: number(),
|
|
29337
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
29338
|
+
});
|
|
29071
29339
|
var sceneMonitorCapability = {
|
|
29072
29340
|
name: "scene-monitor",
|
|
29073
29341
|
scope: "device",
|
|
@@ -29077,6 +29345,22 @@ var sceneMonitorCapability = {
|
|
|
29077
29345
|
deviceTypes: [DeviceType.Camera],
|
|
29078
29346
|
methods: {
|
|
29079
29347
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
29348
|
+
/**
|
|
29349
|
+
* The same answer, for a SET of cameras, in one round trip.
|
|
29350
|
+
*
|
|
29351
|
+
* `/scenes` renders every camera and re-reads them on a 30s safety-net
|
|
29352
|
+
* poll behind the push slice. Fanned out client-side that was one query
|
|
29353
|
+
* per camera — 29 round trips through the browser, the hub and the
|
|
29354
|
+
* post-analysis runner every 30 seconds to read an in-memory map the
|
|
29355
|
+
* owner had already merged. The work is unchanged (`statusFor` per
|
|
29356
|
+
* device, all in-process at the owner); what collapses is the transport.
|
|
29357
|
+
*
|
|
29358
|
+
* A camera that cannot answer still gets a row, with `status: null` —
|
|
29359
|
+
* see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
|
|
29360
|
+
* ids: a caller that asked for twenty-nine and got twenty-seven cannot
|
|
29361
|
+
* tell which two are missing, or that any are.
|
|
29362
|
+
*/
|
|
29363
|
+
listScenesBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
29080
29364
|
createScene: method(object({
|
|
29081
29365
|
deviceId: number(),
|
|
29082
29366
|
label: string(),
|
|
@@ -30912,6 +31196,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
30912
31196
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
30913
31197
|
});
|
|
30914
31198
|
/**
|
|
31199
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
31200
|
+
*
|
|
31201
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
31202
|
+
* because `snapshot: null` was already spoken for:
|
|
31203
|
+
*
|
|
31204
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
31205
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
31206
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
31207
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
31208
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
31209
|
+
*
|
|
31210
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
31211
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
31212
|
+
* which is a definite claim about a camera nobody could read.
|
|
31213
|
+
*/
|
|
31214
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
31215
|
+
deviceId: number(),
|
|
31216
|
+
read: _enum(["read", "unreadable"]),
|
|
31217
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
31218
|
+
});
|
|
31219
|
+
/**
|
|
30915
31220
|
* Time-series resolution. The history methods return one bucket per
|
|
30916
31221
|
* step over the requested range. Smaller resolutions cost more
|
|
30917
31222
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -30968,6 +31273,20 @@ var zoneAnalyticsCapability = {
|
|
|
30968
31273
|
* (no inference result emitted since boot or since binding was
|
|
30969
31274
|
* activated). */
|
|
30970
31275
|
getCurrentSnapshot: method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()),
|
|
31276
|
+
/**
|
|
31277
|
+
* The same snapshot, for a SET of cameras, in one round trip.
|
|
31278
|
+
*
|
|
31279
|
+
* The Events page's Stationary section polls this every 15s for every
|
|
31280
|
+
* selected camera. Fanned out client-side that is one query per camera to
|
|
31281
|
+
* read a `Map.get` at the owner — the answer costs nothing, the round trip
|
|
31282
|
+
* costs everything. Batched, N transports become one and the per-device
|
|
31283
|
+
* work is unchanged.
|
|
31284
|
+
*
|
|
31285
|
+
* Every requested deviceId gets a row, tagged `read` — see
|
|
31286
|
+
* {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
|
|
31287
|
+
* not answer for is `'unreadable'`, never an empty reading.
|
|
31288
|
+
*/
|
|
31289
|
+
getCurrentSnapshotBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()),
|
|
30971
31290
|
/** Time-series object count inside one zone. `className` optional —
|
|
30972
31291
|
* omit to count every class in the zone. */
|
|
30973
31292
|
getZoneHistory: method(object({
|
|
@@ -33685,6 +34004,12 @@ Object.freeze({
|
|
|
33685
34004
|
addonId: null,
|
|
33686
34005
|
access: "delete"
|
|
33687
34006
|
},
|
|
34007
|
+
"deviceManager.renameLocation": {
|
|
34008
|
+
capName: "device-manager",
|
|
34009
|
+
capScope: "system",
|
|
34010
|
+
addonId: null,
|
|
34011
|
+
access: "create"
|
|
34012
|
+
},
|
|
33688
34013
|
"deviceManager.runDeviceAction": {
|
|
33689
34014
|
capName: "device-manager",
|
|
33690
34015
|
capScope: "system",
|
|
@@ -35377,13 +35702,19 @@ Object.freeze({
|
|
|
35377
35702
|
addonId: null,
|
|
35378
35703
|
access: "view"
|
|
35379
35704
|
},
|
|
35380
|
-
"pipelineAnalytics.
|
|
35705
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
35381
35706
|
capName: "pipeline-analytics",
|
|
35382
35707
|
capScope: "device",
|
|
35383
35708
|
addonId: null,
|
|
35384
35709
|
access: "view"
|
|
35385
35710
|
},
|
|
35386
|
-
"pipelineAnalytics.
|
|
35711
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
35712
|
+
capName: "pipeline-analytics",
|
|
35713
|
+
capScope: "device",
|
|
35714
|
+
addonId: null,
|
|
35715
|
+
access: "view"
|
|
35716
|
+
},
|
|
35717
|
+
"pipelineAnalytics.getMediaReclaimStatus": {
|
|
35387
35718
|
capName: "pipeline-analytics",
|
|
35388
35719
|
capScope: "device",
|
|
35389
35720
|
addonId: null,
|
|
@@ -35473,12 +35804,6 @@ Object.freeze({
|
|
|
35473
35804
|
addonId: null,
|
|
35474
35805
|
access: "view"
|
|
35475
35806
|
},
|
|
35476
|
-
"pipelineAnalytics.listGroups": {
|
|
35477
|
-
capName: "pipeline-analytics",
|
|
35478
|
-
capScope: "device",
|
|
35479
|
-
addonId: null,
|
|
35480
|
-
access: "view"
|
|
35481
|
-
},
|
|
35482
35807
|
"pipelineAnalytics.listOpsLog": {
|
|
35483
35808
|
capName: "pipeline-analytics",
|
|
35484
35809
|
capScope: "device",
|
|
@@ -35563,6 +35888,12 @@ Object.freeze({
|
|
|
35563
35888
|
addonId: null,
|
|
35564
35889
|
access: "create"
|
|
35565
35890
|
},
|
|
35891
|
+
"pipelineAnalytics.reclaimDebugMedia": {
|
|
35892
|
+
capName: "pipeline-analytics",
|
|
35893
|
+
capScope: "device",
|
|
35894
|
+
addonId: null,
|
|
35895
|
+
access: "create"
|
|
35896
|
+
},
|
|
35566
35897
|
"pipelineAnalytics.reconcileFromDisk": {
|
|
35567
35898
|
capName: "pipeline-analytics",
|
|
35568
35899
|
capScope: "device",
|
|
@@ -36487,6 +36818,12 @@ Object.freeze({
|
|
|
36487
36818
|
addonId: null,
|
|
36488
36819
|
access: "view"
|
|
36489
36820
|
},
|
|
36821
|
+
"recording.getPlacement": {
|
|
36822
|
+
capName: "recording",
|
|
36823
|
+
capScope: "system",
|
|
36824
|
+
addonId: null,
|
|
36825
|
+
access: "view"
|
|
36826
|
+
},
|
|
36490
36827
|
"recording.getPlaybackManifest": {
|
|
36491
36828
|
capName: "recording",
|
|
36492
36829
|
capScope: "system",
|
|
@@ -36565,6 +36902,12 @@ Object.freeze({
|
|
|
36565
36902
|
addonId: null,
|
|
36566
36903
|
access: "view"
|
|
36567
36904
|
},
|
|
36905
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
36906
|
+
capName: "recording",
|
|
36907
|
+
capScope: "system",
|
|
36908
|
+
addonId: null,
|
|
36909
|
+
access: "create"
|
|
36910
|
+
},
|
|
36568
36911
|
"recording.refreshStorageLocationsForMigration": {
|
|
36569
36912
|
capName: "recording",
|
|
36570
36913
|
capScope: "system",
|
|
@@ -36607,6 +36950,12 @@ Object.freeze({
|
|
|
36607
36950
|
addonId: null,
|
|
36608
36951
|
access: "create"
|
|
36609
36952
|
},
|
|
36953
|
+
"recording.setDevicePlacement": {
|
|
36954
|
+
capName: "recording",
|
|
36955
|
+
capScope: "system",
|
|
36956
|
+
addonId: null,
|
|
36957
|
+
access: "create"
|
|
36958
|
+
},
|
|
36610
36959
|
"recording.startStorageMigrationMove": {
|
|
36611
36960
|
capName: "recording",
|
|
36612
36961
|
capScope: "system",
|
|
@@ -36691,6 +37040,12 @@ Object.freeze({
|
|
|
36691
37040
|
addonId: null,
|
|
36692
37041
|
access: "view"
|
|
36693
37042
|
},
|
|
37043
|
+
"sceneMonitor.listScenesBatch": {
|
|
37044
|
+
capName: "scene-monitor",
|
|
37045
|
+
capScope: "device",
|
|
37046
|
+
addonId: null,
|
|
37047
|
+
access: "view"
|
|
37048
|
+
},
|
|
36694
37049
|
"sceneMonitor.recheckNow": {
|
|
36695
37050
|
capName: "scene-monitor",
|
|
36696
37051
|
capScope: "device",
|
|
@@ -37045,12 +37400,36 @@ Object.freeze({
|
|
|
37045
37400
|
addonId: null,
|
|
37046
37401
|
access: "create"
|
|
37047
37402
|
},
|
|
37403
|
+
"storageMigration.cleanupCancel": {
|
|
37404
|
+
capName: "storage-migration",
|
|
37405
|
+
capScope: "system",
|
|
37406
|
+
addonId: null,
|
|
37407
|
+
access: "create"
|
|
37408
|
+
},
|
|
37409
|
+
"storageMigration.cleanupStart": {
|
|
37410
|
+
capName: "storage-migration",
|
|
37411
|
+
capScope: "system",
|
|
37412
|
+
addonId: null,
|
|
37413
|
+
access: "create"
|
|
37414
|
+
},
|
|
37415
|
+
"storageMigration.cleanupStatus": {
|
|
37416
|
+
capName: "storage-migration",
|
|
37417
|
+
capScope: "system",
|
|
37418
|
+
addonId: null,
|
|
37419
|
+
access: "view"
|
|
37420
|
+
},
|
|
37048
37421
|
"storageMigration.drain": {
|
|
37049
37422
|
capName: "storage-migration",
|
|
37050
37423
|
capScope: "system",
|
|
37051
37424
|
addonId: null,
|
|
37052
37425
|
access: "create"
|
|
37053
37426
|
},
|
|
37427
|
+
"storageMigration.history": {
|
|
37428
|
+
capName: "storage-migration",
|
|
37429
|
+
capScope: "system",
|
|
37430
|
+
addonId: null,
|
|
37431
|
+
access: "view"
|
|
37432
|
+
},
|
|
37054
37433
|
"storageMigration.movers": {
|
|
37055
37434
|
capName: "storage-migration",
|
|
37056
37435
|
capScope: "system",
|
|
@@ -38047,6 +38426,12 @@ Object.freeze({
|
|
|
38047
38426
|
addonId: null,
|
|
38048
38427
|
access: "view"
|
|
38049
38428
|
},
|
|
38429
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
38430
|
+
capName: "zone-analytics",
|
|
38431
|
+
capScope: "device",
|
|
38432
|
+
addonId: null,
|
|
38433
|
+
access: "view"
|
|
38434
|
+
},
|
|
38050
38435
|
"zoneAnalytics.getUnzonedHistory": {
|
|
38051
38436
|
capName: "zone-analytics",
|
|
38052
38437
|
capScope: "device",
|
|
@@ -39041,14 +39426,14 @@ Object.freeze({
|
|
|
39041
39426
|
form: "single",
|
|
39042
39427
|
optional: true
|
|
39043
39428
|
}],
|
|
39044
|
-
"pipelineAnalytics.
|
|
39429
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
39045
39430
|
name: "deviceId",
|
|
39046
39431
|
form: "single",
|
|
39047
39432
|
optional: false
|
|
39048
39433
|
}],
|
|
39049
|
-
"pipelineAnalytics.
|
|
39050
|
-
name: "
|
|
39051
|
-
form: "
|
|
39434
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
39435
|
+
name: "deviceIds",
|
|
39436
|
+
form: "array",
|
|
39052
39437
|
optional: false
|
|
39053
39438
|
}],
|
|
39054
39439
|
"pipelineAnalytics.getMotionEvents": [{
|
|
@@ -39106,11 +39491,6 @@ Object.freeze({
|
|
|
39106
39491
|
form: "single",
|
|
39107
39492
|
optional: false
|
|
39108
39493
|
}],
|
|
39109
|
-
"pipelineAnalytics.listGroups": [{
|
|
39110
|
-
name: "deviceIds",
|
|
39111
|
-
form: "array",
|
|
39112
|
-
optional: false
|
|
39113
|
-
}],
|
|
39114
39494
|
"pipelineAnalytics.listOpsLog": [{
|
|
39115
39495
|
name: "deviceId",
|
|
39116
39496
|
form: "single",
|
|
@@ -39156,6 +39536,11 @@ Object.freeze({
|
|
|
39156
39536
|
form: "single",
|
|
39157
39537
|
optional: true
|
|
39158
39538
|
}],
|
|
39539
|
+
"pipelineAnalytics.reclaimDebugMedia": [{
|
|
39540
|
+
name: "deviceIds",
|
|
39541
|
+
form: "array",
|
|
39542
|
+
optional: true
|
|
39543
|
+
}],
|
|
39159
39544
|
"pipelineAnalytics.reconcileFromDisk": [{
|
|
39160
39545
|
name: "deviceId",
|
|
39161
39546
|
form: "single",
|
|
@@ -39491,6 +39876,11 @@ Object.freeze({
|
|
|
39491
39876
|
form: "single",
|
|
39492
39877
|
optional: false
|
|
39493
39878
|
}],
|
|
39879
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
39880
|
+
name: "deviceId",
|
|
39881
|
+
form: "single",
|
|
39882
|
+
optional: true
|
|
39883
|
+
}],
|
|
39494
39884
|
"recording.relocateFootage": [{
|
|
39495
39885
|
name: "deviceId",
|
|
39496
39886
|
form: "single",
|
|
@@ -39516,6 +39906,11 @@ Object.freeze({
|
|
|
39516
39906
|
form: "single",
|
|
39517
39907
|
optional: false
|
|
39518
39908
|
}],
|
|
39909
|
+
"recording.setDevicePlacement": [{
|
|
39910
|
+
name: "deviceId",
|
|
39911
|
+
form: "single",
|
|
39912
|
+
optional: false
|
|
39913
|
+
}],
|
|
39519
39914
|
"recording.startStorageMigrationMove": [{
|
|
39520
39915
|
name: "deviceId",
|
|
39521
39916
|
form: "single",
|
|
@@ -39556,6 +39951,11 @@ Object.freeze({
|
|
|
39556
39951
|
form: "single",
|
|
39557
39952
|
optional: false
|
|
39558
39953
|
}],
|
|
39954
|
+
"sceneMonitor.listScenesBatch": [{
|
|
39955
|
+
name: "deviceIds",
|
|
39956
|
+
form: "array",
|
|
39957
|
+
optional: false
|
|
39958
|
+
}],
|
|
39559
39959
|
"sceneMonitor.recheckNow": [{
|
|
39560
39960
|
name: "deviceId",
|
|
39561
39961
|
form: "single",
|
|
@@ -39817,6 +40217,11 @@ Object.freeze({
|
|
|
39817
40217
|
form: "single",
|
|
39818
40218
|
optional: false
|
|
39819
40219
|
}],
|
|
40220
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
40221
|
+
name: "deviceIds",
|
|
40222
|
+
form: "array",
|
|
40223
|
+
optional: false
|
|
40224
|
+
}],
|
|
39820
40225
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
39821
40226
|
name: "deviceId",
|
|
39822
40227
|
form: "single",
|