@camstack/addon-static-turn 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/static-turn.addon.js +79 -5
- package/dist/static-turn.addon.mjs +79 -5
- package/package.json +1 -1
|
@@ -4628,7 +4628,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4628
4628
|
return inst;
|
|
4629
4629
|
}
|
|
4630
4630
|
//#endregion
|
|
4631
|
-
//#region ../types/dist/sleep-
|
|
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(
|
|
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()
|
|
@@ -17920,6 +17946,12 @@ Object.freeze({
|
|
|
17920
17946
|
addonId: null,
|
|
17921
17947
|
access: "create"
|
|
17922
17948
|
},
|
|
17949
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
17950
|
+
capName: "device-manager",
|
|
17951
|
+
capScope: "system",
|
|
17952
|
+
addonId: null,
|
|
17953
|
+
access: "view"
|
|
17954
|
+
},
|
|
17923
17955
|
"deviceManager.adoptionListCandidates": {
|
|
17924
17956
|
capName: "device-manager",
|
|
17925
17957
|
capScope: "system",
|
|
@@ -17968,12 +18000,30 @@ Object.freeze({
|
|
|
17968
18000
|
addonId: null,
|
|
17969
18001
|
access: "create"
|
|
17970
18002
|
},
|
|
18003
|
+
"deviceManager.discoverAllProviders": {
|
|
18004
|
+
capName: "device-manager",
|
|
18005
|
+
capScope: "system",
|
|
18006
|
+
addonId: null,
|
|
18007
|
+
access: "create"
|
|
18008
|
+
},
|
|
17971
18009
|
"deviceManager.discoverDevices": {
|
|
17972
18010
|
capName: "device-manager",
|
|
17973
18011
|
capScope: "system",
|
|
17974
18012
|
addonId: null,
|
|
17975
18013
|
access: "create"
|
|
17976
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
|
+
},
|
|
17977
18027
|
"deviceManager.enable": {
|
|
17978
18028
|
capName: "device-manager",
|
|
17979
18029
|
capScope: "system",
|
|
@@ -18124,6 +18174,18 @@ Object.freeze({
|
|
|
18124
18174
|
addonId: null,
|
|
18125
18175
|
access: "create"
|
|
18126
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
|
+
},
|
|
18127
18189
|
"deviceManager.registerDevice": {
|
|
18128
18190
|
capName: "device-manager",
|
|
18129
18191
|
capScope: "system",
|
|
@@ -18340,6 +18402,18 @@ Object.freeze({
|
|
|
18340
18402
|
addonId: null,
|
|
18341
18403
|
access: "view"
|
|
18342
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
|
+
},
|
|
18343
18417
|
"deviceProvider.getStatus": {
|
|
18344
18418
|
capName: "device-provider",
|
|
18345
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-
|
|
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(
|
|
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()
|
|
@@ -17919,6 +17945,12 @@ Object.freeze({
|
|
|
17919
17945
|
addonId: null,
|
|
17920
17946
|
access: "create"
|
|
17921
17947
|
},
|
|
17948
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
17949
|
+
capName: "device-manager",
|
|
17950
|
+
capScope: "system",
|
|
17951
|
+
addonId: null,
|
|
17952
|
+
access: "view"
|
|
17953
|
+
},
|
|
17922
17954
|
"deviceManager.adoptionListCandidates": {
|
|
17923
17955
|
capName: "device-manager",
|
|
17924
17956
|
capScope: "system",
|
|
@@ -17967,12 +17999,30 @@ Object.freeze({
|
|
|
17967
17999
|
addonId: null,
|
|
17968
18000
|
access: "create"
|
|
17969
18001
|
},
|
|
18002
|
+
"deviceManager.discoverAllProviders": {
|
|
18003
|
+
capName: "device-manager",
|
|
18004
|
+
capScope: "system",
|
|
18005
|
+
addonId: null,
|
|
18006
|
+
access: "create"
|
|
18007
|
+
},
|
|
17970
18008
|
"deviceManager.discoverDevices": {
|
|
17971
18009
|
capName: "device-manager",
|
|
17972
18010
|
capScope: "system",
|
|
17973
18011
|
addonId: null,
|
|
17974
18012
|
access: "create"
|
|
17975
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
|
+
},
|
|
17976
18026
|
"deviceManager.enable": {
|
|
17977
18027
|
capName: "device-manager",
|
|
17978
18028
|
capScope: "system",
|
|
@@ -18123,6 +18173,18 @@ Object.freeze({
|
|
|
18123
18173
|
addonId: null,
|
|
18124
18174
|
access: "create"
|
|
18125
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
|
+
},
|
|
18126
18188
|
"deviceManager.registerDevice": {
|
|
18127
18189
|
capName: "device-manager",
|
|
18128
18190
|
capScope: "system",
|
|
@@ -18339,6 +18401,18 @@ Object.freeze({
|
|
|
18339
18401
|
addonId: null,
|
|
18340
18402
|
access: "view"
|
|
18341
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
|
+
},
|
|
18342
18416
|
"deviceProvider.getStatus": {
|
|
18343
18417
|
capName: "device-provider",
|
|
18344
18418
|
capScope: "system",
|