@camstack/addon-admin-ui 1.2.633 → 1.2.634

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/assets/{Addons-DAtKqTxT.js → Addons-Cng9jF6c.js} +3 -3
  3. package/dist/assets/{AdminPage-qJOk9zLV.js → AdminPage-CPPoleZA.js} +1 -1
  4. package/dist/assets/{AdminSectionedPage-6ia7-NOq.js → AdminSectionedPage-C_DLslGH.js} +1 -1
  5. package/dist/assets/{AiProfiles-DXlOmw6q.js → AiProfiles-B6Xt0CM1.js} +2 -2
  6. package/dist/assets/{Authentication-DG_r2ZOT.js → Authentication-CkLg9Az9.js} +1 -1
  7. package/dist/assets/Build-DMEXJqf9.js +39 -0
  8. package/dist/assets/{Calendars-wR9C5_Q6.js → Calendars-BHc1dbvk.js} +1 -1
  9. package/dist/assets/{CameraGrids-6qF94V5t.js → CameraGrids-CIJubNTN.js} +1 -1
  10. package/dist/assets/{Cluster-BBoz1LE8.js → Cluster-CSTB-np5.js} +1 -1
  11. package/dist/assets/CompositionBlockEditor-B4WN_aXq.js +2 -0
  12. package/dist/assets/{CompositionEditorPage-CWZ3xs4r.js → CompositionEditorPage-jP0e8vX8.js} +1 -1
  13. package/dist/assets/{Data-g7Kbrph5.js → Data-DJFzG2dC.js} +2 -2
  14. package/dist/assets/DeviceDetail-3P3i5bd9.js +2 -0
  15. package/dist/assets/{Devices-BOH8vYTs.js → Devices-Ddhmovvw.js} +1 -1
  16. package/dist/assets/{EmbedPlayerPage-C_vCpba9.js → EmbedPlayerPage-B9wkgcPc.js} +1 -1
  17. package/dist/assets/{History-BsjInzOS.js → History-Cv6TryZt.js} +1 -1
  18. package/dist/assets/{Identity-BgGgOHnB.js → Identity-Dmwp8J7o.js} +1 -1
  19. package/dist/assets/{InstanceSwitchCell-BQoXIdUa.js → InstanceSwitchCell-xSu6VGOy.js} +1 -1
  20. package/dist/assets/{InstancesTable-CNSVtHMp.js → InstancesTable-dSeWjA48.js} +1 -1
  21. package/dist/assets/IntegrationDetail-oEpvT757.js +1 -0
  22. package/dist/assets/{IntegrationHub-Bf1lt0KM.js → IntegrationHub-CIVmSeKd.js} +1 -1
  23. package/dist/assets/{Integrations-93yE-RaT.js → Integrations-C5BzsIy2.js} +2 -2
  24. package/dist/assets/{Integrations-Cr9Rw6WQ.js → Integrations-zlHqQ0X9.js} +1 -1
  25. package/dist/assets/{Library-CjMpU1z4.js → Library-COZVDG1J.js} +1 -1
  26. package/dist/assets/{Locations-C1_w99Cs.js → Locations-CpG6tIMC.js} +2 -2
  27. package/dist/assets/{Logs-DdYenNXH.js → Logs-_Lymv-hK.js} +1 -1
  28. package/dist/assets/{MaskShapeCanvas-BUlGep7c.js → MaskShapeCanvas-Dkn9mTx5.js} +1 -1
  29. package/dist/assets/{MotionZonesSettings-D-p5zCf3.js → MotionZonesSettings-DbJd1q0y.js} +1 -1
  30. package/dist/assets/{MyAccess-D0-76Kec.js → MyAccess-3IH5sTuq.js} +1 -1
  31. package/dist/assets/{Network-DbuDxhSk.js → Network-DNJ2W_md.js} +1 -1
  32. package/dist/assets/{NodeAddonsSettingsPanel-CsKoP3i9.js → NodeAddonsSettingsPanel-BleYmajR.js} +1 -1
  33. package/dist/assets/Notifications-C5S8_cBI.js +1 -0
  34. package/dist/assets/{Pipeline-6wFxNxvt.js → Pipeline-CBIucM6P.js} +1 -1
  35. package/dist/assets/{PrivacyMaskSettings-Dg6-TYO8.js → PrivacyMaskSettings-B7mOaiDG.js} +1 -1
  36. package/dist/assets/{Recordings-BetXUQK1.js → Recordings-Dzfu0JHh.js} +1 -1
  37. package/dist/assets/{ScanSubnetEditor-OCs9fxGF.js → ScanSubnetEditor-g4rMYaaa.js} +1 -1
  38. package/dist/assets/{SceneMonitorEditor-BN2MUyfb.js → SceneMonitorEditor-B99BtkWG.js} +1 -1
  39. package/dist/assets/{SessionsList-CYT6gOnD.js → SessionsList-DB9t5c5h.js} +1 -1
  40. package/dist/assets/{Showroom-WT2aGukX.js → Showroom-BlMJHK6P.js} +1 -1
  41. package/dist/assets/{StorageLocationsTable-v7uRI6wX.js → StorageLocationsTable-BCc20Y-P.js} +1 -1
  42. package/dist/assets/{System-C-Wi0R37.js → System-_om1Qy_Z.js} +1 -1
  43. package/dist/assets/{Templates-BM9fxZRe.js → Templates-ClUtf6zo.js} +1 -1
  44. package/dist/assets/{Terminal-C847xq6i.js → Terminal-CK-OPJi8.js} +1 -1
  45. package/dist/assets/{TrainingProviders-BH0hkh_G.js → TrainingProviders-CMfEG1p0.js} +1 -1
  46. package/dist/assets/{Viewer-QrN8oh5h.js → Viewer-D8ErfEDa.js} +1 -1
  47. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CwnnOJMX.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-D5EjGbog.js} +1 -1
  48. package/dist/assets/{action-draft-Crz0i79d.js → action-draft-BF1Yv5wJ.js} +1 -1
  49. package/dist/assets/{ai-page.helpers-Be8k9kZ4.js → ai-page.helpers-7-YKMWA7.js} +1 -1
  50. package/dist/assets/{archive-DGPpEtwM.js → archive-WByIhorf.js} +1 -1
  51. package/dist/assets/{assignment-candidates-ClbN3vh0.js → assignment-candidates-CerZJluZ.js} +1 -1
  52. package/dist/assets/{authed-media-CUTTPdjp.js → authed-media-vTZUQ8BO.js} +1 -1
  53. package/dist/assets/{bell-off-BaiHllVH.js → bell-off-HUbueWAa.js} +1 -1
  54. package/dist/assets/{board-model-Ccqx56nE.js → board-model-BeY6U40R.js} +1 -1
  55. package/dist/assets/{boxes-DnnTX6mW.js → boxes-Sn1wqpgK.js} +1 -1
  56. package/dist/assets/{calendar-clock-NTy1EQqz.js → calendar-clock-TWIEL7Fd.js} +1 -1
  57. package/dist/assets/{circle-arrow-up-Cllm80_u.js → circle-arrow-up-BZb1tft0.js} +1 -1
  58. package/dist/assets/circle-slash-Yb1HMMEU.js +1 -0
  59. package/dist/assets/client-BT1qTuWk.js +839 -0
  60. package/dist/assets/create-composition-BCz5rteK.js +2 -0
  61. package/dist/assets/crop-Rp-pMXj8.js +1 -0
  62. package/dist/assets/{database-zap-A6aYF05g.js → database-zap-DDQJWo1I.js} +1 -1
  63. package/dist/assets/{device-integration-icon-DVMYz-vI.js → device-integration-icon-BEojiV6j.js} +1 -1
  64. package/dist/assets/device-picker-model-DxRFIJt2.js +1 -0
  65. package/dist/assets/{dist-Bc83aezd.js → dist-BAkSt7-o.js} +1 -1
  66. package/dist/assets/dist-MZVzWw2Y.js +839 -0
  67. package/dist/assets/{eraser-CPpEl9FB.js → eraser-BXfY9g0S.js} +1 -1
  68. package/dist/assets/{file-up-EKvcLASy.js → file-up-CGHZOKg0.js} +1 -1
  69. package/dist/assets/{format-BvHHmnnW.js → format-C6WZEo_1.js} +1 -1
  70. package/dist/assets/{hard-drive-download-CBedquYl.js → hard-drive-download-B12jnOmz.js} +1 -1
  71. package/dist/assets/{hostInit-BGVjaa92.js → hostInit-DvgZnKz2.js} +1 -1
  72. package/dist/assets/i18n-DO003gOw.js +1 -0
  73. package/dist/assets/{icons-BPWrt0Wo.js → icons-CSB91nWL.js} +1 -1
  74. package/dist/assets/index-BtIAcMod.js +4 -0
  75. package/dist/assets/index-W6guS92q.css +2 -0
  76. package/dist/assets/{key-Dks99Kuc.js → key-C7vcpiqV.js} +1 -1
  77. package/dist/assets/{key-square-BkCelpwh.js → key-square-wAKOa45w.js} +1 -1
  78. package/dist/assets/{languages-D8mCMm-X.js → languages-NIG6fIsC.js} +1 -1
  79. package/dist/assets/{layers-CyOvLvrD.js → layers-igKznkhu.js} +1 -1
  80. package/dist/assets/{link-2-off-CCNPt42m.js → link-2-off-ViXG09ia.js} +1 -1
  81. package/dist/assets/{linked-devices-model-xeSRaZ5b.js → linked-devices-model-Coihabk7.js} +1 -1
  82. package/dist/assets/{memory-stick-RflhALyu.js → memory-stick-Cb3rfsma.js} +1 -1
  83. package/dist/assets/{message-square-plus-sPbUjNji.js → message-square-plus-MY_vmmYC.js} +1 -1
  84. package/dist/assets/{mf-entry-bootstrap-0-85ddd095.js → mf-entry-bootstrap-0-bf765b1e.js} +2 -2
  85. package/dist/assets/{mic-off-Cf-DmhrZ.js → mic-off-DQbHj0Dp.js} +1 -1
  86. package/dist/assets/{monitor-off-DGKq_9gK.js → monitor-off-KvLmRgXm.js} +1 -1
  87. package/dist/assets/{monitor-smartphone-DBKTTNaQ.js → monitor-smartphone-wbkRUoUy.js} +1 -1
  88. package/dist/assets/mount-DxRFIJt2.js +1 -0
  89. package/dist/assets/{notification-rule-status-Dr5Ltfqw.js → notification-rule-status-DSPA2LGi.js} +1 -1
  90. package/dist/assets/{player-overlays-BKIlLQtG.js → player-overlays-D2iM_dnq.js} +1 -1
  91. package/dist/assets/remoteEntry-CjzR4ng6.js +1 -0
  92. package/dist/assets/{ruler-B8ZZMxwR.js → ruler-Cnh0qH1K.js} +1 -1
  93. package/dist/assets/{scan-eye-D1ZsIGgI.js → scan-eye-B57MjUsN.js} +1 -1
  94. package/dist/assets/{scissors-DwgJrnip.js → scissors-jk6_pSRI.js} +1 -1
  95. package/dist/assets/{search-x-Bj7fMm_4.js → search-x-KiZ1cgFX.js} +1 -1
  96. package/dist/assets/{send-DyRREUxn.js → send-DAC8bZ9x.js} +1 -1
  97. package/dist/assets/{settings-2-B8eP_-6i.js → settings-2-B5Wblm0D.js} +1 -1
  98. package/dist/assets/{shapes-4U4P5B81.js → shapes-C877FMvu.js} +1 -1
  99. package/dist/assets/{sigma-HiZmJE9-.js → sigma-48mqbKtS.js} +1 -1
  100. package/dist/assets/{src-LHvMQiO5.js → src-Djs5D3BM.js} +12 -12
  101. package/dist/assets/{sso-popup-C4lkcIhh.js → sso-popup-zJECU9yL.js} +1 -1
  102. package/dist/assets/{step-inspector-model-lh7rNx6M.js → step-inspector-model-flcREGWU.js} +1 -1
  103. package/dist/assets/{table-2-CiaXJiWX.js → table-2-Dcc8x9NW.js} +1 -1
  104. package/dist/assets/{timer-reset-Ceu_GJmW.js → timer-reset-DPB7Vi_P.js} +1 -1
  105. package/dist/assets/{ungroup-ErdVuJVk.js → ungroup-CaRYV5oo.js} +1 -1
  106. package/dist/assets/{unlink-BPj-qE3a.js → unlink-B1jawH2n.js} +1 -1
  107. package/dist/assets/{usb-CcWPr3D2.js → usb-B566yDR8.js} +1 -1
  108. package/dist/assets/{use-scenes-feed-GqqV5spb.js → use-scenes-feed-Cv3Lv9tp.js} +1 -1
  109. package/dist/assets/{use-stationary-objects-cBSXDbXO.js → use-stationary-objects-DPdFLI4G.js} +1 -1
  110. package/dist/assets/{useAdminDeviceRemoval-Cdkfxxp-.js → useAdminDeviceRemoval-CK79vXvY.js} +1 -1
  111. package/dist/assets/useEventInvalidation-DxRFIJt2.js +1 -0
  112. package/dist/assets/{useNodeUrlSelection-DGJHAY81.js → useNodeUrlSelection-B4V72DKj.js} +1 -1
  113. package/dist/assets/useTemplateSave-sDhvqUj4.js +1 -0
  114. package/dist/assets/user-round-gyXn4SEe.js +1 -0
  115. package/dist/assets/{user-x-DEwjaZ8m.js → user-x-Dalx5dz-.js} +1 -1
  116. package/dist/assets/{variable-BRyqOw_Y.js → variable-CxFXQLx9.js} +1 -1
  117. package/dist/assets/{video-KcKb1EGQ.js → video-DFWp1_fo.js} +1 -1
  118. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DYoAuAOy.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Dbfg8wPM.js} +2 -2
  119. package/dist/index.html +10 -10
  120. package/dist/server/addon.js +188 -179
  121. package/package.json +2 -2
  122. package/dist/assets/Build-BWUDROVR.js +0 -39
  123. package/dist/assets/CompositionBlockEditor-DXLfPQlx.js +0 -2
  124. package/dist/assets/DeviceDetail-B2c4ckLc.js +0 -2
  125. package/dist/assets/IntegrationDetail-BrNTNbjW.js +0 -1
  126. package/dist/assets/Notifications-CEA9sMPD.js +0 -1
  127. package/dist/assets/circle-slash-no8PPK_r.js +0 -1
  128. package/dist/assets/client-DOy-5eny.js +0 -839
  129. package/dist/assets/create-composition-sKLGvMam.js +0 -2
  130. package/dist/assets/crop-DgEmL35-.js +0 -1
  131. package/dist/assets/device-picker-model-B5S9Xa-E.js +0 -1
  132. package/dist/assets/dist-V2fdBIvE.js +0 -839
  133. package/dist/assets/i18n-DS8SDP-9.js +0 -1
  134. package/dist/assets/index-Bs8L45gs.js +0 -4
  135. package/dist/assets/index-CYCJ_V8d.css +0 -2
  136. package/dist/assets/mount-B5S9Xa-E.js +0 -1
  137. package/dist/assets/remoteEntry-Cl4QxImR.js +0 -1
  138. package/dist/assets/useEventInvalidation-B5S9Xa-E.js +0 -1
  139. package/dist/assets/useTemplateSave-CSxF4TWe.js +0 -1
  140. package/dist/assets/user-round-D-hD-jsE.js +0 -1
@@ -803,7 +803,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
803
803
  return EventCategory;
804
804
  }({});
805
805
  //#endregion
806
- //#region ../types/dist/composed-stable-id-DLcPInGv.mjs
806
+ //#region ../types/dist/composed-stable-id-jnvhwGoH.mjs
807
807
  /**
808
808
  import { errMsg } from '@camstack/types'
809
809
  * Extract a human-readable message from an unknown error value.
@@ -1091,6 +1091,10 @@ var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
1091
1091
  /** Robot mower exposes targeted mowing (all-area / zones / edges /
1092
1092
  * spots) — gates the Mow action + map selectors. */
1093
1093
  DeviceFeature["MowerHasTargetedMowing"] = "mower-has-targeted-mowing";
1094
+ /** The device has a drive/navigation surface (`navigation` cap): a robot camera. */
1095
+ DeviceFeature["Navigation"] = "navigation";
1096
+ /** The device has a network-link reading (`network-link` cap). */
1097
+ DeviceFeature["NetworkLink"] = "network-link";
1094
1098
  return DeviceFeature;
1095
1099
  }({});
1096
1100
  /**
@@ -5890,7 +5894,7 @@ var ZodIssueCode = {
5890
5894
  var ZodFirstPartyTypeKind;
5891
5895
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5892
5896
  //#endregion
5893
- //#region ../types/dist/sleep-VrfKAAGN.mjs
5897
+ //#region ../types/dist/sleep-Dz1P6--1.mjs
5894
5898
  /**
5895
5899
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5896
5900
  * window to float samples (D455).
@@ -16503,7 +16507,7 @@ Object.freeze({
16503
16507
  }
16504
16508
  });
16505
16509
  //#endregion
16506
- //#region ../types/dist/composition-BFJq1Y88.mjs
16510
+ //#region ../types/dist/implemented-methods-OitwyO1Y.mjs
16507
16511
  /**
16508
16512
  * The ffmpeg build every CamStack node downloads, per platform and arch.
16509
16513
  *
@@ -18439,18 +18443,43 @@ var TargetKindLevelSchema = object({
18439
18443
  requires: array(string()).optional(),
18440
18444
  description: string().optional()
18441
18445
  });
18446
+ /** Attachment capabilities for a kind (drives the degrade engine + test panel). */
18447
+ var TargetKindAttachmentsCapsSchema = object({
18448
+ mediaTypes: array(AttachmentMediaTypeSchema),
18449
+ mode: _enum([
18450
+ "url",
18451
+ "bytes",
18452
+ "both"
18453
+ ]),
18454
+ max: number$1().int().nonnegative(),
18455
+ maxBytes: number$1().int().positive().optional()
18456
+ });
18457
+ /**
18458
+ * Which TEXT fields a kind delivers (#483). Alexa speaks a title and nothing
18459
+ * else; a push service shows both.
18460
+ *
18461
+ * `.optional()` on the caps block, never defaulted: absent = both, which is
18462
+ * what every kind declared before this field meant (D938's rule for a Zod
18463
+ * default on the addon cap path).
18464
+ */
18465
+ var TargetKindTextCapsSchema = object({
18466
+ title: boolean(),
18467
+ body: boolean()
18468
+ });
18469
+ _enum([
18470
+ "title",
18471
+ "body",
18472
+ "attachments",
18473
+ "actions",
18474
+ "priority",
18475
+ "sound",
18476
+ "clickUrl"
18477
+ ]);
18442
18478
  /** The full capability block consulted before dispatch. */
18443
18479
  var TargetKindCapsSchema = object({
18444
- attachments: object({
18445
- mediaTypes: array(AttachmentMediaTypeSchema),
18446
- mode: _enum([
18447
- "url",
18448
- "bytes",
18449
- "both"
18450
- ]),
18451
- max: number$1().int().nonnegative(),
18452
- maxBytes: number$1().int().positive().optional()
18453
- }),
18480
+ /** Text fields this kind delivers (#483). Absent = title AND body. */
18481
+ text: TargetKindTextCapsSchema.optional(),
18482
+ attachments: TargetKindAttachmentsCapsSchema,
18454
18483
  /** Max action buttons (0 = none). */
18455
18484
  actions: number$1().int().nonnegative(),
18456
18485
  /**
@@ -47601,13 +47630,13 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
47601
47630
  }), _void(), {
47602
47631
  kind: "mutation",
47603
47632
  auth: "protected"
47604
- }), method(object({
47633
+ }), optionalMethod(object({
47605
47634
  deviceId: number$1().int().nonnegative(),
47606
47635
  fanMode: string().min(1)
47607
47636
  }), _void(), {
47608
47637
  kind: "mutation",
47609
47638
  auth: "protected"
47610
- }), method(object({
47639
+ }), optionalMethod(object({
47611
47640
  deviceId: number$1().int().nonnegative(),
47612
47641
  preset: string().min(1)
47613
47642
  }), _void(), {
@@ -47619,26 +47648,26 @@ DeviceType.Thermostat, DeviceType.Climate, method(object({
47619
47648
  }), _void(), {
47620
47649
  kind: "mutation",
47621
47650
  auth: "protected"
47622
- }), method(object({
47651
+ }), optionalMethod(object({
47623
47652
  deviceId: number$1().int().nonnegative(),
47624
47653
  targetLow: number$1(),
47625
47654
  targetHigh: number$1()
47626
47655
  }), _void(), {
47627
47656
  kind: "mutation",
47628
47657
  auth: "protected"
47629
- }), method(object({
47658
+ }), optionalMethod(object({
47630
47659
  deviceId: number$1().int().nonnegative(),
47631
47660
  targetHumidity: number$1().min(0).max(100)
47632
47661
  }), _void(), {
47633
47662
  kind: "mutation",
47634
47663
  auth: "protected"
47635
- }), method(object({
47664
+ }), optionalMethod(object({
47636
47665
  deviceId: number$1().int().nonnegative(),
47637
47666
  on: boolean()
47638
47667
  }), _void(), {
47639
47668
  kind: "mutation",
47640
47669
  auth: "protected"
47641
- }), method(object({
47670
+ }), optionalMethod(object({
47642
47671
  deviceId: number$1().int().nonnegative(),
47643
47672
  on: boolean()
47644
47673
  }), _void(), {
@@ -48504,22 +48533,22 @@ var stepInput = object({
48504
48533
  steps: number$1().int().min(1).max(50).default(1)
48505
48534
  });
48506
48535
  var deviceOnly = object({ deviceId: number$1().int().nonnegative() });
48507
- DeviceType.MediaPlayer, method(deviceOnly, _void(), {
48536
+ DeviceType.MediaPlayer, optionalMethod(deviceOnly, _void(), {
48508
48537
  kind: "mutation",
48509
48538
  auth: "protected"
48510
- }), method(deviceOnly, _void(), {
48539
+ }), optionalMethod(deviceOnly, _void(), {
48511
48540
  kind: "mutation",
48512
48541
  auth: "protected"
48513
- }), method(stepInput, _void(), {
48542
+ }), optionalMethod(stepInput, _void(), {
48514
48543
  kind: "mutation",
48515
48544
  auth: "protected"
48516
- }), method(stepInput, _void(), {
48545
+ }), optionalMethod(stepInput, _void(), {
48517
48546
  kind: "mutation",
48518
48547
  auth: "protected"
48519
- }), method(stepInput, _void(), {
48548
+ }), optionalMethod(stepInput, _void(), {
48520
48549
  kind: "mutation",
48521
48550
  auth: "protected"
48522
- }), method(stepInput, _void(), {
48551
+ }), optionalMethod(stepInput, _void(), {
48523
48552
  kind: "mutation",
48524
48553
  auth: "protected"
48525
48554
  }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
@@ -48528,52 +48557,52 @@ DeviceType.MediaPlayer, method(deviceOnly, _void(), {
48528
48557
  }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
48529
48558
  kind: "mutation",
48530
48559
  auth: "protected"
48531
- }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
48560
+ }), optionalMethod(object({ deviceId: number$1().int().nonnegative() }), _void(), {
48532
48561
  kind: "mutation",
48533
48562
  auth: "protected"
48534
- }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
48563
+ }), optionalMethod(object({ deviceId: number$1().int().nonnegative() }), _void(), {
48535
48564
  kind: "mutation",
48536
48565
  auth: "protected"
48537
- }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
48566
+ }), optionalMethod(object({ deviceId: number$1().int().nonnegative() }), _void(), {
48538
48567
  kind: "mutation",
48539
48568
  auth: "protected"
48540
- }), method(object({
48569
+ }), optionalMethod(object({
48541
48570
  deviceId: number$1().int().nonnegative(),
48542
48571
  position: number$1().int().nonnegative()
48543
48572
  }), _void(), {
48544
48573
  kind: "mutation",
48545
48574
  auth: "protected"
48546
- }), method(object({
48575
+ }), optionalMethod(object({
48547
48576
  deviceId: number$1().int().nonnegative(),
48548
48577
  volumeLevel: number$1().min(0).max(100)
48549
48578
  }), _void(), {
48550
48579
  kind: "mutation",
48551
48580
  auth: "protected"
48552
- }), method(object({
48581
+ }), optionalMethod(object({
48553
48582
  deviceId: number$1().int().nonnegative(),
48554
48583
  muted: boolean()
48555
48584
  }), _void(), {
48556
48585
  kind: "mutation",
48557
48586
  auth: "protected"
48558
- }), method(object({
48587
+ }), optionalMethod(object({
48559
48588
  deviceId: number$1().int().nonnegative(),
48560
48589
  shuffle: boolean()
48561
48590
  }), _void(), {
48562
48591
  kind: "mutation",
48563
48592
  auth: "protected"
48564
- }), method(object({
48593
+ }), optionalMethod(object({
48565
48594
  deviceId: number$1().int().nonnegative(),
48566
48595
  repeat: MediaPlayerRepeatSchema
48567
48596
  }), _void(), {
48568
48597
  kind: "mutation",
48569
48598
  auth: "protected"
48570
- }), method(object({
48599
+ }), optionalMethod(object({
48571
48600
  deviceId: number$1().int().nonnegative(),
48572
48601
  source: string().min(1)
48573
48602
  }), _void(), {
48574
48603
  kind: "mutation",
48575
48604
  auth: "protected"
48576
- }), method(object({
48605
+ }), optionalMethod(object({
48577
48606
  deviceId: number$1().int().nonnegative(),
48578
48607
  /** Media identifier / URL. */
48579
48608
  mediaId: string().min(1),
@@ -49554,16 +49583,16 @@ DeviceType.Cover, method(object({ deviceId: number$1().int().nonnegative() }), _
49554
49583
  }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
49555
49584
  kind: "mutation",
49556
49585
  auth: "protected"
49557
- }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
49586
+ }), optionalMethod(object({ deviceId: number$1().int().nonnegative() }), _void(), {
49558
49587
  kind: "mutation",
49559
49588
  auth: "protected"
49560
- }), method(object({
49589
+ }), optionalMethod(object({
49561
49590
  deviceId: number$1().int().nonnegative(),
49562
49591
  position: number$1().min(0).max(100)
49563
49592
  }), _void(), {
49564
49593
  kind: "mutation",
49565
49594
  auth: "protected"
49566
- }), method(object({
49595
+ }), optionalMethod(object({
49567
49596
  deviceId: number$1().int().nonnegative(),
49568
49597
  tiltPosition: number$1().min(0).max(100)
49569
49598
  }), _void(), {
@@ -50457,6 +50486,22 @@ method(InstancePinSchema, DeviceExportStatusSchema), method(_void(), array(Expor
50457
50486
  });
50458
50487
  var DeviceAliasSchema = string().max(64).regex(/^[a-z][a-z0-9_]*$/);
50459
50488
  var DeviceTemplateSchema = string().min(1).max(4096);
50489
+ /** One value a caller hands the renderer for `thisDevice`. */
50490
+ var DeviceTemplateValueSchema = union([
50491
+ string(),
50492
+ number$1(),
50493
+ boolean()
50494
+ ]);
50495
+ /**
50496
+ * The device a render is FOR (`camera` in the text) and the values the caller
50497
+ * knows about it that no capability carries, for example `lastPerson` and
50498
+ * `lastPlate`. `values` read as `camera.<name>`; a name a capability also carries
50499
+ * is `ambiguous` and is written `camera.values.<name>`.
50500
+ */
50501
+ var DeviceTemplateThisDeviceSchema = object({
50502
+ deviceId: number$1().int(),
50503
+ values: record(string().min(1).max(64), DeviceTemplateValueSchema).optional()
50504
+ });
50460
50505
  var DeviceTemplateRefusalSchema = object({
50461
50506
  reason: _enum([
50462
50507
  "too-long",
@@ -50995,7 +51040,9 @@ var DeviceBindingsForDeviceSchema = object({
50995
51040
  kind: _enum(["native", "wrapped"]),
50996
51041
  providerAddonId: string(),
50997
51042
  providerNodeId: string(),
50998
- nativeAddonId: string()
51043
+ nativeAddonId: string(),
51044
+ /** The cap's methods the native provider implements; absent = all. */
51045
+ implementedMethods: array(string()).optional()
50999
51046
  }))
51000
51047
  });
51001
51048
  /**
@@ -51238,17 +51285,24 @@ method(object({
51238
51285
  auth: "admin"
51239
51286
  }), method(object({
51240
51287
  templates: array(DeviceTemplateSchema).max(64),
51241
- allowedDeviceIds: array(number$1().int()).optional()
51288
+ allowedDeviceIds: array(number$1().int()).optional(),
51289
+ /** The device `camera` names in the texts, and the values the caller knows of it. */
51290
+ thisDevice: DeviceTemplateThisDeviceSchema.optional()
51242
51291
  }), object({ results: array(DeviceTemplateRenderSchema) }), { auth: "admin" }), method(object({
51243
51292
  templates: array(string()).max(64),
51244
- allowedDeviceIds: array(number$1().int()).optional()
51293
+ allowedDeviceIds: array(number$1().int()).optional(),
51294
+ thisDevice: DeviceTemplateThisDeviceSchema.optional()
51245
51295
  }), object({ results: array(discriminatedUnion("ok", [object({
51246
51296
  ok: literal(true),
51247
51297
  aliases: array(object({
51248
51298
  alias: string(),
51249
51299
  deviceId: number$1().int().nullable(),
51250
- allowed: boolean()
51251
- }))
51300
+ allowed: boolean(),
51301
+ /** The fields the text reads on this alias, as written (`temperature`, `cap.field`). */
51302
+ reads: array(string())
51303
+ })),
51304
+ /** Whether the text reads the clock (`now`): it changes every minute. */
51305
+ readsClock: boolean()
51252
51306
  }), object({
51253
51307
  ok: literal(false),
51254
51308
  refusal: DeviceTemplateRefusalSchema
@@ -53713,25 +53767,25 @@ var FanControlStatusSchema = object({
53713
53767
  /** Ms epoch when the slice was last updated. */
53714
53768
  lastChangedAt: number$1()
53715
53769
  });
53716
- DeviceType.Fan, method(object({
53770
+ DeviceType.Fan, optionalMethod(object({
53717
53771
  deviceId: number$1().int().nonnegative(),
53718
53772
  speed: number$1().min(0).max(100)
53719
53773
  }), _void(), {
53720
53774
  kind: "mutation",
53721
53775
  auth: "protected"
53722
- }), method(object({
53776
+ }), optionalMethod(object({
53723
53777
  deviceId: number$1().int().nonnegative(),
53724
53778
  preset: string().min(1)
53725
53779
  }), _void(), {
53726
53780
  kind: "mutation",
53727
53781
  auth: "protected"
53728
- }), method(object({
53782
+ }), optionalMethod(object({
53729
53783
  deviceId: number$1().int().nonnegative(),
53730
53784
  direction: FanDirectionSchema
53731
53785
  }), _void(), {
53732
53786
  kind: "mutation",
53733
53787
  auth: "protected"
53734
- }), method(object({
53788
+ }), optionalMethod(object({
53735
53789
  deviceId: number$1().int().nonnegative(),
53736
53790
  oscillating: boolean()
53737
53791
  }), _void(), {
@@ -57095,7 +57149,7 @@ DeviceType.Lock, method(object({
57095
57149
  }), _void(), {
57096
57150
  kind: "mutation",
57097
57151
  auth: "protected"
57098
- }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
57152
+ }), optionalMethod(object({ deviceId: number$1().int().nonnegative() }), _void(), {
57099
57153
  kind: "mutation",
57100
57154
  auth: "protected"
57101
57155
  });
@@ -58237,7 +58291,7 @@ object({
58237
58291
  deviceId: number$1().int().optional(),
58238
58292
  atBefore: number$1().optional(),
58239
58293
  where: RecordWhereSchema.optional()
58240
- }), object({ count: number$1().int().nonnegative() }), object({}), object({ store: Rows }), object({ patch: Rows }), object({}), object({ keys: array(string().min(1)) }), object({ removed: array(string()) }), object({ refs: array(string()) }), object({ values: record(string(), string().nullable()) }), object({
58294
+ }), object({ count: number$1().int().nonnegative() }), object({}), object({ store: Rows }), object({ patch: Rows }), object({}), object({ keys: array(string().min(1)) }), object({ removed: array(string()) }), object({}), object({ deviceIds: array(number$1().int()) }), object({ deviceIds: array(number$1().int()) }), object({ blobs: record(string(), Rows) }), object({ refs: array(string()) }), object({ values: record(string(), string().nullable()) }), object({
58241
58295
  ref: string().min(1),
58242
58296
  value: string()
58243
58297
  }), object({}), object({ refs: array(string()) }), object({ deleted: number$1().int().nonnegative() }), object({}), object({ integrations: array(MigrationIntegrationSchema) }), object({ id: string().min(1) }), MigrationIntegrationSchema.nullable(), object({
@@ -58248,7 +58302,7 @@ object({
58248
58302
  integrationId: string().nullable(),
58249
58303
  /** Whether the device carries any stored config; its content is not offered. */
58250
58304
  hasConfig: boolean()
58251
- }).nullable(), object({
58305
+ }).nullable(), object({ deviceIds: array(number$1().int()) }), object({ aliases: record(string(), string()) }), object({
58252
58306
  deviceId: number$1().int(),
58253
58307
  integrationId: string().min(1)
58254
58308
  }), object({}), object({}), object({ nodeId: string() }), object({}), object({});
@@ -65450,6 +65504,16 @@ var NcRuleTargetSchema = object({
65450
65504
  */
65451
65505
  params: record(string(), unknown()).optional()
65452
65506
  });
65507
+ var NcTargetOverrideSchema = object({
65508
+ template: object({
65509
+ title: string().max(500).optional(),
65510
+ body: string().max(2e3).optional()
65511
+ }).optional(),
65512
+ schedule: NcScheduleSchema.optional(),
65513
+ priority: number$1().int().min(1).max(5).optional()
65514
+ });
65515
+ /** Per-target settings keyed by target id (#487). */
65516
+ var NcTargetOverridesSchema = record(string(), NcTargetOverrideSchema);
65453
65517
  /**
65454
65518
  * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
65455
65519
  *
@@ -65731,6 +65795,13 @@ var NcRuleInputSchema = object({
65731
65795
  * targets.
65732
65796
  */
65733
65797
  targetUsers: array(string()).optional(),
65798
+ /**
65799
+ * Per-target settings keyed by target id (#487): texts, schedule, priority.
65800
+ * Absent (and an absent entry) = the rule's own values. A patch that omits
65801
+ * the key keeps the stored map; a patch that names it REPLACES it whole —
65802
+ * `{}` empties it.
65803
+ */
65804
+ targetOverrides: NcTargetOverridesSchema.optional(),
65734
65805
  /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
65735
65806
  * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
65736
65807
  media: NcMediaPolicySchema.default({}),
@@ -67202,53 +67273,41 @@ DeviceType.Camera, method(object({
67202
67273
  deviceId: number$1(),
67203
67274
  status: OsdStatusSchema
67204
67275
  });
67205
- _enum([
67206
- "value",
67207
- "unit",
67208
- "full"
67209
- ]);
67210
- _enum([
67211
- "value+unit",
67212
- "value",
67213
- "unit"
67214
- ]);
67215
67276
  /**
67216
- * How the operator reached the leaf device. `deviceId` is ALWAYS the
67217
- * OSD-supported leaf that is read; `containerId` is set when the pick
67218
- * went through a container (gateway) first.
67277
+ * `osd-manager` — the ORCHESTRATOR over the device-scope `osd` cap.
67278
+ *
67279
+ * The `osd` cap is the firmware contract: it probes a camera's overlay
67280
+ * SLOTS and writes literal text into one. It has no idea WHERE that text
67281
+ * comes from, and it must not — a driver that grew a "show the temperature
67282
+ * here" feature would grow it once per vendor.
67283
+ *
67284
+ * This cap owns the other half: a per-(camera, slot) BINDING that says
67285
+ * which value feeds the slot, how it is formatted, and under which
67286
+ * conditions it is shown at all. Named TEMPLATES combine many device
67287
+ * fields into one overlay string (plugin catalog OSD Manager parity).
67219
67288
  */
67220
- var OsdTemplatePickSchema = object({
67221
- containerId: number$1().int().optional(),
67222
- deviceId: number$1().int()
67223
- });
67224
67289
  /**
67225
- * One named binding inside a multi-device template: device path + unit
67226
- * selection + precision. The parser expands `{alias}`, `{alias.value}`,
67227
- * `{alias.unit}`, or `{alias.full}` from the same binding — there is no
67228
- * per-binding format lock.
67290
+ * The text of a named template: a device template (D1021) —
67291
+ * `{{ camera.temperature | round(1) }}`, `{{ now | time('HH:mm') }}`,
67292
+ * `{% if camera.motion %}MOTION{% endif %}` — rendered by the ONE hub renderer
67293
+ * (`device-manager.renderDeviceTemplates`), never by this addon.
67294
+ *
67295
+ * Two names belong to the render rather than to a device:
67296
+ * - `now` is the clock; `time('HH:mm')` prints it in the server's zone.
67297
+ * - `camera` is the camera the overlay is on, so one template serves every
67298
+ * camera. `camera.lastPerson` and `camera.lastPlate` are the most recent
67299
+ * recognition persisted for it (empty text until there is one, with
67300
+ * `| default('')`).
67229
67301
  */
67230
- var OsdTemplateBindingSchema = object({
67231
- /** Token stem in the parser, e.g. `t` → `{t}` / `{t.value}`. Unique within the template. */
67232
- alias: string().min(1).max(32).regex(/^[A-Za-z][A-Za-z0-9_-]*$/, "alias must start with a letter"),
67233
- pick: OsdTemplatePickSchema,
67234
- capName: string().min(1).max(64),
67235
- valuePath: string().min(1).max(64),
67236
- /** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
67237
- displayUnit: string().max(16).optional(),
67238
- maxDecimals: number$1().int().min(0).max(4).default(1),
67239
- /** Raw value → display text (same shape as slot binding). Empty string hides. */
67240
- valueMap: record(string(), string()).optional()
67241
- });
67302
+ var OSD_TEMPLATE_TEXT_MAX = 1024;
67242
67303
  /**
67243
- * A named template: bindings (alias → leaf field) + a parser that
67244
- * references `{alias}` / `{alias.value}` / `{alias.unit}` / `{alias.full}`.
67304
+ * A named template: the unit of reuse. A slot points at one by id; editing it
67305
+ * changes every slot that points at it, on every camera.
67245
67306
  */
67246
67307
  var OsdNamedTemplateSchema = object({
67247
67308
  id: string().min(1).max(64),
67248
67309
  name: string().min(1).max(64),
67249
- bindings: array(OsdTemplateBindingSchema).max(32).default([]),
67250
- /** Parser with alias placeholders, e.g. `{t.value} {t.unit} / {h}`. */
67251
- parser: string().max(256).default("")
67310
+ text: string().max(OSD_TEMPLATE_TEXT_MAX).default("")
67252
67311
  });
67253
67312
  /** Where a slot's value comes from. */
67254
67313
  var OsdSourceSchema = discriminatedUnion("kind", [
@@ -67257,26 +67316,6 @@ var OsdSourceSchema = discriminatedUnion("kind", [
67257
67316
  kind: literal("static"),
67258
67317
  text: string().max(64)
67259
67318
  }),
67260
- object({
67261
- kind: literal("clock"),
67262
- /** Token pattern: `YYYY MM DD HH mm ss`. Everything else is literal. */
67263
- pattern: string().min(1).max(32).default("HH:mm"),
67264
- /** IANA zone. Omitted = the server's zone. */
67265
- timezone: string().min(1).max(64).optional()
67266
- }),
67267
- object({
67268
- kind: literal("device-state"),
67269
- deviceId: number$1().int().optional(),
67270
- capName: string().min(1).max(64),
67271
- /** Dot path inside the slice, e.g. `detected`, `value`, `mode`. */
67272
- valuePath: string().min(1).max(64),
67273
- /** Convert TO this unit at render. Absent = no conversion. */
67274
- displayUnit: string().max(16).optional()
67275
- }),
67276
- object({
67277
- kind: literal("latest-recognition"),
67278
- recognition: _enum(["person", "plate"])
67279
- }),
67280
67319
  object({
67281
67320
  kind: literal("template"),
67282
67321
  templateId: string().min(1).max(64)
@@ -67286,15 +67325,6 @@ var OsdSlotBindingSchema = object({
67286
67325
  /** Off = the manager stops driving this slot. It does NOT clear it. */
67287
67326
  enabled: boolean().default(true),
67288
67327
  source: OsdSourceSchema,
67289
- /** `${value}` and `${unit}` are substituted; every occurrence. */
67290
- template: string().max(96).default("${value}"),
67291
- /**
67292
- * Decimal places for a numeric value. `0` yields an integer — the
67293
- * documented workaround for firmwares that reject `.` in overlay text.
67294
- */
67295
- maxDecimals: number$1().int().min(0).max(4).default(1),
67296
- /** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
67297
- valueMap: record(string(), string()).optional(),
67298
67328
  /** Time windows in which the slot is shown. Absent = always. */
67299
67329
  schedule: NcScheduleSchema.optional(),
67300
67330
  /**
@@ -67336,31 +67366,21 @@ var OsdRenderResultSchema = object({
67336
67366
  /** Why, whenever the outcome is not a plain write. Never silent. */
67337
67367
  reason: string().optional()
67338
67368
  });
67339
- var OsdSourceValueTypeEnum = _enum([
67340
- "number",
67341
- "boolean",
67342
- "string",
67343
- "enum"
67344
- ]);
67345
67369
  /**
67346
- * One bindable value, derived from a cap's `runtimeState` schema — never
67347
- * hand-listed. The editor renders from this, so a cap that ships a new
67348
- * state field becomes bindable with no UI change.
67370
+ * A template rendered for one camera without being saved: what the editor
67371
+ * previews. `text` is what the overlay would carry; a refused render has a
67372
+ * `reason` and an empty text.
67349
67373
  */
67350
- var OsdSourceOptionSchema = object({
67351
- deviceId: number$1().int(),
67352
- deviceName: string(),
67353
- capName: string(),
67354
- valuePath: string(),
67355
- label: string(),
67356
- valueType: OsdSourceValueTypeEnum,
67357
- /** Present for `enum`; the editor offers these as `valueMap` keys. */
67358
- enumValues: array(string()).readonly().optional()
67374
+ var OsdTemplatePreviewSchema = object({
67375
+ ok: boolean(),
67376
+ text: string(),
67377
+ /** The refusal, or `ref: reason` per value that printed `—`. */
67378
+ notes: array(string())
67359
67379
  });
67360
67380
  method(object({ deviceId: number$1().int() }), object({
67361
67381
  supported: boolean(),
67362
67382
  slots: array(OsdSlotViewSchema)
67363
- }), { auth: "admin" }), method(object({ deviceId: number$1().int() }), object({ sources: array(OsdSourceOptionSchema) }), { auth: "admin" }), method(object({}), object({
67383
+ }), { auth: "admin" }), method(object({}), object({
67364
67384
  supported: array(string()),
67365
67385
  catalog: array(NcConditionDescriptorSchema)
67366
67386
  }), { auth: "admin" }), method(object({
@@ -67402,6 +67422,12 @@ method(object({ deviceId: number$1().int() }), object({
67402
67422
  }), OsdRenderResultSchema, {
67403
67423
  kind: "mutation",
67404
67424
  auth: "admin"
67425
+ }), method(object({
67426
+ deviceId: number$1().int(),
67427
+ text: string().max(OSD_TEMPLATE_TEXT_MAX)
67428
+ }), OsdTemplatePreviewSchema, {
67429
+ kind: "mutation",
67430
+ auth: "admin"
67405
67431
  }), method(object({ deviceId: number$1().int() }), object({ results: array(OsdRenderResultSchema) }), {
67406
67432
  kind: "mutation",
67407
67433
  auth: "admin"
@@ -75784,7 +75810,7 @@ DeviceType.Valve, method(object({ deviceId: number$1().int().nonnegative() }), _
75784
75810
  }), method(object({ deviceId: number$1().int().nonnegative() }), _void(), {
75785
75811
  kind: "mutation",
75786
75812
  auth: "protected"
75787
- }), method(object({
75813
+ }), optionalMethod(object({
75788
75814
  deviceId: number$1().int().nonnegative(),
75789
75815
  position: number$1().min(0).max(100)
75790
75816
  }), _void(), {
@@ -85199,13 +85225,6 @@ Object.freeze({
85199
85225
  access: "create",
85200
85226
  role: "admin"
85201
85227
  },
85202
- "notificationRules.createSequence": {
85203
- capName: "notification-rules",
85204
- capScope: "system",
85205
- addonId: null,
85206
- access: "create",
85207
- role: "admin"
85208
- },
85209
85228
  "notificationRules.createSnooze": {
85210
85229
  capName: "notification-rules",
85211
85230
  capScope: "system",
@@ -85227,13 +85246,6 @@ Object.freeze({
85227
85246
  access: "delete",
85228
85247
  role: "admin"
85229
85248
  },
85230
- "notificationRules.deleteSequence": {
85231
- capName: "notification-rules",
85232
- capScope: "system",
85233
- addonId: null,
85234
- access: "delete",
85235
- role: "admin"
85236
- },
85237
85249
  "notificationRules.getAlarmConfig": {
85238
85250
  capName: "notification-rules",
85239
85251
  capScope: "system",
@@ -85283,13 +85295,6 @@ Object.freeze({
85283
85295
  access: "view",
85284
85296
  role: "admin"
85285
85297
  },
85286
- "notificationRules.getSequence": {
85287
- capName: "notification-rules",
85288
- capScope: "system",
85289
- addonId: null,
85290
- access: "view",
85291
- role: "admin"
85292
- },
85293
85298
  "notificationRules.getTemplateCatalog": {
85294
85299
  capName: "notification-rules",
85295
85300
  capScope: "system",
@@ -85311,13 +85316,6 @@ Object.freeze({
85311
85316
  access: "view",
85312
85317
  role: "admin"
85313
85318
  },
85314
- "notificationRules.listSequences": {
85315
- capName: "notification-rules",
85316
- capScope: "system",
85317
- addonId: null,
85318
- access: "view",
85319
- role: "admin"
85320
- },
85321
85319
  "notificationRules.listSnoozes": {
85322
85320
  capName: "notification-rules",
85323
85321
  capScope: "system",
@@ -85388,13 +85386,6 @@ Object.freeze({
85388
85386
  access: "create",
85389
85387
  role: "admin"
85390
85388
  },
85391
- "notificationRules.updateSequence": {
85392
- capName: "notification-rules",
85393
- capScope: "system",
85394
- addonId: null,
85395
- access: "create",
85396
- role: "admin"
85397
- },
85398
85389
  "notifier.cancel": {
85399
85390
  capName: "notifier",
85400
85391
  capScope: "device",
@@ -85479,21 +85470,21 @@ Object.freeze({
85479
85470
  access: "view",
85480
85471
  role: "admin"
85481
85472
  },
85482
- "osdManager.getSourceCatalog": {
85473
+ "osdManager.listTemplates": {
85483
85474
  capName: "osd-manager",
85484
85475
  capScope: "system",
85485
85476
  addonId: null,
85486
85477
  access: "view",
85487
85478
  role: "admin"
85488
85479
  },
85489
- "osdManager.listTemplates": {
85480
+ "osdManager.previewSlot": {
85490
85481
  capName: "osd-manager",
85491
85482
  capScope: "system",
85492
85483
  addonId: null,
85493
- access: "view",
85484
+ access: "create",
85494
85485
  role: "admin"
85495
85486
  },
85496
- "osdManager.previewSlot": {
85487
+ "osdManager.previewTemplate": {
85497
85488
  capName: "osd-manager",
85498
85489
  capScope: "system",
85499
85490
  addonId: null,
@@ -90283,6 +90274,24 @@ function projectAction(cap, action) {
90283
90274
  Object.entries(CAP_VOCABULARY_BY_NAME).flatMap(([cap, entry]) => entry.scope === "device" ? (entry.actions ?? []).map((a) => projectAction(cap, a)) : []);
90284
90275
  DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Heater, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
90285
90276
  DeviceFeature.BatteryOperated;
90277
+ function bound(cap, methods = [], authority = "reported") {
90278
+ return {
90279
+ kind: "cap",
90280
+ cap,
90281
+ methods,
90282
+ authority
90283
+ };
90284
+ }
90285
+ function derived(cap, methods = []) {
90286
+ return bound(cap, methods, "derived");
90287
+ }
90288
+ DeviceFeature.BatteryOperated, DeviceFeature.Rebootable, derived("reboot", ["reboot"]), DeviceFeature.Resyncable, DeviceFeature.NativeSnapshot, DeviceFeature.DoorbellButton, derived("doorbell"), DeviceFeature.TwoWayAudio, derived("intercom", [
90289
+ "startTalkSession",
90290
+ "pushTalkAudio",
90291
+ "endTalkSession"
90292
+ ]), DeviceFeature.PanTiltZoom, derived("ptz"), DeviceFeature.PtzAutotrack, derived("ptz-autotrack"), DeviceFeature.MotionTrigger, derived("motion-trigger", ["setMotionTrigger"]), DeviceFeature.TimedRun, derived("timed-run", ["runFor"]), DeviceFeature.Switch, DeviceFeature.LightColorRgb, DeviceFeature.LightColorHsv, DeviceFeature.LightColorMired, DeviceFeature.ClimateDualSetpoint, DeviceFeature.ClimateHumidity, DeviceFeature.ClimateFanMode, DeviceFeature.ClimatePreset, DeviceFeature.ClimateSwingVertical, DeviceFeature.ClimateSwingHorizontal, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.CoverStoppable, DeviceFeature.ValvePositionable, DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.LockPinRequired, DeviceFeature.LockOpen, DeviceFeature.MediaPlayerSeek, DeviceFeature.MediaPlayerVolume, DeviceFeature.MediaPlayerMute, DeviceFeature.MediaPlayerShuffle, DeviceFeature.MediaPlayerRepeat, DeviceFeature.MediaPlayerSelectSource, DeviceFeature.MediaPlayerPlayMedia, DeviceFeature.MediaPlayerNext, DeviceFeature.MediaPlayerPrevious, DeviceFeature.MediaPlayerStop, DeviceFeature.MediaPlayerVolumeStep, DeviceFeature.MediaPlayerChannelStep, DeviceFeature.MediaPlayerPower, DeviceFeature.AlarmPinRequired, DeviceFeature.PresenceGps, DeviceFeature.NotifierImage, DeviceFeature.NotifierPriority, DeviceFeature.NotifierData, DeviceFeature.NotifierActions, DeviceFeature.NotifierRecipients, DeviceFeature.ScriptVariables, DeviceFeature.AutomationSkipCondition, DeviceFeature.VacuumHasMap, DeviceFeature.VacuumHasAi, DeviceFeature.MowerHasMap, DeviceFeature.MowerHasTargetedMowing, DeviceFeature.Navigation, derived("navigation"), DeviceFeature.NetworkLink, derived("network-link");
90293
+ var ALL_FEATURES = Object.values(DeviceFeature);
90294
+ new Set(ALL_FEATURES);
90286
90295
  DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher;
90287
90296
  var HA_AS = "a power sensor (device_class power). Home Assistant has no laundry domain. running-state stays unexported until a null reading can be published as unavailable.";
90288
90297
  var HOMEKIT_REASON = "HomeKit has no laundry-appliance service. The export tab would pair an accessory with nothing on it: running-state is withheld until a null reading can be unavailable, and power is not a HomeKit service this export honours.";
@@ -91938,12 +91947,12 @@ Object.freeze({
91938
91947
  form: "single",
91939
91948
  optional: false
91940
91949
  }],
91941
- "osdManager.getSourceCatalog": [{
91950
+ "osdManager.previewSlot": [{
91942
91951
  name: "deviceId",
91943
91952
  form: "single",
91944
91953
  optional: false
91945
91954
  }],
91946
- "osdManager.previewSlot": [{
91955
+ "osdManager.previewTemplate": [{
91947
91956
  name: "deviceId",
91948
91957
  form: "single",
91949
91958
  optional: false
@@ -94796,7 +94805,7 @@ var AdminUIAddon = class extends BaseAddon {
94796
94805
  capability: adminUiCapability,
94797
94806
  provider: {
94798
94807
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
94799
- getVersion: async () => ({ version: "1.2.633" })
94808
+ getVersion: async () => ({ version: "1.2.634" })
94800
94809
  }
94801
94810
  }];
94802
94811
  }