@camstack/types 1.2.567 → 1.2.568

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.
@@ -1,4 +1,4 @@
1
- const require_event_category = require("./event-category-Ps2LC8dN.js");
1
+ const require_event_category = require("./event-category-d9kiqCqC.js");
2
2
  const require_composed_stable_id = require("./composed-stable-id-BzXh1Swk.js");
3
3
  let zod = require("zod");
4
4
  //#region src/audio/audio-chunk-format.ts
@@ -10624,6 +10624,76 @@ var CAP_VOCABULARY = {
10624
10624
  en: "Control",
10625
10625
  it: "Controllo"
10626
10626
  },
10627
+ actions: [
10628
+ {
10629
+ id: "select.next",
10630
+ method: "next",
10631
+ label: {
10632
+ en: "Next option",
10633
+ it: "Opzione successiva"
10634
+ },
10635
+ phrase: {
10636
+ en: "Select the next option on {device}",
10637
+ it: "Seleziona l’opzione successiva su {device}"
10638
+ },
10639
+ icon: "skip-forward",
10640
+ openArgs: [{
10641
+ key: "cycle",
10642
+ label: {
10643
+ en: "Wrap to the first option",
10644
+ it: "Ricomincia dalla prima opzione"
10645
+ },
10646
+ offer: { kind: "boolean" }
10647
+ }]
10648
+ },
10649
+ {
10650
+ id: "select.previous",
10651
+ method: "previous",
10652
+ label: {
10653
+ en: "Previous option",
10654
+ it: "Opzione precedente"
10655
+ },
10656
+ phrase: {
10657
+ en: "Select the previous option on {device}",
10658
+ it: "Seleziona l’opzione precedente su {device}"
10659
+ },
10660
+ icon: "skip-back",
10661
+ openArgs: [{
10662
+ key: "cycle",
10663
+ label: {
10664
+ en: "Wrap to the last option",
10665
+ it: "Ricomincia dall’ultima opzione"
10666
+ },
10667
+ offer: { kind: "boolean" }
10668
+ }]
10669
+ },
10670
+ {
10671
+ id: "select.first",
10672
+ method: "first",
10673
+ label: {
10674
+ en: "First option",
10675
+ it: "Prima opzione"
10676
+ },
10677
+ phrase: {
10678
+ en: "Select the first option on {device}",
10679
+ it: "Seleziona la prima opzione su {device}"
10680
+ },
10681
+ icon: "chevron-first"
10682
+ },
10683
+ {
10684
+ id: "select.last",
10685
+ method: "last",
10686
+ label: {
10687
+ en: "Last option",
10688
+ it: "Ultima opzione"
10689
+ },
10690
+ phrase: {
10691
+ en: "Select the last option on {device}",
10692
+ it: "Seleziona l’ultima opzione su {device}"
10693
+ },
10694
+ icon: "chevron-last"
10695
+ }
10696
+ ],
10627
10697
  notOperatorFacing: { setValue: "the value shape depends on the control kind (numeric / select / text / datetime) read from status; a typed picker for it is a follow-up of the automations rework" },
10628
10698
  state: [{
10629
10699
  kind: "value",
@@ -17564,6 +17634,18 @@ var CAP_STATE_LEAVES = Object.freeze({
17564
17634
  "dry"
17565
17635
  ]
17566
17636
  },
17637
+ {
17638
+ "path": "action",
17639
+ "valueType": "enum",
17640
+ "enumValues": [
17641
+ "heating",
17642
+ "cooling",
17643
+ "drying",
17644
+ "fan",
17645
+ "idle",
17646
+ "off"
17647
+ ]
17648
+ },
17567
17649
  {
17568
17650
  "path": "fanMode",
17569
17651
  "valueType": "string"
@@ -19880,6 +19962,10 @@ function createDeviceProxy(api, binding, opts) {
19880
19962
  const contactInterface = { getStatus: (input) => dispatch("contact", "contact", "getStatus", "query", input) };
19881
19963
  const controlInterface = {
19882
19964
  setValue: (input) => dispatch("control", "control", "setValue", "mutation", input),
19965
+ next: (input) => dispatch("control", "control", "next", "mutation", input),
19966
+ previous: (input) => dispatch("control", "control", "previous", "mutation", input),
19967
+ first: (input) => dispatch("control", "control", "first", "mutation", input),
19968
+ last: (input) => dispatch("control", "control", "last", "mutation", input),
19883
19969
  getStatus: (input) => dispatch("control", "control", "getStatus", "query", input)
19884
19970
  };
19885
19971
  const coverInterface = {
@@ -1,4 +1,4 @@
1
- import { t as EventCategory } from "./event-category-Dv-Gcv1f.mjs";
1
+ import { t as EventCategory } from "./event-category-Dhcd0TRH.mjs";
2
2
  import { a as DeviceType, i as DeviceRole, s as errMsg } from "./composed-stable-id-COP6zOXx.mjs";
3
3
  import { z } from "zod";
4
4
  //#region src/audio/audio-chunk-format.ts
@@ -10624,6 +10624,76 @@ var CAP_VOCABULARY = {
10624
10624
  en: "Control",
10625
10625
  it: "Controllo"
10626
10626
  },
10627
+ actions: [
10628
+ {
10629
+ id: "select.next",
10630
+ method: "next",
10631
+ label: {
10632
+ en: "Next option",
10633
+ it: "Opzione successiva"
10634
+ },
10635
+ phrase: {
10636
+ en: "Select the next option on {device}",
10637
+ it: "Seleziona l’opzione successiva su {device}"
10638
+ },
10639
+ icon: "skip-forward",
10640
+ openArgs: [{
10641
+ key: "cycle",
10642
+ label: {
10643
+ en: "Wrap to the first option",
10644
+ it: "Ricomincia dalla prima opzione"
10645
+ },
10646
+ offer: { kind: "boolean" }
10647
+ }]
10648
+ },
10649
+ {
10650
+ id: "select.previous",
10651
+ method: "previous",
10652
+ label: {
10653
+ en: "Previous option",
10654
+ it: "Opzione precedente"
10655
+ },
10656
+ phrase: {
10657
+ en: "Select the previous option on {device}",
10658
+ it: "Seleziona l’opzione precedente su {device}"
10659
+ },
10660
+ icon: "skip-back",
10661
+ openArgs: [{
10662
+ key: "cycle",
10663
+ label: {
10664
+ en: "Wrap to the last option",
10665
+ it: "Ricomincia dall’ultima opzione"
10666
+ },
10667
+ offer: { kind: "boolean" }
10668
+ }]
10669
+ },
10670
+ {
10671
+ id: "select.first",
10672
+ method: "first",
10673
+ label: {
10674
+ en: "First option",
10675
+ it: "Prima opzione"
10676
+ },
10677
+ phrase: {
10678
+ en: "Select the first option on {device}",
10679
+ it: "Seleziona la prima opzione su {device}"
10680
+ },
10681
+ icon: "chevron-first"
10682
+ },
10683
+ {
10684
+ id: "select.last",
10685
+ method: "last",
10686
+ label: {
10687
+ en: "Last option",
10688
+ it: "Ultima opzione"
10689
+ },
10690
+ phrase: {
10691
+ en: "Select the last option on {device}",
10692
+ it: "Seleziona l’ultima opzione su {device}"
10693
+ },
10694
+ icon: "chevron-last"
10695
+ }
10696
+ ],
10627
10697
  notOperatorFacing: { setValue: "the value shape depends on the control kind (numeric / select / text / datetime) read from status; a typed picker for it is a follow-up of the automations rework" },
10628
10698
  state: [{
10629
10699
  kind: "value",
@@ -17564,6 +17634,18 @@ var CAP_STATE_LEAVES = Object.freeze({
17564
17634
  "dry"
17565
17635
  ]
17566
17636
  },
17637
+ {
17638
+ "path": "action",
17639
+ "valueType": "enum",
17640
+ "enumValues": [
17641
+ "heating",
17642
+ "cooling",
17643
+ "drying",
17644
+ "fan",
17645
+ "idle",
17646
+ "off"
17647
+ ]
17648
+ },
17567
17649
  {
17568
17650
  "path": "fanMode",
17569
17651
  "valueType": "string"
@@ -19880,6 +19962,10 @@ function createDeviceProxy(api, binding, opts) {
19880
19962
  const contactInterface = { getStatus: (input) => dispatch("contact", "contact", "getStatus", "query", input) };
19881
19963
  const controlInterface = {
19882
19964
  setValue: (input) => dispatch("control", "control", "setValue", "mutation", input),
19965
+ next: (input) => dispatch("control", "control", "next", "mutation", input),
19966
+ previous: (input) => dispatch("control", "control", "previous", "mutation", input),
19967
+ first: (input) => dispatch("control", "control", "first", "mutation", input),
19968
+ last: (input) => dispatch("control", "control", "last", "mutation", input),
19883
19969
  getStatus: (input) => dispatch("control", "control", "getStatus", "query", input)
19884
19970
  };
19885
19971
  const coverInterface = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.567",
3
+ "version": "1.2.568",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",