@camstack/addon-provider-unifi 0.2.68 → 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 +45 -1
- package/dist/addon.mjs +45 -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({
|
|
@@ -36540,6 +36567,12 @@ Object.freeze({
|
|
|
36540
36567
|
addonId: null,
|
|
36541
36568
|
access: "view"
|
|
36542
36569
|
},
|
|
36570
|
+
"pipelineAnalytics.getSummary": {
|
|
36571
|
+
capName: "pipeline-analytics",
|
|
36572
|
+
capScope: "device",
|
|
36573
|
+
addonId: null,
|
|
36574
|
+
access: "view"
|
|
36575
|
+
},
|
|
36543
36576
|
"pipelineAnalytics.getTrack": {
|
|
36544
36577
|
capName: "pipeline-analytics",
|
|
36545
36578
|
capScope: "device",
|
|
@@ -36618,6 +36651,12 @@ Object.freeze({
|
|
|
36618
36651
|
addonId: null,
|
|
36619
36652
|
access: "view"
|
|
36620
36653
|
},
|
|
36654
|
+
"pipelineAnalytics.listSummaries": {
|
|
36655
|
+
capName: "pipeline-analytics",
|
|
36656
|
+
capScope: "device",
|
|
36657
|
+
addonId: null,
|
|
36658
|
+
access: "view"
|
|
36659
|
+
},
|
|
36621
36660
|
"pipelineAnalytics.listTrackMedia": {
|
|
36622
36661
|
capName: "pipeline-analytics",
|
|
36623
36662
|
capScope: "device",
|
|
@@ -40313,6 +40352,11 @@ Object.freeze({
|
|
|
40313
40352
|
form: "array",
|
|
40314
40353
|
optional: true
|
|
40315
40354
|
}],
|
|
40355
|
+
"pipelineAnalytics.listSummaries": [{
|
|
40356
|
+
name: "deviceIds",
|
|
40357
|
+
form: "array",
|
|
40358
|
+
optional: false
|
|
40359
|
+
}],
|
|
40316
40360
|
"pipelineAnalytics.listTrackMedia": [{
|
|
40317
40361
|
name: "deviceId",
|
|
40318
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({
|
|
@@ -36539,6 +36566,12 @@ Object.freeze({
|
|
|
36539
36566
|
addonId: null,
|
|
36540
36567
|
access: "view"
|
|
36541
36568
|
},
|
|
36569
|
+
"pipelineAnalytics.getSummary": {
|
|
36570
|
+
capName: "pipeline-analytics",
|
|
36571
|
+
capScope: "device",
|
|
36572
|
+
addonId: null,
|
|
36573
|
+
access: "view"
|
|
36574
|
+
},
|
|
36542
36575
|
"pipelineAnalytics.getTrack": {
|
|
36543
36576
|
capName: "pipeline-analytics",
|
|
36544
36577
|
capScope: "device",
|
|
@@ -36617,6 +36650,12 @@ Object.freeze({
|
|
|
36617
36650
|
addonId: null,
|
|
36618
36651
|
access: "view"
|
|
36619
36652
|
},
|
|
36653
|
+
"pipelineAnalytics.listSummaries": {
|
|
36654
|
+
capName: "pipeline-analytics",
|
|
36655
|
+
capScope: "device",
|
|
36656
|
+
addonId: null,
|
|
36657
|
+
access: "view"
|
|
36658
|
+
},
|
|
36620
36659
|
"pipelineAnalytics.listTrackMedia": {
|
|
36621
36660
|
capName: "pipeline-analytics",
|
|
36622
36661
|
capScope: "device",
|
|
@@ -40312,6 +40351,11 @@ Object.freeze({
|
|
|
40312
40351
|
form: "array",
|
|
40313
40352
|
optional: true
|
|
40314
40353
|
}],
|
|
40354
|
+
"pipelineAnalytics.listSummaries": [{
|
|
40355
|
+
name: "deviceIds",
|
|
40356
|
+
form: "array",
|
|
40357
|
+
optional: false
|
|
40358
|
+
}],
|
|
40315
40359
|
"pipelineAnalytics.listTrackMedia": [{
|
|
40316
40360
|
name: "deviceId",
|
|
40317
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",
|