@camstack/addon-static-turn 1.1.9 → 1.1.11

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.
@@ -4628,7 +4628,7 @@ function _instanceof(cls, params = {}) {
4628
4628
  return inst;
4629
4629
  }
4630
4630
  //#endregion
4631
- //#region ../types/dist/sleep-B3AOslwX.mjs
4631
+ //#region ../types/dist/sleep-C2M2zF7x.mjs
4632
4632
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4633
4633
  EventCategory["SystemBoot"] = "system.boot";
4634
4634
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -6196,6 +6196,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
6196
6196
  DeviceType["Switch"] = "switch";
6197
6197
  DeviceType["Sensor"] = "sensor";
6198
6198
  DeviceType["Thermostat"] = "thermostat";
6199
+ /** Air-conditioner / heat-pump climate device (HVAC) — shares the
6200
+ * `climate-control` cap surface with `Thermostat` but renders a
6201
+ * dedicated AC-appropriate control UI (mode chips, fan speed,
6202
+ * independent vertical/horizontal swing). Sources: native Gree, and
6203
+ * reusable by other AC integrations. */
6204
+ DeviceType["Climate"] = "climate";
6199
6205
  DeviceType["Button"] = "button";
6200
6206
  /** Generic stateless event emitter — carries a device's EXACT declared
6201
6207
  * event vocabulary verbatim (no normalization). Installed with the
@@ -8350,7 +8356,7 @@ object({
8350
8356
  /** Ms epoch when the slice was last updated (push or command). */
8351
8357
  lastFetchedAt: number()
8352
8358
  });
8353
- DeviceType.Thermostat, method(object({
8359
+ DeviceType.Thermostat, DeviceType.Climate, method(object({
8354
8360
  deviceId: number().int().nonnegative(),
8355
8361
  mode: HvacModeSchema
8356
8362
  }), _void(), {
@@ -11035,10 +11041,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
11035
11041
  id: string(),
11036
11042
  name: string(),
11037
11043
  type: string()
11038
- }))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
11044
+ }))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
11039
11045
  kind: "mutation",
11040
11046
  auth: "admin"
11041
- }), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11047
+ }), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11042
11048
  kind: "mutation",
11043
11049
  auth: "admin"
11044
11050
  }), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
@@ -12759,7 +12765,10 @@ method(object({
12759
12765
  }), FieldProbeResultSchema, {
12760
12766
  kind: "mutation",
12761
12767
  auth: "admin"
12762
- }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12768
+ }), method(object({
12769
+ addonId: string(),
12770
+ integrationId: string()
12771
+ }), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12763
12772
  addonId: string(),
12764
12773
  integrationId: string()
12765
12774
  }), AdoptionStatusSchema, {
@@ -12774,7 +12783,24 @@ method(object({
12774
12783
  }), method(ResyncInputSchema, ResyncResultSchema, {
12775
12784
  kind: "mutation",
12776
12785
  auth: "admin"
12786
+ }), method(object({}), object({ providers: array(object({
12787
+ addonId: string(),
12788
+ label: string()
12789
+ })).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
12790
+ addonId: string(),
12791
+ label: string(),
12792
+ candidates: array(DiscoveryCandidateSchema).readonly(),
12793
+ error: string().nullable()
12794
+ })).readonly() }), {
12795
+ kind: "mutation",
12796
+ auth: "admin"
12777
12797
  }), method(object({
12798
+ addonId: string(),
12799
+ params: record(string(), unknown()).optional()
12800
+ }), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
12801
+ kind: "mutation",
12802
+ auth: "admin"
12803
+ }), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
12778
12804
  deviceId: number(),
12779
12805
  key: string(),
12780
12806
  value: unknown()
@@ -15449,6 +15475,17 @@ var AvailableIntegrationTypeSchema = object({
15449
15475
  iconUrl: string().nullable(),
15450
15476
  color: string(),
15451
15477
  instanceMode: string(),
15478
+ /**
15479
+ * Integration wizard `mode` (LOCKED MODEL): `standalone` (create
15480
+ * immediately then add devices, no config step/button), `account` (config
15481
+ * step), or `broker` (broker step). Derived server-side by
15482
+ * `getAvailableTypes` when the addon manifest omits an explicit `mode`.
15483
+ */
15484
+ mode: _enum([
15485
+ "standalone",
15486
+ "account",
15487
+ "broker"
15488
+ ]),
15452
15489
  discoveryMode: string(),
15453
15490
  /**
15454
15491
  * Which integration-marker cap the addon declared, so the wizard can
@@ -17909,6 +17946,12 @@ Object.freeze({
17909
17946
  addonId: null,
17910
17947
  access: "create"
17911
17948
  },
17949
+ "deviceManager.adoptionListCandidateFilters": {
17950
+ capName: "device-manager",
17951
+ capScope: "system",
17952
+ addonId: null,
17953
+ access: "view"
17954
+ },
17912
17955
  "deviceManager.adoptionListCandidates": {
17913
17956
  capName: "device-manager",
17914
17957
  capScope: "system",
@@ -17957,12 +18000,30 @@ Object.freeze({
17957
18000
  addonId: null,
17958
18001
  access: "create"
17959
18002
  },
18003
+ "deviceManager.discoverAllProviders": {
18004
+ capName: "device-manager",
18005
+ capScope: "system",
18006
+ addonId: null,
18007
+ access: "create"
18008
+ },
17960
18009
  "deviceManager.discoverDevices": {
17961
18010
  capName: "device-manager",
17962
18011
  capScope: "system",
17963
18012
  addonId: null,
17964
18013
  access: "create"
17965
18014
  },
18015
+ "deviceManager.discoverProvider": {
18016
+ capName: "device-manager",
18017
+ capScope: "system",
18018
+ addonId: null,
18019
+ access: "create"
18020
+ },
18021
+ "deviceManager.discoveryProviders": {
18022
+ capName: "device-manager",
18023
+ capScope: "system",
18024
+ addonId: null,
18025
+ access: "view"
18026
+ },
17966
18027
  "deviceManager.enable": {
17967
18028
  capName: "device-manager",
17968
18029
  capScope: "system",
@@ -18113,6 +18174,18 @@ Object.freeze({
18113
18174
  addonId: null,
18114
18175
  access: "create"
18115
18176
  },
18177
+ "deviceManager.providerCreationType": {
18178
+ capName: "device-manager",
18179
+ capScope: "system",
18180
+ addonId: null,
18181
+ access: "view"
18182
+ },
18183
+ "deviceManager.providerDiscoveryParamsSchema": {
18184
+ capName: "device-manager",
18185
+ capScope: "system",
18186
+ addonId: null,
18187
+ access: "view"
18188
+ },
18116
18189
  "deviceManager.registerDevice": {
18117
18190
  capName: "device-manager",
18118
18191
  capScope: "system",
@@ -18329,6 +18402,18 @@ Object.freeze({
18329
18402
  addonId: null,
18330
18403
  access: "view"
18331
18404
  },
18405
+ "deviceProvider.getDiscoveryParamsSchema": {
18406
+ capName: "device-provider",
18407
+ capScope: "system",
18408
+ addonId: null,
18409
+ access: "view"
18410
+ },
18411
+ "deviceProvider.getManualCreationType": {
18412
+ capName: "device-provider",
18413
+ capScope: "system",
18414
+ addonId: null,
18415
+ access: "view"
18416
+ },
18332
18417
  "deviceProvider.getStatus": {
18333
18418
  capName: "device-provider",
18334
18419
  capScope: "system",
@@ -4627,7 +4627,7 @@ function _instanceof(cls, params = {}) {
4627
4627
  return inst;
4628
4628
  }
4629
4629
  //#endregion
4630
- //#region ../types/dist/sleep-B3AOslwX.mjs
4630
+ //#region ../types/dist/sleep-C2M2zF7x.mjs
4631
4631
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4632
4632
  EventCategory["SystemBoot"] = "system.boot";
4633
4633
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -6195,6 +6195,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
6195
6195
  DeviceType["Switch"] = "switch";
6196
6196
  DeviceType["Sensor"] = "sensor";
6197
6197
  DeviceType["Thermostat"] = "thermostat";
6198
+ /** Air-conditioner / heat-pump climate device (HVAC) — shares the
6199
+ * `climate-control` cap surface with `Thermostat` but renders a
6200
+ * dedicated AC-appropriate control UI (mode chips, fan speed,
6201
+ * independent vertical/horizontal swing). Sources: native Gree, and
6202
+ * reusable by other AC integrations. */
6203
+ DeviceType["Climate"] = "climate";
6198
6204
  DeviceType["Button"] = "button";
6199
6205
  /** Generic stateless event emitter — carries a device's EXACT declared
6200
6206
  * event vocabulary verbatim (no normalization). Installed with the
@@ -8349,7 +8355,7 @@ object({
8349
8355
  /** Ms epoch when the slice was last updated (push or command). */
8350
8356
  lastFetchedAt: number()
8351
8357
  });
8352
- DeviceType.Thermostat, method(object({
8358
+ DeviceType.Thermostat, DeviceType.Climate, method(object({
8353
8359
  deviceId: number().int().nonnegative(),
8354
8360
  mode: HvacModeSchema
8355
8361
  }), _void(), {
@@ -11034,10 +11040,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
11034
11040
  id: string(),
11035
11041
  name: string(),
11036
11042
  type: string()
11037
- }))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
11043
+ }))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
11038
11044
  kind: "mutation",
11039
11045
  auth: "admin"
11040
- }), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11046
+ }), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11041
11047
  kind: "mutation",
11042
11048
  auth: "admin"
11043
11049
  }), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
@@ -12758,7 +12764,10 @@ method(object({
12758
12764
  }), FieldProbeResultSchema, {
12759
12765
  kind: "mutation",
12760
12766
  auth: "admin"
12761
- }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12767
+ }), method(object({
12768
+ addonId: string(),
12769
+ integrationId: string()
12770
+ }), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12762
12771
  addonId: string(),
12763
12772
  integrationId: string()
12764
12773
  }), AdoptionStatusSchema, {
@@ -12773,7 +12782,24 @@ method(object({
12773
12782
  }), method(ResyncInputSchema, ResyncResultSchema, {
12774
12783
  kind: "mutation",
12775
12784
  auth: "admin"
12785
+ }), method(object({}), object({ providers: array(object({
12786
+ addonId: string(),
12787
+ label: string()
12788
+ })).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
12789
+ addonId: string(),
12790
+ label: string(),
12791
+ candidates: array(DiscoveryCandidateSchema).readonly(),
12792
+ error: string().nullable()
12793
+ })).readonly() }), {
12794
+ kind: "mutation",
12795
+ auth: "admin"
12776
12796
  }), method(object({
12797
+ addonId: string(),
12798
+ params: record(string(), unknown()).optional()
12799
+ }), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
12800
+ kind: "mutation",
12801
+ auth: "admin"
12802
+ }), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
12777
12803
  deviceId: number(),
12778
12804
  key: string(),
12779
12805
  value: unknown()
@@ -15448,6 +15474,17 @@ var AvailableIntegrationTypeSchema = object({
15448
15474
  iconUrl: string().nullable(),
15449
15475
  color: string(),
15450
15476
  instanceMode: string(),
15477
+ /**
15478
+ * Integration wizard `mode` (LOCKED MODEL): `standalone` (create
15479
+ * immediately then add devices, no config step/button), `account` (config
15480
+ * step), or `broker` (broker step). Derived server-side by
15481
+ * `getAvailableTypes` when the addon manifest omits an explicit `mode`.
15482
+ */
15483
+ mode: _enum([
15484
+ "standalone",
15485
+ "account",
15486
+ "broker"
15487
+ ]),
15451
15488
  discoveryMode: string(),
15452
15489
  /**
15453
15490
  * Which integration-marker cap the addon declared, so the wizard can
@@ -17908,6 +17945,12 @@ Object.freeze({
17908
17945
  addonId: null,
17909
17946
  access: "create"
17910
17947
  },
17948
+ "deviceManager.adoptionListCandidateFilters": {
17949
+ capName: "device-manager",
17950
+ capScope: "system",
17951
+ addonId: null,
17952
+ access: "view"
17953
+ },
17911
17954
  "deviceManager.adoptionListCandidates": {
17912
17955
  capName: "device-manager",
17913
17956
  capScope: "system",
@@ -17956,12 +17999,30 @@ Object.freeze({
17956
17999
  addonId: null,
17957
18000
  access: "create"
17958
18001
  },
18002
+ "deviceManager.discoverAllProviders": {
18003
+ capName: "device-manager",
18004
+ capScope: "system",
18005
+ addonId: null,
18006
+ access: "create"
18007
+ },
17959
18008
  "deviceManager.discoverDevices": {
17960
18009
  capName: "device-manager",
17961
18010
  capScope: "system",
17962
18011
  addonId: null,
17963
18012
  access: "create"
17964
18013
  },
18014
+ "deviceManager.discoverProvider": {
18015
+ capName: "device-manager",
18016
+ capScope: "system",
18017
+ addonId: null,
18018
+ access: "create"
18019
+ },
18020
+ "deviceManager.discoveryProviders": {
18021
+ capName: "device-manager",
18022
+ capScope: "system",
18023
+ addonId: null,
18024
+ access: "view"
18025
+ },
17965
18026
  "deviceManager.enable": {
17966
18027
  capName: "device-manager",
17967
18028
  capScope: "system",
@@ -18112,6 +18173,18 @@ Object.freeze({
18112
18173
  addonId: null,
18113
18174
  access: "create"
18114
18175
  },
18176
+ "deviceManager.providerCreationType": {
18177
+ capName: "device-manager",
18178
+ capScope: "system",
18179
+ addonId: null,
18180
+ access: "view"
18181
+ },
18182
+ "deviceManager.providerDiscoveryParamsSchema": {
18183
+ capName: "device-manager",
18184
+ capScope: "system",
18185
+ addonId: null,
18186
+ access: "view"
18187
+ },
18115
18188
  "deviceManager.registerDevice": {
18116
18189
  capName: "device-manager",
18117
18190
  capScope: "system",
@@ -18328,6 +18401,18 @@ Object.freeze({
18328
18401
  addonId: null,
18329
18402
  access: "view"
18330
18403
  },
18404
+ "deviceProvider.getDiscoveryParamsSchema": {
18405
+ capName: "device-provider",
18406
+ capScope: "system",
18407
+ addonId: null,
18408
+ access: "view"
18409
+ },
18410
+ "deviceProvider.getManualCreationType": {
18411
+ capName: "device-provider",
18412
+ capScope: "system",
18413
+ addonId: null,
18414
+ access: "view"
18415
+ },
18331
18416
  "deviceProvider.getStatus": {
18332
18417
  capName: "device-provider",
18333
18418
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-static-turn",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "Static / self-hosted (coturn) TURN provider for CamStack",
5
5
  "keywords": [
6
6
  "camstack",