@camstack/addon-provider-velux 0.2.49 → 0.2.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/addon.js +236 -73
  2. package/dist/addon.mjs +236 -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()
@@ -15797,6 +15875,8 @@ var NcSystemEventKindSchema = _enum([
15797
15875
  "device-offline",
15798
15876
  "device-disabled",
15799
15877
  "device-enabled",
15878
+ "device-battery-low",
15879
+ "device-battery-normal",
15800
15880
  "stream-online",
15801
15881
  "stream-offline",
15802
15882
  "node-online",
@@ -19055,46 +19135,6 @@ var RecentTracksPageSchema = object({
19055
19135
  /** Cursor for the next page, or null when this page is the last. */
19056
19136
  nextCursor: string().nullable()
19057
19137
  });
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
19138
  var KEY_EVENTS_DEFAULT_LIMIT = 50;
19099
19139
  var KEY_EVENTS_MAX_LIMIT = 200;
19100
19140
  var KeyEventQueryInput = object({
@@ -19198,9 +19238,7 @@ var TrackCascadeCountsSchema = object({
19198
19238
  /** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
19199
19239
  plates: number().int(),
19200
19240
  /** 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()
19241
+ embeddings: number().int()
19204
19242
  });
19205
19243
  /** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
19206
19244
  var DiskReconcileCountsSchema = object({
@@ -19370,6 +19408,47 @@ var RebuildStatusSchema = object({
19370
19408
  /** Present when the pass ended by throwing. */
19371
19409
  error: string().nullable()
19372
19410
  });
19411
+ /**
19412
+ * Acknowledgement that a debug-media reclaim STARTED.
19413
+ *
19414
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
19415
+ * it runs detached and this returns immediately. Awaiting it is how the
19416
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
19417
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
19418
+ */
19419
+ var MediaReclaimStartResultSchema = object({
19420
+ started: boolean(),
19421
+ /** True when a pass was already running; the new request is ignored. */
19422
+ alreadyRunning: boolean()
19423
+ });
19424
+ var MediaReclaimInputSchema = object({
19425
+ mode: _enum(["report", "reclaim"]).default("report"),
19426
+ scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
19427
+ deviceIds: array(number().int()).min(1).optional(),
19428
+ restart: boolean().optional(),
19429
+ pageSize: number().int().min(50).max(5e3).optional(),
19430
+ maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
19431
+ maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
19432
+ maxBytesPerRun: number().int().min(1).optional(),
19433
+ budgetMinutes: number().int().min(1).max(720).optional(),
19434
+ throttleBytesPerSec: number().int().min(64 * 1024).optional(),
19435
+ graceMinutes: number().int().min(1).max(10080).optional()
19436
+ });
19437
+ var MediaReclaimStatusSchema = object({
19438
+ running: boolean(),
19439
+ mode: _enum(["report", "reclaim"]).nullable(),
19440
+ totalExamined: number(),
19441
+ totalEligible: number(),
19442
+ totalReclaimed: number(),
19443
+ totalBytesReclaimed: number(),
19444
+ totalRefused: number(),
19445
+ /** Device+scope windows finished in this pass. */
19446
+ devicesDone: number(),
19447
+ complete: boolean().nullable(),
19448
+ startedAtMs: number().nullable(),
19449
+ finishedAtMs: number().nullable(),
19450
+ error: string().nullable()
19451
+ });
19373
19452
  var ReplayFrameInputSchema = object({
19374
19453
  timestamp: number(),
19375
19454
  frame: PipelineRunResultBridge
@@ -19408,10 +19487,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19408
19487
  * stationary registry). Default false: the timeline lists passages,
19409
19488
  * not parking records (operator decision, 2026-08-15). */
19410
19489
  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(), {
19490
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19415
19491
  kind: "mutation",
19416
19492
  auth: "admin"
19417
19493
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -19511,6 +19587,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19511
19587
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
19512
19588
  kind: "query",
19513
19589
  auth: "admin"
19590
+ }), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19591
+ kind: "mutation",
19592
+ auth: "admin"
19593
+ }), method(object({}), MediaReclaimStatusSchema, {
19594
+ kind: "query",
19595
+ auth: "admin"
19514
19596
  }), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
19515
19597
  kind: "query",
19516
19598
  auth: "admin"
@@ -21481,7 +21563,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
21481
21563
  }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
21482
21564
  kind: "mutation",
21483
21565
  auth: "admin"
21484
- });
21566
+ }), method(StorageCleanupInputSchema, object({ jobId: string() }), {
21567
+ kind: "mutation",
21568
+ auth: "admin"
21569
+ }), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
21570
+ kind: "mutation",
21571
+ auth: "admin"
21572
+ }), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
21485
21573
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
21486
21574
  providerId: string().min(1),
21487
21575
  displayName: string().min(1),
@@ -28574,6 +28662,33 @@ var RecordingRebalanceInputSchema = object({
28574
28662
  minMoveGb: number().min(0).optional()
28575
28663
  });
28576
28664
  /**
28665
+ * Operator-facing placement of one camera onto a recordings location.
28666
+ *
28667
+ * `pinLocationId` is the operator instruction: a location id, or `null` for
28668
+ * Auto (the planner may move this camera). `locationId` is where high/mid
28669
+ * currently write — the plan, which may disagree with the pin when Auto.
28670
+ */
28671
+ var RecordingDevicePlacementSchema = object({
28672
+ deviceId: number().int(),
28673
+ profile: string(),
28674
+ locationId: string()
28675
+ });
28676
+ var RecordingDevicePinSchema = object({
28677
+ deviceId: number().int(),
28678
+ /** Recordings-class location this camera is pinned to. */
28679
+ locationId: string()
28680
+ });
28681
+ var RecordingPlacementViewSchema = object({
28682
+ assignments: array(RecordingDevicePlacementSchema),
28683
+ pins: array(RecordingDevicePinSchema),
28684
+ defaultLocations: record(string(), string())
28685
+ });
28686
+ var RecordingSetDevicePlacementInputSchema = object({
28687
+ deviceId: number().int(),
28688
+ /** `null` = Auto. Otherwise a `recordings:*` location id. */
28689
+ locationId: string().nullable()
28690
+ });
28691
+ /**
28577
28692
  * Result of locating footage at a wall-clock instant for one device/profile.
28578
28693
  * `segment` carries the covering segment's window; `gap` reports the forward
28579
28694
  * nearest covered edge (`null` past the end of footage / when none exists)
@@ -28799,6 +28914,12 @@ method(object({
28799
28914
  }), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
28800
28915
  kind: "mutation",
28801
28916
  auth: "admin"
28917
+ }), method(object({}), RecordingPlacementViewSchema, {
28918
+ kind: "query",
28919
+ auth: "admin"
28920
+ }), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
28921
+ kind: "mutation",
28922
+ auth: "admin"
28802
28923
  });
28803
28924
  /**
28804
28925
  * `recording-export` cap — render a footage time range into a single downloadable
@@ -33868,6 +33989,12 @@ Object.freeze({
33868
33989
  addonId: null,
33869
33990
  access: "delete"
33870
33991
  },
33992
+ "deviceManager.renameLocation": {
33993
+ capName: "device-manager",
33994
+ capScope: "system",
33995
+ addonId: null,
33996
+ access: "create"
33997
+ },
33871
33998
  "deviceManager.runDeviceAction": {
33872
33999
  capName: "device-manager",
33873
34000
  capScope: "system",
@@ -35560,19 +35687,19 @@ Object.freeze({
35560
35687
  addonId: null,
35561
35688
  access: "view"
35562
35689
  },
35563
- "pipelineAnalytics.getGroup": {
35690
+ "pipelineAnalytics.getKeyEvents": {
35564
35691
  capName: "pipeline-analytics",
35565
35692
  capScope: "device",
35566
35693
  addonId: null,
35567
35694
  access: "view"
35568
35695
  },
35569
- "pipelineAnalytics.getKeyEvents": {
35696
+ "pipelineAnalytics.getKeyEventsBatch": {
35570
35697
  capName: "pipeline-analytics",
35571
35698
  capScope: "device",
35572
35699
  addonId: null,
35573
35700
  access: "view"
35574
35701
  },
35575
- "pipelineAnalytics.getKeyEventsBatch": {
35702
+ "pipelineAnalytics.getMediaReclaimStatus": {
35576
35703
  capName: "pipeline-analytics",
35577
35704
  capScope: "device",
35578
35705
  addonId: null,
@@ -35662,12 +35789,6 @@ Object.freeze({
35662
35789
  addonId: null,
35663
35790
  access: "view"
35664
35791
  },
35665
- "pipelineAnalytics.listGroups": {
35666
- capName: "pipeline-analytics",
35667
- capScope: "device",
35668
- addonId: null,
35669
- access: "view"
35670
- },
35671
35792
  "pipelineAnalytics.listOpsLog": {
35672
35793
  capName: "pipeline-analytics",
35673
35794
  capScope: "device",
@@ -35752,6 +35873,12 @@ Object.freeze({
35752
35873
  addonId: null,
35753
35874
  access: "create"
35754
35875
  },
35876
+ "pipelineAnalytics.reclaimDebugMedia": {
35877
+ capName: "pipeline-analytics",
35878
+ capScope: "device",
35879
+ addonId: null,
35880
+ access: "create"
35881
+ },
35755
35882
  "pipelineAnalytics.reconcileFromDisk": {
35756
35883
  capName: "pipeline-analytics",
35757
35884
  capScope: "device",
@@ -36676,6 +36803,12 @@ Object.freeze({
36676
36803
  addonId: null,
36677
36804
  access: "view"
36678
36805
  },
36806
+ "recording.getPlacement": {
36807
+ capName: "recording",
36808
+ capScope: "system",
36809
+ addonId: null,
36810
+ access: "view"
36811
+ },
36679
36812
  "recording.getPlaybackManifest": {
36680
36813
  capName: "recording",
36681
36814
  capScope: "system",
@@ -36802,6 +36935,12 @@ Object.freeze({
36802
36935
  addonId: null,
36803
36936
  access: "create"
36804
36937
  },
36938
+ "recording.setDevicePlacement": {
36939
+ capName: "recording",
36940
+ capScope: "system",
36941
+ addonId: null,
36942
+ access: "create"
36943
+ },
36805
36944
  "recording.startStorageMigrationMove": {
36806
36945
  capName: "recording",
36807
36946
  capScope: "system",
@@ -37246,12 +37385,36 @@ Object.freeze({
37246
37385
  addonId: null,
37247
37386
  access: "create"
37248
37387
  },
37388
+ "storageMigration.cleanupCancel": {
37389
+ capName: "storage-migration",
37390
+ capScope: "system",
37391
+ addonId: null,
37392
+ access: "create"
37393
+ },
37394
+ "storageMigration.cleanupStart": {
37395
+ capName: "storage-migration",
37396
+ capScope: "system",
37397
+ addonId: null,
37398
+ access: "create"
37399
+ },
37400
+ "storageMigration.cleanupStatus": {
37401
+ capName: "storage-migration",
37402
+ capScope: "system",
37403
+ addonId: null,
37404
+ access: "view"
37405
+ },
37249
37406
  "storageMigration.drain": {
37250
37407
  capName: "storage-migration",
37251
37408
  capScope: "system",
37252
37409
  addonId: null,
37253
37410
  access: "create"
37254
37411
  },
37412
+ "storageMigration.history": {
37413
+ capName: "storage-migration",
37414
+ capScope: "system",
37415
+ addonId: null,
37416
+ access: "view"
37417
+ },
37255
37418
  "storageMigration.movers": {
37256
37419
  capName: "storage-migration",
37257
37420
  capScope: "system",
@@ -39248,11 +39411,6 @@ Object.freeze({
39248
39411
  form: "single",
39249
39412
  optional: true
39250
39413
  }],
39251
- "pipelineAnalytics.getGroup": [{
39252
- name: "deviceId",
39253
- form: "single",
39254
- optional: false
39255
- }],
39256
39414
  "pipelineAnalytics.getKeyEvents": [{
39257
39415
  name: "deviceId",
39258
39416
  form: "single",
@@ -39318,11 +39476,6 @@ Object.freeze({
39318
39476
  form: "single",
39319
39477
  optional: false
39320
39478
  }],
39321
- "pipelineAnalytics.listGroups": [{
39322
- name: "deviceIds",
39323
- form: "array",
39324
- optional: false
39325
- }],
39326
39479
  "pipelineAnalytics.listOpsLog": [{
39327
39480
  name: "deviceId",
39328
39481
  form: "single",
@@ -39368,6 +39521,11 @@ Object.freeze({
39368
39521
  form: "single",
39369
39522
  optional: true
39370
39523
  }],
39524
+ "pipelineAnalytics.reclaimDebugMedia": [{
39525
+ name: "deviceIds",
39526
+ form: "array",
39527
+ optional: true
39528
+ }],
39371
39529
  "pipelineAnalytics.reconcileFromDisk": [{
39372
39530
  name: "deviceId",
39373
39531
  form: "single",
@@ -39733,6 +39891,11 @@ Object.freeze({
39733
39891
  form: "single",
39734
39892
  optional: false
39735
39893
  }],
39894
+ "recording.setDevicePlacement": [{
39895
+ name: "deviceId",
39896
+ form: "single",
39897
+ optional: false
39898
+ }],
39736
39899
  "recording.startStorageMigrationMove": [{
39737
39900
  name: "deviceId",
39738
39901
  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()
@@ -15796,6 +15874,8 @@ var NcSystemEventKindSchema = _enum([
15796
15874
  "device-offline",
15797
15875
  "device-disabled",
15798
15876
  "device-enabled",
15877
+ "device-battery-low",
15878
+ "device-battery-normal",
15799
15879
  "stream-online",
15800
15880
  "stream-offline",
15801
15881
  "node-online",
@@ -19054,46 +19134,6 @@ var RecentTracksPageSchema = object({
19054
19134
  /** Cursor for the next page, or null when this page is the last. */
19055
19135
  nextCursor: string().nullable()
19056
19136
  });
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
19137
  var KEY_EVENTS_DEFAULT_LIMIT = 50;
19098
19138
  var KEY_EVENTS_MAX_LIMIT = 200;
19099
19139
  var KeyEventQueryInput = object({
@@ -19197,9 +19237,7 @@ var TrackCascadeCountsSchema = object({
19197
19237
  /** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
19198
19238
  plates: number().int(),
19199
19239
  /** 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()
19240
+ embeddings: number().int()
19203
19241
  });
19204
19242
  /** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
19205
19243
  var DiskReconcileCountsSchema = object({
@@ -19369,6 +19407,47 @@ var RebuildStatusSchema = object({
19369
19407
  /** Present when the pass ended by throwing. */
19370
19408
  error: string().nullable()
19371
19409
  });
19410
+ /**
19411
+ * Acknowledgement that a debug-media reclaim STARTED.
19412
+ *
19413
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
19414
+ * it runs detached and this returns immediately. Awaiting it is how the
19415
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
19416
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
19417
+ */
19418
+ var MediaReclaimStartResultSchema = object({
19419
+ started: boolean(),
19420
+ /** True when a pass was already running; the new request is ignored. */
19421
+ alreadyRunning: boolean()
19422
+ });
19423
+ var MediaReclaimInputSchema = object({
19424
+ mode: _enum(["report", "reclaim"]).default("report"),
19425
+ scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
19426
+ deviceIds: array(number().int()).min(1).optional(),
19427
+ restart: boolean().optional(),
19428
+ pageSize: number().int().min(50).max(5e3).optional(),
19429
+ maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
19430
+ maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
19431
+ maxBytesPerRun: number().int().min(1).optional(),
19432
+ budgetMinutes: number().int().min(1).max(720).optional(),
19433
+ throttleBytesPerSec: number().int().min(64 * 1024).optional(),
19434
+ graceMinutes: number().int().min(1).max(10080).optional()
19435
+ });
19436
+ var MediaReclaimStatusSchema = object({
19437
+ running: boolean(),
19438
+ mode: _enum(["report", "reclaim"]).nullable(),
19439
+ totalExamined: number(),
19440
+ totalEligible: number(),
19441
+ totalReclaimed: number(),
19442
+ totalBytesReclaimed: number(),
19443
+ totalRefused: number(),
19444
+ /** Device+scope windows finished in this pass. */
19445
+ devicesDone: number(),
19446
+ complete: boolean().nullable(),
19447
+ startedAtMs: number().nullable(),
19448
+ finishedAtMs: number().nullable(),
19449
+ error: string().nullable()
19450
+ });
19372
19451
  var ReplayFrameInputSchema = object({
19373
19452
  timestamp: number(),
19374
19453
  frame: PipelineRunResultBridge
@@ -19407,10 +19486,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19407
19486
  * stationary registry). Default false: the timeline lists passages,
19408
19487
  * not parking records (operator decision, 2026-08-15). */
19409
19488
  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(), {
19489
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19414
19490
  kind: "mutation",
19415
19491
  auth: "admin"
19416
19492
  }), 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 +19586,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19510
19586
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
19511
19587
  kind: "query",
19512
19588
  auth: "admin"
19589
+ }), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19590
+ kind: "mutation",
19591
+ auth: "admin"
19592
+ }), method(object({}), MediaReclaimStatusSchema, {
19593
+ kind: "query",
19594
+ auth: "admin"
19513
19595
  }), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
19514
19596
  kind: "query",
19515
19597
  auth: "admin"
@@ -21480,7 +21562,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
21480
21562
  }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
21481
21563
  kind: "mutation",
21482
21564
  auth: "admin"
21483
- });
21565
+ }), method(StorageCleanupInputSchema, object({ jobId: string() }), {
21566
+ kind: "mutation",
21567
+ auth: "admin"
21568
+ }), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
21569
+ kind: "mutation",
21570
+ auth: "admin"
21571
+ }), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
21484
21572
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
21485
21573
  providerId: string().min(1),
21486
21574
  displayName: string().min(1),
@@ -28573,6 +28661,33 @@ var RecordingRebalanceInputSchema = object({
28573
28661
  minMoveGb: number().min(0).optional()
28574
28662
  });
28575
28663
  /**
28664
+ * Operator-facing placement of one camera onto a recordings location.
28665
+ *
28666
+ * `pinLocationId` is the operator instruction: a location id, or `null` for
28667
+ * Auto (the planner may move this camera). `locationId` is where high/mid
28668
+ * currently write — the plan, which may disagree with the pin when Auto.
28669
+ */
28670
+ var RecordingDevicePlacementSchema = object({
28671
+ deviceId: number().int(),
28672
+ profile: string(),
28673
+ locationId: string()
28674
+ });
28675
+ var RecordingDevicePinSchema = object({
28676
+ deviceId: number().int(),
28677
+ /** Recordings-class location this camera is pinned to. */
28678
+ locationId: string()
28679
+ });
28680
+ var RecordingPlacementViewSchema = object({
28681
+ assignments: array(RecordingDevicePlacementSchema),
28682
+ pins: array(RecordingDevicePinSchema),
28683
+ defaultLocations: record(string(), string())
28684
+ });
28685
+ var RecordingSetDevicePlacementInputSchema = object({
28686
+ deviceId: number().int(),
28687
+ /** `null` = Auto. Otherwise a `recordings:*` location id. */
28688
+ locationId: string().nullable()
28689
+ });
28690
+ /**
28576
28691
  * Result of locating footage at a wall-clock instant for one device/profile.
28577
28692
  * `segment` carries the covering segment's window; `gap` reports the forward
28578
28693
  * nearest covered edge (`null` past the end of footage / when none exists)
@@ -28798,6 +28913,12 @@ method(object({
28798
28913
  }), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
28799
28914
  kind: "mutation",
28800
28915
  auth: "admin"
28916
+ }), method(object({}), RecordingPlacementViewSchema, {
28917
+ kind: "query",
28918
+ auth: "admin"
28919
+ }), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
28920
+ kind: "mutation",
28921
+ auth: "admin"
28801
28922
  });
28802
28923
  /**
28803
28924
  * `recording-export` cap — render a footage time range into a single downloadable
@@ -33867,6 +33988,12 @@ Object.freeze({
33867
33988
  addonId: null,
33868
33989
  access: "delete"
33869
33990
  },
33991
+ "deviceManager.renameLocation": {
33992
+ capName: "device-manager",
33993
+ capScope: "system",
33994
+ addonId: null,
33995
+ access: "create"
33996
+ },
33870
33997
  "deviceManager.runDeviceAction": {
33871
33998
  capName: "device-manager",
33872
33999
  capScope: "system",
@@ -35559,19 +35686,19 @@ Object.freeze({
35559
35686
  addonId: null,
35560
35687
  access: "view"
35561
35688
  },
35562
- "pipelineAnalytics.getGroup": {
35689
+ "pipelineAnalytics.getKeyEvents": {
35563
35690
  capName: "pipeline-analytics",
35564
35691
  capScope: "device",
35565
35692
  addonId: null,
35566
35693
  access: "view"
35567
35694
  },
35568
- "pipelineAnalytics.getKeyEvents": {
35695
+ "pipelineAnalytics.getKeyEventsBatch": {
35569
35696
  capName: "pipeline-analytics",
35570
35697
  capScope: "device",
35571
35698
  addonId: null,
35572
35699
  access: "view"
35573
35700
  },
35574
- "pipelineAnalytics.getKeyEventsBatch": {
35701
+ "pipelineAnalytics.getMediaReclaimStatus": {
35575
35702
  capName: "pipeline-analytics",
35576
35703
  capScope: "device",
35577
35704
  addonId: null,
@@ -35661,12 +35788,6 @@ Object.freeze({
35661
35788
  addonId: null,
35662
35789
  access: "view"
35663
35790
  },
35664
- "pipelineAnalytics.listGroups": {
35665
- capName: "pipeline-analytics",
35666
- capScope: "device",
35667
- addonId: null,
35668
- access: "view"
35669
- },
35670
35791
  "pipelineAnalytics.listOpsLog": {
35671
35792
  capName: "pipeline-analytics",
35672
35793
  capScope: "device",
@@ -35751,6 +35872,12 @@ Object.freeze({
35751
35872
  addonId: null,
35752
35873
  access: "create"
35753
35874
  },
35875
+ "pipelineAnalytics.reclaimDebugMedia": {
35876
+ capName: "pipeline-analytics",
35877
+ capScope: "device",
35878
+ addonId: null,
35879
+ access: "create"
35880
+ },
35754
35881
  "pipelineAnalytics.reconcileFromDisk": {
35755
35882
  capName: "pipeline-analytics",
35756
35883
  capScope: "device",
@@ -36675,6 +36802,12 @@ Object.freeze({
36675
36802
  addonId: null,
36676
36803
  access: "view"
36677
36804
  },
36805
+ "recording.getPlacement": {
36806
+ capName: "recording",
36807
+ capScope: "system",
36808
+ addonId: null,
36809
+ access: "view"
36810
+ },
36678
36811
  "recording.getPlaybackManifest": {
36679
36812
  capName: "recording",
36680
36813
  capScope: "system",
@@ -36801,6 +36934,12 @@ Object.freeze({
36801
36934
  addonId: null,
36802
36935
  access: "create"
36803
36936
  },
36937
+ "recording.setDevicePlacement": {
36938
+ capName: "recording",
36939
+ capScope: "system",
36940
+ addonId: null,
36941
+ access: "create"
36942
+ },
36804
36943
  "recording.startStorageMigrationMove": {
36805
36944
  capName: "recording",
36806
36945
  capScope: "system",
@@ -37245,12 +37384,36 @@ Object.freeze({
37245
37384
  addonId: null,
37246
37385
  access: "create"
37247
37386
  },
37387
+ "storageMigration.cleanupCancel": {
37388
+ capName: "storage-migration",
37389
+ capScope: "system",
37390
+ addonId: null,
37391
+ access: "create"
37392
+ },
37393
+ "storageMigration.cleanupStart": {
37394
+ capName: "storage-migration",
37395
+ capScope: "system",
37396
+ addonId: null,
37397
+ access: "create"
37398
+ },
37399
+ "storageMigration.cleanupStatus": {
37400
+ capName: "storage-migration",
37401
+ capScope: "system",
37402
+ addonId: null,
37403
+ access: "view"
37404
+ },
37248
37405
  "storageMigration.drain": {
37249
37406
  capName: "storage-migration",
37250
37407
  capScope: "system",
37251
37408
  addonId: null,
37252
37409
  access: "create"
37253
37410
  },
37411
+ "storageMigration.history": {
37412
+ capName: "storage-migration",
37413
+ capScope: "system",
37414
+ addonId: null,
37415
+ access: "view"
37416
+ },
37254
37417
  "storageMigration.movers": {
37255
37418
  capName: "storage-migration",
37256
37419
  capScope: "system",
@@ -39247,11 +39410,6 @@ Object.freeze({
39247
39410
  form: "single",
39248
39411
  optional: true
39249
39412
  }],
39250
- "pipelineAnalytics.getGroup": [{
39251
- name: "deviceId",
39252
- form: "single",
39253
- optional: false
39254
- }],
39255
39413
  "pipelineAnalytics.getKeyEvents": [{
39256
39414
  name: "deviceId",
39257
39415
  form: "single",
@@ -39317,11 +39475,6 @@ Object.freeze({
39317
39475
  form: "single",
39318
39476
  optional: false
39319
39477
  }],
39320
- "pipelineAnalytics.listGroups": [{
39321
- name: "deviceIds",
39322
- form: "array",
39323
- optional: false
39324
- }],
39325
39478
  "pipelineAnalytics.listOpsLog": [{
39326
39479
  name: "deviceId",
39327
39480
  form: "single",
@@ -39367,6 +39520,11 @@ Object.freeze({
39367
39520
  form: "single",
39368
39521
  optional: true
39369
39522
  }],
39523
+ "pipelineAnalytics.reclaimDebugMedia": [{
39524
+ name: "deviceIds",
39525
+ form: "array",
39526
+ optional: true
39527
+ }],
39370
39528
  "pipelineAnalytics.reconcileFromDisk": [{
39371
39529
  name: "deviceId",
39372
39530
  form: "single",
@@ -39732,6 +39890,11 @@ Object.freeze({
39732
39890
  form: "single",
39733
39891
  optional: false
39734
39892
  }],
39893
+ "recording.setDevicePlacement": [{
39894
+ name: "deviceId",
39895
+ form: "single",
39896
+ optional: false
39897
+ }],
39735
39898
  "recording.startStorageMigrationMove": [{
39736
39899
  name: "deviceId",
39737
39900
  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.51",
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",