@camstack/addon-import-alexa 0.2.120 → 0.2.121
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 +65 -2
- package/dist/addon.mjs +65 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -29003,6 +29003,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29003
29003
|
var RestartAddonResultSchema = unknown();
|
|
29004
29004
|
var InstallPackageResultSchema = unknown();
|
|
29005
29005
|
var ReloadPackagesResultSchema = unknown();
|
|
29006
|
+
/**
|
|
29007
|
+
* What an uninstall did on ONE node.
|
|
29008
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29009
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29010
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29011
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29012
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29013
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29014
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29015
|
+
*/
|
|
29016
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29017
|
+
"uninstalled",
|
|
29018
|
+
"not-installed",
|
|
29019
|
+
"refused",
|
|
29020
|
+
"failed",
|
|
29021
|
+
"pending-reconnect"
|
|
29022
|
+
]);
|
|
29023
|
+
var UninstallNodeResultSchema = object({
|
|
29024
|
+
nodeId: string(),
|
|
29025
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29026
|
+
error: string().optional(),
|
|
29027
|
+
addonIds: array(string()).readonly(),
|
|
29028
|
+
runnersStopped: array(string()).readonly(),
|
|
29029
|
+
warnings: array(string()).readonly()
|
|
29030
|
+
});
|
|
29031
|
+
var UninstallPackageResultSchema = object({
|
|
29032
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29033
|
+
success: boolean(),
|
|
29034
|
+
packageName: string(),
|
|
29035
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29036
|
+
});
|
|
29037
|
+
/**
|
|
29038
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29039
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29040
|
+
*/
|
|
29041
|
+
var PackageInstallationsSchema = object({
|
|
29042
|
+
installations: array(object({
|
|
29043
|
+
packageName: string(),
|
|
29044
|
+
nodeId: string(),
|
|
29045
|
+
nodeName: string(),
|
|
29046
|
+
isHub: boolean(),
|
|
29047
|
+
isOnline: boolean(),
|
|
29048
|
+
version: string().nullable(),
|
|
29049
|
+
addonIds: array(string()).readonly(),
|
|
29050
|
+
source: _enum(["live", "recorded"]),
|
|
29051
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29052
|
+
onHub: boolean()
|
|
29053
|
+
})).readonly(),
|
|
29054
|
+
unreachable: array(object({
|
|
29055
|
+
nodeId: string(),
|
|
29056
|
+
error: string()
|
|
29057
|
+
})).readonly()
|
|
29058
|
+
});
|
|
29006
29059
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29007
29060
|
"queued",
|
|
29008
29061
|
"updating",
|
|
@@ -29085,10 +29138,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29085
29138
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29086
29139
|
kind: "mutation",
|
|
29087
29140
|
auth: "admin"
|
|
29088
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29141
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29142
|
+
packageName: string().min(1),
|
|
29143
|
+
nodeId: string().optional(),
|
|
29144
|
+
everywhere: boolean().optional()
|
|
29145
|
+
}), UninstallPackageResultSchema, {
|
|
29089
29146
|
kind: "mutation",
|
|
29090
29147
|
auth: "admin"
|
|
29091
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29148
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29092
29149
|
kind: "mutation",
|
|
29093
29150
|
auth: "admin"
|
|
29094
29151
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41538,6 +41595,12 @@ Object.freeze({
|
|
|
41538
41595
|
addonId: null,
|
|
41539
41596
|
access: "view"
|
|
41540
41597
|
},
|
|
41598
|
+
"addons.listInstallations": {
|
|
41599
|
+
capName: "addons",
|
|
41600
|
+
capScope: "system",
|
|
41601
|
+
addonId: null,
|
|
41602
|
+
access: "view"
|
|
41603
|
+
},
|
|
41541
41604
|
"addons.listJobs": {
|
|
41542
41605
|
capName: "addons",
|
|
41543
41606
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -29003,6 +29003,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29003
29003
|
var RestartAddonResultSchema = unknown();
|
|
29004
29004
|
var InstallPackageResultSchema = unknown();
|
|
29005
29005
|
var ReloadPackagesResultSchema = unknown();
|
|
29006
|
+
/**
|
|
29007
|
+
* What an uninstall did on ONE node.
|
|
29008
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29009
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29010
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29011
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29012
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29013
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29014
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29015
|
+
*/
|
|
29016
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29017
|
+
"uninstalled",
|
|
29018
|
+
"not-installed",
|
|
29019
|
+
"refused",
|
|
29020
|
+
"failed",
|
|
29021
|
+
"pending-reconnect"
|
|
29022
|
+
]);
|
|
29023
|
+
var UninstallNodeResultSchema = object({
|
|
29024
|
+
nodeId: string(),
|
|
29025
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29026
|
+
error: string().optional(),
|
|
29027
|
+
addonIds: array(string()).readonly(),
|
|
29028
|
+
runnersStopped: array(string()).readonly(),
|
|
29029
|
+
warnings: array(string()).readonly()
|
|
29030
|
+
});
|
|
29031
|
+
var UninstallPackageResultSchema = object({
|
|
29032
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29033
|
+
success: boolean(),
|
|
29034
|
+
packageName: string(),
|
|
29035
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29036
|
+
});
|
|
29037
|
+
/**
|
|
29038
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29039
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29040
|
+
*/
|
|
29041
|
+
var PackageInstallationsSchema = object({
|
|
29042
|
+
installations: array(object({
|
|
29043
|
+
packageName: string(),
|
|
29044
|
+
nodeId: string(),
|
|
29045
|
+
nodeName: string(),
|
|
29046
|
+
isHub: boolean(),
|
|
29047
|
+
isOnline: boolean(),
|
|
29048
|
+
version: string().nullable(),
|
|
29049
|
+
addonIds: array(string()).readonly(),
|
|
29050
|
+
source: _enum(["live", "recorded"]),
|
|
29051
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29052
|
+
onHub: boolean()
|
|
29053
|
+
})).readonly(),
|
|
29054
|
+
unreachable: array(object({
|
|
29055
|
+
nodeId: string(),
|
|
29056
|
+
error: string()
|
|
29057
|
+
})).readonly()
|
|
29058
|
+
});
|
|
29006
29059
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29007
29060
|
"queued",
|
|
29008
29061
|
"updating",
|
|
@@ -29085,10 +29138,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29085
29138
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29086
29139
|
kind: "mutation",
|
|
29087
29140
|
auth: "admin"
|
|
29088
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29141
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29142
|
+
packageName: string().min(1),
|
|
29143
|
+
nodeId: string().optional(),
|
|
29144
|
+
everywhere: boolean().optional()
|
|
29145
|
+
}), UninstallPackageResultSchema, {
|
|
29089
29146
|
kind: "mutation",
|
|
29090
29147
|
auth: "admin"
|
|
29091
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29148
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29092
29149
|
kind: "mutation",
|
|
29093
29150
|
auth: "admin"
|
|
29094
29151
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41538,6 +41595,12 @@ Object.freeze({
|
|
|
41538
41595
|
addonId: null,
|
|
41539
41596
|
access: "view"
|
|
41540
41597
|
},
|
|
41598
|
+
"addons.listInstallations": {
|
|
41599
|
+
capName: "addons",
|
|
41600
|
+
capScope: "system",
|
|
41601
|
+
addonId: null,
|
|
41602
|
+
access: "view"
|
|
41603
|
+
},
|
|
41541
41604
|
"addons.listJobs": {
|
|
41542
41605
|
capName: "addons",
|
|
41543
41606
|
capScope: "system",
|
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.121",
|
|
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",
|