@camstack/addon-provider-unifi 0.2.67 → 0.2.69
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 +66 -1
- package/dist/addon.mjs +66 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19389,6 +19389,33 @@ var RecentTracksQueryInput = object({
|
|
|
19389
19389
|
*/
|
|
19390
19390
|
classes: array(string()).optional()
|
|
19391
19391
|
});
|
|
19392
|
+
/**
|
|
19393
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19394
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19395
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19396
|
+
* member visible has been materialised.
|
|
19397
|
+
*/
|
|
19398
|
+
var SummarySchema = object({
|
|
19399
|
+
id: string(),
|
|
19400
|
+
deviceId: number(),
|
|
19401
|
+
openedAt: number(),
|
|
19402
|
+
lastActiveAt: number(),
|
|
19403
|
+
sealedAt: number().nullable(),
|
|
19404
|
+
memberCount: number().int().nonnegative(),
|
|
19405
|
+
groupShotKey: string().nullable()
|
|
19406
|
+
});
|
|
19407
|
+
var SummariesQueryInput = object({
|
|
19408
|
+
deviceIds: array(number()).min(1),
|
|
19409
|
+
since: number().optional(),
|
|
19410
|
+
until: number().optional(),
|
|
19411
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19412
|
+
});
|
|
19413
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19414
|
+
var SummaryDetailSchema = object({
|
|
19415
|
+
summary: SummarySchema,
|
|
19416
|
+
/** Member track ids, in absorption order. */
|
|
19417
|
+
trackIds: array(string()).readonly()
|
|
19418
|
+
});
|
|
19392
19419
|
var RecentTracksPageSchema = object({
|
|
19393
19420
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19394
19421
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19789,7 +19816,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19789
19816
|
* timeline would read as a camera that saw nothing.
|
|
19790
19817
|
*/
|
|
19791
19818
|
classes: array(string()).optional()
|
|
19792
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19819
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19793
19820
|
kind: "mutation",
|
|
19794
19821
|
auth: "admin"
|
|
19795
19822
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -20724,6 +20751,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
20724
20751
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
20725
20752
|
ingest: boolean().optional(),
|
|
20726
20753
|
/**
|
|
20754
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
20755
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
20756
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
20757
|
+
*/
|
|
20758
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
20759
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
20760
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
20761
|
+
/**
|
|
20727
20762
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
20728
20763
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
20729
20764
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -21185,6 +21220,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
21185
21220
|
}), object({ success: literal(true) }), {
|
|
21186
21221
|
kind: "mutation",
|
|
21187
21222
|
auth: "admin"
|
|
21223
|
+
}), method(object({
|
|
21224
|
+
agentNodeId: string(),
|
|
21225
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
21226
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
21227
|
+
}), object({ success: literal(true) }), {
|
|
21228
|
+
kind: "mutation",
|
|
21229
|
+
auth: "admin"
|
|
21188
21230
|
}), method(object({
|
|
21189
21231
|
agentNodeId: string(),
|
|
21190
21232
|
reachableHost: string().nullable()
|
|
@@ -36525,6 +36567,12 @@ Object.freeze({
|
|
|
36525
36567
|
addonId: null,
|
|
36526
36568
|
access: "view"
|
|
36527
36569
|
},
|
|
36570
|
+
"pipelineAnalytics.getSummary": {
|
|
36571
|
+
capName: "pipeline-analytics",
|
|
36572
|
+
capScope: "device",
|
|
36573
|
+
addonId: null,
|
|
36574
|
+
access: "view"
|
|
36575
|
+
},
|
|
36528
36576
|
"pipelineAnalytics.getTrack": {
|
|
36529
36577
|
capName: "pipeline-analytics",
|
|
36530
36578
|
capScope: "device",
|
|
@@ -36603,6 +36651,12 @@ Object.freeze({
|
|
|
36603
36651
|
addonId: null,
|
|
36604
36652
|
access: "view"
|
|
36605
36653
|
},
|
|
36654
|
+
"pipelineAnalytics.listSummaries": {
|
|
36655
|
+
capName: "pipeline-analytics",
|
|
36656
|
+
capScope: "device",
|
|
36657
|
+
addonId: null,
|
|
36658
|
+
access: "view"
|
|
36659
|
+
},
|
|
36606
36660
|
"pipelineAnalytics.listTrackMedia": {
|
|
36607
36661
|
capName: "pipeline-analytics",
|
|
36608
36662
|
capScope: "device",
|
|
@@ -37161,6 +37215,12 @@ Object.freeze({
|
|
|
37161
37215
|
addonId: null,
|
|
37162
37216
|
access: "create"
|
|
37163
37217
|
},
|
|
37218
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
37219
|
+
capName: "pipeline-orchestrator",
|
|
37220
|
+
capScope: "system",
|
|
37221
|
+
addonId: null,
|
|
37222
|
+
access: "create"
|
|
37223
|
+
},
|
|
37164
37224
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
37165
37225
|
capName: "pipeline-orchestrator",
|
|
37166
37226
|
capScope: "system",
|
|
@@ -40292,6 +40352,11 @@ Object.freeze({
|
|
|
40292
40352
|
form: "array",
|
|
40293
40353
|
optional: true
|
|
40294
40354
|
}],
|
|
40355
|
+
"pipelineAnalytics.listSummaries": [{
|
|
40356
|
+
name: "deviceIds",
|
|
40357
|
+
form: "array",
|
|
40358
|
+
optional: false
|
|
40359
|
+
}],
|
|
40295
40360
|
"pipelineAnalytics.listTrackMedia": [{
|
|
40296
40361
|
name: "deviceId",
|
|
40297
40362
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -19388,6 +19388,33 @@ var RecentTracksQueryInput = object({
|
|
|
19388
19388
|
*/
|
|
19389
19389
|
classes: array(string()).optional()
|
|
19390
19390
|
});
|
|
19391
|
+
/**
|
|
19392
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19393
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19394
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19395
|
+
* member visible has been materialised.
|
|
19396
|
+
*/
|
|
19397
|
+
var SummarySchema = object({
|
|
19398
|
+
id: string(),
|
|
19399
|
+
deviceId: number(),
|
|
19400
|
+
openedAt: number(),
|
|
19401
|
+
lastActiveAt: number(),
|
|
19402
|
+
sealedAt: number().nullable(),
|
|
19403
|
+
memberCount: number().int().nonnegative(),
|
|
19404
|
+
groupShotKey: string().nullable()
|
|
19405
|
+
});
|
|
19406
|
+
var SummariesQueryInput = object({
|
|
19407
|
+
deviceIds: array(number()).min(1),
|
|
19408
|
+
since: number().optional(),
|
|
19409
|
+
until: number().optional(),
|
|
19410
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19411
|
+
});
|
|
19412
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19413
|
+
var SummaryDetailSchema = object({
|
|
19414
|
+
summary: SummarySchema,
|
|
19415
|
+
/** Member track ids, in absorption order. */
|
|
19416
|
+
trackIds: array(string()).readonly()
|
|
19417
|
+
});
|
|
19391
19418
|
var RecentTracksPageSchema = object({
|
|
19392
19419
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19393
19420
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19788,7 +19815,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19788
19815
|
* timeline would read as a camera that saw nothing.
|
|
19789
19816
|
*/
|
|
19790
19817
|
classes: array(string()).optional()
|
|
19791
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19818
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19792
19819
|
kind: "mutation",
|
|
19793
19820
|
auth: "admin"
|
|
19794
19821
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -20723,6 +20750,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
20723
20750
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
20724
20751
|
ingest: boolean().optional(),
|
|
20725
20752
|
/**
|
|
20753
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
20754
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
20755
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
20756
|
+
*/
|
|
20757
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
20758
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
20759
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
20760
|
+
/**
|
|
20726
20761
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
20727
20762
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
20728
20763
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -21184,6 +21219,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
21184
21219
|
}), object({ success: literal(true) }), {
|
|
21185
21220
|
kind: "mutation",
|
|
21186
21221
|
auth: "admin"
|
|
21222
|
+
}), method(object({
|
|
21223
|
+
agentNodeId: string(),
|
|
21224
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
21225
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
21226
|
+
}), object({ success: literal(true) }), {
|
|
21227
|
+
kind: "mutation",
|
|
21228
|
+
auth: "admin"
|
|
21187
21229
|
}), method(object({
|
|
21188
21230
|
agentNodeId: string(),
|
|
21189
21231
|
reachableHost: string().nullable()
|
|
@@ -36524,6 +36566,12 @@ Object.freeze({
|
|
|
36524
36566
|
addonId: null,
|
|
36525
36567
|
access: "view"
|
|
36526
36568
|
},
|
|
36569
|
+
"pipelineAnalytics.getSummary": {
|
|
36570
|
+
capName: "pipeline-analytics",
|
|
36571
|
+
capScope: "device",
|
|
36572
|
+
addonId: null,
|
|
36573
|
+
access: "view"
|
|
36574
|
+
},
|
|
36527
36575
|
"pipelineAnalytics.getTrack": {
|
|
36528
36576
|
capName: "pipeline-analytics",
|
|
36529
36577
|
capScope: "device",
|
|
@@ -36602,6 +36650,12 @@ Object.freeze({
|
|
|
36602
36650
|
addonId: null,
|
|
36603
36651
|
access: "view"
|
|
36604
36652
|
},
|
|
36653
|
+
"pipelineAnalytics.listSummaries": {
|
|
36654
|
+
capName: "pipeline-analytics",
|
|
36655
|
+
capScope: "device",
|
|
36656
|
+
addonId: null,
|
|
36657
|
+
access: "view"
|
|
36658
|
+
},
|
|
36605
36659
|
"pipelineAnalytics.listTrackMedia": {
|
|
36606
36660
|
capName: "pipeline-analytics",
|
|
36607
36661
|
capScope: "device",
|
|
@@ -37160,6 +37214,12 @@ Object.freeze({
|
|
|
37160
37214
|
addonId: null,
|
|
37161
37215
|
access: "create"
|
|
37162
37216
|
},
|
|
37217
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
37218
|
+
capName: "pipeline-orchestrator",
|
|
37219
|
+
capScope: "system",
|
|
37220
|
+
addonId: null,
|
|
37221
|
+
access: "create"
|
|
37222
|
+
},
|
|
37163
37223
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
37164
37224
|
capName: "pipeline-orchestrator",
|
|
37165
37225
|
capScope: "system",
|
|
@@ -40291,6 +40351,11 @@ Object.freeze({
|
|
|
40291
40351
|
form: "array",
|
|
40292
40352
|
optional: true
|
|
40293
40353
|
}],
|
|
40354
|
+
"pipelineAnalytics.listSummaries": [{
|
|
40355
|
+
name: "deviceIds",
|
|
40356
|
+
form: "array",
|
|
40357
|
+
optional: false
|
|
40358
|
+
}],
|
|
40294
40359
|
"pipelineAnalytics.listTrackMedia": [{
|
|
40295
40360
|
name: "deviceId",
|
|
40296
40361
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-unifi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.69",
|
|
4
4
|
"description": "UniFi Network controller device-provider addon for CamStack — local-controller infra switches/APs (as containers) + network-client presence. NO cameras/Protect.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|