@camstack/addon-admin-ui 1.2.694 → 1.2.695

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 (91) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/assets/{AccessSection-B5UoAhE4.js → AccessSection-BGFxzhHc.js} +1 -1
  3. package/dist/assets/{Addons-Bdyd-l9I.js → Addons-rtK8axjz.js} +1 -1
  4. package/dist/assets/{AdminPage-BTx5UFvX.js → AdminPage-6rshkflD.js} +1 -1
  5. package/dist/assets/{AdminSectionedPage-B5cYkdKl.js → AdminSectionedPage-CdZpQexK.js} +1 -1
  6. package/dist/assets/{AiProfiles-DeBqrnAq.js → AiProfiles-B5muXY5m.js} +1 -1
  7. package/dist/assets/{Archive--63YN71e.js → Archive-BMaCecAn.js} +1 -1
  8. package/dist/assets/{BootstrapSettingsForm-CSQKDUdv.js → BootstrapSettingsForm--vmJY8y7.js} +1 -1
  9. package/dist/assets/{Build-DvKT6bfv.js → Build-CWXuOjNe.js} +1 -1
  10. package/dist/assets/{Calendars-DyHABceV.js → Calendars-DcPssCx7.js} +1 -1
  11. package/dist/assets/{Cluster-CNVgsj0j.js → Cluster-BhzyIV6O.js} +1 -1
  12. package/dist/assets/{CompositionBlockEditor-D3TA7Eic.js → CompositionBlockEditor-COFl9yQh.js} +1 -1
  13. package/dist/assets/{CompositionEditorPage-DPncls0R.js → CompositionEditorPage-BmTxu03T.js} +1 -1
  14. package/dist/assets/{Data-q7fyQTjl.js → Data-CcqSeh2h.js} +1 -1
  15. package/dist/assets/{DeviceDetail-B6MS_kHz.js → DeviceDetail-CbNst4tP.js} +1 -1
  16. package/dist/assets/{Devices-Uls6OEE3.js → Devices-BSVSYasX.js} +1 -1
  17. package/dist/assets/{EmbedDevicePage-BsnvdZFu.js → EmbedDevicePage-7rRLDW3p.js} +1 -1
  18. package/dist/assets/{EmbedPlayerPage-B1Yibto8.js → EmbedPlayerPage-BBzeRX2d.js} +1 -1
  19. package/dist/assets/{History-BVQ2G-66.js → History-DHeoS2Kt.js} +1 -1
  20. package/dist/assets/{Identity-KyxrONuA.js → Identity-Duz3hf3w.js} +1 -1
  21. package/dist/assets/{InstancesTable-Z5rn7geR.js → InstancesTable-DMBgl-Tw.js} +1 -1
  22. package/dist/assets/{IntegrationDetail-DcqInpkO.js → IntegrationDetail-n3IgcFcp.js} +1 -1
  23. package/dist/assets/{Integrations-CRmGv2VH.js → Integrations-CEeiHe1k.js} +1 -1
  24. package/dist/assets/{Integrations-cUjDEttM.js → Integrations-Dg_xl49k.js} +1 -1
  25. package/dist/assets/{Library-CKZmr3pl.js → Library-DQ_wgv0I.js} +1 -1
  26. package/dist/assets/{Locations-Bbt6QGn5.js → Locations-C7X5_Xs0.js} +1 -1
  27. package/dist/assets/{Logs-k4WsWjS1.js → Logs-CZzKlgP-.js} +1 -1
  28. package/dist/assets/{MaskShapeCanvas-Q2_4vKl_.js → MaskShapeCanvas-i_Iv1KNy.js} +1 -1
  29. package/dist/assets/{MotionZonesSettings-BQb8WD47.js → MotionZonesSettings-Bw2-3ufZ.js} +1 -1
  30. package/dist/assets/{MyAccess-vawTy_6d.js → MyAccess-Dw_Tblo-.js} +1 -1
  31. package/dist/assets/{Network-Dd-GuASc.js → Network-B04FxTU0.js} +1 -1
  32. package/dist/assets/{NewExportModal-CTZRqLlQ.js → NewExportModal-BLa-tqcX.js} +1 -1
  33. package/dist/assets/{NodeAddonsSettingsPanel-DvzLi-qT.js → NodeAddonsSettingsPanel-CVu4j6BL.js} +1 -1
  34. package/dist/assets/{Notifications-Cl52thWM.js → Notifications-BCRVU9kb.js} +1 -1
  35. package/dist/assets/{PanelContent-Dc7WxJqL.js → PanelContent-BkvykeO7.js} +1 -1
  36. package/dist/assets/{Pipeline-Bbe6LwYG.js → Pipeline-DwMwVp3_.js} +1 -1
  37. package/dist/assets/{PrivacyMaskSettings-BXSZcwpk.js → PrivacyMaskSettings-BxOKyH1n.js} +1 -1
  38. package/dist/assets/{SceneMonitorEditor-DmN9wSsq.js → SceneMonitorEditor-C1uHnYFS.js} +1 -1
  39. package/dist/assets/{SessionsList-D8urHlp3.js → SessionsList-CoEhyLQh.js} +1 -1
  40. package/dist/assets/{Showroom-DCABactS.js → Showroom-9kVzdIya.js} +1 -1
  41. package/dist/assets/{StorageLocationsTable-MFd1XAg8.js → StorageLocationsTable-D2ZADdHk.js} +1 -1
  42. package/dist/assets/{System-DUmTRnUZ.js → System-RFQ29LCt.js} +1 -1
  43. package/dist/assets/{TemplateEditorDialog-BX1Q9n3t.js → TemplateEditorDialog-C7gnpBYn.js} +1 -1
  44. package/dist/assets/{Terminal-CeHFvlq8.js → Terminal-DitYavmi.js} +1 -1
  45. package/dist/assets/{TrainingProviders-C3pNhhlT.js → TrainingProviders-DMWT82OP.js} +1 -1
  46. package/dist/assets/{Viewer-HQt39FdS.js → Viewer-SWfkPzOa.js} +1 -1
  47. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BgqagL1O.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BkawZQN9.js} +1 -1
  48. package/dist/assets/{action-draft-CUjFlTit.js → action-draft-yLNYKNjp.js} +1 -1
  49. package/dist/assets/{ai-page.helpers-gKXxN3PC.js → ai-page.helpers-BckFcRJ5.js} +1 -1
  50. package/dist/assets/{assignment-candidates-BmVmpSIC.js → assignment-candidates-CdlD3txc.js} +1 -1
  51. package/dist/assets/{authed-media-DbPoJL9s.js → authed-media-CtJpHR0J.js} +1 -1
  52. package/dist/assets/{board-model-DUA0J-vs.js → board-model-BZBm4HOa.js} +1 -1
  53. package/dist/assets/{camera-block-model-Qnj3EleG.js → camera-block-model-D9B-PVTV.js} +1 -1
  54. package/dist/assets/client-MSk00Qty.js +1120 -0
  55. package/dist/assets/{command-vocab-DrwpXoLO.js → command-vocab-BUiglkI_.js} +1 -1
  56. package/dist/assets/{device-detail-1sagYgez.js → device-detail-Ck1CQQDD.js} +1 -1
  57. package/dist/assets/{device-integration-icon-DQrkNi9d.js → device-integration-icon-AyILHcPh.js} +1 -1
  58. package/dist/assets/device-picker-model-C8b99Cdl.js +1 -0
  59. package/dist/assets/{dist-Bq2EkOGx.js → dist-Cb9vnz09.js} +1 -1
  60. package/dist/assets/dist-Cwb_si_L.js +1120 -0
  61. package/dist/assets/{format-Cl6Ml6Sm.js → format-BtpezAH4.js} +1 -1
  62. package/dist/assets/{hostInit-h-kQEjeE.js → hostInit-BOghgK6B.js} +1 -1
  63. package/dist/assets/i18n-CFfN2jss.js +1 -0
  64. package/dist/assets/{icons-C9Ue2LUK.js → icons-JB5dxRTR.js} +1 -1
  65. package/dist/assets/index-DMtVByrH.js +6 -0
  66. package/dist/assets/{linked-devices-model-Czrk-_Ss.js → linked-devices-model-COsUceIA.js} +1 -1
  67. package/dist/assets/{mf-entry-bootstrap-0-28374e63.js → mf-entry-bootstrap-0-f92c3da1.js} +2 -2
  68. package/dist/assets/mount-C8b99Cdl.js +1 -0
  69. package/dist/assets/{notification-rule-status-Bw4tDbTn.js → notification-rule-status-Dp2Kfduw.js} +1 -1
  70. package/dist/assets/{player-overlays-DxDzANvF.js → player-overlays-B0euBMgD.js} +1 -1
  71. package/dist/assets/remoteEntry-C8MNr-Ir.js +1 -0
  72. package/dist/assets/src-VP2CTMP8.js +279 -0
  73. package/dist/assets/{sso-popup-CLBd3FbY.js → sso-popup-CxbOOUhY.js} +1 -1
  74. package/dist/assets/{step-inspector-model-C-QlJGNk.js → step-inspector-model-DkIG_2Qc.js} +1 -1
  75. package/dist/assets/{use-scenes-feed-DIkJnsiP.js → use-scenes-feed-DyPKYL04.js} +1 -1
  76. package/dist/assets/{useAdminDeviceRemoval-CvN4r6U1.js → useAdminDeviceRemoval-gBk-4hVR.js} +1 -1
  77. package/dist/assets/useEventInvalidation-C8b99Cdl.js +1 -0
  78. package/dist/assets/{useNodeUrlSelection-Ca58ST0_.js → useNodeUrlSelection-BvbXoMeL.js} +1 -1
  79. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DB9jx5uQ.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Bwt1NZjv.js} +2 -2
  80. package/dist/index.html +8 -8
  81. package/dist/server/addon.js +138 -44
  82. package/package.json +2 -2
  83. package/dist/assets/client-BzuONv5p.js +0 -1120
  84. package/dist/assets/device-picker-model-CfThao5H.js +0 -1
  85. package/dist/assets/dist-jtgrcU4L.js +0 -1120
  86. package/dist/assets/i18n-CdTRDm84.js +0 -1
  87. package/dist/assets/index-B8hdQASW.js +0 -6
  88. package/dist/assets/mount-CfThao5H.js +0 -1
  89. package/dist/assets/remoteEntry-CmGt1K36.js +0 -1
  90. package/dist/assets/src-7b--1R-c.js +0 -279
  91. package/dist/assets/useEventInvalidation-CfThao5H.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
  import { fileURLToPath } from "node:url";
3
- //#region ../types/dist/event-category-Hwx_JSCU.mjs
3
+ //#region ../types/dist/event-category-CY27-fF0.mjs
4
4
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
5
5
  EventCategory["SystemBoot"] = "system.boot";
6
6
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -500,7 +500,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
500
500
  */
501
501
  EventCategory["NetworkLinkOnStatusChanged"] = "network-link.onStatusChanged";
502
502
  /**
503
- * Emitted by the battery cap provider WHEN `wakeForStream` enters the
503
+ * Emitted by the battery cap provider WHEN `wakeUp` enters the
504
504
  * "wake in progress" window — between the Baichuan wake-up issue and
505
505
  * the camera's first dialed-back RTP packet. The stream-broker
506
506
  * manager subscribes to flip the per-broker placeholder reason to
@@ -832,7 +832,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
832
832
  return EventCategory;
833
833
  }({});
834
834
  //#endregion
835
- //#region ../types/dist/composed-stable-id-Kt5VKzGZ.mjs
835
+ //#region ../types/dist/composed-stable-id-BNTaDZEh.mjs
836
836
  /**
837
837
  import { errMsg } from '@camstack/types'
838
838
  * Extract a human-readable message from an unknown error value.
@@ -971,12 +971,19 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
971
971
  return DeviceType;
972
972
  }({});
973
973
  var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
974
+ /** The device reports a battery reading (the `battery` cap). Says nothing about sleep. */
974
975
  DeviceFeature["BatteryOperated"] = "battery-operated";
976
+ /**
977
+ * The device goes into low-power sleep and must be WOKEN before it streams
978
+ * (the `low-power-sleep` cap, `wakeUp`). A battery reading alone is
979
+ * not this: a battery sensor reports charge and never sleeps (#459, Q2).
980
+ */
981
+ DeviceFeature["Sleeps"] = "sleeps";
975
982
  DeviceFeature["Rebootable"] = "rebootable";
976
983
  /**
977
984
  * Device supports an on-demand re-sync of its derived spec with its
978
- * upstream source — drives the generic Re-sync button. The owning
979
- * provider implements the action via the `device-adoption.resync` cap.
985
+ * upstream source — drives the generic Re-sync button. Present when the
986
+ * device has the `resync` cap bound (#459, Q6).
980
987
  */
981
988
  DeviceFeature["Resyncable"] = "resyncable";
982
989
  DeviceFeature["NativeSnapshot"] = "native-snapshot";
@@ -1109,15 +1116,9 @@ var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
1109
1116
  /** Automation `trigger` accepts a skipCondition flag — fires the
1110
1117
  * automation's actions while bypassing its condition block. */
1111
1118
  DeviceFeature["AutomationSkipCondition"] = "automation-skip-condition";
1112
- /** Robot vacuum exposes a live cleaning map (image child). Gates the
1113
- * map tile in the vacuum UI. */
1114
- DeviceFeature["VacuumHasMap"] = "vacuum-has-map";
1115
1119
  /** Robot vacuum exposes AI obstacle-detection toggles. Gates the AI
1116
1120
  * switches group. */
1117
1121
  DeviceFeature["VacuumHasAi"] = "vacuum-has-ai";
1118
- /** Robot mower exposes a live mowing map (SVG image child). Gates the
1119
- * mower map tile. */
1120
- DeviceFeature["MowerHasMap"] = "mower-has-map";
1121
1122
  /** Robot mower exposes targeted mowing (all-area / zones / edges /
1122
1123
  * spots) — gates the Mow action + map selectors. */
1123
1124
  DeviceFeature["MowerHasTargetedMowing"] = "mower-has-targeted-mowing";
@@ -5972,7 +5973,7 @@ var ZodIssueCode = {
5972
5973
  var ZodFirstPartyTypeKind;
5973
5974
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5974
5975
  //#endregion
5975
- //#region ../types/dist/sleep-CFN40XWx.mjs
5976
+ //#region ../types/dist/sleep-BT1bLgPq.mjs
5976
5977
  /**
5977
5978
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5978
5979
  * window to float samples (D455).
@@ -16578,6 +16579,14 @@ var CAP_VOCABULARY_BY_NAME = {
16578
16579
  icon: "refresh-cw"
16579
16580
  }]
16580
16581
  },
16582
+ "resync": {
16583
+ scope: "device",
16584
+ noun: {
16585
+ en: "Re-sync",
16586
+ it: "Risincronizzazione"
16587
+ },
16588
+ notOperatorFacing: { resync: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action" }
16589
+ },
16581
16590
  "recording": {
16582
16591
  scope: "device",
16583
16592
  noun: {
@@ -18589,7 +18598,6 @@ var CAP_VOCABULARY_BY_NAME = {
18589
18598
  en: "Battery",
18590
18599
  it: "Batteria"
18591
18600
  },
18592
- notOperatorFacing: { wakeForStream: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage" },
18593
18601
  state: [
18594
18602
  {
18595
18603
  kind: "numeric",
@@ -18699,6 +18707,14 @@ var CAP_VOCABULARY_BY_NAME = {
18699
18707
  icon: "moon"
18700
18708
  }]
18701
18709
  },
18710
+ "low-power-sleep": {
18711
+ scope: "device",
18712
+ noun: {
18713
+ en: "Low-power sleep",
18714
+ it: "Sospensione a basso consumo"
18715
+ },
18716
+ notOperatorFacing: { wakeUp: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage" }
18717
+ },
18702
18718
  "network-link": {
18703
18719
  scope: "device",
18704
18720
  noun: {
@@ -19589,6 +19605,7 @@ var CAP_NAMES = Object.freeze([
19589
19605
  "log-channels",
19590
19606
  "log-destination",
19591
19607
  "login-method",
19608
+ "low-power-sleep",
19592
19609
  "media-player",
19593
19610
  "mesh-network",
19594
19611
  "meter",
@@ -19642,6 +19659,7 @@ var CAP_NAMES = Object.freeze([
19642
19659
  "records",
19643
19660
  "remote",
19644
19661
  "remote-layout-components",
19662
+ "resync",
19645
19663
  "running-state",
19646
19664
  "scene-monitor",
19647
19665
  "schedulers",
@@ -20817,6 +20835,20 @@ Object.freeze({
20817
20835
  "path": "codeRequired",
20818
20836
  "valueType": "boolean"
20819
20837
  }],
20838
+ "low-power-sleep": [
20839
+ {
20840
+ "path": "sleeping",
20841
+ "valueType": "boolean"
20842
+ },
20843
+ {
20844
+ "path": "lastContactAt",
20845
+ "valueType": "number"
20846
+ },
20847
+ {
20848
+ "path": "lastUpdated",
20849
+ "valueType": "number"
20850
+ }
20851
+ ],
20820
20852
  "media-player": [
20821
20853
  {
20822
20854
  "path": "state",
@@ -21986,7 +22018,7 @@ Object.freeze({
21986
22018
  }
21987
22019
  });
21988
22020
  //#endregion
21989
- //#region ../types/dist/implemented-methods-BiV3Y-40.mjs
22021
+ //#region ../types/dist/implemented-methods-k3KProJd.mjs
21990
22022
  /**
21991
22023
  * The ffmpeg build every CamStack node downloads, per platform and arch.
21992
22024
  *
@@ -53065,9 +53097,9 @@ method(_void(), array(BackupDestinationInfoSchema).readonly(), { auth: "admin" }
53065
53097
  auth: "admin"
53066
53098
  });
53067
53099
  /**
53068
- * Battery status snapshot. Emitted by providers whose device is
53069
- * battery-operated (cameras with `DeviceFeature.BatteryOperated`,
53070
- * future sensor/button accessories). Consumers build their own "low
53100
+ * Battery status snapshot. Emitted by providers whose device reports a
53101
+ * battery (`DeviceFeature.BatteryOperated`): battery cameras, sensors,
53102
+ * buttons. Whether the device SLEEPS is `low-power-sleep`, not this cap. Consumers build their own "low
53071
53103
  * battery" alerting on top — the cap deliberately does NOT enforce a
53072
53104
  * threshold.
53073
53105
  */
@@ -53162,17 +53194,7 @@ var BatteryStatusSchema = object({
53162
53194
  binary: boolean().optional().meta({ label: "Binary indicator" })
53163
53195
  });
53164
53196
  DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter;
53165
- method(object({
53166
- deviceId: number$1(),
53167
- /** Bound on the wait. Sensible range 3000–10000ms. */
53168
- timeoutMs: number$1().int().min(500).max(3e4).default(8e3)
53169
- }), object({
53170
- awoke: boolean(),
53171
- durationMs: number$1()
53172
- }), {
53173
- kind: "mutation",
53174
- notOperatorFacing: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage"
53175
- }), object({
53197
+ object({
53176
53198
  deviceId: number$1(),
53177
53199
  status: BatteryStatusSchema
53178
53200
  }), EventCategory.DeviceAwake, EventCategory.DeviceSleeping;
@@ -66978,6 +67000,33 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
66978
67000
  })
66979
67001
  ]);
66980
67002
  method(_void(), array(LoginMethodContributionSchema).readonly()), NOT_A_DEVICE.IDENTITY;
67003
+ object({
67004
+ /**
67005
+ * True while the firmware is in low-power mode. A provider MUST avoid polling
67006
+ * during sleep — a read wakes the device and drains charge.
67007
+ */
67008
+ sleeping: boolean().meta({ label: "Sleeping" }),
67009
+ /**
67010
+ * Ms epoch of the last time the device proved it was reachable, from
67011
+ * PASSIVE signals only (a completed round-trip, an observed wake, a push).
67012
+ * Absent = never since this slice was born. The only input that separates
67013
+ * "asleep" from "gone".
67014
+ */
67015
+ lastContactAt: number$1().optional(),
67016
+ /** Ms epoch of the last observation. */
67017
+ lastUpdated: number$1().meta(readingMeta("none"))
67018
+ });
67019
+ DeviceType.Camera, method(object({
67020
+ deviceId: number$1(),
67021
+ /** Bound on the wait. Sensible range 3000–10000ms. */
67022
+ timeoutMs: number$1().int().min(500).max(3e4).default(8e3)
67023
+ }), object({
67024
+ awoke: boolean(),
67025
+ durationMs: number$1()
67026
+ }), {
67027
+ kind: "mutation",
67028
+ notOperatorFacing: "a stream consumer wakes a sleeping camera to watch it; an automation that wants footage asks for the footage"
67029
+ });
66981
67030
  /**
66982
67031
  * mesh-network — collection cap for mesh-VPN providers.
66983
67032
  *
@@ -82689,6 +82738,27 @@ var RemoteLayoutComponentSchema = object({
82689
82738
  });
82690
82739
  });
82691
82740
  method(object({}), array(RemoteLayoutComponentSchema), { auth: "protected" });
82741
+ /**
82742
+ * resync — a device whose derived spec can be re-aligned on demand with its
82743
+ * upstream source (#459, Q6). Registered by the containers an integration
82744
+ * adopted; `DeviceFeature.Resyncable` (the generic Re-sync button) is derived
82745
+ * from it being bound with `resync` implemented.
82746
+ *
82747
+ * The work itself stays where it is: the owning addon's `device-adoption`
82748
+ * provider, reached through `deviceManager.adoptionResync` (which also owns
82749
+ * the "resync from zero" child purge). A provider answers this method by
82750
+ * asking for exactly that — see `resyncThroughAdoption`.
82751
+ */
82752
+ var ResyncDeviceInputSchema = object({
82753
+ deviceId: number$1().int().nonnegative(),
82754
+ /** "Resync from zero": purge the accessory children before re-deriving. */
82755
+ resetToSource: boolean().optional()
82756
+ });
82757
+ DeviceType.Container, DeviceType.Workload, DeviceType.WeatherStation, method(ResyncDeviceInputSchema, ResyncResultSchema, {
82758
+ kind: "mutation",
82759
+ auth: "admin",
82760
+ notOperatorFacing: "device adoption — re-aligning a device with its source is an onboarding step, not an automation action"
82761
+ });
82692
82762
  DeviceType.MediaPlayer;
82693
82763
  var RunningStateSourceSchema = _enum(["native", "assigned"]);
82694
82764
  object({
@@ -92299,13 +92369,6 @@ Object.freeze({
92299
92369
  access: "view",
92300
92370
  role: "viewer"
92301
92371
  },
92302
- "battery.wakeForStream": {
92303
- capName: "battery",
92304
- capScope: "device",
92305
- addonId: null,
92306
- access: "create",
92307
- role: "viewer"
92308
- },
92309
92372
  "binary.getStatus": {
92310
92373
  capName: "binary",
92311
92374
  capScope: "device",
@@ -95960,6 +96023,20 @@ Object.freeze({
95960
96023
  access: "view",
95961
96024
  role: "admin"
95962
96025
  },
96026
+ "lowPowerSleep.getStatus": {
96027
+ capName: "low-power-sleep",
96028
+ capScope: "device",
96029
+ addonId: null,
96030
+ access: "view",
96031
+ role: "viewer"
96032
+ },
96033
+ "lowPowerSleep.wakeUp": {
96034
+ capName: "low-power-sleep",
96035
+ capScope: "device",
96036
+ addonId: null,
96037
+ access: "create",
96038
+ role: "viewer"
96039
+ },
95963
96040
  "mediaPlayer.channelDown": {
95964
96041
  capName: "media-player",
95965
96042
  capScope: "device",
@@ -99635,6 +99712,13 @@ Object.freeze({
99635
99712
  access: "view",
99636
99713
  role: "admin"
99637
99714
  },
99715
+ "resync.resync": {
99716
+ capName: "resync",
99717
+ capScope: "device",
99718
+ addonId: null,
99719
+ access: "create",
99720
+ role: "admin"
99721
+ },
99638
99722
  "runningState.getStatus": {
99639
99723
  capName: "running-state",
99640
99724
  capScope: "device",
@@ -102030,7 +102114,7 @@ Object.freeze({
102030
102114
  role: "admin"
102031
102115
  }
102032
102116
  });
102033
- DeviceFeature.BatteryOperated;
102117
+ DeviceFeature.Sleeps;
102034
102118
  function bound(cap, methods = [], authority = "reported") {
102035
102119
  return {
102036
102120
  kind: "cap",
@@ -102042,11 +102126,11 @@ function bound(cap, methods = [], authority = "reported") {
102042
102126
  function derived(cap, methods = []) {
102043
102127
  return bound(cap, methods, "derived");
102044
102128
  }
102045
- DeviceFeature.BatteryOperated, DeviceFeature.Rebootable, derived("reboot", ["reboot"]), DeviceFeature.Resyncable, DeviceFeature.NativeSnapshot, DeviceFeature.DoorbellButton, derived("doorbell"), DeviceFeature.TwoWayAudio, derived("intercom", [
102129
+ DeviceFeature.BatteryOperated, DeviceFeature.Sleeps, derived("low-power-sleep", ["wakeUp"]), DeviceFeature.Rebootable, derived("reboot", ["reboot"]), DeviceFeature.Resyncable, derived("resync", ["resync"]), DeviceFeature.NativeSnapshot, DeviceFeature.DoorbellButton, derived("doorbell"), DeviceFeature.TwoWayAudio, derived("intercom", [
102046
102130
  "startTalkSession",
102047
102131
  "pushTalkAudio",
102048
102132
  "endTalkSession"
102049
- ]), 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.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.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");
102133
+ ]), 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.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.PresenceGps, DeviceFeature.NotifierImage, DeviceFeature.NotifierPriority, DeviceFeature.NotifierData, DeviceFeature.NotifierActions, DeviceFeature.NotifierRecipients, DeviceFeature.ScriptVariables, DeviceFeature.AutomationSkipCondition, DeviceFeature.VacuumHasAi, DeviceFeature.MowerHasTargetedMowing, DeviceFeature.Navigation, derived("navigation"), DeviceFeature.NetworkLink, derived("network-link");
102050
102134
  var ALL_FEATURES = Object.values(DeviceFeature);
102051
102135
  new Set(ALL_FEATURES);
102052
102136
  DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher;
@@ -102242,11 +102326,6 @@ Object.freeze({
102242
102326
  form: "single",
102243
102327
  optional: false
102244
102328
  }],
102245
- "battery.wakeForStream": [{
102246
- name: "deviceId",
102247
- form: "single",
102248
- optional: false
102249
- }],
102250
102329
  "binary.getStatus": [{
102251
102330
  name: "deviceId",
102252
102331
  form: "single",
@@ -103430,6 +103509,16 @@ Object.freeze({
103430
103509
  form: "single",
103431
103510
  optional: true
103432
103511
  }],
103512
+ "lowPowerSleep.getStatus": [{
103513
+ name: "deviceId",
103514
+ form: "single",
103515
+ optional: false
103516
+ }],
103517
+ "lowPowerSleep.wakeUp": [{
103518
+ name: "deviceId",
103519
+ form: "single",
103520
+ optional: false
103521
+ }],
103433
103522
  "mediaPlayer.channelDown": [{
103434
103523
  name: "deviceId",
103435
103524
  form: "single",
@@ -104715,6 +104804,11 @@ Object.freeze({
104715
104804
  form: "single",
104716
104805
  optional: false
104717
104806
  }],
104807
+ "resync.resync": [{
104808
+ name: "deviceId",
104809
+ form: "single",
104810
+ optional: false
104811
+ }],
104718
104812
  "runningState.getStatus": [{
104719
104813
  name: "deviceId",
104720
104814
  form: "single",
@@ -106763,7 +106857,7 @@ var AdminUIAddon = class extends BaseAddon {
106763
106857
  capability: adminUiCapability,
106764
106858
  provider: {
106765
106859
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
106766
- getVersion: async () => ({ version: "1.2.694" })
106860
+ getVersion: async () => ({ version: "1.2.695" })
106767
106861
  }
106768
106862
  }];
106769
106863
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-admin-ui",
3
- "version": "1.2.694",
3
+ "version": "1.2.695",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Admin UI — Vite frontend build and server-side addon",
@@ -50,7 +50,7 @@
50
50
  }
51
51
  ],
52
52
  "requires": {
53
- "server": ">=1.2.894"
53
+ "server": ">=1.2.895"
54
54
  }
55
55
  },
56
56
  "scripts": {