@camstack/addon-export-alexa 1.2.135 → 1.2.136
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.
|
@@ -28734,6 +28734,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28734
28734
|
var RestartAddonResultSchema = unknown();
|
|
28735
28735
|
var InstallPackageResultSchema = unknown();
|
|
28736
28736
|
var ReloadPackagesResultSchema = unknown();
|
|
28737
|
+
/**
|
|
28738
|
+
* What an uninstall did on ONE node.
|
|
28739
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28740
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28741
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28742
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28743
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28744
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28745
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28746
|
+
*/
|
|
28747
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28748
|
+
"uninstalled",
|
|
28749
|
+
"not-installed",
|
|
28750
|
+
"refused",
|
|
28751
|
+
"failed",
|
|
28752
|
+
"pending-reconnect"
|
|
28753
|
+
]);
|
|
28754
|
+
var UninstallNodeResultSchema = object({
|
|
28755
|
+
nodeId: string(),
|
|
28756
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28757
|
+
error: string().optional(),
|
|
28758
|
+
addonIds: array(string()).readonly(),
|
|
28759
|
+
runnersStopped: array(string()).readonly(),
|
|
28760
|
+
warnings: array(string()).readonly()
|
|
28761
|
+
});
|
|
28762
|
+
var UninstallPackageResultSchema = object({
|
|
28763
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28764
|
+
success: boolean(),
|
|
28765
|
+
packageName: string(),
|
|
28766
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28767
|
+
});
|
|
28768
|
+
/**
|
|
28769
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28770
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28771
|
+
*/
|
|
28772
|
+
var PackageInstallationsSchema = object({
|
|
28773
|
+
installations: array(object({
|
|
28774
|
+
packageName: string(),
|
|
28775
|
+
nodeId: string(),
|
|
28776
|
+
nodeName: string(),
|
|
28777
|
+
isHub: boolean(),
|
|
28778
|
+
isOnline: boolean(),
|
|
28779
|
+
version: string().nullable(),
|
|
28780
|
+
addonIds: array(string()).readonly(),
|
|
28781
|
+
source: _enum(["live", "recorded"]),
|
|
28782
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28783
|
+
onHub: boolean()
|
|
28784
|
+
})).readonly(),
|
|
28785
|
+
unreachable: array(object({
|
|
28786
|
+
nodeId: string(),
|
|
28787
|
+
error: string()
|
|
28788
|
+
})).readonly()
|
|
28789
|
+
});
|
|
28737
28790
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28738
28791
|
"queued",
|
|
28739
28792
|
"updating",
|
|
@@ -28816,10 +28869,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28816
28869
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28817
28870
|
kind: "mutation",
|
|
28818
28871
|
auth: "admin"
|
|
28819
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28872
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28873
|
+
packageName: string().min(1),
|
|
28874
|
+
nodeId: string().optional(),
|
|
28875
|
+
everywhere: boolean().optional()
|
|
28876
|
+
}), UninstallPackageResultSchema, {
|
|
28820
28877
|
kind: "mutation",
|
|
28821
28878
|
auth: "admin"
|
|
28822
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28879
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28823
28880
|
kind: "mutation",
|
|
28824
28881
|
auth: "admin"
|
|
28825
28882
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -37108,6 +37165,12 @@ Object.freeze({
|
|
|
37108
37165
|
addonId: null,
|
|
37109
37166
|
access: "view"
|
|
37110
37167
|
},
|
|
37168
|
+
"addons.listInstallations": {
|
|
37169
|
+
capName: "addons",
|
|
37170
|
+
capScope: "system",
|
|
37171
|
+
addonId: null,
|
|
37172
|
+
access: "view"
|
|
37173
|
+
},
|
|
37111
37174
|
"addons.listJobs": {
|
|
37112
37175
|
capName: "addons",
|
|
37113
37176
|
capScope: "system",
|
|
@@ -28708,6 +28708,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28708
28708
|
var RestartAddonResultSchema = unknown();
|
|
28709
28709
|
var InstallPackageResultSchema = unknown();
|
|
28710
28710
|
var ReloadPackagesResultSchema = unknown();
|
|
28711
|
+
/**
|
|
28712
|
+
* What an uninstall did on ONE node.
|
|
28713
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28714
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28715
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28716
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28717
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28718
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28719
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28720
|
+
*/
|
|
28721
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28722
|
+
"uninstalled",
|
|
28723
|
+
"not-installed",
|
|
28724
|
+
"refused",
|
|
28725
|
+
"failed",
|
|
28726
|
+
"pending-reconnect"
|
|
28727
|
+
]);
|
|
28728
|
+
var UninstallNodeResultSchema = object({
|
|
28729
|
+
nodeId: string(),
|
|
28730
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28731
|
+
error: string().optional(),
|
|
28732
|
+
addonIds: array(string()).readonly(),
|
|
28733
|
+
runnersStopped: array(string()).readonly(),
|
|
28734
|
+
warnings: array(string()).readonly()
|
|
28735
|
+
});
|
|
28736
|
+
var UninstallPackageResultSchema = object({
|
|
28737
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28738
|
+
success: boolean(),
|
|
28739
|
+
packageName: string(),
|
|
28740
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28741
|
+
});
|
|
28742
|
+
/**
|
|
28743
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28744
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28745
|
+
*/
|
|
28746
|
+
var PackageInstallationsSchema = object({
|
|
28747
|
+
installations: array(object({
|
|
28748
|
+
packageName: string(),
|
|
28749
|
+
nodeId: string(),
|
|
28750
|
+
nodeName: string(),
|
|
28751
|
+
isHub: boolean(),
|
|
28752
|
+
isOnline: boolean(),
|
|
28753
|
+
version: string().nullable(),
|
|
28754
|
+
addonIds: array(string()).readonly(),
|
|
28755
|
+
source: _enum(["live", "recorded"]),
|
|
28756
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28757
|
+
onHub: boolean()
|
|
28758
|
+
})).readonly(),
|
|
28759
|
+
unreachable: array(object({
|
|
28760
|
+
nodeId: string(),
|
|
28761
|
+
error: string()
|
|
28762
|
+
})).readonly()
|
|
28763
|
+
});
|
|
28711
28764
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28712
28765
|
"queued",
|
|
28713
28766
|
"updating",
|
|
@@ -28790,10 +28843,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28790
28843
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28791
28844
|
kind: "mutation",
|
|
28792
28845
|
auth: "admin"
|
|
28793
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28846
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28847
|
+
packageName: string().min(1),
|
|
28848
|
+
nodeId: string().optional(),
|
|
28849
|
+
everywhere: boolean().optional()
|
|
28850
|
+
}), UninstallPackageResultSchema, {
|
|
28794
28851
|
kind: "mutation",
|
|
28795
28852
|
auth: "admin"
|
|
28796
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28853
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28797
28854
|
kind: "mutation",
|
|
28798
28855
|
auth: "admin"
|
|
28799
28856
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -37082,6 +37139,12 @@ Object.freeze({
|
|
|
37082
37139
|
addonId: null,
|
|
37083
37140
|
access: "view"
|
|
37084
37141
|
},
|
|
37142
|
+
"addons.listInstallations": {
|
|
37143
|
+
capName: "addons",
|
|
37144
|
+
capScope: "system",
|
|
37145
|
+
addonId: null,
|
|
37146
|
+
access: "view"
|
|
37147
|
+
},
|
|
37085
37148
|
"addons.listJobs": {
|
|
37086
37149
|
capName: "addons",
|
|
37087
37150
|
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.136",
|
|
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",
|