@camstack/addon-import-alexa 0.2.128 → 0.2.129
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 +87 -3
- package/dist/addon.mjs +87 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5577,7 +5577,7 @@ var ZodIssueCode = {
|
|
|
5577
5577
|
var ZodFirstPartyTypeKind;
|
|
5578
5578
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5579
5579
|
//#endregion
|
|
5580
|
-
//#region ../types/dist/sleep-
|
|
5580
|
+
//#region ../types/dist/sleep-BegKjwUu.mjs
|
|
5581
5581
|
/**
|
|
5582
5582
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5583
5583
|
* window to float samples (D455).
|
|
@@ -18106,7 +18106,11 @@ var deviceDiscoveryCapability = {
|
|
|
18106
18106
|
};
|
|
18107
18107
|
/**
|
|
18108
18108
|
* `device-adoption` — generic discovery + adoption surface,
|
|
18109
|
-
* system-scoped
|
|
18109
|
+
* system-scoped collection (one provider per integration addon), routed
|
|
18110
|
+
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
18111
|
+
* pin model as `connection-test`. The admin UI keeps using
|
|
18112
|
+
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
18113
|
+
* successor to `ha-discovery`:
|
|
18110
18114
|
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
18111
18115
|
* internally) rather than a connection-specific `brokerId`, and it
|
|
18112
18116
|
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
@@ -18271,7 +18275,7 @@ var ResyncResultSchema = object({
|
|
|
18271
18275
|
var deviceAdoptionCapability = {
|
|
18272
18276
|
name: "device-adoption",
|
|
18273
18277
|
scope: "system",
|
|
18274
|
-
mode: "
|
|
18278
|
+
mode: "collection",
|
|
18275
18279
|
status: {
|
|
18276
18280
|
schema: AdoptionStatusSchema,
|
|
18277
18281
|
kind: "poll"
|
|
@@ -55837,6 +55841,14 @@ var DishwasherStatusSchema = object({
|
|
|
55837
55841
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55838
55842
|
halfLoad: boolean(),
|
|
55839
55843
|
hygienePlus: boolean(),
|
|
55844
|
+
/** Extra dry option when the appliance exposes it. */
|
|
55845
|
+
extraDry: boolean(),
|
|
55846
|
+
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
55847
|
+
intensiveZone: boolean(),
|
|
55848
|
+
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
55849
|
+
varioSpeedPlus: boolean(),
|
|
55850
|
+
/** Child lock (controls disabled on the appliance). */
|
|
55851
|
+
childLock: boolean(),
|
|
55840
55852
|
errorCode: number().nullable(),
|
|
55841
55853
|
errorLabel: string().nullable(),
|
|
55842
55854
|
lastFetchedAt: number()
|
|
@@ -55888,6 +55900,34 @@ var dishwasherCapability = {
|
|
|
55888
55900
|
kind: "mutation",
|
|
55889
55901
|
auth: "protected"
|
|
55890
55902
|
}),
|
|
55903
|
+
setExtraDry: method(object({
|
|
55904
|
+
deviceId: number().int().nonnegative(),
|
|
55905
|
+
on: boolean()
|
|
55906
|
+
}), _void(), {
|
|
55907
|
+
kind: "mutation",
|
|
55908
|
+
auth: "protected"
|
|
55909
|
+
}),
|
|
55910
|
+
setIntensiveZone: method(object({
|
|
55911
|
+
deviceId: number().int().nonnegative(),
|
|
55912
|
+
on: boolean()
|
|
55913
|
+
}), _void(), {
|
|
55914
|
+
kind: "mutation",
|
|
55915
|
+
auth: "protected"
|
|
55916
|
+
}),
|
|
55917
|
+
setVarioSpeedPlus: method(object({
|
|
55918
|
+
deviceId: number().int().nonnegative(),
|
|
55919
|
+
on: boolean()
|
|
55920
|
+
}), _void(), {
|
|
55921
|
+
kind: "mutation",
|
|
55922
|
+
auth: "protected"
|
|
55923
|
+
}),
|
|
55924
|
+
setChildLock: method(object({
|
|
55925
|
+
deviceId: number().int().nonnegative(),
|
|
55926
|
+
on: boolean()
|
|
55927
|
+
}), _void(), {
|
|
55928
|
+
kind: "mutation",
|
|
55929
|
+
auth: "protected"
|
|
55930
|
+
}),
|
|
55891
55931
|
setOption: method(object({
|
|
55892
55932
|
deviceId: number().int().nonnegative(),
|
|
55893
55933
|
key: string().min(1),
|
|
@@ -69860,6 +69900,18 @@ Object.freeze({
|
|
|
69860
69900
|
addonId: null,
|
|
69861
69901
|
access: "create"
|
|
69862
69902
|
},
|
|
69903
|
+
"dishwasher.setChildLock": {
|
|
69904
|
+
capName: "dishwasher",
|
|
69905
|
+
capScope: "device",
|
|
69906
|
+
addonId: null,
|
|
69907
|
+
access: "create"
|
|
69908
|
+
},
|
|
69909
|
+
"dishwasher.setExtraDry": {
|
|
69910
|
+
capName: "dishwasher",
|
|
69911
|
+
capScope: "device",
|
|
69912
|
+
addonId: null,
|
|
69913
|
+
access: "create"
|
|
69914
|
+
},
|
|
69863
69915
|
"dishwasher.setHalfLoad": {
|
|
69864
69916
|
capName: "dishwasher",
|
|
69865
69917
|
capScope: "device",
|
|
@@ -69872,6 +69924,12 @@ Object.freeze({
|
|
|
69872
69924
|
addonId: null,
|
|
69873
69925
|
access: "create"
|
|
69874
69926
|
},
|
|
69927
|
+
"dishwasher.setIntensiveZone": {
|
|
69928
|
+
capName: "dishwasher",
|
|
69929
|
+
capScope: "device",
|
|
69930
|
+
addonId: null,
|
|
69931
|
+
access: "create"
|
|
69932
|
+
},
|
|
69875
69933
|
"dishwasher.setOption": {
|
|
69876
69934
|
capName: "dishwasher",
|
|
69877
69935
|
capScope: "device",
|
|
@@ -69890,6 +69948,12 @@ Object.freeze({
|
|
|
69890
69948
|
addonId: null,
|
|
69891
69949
|
access: "create"
|
|
69892
69950
|
},
|
|
69951
|
+
"dishwasher.setVarioSpeedPlus": {
|
|
69952
|
+
capName: "dishwasher",
|
|
69953
|
+
capScope: "device",
|
|
69954
|
+
addonId: null,
|
|
69955
|
+
access: "create"
|
|
69956
|
+
},
|
|
69893
69957
|
"dishwasher.start": {
|
|
69894
69958
|
capName: "dishwasher",
|
|
69895
69959
|
capScope: "device",
|
|
@@ -76539,6 +76603,16 @@ Object.freeze({
|
|
|
76539
76603
|
form: "single",
|
|
76540
76604
|
optional: false
|
|
76541
76605
|
}],
|
|
76606
|
+
"dishwasher.setChildLock": [{
|
|
76607
|
+
name: "deviceId",
|
|
76608
|
+
form: "single",
|
|
76609
|
+
optional: false
|
|
76610
|
+
}],
|
|
76611
|
+
"dishwasher.setExtraDry": [{
|
|
76612
|
+
name: "deviceId",
|
|
76613
|
+
form: "single",
|
|
76614
|
+
optional: false
|
|
76615
|
+
}],
|
|
76542
76616
|
"dishwasher.setHalfLoad": [{
|
|
76543
76617
|
name: "deviceId",
|
|
76544
76618
|
form: "single",
|
|
@@ -76549,6 +76623,11 @@ Object.freeze({
|
|
|
76549
76623
|
form: "single",
|
|
76550
76624
|
optional: false
|
|
76551
76625
|
}],
|
|
76626
|
+
"dishwasher.setIntensiveZone": [{
|
|
76627
|
+
name: "deviceId",
|
|
76628
|
+
form: "single",
|
|
76629
|
+
optional: false
|
|
76630
|
+
}],
|
|
76552
76631
|
"dishwasher.setOption": [{
|
|
76553
76632
|
name: "deviceId",
|
|
76554
76633
|
form: "single",
|
|
@@ -76564,6 +76643,11 @@ Object.freeze({
|
|
|
76564
76643
|
form: "single",
|
|
76565
76644
|
optional: false
|
|
76566
76645
|
}],
|
|
76646
|
+
"dishwasher.setVarioSpeedPlus": [{
|
|
76647
|
+
name: "deviceId",
|
|
76648
|
+
form: "single",
|
|
76649
|
+
optional: false
|
|
76650
|
+
}],
|
|
76567
76651
|
"dishwasher.start": [{
|
|
76568
76652
|
name: "deviceId",
|
|
76569
76653
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5577,7 +5577,7 @@ var ZodIssueCode = {
|
|
|
5577
5577
|
var ZodFirstPartyTypeKind;
|
|
5578
5578
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5579
5579
|
//#endregion
|
|
5580
|
-
//#region ../types/dist/sleep-
|
|
5580
|
+
//#region ../types/dist/sleep-BegKjwUu.mjs
|
|
5581
5581
|
/**
|
|
5582
5582
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5583
5583
|
* window to float samples (D455).
|
|
@@ -18106,7 +18106,11 @@ var deviceDiscoveryCapability = {
|
|
|
18106
18106
|
};
|
|
18107
18107
|
/**
|
|
18108
18108
|
* `device-adoption` — generic discovery + adoption surface,
|
|
18109
|
-
* system-scoped
|
|
18109
|
+
* system-scoped collection (one provider per integration addon), routed
|
|
18110
|
+
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
18111
|
+
* pin model as `connection-test`. The admin UI keeps using
|
|
18112
|
+
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
18113
|
+
* successor to `ha-discovery`:
|
|
18110
18114
|
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
18111
18115
|
* internally) rather than a connection-specific `brokerId`, and it
|
|
18112
18116
|
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
@@ -18271,7 +18275,7 @@ var ResyncResultSchema = object({
|
|
|
18271
18275
|
var deviceAdoptionCapability = {
|
|
18272
18276
|
name: "device-adoption",
|
|
18273
18277
|
scope: "system",
|
|
18274
|
-
mode: "
|
|
18278
|
+
mode: "collection",
|
|
18275
18279
|
status: {
|
|
18276
18280
|
schema: AdoptionStatusSchema,
|
|
18277
18281
|
kind: "poll"
|
|
@@ -55837,6 +55841,14 @@ var DishwasherStatusSchema = object({
|
|
|
55837
55841
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55838
55842
|
halfLoad: boolean(),
|
|
55839
55843
|
hygienePlus: boolean(),
|
|
55844
|
+
/** Extra dry option when the appliance exposes it. */
|
|
55845
|
+
extraDry: boolean(),
|
|
55846
|
+
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
55847
|
+
intensiveZone: boolean(),
|
|
55848
|
+
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
55849
|
+
varioSpeedPlus: boolean(),
|
|
55850
|
+
/** Child lock (controls disabled on the appliance). */
|
|
55851
|
+
childLock: boolean(),
|
|
55840
55852
|
errorCode: number().nullable(),
|
|
55841
55853
|
errorLabel: string().nullable(),
|
|
55842
55854
|
lastFetchedAt: number()
|
|
@@ -55888,6 +55900,34 @@ var dishwasherCapability = {
|
|
|
55888
55900
|
kind: "mutation",
|
|
55889
55901
|
auth: "protected"
|
|
55890
55902
|
}),
|
|
55903
|
+
setExtraDry: method(object({
|
|
55904
|
+
deviceId: number().int().nonnegative(),
|
|
55905
|
+
on: boolean()
|
|
55906
|
+
}), _void(), {
|
|
55907
|
+
kind: "mutation",
|
|
55908
|
+
auth: "protected"
|
|
55909
|
+
}),
|
|
55910
|
+
setIntensiveZone: method(object({
|
|
55911
|
+
deviceId: number().int().nonnegative(),
|
|
55912
|
+
on: boolean()
|
|
55913
|
+
}), _void(), {
|
|
55914
|
+
kind: "mutation",
|
|
55915
|
+
auth: "protected"
|
|
55916
|
+
}),
|
|
55917
|
+
setVarioSpeedPlus: method(object({
|
|
55918
|
+
deviceId: number().int().nonnegative(),
|
|
55919
|
+
on: boolean()
|
|
55920
|
+
}), _void(), {
|
|
55921
|
+
kind: "mutation",
|
|
55922
|
+
auth: "protected"
|
|
55923
|
+
}),
|
|
55924
|
+
setChildLock: method(object({
|
|
55925
|
+
deviceId: number().int().nonnegative(),
|
|
55926
|
+
on: boolean()
|
|
55927
|
+
}), _void(), {
|
|
55928
|
+
kind: "mutation",
|
|
55929
|
+
auth: "protected"
|
|
55930
|
+
}),
|
|
55891
55931
|
setOption: method(object({
|
|
55892
55932
|
deviceId: number().int().nonnegative(),
|
|
55893
55933
|
key: string().min(1),
|
|
@@ -69860,6 +69900,18 @@ Object.freeze({
|
|
|
69860
69900
|
addonId: null,
|
|
69861
69901
|
access: "create"
|
|
69862
69902
|
},
|
|
69903
|
+
"dishwasher.setChildLock": {
|
|
69904
|
+
capName: "dishwasher",
|
|
69905
|
+
capScope: "device",
|
|
69906
|
+
addonId: null,
|
|
69907
|
+
access: "create"
|
|
69908
|
+
},
|
|
69909
|
+
"dishwasher.setExtraDry": {
|
|
69910
|
+
capName: "dishwasher",
|
|
69911
|
+
capScope: "device",
|
|
69912
|
+
addonId: null,
|
|
69913
|
+
access: "create"
|
|
69914
|
+
},
|
|
69863
69915
|
"dishwasher.setHalfLoad": {
|
|
69864
69916
|
capName: "dishwasher",
|
|
69865
69917
|
capScope: "device",
|
|
@@ -69872,6 +69924,12 @@ Object.freeze({
|
|
|
69872
69924
|
addonId: null,
|
|
69873
69925
|
access: "create"
|
|
69874
69926
|
},
|
|
69927
|
+
"dishwasher.setIntensiveZone": {
|
|
69928
|
+
capName: "dishwasher",
|
|
69929
|
+
capScope: "device",
|
|
69930
|
+
addonId: null,
|
|
69931
|
+
access: "create"
|
|
69932
|
+
},
|
|
69875
69933
|
"dishwasher.setOption": {
|
|
69876
69934
|
capName: "dishwasher",
|
|
69877
69935
|
capScope: "device",
|
|
@@ -69890,6 +69948,12 @@ Object.freeze({
|
|
|
69890
69948
|
addonId: null,
|
|
69891
69949
|
access: "create"
|
|
69892
69950
|
},
|
|
69951
|
+
"dishwasher.setVarioSpeedPlus": {
|
|
69952
|
+
capName: "dishwasher",
|
|
69953
|
+
capScope: "device",
|
|
69954
|
+
addonId: null,
|
|
69955
|
+
access: "create"
|
|
69956
|
+
},
|
|
69893
69957
|
"dishwasher.start": {
|
|
69894
69958
|
capName: "dishwasher",
|
|
69895
69959
|
capScope: "device",
|
|
@@ -76539,6 +76603,16 @@ Object.freeze({
|
|
|
76539
76603
|
form: "single",
|
|
76540
76604
|
optional: false
|
|
76541
76605
|
}],
|
|
76606
|
+
"dishwasher.setChildLock": [{
|
|
76607
|
+
name: "deviceId",
|
|
76608
|
+
form: "single",
|
|
76609
|
+
optional: false
|
|
76610
|
+
}],
|
|
76611
|
+
"dishwasher.setExtraDry": [{
|
|
76612
|
+
name: "deviceId",
|
|
76613
|
+
form: "single",
|
|
76614
|
+
optional: false
|
|
76615
|
+
}],
|
|
76542
76616
|
"dishwasher.setHalfLoad": [{
|
|
76543
76617
|
name: "deviceId",
|
|
76544
76618
|
form: "single",
|
|
@@ -76549,6 +76623,11 @@ Object.freeze({
|
|
|
76549
76623
|
form: "single",
|
|
76550
76624
|
optional: false
|
|
76551
76625
|
}],
|
|
76626
|
+
"dishwasher.setIntensiveZone": [{
|
|
76627
|
+
name: "deviceId",
|
|
76628
|
+
form: "single",
|
|
76629
|
+
optional: false
|
|
76630
|
+
}],
|
|
76552
76631
|
"dishwasher.setOption": [{
|
|
76553
76632
|
name: "deviceId",
|
|
76554
76633
|
form: "single",
|
|
@@ -76564,6 +76643,11 @@ Object.freeze({
|
|
|
76564
76643
|
form: "single",
|
|
76565
76644
|
optional: false
|
|
76566
76645
|
}],
|
|
76646
|
+
"dishwasher.setVarioSpeedPlus": [{
|
|
76647
|
+
name: "deviceId",
|
|
76648
|
+
form: "single",
|
|
76649
|
+
optional: false
|
|
76650
|
+
}],
|
|
76567
76651
|
"dishwasher.start": [{
|
|
76568
76652
|
name: "deviceId",
|
|
76569
76653
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.129",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|