@camstack/addon-post-analysis 1.2.273 → 1.2.274

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.
@@ -5390,7 +5390,7 @@ var ZodIssueCode = {
5390
5390
  var ZodFirstPartyTypeKind;
5391
5391
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5392
5392
  //#endregion
5393
- //#region ../types/dist/sleep-CaB_hL5g.mjs
5393
+ //#region ../types/dist/sleep-PEo0-Fz9.mjs
5394
5394
  /**
5395
5395
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5396
5396
  * window to float samples (D455).
@@ -6526,6 +6526,24 @@ function normalizeAddonInitResult(result) {
6526
6526
  if (Array.isArray(result)) return { providers: result };
6527
6527
  return result;
6528
6528
  }
6529
+ /** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
6530
+ var PeerBytesTicketSchema = object({
6531
+ /** `http://127.0.0.1:<port>/<token>`. One `GET` takes it. */
6532
+ url: string().min(1),
6533
+ /**
6534
+ * The HOST node this URL means something on — the hub or a named agent,
6535
+ * never a runner. {@link AddonPeerBytes.open} compares it to its own and
6536
+ * refuses `cross-node` by name when they differ, without dialling.
6537
+ */
6538
+ hostNodeId: string().min(1),
6539
+ expiresAtMs: number().int().nonnegative(),
6540
+ /**
6541
+ * What the producer DECLARED the body to be, when it knows — `null` when it
6542
+ * does not. Never `0` for unknown (D393): a consumer sizing a bound off this
6543
+ * must be able to tell "the producer did not say" from "the body is empty".
6544
+ */
6545
+ declaredBytes: number().int().nonnegative().nullable()
6546
+ });
6529
6547
  /** Shared Zod schemas used across streaming capabilities. */
6530
6548
  var CamProfileSchema = _enum([
6531
6549
  "high",
@@ -7020,6 +7038,18 @@ function systemMethod(input, output, options) {
7020
7038
  systemOnly: true
7021
7039
  };
7022
7040
  }
7041
+ /**
7042
+ * A method a SOURCE of a collection cap may legitimately not serve — OPTIONAL
7043
+ * on `InferProvider`. The `providerOptional: true` literal is what
7044
+ * `InferProvider` keys on; see {@link CapabilityMethodSchema.providerOptional}
7045
+ * for when this is the honest answer and when it is a soft stub.
7046
+ */
7047
+ function optionalMethod(input, output, options) {
7048
+ return {
7049
+ ...method(input, output, options),
7050
+ providerOptional: true
7051
+ };
7052
+ }
7023
7053
  /** Shorthand to define an event schema */
7024
7054
  function event(data) {
7025
7055
  return { data };
@@ -7434,7 +7464,7 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
7434
7464
  * can answer "may a rule actuate this?" without importing the schema barrel
7435
7465
  * (~144MB RSS per runner, D28).
7436
7466
  *
7437
- * Coverage: 85 device-scoped capabilities.
7467
+ * Coverage: 87 device-scoped capabilities.
7438
7468
  */
7439
7469
  var DEVICE_SCOPED_CAPS = new Set([
7440
7470
  "accessories",
@@ -7462,13 +7492,13 @@ var DEVICE_SCOPED_CAPS = new Set([
7462
7492
  "cover",
7463
7493
  "day-night",
7464
7494
  "detection-pipeline",
7495
+ "device-admin-link",
7465
7496
  "device-discovery",
7466
7497
  "device-ops",
7467
7498
  "device-status",
7468
7499
  "doorbell",
7469
7500
  "enum-sensor",
7470
7501
  "event-emitter",
7471
- "events",
7472
7502
  "fan-control",
7473
7503
  "feature-probe",
7474
7504
  "flood",
@@ -7500,6 +7530,8 @@ var DEVICE_SCOPED_CAPS = new Set([
7500
7530
  "ptz",
7501
7531
  "ptz-autotrack",
7502
7532
  "reboot",
7533
+ "recording",
7534
+ "recording-onboard",
7503
7535
  "recording-signal",
7504
7536
  "scene-monitor",
7505
7537
  "script-runner",
@@ -7888,7 +7920,7 @@ var AdoptionJobSchema = object({
7888
7920
  * component's original options — detection to the detection-pipeline wrapper
7889
7921
  * binding, audio analysis to its own, recording to `RecordingConfig.enabled`
7890
7922
  * (which was always first-class; the switch was a veneer over
7891
- * `recording.setDeviceConfig`), notifications to a notification-center
7923
+ * `recordingArchive.setDeviceConfig`), notifications to a notification-center
7892
7924
  * per-device setting, the two camera planes to their own components.
7893
7925
  *
7894
7926
  * What survives is {@link composeSwitchedOff}: `CameraStatus.switchedOff`, the
@@ -7914,7 +7946,7 @@ var AdoptionJobSchema = object({
7914
7946
  * | `stream-broker` | `deviceManager.setDisabled` | `StreamBrokerManager.reconcileAllCatalogs` releases the brokers; `ensureBroker` refuses re-creation |
7915
7947
  * | `object-detection` | `deviceManager.setWrapperActive('detection-pipeline')` | `PipelineSettingsStore.resolvePipelineForDevice` returns `{ steps: [], audio: null }` |
7916
7948
  * | `audio-analysis` | `deviceManager.setWrapperActive('audio-analysis')` | `AudioSubscriptionController.subscribeAudioStream` returns `null` before opening the stream |
7917
- * | `recording` | `recording.setDeviceConfig` → `RecordingConfig.enabled` | `band-decision.shouldRecord` returns false; the controller detaches the device |
7949
+ * | `recording` | `recordingArchive.setDeviceConfig` → `RecordingConfig.enabled` | `band-decision.shouldRecord` returns false; the controller detaches the device |
7918
7950
  * | `notifications` | `notificationRules.setDeviceMuted` | `NotificationCenter.evaluateAndEnqueue` returns before any rule is evaluated |
7919
7951
  * | `privacy-mask` | `privacyMask.setMask({ enabled })` → the CAMERA | the camera blanks the masked regions itself; every stream and recording carries the black boxes |
7920
7952
  * | `device-audio` | `privacyMask.setAudioEnabled` → the CAMERA | the camera stops encoding an audio track at all; every consumer sees silent video |
@@ -8030,10 +8062,20 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
8030
8062
  var CameraSwitchUnavailableReasonSchema = _enum([
8031
8063
  "no-provider",
8032
8064
  "source-unreachable",
8033
- "not-configured",
8034
8065
  "device-disabled"
8035
8066
  ]);
8036
8067
  /**
8068
+ * Something true about a switch that is nonetheless OFFERED.
8069
+ *
8070
+ * The distinction from {@link CameraSwitchUnavailableReasonSchema} is the
8071
+ * whole point: a reason replaces the control, a warning travels WITH it. The
8072
+ * privacy mask taught us the difference — greying the one button that starts
8073
+ * the feature teaches the operator the feature is broken, while a live toggle
8074
+ * that flips nothing teaches them the switch is broken. Neither is true; the
8075
+ * honest surface is a working toggle that says what is missing.
8076
+ */
8077
+ var CameraSwitchWarningSchema = _enum(["no-privacy-zones"]);
8078
+ /**
8037
8079
  * One switch, resolved for one camera.
8038
8080
  *
8039
8081
  * `label` and `costWhenOff` travel ON THE WIRE rather than being looked up
@@ -8052,6 +8094,11 @@ var CameraSwitchSchema = object({
8052
8094
  /** False = do not render a control. `unavailableReason` says why. */
8053
8095
  available: boolean(),
8054
8096
  unavailableReason: CameraSwitchUnavailableReasonSchema.optional(),
8097
+ /**
8098
+ * Present on an AVAILABLE switch only. Rendered beside the live control;
8099
+ * never a substitute for one.
8100
+ */
8101
+ warning: CameraSwitchWarningSchema.optional(),
8055
8102
  /** Current state. Meaningless when `available` is false — read it as `true`. */
8056
8103
  enabled: boolean(),
8057
8104
  authority: CameraSwitchAuthoritySchema
@@ -12145,87 +12192,6 @@ method(ListInputSchema, array(BrokerInfoSchema$1)), method(GetInputSchema, Broke
12145
12192
  auth: "admin"
12146
12193
  }), method(GetStateInputSchema, unknown().nullable()), method(_void(), RegistryStatusSchema);
12147
12194
  DeviceType.Camera;
12148
- /**
12149
- * The signals a device can emit to WAKE its own stream.
12150
- *
12151
- * A camera whose stream is built on demand sleeps until something asks for it,
12152
- * and "something" cannot be a consumer that is merely attached — a Frigate-style
12153
- * puller holds a session open for ever, and treating that as demand would keep
12154
- * a battery camera awake for ever, which is the whole thing the battery is for
12155
- * (D173). So the wake has to come from the CAMERA: an event it noticed by
12156
- * itself, with no stream running.
12157
- *
12158
- * ## The vocabulary is the PROVIDER'S, not ours
12159
- *
12160
- * Like `consumables`, this cap declares no vocabulary of its own. A provider
12161
- * names each signal with a `code` it chooses and a `label` an operator reads.
12162
- * Reolink offers motion and camera-native detection; another provider may offer
12163
- * a tamper, a doorbell press, a PIR, or something no camera in this fleet has
12164
- * yet. A fixed enum here would mean every new signal is a framework release.
12165
- *
12166
- * It is deliberately NOT derived from the caps a device already binds. Whether
12167
- * a camera CAN push firmware motion is expressed by `motionSources` containing
12168
- * `'onboard'`, and whether it does AI on-camera by the `native-object-detection`
12169
- * binding — but both answer "what drives the detection pipeline", which is a
12170
- * different question from "what may wake a sleeping stream". A camera can do
12171
- * the first and not be trusted with the second, and the operator picks per
12172
- * camera. Two questions, two authorities.
12173
- *
12174
- * ## Availability is not permission
12175
- *
12176
- * `listSignals` says what the device CAN emit. Whether a given signal actually
12177
- * wakes the stream is the operator's per-camera choice, held by the broker
12178
- * alongside the cooldown — see the stream-broker cap's wake settings. A
12179
- * provider declaring a signal is not a provider enabling it.
12180
- */
12181
- /** One signal a device can emit. */
12182
- var StreamSignalSchema = object({
12183
- /** Stable id chosen by the provider, e.g. `'motion'`, `'person'`, `'tamper'`. */
12184
- code: string().min(1),
12185
- /** What an operator reads in the picker. The provider's own wording. */
12186
- label: string().min(1),
12187
- /**
12188
- * Whether the provider recommends this signal ON when a camera is first set
12189
- * up. A provider knows which of its signals are cheap and reliable; an
12190
- * operator should not have to discover that by trial. Reolink recommends
12191
- * both of its own.
12192
- */
12193
- recommended: boolean()
12194
- });
12195
- var StreamSignalsStatusSchema = object({
12196
- signals: array(StreamSignalSchema),
12197
- lastFetchedAt: number()
12198
- });
12199
- var streamSignalsCapability = {
12200
- name: "stream-signals",
12201
- scope: "device",
12202
- deviceNative: true,
12203
- mode: "singleton",
12204
- deviceTypes: Object.values(DeviceType),
12205
- runtimeState: StreamSignalsStatusSchema,
12206
- /**
12207
- * Runtime-state durability: **session** — mirrored in RAM, never written.
12208
- *
12209
- * The slice holds what the DEVICE says it can emit. That is a probed fact,
12210
- * not an operator choice: the provider re-declares it on every registration,
12211
- * so losing it loses nothing and persisting it would freeze an answer the
12212
- * camera is entitled to change. Measured the same day on the sibling case —
12213
- * `native-object-detection.supportedClasses` was persisted, and a firmware
12214
- * class the camera really detected stayed missing for the life of the row
12215
- * because the fix could not reach it.
12216
- *
12217
- * See `RuntimeStateDurability`. Enforced by
12218
- * `scripts/check-runtime-state-durability.ts`.
12219
- */
12220
- durability: "session",
12221
- methods: {
12222
- /**
12223
- * What this device can emit. Empty is a valid and common answer — most
12224
- * cameras have nothing to offer here, and an empty list is what makes the
12225
- * broker's picker show nothing rather than a false choice.
12226
- */
12227
- listSignals: method(_void(), array(StreamSignalSchema).readonly()) }
12228
- };
12229
12195
  /** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
12230
12196
  var StreamFormatSchema = _enum([
12231
12197
  "webrtc",
@@ -13695,6 +13661,97 @@ method(object({ codec: string() }), boolean()), method(_void(), object({
13695
13661
  });
13696
13662
  DeviceType.Camera;
13697
13663
  /**
13664
+ * device-admin-link — "this device has a management page of its own, and here
13665
+ * is its address".
13666
+ *
13667
+ * ## Why this is not a `deviceConfig` cap
13668
+ *
13669
+ * There is nothing to edit. A `deviceConfig` cap (D14) exists so the framework
13670
+ * can DERIVE a settings form from `getOptions` + `getStatus` and route a flat
13671
+ * patch back through a setter; it costs a `builderId` reducer in
13672
+ * `device-config-contribution.ts` and a `*-config-schema.ts` beside it, and it
13673
+ * renders a form section. This cap answers ONE question with ONE read and
13674
+ * renders a button. Nothing about it is a form, so it carries no `deviceConfig`
13675
+ * block, no `settings`, no `runtimeState` and no reducer — exactly like
13676
+ * `reboot`, the other pure-RPC device-native cap.
13677
+ *
13678
+ * ## Absent, and the difference between "no page" and "we cannot say"
13679
+ *
13680
+ * The two are answered at DIFFERENT layers, on purpose:
13681
+ *
13682
+ * - **"We cannot say"** → the provider never registers the cap for that
13683
+ * device. A VeSync humidifier, a Petkit feeder, a Dreame vacuum and a Dreo
13684
+ * fan are reached only through a vendor cloud; there is no address to hand
13685
+ * out and no page to open. A Tuya plug, a Wyze camera and a Gree air
13686
+ * conditioner DO have a LAN IP, and still have no HTTP management page
13687
+ * behind it. None of them register, so `deviceManager.getBindings` never
13688
+ * lists the cap and no surface asks.
13689
+ * - **"This device has no page, and I know that"** → the provider registers
13690
+ * and `getAdminLink` returns `null`. This is the answer for a device whose
13691
+ * sibling DOES have a page: a Reolink battery camera reached over UDP by
13692
+ * `uid` with a blank `host`, an Ecowitt gateway configured in `listener`
13693
+ * transport, a Home Assistant broker authenticated by supervisor token
13694
+ * (which carries no `baseUrl` at all).
13695
+ *
13696
+ * Both draw NOTHING. A button that opens a browser error is worse than no
13697
+ * button, and D62 is the same rule from the other side: an off switch is
13698
+ * reported off, never made to look broken. There is no third state where the
13699
+ * UI renders a disabled button "because the device might have a page".
13700
+ *
13701
+ * ## The URL never carries credentials
13702
+ *
13703
+ * Not in userinfo, not in a query string. Every provider builds through
13704
+ * `buildDeviceAdminUrl` (`device-admin-link-url.ts`), which takes host, port,
13705
+ * scheme and path as separate arguments — there is no parameter a secret could
13706
+ * arrive in — and re-checks its own output for the `scheme://user:pass@` shape
13707
+ * that `scripts/check-no-credential-urls-in-fixtures.ts` bans from recorded
13708
+ * output. `scripts/check-admin-link-builder-is-the-only-url-source.ts` is what
13709
+ * keeps providers from hand-rolling one anyway.
13710
+ *
13711
+ * This matters here more than anywhere else in the repo, because every provider
13712
+ * that knows a device's host knows its PASSWORD too: `{ host, port, username,
13713
+ * password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
13714
+ * and `http://admin:hunter2@192.168.50.139/` is a URL a browser accepts. The
13715
+ * camera's own page will ask for its own login. That is correct, and pre-
13716
+ * filling it is the operator's business, not ours.
13717
+ *
13718
+ * ## It is a LAN fact
13719
+ *
13720
+ * The URL addresses the device where the NODE can see it. It is not proxied,
13721
+ * not made reachable from outside, and not sent anywhere. A surface renders it
13722
+ * as a link the operator's own browser follows, on the operator's own network,
13723
+ * or renders nothing.
13724
+ */
13725
+ /**
13726
+ * Whose page is it. The distinction is for the OPERATOR, who needs to know
13727
+ * before clicking whether he is about to land on a camera's own web server or
13728
+ * inside Home Assistant.
13729
+ */
13730
+ var AdminLinkTargetEnum = _enum(["device", "integration"]);
13731
+ var DeviceAdminLinkSchema = object({
13732
+ /**
13733
+ * Absolute `http(s)://` URL. Built by `buildDeviceAdminUrl` and therefore
13734
+ * free of userinfo and of any credential-shaped query key.
13735
+ */
13736
+ url: string(),
13737
+ /**
13738
+ * What the surface calls it — "Web UI", "Home Assistant", "UniFi controller".
13739
+ * The PROVIDER names it, because only the provider knows what the page is;
13740
+ * a UI that invented the label from the addon id would call the Home
13741
+ * Assistant device page "Provider Homeassistant".
13742
+ */
13743
+ label: string(),
13744
+ target: AdminLinkTargetEnum,
13745
+ /**
13746
+ * Host the URL points at, without scheme, port or path — for the tooltip, so
13747
+ * an operator can see WHERE the button goes before he follows it. Redundant
13748
+ * with `url` by construction; carried separately so no surface has to parse
13749
+ * a URL to show it.
13750
+ */
13751
+ host: string()
13752
+ });
13753
+ method(object({ deviceId: number().int().nonnegative() }), DeviceAdminLinkSchema.nullable(), { auth: "admin" });
13754
+ /**
13698
13755
  * Identity envelope for a device's upstream-system metadata.
13699
13756
  *
13700
13757
  * Two jobs:
@@ -25748,6 +25805,87 @@ method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config:
25748
25805
  kind: "mutation",
25749
25806
  auth: "admin"
25750
25807
  });
25808
+ /**
25809
+ * The signals a device can emit to WAKE its own stream.
25810
+ *
25811
+ * A camera whose stream is built on demand sleeps until something asks for it,
25812
+ * and "something" cannot be a consumer that is merely attached — a Frigate-style
25813
+ * puller holds a session open for ever, and treating that as demand would keep
25814
+ * a battery camera awake for ever, which is the whole thing the battery is for
25815
+ * (D173). So the wake has to come from the CAMERA: an event it noticed by
25816
+ * itself, with no stream running.
25817
+ *
25818
+ * ## The vocabulary is the PROVIDER'S, not ours
25819
+ *
25820
+ * Like `consumables`, this cap declares no vocabulary of its own. A provider
25821
+ * names each signal with a `code` it chooses and a `label` an operator reads.
25822
+ * Reolink offers motion and camera-native detection; another provider may offer
25823
+ * a tamper, a doorbell press, a PIR, or something no camera in this fleet has
25824
+ * yet. A fixed enum here would mean every new signal is a framework release.
25825
+ *
25826
+ * It is deliberately NOT derived from the caps a device already binds. Whether
25827
+ * a camera CAN push firmware motion is expressed by `motionSources` containing
25828
+ * `'onboard'`, and whether it does AI on-camera by the `native-object-detection`
25829
+ * binding — but both answer "what drives the detection pipeline", which is a
25830
+ * different question from "what may wake a sleeping stream". A camera can do
25831
+ * the first and not be trusted with the second, and the operator picks per
25832
+ * camera. Two questions, two authorities.
25833
+ *
25834
+ * ## Availability is not permission
25835
+ *
25836
+ * `listSignals` says what the device CAN emit. Whether a given signal actually
25837
+ * wakes the stream is the operator's per-camera choice, held by the broker
25838
+ * alongside the cooldown — see the stream-broker cap's wake settings. A
25839
+ * provider declaring a signal is not a provider enabling it.
25840
+ */
25841
+ /** One signal a device can emit. */
25842
+ var StreamSignalSchema = object({
25843
+ /** Stable id chosen by the provider, e.g. `'motion'`, `'person'`, `'tamper'`. */
25844
+ code: string().min(1),
25845
+ /** What an operator reads in the picker. The provider's own wording. */
25846
+ label: string().min(1),
25847
+ /**
25848
+ * Whether the provider recommends this signal ON when a camera is first set
25849
+ * up. A provider knows which of its signals are cheap and reliable; an
25850
+ * operator should not have to discover that by trial. Reolink recommends
25851
+ * both of its own.
25852
+ */
25853
+ recommended: boolean()
25854
+ });
25855
+ var StreamSignalsStatusSchema = object({
25856
+ signals: array(StreamSignalSchema),
25857
+ lastFetchedAt: number()
25858
+ });
25859
+ var streamSignalsCapability = {
25860
+ name: "stream-signals",
25861
+ scope: "device",
25862
+ deviceNative: true,
25863
+ mode: "singleton",
25864
+ deviceTypes: Object.values(DeviceType),
25865
+ runtimeState: StreamSignalsStatusSchema,
25866
+ /**
25867
+ * Runtime-state durability: **session** — mirrored in RAM, never written.
25868
+ *
25869
+ * The slice holds what the DEVICE says it can emit. That is a probed fact,
25870
+ * not an operator choice: the provider re-declares it on every registration,
25871
+ * so losing it loses nothing and persisting it would freeze an answer the
25872
+ * camera is entitled to change. Measured the same day on the sibling case —
25873
+ * `native-object-detection.supportedClasses` was persisted, and a firmware
25874
+ * class the camera really detected stayed missing for the life of the row
25875
+ * because the fix could not reach it.
25876
+ *
25877
+ * See `RuntimeStateDurability`. Enforced by
25878
+ * `scripts/check-runtime-state-durability.ts`.
25879
+ */
25880
+ durability: "session",
25881
+ methods: {
25882
+ /**
25883
+ * What this device can emit. Empty is a valid and common answer — most
25884
+ * cameras have nothing to offer here, and an empty list is what makes the
25885
+ * broker's picker show nothing rather than a false choice.
25886
+ */
25887
+ listSignals: method(_void(), array(StreamSignalSchema).readonly()) }
25888
+ };
25751
25889
  /** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
25752
25890
  var ProfileSettingsSchemaBridge = unknown().nullable();
25753
25891
  var ProfileSettingsBagSchema = record(string(), unknown());
@@ -26320,6 +26458,7 @@ _enum([
26320
26458
  "sleeping",
26321
26459
  "camera-refused",
26322
26460
  "no-keyframe",
26461
+ "decode-failed",
26323
26462
  "no-catalog-row",
26324
26463
  "unsupported",
26325
26464
  "unknown-device",
@@ -26540,6 +26679,199 @@ var ClipPlaybackSchema = object({
26540
26679
  * which days it asked for and got nothing — "no clips" would be a lie about a
26541
26680
  * card that is full of them.
26542
26681
  */
26682
+ /**
26683
+ * The operator's authorisation to WAKE a sleeping camera for one clip read.
26684
+ *
26685
+ * ONE value, absent by default, and it is a `force`-shaped operator signal in
26686
+ * exactly the sense `snapshot-wake-gate.ts` uses the word: *"`snapshot.getSnapshot`'s
26687
+ * `force` flag, and nothing else… a background caller must never set it…
26688
+ * Stale but honest beats woken"*. A scheduler, a retry, a reconcile and a
26689
+ * prefetch never set it; a surface sets it only behind the same confirm the
26690
+ * "Wake and refresh" gesture uses, and it is refused below 15 % battery
26691
+ * exactly as that gesture is.
26692
+ *
26693
+ * The gate is decided BEFORE `getApi()`, because on UDP the login IS the wake
26694
+ * (D549) — a read that opened a session and then checked would have woken the
26695
+ * camera to find out it was not allowed to.
26696
+ *
26697
+ * **One authorised yes is one wake.** `next-natural` — take the clip the next
26698
+ * time the camera is awake for its own reasons — is deliberately not a member:
26699
+ * it was proposed, it is free on the battery, and the operator declined it on
26700
+ * 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."*,
26701
+ * D558 "Considered and not taken").
26702
+ */
26703
+ var ClipWakeSchema = _enum(["authorised"]);
26704
+ /**
26705
+ * A clip's finished bytes, inline — the twin of `recordingExport.readExportBytes`.
26706
+ *
26707
+ * `bytes` is the DECODED length, so nobody infers it from the base64 length,
26708
+ * and `served` says which twin the caller actually got.
26709
+ */
26710
+ var ClipBytesSchema = object({
26711
+ base64: string(),
26712
+ contentType: string(),
26713
+ /** Suggested filename, extension included. */
26714
+ name: string(),
26715
+ bytes: number().int().nonnegative(),
26716
+ /**
26717
+ * Which twin was actually served — the same contract
26718
+ * {@link ClipPlaybackSchema.served} carries, and REQUIRED here because the
26719
+ * export record persists it: a row read a week later must say the same thing
26720
+ * the panel said at the moment of the tap. A missing main twin is never
26721
+ * served silently as if it were the asked-for quality (D549 15).
26722
+ */
26723
+ served: CamProfileSchema,
26724
+ /**
26725
+ * The DECODED duration of the delivered file, when the fetch measured one.
26726
+ *
26727
+ * A clip fetch verifies its own completion against the catalog row and
26728
+ * retries a materially short pass (D568); this is that measurement, carried
26729
+ * so a consumer can say the same thing rather than re-deriving it. Absent
26730
+ * when the producer did not measure — never zero, which would say the file
26731
+ * is empty.
26732
+ */
26733
+ durationMs: number().positive().optional()
26734
+ });
26735
+ /**
26736
+ * Where a clip's finished bytes can be TAKEN (D613) — the answer to
26737
+ * {@link videoclipsCapability.methods.offerClipBytes}.
26738
+ *
26739
+ * Everything {@link ClipBytesSchema} carries except the bytes themselves, plus
26740
+ * the one-shot ticket that leads to them. The metadata is answered BEFORE the
26741
+ * transfer on purpose: a consumer learns which twin it got, what to call the
26742
+ * file and how long the clip runs without having to read a byte, so a decision
26743
+ * it would make on that metadata (a wrong twin, an implausible duration) costs
26744
+ * no transfer at all.
26745
+ */
26746
+ var ClipBytesOfferSchema = object({
26747
+ /**
26748
+ * One shot, seconds-long, loopback, on the PROVIDER's own host. Open it with
26749
+ * `ctx.peerBytes.open(...)`, which refuses a ticket from another node by
26750
+ * name rather than dialling a port that means something else here.
26751
+ */
26752
+ ticket: PeerBytesTicketSchema,
26753
+ contentType: string(),
26754
+ /** Suggested filename, extension included. */
26755
+ name: string(),
26756
+ /** Which twin was actually served — see {@link ClipBytesSchema.served}. */
26757
+ served: CamProfileSchema,
26758
+ /** See {@link ClipBytesSchema.durationMs}. Absent when nothing measured it. */
26759
+ durationMs: number().positive().optional()
26760
+ });
26761
+ /**
26762
+ * Where a clip's STREAM can be dialled (D597) — the answer to
26763
+ * {@link videoclipsCapability.methods.dialClipStream}.
26764
+ *
26765
+ * `url` is plain `http://` on the provider's own token-gated listener, one
26766
+ * shot, short-lived. It is NOT the hub-proxied `/addon/<id>/clip-stream/…`
26767
+ * path: that plane takes only a user credential, which an addon does not
26768
+ * hold, and the framework offers no addon→addon byte transport — the one
26769
+ * precedent is the broker's own restream URLs (`getStreamWithCodec`), which
26770
+ * a consumer dials directly, and this is that precedent one addon over.
26771
+ */
26772
+ /**
26773
+ * The audio a clip stream can be asked for, and the audio it carries.
26774
+ *
26775
+ * The camera stores AAC and no WebRTC session speaks it, so a stream that
26776
+ * carries sound carries it TRANSCODED, muxed as a second track beside the
26777
+ * video by the one ffmpeg the provider already runs (D600). `opus` is
26778
+ * 48 kHz mono, `pcmu` is 8 kHz µ-law — the two codecs a broker session
26779
+ * negotiates — and `none` is a stream asked for, or served, without sound.
26780
+ */
26781
+ var ClipStreamAudioSchema = _enum([
26782
+ "opus",
26783
+ "pcmu",
26784
+ "none"
26785
+ ]);
26786
+ /**
26787
+ * Why a stream that was ASKED for sound is not carrying it (D600).
26788
+ *
26789
+ * Only ever set beside `servedAudio: 'none'` after a non-`none` ask. Absent
26790
+ * means the ask was honoured, or there was no ask.
26791
+ *
26792
+ * - `not-requested` — the caller asked for `none`.
26793
+ * - `unsupported-ask` — the provider cannot produce that codec.
26794
+ *
26795
+ * Whether the RECORDING has sound at all is not knowable here: the camera
26796
+ * declares no audio track before its first frame arrives. That answer is in
26797
+ * the stream itself — an fMP4 with no audio track — and the broker reads it
26798
+ * there. A dial that says `opus` promises the codec, never the content.
26799
+ */
26800
+ var ClipStreamAudioReasonSchema = _enum(["not-requested", "unsupported-ask"]);
26801
+ var ClipStreamDialSchema = object({
26802
+ url: string().min(1),
26803
+ /** After this the token is gone and the URL answers 404 `dial-expired`. */
26804
+ expiresAtMs: number(),
26805
+ /** What the stream IS — a consumer that cannot honour it must not dial. */
26806
+ transport: literal("forward-only"),
26807
+ /**
26808
+ * Which twin the stream ACTUALLY carries — not what was asked for.
26809
+ *
26810
+ * The stream serves every profile (D599), and a recording whose main twin
26811
+ * does not exist is streamed as its sub copy, which this field reports as
26812
+ * `low`. That is the whole reason the dial no longer refuses `high`:
26813
+ * stating what was served is what makes accepting honest, where a silent
26814
+ * substitution would be the 33x lie D576 forbids. Stated rather than
26815
+ * assumed, the way {@link ClipPlaybackSchema.served} is (D549 15).
26816
+ */
26817
+ served: CamProfileSchema,
26818
+ /**
26819
+ * Which audio the stream will ACTUALLY carry — `served`'s companion for
26820
+ * sound, and the same reasoning (D599, D600).
26821
+ *
26822
+ * The broker asks for the codec its WebRTC session negotiated, and the
26823
+ * provider either muxes that codec or carries none. Stating it is what
26824
+ * lets the broker wire the matching sink before the first byte, and what
26825
+ * keeps a session from being handed a codec it cannot send — the audio
26826
+ * shape of the substitution `served` exists to prevent.
26827
+ *
26828
+ * It is a promise about the CODEC, not about the content: a recording with
26829
+ * no microphone track answers `opus` here and then arrives with no audio
26830
+ * track at all. That second answer is in the stream, and the broker reads
26831
+ * it from the `moov`.
26832
+ */
26833
+ servedAudio: ClipStreamAudioSchema,
26834
+ /** Why `servedAudio` is `none` although sound was asked for. */
26835
+ audioReason: ClipStreamAudioReasonSchema.optional()
26836
+ });
26837
+ /**
26838
+ * What a surface may DRAW for this provider's clips — the answer to
26839
+ * {@link videoclipsCapability.methods.getPlaybackOptions} (D612).
26840
+ *
26841
+ * The envelope is a PROVIDER fact, not a clip fact, and that is measured, not
26842
+ * assumed: the broker's `chooseClipPath` reads exactly two inputs — whether
26843
+ * `dialClipStream` and `readClipBytes` are wired — and both are constants of
26844
+ * the broker's own closure over the provider's methods. The `profile` it is
26845
+ * handed is explicitly not read. So every clip of a provider is served the
26846
+ * same way, and a per-clip channel carried a value that could not vary. The
26847
+ * per-clip `clipTransport` server message was removed for exactly that reason.
26848
+ *
26849
+ * Queried per camera, before a clip is picked, so a control is rendered or
26850
+ * DISABLED rather than offered and refused at play time (D62: a disabled
26851
+ * control reads as unavailable, one that undoes the gesture reads as broken).
26852
+ */
26853
+ var ClipPlaybackOptionsSchema = object({
26854
+ /**
26855
+ * How this provider's clips reach the player. `stream` is the provider's
26856
+ * forward-only fMP4 (D597); `file` is one bounded by-handle fetch of the
26857
+ * whole clip, `stbl` indexed (D575).
26858
+ */
26859
+ transport: _enum(["stream", "file"]),
26860
+ /** `forward` = only ahead of the playhead. `free` = anywhere. */
26861
+ seek: _enum(["forward", "free"]),
26862
+ /** Frame-step BACKWARD is meaningful. Forward always is. */
26863
+ stepBack: boolean(),
26864
+ /** Whether the scrub gesture is served, as opposed to refused by name. */
26865
+ scrub: boolean(),
26866
+ /**
26867
+ * The rates that can be delivered, ascending, always containing `1`. The
26868
+ * viewer draws its picker from this and from nothing else — a constant it
26869
+ * keeps instead is the second authority that produced the defect: `8` and
26870
+ * `16` were offered, the broker clamped them to `4`, and no line anywhere
26871
+ * said so. `0` is not a member: pause is the absence of a rate.
26872
+ */
26873
+ rates: array(number().positive()).min(1).readonly()
26874
+ });
26543
26875
  var ClipSourceAvailabilitySchema = object({
26544
26876
  state: _enum([
26545
26877
  "ok",
@@ -26596,22 +26928,40 @@ DeviceType.Camera, method(object({
26596
26928
  limit: number().int().positive().optional(),
26597
26929
  /**
26598
26930
  * WHICH provider to ask — the `addonId` a {@link ClipSourceSchema} row
26599
- * carries, never a source id and never a list.
26600
- *
26601
- * Absent means the device's BOUND provider, which is CamStack on every
26602
- * camera today because that is what `deviceManager.getBindings`
26603
- * answers with. A provider the device is not bound to is refused by
26604
- * name rather than answered by another one (D552's
26605
- * `rejectUnresolvedAddonPin` rule).
26931
+ * carries, never a source id and never a list. **Required** (D554 amended).
26932
+ *
26933
+ * A provider the device is not bound to is refused by name rather than
26934
+ * answered by another one (D552's `rejectUnresolvedAddonPin` rule).
26935
+ *
26936
+ * It was optional, documented as "absent means the device's BOUND
26937
+ * provider, which is CamStack on every camera". No code implemented
26938
+ * that. Measured on the live hub 2026-09-20 — device 592, bound to
26939
+ * `recorder` AND `provider-reolink` — a bare call with `limit: 3`
26940
+ * answered SIX rows, three from each source, merged newest-first:
26941
+ * `device-collection-dispatch.ts` simply left the fan-out un-narrowed,
26942
+ * so absence bought the union this method exists not to be, and
26943
+ * `limit` meant `limit × sources`.
26944
+ *
26945
+ * There is nothing to restore the default to. `getBindings` answers a
26946
+ * collection cap with a DERIVED, PLURAL set (D554 amended, step 0);
26947
+ * `setWrapperActive` — the singleton authority that could name one —
26948
+ * throws for a collection cap by design. Naming CamStack here instead
26949
+ * would privilege one addon by id inside a surface whose premise is
26950
+ * that sources are peers, and would be wrong on the first camera with
26951
+ * no recorder binding. So absence is REFUSED, in the schema, where the
26952
+ * generated types make it unomittable rather than merely discouraged.
26953
+ *
26954
+ * The default belongs to the SURFACE, which has the `listSources` rows
26955
+ * and can say which one it picked (D569 § 1–3; the viewer already
26956
+ * always sends this).
26606
26957
  *
26607
26958
  * It replaced `sources?: string[]`, a VIEW filter over source ids that
26608
26959
  * assumed the answer was a fan-out over everything a camera has. The
26609
- * operator settled otherwise on 2026-09-20 — *"il get videoclips
26610
- * prendere un provider opzionale, di default va su camstack"*,
26611
- * *"l'utilizzatore è uno solo"* — so the list is asked of one provider
26612
- * at a time and there is nothing to filter out of it.
26960
+ * operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
26961
+ * solo"* — so the list is asked of one provider at a time and there is
26962
+ * nothing to filter out of it.
26613
26963
  */
26614
- provider: string().optional()
26964
+ provider: string().min(1)
26615
26965
  }), array(ClipSchema).readonly(), {
26616
26966
  kind: "query",
26617
26967
  auth: "protected"
@@ -26637,6 +26987,103 @@ DeviceType.Camera, method(object({
26637
26987
  }), ClipPlaybackSchema, {
26638
26988
  kind: "query",
26639
26989
  auth: "protected"
26990
+ }), optionalMethod(object({
26991
+ deviceId: number(),
26992
+ clipId: string().min(1),
26993
+ /**
26994
+ * WHICH provider holds the bytes — the `addonId` a
26995
+ * {@link ClipSourceSchema} row carries. **Required**, for the reason
26996
+ * `listClips` states one method above and for a second one this method
26997
+ * learned the hard way.
26998
+ *
26999
+ * The caller is the stream broker, and the broker lives in
27000
+ * `addon-pipeline` — the same addon that registers the RECORDER's
27001
+ * videoclips provider. With no provider named, the in-process
27002
+ * resolution handed it its own sibling, which implements this method
27003
+ * solely to explain that an analytics visit has no file behind it. So
27004
+ * every onboard clip answered with that sentence, a flash of video and
27005
+ * nothing more, while the SAME call from outside the addon reached the
27006
+ * right provider and returned the bytes (measured on 3628,
27007
+ * 2026-09-21).
27008
+ */
27009
+ provider: string().min(1),
27010
+ /**
27011
+ * Which twin to fetch, on the mapping D549 15 already fixed:
27012
+ * `low | mid` → the sub file, `high` → the main twin. `auto` is not
27013
+ * accepted here for the same reason it is not accepted by
27014
+ * `getClipPlayback` — a stored file has no broker session, so the
27015
+ * adaptive tier cannot be resolved for it.
27016
+ */
27017
+ profile: CamProfileSchema.optional(),
27018
+ /**
27019
+ * The CALLER's byte bound, so an over-size clip is refused before it is
27020
+ * read and encoded rather than after. Capped by
27021
+ * {@link VIDEOCLIPS_MAX_READ_BYTES} whatever is passed; absent means
27022
+ * that ceiling.
27023
+ */
27024
+ maxBytes: number().int().positive().optional(),
27025
+ /**
27026
+ * The operator's authorisation to wake a sleeping camera for this
27027
+ * read. Absent — the default — means a sleeping standalone battery
27028
+ * camera is REFUSED by name, before any session is opened.
27029
+ */
27030
+ wake: ClipWakeSchema.optional()
27031
+ }), ClipBytesSchema, {
27032
+ kind: "query",
27033
+ auth: "protected"
27034
+ }), optionalMethod(object({
27035
+ deviceId: number(),
27036
+ clipId: string().min(1),
27037
+ /** WHICH provider holds the bytes — see `readClipBytes.provider`. */
27038
+ provider: string().min(1),
27039
+ /** Which twin — `low | mid` → the sub file, `high` → the main twin. */
27040
+ profile: CamProfileSchema.optional(),
27041
+ /**
27042
+ * The CALLER's byte bound, so an over-size clip is refused before the
27043
+ * camera is touched rather than after. Capped by
27044
+ * {@link VIDEOCLIPS_MAX_OFFER_BYTES} whatever is passed; absent means
27045
+ * that ceiling.
27046
+ */
27047
+ maxBytes: number().int().positive().optional(),
27048
+ /**
27049
+ * The operator's authorisation to wake a sleeping camera for this
27050
+ * read. Absent — the default — means a sleeping standalone battery
27051
+ * camera is REFUSED by name, before any session is opened.
27052
+ */
27053
+ wake: ClipWakeSchema.optional()
27054
+ }), ClipBytesOfferSchema, {
27055
+ kind: "query",
27056
+ auth: "protected"
27057
+ }), optionalMethod(object({
27058
+ deviceId: number(),
27059
+ clipId: string().min(1),
27060
+ /** WHICH provider holds the camera — see `readClipBytes.provider`. */
27061
+ provider: string().min(1),
27062
+ /** Which twin — `high` → the main file, everything else the sub (D599). */
27063
+ profile: CamProfileSchema.optional(),
27064
+ /**
27065
+ * Which audio codec the caller's session negotiated, so the provider
27066
+ * can mux it (D600). The ask travels on the DIAL because the mux is
27067
+ * spawned once, before the first byte, and cannot gain a track later.
27068
+ *
27069
+ * ABSENT IS `none`, never a guess: a caller that does not state an
27070
+ * ask is served the video-only stream that shipped first, so a broker
27071
+ * older than this field keeps working unchanged (D382 — an unstated
27072
+ * ask is zero).
27073
+ */
27074
+ audio: ClipStreamAudioSchema.optional()
27075
+ }), ClipStreamDialSchema, {
27076
+ kind: "query",
27077
+ auth: "protected"
27078
+ }), optionalMethod(object({
27079
+ deviceId: number(),
27080
+ /** WHICH provider to ask — the `addonId` a {@link ClipSourceSchema}
27081
+ * row carries. Required for the same reason `listClips` requires it:
27082
+ * a collection cap has no "the bound one" to resolve to (D554). */
27083
+ provider: string().min(1)
27084
+ }), ClipPlaybackOptionsSchema, {
27085
+ kind: "query",
27086
+ auth: "protected"
26640
27087
  });
26641
27088
  /**
26642
27089
  * Optional client-side hints sent at session creation to help the provider
@@ -27997,6 +28444,143 @@ DeviceType.Camera, method(object({ deviceId: number() }), CameraCredentialsSchem
27997
28444
  auth: "admin"
27998
28445
  });
27999
28446
  /**
28447
+ * camera-grid-layout — the geometry of a COMPOSITE camera, on the camera's own
28448
+ * page.
28449
+ *
28450
+ * ## Why this is a capability and not an addon settings schema
28451
+ *
28452
+ * It was one, and it did not render. The addon declared the editor as a
28453
+ * `type: 'widget'` field inside its own `deviceSettingsSchema()`; the hub
28454
+ * returned that section correctly and `ConfigFormField` renders `type:'widget'`
28455
+ * perfectly well — and nothing ever asked camera-grid for it. The Cluster →
28456
+ * Pipeline → Device Overrides page interrogates a HAND-WRITTEN list of four
28457
+ * addons (`PIPELINE_CLUSTER_DEVICE_ADDONS`), whose own comment says an addon
28458
+ * not on it "falls off silently".
28459
+ *
28460
+ * Adding a fifth name to that list would have been the wrong fix twice over:
28461
+ * that page is per-camera DETECTION tuning, and a grid's geometry belongs
28462
+ * beside PTZ and motion zones on the camera itself. The device page is
28463
+ * BINDING-driven (D12), so the way in is a capability bound to the device —
28464
+ * and this cap carries its section the way `recording` does, by RETURNING it
28465
+ * from `getDeviceSettingsContribution`.
28466
+ *
28467
+ * Seven other widgets are still declared the other way, through a
28468
+ * `deviceConfig.ui` block the framework derives a section from. That route
28469
+ * gives the addon no say in where its own panel lands and no way to decline
28470
+ * for a device the panel does not suit, which is why this one does not use it.
28471
+ *
28472
+ * ## Why one addon may implement it
28473
+ *
28474
+ * It is a device-scoped NATIVE cap, registered by the grid camera device
28475
+ * itself. Nothing else declares a composite camera, so nothing else has a
28476
+ * layout — and the device-scoped route means the widget asks THE camera, not
28477
+ * "the camera-grid addon", which is what let the old custom-action pair be
28478
+ * reached only by a caller that already knew the addon id.
28479
+ *
28480
+ * ## The tab
28481
+ *
28482
+ * `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
28483
+ * is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
28484
+ * entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
28485
+ * label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
28486
+ * next to "PTZ").
28487
+ */
28488
+ /** A rectangle in normalized [0,1] coordinates of whatever contains it. */
28489
+ var GridNormalizedRectSchema = object({
28490
+ x: number().min(0).max(1),
28491
+ y: number().min(0).max(1),
28492
+ width: number().gt(0).max(1),
28493
+ height: number().gt(0).max(1)
28494
+ });
28495
+ /**
28496
+ * One source camera, the part of its picture taken, and where that part lands.
28497
+ *
28498
+ * Both rectangles are NORMALIZED (D519): a source camera can change resolution
28499
+ * — a profile switch, a firmware update, a substream that comes back different
28500
+ * — and a stored PIXEL rectangle would quietly start cutting the wrong region,
28501
+ * which is the class of bug nobody files.
28502
+ */
28503
+ var GridLayoutCellSchema = object({
28504
+ deviceId: number().int().positive(),
28505
+ /** The part of the SOURCE taken, normalized against the source. */
28506
+ source: GridNormalizedRectSchema,
28507
+ /** Where it lands, normalized against the CANVAS. */
28508
+ cell: GridNormalizedRectSchema
28509
+ });
28510
+ /**
28511
+ * Which profiles this grid can actually compose, and why not.
28512
+ *
28513
+ * A grid's `high` composes its sources' `high` and its `low` their `low`, so a
28514
+ * profile is on offer only when EVERY source can serve it. The refusal NAMES
28515
+ * the sources, because "this grid has no low" is not a finding — "615 has no
28516
+ * low" is, and it is the one an operator can act on.
28517
+ */
28518
+ var GridProfileOfferSchema = object({
28519
+ profile: _enum([
28520
+ "high",
28521
+ "mid",
28522
+ "low"
28523
+ ]),
28524
+ offered: boolean(),
28525
+ /** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
28526
+ missingSources: array(number().int().positive()),
28527
+ /**
28528
+ * The canvas this profile composes onto, `WxH`, or empty when it is not
28529
+ * offered. DERIVED from the cells and the sources' own size at this profile —
28530
+ * it is reported because nothing else in the system would ever say what the
28531
+ * grid came out as, and because it is the number an operator would otherwise
28532
+ * expect to type.
28533
+ */
28534
+ canvas: string(),
28535
+ /**
28536
+ * Whether this profile is PUBLISHED, of the ones the grid could serve.
28537
+ *
28538
+ * A grid's `high` is composed of its sources' `high`, so on a 4K fleet it is
28539
+ * a 4K canvas built from 4K decodes — something to opt into, not something a
28540
+ * viewer's adaptive should be handed by climbing to the top rung it can see.
28541
+ * Default is `mid` + `low`.
28542
+ */
28543
+ published: boolean()
28544
+ });
28545
+ var GridLayoutViewSchema = object({
28546
+ /** The persisted grid row this camera was declared from. */
28547
+ instanceId: string(),
28548
+ deviceId: number().int().nonnegative(),
28549
+ name: string(),
28550
+ /**
28551
+ * NO canvas size. A grid's resolution is not authored: each profile derives
28552
+ * its own from the cells and its sources' dimensions. The two numbers that
28553
+ * used to be here were a text field that silently decided both how much the
28554
+ * composite cost and how sharp it was — see `profiles[].canvas` for what it
28555
+ * came out as.
28556
+ */
28557
+ fps: number().int(),
28558
+ cells: array(GridLayoutCellSchema),
28559
+ /** What the catalog will publish, and what it refuses to. Read-only. */
28560
+ profiles: array(GridProfileOfferSchema)
28561
+ });
28562
+ var GridLayoutPatchSchema = object({
28563
+ deviceId: number().int().nonnegative(),
28564
+ name: string().min(1).max(160).optional(),
28565
+ fps: number().int().min(1).max(60).optional(),
28566
+ /** Which profiles to publish. See `GridProfileOffer.published`. */
28567
+ publishedProfiles: array(_enum([
28568
+ "high",
28569
+ "mid",
28570
+ "low"
28571
+ ])).max(3).optional(),
28572
+ /**
28573
+ * The whole cell list at once. A per-cell patch would need an ordering the
28574
+ * editor does not have, and a half-applied layout is a picture nobody asked
28575
+ * for.
28576
+ */
28577
+ cells: array(GridLayoutCellSchema).max(16)
28578
+ });
28579
+ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }), method(GridLayoutPatchSchema, GridLayoutViewSchema, {
28580
+ kind: "mutation",
28581
+ auth: "admin"
28582
+ });
28583
+ /**
28000
28584
  * Carbon-monoxide alarm sensor. Drives Home Assistant `binary_sensor`
28001
28585
  * entries with `device_class: carbon_monoxide`. Push-driven.
28002
28586
  */
@@ -29017,30 +29601,6 @@ var eventEmitterCapability = {
29017
29601
  */
29018
29602
  durability: "session"
29019
29603
  };
29020
- var EventItemSchema = object({
29021
- id: string(),
29022
- type: string(),
29023
- timestamp: number(),
29024
- label: string().optional(),
29025
- thumbnailUrl: string().optional(),
29026
- clipUrl: string().optional(),
29027
- metadata: record(string(), unknown()).optional()
29028
- });
29029
- DeviceType.Camera, method(object({
29030
- deviceId: number(),
29031
- from: number().optional(),
29032
- to: number().optional(),
29033
- limit: number().optional()
29034
- }), array(EventItemSchema)), method(object({
29035
- deviceId: number(),
29036
- eventId: string()
29037
- }), object({
29038
- base64: string(),
29039
- contentType: string()
29040
- }).nullable()), method(object({
29041
- deviceId: number(),
29042
- eventId: string()
29043
- }), string().nullable());
29044
29604
  var IdentitySchema = object({
29045
29605
  id: string(),
29046
29606
  name: string(),
@@ -31357,143 +31917,6 @@ var motionTriggerCapability = {
31357
31917
  durability: "session"
31358
31918
  };
31359
31919
  /**
31360
- * camera-grid-layout — the geometry of a COMPOSITE camera, on the camera's own
31361
- * page.
31362
- *
31363
- * ## Why this is a capability and not an addon settings schema
31364
- *
31365
- * It was one, and it did not render. The addon declared the editor as a
31366
- * `type: 'widget'` field inside its own `deviceSettingsSchema()`; the hub
31367
- * returned that section correctly and `ConfigFormField` renders `type:'widget'`
31368
- * perfectly well — and nothing ever asked camera-grid for it. The Cluster →
31369
- * Pipeline → Device Overrides page interrogates a HAND-WRITTEN list of four
31370
- * addons (`PIPELINE_CLUSTER_DEVICE_ADDONS`), whose own comment says an addon
31371
- * not on it "falls off silently".
31372
- *
31373
- * Adding a fifth name to that list would have been the wrong fix twice over:
31374
- * that page is per-camera DETECTION tuning, and a grid's geometry belongs
31375
- * beside PTZ and motion zones on the camera itself. The device page is
31376
- * BINDING-driven (D12), so the way in is a capability bound to the device —
31377
- * and this cap carries its section the way `recording` does, by RETURNING it
31378
- * from `getDeviceSettingsContribution`.
31379
- *
31380
- * Seven other widgets are still declared the other way, through a
31381
- * `deviceConfig.ui` block the framework derives a section from. That route
31382
- * gives the addon no say in where its own panel lands and no way to decline
31383
- * for a device the panel does not suit, which is why this one does not use it.
31384
- *
31385
- * ## Why one addon may implement it
31386
- *
31387
- * It is a device-scoped NATIVE cap, registered by the grid camera device
31388
- * itself. Nothing else declares a composite camera, so nothing else has a
31389
- * layout — and the device-scoped route means the widget asks THE camera, not
31390
- * "the camera-grid addon", which is what let the old custom-action pair be
31391
- * reached only by a caller that already knew the addon id.
31392
- *
31393
- * ## The tab
31394
- *
31395
- * `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
31396
- * is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
31397
- * entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
31398
- * label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
31399
- * next to "PTZ").
31400
- */
31401
- /** A rectangle in normalized [0,1] coordinates of whatever contains it. */
31402
- var GridNormalizedRectSchema = object({
31403
- x: number().min(0).max(1),
31404
- y: number().min(0).max(1),
31405
- width: number().gt(0).max(1),
31406
- height: number().gt(0).max(1)
31407
- });
31408
- /**
31409
- * One source camera, the part of its picture taken, and where that part lands.
31410
- *
31411
- * Both rectangles are NORMALIZED (D519): a source camera can change resolution
31412
- * — a profile switch, a firmware update, a substream that comes back different
31413
- * — and a stored PIXEL rectangle would quietly start cutting the wrong region,
31414
- * which is the class of bug nobody files.
31415
- */
31416
- var GridLayoutCellSchema = object({
31417
- deviceId: number().int().positive(),
31418
- /** The part of the SOURCE taken, normalized against the source. */
31419
- source: GridNormalizedRectSchema,
31420
- /** Where it lands, normalized against the CANVAS. */
31421
- cell: GridNormalizedRectSchema
31422
- });
31423
- /**
31424
- * Which profiles this grid can actually compose, and why not.
31425
- *
31426
- * A grid's `high` composes its sources' `high` and its `low` their `low`, so a
31427
- * profile is on offer only when EVERY source can serve it. The refusal NAMES
31428
- * the sources, because "this grid has no low" is not a finding — "615 has no
31429
- * low" is, and it is the one an operator can act on.
31430
- */
31431
- var GridProfileOfferSchema = object({
31432
- profile: _enum([
31433
- "high",
31434
- "mid",
31435
- "low"
31436
- ]),
31437
- offered: boolean(),
31438
- /** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
31439
- missingSources: array(number().int().positive()),
31440
- /**
31441
- * The canvas this profile composes onto, `WxH`, or empty when it is not
31442
- * offered. DERIVED from the cells and the sources' own size at this profile —
31443
- * it is reported because nothing else in the system would ever say what the
31444
- * grid came out as, and because it is the number an operator would otherwise
31445
- * expect to type.
31446
- */
31447
- canvas: string(),
31448
- /**
31449
- * Whether this profile is PUBLISHED, of the ones the grid could serve.
31450
- *
31451
- * A grid's `high` is composed of its sources' `high`, so on a 4K fleet it is
31452
- * a 4K canvas built from 4K decodes — something to opt into, not something a
31453
- * viewer's adaptive should be handed by climbing to the top rung it can see.
31454
- * Default is `mid` + `low`.
31455
- */
31456
- published: boolean()
31457
- });
31458
- var GridLayoutViewSchema = object({
31459
- /** The persisted grid row this camera was declared from. */
31460
- instanceId: string(),
31461
- deviceId: number().int().nonnegative(),
31462
- name: string(),
31463
- /**
31464
- * NO canvas size. A grid's resolution is not authored: each profile derives
31465
- * its own from the cells and its sources' dimensions. The two numbers that
31466
- * used to be here were a text field that silently decided both how much the
31467
- * composite cost and how sharp it was — see `profiles[].canvas` for what it
31468
- * came out as.
31469
- */
31470
- fps: number().int(),
31471
- cells: array(GridLayoutCellSchema),
31472
- /** What the catalog will publish, and what it refuses to. Read-only. */
31473
- profiles: array(GridProfileOfferSchema)
31474
- });
31475
- var GridLayoutPatchSchema = object({
31476
- deviceId: number().int().nonnegative(),
31477
- name: string().min(1).max(160).optional(),
31478
- fps: number().int().min(1).max(60).optional(),
31479
- /** Which profiles to publish. See `GridProfileOffer.published`. */
31480
- publishedProfiles: array(_enum([
31481
- "high",
31482
- "mid",
31483
- "low"
31484
- ])).max(3).optional(),
31485
- /**
31486
- * The whole cell list at once. A per-cell patch would need an ordering the
31487
- * editor does not have, and a half-applied layout is a picture nobody asked
31488
- * for.
31489
- */
31490
- cells: array(GridLayoutCellSchema).max(16)
31491
- });
31492
- DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }), method(GridLayoutPatchSchema, GridLayoutViewSchema, {
31493
- kind: "mutation",
31494
- auth: "admin"
31495
- });
31496
- /**
31497
31920
  * Motion-zones share the same MaskShape vocabulary as privacy-mask — the
31498
31921
  * on-camera motion-detection mask is a single `grid` region (a row-major
31499
31922
  * boolean cell lattice the camera's onboard VMD evaluates). Composing it as
@@ -33890,37 +34313,40 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
33890
34313
  kind: "mutation",
33891
34314
  auth: "admin"
33892
34315
  });
33893
- /**
33894
- * `recording` cap — footage availability + HLS playback manifests + per-device
33895
- * recording config. NOTE on events (source of truth, R5/C3): this cap carries
33896
- * NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
33897
- * events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
33898
- * rows) and are the ONLY event surface — the recorder has none. The in-RAM
33899
- * playback markers it used to build were deleted on 2026-08-29 because nothing
33900
- * ever read them. Event<->footage joins are by time, padded with the shared
33901
- * `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
33902
- */
33903
- var RecordingStatusSchema = object({
33904
- deviceId: number(),
33905
- enabled: boolean(),
33906
- /** THE derived storage mode, from the one definition
33907
- * (`deriveRecordingMode`) — never a second enum. A duplicated list is how
33908
- * `on-device-decision` could have reached the recorder and not the status. */
33909
- activeMode: RecordingStorageModeSchema,
33910
- nodeId: string(),
33911
- storageBytes: number()
33912
- });
34316
+ /** The one addon allowed to serve {@link RECORDING_SOURCE_CAMSTACK}: the
34317
+ * recorder, which is the addon that writes the footage (D560). */
34318
+ var RECORDING_SOURCE_CAMSTACK_ADDON = "recorder";
33913
34319
  var RecordingRangeSchema = object({
33914
34320
  profile: string(),
33915
34321
  startMs: number(),
33916
34322
  endMs: number()
33917
34323
  });
34324
+ /**
34325
+ * How a source ANSWERED, on every singular read of this cap.
34326
+ *
34327
+ * `'read'` — it looked. `ranges: []` / `days: []` is then a real claim: this
34328
+ * source has no coverage in the window. `'unreadable'` — nobody could look
34329
+ * (the camera was unreachable, the calendar rung threw, the location is
34330
+ * unmounted, the node is still on the old build), and the emptiness beside it
34331
+ * means NOTHING.
34332
+ *
34333
+ * The batch rows have carried this since the grid existed; the SINGULAR
34334
+ * answers gained it with the collection (D625 §10.4), because they are the
34335
+ * ones the single-camera picker uses and because a half-converted fleet makes
34336
+ * "nobody looked" common for the length of a deploy. Without it the timeline
34337
+ * has no vocabulary for it, and `(data ?? [])` in a viewer turns a rollout into
34338
+ * a fleet of cameras that appear to have lost their recordings (D315, D393).
34339
+ */
34340
+ var RecordingReadSchema = _enum(["read", "unreadable"]);
33918
34341
  var RecordingAvailabilitySchema = object({
33919
34342
  deviceId: number(),
34343
+ /** See {@link RecordingReadSchema}. An `'unreadable'` answer carries an empty
34344
+ * `ranges` that means nothing — never draw it as "no footage". */
34345
+ read: RecordingReadSchema,
33920
34346
  ranges: array(RecordingRangeSchema),
33921
34347
  /**
33922
- * Every profile this camera has footage in — not only the one `ranges`
33923
- * describes (D433).
34348
+ * Every profile this camera has footage in AT THIS SOURCE — not only the one
34349
+ * `ranges` describes (D433).
33924
34350
  *
33925
34351
  * `ranges` answers for ONE profile by design: the timeline is a single bar,
33926
34352
  * and enumerating all of them triples the directory reads for a bar that
@@ -33937,15 +34363,285 @@ var RecordingAvailabilitySchema = object({
33937
34363
  });
33938
34364
  var RecordingDaysSchema = object({
33939
34365
  deviceId: number(),
34366
+ /** See {@link RecordingReadSchema}. `days: []` on an `'unreadable'` answer is
34367
+ * "nobody could look", and the date-picker must not spell it the same as
34368
+ * "no footage this month". */
34369
+ read: RecordingReadSchema,
33940
34370
  /** Local-midnight epochs (UTC ms) of days that have ≥1 recorded segment. */
33941
34371
  days: array(number())
33942
34372
  });
34373
+ var RecordingManifestSchema = object({
34374
+ deviceId: number(),
34375
+ /** Local filesystem path to the master playlist; null when no recording exists for the requested range. */
34376
+ localMasterPath: string().nullable(),
34377
+ /** HTTP(S) URL to the master playlist on the recording node's playback server
34378
+ * (the PRIMARY candidate); null when no recording / server. Carries the
34379
+ * scoped playback token in its path. */
34380
+ playbackUrl: string().nullable(),
34381
+ /**
34382
+ * Candidate master-playlist URLs the client tries in order (LAN first, then
34383
+ * remote — Tailscale/Cloudflare if the operator configured extra hosts), each
34384
+ * carrying the same scoped token. `playbackUrl` is the first entry. Empty when
34385
+ * there is no recording / server.
34386
+ */
34387
+ playbackEndpoints: array(string())
34388
+ });
34389
+ var RecordingSourceAvailabilitySchema = object({
34390
+ state: _enum([
34391
+ "ok",
34392
+ "sleeping",
34393
+ "unreachable",
34394
+ "no-storage",
34395
+ "index-empty"
34396
+ ]),
34397
+ /** Free text, shown verbatim. Names the camera's own refusal when there is one. */
34398
+ reason: string().optional(),
34399
+ /** When this source's coverage was last CONFIRMED. A cached answer is never
34400
+ * drawn as current: the surface shows the age whenever it is older than the
34401
+ * refresh interval. The clip catalog's `catalogAsOf`, under the name the
34402
+ * timeline uses for it. */
34403
+ coverageAsOf: number().optional()
34404
+ });
34405
+ /**
34406
+ * One SOURCE of recorded coverage for a camera — a row of the picker.
34407
+ *
34408
+ * A provider lists the sources IT serves for that device, and answers for each
34409
+ * of them whether it can answer at all. A provider with nothing to offer on a
34410
+ * camera returns `[]` — it is not that camera's business. The five availability
34411
+ * states are `ClipSourceAvailability`'s verbatim: they mean exactly the same
34412
+ * things about a coverage index as about a clip catalog, and `sleeping` in
34413
+ * particular is what stops a battery camera being woken to paint a bar.
34414
+ */
34415
+ var RecordingSourceSchema = object({
34416
+ /** The source id. {@link RECORDING_SOURCE_CAMSTACK} for ours (RESERVED), a
34417
+ * vendor namespace (`native:reolink:onboard`, …) for a camera's own store. */
34418
+ source: string(),
34419
+ /** Operator-facing name of the source ("CamStack recordings", "SD card"). */
34420
+ label: string(),
34421
+ /**
34422
+ * The addon that SERVES this row, and the value a later call passes as
34423
+ * `provider`.
34424
+ *
34425
+ * Optional for version skew only. The collection dispatcher stamps it from
34426
+ * the registry, so a row that travelled through the fan-out carries the
34427
+ * authoritative id whatever the provider filled in (D557 §4).
34428
+ */
34429
+ addonId: string().optional(),
34430
+ availability: RecordingSourceAvailabilitySchema
34431
+ });
34432
+ /**
34433
+ * What a surface may DRAW for this (camera, source) — D612's rule applied to a
34434
+ * timeline: **the source declares what it can do, and the surface draws what
34435
+ * was declared. It never assumes, and never offers a gesture it will then
34436
+ * refuse.** D612 exists because `8` and `16` were offered as clip rates, the
34437
+ * broker clamped them to `4`, and no line anywhere said so.
34438
+ *
34439
+ * Asked once per (camera, source) before anything is drawn — never replaced by
34440
+ * a constant the surface keeps, which is the second authority D612 ends.
34441
+ */
34442
+ var RecordingSourceOptionsSchema = object({
34443
+ /** How this source's media reaches the player.
34444
+ * `archive` = our own indexed segment tree; `stream` = the provider's
34445
+ * forward-only fMP4 (D597); `realtime` = a replay bound to wall clock. */
34446
+ transport: _enum([
34447
+ "archive",
34448
+ "stream",
34449
+ "realtime"
34450
+ ]),
34451
+ /** What the BAR means. `continuous` = gaps are holes in a recording;
34452
+ * `sparse` = gaps are the absence of one, and must be drawn as such.
34453
+ *
34454
+ * Not an onboard-only concession: measured 2026-09-24, OUR bar covers 98.8 %
34455
+ * of 592's day and 1.2 % of 1436's. It is a fact about a (source, camera)
34456
+ * pair, and ours answers it per camera from `deriveRecordingMode`. */
34457
+ coverage: _enum(["continuous", "sparse"]),
34458
+ /** Where the playhead may be put.
34459
+ * `free` — anywhere, to the frame.
34460
+ * `forward` — only ahead of the current position.
34461
+ * `segment` — a position SNAPS to the head of the covering segment; a finer
34462
+ * ask is accepted by the camera and SILENTLY IGNORED. Measured
34463
+ * on 1436 (Hikvision V5.7.1, 2026-09-23): a window-narrowed
34464
+ * `ContentMgmt/search` returns a row and a `playbackURI`, the
34465
+ * replay opens 200 and delivers media — and the burned-in OSD of
34466
+ * the first frame reads the SEGMENT HEAD every time. Calling
34467
+ * that `forward` would tell the surface it may move the playhead
34468
+ * ahead within a loaded segment, which it may not. */
34469
+ seek: _enum([
34470
+ "free",
34471
+ "forward",
34472
+ "segment"
34473
+ ]),
34474
+ /** Frame-step BACKWARD is meaningful. */
34475
+ stepBack: boolean(),
34476
+ /** Whether the drag-scrub gesture is served, as opposed to refused by name. */
34477
+ scrub: boolean(),
34478
+ /** Deliverable rates, ascending, always containing `1`. The surface draws its
34479
+ * picker from this and from NOTHING else (D612, D620, D621). `0` is not a
34480
+ * member: pause is the absence of a rate. */
34481
+ rates: array(number().positive()).min(1).readonly(),
34482
+ /** TRUE when a read of this source HOLDS the camera's only playback session.
34483
+ * A surface with this set makes at most ONE read at a time and draws no
34484
+ * scrub-thumbnail strip, no hover preview, no prefetch and no background
34485
+ * refresh. The precedent is exact and expensive: filling one screen of
34486
+ * Hikvision thumbnails at 1.01× realtime consumed fifteen minutes of that
34487
+ * camera's only playback session (1.2.126, reported within minutes), and a
34488
+ * timeline is a screenful of reads by construction. */
34489
+ exclusive: boolean()
34490
+ });
34491
+ /**
34492
+ * How to PLAY the instant that was asked for, from the chosen source.
34493
+ *
34494
+ * No new media transport is built for onboard sources: the `clip` arm is a
34495
+ * DELEGATION to the `videoclips` transport that vendor already has (D597 /
34496
+ * D616 / D617). The onboard half of this collection is a PROJECTION of
34497
+ * `videoclips` for coverage and a delegation to it for bytes.
34498
+ */
34499
+ var RecordingPlaybackSchema = discriminatedUnion("kind", [
34500
+ object({
34501
+ kind: literal("hls"),
34502
+ manifest: RecordingManifestSchema
34503
+ }),
34504
+ object({
34505
+ kind: literal("clip"),
34506
+ /** The `videoclips` source namespace this clip id belongs to. */
34507
+ source: string(),
34508
+ clipId: string(),
34509
+ /** Where this clip actually STARTS. On a `seek: 'segment'` source the
34510
+ * playhead lands here, not at the requested instant — the surface must be
34511
+ * TOLD, not left to discover it from a burned-in OSD. */
34512
+ startsAtMs: number()
34513
+ }),
34514
+ object({
34515
+ kind: literal("none"),
34516
+ reason: string()
34517
+ })
34518
+ ]);
34519
+ DeviceType.Camera, method(object({ deviceId: number() }), array(RecordingSourceSchema).readonly(), {
34520
+ kind: "query",
34521
+ auth: "protected"
34522
+ }), method(object({
34523
+ deviceId: number(),
34524
+ /**
34525
+ * WHICH provider to ask — the `addonId` a {@link RecordingSourceSchema}
34526
+ * row carries, never a source id and never a list. **REQUIRED**, in the
34527
+ * schema, where the generated types make it unomittable rather than
34528
+ * merely discouraged (D554 amended).
34529
+ *
34530
+ * It was learned the expensive way on `videoclips.listClips`: measured
34531
+ * on the live hub 2026-09-20, device 592 bound to `recorder` AND
34532
+ * `provider-reolink`, a bare call with `limit: 3` answered SIX rows,
34533
+ * three from each source, merged — `device-collection-dispatch.ts`
34534
+ * leaves an unpinned fan-out un-narrowed, so absence buys the union the
34535
+ * method exists not to be. An un-narrowed `getAvailability` would do
34536
+ * that to a TIMELINE: our ranges and the card's clips unioned into one
34537
+ * bar, which is "two sources are never drawn together" broken in the
34538
+ * one place it matters most.
34539
+ *
34540
+ * A provider the device is not bound to is refused BY NAME (D552's
34541
+ * `rejectUnresolvedAddonPin`), never answered by another one.
34542
+ */
34543
+ provider: string().min(1),
34544
+ fromMs: number(),
34545
+ toMs: number(),
34546
+ /**
34547
+ * Answer for THIS profile instead of the source's preferred one (D433).
34548
+ * Absent keeps the timeline's behaviour — one bar, one profile, one set
34549
+ * of reads. `profilesWithFootage` on the answer says what may be asked
34550
+ * for.
34551
+ */
34552
+ profile: string().optional()
34553
+ }), RecordingAvailabilitySchema, {
34554
+ kind: "query",
34555
+ auth: "protected"
34556
+ }), method(object({
34557
+ deviceId: number(),
34558
+ provider: string().min(1),
34559
+ fromMs: number(),
34560
+ toMs: number(),
34561
+ tzOffsetMinutes: number()
34562
+ }), RecordingDaysSchema, {
34563
+ kind: "query",
34564
+ auth: "protected"
34565
+ }), method(object({
34566
+ deviceId: number(),
34567
+ provider: string().min(1),
34568
+ fromMs: number(),
34569
+ toMs: number(),
34570
+ profile: CamProfileSchema.optional()
34571
+ }), RecordingPlaybackSchema, {
34572
+ kind: "query",
34573
+ auth: "protected"
34574
+ }), method(object({
34575
+ deviceId: number(),
34576
+ provider: string().min(1)
34577
+ }), RecordingSourceOptionsSchema, {
34578
+ kind: "query",
34579
+ auth: "protected"
34580
+ });
34581
+ /**
34582
+ * `recording-archive` — OUR archive, and the intent that fills it.
34583
+ *
34584
+ * The system-singleton half of the 2026-09-24 cut (D625). `recording` used to
34585
+ * be one 33-method system singleton holding two unrelated subjects: three
34586
+ * per-camera READS about coverage and playback, and everything else — storage
34587
+ * locations, retention, relocation, rebalance, the ops log, the placement
34588
+ * table and the byte-plane primitives our scrub and export are built on.
34589
+ *
34590
+ * The reads became a device-scoped COLLECTION, so a camera's own card can be a
34591
+ * source beside ours (`recording.cap.ts`). Everything that is about OUR store,
34592
+ * or unimplementable by a camera, stayed here.
34593
+ *
34594
+ * ## On the name
34595
+ *
34596
+ * `recording-storage` was the obvious choice and is wrong: this cap also holds
34597
+ * `getDeviceConfig`/`setDeviceConfig`, which are recording INTENT — bands,
34598
+ * retention, the D62 switch authority — and a name that says "storage" invites
34599
+ * the next reader to move them out again. An archive is a thing we keep, and
34600
+ * what we keep it under is a policy; the name covers both halves honestly and
34601
+ * sits in the existing family (`recording-onboard`, `recording-export`,
34602
+ * `recording-signal`).
34603
+ *
34604
+ * ## What must NOT happen to it
34605
+ *
34606
+ * It stays a SINGLETON. It is registered by `recorder`, which is
34607
+ * `placement: 'any-node'` and runs on every recording node; the hub dispatches
34608
+ * to one of them. Putting the ledger, the placement table or the relocation
34609
+ * jobs behind a fan-out is the one genuinely dangerous move in this cut.
34610
+ *
34611
+ * `getDeviceConfig` / `setDeviceConfig` in particular are the D62 recording
34612
+ * authority (`CameraSwitch.authority`). If a write reached a different provider
34613
+ * than the read — which a collection fan-out permits — two authorities would
34614
+ * decide when one camera records, and the symptom (recording silently off, or
34615
+ * a `bands` array clobbered by a partial write) is durable and silent. Keeping
34616
+ * them here means the worst case during a rollout is a 412: the switch refuses
34617
+ * to flip and SAYS so. **Do not move them into the collection, at any point,
34618
+ * for any reason.**
34619
+ *
34620
+ * ## The two batch reads
34621
+ *
34622
+ * `getAvailabilityBatch` / `getDaysWithRecordingsBatch` take `deviceIds:
34623
+ * number[]` with no single `deviceId`, and a device-scoped mount routes
34624
+ * through `getProviderForDevice(deviceId)` — there is nothing for it to route
34625
+ * on. They stay here, and on this cap the batch is explicitly OURS: a grid has
34626
+ * no per-camera picker, and a caller that wants another source's coverage asks
34627
+ * `recording.getAvailability` per device with that source's `provider`.
34628
+ */
34629
+ var RecordingStatusSchema = object({
34630
+ deviceId: number(),
34631
+ enabled: boolean(),
34632
+ /** THE derived storage mode, from the one definition
34633
+ * (`deriveRecordingMode`) — never a second enum. A duplicated list is how
34634
+ * `on-device-decision` could have reached the recorder and not the status. */
34635
+ activeMode: RecordingStorageModeSchema,
34636
+ nodeId: string(),
34637
+ storageBytes: number()
34638
+ });
33943
34639
  /**
33944
34640
  * One camera's row in a `getAvailabilityBatch` answer.
33945
34641
  *
33946
- * `ranges` is EXACTLY what `getAvailability` returns for that camera — the
33947
- * batch collapses the transport, not the work — plus the one thing the singular
33948
- * method never had to say:
34642
+ * `ranges` is EXACTLY what `recording.getAvailability` returns for that camera
34643
+ * at OUR source — the batch collapses the transport, not the work — plus the
34644
+ * `read` mark the singular answer now carries too (D625):
33949
34645
  *
33950
34646
  * - `read: 'read'` — answered. `ranges: []` means "read, and this camera has
33951
34647
  * no footage in the window", which is a real claim.
@@ -33977,22 +34673,6 @@ var RecordingDaysForDeviceSchema = object({
33977
34673
  /** Local-midnight epochs (UTC ms) of days that have ≥1 recorded segment. */
33978
34674
  days: array(number()).readonly()
33979
34675
  });
33980
- var RecordingManifestSchema = object({
33981
- deviceId: number(),
33982
- /** Local filesystem path to the master playlist; null when no recording exists for the requested range. */
33983
- localMasterPath: string().nullable(),
33984
- /** HTTP(S) URL to the master playlist on the recording node's playback server
33985
- * (the PRIMARY candidate); null when no recording / server. Carries the
33986
- * scoped playback token in its path. */
33987
- playbackUrl: string().nullable(),
33988
- /**
33989
- * Candidate master-playlist URLs the client tries in order (LAN first, then
33990
- * remote — Tailscale/Cloudflare if the operator configured extra hosts), each
33991
- * carrying the same scoped token. `playbackUrl` is the first entry. Empty when
33992
- * there is no recording / server.
33993
- */
33994
- playbackEndpoints: array(string())
33995
- });
33996
34676
  /**
33997
34677
  * Recording storage usage for one camera — what the ARCHIVE holds for it,
33998
34678
  * across every profile and every resolvable location on this node.
@@ -34251,34 +34931,12 @@ var ReadWindowBytesResultSchema = discriminatedUnion("kind", [object({
34251
34931
  segmentEndMs: number()
34252
34932
  })]);
34253
34933
  method(object({
34254
- deviceId: number(),
34255
- fromMs: number(),
34256
- toMs: number(),
34257
- /**
34258
- * Answer for THIS profile instead of the preferred one (D433). Absent
34259
- * keeps the timeline's behaviour — one bar, one profile, one set of
34260
- * reads. `profilesWithFootage` on the answer says what may be asked
34261
- * for.
34262
- */
34263
- profile: string().optional()
34264
- }), RecordingAvailabilitySchema, {
34265
- kind: "query",
34266
- auth: "protected"
34267
- }), method(object({
34268
34934
  deviceIds: array(number()).min(1).max(200),
34269
34935
  fromMs: number(),
34270
34936
  toMs: number()
34271
34937
  }), array(RecordingAvailabilityForDeviceSchema).readonly(), {
34272
34938
  kind: "query",
34273
34939
  auth: "protected"
34274
- }), method(object({
34275
- deviceId: number(),
34276
- fromMs: number(),
34277
- toMs: number(),
34278
- tzOffsetMinutes: number()
34279
- }), RecordingDaysSchema, {
34280
- kind: "query",
34281
- auth: "protected"
34282
34940
  }), method(object({
34283
34941
  deviceIds: array(number()).min(1).max(200),
34284
34942
  fromMs: number(),
@@ -34287,19 +34945,12 @@ method(object({
34287
34945
  }), array(RecordingDaysForDeviceSchema).readonly(), {
34288
34946
  kind: "query",
34289
34947
  auth: "protected"
34290
- }), method(object({
34291
- deviceId: number(),
34292
- fromMs: number(),
34293
- toMs: number()
34294
- }), RecordingManifestSchema, {
34295
- kind: "query",
34296
- auth: "protected"
34297
34948
  }), method(object({}), RecordingStorageUsageSchema, {
34298
34949
  kind: "query",
34299
34950
  auth: "admin"
34300
34951
  }), method(object({ deviceId: number() }), RecordingConfigSchema, {
34301
34952
  kind: "query",
34302
- auth: "admin"
34953
+ auth: "protected"
34303
34954
  }), method(object({
34304
34955
  deviceId: number(),
34305
34956
  profile: string(),
@@ -34529,13 +35180,101 @@ var ExportStateSchema = _enum([
34529
35180
  "expired",
34530
35181
  "deleted"
34531
35182
  ]);
34532
- /** One export job / history row. */
35183
+ /**
35184
+ * WHAT an export is — the authority, as opposed to the four top-level fields
35185
+ * the Library sorts and labels on (D558 § 2.2).
35186
+ *
35187
+ * Read it through {@link exportSubjectOf}, never off the record directly: the
35188
+ * field is optional for the history rows written before it existed, and that
35189
+ * absence has exactly one interpreter.
35190
+ */
35191
+ var ExportSubjectSchema = discriminatedUnion("kind", [object({
35192
+ kind: literal("footage"),
35193
+ deviceId: number(),
35194
+ profiles: array(string()).min(1),
35195
+ fromMs: number(),
35196
+ toMs: number()
35197
+ }), object({
35198
+ kind: literal("clip"),
35199
+ deviceId: number(),
35200
+ provider: string().min(1),
35201
+ source: string().min(1),
35202
+ sourceLabel: string().min(1),
35203
+ clipId: string().min(1),
35204
+ /**
35205
+ * WHERE IN THE CATALOG to confirm this clip — the day window the surface was
35206
+ * already listing when the operator picked the segment.
35207
+ *
35208
+ * It is **not** a time range control and it never becomes one: the record's
35209
+ * `fromMs`/`toMs` come from the catalog ROW and from nothing a caller
35210
+ * supplied (D558 § 5.4.3), and a window that does not contain the clip is a
35211
+ * `catalog-miss`, not a silently wider search. It exists because
35212
+ * `videoclips.listClips` takes `since`/`until` and has no by-handle twin:
35213
+ * the catalog check D558 asks for is literally that call, and a call needs a
35214
+ * window. The surface has one — `ClipsBrowser`'s `dayWindow`, one local
35215
+ * wall-clock day, which is also the only width measured to be cheap (one
35216
+ * day on 592 lists 171 clips in 712 ms, a busy day 546 in 2.0 s; twenty days
35217
+ * of one child's events took 3.6–5.4 s).
35218
+ */
35219
+ catalogWindow: object({
35220
+ sinceMs: number(),
35221
+ untilMs: number()
35222
+ }),
35223
+ profile: _enum([
35224
+ "high",
35225
+ "mid",
35226
+ "low"
35227
+ ]),
35228
+ /**
35229
+ * The operator's authorisation to wake a sleeping camera for this export.
35230
+ * ONE definition, in the cap that owns the clip read ({@link ClipWakeSchema}),
35231
+ * because the gate that honours it is the clip provider's sleep gate — a
35232
+ * second enum here would be a second contract. Absent by default; never
35233
+ * settable by a scheduler or a retry.
35234
+ *
35235
+ * **One authorised yes is ONE wake.** A failed clip export is retried only by
35236
+ * an operator act that asks again; a queued job that outlived its wake fails
35237
+ * with a reason rather than waking on its turn; and this subject carries
35238
+ * exactly one profile precisely so one tap is never two fetches (D558 § 5.2).
35239
+ */
35240
+ wake: ClipWakeSchema.optional()
35241
+ })]);
35242
+ /**
35243
+ * One export job / history row.
35244
+ *
35245
+ * **`subject` is the AUTHORITY on what was exported. `deviceId`, `profile`,
35246
+ * `fromMs` and `toMs` are its PROJECTION** — kept top-level because the whole
35247
+ * Library sorts and labels on them (`library-items.ts` orders an export by
35248
+ * `fromMs`; `export-format.ts` draws `rangeLabel` from the pair), and a row
35249
+ * that did not fill them would sort under the epoch and render a blank range.
35250
+ * Write to the subject and read from the projection and the two will disagree;
35251
+ * the projection is derived at creation and never edited afterwards.
35252
+ *
35253
+ * And they mean DIFFERENT FACTS for the two kinds, which is the part a reader
35254
+ * who knows only the recording export will get wrong:
35255
+ *
35256
+ * | field | `kind:'footage'` | `kind:'clip'` |
35257
+ * | --- | --- | --- |
35258
+ * | `fromMs`/`toMs` | the stretch the operator ASKED for | the camera's own boundaries, always `clip.timeRange`, never anything a caller supplied |
35259
+ * | `profile` | the stream rendered | the twin actually SERVED (`subject.profile` is the one asked for) |
35260
+ *
35261
+ * Same type, different fact — the shape this repo keeps getting wrong (D385's
35262
+ * two authorities, D224's second copy).
35263
+ */
34533
35264
  var ExportRecordSchema = object({
34534
35265
  id: string(),
34535
35266
  deviceId: number(),
34536
35267
  profile: string(),
34537
35268
  fromMs: number(),
34538
35269
  toMs: number(),
35270
+ /**
35271
+ * What this export IS. Optional ONLY for the rows written before D558: the
35272
+ * store parses every row through this schema on every read, so a required
35273
+ * field would make the export AUDIT — which is the whole reason rows survive
35274
+ * file deletion — unreadable in one release. Absence means `footage`, and
35275
+ * {@link exportSubjectOf} is the one place that says so.
35276
+ */
35277
+ subject: ExportSubjectSchema.optional(),
34539
35278
  options: ExportOptionsSchema,
34540
35279
  state: ExportStateSchema,
34541
35280
  /** 0–100 while rendering; null otherwise. */
@@ -34552,6 +35291,18 @@ var ExportRecordSchema = object({
34552
35291
  /** Failure reason when state is 'failed'; null otherwise. */
34553
35292
  error: string().nullable()
34554
35293
  });
35294
+ _enum([
35295
+ "catalog-miss",
35296
+ "catalog-unreachable",
35297
+ "no-file-for-window",
35298
+ "clip-in-progress",
35299
+ "unsupported-option",
35300
+ "sleeping",
35301
+ "camera-refused",
35302
+ "fetch-failed",
35303
+ "too-large-to-transfer",
35304
+ "wake-expired"
35305
+ ]);
34555
35306
  /** Candidate download URLs (LAN first, then operator extra hosts). */
34556
35307
  var ExportDownloadSchema = object({
34557
35308
  url: string(),
@@ -34589,16 +35340,50 @@ var ExportBytesSchema = object({
34589
35340
  name: string(),
34590
35341
  bytes: number().int().nonnegative()
34591
35342
  });
35343
+ /** Canonical `profiles[]`, falling back to the legacy singular `profile`. */
35344
+ function resolveExportProfiles(input) {
35345
+ if (input.profiles !== void 0 && input.profiles.length > 0) return [...input.profiles];
35346
+ if (typeof input.profile === "string" && input.profile.length > 0) return [input.profile];
35347
+ return [];
35348
+ }
34592
35349
  method(object({
34593
35350
  deviceId: number(),
34594
35351
  /** @deprecated Prefer `profiles`. Kept so timelapse/notifiers keep working. */
34595
35352
  profile: string().optional(),
34596
35353
  profiles: array(string()).min(1).optional(),
34597
- fromMs: number(),
34598
- toMs: number(),
35354
+ /** Footage only — a clip's boundaries are the camera's. */
35355
+ fromMs: number().optional(),
35356
+ toMs: number().optional(),
35357
+ /** What to export. Absent means the legacy flat footage request. */
35358
+ subject: ExportSubjectSchema.optional(),
34599
35359
  options: ExportOptionsSchema
34600
35360
  }).superRefine((v, ctx) => {
34601
- if ((v.profiles !== void 0 && v.profiles.length > 0 ? v.profiles : v.profile !== void 0 ? [v.profile] : []).length < 1) ctx.addIssue({
35361
+ if (v.subject?.kind === "clip") {
35362
+ if (v.subject.deviceId !== v.deviceId) ctx.addIssue({
35363
+ code: ZodIssueCode.custom,
35364
+ message: `subject.deviceId (${v.subject.deviceId}) must equal deviceId (${v.deviceId}) — the top-level field is what per-device scope enforcement reads`,
35365
+ path: ["subject", "deviceId"]
35366
+ });
35367
+ if (v.fromMs !== void 0 || v.toMs !== void 0) ctx.addIssue({
35368
+ code: ZodIssueCode.custom,
35369
+ message: "a clip export asks for no time range: the camera chose the boundaries and they are read from the catalog row",
35370
+ path: ["fromMs"]
35371
+ });
35372
+ return;
35373
+ }
35374
+ if (v.subject?.kind === "footage" && v.subject.deviceId !== v.deviceId) ctx.addIssue({
35375
+ code: ZodIssueCode.custom,
35376
+ message: `subject.deviceId (${v.subject.deviceId}) must equal deviceId (${v.deviceId})`,
35377
+ path: ["subject", "deviceId"]
35378
+ });
35379
+ const fromMs = v.subject?.kind === "footage" ? v.subject.fromMs : v.fromMs;
35380
+ const toMs = v.subject?.kind === "footage" ? v.subject.toMs : v.toMs;
35381
+ if (typeof fromMs !== "number" || typeof toMs !== "number") ctx.addIssue({
35382
+ code: ZodIssueCode.custom,
35383
+ message: "a footage export needs fromMs and toMs",
35384
+ path: ["fromMs"]
35385
+ });
35386
+ if ((v.subject?.kind === "footage" ? [...v.subject.profiles] : resolveExportProfiles(v)).length < 1) ctx.addIssue({
34602
35387
  code: ZodIssueCode.custom,
34603
35388
  message: "pass profiles[] (min 1) or legacy profile",
34604
35389
  path: ["profiles"]
@@ -34626,6 +35411,346 @@ method(object({
34626
35411
  auth: "protected"
34627
35412
  });
34628
35413
  /**
35414
+ * Vendor-neutral **onboard** recording + storage cap — what the CAMERA
35415
+ * writes to the CAMERA's own card, on the camera's own schedule.
35416
+ *
35417
+ * This is NOT `recording.cap.ts`. That one is CamStack's recorder: our
35418
+ * footage ledger, our storage locations, our retention. This one has a
35419
+ * different authority — the camera's firmware — and per D62 it stores
35420
+ * nothing of its own. Every value here is read from the camera and every
35421
+ * write goes back to the camera; there is no CamStack-side mirror that
35422
+ * could disagree with the device.
35423
+ *
35424
+ * ## One shape, two firmwares
35425
+ *
35426
+ * Measured 2026-09-22 against the live fleet:
35427
+ *
35428
+ * | fact | Hikvision (ISAPI) | Reolink (Baichuan) |
35429
+ * | --- | --- | --- |
35430
+ * | storage | `ContentMgmt/Storage` `<hdd>` rows: status, capacity, freeSpace (MB) | `getHddInfoList` (cmd 102): `mount`, `format`, `capacity` GB + `capacityM` MB remainder |
35431
+ * | tracks | several (101 **and** 103 on both 1436 and 3833), each with its own schedule | one per channel |
35432
+ * | schedule | per track, 7 `ScheduleAction` blocks: DayOfWeek + TimeOfDay range + ONE `ActionRecordingMode` | per trigger type, a 168-char weekly HOUR mask |
35433
+ * | triggers | `CMR`, `MOTION` | `Normal`, `MD`, `people`, `vehicle`, `dog_cat`, `crossline`, `intrude`, `loitering` |
35434
+ * | pre-record | `PreRecordTimeSeconds` | `preRecordTime` |
35435
+ * | post-record | `PostRecordTimeSeconds` | `recordDelayTime` |
35436
+ * | overwrite | per track `LoopEnable` | `cycle`, with `cycleList` enumerating the accepted values |
35437
+ * | segment length | not exposed on V5.7.1 | `packageTime` (minutes) |
35438
+ *
35439
+ * The two schedule models look different and are the same thing in
35440
+ * different coordinates: both answer "for this trigger, during which
35441
+ * weekly windows does the camera record". {@link RecordWindow} is that
35442
+ * question in one shape — Hikvision's ranges map straight onto it,
35443
+ * Reolink's mask expands into hour-aligned windows.
35444
+ *
35445
+ * ## Union, not intersection
35446
+ *
35447
+ * **The same fields exist on every camera.** What differs per device is
35448
+ * which VALUES that device accepts, and that is what {@link
35449
+ * RecordingOnboardOptions} reports — a `{ readable, writable, reason }`
35450
+ * per field plus the schedule's own limits. A control a camera cannot
35451
+ * honour is rendered DISABLED WITH ITS REASON, never missing and never
35452
+ * dead: disabled must not look like broken.
35453
+ *
35454
+ * ## Refusal by name
35455
+ *
35456
+ * A write a camera cannot honour is refused with a sentence the operator
35457
+ * can read — never accepted and dropped. Both providers refuse through
35458
+ * {@link describeOnboardRefusal}, so the vocabulary is one function and
35459
+ * one test, not two hand-written vendor opinions.
35460
+ *
35461
+ * Follows the D14 `deviceConfig` archetype (see `stream-params.cap.ts`):
35462
+ * `getOptions` advertises per-camera availability, `getStatus` (auto-
35463
+ * injected from `status`) reports the live values, and a single
35464
+ * `setSettings` mutation applies a partial change. No hand-written
35465
+ * settings-contribution methods.
35466
+ */
35467
+ /**
35468
+ * What makes the camera start recording during a window.
35469
+ *
35470
+ * The union of both vendors' vocabularies. `continuous` is Hikvision's
35471
+ * `CMR` and Reolink's `Normal`; `motion` is `MOTION` / `MD`. The
35472
+ * object-class triggers are Reolink-only today and the smart-event ones
35473
+ * (`lineCrossing`, `intrusion`, `loitering`) are Reolink-only on the
35474
+ * firmwares measured — a camera that cannot record on a trigger simply
35475
+ * does not list it in `options.schedule.triggers`, and a window naming
35476
+ * it is REFUSED, not dropped.
35477
+ */
35478
+ var RecordTriggerSchema = _enum([
35479
+ "continuous",
35480
+ "motion",
35481
+ "person",
35482
+ "vehicle",
35483
+ "animal",
35484
+ "lineCrossing",
35485
+ "intrusion",
35486
+ "loitering",
35487
+ "alarmInput"
35488
+ ]);
35489
+ /**
35490
+ * One weekly recording window: "on `day`, from `startMinute` to
35491
+ * `endMinute`, record on `trigger`".
35492
+ *
35493
+ * `day` is 0 = Monday … 6 = Sunday (ISO order, which is also the order
35494
+ * both firmwares enumerate). Minutes are local camera time since
35495
+ * midnight; `endMinute` may be 1440, meaning end of day — that is
35496
+ * Hikvision's literal `24:00` and Reolink's 24th mask slot, and
35497
+ * collapsing it to 0 would turn a whole-day window into an empty one.
35498
+ */
35499
+ var RecordWindowSchema = object({
35500
+ trigger: RecordTriggerSchema,
35501
+ day: number().int().min(0).max(6),
35502
+ startMinute: number().int().min(0).max(1439),
35503
+ endMinute: number().int().min(1).max(1440)
35504
+ });
35505
+ /** Status of one physical volume, as the camera itself describes it. */
35506
+ var OnboardStorageVolumeSchema = object({
35507
+ /** The camera's own id for the volume (`hdd/id`, Reolink `HddInfo/number`). */
35508
+ id: string(),
35509
+ /** The camera's own name for it, when it gives one (`hddName`). */
35510
+ label: string().optional(),
35511
+ status: _enum([
35512
+ "ok",
35513
+ "unformatted",
35514
+ "error",
35515
+ "offline",
35516
+ "unknown"
35517
+ ]),
35518
+ /**
35519
+ * Total size in MB, or **null when the camera did not say**.
35520
+ *
35521
+ * Never 0 for an unreadable value: a measurement that failed is not a
35522
+ * measurement (D393), and a card whose size is unknown must not be
35523
+ * rendered as a card of size zero.
35524
+ */
35525
+ capacityMb: number().nullable(),
35526
+ /**
35527
+ * Free space in MB, or null when unknown.
35528
+ *
35529
+ * **Not a proxy for "has footage".** Measured 2026-09-22: 1436 and
35530
+ * 1439 both report exactly 11776 MB free — the fixed reserve a looping
35531
+ * card converges on once it has wrapped. At loop steady state the
35532
+ * number is identical whether the camera recorded yesterday or stopped
35533
+ * a month ago.
35534
+ */
35535
+ freeMb: number().nullable(),
35536
+ /** True when the camera reports the volume writable (`property` RW). */
35537
+ writable: boolean().optional()
35538
+ });
35539
+ /**
35540
+ * What the camera is doing with its own storage, right now.
35541
+ *
35542
+ * Every scalar is nullable and **null means the camera did not answer**,
35543
+ * never a default. A form that seeds `0` from an unanswered read invites
35544
+ * the operator to save that 0 back onto the camera.
35545
+ */
35546
+ var RecordingOnboardStatusSchema = object({
35547
+ storage: discriminatedUnion("kind", [
35548
+ object({
35549
+ kind: literal("present"),
35550
+ volumes: array(OnboardStorageVolumeSchema)
35551
+ }),
35552
+ object({
35553
+ kind: literal("absent"),
35554
+ reason: string()
35555
+ }),
35556
+ object({
35557
+ kind: literal("unknown"),
35558
+ reason: string()
35559
+ })
35560
+ ]),
35561
+ tracks: array(object({
35562
+ id: string(),
35563
+ enabled: boolean(),
35564
+ isVideo: boolean(),
35565
+ /** From the camera's own track description. Null when it does not say. */
35566
+ codec: string().nullable(),
35567
+ resolution: string().nullable(),
35568
+ /** Per-track overwrite flag, where the firmware keeps it per track. */
35569
+ overwriteWhenFull: boolean().nullable()
35570
+ })),
35571
+ /**
35572
+ * The track the write path targets — the enabled VIDEO one. Null when
35573
+ * no track could be identified, which is itself a refusal reason.
35574
+ */
35575
+ primaryTrackId: string().nullable(),
35576
+ /** Master "record to the card at all" switch. */
35577
+ enabled: boolean().nullable(),
35578
+ overwriteWhenFull: boolean().nullable(),
35579
+ preRecordSec: number().nullable(),
35580
+ postRecordSec: number().nullable(),
35581
+ /** Length of one recorded file, in minutes. */
35582
+ segmentMinutes: number().nullable(),
35583
+ /** The primary track's weekly windows, flattened. */
35584
+ windows: array(RecordWindowSchema),
35585
+ /**
35586
+ * How many windows the camera described that CamStack could NOT read —
35587
+ * an unrecognised trigger, an unparseable clock, a weekday it does not
35588
+ * name.
35589
+ *
35590
+ * A dropped window is work the reader threw away, and a schedule that
35591
+ * silently shows fewer rows than the camera holds is how an operator
35592
+ * saves back a schedule shorter than the one they were looking at
35593
+ * (D391). Non-zero means the window list is INCOMPLETE and a write
35594
+ * that replaces it would delete what was not shown — which is why a
35595
+ * provider reporting a non-zero count also reports the schedule as not
35596
+ * writable.
35597
+ */
35598
+ unreadableWindows: number(),
35599
+ /**
35600
+ * The camera is scheduled to record and has NO usable storage.
35601
+ *
35602
+ * A first-class fact because it is the fleet's most common silent
35603
+ * defect: measured 2026-09-22, 1441 and 3831 are both motion-recording
35604
+ * to a card that is not there. Neither the schedule nor the storage
35605
+ * read says anything wrong on its own; only the pair does.
35606
+ */
35607
+ recordingToNowhere: boolean(),
35608
+ lastFetchedAt: number()
35609
+ });
35610
+ /** Numeric range descriptor — `{ min, max, step }` per the getOptions convention. */
35611
+ var RangeSchema = object({
35612
+ min: number(),
35613
+ max: number(),
35614
+ step: number()
35615
+ });
35616
+ /**
35617
+ * The values a camera actually takes for a numeric field, when they are a SET
35618
+ * rather than a range.
35619
+ *
35620
+ * `{min,max,step}` cannot say what these two firmwares do. Measured on 1436
35621
+ * (I91DN) on 2026-09-22 by writing each value and reading it back:
35622
+ *
35623
+ * - pre-record: `0, 5, 10, 15, 20, 25, 30` and `2147483647` (INT32_MAX, the
35624
+ * camera's "no limit" — `-1` and `4294967295` both land on it);
35625
+ * - post-record: `5, 10, 30, 60, 120, 300, 600`.
35626
+ *
35627
+ * Neither is expressible as a step: the first has a sentinel two billion away
35628
+ * from its neighbours, the second doubles and then jumps. A range that tried
35629
+ * would forbid values the camera takes AND permit values it silently replaces
35630
+ * with 5 — wrong in both directions at once.
35631
+ *
35632
+ * `sentinel` names the member that is not a duration, so a surface can render
35633
+ * "no limit" instead of `2147483647` seconds.
35634
+ */
35635
+ var AllowedValuesSchema = object({
35636
+ values: array(number()).min(1),
35637
+ sentinel: object({
35638
+ value: number(),
35639
+ meaning: _enum(["no-limit", "disabled"])
35640
+ }).optional()
35641
+ });
35642
+ /**
35643
+ * Per-field availability on ONE camera.
35644
+ *
35645
+ * The field exists on every camera — this says whether this one can be
35646
+ * read and whether it can be written, and `reason` says why not when
35647
+ * either is false. The UI renders the control DISABLED with the reason
35648
+ * rather than hiding it, so a limitation is legible instead of looking
35649
+ * like a missing feature.
35650
+ */
35651
+ var OnboardFieldSupportSchema = object({
35652
+ readable: boolean(),
35653
+ writable: boolean(),
35654
+ /** Required whenever `readable` or `writable` is false. */
35655
+ reason: string().optional()
35656
+ });
35657
+ /** What this camera's schedule model can express. */
35658
+ var OnboardScheduleSupportSchema = object({
35659
+ support: OnboardFieldSupportSchema,
35660
+ /**
35661
+ * The smallest time step the camera can express, in minutes.
35662
+ *
35663
+ * Hikvision takes arbitrary minutes (`00:05:00`–`23:57:00` observed on
35664
+ * 1436's track 103). Reolink's schedule is a 7×24 HOUR mask, so 60. A
35665
+ * window whose edges are not a multiple of this is REFUSED rather than
35666
+ * quietly rounded — rounding is how an operator's 06:30 becomes 06:00
35667
+ * and nothing says so.
35668
+ */
35669
+ granularityMinutes: number(),
35670
+ /** Triggers this camera can record on. A window naming another is refused. */
35671
+ triggers: array(RecordTriggerSchema),
35672
+ /**
35673
+ * False when the camera stores ONE trigger per time range, so two
35674
+ * windows overlapping on the same day cannot carry different triggers.
35675
+ * True on Reolink, whose mask is per-trigger and independent.
35676
+ */
35677
+ supportsOverlappingTriggers: boolean()
35678
+ });
35679
+ var RecordingOnboardOptionsSchema = object({
35680
+ enabled: OnboardFieldSupportSchema,
35681
+ overwriteWhenFull: OnboardFieldSupportSchema,
35682
+ preRecordSec: OnboardFieldSupportSchema,
35683
+ preRecordSecRange: RangeSchema.optional(),
35684
+ /** Preferred over the range when the camera takes a SET, not a span. */
35685
+ preRecordSecAllowed: AllowedValuesSchema.optional(),
35686
+ postRecordSec: OnboardFieldSupportSchema,
35687
+ postRecordSecRange: RangeSchema.optional(),
35688
+ /** Preferred over the range when the camera takes a SET, not a span. */
35689
+ postRecordSecAllowed: AllowedValuesSchema.optional(),
35690
+ segmentMinutes: OnboardFieldSupportSchema,
35691
+ segmentMinutesRange: RangeSchema.optional(),
35692
+ /** Preferred over the range when the camera takes a SET, not a span. */
35693
+ segmentMinutesAllowed: AllowedValuesSchema.optional(),
35694
+ schedule: OnboardScheduleSupportSchema
35695
+ });
35696
+ /**
35697
+ * A partial change. Every field optional.
35698
+ *
35699
+ * Unlike the other `deviceConfig` caps, a provider here does **NOT**
35700
+ * silently ignore a field it cannot support — it refuses, by name,
35701
+ * through {@link describeOnboardRefusal}. Silence on a recording setting
35702
+ * is the failure D62 exists to prevent: the operator believes the camera
35703
+ * is recording the way the form says, and it is not.
35704
+ */
35705
+ var RecordingOnboardPatchSchema = object({
35706
+ enabled: boolean().optional(),
35707
+ overwriteWhenFull: boolean().optional(),
35708
+ preRecordSec: number().optional(),
35709
+ postRecordSec: number().optional(),
35710
+ segmentMinutes: number().optional(),
35711
+ /** The complete new window set for the primary track — not a delta. */
35712
+ windows: array(RecordWindowSchema).optional()
35713
+ });
35714
+ var recordingOnboardCapability = {
35715
+ name: "recording-onboard",
35716
+ scope: "device",
35717
+ deviceNative: true,
35718
+ mode: "singleton",
35719
+ deviceTypes: [DeviceType.Camera],
35720
+ deviceConfig: { ui: {
35721
+ kind: "derived-form",
35722
+ builderId: "recording-onboard",
35723
+ tab: "recording"
35724
+ } },
35725
+ methods: {
35726
+ getOptions: method(object({ deviceId: number() }), RecordingOnboardOptionsSchema),
35727
+ setSettings: method(object({
35728
+ deviceId: number(),
35729
+ settings: RecordingOnboardPatchSchema
35730
+ }), _void(), {
35731
+ kind: "mutation",
35732
+ auth: "admin"
35733
+ })
35734
+ },
35735
+ status: {
35736
+ schema: RecordingOnboardStatusSchema,
35737
+ kind: "poll"
35738
+ },
35739
+ runtimeState: RecordingOnboardStatusSchema,
35740
+ /**
35741
+ * Runtime-state durability: **restored** — operator-set camera-side
35742
+ * recording config; mutation-driven, and the storage half is the last
35743
+ * thing the camera said about its own card.
35744
+ *
35745
+ * See `RuntimeStateDurability`. Enforced by
35746
+ * `scripts/check-runtime-state-durability.ts`.
35747
+ */
35748
+ durability: "restored",
35749
+ /** Clock fields: written, but excluded from the compare that decides
35750
+ * whether persisting is worth a SQLite commit. */
35751
+ volatileStateFields: ["lastFetchedAt"]
35752
+ };
35753
+ /**
34629
35754
  * A camera's own "record me NOW" LEVEL — a signal the device raises while
34630
35755
  * something it knows about is happening (a robot vacuum cleaning, a machine
34631
35756
  * running, a gate open) and lowers when it stops.
@@ -37610,6 +38735,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
37610
38735
  pressureSensor: pressureSensorCapability,
37611
38736
  privacyMask: privacyMaskCapability,
37612
38737
  ptzAutotrack: ptzAutotrackCapability,
38738
+ recordingOnboard: recordingOnboardCapability,
37613
38739
  recordingSignal: recordingSignalCapability,
37614
38740
  sceneMonitor: sceneMonitorCapability,
37615
38741
  scriptRunner: scriptRunnerCapability,
@@ -38353,7 +39479,1336 @@ var DeclaredDevices = class {
38353
39479
  DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
38354
39480
  new Set(Object.values(DeviceType));
38355
39481
  DeviceFeature.BatteryOperated;
39482
+ /**
39483
+ * The vocabulary, in the order a picker offers it.
39484
+ *
39485
+ * Adding a key here is not enough to make it pickable: both glyph tables must
39486
+ * gain it too, and their tests fail until they do. That is the intended
39487
+ * friction — it is the only thing that keeps the two surfaces honest.
39488
+ */
39489
+ var DISPLAY_ICON_VOCABULARY = [
39490
+ {
39491
+ key: "camera",
39492
+ group: "device",
39493
+ synonyms: [
39494
+ "telecamera",
39495
+ "videocamera",
39496
+ "camera",
39497
+ "cam"
39498
+ ]
39499
+ },
39500
+ {
39501
+ key: "network",
39502
+ group: "device",
39503
+ synonyms: [
39504
+ "rete",
39505
+ "network",
39506
+ "lan"
39507
+ ]
39508
+ },
39509
+ {
39510
+ key: "toggle-left",
39511
+ group: "device",
39512
+ synonyms: [
39513
+ "interruttore",
39514
+ "switch",
39515
+ "toggle"
39516
+ ]
39517
+ },
39518
+ {
39519
+ key: "toggle-right",
39520
+ group: "device",
39521
+ synonyms: [
39522
+ "interruttore",
39523
+ "switch",
39524
+ "toggle",
39525
+ "acceso"
39526
+ ]
39527
+ },
39528
+ {
39529
+ key: "circle-dot",
39530
+ group: "device",
39531
+ synonyms: [
39532
+ "pulsante",
39533
+ "bottone",
39534
+ "button",
39535
+ "dot"
39536
+ ]
39537
+ },
39538
+ {
39539
+ key: "refresh-cw",
39540
+ group: "device",
39541
+ synonyms: [
39542
+ "aggiorna",
39543
+ "ricarica",
39544
+ "refresh",
39545
+ "reload",
39546
+ "ciclo"
39547
+ ]
39548
+ },
39549
+ {
39550
+ key: "box",
39551
+ group: "device",
39552
+ synonyms: [
39553
+ "scatola",
39554
+ "box",
39555
+ "contenitore"
39556
+ ]
39557
+ },
39558
+ {
39559
+ key: "scroll-text",
39560
+ group: "device",
39561
+ synonyms: [
39562
+ "registro",
39563
+ "log",
39564
+ "testo"
39565
+ ]
39566
+ },
39567
+ {
39568
+ key: "workflow",
39569
+ group: "device",
39570
+ synonyms: [
39571
+ "automazione",
39572
+ "flusso",
39573
+ "workflow",
39574
+ "scenario"
39575
+ ]
39576
+ },
39577
+ {
39578
+ key: "lock",
39579
+ group: "device",
39580
+ synonyms: [
39581
+ "serratura",
39582
+ "chiave",
39583
+ "lucchetto",
39584
+ "chiuso",
39585
+ "locked"
39586
+ ]
39587
+ },
39588
+ {
39589
+ key: "lock-open",
39590
+ group: "device",
39591
+ synonyms: [
39592
+ "serratura",
39593
+ "aperta",
39594
+ "sbloccato",
39595
+ "unlocked"
39596
+ ]
39597
+ },
39598
+ {
39599
+ key: "blinds",
39600
+ group: "device",
39601
+ synonyms: [
39602
+ "tapparella",
39603
+ "persiana",
39604
+ "serranda",
39605
+ "avvolgibile",
39606
+ "shutter",
39607
+ "blind",
39608
+ "veneziana"
39609
+ ]
39610
+ },
39611
+ {
39612
+ key: "air-vent",
39613
+ group: "device",
39614
+ synonyms: [
39615
+ "bocchetta",
39616
+ "aria",
39617
+ "ventilazione",
39618
+ "condizionatore",
39619
+ "vent"
39620
+ ]
39621
+ },
39622
+ {
39623
+ key: "monitor-play",
39624
+ group: "device",
39625
+ synonyms: [
39626
+ "schermo",
39627
+ "riproduzione",
39628
+ "player",
39629
+ "display"
39630
+ ]
39631
+ },
39632
+ {
39633
+ key: "sliders-horizontal",
39634
+ group: "device",
39635
+ synonyms: [
39636
+ "regolazione",
39637
+ "cursori",
39638
+ "impostazioni",
39639
+ "slider"
39640
+ ]
39641
+ },
39642
+ {
39643
+ key: "map-pin",
39644
+ group: "device",
39645
+ synonyms: [
39646
+ "posizione",
39647
+ "luogo",
39648
+ "mappa",
39649
+ "pin"
39650
+ ]
39651
+ },
39652
+ {
39653
+ key: "bot",
39654
+ group: "device",
39655
+ synonyms: [
39656
+ "robot",
39657
+ "aspirapolvere",
39658
+ "bot"
39659
+ ]
39660
+ },
39661
+ {
39662
+ key: "tractor",
39663
+ group: "device",
39664
+ synonyms: [
39665
+ "trattore",
39666
+ "tosaerba",
39667
+ "giardino"
39668
+ ]
39669
+ },
39670
+ {
39671
+ key: "image",
39672
+ group: "device",
39673
+ synonyms: [
39674
+ "immagine",
39675
+ "foto",
39676
+ "snapshot"
39677
+ ]
39678
+ },
39679
+ {
39680
+ key: "bone",
39681
+ group: "device",
39682
+ synonyms: ["osso", "cane"]
39683
+ },
39684
+ {
39685
+ key: "door-closed",
39686
+ group: "device",
39687
+ synonyms: [
39688
+ "porta",
39689
+ "chiusa",
39690
+ "contatto"
39691
+ ]
39692
+ },
39693
+ {
39694
+ key: "door-open",
39695
+ group: "device",
39696
+ synonyms: [
39697
+ "porta",
39698
+ "aperta",
39699
+ "contatto",
39700
+ "ingresso",
39701
+ "uscita"
39702
+ ]
39703
+ },
39704
+ {
39705
+ key: "crosshair",
39706
+ group: "device",
39707
+ synonyms: [
39708
+ "mirino",
39709
+ "puntamento",
39710
+ "centro"
39711
+ ]
39712
+ },
39713
+ {
39714
+ key: "eye",
39715
+ group: "device",
39716
+ synonyms: [
39717
+ "occhio",
39718
+ "visibile",
39719
+ "visto"
39720
+ ]
39721
+ },
39722
+ {
39723
+ key: "eye-off",
39724
+ group: "device",
39725
+ synonyms: [
39726
+ "privacy",
39727
+ "nascosto",
39728
+ "oscurato",
39729
+ "mascherato",
39730
+ "invisibile"
39731
+ ]
39732
+ },
39733
+ {
39734
+ key: "smartphone",
39735
+ group: "device",
39736
+ synonyms: [
39737
+ "telefono",
39738
+ "cellulare",
39739
+ "smartphone"
39740
+ ]
39741
+ },
39742
+ {
39743
+ key: "phone",
39744
+ group: "device",
39745
+ synonyms: ["telefono", "chiamata"]
39746
+ },
39747
+ {
39748
+ key: "tablet",
39749
+ group: "device",
39750
+ synonyms: ["tablet", "ipad"]
39751
+ },
39752
+ {
39753
+ key: "laptop",
39754
+ group: "device",
39755
+ synonyms: [
39756
+ "portatile",
39757
+ "laptop",
39758
+ "notebook"
39759
+ ]
39760
+ },
39761
+ {
39762
+ key: "monitor",
39763
+ group: "device",
39764
+ synonyms: ["monitor", "schermo"]
39765
+ },
39766
+ {
39767
+ key: "tv",
39768
+ group: "device",
39769
+ synonyms: ["televisore", "tv"]
39770
+ },
39771
+ {
39772
+ key: "speaker",
39773
+ group: "device",
39774
+ synonyms: [
39775
+ "altoparlante",
39776
+ "cassa",
39777
+ "speaker"
39778
+ ]
39779
+ },
39780
+ {
39781
+ key: "printer",
39782
+ group: "device",
39783
+ synonyms: ["stampante"]
39784
+ },
39785
+ {
39786
+ key: "projector",
39787
+ group: "device",
39788
+ synonyms: ["proiettore"]
39789
+ },
39790
+ {
39791
+ key: "gamepad-2",
39792
+ group: "device",
39793
+ synonyms: [
39794
+ "console",
39795
+ "gioco",
39796
+ "joystick"
39797
+ ]
39798
+ },
39799
+ {
39800
+ key: "radio",
39801
+ group: "device",
39802
+ synonyms: ["radio"]
39803
+ },
39804
+ {
39805
+ key: "router",
39806
+ group: "device",
39807
+ synonyms: ["router", "modem"]
39808
+ },
39809
+ {
39810
+ key: "bluetooth",
39811
+ group: "device",
39812
+ synonyms: ["bluetooth"]
39813
+ },
39814
+ {
39815
+ key: "cpu",
39816
+ group: "device",
39817
+ synonyms: [
39818
+ "processore",
39819
+ "cpu",
39820
+ "chip",
39821
+ "dispositivo"
39822
+ ]
39823
+ },
39824
+ {
39825
+ key: "hard-drive",
39826
+ group: "device",
39827
+ synonyms: [
39828
+ "disco",
39829
+ "hdd",
39830
+ "archiviazione",
39831
+ "storage"
39832
+ ]
39833
+ },
39834
+ {
39835
+ key: "server",
39836
+ group: "device",
39837
+ synonyms: ["server", "nas"]
39838
+ },
39839
+ {
39840
+ key: "mic",
39841
+ group: "device",
39842
+ synonyms: ["microfono", "audio"]
39843
+ },
39844
+ {
39845
+ key: "mic-off",
39846
+ group: "device",
39847
+ synonyms: [
39848
+ "microfono",
39849
+ "spento",
39850
+ "muto"
39851
+ ]
39852
+ },
39853
+ {
39854
+ key: "video",
39855
+ group: "device",
39856
+ synonyms: ["video"]
39857
+ },
39858
+ {
39859
+ key: "video-off",
39860
+ group: "device",
39861
+ synonyms: ["video", "spento"]
39862
+ },
39863
+ {
39864
+ key: "music",
39865
+ group: "device",
39866
+ synonyms: ["musica"]
39867
+ },
39868
+ {
39869
+ key: "plug",
39870
+ group: "device",
39871
+ synonyms: [
39872
+ "presa",
39873
+ "spina",
39874
+ "plug"
39875
+ ]
39876
+ },
39877
+ {
39878
+ key: "plug-zap",
39879
+ group: "device",
39880
+ synonyms: ["presa", "alimentata"]
39881
+ },
39882
+ {
39883
+ key: "power",
39884
+ group: "device",
39885
+ synonyms: [
39886
+ "accensione",
39887
+ "alimentazione",
39888
+ "power"
39889
+ ]
39890
+ },
39891
+ {
39892
+ key: "power-off",
39893
+ group: "device",
39894
+ synonyms: ["spegnimento", "spento"]
39895
+ },
39896
+ {
39897
+ key: "cable",
39898
+ group: "device",
39899
+ synonyms: ["cavo"]
39900
+ },
39901
+ {
39902
+ key: "battery",
39903
+ group: "device",
39904
+ synonyms: ["batteria"]
39905
+ },
39906
+ {
39907
+ key: "battery-charging",
39908
+ group: "device",
39909
+ synonyms: [
39910
+ "batteria",
39911
+ "carica",
39912
+ "ricarica"
39913
+ ]
39914
+ },
39915
+ {
39916
+ key: "battery-full",
39917
+ group: "device",
39918
+ synonyms: [
39919
+ "batteria",
39920
+ "carica",
39921
+ "piena"
39922
+ ]
39923
+ },
39924
+ {
39925
+ key: "battery-low",
39926
+ group: "device",
39927
+ synonyms: ["batteria", "scarica"]
39928
+ },
39929
+ {
39930
+ key: "key",
39931
+ group: "device",
39932
+ synonyms: ["chiave"]
39933
+ },
39934
+ {
39935
+ key: "key-round",
39936
+ group: "device",
39937
+ synonyms: ["chiave", "tonda"]
39938
+ },
39939
+ {
39940
+ key: "mailbox",
39941
+ group: "device",
39942
+ synonyms: [
39943
+ "cassetta",
39944
+ "postale",
39945
+ "posta"
39946
+ ]
39947
+ },
39948
+ {
39949
+ key: "package",
39950
+ group: "device",
39951
+ synonyms: ["pacco", "consegna"]
39952
+ },
39953
+ {
39954
+ key: "shield",
39955
+ group: "device",
39956
+ synonyms: [
39957
+ "scudo",
39958
+ "protezione",
39959
+ "sicurezza",
39960
+ "allarme"
39961
+ ]
39962
+ },
39963
+ {
39964
+ key: "shield-check",
39965
+ group: "device",
39966
+ synonyms: [
39967
+ "protetto",
39968
+ "sicuro",
39969
+ "armato"
39970
+ ]
39971
+ },
39972
+ {
39973
+ key: "shield-off",
39974
+ group: "device",
39975
+ synonyms: [
39976
+ "protezione",
39977
+ "disattivata",
39978
+ "disarmato"
39979
+ ]
39980
+ },
39981
+ {
39982
+ key: "briefcase",
39983
+ group: "device",
39984
+ synonyms: [
39985
+ "ufficio",
39986
+ "lavoro",
39987
+ "valigetta",
39988
+ "studio"
39989
+ ]
39990
+ },
39991
+ {
39992
+ key: "lightbulb",
39993
+ group: "lighting",
39994
+ synonyms: [
39995
+ "luce",
39996
+ "lampadina",
39997
+ "lampada",
39998
+ "light"
39999
+ ]
40000
+ },
40001
+ {
40002
+ key: "lamp",
40003
+ group: "lighting",
40004
+ synonyms: ["lampada", "abatjour"]
40005
+ },
40006
+ {
40007
+ key: "lamp-ceiling",
40008
+ group: "lighting",
40009
+ synonyms: [
40010
+ "plafoniera",
40011
+ "lampadario",
40012
+ "luce",
40013
+ "soffitto"
40014
+ ]
40015
+ },
40016
+ {
40017
+ key: "lamp-desk",
40018
+ group: "lighting",
40019
+ synonyms: [
40020
+ "lampada",
40021
+ "scrivania",
40022
+ "abatjour"
40023
+ ]
40024
+ },
40025
+ {
40026
+ key: "lamp-floor",
40027
+ group: "lighting",
40028
+ synonyms: [
40029
+ "piantana",
40030
+ "lampada",
40031
+ "terra"
40032
+ ]
40033
+ },
40034
+ {
40035
+ key: "flashlight",
40036
+ group: "lighting",
40037
+ synonyms: [
40038
+ "faretto",
40039
+ "torcia",
40040
+ "spot",
40041
+ "faro"
40042
+ ]
40043
+ },
40044
+ {
40045
+ key: "heater",
40046
+ group: "lighting",
40047
+ synonyms: [
40048
+ "riscaldamento",
40049
+ "termosifone",
40050
+ "stufa",
40051
+ "calore"
40052
+ ]
40053
+ },
40054
+ {
40055
+ key: "snowflake",
40056
+ group: "lighting",
40057
+ synonyms: [
40058
+ "freddo",
40059
+ "raffrescamento",
40060
+ "aria",
40061
+ "condizionata",
40062
+ "neve"
40063
+ ]
40064
+ },
40065
+ {
40066
+ key: "thermometer-sun",
40067
+ group: "lighting",
40068
+ synonyms: [
40069
+ "caldo",
40070
+ "temperatura",
40071
+ "alta"
40072
+ ]
40073
+ },
40074
+ {
40075
+ key: "thermometer-snowflake",
40076
+ group: "lighting",
40077
+ synonyms: [
40078
+ "freddo",
40079
+ "temperatura",
40080
+ "bassa"
40081
+ ]
40082
+ },
40083
+ {
40084
+ key: "refrigerator",
40085
+ group: "lighting",
40086
+ synonyms: ["frigorifero", "frigo"]
40087
+ },
40088
+ {
40089
+ key: "microwave",
40090
+ group: "lighting",
40091
+ synonyms: ["microonde", "forno"]
40092
+ },
40093
+ {
40094
+ key: "washing-machine",
40095
+ group: "lighting",
40096
+ synonyms: [
40097
+ "lavatrice",
40098
+ "lavastoviglie",
40099
+ "asciugatrice"
40100
+ ]
40101
+ },
40102
+ {
40103
+ key: "cooking-pot",
40104
+ group: "lighting",
40105
+ synonyms: [
40106
+ "pentola",
40107
+ "cucina",
40108
+ "fornello"
40109
+ ]
40110
+ },
40111
+ {
40112
+ key: "utensils",
40113
+ group: "lighting",
40114
+ synonyms: [
40115
+ "cucina",
40116
+ "posate",
40117
+ "sala",
40118
+ "pranzo"
40119
+ ]
40120
+ },
40121
+ {
40122
+ key: "thermometer",
40123
+ group: "sensing",
40124
+ synonyms: [
40125
+ "temperatura",
40126
+ "termometro",
40127
+ "termostato"
40128
+ ]
40129
+ },
40130
+ {
40131
+ key: "droplets",
40132
+ group: "sensing",
40133
+ synonyms: [
40134
+ "umidita",
40135
+ "acqua",
40136
+ "allagamento",
40137
+ "perdita"
40138
+ ]
40139
+ },
40140
+ {
40141
+ key: "droplet",
40142
+ group: "sensing",
40143
+ synonyms: [
40144
+ "goccia",
40145
+ "acqua",
40146
+ "perdita",
40147
+ "allagamento"
40148
+ ]
40149
+ },
40150
+ {
40151
+ key: "gauge",
40152
+ group: "sensing",
40153
+ synonyms: [
40154
+ "misura",
40155
+ "livello",
40156
+ "pressione",
40157
+ "indicatore"
40158
+ ]
40159
+ },
40160
+ {
40161
+ key: "gauge2",
40162
+ group: "sensing",
40163
+ synonyms: [
40164
+ "misura",
40165
+ "livello",
40166
+ "pressione",
40167
+ "indicatore"
40168
+ ],
40169
+ aliasOf: "gauge"
40170
+ },
40171
+ {
40172
+ key: "sun",
40173
+ group: "sensing",
40174
+ synonyms: [
40175
+ "sole",
40176
+ "luminosita",
40177
+ "giorno",
40178
+ "esterno"
40179
+ ]
40180
+ },
40181
+ {
40182
+ key: "sun-medium",
40183
+ group: "sensing",
40184
+ synonyms: ["sole", "luminosita"]
40185
+ },
40186
+ {
40187
+ key: "sunrise",
40188
+ group: "sensing",
40189
+ synonyms: ["alba"]
40190
+ },
40191
+ {
40192
+ key: "moon",
40193
+ group: "sensing",
40194
+ synonyms: [
40195
+ "notte",
40196
+ "luna",
40197
+ "notturna",
40198
+ "nightvision"
40199
+ ]
40200
+ },
40201
+ {
40202
+ key: "wind",
40203
+ group: "sensing",
40204
+ synonyms: [
40205
+ "vento",
40206
+ "aria",
40207
+ "gas",
40208
+ "monossido",
40209
+ "co"
40210
+ ]
40211
+ },
40212
+ {
40213
+ key: "cloud",
40214
+ group: "sensing",
40215
+ synonyms: ["nuvola", "nuvoloso"]
40216
+ },
40217
+ {
40218
+ key: "cloud-rain",
40219
+ group: "sensing",
40220
+ synonyms: ["pioggia"]
40221
+ },
40222
+ {
40223
+ key: "cloud-sun",
40224
+ group: "sensing",
40225
+ synonyms: [
40226
+ "variabile",
40227
+ "sole",
40228
+ "nuvole"
40229
+ ]
40230
+ },
40231
+ {
40232
+ key: "waves",
40233
+ group: "sensing",
40234
+ synonyms: [
40235
+ "onde",
40236
+ "acqua",
40237
+ "vibrazione"
40238
+ ]
40239
+ },
40240
+ {
40241
+ key: "sprout",
40242
+ group: "sensing",
40243
+ synonyms: [
40244
+ "irrigazione",
40245
+ "pianta",
40246
+ "germoglio",
40247
+ "orto"
40248
+ ]
40249
+ },
40250
+ {
40251
+ key: "leaf",
40252
+ group: "sensing",
40253
+ synonyms: [
40254
+ "foglia",
40255
+ "pianta",
40256
+ "verde"
40257
+ ]
40258
+ },
40259
+ {
40260
+ key: "flower",
40261
+ group: "sensing",
40262
+ synonyms: ["fiore", "pianta"]
40263
+ },
40264
+ {
40265
+ key: "zap",
40266
+ group: "sensing",
40267
+ synonyms: [
40268
+ "energia",
40269
+ "corrente",
40270
+ "consumo",
40271
+ "watt",
40272
+ "elettricita"
40273
+ ]
40274
+ },
40275
+ {
40276
+ key: "flame",
40277
+ group: "sensing",
40278
+ synonyms: [
40279
+ "fiamma",
40280
+ "gas",
40281
+ "fuoco",
40282
+ "incendio"
40283
+ ]
40284
+ },
40285
+ {
40286
+ key: "bell",
40287
+ group: "sensing",
40288
+ synonyms: [
40289
+ "campanello",
40290
+ "suoneria",
40291
+ "notifica",
40292
+ "bell",
40293
+ "chime"
40294
+ ]
40295
+ },
40296
+ {
40297
+ key: "bell-ring",
40298
+ group: "sensing",
40299
+ synonyms: [
40300
+ "campanello",
40301
+ "suona",
40302
+ "doorbell",
40303
+ "notifica"
40304
+ ]
40305
+ },
40306
+ {
40307
+ key: "bell-off",
40308
+ group: "sensing",
40309
+ synonyms: [
40310
+ "silenzioso",
40311
+ "notifiche",
40312
+ "disattivate",
40313
+ "muto"
40314
+ ]
40315
+ },
40316
+ {
40317
+ key: "siren",
40318
+ group: "sensing",
40319
+ synonyms: ["sirena", "allarme"]
40320
+ },
40321
+ {
40322
+ key: "radar",
40323
+ group: "sensing",
40324
+ synonyms: [
40325
+ "movimento",
40326
+ "presenza",
40327
+ "pir",
40328
+ "rilevamento",
40329
+ "radar"
40330
+ ]
40331
+ },
40332
+ {
40333
+ key: "activity",
40334
+ group: "sensing",
40335
+ synonyms: [
40336
+ "attivita",
40337
+ "sensore",
40338
+ "generico"
40339
+ ]
40340
+ },
40341
+ {
40342
+ key: "hash",
40343
+ group: "sensing",
40344
+ synonyms: [
40345
+ "numero",
40346
+ "contatore",
40347
+ "valore"
40348
+ ]
40349
+ },
40350
+ {
40351
+ key: "clock",
40352
+ group: "sensing",
40353
+ synonyms: [
40354
+ "orologio",
40355
+ "ora",
40356
+ "tempo"
40357
+ ]
40358
+ },
40359
+ {
40360
+ key: "timer",
40361
+ group: "sensing",
40362
+ synonyms: [
40363
+ "timer",
40364
+ "conto",
40365
+ "rovescia"
40366
+ ]
40367
+ },
40368
+ {
40369
+ key: "calendar",
40370
+ group: "sensing",
40371
+ synonyms: [
40372
+ "calendario",
40373
+ "data",
40374
+ "pianificazione"
40375
+ ]
40376
+ },
40377
+ {
40378
+ key: "pipette",
40379
+ group: "sensing",
40380
+ synonyms: [
40381
+ "qualita",
40382
+ "aria",
40383
+ "misura",
40384
+ "campione"
40385
+ ]
40386
+ },
40387
+ {
40388
+ key: "fan",
40389
+ group: "sensing",
40390
+ synonyms: [
40391
+ "ventilatore",
40392
+ "ventola",
40393
+ "aria"
40394
+ ]
40395
+ },
40396
+ {
40397
+ key: "bath",
40398
+ group: "sensing",
40399
+ synonyms: [
40400
+ "bagno",
40401
+ "vasca",
40402
+ "doccia"
40403
+ ]
40404
+ },
40405
+ {
40406
+ key: "footprints",
40407
+ group: "sensing",
40408
+ synonyms: [
40409
+ "movimento",
40410
+ "passi",
40411
+ "presenza",
40412
+ "motion"
40413
+ ]
40414
+ },
40415
+ {
40416
+ key: "alarm-smoke",
40417
+ group: "sensing",
40418
+ synonyms: [
40419
+ "fumo",
40420
+ "antincendio",
40421
+ "rilevatore"
40422
+ ]
40423
+ },
40424
+ {
40425
+ key: "shield-alert",
40426
+ group: "sensing",
40427
+ synonyms: [
40428
+ "manomissione",
40429
+ "allarme",
40430
+ "tamper",
40431
+ "avviso"
40432
+ ]
40433
+ },
40434
+ {
40435
+ key: "vibrate",
40436
+ group: "sensing",
40437
+ synonyms: [
40438
+ "vibrazione",
40439
+ "urto",
40440
+ "tamper"
40441
+ ]
40442
+ },
40443
+ {
40444
+ key: "wifi",
40445
+ group: "sensing",
40446
+ synonyms: [
40447
+ "wifi",
40448
+ "rete",
40449
+ "segnale"
40450
+ ]
40451
+ },
40452
+ {
40453
+ key: "wifi-off",
40454
+ group: "sensing",
40455
+ synonyms: [
40456
+ "wifi",
40457
+ "assente",
40458
+ "offline",
40459
+ "disconnesso"
40460
+ ]
40461
+ },
40462
+ {
40463
+ key: "volume-2",
40464
+ group: "sensing",
40465
+ synonyms: [
40466
+ "volume",
40467
+ "audio",
40468
+ "altoparlante",
40469
+ "suono"
40470
+ ]
40471
+ },
40472
+ {
40473
+ key: "volume-x",
40474
+ group: "sensing",
40475
+ synonyms: [
40476
+ "muto",
40477
+ "silenziato",
40478
+ "volume",
40479
+ "spento"
40480
+ ]
40481
+ },
40482
+ {
40483
+ key: "heart",
40484
+ group: "sensing",
40485
+ synonyms: [
40486
+ "cuore",
40487
+ "preferito",
40488
+ "salute"
40489
+ ]
40490
+ },
40491
+ {
40492
+ key: "heart-pulse",
40493
+ group: "sensing",
40494
+ synonyms: [
40495
+ "battito",
40496
+ "salute",
40497
+ "monitoraggio"
40498
+ ]
40499
+ },
40500
+ {
40501
+ key: "star",
40502
+ group: "sensing",
40503
+ synonyms: [
40504
+ "preferito",
40505
+ "stella",
40506
+ "importante"
40507
+ ]
40508
+ },
40509
+ {
40510
+ key: "sparkles",
40511
+ group: "sensing",
40512
+ synonyms: [
40513
+ "automatico",
40514
+ "intelligente",
40515
+ "ai",
40516
+ "scena"
40517
+ ]
40518
+ },
40519
+ {
40520
+ key: "house",
40521
+ group: "place",
40522
+ synonyms: [
40523
+ "casa",
40524
+ "abitazione",
40525
+ "home"
40526
+ ]
40527
+ },
40528
+ {
40529
+ key: "sofa",
40530
+ group: "place",
40531
+ synonyms: [
40532
+ "salone",
40533
+ "soggiorno",
40534
+ "divano",
40535
+ "living"
40536
+ ]
40537
+ },
40538
+ {
40539
+ key: "bed-double",
40540
+ group: "place",
40541
+ synonyms: [
40542
+ "camera",
40543
+ "letto",
40544
+ "matrimoniale"
40545
+ ]
40546
+ },
40547
+ {
40548
+ key: "bed",
40549
+ group: "place",
40550
+ synonyms: [
40551
+ "cameretta",
40552
+ "letto",
40553
+ "singolo"
40554
+ ]
40555
+ },
40556
+ {
40557
+ key: "warehouse",
40558
+ group: "place",
40559
+ synonyms: [
40560
+ "magazzino",
40561
+ "capanno",
40562
+ "deposito",
40563
+ "cantina"
40564
+ ]
40565
+ },
40566
+ {
40567
+ key: "trees",
40568
+ group: "place",
40569
+ synonyms: [
40570
+ "giardino",
40571
+ "alberi",
40572
+ "esterno",
40573
+ "parco"
40574
+ ]
40575
+ },
40576
+ {
40577
+ key: "tree-pine",
40578
+ group: "place",
40579
+ synonyms: [
40580
+ "albero",
40581
+ "pino",
40582
+ "giardino"
40583
+ ]
40584
+ },
40585
+ {
40586
+ key: "fence",
40587
+ group: "place",
40588
+ synonyms: [
40589
+ "recinto",
40590
+ "cancello",
40591
+ "staccionata",
40592
+ "perimetro"
40593
+ ]
40594
+ },
40595
+ {
40596
+ key: "store",
40597
+ group: "place",
40598
+ synonyms: [
40599
+ "negozio",
40600
+ "ingresso",
40601
+ "vetrina"
40602
+ ]
40603
+ },
40604
+ {
40605
+ key: "building",
40606
+ group: "place",
40607
+ synonyms: ["edificio", "palazzo"]
40608
+ },
40609
+ {
40610
+ key: "building-2",
40611
+ group: "place",
40612
+ synonyms: [
40613
+ "edificio",
40614
+ "uffici",
40615
+ "condominio"
40616
+ ]
40617
+ },
40618
+ {
40619
+ key: "mountain",
40620
+ group: "place",
40621
+ synonyms: [
40622
+ "montagna",
40623
+ "esterno",
40624
+ "panorama"
40625
+ ]
40626
+ },
40627
+ {
40628
+ key: "umbrella",
40629
+ group: "place",
40630
+ synonyms: [
40631
+ "tenda",
40632
+ "markise",
40633
+ "ombrellone",
40634
+ "pergola",
40635
+ "veranda"
40636
+ ]
40637
+ },
40638
+ {
40639
+ key: "dumbbell",
40640
+ group: "place",
40641
+ synonyms: ["palestra", "attrezzi"]
40642
+ },
40643
+ {
40644
+ key: "wrench",
40645
+ group: "place",
40646
+ synonyms: [
40647
+ "officina",
40648
+ "manutenzione",
40649
+ "attrezzi",
40650
+ "utenze"
40651
+ ]
40652
+ },
40653
+ {
40654
+ key: "hammer",
40655
+ group: "place",
40656
+ synonyms: [
40657
+ "officina",
40658
+ "martello",
40659
+ "lavori"
40660
+ ]
40661
+ },
40662
+ {
40663
+ key: "drill",
40664
+ group: "place",
40665
+ synonyms: [
40666
+ "officina",
40667
+ "trapano",
40668
+ "lavori"
40669
+ ]
40670
+ },
40671
+ {
40672
+ key: "waves-ladder",
40673
+ group: "place",
40674
+ synonyms: ["piscina", "vasca"]
40675
+ },
40676
+ {
40677
+ key: "circle-parking",
40678
+ group: "place",
40679
+ synonyms: [
40680
+ "parcheggio",
40681
+ "posto",
40682
+ "auto",
40683
+ "garage"
40684
+ ]
40685
+ },
40686
+ {
40687
+ key: "route",
40688
+ group: "place",
40689
+ synonyms: [
40690
+ "percorso",
40691
+ "strada",
40692
+ "vialetto",
40693
+ "tragitto"
40694
+ ]
40695
+ },
40696
+ {
40697
+ key: "car",
40698
+ group: "life",
40699
+ synonyms: [
40700
+ "auto",
40701
+ "macchina",
40702
+ "veicolo",
40703
+ "parcheggio"
40704
+ ]
40705
+ },
40706
+ {
40707
+ key: "bike",
40708
+ group: "life",
40709
+ synonyms: [
40710
+ "bicicletta",
40711
+ "bici",
40712
+ "moto"
40713
+ ]
40714
+ },
40715
+ {
40716
+ key: "bus",
40717
+ group: "life",
40718
+ synonyms: ["autobus", "pullman"]
40719
+ },
40720
+ {
40721
+ key: "truck",
40722
+ group: "life",
40723
+ synonyms: [
40724
+ "camion",
40725
+ "furgone",
40726
+ "consegna"
40727
+ ]
40728
+ },
40729
+ {
40730
+ key: "plane",
40731
+ group: "life",
40732
+ synonyms: ["aereo"]
40733
+ },
40734
+ {
40735
+ key: "train-front",
40736
+ group: "life",
40737
+ synonyms: ["treno"]
40738
+ },
40739
+ {
40740
+ key: "sailboat",
40741
+ group: "life",
40742
+ synonyms: ["barca", "imbarcazione"]
40743
+ },
40744
+ {
40745
+ key: "dog",
40746
+ group: "life",
40747
+ synonyms: ["cane", "animale"]
40748
+ },
40749
+ {
40750
+ key: "cat",
40751
+ group: "life",
40752
+ synonyms: ["gatto", "animale"]
40753
+ },
40754
+ {
40755
+ key: "bird",
40756
+ group: "life",
40757
+ synonyms: ["uccello", "animale"]
40758
+ },
40759
+ {
40760
+ key: "paw-print",
40761
+ group: "life",
40762
+ synonyms: [
40763
+ "animale",
40764
+ "zampa",
40765
+ "pet"
40766
+ ]
40767
+ },
40768
+ {
40769
+ key: "baby",
40770
+ group: "life",
40771
+ synonyms: [
40772
+ "neonato",
40773
+ "bimbo",
40774
+ "cameretta",
40775
+ "babymonitor"
40776
+ ]
40777
+ },
40778
+ {
40779
+ key: "user",
40780
+ group: "life",
40781
+ synonyms: ["persona", "utente"]
40782
+ },
40783
+ {
40784
+ key: "users",
40785
+ group: "life",
40786
+ synonyms: [
40787
+ "persone",
40788
+ "gruppo",
40789
+ "famiglia"
40790
+ ]
40791
+ },
40792
+ {
40793
+ key: "person-standing",
40794
+ group: "life",
40795
+ synonyms: [
40796
+ "persona",
40797
+ "piedi",
40798
+ "presenza"
40799
+ ]
40800
+ }
40801
+ ];
40802
+ DISPLAY_ICON_VOCABULARY.map((e) => e.key);
40803
+ DISPLAY_ICON_VOCABULARY.filter((e) => e.aliasOf === void 0).map((e) => e.key);
40804
+ new Map(DISPLAY_ICON_VOCABULARY.map((e) => [e.key, e]));
38356
40805
  Object.freeze({
40806
+ "accessories.getStatus": {
40807
+ capName: "accessories",
40808
+ capScope: "device",
40809
+ addonId: null,
40810
+ access: "view"
40811
+ },
38357
40812
  "accessories.setChildHidden": {
38358
40813
  capName: "accessories",
38359
40814
  capScope: "device",
@@ -38636,6 +41091,12 @@ Object.freeze({
38636
41091
  addonId: null,
38637
41092
  access: "view"
38638
41093
  },
41094
+ "airQualitySensor.getStatus": {
41095
+ capName: "air-quality-sensor",
41096
+ capScope: "device",
41097
+ addonId: null,
41098
+ access: "view"
41099
+ },
38639
41100
  "alarmPanel.arm": {
38640
41101
  capName: "alarm-panel",
38641
41102
  capScope: "device",
@@ -38648,6 +41109,12 @@ Object.freeze({
38648
41109
  addonId: null,
38649
41110
  access: "create"
38650
41111
  },
41112
+ "alarmPanel.getStatus": {
41113
+ capName: "alarm-panel",
41114
+ capScope: "device",
41115
+ addonId: null,
41116
+ access: "view"
41117
+ },
38651
41118
  "alarmPanel.trigger": {
38652
41119
  capName: "alarm-panel",
38653
41120
  capScope: "device",
@@ -38696,6 +41163,30 @@ Object.freeze({
38696
41163
  addonId: null,
38697
41164
  access: "create"
38698
41165
  },
41166
+ "ambientLightSensor.getStatus": {
41167
+ capName: "ambient-light-sensor",
41168
+ capScope: "device",
41169
+ addonId: null,
41170
+ access: "view"
41171
+ },
41172
+ "audioAnalysis.applyDeviceSettingsPatch": {
41173
+ capName: "audio-analysis",
41174
+ capScope: "device",
41175
+ addonId: null,
41176
+ access: "create"
41177
+ },
41178
+ "audioAnalysis.getDeviceLiveContribution": {
41179
+ capName: "audio-analysis",
41180
+ capScope: "device",
41181
+ addonId: null,
41182
+ access: "view"
41183
+ },
41184
+ "audioAnalysis.getDeviceSettingsContribution": {
41185
+ capName: "audio-analysis",
41186
+ capScope: "device",
41187
+ addonId: null,
41188
+ access: "view"
41189
+ },
38699
41190
  "audioAnalysis.resolveDeviceSettings": {
38700
41191
  capName: "audio-analysis",
38701
41192
  capScope: "device",
@@ -38858,6 +41349,12 @@ Object.freeze({
38858
41349
  addonId: null,
38859
41350
  access: "create"
38860
41351
  },
41352
+ "automationControl.getStatus": {
41353
+ capName: "automation-control",
41354
+ capScope: "device",
41355
+ addonId: null,
41356
+ access: "view"
41357
+ },
38861
41358
  "automationControl.trigger": {
38862
41359
  capName: "automation-control",
38863
41360
  capScope: "device",
@@ -38954,12 +41451,30 @@ Object.freeze({
38954
41451
  addonId: null,
38955
41452
  access: "create"
38956
41453
  },
41454
+ "battery.getStatus": {
41455
+ capName: "battery",
41456
+ capScope: "device",
41457
+ addonId: null,
41458
+ access: "view"
41459
+ },
38957
41460
  "battery.wakeForStream": {
38958
41461
  capName: "battery",
38959
41462
  capScope: "device",
38960
41463
  addonId: null,
38961
41464
  access: "create"
38962
41465
  },
41466
+ "binary.getStatus": {
41467
+ capName: "binary",
41468
+ capScope: "device",
41469
+ addonId: null,
41470
+ access: "view"
41471
+ },
41472
+ "brightness.getStatus": {
41473
+ capName: "brightness",
41474
+ capScope: "device",
41475
+ addonId: null,
41476
+ access: "view"
41477
+ },
38963
41478
  "brightness.setBrightness": {
38964
41479
  capName: "brightness",
38965
41480
  capScope: "device",
@@ -39074,6 +41589,30 @@ Object.freeze({
39074
41589
  addonId: null,
39075
41590
  access: "view"
39076
41591
  },
41592
+ "cameraCredentials.getStatus": {
41593
+ capName: "camera-credentials",
41594
+ capScope: "device",
41595
+ addonId: null,
41596
+ access: "view"
41597
+ },
41598
+ "cameraGridLayout.applyDeviceSettingsPatch": {
41599
+ capName: "camera-grid-layout",
41600
+ capScope: "device",
41601
+ addonId: null,
41602
+ access: "create"
41603
+ },
41604
+ "cameraGridLayout.getDeviceLiveContribution": {
41605
+ capName: "camera-grid-layout",
41606
+ capScope: "device",
41607
+ addonId: null,
41608
+ access: "view"
41609
+ },
41610
+ "cameraGridLayout.getDeviceSettingsContribution": {
41611
+ capName: "camera-grid-layout",
41612
+ capScope: "device",
41613
+ addonId: null,
41614
+ access: "view"
41615
+ },
39077
41616
  "cameraGridLayout.getLayout": {
39078
41617
  capName: "camera-grid-layout",
39079
41618
  capScope: "device",
@@ -39086,6 +41625,24 @@ Object.freeze({
39086
41625
  addonId: null,
39087
41626
  access: "create"
39088
41627
  },
41628
+ "cameraPipelineConfig.applyDeviceSettingsPatch": {
41629
+ capName: "camera-pipeline-config",
41630
+ capScope: "device",
41631
+ addonId: null,
41632
+ access: "create"
41633
+ },
41634
+ "cameraPipelineConfig.getDeviceLiveContribution": {
41635
+ capName: "camera-pipeline-config",
41636
+ capScope: "device",
41637
+ addonId: null,
41638
+ access: "view"
41639
+ },
41640
+ "cameraPipelineConfig.getDeviceSettingsContribution": {
41641
+ capName: "camera-pipeline-config",
41642
+ capScope: "device",
41643
+ addonId: null,
41644
+ access: "view"
41645
+ },
39089
41646
  "cameraStreams.getBrokerStreams": {
39090
41647
  capName: "camera-streams",
39091
41648
  capScope: "device",
@@ -39116,6 +41673,18 @@ Object.freeze({
39116
41673
  addonId: null,
39117
41674
  access: "view"
39118
41675
  },
41676
+ "carbonMonoxide.getStatus": {
41677
+ capName: "carbon-monoxide",
41678
+ capScope: "device",
41679
+ addonId: null,
41680
+ access: "view"
41681
+ },
41682
+ "climateControl.getStatus": {
41683
+ capName: "climate-control",
41684
+ capScope: "device",
41685
+ addonId: null,
41686
+ access: "view"
41687
+ },
39119
41688
  "climateControl.setFanMode": {
39120
41689
  capName: "climate-control",
39121
41690
  capScope: "device",
@@ -39164,6 +41733,12 @@ Object.freeze({
39164
41733
  addonId: null,
39165
41734
  access: "create"
39166
41735
  },
41736
+ "color.getStatus": {
41737
+ capName: "color",
41738
+ capScope: "device",
41739
+ addonId: null,
41740
+ access: "view"
41741
+ },
39167
41742
  "color.setColor": {
39168
41743
  capName: "color",
39169
41744
  capScope: "device",
@@ -39182,12 +41757,36 @@ Object.freeze({
39182
41757
  addonId: null,
39183
41758
  access: "create"
39184
41759
  },
41760
+ "connectivity.getStatus": {
41761
+ capName: "connectivity",
41762
+ capScope: "device",
41763
+ addonId: null,
41764
+ access: "view"
41765
+ },
41766
+ "consumables.getStatus": {
41767
+ capName: "consumables",
41768
+ capScope: "device",
41769
+ addonId: null,
41770
+ access: "view"
41771
+ },
39185
41772
  "consumables.reset": {
39186
41773
  capName: "consumables",
39187
41774
  capScope: "device",
39188
41775
  addonId: null,
39189
41776
  access: "delete"
39190
41777
  },
41778
+ "contact.getStatus": {
41779
+ capName: "contact",
41780
+ capScope: "device",
41781
+ addonId: null,
41782
+ access: "view"
41783
+ },
41784
+ "control.getStatus": {
41785
+ capName: "control",
41786
+ capScope: "device",
41787
+ addonId: null,
41788
+ access: "view"
41789
+ },
39191
41790
  "control.setValue": {
39192
41791
  capName: "control",
39193
41792
  capScope: "device",
@@ -39254,6 +41853,12 @@ Object.freeze({
39254
41853
  addonId: null,
39255
41854
  access: "create"
39256
41855
  },
41856
+ "cover.getStatus": {
41857
+ capName: "cover",
41858
+ capScope: "device",
41859
+ addonId: null,
41860
+ access: "view"
41861
+ },
39257
41862
  "cover.open": {
39258
41863
  capName: "cover",
39259
41864
  capScope: "device",
@@ -39386,6 +41991,12 @@ Object.freeze({
39386
41991
  addonId: null,
39387
41992
  access: "view"
39388
41993
  },
41994
+ "dayNight.getStatus": {
41995
+ capName: "day-night",
41996
+ capScope: "device",
41997
+ addonId: null,
41998
+ access: "view"
41999
+ },
39389
42000
  "dayNight.setSettings": {
39390
42001
  capName: "day-night",
39391
42002
  capScope: "device",
@@ -39476,6 +42087,30 @@ Object.freeze({
39476
42087
  addonId: null,
39477
42088
  access: "view"
39478
42089
  },
42090
+ "detectionPipeline.applyDeviceSettingsPatch": {
42091
+ capName: "detection-pipeline",
42092
+ capScope: "device",
42093
+ addonId: null,
42094
+ access: "create"
42095
+ },
42096
+ "detectionPipeline.getDeviceLiveContribution": {
42097
+ capName: "detection-pipeline",
42098
+ capScope: "device",
42099
+ addonId: null,
42100
+ access: "view"
42101
+ },
42102
+ "detectionPipeline.getDeviceSettingsContribution": {
42103
+ capName: "detection-pipeline",
42104
+ capScope: "device",
42105
+ addonId: null,
42106
+ access: "view"
42107
+ },
42108
+ "deviceAdminLink.getAdminLink": {
42109
+ capName: "device-admin-link",
42110
+ capScope: "device",
42111
+ addonId: null,
42112
+ access: "view"
42113
+ },
39479
42114
  "deviceAdoption.adopt": {
39480
42115
  capName: "device-adoption",
39481
42116
  capScope: "system",
@@ -39488,6 +42123,12 @@ Object.freeze({
39488
42123
  addonId: null,
39489
42124
  access: "view"
39490
42125
  },
42126
+ "deviceAdoption.getStatus": {
42127
+ capName: "device-adoption",
42128
+ capScope: "system",
42129
+ addonId: null,
42130
+ access: "view"
42131
+ },
39491
42132
  "deviceAdoption.listCandidateFilters": {
39492
42133
  capName: "device-adoption",
39493
42134
  capScope: "system",
@@ -39524,6 +42165,12 @@ Object.freeze({
39524
42165
  addonId: null,
39525
42166
  access: "create"
39526
42167
  },
42168
+ "deviceDiscovery.getStatus": {
42169
+ capName: "device-discovery",
42170
+ capScope: "device",
42171
+ addonId: null,
42172
+ access: "view"
42173
+ },
39527
42174
  "deviceDiscovery.listDiscovered": {
39528
42175
  capName: "device-discovery",
39529
42176
  capScope: "device",
@@ -39542,12 +42189,30 @@ Object.freeze({
39542
42189
  addonId: null,
39543
42190
  access: "create"
39544
42191
  },
42192
+ "deviceExport.applyDeviceSettingsPatch": {
42193
+ capName: "device-export",
42194
+ capScope: "system",
42195
+ addonId: null,
42196
+ access: "create"
42197
+ },
39545
42198
  "deviceExport.exposeDevice": {
39546
42199
  capName: "device-export",
39547
42200
  capScope: "system",
39548
42201
  addonId: null,
39549
42202
  access: "create"
39550
42203
  },
42204
+ "deviceExport.getDeviceLiveContribution": {
42205
+ capName: "device-export",
42206
+ capScope: "system",
42207
+ addonId: null,
42208
+ access: "view"
42209
+ },
42210
+ "deviceExport.getDeviceSettingsContribution": {
42211
+ capName: "device-export",
42212
+ capScope: "system",
42213
+ addonId: null,
42214
+ access: "view"
42215
+ },
39551
42216
  "deviceExport.getStatus": {
39552
42217
  capName: "device-export",
39553
42218
  capScope: "system",
@@ -39644,6 +42309,12 @@ Object.freeze({
39644
42309
  addonId: null,
39645
42310
  access: "create"
39646
42311
  },
42312
+ "deviceManager.applyDeviceSettingsPatch": {
42313
+ capName: "device-manager",
42314
+ capScope: "system",
42315
+ addonId: null,
42316
+ access: "create"
42317
+ },
39647
42318
  "deviceManager.applyInitialMeta": {
39648
42319
  capName: "device-manager",
39649
42320
  capScope: "system",
@@ -39746,6 +42417,12 @@ Object.freeze({
39746
42417
  addonId: null,
39747
42418
  access: "view"
39748
42419
  },
42420
+ "deviceManager.getDeviceLiveContribution": {
42421
+ capName: "device-manager",
42422
+ capScope: "system",
42423
+ addonId: null,
42424
+ access: "view"
42425
+ },
39749
42426
  "deviceManager.getDeviceLiveInfoAggregate": {
39750
42427
  capName: "device-manager",
39751
42428
  capScope: "system",
@@ -39758,6 +42435,12 @@ Object.freeze({
39758
42435
  addonId: null,
39759
42436
  access: "view"
39760
42437
  },
42438
+ "deviceManager.getDeviceSettingsContribution": {
42439
+ capName: "device-manager",
42440
+ capScope: "system",
42441
+ addonId: null,
42442
+ access: "view"
42443
+ },
39761
42444
  "deviceManager.getDeviceStatusAggregate": {
39762
42445
  capName: "device-manager",
39763
42446
  capScope: "system",
@@ -40250,6 +42933,36 @@ Object.freeze({
40250
42933
  addonId: null,
40251
42934
  access: "create"
40252
42935
  },
42936
+ "deviceStatus.getStatus": {
42937
+ capName: "device-status",
42938
+ capScope: "device",
42939
+ addonId: null,
42940
+ access: "view"
42941
+ },
42942
+ "doorbell.applyDeviceSettingsPatch": {
42943
+ capName: "doorbell",
42944
+ capScope: "device",
42945
+ addonId: null,
42946
+ access: "create"
42947
+ },
42948
+ "doorbell.getDeviceLiveContribution": {
42949
+ capName: "doorbell",
42950
+ capScope: "device",
42951
+ addonId: null,
42952
+ access: "view"
42953
+ },
42954
+ "doorbell.getDeviceSettingsContribution": {
42955
+ capName: "doorbell",
42956
+ capScope: "device",
42957
+ addonId: null,
42958
+ access: "view"
42959
+ },
42960
+ "doorbell.getStatus": {
42961
+ capName: "doorbell",
42962
+ capScope: "device",
42963
+ addonId: null,
42964
+ access: "view"
42965
+ },
40253
42966
  "embeddingEncoder.encode": {
40254
42967
  capName: "embedding-encoder",
40255
42968
  capScope: "system",
@@ -40268,20 +42981,14 @@ Object.freeze({
40268
42981
  addonId: null,
40269
42982
  access: "view"
40270
42983
  },
40271
- "events.getEventClipUrl": {
40272
- capName: "events",
42984
+ "enumSensor.getStatus": {
42985
+ capName: "enum-sensor",
40273
42986
  capScope: "device",
40274
42987
  addonId: null,
40275
42988
  access: "view"
40276
42989
  },
40277
- "events.getEvents": {
40278
- capName: "events",
40279
- capScope: "device",
40280
- addonId: null,
40281
- access: "view"
40282
- },
40283
- "events.getEventThumbnail": {
40284
- capName: "events",
42990
+ "eventEmitter.getStatus": {
42991
+ capName: "event-emitter",
40285
42992
  capScope: "device",
40286
42993
  addonId: null,
40287
42994
  access: "view"
@@ -40388,6 +43095,12 @@ Object.freeze({
40388
43095
  addonId: null,
40389
43096
  access: "view"
40390
43097
  },
43098
+ "fanControl.getStatus": {
43099
+ capName: "fan-control",
43100
+ capScope: "device",
43101
+ addonId: null,
43102
+ access: "view"
43103
+ },
40391
43104
  "fanControl.setDirection": {
40392
43105
  capName: "fan-control",
40393
43106
  capScope: "device",
@@ -40412,6 +43125,12 @@ Object.freeze({
40412
43125
  addonId: null,
40413
43126
  access: "create"
40414
43127
  },
43128
+ "featureProbe.getStatus": {
43129
+ capName: "feature-probe",
43130
+ capScope: "device",
43131
+ addonId: null,
43132
+ access: "view"
43133
+ },
40415
43134
  "filesystemBrowse.browse": {
40416
43135
  capName: "filesystem-browse",
40417
43136
  capScope: "system",
@@ -40430,6 +43149,24 @@ Object.freeze({
40430
43149
  addonId: null,
40431
43150
  access: "view"
40432
43151
  },
43152
+ "flood.getStatus": {
43153
+ capName: "flood",
43154
+ capScope: "device",
43155
+ addonId: null,
43156
+ access: "view"
43157
+ },
43158
+ "gas.getStatus": {
43159
+ capName: "gas",
43160
+ capScope: "device",
43161
+ addonId: null,
43162
+ access: "view"
43163
+ },
43164
+ "humidifier.getStatus": {
43165
+ capName: "humidifier",
43166
+ capScope: "device",
43167
+ addonId: null,
43168
+ access: "view"
43169
+ },
40433
43170
  "humidifier.setMode": {
40434
43171
  capName: "humidifier",
40435
43172
  capScope: "device",
@@ -40448,12 +43185,30 @@ Object.freeze({
40448
43185
  addonId: null,
40449
43186
  access: "create"
40450
43187
  },
43188
+ "humiditySensor.getStatus": {
43189
+ capName: "humidity-sensor",
43190
+ capScope: "device",
43191
+ addonId: null,
43192
+ access: "view"
43193
+ },
43194
+ "image.getStatus": {
43195
+ capName: "image",
43196
+ capScope: "device",
43197
+ addonId: null,
43198
+ access: "view"
43199
+ },
40451
43200
  "imageSettings.getOptions": {
40452
43201
  capName: "image-settings",
40453
43202
  capScope: "device",
40454
43203
  addonId: null,
40455
43204
  access: "view"
40456
43205
  },
43206
+ "imageSettings.getStatus": {
43207
+ capName: "image-settings",
43208
+ capScope: "device",
43209
+ addonId: null,
43210
+ access: "view"
43211
+ },
40457
43212
  "imageSettings.setSettings": {
40458
43213
  capName: "image-settings",
40459
43214
  capScope: "device",
@@ -40526,6 +43281,12 @@ Object.freeze({
40526
43281
  addonId: null,
40527
43282
  access: "create"
40528
43283
  },
43284
+ "intercom.getStatus": {
43285
+ capName: "intercom",
43286
+ capScope: "device",
43287
+ addonId: null,
43288
+ access: "view"
43289
+ },
40529
43290
  "intercom.handleAnswer": {
40530
43291
  capName: "intercom",
40531
43292
  capScope: "device",
@@ -40562,6 +43323,12 @@ Object.freeze({
40562
43323
  addonId: null,
40563
43324
  access: "create"
40564
43325
  },
43326
+ "lawnMowerControl.getStatus": {
43327
+ capName: "lawn-mower-control",
43328
+ capScope: "device",
43329
+ addonId: null,
43330
+ access: "view"
43331
+ },
40565
43332
  "lawnMowerControl.pause": {
40566
43333
  capName: "lawn-mower-control",
40567
43334
  capScope: "device",
@@ -40844,6 +43611,12 @@ Object.freeze({
40844
43611
  addonId: null,
40845
43612
  access: "create"
40846
43613
  },
43614
+ "lockControl.getStatus": {
43615
+ capName: "lock-control",
43616
+ capScope: "device",
43617
+ addonId: null,
43618
+ access: "view"
43619
+ },
40847
43620
  "lockControl.lock": {
40848
43621
  capName: "lock-control",
40849
43622
  capScope: "device",
@@ -40892,6 +43665,12 @@ Object.freeze({
40892
43665
  addonId: null,
40893
43666
  access: "view"
40894
43667
  },
43668
+ "mediaPlayer.getStatus": {
43669
+ capName: "media-player",
43670
+ capScope: "device",
43671
+ addonId: null,
43672
+ access: "view"
43673
+ },
40895
43674
  "mediaPlayer.next": {
40896
43675
  capName: "media-player",
40897
43676
  capScope: "device",
@@ -41084,6 +43863,12 @@ Object.freeze({
41084
43863
  addonId: null,
41085
43864
  access: "create"
41086
43865
  },
43866
+ "motion.getStatus": {
43867
+ capName: "motion",
43868
+ capScope: "device",
43869
+ addonId: null,
43870
+ access: "view"
43871
+ },
41087
43872
  "motion.isDetected": {
41088
43873
  capName: "motion",
41089
43874
  capScope: "device",
@@ -41096,6 +43881,24 @@ Object.freeze({
41096
43881
  addonId: null,
41097
43882
  access: "create"
41098
43883
  },
43884
+ "motionDetection.applyDeviceSettingsPatch": {
43885
+ capName: "motion-detection",
43886
+ capScope: "device",
43887
+ addonId: null,
43888
+ access: "create"
43889
+ },
43890
+ "motionDetection.getDeviceLiveContribution": {
43891
+ capName: "motion-detection",
43892
+ capScope: "device",
43893
+ addonId: null,
43894
+ access: "view"
43895
+ },
43896
+ "motionDetection.getDeviceSettingsContribution": {
43897
+ capName: "motion-detection",
43898
+ capScope: "device",
43899
+ addonId: null,
43900
+ access: "view"
43901
+ },
41099
43902
  "motionDetection.removeCamera": {
41100
43903
  capName: "motion-detection",
41101
43904
  capScope: "device",
@@ -41108,6 +43911,12 @@ Object.freeze({
41108
43911
  addonId: null,
41109
43912
  access: "delete"
41110
43913
  },
43914
+ "motionTrigger.getStatus": {
43915
+ capName: "motion-trigger",
43916
+ capScope: "device",
43917
+ addonId: null,
43918
+ access: "view"
43919
+ },
41111
43920
  "motionTrigger.setMotionTrigger": {
41112
43921
  capName: "motion-trigger",
41113
43922
  capScope: "device",
@@ -41120,6 +43929,12 @@ Object.freeze({
41120
43929
  addonId: null,
41121
43930
  access: "view"
41122
43931
  },
43932
+ "motionZones.getStatus": {
43933
+ capName: "motion-zones",
43934
+ capScope: "device",
43935
+ addonId: null,
43936
+ access: "view"
43937
+ },
41123
43938
  "motionZones.setZone": {
41124
43939
  capName: "motion-zones",
41125
43940
  capScope: "device",
@@ -41180,6 +43995,12 @@ Object.freeze({
41180
43995
  addonId: null,
41181
43996
  access: "view"
41182
43997
  },
43998
+ "nativeObjectDetection.getStatus": {
43999
+ capName: "native-object-detection",
44000
+ capScope: "device",
44001
+ addonId: null,
44002
+ access: "view"
44003
+ },
41183
44004
  "nativeObjectDetection.setEnabled": {
41184
44005
  capName: "native-object-detection",
41185
44006
  capScope: "device",
@@ -41198,6 +44019,12 @@ Object.freeze({
41198
44019
  addonId: null,
41199
44020
  access: "view"
41200
44021
  },
44022
+ "navigation.getStatus": {
44023
+ capName: "navigation",
44024
+ capScope: "device",
44025
+ addonId: null,
44026
+ access: "view"
44027
+ },
41201
44028
  "navigation.goToPoint": {
41202
44029
  capName: "navigation",
41203
44030
  capScope: "device",
@@ -41282,6 +44109,12 @@ Object.freeze({
41282
44109
  addonId: null,
41283
44110
  access: "create"
41284
44111
  },
44112
+ "networkLink.getStatus": {
44113
+ capName: "network-link",
44114
+ capScope: "device",
44115
+ addonId: null,
44116
+ access: "view"
44117
+ },
41285
44118
  "networkQuality.getAllStats": {
41286
44119
  capName: "network-quality",
41287
44120
  capScope: "system",
@@ -41540,18 +44373,36 @@ Object.freeze({
41540
44373
  addonId: null,
41541
44374
  access: "create"
41542
44375
  },
44376
+ "notifier.getStatus": {
44377
+ capName: "notifier",
44378
+ capScope: "device",
44379
+ addonId: null,
44380
+ access: "view"
44381
+ },
41543
44382
  "notifier.send": {
41544
44383
  capName: "notifier",
41545
44384
  capScope: "device",
41546
44385
  addonId: null,
41547
44386
  access: "create"
41548
44387
  },
44388
+ "numericSensor.getStatus": {
44389
+ capName: "numeric-sensor",
44390
+ capScope: "device",
44391
+ addonId: null,
44392
+ access: "view"
44393
+ },
41549
44394
  "oauthIntegration.getDescriptor": {
41550
44395
  capName: "oauth-integration",
41551
44396
  capScope: "system",
41552
44397
  addonId: null,
41553
44398
  access: "view"
41554
44399
  },
44400
+ "osd.getStatus": {
44401
+ capName: "osd",
44402
+ capScope: "device",
44403
+ addonId: null,
44404
+ access: "view"
44405
+ },
41555
44406
  "osd.setOverlay": {
41556
44407
  capName: "osd",
41557
44408
  capScope: "device",
@@ -41624,6 +44475,12 @@ Object.freeze({
41624
44475
  addonId: null,
41625
44476
  access: "create"
41626
44477
  },
44478
+ "petFeeder.getStatus": {
44479
+ capName: "pet-feeder",
44480
+ capScope: "device",
44481
+ addonId: null,
44482
+ access: "view"
44483
+ },
41627
44484
  "petFeeder.markFoodReplenished": {
41628
44485
  capName: "pet-feeder",
41629
44486
  capScope: "device",
@@ -41666,6 +44523,12 @@ Object.freeze({
41666
44523
  addonId: null,
41667
44524
  access: "create"
41668
44525
  },
44526
+ "pipelineAnalytics.applyDeviceSettingsPatch": {
44527
+ capName: "pipeline-analytics",
44528
+ capScope: "device",
44529
+ addonId: null,
44530
+ access: "create"
44531
+ },
41669
44532
  "pipelineAnalytics.cancelRelocateMedia": {
41670
44533
  capName: "pipeline-analytics",
41671
44534
  capScope: "device",
@@ -41732,6 +44595,18 @@ Object.freeze({
41732
44595
  addonId: null,
41733
44596
  access: "view"
41734
44597
  },
44598
+ "pipelineAnalytics.getDeviceLiveContribution": {
44599
+ capName: "pipeline-analytics",
44600
+ capScope: "device",
44601
+ addonId: null,
44602
+ access: "view"
44603
+ },
44604
+ "pipelineAnalytics.getDeviceSettingsContribution": {
44605
+ capName: "pipeline-analytics",
44606
+ capScope: "device",
44607
+ addonId: null,
44608
+ access: "view"
44609
+ },
41735
44610
  "pipelineAnalytics.getEventDensity": {
41736
44611
  capName: "pipeline-analytics",
41737
44612
  capScope: "device",
@@ -42302,6 +45177,12 @@ Object.freeze({
42302
45177
  addonId: null,
42303
45178
  access: "view"
42304
45179
  },
45180
+ "pipelineOrchestrator.applyDeviceSettingsPatch": {
45181
+ capName: "pipeline-orchestrator",
45182
+ capScope: "system",
45183
+ addonId: null,
45184
+ access: "create"
45185
+ },
42305
45186
  "pipelineOrchestrator.assignAudio": {
42306
45187
  capName: "pipeline-orchestrator",
42307
45188
  capScope: "system",
@@ -42392,6 +45273,18 @@ Object.freeze({
42392
45273
  addonId: null,
42393
45274
  access: "view"
42394
45275
  },
45276
+ "pipelineOrchestrator.getDeviceLiveContribution": {
45277
+ capName: "pipeline-orchestrator",
45278
+ capScope: "system",
45279
+ addonId: null,
45280
+ access: "view"
45281
+ },
45282
+ "pipelineOrchestrator.getDeviceSettingsContribution": {
45283
+ capName: "pipeline-orchestrator",
45284
+ capScope: "system",
45285
+ addonId: null,
45286
+ access: "view"
45287
+ },
42395
45288
  "pipelineOrchestrator.getGlobalMetrics": {
42396
45289
  capName: "pipeline-orchestrator",
42397
45290
  capScope: "system",
@@ -42800,12 +45693,36 @@ Object.freeze({
42800
45693
  addonId: null,
42801
45694
  access: "view"
42802
45695
  },
45696
+ "powerMeter.getStatus": {
45697
+ capName: "power-meter",
45698
+ capScope: "device",
45699
+ addonId: null,
45700
+ access: "view"
45701
+ },
45702
+ "presence.getStatus": {
45703
+ capName: "presence",
45704
+ capScope: "device",
45705
+ addonId: null,
45706
+ access: "view"
45707
+ },
45708
+ "pressureSensor.getStatus": {
45709
+ capName: "pressure-sensor",
45710
+ capScope: "device",
45711
+ addonId: null,
45712
+ access: "view"
45713
+ },
42803
45714
  "privacyMask.getOptions": {
42804
45715
  capName: "privacy-mask",
42805
45716
  capScope: "device",
42806
45717
  addonId: null,
42807
45718
  access: "view"
42808
45719
  },
45720
+ "privacyMask.getStatus": {
45721
+ capName: "privacy-mask",
45722
+ capScope: "device",
45723
+ addonId: null,
45724
+ access: "view"
45725
+ },
42809
45726
  "privacyMask.setAudioEnabled": {
42810
45727
  capName: "privacy-mask",
42811
45728
  capScope: "device",
@@ -42866,6 +45783,12 @@ Object.freeze({
42866
45783
  addonId: null,
42867
45784
  access: "view"
42868
45785
  },
45786
+ "ptz.getStatus": {
45787
+ capName: "ptz",
45788
+ capScope: "device",
45789
+ addonId: null,
45790
+ access: "view"
45791
+ },
42869
45792
  "ptz.goHome": {
42870
45793
  capName: "ptz",
42871
45794
  capScope: "device",
@@ -42944,200 +45867,236 @@ Object.freeze({
42944
45867
  addonId: null,
42945
45868
  access: "create"
42946
45869
  },
42947
- "recording.cancelRelocateJob": {
45870
+ "recording.getAvailability": {
45871
+ capName: "recording",
45872
+ capScope: "device",
45873
+ addonId: null,
45874
+ access: "view"
45875
+ },
45876
+ "recording.getDaysWithRecordings": {
45877
+ capName: "recording",
45878
+ capScope: "device",
45879
+ addonId: null,
45880
+ access: "view"
45881
+ },
45882
+ "recording.getPlayback": {
42948
45883
  capName: "recording",
45884
+ capScope: "device",
45885
+ addonId: null,
45886
+ access: "view"
45887
+ },
45888
+ "recording.getPlaybackOptions": {
45889
+ capName: "recording",
45890
+ capScope: "device",
45891
+ addonId: null,
45892
+ access: "view"
45893
+ },
45894
+ "recording.listSources": {
45895
+ capName: "recording",
45896
+ capScope: "device",
45897
+ addonId: null,
45898
+ access: "view"
45899
+ },
45900
+ "recordingArchive.applyDeviceSettingsPatch": {
45901
+ capName: "recording-archive",
42949
45902
  capScope: "system",
42950
45903
  addonId: null,
42951
45904
  access: "create"
42952
45905
  },
42953
- "recording.cancelStorageMigrationMove": {
42954
- capName: "recording",
45906
+ "recordingArchive.cancelRelocateJob": {
45907
+ capName: "recording-archive",
42955
45908
  capScope: "system",
42956
45909
  addonId: null,
42957
45910
  access: "create"
42958
45911
  },
42959
- "recording.deleteFootprint": {
42960
- capName: "recording",
45912
+ "recordingArchive.cancelStorageMigrationMove": {
45913
+ capName: "recording-archive",
45914
+ capScope: "system",
45915
+ addonId: null,
45916
+ access: "create"
45917
+ },
45918
+ "recordingArchive.deleteFootprint": {
45919
+ capName: "recording-archive",
42961
45920
  capScope: "system",
42962
45921
  addonId: null,
42963
45922
  access: "delete"
42964
45923
  },
42965
- "recording.getAvailability": {
42966
- capName: "recording",
45924
+ "recordingArchive.getAvailabilityBatch": {
45925
+ capName: "recording-archive",
42967
45926
  capScope: "system",
42968
45927
  addonId: null,
42969
45928
  access: "view"
42970
45929
  },
42971
- "recording.getAvailabilityBatch": {
42972
- capName: "recording",
45930
+ "recordingArchive.getDaysWithRecordingsBatch": {
45931
+ capName: "recording-archive",
42973
45932
  capScope: "system",
42974
45933
  addonId: null,
42975
45934
  access: "view"
42976
45935
  },
42977
- "recording.getDaysWithRecordings": {
42978
- capName: "recording",
45936
+ "recordingArchive.getDeviceConfig": {
45937
+ capName: "recording-archive",
42979
45938
  capScope: "system",
42980
45939
  addonId: null,
42981
45940
  access: "view"
42982
45941
  },
42983
- "recording.getDaysWithRecordingsBatch": {
42984
- capName: "recording",
45942
+ "recordingArchive.getDeviceLiveContribution": {
45943
+ capName: "recording-archive",
42985
45944
  capScope: "system",
42986
45945
  addonId: null,
42987
45946
  access: "view"
42988
45947
  },
42989
- "recording.getDeviceConfig": {
42990
- capName: "recording",
45948
+ "recordingArchive.getDeviceSettingsContribution": {
45949
+ capName: "recording-archive",
42991
45950
  capScope: "system",
42992
45951
  addonId: null,
42993
45952
  access: "view"
42994
45953
  },
42995
- "recording.getPlacement": {
42996
- capName: "recording",
45954
+ "recordingArchive.getPlacement": {
45955
+ capName: "recording-archive",
42997
45956
  capScope: "system",
42998
45957
  addonId: null,
42999
45958
  access: "view"
43000
45959
  },
43001
- "recording.getPlaybackManifest": {
43002
- capName: "recording",
45960
+ "recordingArchive.getRelocateResidue": {
45961
+ capName: "recording-archive",
43003
45962
  capScope: "system",
43004
45963
  addonId: null,
43005
45964
  access: "view"
43006
45965
  },
43007
- "recording.getRelocateResidue": {
43008
- capName: "recording",
45966
+ "recordingArchive.getStatus": {
45967
+ capName: "recording-archive",
43009
45968
  capScope: "system",
43010
45969
  addonId: null,
43011
45970
  access: "view"
43012
45971
  },
43013
- "recording.getStorageMigrationMoveStatus": {
43014
- capName: "recording",
45972
+ "recordingArchive.getStorageMigrationMoveStatus": {
45973
+ capName: "recording-archive",
43015
45974
  capScope: "system",
43016
45975
  addonId: null,
43017
45976
  access: "view"
43018
45977
  },
43019
- "recording.getStorageUsage": {
43020
- capName: "recording",
45978
+ "recordingArchive.getStorageUsage": {
45979
+ capName: "recording-archive",
43021
45980
  capScope: "system",
43022
45981
  addonId: null,
43023
45982
  access: "view"
43024
45983
  },
43025
- "recording.listOpsLog": {
43026
- capName: "recording",
45984
+ "recordingArchive.listOpsLog": {
45985
+ capName: "recording-archive",
43027
45986
  capScope: "system",
43028
45987
  addonId: null,
43029
45988
  access: "view"
43030
45989
  },
43031
- "recording.listRelocateJobs": {
43032
- capName: "recording",
45990
+ "recordingArchive.listRelocateJobs": {
45991
+ capName: "recording-archive",
43033
45992
  capScope: "system",
43034
45993
  addonId: null,
43035
45994
  access: "view"
43036
45995
  },
43037
- "recording.locateSegment": {
43038
- capName: "recording",
45996
+ "recordingArchive.locateSegment": {
45997
+ capName: "recording-archive",
43039
45998
  capScope: "system",
43040
45999
  addonId: null,
43041
46000
  access: "view"
43042
46001
  },
43043
- "recording.pauseForStorageMigration": {
43044
- capName: "recording",
46002
+ "recordingArchive.pauseForStorageMigration": {
46003
+ capName: "recording-archive",
43045
46004
  capScope: "system",
43046
46005
  addonId: null,
43047
46006
  access: "create"
43048
46007
  },
43049
- "recording.planStorageRebalance": {
43050
- capName: "recording",
46008
+ "recordingArchive.planStorageRebalance": {
46009
+ capName: "recording-archive",
43051
46010
  capScope: "system",
43052
46011
  addonId: null,
43053
46012
  access: "view"
43054
46013
  },
43055
- "recording.pruneFootage": {
43056
- capName: "recording",
46014
+ "recordingArchive.pruneFootage": {
46015
+ capName: "recording-archive",
43057
46016
  capScope: "system",
43058
46017
  addonId: null,
43059
46018
  access: "create"
43060
46019
  },
43061
- "recording.readGopBytes": {
43062
- capName: "recording",
46020
+ "recordingArchive.readGopBytes": {
46021
+ capName: "recording-archive",
43063
46022
  capScope: "system",
43064
46023
  addonId: null,
43065
46024
  access: "view"
43066
46025
  },
43067
- "recording.readSegmentBytes": {
43068
- capName: "recording",
46026
+ "recordingArchive.readSegmentBytes": {
46027
+ capName: "recording-archive",
43069
46028
  capScope: "system",
43070
46029
  addonId: null,
43071
46030
  access: "view"
43072
46031
  },
43073
- "recording.readWindowBytes": {
43074
- capName: "recording",
46032
+ "recordingArchive.readWindowBytes": {
46033
+ capName: "recording-archive",
43075
46034
  capScope: "system",
43076
46035
  addonId: null,
43077
46036
  access: "view"
43078
46037
  },
43079
- "recording.reconcileLedgerAgainstDisk": {
43080
- capName: "recording",
46038
+ "recordingArchive.reconcileLedgerAgainstDisk": {
46039
+ capName: "recording-archive",
43081
46040
  capScope: "system",
43082
46041
  addonId: null,
43083
46042
  access: "create"
43084
46043
  },
43085
- "recording.refreshStorageLocationsForMigration": {
43086
- capName: "recording",
46044
+ "recordingArchive.refreshStorageLocationsForMigration": {
46045
+ capName: "recording-archive",
43087
46046
  capScope: "system",
43088
46047
  addonId: null,
43089
46048
  access: "create"
43090
46049
  },
43091
- "recording.relocateFootage": {
43092
- capName: "recording",
46050
+ "recordingArchive.relocateFootage": {
46051
+ capName: "recording-archive",
43093
46052
  capScope: "system",
43094
46053
  addonId: null,
43095
46054
  access: "create"
43096
46055
  },
43097
- "recording.renderClip": {
43098
- capName: "recording",
46056
+ "recordingArchive.renderClip": {
46057
+ capName: "recording-archive",
43099
46058
  capScope: "system",
43100
46059
  addonId: null,
43101
46060
  access: "create"
43102
46061
  },
43103
- "recording.renderGif": {
43104
- capName: "recording",
46062
+ "recordingArchive.renderGif": {
46063
+ capName: "recording-archive",
43105
46064
  capScope: "system",
43106
46065
  addonId: null,
43107
46066
  access: "create"
43108
46067
  },
43109
- "recording.rescanStorage": {
43110
- capName: "recording",
46068
+ "recordingArchive.rescanStorage": {
46069
+ capName: "recording-archive",
43111
46070
  capScope: "system",
43112
46071
  addonId: null,
43113
46072
  access: "create"
43114
46073
  },
43115
- "recording.resumeForStorageMigration": {
43116
- capName: "recording",
46074
+ "recordingArchive.resumeForStorageMigration": {
46075
+ capName: "recording-archive",
43117
46076
  capScope: "system",
43118
46077
  addonId: null,
43119
46078
  access: "create"
43120
46079
  },
43121
- "recording.setDeviceConfig": {
43122
- capName: "recording",
46080
+ "recordingArchive.setDeviceConfig": {
46081
+ capName: "recording-archive",
43123
46082
  capScope: "system",
43124
46083
  addonId: null,
43125
46084
  access: "create"
43126
46085
  },
43127
- "recording.setDevicePlacement": {
43128
- capName: "recording",
46086
+ "recordingArchive.setDevicePlacement": {
46087
+ capName: "recording-archive",
43129
46088
  capScope: "system",
43130
46089
  addonId: null,
43131
46090
  access: "create"
43132
46091
  },
43133
- "recording.startStorageMigrationMove": {
43134
- capName: "recording",
46092
+ "recordingArchive.startStorageMigrationMove": {
46093
+ capName: "recording-archive",
43135
46094
  capScope: "system",
43136
46095
  addonId: null,
43137
46096
  access: "create"
43138
46097
  },
43139
- "recording.startStorageRebalance": {
43140
- capName: "recording",
46098
+ "recordingArchive.startStorageRebalance": {
46099
+ capName: "recording-archive",
43141
46100
  capScope: "system",
43142
46101
  addonId: null,
43143
46102
  access: "create"
@@ -43184,6 +46143,24 @@ Object.freeze({
43184
46143
  addonId: null,
43185
46144
  access: "view"
43186
46145
  },
46146
+ "recordingOnboard.getOptions": {
46147
+ capName: "recording-onboard",
46148
+ capScope: "device",
46149
+ addonId: null,
46150
+ access: "view"
46151
+ },
46152
+ "recordingOnboard.getStatus": {
46153
+ capName: "recording-onboard",
46154
+ capScope: "device",
46155
+ addonId: null,
46156
+ access: "view"
46157
+ },
46158
+ "recordingOnboard.setSettings": {
46159
+ capName: "recording-onboard",
46160
+ capScope: "device",
46161
+ addonId: null,
46162
+ access: "create"
46163
+ },
43187
46164
  "recordingSignal.getStatus": {
43188
46165
  capName: "recording-signal",
43189
46166
  capScope: "device",
@@ -43214,6 +46191,12 @@ Object.freeze({
43214
46191
  addonId: null,
43215
46192
  access: "delete"
43216
46193
  },
46194
+ "sceneMonitor.getStatus": {
46195
+ capName: "scene-monitor",
46196
+ capScope: "device",
46197
+ addonId: null,
46198
+ access: "view"
46199
+ },
43217
46200
  "sceneMonitor.listScenes": {
43218
46201
  capName: "scene-monitor",
43219
46202
  capScope: "device",
@@ -43244,6 +46227,12 @@ Object.freeze({
43244
46227
  addonId: null,
43245
46228
  access: "create"
43246
46229
  },
46230
+ "scriptRunner.getStatus": {
46231
+ capName: "script-runner",
46232
+ capScope: "device",
46233
+ addonId: null,
46234
+ access: "view"
46235
+ },
43247
46236
  "scriptRunner.run": {
43248
46237
  capName: "script-runner",
43249
46238
  capScope: "device",
@@ -43376,6 +46365,12 @@ Object.freeze({
43376
46365
  addonId: null,
43377
46366
  access: "create"
43378
46367
  },
46368
+ "smoke.getStatus": {
46369
+ capName: "smoke",
46370
+ capScope: "device",
46371
+ addonId: null,
46372
+ access: "view"
46373
+ },
43379
46374
  "smtpProvider.getStatus": {
43380
46375
  capName: "smtp-provider",
43381
46376
  capScope: "system",
@@ -43394,12 +46389,30 @@ Object.freeze({
43394
46389
  addonId: null,
43395
46390
  access: "view"
43396
46391
  },
46392
+ "snapshot.applyDeviceSettingsPatch": {
46393
+ capName: "snapshot",
46394
+ capScope: "device",
46395
+ addonId: null,
46396
+ access: "create"
46397
+ },
43397
46398
  "snapshot.getDebugState": {
43398
46399
  capName: "snapshot",
43399
46400
  capScope: "device",
43400
46401
  addonId: null,
43401
46402
  access: "view"
43402
46403
  },
46404
+ "snapshot.getDeviceLiveContribution": {
46405
+ capName: "snapshot",
46406
+ capScope: "device",
46407
+ addonId: null,
46408
+ access: "view"
46409
+ },
46410
+ "snapshot.getDeviceSettingsContribution": {
46411
+ capName: "snapshot",
46412
+ capScope: "device",
46413
+ addonId: null,
46414
+ access: "view"
46415
+ },
43403
46416
  "snapshot.getSnapshot": {
43404
46417
  capName: "snapshot",
43405
46418
  capScope: "device",
@@ -43418,6 +46431,12 @@ Object.freeze({
43418
46431
  addonId: null,
43419
46432
  access: "view"
43420
46433
  },
46434
+ "snapshot.getStatus": {
46435
+ capName: "snapshot",
46436
+ capScope: "device",
46437
+ addonId: null,
46438
+ access: "view"
46439
+ },
43421
46440
  "snapshot.invalidateCache": {
43422
46441
  capName: "snapshot",
43423
46442
  capScope: "device",
@@ -43754,6 +46773,12 @@ Object.freeze({
43754
46773
  addonId: null,
43755
46774
  access: "create"
43756
46775
  },
46776
+ "streamBroker.applyDeviceSettingsPatch": {
46777
+ capName: "stream-broker",
46778
+ capScope: "system",
46779
+ addonId: null,
46780
+ access: "create"
46781
+ },
43757
46782
  "streamBroker.assignProfile": {
43758
46783
  capName: "stream-broker",
43759
46784
  capScope: "system",
@@ -43790,6 +46815,18 @@ Object.freeze({
43790
46815
  addonId: null,
43791
46816
  access: "view"
43792
46817
  },
46818
+ "streamBroker.getDeviceLiveContribution": {
46819
+ capName: "stream-broker",
46820
+ capScope: "system",
46821
+ addonId: null,
46822
+ access: "view"
46823
+ },
46824
+ "streamBroker.getDeviceSettingsContribution": {
46825
+ capName: "stream-broker",
46826
+ capScope: "system",
46827
+ addonId: null,
46828
+ access: "view"
46829
+ },
43793
46830
  "streamBroker.getPreBufferInfo": {
43794
46831
  capName: "stream-broker",
43795
46832
  capScope: "system",
@@ -43988,6 +47025,12 @@ Object.freeze({
43988
47025
  addonId: null,
43989
47026
  access: "view"
43990
47027
  },
47028
+ "streamParams.getStatus": {
47029
+ capName: "stream-params",
47030
+ capScope: "device",
47031
+ addonId: null,
47032
+ access: "view"
47033
+ },
43991
47034
  "streamParams.setProfile": {
43992
47035
  capName: "stream-params",
43993
47036
  capScope: "device",
@@ -44000,6 +47043,12 @@ Object.freeze({
44000
47043
  addonId: null,
44001
47044
  access: "view"
44002
47045
  },
47046
+ "switch.getStatus": {
47047
+ capName: "switch",
47048
+ capScope: "device",
47049
+ addonId: null,
47050
+ access: "view"
47051
+ },
44003
47052
  "switch.setState": {
44004
47053
  capName: "switch",
44005
47054
  capScope: "device",
@@ -44096,6 +47145,18 @@ Object.freeze({
44096
47145
  addonId: null,
44097
47146
  access: "create"
44098
47147
  },
47148
+ "tamper.getStatus": {
47149
+ capName: "tamper",
47150
+ capScope: "device",
47151
+ addonId: null,
47152
+ access: "view"
47153
+ },
47154
+ "temperatureSensor.getStatus": {
47155
+ capName: "temperature-sensor",
47156
+ capScope: "device",
47157
+ addonId: null,
47158
+ access: "view"
47159
+ },
44099
47160
  "terminalSession.adoptLegacyMonitor": {
44100
47161
  capName: "terminal-session",
44101
47162
  capScope: "system",
@@ -44192,6 +47253,12 @@ Object.freeze({
44192
47253
  addonId: null,
44193
47254
  access: "view"
44194
47255
  },
47256
+ "update.getStatus": {
47257
+ capName: "update",
47258
+ capScope: "device",
47259
+ addonId: null,
47260
+ access: "view"
47261
+ },
44195
47262
  "update.installUpdate": {
44196
47263
  capName: "update",
44197
47264
  capScope: "device",
@@ -44414,6 +47481,12 @@ Object.freeze({
44414
47481
  addonId: null,
44415
47482
  access: "create"
44416
47483
  },
47484
+ "vacuumControl.getStatus": {
47485
+ capName: "vacuum-control",
47486
+ capScope: "device",
47487
+ addonId: null,
47488
+ access: "view"
47489
+ },
44417
47490
  "vacuumControl.locate": {
44418
47491
  capName: "vacuum-control",
44419
47492
  capScope: "device",
@@ -44456,6 +47529,12 @@ Object.freeze({
44456
47529
  addonId: null,
44457
47530
  access: "create"
44458
47531
  },
47532
+ "valve.getStatus": {
47533
+ capName: "valve",
47534
+ capScope: "device",
47535
+ addonId: null,
47536
+ access: "view"
47537
+ },
44459
47538
  "valve.open": {
44460
47539
  capName: "valve",
44461
47540
  capScope: "device",
@@ -44528,12 +47607,30 @@ Object.freeze({
44528
47607
  addonId: null,
44529
47608
  access: "create"
44530
47609
  },
47610
+ "vibration.getStatus": {
47611
+ capName: "vibration",
47612
+ capScope: "device",
47613
+ addonId: null,
47614
+ access: "view"
47615
+ },
47616
+ "videoclips.dialClipStream": {
47617
+ capName: "videoclips",
47618
+ capScope: "device",
47619
+ addonId: null,
47620
+ access: "view"
47621
+ },
44531
47622
  "videoclips.getClipPlayback": {
44532
47623
  capName: "videoclips",
44533
47624
  capScope: "device",
44534
47625
  addonId: null,
44535
47626
  access: "view"
44536
47627
  },
47628
+ "videoclips.getPlaybackOptions": {
47629
+ capName: "videoclips",
47630
+ capScope: "device",
47631
+ addonId: null,
47632
+ access: "view"
47633
+ },
44537
47634
  "videoclips.listClips": {
44538
47635
  capName: "videoclips",
44539
47636
  capScope: "device",
@@ -44546,6 +47643,18 @@ Object.freeze({
44546
47643
  addonId: null,
44547
47644
  access: "view"
44548
47645
  },
47646
+ "videoclips.offerClipBytes": {
47647
+ capName: "videoclips",
47648
+ capScope: "device",
47649
+ addonId: null,
47650
+ access: "view"
47651
+ },
47652
+ "videoclips.readClipBytes": {
47653
+ capName: "videoclips",
47654
+ capScope: "device",
47655
+ addonId: null,
47656
+ access: "view"
47657
+ },
44549
47658
  "viewerUi.getStaticDir": {
44550
47659
  capName: "viewer-ui",
44551
47660
  capScope: "system",
@@ -44558,6 +47667,12 @@ Object.freeze({
44558
47667
  addonId: null,
44559
47668
  access: "view"
44560
47669
  },
47670
+ "waterHeater.getStatus": {
47671
+ capName: "water-heater",
47672
+ capScope: "device",
47673
+ addonId: null,
47674
+ access: "view"
47675
+ },
44561
47676
  "waterHeater.setAway": {
44562
47677
  capName: "water-heater",
44563
47678
  capScope: "device",
@@ -44576,6 +47691,12 @@ Object.freeze({
44576
47691
  addonId: null,
44577
47692
  access: "create"
44578
47693
  },
47694
+ "weather.getStatus": {
47695
+ capName: "weather",
47696
+ capScope: "device",
47697
+ addonId: null,
47698
+ access: "view"
47699
+ },
44579
47700
  "webrtcSession.addIceCandidate": {
44580
47701
  capName: "webrtc-session",
44581
47702
  capScope: "device",
@@ -44938,6 +48059,11 @@ Object.freeze({
44938
48059
  form: "single",
44939
48060
  optional: true
44940
48061
  }],
48062
+ "deviceAdminLink.getAdminLink": [{
48063
+ name: "deviceId",
48064
+ form: "single",
48065
+ optional: false
48066
+ }],
44941
48067
  "deviceAdoption.release": [{
44942
48068
  name: "camDeviceId",
44943
48069
  form: "single",
@@ -45275,21 +48401,6 @@ Object.freeze({
45275
48401
  form: "single",
45276
48402
  optional: false
45277
48403
  }],
45278
- "events.getEventClipUrl": [{
45279
- name: "deviceId",
45280
- form: "single",
45281
- optional: false
45282
- }],
45283
- "events.getEvents": [{
45284
- name: "deviceId",
45285
- form: "single",
45286
- optional: false
45287
- }],
45288
- "events.getEventThumbnail": [{
45289
- name: "deviceId",
45290
- form: "single",
45291
- optional: false
45292
- }],
45293
48404
  "faceGallery.getFaceByTrack": [{
45294
48405
  name: "deviceId",
45295
48406
  form: "single",
@@ -46208,107 +49319,117 @@ Object.freeze({
46208
49319
  form: "single",
46209
49320
  optional: false
46210
49321
  }],
46211
- "recording.deleteFootprint": [{
49322
+ "recording.getAvailability": [{
46212
49323
  name: "deviceId",
46213
49324
  form: "single",
46214
49325
  optional: false
46215
49326
  }],
46216
- "recording.getAvailability": [{
49327
+ "recording.getDaysWithRecordings": [{
46217
49328
  name: "deviceId",
46218
49329
  form: "single",
46219
49330
  optional: false
46220
49331
  }],
46221
- "recording.getAvailabilityBatch": [{
46222
- name: "deviceIds",
46223
- form: "array",
49332
+ "recording.getPlayback": [{
49333
+ name: "deviceId",
49334
+ form: "single",
46224
49335
  optional: false
46225
49336
  }],
46226
- "recording.getDaysWithRecordings": [{
49337
+ "recording.getPlaybackOptions": [{
46227
49338
  name: "deviceId",
46228
49339
  form: "single",
46229
49340
  optional: false
46230
49341
  }],
46231
- "recording.getDaysWithRecordingsBatch": [{
46232
- name: "deviceIds",
46233
- form: "array",
49342
+ "recording.listSources": [{
49343
+ name: "deviceId",
49344
+ form: "single",
46234
49345
  optional: false
46235
49346
  }],
46236
- "recording.getDeviceConfig": [{
49347
+ "recordingArchive.deleteFootprint": [{
46237
49348
  name: "deviceId",
46238
49349
  form: "single",
46239
49350
  optional: false
46240
49351
  }],
46241
- "recording.getPlaybackManifest": [{
49352
+ "recordingArchive.getAvailabilityBatch": [{
49353
+ name: "deviceIds",
49354
+ form: "array",
49355
+ optional: false
49356
+ }],
49357
+ "recordingArchive.getDaysWithRecordingsBatch": [{
49358
+ name: "deviceIds",
49359
+ form: "array",
49360
+ optional: false
49361
+ }],
49362
+ "recordingArchive.getDeviceConfig": [{
46242
49363
  name: "deviceId",
46243
49364
  form: "single",
46244
49365
  optional: false
46245
49366
  }],
46246
- "recording.listOpsLog": [{
49367
+ "recordingArchive.listOpsLog": [{
46247
49368
  name: "deviceId",
46248
49369
  form: "single",
46249
49370
  optional: true
46250
49371
  }],
46251
- "recording.locateSegment": [{
49372
+ "recordingArchive.locateSegment": [{
46252
49373
  name: "deviceId",
46253
49374
  form: "single",
46254
49375
  optional: false
46255
49376
  }],
46256
- "recording.pruneFootage": [{
49377
+ "recordingArchive.pruneFootage": [{
46257
49378
  name: "deviceId",
46258
49379
  form: "single",
46259
49380
  optional: false
46260
49381
  }],
46261
- "recording.readGopBytes": [{
49382
+ "recordingArchive.readGopBytes": [{
46262
49383
  name: "deviceId",
46263
49384
  form: "single",
46264
49385
  optional: false
46265
49386
  }],
46266
- "recording.readSegmentBytes": [{
49387
+ "recordingArchive.readSegmentBytes": [{
46267
49388
  name: "deviceId",
46268
49389
  form: "single",
46269
49390
  optional: false
46270
49391
  }],
46271
- "recording.readWindowBytes": [{
49392
+ "recordingArchive.readWindowBytes": [{
46272
49393
  name: "deviceId",
46273
49394
  form: "single",
46274
49395
  optional: false
46275
49396
  }],
46276
- "recording.reconcileLedgerAgainstDisk": [{
49397
+ "recordingArchive.reconcileLedgerAgainstDisk": [{
46277
49398
  name: "deviceId",
46278
49399
  form: "single",
46279
49400
  optional: true
46280
49401
  }],
46281
- "recording.relocateFootage": [{
49402
+ "recordingArchive.relocateFootage": [{
46282
49403
  name: "deviceId",
46283
49404
  form: "single",
46284
49405
  optional: true
46285
49406
  }],
46286
- "recording.renderClip": [{
49407
+ "recordingArchive.renderClip": [{
46287
49408
  name: "deviceId",
46288
49409
  form: "single",
46289
49410
  optional: false
46290
49411
  }],
46291
- "recording.renderGif": [{
49412
+ "recordingArchive.renderGif": [{
46292
49413
  name: "deviceId",
46293
49414
  form: "single",
46294
49415
  optional: false
46295
49416
  }],
46296
- "recording.rescanStorage": [{
49417
+ "recordingArchive.rescanStorage": [{
46297
49418
  name: "deviceId",
46298
49419
  form: "single",
46299
49420
  optional: false
46300
49421
  }],
46301
- "recording.setDeviceConfig": [{
49422
+ "recordingArchive.setDeviceConfig": [{
46302
49423
  name: "deviceId",
46303
49424
  form: "single",
46304
49425
  optional: false
46305
49426
  }],
46306
- "recording.setDevicePlacement": [{
49427
+ "recordingArchive.setDevicePlacement": [{
46307
49428
  name: "deviceId",
46308
49429
  form: "single",
46309
49430
  optional: false
46310
49431
  }],
46311
- "recording.startStorageMigrationMove": [{
49432
+ "recordingArchive.startStorageMigrationMove": [{
46312
49433
  name: "deviceId",
46313
49434
  form: "single",
46314
49435
  optional: true
@@ -46323,6 +49444,16 @@ Object.freeze({
46323
49444
  form: "single",
46324
49445
  optional: true
46325
49446
  }],
49447
+ "recordingOnboard.getOptions": [{
49448
+ name: "deviceId",
49449
+ form: "single",
49450
+ optional: false
49451
+ }],
49452
+ "recordingOnboard.setSettings": [{
49453
+ name: "deviceId",
49454
+ form: "single",
49455
+ optional: false
49456
+ }],
46326
49457
  "recordingSignal.getStatus": [{
46327
49458
  name: "deviceId",
46328
49459
  form: "single",
@@ -46549,11 +49680,21 @@ Object.freeze({
46549
49680
  form: "single",
46550
49681
  optional: false
46551
49682
  }],
49683
+ "videoclips.dialClipStream": [{
49684
+ name: "deviceId",
49685
+ form: "single",
49686
+ optional: false
49687
+ }],
46552
49688
  "videoclips.getClipPlayback": [{
46553
49689
  name: "deviceId",
46554
49690
  form: "single",
46555
49691
  optional: false
46556
49692
  }],
49693
+ "videoclips.getPlaybackOptions": [{
49694
+ name: "deviceId",
49695
+ form: "single",
49696
+ optional: false
49697
+ }],
46557
49698
  "videoclips.listClips": [{
46558
49699
  name: "deviceId",
46559
49700
  form: "single",
@@ -46564,6 +49705,16 @@ Object.freeze({
46564
49705
  form: "single",
46565
49706
  optional: false
46566
49707
  }],
49708
+ "videoclips.offerClipBytes": [{
49709
+ name: "deviceId",
49710
+ form: "single",
49711
+ optional: false
49712
+ }],
49713
+ "videoclips.readClipBytes": [{
49714
+ name: "deviceId",
49715
+ form: "single",
49716
+ optional: false
49717
+ }],
46567
49718
  "waterHeater.setAway": [{
46568
49719
  name: "deviceId",
46569
49720
  form: "single",
@@ -48121,6 +51272,12 @@ Object.defineProperty(exports, "RECORDING_EXPORT_MAX_READ_BYTES", {
48121
51272
  return RECORDING_EXPORT_MAX_READ_BYTES;
48122
51273
  }
48123
51274
  });
51275
+ Object.defineProperty(exports, "RECORDING_SOURCE_CAMSTACK_ADDON", {
51276
+ enumerable: true,
51277
+ get: function() {
51278
+ return RECORDING_SOURCE_CAMSTACK_ADDON;
51279
+ }
51280
+ });
48124
51281
  Object.defineProperty(exports, "RetrainStatusSchema", {
48125
51282
  enumerable: true,
48126
51283
  get: function() {