@camstack/addon-mqtt-broker 1.1.10 → 1.1.12

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.
@@ -4673,7 +4673,7 @@ function _instanceof(cls, params = {}) {
4673
4673
  return inst;
4674
4674
  }
4675
4675
  //#endregion
4676
- //#region ../types/dist/sleep-B3AOslwX.mjs
4676
+ //#region ../types/dist/sleep-C2M2zF7x.mjs
4677
4677
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4678
4678
  EventCategory["SystemBoot"] = "system.boot";
4679
4679
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -6241,6 +6241,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
6241
6241
  DeviceType["Switch"] = "switch";
6242
6242
  DeviceType["Sensor"] = "sensor";
6243
6243
  DeviceType["Thermostat"] = "thermostat";
6244
+ /** Air-conditioner / heat-pump climate device (HVAC) — shares the
6245
+ * `climate-control` cap surface with `Thermostat` but renders a
6246
+ * dedicated AC-appropriate control UI (mode chips, fan speed,
6247
+ * independent vertical/horizontal swing). Sources: native Gree, and
6248
+ * reusable by other AC integrations. */
6249
+ DeviceType["Climate"] = "climate";
6244
6250
  DeviceType["Button"] = "button";
6245
6251
  /** Generic stateless event emitter — carries a device's EXACT declared
6246
6252
  * event vocabulary verbatim (no normalization). Installed with the
@@ -8395,7 +8401,7 @@ object({
8395
8401
  /** Ms epoch when the slice was last updated (push or command). */
8396
8402
  lastFetchedAt: number()
8397
8403
  });
8398
- DeviceType.Thermostat, method(object({
8404
+ DeviceType.Thermostat, DeviceType.Climate, method(object({
8399
8405
  deviceId: number().int().nonnegative(),
8400
8406
  mode: HvacModeSchema
8401
8407
  }), _void(), {
@@ -11080,10 +11086,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
11080
11086
  id: string(),
11081
11087
  name: string(),
11082
11088
  type: string()
11083
- }))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
11089
+ }))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
11084
11090
  kind: "mutation",
11085
11091
  auth: "admin"
11086
- }), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11092
+ }), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11087
11093
  kind: "mutation",
11088
11094
  auth: "admin"
11089
11095
  }), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
@@ -12853,7 +12859,10 @@ method(object({
12853
12859
  }), FieldProbeResultSchema, {
12854
12860
  kind: "mutation",
12855
12861
  auth: "admin"
12856
- }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12862
+ }), method(object({
12863
+ addonId: string(),
12864
+ integrationId: string()
12865
+ }), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12857
12866
  addonId: string(),
12858
12867
  integrationId: string()
12859
12868
  }), AdoptionStatusSchema, {
@@ -12868,7 +12877,24 @@ method(object({
12868
12877
  }), method(ResyncInputSchema, ResyncResultSchema, {
12869
12878
  kind: "mutation",
12870
12879
  auth: "admin"
12880
+ }), method(object({}), object({ providers: array(object({
12881
+ addonId: string(),
12882
+ label: string()
12883
+ })).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
12884
+ addonId: string(),
12885
+ label: string(),
12886
+ candidates: array(DiscoveryCandidateSchema).readonly(),
12887
+ error: string().nullable()
12888
+ })).readonly() }), {
12889
+ kind: "mutation",
12890
+ auth: "admin"
12871
12891
  }), method(object({
12892
+ addonId: string(),
12893
+ params: record(string(), unknown()).optional()
12894
+ }), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
12895
+ kind: "mutation",
12896
+ auth: "admin"
12897
+ }), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
12872
12898
  deviceId: number(),
12873
12899
  key: string(),
12874
12900
  value: unknown()
@@ -18010,6 +18036,12 @@ Object.freeze({
18010
18036
  addonId: null,
18011
18037
  access: "create"
18012
18038
  },
18039
+ "deviceManager.adoptionListCandidateFilters": {
18040
+ capName: "device-manager",
18041
+ capScope: "system",
18042
+ addonId: null,
18043
+ access: "view"
18044
+ },
18013
18045
  "deviceManager.adoptionListCandidates": {
18014
18046
  capName: "device-manager",
18015
18047
  capScope: "system",
@@ -18058,12 +18090,30 @@ Object.freeze({
18058
18090
  addonId: null,
18059
18091
  access: "create"
18060
18092
  },
18093
+ "deviceManager.discoverAllProviders": {
18094
+ capName: "device-manager",
18095
+ capScope: "system",
18096
+ addonId: null,
18097
+ access: "create"
18098
+ },
18061
18099
  "deviceManager.discoverDevices": {
18062
18100
  capName: "device-manager",
18063
18101
  capScope: "system",
18064
18102
  addonId: null,
18065
18103
  access: "create"
18066
18104
  },
18105
+ "deviceManager.discoverProvider": {
18106
+ capName: "device-manager",
18107
+ capScope: "system",
18108
+ addonId: null,
18109
+ access: "create"
18110
+ },
18111
+ "deviceManager.discoveryProviders": {
18112
+ capName: "device-manager",
18113
+ capScope: "system",
18114
+ addonId: null,
18115
+ access: "view"
18116
+ },
18067
18117
  "deviceManager.enable": {
18068
18118
  capName: "device-manager",
18069
18119
  capScope: "system",
@@ -18214,6 +18264,18 @@ Object.freeze({
18214
18264
  addonId: null,
18215
18265
  access: "create"
18216
18266
  },
18267
+ "deviceManager.providerCreationType": {
18268
+ capName: "device-manager",
18269
+ capScope: "system",
18270
+ addonId: null,
18271
+ access: "view"
18272
+ },
18273
+ "deviceManager.providerDiscoveryParamsSchema": {
18274
+ capName: "device-manager",
18275
+ capScope: "system",
18276
+ addonId: null,
18277
+ access: "view"
18278
+ },
18217
18279
  "deviceManager.registerDevice": {
18218
18280
  capName: "device-manager",
18219
18281
  capScope: "system",
@@ -18430,6 +18492,18 @@ Object.freeze({
18430
18492
  addonId: null,
18431
18493
  access: "view"
18432
18494
  },
18495
+ "deviceProvider.getDiscoveryParamsSchema": {
18496
+ capName: "device-provider",
18497
+ capScope: "system",
18498
+ addonId: null,
18499
+ access: "view"
18500
+ },
18501
+ "deviceProvider.getManualCreationType": {
18502
+ capName: "device-provider",
18503
+ capScope: "system",
18504
+ addonId: null,
18505
+ access: "view"
18506
+ },
18433
18507
  "deviceProvider.getStatus": {
18434
18508
  capName: "device-provider",
18435
18509
  capScope: "system",
@@ -4668,7 +4668,7 @@ function _instanceof(cls, params = {}) {
4668
4668
  return inst;
4669
4669
  }
4670
4670
  //#endregion
4671
- //#region ../types/dist/sleep-B3AOslwX.mjs
4671
+ //#region ../types/dist/sleep-C2M2zF7x.mjs
4672
4672
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4673
4673
  EventCategory["SystemBoot"] = "system.boot";
4674
4674
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -6236,6 +6236,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
6236
6236
  DeviceType["Switch"] = "switch";
6237
6237
  DeviceType["Sensor"] = "sensor";
6238
6238
  DeviceType["Thermostat"] = "thermostat";
6239
+ /** Air-conditioner / heat-pump climate device (HVAC) — shares the
6240
+ * `climate-control` cap surface with `Thermostat` but renders a
6241
+ * dedicated AC-appropriate control UI (mode chips, fan speed,
6242
+ * independent vertical/horizontal swing). Sources: native Gree, and
6243
+ * reusable by other AC integrations. */
6244
+ DeviceType["Climate"] = "climate";
6239
6245
  DeviceType["Button"] = "button";
6240
6246
  /** Generic stateless event emitter — carries a device's EXACT declared
6241
6247
  * event vocabulary verbatim (no normalization). Installed with the
@@ -8390,7 +8396,7 @@ object({
8390
8396
  /** Ms epoch when the slice was last updated (push or command). */
8391
8397
  lastFetchedAt: number()
8392
8398
  });
8393
- DeviceType.Thermostat, method(object({
8399
+ DeviceType.Thermostat, DeviceType.Climate, method(object({
8394
8400
  deviceId: number().int().nonnegative(),
8395
8401
  mode: HvacModeSchema
8396
8402
  }), _void(), {
@@ -11075,10 +11081,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
11075
11081
  id: string(),
11076
11082
  name: string(),
11077
11083
  type: string()
11078
- }))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
11084
+ }))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
11079
11085
  kind: "mutation",
11080
11086
  auth: "admin"
11081
- }), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11087
+ }), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11082
11088
  kind: "mutation",
11083
11089
  auth: "admin"
11084
11090
  }), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
@@ -12848,7 +12854,10 @@ method(object({
12848
12854
  }), FieldProbeResultSchema, {
12849
12855
  kind: "mutation",
12850
12856
  auth: "admin"
12851
- }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12857
+ }), method(object({
12858
+ addonId: string(),
12859
+ integrationId: string()
12860
+ }), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12852
12861
  addonId: string(),
12853
12862
  integrationId: string()
12854
12863
  }), AdoptionStatusSchema, {
@@ -12863,7 +12872,24 @@ method(object({
12863
12872
  }), method(ResyncInputSchema, ResyncResultSchema, {
12864
12873
  kind: "mutation",
12865
12874
  auth: "admin"
12875
+ }), method(object({}), object({ providers: array(object({
12876
+ addonId: string(),
12877
+ label: string()
12878
+ })).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
12879
+ addonId: string(),
12880
+ label: string(),
12881
+ candidates: array(DiscoveryCandidateSchema).readonly(),
12882
+ error: string().nullable()
12883
+ })).readonly() }), {
12884
+ kind: "mutation",
12885
+ auth: "admin"
12866
12886
  }), method(object({
12887
+ addonId: string(),
12888
+ params: record(string(), unknown()).optional()
12889
+ }), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
12890
+ kind: "mutation",
12891
+ auth: "admin"
12892
+ }), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
12867
12893
  deviceId: number(),
12868
12894
  key: string(),
12869
12895
  value: unknown()
@@ -18005,6 +18031,12 @@ Object.freeze({
18005
18031
  addonId: null,
18006
18032
  access: "create"
18007
18033
  },
18034
+ "deviceManager.adoptionListCandidateFilters": {
18035
+ capName: "device-manager",
18036
+ capScope: "system",
18037
+ addonId: null,
18038
+ access: "view"
18039
+ },
18008
18040
  "deviceManager.adoptionListCandidates": {
18009
18041
  capName: "device-manager",
18010
18042
  capScope: "system",
@@ -18053,12 +18085,30 @@ Object.freeze({
18053
18085
  addonId: null,
18054
18086
  access: "create"
18055
18087
  },
18088
+ "deviceManager.discoverAllProviders": {
18089
+ capName: "device-manager",
18090
+ capScope: "system",
18091
+ addonId: null,
18092
+ access: "create"
18093
+ },
18056
18094
  "deviceManager.discoverDevices": {
18057
18095
  capName: "device-manager",
18058
18096
  capScope: "system",
18059
18097
  addonId: null,
18060
18098
  access: "create"
18061
18099
  },
18100
+ "deviceManager.discoverProvider": {
18101
+ capName: "device-manager",
18102
+ capScope: "system",
18103
+ addonId: null,
18104
+ access: "create"
18105
+ },
18106
+ "deviceManager.discoveryProviders": {
18107
+ capName: "device-manager",
18108
+ capScope: "system",
18109
+ addonId: null,
18110
+ access: "view"
18111
+ },
18062
18112
  "deviceManager.enable": {
18063
18113
  capName: "device-manager",
18064
18114
  capScope: "system",
@@ -18209,6 +18259,18 @@ Object.freeze({
18209
18259
  addonId: null,
18210
18260
  access: "create"
18211
18261
  },
18262
+ "deviceManager.providerCreationType": {
18263
+ capName: "device-manager",
18264
+ capScope: "system",
18265
+ addonId: null,
18266
+ access: "view"
18267
+ },
18268
+ "deviceManager.providerDiscoveryParamsSchema": {
18269
+ capName: "device-manager",
18270
+ capScope: "system",
18271
+ addonId: null,
18272
+ access: "view"
18273
+ },
18212
18274
  "deviceManager.registerDevice": {
18213
18275
  capName: "device-manager",
18214
18276
  capScope: "system",
@@ -18425,6 +18487,18 @@ Object.freeze({
18425
18487
  addonId: null,
18426
18488
  access: "view"
18427
18489
  },
18490
+ "deviceProvider.getDiscoveryParamsSchema": {
18491
+ capName: "device-provider",
18492
+ capScope: "system",
18493
+ addonId: null,
18494
+ access: "view"
18495
+ },
18496
+ "deviceProvider.getManualCreationType": {
18497
+ capName: "device-provider",
18498
+ capScope: "system",
18499
+ addonId: null,
18500
+ access: "view"
18501
+ },
18428
18502
  "deviceProvider.getStatus": {
18429
18503
  capName: "device-provider",
18430
18504
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-mqtt-broker",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
5
5
  "keywords": [
6
6
  "camstack",