@camstack/addon-agent-ui 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
|
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4629
4629
|
return inst;
|
|
4630
4630
|
}
|
|
4631
4631
|
//#endregion
|
|
4632
|
-
//#region ../types/dist/sleep-
|
|
4632
|
+
//#region ../types/dist/sleep-C2M2zF7x.mjs
|
|
4633
4633
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4634
4634
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4635
4635
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -6197,6 +6197,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
6197
6197
|
DeviceType["Switch"] = "switch";
|
|
6198
6198
|
DeviceType["Sensor"] = "sensor";
|
|
6199
6199
|
DeviceType["Thermostat"] = "thermostat";
|
|
6200
|
+
/** Air-conditioner / heat-pump climate device (HVAC) — shares the
|
|
6201
|
+
* `climate-control` cap surface with `Thermostat` but renders a
|
|
6202
|
+
* dedicated AC-appropriate control UI (mode chips, fan speed,
|
|
6203
|
+
* independent vertical/horizontal swing). Sources: native Gree, and
|
|
6204
|
+
* reusable by other AC integrations. */
|
|
6205
|
+
DeviceType["Climate"] = "climate";
|
|
6200
6206
|
DeviceType["Button"] = "button";
|
|
6201
6207
|
/** Generic stateless event emitter — carries a device's EXACT declared
|
|
6202
6208
|
* event vocabulary verbatim (no normalization). Installed with the
|
|
@@ -8360,7 +8366,7 @@ object({
|
|
|
8360
8366
|
/** Ms epoch when the slice was last updated (push or command). */
|
|
8361
8367
|
lastFetchedAt: number()
|
|
8362
8368
|
});
|
|
8363
|
-
DeviceType.Thermostat, method(object({
|
|
8369
|
+
DeviceType.Thermostat, DeviceType.Climate, method(object({
|
|
8364
8370
|
deviceId: number().int().nonnegative(),
|
|
8365
8371
|
mode: HvacModeSchema
|
|
8366
8372
|
}), _void(), {
|
|
@@ -11045,10 +11051,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
11045
11051
|
id: string(),
|
|
11046
11052
|
name: string(),
|
|
11047
11053
|
type: string()
|
|
11048
|
-
}))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
|
|
11054
|
+
}))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
11049
11055
|
kind: "mutation",
|
|
11050
11056
|
auth: "admin"
|
|
11051
|
-
}), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11057
|
+
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11052
11058
|
kind: "mutation",
|
|
11053
11059
|
auth: "admin"
|
|
11054
11060
|
}), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
|
|
@@ -12769,7 +12775,10 @@ method(object({
|
|
|
12769
12775
|
}), FieldProbeResultSchema, {
|
|
12770
12776
|
kind: "mutation",
|
|
12771
12777
|
auth: "admin"
|
|
12772
|
-
}), method(
|
|
12778
|
+
}), method(object({
|
|
12779
|
+
addonId: string(),
|
|
12780
|
+
integrationId: string()
|
|
12781
|
+
}), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
|
|
12773
12782
|
addonId: string(),
|
|
12774
12783
|
integrationId: string()
|
|
12775
12784
|
}), AdoptionStatusSchema, {
|
|
@@ -12784,7 +12793,24 @@ method(object({
|
|
|
12784
12793
|
}), method(ResyncInputSchema, ResyncResultSchema, {
|
|
12785
12794
|
kind: "mutation",
|
|
12786
12795
|
auth: "admin"
|
|
12796
|
+
}), method(object({}), object({ providers: array(object({
|
|
12797
|
+
addonId: string(),
|
|
12798
|
+
label: string()
|
|
12799
|
+
})).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
|
|
12800
|
+
addonId: string(),
|
|
12801
|
+
label: string(),
|
|
12802
|
+
candidates: array(DiscoveryCandidateSchema).readonly(),
|
|
12803
|
+
error: string().nullable()
|
|
12804
|
+
})).readonly() }), {
|
|
12805
|
+
kind: "mutation",
|
|
12806
|
+
auth: "admin"
|
|
12787
12807
|
}), method(object({
|
|
12808
|
+
addonId: string(),
|
|
12809
|
+
params: record(string(), unknown()).optional()
|
|
12810
|
+
}), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
|
|
12811
|
+
kind: "mutation",
|
|
12812
|
+
auth: "admin"
|
|
12813
|
+
}), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
|
|
12788
12814
|
deviceId: number(),
|
|
12789
12815
|
key: string(),
|
|
12790
12816
|
value: unknown()
|
|
@@ -17907,6 +17933,12 @@ Object.freeze({
|
|
|
17907
17933
|
addonId: null,
|
|
17908
17934
|
access: "create"
|
|
17909
17935
|
},
|
|
17936
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
17937
|
+
capName: "device-manager",
|
|
17938
|
+
capScope: "system",
|
|
17939
|
+
addonId: null,
|
|
17940
|
+
access: "view"
|
|
17941
|
+
},
|
|
17910
17942
|
"deviceManager.adoptionListCandidates": {
|
|
17911
17943
|
capName: "device-manager",
|
|
17912
17944
|
capScope: "system",
|
|
@@ -17955,12 +17987,30 @@ Object.freeze({
|
|
|
17955
17987
|
addonId: null,
|
|
17956
17988
|
access: "create"
|
|
17957
17989
|
},
|
|
17990
|
+
"deviceManager.discoverAllProviders": {
|
|
17991
|
+
capName: "device-manager",
|
|
17992
|
+
capScope: "system",
|
|
17993
|
+
addonId: null,
|
|
17994
|
+
access: "create"
|
|
17995
|
+
},
|
|
17958
17996
|
"deviceManager.discoverDevices": {
|
|
17959
17997
|
capName: "device-manager",
|
|
17960
17998
|
capScope: "system",
|
|
17961
17999
|
addonId: null,
|
|
17962
18000
|
access: "create"
|
|
17963
18001
|
},
|
|
18002
|
+
"deviceManager.discoverProvider": {
|
|
18003
|
+
capName: "device-manager",
|
|
18004
|
+
capScope: "system",
|
|
18005
|
+
addonId: null,
|
|
18006
|
+
access: "create"
|
|
18007
|
+
},
|
|
18008
|
+
"deviceManager.discoveryProviders": {
|
|
18009
|
+
capName: "device-manager",
|
|
18010
|
+
capScope: "system",
|
|
18011
|
+
addonId: null,
|
|
18012
|
+
access: "view"
|
|
18013
|
+
},
|
|
17964
18014
|
"deviceManager.enable": {
|
|
17965
18015
|
capName: "device-manager",
|
|
17966
18016
|
capScope: "system",
|
|
@@ -18111,6 +18161,18 @@ Object.freeze({
|
|
|
18111
18161
|
addonId: null,
|
|
18112
18162
|
access: "create"
|
|
18113
18163
|
},
|
|
18164
|
+
"deviceManager.providerCreationType": {
|
|
18165
|
+
capName: "device-manager",
|
|
18166
|
+
capScope: "system",
|
|
18167
|
+
addonId: null,
|
|
18168
|
+
access: "view"
|
|
18169
|
+
},
|
|
18170
|
+
"deviceManager.providerDiscoveryParamsSchema": {
|
|
18171
|
+
capName: "device-manager",
|
|
18172
|
+
capScope: "system",
|
|
18173
|
+
addonId: null,
|
|
18174
|
+
access: "view"
|
|
18175
|
+
},
|
|
18114
18176
|
"deviceManager.registerDevice": {
|
|
18115
18177
|
capName: "device-manager",
|
|
18116
18178
|
capScope: "system",
|
|
@@ -18327,6 +18389,18 @@ Object.freeze({
|
|
|
18327
18389
|
addonId: null,
|
|
18328
18390
|
access: "view"
|
|
18329
18391
|
},
|
|
18392
|
+
"deviceProvider.getDiscoveryParamsSchema": {
|
|
18393
|
+
capName: "device-provider",
|
|
18394
|
+
capScope: "system",
|
|
18395
|
+
addonId: null,
|
|
18396
|
+
access: "view"
|
|
18397
|
+
},
|
|
18398
|
+
"deviceProvider.getManualCreationType": {
|
|
18399
|
+
capName: "device-provider",
|
|
18400
|
+
capScope: "system",
|
|
18401
|
+
addonId: null,
|
|
18402
|
+
access: "view"
|
|
18403
|
+
},
|
|
18330
18404
|
"deviceProvider.getStatus": {
|
|
18331
18405
|
capName: "device-provider",
|
|
18332
18406
|
capScope: "system",
|
|
@@ -21185,7 +21259,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
21185
21259
|
capability: adminUiCapability,
|
|
21186
21260
|
provider: {
|
|
21187
21261
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
21188
|
-
getVersion: async () => ({ version: "1.1.
|
|
21262
|
+
getVersion: async () => ({ version: "1.1.12" })
|
|
21189
21263
|
}
|
|
21190
21264
|
}];
|
|
21191
21265
|
}
|