@camstack/addon-export-alexa 1.1.10 → 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()
|
|
@@ -18189,6 +18215,12 @@ Object.freeze({
|
|
|
18189
18215
|
addonId: null,
|
|
18190
18216
|
access: "create"
|
|
18191
18217
|
},
|
|
18218
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
18219
|
+
capName: "device-manager",
|
|
18220
|
+
capScope: "system",
|
|
18221
|
+
addonId: null,
|
|
18222
|
+
access: "view"
|
|
18223
|
+
},
|
|
18192
18224
|
"deviceManager.adoptionListCandidates": {
|
|
18193
18225
|
capName: "device-manager",
|
|
18194
18226
|
capScope: "system",
|
|
@@ -18237,12 +18269,30 @@ Object.freeze({
|
|
|
18237
18269
|
addonId: null,
|
|
18238
18270
|
access: "create"
|
|
18239
18271
|
},
|
|
18272
|
+
"deviceManager.discoverAllProviders": {
|
|
18273
|
+
capName: "device-manager",
|
|
18274
|
+
capScope: "system",
|
|
18275
|
+
addonId: null,
|
|
18276
|
+
access: "create"
|
|
18277
|
+
},
|
|
18240
18278
|
"deviceManager.discoverDevices": {
|
|
18241
18279
|
capName: "device-manager",
|
|
18242
18280
|
capScope: "system",
|
|
18243
18281
|
addonId: null,
|
|
18244
18282
|
access: "create"
|
|
18245
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
|
+
},
|
|
18246
18296
|
"deviceManager.enable": {
|
|
18247
18297
|
capName: "device-manager",
|
|
18248
18298
|
capScope: "system",
|
|
@@ -18393,6 +18443,18 @@ Object.freeze({
|
|
|
18393
18443
|
addonId: null,
|
|
18394
18444
|
access: "create"
|
|
18395
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
|
+
},
|
|
18396
18458
|
"deviceManager.registerDevice": {
|
|
18397
18459
|
capName: "device-manager",
|
|
18398
18460
|
capScope: "system",
|
|
@@ -18609,6 +18671,18 @@ Object.freeze({
|
|
|
18609
18671
|
addonId: null,
|
|
18610
18672
|
access: "view"
|
|
18611
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
|
+
},
|
|
18612
18686
|
"deviceProvider.getStatus": {
|
|
18613
18687
|
capName: "device-provider",
|
|
18614
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()
|
|
@@ -18163,6 +18189,12 @@ Object.freeze({
|
|
|
18163
18189
|
addonId: null,
|
|
18164
18190
|
access: "create"
|
|
18165
18191
|
},
|
|
18192
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
18193
|
+
capName: "device-manager",
|
|
18194
|
+
capScope: "system",
|
|
18195
|
+
addonId: null,
|
|
18196
|
+
access: "view"
|
|
18197
|
+
},
|
|
18166
18198
|
"deviceManager.adoptionListCandidates": {
|
|
18167
18199
|
capName: "device-manager",
|
|
18168
18200
|
capScope: "system",
|
|
@@ -18211,12 +18243,30 @@ Object.freeze({
|
|
|
18211
18243
|
addonId: null,
|
|
18212
18244
|
access: "create"
|
|
18213
18245
|
},
|
|
18246
|
+
"deviceManager.discoverAllProviders": {
|
|
18247
|
+
capName: "device-manager",
|
|
18248
|
+
capScope: "system",
|
|
18249
|
+
addonId: null,
|
|
18250
|
+
access: "create"
|
|
18251
|
+
},
|
|
18214
18252
|
"deviceManager.discoverDevices": {
|
|
18215
18253
|
capName: "device-manager",
|
|
18216
18254
|
capScope: "system",
|
|
18217
18255
|
addonId: null,
|
|
18218
18256
|
access: "create"
|
|
18219
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
|
+
},
|
|
18220
18270
|
"deviceManager.enable": {
|
|
18221
18271
|
capName: "device-manager",
|
|
18222
18272
|
capScope: "system",
|
|
@@ -18367,6 +18417,18 @@ Object.freeze({
|
|
|
18367
18417
|
addonId: null,
|
|
18368
18418
|
access: "create"
|
|
18369
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
|
+
},
|
|
18370
18432
|
"deviceManager.registerDevice": {
|
|
18371
18433
|
capName: "device-manager",
|
|
18372
18434
|
capScope: "system",
|
|
@@ -18583,6 +18645,18 @@ Object.freeze({
|
|
|
18583
18645
|
addonId: null,
|
|
18584
18646
|
access: "view"
|
|
18585
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
|
+
},
|
|
18586
18660
|
"deviceProvider.getStatus": {
|
|
18587
18661
|
capName: "device-provider",
|
|
18588
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",
|