@camstack/addon-provider-dreo 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.mjs
CHANGED
|
@@ -8055,6 +8055,20 @@ var RelocateJobSchema = object({
|
|
|
8055
8055
|
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8056
8056
|
*/
|
|
8057
8057
|
rowsReconciled: number().int().nonnegative().optional(),
|
|
8058
|
+
/**
|
|
8059
|
+
* Rows this run FORGOT because the file they name is not on disk.
|
|
8060
|
+
*
|
|
8061
|
+
* The mover derived the path from the row's own fields and `stat`ed it; an
|
|
8062
|
+
* ENOENT there is a per-path confirmation that the segment is gone (D296),
|
|
8063
|
+
* and the durable row is dropped through the same channel eviction uses. It
|
|
8064
|
+
* is reported for the same reason `rowsReconciled` is: this is a durable
|
|
8065
|
+
* mutation nobody asked for, and a migration that quietly erases hour rows is
|
|
8066
|
+
* the same failure as one that quietly skips them (D295).
|
|
8067
|
+
*
|
|
8068
|
+
* The production drain of 2026-08-30 would have reported 11 074 here — the
|
|
8069
|
+
* ledger claimed 5.65 GB of footage that no longer existed.
|
|
8070
|
+
*/
|
|
8071
|
+
rowsForgotten: number().int().nonnegative().optional(),
|
|
8058
8072
|
startedAt: number(),
|
|
8059
8073
|
finishedAt: number().nullable(),
|
|
8060
8074
|
error: string().nullable()
|
|
@@ -8119,6 +8133,13 @@ var MediaRelocateModeSchema = _enum([
|
|
|
8119
8133
|
]);
|
|
8120
8134
|
var RelocateMediaInputSchema = object({
|
|
8121
8135
|
toLocationId: string(),
|
|
8136
|
+
/**
|
|
8137
|
+
* Restrict the pass to rows currently on this location. Omitted / `'*'` =
|
|
8138
|
+
* every row that is not already on `toLocationId` (the historical
|
|
8139
|
+
* behaviour). A named source is what a from→to migration needs: without it
|
|
8140
|
+
* "move events off disk 2" also emptied disk 1.
|
|
8141
|
+
*/
|
|
8142
|
+
fromLocationId: string().optional(),
|
|
8122
8143
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8123
8144
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8124
8145
|
mode: MediaRelocateModeSchema.optional()
|
|
@@ -8186,6 +8207,19 @@ var StorageMigrationDestinationsSchema = object({
|
|
|
8186
8207
|
galleryMedia: string().min(1).optional()
|
|
8187
8208
|
}).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
|
|
8188
8209
|
/**
|
|
8210
|
+
* Optional named source per class. Omitted = the class's current default
|
|
8211
|
+
* (the historical behaviour). A named source that is NOT the default is a
|
|
8212
|
+
* drain of that disk: bytes move, the default stays, and the source is
|
|
8213
|
+
* disabled when the move finishes.
|
|
8214
|
+
*/
|
|
8215
|
+
var StorageMigrationSourcesSchema = object({
|
|
8216
|
+
recordings: string().min(1).optional(),
|
|
8217
|
+
recordingsLow: string().min(1).optional(),
|
|
8218
|
+
eventMedia: string().min(1).optional(),
|
|
8219
|
+
backups: string().min(1).optional(),
|
|
8220
|
+
galleryMedia: string().min(1).optional()
|
|
8221
|
+
}).optional();
|
|
8222
|
+
/**
|
|
8189
8223
|
* How a migration sequences the cutover against the byte move.
|
|
8190
8224
|
*
|
|
8191
8225
|
* - `blocking` — the historical order: pause, move every byte, repoint,
|
|
@@ -8207,6 +8241,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
|
|
|
8207
8241
|
/** Shared input for planning and starting an orchestrated storage migration. */
|
|
8208
8242
|
var StorageMigrationInputSchema = object({
|
|
8209
8243
|
destinations: StorageMigrationDestinationsSchema,
|
|
8244
|
+
/** Omitted = each class's current default. */
|
|
8245
|
+
sources: StorageMigrationSourcesSchema,
|
|
8210
8246
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8211
8247
|
/** Omitted = `blocking`, which stays the default. */
|
|
8212
8248
|
mode: StorageMigrationModeSchema.optional()
|
|
@@ -8286,6 +8322,13 @@ var StorageMigrationMoveSchema = object({
|
|
|
8286
8322
|
storageClass: StorageMigrationClassSchema,
|
|
8287
8323
|
fromLocationId: string(),
|
|
8288
8324
|
toLocationId: string(),
|
|
8325
|
+
/**
|
|
8326
|
+
* True when `from` was NOT the class default at plan time. The move still
|
|
8327
|
+
* copies bytes, but the default is left alone and the source is disabled
|
|
8328
|
+
* once the copy verifies. Absent on jobs planned before this field existed
|
|
8329
|
+
* — those jobs always repointed, which is `false`.
|
|
8330
|
+
*/
|
|
8331
|
+
freezeSource: boolean().optional(),
|
|
8289
8332
|
moverJobId: string().nullable(),
|
|
8290
8333
|
state: RelocateJobStateSchema.nullable(),
|
|
8291
8334
|
error: string().nullable(),
|
|
@@ -8299,6 +8342,7 @@ var StorageMigrationJobSchema = object({
|
|
|
8299
8342
|
* can tell a seconds-long cutover from a thirty-hour one. */
|
|
8300
8343
|
mode: StorageMigrationModeSchema,
|
|
8301
8344
|
destinations: StorageMigrationDestinationsSchema,
|
|
8345
|
+
sources: StorageMigrationSourcesSchema,
|
|
8302
8346
|
throttleMbps: number(),
|
|
8303
8347
|
moves: array(StorageMigrationMoveSchema),
|
|
8304
8348
|
pauseLeaseId: string().nullable(),
|
|
@@ -8324,6 +8368,7 @@ var StorageMigrationFindingSchema = object({
|
|
|
8324
8368
|
});
|
|
8325
8369
|
var StorageMigrationPlanSchema = object({
|
|
8326
8370
|
destinations: StorageMigrationDestinationsSchema,
|
|
8371
|
+
sources: StorageMigrationSourcesSchema,
|
|
8327
8372
|
/** The mode this plan was built for. A plan is only valid for its mode: the
|
|
8328
8373
|
* `eventMedia` seal gate and the single-cardinality refusal both depend on
|
|
8329
8374
|
* it. */
|
|
@@ -8331,7 +8376,8 @@ var StorageMigrationPlanSchema = object({
|
|
|
8331
8376
|
moves: array(object({
|
|
8332
8377
|
storageClass: StorageMigrationClassSchema,
|
|
8333
8378
|
fromLocationId: string(),
|
|
8334
|
-
toLocationId: string()
|
|
8379
|
+
toLocationId: string(),
|
|
8380
|
+
freezeSource: boolean().optional()
|
|
8335
8381
|
})),
|
|
8336
8382
|
findings: array(StorageMigrationFindingSchema)
|
|
8337
8383
|
});
|
|
@@ -8418,16 +8464,142 @@ var RelocateResidueSchema = object({
|
|
|
8418
8464
|
segments: number().int().nonnegative(),
|
|
8419
8465
|
bytes: number().int().nonnegative()
|
|
8420
8466
|
}).nullable();
|
|
8467
|
+
/**
|
|
8468
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8469
|
+
* (D319).
|
|
8470
|
+
*
|
|
8471
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8472
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8473
|
+
* destructive run before authorising it.
|
|
8474
|
+
*/
|
|
8475
|
+
var LedgerWalkInputSchema = object({
|
|
8476
|
+
locationId: string().min(1),
|
|
8477
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8478
|
+
apply: boolean().optional(),
|
|
8479
|
+
/** Narrow to one camera. */
|
|
8480
|
+
deviceId: number().int().positive().optional(),
|
|
8481
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8482
|
+
profiles: array(string().min(1)).optional()
|
|
8483
|
+
});
|
|
8484
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8485
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8486
|
+
"location-unknown",
|
|
8487
|
+
"source-writable",
|
|
8488
|
+
"no-ledger",
|
|
8489
|
+
"archive-unreadable",
|
|
8490
|
+
"anchor-absent",
|
|
8491
|
+
"anchor-unreadable",
|
|
8492
|
+
"anchor-moved"
|
|
8493
|
+
]);
|
|
8494
|
+
_enum([
|
|
8495
|
+
"live-tail",
|
|
8496
|
+
"listing-error",
|
|
8497
|
+
"path-mismatch",
|
|
8498
|
+
"durable-refused"
|
|
8499
|
+
]);
|
|
8500
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8501
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8502
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8503
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8504
|
+
"live-tail": number().int().nonnegative(),
|
|
8505
|
+
"listing-error": number().int().nonnegative(),
|
|
8506
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8507
|
+
"durable-refused": number().int().nonnegative()
|
|
8508
|
+
});
|
|
8509
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8510
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8511
|
+
deviceId: number().int(),
|
|
8512
|
+
hoursWalked: number().int().nonnegative(),
|
|
8513
|
+
hoursMissing: number().int().nonnegative(),
|
|
8514
|
+
ghostSegments: number().int().nonnegative(),
|
|
8515
|
+
ghostBytes: number().int().nonnegative(),
|
|
8516
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8517
|
+
orphanFiles: number().int().nonnegative()
|
|
8518
|
+
});
|
|
8519
|
+
/**
|
|
8520
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8521
|
+
*
|
|
8522
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8523
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8524
|
+
* than in the absence of one.
|
|
8525
|
+
*/
|
|
8526
|
+
var LedgerWalkReportSchema = object({
|
|
8527
|
+
locationId: string(),
|
|
8528
|
+
applied: boolean(),
|
|
8529
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8530
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8531
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8532
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8533
|
+
hoursWalked: number().int().nonnegative(),
|
|
8534
|
+
hoursMissing: number().int().nonnegative(),
|
|
8535
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8536
|
+
listings: number().int().nonnegative(),
|
|
8537
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8538
|
+
ghostSegments: number().int().nonnegative(),
|
|
8539
|
+
ghostBytes: number().int().nonnegative(),
|
|
8540
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8541
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8542
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8543
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8544
|
+
orphanFiles: number().int().nonnegative(),
|
|
8545
|
+
orphanSample: array(string()).readonly(),
|
|
8546
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8547
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8548
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8549
|
+
bounded: boolean(),
|
|
8550
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8551
|
+
});
|
|
8421
8552
|
/** How many rows a media pass would still act on against a given target — the
|
|
8422
8553
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8423
8554
|
* never disagree. `null` = the count could not be taken. */
|
|
8424
8555
|
var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
|
|
8425
8556
|
var RelocatableMediaCountInputSchema = object({
|
|
8426
8557
|
toLocationId: string().min(1),
|
|
8558
|
+
/** Restrict the count to one source; omitted / `'*'` = every non-target row. */
|
|
8559
|
+
fromLocationId: string().optional(),
|
|
8427
8560
|
/** Omitted = `move`. */
|
|
8428
8561
|
mode: MediaRelocateModeSchema.optional()
|
|
8429
8562
|
});
|
|
8430
8563
|
/**
|
|
8564
|
+
* Operator cleanup of leftover analytics rows, optional debug media, and
|
|
8565
|
+
* ghost ledger entries on frozen footage locations.
|
|
8566
|
+
*
|
|
8567
|
+
* A pass is tens of minutes on a standing backlog. The hub method RETURNS
|
|
8568
|
+
* `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
|
|
8569
|
+
* is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
|
|
8570
|
+
* with no operator-visible status.
|
|
8571
|
+
*/
|
|
8572
|
+
var StorageCleanupPhaseSchema = _enum([
|
|
8573
|
+
"orphans",
|
|
8574
|
+
"debug-media",
|
|
8575
|
+
"ghost-ledger",
|
|
8576
|
+
"done",
|
|
8577
|
+
"failed",
|
|
8578
|
+
"cancelled"
|
|
8579
|
+
]);
|
|
8580
|
+
var StorageCleanupInputSchema = object({
|
|
8581
|
+
/** Also walk motion stills / track filmstrips. Off by default. */
|
|
8582
|
+
includeDebugMedia: boolean().optional() });
|
|
8583
|
+
var StorageCleanupJobSchema = object({
|
|
8584
|
+
jobId: string(),
|
|
8585
|
+
phase: StorageCleanupPhaseSchema,
|
|
8586
|
+
includeDebugMedia: boolean(),
|
|
8587
|
+
orphansReclaimed: number().int().nonnegative(),
|
|
8588
|
+
orphanBytesReclaimed: number().int().nonnegative(),
|
|
8589
|
+
debugMediaReclaimed: number().int().nonnegative(),
|
|
8590
|
+
debugMediaBytesReclaimed: number().int().nonnegative(),
|
|
8591
|
+
ghostsForgotten: number().int().nonnegative(),
|
|
8592
|
+
ghostBytesForgotten: number().int().nonnegative(),
|
|
8593
|
+
/** Short operator-facing line: current collection, pass, or location. */
|
|
8594
|
+
detail: string().nullable(),
|
|
8595
|
+
cancelRequested: boolean(),
|
|
8596
|
+
startedAt: number(),
|
|
8597
|
+
updatedAt: number(),
|
|
8598
|
+
finishedAt: number().nullable(),
|
|
8599
|
+
error: string().nullable()
|
|
8600
|
+
});
|
|
8601
|
+
var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
|
|
8602
|
+
/**
|
|
8431
8603
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
8432
8604
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
8433
8605
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -8455,11 +8627,10 @@ var StorageLocationTypeSchema = string().regex(/^[a-z][a-zA-Z0-9-]*$/);
|
|
|
8455
8627
|
* The default location for a type uses `id === <type>:default` by
|
|
8456
8628
|
* convention (the bare type ref like `'backups'` resolves to it).
|
|
8457
8629
|
*
|
|
8458
|
-
* `isSystem
|
|
8459
|
-
*
|
|
8460
|
-
*
|
|
8461
|
-
*
|
|
8462
|
-
* deleting it is rejected at the cap level.
|
|
8630
|
+
* `isSystem` is a legacy persisted flag. Seed still creates the initial
|
|
8631
|
+
* `<type>:default` locations; the flag is no longer a lock, a badge, or a
|
|
8632
|
+
* prune selector. New writes leave it false. Deletion is gated on uniqueness
|
|
8633
|
+
* / last-enabled, not on this bit.
|
|
8463
8634
|
*/
|
|
8464
8635
|
var StorageLocationSchema = object({
|
|
8465
8636
|
id: string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
|
|
@@ -13002,6 +13173,12 @@ method(object({
|
|
|
13002
13173
|
}), _void(), {
|
|
13003
13174
|
kind: "mutation",
|
|
13004
13175
|
auth: "admin"
|
|
13176
|
+
}), method(object({
|
|
13177
|
+
from: string(),
|
|
13178
|
+
to: string()
|
|
13179
|
+
}), object({ moved: number() }), {
|
|
13180
|
+
kind: "mutation",
|
|
13181
|
+
auth: "admin"
|
|
13005
13182
|
}), method(object({
|
|
13006
13183
|
deviceId: number(),
|
|
13007
13184
|
disabled: boolean()
|
|
@@ -19010,53 +19187,15 @@ var RecentTracksPageSchema = object({
|
|
|
19010
19187
|
/** Cursor for the next page, or null when this page is the last. */
|
|
19011
19188
|
nextCursor: string().nullable()
|
|
19012
19189
|
});
|
|
19013
|
-
var
|
|
19014
|
-
var
|
|
19015
|
-
var AnalyticsGroupRecordSchema = object({
|
|
19016
|
-
id: string(),
|
|
19017
|
-
deviceId: number().int(),
|
|
19018
|
-
openedAt: number().int(),
|
|
19019
|
-
closedAt: number().int(),
|
|
19020
|
-
timestamp: number().int(),
|
|
19021
|
-
memberCount: number().int(),
|
|
19022
|
-
memberTrackIds: array(string()).readonly(),
|
|
19023
|
-
className: string(),
|
|
19024
|
-
classes: array(string()).readonly(),
|
|
19025
|
-
/** Relative event-media path, or null when the group has no picture yet. */
|
|
19026
|
-
mediaUrl: string().nullable(),
|
|
19027
|
-
singleton: boolean()
|
|
19028
|
-
});
|
|
19029
|
-
var AnalyticsGroupMemberSchema = object({
|
|
19030
|
-
trackId: string(),
|
|
19031
|
-
deviceId: number().int(),
|
|
19032
|
-
className: string(),
|
|
19033
|
-
firstSeen: number().int(),
|
|
19034
|
-
lastSeen: number().int(),
|
|
19035
|
-
mediaUrl: string().nullable()
|
|
19036
|
-
});
|
|
19037
|
-
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
19038
|
-
var ListGroupsQueryInput = object({
|
|
19039
|
-
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
19040
|
-
deviceIds: array(number()),
|
|
19041
|
-
/** Window lower bound on `closedAt` (inclusive). */
|
|
19042
|
-
since: number().optional(),
|
|
19043
|
-
/** Window upper bound on `openedAt` (inclusive). */
|
|
19044
|
-
until: number().optional(),
|
|
19045
|
-
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
19046
|
-
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
19047
|
-
cursor: string().optional()
|
|
19048
|
-
});
|
|
19049
|
-
var ListGroupsPageSchema = object({
|
|
19050
|
-
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
19051
|
-
nextCursor: string().nullable()
|
|
19052
|
-
});
|
|
19190
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
19191
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
19053
19192
|
var KeyEventQueryInput = object({
|
|
19054
19193
|
deviceId: number(),
|
|
19055
19194
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
19056
19195
|
since: number(),
|
|
19057
19196
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
19058
19197
|
until: number(),
|
|
19059
|
-
limit: number().int().min(1).max(
|
|
19198
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19060
19199
|
/** Drop tracks scoring below this importance. */
|
|
19061
19200
|
minImportance: number().min(0).max(1).optional(),
|
|
19062
19201
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -19078,6 +19217,32 @@ var KeyEventSchema = object({
|
|
|
19078
19217
|
...TrackFlagFields,
|
|
19079
19218
|
...TrackRetrainFields
|
|
19080
19219
|
});
|
|
19220
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
19221
|
+
var KeyEventBatchQueryInput = object({
|
|
19222
|
+
deviceIds: array(number()).min(1).max(200),
|
|
19223
|
+
since: number(),
|
|
19224
|
+
until: number(),
|
|
19225
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
19226
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
19227
|
+
* rows and change what the merged feed contains. */
|
|
19228
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19229
|
+
minImportance: number().min(0).max(1).optional(),
|
|
19230
|
+
classFilter: string().optional()
|
|
19231
|
+
});
|
|
19232
|
+
/**
|
|
19233
|
+
* One camera's key events in a batch answer.
|
|
19234
|
+
*
|
|
19235
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
19236
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
19237
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
19238
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
19239
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
19240
|
+
* key, which only worked because there was one query per camera).
|
|
19241
|
+
*/
|
|
19242
|
+
var KeyEventsForDeviceSchema = object({
|
|
19243
|
+
deviceId: number(),
|
|
19244
|
+
events: array(KeyEventSchema).readonly()
|
|
19245
|
+
});
|
|
19081
19246
|
object({
|
|
19082
19247
|
trackId: string(),
|
|
19083
19248
|
className: string(),
|
|
@@ -19125,9 +19290,7 @@ var TrackCascadeCountsSchema = object({
|
|
|
19125
19290
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
19126
19291
|
plates: number().int(),
|
|
19127
19292
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
19128
|
-
embeddings: number().int()
|
|
19129
|
-
/** Group membership + group rows removed with their last member (best-effort). */
|
|
19130
|
-
groups: number().int()
|
|
19293
|
+
embeddings: number().int()
|
|
19131
19294
|
});
|
|
19132
19295
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
19133
19296
|
var DiskReconcileCountsSchema = object({
|
|
@@ -19297,6 +19460,47 @@ var RebuildStatusSchema = object({
|
|
|
19297
19460
|
/** Present when the pass ended by throwing. */
|
|
19298
19461
|
error: string().nullable()
|
|
19299
19462
|
});
|
|
19463
|
+
/**
|
|
19464
|
+
* Acknowledgement that a debug-media reclaim STARTED.
|
|
19465
|
+
*
|
|
19466
|
+
* The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
|
|
19467
|
+
* it runs detached and this returns immediately. Awaiting it is how the
|
|
19468
|
+
* `addons.custom` door hit the 60 s UDS deadline while the walk carried on
|
|
19469
|
+
* with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
|
|
19470
|
+
*/
|
|
19471
|
+
var MediaReclaimStartResultSchema = object({
|
|
19472
|
+
started: boolean(),
|
|
19473
|
+
/** True when a pass was already running; the new request is ignored. */
|
|
19474
|
+
alreadyRunning: boolean()
|
|
19475
|
+
});
|
|
19476
|
+
var MediaReclaimInputSchema = object({
|
|
19477
|
+
mode: _enum(["report", "reclaim"]).default("report"),
|
|
19478
|
+
scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
|
|
19479
|
+
deviceIds: array(number().int()).min(1).optional(),
|
|
19480
|
+
restart: boolean().optional(),
|
|
19481
|
+
pageSize: number().int().min(50).max(5e3).optional(),
|
|
19482
|
+
maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19483
|
+
maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19484
|
+
maxBytesPerRun: number().int().min(1).optional(),
|
|
19485
|
+
budgetMinutes: number().int().min(1).max(720).optional(),
|
|
19486
|
+
throttleBytesPerSec: number().int().min(64 * 1024).optional(),
|
|
19487
|
+
graceMinutes: number().int().min(1).max(10080).optional()
|
|
19488
|
+
});
|
|
19489
|
+
var MediaReclaimStatusSchema = object({
|
|
19490
|
+
running: boolean(),
|
|
19491
|
+
mode: _enum(["report", "reclaim"]).nullable(),
|
|
19492
|
+
totalExamined: number(),
|
|
19493
|
+
totalEligible: number(),
|
|
19494
|
+
totalReclaimed: number(),
|
|
19495
|
+
totalBytesReclaimed: number(),
|
|
19496
|
+
totalRefused: number(),
|
|
19497
|
+
/** Device+scope windows finished in this pass. */
|
|
19498
|
+
devicesDone: number(),
|
|
19499
|
+
complete: boolean().nullable(),
|
|
19500
|
+
startedAtMs: number().nullable(),
|
|
19501
|
+
finishedAtMs: number().nullable(),
|
|
19502
|
+
error: string().nullable()
|
|
19503
|
+
});
|
|
19300
19504
|
var ReplayFrameInputSchema = object({
|
|
19301
19505
|
timestamp: number(),
|
|
19302
19506
|
frame: PipelineRunResultBridge
|
|
@@ -19335,10 +19539,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19335
19539
|
* stationary registry). Default false: the timeline lists passages,
|
|
19336
19540
|
* not parking records (operator decision, 2026-08-15). */
|
|
19337
19541
|
includeStationary: boolean().optional()
|
|
19338
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
19339
|
-
deviceId: number(),
|
|
19340
|
-
groupId: string().min(1)
|
|
19341
|
-
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19542
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19342
19543
|
kind: "mutation",
|
|
19343
19544
|
auth: "admin"
|
|
19344
19545
|
}), 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({
|
|
@@ -19347,7 +19548,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19347
19548
|
until: number().optional(),
|
|
19348
19549
|
kinds: array(string()).optional(),
|
|
19349
19550
|
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
19350
|
-
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
19551
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
19351
19552
|
deviceId: number(),
|
|
19352
19553
|
since: number(),
|
|
19353
19554
|
until: number(),
|
|
@@ -19438,6 +19639,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19438
19639
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
19439
19640
|
kind: "query",
|
|
19440
19641
|
auth: "admin"
|
|
19642
|
+
}), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
|
|
19643
|
+
kind: "mutation",
|
|
19644
|
+
auth: "admin"
|
|
19645
|
+
}), method(object({}), MediaReclaimStatusSchema, {
|
|
19646
|
+
kind: "query",
|
|
19647
|
+
auth: "admin"
|
|
19441
19648
|
}), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
|
|
19442
19649
|
kind: "query",
|
|
19443
19650
|
auth: "admin"
|
|
@@ -21408,7 +21615,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
21408
21615
|
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
21409
21616
|
kind: "mutation",
|
|
21410
21617
|
auth: "admin"
|
|
21411
|
-
})
|
|
21618
|
+
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
21619
|
+
kind: "mutation",
|
|
21620
|
+
auth: "admin"
|
|
21621
|
+
}), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
21622
|
+
kind: "mutation",
|
|
21623
|
+
auth: "admin"
|
|
21624
|
+
}), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
|
|
21412
21625
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
21413
21626
|
providerId: string().min(1),
|
|
21414
21627
|
displayName: string().min(1),
|
|
@@ -28509,6 +28722,33 @@ var RecordingRebalanceInputSchema = object({
|
|
|
28509
28722
|
minMoveGb: number().min(0).optional()
|
|
28510
28723
|
});
|
|
28511
28724
|
/**
|
|
28725
|
+
* Operator-facing placement of one camera onto a recordings location.
|
|
28726
|
+
*
|
|
28727
|
+
* `pinLocationId` is the operator instruction: a location id, or `null` for
|
|
28728
|
+
* Auto (the planner may move this camera). `locationId` is where high/mid
|
|
28729
|
+
* currently write — the plan, which may disagree with the pin when Auto.
|
|
28730
|
+
*/
|
|
28731
|
+
var RecordingDevicePlacementSchema = object({
|
|
28732
|
+
deviceId: number().int(),
|
|
28733
|
+
profile: string(),
|
|
28734
|
+
locationId: string()
|
|
28735
|
+
});
|
|
28736
|
+
var RecordingDevicePinSchema = object({
|
|
28737
|
+
deviceId: number().int(),
|
|
28738
|
+
/** Recordings-class location this camera is pinned to. */
|
|
28739
|
+
locationId: string()
|
|
28740
|
+
});
|
|
28741
|
+
var RecordingPlacementViewSchema = object({
|
|
28742
|
+
assignments: array(RecordingDevicePlacementSchema),
|
|
28743
|
+
pins: array(RecordingDevicePinSchema),
|
|
28744
|
+
defaultLocations: record(string(), string())
|
|
28745
|
+
});
|
|
28746
|
+
var RecordingSetDevicePlacementInputSchema = object({
|
|
28747
|
+
deviceId: number().int(),
|
|
28748
|
+
/** `null` = Auto. Otherwise a `recordings:*` location id. */
|
|
28749
|
+
locationId: string().nullable()
|
|
28750
|
+
});
|
|
28751
|
+
/**
|
|
28512
28752
|
* Result of locating footage at a wall-clock instant for one device/profile.
|
|
28513
28753
|
* `segment` carries the covering segment's window; `gap` reports the forward
|
|
28514
28754
|
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
@@ -28722,6 +28962,9 @@ method(object({
|
|
|
28722
28962
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
28723
28963
|
kind: "query",
|
|
28724
28964
|
auth: "admin"
|
|
28965
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
28966
|
+
kind: "mutation",
|
|
28967
|
+
auth: "admin"
|
|
28725
28968
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
28726
28969
|
kind: "mutation",
|
|
28727
28970
|
auth: "admin"
|
|
@@ -28731,6 +28974,12 @@ method(object({
|
|
|
28731
28974
|
}), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
|
|
28732
28975
|
kind: "mutation",
|
|
28733
28976
|
auth: "admin"
|
|
28977
|
+
}), method(object({}), RecordingPlacementViewSchema, {
|
|
28978
|
+
kind: "query",
|
|
28979
|
+
auth: "admin"
|
|
28980
|
+
}), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
|
|
28981
|
+
kind: "mutation",
|
|
28982
|
+
auth: "admin"
|
|
28734
28983
|
});
|
|
28735
28984
|
/**
|
|
28736
28985
|
* `recording-export` cap — render a footage time range into a single downloadable
|
|
@@ -29113,6 +29362,25 @@ var SceneMonitorStatusSchema = object({
|
|
|
29113
29362
|
monitors: array(SceneMonitorSchema),
|
|
29114
29363
|
lastFetchedAt: number()
|
|
29115
29364
|
});
|
|
29365
|
+
/**
|
|
29366
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
29367
|
+
*
|
|
29368
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
29369
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
29370
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
29371
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
29372
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
29373
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
29374
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
29375
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
29376
|
+
*
|
|
29377
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
29378
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
29379
|
+
*/
|
|
29380
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
29381
|
+
deviceId: number(),
|
|
29382
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
29383
|
+
});
|
|
29116
29384
|
var sceneMonitorCapability = {
|
|
29117
29385
|
name: "scene-monitor",
|
|
29118
29386
|
scope: "device",
|
|
@@ -29122,6 +29390,22 @@ var sceneMonitorCapability = {
|
|
|
29122
29390
|
deviceTypes: [DeviceType.Camera],
|
|
29123
29391
|
methods: {
|
|
29124
29392
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
29393
|
+
/**
|
|
29394
|
+
* The same answer, for a SET of cameras, in one round trip.
|
|
29395
|
+
*
|
|
29396
|
+
* `/scenes` renders every camera and re-reads them on a 30s safety-net
|
|
29397
|
+
* poll behind the push slice. Fanned out client-side that was one query
|
|
29398
|
+
* per camera — 29 round trips through the browser, the hub and the
|
|
29399
|
+
* post-analysis runner every 30 seconds to read an in-memory map the
|
|
29400
|
+
* owner had already merged. The work is unchanged (`statusFor` per
|
|
29401
|
+
* device, all in-process at the owner); what collapses is the transport.
|
|
29402
|
+
*
|
|
29403
|
+
* A camera that cannot answer still gets a row, with `status: null` —
|
|
29404
|
+
* see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
|
|
29405
|
+
* ids: a caller that asked for twenty-nine and got twenty-seven cannot
|
|
29406
|
+
* tell which two are missing, or that any are.
|
|
29407
|
+
*/
|
|
29408
|
+
listScenesBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
29125
29409
|
createScene: method(object({
|
|
29126
29410
|
deviceId: number(),
|
|
29127
29411
|
label: string(),
|
|
@@ -30957,6 +31241,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
30957
31241
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
30958
31242
|
});
|
|
30959
31243
|
/**
|
|
31244
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
31245
|
+
*
|
|
31246
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
31247
|
+
* because `snapshot: null` was already spoken for:
|
|
31248
|
+
*
|
|
31249
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
31250
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
31251
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
31252
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
31253
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
31254
|
+
*
|
|
31255
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
31256
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
31257
|
+
* which is a definite claim about a camera nobody could read.
|
|
31258
|
+
*/
|
|
31259
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
31260
|
+
deviceId: number(),
|
|
31261
|
+
read: _enum(["read", "unreadable"]),
|
|
31262
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
31263
|
+
});
|
|
31264
|
+
/**
|
|
30960
31265
|
* Time-series resolution. The history methods return one bucket per
|
|
30961
31266
|
* step over the requested range. Smaller resolutions cost more
|
|
30962
31267
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -31013,6 +31318,20 @@ var zoneAnalyticsCapability = {
|
|
|
31013
31318
|
* (no inference result emitted since boot or since binding was
|
|
31014
31319
|
* activated). */
|
|
31015
31320
|
getCurrentSnapshot: method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()),
|
|
31321
|
+
/**
|
|
31322
|
+
* The same snapshot, for a SET of cameras, in one round trip.
|
|
31323
|
+
*
|
|
31324
|
+
* The Events page's Stationary section polls this every 15s for every
|
|
31325
|
+
* selected camera. Fanned out client-side that is one query per camera to
|
|
31326
|
+
* read a `Map.get` at the owner — the answer costs nothing, the round trip
|
|
31327
|
+
* costs everything. Batched, N transports become one and the per-device
|
|
31328
|
+
* work is unchanged.
|
|
31329
|
+
*
|
|
31330
|
+
* Every requested deviceId gets a row, tagged `read` — see
|
|
31331
|
+
* {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
|
|
31332
|
+
* not answer for is `'unreadable'`, never an empty reading.
|
|
31333
|
+
*/
|
|
31334
|
+
getCurrentSnapshotBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()),
|
|
31016
31335
|
/** Time-series object count inside one zone. `className` optional —
|
|
31017
31336
|
* omit to count every class in the zone. */
|
|
31018
31337
|
getZoneHistory: method(object({
|
|
@@ -33730,6 +34049,12 @@ Object.freeze({
|
|
|
33730
34049
|
addonId: null,
|
|
33731
34050
|
access: "delete"
|
|
33732
34051
|
},
|
|
34052
|
+
"deviceManager.renameLocation": {
|
|
34053
|
+
capName: "device-manager",
|
|
34054
|
+
capScope: "system",
|
|
34055
|
+
addonId: null,
|
|
34056
|
+
access: "create"
|
|
34057
|
+
},
|
|
33733
34058
|
"deviceManager.runDeviceAction": {
|
|
33734
34059
|
capName: "device-manager",
|
|
33735
34060
|
capScope: "system",
|
|
@@ -35422,13 +35747,19 @@ Object.freeze({
|
|
|
35422
35747
|
addonId: null,
|
|
35423
35748
|
access: "view"
|
|
35424
35749
|
},
|
|
35425
|
-
"pipelineAnalytics.
|
|
35750
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
35426
35751
|
capName: "pipeline-analytics",
|
|
35427
35752
|
capScope: "device",
|
|
35428
35753
|
addonId: null,
|
|
35429
35754
|
access: "view"
|
|
35430
35755
|
},
|
|
35431
|
-
"pipelineAnalytics.
|
|
35756
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
35757
|
+
capName: "pipeline-analytics",
|
|
35758
|
+
capScope: "device",
|
|
35759
|
+
addonId: null,
|
|
35760
|
+
access: "view"
|
|
35761
|
+
},
|
|
35762
|
+
"pipelineAnalytics.getMediaReclaimStatus": {
|
|
35432
35763
|
capName: "pipeline-analytics",
|
|
35433
35764
|
capScope: "device",
|
|
35434
35765
|
addonId: null,
|
|
@@ -35518,12 +35849,6 @@ Object.freeze({
|
|
|
35518
35849
|
addonId: null,
|
|
35519
35850
|
access: "view"
|
|
35520
35851
|
},
|
|
35521
|
-
"pipelineAnalytics.listGroups": {
|
|
35522
|
-
capName: "pipeline-analytics",
|
|
35523
|
-
capScope: "device",
|
|
35524
|
-
addonId: null,
|
|
35525
|
-
access: "view"
|
|
35526
|
-
},
|
|
35527
35852
|
"pipelineAnalytics.listOpsLog": {
|
|
35528
35853
|
capName: "pipeline-analytics",
|
|
35529
35854
|
capScope: "device",
|
|
@@ -35608,6 +35933,12 @@ Object.freeze({
|
|
|
35608
35933
|
addonId: null,
|
|
35609
35934
|
access: "create"
|
|
35610
35935
|
},
|
|
35936
|
+
"pipelineAnalytics.reclaimDebugMedia": {
|
|
35937
|
+
capName: "pipeline-analytics",
|
|
35938
|
+
capScope: "device",
|
|
35939
|
+
addonId: null,
|
|
35940
|
+
access: "create"
|
|
35941
|
+
},
|
|
35611
35942
|
"pipelineAnalytics.reconcileFromDisk": {
|
|
35612
35943
|
capName: "pipeline-analytics",
|
|
35613
35944
|
capScope: "device",
|
|
@@ -36532,6 +36863,12 @@ Object.freeze({
|
|
|
36532
36863
|
addonId: null,
|
|
36533
36864
|
access: "view"
|
|
36534
36865
|
},
|
|
36866
|
+
"recording.getPlacement": {
|
|
36867
|
+
capName: "recording",
|
|
36868
|
+
capScope: "system",
|
|
36869
|
+
addonId: null,
|
|
36870
|
+
access: "view"
|
|
36871
|
+
},
|
|
36535
36872
|
"recording.getPlaybackManifest": {
|
|
36536
36873
|
capName: "recording",
|
|
36537
36874
|
capScope: "system",
|
|
@@ -36610,6 +36947,12 @@ Object.freeze({
|
|
|
36610
36947
|
addonId: null,
|
|
36611
36948
|
access: "view"
|
|
36612
36949
|
},
|
|
36950
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
36951
|
+
capName: "recording",
|
|
36952
|
+
capScope: "system",
|
|
36953
|
+
addonId: null,
|
|
36954
|
+
access: "create"
|
|
36955
|
+
},
|
|
36613
36956
|
"recording.refreshStorageLocationsForMigration": {
|
|
36614
36957
|
capName: "recording",
|
|
36615
36958
|
capScope: "system",
|
|
@@ -36652,6 +36995,12 @@ Object.freeze({
|
|
|
36652
36995
|
addonId: null,
|
|
36653
36996
|
access: "create"
|
|
36654
36997
|
},
|
|
36998
|
+
"recording.setDevicePlacement": {
|
|
36999
|
+
capName: "recording",
|
|
37000
|
+
capScope: "system",
|
|
37001
|
+
addonId: null,
|
|
37002
|
+
access: "create"
|
|
37003
|
+
},
|
|
36655
37004
|
"recording.startStorageMigrationMove": {
|
|
36656
37005
|
capName: "recording",
|
|
36657
37006
|
capScope: "system",
|
|
@@ -36736,6 +37085,12 @@ Object.freeze({
|
|
|
36736
37085
|
addonId: null,
|
|
36737
37086
|
access: "view"
|
|
36738
37087
|
},
|
|
37088
|
+
"sceneMonitor.listScenesBatch": {
|
|
37089
|
+
capName: "scene-monitor",
|
|
37090
|
+
capScope: "device",
|
|
37091
|
+
addonId: null,
|
|
37092
|
+
access: "view"
|
|
37093
|
+
},
|
|
36739
37094
|
"sceneMonitor.recheckNow": {
|
|
36740
37095
|
capName: "scene-monitor",
|
|
36741
37096
|
capScope: "device",
|
|
@@ -37090,12 +37445,36 @@ Object.freeze({
|
|
|
37090
37445
|
addonId: null,
|
|
37091
37446
|
access: "create"
|
|
37092
37447
|
},
|
|
37448
|
+
"storageMigration.cleanupCancel": {
|
|
37449
|
+
capName: "storage-migration",
|
|
37450
|
+
capScope: "system",
|
|
37451
|
+
addonId: null,
|
|
37452
|
+
access: "create"
|
|
37453
|
+
},
|
|
37454
|
+
"storageMigration.cleanupStart": {
|
|
37455
|
+
capName: "storage-migration",
|
|
37456
|
+
capScope: "system",
|
|
37457
|
+
addonId: null,
|
|
37458
|
+
access: "create"
|
|
37459
|
+
},
|
|
37460
|
+
"storageMigration.cleanupStatus": {
|
|
37461
|
+
capName: "storage-migration",
|
|
37462
|
+
capScope: "system",
|
|
37463
|
+
addonId: null,
|
|
37464
|
+
access: "view"
|
|
37465
|
+
},
|
|
37093
37466
|
"storageMigration.drain": {
|
|
37094
37467
|
capName: "storage-migration",
|
|
37095
37468
|
capScope: "system",
|
|
37096
37469
|
addonId: null,
|
|
37097
37470
|
access: "create"
|
|
37098
37471
|
},
|
|
37472
|
+
"storageMigration.history": {
|
|
37473
|
+
capName: "storage-migration",
|
|
37474
|
+
capScope: "system",
|
|
37475
|
+
addonId: null,
|
|
37476
|
+
access: "view"
|
|
37477
|
+
},
|
|
37099
37478
|
"storageMigration.movers": {
|
|
37100
37479
|
capName: "storage-migration",
|
|
37101
37480
|
capScope: "system",
|
|
@@ -38092,6 +38471,12 @@ Object.freeze({
|
|
|
38092
38471
|
addonId: null,
|
|
38093
38472
|
access: "view"
|
|
38094
38473
|
},
|
|
38474
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
38475
|
+
capName: "zone-analytics",
|
|
38476
|
+
capScope: "device",
|
|
38477
|
+
addonId: null,
|
|
38478
|
+
access: "view"
|
|
38479
|
+
},
|
|
38095
38480
|
"zoneAnalytics.getUnzonedHistory": {
|
|
38096
38481
|
capName: "zone-analytics",
|
|
38097
38482
|
capScope: "device",
|
|
@@ -39086,14 +39471,14 @@ Object.freeze({
|
|
|
39086
39471
|
form: "single",
|
|
39087
39472
|
optional: true
|
|
39088
39473
|
}],
|
|
39089
|
-
"pipelineAnalytics.
|
|
39474
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
39090
39475
|
name: "deviceId",
|
|
39091
39476
|
form: "single",
|
|
39092
39477
|
optional: false
|
|
39093
39478
|
}],
|
|
39094
|
-
"pipelineAnalytics.
|
|
39095
|
-
name: "
|
|
39096
|
-
form: "
|
|
39479
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
39480
|
+
name: "deviceIds",
|
|
39481
|
+
form: "array",
|
|
39097
39482
|
optional: false
|
|
39098
39483
|
}],
|
|
39099
39484
|
"pipelineAnalytics.getMotionEvents": [{
|
|
@@ -39151,11 +39536,6 @@ Object.freeze({
|
|
|
39151
39536
|
form: "single",
|
|
39152
39537
|
optional: false
|
|
39153
39538
|
}],
|
|
39154
|
-
"pipelineAnalytics.listGroups": [{
|
|
39155
|
-
name: "deviceIds",
|
|
39156
|
-
form: "array",
|
|
39157
|
-
optional: false
|
|
39158
|
-
}],
|
|
39159
39539
|
"pipelineAnalytics.listOpsLog": [{
|
|
39160
39540
|
name: "deviceId",
|
|
39161
39541
|
form: "single",
|
|
@@ -39201,6 +39581,11 @@ Object.freeze({
|
|
|
39201
39581
|
form: "single",
|
|
39202
39582
|
optional: true
|
|
39203
39583
|
}],
|
|
39584
|
+
"pipelineAnalytics.reclaimDebugMedia": [{
|
|
39585
|
+
name: "deviceIds",
|
|
39586
|
+
form: "array",
|
|
39587
|
+
optional: true
|
|
39588
|
+
}],
|
|
39204
39589
|
"pipelineAnalytics.reconcileFromDisk": [{
|
|
39205
39590
|
name: "deviceId",
|
|
39206
39591
|
form: "single",
|
|
@@ -39536,6 +39921,11 @@ Object.freeze({
|
|
|
39536
39921
|
form: "single",
|
|
39537
39922
|
optional: false
|
|
39538
39923
|
}],
|
|
39924
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
39925
|
+
name: "deviceId",
|
|
39926
|
+
form: "single",
|
|
39927
|
+
optional: true
|
|
39928
|
+
}],
|
|
39539
39929
|
"recording.relocateFootage": [{
|
|
39540
39930
|
name: "deviceId",
|
|
39541
39931
|
form: "single",
|
|
@@ -39561,6 +39951,11 @@ Object.freeze({
|
|
|
39561
39951
|
form: "single",
|
|
39562
39952
|
optional: false
|
|
39563
39953
|
}],
|
|
39954
|
+
"recording.setDevicePlacement": [{
|
|
39955
|
+
name: "deviceId",
|
|
39956
|
+
form: "single",
|
|
39957
|
+
optional: false
|
|
39958
|
+
}],
|
|
39564
39959
|
"recording.startStorageMigrationMove": [{
|
|
39565
39960
|
name: "deviceId",
|
|
39566
39961
|
form: "single",
|
|
@@ -39601,6 +39996,11 @@ Object.freeze({
|
|
|
39601
39996
|
form: "single",
|
|
39602
39997
|
optional: false
|
|
39603
39998
|
}],
|
|
39999
|
+
"sceneMonitor.listScenesBatch": [{
|
|
40000
|
+
name: "deviceIds",
|
|
40001
|
+
form: "array",
|
|
40002
|
+
optional: false
|
|
40003
|
+
}],
|
|
39604
40004
|
"sceneMonitor.recheckNow": [{
|
|
39605
40005
|
name: "deviceId",
|
|
39606
40006
|
form: "single",
|
|
@@ -39862,6 +40262,11 @@ Object.freeze({
|
|
|
39862
40262
|
form: "single",
|
|
39863
40263
|
optional: false
|
|
39864
40264
|
}],
|
|
40265
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
40266
|
+
name: "deviceIds",
|
|
40267
|
+
form: "array",
|
|
40268
|
+
optional: false
|
|
40269
|
+
}],
|
|
39865
40270
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
39866
40271
|
name: "deviceId",
|
|
39867
40272
|
form: "single",
|