@camstack/addon-provider-amcrest 0.2.49 → 0.2.51
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
|
@@ -8012,6 +8012,20 @@ var RelocateJobSchema = object({
|
|
|
8012
8012
|
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8013
8013
|
*/
|
|
8014
8014
|
rowsReconciled: number().int().nonnegative().optional(),
|
|
8015
|
+
/**
|
|
8016
|
+
* Rows this run FORGOT because the file they name is not on disk.
|
|
8017
|
+
*
|
|
8018
|
+
* The mover derived the path from the row's own fields and `stat`ed it; an
|
|
8019
|
+
* ENOENT there is a per-path confirmation that the segment is gone (D296),
|
|
8020
|
+
* and the durable row is dropped through the same channel eviction uses. It
|
|
8021
|
+
* is reported for the same reason `rowsReconciled` is: this is a durable
|
|
8022
|
+
* mutation nobody asked for, and a migration that quietly erases hour rows is
|
|
8023
|
+
* the same failure as one that quietly skips them (D295).
|
|
8024
|
+
*
|
|
8025
|
+
* The production drain of 2026-08-30 would have reported 11 074 here — the
|
|
8026
|
+
* ledger claimed 5.65 GB of footage that no longer existed.
|
|
8027
|
+
*/
|
|
8028
|
+
rowsForgotten: number().int().nonnegative().optional(),
|
|
8015
8029
|
startedAt: number(),
|
|
8016
8030
|
finishedAt: number().nullable(),
|
|
8017
8031
|
error: string().nullable()
|
|
@@ -8076,6 +8090,13 @@ var MediaRelocateModeSchema = _enum([
|
|
|
8076
8090
|
]);
|
|
8077
8091
|
var RelocateMediaInputSchema = object({
|
|
8078
8092
|
toLocationId: string(),
|
|
8093
|
+
/**
|
|
8094
|
+
* Restrict the pass to rows currently on this location. Omitted / `'*'` =
|
|
8095
|
+
* every row that is not already on `toLocationId` (the historical
|
|
8096
|
+
* behaviour). A named source is what a from→to migration needs: without it
|
|
8097
|
+
* "move events off disk 2" also emptied disk 1.
|
|
8098
|
+
*/
|
|
8099
|
+
fromLocationId: string().optional(),
|
|
8079
8100
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8080
8101
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8081
8102
|
mode: MediaRelocateModeSchema.optional()
|
|
@@ -8143,6 +8164,19 @@ var StorageMigrationDestinationsSchema = object({
|
|
|
8143
8164
|
galleryMedia: string().min(1).optional()
|
|
8144
8165
|
}).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
|
|
8145
8166
|
/**
|
|
8167
|
+
* Optional named source per class. Omitted = the class's current default
|
|
8168
|
+
* (the historical behaviour). A named source that is NOT the default is a
|
|
8169
|
+
* drain of that disk: bytes move, the default stays, and the source is
|
|
8170
|
+
* disabled when the move finishes.
|
|
8171
|
+
*/
|
|
8172
|
+
var StorageMigrationSourcesSchema = object({
|
|
8173
|
+
recordings: string().min(1).optional(),
|
|
8174
|
+
recordingsLow: string().min(1).optional(),
|
|
8175
|
+
eventMedia: string().min(1).optional(),
|
|
8176
|
+
backups: string().min(1).optional(),
|
|
8177
|
+
galleryMedia: string().min(1).optional()
|
|
8178
|
+
}).optional();
|
|
8179
|
+
/**
|
|
8146
8180
|
* How a migration sequences the cutover against the byte move.
|
|
8147
8181
|
*
|
|
8148
8182
|
* - `blocking` — the historical order: pause, move every byte, repoint,
|
|
@@ -8164,6 +8198,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
|
|
|
8164
8198
|
/** Shared input for planning and starting an orchestrated storage migration. */
|
|
8165
8199
|
var StorageMigrationInputSchema = object({
|
|
8166
8200
|
destinations: StorageMigrationDestinationsSchema,
|
|
8201
|
+
/** Omitted = each class's current default. */
|
|
8202
|
+
sources: StorageMigrationSourcesSchema,
|
|
8167
8203
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8168
8204
|
/** Omitted = `blocking`, which stays the default. */
|
|
8169
8205
|
mode: StorageMigrationModeSchema.optional()
|
|
@@ -8243,6 +8279,13 @@ var StorageMigrationMoveSchema = object({
|
|
|
8243
8279
|
storageClass: StorageMigrationClassSchema,
|
|
8244
8280
|
fromLocationId: string(),
|
|
8245
8281
|
toLocationId: string(),
|
|
8282
|
+
/**
|
|
8283
|
+
* True when `from` was NOT the class default at plan time. The move still
|
|
8284
|
+
* copies bytes, but the default is left alone and the source is disabled
|
|
8285
|
+
* once the copy verifies. Absent on jobs planned before this field existed
|
|
8286
|
+
* — those jobs always repointed, which is `false`.
|
|
8287
|
+
*/
|
|
8288
|
+
freezeSource: boolean().optional(),
|
|
8246
8289
|
moverJobId: string().nullable(),
|
|
8247
8290
|
state: RelocateJobStateSchema.nullable(),
|
|
8248
8291
|
error: string().nullable(),
|
|
@@ -8256,6 +8299,7 @@ var StorageMigrationJobSchema = object({
|
|
|
8256
8299
|
* can tell a seconds-long cutover from a thirty-hour one. */
|
|
8257
8300
|
mode: StorageMigrationModeSchema,
|
|
8258
8301
|
destinations: StorageMigrationDestinationsSchema,
|
|
8302
|
+
sources: StorageMigrationSourcesSchema,
|
|
8259
8303
|
throttleMbps: number(),
|
|
8260
8304
|
moves: array(StorageMigrationMoveSchema),
|
|
8261
8305
|
pauseLeaseId: string().nullable(),
|
|
@@ -8281,6 +8325,7 @@ var StorageMigrationFindingSchema = object({
|
|
|
8281
8325
|
});
|
|
8282
8326
|
var StorageMigrationPlanSchema = object({
|
|
8283
8327
|
destinations: StorageMigrationDestinationsSchema,
|
|
8328
|
+
sources: StorageMigrationSourcesSchema,
|
|
8284
8329
|
/** The mode this plan was built for. A plan is only valid for its mode: the
|
|
8285
8330
|
* `eventMedia` seal gate and the single-cardinality refusal both depend on
|
|
8286
8331
|
* it. */
|
|
@@ -8288,7 +8333,8 @@ var StorageMigrationPlanSchema = object({
|
|
|
8288
8333
|
moves: array(object({
|
|
8289
8334
|
storageClass: StorageMigrationClassSchema,
|
|
8290
8335
|
fromLocationId: string(),
|
|
8291
|
-
toLocationId: string()
|
|
8336
|
+
toLocationId: string(),
|
|
8337
|
+
freezeSource: boolean().optional()
|
|
8292
8338
|
})),
|
|
8293
8339
|
findings: array(StorageMigrationFindingSchema)
|
|
8294
8340
|
});
|
|
@@ -8375,16 +8421,142 @@ var RelocateResidueSchema = object({
|
|
|
8375
8421
|
segments: number().int().nonnegative(),
|
|
8376
8422
|
bytes: number().int().nonnegative()
|
|
8377
8423
|
}).nullable();
|
|
8424
|
+
/**
|
|
8425
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8426
|
+
* (D319).
|
|
8427
|
+
*
|
|
8428
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8429
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8430
|
+
* destructive run before authorising it.
|
|
8431
|
+
*/
|
|
8432
|
+
var LedgerWalkInputSchema = object({
|
|
8433
|
+
locationId: string().min(1),
|
|
8434
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8435
|
+
apply: boolean().optional(),
|
|
8436
|
+
/** Narrow to one camera. */
|
|
8437
|
+
deviceId: number().int().positive().optional(),
|
|
8438
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8439
|
+
profiles: array(string().min(1)).optional()
|
|
8440
|
+
});
|
|
8441
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8442
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8443
|
+
"location-unknown",
|
|
8444
|
+
"source-writable",
|
|
8445
|
+
"no-ledger",
|
|
8446
|
+
"archive-unreadable",
|
|
8447
|
+
"anchor-absent",
|
|
8448
|
+
"anchor-unreadable",
|
|
8449
|
+
"anchor-moved"
|
|
8450
|
+
]);
|
|
8451
|
+
_enum([
|
|
8452
|
+
"live-tail",
|
|
8453
|
+
"listing-error",
|
|
8454
|
+
"path-mismatch",
|
|
8455
|
+
"durable-refused"
|
|
8456
|
+
]);
|
|
8457
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8458
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8459
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8460
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8461
|
+
"live-tail": number().int().nonnegative(),
|
|
8462
|
+
"listing-error": number().int().nonnegative(),
|
|
8463
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8464
|
+
"durable-refused": number().int().nonnegative()
|
|
8465
|
+
});
|
|
8466
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8467
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8468
|
+
deviceId: number().int(),
|
|
8469
|
+
hoursWalked: number().int().nonnegative(),
|
|
8470
|
+
hoursMissing: number().int().nonnegative(),
|
|
8471
|
+
ghostSegments: number().int().nonnegative(),
|
|
8472
|
+
ghostBytes: number().int().nonnegative(),
|
|
8473
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8474
|
+
orphanFiles: number().int().nonnegative()
|
|
8475
|
+
});
|
|
8476
|
+
/**
|
|
8477
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8478
|
+
*
|
|
8479
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8480
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8481
|
+
* than in the absence of one.
|
|
8482
|
+
*/
|
|
8483
|
+
var LedgerWalkReportSchema = object({
|
|
8484
|
+
locationId: string(),
|
|
8485
|
+
applied: boolean(),
|
|
8486
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8487
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8488
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8489
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8490
|
+
hoursWalked: number().int().nonnegative(),
|
|
8491
|
+
hoursMissing: number().int().nonnegative(),
|
|
8492
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8493
|
+
listings: number().int().nonnegative(),
|
|
8494
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8495
|
+
ghostSegments: number().int().nonnegative(),
|
|
8496
|
+
ghostBytes: number().int().nonnegative(),
|
|
8497
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8498
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8499
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8500
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8501
|
+
orphanFiles: number().int().nonnegative(),
|
|
8502
|
+
orphanSample: array(string()).readonly(),
|
|
8503
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8504
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8505
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8506
|
+
bounded: boolean(),
|
|
8507
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8508
|
+
});
|
|
8378
8509
|
/** How many rows a media pass would still act on against a given target — the
|
|
8379
8510
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8380
8511
|
* never disagree. `null` = the count could not be taken. */
|
|
8381
8512
|
var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
|
|
8382
8513
|
var RelocatableMediaCountInputSchema = object({
|
|
8383
8514
|
toLocationId: string().min(1),
|
|
8515
|
+
/** Restrict the count to one source; omitted / `'*'` = every non-target row. */
|
|
8516
|
+
fromLocationId: string().optional(),
|
|
8384
8517
|
/** Omitted = `move`. */
|
|
8385
8518
|
mode: MediaRelocateModeSchema.optional()
|
|
8386
8519
|
});
|
|
8387
8520
|
/**
|
|
8521
|
+
* Operator cleanup of leftover analytics rows, optional debug media, and
|
|
8522
|
+
* ghost ledger entries on frozen footage locations.
|
|
8523
|
+
*
|
|
8524
|
+
* A pass is tens of minutes on a standing backlog. The hub method RETURNS
|
|
8525
|
+
* `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
|
|
8526
|
+
* is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
|
|
8527
|
+
* with no operator-visible status.
|
|
8528
|
+
*/
|
|
8529
|
+
var StorageCleanupPhaseSchema = _enum([
|
|
8530
|
+
"orphans",
|
|
8531
|
+
"debug-media",
|
|
8532
|
+
"ghost-ledger",
|
|
8533
|
+
"done",
|
|
8534
|
+
"failed",
|
|
8535
|
+
"cancelled"
|
|
8536
|
+
]);
|
|
8537
|
+
var StorageCleanupInputSchema = object({
|
|
8538
|
+
/** Also walk motion stills / track filmstrips. Off by default. */
|
|
8539
|
+
includeDebugMedia: boolean().optional() });
|
|
8540
|
+
var StorageCleanupJobSchema = object({
|
|
8541
|
+
jobId: string(),
|
|
8542
|
+
phase: StorageCleanupPhaseSchema,
|
|
8543
|
+
includeDebugMedia: boolean(),
|
|
8544
|
+
orphansReclaimed: number().int().nonnegative(),
|
|
8545
|
+
orphanBytesReclaimed: number().int().nonnegative(),
|
|
8546
|
+
debugMediaReclaimed: number().int().nonnegative(),
|
|
8547
|
+
debugMediaBytesReclaimed: number().int().nonnegative(),
|
|
8548
|
+
ghostsForgotten: number().int().nonnegative(),
|
|
8549
|
+
ghostBytesForgotten: number().int().nonnegative(),
|
|
8550
|
+
/** Short operator-facing line: current collection, pass, or location. */
|
|
8551
|
+
detail: string().nullable(),
|
|
8552
|
+
cancelRequested: boolean(),
|
|
8553
|
+
startedAt: number(),
|
|
8554
|
+
updatedAt: number(),
|
|
8555
|
+
finishedAt: number().nullable(),
|
|
8556
|
+
error: string().nullable()
|
|
8557
|
+
});
|
|
8558
|
+
var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
|
|
8559
|
+
/**
|
|
8388
8560
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
8389
8561
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
8390
8562
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -8412,11 +8584,10 @@ var StorageLocationTypeSchema = string().regex(/^[a-z][a-zA-Z0-9-]*$/);
|
|
|
8412
8584
|
* The default location for a type uses `id === <type>:default` by
|
|
8413
8585
|
* convention (the bare type ref like `'backups'` resolves to it).
|
|
8414
8586
|
*
|
|
8415
|
-
* `isSystem
|
|
8416
|
-
*
|
|
8417
|
-
*
|
|
8418
|
-
*
|
|
8419
|
-
* deleting it is rejected at the cap level.
|
|
8587
|
+
* `isSystem` is a legacy persisted flag. Seed still creates the initial
|
|
8588
|
+
* `<type>:default` locations; the flag is no longer a lock, a badge, or a
|
|
8589
|
+
* prune selector. New writes leave it false. Deletion is gated on uniqueness
|
|
8590
|
+
* / last-enabled, not on this bit.
|
|
8420
8591
|
*/
|
|
8421
8592
|
var StorageLocationSchema = object({
|
|
8422
8593
|
id: string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
|
|
@@ -12942,6 +13113,12 @@ method(object({
|
|
|
12942
13113
|
}), _void(), {
|
|
12943
13114
|
kind: "mutation",
|
|
12944
13115
|
auth: "admin"
|
|
13116
|
+
}), method(object({
|
|
13117
|
+
from: string(),
|
|
13118
|
+
to: string()
|
|
13119
|
+
}), object({ moved: number() }), {
|
|
13120
|
+
kind: "mutation",
|
|
13121
|
+
auth: "admin"
|
|
12945
13122
|
}), method(object({
|
|
12946
13123
|
deviceId: number(),
|
|
12947
13124
|
disabled: boolean()
|
|
@@ -18950,53 +19127,15 @@ var RecentTracksPageSchema = object({
|
|
|
18950
19127
|
/** Cursor for the next page, or null when this page is the last. */
|
|
18951
19128
|
nextCursor: string().nullable()
|
|
18952
19129
|
});
|
|
18953
|
-
var
|
|
18954
|
-
var
|
|
18955
|
-
var AnalyticsGroupRecordSchema = object({
|
|
18956
|
-
id: string(),
|
|
18957
|
-
deviceId: number().int(),
|
|
18958
|
-
openedAt: number().int(),
|
|
18959
|
-
closedAt: number().int(),
|
|
18960
|
-
timestamp: number().int(),
|
|
18961
|
-
memberCount: number().int(),
|
|
18962
|
-
memberTrackIds: array(string()).readonly(),
|
|
18963
|
-
className: string(),
|
|
18964
|
-
classes: array(string()).readonly(),
|
|
18965
|
-
/** Relative event-media path, or null when the group has no picture yet. */
|
|
18966
|
-
mediaUrl: string().nullable(),
|
|
18967
|
-
singleton: boolean()
|
|
18968
|
-
});
|
|
18969
|
-
var AnalyticsGroupMemberSchema = object({
|
|
18970
|
-
trackId: string(),
|
|
18971
|
-
deviceId: number().int(),
|
|
18972
|
-
className: string(),
|
|
18973
|
-
firstSeen: number().int(),
|
|
18974
|
-
lastSeen: number().int(),
|
|
18975
|
-
mediaUrl: string().nullable()
|
|
18976
|
-
});
|
|
18977
|
-
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
18978
|
-
var ListGroupsQueryInput = object({
|
|
18979
|
-
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
18980
|
-
deviceIds: array(number()),
|
|
18981
|
-
/** Window lower bound on `closedAt` (inclusive). */
|
|
18982
|
-
since: number().optional(),
|
|
18983
|
-
/** Window upper bound on `openedAt` (inclusive). */
|
|
18984
|
-
until: number().optional(),
|
|
18985
|
-
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
18986
|
-
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
18987
|
-
cursor: string().optional()
|
|
18988
|
-
});
|
|
18989
|
-
var ListGroupsPageSchema = object({
|
|
18990
|
-
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
18991
|
-
nextCursor: string().nullable()
|
|
18992
|
-
});
|
|
19130
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
19131
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
18993
19132
|
var KeyEventQueryInput = object({
|
|
18994
19133
|
deviceId: number(),
|
|
18995
19134
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
18996
19135
|
since: number(),
|
|
18997
19136
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
18998
19137
|
until: number(),
|
|
18999
|
-
limit: number().int().min(1).max(
|
|
19138
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19000
19139
|
/** Drop tracks scoring below this importance. */
|
|
19001
19140
|
minImportance: number().min(0).max(1).optional(),
|
|
19002
19141
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -19018,6 +19157,32 @@ var KeyEventSchema = object({
|
|
|
19018
19157
|
...TrackFlagFields,
|
|
19019
19158
|
...TrackRetrainFields
|
|
19020
19159
|
});
|
|
19160
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
19161
|
+
var KeyEventBatchQueryInput = object({
|
|
19162
|
+
deviceIds: array(number()).min(1).max(200),
|
|
19163
|
+
since: number(),
|
|
19164
|
+
until: number(),
|
|
19165
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
19166
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
19167
|
+
* rows and change what the merged feed contains. */
|
|
19168
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19169
|
+
minImportance: number().min(0).max(1).optional(),
|
|
19170
|
+
classFilter: string().optional()
|
|
19171
|
+
});
|
|
19172
|
+
/**
|
|
19173
|
+
* One camera's key events in a batch answer.
|
|
19174
|
+
*
|
|
19175
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
19176
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
19177
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
19178
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
19179
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
19180
|
+
* key, which only worked because there was one query per camera).
|
|
19181
|
+
*/
|
|
19182
|
+
var KeyEventsForDeviceSchema = object({
|
|
19183
|
+
deviceId: number(),
|
|
19184
|
+
events: array(KeyEventSchema).readonly()
|
|
19185
|
+
});
|
|
19021
19186
|
object({
|
|
19022
19187
|
trackId: string(),
|
|
19023
19188
|
className: string(),
|
|
@@ -19065,9 +19230,7 @@ var TrackCascadeCountsSchema = object({
|
|
|
19065
19230
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
19066
19231
|
plates: number().int(),
|
|
19067
19232
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
19068
|
-
embeddings: number().int()
|
|
19069
|
-
/** Group membership + group rows removed with their last member (best-effort). */
|
|
19070
|
-
groups: number().int()
|
|
19233
|
+
embeddings: number().int()
|
|
19071
19234
|
});
|
|
19072
19235
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
19073
19236
|
var DiskReconcileCountsSchema = object({
|
|
@@ -19237,6 +19400,47 @@ var RebuildStatusSchema = object({
|
|
|
19237
19400
|
/** Present when the pass ended by throwing. */
|
|
19238
19401
|
error: string().nullable()
|
|
19239
19402
|
});
|
|
19403
|
+
/**
|
|
19404
|
+
* Acknowledgement that a debug-media reclaim STARTED.
|
|
19405
|
+
*
|
|
19406
|
+
* The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
|
|
19407
|
+
* it runs detached and this returns immediately. Awaiting it is how the
|
|
19408
|
+
* `addons.custom` door hit the 60 s UDS deadline while the walk carried on
|
|
19409
|
+
* with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
|
|
19410
|
+
*/
|
|
19411
|
+
var MediaReclaimStartResultSchema = object({
|
|
19412
|
+
started: boolean(),
|
|
19413
|
+
/** True when a pass was already running; the new request is ignored. */
|
|
19414
|
+
alreadyRunning: boolean()
|
|
19415
|
+
});
|
|
19416
|
+
var MediaReclaimInputSchema = object({
|
|
19417
|
+
mode: _enum(["report", "reclaim"]).default("report"),
|
|
19418
|
+
scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
|
|
19419
|
+
deviceIds: array(number().int()).min(1).optional(),
|
|
19420
|
+
restart: boolean().optional(),
|
|
19421
|
+
pageSize: number().int().min(50).max(5e3).optional(),
|
|
19422
|
+
maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19423
|
+
maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19424
|
+
maxBytesPerRun: number().int().min(1).optional(),
|
|
19425
|
+
budgetMinutes: number().int().min(1).max(720).optional(),
|
|
19426
|
+
throttleBytesPerSec: number().int().min(64 * 1024).optional(),
|
|
19427
|
+
graceMinutes: number().int().min(1).max(10080).optional()
|
|
19428
|
+
});
|
|
19429
|
+
var MediaReclaimStatusSchema = object({
|
|
19430
|
+
running: boolean(),
|
|
19431
|
+
mode: _enum(["report", "reclaim"]).nullable(),
|
|
19432
|
+
totalExamined: number(),
|
|
19433
|
+
totalEligible: number(),
|
|
19434
|
+
totalReclaimed: number(),
|
|
19435
|
+
totalBytesReclaimed: number(),
|
|
19436
|
+
totalRefused: number(),
|
|
19437
|
+
/** Device+scope windows finished in this pass. */
|
|
19438
|
+
devicesDone: number(),
|
|
19439
|
+
complete: boolean().nullable(),
|
|
19440
|
+
startedAtMs: number().nullable(),
|
|
19441
|
+
finishedAtMs: number().nullable(),
|
|
19442
|
+
error: string().nullable()
|
|
19443
|
+
});
|
|
19240
19444
|
var ReplayFrameInputSchema = object({
|
|
19241
19445
|
timestamp: number(),
|
|
19242
19446
|
frame: PipelineRunResultBridge
|
|
@@ -19275,10 +19479,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19275
19479
|
* stationary registry). Default false: the timeline lists passages,
|
|
19276
19480
|
* not parking records (operator decision, 2026-08-15). */
|
|
19277
19481
|
includeStationary: boolean().optional()
|
|
19278
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
19279
|
-
deviceId: number(),
|
|
19280
|
-
groupId: string().min(1)
|
|
19281
|
-
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19482
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19282
19483
|
kind: "mutation",
|
|
19283
19484
|
auth: "admin"
|
|
19284
19485
|
}), 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({
|
|
@@ -19287,7 +19488,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19287
19488
|
until: number().optional(),
|
|
19288
19489
|
kinds: array(string()).optional(),
|
|
19289
19490
|
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
19290
|
-
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
19491
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
19291
19492
|
deviceId: number(),
|
|
19292
19493
|
since: number(),
|
|
19293
19494
|
until: number(),
|
|
@@ -19378,6 +19579,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19378
19579
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
19379
19580
|
kind: "query",
|
|
19380
19581
|
auth: "admin"
|
|
19582
|
+
}), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
|
|
19583
|
+
kind: "mutation",
|
|
19584
|
+
auth: "admin"
|
|
19585
|
+
}), method(object({}), MediaReclaimStatusSchema, {
|
|
19586
|
+
kind: "query",
|
|
19587
|
+
auth: "admin"
|
|
19381
19588
|
}), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
|
|
19382
19589
|
kind: "query",
|
|
19383
19590
|
auth: "admin"
|
|
@@ -21452,7 +21659,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
21452
21659
|
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
21453
21660
|
kind: "mutation",
|
|
21454
21661
|
auth: "admin"
|
|
21455
|
-
})
|
|
21662
|
+
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
21663
|
+
kind: "mutation",
|
|
21664
|
+
auth: "admin"
|
|
21665
|
+
}), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
21666
|
+
kind: "mutation",
|
|
21667
|
+
auth: "admin"
|
|
21668
|
+
}), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
|
|
21456
21669
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
21457
21670
|
providerId: string().min(1),
|
|
21458
21671
|
displayName: string().min(1),
|
|
@@ -28633,6 +28846,33 @@ var RecordingRebalanceInputSchema = object({
|
|
|
28633
28846
|
minMoveGb: number().min(0).optional()
|
|
28634
28847
|
});
|
|
28635
28848
|
/**
|
|
28849
|
+
* Operator-facing placement of one camera onto a recordings location.
|
|
28850
|
+
*
|
|
28851
|
+
* `pinLocationId` is the operator instruction: a location id, or `null` for
|
|
28852
|
+
* Auto (the planner may move this camera). `locationId` is where high/mid
|
|
28853
|
+
* currently write — the plan, which may disagree with the pin when Auto.
|
|
28854
|
+
*/
|
|
28855
|
+
var RecordingDevicePlacementSchema = object({
|
|
28856
|
+
deviceId: number().int(),
|
|
28857
|
+
profile: string(),
|
|
28858
|
+
locationId: string()
|
|
28859
|
+
});
|
|
28860
|
+
var RecordingDevicePinSchema = object({
|
|
28861
|
+
deviceId: number().int(),
|
|
28862
|
+
/** Recordings-class location this camera is pinned to. */
|
|
28863
|
+
locationId: string()
|
|
28864
|
+
});
|
|
28865
|
+
var RecordingPlacementViewSchema = object({
|
|
28866
|
+
assignments: array(RecordingDevicePlacementSchema),
|
|
28867
|
+
pins: array(RecordingDevicePinSchema),
|
|
28868
|
+
defaultLocations: record(string(), string())
|
|
28869
|
+
});
|
|
28870
|
+
var RecordingSetDevicePlacementInputSchema = object({
|
|
28871
|
+
deviceId: number().int(),
|
|
28872
|
+
/** `null` = Auto. Otherwise a `recordings:*` location id. */
|
|
28873
|
+
locationId: string().nullable()
|
|
28874
|
+
});
|
|
28875
|
+
/**
|
|
28636
28876
|
* Result of locating footage at a wall-clock instant for one device/profile.
|
|
28637
28877
|
* `segment` carries the covering segment's window; `gap` reports the forward
|
|
28638
28878
|
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
@@ -28846,6 +29086,9 @@ method(object({
|
|
|
28846
29086
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
28847
29087
|
kind: "query",
|
|
28848
29088
|
auth: "admin"
|
|
29089
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
29090
|
+
kind: "mutation",
|
|
29091
|
+
auth: "admin"
|
|
28849
29092
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
28850
29093
|
kind: "mutation",
|
|
28851
29094
|
auth: "admin"
|
|
@@ -28855,6 +29098,12 @@ method(object({
|
|
|
28855
29098
|
}), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
|
|
28856
29099
|
kind: "mutation",
|
|
28857
29100
|
auth: "admin"
|
|
29101
|
+
}), method(object({}), RecordingPlacementViewSchema, {
|
|
29102
|
+
kind: "query",
|
|
29103
|
+
auth: "admin"
|
|
29104
|
+
}), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
|
|
29105
|
+
kind: "mutation",
|
|
29106
|
+
auth: "admin"
|
|
28858
29107
|
});
|
|
28859
29108
|
/**
|
|
28860
29109
|
* `recording-export` cap — render a footage time range into a single downloadable
|
|
@@ -29237,6 +29486,25 @@ var SceneMonitorStatusSchema = object({
|
|
|
29237
29486
|
monitors: array(SceneMonitorSchema),
|
|
29238
29487
|
lastFetchedAt: number()
|
|
29239
29488
|
});
|
|
29489
|
+
/**
|
|
29490
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
29491
|
+
*
|
|
29492
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
29493
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
29494
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
29495
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
29496
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
29497
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
29498
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
29499
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
29500
|
+
*
|
|
29501
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
29502
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
29503
|
+
*/
|
|
29504
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
29505
|
+
deviceId: number(),
|
|
29506
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
29507
|
+
});
|
|
29240
29508
|
var sceneMonitorCapability = {
|
|
29241
29509
|
name: "scene-monitor",
|
|
29242
29510
|
scope: "device",
|
|
@@ -29246,6 +29514,22 @@ var sceneMonitorCapability = {
|
|
|
29246
29514
|
deviceTypes: [DeviceType.Camera],
|
|
29247
29515
|
methods: {
|
|
29248
29516
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
29517
|
+
/**
|
|
29518
|
+
* The same answer, for a SET of cameras, in one round trip.
|
|
29519
|
+
*
|
|
29520
|
+
* `/scenes` renders every camera and re-reads them on a 30s safety-net
|
|
29521
|
+
* poll behind the push slice. Fanned out client-side that was one query
|
|
29522
|
+
* per camera — 29 round trips through the browser, the hub and the
|
|
29523
|
+
* post-analysis runner every 30 seconds to read an in-memory map the
|
|
29524
|
+
* owner had already merged. The work is unchanged (`statusFor` per
|
|
29525
|
+
* device, all in-process at the owner); what collapses is the transport.
|
|
29526
|
+
*
|
|
29527
|
+
* A camera that cannot answer still gets a row, with `status: null` —
|
|
29528
|
+
* see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
|
|
29529
|
+
* ids: a caller that asked for twenty-nine and got twenty-seven cannot
|
|
29530
|
+
* tell which two are missing, or that any are.
|
|
29531
|
+
*/
|
|
29532
|
+
listScenesBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
29249
29533
|
createScene: method(object({
|
|
29250
29534
|
deviceId: number(),
|
|
29251
29535
|
label: string(),
|
|
@@ -31279,6 +31563,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
31279
31563
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
31280
31564
|
});
|
|
31281
31565
|
/**
|
|
31566
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
31567
|
+
*
|
|
31568
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
31569
|
+
* because `snapshot: null` was already spoken for:
|
|
31570
|
+
*
|
|
31571
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
31572
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
31573
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
31574
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
31575
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
31576
|
+
*
|
|
31577
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
31578
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
31579
|
+
* which is a definite claim about a camera nobody could read.
|
|
31580
|
+
*/
|
|
31581
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
31582
|
+
deviceId: number(),
|
|
31583
|
+
read: _enum(["read", "unreadable"]),
|
|
31584
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
31585
|
+
});
|
|
31586
|
+
/**
|
|
31282
31587
|
* Time-series resolution. The history methods return one bucket per
|
|
31283
31588
|
* step over the requested range. Smaller resolutions cost more
|
|
31284
31589
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -31335,6 +31640,20 @@ var zoneAnalyticsCapability = {
|
|
|
31335
31640
|
* (no inference result emitted since boot or since binding was
|
|
31336
31641
|
* activated). */
|
|
31337
31642
|
getCurrentSnapshot: method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()),
|
|
31643
|
+
/**
|
|
31644
|
+
* The same snapshot, for a SET of cameras, in one round trip.
|
|
31645
|
+
*
|
|
31646
|
+
* The Events page's Stationary section polls this every 15s for every
|
|
31647
|
+
* selected camera. Fanned out client-side that is one query per camera to
|
|
31648
|
+
* read a `Map.get` at the owner — the answer costs nothing, the round trip
|
|
31649
|
+
* costs everything. Batched, N transports become one and the per-device
|
|
31650
|
+
* work is unchanged.
|
|
31651
|
+
*
|
|
31652
|
+
* Every requested deviceId gets a row, tagged `read` — see
|
|
31653
|
+
* {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
|
|
31654
|
+
* not answer for is `'unreadable'`, never an empty reading.
|
|
31655
|
+
*/
|
|
31656
|
+
getCurrentSnapshotBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()),
|
|
31338
31657
|
/** Time-series object count inside one zone. `className` optional —
|
|
31339
31658
|
* omit to count every class in the zone. */
|
|
31340
31659
|
getZoneHistory: method(object({
|
|
@@ -34258,6 +34577,12 @@ Object.freeze({
|
|
|
34258
34577
|
addonId: null,
|
|
34259
34578
|
access: "delete"
|
|
34260
34579
|
},
|
|
34580
|
+
"deviceManager.renameLocation": {
|
|
34581
|
+
capName: "device-manager",
|
|
34582
|
+
capScope: "system",
|
|
34583
|
+
addonId: null,
|
|
34584
|
+
access: "create"
|
|
34585
|
+
},
|
|
34261
34586
|
"deviceManager.runDeviceAction": {
|
|
34262
34587
|
capName: "device-manager",
|
|
34263
34588
|
capScope: "system",
|
|
@@ -35950,13 +36275,19 @@ Object.freeze({
|
|
|
35950
36275
|
addonId: null,
|
|
35951
36276
|
access: "view"
|
|
35952
36277
|
},
|
|
35953
|
-
"pipelineAnalytics.
|
|
36278
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
35954
36279
|
capName: "pipeline-analytics",
|
|
35955
36280
|
capScope: "device",
|
|
35956
36281
|
addonId: null,
|
|
35957
36282
|
access: "view"
|
|
35958
36283
|
},
|
|
35959
|
-
"pipelineAnalytics.
|
|
36284
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
36285
|
+
capName: "pipeline-analytics",
|
|
36286
|
+
capScope: "device",
|
|
36287
|
+
addonId: null,
|
|
36288
|
+
access: "view"
|
|
36289
|
+
},
|
|
36290
|
+
"pipelineAnalytics.getMediaReclaimStatus": {
|
|
35960
36291
|
capName: "pipeline-analytics",
|
|
35961
36292
|
capScope: "device",
|
|
35962
36293
|
addonId: null,
|
|
@@ -36046,12 +36377,6 @@ Object.freeze({
|
|
|
36046
36377
|
addonId: null,
|
|
36047
36378
|
access: "view"
|
|
36048
36379
|
},
|
|
36049
|
-
"pipelineAnalytics.listGroups": {
|
|
36050
|
-
capName: "pipeline-analytics",
|
|
36051
|
-
capScope: "device",
|
|
36052
|
-
addonId: null,
|
|
36053
|
-
access: "view"
|
|
36054
|
-
},
|
|
36055
36380
|
"pipelineAnalytics.listOpsLog": {
|
|
36056
36381
|
capName: "pipeline-analytics",
|
|
36057
36382
|
capScope: "device",
|
|
@@ -36136,6 +36461,12 @@ Object.freeze({
|
|
|
36136
36461
|
addonId: null,
|
|
36137
36462
|
access: "create"
|
|
36138
36463
|
},
|
|
36464
|
+
"pipelineAnalytics.reclaimDebugMedia": {
|
|
36465
|
+
capName: "pipeline-analytics",
|
|
36466
|
+
capScope: "device",
|
|
36467
|
+
addonId: null,
|
|
36468
|
+
access: "create"
|
|
36469
|
+
},
|
|
36139
36470
|
"pipelineAnalytics.reconcileFromDisk": {
|
|
36140
36471
|
capName: "pipeline-analytics",
|
|
36141
36472
|
capScope: "device",
|
|
@@ -37060,6 +37391,12 @@ Object.freeze({
|
|
|
37060
37391
|
addonId: null,
|
|
37061
37392
|
access: "view"
|
|
37062
37393
|
},
|
|
37394
|
+
"recording.getPlacement": {
|
|
37395
|
+
capName: "recording",
|
|
37396
|
+
capScope: "system",
|
|
37397
|
+
addonId: null,
|
|
37398
|
+
access: "view"
|
|
37399
|
+
},
|
|
37063
37400
|
"recording.getPlaybackManifest": {
|
|
37064
37401
|
capName: "recording",
|
|
37065
37402
|
capScope: "system",
|
|
@@ -37138,6 +37475,12 @@ Object.freeze({
|
|
|
37138
37475
|
addonId: null,
|
|
37139
37476
|
access: "view"
|
|
37140
37477
|
},
|
|
37478
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
37479
|
+
capName: "recording",
|
|
37480
|
+
capScope: "system",
|
|
37481
|
+
addonId: null,
|
|
37482
|
+
access: "create"
|
|
37483
|
+
},
|
|
37141
37484
|
"recording.refreshStorageLocationsForMigration": {
|
|
37142
37485
|
capName: "recording",
|
|
37143
37486
|
capScope: "system",
|
|
@@ -37180,6 +37523,12 @@ Object.freeze({
|
|
|
37180
37523
|
addonId: null,
|
|
37181
37524
|
access: "create"
|
|
37182
37525
|
},
|
|
37526
|
+
"recording.setDevicePlacement": {
|
|
37527
|
+
capName: "recording",
|
|
37528
|
+
capScope: "system",
|
|
37529
|
+
addonId: null,
|
|
37530
|
+
access: "create"
|
|
37531
|
+
},
|
|
37183
37532
|
"recording.startStorageMigrationMove": {
|
|
37184
37533
|
capName: "recording",
|
|
37185
37534
|
capScope: "system",
|
|
@@ -37264,6 +37613,12 @@ Object.freeze({
|
|
|
37264
37613
|
addonId: null,
|
|
37265
37614
|
access: "view"
|
|
37266
37615
|
},
|
|
37616
|
+
"sceneMonitor.listScenesBatch": {
|
|
37617
|
+
capName: "scene-monitor",
|
|
37618
|
+
capScope: "device",
|
|
37619
|
+
addonId: null,
|
|
37620
|
+
access: "view"
|
|
37621
|
+
},
|
|
37267
37622
|
"sceneMonitor.recheckNow": {
|
|
37268
37623
|
capName: "scene-monitor",
|
|
37269
37624
|
capScope: "device",
|
|
@@ -37618,12 +37973,36 @@ Object.freeze({
|
|
|
37618
37973
|
addonId: null,
|
|
37619
37974
|
access: "create"
|
|
37620
37975
|
},
|
|
37976
|
+
"storageMigration.cleanupCancel": {
|
|
37977
|
+
capName: "storage-migration",
|
|
37978
|
+
capScope: "system",
|
|
37979
|
+
addonId: null,
|
|
37980
|
+
access: "create"
|
|
37981
|
+
},
|
|
37982
|
+
"storageMigration.cleanupStart": {
|
|
37983
|
+
capName: "storage-migration",
|
|
37984
|
+
capScope: "system",
|
|
37985
|
+
addonId: null,
|
|
37986
|
+
access: "create"
|
|
37987
|
+
},
|
|
37988
|
+
"storageMigration.cleanupStatus": {
|
|
37989
|
+
capName: "storage-migration",
|
|
37990
|
+
capScope: "system",
|
|
37991
|
+
addonId: null,
|
|
37992
|
+
access: "view"
|
|
37993
|
+
},
|
|
37621
37994
|
"storageMigration.drain": {
|
|
37622
37995
|
capName: "storage-migration",
|
|
37623
37996
|
capScope: "system",
|
|
37624
37997
|
addonId: null,
|
|
37625
37998
|
access: "create"
|
|
37626
37999
|
},
|
|
38000
|
+
"storageMigration.history": {
|
|
38001
|
+
capName: "storage-migration",
|
|
38002
|
+
capScope: "system",
|
|
38003
|
+
addonId: null,
|
|
38004
|
+
access: "view"
|
|
38005
|
+
},
|
|
37627
38006
|
"storageMigration.movers": {
|
|
37628
38007
|
capName: "storage-migration",
|
|
37629
38008
|
capScope: "system",
|
|
@@ -38620,6 +38999,12 @@ Object.freeze({
|
|
|
38620
38999
|
addonId: null,
|
|
38621
39000
|
access: "view"
|
|
38622
39001
|
},
|
|
39002
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
39003
|
+
capName: "zone-analytics",
|
|
39004
|
+
capScope: "device",
|
|
39005
|
+
addonId: null,
|
|
39006
|
+
access: "view"
|
|
39007
|
+
},
|
|
38623
39008
|
"zoneAnalytics.getUnzonedHistory": {
|
|
38624
39009
|
capName: "zone-analytics",
|
|
38625
39010
|
capScope: "device",
|
|
@@ -39614,14 +39999,14 @@ Object.freeze({
|
|
|
39614
39999
|
form: "single",
|
|
39615
40000
|
optional: true
|
|
39616
40001
|
}],
|
|
39617
|
-
"pipelineAnalytics.
|
|
40002
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
39618
40003
|
name: "deviceId",
|
|
39619
40004
|
form: "single",
|
|
39620
40005
|
optional: false
|
|
39621
40006
|
}],
|
|
39622
|
-
"pipelineAnalytics.
|
|
39623
|
-
name: "
|
|
39624
|
-
form: "
|
|
40007
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
40008
|
+
name: "deviceIds",
|
|
40009
|
+
form: "array",
|
|
39625
40010
|
optional: false
|
|
39626
40011
|
}],
|
|
39627
40012
|
"pipelineAnalytics.getMotionEvents": [{
|
|
@@ -39679,11 +40064,6 @@ Object.freeze({
|
|
|
39679
40064
|
form: "single",
|
|
39680
40065
|
optional: false
|
|
39681
40066
|
}],
|
|
39682
|
-
"pipelineAnalytics.listGroups": [{
|
|
39683
|
-
name: "deviceIds",
|
|
39684
|
-
form: "array",
|
|
39685
|
-
optional: false
|
|
39686
|
-
}],
|
|
39687
40067
|
"pipelineAnalytics.listOpsLog": [{
|
|
39688
40068
|
name: "deviceId",
|
|
39689
40069
|
form: "single",
|
|
@@ -39729,6 +40109,11 @@ Object.freeze({
|
|
|
39729
40109
|
form: "single",
|
|
39730
40110
|
optional: true
|
|
39731
40111
|
}],
|
|
40112
|
+
"pipelineAnalytics.reclaimDebugMedia": [{
|
|
40113
|
+
name: "deviceIds",
|
|
40114
|
+
form: "array",
|
|
40115
|
+
optional: true
|
|
40116
|
+
}],
|
|
39732
40117
|
"pipelineAnalytics.reconcileFromDisk": [{
|
|
39733
40118
|
name: "deviceId",
|
|
39734
40119
|
form: "single",
|
|
@@ -40064,6 +40449,11 @@ Object.freeze({
|
|
|
40064
40449
|
form: "single",
|
|
40065
40450
|
optional: false
|
|
40066
40451
|
}],
|
|
40452
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
40453
|
+
name: "deviceId",
|
|
40454
|
+
form: "single",
|
|
40455
|
+
optional: true
|
|
40456
|
+
}],
|
|
40067
40457
|
"recording.relocateFootage": [{
|
|
40068
40458
|
name: "deviceId",
|
|
40069
40459
|
form: "single",
|
|
@@ -40089,6 +40479,11 @@ Object.freeze({
|
|
|
40089
40479
|
form: "single",
|
|
40090
40480
|
optional: false
|
|
40091
40481
|
}],
|
|
40482
|
+
"recording.setDevicePlacement": [{
|
|
40483
|
+
name: "deviceId",
|
|
40484
|
+
form: "single",
|
|
40485
|
+
optional: false
|
|
40486
|
+
}],
|
|
40092
40487
|
"recording.startStorageMigrationMove": [{
|
|
40093
40488
|
name: "deviceId",
|
|
40094
40489
|
form: "single",
|
|
@@ -40129,6 +40524,11 @@ Object.freeze({
|
|
|
40129
40524
|
form: "single",
|
|
40130
40525
|
optional: false
|
|
40131
40526
|
}],
|
|
40527
|
+
"sceneMonitor.listScenesBatch": [{
|
|
40528
|
+
name: "deviceIds",
|
|
40529
|
+
form: "array",
|
|
40530
|
+
optional: false
|
|
40531
|
+
}],
|
|
40132
40532
|
"sceneMonitor.recheckNow": [{
|
|
40133
40533
|
name: "deviceId",
|
|
40134
40534
|
form: "single",
|
|
@@ -40390,6 +40790,11 @@ Object.freeze({
|
|
|
40390
40790
|
form: "single",
|
|
40391
40791
|
optional: false
|
|
40392
40792
|
}],
|
|
40793
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
40794
|
+
name: "deviceIds",
|
|
40795
|
+
form: "array",
|
|
40796
|
+
optional: false
|
|
40797
|
+
}],
|
|
40393
40798
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
40394
40799
|
name: "deviceId",
|
|
40395
40800
|
form: "single",
|