@camstack/addon-provider-hikvision 1.2.56 → 1.2.58
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
|
@@ -8014,6 +8014,20 @@ var RelocateJobSchema = object({
|
|
|
8014
8014
|
* in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
|
|
8015
8015
|
*/
|
|
8016
8016
|
rowsReconciled: number().int().nonnegative().optional(),
|
|
8017
|
+
/**
|
|
8018
|
+
* Rows this run FORGOT because the file they name is not on disk.
|
|
8019
|
+
*
|
|
8020
|
+
* The mover derived the path from the row's own fields and `stat`ed it; an
|
|
8021
|
+
* ENOENT there is a per-path confirmation that the segment is gone (D296),
|
|
8022
|
+
* and the durable row is dropped through the same channel eviction uses. It
|
|
8023
|
+
* is reported for the same reason `rowsReconciled` is: this is a durable
|
|
8024
|
+
* mutation nobody asked for, and a migration that quietly erases hour rows is
|
|
8025
|
+
* the same failure as one that quietly skips them (D295).
|
|
8026
|
+
*
|
|
8027
|
+
* The production drain of 2026-08-30 would have reported 11 074 here — the
|
|
8028
|
+
* ledger claimed 5.65 GB of footage that no longer existed.
|
|
8029
|
+
*/
|
|
8030
|
+
rowsForgotten: number().int().nonnegative().optional(),
|
|
8017
8031
|
startedAt: number(),
|
|
8018
8032
|
finishedAt: number().nullable(),
|
|
8019
8033
|
error: string().nullable()
|
|
@@ -8078,6 +8092,13 @@ var MediaRelocateModeSchema = _enum([
|
|
|
8078
8092
|
]);
|
|
8079
8093
|
var RelocateMediaInputSchema = object({
|
|
8080
8094
|
toLocationId: string(),
|
|
8095
|
+
/**
|
|
8096
|
+
* Restrict the pass to rows currently on this location. Omitted / `'*'` =
|
|
8097
|
+
* every row that is not already on `toLocationId` (the historical
|
|
8098
|
+
* behaviour). A named source is what a from→to migration needs: without it
|
|
8099
|
+
* "move events off disk 2" also emptied disk 1.
|
|
8100
|
+
*/
|
|
8101
|
+
fromLocationId: string().optional(),
|
|
8081
8102
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8082
8103
|
/** Omitted = `move`, the pre-existing behaviour. */
|
|
8083
8104
|
mode: MediaRelocateModeSchema.optional()
|
|
@@ -8145,6 +8166,19 @@ var StorageMigrationDestinationsSchema = object({
|
|
|
8145
8166
|
galleryMedia: string().min(1).optional()
|
|
8146
8167
|
}).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
|
|
8147
8168
|
/**
|
|
8169
|
+
* Optional named source per class. Omitted = the class's current default
|
|
8170
|
+
* (the historical behaviour). A named source that is NOT the default is a
|
|
8171
|
+
* drain of that disk: bytes move, the default stays, and the source is
|
|
8172
|
+
* disabled when the move finishes.
|
|
8173
|
+
*/
|
|
8174
|
+
var StorageMigrationSourcesSchema = object({
|
|
8175
|
+
recordings: string().min(1).optional(),
|
|
8176
|
+
recordingsLow: string().min(1).optional(),
|
|
8177
|
+
eventMedia: string().min(1).optional(),
|
|
8178
|
+
backups: string().min(1).optional(),
|
|
8179
|
+
galleryMedia: string().min(1).optional()
|
|
8180
|
+
}).optional();
|
|
8181
|
+
/**
|
|
8148
8182
|
* How a migration sequences the cutover against the byte move.
|
|
8149
8183
|
*
|
|
8150
8184
|
* - `blocking` — the historical order: pause, move every byte, repoint,
|
|
@@ -8166,6 +8200,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
|
|
|
8166
8200
|
/** Shared input for planning and starting an orchestrated storage migration. */
|
|
8167
8201
|
var StorageMigrationInputSchema = object({
|
|
8168
8202
|
destinations: StorageMigrationDestinationsSchema,
|
|
8203
|
+
/** Omitted = each class's current default. */
|
|
8204
|
+
sources: StorageMigrationSourcesSchema,
|
|
8169
8205
|
throttleMbps: number().min(1).max(1e3).optional(),
|
|
8170
8206
|
/** Omitted = `blocking`, which stays the default. */
|
|
8171
8207
|
mode: StorageMigrationModeSchema.optional()
|
|
@@ -8245,6 +8281,13 @@ var StorageMigrationMoveSchema = object({
|
|
|
8245
8281
|
storageClass: StorageMigrationClassSchema,
|
|
8246
8282
|
fromLocationId: string(),
|
|
8247
8283
|
toLocationId: string(),
|
|
8284
|
+
/**
|
|
8285
|
+
* True when `from` was NOT the class default at plan time. The move still
|
|
8286
|
+
* copies bytes, but the default is left alone and the source is disabled
|
|
8287
|
+
* once the copy verifies. Absent on jobs planned before this field existed
|
|
8288
|
+
* — those jobs always repointed, which is `false`.
|
|
8289
|
+
*/
|
|
8290
|
+
freezeSource: boolean().optional(),
|
|
8248
8291
|
moverJobId: string().nullable(),
|
|
8249
8292
|
state: RelocateJobStateSchema.nullable(),
|
|
8250
8293
|
error: string().nullable(),
|
|
@@ -8258,6 +8301,7 @@ var StorageMigrationJobSchema = object({
|
|
|
8258
8301
|
* can tell a seconds-long cutover from a thirty-hour one. */
|
|
8259
8302
|
mode: StorageMigrationModeSchema,
|
|
8260
8303
|
destinations: StorageMigrationDestinationsSchema,
|
|
8304
|
+
sources: StorageMigrationSourcesSchema,
|
|
8261
8305
|
throttleMbps: number(),
|
|
8262
8306
|
moves: array(StorageMigrationMoveSchema),
|
|
8263
8307
|
pauseLeaseId: string().nullable(),
|
|
@@ -8283,6 +8327,7 @@ var StorageMigrationFindingSchema = object({
|
|
|
8283
8327
|
});
|
|
8284
8328
|
var StorageMigrationPlanSchema = object({
|
|
8285
8329
|
destinations: StorageMigrationDestinationsSchema,
|
|
8330
|
+
sources: StorageMigrationSourcesSchema,
|
|
8286
8331
|
/** The mode this plan was built for. A plan is only valid for its mode: the
|
|
8287
8332
|
* `eventMedia` seal gate and the single-cardinality refusal both depend on
|
|
8288
8333
|
* it. */
|
|
@@ -8290,7 +8335,8 @@ var StorageMigrationPlanSchema = object({
|
|
|
8290
8335
|
moves: array(object({
|
|
8291
8336
|
storageClass: StorageMigrationClassSchema,
|
|
8292
8337
|
fromLocationId: string(),
|
|
8293
|
-
toLocationId: string()
|
|
8338
|
+
toLocationId: string(),
|
|
8339
|
+
freezeSource: boolean().optional()
|
|
8294
8340
|
})),
|
|
8295
8341
|
findings: array(StorageMigrationFindingSchema)
|
|
8296
8342
|
});
|
|
@@ -8377,16 +8423,142 @@ var RelocateResidueSchema = object({
|
|
|
8377
8423
|
segments: number().int().nonnegative(),
|
|
8378
8424
|
bytes: number().int().nonnegative()
|
|
8379
8425
|
}).nullable();
|
|
8426
|
+
/**
|
|
8427
|
+
* Ask one location whether its durable hour rows describe the disk — the walk
|
|
8428
|
+
* (D319).
|
|
8429
|
+
*
|
|
8430
|
+
* `apply` DEFAULTS TO FALSE and that default is the product: the operator's
|
|
8431
|
+
* missing tool is the question, and the dry run is how they sanity-check the
|
|
8432
|
+
* destructive run before authorising it.
|
|
8433
|
+
*/
|
|
8434
|
+
var LedgerWalkInputSchema = object({
|
|
8435
|
+
locationId: string().min(1),
|
|
8436
|
+
/** Forget the confirmed-absent rows, rather than only counting them. */
|
|
8437
|
+
apply: boolean().optional(),
|
|
8438
|
+
/** Narrow to one camera. */
|
|
8439
|
+
deviceId: number().int().positive().optional(),
|
|
8440
|
+
/** Narrow to these recording profiles; empty/absent = every profile. */
|
|
8441
|
+
profiles: array(string().min(1)).optional()
|
|
8442
|
+
});
|
|
8443
|
+
/** Why a whole walk did nothing. Every one leaves the ledger untouched. */
|
|
8444
|
+
var LedgerWalkRefusalSchema = _enum([
|
|
8445
|
+
"location-unknown",
|
|
8446
|
+
"source-writable",
|
|
8447
|
+
"no-ledger",
|
|
8448
|
+
"archive-unreadable",
|
|
8449
|
+
"anchor-absent",
|
|
8450
|
+
"anchor-unreadable",
|
|
8451
|
+
"anchor-moved"
|
|
8452
|
+
]);
|
|
8453
|
+
_enum([
|
|
8454
|
+
"live-tail",
|
|
8455
|
+
"listing-error",
|
|
8456
|
+
"path-mismatch",
|
|
8457
|
+
"durable-refused"
|
|
8458
|
+
]);
|
|
8459
|
+
/** Every skip reason, always present, always a number — so a reason that never
|
|
8460
|
+
* fired reports as zero rather than absent and the report shape is constant
|
|
8461
|
+
* between passes. Spelled out rather than `z.record` for exactly that. */
|
|
8462
|
+
var LedgerWalkSkipCountsSchema = object({
|
|
8463
|
+
"live-tail": number().int().nonnegative(),
|
|
8464
|
+
"listing-error": number().int().nonnegative(),
|
|
8465
|
+
"path-mismatch": number().int().nonnegative(),
|
|
8466
|
+
"durable-refused": number().int().nonnegative()
|
|
8467
|
+
});
|
|
8468
|
+
/** One camera's share of a walk, so a report names cameras and not rows. */
|
|
8469
|
+
var LedgerWalkDeviceReportSchema = object({
|
|
8470
|
+
deviceId: number().int(),
|
|
8471
|
+
hoursWalked: number().int().nonnegative(),
|
|
8472
|
+
hoursMissing: number().int().nonnegative(),
|
|
8473
|
+
ghostSegments: number().int().nonnegative(),
|
|
8474
|
+
ghostBytes: number().int().nonnegative(),
|
|
8475
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8476
|
+
orphanFiles: number().int().nonnegative()
|
|
8477
|
+
});
|
|
8478
|
+
/**
|
|
8479
|
+
* What one walk claimed, listed, found and (only when armed) forgot.
|
|
8480
|
+
*
|
|
8481
|
+
* `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
|
|
8482
|
+
* walk that saw a fraction of the location is visible in its own report rather
|
|
8483
|
+
* than in the absence of one.
|
|
8484
|
+
*/
|
|
8485
|
+
var LedgerWalkReportSchema = object({
|
|
8486
|
+
locationId: string(),
|
|
8487
|
+
applied: boolean(),
|
|
8488
|
+
refused: LedgerWalkRefusalSchema.nullable(),
|
|
8489
|
+
archiveSegments: number().int().nonnegative().nullable(),
|
|
8490
|
+
archiveBytes: number().int().nonnegative().nullable(),
|
|
8491
|
+
hoursClaimed: number().int().nonnegative(),
|
|
8492
|
+
hoursWalked: number().int().nonnegative(),
|
|
8493
|
+
hoursMissing: number().int().nonnegative(),
|
|
8494
|
+
/** `readdir` calls issued — the cost, stated in the unit that is paid. */
|
|
8495
|
+
listings: number().int().nonnegative(),
|
|
8496
|
+
segmentsClaimed: number().int().nonnegative(),
|
|
8497
|
+
ghostSegments: number().int().nonnegative(),
|
|
8498
|
+
ghostBytes: number().int().nonnegative(),
|
|
8499
|
+
ghostHoursWhole: number().int().nonnegative(),
|
|
8500
|
+
forgottenSegments: number().int().nonnegative(),
|
|
8501
|
+
forgottenBytes: number().int().nonnegative(),
|
|
8502
|
+
/** Files under a claimed hour that no durable row names. Never deleted. */
|
|
8503
|
+
orphanFiles: number().int().nonnegative(),
|
|
8504
|
+
orphanSample: array(string()).readonly(),
|
|
8505
|
+
hoursSkipped: number().int().nonnegative(),
|
|
8506
|
+
skippedByReason: LedgerWalkSkipCountsSchema,
|
|
8507
|
+
/** The walk stopped at its per-pass hour bound with claims unwalked. */
|
|
8508
|
+
bounded: boolean(),
|
|
8509
|
+
byDevice: array(LedgerWalkDeviceReportSchema).readonly()
|
|
8510
|
+
});
|
|
8380
8511
|
/** How many rows a media pass would still act on against a given target — the
|
|
8381
8512
|
* media lane's denominator AND its residue, from ONE derivation so the two can
|
|
8382
8513
|
* never disagree. `null` = the count could not be taken. */
|
|
8383
8514
|
var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
|
|
8384
8515
|
var RelocatableMediaCountInputSchema = object({
|
|
8385
8516
|
toLocationId: string().min(1),
|
|
8517
|
+
/** Restrict the count to one source; omitted / `'*'` = every non-target row. */
|
|
8518
|
+
fromLocationId: string().optional(),
|
|
8386
8519
|
/** Omitted = `move`. */
|
|
8387
8520
|
mode: MediaRelocateModeSchema.optional()
|
|
8388
8521
|
});
|
|
8389
8522
|
/**
|
|
8523
|
+
* Operator cleanup of leftover analytics rows, optional debug media, and
|
|
8524
|
+
* ghost ledger entries on frozen footage locations.
|
|
8525
|
+
*
|
|
8526
|
+
* A pass is tens of minutes on a standing backlog. The hub method RETURNS
|
|
8527
|
+
* `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
|
|
8528
|
+
* is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
|
|
8529
|
+
* with no operator-visible status.
|
|
8530
|
+
*/
|
|
8531
|
+
var StorageCleanupPhaseSchema = _enum([
|
|
8532
|
+
"orphans",
|
|
8533
|
+
"debug-media",
|
|
8534
|
+
"ghost-ledger",
|
|
8535
|
+
"done",
|
|
8536
|
+
"failed",
|
|
8537
|
+
"cancelled"
|
|
8538
|
+
]);
|
|
8539
|
+
var StorageCleanupInputSchema = object({
|
|
8540
|
+
/** Also walk motion stills / track filmstrips. Off by default. */
|
|
8541
|
+
includeDebugMedia: boolean().optional() });
|
|
8542
|
+
var StorageCleanupJobSchema = object({
|
|
8543
|
+
jobId: string(),
|
|
8544
|
+
phase: StorageCleanupPhaseSchema,
|
|
8545
|
+
includeDebugMedia: boolean(),
|
|
8546
|
+
orphansReclaimed: number().int().nonnegative(),
|
|
8547
|
+
orphanBytesReclaimed: number().int().nonnegative(),
|
|
8548
|
+
debugMediaReclaimed: number().int().nonnegative(),
|
|
8549
|
+
debugMediaBytesReclaimed: number().int().nonnegative(),
|
|
8550
|
+
ghostsForgotten: number().int().nonnegative(),
|
|
8551
|
+
ghostBytesForgotten: number().int().nonnegative(),
|
|
8552
|
+
/** Short operator-facing line: current collection, pass, or location. */
|
|
8553
|
+
detail: string().nullable(),
|
|
8554
|
+
cancelRequested: boolean(),
|
|
8555
|
+
startedAt: number(),
|
|
8556
|
+
updatedAt: number(),
|
|
8557
|
+
finishedAt: number().nullable(),
|
|
8558
|
+
error: string().nullable()
|
|
8559
|
+
});
|
|
8560
|
+
var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
|
|
8561
|
+
/**
|
|
8390
8562
|
* `StorageLocationType` — an addon-declared id that identifies the *kind* of
|
|
8391
8563
|
* storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
|
|
8392
8564
|
* so the persisted record schema and the consumer-facing cap can both consume it
|
|
@@ -8414,11 +8586,10 @@ var StorageLocationTypeSchema = string().regex(/^[a-z][a-zA-Z0-9-]*$/);
|
|
|
8414
8586
|
* The default location for a type uses `id === <type>:default` by
|
|
8415
8587
|
* convention (the bare type ref like `'backups'` resolves to it).
|
|
8416
8588
|
*
|
|
8417
|
-
* `isSystem
|
|
8418
|
-
*
|
|
8419
|
-
*
|
|
8420
|
-
*
|
|
8421
|
-
* deleting it is rejected at the cap level.
|
|
8589
|
+
* `isSystem` is a legacy persisted flag. Seed still creates the initial
|
|
8590
|
+
* `<type>:default` locations; the flag is no longer a lock, a badge, or a
|
|
8591
|
+
* prune selector. New writes leave it false. Deletion is gated on uniqueness
|
|
8592
|
+
* / last-enabled, not on this bit.
|
|
8422
8593
|
*/
|
|
8423
8594
|
var StorageLocationSchema = object({
|
|
8424
8595
|
id: string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
|
|
@@ -13237,6 +13408,12 @@ method(object({
|
|
|
13237
13408
|
}), _void(), {
|
|
13238
13409
|
kind: "mutation",
|
|
13239
13410
|
auth: "admin"
|
|
13411
|
+
}), method(object({
|
|
13412
|
+
from: string(),
|
|
13413
|
+
to: string()
|
|
13414
|
+
}), object({ moved: number() }), {
|
|
13415
|
+
kind: "mutation",
|
|
13416
|
+
auth: "admin"
|
|
13240
13417
|
}), method(object({
|
|
13241
13418
|
deviceId: number(),
|
|
13242
13419
|
disabled: boolean()
|
|
@@ -19264,53 +19441,15 @@ var RecentTracksPageSchema = object({
|
|
|
19264
19441
|
/** Cursor for the next page, or null when this page is the last. */
|
|
19265
19442
|
nextCursor: string().nullable()
|
|
19266
19443
|
});
|
|
19267
|
-
var
|
|
19268
|
-
var
|
|
19269
|
-
var AnalyticsGroupRecordSchema = object({
|
|
19270
|
-
id: string(),
|
|
19271
|
-
deviceId: number().int(),
|
|
19272
|
-
openedAt: number().int(),
|
|
19273
|
-
closedAt: number().int(),
|
|
19274
|
-
timestamp: number().int(),
|
|
19275
|
-
memberCount: number().int(),
|
|
19276
|
-
memberTrackIds: array(string()).readonly(),
|
|
19277
|
-
className: string(),
|
|
19278
|
-
classes: array(string()).readonly(),
|
|
19279
|
-
/** Relative event-media path, or null when the group has no picture yet. */
|
|
19280
|
-
mediaUrl: string().nullable(),
|
|
19281
|
-
singleton: boolean()
|
|
19282
|
-
});
|
|
19283
|
-
var AnalyticsGroupMemberSchema = object({
|
|
19284
|
-
trackId: string(),
|
|
19285
|
-
deviceId: number().int(),
|
|
19286
|
-
className: string(),
|
|
19287
|
-
firstSeen: number().int(),
|
|
19288
|
-
lastSeen: number().int(),
|
|
19289
|
-
mediaUrl: string().nullable()
|
|
19290
|
-
});
|
|
19291
|
-
var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
|
|
19292
|
-
var ListGroupsQueryInput = object({
|
|
19293
|
-
/** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
|
|
19294
|
-
deviceIds: array(number()),
|
|
19295
|
-
/** Window lower bound on `closedAt` (inclusive). */
|
|
19296
|
-
since: number().optional(),
|
|
19297
|
-
/** Window upper bound on `openedAt` (inclusive). */
|
|
19298
|
-
until: number().optional(),
|
|
19299
|
-
limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
|
|
19300
|
-
/** Opaque continuation cursor from a previous page's `nextCursor`. */
|
|
19301
|
-
cursor: string().optional()
|
|
19302
|
-
});
|
|
19303
|
-
var ListGroupsPageSchema = object({
|
|
19304
|
-
groups: array(AnalyticsGroupRecordSchema).readonly(),
|
|
19305
|
-
nextCursor: string().nullable()
|
|
19306
|
-
});
|
|
19444
|
+
var KEY_EVENTS_DEFAULT_LIMIT = 50;
|
|
19445
|
+
var KEY_EVENTS_MAX_LIMIT = 200;
|
|
19307
19446
|
var KeyEventQueryInput = object({
|
|
19308
19447
|
deviceId: number(),
|
|
19309
19448
|
/** Window lower bound (track firstSeen ≥ since). */
|
|
19310
19449
|
since: number(),
|
|
19311
19450
|
/** Window upper bound (track firstSeen ≤ until). */
|
|
19312
19451
|
until: number(),
|
|
19313
|
-
limit: number().int().min(1).max(
|
|
19452
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19314
19453
|
/** Drop tracks scoring below this importance. */
|
|
19315
19454
|
minImportance: number().min(0).max(1).optional(),
|
|
19316
19455
|
/** Restrict to a single class (e.g. 'person'). */
|
|
@@ -19332,6 +19471,32 @@ var KeyEventSchema = object({
|
|
|
19332
19471
|
...TrackFlagFields,
|
|
19333
19472
|
...TrackRetrainFields
|
|
19334
19473
|
});
|
|
19474
|
+
/** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
|
|
19475
|
+
var KeyEventBatchQueryInput = object({
|
|
19476
|
+
deviceIds: array(number()).min(1).max(200),
|
|
19477
|
+
since: number(),
|
|
19478
|
+
until: number(),
|
|
19479
|
+
/** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
|
|
19480
|
+
* across the set, which would let a busy camera starve a quiet one of its
|
|
19481
|
+
* rows and change what the merged feed contains. */
|
|
19482
|
+
limit: number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
|
|
19483
|
+
minImportance: number().min(0).max(1).optional(),
|
|
19484
|
+
classFilter: string().optional()
|
|
19485
|
+
});
|
|
19486
|
+
/**
|
|
19487
|
+
* One camera's key events in a batch answer.
|
|
19488
|
+
*
|
|
19489
|
+
* The row exists for every requested id. `getKeyEvents` degrades to `[]` on
|
|
19490
|
+
* error rather than throwing, so a camera whose store read failed and one with
|
|
19491
|
+
* no events in the window were ALREADY indistinguishable per camera — the
|
|
19492
|
+
* batch does not make that worse, and the row keeps the deviceId the single
|
|
19493
|
+
* method's output never carried (the caller used to stamp it from the fan-out
|
|
19494
|
+
* key, which only worked because there was one query per camera).
|
|
19495
|
+
*/
|
|
19496
|
+
var KeyEventsForDeviceSchema = object({
|
|
19497
|
+
deviceId: number(),
|
|
19498
|
+
events: array(KeyEventSchema).readonly()
|
|
19499
|
+
});
|
|
19335
19500
|
object({
|
|
19336
19501
|
trackId: string(),
|
|
19337
19502
|
className: string(),
|
|
@@ -19379,9 +19544,7 @@ var TrackCascadeCountsSchema = object({
|
|
|
19379
19544
|
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
19380
19545
|
plates: number().int(),
|
|
19381
19546
|
/** Per-track CLIP search vectors removed (best-effort). */
|
|
19382
|
-
embeddings: number().int()
|
|
19383
|
-
/** Group membership + group rows removed with their last member (best-effort). */
|
|
19384
|
-
groups: number().int()
|
|
19547
|
+
embeddings: number().int()
|
|
19385
19548
|
});
|
|
19386
19549
|
/** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
|
|
19387
19550
|
var DiskReconcileCountsSchema = object({
|
|
@@ -19551,6 +19714,47 @@ var RebuildStatusSchema = object({
|
|
|
19551
19714
|
/** Present when the pass ended by throwing. */
|
|
19552
19715
|
error: string().nullable()
|
|
19553
19716
|
});
|
|
19717
|
+
/**
|
|
19718
|
+
* Acknowledgement that a debug-media reclaim STARTED.
|
|
19719
|
+
*
|
|
19720
|
+
* The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
|
|
19721
|
+
* it runs detached and this returns immediately. Awaiting it is how the
|
|
19722
|
+
* `addons.custom` door hit the 60 s UDS deadline while the walk carried on
|
|
19723
|
+
* with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
|
|
19724
|
+
*/
|
|
19725
|
+
var MediaReclaimStartResultSchema = object({
|
|
19726
|
+
started: boolean(),
|
|
19727
|
+
/** True when a pass was already running; the new request is ignored. */
|
|
19728
|
+
alreadyRunning: boolean()
|
|
19729
|
+
});
|
|
19730
|
+
var MediaReclaimInputSchema = object({
|
|
19731
|
+
mode: _enum(["report", "reclaim"]).default("report"),
|
|
19732
|
+
scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
|
|
19733
|
+
deviceIds: array(number().int()).min(1).optional(),
|
|
19734
|
+
restart: boolean().optional(),
|
|
19735
|
+
pageSize: number().int().min(50).max(5e3).optional(),
|
|
19736
|
+
maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19737
|
+
maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
|
|
19738
|
+
maxBytesPerRun: number().int().min(1).optional(),
|
|
19739
|
+
budgetMinutes: number().int().min(1).max(720).optional(),
|
|
19740
|
+
throttleBytesPerSec: number().int().min(64 * 1024).optional(),
|
|
19741
|
+
graceMinutes: number().int().min(1).max(10080).optional()
|
|
19742
|
+
});
|
|
19743
|
+
var MediaReclaimStatusSchema = object({
|
|
19744
|
+
running: boolean(),
|
|
19745
|
+
mode: _enum(["report", "reclaim"]).nullable(),
|
|
19746
|
+
totalExamined: number(),
|
|
19747
|
+
totalEligible: number(),
|
|
19748
|
+
totalReclaimed: number(),
|
|
19749
|
+
totalBytesReclaimed: number(),
|
|
19750
|
+
totalRefused: number(),
|
|
19751
|
+
/** Device+scope windows finished in this pass. */
|
|
19752
|
+
devicesDone: number(),
|
|
19753
|
+
complete: boolean().nullable(),
|
|
19754
|
+
startedAtMs: number().nullable(),
|
|
19755
|
+
finishedAtMs: number().nullable(),
|
|
19756
|
+
error: string().nullable()
|
|
19757
|
+
});
|
|
19554
19758
|
var ReplayFrameInputSchema = object({
|
|
19555
19759
|
timestamp: number(),
|
|
19556
19760
|
frame: PipelineRunResultBridge
|
|
@@ -19589,10 +19793,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19589
19793
|
* stationary registry). Default false: the timeline lists passages,
|
|
19590
19794
|
* not parking records (operator decision, 2026-08-15). */
|
|
19591
19795
|
includeStationary: boolean().optional()
|
|
19592
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(
|
|
19593
|
-
deviceId: number(),
|
|
19594
|
-
groupId: string().min(1)
|
|
19595
|
-
}), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19796
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19596
19797
|
kind: "mutation",
|
|
19597
19798
|
auth: "admin"
|
|
19598
19799
|
}), 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({
|
|
@@ -19601,7 +19802,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19601
19802
|
until: number().optional(),
|
|
19602
19803
|
kinds: array(string()).optional(),
|
|
19603
19804
|
limit: number().int().min(1).max(MAX_EVENT_QUERY_LIMIT).default(DEFAULT_EVENT_QUERY_LIMIT)
|
|
19604
|
-
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(object({
|
|
19805
|
+
}), array(SensorEventSchema).readonly()), method(KeyEventQueryInput, array(KeyEventSchema).readonly()), method(KeyEventBatchQueryInput, array(KeyEventsForDeviceSchema).readonly()), method(object({
|
|
19605
19806
|
deviceId: number(),
|
|
19606
19807
|
since: number(),
|
|
19607
19808
|
until: number(),
|
|
@@ -19692,6 +19893,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19692
19893
|
}), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
|
|
19693
19894
|
kind: "query",
|
|
19694
19895
|
auth: "admin"
|
|
19896
|
+
}), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
|
|
19897
|
+
kind: "mutation",
|
|
19898
|
+
auth: "admin"
|
|
19899
|
+
}), method(object({}), MediaReclaimStatusSchema, {
|
|
19900
|
+
kind: "query",
|
|
19901
|
+
auth: "admin"
|
|
19695
19902
|
}), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
|
|
19696
19903
|
kind: "query",
|
|
19697
19904
|
auth: "admin"
|
|
@@ -21766,7 +21973,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
|
|
|
21766
21973
|
}), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
|
|
21767
21974
|
kind: "mutation",
|
|
21768
21975
|
auth: "admin"
|
|
21769
|
-
})
|
|
21976
|
+
}), method(StorageCleanupInputSchema, object({ jobId: string() }), {
|
|
21977
|
+
kind: "mutation",
|
|
21978
|
+
auth: "admin"
|
|
21979
|
+
}), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
21980
|
+
kind: "mutation",
|
|
21981
|
+
auth: "admin"
|
|
21982
|
+
}), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
|
|
21770
21983
|
var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
|
|
21771
21984
|
providerId: string().min(1),
|
|
21772
21985
|
displayName: string().min(1),
|
|
@@ -28992,6 +29205,33 @@ var RecordingRebalanceInputSchema = object({
|
|
|
28992
29205
|
minMoveGb: number().min(0).optional()
|
|
28993
29206
|
});
|
|
28994
29207
|
/**
|
|
29208
|
+
* Operator-facing placement of one camera onto a recordings location.
|
|
29209
|
+
*
|
|
29210
|
+
* `pinLocationId` is the operator instruction: a location id, or `null` for
|
|
29211
|
+
* Auto (the planner may move this camera). `locationId` is where high/mid
|
|
29212
|
+
* currently write — the plan, which may disagree with the pin when Auto.
|
|
29213
|
+
*/
|
|
29214
|
+
var RecordingDevicePlacementSchema = object({
|
|
29215
|
+
deviceId: number().int(),
|
|
29216
|
+
profile: string(),
|
|
29217
|
+
locationId: string()
|
|
29218
|
+
});
|
|
29219
|
+
var RecordingDevicePinSchema = object({
|
|
29220
|
+
deviceId: number().int(),
|
|
29221
|
+
/** Recordings-class location this camera is pinned to. */
|
|
29222
|
+
locationId: string()
|
|
29223
|
+
});
|
|
29224
|
+
var RecordingPlacementViewSchema = object({
|
|
29225
|
+
assignments: array(RecordingDevicePlacementSchema),
|
|
29226
|
+
pins: array(RecordingDevicePinSchema),
|
|
29227
|
+
defaultLocations: record(string(), string())
|
|
29228
|
+
});
|
|
29229
|
+
var RecordingSetDevicePlacementInputSchema = object({
|
|
29230
|
+
deviceId: number().int(),
|
|
29231
|
+
/** `null` = Auto. Otherwise a `recordings:*` location id. */
|
|
29232
|
+
locationId: string().nullable()
|
|
29233
|
+
});
|
|
29234
|
+
/**
|
|
28995
29235
|
* Result of locating footage at a wall-clock instant for one device/profile.
|
|
28996
29236
|
* `segment` carries the covering segment's window; `gap` reports the forward
|
|
28997
29237
|
* nearest covered edge (`null` past the end of footage / when none exists)
|
|
@@ -29205,6 +29445,9 @@ method(object({
|
|
|
29205
29445
|
}), method(RelocateResidueInputSchema, RelocateResidueSchema, {
|
|
29206
29446
|
kind: "query",
|
|
29207
29447
|
auth: "admin"
|
|
29448
|
+
}), method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
|
|
29449
|
+
kind: "mutation",
|
|
29450
|
+
auth: "admin"
|
|
29208
29451
|
}), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
|
|
29209
29452
|
kind: "mutation",
|
|
29210
29453
|
auth: "admin"
|
|
@@ -29214,6 +29457,12 @@ method(object({
|
|
|
29214
29457
|
}), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
|
|
29215
29458
|
kind: "mutation",
|
|
29216
29459
|
auth: "admin"
|
|
29460
|
+
}), method(object({}), RecordingPlacementViewSchema, {
|
|
29461
|
+
kind: "query",
|
|
29462
|
+
auth: "admin"
|
|
29463
|
+
}), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
|
|
29464
|
+
kind: "mutation",
|
|
29465
|
+
auth: "admin"
|
|
29217
29466
|
});
|
|
29218
29467
|
/**
|
|
29219
29468
|
* `recording-export` cap — render a footage time range into a single downloadable
|
|
@@ -29596,6 +29845,25 @@ var SceneMonitorStatusSchema = object({
|
|
|
29596
29845
|
monitors: array(SceneMonitorSchema),
|
|
29597
29846
|
lastFetchedAt: number()
|
|
29598
29847
|
});
|
|
29848
|
+
/**
|
|
29849
|
+
* One camera's row in a `listScenesBatch` answer.
|
|
29850
|
+
*
|
|
29851
|
+
* `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
|
|
29852
|
+
* is a `defaultActive` wrapper, so every camera is asked; a camera whose
|
|
29853
|
+
* provider is absent (pipeline-analytics not deployed, the post-processing node
|
|
29854
|
+
* down) cannot answer, and that is not the same fact as a camera with no scenes
|
|
29855
|
+
* configured. Fanned out per camera the difference was visible — one query
|
|
29856
|
+
* errored while the others resolved — and a batch that returned only the rows
|
|
29857
|
+
* it managed would have destroyed it, silently, by making an unreachable camera
|
|
29858
|
+
* indistinguishable from one that answered `monitors: []`.
|
|
29859
|
+
*
|
|
29860
|
+
* So: EVERY requested deviceId gets a row. `status: null` means "this camera
|
|
29861
|
+
* could not be read"; `status.monitors: []` means "read, and it has none".
|
|
29862
|
+
*/
|
|
29863
|
+
var SceneMonitorStatusForDeviceSchema = object({
|
|
29864
|
+
deviceId: number(),
|
|
29865
|
+
status: SceneMonitorStatusSchema.nullable()
|
|
29866
|
+
});
|
|
29599
29867
|
var sceneMonitorCapability = {
|
|
29600
29868
|
name: "scene-monitor",
|
|
29601
29869
|
scope: "device",
|
|
@@ -29605,6 +29873,22 @@ var sceneMonitorCapability = {
|
|
|
29605
29873
|
deviceTypes: [DeviceType.Camera],
|
|
29606
29874
|
methods: {
|
|
29607
29875
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
29876
|
+
/**
|
|
29877
|
+
* The same answer, for a SET of cameras, in one round trip.
|
|
29878
|
+
*
|
|
29879
|
+
* `/scenes` renders every camera and re-reads them on a 30s safety-net
|
|
29880
|
+
* poll behind the push slice. Fanned out client-side that was one query
|
|
29881
|
+
* per camera — 29 round trips through the browser, the hub and the
|
|
29882
|
+
* post-analysis runner every 30 seconds to read an in-memory map the
|
|
29883
|
+
* owner had already merged. The work is unchanged (`statusFor` per
|
|
29884
|
+
* device, all in-process at the owner); what collapses is the transport.
|
|
29885
|
+
*
|
|
29886
|
+
* A camera that cannot answer still gets a row, with `status: null` —
|
|
29887
|
+
* see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
|
|
29888
|
+
* ids: a caller that asked for twenty-nine and got twenty-seven cannot
|
|
29889
|
+
* tell which two are missing, or that any are.
|
|
29890
|
+
*/
|
|
29891
|
+
listScenesBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(SceneMonitorStatusForDeviceSchema).readonly()),
|
|
29608
29892
|
createScene: method(object({
|
|
29609
29893
|
deviceId: number(),
|
|
29610
29894
|
label: string(),
|
|
@@ -31638,6 +31922,27 @@ var CameraOccupancySnapshotSchema = object({
|
|
|
31638
31922
|
stationaryObjects: array(StationaryObjectSchema).readonly().optional()
|
|
31639
31923
|
});
|
|
31640
31924
|
/**
|
|
31925
|
+
* One camera's row in a `getCurrentSnapshotBatch` answer.
|
|
31926
|
+
*
|
|
31927
|
+
* THREE outcomes, and the single-camera method could only express two of them
|
|
31928
|
+
* because `snapshot: null` was already spoken for:
|
|
31929
|
+
*
|
|
31930
|
+
* - `read: 'read'`, `snapshot` present — the live occupancy reading.
|
|
31931
|
+
* - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
|
|
31932
|
+
* yet: no frame since boot, and no parked-object registry to hydrate from.
|
|
31933
|
+
* - `read: 'unreadable'` — the owner could not answer for this
|
|
31934
|
+
* camera. `snapshot` is null, and it does NOT mean "nothing parked here".
|
|
31935
|
+
*
|
|
31936
|
+
* Collapsing the last two is the failure this field exists to prevent: a
|
|
31937
|
+
* hydration that threw would otherwise render as an empty Stationary section,
|
|
31938
|
+
* which is a definite claim about a camera nobody could read.
|
|
31939
|
+
*/
|
|
31940
|
+
var CameraOccupancySnapshotForDeviceSchema = object({
|
|
31941
|
+
deviceId: number(),
|
|
31942
|
+
read: _enum(["read", "unreadable"]),
|
|
31943
|
+
snapshot: CameraOccupancySnapshotSchema.nullable()
|
|
31944
|
+
});
|
|
31945
|
+
/**
|
|
31641
31946
|
* Time-series resolution. The history methods return one bucket per
|
|
31642
31947
|
* step over the requested range. Smaller resolutions cost more
|
|
31643
31948
|
* memory + bandwidth; bound to discrete steps so caller cannot ask
|
|
@@ -31694,6 +31999,20 @@ var zoneAnalyticsCapability = {
|
|
|
31694
31999
|
* (no inference result emitted since boot or since binding was
|
|
31695
32000
|
* activated). */
|
|
31696
32001
|
getCurrentSnapshot: method(object({ deviceId: number() }), CameraOccupancySnapshotSchema.nullable()),
|
|
32002
|
+
/**
|
|
32003
|
+
* The same snapshot, for a SET of cameras, in one round trip.
|
|
32004
|
+
*
|
|
32005
|
+
* The Events page's Stationary section polls this every 15s for every
|
|
32006
|
+
* selected camera. Fanned out client-side that is one query per camera to
|
|
32007
|
+
* read a `Map.get` at the owner — the answer costs nothing, the round trip
|
|
32008
|
+
* costs everything. Batched, N transports become one and the per-device
|
|
32009
|
+
* work is unchanged.
|
|
32010
|
+
*
|
|
32011
|
+
* Every requested deviceId gets a row, tagged `read` — see
|
|
32012
|
+
* {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
|
|
32013
|
+
* not answer for is `'unreadable'`, never an empty reading.
|
|
32014
|
+
*/
|
|
32015
|
+
getCurrentSnapshotBatch: method(object({ deviceIds: array(number()).min(1).max(200) }), array(CameraOccupancySnapshotForDeviceSchema).readonly()),
|
|
31697
32016
|
/** Time-series object count inside one zone. `className` optional —
|
|
31698
32017
|
* omit to count every class in the zone. */
|
|
31699
32018
|
getZoneHistory: method(object({
|
|
@@ -34644,6 +34963,12 @@ Object.freeze({
|
|
|
34644
34963
|
addonId: null,
|
|
34645
34964
|
access: "delete"
|
|
34646
34965
|
},
|
|
34966
|
+
"deviceManager.renameLocation": {
|
|
34967
|
+
capName: "device-manager",
|
|
34968
|
+
capScope: "system",
|
|
34969
|
+
addonId: null,
|
|
34970
|
+
access: "create"
|
|
34971
|
+
},
|
|
34647
34972
|
"deviceManager.runDeviceAction": {
|
|
34648
34973
|
capName: "device-manager",
|
|
34649
34974
|
capScope: "system",
|
|
@@ -36336,13 +36661,19 @@ Object.freeze({
|
|
|
36336
36661
|
addonId: null,
|
|
36337
36662
|
access: "view"
|
|
36338
36663
|
},
|
|
36339
|
-
"pipelineAnalytics.
|
|
36664
|
+
"pipelineAnalytics.getKeyEvents": {
|
|
36340
36665
|
capName: "pipeline-analytics",
|
|
36341
36666
|
capScope: "device",
|
|
36342
36667
|
addonId: null,
|
|
36343
36668
|
access: "view"
|
|
36344
36669
|
},
|
|
36345
|
-
"pipelineAnalytics.
|
|
36670
|
+
"pipelineAnalytics.getKeyEventsBatch": {
|
|
36671
|
+
capName: "pipeline-analytics",
|
|
36672
|
+
capScope: "device",
|
|
36673
|
+
addonId: null,
|
|
36674
|
+
access: "view"
|
|
36675
|
+
},
|
|
36676
|
+
"pipelineAnalytics.getMediaReclaimStatus": {
|
|
36346
36677
|
capName: "pipeline-analytics",
|
|
36347
36678
|
capScope: "device",
|
|
36348
36679
|
addonId: null,
|
|
@@ -36432,12 +36763,6 @@ Object.freeze({
|
|
|
36432
36763
|
addonId: null,
|
|
36433
36764
|
access: "view"
|
|
36434
36765
|
},
|
|
36435
|
-
"pipelineAnalytics.listGroups": {
|
|
36436
|
-
capName: "pipeline-analytics",
|
|
36437
|
-
capScope: "device",
|
|
36438
|
-
addonId: null,
|
|
36439
|
-
access: "view"
|
|
36440
|
-
},
|
|
36441
36766
|
"pipelineAnalytics.listOpsLog": {
|
|
36442
36767
|
capName: "pipeline-analytics",
|
|
36443
36768
|
capScope: "device",
|
|
@@ -36522,6 +36847,12 @@ Object.freeze({
|
|
|
36522
36847
|
addonId: null,
|
|
36523
36848
|
access: "create"
|
|
36524
36849
|
},
|
|
36850
|
+
"pipelineAnalytics.reclaimDebugMedia": {
|
|
36851
|
+
capName: "pipeline-analytics",
|
|
36852
|
+
capScope: "device",
|
|
36853
|
+
addonId: null,
|
|
36854
|
+
access: "create"
|
|
36855
|
+
},
|
|
36525
36856
|
"pipelineAnalytics.reconcileFromDisk": {
|
|
36526
36857
|
capName: "pipeline-analytics",
|
|
36527
36858
|
capScope: "device",
|
|
@@ -37446,6 +37777,12 @@ Object.freeze({
|
|
|
37446
37777
|
addonId: null,
|
|
37447
37778
|
access: "view"
|
|
37448
37779
|
},
|
|
37780
|
+
"recording.getPlacement": {
|
|
37781
|
+
capName: "recording",
|
|
37782
|
+
capScope: "system",
|
|
37783
|
+
addonId: null,
|
|
37784
|
+
access: "view"
|
|
37785
|
+
},
|
|
37449
37786
|
"recording.getPlaybackManifest": {
|
|
37450
37787
|
capName: "recording",
|
|
37451
37788
|
capScope: "system",
|
|
@@ -37524,6 +37861,12 @@ Object.freeze({
|
|
|
37524
37861
|
addonId: null,
|
|
37525
37862
|
access: "view"
|
|
37526
37863
|
},
|
|
37864
|
+
"recording.reconcileLedgerAgainstDisk": {
|
|
37865
|
+
capName: "recording",
|
|
37866
|
+
capScope: "system",
|
|
37867
|
+
addonId: null,
|
|
37868
|
+
access: "create"
|
|
37869
|
+
},
|
|
37527
37870
|
"recording.refreshStorageLocationsForMigration": {
|
|
37528
37871
|
capName: "recording",
|
|
37529
37872
|
capScope: "system",
|
|
@@ -37566,6 +37909,12 @@ Object.freeze({
|
|
|
37566
37909
|
addonId: null,
|
|
37567
37910
|
access: "create"
|
|
37568
37911
|
},
|
|
37912
|
+
"recording.setDevicePlacement": {
|
|
37913
|
+
capName: "recording",
|
|
37914
|
+
capScope: "system",
|
|
37915
|
+
addonId: null,
|
|
37916
|
+
access: "create"
|
|
37917
|
+
},
|
|
37569
37918
|
"recording.startStorageMigrationMove": {
|
|
37570
37919
|
capName: "recording",
|
|
37571
37920
|
capScope: "system",
|
|
@@ -37650,6 +37999,12 @@ Object.freeze({
|
|
|
37650
37999
|
addonId: null,
|
|
37651
38000
|
access: "view"
|
|
37652
38001
|
},
|
|
38002
|
+
"sceneMonitor.listScenesBatch": {
|
|
38003
|
+
capName: "scene-monitor",
|
|
38004
|
+
capScope: "device",
|
|
38005
|
+
addonId: null,
|
|
38006
|
+
access: "view"
|
|
38007
|
+
},
|
|
37653
38008
|
"sceneMonitor.recheckNow": {
|
|
37654
38009
|
capName: "scene-monitor",
|
|
37655
38010
|
capScope: "device",
|
|
@@ -38004,12 +38359,36 @@ Object.freeze({
|
|
|
38004
38359
|
addonId: null,
|
|
38005
38360
|
access: "create"
|
|
38006
38361
|
},
|
|
38362
|
+
"storageMigration.cleanupCancel": {
|
|
38363
|
+
capName: "storage-migration",
|
|
38364
|
+
capScope: "system",
|
|
38365
|
+
addonId: null,
|
|
38366
|
+
access: "create"
|
|
38367
|
+
},
|
|
38368
|
+
"storageMigration.cleanupStart": {
|
|
38369
|
+
capName: "storage-migration",
|
|
38370
|
+
capScope: "system",
|
|
38371
|
+
addonId: null,
|
|
38372
|
+
access: "create"
|
|
38373
|
+
},
|
|
38374
|
+
"storageMigration.cleanupStatus": {
|
|
38375
|
+
capName: "storage-migration",
|
|
38376
|
+
capScope: "system",
|
|
38377
|
+
addonId: null,
|
|
38378
|
+
access: "view"
|
|
38379
|
+
},
|
|
38007
38380
|
"storageMigration.drain": {
|
|
38008
38381
|
capName: "storage-migration",
|
|
38009
38382
|
capScope: "system",
|
|
38010
38383
|
addonId: null,
|
|
38011
38384
|
access: "create"
|
|
38012
38385
|
},
|
|
38386
|
+
"storageMigration.history": {
|
|
38387
|
+
capName: "storage-migration",
|
|
38388
|
+
capScope: "system",
|
|
38389
|
+
addonId: null,
|
|
38390
|
+
access: "view"
|
|
38391
|
+
},
|
|
38013
38392
|
"storageMigration.movers": {
|
|
38014
38393
|
capName: "storage-migration",
|
|
38015
38394
|
capScope: "system",
|
|
@@ -39006,6 +39385,12 @@ Object.freeze({
|
|
|
39006
39385
|
addonId: null,
|
|
39007
39386
|
access: "view"
|
|
39008
39387
|
},
|
|
39388
|
+
"zoneAnalytics.getCurrentSnapshotBatch": {
|
|
39389
|
+
capName: "zone-analytics",
|
|
39390
|
+
capScope: "device",
|
|
39391
|
+
addonId: null,
|
|
39392
|
+
access: "view"
|
|
39393
|
+
},
|
|
39009
39394
|
"zoneAnalytics.getUnzonedHistory": {
|
|
39010
39395
|
capName: "zone-analytics",
|
|
39011
39396
|
capScope: "device",
|
|
@@ -40000,14 +40385,14 @@ Object.freeze({
|
|
|
40000
40385
|
form: "single",
|
|
40001
40386
|
optional: true
|
|
40002
40387
|
}],
|
|
40003
|
-
"pipelineAnalytics.
|
|
40388
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
40004
40389
|
name: "deviceId",
|
|
40005
40390
|
form: "single",
|
|
40006
40391
|
optional: false
|
|
40007
40392
|
}],
|
|
40008
|
-
"pipelineAnalytics.
|
|
40009
|
-
name: "
|
|
40010
|
-
form: "
|
|
40393
|
+
"pipelineAnalytics.getKeyEventsBatch": [{
|
|
40394
|
+
name: "deviceIds",
|
|
40395
|
+
form: "array",
|
|
40011
40396
|
optional: false
|
|
40012
40397
|
}],
|
|
40013
40398
|
"pipelineAnalytics.getMotionEvents": [{
|
|
@@ -40065,11 +40450,6 @@ Object.freeze({
|
|
|
40065
40450
|
form: "single",
|
|
40066
40451
|
optional: false
|
|
40067
40452
|
}],
|
|
40068
|
-
"pipelineAnalytics.listGroups": [{
|
|
40069
|
-
name: "deviceIds",
|
|
40070
|
-
form: "array",
|
|
40071
|
-
optional: false
|
|
40072
|
-
}],
|
|
40073
40453
|
"pipelineAnalytics.listOpsLog": [{
|
|
40074
40454
|
name: "deviceId",
|
|
40075
40455
|
form: "single",
|
|
@@ -40115,6 +40495,11 @@ Object.freeze({
|
|
|
40115
40495
|
form: "single",
|
|
40116
40496
|
optional: true
|
|
40117
40497
|
}],
|
|
40498
|
+
"pipelineAnalytics.reclaimDebugMedia": [{
|
|
40499
|
+
name: "deviceIds",
|
|
40500
|
+
form: "array",
|
|
40501
|
+
optional: true
|
|
40502
|
+
}],
|
|
40118
40503
|
"pipelineAnalytics.reconcileFromDisk": [{
|
|
40119
40504
|
name: "deviceId",
|
|
40120
40505
|
form: "single",
|
|
@@ -40450,6 +40835,11 @@ Object.freeze({
|
|
|
40450
40835
|
form: "single",
|
|
40451
40836
|
optional: false
|
|
40452
40837
|
}],
|
|
40838
|
+
"recording.reconcileLedgerAgainstDisk": [{
|
|
40839
|
+
name: "deviceId",
|
|
40840
|
+
form: "single",
|
|
40841
|
+
optional: true
|
|
40842
|
+
}],
|
|
40453
40843
|
"recording.relocateFootage": [{
|
|
40454
40844
|
name: "deviceId",
|
|
40455
40845
|
form: "single",
|
|
@@ -40475,6 +40865,11 @@ Object.freeze({
|
|
|
40475
40865
|
form: "single",
|
|
40476
40866
|
optional: false
|
|
40477
40867
|
}],
|
|
40868
|
+
"recording.setDevicePlacement": [{
|
|
40869
|
+
name: "deviceId",
|
|
40870
|
+
form: "single",
|
|
40871
|
+
optional: false
|
|
40872
|
+
}],
|
|
40478
40873
|
"recording.startStorageMigrationMove": [{
|
|
40479
40874
|
name: "deviceId",
|
|
40480
40875
|
form: "single",
|
|
@@ -40515,6 +40910,11 @@ Object.freeze({
|
|
|
40515
40910
|
form: "single",
|
|
40516
40911
|
optional: false
|
|
40517
40912
|
}],
|
|
40913
|
+
"sceneMonitor.listScenesBatch": [{
|
|
40914
|
+
name: "deviceIds",
|
|
40915
|
+
form: "array",
|
|
40916
|
+
optional: false
|
|
40917
|
+
}],
|
|
40518
40918
|
"sceneMonitor.recheckNow": [{
|
|
40519
40919
|
name: "deviceId",
|
|
40520
40920
|
form: "single",
|
|
@@ -40776,6 +41176,11 @@ Object.freeze({
|
|
|
40776
41176
|
form: "single",
|
|
40777
41177
|
optional: false
|
|
40778
41178
|
}],
|
|
41179
|
+
"zoneAnalytics.getCurrentSnapshotBatch": [{
|
|
41180
|
+
name: "deviceIds",
|
|
41181
|
+
form: "array",
|
|
41182
|
+
optional: false
|
|
41183
|
+
}],
|
|
40779
41184
|
"zoneAnalytics.getUnzonedHistory": [{
|
|
40780
41185
|
name: "deviceId",
|
|
40781
41186
|
form: "single",
|