@camstack/addon-matter-broker 0.2.47 → 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 +478 -73
- package/dist/addon.mjs +478 -73
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -8032,6 +8032,20 @@ var RelocateJobSchema = object({
|
|
|
8032
8032
|
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8033
8033
|
*/
|
|
8034
8034
|
rowsReconciled: number().int().nonnegative().optional(),
|
|
8035
|
+
/**
|
|
8036
|
+
* Rows this run FORGOT because the file they name is not on disk.
|
|
8037
|
+
*
|
|
8038
|
+
* The mover derived the path from the row's own fields and `stat`ed it; an
|
|
8039
|
+
* ENOENT there is a per-path confirmation that the segment is gone (D296),
|
|
8040
|
+
* and the durable row is dropped through the same channel eviction uses. It
|
|
8041
|
+
* is reported for the same reason `rowsReconciled` is: this is a durable
|
|
8042
|
+
* mutation nobody asked for, and a migration that quietly erases hour rows is
|
|
8043
|
+
* the same failure as one that quietly skips them (D295).
|
|
8044
|
+
*
|
|
8045
|
+
* The production drain of 2026-08-30 would have reported 11 074 here — the
|
|
8046
|
+
* ledger claimed 5.65 GB of footage that no longer existed.
|
|
8047
|
+
*/
|
|
8048
|
+
rowsForgotten: number().int().nonnegative().optional(),
|
|
8035
8049
|
startedAt: number(),
|
|
8036
8050
|
finishedAt: number().nullable(),
|
|
8037
8051
|
error: string$2().nullable()
|
|
@@ -8096,6 +8110,13 @@ var MediaRelocateModeSchema = _enum([
|
|
|
8096
8110
|
]);
|
|
8097
8111
|
var RelocateMediaInputSchema = object({
|
|
8098
8112
|
toLocationId: string$2(),
|
|
8113
|
+
/**
|
|
8114
|
+
* Restrict the pass to rows currently on this location. Omitted / `'*'` =
|
|
8115
|
+
* every row that is not already on `toLocationId` (the historical
|
|
8116
|
+
* behaviour). A named source is what a from→to migration needs: without it
|
|
8117
|
+
* "move events off disk 2" also emptied disk 1.
|
|
8118
|
+
*/
|
|
8119
|
+
fromLocationId: string$2().optional(),
|
|
8099
8120
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8100
8121
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8101
8122
|
mode: MediaRelocateModeSchema.optional()
|
|
@@ -8163,6 +8184,19 @@ var StorageMigrationDestinationsSchema = object({
|
|
|
8163
8184
|
galleryMedia: string$2().min(1).optional()
|
|
8164
8185
|
}).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
|
|
8165
8186
|
/**
|
|
8187
|
+
* Optional named source per class. Omitted = the class's current default
|
|
8188
|
+
* (the historical behaviour). A named source that is NOT the default is a
|
|
8189
|
+
* drain of that disk: bytes move, the default stays, and the source is
|
|
8190
|
+
* disabled when the move finishes.
|
|
8191
|
+
*/
|
|
8192
|
+
var StorageMigrationSourcesSchema = object({
|
|
8193
|
+
recordings: string$2().min(1).optional(),
|
|
8194
|
+
recordingsLow: string$2().min(1).optional(),
|
|
8195
|
+
eventMedia: string$2().min(1).optional(),
|
|
8196
|
+
backups: string$2().min(1).optional(),
|
|
8197
|
+
galleryMedia: string$2().min(1).optional()
|
|
8198
|
+
}).optional();
|
|
8199
|
+
/**
|
|
8166
8200
|
* How a migration sequences the cutover against the byte move.
|
|
8167
8201
|
*
|
|
8168
8202
|
* - `blocking` — the historical order: pause, move every byte, repoint,
|
|
@@ -8184,6 +8218,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
|
|
|
8184
8218
|
/** Shared input for planning and starting an orchestrated storage migration. */
|
|
8185
8219
|
var StorageMigrationInputSchema = object({
|
|
8186
8220
|
destinations: StorageMigrationDestinationsSchema,
|
|
8221
|
+
/** Omitted = each class's current default. */
|
|
8222
|
+
sources: StorageMigrationSourcesSchema,
|
|
8187
8223
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8188
8224
|
/** Omitted = `blocking`, which stays the default. */
|
|
8189
8225
|
mode: StorageMigrationModeSchema.optional()
|
|
@@ -8263,6 +8299,13 @@ var StorageMigrationMoveSchema = object({
|
|
|
8263
8299
|
storageClass: StorageMigrationClassSchema,
|
|
8264
8300
|
fromLocationId: string$2(),
|
|
8265
8301
|
toLocationId: string$2(),
|
|
8302
|
+
/**
|
|
8303
|
+
* True when `from` was NOT the class default at plan time. The move still
|
|
8304
|
+
* copies bytes, but the default is left alone and the source is disabled
|
|
8305
|
+
* once the copy verifies. Absent on jobs planned before this field existed
|
|
8306
|
+
* — those jobs always repointed, which is `false`.
|
|
8307
|
+
*/
|
|
8308
|
+
freezeSource: boolean().optional(),
|
|
8266
8309
|
moverJobId: string$2().nullable(),
|
|
8267
8310
|
state: RelocateJobStateSchema.nullable(),
|
|
8268
8311
|
error: string$2().nullable(),
|
|
@@ -8276,6 +8319,7 @@ var StorageMigrationJobSchema = object({
|
|
|
8276
8319
|
* can tell a seconds-long cutover from a thirty-hour one. */
|
|
8277
8320
|
mode: StorageMigrationModeSchema,
|
|
8278
8321
|
destinations: StorageMigrationDestinationsSchema,
|
|
8322
|
+
sources: StorageMigrationSourcesSchema,
|
|
8279
8323
|
throttleMbps: number(),
|
|
8280
8324
|
moves: array(StorageMigrationMoveSchema),
|
|
8281
8325
|
pauseLeaseId: string$2().nullable(),
|
|
@@ -8301,6 +8345,7 @@ var StorageMigrationFindingSchema = object({
|
|
|
8301
8345
|
});
|
|
8302
8346
|
var StorageMigrationPlanSchema = object({
|
|
8303
8347
|
destinations: StorageMigrationDestinationsSchema,
|
|
8348
|
+
sources: StorageMigrationSourcesSchema,
|
|
8304
8349
|
/** The mode this plan was built for. A plan is only valid for its mode: the
|
|
8305
8350
|
* `eventMedia` seal gate and the single-cardinality refusal both depend on
|
|
8306
8351
|
* it. */
|
|
@@ -8308,7 +8353,8 @@ var StorageMigrationPlanSchema = object({
|
|
|
8308
8353
|
moves: array(object({
|
|
8309
8354
|
storageClass: StorageMigrationClassSchema,
|
|
8310
8355
|
fromLocationId: string$2(),
|
|
8311
|
-
toLocationId: string$2()
|
|
8356
|
+
toLocationId: string$2(),
|
|
8357
|
+
freezeSource: boolean().optional()
|
|
8312
8358
|
})),
|
|
8313
8359
|
findings: array(StorageMigrationFindingSchema)
|
|
8314
8360
|
});
|
|
@@ -8395,16 +8441,142 @@ var RelocateResidueSchema = object({
|
|
|
8395
8441
|
segments: number().int().nonnegative(),
|
|
8396
8442
|
bytes: number().int().nonnegative()
|
|
8397
8443
|
}).nullable();
|
|
8444
|
+
/**
|
|
8445
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8446
|
+
* (D319).
|
|
8447
|
+
*
|
|
8448
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8449
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8450
|
+
* destructive run before authorising it.
|
|
8451
|
+
*/
|
|
8452
|
+
var LedgerWalkInputSchema = object({
|
|
8453
|
+
locationId: string$2().min(1),
|
|
8454
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8455
|
+
apply: boolean().optional(),
|
|
8456
|
+
/** Narrow to one camera. */
|
|
8457
|
+
deviceId: number().int().positive().optional(),
|
|
8458
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8459
|
+
profiles: array(string$2().min(1)).optional()
|
|
8460
|
+
});
|
|
8461
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8462
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8463
|
+
"location-unknown",
|
|
8464
|
+
"source-writable",
|
|
8465
|
+
"no-ledger",
|
|
8466
|
+
"archive-unreadable",
|
|
8467
|
+
"anchor-absent",
|
|
8468
|
+
"anchor-unreadable",
|
|
8469
|
+
"anchor-moved"
|
|
8470
|
+
]);
|
|
8471
|
+
_enum([
|
|
8472
|
+
"live-tail",
|
|
8473
|
+
"listing-error",
|
|
8474
|
+
"path-mismatch",
|
|
8475
|
+
"durable-refused"
|
|
8476
|
+
]);
|
|
8477
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8478
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8479
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8480
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8481
|
+
"live-tail": number().int().nonnegative(),
|
|
8482
|
+
"listing-error": number().int().nonnegative(),
|
|
8483
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8484
|
+
"durable-refused": number().int().nonnegative()
|
|
8485
|
+
});
|
|
8486
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8487
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8488
|
+
deviceId: number().int(),
|
|
8489
|
+
hoursWalked: number().int().nonnegative(),
|
|
8490
|
+
hoursMissing: number().int().nonnegative(),
|
|
8491
|
+
ghostSegments: number().int().nonnegative(),
|
|
8492
|
+
ghostBytes: number().int().nonnegative(),
|
|
8493
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8494
|
+
orphanFiles: number().int().nonnegative()
|
|
8495
|
+
});
|
|
8496
|
+
/**
|
|
8497
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8498
|
+
*
|
|
8499
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8500
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8501
|
+
* than in the absence of one.
|
|
8502
|
+
*/
|
|
8503
|
+
var LedgerWalkReportSchema = object({
|
|
8504
|
+
locationId: string$2(),
|
|
8505
|
+
applied: boolean(),
|
|
8506
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8507
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8508
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8509
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8510
|
+
hoursWalked: number().int().nonnegative(),
|
|
8511
|
+
hoursMissing: number().int().nonnegative(),
|
|
8512
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8513
|
+
listings: number().int().nonnegative(),
|
|
8514
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8515
|
+
ghostSegments: number().int().nonnegative(),
|
|
8516
|
+
ghostBytes: number().int().nonnegative(),
|
|
8517
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8518
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8519
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8520
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8521
|
+
orphanFiles: number().int().nonnegative(),
|
|
8522
|
+
orphanSample: array(string$2()).readonly(),
|
|
8523
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8524
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8525
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8526
|
+
bounded: boolean(),
|
|
8527
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8528
|
+
});
|
|
8398
8529
|
/** How many rows a media pass would still act on against a given target — the
|
|
8399
8530
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8400
8531
|
* never disagree. `null` = the count could not be taken. */
|
|
8401
8532
|
var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
|
|
8402
8533
|
var RelocatableMediaCountInputSchema = object({
|
|
8403
8534
|
toLocationId: string$2().min(1),
|
|
8535
|
+
/** Restrict the count to one source; omitted / `'*'` = every non-target row. */
|
|
8536
|
+
fromLocationId: string$2().optional(),
|
|
8404
8537
|
/** Omitted = `move`. */
|
|
8405
8538
|
mode: MediaRelocateModeSchema.optional()
|
|
8406
8539
|
});
|
|
8407
8540
|
/**
|
|
8541
|
+
* Operator cleanup of leftover analytics rows, optional debug media, and
|
|
8542
|
+
* ghost ledger entries on frozen footage locations.
|
|
8543
|
+
*
|
|
8544
|
+
* A pass is tens of minutes on a standing backlog. The hub method RETURNS
|
|
8545
|
+
* `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
|
|
8546
|
+
* is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
|
|
8547
|
+
* with no operator-visible status.
|
|
8548
|
+
*/
|
|
8549
|
+
var StorageCleanupPhaseSchema = _enum([
|
|
8550
|
+
"orphans",
|
|
8551
|
+
"debug-media",
|
|
8552
|
+
"ghost-ledger",
|
|
8553
|
+
"done",
|
|
8554
|
+
"failed",
|
|
8555
|
+
"cancelled"
|
|
8556
|
+
]);
|
|
8557
|
+
var StorageCleanupInputSchema = object({
|
|
8558
|
+
/** Also walk motion stills / track filmstrips. Off by default. */
|
|
8559
|
+
includeDebugMedia: boolean().optional() });
|
|
8560
|
+
var StorageCleanupJobSchema = object({
|
|
8561
|
+
jobId: string$2(),
|
|
8562
|
+
phase: StorageCleanupPhaseSchema,
|
|
8563
|
+
includeDebugMedia: boolean(),
|
|
8564
|
+
orphansReclaimed: number().int().nonnegative(),
|
|
8565
|
+
orphanBytesReclaimed: number().int().nonnegative(),
|
|
8566
|
+
debugMediaReclaimed: number().int().nonnegative(),
|
|
8567
|
+
debugMediaBytesReclaimed: number().int().nonnegative(),
|
|
8568
|
+
ghostsForgotten: number().int().nonnegative(),
|
|
8569
|
+
ghostBytesForgotten: number().int().nonnegative(),
|
|
8570
|
+
/** Short operator-facing line: current collection, pass, or location. */
|
|
8571
|
+
detail: string$2().nullable(),
|
|
8572
|
+
cancelRequested: boolean(),
|
|
8573
|
+
startedAt: number(),
|
|
8574
|
+
updatedAt: number(),
|
|
8575
|
+
finishedAt: number().nullable(),
|
|
8576
|
+
error: string$2().nullable()
|
|
8577
|
+
});
|
|
8578
|
+
var StorageCleanupStatusInputSchema = object({ jobId: string$2().optional() });
|
|
8579
|
+
/**
|
|
8408
8580
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
8409
8581
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
8410
8582
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -8432,11 +8604,10 @@ var StorageLocationTypeSchema = string$2().regex(/^[a-z][a-zA-Z0-9-]*$/);
|
|
|
8432
8604
|
* The default location for a type uses `id === <type>:default` by
|
|
8433
8605
|
* convention (the bare type ref like `'backups'` resolves to it).
|
|
8434
8606
|
*
|
|
8435
|
-
* `isSystem
|
|
8436
|
-
*
|
|
8437
|
-
*
|
|
8438
|
-
*
|
|
8439
|
-
* deleting it is rejected at the cap level.
|
|
8607
|
+
* `isSystem` is a legacy persisted flag. Seed still creates the initial
|
|
8608
|
+
* `<type>:default` locations; the flag is no longer a lock, a badge, or a
|
|
8609
|
+
* prune selector. New writes leave it false. Deletion is gated on uniqueness
|
|
8610
|
+
* / last-enabled, not on this bit.
|
|
8440
8611
|
*/
|
|
8441
8612
|
var StorageLocationSchema = object({
|
|
8442
8613
|
id: string$2().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
|
|
@@ -13028,6 +13199,12 @@ method(object({
|
|
|
13028
13199
|
}), _void(), {
|
|
13029
13200
|
kind: "mutation",
|
|
13030
13201
|
auth: "admin"
|
|
13202
|
+
}), method(object({
|
|
13203
|
+
from: string$2(),
|
|
13204
|
+
to: string$2()
|
|
13205
|
+
}), object({ moved: number() }), {
|
|
13206
|
+
kind: "mutation",
|
|
13207
|
+
auth: "admin"
|
|
13031
13208
|
}), method(object({
|
|
13032
13209
|
deviceId: number(),
|
|
13033
13210
|
disabled: boolean()
|
|
@@ -19036,53 +19213,15 @@ var RecentTracksPageSchema = object({
|
|
|
19036
19213
|
/** Cursor for the next page, or null when this page is the last. */
|
|
19037
19214
|
nextCursor: string$2().nullable()
|
|
19038
19215
|
});
|
|
19039
|
-
var
|
|
19040
|
-
var
|
|
19041
|
-
var AnalyticsGroupRecordSchema = object({
|
|
19042
|
-
id: string$2(),
|
|
19043
|
-
deviceId: number().int(),
|
|
19044
|
-
openedAt: number().int(),
|
|
19045
|
-
closedAt: number().int(),
|
|
19046
|
-
timestamp: number().int(),
|
|
19047
|
-
memberCount: number().int(),
|
|
19048
|
-
memberTrackIds: array(string$2()).readonly(),
|
|
19049
|
-
className: string$2(),
|
|
19050
|
-
classes: array(string$2()).readonly(),
|
|
19051
|
-
/** Relative event-media path, or null when the group has no picture yet. */
|
|
19052
|
-
mediaUrl: string$2().nullable(),
|
|
19053
|
-
singleton: boolean()
|
|
19054
|
-
});
|
|
19055
|
-
var AnalyticsGroupMemberSchema = object({
|
|
19056
|
-
trackId: string$2(),
|
|
19057
|
-
deviceId: number().int(),
|
|
19058
|
-
className: string$2(),
|
|
19059
|
-
firstSeen: number().int(),
|
|
19060
|
-
lastSeen: number().int(),
|
|
19061
|
-
mediaUrl: string$2().nullable()
|
|
19062
|
-
});
|
|
19063
|
-
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
19064
|
-
var ListGroupsQueryInput = object({
|
|
19065
|
-
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
19066
|
-
deviceIds: array(number()),
|
|
19067
|
-
/** Window lower bound on `closedAt` (inclusive). */
|
|
19068
|
-
since: number().optional(),
|
|
19069
|
-
/** Window upper bound on `openedAt` (inclusive). */
|
|
19070
|
-
until: number().optional(),
|
|
19071
|
-
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
19072
|
-
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
19073
|
-
cursor: string$2().optional()
|
|
19074
|
-
});
|
|
19075
|
-
var ListGroupsPageSchema = object({
|
|
19076
|
-
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
19077
|
-
nextCursor: string$2().nullable()
|
|
19078
|
-
});
|
|
19216
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
19217
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
19079
19218
|
var KeyEventQueryInput = object({
|
|
19080
19219
|
deviceId: number(),
|
|
19081
19220
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
19082
19221
|
since: number(),
|
|
19083
19222
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
19084
19223
|
until: number(),
|
|
19085
|
-
limit: number().int().min(1).max(
|
|
19224
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19086
19225
|
/** Drop tracks scoring below this importance. */
|
|
19087
19226
|
minImportance: number().min(0).max(1).optional(),
|
|
19088
19227
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -19104,6 +19243,32 @@ var KeyEventSchema = object({
|
|
|
19104
19243
|
...TrackFlagFields,
|
|
19105
19244
|
...TrackRetrainFields
|
|
19106
19245
|
});
|
|
19246
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
19247
|
+
var KeyEventBatchQueryInput = object({
|
|
19248
|
+
deviceIds: array(number()).min(1).max(200),
|
|
19249
|
+
since: number(),
|
|
19250
|
+
until: number(),
|
|
19251
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
19252
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
19253
|
+
* rows and change what the merged feed contains. */
|
|
19254
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19255
|
+
minImportance: number().min(0).max(1).optional(),
|
|
19256
|
+
classFilter: string$2().optional()
|
|
19257
|
+
});
|
|
19258
|
+
/**
|
|
19259
|
+
* One camera's key events in a batch answer.
|
|
19260
|
+
*
|
|
19261
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
19262
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
19263
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
19264
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
19265
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
19266
|
+
* key, which only worked because there was one query per camera).
|
|
19267
|
+
*/
|
|
19268
|
+
var KeyEventsForDeviceSchema = object({
|
|
19269
|
+
deviceId: number(),
|
|
19270
|
+
events: array(KeyEventSchema).readonly()
|
|
19271
|
+
});
|
|
19107
19272
|
object({
|
|
19108
19273
|
trackId: string$2(),
|
|
19109
19274
|
className: string$2(),
|
|
@@ -19151,9 +19316,7 @@ var TrackCascadeCountsSchema = object({
|
|
|
19151
19316
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
19152
19317
|
plates: number().int(),
|
|
19153
19318
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
19154
|
-
embeddings: number().int()
|
|
19155
|
-
/** Group membership + group rows removed with their last member (best-effort). */
|
|
19156
|
-
groups: number().int()
|
|
19319
|
+
embeddings: number().int()
|
|
19157
19320
|
});
|
|
19158
19321
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
19159
19322
|
var DiskReconcileCountsSchema = object({
|
|
@@ -19323,6 +19486,47 @@ var RebuildStatusSchema = object({
|
|
|
19323
19486
|
/** Present when the pass ended by throwing. */
|
|
19324
19487
|
error: string$2().nullable()
|
|
19325
19488
|
});
|
|
19489
|
+
/**
|
|
19490
|
+
* Acknowledgement that a debug-media reclaim STARTED.
|
|
19491
|
+
*
|
|
19492
|
+
* The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
|
|
19493
|
+
* it runs detached and this returns immediately. Awaiting it is how the
|
|
19494
|
+
* `addons.custom` door hit the 60 s UDS deadline while the walk carried on
|
|
19495
|
+
* with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
|
|
19496
|
+
*/
|
|
19497
|
+
var MediaReclaimStartResultSchema = object({
|
|
19498
|
+
started: boolean(),
|
|
19499
|
+
/** True when a pass was already running; the new request is ignored. */
|
|
19500
|
+
alreadyRunning: boolean()
|
|
19501
|
+
});
|
|
19502
|
+
var MediaReclaimInputSchema = object({
|
|
19503
|
+
mode: _enum(["report", "reclaim"]).default("report"),
|
|
19504
|
+
scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
|
|
19505
|
+
deviceIds: array(number().int()).min(1).optional(),
|
|
19506
|
+
restart: boolean().optional(),
|
|
19507
|
+
pageSize: number().int().min(50).max(5e3).optional(),
|
|
19508
|
+
maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19509
|
+
maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19510
|
+
maxBytesPerRun: number().int().min(1).optional(),
|
|
19511
|
+
budgetMinutes: number().int().min(1).max(720).optional(),
|
|
19512
|
+
throttleBytesPerSec: number().int().min(64 * 1024).optional(),
|
|
19513
|
+
graceMinutes: number().int().min(1).max(10080).optional()
|
|
19514
|
+
});
|
|
19515
|
+
var MediaReclaimStatusSchema = object({
|
|
19516
|
+
running: boolean(),
|
|
19517
|
+
mode: _enum(["report", "reclaim"]).nullable(),
|
|
19518
|
+
totalExamined: number(),
|
|
19519
|
+
totalEligible: number(),
|
|
19520
|
+
totalReclaimed: number(),
|
|
19521
|
+
totalBytesReclaimed: number(),
|
|
19522
|
+
totalRefused: number(),
|
|
19523
|
+
/** Device+scope windows finished in this pass. */
|
|
19524
|
+
devicesDone: number(),
|
|
19525
|
+
complete: boolean().nullable(),
|
|
19526
|
+
startedAtMs: number().nullable(),
|
|
19527
|
+
finishedAtMs: number().nullable(),
|
|
19528
|
+
error: string$2().nullable()
|
|
19529
|
+
});
|
|
19326
19530
|
var ReplayFrameInputSchema = object({
|
|
19327
19531
|
timestamp: number(),
|
|
19328
19532
|
frame: PipelineRunResultBridge
|
|
@@ -19361,10 +19565,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19361
19565
|
* stationary registry). Default false: the timeline lists passages,
|
|
19362
19566
|
* not parking records (operator decision, 2026-08-15). */
|
|
19363
19567
|
includeStationary: boolean().optional()
|
|
19364
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
19365
|
-
deviceId: number(),
|
|
19366
|
-
groupId: string$2().min(1)
|
|
19367
|
-
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19568
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19368
19569
|
kind: "mutation",
|
|
19369
19570
|
auth: "admin"
|
|
19370
19571
|
}), 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({
|
|
@@ -19373,7 +19574,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19373
19574
|
until: number().optional(),
|
|
19374
19575
|
kinds: array(string$2()).optional(),
|
|
19375
19576
|
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
19376
|
-
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
19577
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
19377
19578
|
deviceId: number(),
|
|
19378
19579
|
since: number(),
|
|
19379
19580
|
until: number(),
|
|
@@ -19464,6 +19665,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19464
19665
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
19465
19666
|
kind: "query",
|
|
19466
19667
|
auth: "admin"
|
|
19668
|
+
}), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
|
|
19669
|
+
kind: "mutation",
|
|
19670
|
+
auth: "admin"
|
|
19671
|
+
}), method(object({}), MediaReclaimStatusSchema, {
|
|
19672
|
+
kind: "query",
|
|
19673
|
+
auth: "admin"
|
|
19467
19674
|
}), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
|
|
19468
19675
|
kind: "query",
|
|
19469
19676
|
auth: "admin"
|
|
@@ -21434,7 +21641,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
21434
21641
|
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string$2() }), {
|
|
21435
21642
|
kind: "mutation",
|
|
21436
21643
|
auth: "admin"
|
|
21437
|
-
})
|
|
21644
|
+
}), method(StorageCleanupInputSchema, object({ jobId: string$2() }), {
|
|
21645
|
+
kind: "mutation",
|
|
21646
|
+
auth: "admin"
|
|
21647
|
+
}), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string$2() }), object({ cancelled: boolean() }), {
|
|
21648
|
+
kind: "mutation",
|
|
21649
|
+
auth: "admin"
|
|
21650
|
+
}), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
|
|
21438
21651
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
21439
21652
|
providerId: string$2().min(1),
|
|
21440
21653
|
displayName: string$2().min(1),
|
|
@@ -28544,6 +28757,33 @@ var RecordingRebalanceInputSchema = object({
|
|
|
28544
28757
|
minMoveGb: number().min(0).optional()
|
|
28545
28758
|
});
|
|
28546
28759
|
/**
|
|
28760
|
+
* Operator-facing placement of one camera onto a recordings location.
|
|
28761
|
+
*
|
|
28762
|
+
* `pinLocationId` is the operator instruction: a location id, or `null` for
|
|
28763
|
+
* Auto (the planner may move this camera). `locationId` is where high/mid
|
|
28764
|
+
* currently write — the plan, which may disagree with the pin when Auto.
|
|
28765
|
+
*/
|
|
28766
|
+
var RecordingDevicePlacementSchema = object({
|
|
28767
|
+
deviceId: number().int(),
|
|
28768
|
+
profile: string$2(),
|
|
28769
|
+
locationId: string$2()
|
|
28770
|
+
});
|
|
28771
|
+
var RecordingDevicePinSchema = object({
|
|
28772
|
+
deviceId: number().int(),
|
|
28773
|
+
/** Recordings-class location this camera is pinned to. */
|
|
28774
|
+
locationId: string$2()
|
|
28775
|
+
});
|
|
28776
|
+
var RecordingPlacementViewSchema = object({
|
|
28777
|
+
assignments: array(RecordingDevicePlacementSchema),
|
|
28778
|
+
pins: array(RecordingDevicePinSchema),
|
|
28779
|
+
defaultLocations: record(string$2(), string$2())
|
|
28780
|
+
});
|
|
28781
|
+
var RecordingSetDevicePlacementInputSchema = object({
|
|
28782
|
+
deviceId: number().int(),
|
|
28783
|
+
/** `null` = Auto. Otherwise a `recordings:*` location id. */
|
|
28784
|
+
locationId: string$2().nullable()
|
|
28785
|
+
});
|
|
28786
|
+
/**
|
|
28547
28787
|
* Result of locating footage at a wall-clock instant for one device/profile.
|
|
28548
28788
|
* `segment` carries the covering segment's window; `gap` reports the forward
|
|
28549
28789
|
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
@@ -28757,6 +28997,9 @@ method(object({
|
|
|
28757
28997
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
28758
28998
|
kind: "query",
|
|
28759
28999
|
auth: "admin"
|
|
29000
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
29001
|
+
kind: "mutation",
|
|
29002
|
+
auth: "admin"
|
|
28760
29003
|
}), method(object({ jobId: string$2() }), object({ cancelled: boolean() }), {
|
|
28761
29004
|
kind: "mutation",
|
|
28762
29005
|
auth: "admin"
|
|
@@ -28766,6 +29009,12 @@ method(object({
|
|
|
28766
29009
|
}), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
|
|
28767
29010
|
kind: "mutation",
|
|
28768
29011
|
auth: "admin"
|
|
29012
|
+
}), method(object({}), RecordingPlacementViewSchema, {
|
|
29013
|
+
kind: "query",
|
|
29014
|
+
auth: "admin"
|
|
29015
|
+
}), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
|
|
29016
|
+
kind: "mutation",
|
|
29017
|
+
auth: "admin"
|
|
28769
29018
|
});
|
|
28770
29019
|
/**
|
|
28771
29020
|
* `recording-export` cap — render a footage time range into a single downloadable
|
|
@@ -29148,6 +29397,25 @@ var SceneMonitorStatusSchema = object({
|
|
|
29148
29397
|
monitors: array(SceneMonitorSchema),
|
|
29149
29398
|
lastFetchedAt: number()
|
|
29150
29399
|
});
|
|
29400
|
+
/**
|
|
29401
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
29402
|
+
*
|
|
29403
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
29404
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
29405
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
29406
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
29407
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
29408
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
29409
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
29410
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
29411
|
+
*
|
|
29412
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
29413
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
29414
|
+
*/
|
|
29415
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
29416
|
+
deviceId: number(),
|
|
29417
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
29418
|
+
});
|
|
29151
29419
|
var sceneMonitorCapability = {
|
|
29152
29420
|
name: "scene-monitor",
|
|
29153
29421
|
scope: "device",
|
|
@@ -29157,6 +29425,22 @@ var sceneMonitorCapability = {
|
|
|
29157
29425
|
deviceTypes: [DeviceType.Camera],
|
|
29158
29426
|
methods: {
|
|
29159
29427
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
29428
|
+
/**
|
|
29429
|
+
* The same answer, for a SET of cameras, in one round trip.
|
|
29430
|
+
*
|
|
29431
|
+
* `/scenes` renders every camera and re-reads them on a 30s safety-net
|
|
29432
|
+
* poll behind the push slice. Fanned out client-side that was one query
|
|
29433
|
+
* per camera — 29 round trips through the browser, the hub and the
|
|
29434
|
+
* post-analysis runner every 30 seconds to read an in-memory map the
|
|
29435
|
+
* owner had already merged. The work is unchanged (`statusFor` per
|
|
29436
|
+
* device, all in-process at the owner); what collapses is the transport.
|
|
29437
|
+
*
|
|
29438
|
+
* A camera that cannot answer still gets a row, with `status: null` —
|
|
29439
|
+
* see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
|
|
29440
|
+
* ids: a caller that asked for twenty-nine and got twenty-seven cannot
|
|
29441
|
+
* tell which two are missing, or that any are.
|
|
29442
|
+
*/
|
|
29443
|
+
listScenesBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
29160
29444
|
createScene: method(object({
|
|
29161
29445
|
deviceId: number(),
|
|
29162
29446
|
label: string$2(),
|
|
@@ -30992,6 +31276,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
30992
31276
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
30993
31277
|
});
|
|
30994
31278
|
/**
|
|
31279
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
31280
|
+
*
|
|
31281
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
31282
|
+
* because `snapshot: null` was already spoken for:
|
|
31283
|
+
*
|
|
31284
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
31285
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
31286
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
31287
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
31288
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
31289
|
+
*
|
|
31290
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
31291
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
31292
|
+
* which is a definite claim about a camera nobody could read.
|
|
31293
|
+
*/
|
|
31294
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
31295
|
+
deviceId: number(),
|
|
31296
|
+
read: _enum(["read", "unreadable"]),
|
|
31297
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
31298
|
+
});
|
|
31299
|
+
/**
|
|
30995
31300
|
* Time-series resolution. The history methods return one bucket per
|
|
30996
31301
|
* step over the requested range. Smaller resolutions cost more
|
|
30997
31302
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -31048,6 +31353,20 @@ var zoneAnalyticsCapability = {
|
|
|
31048
31353
|
* (no inference result emitted since boot or since binding was
|
|
31049
31354
|
* activated). */
|
|
31050
31355
|
getCurrentSnapshot: method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()),
|
|
31356
|
+
/**
|
|
31357
|
+
* The same snapshot, for a SET of cameras, in one round trip.
|
|
31358
|
+
*
|
|
31359
|
+
* The Events page's Stationary section polls this every 15s for every
|
|
31360
|
+
* selected camera. Fanned out client-side that is one query per camera to
|
|
31361
|
+
* read a `Map.get` at the owner — the answer costs nothing, the round trip
|
|
31362
|
+
* costs everything. Batched, N transports become one and the per-device
|
|
31363
|
+
* work is unchanged.
|
|
31364
|
+
*
|
|
31365
|
+
* Every requested deviceId gets a row, tagged `read` — see
|
|
31366
|
+
* {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
|
|
31367
|
+
* not answer for is `'unreadable'`, never an empty reading.
|
|
31368
|
+
*/
|
|
31369
|
+
getCurrentSnapshotBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()),
|
|
31051
31370
|
/** Time-series object count inside one zone. `className` optional —
|
|
31052
31371
|
* omit to count every class in the zone. */
|
|
31053
31372
|
getZoneHistory: method(object({
|
|
@@ -33765,6 +34084,12 @@ Object.freeze({
|
|
|
33765
34084
|
addonId: null,
|
|
33766
34085
|
access: "delete"
|
|
33767
34086
|
},
|
|
34087
|
+
"deviceManager.renameLocation": {
|
|
34088
|
+
capName: "device-manager",
|
|
34089
|
+
capScope: "system",
|
|
34090
|
+
addonId: null,
|
|
34091
|
+
access: "create"
|
|
34092
|
+
},
|
|
33768
34093
|
"deviceManager.runDeviceAction": {
|
|
33769
34094
|
capName: "device-manager",
|
|
33770
34095
|
capScope: "system",
|
|
@@ -35457,13 +35782,19 @@ Object.freeze({
|
|
|
35457
35782
|
addonId: null,
|
|
35458
35783
|
access: "view"
|
|
35459
35784
|
},
|
|
35460
|
-
"pipelineAnalytics.
|
|
35785
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
35461
35786
|
capName: "pipeline-analytics",
|
|
35462
35787
|
capScope: "device",
|
|
35463
35788
|
addonId: null,
|
|
35464
35789
|
access: "view"
|
|
35465
35790
|
},
|
|
35466
|
-
"pipelineAnalytics.
|
|
35791
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
35792
|
+
capName: "pipeline-analytics",
|
|
35793
|
+
capScope: "device",
|
|
35794
|
+
addonId: null,
|
|
35795
|
+
access: "view"
|
|
35796
|
+
},
|
|
35797
|
+
"pipelineAnalytics.getMediaReclaimStatus": {
|
|
35467
35798
|
capName: "pipeline-analytics",
|
|
35468
35799
|
capScope: "device",
|
|
35469
35800
|
addonId: null,
|
|
@@ -35553,12 +35884,6 @@ Object.freeze({
|
|
|
35553
35884
|
addonId: null,
|
|
35554
35885
|
access: "view"
|
|
35555
35886
|
},
|
|
35556
|
-
"pipelineAnalytics.listGroups": {
|
|
35557
|
-
capName: "pipeline-analytics",
|
|
35558
|
-
capScope: "device",
|
|
35559
|
-
addonId: null,
|
|
35560
|
-
access: "view"
|
|
35561
|
-
},
|
|
35562
35887
|
"pipelineAnalytics.listOpsLog": {
|
|
35563
35888
|
capName: "pipeline-analytics",
|
|
35564
35889
|
capScope: "device",
|
|
@@ -35643,6 +35968,12 @@ Object.freeze({
|
|
|
35643
35968
|
addonId: null,
|
|
35644
35969
|
access: "create"
|
|
35645
35970
|
},
|
|
35971
|
+
"pipelineAnalytics.reclaimDebugMedia": {
|
|
35972
|
+
capName: "pipeline-analytics",
|
|
35973
|
+
capScope: "device",
|
|
35974
|
+
addonId: null,
|
|
35975
|
+
access: "create"
|
|
35976
|
+
},
|
|
35646
35977
|
"pipelineAnalytics.reconcileFromDisk": {
|
|
35647
35978
|
capName: "pipeline-analytics",
|
|
35648
35979
|
capScope: "device",
|
|
@@ -36567,6 +36898,12 @@ Object.freeze({
|
|
|
36567
36898
|
addonId: null,
|
|
36568
36899
|
access: "view"
|
|
36569
36900
|
},
|
|
36901
|
+
"recording.getPlacement": {
|
|
36902
|
+
capName: "recording",
|
|
36903
|
+
capScope: "system",
|
|
36904
|
+
addonId: null,
|
|
36905
|
+
access: "view"
|
|
36906
|
+
},
|
|
36570
36907
|
"recording.getPlaybackManifest": {
|
|
36571
36908
|
capName: "recording",
|
|
36572
36909
|
capScope: "system",
|
|
@@ -36645,6 +36982,12 @@ Object.freeze({
|
|
|
36645
36982
|
addonId: null,
|
|
36646
36983
|
access: "view"
|
|
36647
36984
|
},
|
|
36985
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
36986
|
+
capName: "recording",
|
|
36987
|
+
capScope: "system",
|
|
36988
|
+
addonId: null,
|
|
36989
|
+
access: "create"
|
|
36990
|
+
},
|
|
36648
36991
|
"recording.refreshStorageLocationsForMigration": {
|
|
36649
36992
|
capName: "recording",
|
|
36650
36993
|
capScope: "system",
|
|
@@ -36687,6 +37030,12 @@ Object.freeze({
|
|
|
36687
37030
|
addonId: null,
|
|
36688
37031
|
access: "create"
|
|
36689
37032
|
},
|
|
37033
|
+
"recording.setDevicePlacement": {
|
|
37034
|
+
capName: "recording",
|
|
37035
|
+
capScope: "system",
|
|
37036
|
+
addonId: null,
|
|
37037
|
+
access: "create"
|
|
37038
|
+
},
|
|
36690
37039
|
"recording.startStorageMigrationMove": {
|
|
36691
37040
|
capName: "recording",
|
|
36692
37041
|
capScope: "system",
|
|
@@ -36771,6 +37120,12 @@ Object.freeze({
|
|
|
36771
37120
|
addonId: null,
|
|
36772
37121
|
access: "view"
|
|
36773
37122
|
},
|
|
37123
|
+
"sceneMonitor.listScenesBatch": {
|
|
37124
|
+
capName: "scene-monitor",
|
|
37125
|
+
capScope: "device",
|
|
37126
|
+
addonId: null,
|
|
37127
|
+
access: "view"
|
|
37128
|
+
},
|
|
36774
37129
|
"sceneMonitor.recheckNow": {
|
|
36775
37130
|
capName: "scene-monitor",
|
|
36776
37131
|
capScope: "device",
|
|
@@ -37125,12 +37480,36 @@ Object.freeze({
|
|
|
37125
37480
|
addonId: null,
|
|
37126
37481
|
access: "create"
|
|
37127
37482
|
},
|
|
37483
|
+
"storageMigration.cleanupCancel": {
|
|
37484
|
+
capName: "storage-migration",
|
|
37485
|
+
capScope: "system",
|
|
37486
|
+
addonId: null,
|
|
37487
|
+
access: "create"
|
|
37488
|
+
},
|
|
37489
|
+
"storageMigration.cleanupStart": {
|
|
37490
|
+
capName: "storage-migration",
|
|
37491
|
+
capScope: "system",
|
|
37492
|
+
addonId: null,
|
|
37493
|
+
access: "create"
|
|
37494
|
+
},
|
|
37495
|
+
"storageMigration.cleanupStatus": {
|
|
37496
|
+
capName: "storage-migration",
|
|
37497
|
+
capScope: "system",
|
|
37498
|
+
addonId: null,
|
|
37499
|
+
access: "view"
|
|
37500
|
+
},
|
|
37128
37501
|
"storageMigration.drain": {
|
|
37129
37502
|
capName: "storage-migration",
|
|
37130
37503
|
capScope: "system",
|
|
37131
37504
|
addonId: null,
|
|
37132
37505
|
access: "create"
|
|
37133
37506
|
},
|
|
37507
|
+
"storageMigration.history": {
|
|
37508
|
+
capName: "storage-migration",
|
|
37509
|
+
capScope: "system",
|
|
37510
|
+
addonId: null,
|
|
37511
|
+
access: "view"
|
|
37512
|
+
},
|
|
37134
37513
|
"storageMigration.movers": {
|
|
37135
37514
|
capName: "storage-migration",
|
|
37136
37515
|
capScope: "system",
|
|
@@ -38127,6 +38506,12 @@ Object.freeze({
|
|
|
38127
38506
|
addonId: null,
|
|
38128
38507
|
access: "view"
|
|
38129
38508
|
},
|
|
38509
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
38510
|
+
capName: "zone-analytics",
|
|
38511
|
+
capScope: "device",
|
|
38512
|
+
addonId: null,
|
|
38513
|
+
access: "view"
|
|
38514
|
+
},
|
|
38130
38515
|
"zoneAnalytics.getUnzonedHistory": {
|
|
38131
38516
|
capName: "zone-analytics",
|
|
38132
38517
|
capScope: "device",
|
|
@@ -39121,14 +39506,14 @@ Object.freeze({
|
|
|
39121
39506
|
form: "single",
|
|
39122
39507
|
optional: true
|
|
39123
39508
|
}],
|
|
39124
|
-
"pipelineAnalytics.
|
|
39509
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
39125
39510
|
name: "deviceId",
|
|
39126
39511
|
form: "single",
|
|
39127
39512
|
optional: false
|
|
39128
39513
|
}],
|
|
39129
|
-
"pipelineAnalytics.
|
|
39130
|
-
name: "
|
|
39131
|
-
form: "
|
|
39514
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
39515
|
+
name: "deviceIds",
|
|
39516
|
+
form: "array",
|
|
39132
39517
|
optional: false
|
|
39133
39518
|
}],
|
|
39134
39519
|
"pipelineAnalytics.getMotionEvents": [{
|
|
@@ -39186,11 +39571,6 @@ Object.freeze({
|
|
|
39186
39571
|
form: "single",
|
|
39187
39572
|
optional: false
|
|
39188
39573
|
}],
|
|
39189
|
-
"pipelineAnalytics.listGroups": [{
|
|
39190
|
-
name: "deviceIds",
|
|
39191
|
-
form: "array",
|
|
39192
|
-
optional: false
|
|
39193
|
-
}],
|
|
39194
39574
|
"pipelineAnalytics.listOpsLog": [{
|
|
39195
39575
|
name: "deviceId",
|
|
39196
39576
|
form: "single",
|
|
@@ -39236,6 +39616,11 @@ Object.freeze({
|
|
|
39236
39616
|
form: "single",
|
|
39237
39617
|
optional: true
|
|
39238
39618
|
}],
|
|
39619
|
+
"pipelineAnalytics.reclaimDebugMedia": [{
|
|
39620
|
+
name: "deviceIds",
|
|
39621
|
+
form: "array",
|
|
39622
|
+
optional: true
|
|
39623
|
+
}],
|
|
39239
39624
|
"pipelineAnalytics.reconcileFromDisk": [{
|
|
39240
39625
|
name: "deviceId",
|
|
39241
39626
|
form: "single",
|
|
@@ -39571,6 +39956,11 @@ Object.freeze({
|
|
|
39571
39956
|
form: "single",
|
|
39572
39957
|
optional: false
|
|
39573
39958
|
}],
|
|
39959
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
39960
|
+
name: "deviceId",
|
|
39961
|
+
form: "single",
|
|
39962
|
+
optional: true
|
|
39963
|
+
}],
|
|
39574
39964
|
"recording.relocateFootage": [{
|
|
39575
39965
|
name: "deviceId",
|
|
39576
39966
|
form: "single",
|
|
@@ -39596,6 +39986,11 @@ Object.freeze({
|
|
|
39596
39986
|
form: "single",
|
|
39597
39987
|
optional: false
|
|
39598
39988
|
}],
|
|
39989
|
+
"recording.setDevicePlacement": [{
|
|
39990
|
+
name: "deviceId",
|
|
39991
|
+
form: "single",
|
|
39992
|
+
optional: false
|
|
39993
|
+
}],
|
|
39599
39994
|
"recording.startStorageMigrationMove": [{
|
|
39600
39995
|
name: "deviceId",
|
|
39601
39996
|
form: "single",
|
|
@@ -39636,6 +40031,11 @@ Object.freeze({
|
|
|
39636
40031
|
form: "single",
|
|
39637
40032
|
optional: false
|
|
39638
40033
|
}],
|
|
40034
|
+
"sceneMonitor.listScenesBatch": [{
|
|
40035
|
+
name: "deviceIds",
|
|
40036
|
+
form: "array",
|
|
40037
|
+
optional: false
|
|
40038
|
+
}],
|
|
39639
40039
|
"sceneMonitor.recheckNow": [{
|
|
39640
40040
|
name: "deviceId",
|
|
39641
40041
|
form: "single",
|
|
@@ -39897,6 +40297,11 @@ Object.freeze({
|
|
|
39897
40297
|
form: "single",
|
|
39898
40298
|
optional: false
|
|
39899
40299
|
}],
|
|
40300
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
40301
|
+
name: "deviceIds",
|
|
40302
|
+
form: "array",
|
|
40303
|
+
optional: false
|
|
40304
|
+
}],
|
|
39900
40305
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
39901
40306
|
name: "deviceId",
|
|
39902
40307
|
form: "single",
|