@camstack/types 1.2.129 → 1.2.131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_event_category = require("./event-category-BaEgqJNv.js");
3
- const require_sleep = require("./sleep-D5821NGq.js");
3
+ const require_sleep = require("./sleep-CqVyhcl-.js");
4
4
  const require_canonical_hash = require("./canonical-hash-DNV8S5ET.js");
5
5
  const require_enums = require("./enums.js");
6
6
  const require_err_msg = require("./err-msg-COpsHMw2.js");
@@ -2267,6 +2267,20 @@ var RelocateJobSchema = zod.z.object({
2267
2267
  * in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
2268
2268
  */
2269
2269
  rowsReconciled: zod.z.number().int().nonnegative().optional(),
2270
+ /**
2271
+ * Rows this run FORGOT because the file they name is not on disk.
2272
+ *
2273
+ * The mover derived the path from the row's own fields and `stat`ed it; an
2274
+ * ENOENT there is a per-path confirmation that the segment is gone (D296),
2275
+ * and the durable row is dropped through the same channel eviction uses. It
2276
+ * is reported for the same reason `rowsReconciled` is: this is a durable
2277
+ * mutation nobody asked for, and a migration that quietly erases hour rows is
2278
+ * the same failure as one that quietly skips them (D295).
2279
+ *
2280
+ * The production drain of 2026-08-30 would have reported 11 074 here — the
2281
+ * ledger claimed 5.65 GB of footage that no longer existed.
2282
+ */
2283
+ rowsForgotten: zod.z.number().int().nonnegative().optional(),
2270
2284
  startedAt: zod.z.number(),
2271
2285
  finishedAt: zod.z.number().nullable(),
2272
2286
  error: zod.z.string().nullable()
@@ -2662,6 +2676,92 @@ var RelocateResidueSchema = zod.z.object({
2662
2676
  segments: zod.z.number().int().nonnegative(),
2663
2677
  bytes: zod.z.number().int().nonnegative()
2664
2678
  }).nullable();
2679
+ /**
2680
+ * Ask one location whether its durable hour rows describe the disk — the walk
2681
+ * (D319).
2682
+ *
2683
+ * `apply` DEFAULTS TO FALSE and that default is the product: the operator's
2684
+ * missing tool is the question, and the dry run is how they sanity-check the
2685
+ * destructive run before authorising it.
2686
+ */
2687
+ var LedgerWalkInputSchema = zod.z.object({
2688
+ locationId: zod.z.string().min(1),
2689
+ /** Forget the confirmed-absent rows, rather than only counting them. */
2690
+ apply: zod.z.boolean().optional(),
2691
+ /** Narrow to one camera. */
2692
+ deviceId: zod.z.number().int().positive().optional(),
2693
+ /** Narrow to these recording profiles; empty/absent = every profile. */
2694
+ profiles: zod.z.array(zod.z.string().min(1)).optional()
2695
+ });
2696
+ /** Why a whole walk did nothing. Every one leaves the ledger untouched. */
2697
+ var LedgerWalkRefusalSchema = zod.z.enum([
2698
+ "location-unknown",
2699
+ "source-writable",
2700
+ "no-ledger",
2701
+ "archive-unreadable",
2702
+ "anchor-absent",
2703
+ "anchor-unreadable",
2704
+ "anchor-moved"
2705
+ ]);
2706
+ /** Why one hour was left exactly as it was found. */
2707
+ var LedgerWalkSkipReasonSchema = zod.z.enum([
2708
+ "live-tail",
2709
+ "listing-error",
2710
+ "path-mismatch",
2711
+ "durable-refused"
2712
+ ]);
2713
+ /** Every skip reason, always present, always a number — so a reason that never
2714
+ * fired reports as zero rather than absent and the report shape is constant
2715
+ * between passes. Spelled out rather than `z.record` for exactly that. */
2716
+ var LedgerWalkSkipCountsSchema = zod.z.object({
2717
+ "live-tail": zod.z.number().int().nonnegative(),
2718
+ "listing-error": zod.z.number().int().nonnegative(),
2719
+ "path-mismatch": zod.z.number().int().nonnegative(),
2720
+ "durable-refused": zod.z.number().int().nonnegative()
2721
+ });
2722
+ /** One camera's share of a walk, so a report names cameras and not rows. */
2723
+ var LedgerWalkDeviceReportSchema = zod.z.object({
2724
+ deviceId: zod.z.number().int(),
2725
+ hoursWalked: zod.z.number().int().nonnegative(),
2726
+ hoursMissing: zod.z.number().int().nonnegative(),
2727
+ ghostSegments: zod.z.number().int().nonnegative(),
2728
+ ghostBytes: zod.z.number().int().nonnegative(),
2729
+ forgottenSegments: zod.z.number().int().nonnegative(),
2730
+ orphanFiles: zod.z.number().int().nonnegative()
2731
+ });
2732
+ /**
2733
+ * What one walk claimed, listed, found and (only when armed) forgot.
2734
+ *
2735
+ * `archiveSegments` is the **M** and `segmentsClaimed` the **N** (D295), so a
2736
+ * walk that saw a fraction of the location is visible in its own report rather
2737
+ * than in the absence of one.
2738
+ */
2739
+ var LedgerWalkReportSchema = zod.z.object({
2740
+ locationId: zod.z.string(),
2741
+ applied: zod.z.boolean(),
2742
+ refused: LedgerWalkRefusalSchema.nullable(),
2743
+ archiveSegments: zod.z.number().int().nonnegative().nullable(),
2744
+ archiveBytes: zod.z.number().int().nonnegative().nullable(),
2745
+ hoursClaimed: zod.z.number().int().nonnegative(),
2746
+ hoursWalked: zod.z.number().int().nonnegative(),
2747
+ hoursMissing: zod.z.number().int().nonnegative(),
2748
+ /** `readdir` calls issued — the cost, stated in the unit that is paid. */
2749
+ listings: zod.z.number().int().nonnegative(),
2750
+ segmentsClaimed: zod.z.number().int().nonnegative(),
2751
+ ghostSegments: zod.z.number().int().nonnegative(),
2752
+ ghostBytes: zod.z.number().int().nonnegative(),
2753
+ ghostHoursWhole: zod.z.number().int().nonnegative(),
2754
+ forgottenSegments: zod.z.number().int().nonnegative(),
2755
+ forgottenBytes: zod.z.number().int().nonnegative(),
2756
+ /** Files under a claimed hour that no durable row names. Never deleted. */
2757
+ orphanFiles: zod.z.number().int().nonnegative(),
2758
+ orphanSample: zod.z.array(zod.z.string()).readonly(),
2759
+ hoursSkipped: zod.z.number().int().nonnegative(),
2760
+ skippedByReason: LedgerWalkSkipCountsSchema,
2761
+ /** The walk stopped at its per-pass hour bound with claims unwalked. */
2762
+ bounded: zod.z.boolean(),
2763
+ byDevice: zod.z.array(LedgerWalkDeviceReportSchema).readonly()
2764
+ });
2665
2765
  /** How many rows a media pass would still act on against a given target — the
2666
2766
  * media lane's denominator AND its residue, from ONE derivation so the two can
2667
2767
  * never disagree. `null` = the count could not be taken. */
@@ -18566,13 +18666,15 @@ var ListGroupsPageSchema = zod.z.object({
18566
18666
  groups: zod.z.array(AnalyticsGroupRecordSchema).readonly(),
18567
18667
  nextCursor: zod.z.string().nullable()
18568
18668
  });
18669
+ var KEY_EVENTS_DEFAULT_LIMIT = 50;
18670
+ var KEY_EVENTS_MAX_LIMIT = 200;
18569
18671
  var KeyEventQueryInput = zod.z.object({
18570
18672
  deviceId: zod.z.number(),
18571
18673
  /** Window lower bound (track firstSeen ≥ since). */
18572
18674
  since: zod.z.number(),
18573
18675
  /** Window upper bound (track firstSeen ≤ until). */
18574
18676
  until: zod.z.number(),
18575
- limit: zod.z.number().int().min(1).max(200).default(50),
18677
+ limit: zod.z.number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
18576
18678
  /** Drop tracks scoring below this importance. */
18577
18679
  minImportance: zod.z.number().min(0).max(1).optional(),
18578
18680
  /** Restrict to a single class (e.g. 'person'). */
@@ -18594,6 +18696,32 @@ var KeyEventSchema = zod.z.object({
18594
18696
  ...TrackFlagFields,
18595
18697
  ...TrackRetrainFields
18596
18698
  });
18699
+ /** `getKeyEvents`' window and filters, asked of a SET of cameras at once. */
18700
+ var KeyEventBatchQueryInput = zod.z.object({
18701
+ deviceIds: zod.z.array(zod.z.number()).min(1).max(200),
18702
+ since: zod.z.number(),
18703
+ until: zod.z.number(),
18704
+ /** Applied PER CAMERA, exactly as `getKeyEvents.limit` is — never a total
18705
+ * across the set, which would let a busy camera starve a quiet one of its
18706
+ * rows and change what the merged feed contains. */
18707
+ limit: zod.z.number().int().min(1).max(KEY_EVENTS_MAX_LIMIT).default(KEY_EVENTS_DEFAULT_LIMIT),
18708
+ minImportance: zod.z.number().min(0).max(1).optional(),
18709
+ classFilter: zod.z.string().optional()
18710
+ });
18711
+ /**
18712
+ * One camera's key events in a batch answer.
18713
+ *
18714
+ * The row exists for every requested id. `getKeyEvents` degrades to `[]` on
18715
+ * error rather than throwing, so a camera whose store read failed and one with
18716
+ * no events in the window were ALREADY indistinguishable per camera — the
18717
+ * batch does not make that worse, and the row keeps the deviceId the single
18718
+ * method's output never carried (the caller used to stamp it from the fan-out
18719
+ * key, which only worked because there was one query per camera).
18720
+ */
18721
+ var KeyEventsForDeviceSchema = zod.z.object({
18722
+ deviceId: zod.z.number(),
18723
+ events: zod.z.array(KeyEventSchema).readonly()
18724
+ });
18597
18725
  var TrackedDetectionSchema = zod.z.object({
18598
18726
  trackId: zod.z.string(),
18599
18727
  className: zod.z.string(),
@@ -18813,6 +18941,47 @@ var RebuildStatusSchema = zod.z.object({
18813
18941
  /** Present when the pass ended by throwing. */
18814
18942
  error: zod.z.string().nullable()
18815
18943
  });
18944
+ /**
18945
+ * Acknowledgement that a debug-media reclaim STARTED.
18946
+ *
18947
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
18948
+ * it runs detached and this returns immediately. Awaiting it is how the
18949
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
18950
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
18951
+ */
18952
+ var MediaReclaimStartResultSchema = zod.z.object({
18953
+ started: zod.z.boolean(),
18954
+ /** True when a pass was already running; the new request is ignored. */
18955
+ alreadyRunning: zod.z.boolean()
18956
+ });
18957
+ var MediaReclaimInputSchema = zod.z.object({
18958
+ mode: zod.z.enum(["report", "reclaim"]).default("report"),
18959
+ scopes: zod.z.array(zod.z.enum(["motion-still", "track-filmstrip"])).min(1).optional(),
18960
+ deviceIds: zod.z.array(zod.z.number().int()).min(1).optional(),
18961
+ restart: zod.z.boolean().optional(),
18962
+ pageSize: zod.z.number().int().min(50).max(5e3).optional(),
18963
+ maxRowsPerDevice: zod.z.number().int().min(1).max(5e5).optional(),
18964
+ maxReclaimPerDevice: zod.z.number().int().min(1).max(5e5).optional(),
18965
+ maxBytesPerRun: zod.z.number().int().min(1).optional(),
18966
+ budgetMinutes: zod.z.number().int().min(1).max(720).optional(),
18967
+ throttleBytesPerSec: zod.z.number().int().min(64 * 1024).optional(),
18968
+ graceMinutes: zod.z.number().int().min(1).max(10080).optional()
18969
+ });
18970
+ var MediaReclaimStatusSchema = zod.z.object({
18971
+ running: zod.z.boolean(),
18972
+ mode: zod.z.enum(["report", "reclaim"]).nullable(),
18973
+ totalExamined: zod.z.number(),
18974
+ totalEligible: zod.z.number(),
18975
+ totalReclaimed: zod.z.number(),
18976
+ totalBytesReclaimed: zod.z.number(),
18977
+ totalRefused: zod.z.number(),
18978
+ /** Device+scope windows finished in this pass. */
18979
+ devicesDone: zod.z.number(),
18980
+ complete: zod.z.boolean().nullable(),
18981
+ startedAtMs: zod.z.number().nullable(),
18982
+ finishedAtMs: zod.z.number().nullable(),
18983
+ error: zod.z.string().nullable()
18984
+ });
18816
18985
  var ReplayFrameInputSchema = zod.z.object({
18817
18986
  timestamp: zod.z.number(),
18818
18987
  frame: PipelineRunResultBridge
@@ -18943,6 +19112,21 @@ var pipelineAnalyticsCapability = {
18943
19112
  * scored on-read (no write). Degrades to `[]` on error.
18944
19113
  */
18945
19114
  getKeyEvents: require_sleep.method(KeyEventQueryInput, zod.z.array(KeyEventSchema).readonly()),
19115
+ /**
19116
+ * The same ranking, for a SET of cameras, in one round trip.
19117
+ *
19118
+ * The Detection Intelligence events feed asks this of every selected
19119
+ * camera and re-asks on a 30s timer. Fanned out client-side that is N
19120
+ * round trips — browser → hub → post-analysis — for N independent,
19121
+ * already-indexed store queries. Batched, the queries are unchanged and
19122
+ * run concurrently INSIDE the owner; only the transport collapses.
19123
+ *
19124
+ * Deliberately per-device rather than pre-merged: `limit` stays per
19125
+ * camera (a total would let a busy camera starve a quiet one), and a
19126
+ * caller that renders one camera's lane needs to know which camera a row
19127
+ * came from. `getKeyEvents` stays for single-device callers.
19128
+ */
19129
+ getKeyEventsBatch: require_sleep.method(KeyEventBatchQueryInput, zod.z.array(KeyEventsForDeviceSchema).readonly()),
18946
19130
  /** Server-side bucketed event counts for the 24-hour timeline.
18947
19131
  * Returns one entry per non-empty bucket; empty buckets are omitted. */
18948
19132
  getEventDensity: require_sleep.method(zod.z.object({
@@ -19221,6 +19405,20 @@ var pipelineAnalyticsCapability = {
19221
19405
  auth: "admin"
19222
19406
  }),
19223
19407
  /**
19408
+ * Reclaim the standing debug-media backlog (motion-visit stills + track
19409
+ * filmstrips). DETACHED: returns `{ started }` immediately. The pass is
19410
+ * tens of minutes; awaiting it is a timeout, not a verdict. Dry-run unless
19411
+ * `mode: 'reclaim'`. Poll `getMediaReclaimStatus`.
19412
+ */
19413
+ reclaimDebugMedia: require_sleep.method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19414
+ kind: "mutation",
19415
+ auth: "admin"
19416
+ }),
19417
+ getMediaReclaimStatus: require_sleep.method(zod.z.object({}), MediaReclaimStatusSchema, {
19418
+ kind: "query",
19419
+ auth: "admin"
19420
+ }),
19421
+ /**
19224
19422
  * The CHEAP QUESTION, asked before any media moves: how big is the dataset
19225
19423
  * the marked (`markForTrain`) tracks would produce?
19226
19424
  *
@@ -31308,6 +31506,23 @@ var recordingCapability = {
31308
31506
  kind: "query",
31309
31507
  auth: "admin"
31310
31508
  }),
31509
+ /**
31510
+ * Does this location's LEDGER tell the truth about its disk? (D319)
31511
+ *
31512
+ * One `readdir` per claimed hour, diffed both ways: durable rows whose file
31513
+ * is not there, and files no durable row names. `apply` defaults to FALSE —
31514
+ * the report is the product, and the dry run is how an operator
31515
+ * sanity-checks the destructive run before authorising it.
31516
+ *
31517
+ * REFUSES a source that is still a write target: a listing of a live
31518
+ * location is a lower bound, which is not the strong evidence that lets
31519
+ * this pass forget without a budget. A live location is reconciled by the
31520
+ * mover, under D318's bound.
31521
+ */
31522
+ reconcileLedgerAgainstDisk: require_sleep.method(LedgerWalkInputSchema, LedgerWalkReportSchema, {
31523
+ kind: "mutation",
31524
+ auth: "admin"
31525
+ }),
31311
31526
  /** Cancel a running or queued relocate job. A queued job never runs. */
31312
31527
  cancelRelocateJob: require_sleep.method(zod.z.object({ jobId: zod.z.string() }), zod.z.object({ cancelled: zod.z.boolean() }), {
31313
31528
  kind: "mutation",
@@ -31809,6 +32024,25 @@ var SceneMonitorStatusSchema = zod.z.object({
31809
32024
  monitors: zod.z.array(SceneMonitorSchema),
31810
32025
  lastFetchedAt: zod.z.number()
31811
32026
  });
32027
+ /**
32028
+ * One camera's row in a `listScenesBatch` answer.
32029
+ *
32030
+ * `status` is NULLABLE and the nullability is the whole point. `scene-monitor`
32031
+ * is a `defaultActive` wrapper, so every camera is asked; a camera whose
32032
+ * provider is absent (pipeline-analytics not deployed, the post-processing node
32033
+ * down) cannot answer, and that is not the same fact as a camera with no scenes
32034
+ * configured. Fanned out per camera the difference was visible — one query
32035
+ * errored while the others resolved — and a batch that returned only the rows
32036
+ * it managed would have destroyed it, silently, by making an unreachable camera
32037
+ * indistinguishable from one that answered `monitors: []`.
32038
+ *
32039
+ * So: EVERY requested deviceId gets a row. `status: null` means "this camera
32040
+ * could not be read"; `status.monitors: []` means "read, and it has none".
32041
+ */
32042
+ var SceneMonitorStatusForDeviceSchema = zod.z.object({
32043
+ deviceId: zod.z.number(),
32044
+ status: SceneMonitorStatusSchema.nullable()
32045
+ });
31812
32046
  var sceneMonitorCapability = {
31813
32047
  name: "scene-monitor",
31814
32048
  scope: "device",
@@ -31818,6 +32052,22 @@ var sceneMonitorCapability = {
31818
32052
  deviceTypes: [require_sleep.DeviceType.Camera],
31819
32053
  methods: {
31820
32054
  listScenes: require_sleep.method(zod.z.object({ deviceId: zod.z.number() }), SceneMonitorStatusSchema),
32055
+ /**
32056
+ * The same answer, for a SET of cameras, in one round trip.
32057
+ *
32058
+ * `/scenes` renders every camera and re-reads them on a 30s safety-net
32059
+ * poll behind the push slice. Fanned out client-side that was one query
32060
+ * per camera — 29 round trips through the browser, the hub and the
32061
+ * post-analysis runner every 30 seconds to read an in-memory map the
32062
+ * owner had already merged. The work is unchanged (`statusFor` per
32063
+ * device, all in-process at the owner); what collapses is the transport.
32064
+ *
32065
+ * A camera that cannot answer still gets a row, with `status: null` —
32066
+ * see {@link SceneMonitorStatusForDeviceSchema}. Never fewer rows than
32067
+ * ids: a caller that asked for twenty-nine and got twenty-seven cannot
32068
+ * tell which two are missing, or that any are.
32069
+ */
32070
+ listScenesBatch: require_sleep.method(zod.z.object({ deviceIds: zod.z.array(zod.z.number()).min(1).max(200) }), zod.z.array(SceneMonitorStatusForDeviceSchema).readonly()),
31821
32071
  createScene: require_sleep.method(zod.z.object({
31822
32072
  deviceId: zod.z.number(),
31823
32073
  label: zod.z.string(),
@@ -34126,6 +34376,27 @@ var CameraOccupancySnapshotSchema = zod.z.object({
34126
34376
  stationaryObjects: zod.z.array(StationaryObjectSchema).readonly().optional()
34127
34377
  });
34128
34378
  /**
34379
+ * One camera's row in a `getCurrentSnapshotBatch` answer.
34380
+ *
34381
+ * THREE outcomes, and the single-camera method could only express two of them
34382
+ * because `snapshot: null` was already spoken for:
34383
+ *
34384
+ * - `read: 'read'`, `snapshot` present — the live occupancy reading.
34385
+ * - `read: 'read'`, `snapshot: null` — read, and this camera has no reading
34386
+ * yet: no frame since boot, and no parked-object registry to hydrate from.
34387
+ * - `read: 'unreadable'` — the owner could not answer for this
34388
+ * camera. `snapshot` is null, and it does NOT mean "nothing parked here".
34389
+ *
34390
+ * Collapsing the last two is the failure this field exists to prevent: a
34391
+ * hydration that threw would otherwise render as an empty Stationary section,
34392
+ * which is a definite claim about a camera nobody could read.
34393
+ */
34394
+ var CameraOccupancySnapshotForDeviceSchema = zod.z.object({
34395
+ deviceId: zod.z.number(),
34396
+ read: zod.z.enum(["read", "unreadable"]),
34397
+ snapshot: CameraOccupancySnapshotSchema.nullable()
34398
+ });
34399
+ /**
34129
34400
  * Time-series resolution. The history methods return one bucket per
34130
34401
  * step over the requested range. Smaller resolutions cost more
34131
34402
  * memory + bandwidth; bound to discrete steps so caller cannot ask
@@ -34182,6 +34453,20 @@ var zoneAnalyticsCapability = {
34182
34453
  * (no inference result emitted since boot or since binding was
34183
34454
  * activated). */
34184
34455
  getCurrentSnapshot: require_sleep.method(zod.z.object({ deviceId: zod.z.number() }), CameraOccupancySnapshotSchema.nullable()),
34456
+ /**
34457
+ * The same snapshot, for a SET of cameras, in one round trip.
34458
+ *
34459
+ * The Events page's Stationary section polls this every 15s for every
34460
+ * selected camera. Fanned out client-side that is one query per camera to
34461
+ * read a `Map.get` at the owner — the answer costs nothing, the round trip
34462
+ * costs everything. Batched, N transports become one and the per-device
34463
+ * work is unchanged.
34464
+ *
34465
+ * Every requested deviceId gets a row, tagged `read` — see
34466
+ * {@link CameraOccupancySnapshotForDeviceSchema}. A camera the owner could
34467
+ * not answer for is `'unreadable'`, never an empty reading.
34468
+ */
34469
+ getCurrentSnapshotBatch: require_sleep.method(zod.z.object({ deviceIds: zod.z.array(zod.z.number()).min(1).max(200) }), zod.z.array(CameraOccupancySnapshotForDeviceSchema).readonly()),
34185
34470
  /** Time-series object count inside one zone. `className` optional —
34186
34471
  * omit to count every class in the zone. */
34187
34472
  getZoneHistory: require_sleep.method(zod.z.object({
@@ -41619,6 +41904,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
41619
41904
  addonId: null,
41620
41905
  access: "view"
41621
41906
  },
41907
+ "pipelineAnalytics.getKeyEventsBatch": {
41908
+ capName: "pipeline-analytics",
41909
+ capScope: "device",
41910
+ addonId: null,
41911
+ access: "view"
41912
+ },
41913
+ "pipelineAnalytics.getMediaReclaimStatus": {
41914
+ capName: "pipeline-analytics",
41915
+ capScope: "device",
41916
+ addonId: null,
41917
+ access: "view"
41918
+ },
41622
41919
  "pipelineAnalytics.getMotionEvents": {
41623
41920
  capName: "pipeline-analytics",
41624
41921
  capScope: "device",
@@ -41793,6 +42090,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
41793
42090
  addonId: null,
41794
42091
  access: "create"
41795
42092
  },
42093
+ "pipelineAnalytics.reclaimDebugMedia": {
42094
+ capName: "pipeline-analytics",
42095
+ capScope: "device",
42096
+ addonId: null,
42097
+ access: "create"
42098
+ },
41796
42099
  "pipelineAnalytics.reconcileFromDisk": {
41797
42100
  capName: "pipeline-analytics",
41798
42101
  capScope: "device",
@@ -42795,6 +43098,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
42795
43098
  addonId: null,
42796
43099
  access: "view"
42797
43100
  },
43101
+ "recording.reconcileLedgerAgainstDisk": {
43102
+ capName: "recording",
43103
+ capScope: "system",
43104
+ addonId: null,
43105
+ access: "create"
43106
+ },
42798
43107
  "recording.refreshStorageLocationsForMigration": {
42799
43108
  capName: "recording",
42800
43109
  capScope: "system",
@@ -42921,6 +43230,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
42921
43230
  addonId: null,
42922
43231
  access: "view"
42923
43232
  },
43233
+ "sceneMonitor.listScenesBatch": {
43234
+ capName: "scene-monitor",
43235
+ capScope: "device",
43236
+ addonId: null,
43237
+ access: "view"
43238
+ },
42924
43239
  "sceneMonitor.recheckNow": {
42925
43240
  capName: "scene-monitor",
42926
43241
  capScope: "device",
@@ -44277,6 +44592,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
44277
44592
  addonId: null,
44278
44593
  access: "view"
44279
44594
  },
44595
+ "zoneAnalytics.getCurrentSnapshotBatch": {
44596
+ capName: "zone-analytics",
44597
+ capScope: "device",
44598
+ addonId: null,
44599
+ access: "view"
44600
+ },
44280
44601
  "zoneAnalytics.getUnzonedHistory": {
44281
44602
  capName: "zone-analytics",
44282
44603
  capScope: "device",
@@ -45544,6 +45865,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
45544
45865
  form: "single",
45545
45866
  optional: false
45546
45867
  }],
45868
+ "pipelineAnalytics.getKeyEventsBatch": [{
45869
+ name: "deviceIds",
45870
+ form: "array",
45871
+ optional: false
45872
+ }],
45547
45873
  "pipelineAnalytics.getMotionEvents": [{
45548
45874
  name: "deviceId",
45549
45875
  form: "single",
@@ -45649,6 +45975,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
45649
45975
  form: "single",
45650
45976
  optional: true
45651
45977
  }],
45978
+ "pipelineAnalytics.reclaimDebugMedia": [{
45979
+ name: "deviceIds",
45980
+ form: "array",
45981
+ optional: true
45982
+ }],
45652
45983
  "pipelineAnalytics.reconcileFromDisk": [{
45653
45984
  name: "deviceId",
45654
45985
  form: "single",
@@ -45984,6 +46315,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
45984
46315
  form: "single",
45985
46316
  optional: false
45986
46317
  }],
46318
+ "recording.reconcileLedgerAgainstDisk": [{
46319
+ name: "deviceId",
46320
+ form: "single",
46321
+ optional: true
46322
+ }],
45987
46323
  "recording.relocateFootage": [{
45988
46324
  name: "deviceId",
45989
46325
  form: "single",
@@ -46049,6 +46385,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
46049
46385
  form: "single",
46050
46386
  optional: false
46051
46387
  }],
46388
+ "sceneMonitor.listScenesBatch": [{
46389
+ name: "deviceIds",
46390
+ form: "array",
46391
+ optional: false
46392
+ }],
46052
46393
  "sceneMonitor.recheckNow": [{
46053
46394
  name: "deviceId",
46054
46395
  form: "single",
@@ -46310,6 +46651,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
46310
46651
  form: "single",
46311
46652
  optional: false
46312
46653
  }],
46654
+ "zoneAnalytics.getCurrentSnapshotBatch": [{
46655
+ name: "deviceIds",
46656
+ form: "array",
46657
+ optional: false
46658
+ }],
46313
46659
  "zoneAnalytics.getUnzonedHistory": [{
46314
46660
  name: "deviceId",
46315
46661
  form: "single",
@@ -46464,6 +46810,7 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
46464
46810
  "recording.readGopBytes",
46465
46811
  "recording.readSegmentBytes",
46466
46812
  "recording.readWindowBytes",
46813
+ "recording.reconcileLedgerAgainstDisk",
46467
46814
  "recording.relocateFootage",
46468
46815
  "recording.renderClip",
46469
46816
  "recording.renderGif",
@@ -47394,6 +47741,7 @@ function createSystemProxy(api) {
47394
47741
  relocateFootage: (input) => dispatch("recording", "relocateFootage", "mutation", input),
47395
47742
  listRelocateJobs: (input) => dispatch("recording", "listRelocateJobs", "query", input),
47396
47743
  getRelocateResidue: (input) => dispatch("recording", "getRelocateResidue", "query", input),
47744
+ reconcileLedgerAgainstDisk: (input) => dispatch("recording", "reconcileLedgerAgainstDisk", "mutation", input),
47397
47745
  cancelRelocateJob: (input) => dispatch("recording", "cancelRelocateJob", "mutation", input),
47398
47746
  planStorageRebalance: (input) => dispatch("recording", "planStorageRebalance", "query", input),
47399
47747
  startStorageRebalance: (input) => dispatch("recording", "startStorageRebalance", "mutation", input)
@@ -51644,6 +51992,7 @@ exports.CameraDetectionStatusSchema = CameraDetectionStatusSchema;
51644
51992
  exports.CameraMetricsSchema = CameraMetricsSchema;
51645
51993
  exports.CameraMetricsWithDeviceIdSchema = CameraMetricsWithDeviceIdSchema;
51646
51994
  exports.CameraMotionStatusSchema = CameraMotionStatusSchema;
51995
+ exports.CameraOccupancySnapshotForDeviceSchema = CameraOccupancySnapshotForDeviceSchema;
51647
51996
  exports.CameraRecordingModeSchema = CameraRecordingModeSchema;
51648
51997
  exports.CameraRecordingStatusSchema = CameraRecordingStatusSchema;
51649
51998
  exports.CameraSourceStatusSchema = CameraSourceStatusSchema;
@@ -51894,6 +52243,12 @@ exports.LabelDefinitionSchema = LabelDefinitionSchema;
51894
52243
  exports.LabelTierSchema = LabelTierSchema;
51895
52244
  exports.LawnMowerActivitySchema = LawnMowerActivitySchema;
51896
52245
  exports.LawnMowerControlStatusSchema = LawnMowerControlStatusSchema;
52246
+ exports.LedgerWalkDeviceReportSchema = LedgerWalkDeviceReportSchema;
52247
+ exports.LedgerWalkInputSchema = LedgerWalkInputSchema;
52248
+ exports.LedgerWalkRefusalSchema = LedgerWalkRefusalSchema;
52249
+ exports.LedgerWalkReportSchema = LedgerWalkReportSchema;
52250
+ exports.LedgerWalkSkipCountsSchema = LedgerWalkSkipCountsSchema;
52251
+ exports.LedgerWalkSkipReasonSchema = LedgerWalkSkipReasonSchema;
51897
52252
  exports.LinkedDeviceSchema = LinkedDeviceSchema;
51898
52253
  exports.LinkedDevicesModeSchema = LinkedDevicesModeSchema;
51899
52254
  exports.ListGroupsPageSchema = ListGroupsPageSchema;
@@ -52315,6 +52670,7 @@ exports.SceneConditionSchema = SceneConditionSchema;
52315
52670
  exports.SceneConfirmSchema = SceneConfirmSchema;
52316
52671
  exports.SceneMonitorSchema = SceneMonitorSchema;
52317
52672
  exports.SceneMonitorStateSchema = SceneMonitorStateSchema;
52673
+ exports.SceneMonitorStatusForDeviceSchema = SceneMonitorStatusForDeviceSchema;
52318
52674
  exports.SceneMonitorStatusSchema = SceneMonitorStatusSchema;
52319
52675
  exports.SceneReferenceSchema = SceneReferenceSchema;
52320
52676
  exports.SceneUnavailableSchema = SceneUnavailableSchema;