@camstack/addon-export-alexa 1.2.112 → 1.2.113
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.
|
@@ -13594,6 +13594,43 @@ var deviceExportCapability = {
|
|
|
13594
13594
|
unexposeDevice: method(UnexposeInputSchema, _void(), { kind: "mutation" })
|
|
13595
13595
|
}
|
|
13596
13596
|
};
|
|
13597
|
+
/** Wire/storage schema for one icon id. */
|
|
13598
|
+
var LocationIconIdSchema = _enum([
|
|
13599
|
+
"map-pin",
|
|
13600
|
+
"house",
|
|
13601
|
+
"door-open",
|
|
13602
|
+
"sofa",
|
|
13603
|
+
"utensils",
|
|
13604
|
+
"bed-double",
|
|
13605
|
+
"bath",
|
|
13606
|
+
"briefcase",
|
|
13607
|
+
"car",
|
|
13608
|
+
"circle-parking",
|
|
13609
|
+
"route",
|
|
13610
|
+
"trees",
|
|
13611
|
+
"umbrella",
|
|
13612
|
+
"waves-ladder",
|
|
13613
|
+
"fence",
|
|
13614
|
+
"package",
|
|
13615
|
+
"warehouse",
|
|
13616
|
+
"store",
|
|
13617
|
+
"sun",
|
|
13618
|
+
"radar"
|
|
13619
|
+
]);
|
|
13620
|
+
/**
|
|
13621
|
+
* One (location, icon) assignment as it travels.
|
|
13622
|
+
*
|
|
13623
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13624
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13625
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13626
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13627
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13628
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13629
|
+
*/
|
|
13630
|
+
var LocationIconAssignmentSchema = object({
|
|
13631
|
+
locationKey: string(),
|
|
13632
|
+
icon: LocationIconIdSchema
|
|
13633
|
+
});
|
|
13597
13634
|
var ProviderStatusSchema = object({
|
|
13598
13635
|
connected: boolean(),
|
|
13599
13636
|
deviceCount: number(),
|
|
@@ -14105,6 +14142,12 @@ method(object({
|
|
|
14105
14142
|
}), object({ moved: number() }), {
|
|
14106
14143
|
kind: "mutation",
|
|
14107
14144
|
auth: "admin"
|
|
14145
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14146
|
+
location: string(),
|
|
14147
|
+
icon: LocationIconIdSchema.nullable()
|
|
14148
|
+
}), _void(), {
|
|
14149
|
+
kind: "mutation",
|
|
14150
|
+
auth: "admin"
|
|
14108
14151
|
}), method(object({
|
|
14109
14152
|
deviceId: number(),
|
|
14110
14153
|
disabled: boolean()
|
|
@@ -32944,6 +32987,12 @@ Object.freeze({
|
|
|
32944
32987
|
addonId: null,
|
|
32945
32988
|
access: "view"
|
|
32946
32989
|
},
|
|
32990
|
+
"deviceManager.listLocationIcons": {
|
|
32991
|
+
capName: "device-manager",
|
|
32992
|
+
capScope: "system",
|
|
32993
|
+
addonId: null,
|
|
32994
|
+
access: "view"
|
|
32995
|
+
},
|
|
32947
32996
|
"deviceManager.listLocations": {
|
|
32948
32997
|
capName: "device-manager",
|
|
32949
32998
|
capScope: "system",
|
|
@@ -33088,6 +33137,12 @@ Object.freeze({
|
|
|
33088
33137
|
addonId: null,
|
|
33089
33138
|
access: "create"
|
|
33090
33139
|
},
|
|
33140
|
+
"deviceManager.setLocationIcon": {
|
|
33141
|
+
capName: "device-manager",
|
|
33142
|
+
capScope: "system",
|
|
33143
|
+
addonId: null,
|
|
33144
|
+
access: "create"
|
|
33145
|
+
},
|
|
33091
33146
|
"deviceManager.setMetadata": {
|
|
33092
33147
|
capName: "device-manager",
|
|
33093
33148
|
capScope: "system",
|
|
@@ -13567,6 +13567,43 @@ var deviceExportCapability = {
|
|
|
13567
13567
|
unexposeDevice: method(UnexposeInputSchema, _void(), { kind: "mutation" })
|
|
13568
13568
|
}
|
|
13569
13569
|
};
|
|
13570
|
+
/** Wire/storage schema for one icon id. */
|
|
13571
|
+
var LocationIconIdSchema = _enum([
|
|
13572
|
+
"map-pin",
|
|
13573
|
+
"house",
|
|
13574
|
+
"door-open",
|
|
13575
|
+
"sofa",
|
|
13576
|
+
"utensils",
|
|
13577
|
+
"bed-double",
|
|
13578
|
+
"bath",
|
|
13579
|
+
"briefcase",
|
|
13580
|
+
"car",
|
|
13581
|
+
"circle-parking",
|
|
13582
|
+
"route",
|
|
13583
|
+
"trees",
|
|
13584
|
+
"umbrella",
|
|
13585
|
+
"waves-ladder",
|
|
13586
|
+
"fence",
|
|
13587
|
+
"package",
|
|
13588
|
+
"warehouse",
|
|
13589
|
+
"store",
|
|
13590
|
+
"sun",
|
|
13591
|
+
"radar"
|
|
13592
|
+
]);
|
|
13593
|
+
/**
|
|
13594
|
+
* One (location, icon) assignment as it travels.
|
|
13595
|
+
*
|
|
13596
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13597
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13598
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13599
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13600
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13601
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13602
|
+
*/
|
|
13603
|
+
var LocationIconAssignmentSchema = object({
|
|
13604
|
+
locationKey: string(),
|
|
13605
|
+
icon: LocationIconIdSchema
|
|
13606
|
+
});
|
|
13570
13607
|
var ProviderStatusSchema = object({
|
|
13571
13608
|
connected: boolean(),
|
|
13572
13609
|
deviceCount: number(),
|
|
@@ -14078,6 +14115,12 @@ method(object({
|
|
|
14078
14115
|
}), object({ moved: number() }), {
|
|
14079
14116
|
kind: "mutation",
|
|
14080
14117
|
auth: "admin"
|
|
14118
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14119
|
+
location: string(),
|
|
14120
|
+
icon: LocationIconIdSchema.nullable()
|
|
14121
|
+
}), _void(), {
|
|
14122
|
+
kind: "mutation",
|
|
14123
|
+
auth: "admin"
|
|
14081
14124
|
}), method(object({
|
|
14082
14125
|
deviceId: number(),
|
|
14083
14126
|
disabled: boolean()
|
|
@@ -32917,6 +32960,12 @@ Object.freeze({
|
|
|
32917
32960
|
addonId: null,
|
|
32918
32961
|
access: "view"
|
|
32919
32962
|
},
|
|
32963
|
+
"deviceManager.listLocationIcons": {
|
|
32964
|
+
capName: "device-manager",
|
|
32965
|
+
capScope: "system",
|
|
32966
|
+
addonId: null,
|
|
32967
|
+
access: "view"
|
|
32968
|
+
},
|
|
32920
32969
|
"deviceManager.listLocations": {
|
|
32921
32970
|
capName: "device-manager",
|
|
32922
32971
|
capScope: "system",
|
|
@@ -33061,6 +33110,12 @@ Object.freeze({
|
|
|
33061
33110
|
addonId: null,
|
|
33062
33111
|
access: "create"
|
|
33063
33112
|
},
|
|
33113
|
+
"deviceManager.setLocationIcon": {
|
|
33114
|
+
capName: "device-manager",
|
|
33115
|
+
capScope: "system",
|
|
33116
|
+
addonId: null,
|
|
33117
|
+
access: "create"
|
|
33118
|
+
},
|
|
33064
33119
|
"deviceManager.setMetadata": {
|
|
33065
33120
|
capName: "device-manager",
|
|
33066
33121
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.113",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|