@camstack/addon-export-hap 1.2.152 → 1.2.153
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/hap-export.addon.js +65 -2
- package/dist/hap-export.addon.mjs +65 -2
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -29562,6 +29562,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29562
29562
|
var RestartAddonResultSchema = unknown();
|
|
29563
29563
|
var InstallPackageResultSchema = unknown();
|
|
29564
29564
|
var ReloadPackagesResultSchema = unknown();
|
|
29565
|
+
/**
|
|
29566
|
+
* What an uninstall did on ONE node.
|
|
29567
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29568
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29569
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29570
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29571
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29572
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29573
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29574
|
+
*/
|
|
29575
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29576
|
+
"uninstalled",
|
|
29577
|
+
"not-installed",
|
|
29578
|
+
"refused",
|
|
29579
|
+
"failed",
|
|
29580
|
+
"pending-reconnect"
|
|
29581
|
+
]);
|
|
29582
|
+
var UninstallNodeResultSchema = object({
|
|
29583
|
+
nodeId: string(),
|
|
29584
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29585
|
+
error: string().optional(),
|
|
29586
|
+
addonIds: array(string()).readonly(),
|
|
29587
|
+
runnersStopped: array(string()).readonly(),
|
|
29588
|
+
warnings: array(string()).readonly()
|
|
29589
|
+
});
|
|
29590
|
+
var UninstallPackageResultSchema = object({
|
|
29591
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29592
|
+
success: boolean(),
|
|
29593
|
+
packageName: string(),
|
|
29594
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29595
|
+
});
|
|
29596
|
+
/**
|
|
29597
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29598
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29599
|
+
*/
|
|
29600
|
+
var PackageInstallationsSchema = object({
|
|
29601
|
+
installations: array(object({
|
|
29602
|
+
packageName: string(),
|
|
29603
|
+
nodeId: string(),
|
|
29604
|
+
nodeName: string(),
|
|
29605
|
+
isHub: boolean(),
|
|
29606
|
+
isOnline: boolean(),
|
|
29607
|
+
version: string().nullable(),
|
|
29608
|
+
addonIds: array(string()).readonly(),
|
|
29609
|
+
source: _enum(["live", "recorded"]),
|
|
29610
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29611
|
+
onHub: boolean()
|
|
29612
|
+
})).readonly(),
|
|
29613
|
+
unreachable: array(object({
|
|
29614
|
+
nodeId: string(),
|
|
29615
|
+
error: string()
|
|
29616
|
+
})).readonly()
|
|
29617
|
+
});
|
|
29565
29618
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29566
29619
|
"queued",
|
|
29567
29620
|
"updating",
|
|
@@ -29644,10 +29697,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29644
29697
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29645
29698
|
kind: "mutation",
|
|
29646
29699
|
auth: "admin"
|
|
29647
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29700
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29701
|
+
packageName: string().min(1),
|
|
29702
|
+
nodeId: string().optional(),
|
|
29703
|
+
everywhere: boolean().optional()
|
|
29704
|
+
}), UninstallPackageResultSchema, {
|
|
29648
29705
|
kind: "mutation",
|
|
29649
29706
|
auth: "admin"
|
|
29650
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29707
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29651
29708
|
kind: "mutation",
|
|
29652
29709
|
auth: "admin"
|
|
29653
29710
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -37997,6 +38054,12 @@ Object.freeze({
|
|
|
37997
38054
|
addonId: null,
|
|
37998
38055
|
access: "view"
|
|
37999
38056
|
},
|
|
38057
|
+
"addons.listInstallations": {
|
|
38058
|
+
capName: "addons",
|
|
38059
|
+
capScope: "system",
|
|
38060
|
+
addonId: null,
|
|
38061
|
+
access: "view"
|
|
38062
|
+
},
|
|
38000
38063
|
"addons.listJobs": {
|
|
38001
38064
|
capName: "addons",
|
|
38002
38065
|
capScope: "system",
|
|
@@ -29552,6 +29552,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29552
29552
|
var RestartAddonResultSchema = unknown();
|
|
29553
29553
|
var InstallPackageResultSchema = unknown();
|
|
29554
29554
|
var ReloadPackagesResultSchema = unknown();
|
|
29555
|
+
/**
|
|
29556
|
+
* What an uninstall did on ONE node.
|
|
29557
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29558
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29559
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29560
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29561
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29562
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29563
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29564
|
+
*/
|
|
29565
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29566
|
+
"uninstalled",
|
|
29567
|
+
"not-installed",
|
|
29568
|
+
"refused",
|
|
29569
|
+
"failed",
|
|
29570
|
+
"pending-reconnect"
|
|
29571
|
+
]);
|
|
29572
|
+
var UninstallNodeResultSchema = object({
|
|
29573
|
+
nodeId: string(),
|
|
29574
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29575
|
+
error: string().optional(),
|
|
29576
|
+
addonIds: array(string()).readonly(),
|
|
29577
|
+
runnersStopped: array(string()).readonly(),
|
|
29578
|
+
warnings: array(string()).readonly()
|
|
29579
|
+
});
|
|
29580
|
+
var UninstallPackageResultSchema = object({
|
|
29581
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29582
|
+
success: boolean(),
|
|
29583
|
+
packageName: string(),
|
|
29584
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29585
|
+
});
|
|
29586
|
+
/**
|
|
29587
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29588
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29589
|
+
*/
|
|
29590
|
+
var PackageInstallationsSchema = object({
|
|
29591
|
+
installations: array(object({
|
|
29592
|
+
packageName: string(),
|
|
29593
|
+
nodeId: string(),
|
|
29594
|
+
nodeName: string(),
|
|
29595
|
+
isHub: boolean(),
|
|
29596
|
+
isOnline: boolean(),
|
|
29597
|
+
version: string().nullable(),
|
|
29598
|
+
addonIds: array(string()).readonly(),
|
|
29599
|
+
source: _enum(["live", "recorded"]),
|
|
29600
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29601
|
+
onHub: boolean()
|
|
29602
|
+
})).readonly(),
|
|
29603
|
+
unreachable: array(object({
|
|
29604
|
+
nodeId: string(),
|
|
29605
|
+
error: string()
|
|
29606
|
+
})).readonly()
|
|
29607
|
+
});
|
|
29555
29608
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29556
29609
|
"queued",
|
|
29557
29610
|
"updating",
|
|
@@ -29634,10 +29687,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29634
29687
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29635
29688
|
kind: "mutation",
|
|
29636
29689
|
auth: "admin"
|
|
29637
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29690
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29691
|
+
packageName: string().min(1),
|
|
29692
|
+
nodeId: string().optional(),
|
|
29693
|
+
everywhere: boolean().optional()
|
|
29694
|
+
}), UninstallPackageResultSchema, {
|
|
29638
29695
|
kind: "mutation",
|
|
29639
29696
|
auth: "admin"
|
|
29640
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29697
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29641
29698
|
kind: "mutation",
|
|
29642
29699
|
auth: "admin"
|
|
29643
29700
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -37987,6 +38044,12 @@ Object.freeze({
|
|
|
37987
38044
|
addonId: null,
|
|
37988
38045
|
access: "view"
|
|
37989
38046
|
},
|
|
38047
|
+
"addons.listInstallations": {
|
|
38048
|
+
capName: "addons",
|
|
38049
|
+
capScope: "system",
|
|
38050
|
+
addonId: null,
|
|
38051
|
+
access: "view"
|
|
38052
|
+
},
|
|
37990
38053
|
"addons.listJobs": {
|
|
37991
38054
|
capName: "addons",
|
|
37992
38055
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.153",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|