@camstack/addon-provider-gree 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.mjs
CHANGED
|
@@ -8020,6 +8020,20 @@ var RelocateJobSchema = object({
|
|
|
8020
8020
|
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8021
8021
|
*/
|
|
8022
8022
|
rowsReconciled: number().int().nonnegative().optional(),
|
|
8023
|
+
/**
|
|
8024
|
+
* Rows this run FORGOT because the file they name is not on disk.
|
|
8025
|
+
*
|
|
8026
|
+
* The mover derived the path from the row's own fields and `stat`ed it; an
|
|
8027
|
+
* ENOENT there is a per-path confirmation that the segment is gone (D296),
|
|
8028
|
+
* and the durable row is dropped through the same channel eviction uses. It
|
|
8029
|
+
* is reported for the same reason `rowsReconciled` is: this is a durable
|
|
8030
|
+
* mutation nobody asked for, and a migration that quietly erases hour rows is
|
|
8031
|
+
* the same failure as one that quietly skips them (D295).
|
|
8032
|
+
*
|
|
8033
|
+
* The production drain of 2026-08-30 would have reported 11 074 here — the
|
|
8034
|
+
* ledger claimed 5.65 GB of footage that no longer existed.
|
|
8035
|
+
*/
|
|
8036
|
+
rowsForgotten: number().int().nonnegative().optional(),
|
|
8023
8037
|
startedAt: number(),
|
|
8024
8038
|
finishedAt: number().nullable(),
|
|
8025
8039
|
error: string().nullable()
|
|
@@ -8084,6 +8098,13 @@ var MediaRelocateModeSchema = _enum([
|
|
|
8084
8098
|
]);
|
|
8085
8099
|
var RelocateMediaInputSchema = object({
|
|
8086
8100
|
toLocationId: string(),
|
|
8101
|
+
/**
|
|
8102
|
+
* Restrict the pass to rows currently on this location. Omitted / `'*'` =
|
|
8103
|
+
* every row that is not already on `toLocationId` (the historical
|
|
8104
|
+
* behaviour). A named source is what a from→to migration needs: without it
|
|
8105
|
+
* "move events off disk 2" also emptied disk 1.
|
|
8106
|
+
*/
|
|
8107
|
+
fromLocationId: string().optional(),
|
|
8087
8108
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8088
8109
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8089
8110
|
mode: MediaRelocateModeSchema.optional()
|
|
@@ -8151,6 +8172,19 @@ var StorageMigrationDestinationsSchema = object({
|
|
|
8151
8172
|
galleryMedia: string().min(1).optional()
|
|
8152
8173
|
}).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
|
|
8153
8174
|
/**
|
|
8175
|
+
* Optional named source per class. Omitted = the class's current default
|
|
8176
|
+
* (the historical behaviour). A named source that is NOT the default is a
|
|
8177
|
+
* drain of that disk: bytes move, the default stays, and the source is
|
|
8178
|
+
* disabled when the move finishes.
|
|
8179
|
+
*/
|
|
8180
|
+
var StorageMigrationSourcesSchema = object({
|
|
8181
|
+
recordings: string().min(1).optional(),
|
|
8182
|
+
recordingsLow: string().min(1).optional(),
|
|
8183
|
+
eventMedia: string().min(1).optional(),
|
|
8184
|
+
backups: string().min(1).optional(),
|
|
8185
|
+
galleryMedia: string().min(1).optional()
|
|
8186
|
+
}).optional();
|
|
8187
|
+
/**
|
|
8154
8188
|
* How a migration sequences the cutover against the byte move.
|
|
8155
8189
|
*
|
|
8156
8190
|
* - `blocking` — the historical order: pause, move every byte, repoint,
|
|
@@ -8172,6 +8206,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
|
|
|
8172
8206
|
/** Shared input for planning and starting an orchestrated storage migration. */
|
|
8173
8207
|
var StorageMigrationInputSchema = object({
|
|
8174
8208
|
destinations: StorageMigrationDestinationsSchema,
|
|
8209
|
+
/** Omitted = each class's current default. */
|
|
8210
|
+
sources: StorageMigrationSourcesSchema,
|
|
8175
8211
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8176
8212
|
/** Omitted = `blocking`, which stays the default. */
|
|
8177
8213
|
mode: StorageMigrationModeSchema.optional()
|
|
@@ -8251,6 +8287,13 @@ var StorageMigrationMoveSchema = object({
|
|
|
8251
8287
|
storageClass: StorageMigrationClassSchema,
|
|
8252
8288
|
fromLocationId: string(),
|
|
8253
8289
|
toLocationId: string(),
|
|
8290
|
+
/**
|
|
8291
|
+
* True when `from` was NOT the class default at plan time. The move still
|
|
8292
|
+
* copies bytes, but the default is left alone and the source is disabled
|
|
8293
|
+
* once the copy verifies. Absent on jobs planned before this field existed
|
|
8294
|
+
* — those jobs always repointed, which is `false`.
|
|
8295
|
+
*/
|
|
8296
|
+
freezeSource: boolean().optional(),
|
|
8254
8297
|
moverJobId: string().nullable(),
|
|
8255
8298
|
state: RelocateJobStateSchema.nullable(),
|
|
8256
8299
|
error: string().nullable(),
|
|
@@ -8264,6 +8307,7 @@ var StorageMigrationJobSchema = object({
|
|
|
8264
8307
|
* can tell a seconds-long cutover from a thirty-hour one. */
|
|
8265
8308
|
mode: StorageMigrationModeSchema,
|
|
8266
8309
|
destinations: StorageMigrationDestinationsSchema,
|
|
8310
|
+
sources: StorageMigrationSourcesSchema,
|
|
8267
8311
|
throttleMbps: number(),
|
|
8268
8312
|
moves: array(StorageMigrationMoveSchema),
|
|
8269
8313
|
pauseLeaseId: string().nullable(),
|
|
@@ -8289,6 +8333,7 @@ var StorageMigrationFindingSchema = object({
|
|
|
8289
8333
|
});
|
|
8290
8334
|
var StorageMigrationPlanSchema = object({
|
|
8291
8335
|
destinations: StorageMigrationDestinationsSchema,
|
|
8336
|
+
sources: StorageMigrationSourcesSchema,
|
|
8292
8337
|
/** The mode this plan was built for. A plan is only valid for its mode: the
|
|
8293
8338
|
* `eventMedia` seal gate and the single-cardinality refusal both depend on
|
|
8294
8339
|
* it. */
|
|
@@ -8296,7 +8341,8 @@ var StorageMigrationPlanSchema = object({
|
|
|
8296
8341
|
moves: array(object({
|
|
8297
8342
|
storageClass: StorageMigrationClassSchema,
|
|
8298
8343
|
fromLocationId: string(),
|
|
8299
|
-
toLocationId: string()
|
|
8344
|
+
toLocationId: string(),
|
|
8345
|
+
freezeSource: boolean().optional()
|
|
8300
8346
|
})),
|
|
8301
8347
|
findings: array(StorageMigrationFindingSchema)
|
|
8302
8348
|
});
|
|
@@ -8383,16 +8429,142 @@ var RelocateResidueSchema = object({
|
|
|
8383
8429
|
segments: number().int().nonnegative(),
|
|
8384
8430
|
bytes: number().int().nonnegative()
|
|
8385
8431
|
}).nullable();
|
|
8432
|
+
/**
|
|
8433
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8434
|
+
* (D319).
|
|
8435
|
+
*
|
|
8436
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8437
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8438
|
+
* destructive run before authorising it.
|
|
8439
|
+
*/
|
|
8440
|
+
var LedgerWalkInputSchema = object({
|
|
8441
|
+
locationId: string().min(1),
|
|
8442
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8443
|
+
apply: boolean().optional(),
|
|
8444
|
+
/** Narrow to one camera. */
|
|
8445
|
+
deviceId: number().int().positive().optional(),
|
|
8446
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8447
|
+
profiles: array(string().min(1)).optional()
|
|
8448
|
+
});
|
|
8449
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8450
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8451
|
+
"location-unknown",
|
|
8452
|
+
"source-writable",
|
|
8453
|
+
"no-ledger",
|
|
8454
|
+
"archive-unreadable",
|
|
8455
|
+
"anchor-absent",
|
|
8456
|
+
"anchor-unreadable",
|
|
8457
|
+
"anchor-moved"
|
|
8458
|
+
]);
|
|
8459
|
+
_enum([
|
|
8460
|
+
"live-tail",
|
|
8461
|
+
"listing-error",
|
|
8462
|
+
"path-mismatch",
|
|
8463
|
+
"durable-refused"
|
|
8464
|
+
]);
|
|
8465
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8466
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8467
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8468
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8469
|
+
"live-tail": number().int().nonnegative(),
|
|
8470
|
+
"listing-error": number().int().nonnegative(),
|
|
8471
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8472
|
+
"durable-refused": number().int().nonnegative()
|
|
8473
|
+
});
|
|
8474
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8475
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8476
|
+
deviceId: number().int(),
|
|
8477
|
+
hoursWalked: number().int().nonnegative(),
|
|
8478
|
+
hoursMissing: number().int().nonnegative(),
|
|
8479
|
+
ghostSegments: number().int().nonnegative(),
|
|
8480
|
+
ghostBytes: number().int().nonnegative(),
|
|
8481
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8482
|
+
orphanFiles: number().int().nonnegative()
|
|
8483
|
+
});
|
|
8484
|
+
/**
|
|
8485
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8486
|
+
*
|
|
8487
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8488
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8489
|
+
* than in the absence of one.
|
|
8490
|
+
*/
|
|
8491
|
+
var LedgerWalkReportSchema = object({
|
|
8492
|
+
locationId: string(),
|
|
8493
|
+
applied: boolean(),
|
|
8494
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8495
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8496
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8497
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8498
|
+
hoursWalked: number().int().nonnegative(),
|
|
8499
|
+
hoursMissing: number().int().nonnegative(),
|
|
8500
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8501
|
+
listings: number().int().nonnegative(),
|
|
8502
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8503
|
+
ghostSegments: number().int().nonnegative(),
|
|
8504
|
+
ghostBytes: number().int().nonnegative(),
|
|
8505
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8506
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8507
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8508
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8509
|
+
orphanFiles: number().int().nonnegative(),
|
|
8510
|
+
orphanSample: array(string()).readonly(),
|
|
8511
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8512
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8513
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8514
|
+
bounded: boolean(),
|
|
8515
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8516
|
+
});
|
|
8386
8517
|
/** How many rows a media pass would still act on against a given target — the
|
|
8387
8518
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8388
8519
|
* never disagree. `null` = the count could not be taken. */
|
|
8389
8520
|
var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
|
|
8390
8521
|
var RelocatableMediaCountInputSchema = object({
|
|
8391
8522
|
toLocationId: string().min(1),
|
|
8523
|
+
/** Restrict the count to one source; omitted / `'*'` = every non-target row. */
|
|
8524
|
+
fromLocationId: string().optional(),
|
|
8392
8525
|
/** Omitted = `move`. */
|
|
8393
8526
|
mode: MediaRelocateModeSchema.optional()
|
|
8394
8527
|
});
|
|
8395
8528
|
/**
|
|
8529
|
+
* Operator cleanup of leftover analytics rows, optional debug media, and
|
|
8530
|
+
* ghost ledger entries on frozen footage locations.
|
|
8531
|
+
*
|
|
8532
|
+
* A pass is tens of minutes on a standing backlog. The hub method RETURNS
|
|
8533
|
+
* `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
|
|
8534
|
+
* is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
|
|
8535
|
+
* with no operator-visible status.
|
|
8536
|
+
*/
|
|
8537
|
+
var StorageCleanupPhaseSchema = _enum([
|
|
8538
|
+
"orphans",
|
|
8539
|
+
"debug-media",
|
|
8540
|
+
"ghost-ledger",
|
|
8541
|
+
"done",
|
|
8542
|
+
"failed",
|
|
8543
|
+
"cancelled"
|
|
8544
|
+
]);
|
|
8545
|
+
var StorageCleanupInputSchema = object({
|
|
8546
|
+
/** Also walk motion stills / track filmstrips. Off by default. */
|
|
8547
|
+
includeDebugMedia: boolean().optional() });
|
|
8548
|
+
var StorageCleanupJobSchema = object({
|
|
8549
|
+
jobId: string(),
|
|
8550
|
+
phase: StorageCleanupPhaseSchema,
|
|
8551
|
+
includeDebugMedia: boolean(),
|
|
8552
|
+
orphansReclaimed: number().int().nonnegative(),
|
|
8553
|
+
orphanBytesReclaimed: number().int().nonnegative(),
|
|
8554
|
+
debugMediaReclaimed: number().int().nonnegative(),
|
|
8555
|
+
debugMediaBytesReclaimed: number().int().nonnegative(),
|
|
8556
|
+
ghostsForgotten: number().int().nonnegative(),
|
|
8557
|
+
ghostBytesForgotten: number().int().nonnegative(),
|
|
8558
|
+
/** Short operator-facing line: current collection, pass, or location. */
|
|
8559
|
+
detail: string().nullable(),
|
|
8560
|
+
cancelRequested: boolean(),
|
|
8561
|
+
startedAt: number(),
|
|
8562
|
+
updatedAt: number(),
|
|
8563
|
+
finishedAt: number().nullable(),
|
|
8564
|
+
error: string().nullable()
|
|
8565
|
+
});
|
|
8566
|
+
var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
|
|
8567
|
+
/**
|
|
8396
8568
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
8397
8569
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
8398
8570
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -8420,11 +8592,10 @@ var StorageLocationTypeSchema = string().regex(/^[a-z][a-zA-Z0-9-]*$/);
|
|
|
8420
8592
|
* The default location for a type uses `id === <type>:default` by
|
|
8421
8593
|
* convention (the bare type ref like `'backups'` resolves to it).
|
|
8422
8594
|
*
|
|
8423
|
-
* `isSystem
|
|
8424
|
-
*
|
|
8425
|
-
*
|
|
8426
|
-
*
|
|
8427
|
-
* deleting it is rejected at the cap level.
|
|
8595
|
+
* `isSystem` is a legacy persisted flag. Seed still creates the initial
|
|
8596
|
+
* `<type>:default` locations; the flag is no longer a lock, a badge, or a
|
|
8597
|
+
* prune selector. New writes leave it false. Deletion is gated on uniqueness
|
|
8598
|
+
* / last-enabled, not on this bit.
|
|
8428
8599
|
*/
|
|
8429
8600
|
var StorageLocationSchema = object({
|
|
8430
8601
|
id: string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
|
|
@@ -12950,6 +13121,12 @@ method(object({
|
|
|
12950
13121
|
}), _void(), {
|
|
12951
13122
|
kind: "mutation",
|
|
12952
13123
|
auth: "admin"
|
|
13124
|
+
}), method(object({
|
|
13125
|
+
from: string(),
|
|
13126
|
+
to: string()
|
|
13127
|
+
}), object({ moved: number() }), {
|
|
13128
|
+
kind: "mutation",
|
|
13129
|
+
auth: "admin"
|
|
12953
13130
|
}), method(object({
|
|
12954
13131
|
deviceId: number(),
|
|
12955
13132
|
disabled: boolean()
|
|
@@ -18958,53 +19135,15 @@ var RecentTracksPageSchema = object({
|
|
|
18958
19135
|
/** Cursor for the next page, or null when this page is the last. */
|
|
18959
19136
|
nextCursor: string().nullable()
|
|
18960
19137
|
});
|
|
18961
|
-
var
|
|
18962
|
-
var
|
|
18963
|
-
var AnalyticsGroupRecordSchema = object({
|
|
18964
|
-
id: string(),
|
|
18965
|
-
deviceId: number().int(),
|
|
18966
|
-
openedAt: number().int(),
|
|
18967
|
-
closedAt: number().int(),
|
|
18968
|
-
timestamp: number().int(),
|
|
18969
|
-
memberCount: number().int(),
|
|
18970
|
-
memberTrackIds: array(string()).readonly(),
|
|
18971
|
-
className: string(),
|
|
18972
|
-
classes: array(string()).readonly(),
|
|
18973
|
-
/** Relative event-media path, or null when the group has no picture yet. */
|
|
18974
|
-
mediaUrl: string().nullable(),
|
|
18975
|
-
singleton: boolean()
|
|
18976
|
-
});
|
|
18977
|
-
var AnalyticsGroupMemberSchema = object({
|
|
18978
|
-
trackId: string(),
|
|
18979
|
-
deviceId: number().int(),
|
|
18980
|
-
className: string(),
|
|
18981
|
-
firstSeen: number().int(),
|
|
18982
|
-
lastSeen: number().int(),
|
|
18983
|
-
mediaUrl: string().nullable()
|
|
18984
|
-
});
|
|
18985
|
-
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
18986
|
-
var ListGroupsQueryInput = object({
|
|
18987
|
-
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
18988
|
-
deviceIds: array(number()),
|
|
18989
|
-
/** Window lower bound on `closedAt` (inclusive). */
|
|
18990
|
-
since: number().optional(),
|
|
18991
|
-
/** Window upper bound on `openedAt` (inclusive). */
|
|
18992
|
-
until: number().optional(),
|
|
18993
|
-
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
18994
|
-
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
18995
|
-
cursor: string().optional()
|
|
18996
|
-
});
|
|
18997
|
-
var ListGroupsPageSchema = object({
|
|
18998
|
-
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
18999
|
-
nextCursor: string().nullable()
|
|
19000
|
-
});
|
|
19138
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
19139
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
19001
19140
|
var KeyEventQueryInput = object({
|
|
19002
19141
|
deviceId: number(),
|
|
19003
19142
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
19004
19143
|
since: number(),
|
|
19005
19144
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
19006
19145
|
until: number(),
|
|
19007
|
-
limit: number().int().min(1).max(
|
|
19146
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19008
19147
|
/** Drop tracks scoring below this importance. */
|
|
19009
19148
|
minImportance: number().min(0).max(1).optional(),
|
|
19010
19149
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -19026,6 +19165,32 @@ var KeyEventSchema = object({
|
|
|
19026
19165
|
...TrackFlagFields,
|
|
19027
19166
|
...TrackRetrainFields
|
|
19028
19167
|
});
|
|
19168
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
19169
|
+
var KeyEventBatchQueryInput = object({
|
|
19170
|
+
deviceIds: array(number()).min(1).max(200),
|
|
19171
|
+
since: number(),
|
|
19172
|
+
until: number(),
|
|
19173
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
19174
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
19175
|
+
* rows and change what the merged feed contains. */
|
|
19176
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19177
|
+
minImportance: number().min(0).max(1).optional(),
|
|
19178
|
+
classFilter: string().optional()
|
|
19179
|
+
});
|
|
19180
|
+
/**
|
|
19181
|
+
* One camera's key events in a batch answer.
|
|
19182
|
+
*
|
|
19183
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
19184
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
19185
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
19186
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
19187
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
19188
|
+
* key, which only worked because there was one query per camera).
|
|
19189
|
+
*/
|
|
19190
|
+
var KeyEventsForDeviceSchema = object({
|
|
19191
|
+
deviceId: number(),
|
|
19192
|
+
events: array(KeyEventSchema).readonly()
|
|
19193
|
+
});
|
|
19029
19194
|
object({
|
|
19030
19195
|
trackId: string(),
|
|
19031
19196
|
className: string(),
|
|
@@ -19073,9 +19238,7 @@ var TrackCascadeCountsSchema = object({
|
|
|
19073
19238
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
19074
19239
|
plates: number().int(),
|
|
19075
19240
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
19076
|
-
embeddings: number().int()
|
|
19077
|
-
/** Group membership + group rows removed with their last member (best-effort). */
|
|
19078
|
-
groups: number().int()
|
|
19241
|
+
embeddings: number().int()
|
|
19079
19242
|
});
|
|
19080
19243
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
19081
19244
|
var DiskReconcileCountsSchema = object({
|
|
@@ -19245,6 +19408,47 @@ var RebuildStatusSchema = object({
|
|
|
19245
19408
|
/** Present when the pass ended by throwing. */
|
|
19246
19409
|
error: string().nullable()
|
|
19247
19410
|
});
|
|
19411
|
+
/**
|
|
19412
|
+
* Acknowledgement that a debug-media reclaim STARTED.
|
|
19413
|
+
*
|
|
19414
|
+
* The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
|
|
19415
|
+
* it runs detached and this returns immediately. Awaiting it is how the
|
|
19416
|
+
* `addons.custom` door hit the 60 s UDS deadline while the walk carried on
|
|
19417
|
+
* with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
|
|
19418
|
+
*/
|
|
19419
|
+
var MediaReclaimStartResultSchema = object({
|
|
19420
|
+
started: boolean(),
|
|
19421
|
+
/** True when a pass was already running; the new request is ignored. */
|
|
19422
|
+
alreadyRunning: boolean()
|
|
19423
|
+
});
|
|
19424
|
+
var MediaReclaimInputSchema = object({
|
|
19425
|
+
mode: _enum(["report", "reclaim"]).default("report"),
|
|
19426
|
+
scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
|
|
19427
|
+
deviceIds: array(number().int()).min(1).optional(),
|
|
19428
|
+
restart: boolean().optional(),
|
|
19429
|
+
pageSize: number().int().min(50).max(5e3).optional(),
|
|
19430
|
+
maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19431
|
+
maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19432
|
+
maxBytesPerRun: number().int().min(1).optional(),
|
|
19433
|
+
budgetMinutes: number().int().min(1).max(720).optional(),
|
|
19434
|
+
throttleBytesPerSec: number().int().min(64 * 1024).optional(),
|
|
19435
|
+
graceMinutes: number().int().min(1).max(10080).optional()
|
|
19436
|
+
});
|
|
19437
|
+
var MediaReclaimStatusSchema = object({
|
|
19438
|
+
running: boolean(),
|
|
19439
|
+
mode: _enum(["report", "reclaim"]).nullable(),
|
|
19440
|
+
totalExamined: number(),
|
|
19441
|
+
totalEligible: number(),
|
|
19442
|
+
totalReclaimed: number(),
|
|
19443
|
+
totalBytesReclaimed: number(),
|
|
19444
|
+
totalRefused: number(),
|
|
19445
|
+
/** Device+scope windows finished in this pass. */
|
|
19446
|
+
devicesDone: number(),
|
|
19447
|
+
complete: boolean().nullable(),
|
|
19448
|
+
startedAtMs: number().nullable(),
|
|
19449
|
+
finishedAtMs: number().nullable(),
|
|
19450
|
+
error: string().nullable()
|
|
19451
|
+
});
|
|
19248
19452
|
var ReplayFrameInputSchema = object({
|
|
19249
19453
|
timestamp: number(),
|
|
19250
19454
|
frame: PipelineRunResultBridge
|
|
@@ -19283,10 +19487,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19283
19487
|
* stationary registry). Default false: the timeline lists passages,
|
|
19284
19488
|
* not parking records (operator decision, 2026-08-15). */
|
|
19285
19489
|
includeStationary: boolean().optional()
|
|
19286
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
19287
|
-
deviceId: number(),
|
|
19288
|
-
groupId: string().min(1)
|
|
19289
|
-
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19490
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19290
19491
|
kind: "mutation",
|
|
19291
19492
|
auth: "admin"
|
|
19292
19493
|
}), 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({
|
|
@@ -19295,7 +19496,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19295
19496
|
until: number().optional(),
|
|
19296
19497
|
kinds: array(string()).optional(),
|
|
19297
19498
|
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
19298
|
-
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
19499
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
19299
19500
|
deviceId: number(),
|
|
19300
19501
|
since: number(),
|
|
19301
19502
|
until: number(),
|
|
@@ -19386,6 +19587,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19386
19587
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
19387
19588
|
kind: "query",
|
|
19388
19589
|
auth: "admin"
|
|
19590
|
+
}), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
|
|
19591
|
+
kind: "mutation",
|
|
19592
|
+
auth: "admin"
|
|
19593
|
+
}), method(object({}), MediaReclaimStatusSchema, {
|
|
19594
|
+
kind: "query",
|
|
19595
|
+
auth: "admin"
|
|
19389
19596
|
}), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
|
|
19390
19597
|
kind: "query",
|
|
19391
19598
|
auth: "admin"
|
|
@@ -21356,7 +21563,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
21356
21563
|
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
21357
21564
|
kind: "mutation",
|
|
21358
21565
|
auth: "admin"
|
|
21359
|
-
})
|
|
21566
|
+
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
21567
|
+
kind: "mutation",
|
|
21568
|
+
auth: "admin"
|
|
21569
|
+
}), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
21570
|
+
kind: "mutation",
|
|
21571
|
+
auth: "admin"
|
|
21572
|
+
}), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
|
|
21360
21573
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
21361
21574
|
providerId: string().min(1),
|
|
21362
21575
|
displayName: string().min(1),
|
|
@@ -28449,6 +28662,33 @@ var RecordingRebalanceInputSchema = object({
|
|
|
28449
28662
|
minMoveGb: number().min(0).optional()
|
|
28450
28663
|
});
|
|
28451
28664
|
/**
|
|
28665
|
+
* Operator-facing placement of one camera onto a recordings location.
|
|
28666
|
+
*
|
|
28667
|
+
* `pinLocationId` is the operator instruction: a location id, or `null` for
|
|
28668
|
+
* Auto (the planner may move this camera). `locationId` is where high/mid
|
|
28669
|
+
* currently write — the plan, which may disagree with the pin when Auto.
|
|
28670
|
+
*/
|
|
28671
|
+
var RecordingDevicePlacementSchema = object({
|
|
28672
|
+
deviceId: number().int(),
|
|
28673
|
+
profile: string(),
|
|
28674
|
+
locationId: string()
|
|
28675
|
+
});
|
|
28676
|
+
var RecordingDevicePinSchema = object({
|
|
28677
|
+
deviceId: number().int(),
|
|
28678
|
+
/** Recordings-class location this camera is pinned to. */
|
|
28679
|
+
locationId: string()
|
|
28680
|
+
});
|
|
28681
|
+
var RecordingPlacementViewSchema = object({
|
|
28682
|
+
assignments: array(RecordingDevicePlacementSchema),
|
|
28683
|
+
pins: array(RecordingDevicePinSchema),
|
|
28684
|
+
defaultLocations: record(string(), string())
|
|
28685
|
+
});
|
|
28686
|
+
var RecordingSetDevicePlacementInputSchema = object({
|
|
28687
|
+
deviceId: number().int(),
|
|
28688
|
+
/** `null` = Auto. Otherwise a `recordings:*` location id. */
|
|
28689
|
+
locationId: string().nullable()
|
|
28690
|
+
});
|
|
28691
|
+
/**
|
|
28452
28692
|
* Result of locating footage at a wall-clock instant for one device/profile.
|
|
28453
28693
|
* `segment` carries the covering segment's window; `gap` reports the forward
|
|
28454
28694
|
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
@@ -28662,6 +28902,9 @@ method(object({
|
|
|
28662
28902
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
28663
28903
|
kind: "query",
|
|
28664
28904
|
auth: "admin"
|
|
28905
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
28906
|
+
kind: "mutation",
|
|
28907
|
+
auth: "admin"
|
|
28665
28908
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
28666
28909
|
kind: "mutation",
|
|
28667
28910
|
auth: "admin"
|
|
@@ -28671,6 +28914,12 @@ method(object({
|
|
|
28671
28914
|
}), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
|
|
28672
28915
|
kind: "mutation",
|
|
28673
28916
|
auth: "admin"
|
|
28917
|
+
}), method(object({}), RecordingPlacementViewSchema, {
|
|
28918
|
+
kind: "query",
|
|
28919
|
+
auth: "admin"
|
|
28920
|
+
}), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
|
|
28921
|
+
kind: "mutation",
|
|
28922
|
+
auth: "admin"
|
|
28674
28923
|
});
|
|
28675
28924
|
/**
|
|
28676
28925
|
* `recording-export` cap — render a footage time range into a single downloadable
|
|
@@ -29053,6 +29302,25 @@ var SceneMonitorStatusSchema = object({
|
|
|
29053
29302
|
monitors: array(SceneMonitorSchema),
|
|
29054
29303
|
lastFetchedAt: number()
|
|
29055
29304
|
});
|
|
29305
|
+
/**
|
|
29306
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
29307
|
+
*
|
|
29308
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
29309
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
29310
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
29311
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
29312
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
29313
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
29314
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
29315
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
29316
|
+
*
|
|
29317
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
29318
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
29319
|
+
*/
|
|
29320
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
29321
|
+
deviceId: number(),
|
|
29322
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
29323
|
+
});
|
|
29056
29324
|
var sceneMonitorCapability = {
|
|
29057
29325
|
name: "scene-monitor",
|
|
29058
29326
|
scope: "device",
|
|
@@ -29062,6 +29330,22 @@ var sceneMonitorCapability = {
|
|
|
29062
29330
|
deviceTypes: [DeviceType.Camera],
|
|
29063
29331
|
methods: {
|
|
29064
29332
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
29333
|
+
/**
|
|
29334
|
+
* The same answer, for a SET of cameras, in one round trip.
|
|
29335
|
+
*
|
|
29336
|
+
* `/scenes` renders every camera and re-reads them on a 30s safety-net
|
|
29337
|
+
* poll behind the push slice. Fanned out client-side that was one query
|
|
29338
|
+
* per camera — 29 round trips through the browser, the hub and the
|
|
29339
|
+
* post-analysis runner every 30 seconds to read an in-memory map the
|
|
29340
|
+
* owner had already merged. The work is unchanged (`statusFor` per
|
|
29341
|
+
* device, all in-process at the owner); what collapses is the transport.
|
|
29342
|
+
*
|
|
29343
|
+
* A camera that cannot answer still gets a row, with `status: null` —
|
|
29344
|
+
* see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
|
|
29345
|
+
* ids: a caller that asked for twenty-nine and got twenty-seven cannot
|
|
29346
|
+
* tell which two are missing, or that any are.
|
|
29347
|
+
*/
|
|
29348
|
+
listScenesBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
29065
29349
|
createScene: method(object({
|
|
29066
29350
|
deviceId: number(),
|
|
29067
29351
|
label: string(),
|
|
@@ -30897,6 +31181,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
30897
31181
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
30898
31182
|
});
|
|
30899
31183
|
/**
|
|
31184
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
31185
|
+
*
|
|
31186
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
31187
|
+
* because `snapshot: null` was already spoken for:
|
|
31188
|
+
*
|
|
31189
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
31190
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
31191
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
31192
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
31193
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
31194
|
+
*
|
|
31195
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
31196
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
31197
|
+
* which is a definite claim about a camera nobody could read.
|
|
31198
|
+
*/
|
|
31199
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
31200
|
+
deviceId: number(),
|
|
31201
|
+
read: _enum(["read", "unreadable"]),
|
|
31202
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
31203
|
+
});
|
|
31204
|
+
/**
|
|
30900
31205
|
* Time-series resolution. The history methods return one bucket per
|
|
30901
31206
|
* step over the requested range. Smaller resolutions cost more
|
|
30902
31207
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -30953,6 +31258,20 @@ var zoneAnalyticsCapability = {
|
|
|
30953
31258
|
* (no inference result emitted since boot or since binding was
|
|
30954
31259
|
* activated). */
|
|
30955
31260
|
getCurrentSnapshot: method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()),
|
|
31261
|
+
/**
|
|
31262
|
+
* The same snapshot, for a SET of cameras, in one round trip.
|
|
31263
|
+
*
|
|
31264
|
+
* The Events page's Stationary section polls this every 15s for every
|
|
31265
|
+
* selected camera. Fanned out client-side that is one query per camera to
|
|
31266
|
+
* read a `Map.get` at the owner — the answer costs nothing, the round trip
|
|
31267
|
+
* costs everything. Batched, N transports become one and the per-device
|
|
31268
|
+
* work is unchanged.
|
|
31269
|
+
*
|
|
31270
|
+
* Every requested deviceId gets a row, tagged `read` — see
|
|
31271
|
+
* {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
|
|
31272
|
+
* not answer for is `'unreadable'`, never an empty reading.
|
|
31273
|
+
*/
|
|
31274
|
+
getCurrentSnapshotBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()),
|
|
30956
31275
|
/** Time-series object count inside one zone. `className` optional —
|
|
30957
31276
|
* omit to count every class in the zone. */
|
|
30958
31277
|
getZoneHistory: method(object({
|
|
@@ -33670,6 +33989,12 @@ Object.freeze({
|
|
|
33670
33989
|
addonId: null,
|
|
33671
33990
|
access: "delete"
|
|
33672
33991
|
},
|
|
33992
|
+
"deviceManager.renameLocation": {
|
|
33993
|
+
capName: "device-manager",
|
|
33994
|
+
capScope: "system",
|
|
33995
|
+
addonId: null,
|
|
33996
|
+
access: "create"
|
|
33997
|
+
},
|
|
33673
33998
|
"deviceManager.runDeviceAction": {
|
|
33674
33999
|
capName: "device-manager",
|
|
33675
34000
|
capScope: "system",
|
|
@@ -35362,13 +35687,19 @@ Object.freeze({
|
|
|
35362
35687
|
addonId: null,
|
|
35363
35688
|
access: "view"
|
|
35364
35689
|
},
|
|
35365
|
-
"pipelineAnalytics.
|
|
35690
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
35366
35691
|
capName: "pipeline-analytics",
|
|
35367
35692
|
capScope: "device",
|
|
35368
35693
|
addonId: null,
|
|
35369
35694
|
access: "view"
|
|
35370
35695
|
},
|
|
35371
|
-
"pipelineAnalytics.
|
|
35696
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
35697
|
+
capName: "pipeline-analytics",
|
|
35698
|
+
capScope: "device",
|
|
35699
|
+
addonId: null,
|
|
35700
|
+
access: "view"
|
|
35701
|
+
},
|
|
35702
|
+
"pipelineAnalytics.getMediaReclaimStatus": {
|
|
35372
35703
|
capName: "pipeline-analytics",
|
|
35373
35704
|
capScope: "device",
|
|
35374
35705
|
addonId: null,
|
|
@@ -35458,12 +35789,6 @@ Object.freeze({
|
|
|
35458
35789
|
addonId: null,
|
|
35459
35790
|
access: "view"
|
|
35460
35791
|
},
|
|
35461
|
-
"pipelineAnalytics.listGroups": {
|
|
35462
|
-
capName: "pipeline-analytics",
|
|
35463
|
-
capScope: "device",
|
|
35464
|
-
addonId: null,
|
|
35465
|
-
access: "view"
|
|
35466
|
-
},
|
|
35467
35792
|
"pipelineAnalytics.listOpsLog": {
|
|
35468
35793
|
capName: "pipeline-analytics",
|
|
35469
35794
|
capScope: "device",
|
|
@@ -35548,6 +35873,12 @@ Object.freeze({
|
|
|
35548
35873
|
addonId: null,
|
|
35549
35874
|
access: "create"
|
|
35550
35875
|
},
|
|
35876
|
+
"pipelineAnalytics.reclaimDebugMedia": {
|
|
35877
|
+
capName: "pipeline-analytics",
|
|
35878
|
+
capScope: "device",
|
|
35879
|
+
addonId: null,
|
|
35880
|
+
access: "create"
|
|
35881
|
+
},
|
|
35551
35882
|
"pipelineAnalytics.reconcileFromDisk": {
|
|
35552
35883
|
capName: "pipeline-analytics",
|
|
35553
35884
|
capScope: "device",
|
|
@@ -36472,6 +36803,12 @@ Object.freeze({
|
|
|
36472
36803
|
addonId: null,
|
|
36473
36804
|
access: "view"
|
|
36474
36805
|
},
|
|
36806
|
+
"recording.getPlacement": {
|
|
36807
|
+
capName: "recording",
|
|
36808
|
+
capScope: "system",
|
|
36809
|
+
addonId: null,
|
|
36810
|
+
access: "view"
|
|
36811
|
+
},
|
|
36475
36812
|
"recording.getPlaybackManifest": {
|
|
36476
36813
|
capName: "recording",
|
|
36477
36814
|
capScope: "system",
|
|
@@ -36550,6 +36887,12 @@ Object.freeze({
|
|
|
36550
36887
|
addonId: null,
|
|
36551
36888
|
access: "view"
|
|
36552
36889
|
},
|
|
36890
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
36891
|
+
capName: "recording",
|
|
36892
|
+
capScope: "system",
|
|
36893
|
+
addonId: null,
|
|
36894
|
+
access: "create"
|
|
36895
|
+
},
|
|
36553
36896
|
"recording.refreshStorageLocationsForMigration": {
|
|
36554
36897
|
capName: "recording",
|
|
36555
36898
|
capScope: "system",
|
|
@@ -36592,6 +36935,12 @@ Object.freeze({
|
|
|
36592
36935
|
addonId: null,
|
|
36593
36936
|
access: "create"
|
|
36594
36937
|
},
|
|
36938
|
+
"recording.setDevicePlacement": {
|
|
36939
|
+
capName: "recording",
|
|
36940
|
+
capScope: "system",
|
|
36941
|
+
addonId: null,
|
|
36942
|
+
access: "create"
|
|
36943
|
+
},
|
|
36595
36944
|
"recording.startStorageMigrationMove": {
|
|
36596
36945
|
capName: "recording",
|
|
36597
36946
|
capScope: "system",
|
|
@@ -36676,6 +37025,12 @@ Object.freeze({
|
|
|
36676
37025
|
addonId: null,
|
|
36677
37026
|
access: "view"
|
|
36678
37027
|
},
|
|
37028
|
+
"sceneMonitor.listScenesBatch": {
|
|
37029
|
+
capName: "scene-monitor",
|
|
37030
|
+
capScope: "device",
|
|
37031
|
+
addonId: null,
|
|
37032
|
+
access: "view"
|
|
37033
|
+
},
|
|
36679
37034
|
"sceneMonitor.recheckNow": {
|
|
36680
37035
|
capName: "scene-monitor",
|
|
36681
37036
|
capScope: "device",
|
|
@@ -37030,12 +37385,36 @@ Object.freeze({
|
|
|
37030
37385
|
addonId: null,
|
|
37031
37386
|
access: "create"
|
|
37032
37387
|
},
|
|
37388
|
+
"storageMigration.cleanupCancel": {
|
|
37389
|
+
capName: "storage-migration",
|
|
37390
|
+
capScope: "system",
|
|
37391
|
+
addonId: null,
|
|
37392
|
+
access: "create"
|
|
37393
|
+
},
|
|
37394
|
+
"storageMigration.cleanupStart": {
|
|
37395
|
+
capName: "storage-migration",
|
|
37396
|
+
capScope: "system",
|
|
37397
|
+
addonId: null,
|
|
37398
|
+
access: "create"
|
|
37399
|
+
},
|
|
37400
|
+
"storageMigration.cleanupStatus": {
|
|
37401
|
+
capName: "storage-migration",
|
|
37402
|
+
capScope: "system",
|
|
37403
|
+
addonId: null,
|
|
37404
|
+
access: "view"
|
|
37405
|
+
},
|
|
37033
37406
|
"storageMigration.drain": {
|
|
37034
37407
|
capName: "storage-migration",
|
|
37035
37408
|
capScope: "system",
|
|
37036
37409
|
addonId: null,
|
|
37037
37410
|
access: "create"
|
|
37038
37411
|
},
|
|
37412
|
+
"storageMigration.history": {
|
|
37413
|
+
capName: "storage-migration",
|
|
37414
|
+
capScope: "system",
|
|
37415
|
+
addonId: null,
|
|
37416
|
+
access: "view"
|
|
37417
|
+
},
|
|
37039
37418
|
"storageMigration.movers": {
|
|
37040
37419
|
capName: "storage-migration",
|
|
37041
37420
|
capScope: "system",
|
|
@@ -38032,6 +38411,12 @@ Object.freeze({
|
|
|
38032
38411
|
addonId: null,
|
|
38033
38412
|
access: "view"
|
|
38034
38413
|
},
|
|
38414
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
38415
|
+
capName: "zone-analytics",
|
|
38416
|
+
capScope: "device",
|
|
38417
|
+
addonId: null,
|
|
38418
|
+
access: "view"
|
|
38419
|
+
},
|
|
38035
38420
|
"zoneAnalytics.getUnzonedHistory": {
|
|
38036
38421
|
capName: "zone-analytics",
|
|
38037
38422
|
capScope: "device",
|
|
@@ -39026,14 +39411,14 @@ Object.freeze({
|
|
|
39026
39411
|
form: "single",
|
|
39027
39412
|
optional: true
|
|
39028
39413
|
}],
|
|
39029
|
-
"pipelineAnalytics.
|
|
39414
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
39030
39415
|
name: "deviceId",
|
|
39031
39416
|
form: "single",
|
|
39032
39417
|
optional: false
|
|
39033
39418
|
}],
|
|
39034
|
-
"pipelineAnalytics.
|
|
39035
|
-
name: "
|
|
39036
|
-
form: "
|
|
39419
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
39420
|
+
name: "deviceIds",
|
|
39421
|
+
form: "array",
|
|
39037
39422
|
optional: false
|
|
39038
39423
|
}],
|
|
39039
39424
|
"pipelineAnalytics.getMotionEvents": [{
|
|
@@ -39091,11 +39476,6 @@ Object.freeze({
|
|
|
39091
39476
|
form: "single",
|
|
39092
39477
|
optional: false
|
|
39093
39478
|
}],
|
|
39094
|
-
"pipelineAnalytics.listGroups": [{
|
|
39095
|
-
name: "deviceIds",
|
|
39096
|
-
form: "array",
|
|
39097
|
-
optional: false
|
|
39098
|
-
}],
|
|
39099
39479
|
"pipelineAnalytics.listOpsLog": [{
|
|
39100
39480
|
name: "deviceId",
|
|
39101
39481
|
form: "single",
|
|
@@ -39141,6 +39521,11 @@ Object.freeze({
|
|
|
39141
39521
|
form: "single",
|
|
39142
39522
|
optional: true
|
|
39143
39523
|
}],
|
|
39524
|
+
"pipelineAnalytics.reclaimDebugMedia": [{
|
|
39525
|
+
name: "deviceIds",
|
|
39526
|
+
form: "array",
|
|
39527
|
+
optional: true
|
|
39528
|
+
}],
|
|
39144
39529
|
"pipelineAnalytics.reconcileFromDisk": [{
|
|
39145
39530
|
name: "deviceId",
|
|
39146
39531
|
form: "single",
|
|
@@ -39476,6 +39861,11 @@ Object.freeze({
|
|
|
39476
39861
|
form: "single",
|
|
39477
39862
|
optional: false
|
|
39478
39863
|
}],
|
|
39864
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
39865
|
+
name: "deviceId",
|
|
39866
|
+
form: "single",
|
|
39867
|
+
optional: true
|
|
39868
|
+
}],
|
|
39479
39869
|
"recording.relocateFootage": [{
|
|
39480
39870
|
name: "deviceId",
|
|
39481
39871
|
form: "single",
|
|
@@ -39501,6 +39891,11 @@ Object.freeze({
|
|
|
39501
39891
|
form: "single",
|
|
39502
39892
|
optional: false
|
|
39503
39893
|
}],
|
|
39894
|
+
"recording.setDevicePlacement": [{
|
|
39895
|
+
name: "deviceId",
|
|
39896
|
+
form: "single",
|
|
39897
|
+
optional: false
|
|
39898
|
+
}],
|
|
39504
39899
|
"recording.startStorageMigrationMove": [{
|
|
39505
39900
|
name: "deviceId",
|
|
39506
39901
|
form: "single",
|
|
@@ -39541,6 +39936,11 @@ Object.freeze({
|
|
|
39541
39936
|
form: "single",
|
|
39542
39937
|
optional: false
|
|
39543
39938
|
}],
|
|
39939
|
+
"sceneMonitor.listScenesBatch": [{
|
|
39940
|
+
name: "deviceIds",
|
|
39941
|
+
form: "array",
|
|
39942
|
+
optional: false
|
|
39943
|
+
}],
|
|
39544
39944
|
"sceneMonitor.recheckNow": [{
|
|
39545
39945
|
name: "deviceId",
|
|
39546
39946
|
form: "single",
|
|
@@ -39802,6 +40202,11 @@ Object.freeze({
|
|
|
39802
40202
|
form: "single",
|
|
39803
40203
|
optional: false
|
|
39804
40204
|
}],
|
|
40205
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
40206
|
+
name: "deviceIds",
|
|
40207
|
+
form: "array",
|
|
40208
|
+
optional: false
|
|
40209
|
+
}],
|
|
39805
40210
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
39806
40211
|
name: "deviceId",
|
|
39807
40212
|
form: "single",
|