@camstack/addon-provider-homematic 1.2.127 → 1.2.128
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
|
@@ -28950,6 +28950,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28950
28950
|
var RestartAddonResultSchema = unknown();
|
|
28951
28951
|
var InstallPackageResultSchema = unknown();
|
|
28952
28952
|
var ReloadPackagesResultSchema = unknown();
|
|
28953
|
+
/**
|
|
28954
|
+
* What an uninstall did on ONE node.
|
|
28955
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28956
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28957
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28958
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28959
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28960
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28961
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28962
|
+
*/
|
|
28963
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28964
|
+
"uninstalled",
|
|
28965
|
+
"not-installed",
|
|
28966
|
+
"refused",
|
|
28967
|
+
"failed",
|
|
28968
|
+
"pending-reconnect"
|
|
28969
|
+
]);
|
|
28970
|
+
var UninstallNodeResultSchema = object({
|
|
28971
|
+
nodeId: string(),
|
|
28972
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28973
|
+
error: string().optional(),
|
|
28974
|
+
addonIds: array(string()).readonly(),
|
|
28975
|
+
runnersStopped: array(string()).readonly(),
|
|
28976
|
+
warnings: array(string()).readonly()
|
|
28977
|
+
});
|
|
28978
|
+
var UninstallPackageResultSchema = object({
|
|
28979
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28980
|
+
success: boolean(),
|
|
28981
|
+
packageName: string(),
|
|
28982
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28983
|
+
});
|
|
28984
|
+
/**
|
|
28985
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28986
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28987
|
+
*/
|
|
28988
|
+
var PackageInstallationsSchema = object({
|
|
28989
|
+
installations: array(object({
|
|
28990
|
+
packageName: string(),
|
|
28991
|
+
nodeId: string(),
|
|
28992
|
+
nodeName: string(),
|
|
28993
|
+
isHub: boolean(),
|
|
28994
|
+
isOnline: boolean(),
|
|
28995
|
+
version: string().nullable(),
|
|
28996
|
+
addonIds: array(string()).readonly(),
|
|
28997
|
+
source: _enum(["live", "recorded"]),
|
|
28998
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28999
|
+
onHub: boolean()
|
|
29000
|
+
})).readonly(),
|
|
29001
|
+
unreachable: array(object({
|
|
29002
|
+
nodeId: string(),
|
|
29003
|
+
error: string()
|
|
29004
|
+
})).readonly()
|
|
29005
|
+
});
|
|
28953
29006
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28954
29007
|
"queued",
|
|
28955
29008
|
"updating",
|
|
@@ -29032,10 +29085,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29032
29085
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29033
29086
|
kind: "mutation",
|
|
29034
29087
|
auth: "admin"
|
|
29035
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29088
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29089
|
+
packageName: string().min(1),
|
|
29090
|
+
nodeId: string().optional(),
|
|
29091
|
+
everywhere: boolean().optional()
|
|
29092
|
+
}), UninstallPackageResultSchema, {
|
|
29036
29093
|
kind: "mutation",
|
|
29037
29094
|
auth: "admin"
|
|
29038
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29095
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29039
29096
|
kind: "mutation",
|
|
29040
29097
|
auth: "admin"
|
|
29041
29098
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41468,6 +41525,12 @@ Object.freeze({
|
|
|
41468
41525
|
addonId: null,
|
|
41469
41526
|
access: "view"
|
|
41470
41527
|
},
|
|
41528
|
+
"addons.listInstallations": {
|
|
41529
|
+
capName: "addons",
|
|
41530
|
+
capScope: "system",
|
|
41531
|
+
addonId: null,
|
|
41532
|
+
access: "view"
|
|
41533
|
+
},
|
|
41471
41534
|
"addons.listJobs": {
|
|
41472
41535
|
capName: "addons",
|
|
41473
41536
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -28951,6 +28951,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28951
28951
|
var RestartAddonResultSchema = unknown();
|
|
28952
28952
|
var InstallPackageResultSchema = unknown();
|
|
28953
28953
|
var ReloadPackagesResultSchema = unknown();
|
|
28954
|
+
/**
|
|
28955
|
+
* What an uninstall did on ONE node.
|
|
28956
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28957
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28958
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28959
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28960
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28961
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28962
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28963
|
+
*/
|
|
28964
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28965
|
+
"uninstalled",
|
|
28966
|
+
"not-installed",
|
|
28967
|
+
"refused",
|
|
28968
|
+
"failed",
|
|
28969
|
+
"pending-reconnect"
|
|
28970
|
+
]);
|
|
28971
|
+
var UninstallNodeResultSchema = object({
|
|
28972
|
+
nodeId: string(),
|
|
28973
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28974
|
+
error: string().optional(),
|
|
28975
|
+
addonIds: array(string()).readonly(),
|
|
28976
|
+
runnersStopped: array(string()).readonly(),
|
|
28977
|
+
warnings: array(string()).readonly()
|
|
28978
|
+
});
|
|
28979
|
+
var UninstallPackageResultSchema = object({
|
|
28980
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28981
|
+
success: boolean(),
|
|
28982
|
+
packageName: string(),
|
|
28983
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28984
|
+
});
|
|
28985
|
+
/**
|
|
28986
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28987
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28988
|
+
*/
|
|
28989
|
+
var PackageInstallationsSchema = object({
|
|
28990
|
+
installations: array(object({
|
|
28991
|
+
packageName: string(),
|
|
28992
|
+
nodeId: string(),
|
|
28993
|
+
nodeName: string(),
|
|
28994
|
+
isHub: boolean(),
|
|
28995
|
+
isOnline: boolean(),
|
|
28996
|
+
version: string().nullable(),
|
|
28997
|
+
addonIds: array(string()).readonly(),
|
|
28998
|
+
source: _enum(["live", "recorded"]),
|
|
28999
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29000
|
+
onHub: boolean()
|
|
29001
|
+
})).readonly(),
|
|
29002
|
+
unreachable: array(object({
|
|
29003
|
+
nodeId: string(),
|
|
29004
|
+
error: string()
|
|
29005
|
+
})).readonly()
|
|
29006
|
+
});
|
|
28954
29007
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28955
29008
|
"queued",
|
|
28956
29009
|
"updating",
|
|
@@ -29033,10 +29086,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29033
29086
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29034
29087
|
kind: "mutation",
|
|
29035
29088
|
auth: "admin"
|
|
29036
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29089
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29090
|
+
packageName: string().min(1),
|
|
29091
|
+
nodeId: string().optional(),
|
|
29092
|
+
everywhere: boolean().optional()
|
|
29093
|
+
}), UninstallPackageResultSchema, {
|
|
29037
29094
|
kind: "mutation",
|
|
29038
29095
|
auth: "admin"
|
|
29039
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29096
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29040
29097
|
kind: "mutation",
|
|
29041
29098
|
auth: "admin"
|
|
29042
29099
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -41469,6 +41526,12 @@ Object.freeze({
|
|
|
41469
41526
|
addonId: null,
|
|
41470
41527
|
access: "view"
|
|
41471
41528
|
},
|
|
41529
|
+
"addons.listInstallations": {
|
|
41530
|
+
capName: "addons",
|
|
41531
|
+
capScope: "system",
|
|
41532
|
+
addonId: null,
|
|
41533
|
+
access: "view"
|
|
41534
|
+
},
|
|
41472
41535
|
"addons.listJobs": {
|
|
41473
41536
|
capName: "addons",
|
|
41474
41537
|
capScope: "system",
|
package/package.json
CHANGED