@camstack/types 1.1.48 → 1.1.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.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-BoTIF1d4.js");
3
- const require_event_category = require("./event-category-AkBNxg_X.js");
2
+ const require_sleep = require("./sleep-CF-UWPp0.js");
3
+ const require_event_category = require("./event-category-CGj9fI4L.js");
4
4
  const require_enums = require("./enums.js");
5
5
  const require_err_msg = require("./err-msg-COpsHMw2.js");
6
6
  let zod = require("zod");
@@ -1048,6 +1048,71 @@ function migrateConfigToBands(config) {
1048
1048
  return schedules.map((schedule) => bandFromSchedule(schedule, bandMode, config));
1049
1049
  }
1050
1050
  //#endregion
1051
+ //#region src/interfaces/ops-log.ts
1052
+ /**
1053
+ * Ops-log — the durable, append-only operations audit shared by the
1054
+ * recordings and events management surfaces.
1055
+ *
1056
+ * ONE row shape is reused for both domains so a single "Activity" view can
1057
+ * merge the recorder's DurableState ring (recordings ops-log) and the
1058
+ * pipeline-analytics SQLite collection (events ops-log). Each row records a
1059
+ * management operation, WHY it ran (reason), and its measurable effect
1060
+ * (itemsAffected + bytesReclaimed). Writes are best-effort — a failed log must
1061
+ * never fail the operation it records.
1062
+ */
1063
+ /** Which management domain the operation belongs to. */
1064
+ var OpsLogDomainSchema = zod.z.enum(["recording", "events"]);
1065
+ /** The kind of management operation performed. */
1066
+ var OpsLogOpSchema = zod.z.enum([
1067
+ "prune",
1068
+ "manual-delete",
1069
+ "rescan",
1070
+ "retention-run"
1071
+ ]);
1072
+ /** Why the operation ran. */
1073
+ var OpsLogReasonSchema = zod.z.enum([
1074
+ "retention",
1075
+ "quota",
1076
+ "manual",
1077
+ "operator"
1078
+ ]);
1079
+ /** One audit row, shared verbatim by both domains. */
1080
+ var OpsLogEntrySchema = zod.z.object({
1081
+ /** Unique row id. */
1082
+ id: zod.z.string(),
1083
+ /** Epoch ms the operation completed. */
1084
+ at: zod.z.number(),
1085
+ domain: OpsLogDomainSchema,
1086
+ op: OpsLogOpSchema,
1087
+ reason: OpsLogReasonSchema,
1088
+ /** The camera the op targeted; null for a cluster/global op. */
1089
+ deviceId: zod.z.number().nullable(),
1090
+ /** Node that performed the op (the log carries nodeId — no cross-node aggregation). */
1091
+ nodeId: zod.z.string(),
1092
+ /** Buckets / rows deleted (op-specific unit). */
1093
+ itemsAffected: zod.z.number(),
1094
+ /** Bytes reclaimed by the op (0 when not measurable). */
1095
+ bytesReclaimed: zod.z.number(),
1096
+ /** Free-text detail (e.g. "floor moved to <ts>"); null when none. */
1097
+ detail: zod.z.string().nullable(),
1098
+ /** Who/what triggered the op. */
1099
+ actor: zod.z.string()
1100
+ });
1101
+ /** Shared query input for the per-domain `listOpsLog` cap methods. */
1102
+ var OpsLogQueryInputSchema = zod.z.object({
1103
+ /** Restrict to a single camera; omit for every row. */
1104
+ deviceId: zod.z.number().optional(),
1105
+ /** Max rows returned, newest-first. */
1106
+ limit: zod.z.number().int().min(1).max(1e3).optional()
1107
+ });
1108
+ /**
1109
+ * Default cap on the recorder's DurableState ops-log ring — the newest N rows
1110
+ * survive; older ones are evicted on append.
1111
+ */
1112
+ var OPS_LOG_RING_DEFAULT_MAX = 500;
1113
+ /** Default page size for a `listOpsLog` query when the caller omits `limit`. */
1114
+ var OPS_LOG_DEFAULT_LIMIT = 200;
1115
+ //#endregion
1051
1116
  //#region src/interfaces/storage-location.ts
1052
1117
  /**
1053
1118
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
@@ -2271,6 +2336,10 @@ var MACRO_LABELS = [
2271
2336
  {
2272
2337
  id: "animal",
2273
2338
  name: "Animal"
2339
+ },
2340
+ {
2341
+ id: "package",
2342
+ name: "Package"
2274
2343
  }
2275
2344
  ];
2276
2345
  var COCO_TO_MACRO = {
@@ -2293,7 +2362,10 @@ var COCO_TO_MACRO = {
2293
2362
  elephant: "animal",
2294
2363
  bear: "animal",
2295
2364
  zebra: "animal",
2296
- giraffe: "animal"
2365
+ giraffe: "animal",
2366
+ suitcase: "package",
2367
+ backpack: "package",
2368
+ handbag: "package"
2297
2369
  },
2298
2370
  preserveOriginal: false
2299
2371
  };
@@ -11001,7 +11073,11 @@ var ZoneRulesArraySchema = zod.z.array(ZoneRuleSchema).readonly();
11001
11073
  * Extend the enum here when a new gating consumer comes online (audio
11002
11074
  * gating, alert filtering, …) — no other surface needs to change.
11003
11075
  */
11004
- var ZoneRuleStageEnum = zod.z.enum(["motion", "detection"]);
11076
+ var ZoneRuleStageEnum = zod.z.enum([
11077
+ "motion",
11078
+ "detection",
11079
+ "package"
11080
+ ]);
11005
11081
  /**
11006
11082
  * Zone rules capability — per-camera CRUD over the {@link ZoneRule}
11007
11083
  * arrays that decide how each pipeline stage uses the polygon zones.
@@ -11045,16 +11121,25 @@ var zoneRulesCapability = {
11045
11121
  })
11046
11122
  },
11047
11123
  /**
11048
- * Runtime-state slice — both stages mirrored together so consumers
11124
+ * Runtime-state slice — every stage mirrored together so consumers
11049
11125
  * see one reactive handle (`device.state.zoneRules.value`) instead
11050
- * of two. Bulk-replace mutations on either stage write the full
11051
- * `{motion, detection}` shape, so subscribers always get the
11126
+ * of one per stage. Bulk-replace mutations on any stage write the full
11127
+ * `{motion, detection, package}` shape, so subscribers always get the
11052
11128
  * complete current set. Consumers that only care about one stage
11053
11129
  * just read the matching property.
11130
+ *
11131
+ * `package` backs the package-drop detector — a package zone is a
11132
+ * `ZoneRule` on the `'package'` stage referencing drawn polygons
11133
+ * (see docs/superpowers/specs/2026-07-17-package-zones-design.md §3.1).
11134
+ * The orchestrator provider writes this stage as a first-class slice
11135
+ * (Phase 4): every mutation mirrors the full `{motion, detection,
11136
+ * package}` shape, so consumers read the current package rules directly
11137
+ * off `device.state.zoneRules.value.package`.
11054
11138
  */
11055
11139
  runtimeState: zod.z.object({
11056
11140
  motion: zod.z.array(ZoneRuleSchema).readonly(),
11057
- detection: zod.z.array(ZoneRuleSchema).readonly()
11141
+ detection: zod.z.array(ZoneRuleSchema).readonly(),
11142
+ package: zod.z.array(ZoneRuleSchema).readonly()
11058
11143
  })
11059
11144
  };
11060
11145
  //#endregion
@@ -13054,7 +13139,16 @@ function createSystemProxy(api) {
13054
13139
  assignPlates: (input) => dispatch("plateGallery", "assignPlates", "mutation", input),
13055
13140
  unassignPlates: (input) => dispatch("plateGallery", "unassignPlates", "mutation", input)
13056
13141
  },
13057
- recording: { getStorageUsage: (input) => dispatch("recording", "getStorageUsage", "query", input) },
13142
+ recording: {
13143
+ getStorageUsage: (input) => dispatch("recording", "getStorageUsage", "query", input),
13144
+ listOpsLog: (input) => dispatch("recording", "listOpsLog", "query", input)
13145
+ },
13146
+ recordingExport: {
13147
+ getExport: (input) => dispatch("recordingExport", "getExport", "query", input),
13148
+ cancelExport: (input) => dispatch("recordingExport", "cancelExport", "mutation", input),
13149
+ deleteExport: (input) => dispatch("recordingExport", "deleteExport", "mutation", input),
13150
+ getDownloadUrl: (input) => dispatch("recordingExport", "getDownloadUrl", "query", input)
13151
+ },
13058
13152
  serverManagement: {
13059
13153
  getServerPackageStatus: (input) => dispatch("serverManagement", "getServerPackageStatus", "query", input),
13060
13154
  checkServerUpdate: (input) => dispatch("serverManagement", "checkServerUpdate", "mutation", input),
@@ -18319,6 +18413,7 @@ var EventKindIconSchema = zod.z.enum([
18319
18413
  "smoke",
18320
18414
  "water",
18321
18415
  "button",
18416
+ "package",
18322
18417
  "generic"
18323
18418
  ]);
18324
18419
  var EventKindCategorySchema = zod.z.enum([
@@ -18326,7 +18421,8 @@ var EventKindCategorySchema = zod.z.enum([
18326
18421
  "audio",
18327
18422
  "detection",
18328
18423
  "sensor",
18329
- "custom"
18424
+ "custom",
18425
+ "package"
18330
18426
  ]);
18331
18427
  var EventKindDescriptorSchema = zod.z.object({
18332
18428
  /** Stable kind id (e.g. 'motion', 'person', 'contact'). */
@@ -18667,6 +18763,26 @@ var TrackCascadeCountsSchema = zod.z.object({
18667
18763
  /** Per-track CLIP search vectors removed (best-effort). */
18668
18764
  embeddings: zod.z.number().int()
18669
18765
  });
18766
+ /** Event-store footprint for one camera. */
18767
+ var EventStoreDeviceFootprintSchema = zod.z.object({
18768
+ deviceId: zod.z.number(),
18769
+ /** Persisted event rows (motion + object + audio) for the camera. */
18770
+ rows: zod.z.number().int(),
18771
+ /** Event-owned media bytes on disk for the camera. */
18772
+ bytes: zod.z.number().int()
18773
+ });
18774
+ /** Aggregate event-store footprint: global totals + per-camera breakdown. */
18775
+ var EventStoreFootprintSchema = zod.z.object({
18776
+ totalRows: zod.z.number().int(),
18777
+ totalBytes: zod.z.number().int(),
18778
+ devices: zod.z.array(EventStoreDeviceFootprintSchema).readonly()
18779
+ });
18780
+ /** Per-kind counts returned by the event-prune / device-delete mutations. */
18781
+ var EventPruneCountsSchema = zod.z.object({
18782
+ motion: zod.z.number().int(),
18783
+ object: zod.z.number().int(),
18784
+ audio: zod.z.number().int()
18785
+ });
18670
18786
  var pipelineAnalyticsCapability = {
18671
18787
  name: "pipeline-analytics",
18672
18788
  scope: "device",
@@ -18828,6 +18944,45 @@ var pipelineAnalyticsCapability = {
18828
18944
  kind: "mutation",
18829
18945
  auth: "admin"
18830
18946
  }),
18947
+ /**
18948
+ * Durable event-store footprint for the management UI: event rows
18949
+ * (motion + object + audio) counted per camera + total, plus the
18950
+ * event-owned media bytes on disk per camera + total. Stat/count-based,
18951
+ * computed on demand.
18952
+ */
18953
+ getEventStoreFootprint: require_sleep.method(zod.z.object({}), EventStoreFootprintSchema, {
18954
+ kind: "query",
18955
+ auth: "admin"
18956
+ }),
18957
+ /**
18958
+ * Cluster-wide prune of events older than `olderThanMs` (exclusive) across
18959
+ * every camera, deleting each event's media in lockstep. Logged to the
18960
+ * events ops-log with `reason` (default `'retention'`). Returns the summed
18961
+ * per-kind deleted counts.
18962
+ */
18963
+ pruneEvents: require_sleep.method(zod.z.object({
18964
+ olderThanMs: zod.z.number(),
18965
+ reason: OpsLogReasonSchema.optional()
18966
+ }), EventPruneCountsSchema, {
18967
+ kind: "mutation",
18968
+ auth: "admin"
18969
+ }),
18970
+ /**
18971
+ * Manually delete EVERY event (motion + object + audio) for one camera and
18972
+ * its event-owned media in lockstep. Logged to the events ops-log as
18973
+ * `op:'manual-delete', reason:'manual'`. Destructive — the admin UI guards
18974
+ * it behind a confirm.
18975
+ */
18976
+ deleteDeviceEvents: require_sleep.method(zod.z.object({ deviceId: zod.z.number() }), EventPruneCountsSchema, {
18977
+ kind: "mutation",
18978
+ auth: "admin"
18979
+ }),
18980
+ /** The events ops-log rows (newest-first), optionally scoped to one camera.
18981
+ * Backed by a declared pipeline-analytics SQLite collection. */
18982
+ listOpsLog: require_sleep.method(OpsLogQueryInputSchema, zod.z.array(OpsLogEntrySchema).readonly(), {
18983
+ kind: "query",
18984
+ auth: "admin"
18985
+ }),
18831
18986
  getEventMedia: require_sleep.method(zod.z.object({
18832
18987
  eventId: zod.z.string(),
18833
18988
  kind: MediaFileKindEnum.optional()
@@ -23565,14 +23720,164 @@ var recordingCapability = {
23565
23720
  auth: "admin"
23566
23721
  }),
23567
23722
  /** Apply this device's retention policy to footage now; returns the oldest
23568
- * surviving footage start (the retention floor) or null if no footage. */
23569
- pruneFootage: require_sleep.method(zod.z.object({ deviceId: zod.z.number() }), zod.z.object({
23723
+ * surviving footage start (the retention floor) or null if no footage. The
23724
+ * prune is logged to the recordings ops-log with `reason` (default
23725
+ * `'retention'` — the policy-driven prune; `'quota'` when disk-pressure
23726
+ * triggered). */
23727
+ pruneFootage: require_sleep.method(zod.z.object({
23728
+ deviceId: zod.z.number(),
23729
+ reason: OpsLogReasonSchema.optional()
23730
+ }), zod.z.object({
23570
23731
  floorMs: zod.z.number().nullable(),
23571
23732
  deletedBuckets: zod.z.number().int(),
23572
23733
  reclaimedBytes: zod.z.number().int()
23573
23734
  }), {
23574
23735
  kind: "mutation",
23575
23736
  auth: "admin"
23737
+ }),
23738
+ /**
23739
+ * Manually delete a camera's footage — the whole footprint, or a
23740
+ * `[fromMs, toMs)` window when either bound is given. Logged to the
23741
+ * recordings ops-log as `op:'manual-delete', reason:'manual'`. Destructive:
23742
+ * the admin UI guards it behind a confirm.
23743
+ */
23744
+ deleteFootprint: require_sleep.method(zod.z.object({
23745
+ deviceId: zod.z.number(),
23746
+ fromMs: zod.z.number().optional(),
23747
+ toMs: zod.z.number().optional()
23748
+ }), zod.z.object({
23749
+ deletedBuckets: zod.z.number().int(),
23750
+ reclaimedBytes: zod.z.number().int()
23751
+ }), {
23752
+ kind: "mutation",
23753
+ auth: "admin"
23754
+ }),
23755
+ /** The recordings ops-log rows (newest-first), optionally scoped to one
23756
+ * camera. Backed by the recorder's bounded DurableState ring. */
23757
+ listOpsLog: require_sleep.method(OpsLogQueryInputSchema, zod.z.array(OpsLogEntrySchema).readonly(), {
23758
+ kind: "query",
23759
+ auth: "admin"
23760
+ })
23761
+ }
23762
+ };
23763
+ //#endregion
23764
+ //#region src/capabilities/recording-export.cap.ts
23765
+ /**
23766
+ * `recordingExport` cap — render a footage time range into a single downloadable
23767
+ * MP4 (regular / accelerated / decelerated / timelapse, ± audio), kept for a
23768
+ * bounded lifetime with a durable history, auto-expiry, and optional
23769
+ * delete-after-download.
23770
+ *
23771
+ * Like `recording` this is a `scope:'system', mode:'singleton'` cap: the
23772
+ * recorder self-gates so exactly ONE node (the designated `recordingNodeId`,
23773
+ * default `hub`) registers it. Device-scoped methods carry `deviceId` in their
23774
+ * input and dispatch to that single provider; the render runs on the node that
23775
+ * owns the footage (no cross-node segment transfer). Download rides the
23776
+ * framework addon data-plane. State persists in a DurableState blob (NOT
23777
+ * SQLite); history rows survive file deletion for audit.
23778
+ */
23779
+ /** Playback-speed multiplier for the render (1 = realtime). */
23780
+ var ExportSpeedSchema = zod.z.number().min(.25).max(32);
23781
+ /** Timelapse cadence — sample one source frame per `everyMs`, output at `outputFps`. */
23782
+ var ExportTimelapseSchema = zod.z.object({
23783
+ everyMs: zod.z.number().int().positive(),
23784
+ outputFps: zod.z.number().int().min(1).max(60).optional()
23785
+ });
23786
+ /**
23787
+ * Render options. `speed` and `timelapse` are mutually exclusive. `includeAudio`
23788
+ * is honoured only for a realtime-ish speed (0.5–2×); timelapse is always
23789
+ * silent. `maxLifeMs` bounds how long the finished file is kept;
23790
+ * `deleteAfterDownload` removes it shortly after the first complete download.
23791
+ */
23792
+ var ExportOptionsSchema = zod.z.object({
23793
+ speed: ExportSpeedSchema.optional(),
23794
+ timelapse: ExportTimelapseSchema.optional(),
23795
+ includeAudio: zod.z.boolean(),
23796
+ maxLifeMs: zod.z.number().int().positive(),
23797
+ deleteAfterDownload: zod.z.boolean(),
23798
+ title: zod.z.string().max(200).optional()
23799
+ }).superRefine((v, ctx) => {
23800
+ if (v.speed !== void 0 && v.timelapse !== void 0) ctx.addIssue({
23801
+ code: zod.z.ZodIssueCode.custom,
23802
+ message: "speed and timelapse are mutually exclusive",
23803
+ path: ["timelapse"]
23804
+ });
23805
+ });
23806
+ var ExportStateSchema = zod.z.enum([
23807
+ "queued",
23808
+ "rendering",
23809
+ "ready",
23810
+ "failed",
23811
+ "expired",
23812
+ "deleted"
23813
+ ]);
23814
+ /** One export job / history row. */
23815
+ var ExportRecordSchema = zod.z.object({
23816
+ id: zod.z.string(),
23817
+ deviceId: zod.z.number(),
23818
+ profile: zod.z.string(),
23819
+ fromMs: zod.z.number(),
23820
+ toMs: zod.z.number(),
23821
+ options: ExportOptionsSchema,
23822
+ state: ExportStateSchema,
23823
+ /** 0–100 while rendering; null otherwise. */
23824
+ progressPct: zod.z.number().nullable(),
23825
+ /** File size once ready; null before. */
23826
+ fileBytes: zod.z.number().nullable(),
23827
+ expiresAt: zod.z.number(),
23828
+ deleteAfterDownload: zod.z.boolean(),
23829
+ /** Epoch of the first complete download; null until then. */
23830
+ downloadedAt: zod.z.number().nullable(),
23831
+ createdAt: zod.z.number(),
23832
+ /** User id/name that requested the export. */
23833
+ createdBy: zod.z.string(),
23834
+ /** Failure reason when state is 'failed'; null otherwise. */
23835
+ error: zod.z.string().nullable()
23836
+ });
23837
+ /** Candidate download URLs (LAN first, then operator extra hosts). */
23838
+ var ExportDownloadSchema = zod.z.object({
23839
+ url: zod.z.string(),
23840
+ endpoints: zod.z.array(zod.z.string())
23841
+ });
23842
+ var recordingExportCapability = {
23843
+ name: "recordingExport",
23844
+ scope: "system",
23845
+ mode: "singleton",
23846
+ methods: {
23847
+ /** Queue a render of `[fromMs,toMs)` for `deviceId`/`profile`. Fails fast
23848
+ * when no footage covers the range. Returns the queued record. */
23849
+ createExport: require_sleep.method(zod.z.object({
23850
+ deviceId: zod.z.number(),
23851
+ profile: zod.z.string(),
23852
+ fromMs: zod.z.number(),
23853
+ toMs: zod.z.number(),
23854
+ options: ExportOptionsSchema
23855
+ }), ExportRecordSchema, {
23856
+ kind: "mutation",
23857
+ auth: "protected"
23858
+ }),
23859
+ /** All export rows (history included), optionally scoped to one device. */
23860
+ listExports: require_sleep.method(zod.z.object({ deviceId: zod.z.number().optional() }), zod.z.array(ExportRecordSchema), {
23861
+ kind: "query",
23862
+ auth: "protected"
23863
+ }),
23864
+ getExport: require_sleep.method(zod.z.object({ exportId: zod.z.string() }), ExportRecordSchema, {
23865
+ kind: "query",
23866
+ auth: "protected"
23867
+ }),
23868
+ /** Abort a queued/rendering export; the partial file is removed. */
23869
+ cancelExport: require_sleep.method(zod.z.object({ exportId: zod.z.string() }), ExportRecordSchema, {
23870
+ kind: "mutation",
23871
+ auth: "protected"
23872
+ }),
23873
+ /** Remove the file but keep the history row (state → 'deleted'). */
23874
+ deleteExport: require_sleep.method(zod.z.object({ exportId: zod.z.string() }), ExportRecordSchema, {
23875
+ kind: "mutation",
23876
+ auth: "protected"
23877
+ }),
23878
+ getDownloadUrl: require_sleep.method(zod.z.object({ exportId: zod.z.string() }), ExportDownloadSchema, {
23879
+ kind: "query",
23880
+ auth: "protected"
23576
23881
  })
23577
23882
  }
23578
23883
  };
@@ -24368,6 +24673,7 @@ var CAPABILITY_NAMES = {
24368
24673
  ptzAutotrack: "ptz-autotrack",
24369
24674
  reboot: "reboot",
24370
24675
  recording: "recording",
24676
+ recordingExport: "recordingExport",
24371
24677
  sceneMonitor: "scene-monitor",
24372
24678
  scriptRunner: "script-runner",
24373
24679
  serverManagement: "server-management",
@@ -24833,6 +25139,10 @@ var CAPABILITY_ROUTER_KEYS = [
24833
25139
  key: "recording",
24834
25140
  name: "recording"
24835
25141
  },
25142
+ {
25143
+ key: "recordingExport",
25144
+ name: "recordingExport"
25145
+ },
24836
25146
  {
24837
25147
  key: "sceneMonitor",
24838
25148
  name: "scene-monitor"
@@ -25087,6 +25397,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
25087
25397
  ptzAutotrackCapability,
25088
25398
  rebootCapability,
25089
25399
  recordingCapability,
25400
+ recordingExportCapability,
25090
25401
  sceneMonitorCapability,
25091
25402
  scriptRunnerCapability,
25092
25403
  serverManagementCapability,
@@ -27908,6 +28219,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27908
28219
  addonId: null,
27909
28220
  access: "delete"
27910
28221
  },
28222
+ "pipelineAnalytics.deleteDeviceEvents": {
28223
+ capName: "pipeline-analytics",
28224
+ capScope: "device",
28225
+ addonId: null,
28226
+ access: "delete"
28227
+ },
27911
28228
  "pipelineAnalytics.deleteTracks": {
27912
28229
  capName: "pipeline-analytics",
27913
28230
  capScope: "device",
@@ -27938,6 +28255,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27938
28255
  addonId: null,
27939
28256
  access: "view"
27940
28257
  },
28258
+ "pipelineAnalytics.getEventStoreFootprint": {
28259
+ capName: "pipeline-analytics",
28260
+ capScope: "device",
28261
+ addonId: null,
28262
+ access: "view"
28263
+ },
27941
28264
  "pipelineAnalytics.getKeyEvents": {
27942
28265
  capName: "pipeline-analytics",
27943
28266
  capScope: "device",
@@ -27980,6 +28303,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27980
28303
  addonId: null,
27981
28304
  access: "view"
27982
28305
  },
28306
+ "pipelineAnalytics.listOpsLog": {
28307
+ capName: "pipeline-analytics",
28308
+ capScope: "device",
28309
+ addonId: null,
28310
+ access: "view"
28311
+ },
27983
28312
  "pipelineAnalytics.listRecentTracks": {
27984
28313
  capName: "pipeline-analytics",
27985
28314
  capScope: "device",
@@ -27992,6 +28321,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
27992
28321
  addonId: null,
27993
28322
  access: "view"
27994
28323
  },
28324
+ "pipelineAnalytics.pruneEvents": {
28325
+ capName: "pipeline-analytics",
28326
+ capScope: "device",
28327
+ addonId: null,
28328
+ access: "create"
28329
+ },
27995
28330
  "pipelineAnalytics.pruneEventsBefore": {
27996
28331
  capName: "pipeline-analytics",
27997
28332
  capScope: "device",
@@ -28754,6 +29089,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
28754
29089
  addonId: null,
28755
29090
  access: "create"
28756
29091
  },
29092
+ "recording.deleteFootprint": {
29093
+ capName: "recording",
29094
+ capScope: "system",
29095
+ addonId: null,
29096
+ access: "delete"
29097
+ },
28757
29098
  "recording.getAvailability": {
28758
29099
  capName: "recording",
28759
29100
  capScope: "system",
@@ -28784,6 +29125,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
28784
29125
  addonId: null,
28785
29126
  access: "view"
28786
29127
  },
29128
+ "recording.listOpsLog": {
29129
+ capName: "recording",
29130
+ capScope: "system",
29131
+ addonId: null,
29132
+ access: "view"
29133
+ },
28787
29134
  "recording.locateSegment": {
28788
29135
  capName: "recording",
28789
29136
  capScope: "system",
@@ -28814,6 +29161,42 @@ var METHOD_ACCESS_MAP = Object.freeze({
28814
29161
  addonId: null,
28815
29162
  access: "create"
28816
29163
  },
29164
+ "recordingExport.cancelExport": {
29165
+ capName: "recordingExport",
29166
+ capScope: "system",
29167
+ addonId: null,
29168
+ access: "create"
29169
+ },
29170
+ "recordingExport.createExport": {
29171
+ capName: "recordingExport",
29172
+ capScope: "system",
29173
+ addonId: null,
29174
+ access: "create"
29175
+ },
29176
+ "recordingExport.deleteExport": {
29177
+ capName: "recordingExport",
29178
+ capScope: "system",
29179
+ addonId: null,
29180
+ access: "delete"
29181
+ },
29182
+ "recordingExport.getDownloadUrl": {
29183
+ capName: "recordingExport",
29184
+ capScope: "system",
29185
+ addonId: null,
29186
+ access: "view"
29187
+ },
29188
+ "recordingExport.getExport": {
29189
+ capName: "recordingExport",
29190
+ capScope: "system",
29191
+ addonId: null,
29192
+ access: "view"
29193
+ },
29194
+ "recordingExport.listExports": {
29195
+ capName: "recordingExport",
29196
+ capScope: "system",
29197
+ addonId: null,
29198
+ access: "view"
29199
+ },
28817
29200
  "sceneMonitor.captureReference": {
28818
29201
  capName: "scene-monitor",
28819
29202
  capScope: "device",
@@ -30025,6 +30408,7 @@ var KNOWN_CAP_NAMES = [
30025
30408
  "ptz-autotrack",
30026
30409
  "reboot",
30027
30410
  "recording",
30411
+ "recordingExport",
30028
30412
  "scene-monitor",
30029
30413
  "script-runner",
30030
30414
  "server-management",
@@ -30161,6 +30545,7 @@ var SYSTEM_CAP_NAMES = [
30161
30545
  "plate-gallery",
30162
30546
  "platform-probe",
30163
30547
  "recording",
30548
+ "recordingExport",
30164
30549
  "server-management",
30165
30550
  "settings-store",
30166
30551
  "smtp-provider",
@@ -30970,8 +31355,14 @@ exports.EventKindDescriptorSchema = EventKindDescriptorSchema;
30970
31355
  exports.EventKindIconSchema = EventKindIconSchema;
30971
31356
  exports.EventKindSchema = EventKindSchema;
30972
31357
  exports.EventSourceType = require_enums.EventSourceType$1;
31358
+ exports.ExportDownloadSchema = ExportDownloadSchema;
31359
+ exports.ExportOptionsSchema = ExportOptionsSchema;
31360
+ exports.ExportRecordSchema = ExportRecordSchema;
30973
31361
  exports.ExportSetupFieldSchema = ExportSetupFieldSchema;
30974
31362
  exports.ExportSetupSchema = ExportSetupSchema;
31363
+ exports.ExportSpeedSchema = ExportSpeedSchema;
31364
+ exports.ExportStateSchema = ExportStateSchema;
31365
+ exports.ExportTimelapseSchema = ExportTimelapseSchema;
30975
31366
  exports.ExposedDeviceSchema = ExposedDeviceSchema;
30976
31367
  exports.ExposureModeSchema = ExposureModeSchema;
30977
31368
  exports.ExpressionEvalError = ExpressionEvalError;
@@ -31105,8 +31496,15 @@ exports.NotificationRuleSchema = NotificationRuleSchema;
31105
31496
  exports.NotificationSchema = NotificationSchema;
31106
31497
  exports.NotifierStatusSchema = NotifierStatusSchema;
31107
31498
  exports.NumericSensorStatusSchema = NumericSensorStatusSchema;
31499
+ exports.OPS_LOG_DEFAULT_LIMIT = OPS_LOG_DEFAULT_LIMIT;
31500
+ exports.OPS_LOG_RING_DEFAULT_MAX = OPS_LOG_RING_DEFAULT_MAX;
31108
31501
  exports.OauthIntegrationDescriptorSchema = OauthIntegrationDescriptorSchema;
31109
31502
  exports.ObjectEventSchema = ObjectEventSchema;
31503
+ exports.OpsLogDomainSchema = OpsLogDomainSchema;
31504
+ exports.OpsLogEntrySchema = OpsLogEntrySchema;
31505
+ exports.OpsLogOpSchema = OpsLogOpSchema;
31506
+ exports.OpsLogQueryInputSchema = OpsLogQueryInputSchema;
31507
+ exports.OpsLogReasonSchema = OpsLogReasonSchema;
31110
31508
  exports.OrchestratorMetricsSchema = OrchestratorMetricsSchema;
31111
31509
  exports.OsdOverlayKindEnum = OsdOverlayKindEnum;
31112
31510
  exports.OsdOverlayPatchSchema = OsdOverlayPatchSchema;
@@ -31549,6 +31947,7 @@ exports.readNodePin = readNodePin;
31549
31947
  exports.readinessKey = require_sleep.readinessKey;
31550
31948
  exports.rebootCapability = rebootCapability;
31551
31949
  exports.recordingCapability = recordingCapability;
31950
+ exports.recordingExportCapability = recordingExportCapability;
31552
31951
  exports.rectsToCells = rectsToCells;
31553
31952
  exports.requiresPython = requiresPython;
31554
31953
  exports.resolveAddonExecution = resolveAddonExecution;