@camstack/addon-provider-velux 0.2.49 → 0.2.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/addon.js +234 -73
  2. package/dist/addon.mjs +234 -73
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -8096,6 +8096,13 @@ var MediaRelocateModeSchema = _enum([
8096
8096
  ]);
8097
8097
  var RelocateMediaInputSchema = object({
8098
8098
  toLocationId: string(),
8099
+ /**
8100
+ * Restrict the pass to rows currently on this location. Omitted / `'*'` =
8101
+ * every row that is not already on `toLocationId` (the historical
8102
+ * behaviour). A named source is what a from→to migration needs: without it
8103
+ * "move events off disk 2" also emptied disk 1.
8104
+ */
8105
+ fromLocationId: string().optional(),
8099
8106
  throttleMbps: number().min(1).max(1e3).optional(),
8100
8107
  /** Omitted = `move`, the pre-existing behaviour. */
8101
8108
  mode: MediaRelocateModeSchema.optional()
@@ -8163,6 +8170,19 @@ var StorageMigrationDestinationsSchema = object({
8163
8170
  galleryMedia: string().min(1).optional()
8164
8171
  }).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
8165
8172
  /**
8173
+ * Optional named source per class. Omitted = the class's current default
8174
+ * (the historical behaviour). A named source that is NOT the default is a
8175
+ * drain of that disk: bytes move, the default stays, and the source is
8176
+ * disabled when the move finishes.
8177
+ */
8178
+ var StorageMigrationSourcesSchema = object({
8179
+ recordings: string().min(1).optional(),
8180
+ recordingsLow: string().min(1).optional(),
8181
+ eventMedia: string().min(1).optional(),
8182
+ backups: string().min(1).optional(),
8183
+ galleryMedia: string().min(1).optional()
8184
+ }).optional();
8185
+ /**
8166
8186
  * How a migration sequences the cutover against the byte move.
8167
8187
  *
8168
8188
  * - `blocking` — the historical order: pause, move every byte, repoint,
@@ -8184,6 +8204,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
8184
8204
  /** Shared input for planning and starting an orchestrated storage migration. */
8185
8205
  var StorageMigrationInputSchema = object({
8186
8206
  destinations: StorageMigrationDestinationsSchema,
8207
+ /** Omitted = each class's current default. */
8208
+ sources: StorageMigrationSourcesSchema,
8187
8209
  throttleMbps: number().min(1).max(1e3).optional(),
8188
8210
  /** Omitted = `blocking`, which stays the default. */
8189
8211
  mode: StorageMigrationModeSchema.optional()
@@ -8263,6 +8285,13 @@ var StorageMigrationMoveSchema = object({
8263
8285
  storageClass: StorageMigrationClassSchema,
8264
8286
  fromLocationId: string(),
8265
8287
  toLocationId: string(),
8288
+ /**
8289
+ * True when `from` was NOT the class default at plan time. The move still
8290
+ * copies bytes, but the default is left alone and the source is disabled
8291
+ * once the copy verifies. Absent on jobs planned before this field existed
8292
+ * — those jobs always repointed, which is `false`.
8293
+ */
8294
+ freezeSource: boolean().optional(),
8266
8295
  moverJobId: string().nullable(),
8267
8296
  state: RelocateJobStateSchema.nullable(),
8268
8297
  error: string().nullable(),
@@ -8276,6 +8305,7 @@ var StorageMigrationJobSchema = object({
8276
8305
  * can tell a seconds-long cutover from a thirty-hour one. */
8277
8306
  mode: StorageMigrationModeSchema,
8278
8307
  destinations: StorageMigrationDestinationsSchema,
8308
+ sources: StorageMigrationSourcesSchema,
8279
8309
  throttleMbps: number(),
8280
8310
  moves: array(StorageMigrationMoveSchema),
8281
8311
  pauseLeaseId: string().nullable(),
@@ -8301,6 +8331,7 @@ var StorageMigrationFindingSchema = object({
8301
8331
  });
8302
8332
  var StorageMigrationPlanSchema = object({
8303
8333
  destinations: StorageMigrationDestinationsSchema,
8334
+ sources: StorageMigrationSourcesSchema,
8304
8335
  /** The mode this plan was built for. A plan is only valid for its mode: the
8305
8336
  * `eventMedia` seal gate and the single-cardinality refusal both depend on
8306
8337
  * it. */
@@ -8308,7 +8339,8 @@ var StorageMigrationPlanSchema = object({
8308
8339
  moves: array(object({
8309
8340
  storageClass: StorageMigrationClassSchema,
8310
8341
  fromLocationId: string(),
8311
- toLocationId: string()
8342
+ toLocationId: string(),
8343
+ freezeSource: boolean().optional()
8312
8344
  })),
8313
8345
  findings: array(StorageMigrationFindingSchema)
8314
8346
  });
@@ -8486,10 +8518,51 @@ var LedgerWalkReportSchema = object({
8486
8518
  var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
8487
8519
  var RelocatableMediaCountInputSchema = object({
8488
8520
  toLocationId: string().min(1),
8521
+ /** Restrict the count to one source; omitted / `'*'` = every non-target row. */
8522
+ fromLocationId: string().optional(),
8489
8523
  /** Omitted = `move`. */
8490
8524
  mode: MediaRelocateModeSchema.optional()
8491
8525
  });
8492
8526
  /**
8527
+ * Operator cleanup of leftover analytics rows, optional debug media, and
8528
+ * ghost ledger entries on frozen footage locations.
8529
+ *
8530
+ * A pass is tens of minutes on a standing backlog. The hub method RETURNS
8531
+ * `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
8532
+ * is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
8533
+ * with no operator-visible status.
8534
+ */
8535
+ var StorageCleanupPhaseSchema = _enum([
8536
+ "orphans",
8537
+ "debug-media",
8538
+ "ghost-ledger",
8539
+ "done",
8540
+ "failed",
8541
+ "cancelled"
8542
+ ]);
8543
+ var StorageCleanupInputSchema = object({
8544
+ /** Also walk motion stills / track filmstrips. Off by default. */
8545
+ includeDebugMedia: boolean().optional() });
8546
+ var StorageCleanupJobSchema = object({
8547
+ jobId: string(),
8548
+ phase: StorageCleanupPhaseSchema,
8549
+ includeDebugMedia: boolean(),
8550
+ orphansReclaimed: number().int().nonnegative(),
8551
+ orphanBytesReclaimed: number().int().nonnegative(),
8552
+ debugMediaReclaimed: number().int().nonnegative(),
8553
+ debugMediaBytesReclaimed: number().int().nonnegative(),
8554
+ ghostsForgotten: number().int().nonnegative(),
8555
+ ghostBytesForgotten: number().int().nonnegative(),
8556
+ /** Short operator-facing line: current collection, pass, or location. */
8557
+ detail: string().nullable(),
8558
+ cancelRequested: boolean(),
8559
+ startedAt: number(),
8560
+ updatedAt: number(),
8561
+ finishedAt: number().nullable(),
8562
+ error: string().nullable()
8563
+ });
8564
+ var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
8565
+ /**
8493
8566
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
8494
8567
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
8495
8568
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -8517,11 +8590,10 @@ var StorageLocationTypeSchema = string().regex(/^[a-z][a-zA-Z0-9-]*$/);
8517
8590
  * The default location for a type uses `id === <type>:default` by
8518
8591
  * convention (the bare type ref like `'backups'` resolves to it).
8519
8592
  *
8520
- * `isSystem: true` marks a location as orchestrator-seeded and
8521
- * undeletable. The bootstrap-installed defaults (one per type) carry
8522
- * this flag; operator-added locations don't. Editing the config of
8523
- * a system location is allowed (path migration, provider swap) but
8524
- * deleting it is rejected at the cap level.
8593
+ * `isSystem` is a legacy persisted flag. Seed still creates the initial
8594
+ * `<type>:default` locations; the flag is no longer a lock, a badge, or a
8595
+ * prune selector. New writes leave it false. Deletion is gated on uniqueness
8596
+ * / last-enabled, not on this bit.
8525
8597
  */
8526
8598
  var StorageLocationSchema = object({
8527
8599
  id: string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
@@ -13047,6 +13119,12 @@ method(object({
13047
13119
  }), _void(), {
13048
13120
  kind: "mutation",
13049
13121
  auth: "admin"
13122
+ }), method(object({
13123
+ from: string(),
13124
+ to: string()
13125
+ }), object({ moved: number() }), {
13126
+ kind: "mutation",
13127
+ auth: "admin"
13050
13128
  }), method(object({
13051
13129
  deviceId: number(),
13052
13130
  disabled: boolean()
@@ -19055,46 +19133,6 @@ var RecentTracksPageSchema = object({
19055
19133
  /** Cursor for the next page, or null when this page is the last. */
19056
19134
  nextCursor: string().nullable()
19057
19135
  });
19058
- var LIST_GROUPS_DEFAULT_LIMIT = 40;
19059
- var LIST_GROUPS_MAX_LIMIT = 100;
19060
- var AnalyticsGroupRecordSchema = object({
19061
- id: string(),
19062
- deviceId: number().int(),
19063
- openedAt: number().int(),
19064
- closedAt: number().int(),
19065
- timestamp: number().int(),
19066
- memberCount: number().int(),
19067
- memberTrackIds: array(string()).readonly(),
19068
- className: string(),
19069
- classes: array(string()).readonly(),
19070
- /** Relative event-media path, or null when the group has no picture yet. */
19071
- mediaUrl: string().nullable(),
19072
- singleton: boolean()
19073
- });
19074
- var AnalyticsGroupMemberSchema = object({
19075
- trackId: string(),
19076
- deviceId: number().int(),
19077
- className: string(),
19078
- firstSeen: number().int(),
19079
- lastSeen: number().int(),
19080
- mediaUrl: string().nullable()
19081
- });
19082
- var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
19083
- var ListGroupsQueryInput = object({
19084
- /** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
19085
- deviceIds: array(number()),
19086
- /** Window lower bound on `closedAt` (inclusive). */
19087
- since: number().optional(),
19088
- /** Window upper bound on `openedAt` (inclusive). */
19089
- until: number().optional(),
19090
- limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
19091
- /** Opaque continuation cursor from a previous page's `nextCursor`. */
19092
- cursor: string().optional()
19093
- });
19094
- var ListGroupsPageSchema = object({
19095
- groups: array(AnalyticsGroupRecordSchema).readonly(),
19096
- nextCursor: string().nullable()
19097
- });
19098
19136
  var KEY_EVENTS_DEFAULT_LIMIT = 50;
19099
19137
  var KEY_EVENTS_MAX_LIMIT = 200;
19100
19138
  var KeyEventQueryInput = object({
@@ -19198,9 +19236,7 @@ var TrackCascadeCountsSchema = object({
19198
19236
  /** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
19199
19237
  plates: number().int(),
19200
19238
  /** Per-track CLIP search vectors removed (best-effort). */
19201
- embeddings: number().int(),
19202
- /** Group membership + group rows removed with their last member (best-effort). */
19203
- groups: number().int()
19239
+ embeddings: number().int()
19204
19240
  });
19205
19241
  /** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
19206
19242
  var DiskReconcileCountsSchema = object({
@@ -19370,6 +19406,47 @@ var RebuildStatusSchema = object({
19370
19406
  /** Present when the pass ended by throwing. */
19371
19407
  error: string().nullable()
19372
19408
  });
19409
+ /**
19410
+ * Acknowledgement that a debug-media reclaim STARTED.
19411
+ *
19412
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
19413
+ * it runs detached and this returns immediately. Awaiting it is how the
19414
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
19415
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
19416
+ */
19417
+ var MediaReclaimStartResultSchema = object({
19418
+ started: boolean(),
19419
+ /** True when a pass was already running; the new request is ignored. */
19420
+ alreadyRunning: boolean()
19421
+ });
19422
+ var MediaReclaimInputSchema = object({
19423
+ mode: _enum(["report", "reclaim"]).default("report"),
19424
+ scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
19425
+ deviceIds: array(number().int()).min(1).optional(),
19426
+ restart: boolean().optional(),
19427
+ pageSize: number().int().min(50).max(5e3).optional(),
19428
+ maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
19429
+ maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
19430
+ maxBytesPerRun: number().int().min(1).optional(),
19431
+ budgetMinutes: number().int().min(1).max(720).optional(),
19432
+ throttleBytesPerSec: number().int().min(64 * 1024).optional(),
19433
+ graceMinutes: number().int().min(1).max(10080).optional()
19434
+ });
19435
+ var MediaReclaimStatusSchema = object({
19436
+ running: boolean(),
19437
+ mode: _enum(["report", "reclaim"]).nullable(),
19438
+ totalExamined: number(),
19439
+ totalEligible: number(),
19440
+ totalReclaimed: number(),
19441
+ totalBytesReclaimed: number(),
19442
+ totalRefused: number(),
19443
+ /** Device+scope windows finished in this pass. */
19444
+ devicesDone: number(),
19445
+ complete: boolean().nullable(),
19446
+ startedAtMs: number().nullable(),
19447
+ finishedAtMs: number().nullable(),
19448
+ error: string().nullable()
19449
+ });
19373
19450
  var ReplayFrameInputSchema = object({
19374
19451
  timestamp: number(),
19375
19452
  frame: PipelineRunResultBridge
@@ -19408,10 +19485,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19408
19485
  * stationary registry). Default false: the timeline lists passages,
19409
19486
  * not parking records (operator decision, 2026-08-15). */
19410
19487
  includeStationary: boolean().optional()
19411
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
19412
- deviceId: number(),
19413
- groupId: string().min(1)
19414
- }), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19488
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19415
19489
  kind: "mutation",
19416
19490
  auth: "admin"
19417
19491
  }), 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({
@@ -19511,6 +19585,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19511
19585
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
19512
19586
  kind: "query",
19513
19587
  auth: "admin"
19588
+ }), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19589
+ kind: "mutation",
19590
+ auth: "admin"
19591
+ }), method(object({}), MediaReclaimStatusSchema, {
19592
+ kind: "query",
19593
+ auth: "admin"
19514
19594
  }), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
19515
19595
  kind: "query",
19516
19596
  auth: "admin"
@@ -21481,7 +21561,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
21481
21561
  }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
21482
21562
  kind: "mutation",
21483
21563
  auth: "admin"
21484
- });
21564
+ }), method(StorageCleanupInputSchema, object({ jobId: string() }), {
21565
+ kind: "mutation",
21566
+ auth: "admin"
21567
+ }), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
21568
+ kind: "mutation",
21569
+ auth: "admin"
21570
+ }), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
21485
21571
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
21486
21572
  providerId: string().min(1),
21487
21573
  displayName: string().min(1),
@@ -28574,6 +28660,33 @@ var RecordingRebalanceInputSchema = object({
28574
28660
  minMoveGb: number().min(0).optional()
28575
28661
  });
28576
28662
  /**
28663
+ * Operator-facing placement of one camera onto a recordings location.
28664
+ *
28665
+ * `pinLocationId` is the operator instruction: a location id, or `null` for
28666
+ * Auto (the planner may move this camera). `locationId` is where high/mid
28667
+ * currently write — the plan, which may disagree with the pin when Auto.
28668
+ */
28669
+ var RecordingDevicePlacementSchema = object({
28670
+ deviceId: number().int(),
28671
+ profile: string(),
28672
+ locationId: string()
28673
+ });
28674
+ var RecordingDevicePinSchema = object({
28675
+ deviceId: number().int(),
28676
+ /** Recordings-class location this camera is pinned to. */
28677
+ locationId: string()
28678
+ });
28679
+ var RecordingPlacementViewSchema = object({
28680
+ assignments: array(RecordingDevicePlacementSchema),
28681
+ pins: array(RecordingDevicePinSchema),
28682
+ defaultLocations: record(string(), string())
28683
+ });
28684
+ var RecordingSetDevicePlacementInputSchema = object({
28685
+ deviceId: number().int(),
28686
+ /** `null` = Auto. Otherwise a `recordings:*` location id. */
28687
+ locationId: string().nullable()
28688
+ });
28689
+ /**
28577
28690
  * Result of locating footage at a wall-clock instant for one device/profile.
28578
28691
  * `segment` carries the covering segment's window; `gap` reports the forward
28579
28692
  * nearest covered edge (`null` past the end of footage / when none exists)
@@ -28799,6 +28912,12 @@ method(object({
28799
28912
  }), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
28800
28913
  kind: "mutation",
28801
28914
  auth: "admin"
28915
+ }), method(object({}), RecordingPlacementViewSchema, {
28916
+ kind: "query",
28917
+ auth: "admin"
28918
+ }), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
28919
+ kind: "mutation",
28920
+ auth: "admin"
28802
28921
  });
28803
28922
  /**
28804
28923
  * `recording-export` cap — render a footage time range into a single downloadable
@@ -33868,6 +33987,12 @@ Object.freeze({
33868
33987
  addonId: null,
33869
33988
  access: "delete"
33870
33989
  },
33990
+ "deviceManager.renameLocation": {
33991
+ capName: "device-manager",
33992
+ capScope: "system",
33993
+ addonId: null,
33994
+ access: "create"
33995
+ },
33871
33996
  "deviceManager.runDeviceAction": {
33872
33997
  capName: "device-manager",
33873
33998
  capScope: "system",
@@ -35560,19 +35685,19 @@ Object.freeze({
35560
35685
  addonId: null,
35561
35686
  access: "view"
35562
35687
  },
35563
- "pipelineAnalytics.getGroup": {
35688
+ "pipelineAnalytics.getKeyEvents": {
35564
35689
  capName: "pipeline-analytics",
35565
35690
  capScope: "device",
35566
35691
  addonId: null,
35567
35692
  access: "view"
35568
35693
  },
35569
- "pipelineAnalytics.getKeyEvents": {
35694
+ "pipelineAnalytics.getKeyEventsBatch": {
35570
35695
  capName: "pipeline-analytics",
35571
35696
  capScope: "device",
35572
35697
  addonId: null,
35573
35698
  access: "view"
35574
35699
  },
35575
- "pipelineAnalytics.getKeyEventsBatch": {
35700
+ "pipelineAnalytics.getMediaReclaimStatus": {
35576
35701
  capName: "pipeline-analytics",
35577
35702
  capScope: "device",
35578
35703
  addonId: null,
@@ -35662,12 +35787,6 @@ Object.freeze({
35662
35787
  addonId: null,
35663
35788
  access: "view"
35664
35789
  },
35665
- "pipelineAnalytics.listGroups": {
35666
- capName: "pipeline-analytics",
35667
- capScope: "device",
35668
- addonId: null,
35669
- access: "view"
35670
- },
35671
35790
  "pipelineAnalytics.listOpsLog": {
35672
35791
  capName: "pipeline-analytics",
35673
35792
  capScope: "device",
@@ -35752,6 +35871,12 @@ Object.freeze({
35752
35871
  addonId: null,
35753
35872
  access: "create"
35754
35873
  },
35874
+ "pipelineAnalytics.reclaimDebugMedia": {
35875
+ capName: "pipeline-analytics",
35876
+ capScope: "device",
35877
+ addonId: null,
35878
+ access: "create"
35879
+ },
35755
35880
  "pipelineAnalytics.reconcileFromDisk": {
35756
35881
  capName: "pipeline-analytics",
35757
35882
  capScope: "device",
@@ -36676,6 +36801,12 @@ Object.freeze({
36676
36801
  addonId: null,
36677
36802
  access: "view"
36678
36803
  },
36804
+ "recording.getPlacement": {
36805
+ capName: "recording",
36806
+ capScope: "system",
36807
+ addonId: null,
36808
+ access: "view"
36809
+ },
36679
36810
  "recording.getPlaybackManifest": {
36680
36811
  capName: "recording",
36681
36812
  capScope: "system",
@@ -36802,6 +36933,12 @@ Object.freeze({
36802
36933
  addonId: null,
36803
36934
  access: "create"
36804
36935
  },
36936
+ "recording.setDevicePlacement": {
36937
+ capName: "recording",
36938
+ capScope: "system",
36939
+ addonId: null,
36940
+ access: "create"
36941
+ },
36805
36942
  "recording.startStorageMigrationMove": {
36806
36943
  capName: "recording",
36807
36944
  capScope: "system",
@@ -37246,12 +37383,36 @@ Object.freeze({
37246
37383
  addonId: null,
37247
37384
  access: "create"
37248
37385
  },
37386
+ "storageMigration.cleanupCancel": {
37387
+ capName: "storage-migration",
37388
+ capScope: "system",
37389
+ addonId: null,
37390
+ access: "create"
37391
+ },
37392
+ "storageMigration.cleanupStart": {
37393
+ capName: "storage-migration",
37394
+ capScope: "system",
37395
+ addonId: null,
37396
+ access: "create"
37397
+ },
37398
+ "storageMigration.cleanupStatus": {
37399
+ capName: "storage-migration",
37400
+ capScope: "system",
37401
+ addonId: null,
37402
+ access: "view"
37403
+ },
37249
37404
  "storageMigration.drain": {
37250
37405
  capName: "storage-migration",
37251
37406
  capScope: "system",
37252
37407
  addonId: null,
37253
37408
  access: "create"
37254
37409
  },
37410
+ "storageMigration.history": {
37411
+ capName: "storage-migration",
37412
+ capScope: "system",
37413
+ addonId: null,
37414
+ access: "view"
37415
+ },
37255
37416
  "storageMigration.movers": {
37256
37417
  capName: "storage-migration",
37257
37418
  capScope: "system",
@@ -39248,11 +39409,6 @@ Object.freeze({
39248
39409
  form: "single",
39249
39410
  optional: true
39250
39411
  }],
39251
- "pipelineAnalytics.getGroup": [{
39252
- name: "deviceId",
39253
- form: "single",
39254
- optional: false
39255
- }],
39256
39412
  "pipelineAnalytics.getKeyEvents": [{
39257
39413
  name: "deviceId",
39258
39414
  form: "single",
@@ -39318,11 +39474,6 @@ Object.freeze({
39318
39474
  form: "single",
39319
39475
  optional: false
39320
39476
  }],
39321
- "pipelineAnalytics.listGroups": [{
39322
- name: "deviceIds",
39323
- form: "array",
39324
- optional: false
39325
- }],
39326
39477
  "pipelineAnalytics.listOpsLog": [{
39327
39478
  name: "deviceId",
39328
39479
  form: "single",
@@ -39368,6 +39519,11 @@ Object.freeze({
39368
39519
  form: "single",
39369
39520
  optional: true
39370
39521
  }],
39522
+ "pipelineAnalytics.reclaimDebugMedia": [{
39523
+ name: "deviceIds",
39524
+ form: "array",
39525
+ optional: true
39526
+ }],
39371
39527
  "pipelineAnalytics.reconcileFromDisk": [{
39372
39528
  name: "deviceId",
39373
39529
  form: "single",
@@ -39733,6 +39889,11 @@ Object.freeze({
39733
39889
  form: "single",
39734
39890
  optional: false
39735
39891
  }],
39892
+ "recording.setDevicePlacement": [{
39893
+ name: "deviceId",
39894
+ form: "single",
39895
+ optional: false
39896
+ }],
39736
39897
  "recording.startStorageMigrationMove": [{
39737
39898
  name: "deviceId",
39738
39899
  form: "single",
package/dist/addon.mjs CHANGED
@@ -8095,6 +8095,13 @@ var MediaRelocateModeSchema = _enum([
8095
8095
  ]);
8096
8096
  var RelocateMediaInputSchema = object({
8097
8097
  toLocationId: string(),
8098
+ /**
8099
+ * Restrict the pass to rows currently on this location. Omitted / `'*'` =
8100
+ * every row that is not already on `toLocationId` (the historical
8101
+ * behaviour). A named source is what a from→to migration needs: without it
8102
+ * "move events off disk 2" also emptied disk 1.
8103
+ */
8104
+ fromLocationId: string().optional(),
8098
8105
  throttleMbps: number().min(1).max(1e3).optional(),
8099
8106
  /** Omitted = `move`, the pre-existing behaviour. */
8100
8107
  mode: MediaRelocateModeSchema.optional()
@@ -8162,6 +8169,19 @@ var StorageMigrationDestinationsSchema = object({
8162
8169
  galleryMedia: string().min(1).optional()
8163
8170
  }).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
8164
8171
  /**
8172
+ * Optional named source per class. Omitted = the class's current default
8173
+ * (the historical behaviour). A named source that is NOT the default is a
8174
+ * drain of that disk: bytes move, the default stays, and the source is
8175
+ * disabled when the move finishes.
8176
+ */
8177
+ var StorageMigrationSourcesSchema = object({
8178
+ recordings: string().min(1).optional(),
8179
+ recordingsLow: string().min(1).optional(),
8180
+ eventMedia: string().min(1).optional(),
8181
+ backups: string().min(1).optional(),
8182
+ galleryMedia: string().min(1).optional()
8183
+ }).optional();
8184
+ /**
8165
8185
  * How a migration sequences the cutover against the byte move.
8166
8186
  *
8167
8187
  * - `blocking` — the historical order: pause, move every byte, repoint,
@@ -8183,6 +8203,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
8183
8203
  /** Shared input for planning and starting an orchestrated storage migration. */
8184
8204
  var StorageMigrationInputSchema = object({
8185
8205
  destinations: StorageMigrationDestinationsSchema,
8206
+ /** Omitted = each class's current default. */
8207
+ sources: StorageMigrationSourcesSchema,
8186
8208
  throttleMbps: number().min(1).max(1e3).optional(),
8187
8209
  /** Omitted = `blocking`, which stays the default. */
8188
8210
  mode: StorageMigrationModeSchema.optional()
@@ -8262,6 +8284,13 @@ var StorageMigrationMoveSchema = object({
8262
8284
  storageClass: StorageMigrationClassSchema,
8263
8285
  fromLocationId: string(),
8264
8286
  toLocationId: string(),
8287
+ /**
8288
+ * True when `from` was NOT the class default at plan time. The move still
8289
+ * copies bytes, but the default is left alone and the source is disabled
8290
+ * once the copy verifies. Absent on jobs planned before this field existed
8291
+ * — those jobs always repointed, which is `false`.
8292
+ */
8293
+ freezeSource: boolean().optional(),
8265
8294
  moverJobId: string().nullable(),
8266
8295
  state: RelocateJobStateSchema.nullable(),
8267
8296
  error: string().nullable(),
@@ -8275,6 +8304,7 @@ var StorageMigrationJobSchema = object({
8275
8304
  * can tell a seconds-long cutover from a thirty-hour one. */
8276
8305
  mode: StorageMigrationModeSchema,
8277
8306
  destinations: StorageMigrationDestinationsSchema,
8307
+ sources: StorageMigrationSourcesSchema,
8278
8308
  throttleMbps: number(),
8279
8309
  moves: array(StorageMigrationMoveSchema),
8280
8310
  pauseLeaseId: string().nullable(),
@@ -8300,6 +8330,7 @@ var StorageMigrationFindingSchema = object({
8300
8330
  });
8301
8331
  var StorageMigrationPlanSchema = object({
8302
8332
  destinations: StorageMigrationDestinationsSchema,
8333
+ sources: StorageMigrationSourcesSchema,
8303
8334
  /** The mode this plan was built for. A plan is only valid for its mode: the
8304
8335
  * `eventMedia` seal gate and the single-cardinality refusal both depend on
8305
8336
  * it. */
@@ -8307,7 +8338,8 @@ var StorageMigrationPlanSchema = object({
8307
8338
  moves: array(object({
8308
8339
  storageClass: StorageMigrationClassSchema,
8309
8340
  fromLocationId: string(),
8310
- toLocationId: string()
8341
+ toLocationId: string(),
8342
+ freezeSource: boolean().optional()
8311
8343
  })),
8312
8344
  findings: array(StorageMigrationFindingSchema)
8313
8345
  });
@@ -8485,10 +8517,51 @@ var LedgerWalkReportSchema = object({
8485
8517
  var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
8486
8518
  var RelocatableMediaCountInputSchema = object({
8487
8519
  toLocationId: string().min(1),
8520
+ /** Restrict the count to one source; omitted / `'*'` = every non-target row. */
8521
+ fromLocationId: string().optional(),
8488
8522
  /** Omitted = `move`. */
8489
8523
  mode: MediaRelocateModeSchema.optional()
8490
8524
  });
8491
8525
  /**
8526
+ * Operator cleanup of leftover analytics rows, optional debug media, and
8527
+ * ghost ledger entries on frozen footage locations.
8528
+ *
8529
+ * A pass is tens of minutes on a standing backlog. The hub method RETURNS
8530
+ * `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
8531
+ * is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
8532
+ * with no operator-visible status.
8533
+ */
8534
+ var StorageCleanupPhaseSchema = _enum([
8535
+ "orphans",
8536
+ "debug-media",
8537
+ "ghost-ledger",
8538
+ "done",
8539
+ "failed",
8540
+ "cancelled"
8541
+ ]);
8542
+ var StorageCleanupInputSchema = object({
8543
+ /** Also walk motion stills / track filmstrips. Off by default. */
8544
+ includeDebugMedia: boolean().optional() });
8545
+ var StorageCleanupJobSchema = object({
8546
+ jobId: string(),
8547
+ phase: StorageCleanupPhaseSchema,
8548
+ includeDebugMedia: boolean(),
8549
+ orphansReclaimed: number().int().nonnegative(),
8550
+ orphanBytesReclaimed: number().int().nonnegative(),
8551
+ debugMediaReclaimed: number().int().nonnegative(),
8552
+ debugMediaBytesReclaimed: number().int().nonnegative(),
8553
+ ghostsForgotten: number().int().nonnegative(),
8554
+ ghostBytesForgotten: number().int().nonnegative(),
8555
+ /** Short operator-facing line: current collection, pass, or location. */
8556
+ detail: string().nullable(),
8557
+ cancelRequested: boolean(),
8558
+ startedAt: number(),
8559
+ updatedAt: number(),
8560
+ finishedAt: number().nullable(),
8561
+ error: string().nullable()
8562
+ });
8563
+ var StorageCleanupStatusInputSchema = object({ jobId: string().optional() });
8564
+ /**
8492
8565
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
8493
8566
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
8494
8567
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -8516,11 +8589,10 @@ var StorageLocationTypeSchema = string().regex(/^[a-z][a-zA-Z0-9-]*$/);
8516
8589
  * The default location for a type uses `id === <type>:default` by
8517
8590
  * convention (the bare type ref like `'backups'` resolves to it).
8518
8591
  *
8519
- * `isSystem: true` marks a location as orchestrator-seeded and
8520
- * undeletable. The bootstrap-installed defaults (one per type) carry
8521
- * this flag; operator-added locations don't. Editing the config of
8522
- * a system location is allowed (path migration, provider swap) but
8523
- * deleting it is rejected at the cap level.
8592
+ * `isSystem` is a legacy persisted flag. Seed still creates the initial
8593
+ * `<type>:default` locations; the flag is no longer a lock, a badge, or a
8594
+ * prune selector. New writes leave it false. Deletion is gated on uniqueness
8595
+ * / last-enabled, not on this bit.
8524
8596
  */
8525
8597
  var StorageLocationSchema = object({
8526
8598
  id: string().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
@@ -13046,6 +13118,12 @@ method(object({
13046
13118
  }), _void(), {
13047
13119
  kind: "mutation",
13048
13120
  auth: "admin"
13121
+ }), method(object({
13122
+ from: string(),
13123
+ to: string()
13124
+ }), object({ moved: number() }), {
13125
+ kind: "mutation",
13126
+ auth: "admin"
13049
13127
  }), method(object({
13050
13128
  deviceId: number(),
13051
13129
  disabled: boolean()
@@ -19054,46 +19132,6 @@ var RecentTracksPageSchema = object({
19054
19132
  /** Cursor for the next page, or null when this page is the last. */
19055
19133
  nextCursor: string().nullable()
19056
19134
  });
19057
- var LIST_GROUPS_DEFAULT_LIMIT = 40;
19058
- var LIST_GROUPS_MAX_LIMIT = 100;
19059
- var AnalyticsGroupRecordSchema = object({
19060
- id: string(),
19061
- deviceId: number().int(),
19062
- openedAt: number().int(),
19063
- closedAt: number().int(),
19064
- timestamp: number().int(),
19065
- memberCount: number().int(),
19066
- memberTrackIds: array(string()).readonly(),
19067
- className: string(),
19068
- classes: array(string()).readonly(),
19069
- /** Relative event-media path, or null when the group has no picture yet. */
19070
- mediaUrl: string().nullable(),
19071
- singleton: boolean()
19072
- });
19073
- var AnalyticsGroupMemberSchema = object({
19074
- trackId: string(),
19075
- deviceId: number().int(),
19076
- className: string(),
19077
- firstSeen: number().int(),
19078
- lastSeen: number().int(),
19079
- mediaUrl: string().nullable()
19080
- });
19081
- var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
19082
- var ListGroupsQueryInput = object({
19083
- /** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
19084
- deviceIds: array(number()),
19085
- /** Window lower bound on `closedAt` (inclusive). */
19086
- since: number().optional(),
19087
- /** Window upper bound on `openedAt` (inclusive). */
19088
- until: number().optional(),
19089
- limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
19090
- /** Opaque continuation cursor from a previous page's `nextCursor`. */
19091
- cursor: string().optional()
19092
- });
19093
- var ListGroupsPageSchema = object({
19094
- groups: array(AnalyticsGroupRecordSchema).readonly(),
19095
- nextCursor: string().nullable()
19096
- });
19097
19135
  var KEY_EVENTS_DEFAULT_LIMIT = 50;
19098
19136
  var KEY_EVENTS_MAX_LIMIT = 200;
19099
19137
  var KeyEventQueryInput = object({
@@ -19197,9 +19235,7 @@ var TrackCascadeCountsSchema = object({
19197
19235
  /** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
19198
19236
  plates: number().int(),
19199
19237
  /** Per-track CLIP search vectors removed (best-effort). */
19200
- embeddings: number().int(),
19201
- /** Group membership + group rows removed with their last member (best-effort). */
19202
- groups: number().int()
19238
+ embeddings: number().int()
19203
19239
  });
19204
19240
  /** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
19205
19241
  var DiskReconcileCountsSchema = object({
@@ -19369,6 +19405,47 @@ var RebuildStatusSchema = object({
19369
19405
  /** Present when the pass ended by throwing. */
19370
19406
  error: string().nullable()
19371
19407
  });
19408
+ /**
19409
+ * Acknowledgement that a debug-media reclaim STARTED.
19410
+ *
19411
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
19412
+ * it runs detached and this returns immediately. Awaiting it is how the
19413
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
19414
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
19415
+ */
19416
+ var MediaReclaimStartResultSchema = object({
19417
+ started: boolean(),
19418
+ /** True when a pass was already running; the new request is ignored. */
19419
+ alreadyRunning: boolean()
19420
+ });
19421
+ var MediaReclaimInputSchema = object({
19422
+ mode: _enum(["report", "reclaim"]).default("report"),
19423
+ scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
19424
+ deviceIds: array(number().int()).min(1).optional(),
19425
+ restart: boolean().optional(),
19426
+ pageSize: number().int().min(50).max(5e3).optional(),
19427
+ maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
19428
+ maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
19429
+ maxBytesPerRun: number().int().min(1).optional(),
19430
+ budgetMinutes: number().int().min(1).max(720).optional(),
19431
+ throttleBytesPerSec: number().int().min(64 * 1024).optional(),
19432
+ graceMinutes: number().int().min(1).max(10080).optional()
19433
+ });
19434
+ var MediaReclaimStatusSchema = object({
19435
+ running: boolean(),
19436
+ mode: _enum(["report", "reclaim"]).nullable(),
19437
+ totalExamined: number(),
19438
+ totalEligible: number(),
19439
+ totalReclaimed: number(),
19440
+ totalBytesReclaimed: number(),
19441
+ totalRefused: number(),
19442
+ /** Device+scope windows finished in this pass. */
19443
+ devicesDone: number(),
19444
+ complete: boolean().nullable(),
19445
+ startedAtMs: number().nullable(),
19446
+ finishedAtMs: number().nullable(),
19447
+ error: string().nullable()
19448
+ });
19372
19449
  var ReplayFrameInputSchema = object({
19373
19450
  timestamp: number(),
19374
19451
  frame: PipelineRunResultBridge
@@ -19407,10 +19484,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19407
19484
  * stationary registry). Default false: the timeline lists passages,
19408
19485
  * not parking records (operator decision, 2026-08-15). */
19409
19486
  includeStationary: boolean().optional()
19410
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
19411
- deviceId: number(),
19412
- groupId: string().min(1)
19413
- }), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19487
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19414
19488
  kind: "mutation",
19415
19489
  auth: "admin"
19416
19490
  }), 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({
@@ -19510,6 +19584,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19510
19584
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
19511
19585
  kind: "query",
19512
19586
  auth: "admin"
19587
+ }), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19588
+ kind: "mutation",
19589
+ auth: "admin"
19590
+ }), method(object({}), MediaReclaimStatusSchema, {
19591
+ kind: "query",
19592
+ auth: "admin"
19513
19593
  }), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
19514
19594
  kind: "query",
19515
19595
  auth: "admin"
@@ -21480,7 +21560,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
21480
21560
  }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
21481
21561
  kind: "mutation",
21482
21562
  auth: "admin"
21483
- });
21563
+ }), method(StorageCleanupInputSchema, object({ jobId: string() }), {
21564
+ kind: "mutation",
21565
+ auth: "admin"
21566
+ }), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
21567
+ kind: "mutation",
21568
+ auth: "admin"
21569
+ }), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
21484
21570
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
21485
21571
  providerId: string().min(1),
21486
21572
  displayName: string().min(1),
@@ -28573,6 +28659,33 @@ var RecordingRebalanceInputSchema = object({
28573
28659
  minMoveGb: number().min(0).optional()
28574
28660
  });
28575
28661
  /**
28662
+ * Operator-facing placement of one camera onto a recordings location.
28663
+ *
28664
+ * `pinLocationId` is the operator instruction: a location id, or `null` for
28665
+ * Auto (the planner may move this camera). `locationId` is where high/mid
28666
+ * currently write — the plan, which may disagree with the pin when Auto.
28667
+ */
28668
+ var RecordingDevicePlacementSchema = object({
28669
+ deviceId: number().int(),
28670
+ profile: string(),
28671
+ locationId: string()
28672
+ });
28673
+ var RecordingDevicePinSchema = object({
28674
+ deviceId: number().int(),
28675
+ /** Recordings-class location this camera is pinned to. */
28676
+ locationId: string()
28677
+ });
28678
+ var RecordingPlacementViewSchema = object({
28679
+ assignments: array(RecordingDevicePlacementSchema),
28680
+ pins: array(RecordingDevicePinSchema),
28681
+ defaultLocations: record(string(), string())
28682
+ });
28683
+ var RecordingSetDevicePlacementInputSchema = object({
28684
+ deviceId: number().int(),
28685
+ /** `null` = Auto. Otherwise a `recordings:*` location id. */
28686
+ locationId: string().nullable()
28687
+ });
28688
+ /**
28576
28689
  * Result of locating footage at a wall-clock instant for one device/profile.
28577
28690
  * `segment` carries the covering segment's window; `gap` reports the forward
28578
28691
  * nearest covered edge (`null` past the end of footage / when none exists)
@@ -28798,6 +28911,12 @@ method(object({
28798
28911
  }), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
28799
28912
  kind: "mutation",
28800
28913
  auth: "admin"
28914
+ }), method(object({}), RecordingPlacementViewSchema, {
28915
+ kind: "query",
28916
+ auth: "admin"
28917
+ }), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
28918
+ kind: "mutation",
28919
+ auth: "admin"
28801
28920
  });
28802
28921
  /**
28803
28922
  * `recording-export` cap — render a footage time range into a single downloadable
@@ -33867,6 +33986,12 @@ Object.freeze({
33867
33986
  addonId: null,
33868
33987
  access: "delete"
33869
33988
  },
33989
+ "deviceManager.renameLocation": {
33990
+ capName: "device-manager",
33991
+ capScope: "system",
33992
+ addonId: null,
33993
+ access: "create"
33994
+ },
33870
33995
  "deviceManager.runDeviceAction": {
33871
33996
  capName: "device-manager",
33872
33997
  capScope: "system",
@@ -35559,19 +35684,19 @@ Object.freeze({
35559
35684
  addonId: null,
35560
35685
  access: "view"
35561
35686
  },
35562
- "pipelineAnalytics.getGroup": {
35687
+ "pipelineAnalytics.getKeyEvents": {
35563
35688
  capName: "pipeline-analytics",
35564
35689
  capScope: "device",
35565
35690
  addonId: null,
35566
35691
  access: "view"
35567
35692
  },
35568
- "pipelineAnalytics.getKeyEvents": {
35693
+ "pipelineAnalytics.getKeyEventsBatch": {
35569
35694
  capName: "pipeline-analytics",
35570
35695
  capScope: "device",
35571
35696
  addonId: null,
35572
35697
  access: "view"
35573
35698
  },
35574
- "pipelineAnalytics.getKeyEventsBatch": {
35699
+ "pipelineAnalytics.getMediaReclaimStatus": {
35575
35700
  capName: "pipeline-analytics",
35576
35701
  capScope: "device",
35577
35702
  addonId: null,
@@ -35661,12 +35786,6 @@ Object.freeze({
35661
35786
  addonId: null,
35662
35787
  access: "view"
35663
35788
  },
35664
- "pipelineAnalytics.listGroups": {
35665
- capName: "pipeline-analytics",
35666
- capScope: "device",
35667
- addonId: null,
35668
- access: "view"
35669
- },
35670
35789
  "pipelineAnalytics.listOpsLog": {
35671
35790
  capName: "pipeline-analytics",
35672
35791
  capScope: "device",
@@ -35751,6 +35870,12 @@ Object.freeze({
35751
35870
  addonId: null,
35752
35871
  access: "create"
35753
35872
  },
35873
+ "pipelineAnalytics.reclaimDebugMedia": {
35874
+ capName: "pipeline-analytics",
35875
+ capScope: "device",
35876
+ addonId: null,
35877
+ access: "create"
35878
+ },
35754
35879
  "pipelineAnalytics.reconcileFromDisk": {
35755
35880
  capName: "pipeline-analytics",
35756
35881
  capScope: "device",
@@ -36675,6 +36800,12 @@ Object.freeze({
36675
36800
  addonId: null,
36676
36801
  access: "view"
36677
36802
  },
36803
+ "recording.getPlacement": {
36804
+ capName: "recording",
36805
+ capScope: "system",
36806
+ addonId: null,
36807
+ access: "view"
36808
+ },
36678
36809
  "recording.getPlaybackManifest": {
36679
36810
  capName: "recording",
36680
36811
  capScope: "system",
@@ -36801,6 +36932,12 @@ Object.freeze({
36801
36932
  addonId: null,
36802
36933
  access: "create"
36803
36934
  },
36935
+ "recording.setDevicePlacement": {
36936
+ capName: "recording",
36937
+ capScope: "system",
36938
+ addonId: null,
36939
+ access: "create"
36940
+ },
36804
36941
  "recording.startStorageMigrationMove": {
36805
36942
  capName: "recording",
36806
36943
  capScope: "system",
@@ -37245,12 +37382,36 @@ Object.freeze({
37245
37382
  addonId: null,
37246
37383
  access: "create"
37247
37384
  },
37385
+ "storageMigration.cleanupCancel": {
37386
+ capName: "storage-migration",
37387
+ capScope: "system",
37388
+ addonId: null,
37389
+ access: "create"
37390
+ },
37391
+ "storageMigration.cleanupStart": {
37392
+ capName: "storage-migration",
37393
+ capScope: "system",
37394
+ addonId: null,
37395
+ access: "create"
37396
+ },
37397
+ "storageMigration.cleanupStatus": {
37398
+ capName: "storage-migration",
37399
+ capScope: "system",
37400
+ addonId: null,
37401
+ access: "view"
37402
+ },
37248
37403
  "storageMigration.drain": {
37249
37404
  capName: "storage-migration",
37250
37405
  capScope: "system",
37251
37406
  addonId: null,
37252
37407
  access: "create"
37253
37408
  },
37409
+ "storageMigration.history": {
37410
+ capName: "storage-migration",
37411
+ capScope: "system",
37412
+ addonId: null,
37413
+ access: "view"
37414
+ },
37254
37415
  "storageMigration.movers": {
37255
37416
  capName: "storage-migration",
37256
37417
  capScope: "system",
@@ -39247,11 +39408,6 @@ Object.freeze({
39247
39408
  form: "single",
39248
39409
  optional: true
39249
39410
  }],
39250
- "pipelineAnalytics.getGroup": [{
39251
- name: "deviceId",
39252
- form: "single",
39253
- optional: false
39254
- }],
39255
39411
  "pipelineAnalytics.getKeyEvents": [{
39256
39412
  name: "deviceId",
39257
39413
  form: "single",
@@ -39317,11 +39473,6 @@ Object.freeze({
39317
39473
  form: "single",
39318
39474
  optional: false
39319
39475
  }],
39320
- "pipelineAnalytics.listGroups": [{
39321
- name: "deviceIds",
39322
- form: "array",
39323
- optional: false
39324
- }],
39325
39476
  "pipelineAnalytics.listOpsLog": [{
39326
39477
  name: "deviceId",
39327
39478
  form: "single",
@@ -39367,6 +39518,11 @@ Object.freeze({
39367
39518
  form: "single",
39368
39519
  optional: true
39369
39520
  }],
39521
+ "pipelineAnalytics.reclaimDebugMedia": [{
39522
+ name: "deviceIds",
39523
+ form: "array",
39524
+ optional: true
39525
+ }],
39370
39526
  "pipelineAnalytics.reconcileFromDisk": [{
39371
39527
  name: "deviceId",
39372
39528
  form: "single",
@@ -39732,6 +39888,11 @@ Object.freeze({
39732
39888
  form: "single",
39733
39889
  optional: false
39734
39890
  }],
39891
+ "recording.setDevicePlacement": [{
39892
+ name: "deviceId",
39893
+ form: "single",
39894
+ optional: false
39895
+ }],
39735
39896
  "recording.startStorageMigrationMove": [{
39736
39897
  name: "deviceId",
39737
39898
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-velux",
3
- "version": "0.2.49",
3
+ "version": "0.2.50",
4
4
  "description": "Velux KLF-200 device-provider addon for CamStack — local-gateway window + shutter covers (positional, no tilt)",
5
5
  "keywords": [
6
6
  "camstack",