@camstack/addon-export-alexa 1.1.9 → 1.1.11
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.
|
@@ -4655,7 +4655,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4655
4655
|
return inst;
|
|
4656
4656
|
}
|
|
4657
4657
|
//#endregion
|
|
4658
|
-
//#region ../types/dist/sleep-
|
|
4658
|
+
//#region ../types/dist/sleep-C2M2zF7x.mjs
|
|
4659
4659
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4660
4660
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4661
4661
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -6234,6 +6234,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
6234
6234
|
DeviceType["Switch"] = "switch";
|
|
6235
6235
|
DeviceType["Sensor"] = "sensor";
|
|
6236
6236
|
DeviceType["Thermostat"] = "thermostat";
|
|
6237
|
+
/** Air-conditioner / heat-pump climate device (HVAC) — shares the
|
|
6238
|
+
* `climate-control` cap surface with `Thermostat` but renders a
|
|
6239
|
+
* dedicated AC-appropriate control UI (mode chips, fan speed,
|
|
6240
|
+
* independent vertical/horizontal swing). Sources: native Gree, and
|
|
6241
|
+
* reusable by other AC integrations. */
|
|
6242
|
+
DeviceType["Climate"] = "climate";
|
|
6237
6243
|
DeviceType["Button"] = "button";
|
|
6238
6244
|
/** Generic stateless event emitter — carries a device's EXACT declared
|
|
6239
6245
|
* event vocabulary verbatim (no normalization). Installed with the
|
|
@@ -8571,7 +8577,7 @@ object({
|
|
|
8571
8577
|
/** Ms epoch when the slice was last updated (push or command). */
|
|
8572
8578
|
lastFetchedAt: number()
|
|
8573
8579
|
});
|
|
8574
|
-
DeviceType.Thermostat, method(object({
|
|
8580
|
+
DeviceType.Thermostat, DeviceType.Climate, method(object({
|
|
8575
8581
|
deviceId: number().int().nonnegative(),
|
|
8576
8582
|
mode: HvacModeSchema
|
|
8577
8583
|
}), _void(), {
|
|
@@ -11256,10 +11262,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
11256
11262
|
id: string(),
|
|
11257
11263
|
name: string(),
|
|
11258
11264
|
type: string()
|
|
11259
|
-
}))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
|
|
11265
|
+
}))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
11260
11266
|
kind: "mutation",
|
|
11261
11267
|
auth: "admin"
|
|
11262
|
-
}), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11268
|
+
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11263
11269
|
kind: "mutation",
|
|
11264
11270
|
auth: "admin"
|
|
11265
11271
|
}), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
|
|
@@ -13045,7 +13051,10 @@ method(object({
|
|
|
13045
13051
|
}), FieldProbeResultSchema, {
|
|
13046
13052
|
kind: "mutation",
|
|
13047
13053
|
auth: "admin"
|
|
13048
|
-
}), method(
|
|
13054
|
+
}), method(object({
|
|
13055
|
+
addonId: string(),
|
|
13056
|
+
integrationId: string()
|
|
13057
|
+
}), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
|
|
13049
13058
|
addonId: string(),
|
|
13050
13059
|
integrationId: string()
|
|
13051
13060
|
}), AdoptionStatusSchema, {
|
|
@@ -13060,7 +13069,24 @@ method(object({
|
|
|
13060
13069
|
}), method(ResyncInputSchema, ResyncResultSchema, {
|
|
13061
13070
|
kind: "mutation",
|
|
13062
13071
|
auth: "admin"
|
|
13072
|
+
}), method(object({}), object({ providers: array(object({
|
|
13073
|
+
addonId: string(),
|
|
13074
|
+
label: string()
|
|
13075
|
+
})).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
|
|
13076
|
+
addonId: string(),
|
|
13077
|
+
label: string(),
|
|
13078
|
+
candidates: array(DiscoveryCandidateSchema).readonly(),
|
|
13079
|
+
error: string().nullable()
|
|
13080
|
+
})).readonly() }), {
|
|
13081
|
+
kind: "mutation",
|
|
13082
|
+
auth: "admin"
|
|
13063
13083
|
}), method(object({
|
|
13084
|
+
addonId: string(),
|
|
13085
|
+
params: record(string(), unknown()).optional()
|
|
13086
|
+
}), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
|
|
13087
|
+
kind: "mutation",
|
|
13088
|
+
auth: "admin"
|
|
13089
|
+
}), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
|
|
13064
13090
|
deviceId: number(),
|
|
13065
13091
|
key: string(),
|
|
13066
13092
|
value: unknown()
|
|
@@ -15718,6 +15744,17 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
15718
15744
|
iconUrl: string().nullable(),
|
|
15719
15745
|
color: string(),
|
|
15720
15746
|
instanceMode: string(),
|
|
15747
|
+
/**
|
|
15748
|
+
* Integration wizard `mode` (LOCKED MODEL): `standalone` (create
|
|
15749
|
+
* immediately then add devices, no config step/button), `account` (config
|
|
15750
|
+
* step), or `broker` (broker step). Derived server-side by
|
|
15751
|
+
* `getAvailableTypes` when the addon manifest omits an explicit `mode`.
|
|
15752
|
+
*/
|
|
15753
|
+
mode: _enum([
|
|
15754
|
+
"standalone",
|
|
15755
|
+
"account",
|
|
15756
|
+
"broker"
|
|
15757
|
+
]),
|
|
15721
15758
|
discoveryMode: string(),
|
|
15722
15759
|
/**
|
|
15723
15760
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
@@ -18178,6 +18215,12 @@ Object.freeze({
|
|
|
18178
18215
|
addonId: null,
|
|
18179
18216
|
access: "create"
|
|
18180
18217
|
},
|
|
18218
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
18219
|
+
capName: "device-manager",
|
|
18220
|
+
capScope: "system",
|
|
18221
|
+
addonId: null,
|
|
18222
|
+
access: "view"
|
|
18223
|
+
},
|
|
18181
18224
|
"deviceManager.adoptionListCandidates": {
|
|
18182
18225
|
capName: "device-manager",
|
|
18183
18226
|
capScope: "system",
|
|
@@ -18226,12 +18269,30 @@ Object.freeze({
|
|
|
18226
18269
|
addonId: null,
|
|
18227
18270
|
access: "create"
|
|
18228
18271
|
},
|
|
18272
|
+
"deviceManager.discoverAllProviders": {
|
|
18273
|
+
capName: "device-manager",
|
|
18274
|
+
capScope: "system",
|
|
18275
|
+
addonId: null,
|
|
18276
|
+
access: "create"
|
|
18277
|
+
},
|
|
18229
18278
|
"deviceManager.discoverDevices": {
|
|
18230
18279
|
capName: "device-manager",
|
|
18231
18280
|
capScope: "system",
|
|
18232
18281
|
addonId: null,
|
|
18233
18282
|
access: "create"
|
|
18234
18283
|
},
|
|
18284
|
+
"deviceManager.discoverProvider": {
|
|
18285
|
+
capName: "device-manager",
|
|
18286
|
+
capScope: "system",
|
|
18287
|
+
addonId: null,
|
|
18288
|
+
access: "create"
|
|
18289
|
+
},
|
|
18290
|
+
"deviceManager.discoveryProviders": {
|
|
18291
|
+
capName: "device-manager",
|
|
18292
|
+
capScope: "system",
|
|
18293
|
+
addonId: null,
|
|
18294
|
+
access: "view"
|
|
18295
|
+
},
|
|
18235
18296
|
"deviceManager.enable": {
|
|
18236
18297
|
capName: "device-manager",
|
|
18237
18298
|
capScope: "system",
|
|
@@ -18382,6 +18443,18 @@ Object.freeze({
|
|
|
18382
18443
|
addonId: null,
|
|
18383
18444
|
access: "create"
|
|
18384
18445
|
},
|
|
18446
|
+
"deviceManager.providerCreationType": {
|
|
18447
|
+
capName: "device-manager",
|
|
18448
|
+
capScope: "system",
|
|
18449
|
+
addonId: null,
|
|
18450
|
+
access: "view"
|
|
18451
|
+
},
|
|
18452
|
+
"deviceManager.providerDiscoveryParamsSchema": {
|
|
18453
|
+
capName: "device-manager",
|
|
18454
|
+
capScope: "system",
|
|
18455
|
+
addonId: null,
|
|
18456
|
+
access: "view"
|
|
18457
|
+
},
|
|
18385
18458
|
"deviceManager.registerDevice": {
|
|
18386
18459
|
capName: "device-manager",
|
|
18387
18460
|
capScope: "system",
|
|
@@ -18598,6 +18671,18 @@ Object.freeze({
|
|
|
18598
18671
|
addonId: null,
|
|
18599
18672
|
access: "view"
|
|
18600
18673
|
},
|
|
18674
|
+
"deviceProvider.getDiscoveryParamsSchema": {
|
|
18675
|
+
capName: "device-provider",
|
|
18676
|
+
capScope: "system",
|
|
18677
|
+
addonId: null,
|
|
18678
|
+
access: "view"
|
|
18679
|
+
},
|
|
18680
|
+
"deviceProvider.getManualCreationType": {
|
|
18681
|
+
capName: "device-provider",
|
|
18682
|
+
capScope: "system",
|
|
18683
|
+
addonId: null,
|
|
18684
|
+
access: "view"
|
|
18685
|
+
},
|
|
18601
18686
|
"deviceProvider.getStatus": {
|
|
18602
18687
|
capName: "device-provider",
|
|
18603
18688
|
capScope: "system",
|
|
@@ -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";
|
|
@@ -6208,6 +6208,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
6208
6208
|
DeviceType["Switch"] = "switch";
|
|
6209
6209
|
DeviceType["Sensor"] = "sensor";
|
|
6210
6210
|
DeviceType["Thermostat"] = "thermostat";
|
|
6211
|
+
/** Air-conditioner / heat-pump climate device (HVAC) — shares the
|
|
6212
|
+
* `climate-control` cap surface with `Thermostat` but renders a
|
|
6213
|
+
* dedicated AC-appropriate control UI (mode chips, fan speed,
|
|
6214
|
+
* independent vertical/horizontal swing). Sources: native Gree, and
|
|
6215
|
+
* reusable by other AC integrations. */
|
|
6216
|
+
DeviceType["Climate"] = "climate";
|
|
6211
6217
|
DeviceType["Button"] = "button";
|
|
6212
6218
|
/** Generic stateless event emitter — carries a device's EXACT declared
|
|
6213
6219
|
* event vocabulary verbatim (no normalization). Installed with the
|
|
@@ -8545,7 +8551,7 @@ object({
|
|
|
8545
8551
|
/** Ms epoch when the slice was last updated (push or command). */
|
|
8546
8552
|
lastFetchedAt: number()
|
|
8547
8553
|
});
|
|
8548
|
-
DeviceType.Thermostat, method(object({
|
|
8554
|
+
DeviceType.Thermostat, DeviceType.Climate, method(object({
|
|
8549
8555
|
deviceId: number().int().nonnegative(),
|
|
8550
8556
|
mode: HvacModeSchema
|
|
8551
8557
|
}), _void(), {
|
|
@@ -11230,10 +11236,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
11230
11236
|
id: string(),
|
|
11231
11237
|
name: string(),
|
|
11232
11238
|
type: string()
|
|
11233
|
-
}))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
|
|
11239
|
+
}))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
11234
11240
|
kind: "mutation",
|
|
11235
11241
|
auth: "admin"
|
|
11236
|
-
}), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11242
|
+
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11237
11243
|
kind: "mutation",
|
|
11238
11244
|
auth: "admin"
|
|
11239
11245
|
}), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
|
|
@@ -13019,7 +13025,10 @@ method(object({
|
|
|
13019
13025
|
}), FieldProbeResultSchema, {
|
|
13020
13026
|
kind: "mutation",
|
|
13021
13027
|
auth: "admin"
|
|
13022
|
-
}), method(
|
|
13028
|
+
}), method(object({
|
|
13029
|
+
addonId: string(),
|
|
13030
|
+
integrationId: string()
|
|
13031
|
+
}), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
|
|
13023
13032
|
addonId: string(),
|
|
13024
13033
|
integrationId: string()
|
|
13025
13034
|
}), AdoptionStatusSchema, {
|
|
@@ -13034,7 +13043,24 @@ method(object({
|
|
|
13034
13043
|
}), method(ResyncInputSchema, ResyncResultSchema, {
|
|
13035
13044
|
kind: "mutation",
|
|
13036
13045
|
auth: "admin"
|
|
13046
|
+
}), method(object({}), object({ providers: array(object({
|
|
13047
|
+
addonId: string(),
|
|
13048
|
+
label: string()
|
|
13049
|
+
})).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
|
|
13050
|
+
addonId: string(),
|
|
13051
|
+
label: string(),
|
|
13052
|
+
candidates: array(DiscoveryCandidateSchema).readonly(),
|
|
13053
|
+
error: string().nullable()
|
|
13054
|
+
})).readonly() }), {
|
|
13055
|
+
kind: "mutation",
|
|
13056
|
+
auth: "admin"
|
|
13037
13057
|
}), method(object({
|
|
13058
|
+
addonId: string(),
|
|
13059
|
+
params: record(string(), unknown()).optional()
|
|
13060
|
+
}), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
|
|
13061
|
+
kind: "mutation",
|
|
13062
|
+
auth: "admin"
|
|
13063
|
+
}), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
|
|
13038
13064
|
deviceId: number(),
|
|
13039
13065
|
key: string(),
|
|
13040
13066
|
value: unknown()
|
|
@@ -15692,6 +15718,17 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
15692
15718
|
iconUrl: string().nullable(),
|
|
15693
15719
|
color: string(),
|
|
15694
15720
|
instanceMode: string(),
|
|
15721
|
+
/**
|
|
15722
|
+
* Integration wizard `mode` (LOCKED MODEL): `standalone` (create
|
|
15723
|
+
* immediately then add devices, no config step/button), `account` (config
|
|
15724
|
+
* step), or `broker` (broker step). Derived server-side by
|
|
15725
|
+
* `getAvailableTypes` when the addon manifest omits an explicit `mode`.
|
|
15726
|
+
*/
|
|
15727
|
+
mode: _enum([
|
|
15728
|
+
"standalone",
|
|
15729
|
+
"account",
|
|
15730
|
+
"broker"
|
|
15731
|
+
]),
|
|
15695
15732
|
discoveryMode: string(),
|
|
15696
15733
|
/**
|
|
15697
15734
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
@@ -18152,6 +18189,12 @@ Object.freeze({
|
|
|
18152
18189
|
addonId: null,
|
|
18153
18190
|
access: "create"
|
|
18154
18191
|
},
|
|
18192
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
18193
|
+
capName: "device-manager",
|
|
18194
|
+
capScope: "system",
|
|
18195
|
+
addonId: null,
|
|
18196
|
+
access: "view"
|
|
18197
|
+
},
|
|
18155
18198
|
"deviceManager.adoptionListCandidates": {
|
|
18156
18199
|
capName: "device-manager",
|
|
18157
18200
|
capScope: "system",
|
|
@@ -18200,12 +18243,30 @@ Object.freeze({
|
|
|
18200
18243
|
addonId: null,
|
|
18201
18244
|
access: "create"
|
|
18202
18245
|
},
|
|
18246
|
+
"deviceManager.discoverAllProviders": {
|
|
18247
|
+
capName: "device-manager",
|
|
18248
|
+
capScope: "system",
|
|
18249
|
+
addonId: null,
|
|
18250
|
+
access: "create"
|
|
18251
|
+
},
|
|
18203
18252
|
"deviceManager.discoverDevices": {
|
|
18204
18253
|
capName: "device-manager",
|
|
18205
18254
|
capScope: "system",
|
|
18206
18255
|
addonId: null,
|
|
18207
18256
|
access: "create"
|
|
18208
18257
|
},
|
|
18258
|
+
"deviceManager.discoverProvider": {
|
|
18259
|
+
capName: "device-manager",
|
|
18260
|
+
capScope: "system",
|
|
18261
|
+
addonId: null,
|
|
18262
|
+
access: "create"
|
|
18263
|
+
},
|
|
18264
|
+
"deviceManager.discoveryProviders": {
|
|
18265
|
+
capName: "device-manager",
|
|
18266
|
+
capScope: "system",
|
|
18267
|
+
addonId: null,
|
|
18268
|
+
access: "view"
|
|
18269
|
+
},
|
|
18209
18270
|
"deviceManager.enable": {
|
|
18210
18271
|
capName: "device-manager",
|
|
18211
18272
|
capScope: "system",
|
|
@@ -18356,6 +18417,18 @@ Object.freeze({
|
|
|
18356
18417
|
addonId: null,
|
|
18357
18418
|
access: "create"
|
|
18358
18419
|
},
|
|
18420
|
+
"deviceManager.providerCreationType": {
|
|
18421
|
+
capName: "device-manager",
|
|
18422
|
+
capScope: "system",
|
|
18423
|
+
addonId: null,
|
|
18424
|
+
access: "view"
|
|
18425
|
+
},
|
|
18426
|
+
"deviceManager.providerDiscoveryParamsSchema": {
|
|
18427
|
+
capName: "device-manager",
|
|
18428
|
+
capScope: "system",
|
|
18429
|
+
addonId: null,
|
|
18430
|
+
access: "view"
|
|
18431
|
+
},
|
|
18359
18432
|
"deviceManager.registerDevice": {
|
|
18360
18433
|
capName: "device-manager",
|
|
18361
18434
|
capScope: "system",
|
|
@@ -18572,6 +18645,18 @@ Object.freeze({
|
|
|
18572
18645
|
addonId: null,
|
|
18573
18646
|
access: "view"
|
|
18574
18647
|
},
|
|
18648
|
+
"deviceProvider.getDiscoveryParamsSchema": {
|
|
18649
|
+
capName: "device-provider",
|
|
18650
|
+
capScope: "system",
|
|
18651
|
+
addonId: null,
|
|
18652
|
+
access: "view"
|
|
18653
|
+
},
|
|
18654
|
+
"deviceProvider.getManualCreationType": {
|
|
18655
|
+
capName: "device-provider",
|
|
18656
|
+
capScope: "system",
|
|
18657
|
+
addonId: null,
|
|
18658
|
+
access: "view"
|
|
18659
|
+
},
|
|
18575
18660
|
"deviceProvider.getStatus": {
|
|
18576
18661
|
capName: "device-provider",
|
|
18577
18662
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
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",
|