@camstack/addon-advanced-notifier 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.
package/dist/addon.js CHANGED
@@ -4632,7 +4632,7 @@ function _instanceof(cls, params = {}) {
4632
4632
  return inst;
4633
4633
  }
4634
4634
  //#endregion
4635
- //#region ../types/dist/sleep-B3AOslwX.mjs
4635
+ //#region ../types/dist/sleep-C2M2zF7x.mjs
4636
4636
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4637
4637
  EventCategory["SystemBoot"] = "system.boot";
4638
4638
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -6200,6 +6200,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
6200
6200
  DeviceType["Switch"] = "switch";
6201
6201
  DeviceType["Sensor"] = "sensor";
6202
6202
  DeviceType["Thermostat"] = "thermostat";
6203
+ /** Air-conditioner / heat-pump climate device (HVAC) — shares the
6204
+ * `climate-control` cap surface with `Thermostat` but renders a
6205
+ * dedicated AC-appropriate control UI (mode chips, fan speed,
6206
+ * independent vertical/horizontal swing). Sources: native Gree, and
6207
+ * reusable by other AC integrations. */
6208
+ DeviceType["Climate"] = "climate";
6203
6209
  DeviceType["Button"] = "button";
6204
6210
  /** Generic stateless event emitter — carries a device's EXACT declared
6205
6211
  * event vocabulary verbatim (no normalization). Installed with the
@@ -8368,7 +8374,7 @@ object({
8368
8374
  /** Ms epoch when the slice was last updated (push or command). */
8369
8375
  lastFetchedAt: number()
8370
8376
  });
8371
- DeviceType.Thermostat, method(object({
8377
+ DeviceType.Thermostat, DeviceType.Climate, method(object({
8372
8378
  deviceId: number().int().nonnegative(),
8373
8379
  mode: HvacModeSchema
8374
8380
  }), _void(), {
@@ -11053,10 +11059,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
11053
11059
  id: string(),
11054
11060
  name: string(),
11055
11061
  type: string()
11056
- }))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
11062
+ }))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
11057
11063
  kind: "mutation",
11058
11064
  auth: "admin"
11059
- }), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11065
+ }), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11060
11066
  kind: "mutation",
11061
11067
  auth: "admin"
11062
11068
  }), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
@@ -12789,7 +12795,10 @@ method(object({
12789
12795
  }), FieldProbeResultSchema, {
12790
12796
  kind: "mutation",
12791
12797
  auth: "admin"
12792
- }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12798
+ }), method(object({
12799
+ addonId: string(),
12800
+ integrationId: string()
12801
+ }), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12793
12802
  addonId: string(),
12794
12803
  integrationId: string()
12795
12804
  }), AdoptionStatusSchema, {
@@ -12804,7 +12813,24 @@ method(object({
12804
12813
  }), method(ResyncInputSchema, ResyncResultSchema, {
12805
12814
  kind: "mutation",
12806
12815
  auth: "admin"
12816
+ }), method(object({}), object({ providers: array(object({
12817
+ addonId: string(),
12818
+ label: string()
12819
+ })).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
12820
+ addonId: string(),
12821
+ label: string(),
12822
+ candidates: array(DiscoveryCandidateSchema).readonly(),
12823
+ error: string().nullable()
12824
+ })).readonly() }), {
12825
+ kind: "mutation",
12826
+ auth: "admin"
12807
12827
  }), method(object({
12828
+ addonId: string(),
12829
+ params: record(string(), unknown()).optional()
12830
+ }), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
12831
+ kind: "mutation",
12832
+ auth: "admin"
12833
+ }), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
12808
12834
  deviceId: number(),
12809
12835
  key: string(),
12810
12836
  value: unknown()
@@ -17935,6 +17961,12 @@ Object.freeze({
17935
17961
  addonId: null,
17936
17962
  access: "create"
17937
17963
  },
17964
+ "deviceManager.adoptionListCandidateFilters": {
17965
+ capName: "device-manager",
17966
+ capScope: "system",
17967
+ addonId: null,
17968
+ access: "view"
17969
+ },
17938
17970
  "deviceManager.adoptionListCandidates": {
17939
17971
  capName: "device-manager",
17940
17972
  capScope: "system",
@@ -17983,12 +18015,30 @@ Object.freeze({
17983
18015
  addonId: null,
17984
18016
  access: "create"
17985
18017
  },
18018
+ "deviceManager.discoverAllProviders": {
18019
+ capName: "device-manager",
18020
+ capScope: "system",
18021
+ addonId: null,
18022
+ access: "create"
18023
+ },
17986
18024
  "deviceManager.discoverDevices": {
17987
18025
  capName: "device-manager",
17988
18026
  capScope: "system",
17989
18027
  addonId: null,
17990
18028
  access: "create"
17991
18029
  },
18030
+ "deviceManager.discoverProvider": {
18031
+ capName: "device-manager",
18032
+ capScope: "system",
18033
+ addonId: null,
18034
+ access: "create"
18035
+ },
18036
+ "deviceManager.discoveryProviders": {
18037
+ capName: "device-manager",
18038
+ capScope: "system",
18039
+ addonId: null,
18040
+ access: "view"
18041
+ },
17992
18042
  "deviceManager.enable": {
17993
18043
  capName: "device-manager",
17994
18044
  capScope: "system",
@@ -18139,6 +18189,18 @@ Object.freeze({
18139
18189
  addonId: null,
18140
18190
  access: "create"
18141
18191
  },
18192
+ "deviceManager.providerCreationType": {
18193
+ capName: "device-manager",
18194
+ capScope: "system",
18195
+ addonId: null,
18196
+ access: "view"
18197
+ },
18198
+ "deviceManager.providerDiscoveryParamsSchema": {
18199
+ capName: "device-manager",
18200
+ capScope: "system",
18201
+ addonId: null,
18202
+ access: "view"
18203
+ },
18142
18204
  "deviceManager.registerDevice": {
18143
18205
  capName: "device-manager",
18144
18206
  capScope: "system",
@@ -18355,6 +18417,18 @@ Object.freeze({
18355
18417
  addonId: null,
18356
18418
  access: "view"
18357
18419
  },
18420
+ "deviceProvider.getDiscoveryParamsSchema": {
18421
+ capName: "device-provider",
18422
+ capScope: "system",
18423
+ addonId: null,
18424
+ access: "view"
18425
+ },
18426
+ "deviceProvider.getManualCreationType": {
18427
+ capName: "device-provider",
18428
+ capScope: "system",
18429
+ addonId: null,
18430
+ access: "view"
18431
+ },
18358
18432
  "deviceProvider.getStatus": {
18359
18433
  capName: "device-provider",
18360
18434
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -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
@@ -8364,7 +8370,7 @@ object({
8364
8370
  /** Ms epoch when the slice was last updated (push or command). */
8365
8371
  lastFetchedAt: number()
8366
8372
  });
8367
- DeviceType.Thermostat, method(object({
8373
+ DeviceType.Thermostat, DeviceType.Climate, method(object({
8368
8374
  deviceId: number().int().nonnegative(),
8369
8375
  mode: HvacModeSchema
8370
8376
  }), _void(), {
@@ -11049,10 +11055,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
11049
11055
  id: string(),
11050
11056
  name: string(),
11051
11057
  type: string()
11052
- }))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
11058
+ }))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
11053
11059
  kind: "mutation",
11054
11060
  auth: "admin"
11055
- }), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11061
+ }), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
11056
11062
  kind: "mutation",
11057
11063
  auth: "admin"
11058
11064
  }), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
@@ -12785,7 +12791,10 @@ method(object({
12785
12791
  }), FieldProbeResultSchema, {
12786
12792
  kind: "mutation",
12787
12793
  auth: "admin"
12788
- }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12794
+ }), method(object({
12795
+ addonId: string(),
12796
+ integrationId: string()
12797
+ }), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
12789
12798
  addonId: string(),
12790
12799
  integrationId: string()
12791
12800
  }), AdoptionStatusSchema, {
@@ -12800,7 +12809,24 @@ method(object({
12800
12809
  }), method(ResyncInputSchema, ResyncResultSchema, {
12801
12810
  kind: "mutation",
12802
12811
  auth: "admin"
12812
+ }), method(object({}), object({ providers: array(object({
12813
+ addonId: string(),
12814
+ label: string()
12815
+ })).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
12816
+ addonId: string(),
12817
+ label: string(),
12818
+ candidates: array(DiscoveryCandidateSchema).readonly(),
12819
+ error: string().nullable()
12820
+ })).readonly() }), {
12821
+ kind: "mutation",
12822
+ auth: "admin"
12803
12823
  }), method(object({
12824
+ addonId: string(),
12825
+ params: record(string(), unknown()).optional()
12826
+ }), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
12827
+ kind: "mutation",
12828
+ auth: "admin"
12829
+ }), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
12804
12830
  deviceId: number(),
12805
12831
  key: string(),
12806
12832
  value: unknown()
@@ -17931,6 +17957,12 @@ Object.freeze({
17931
17957
  addonId: null,
17932
17958
  access: "create"
17933
17959
  },
17960
+ "deviceManager.adoptionListCandidateFilters": {
17961
+ capName: "device-manager",
17962
+ capScope: "system",
17963
+ addonId: null,
17964
+ access: "view"
17965
+ },
17934
17966
  "deviceManager.adoptionListCandidates": {
17935
17967
  capName: "device-manager",
17936
17968
  capScope: "system",
@@ -17979,12 +18011,30 @@ Object.freeze({
17979
18011
  addonId: null,
17980
18012
  access: "create"
17981
18013
  },
18014
+ "deviceManager.discoverAllProviders": {
18015
+ capName: "device-manager",
18016
+ capScope: "system",
18017
+ addonId: null,
18018
+ access: "create"
18019
+ },
17982
18020
  "deviceManager.discoverDevices": {
17983
18021
  capName: "device-manager",
17984
18022
  capScope: "system",
17985
18023
  addonId: null,
17986
18024
  access: "create"
17987
18025
  },
18026
+ "deviceManager.discoverProvider": {
18027
+ capName: "device-manager",
18028
+ capScope: "system",
18029
+ addonId: null,
18030
+ access: "create"
18031
+ },
18032
+ "deviceManager.discoveryProviders": {
18033
+ capName: "device-manager",
18034
+ capScope: "system",
18035
+ addonId: null,
18036
+ access: "view"
18037
+ },
17988
18038
  "deviceManager.enable": {
17989
18039
  capName: "device-manager",
17990
18040
  capScope: "system",
@@ -18135,6 +18185,18 @@ Object.freeze({
18135
18185
  addonId: null,
18136
18186
  access: "create"
18137
18187
  },
18188
+ "deviceManager.providerCreationType": {
18189
+ capName: "device-manager",
18190
+ capScope: "system",
18191
+ addonId: null,
18192
+ access: "view"
18193
+ },
18194
+ "deviceManager.providerDiscoveryParamsSchema": {
18195
+ capName: "device-manager",
18196
+ capScope: "system",
18197
+ addonId: null,
18198
+ access: "view"
18199
+ },
18138
18200
  "deviceManager.registerDevice": {
18139
18201
  capName: "device-manager",
18140
18202
  capScope: "system",
@@ -18351,6 +18413,18 @@ Object.freeze({
18351
18413
  addonId: null,
18352
18414
  access: "view"
18353
18415
  },
18416
+ "deviceProvider.getDiscoveryParamsSchema": {
18417
+ capName: "device-provider",
18418
+ capScope: "system",
18419
+ addonId: null,
18420
+ access: "view"
18421
+ },
18422
+ "deviceProvider.getManualCreationType": {
18423
+ capName: "device-provider",
18424
+ capScope: "system",
18425
+ addonId: null,
18426
+ access: "view"
18427
+ },
18354
18428
  "deviceProvider.getStatus": {
18355
18429
  capName: "device-provider",
18356
18430
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-advanced-notifier",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "Rules-based notification engine for CamStack",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",