@camstack/addon-agent-ui 1.2.72 → 1.2.73
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 +46 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19024,6 +19024,33 @@ var RecentTracksQueryInput = object({
|
|
|
19024
19024
|
*/
|
|
19025
19025
|
classes: array(string()).optional()
|
|
19026
19026
|
});
|
|
19027
|
+
/**
|
|
19028
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19029
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19030
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19031
|
+
* member visible has been materialised.
|
|
19032
|
+
*/
|
|
19033
|
+
var SummarySchema = object({
|
|
19034
|
+
id: string(),
|
|
19035
|
+
deviceId: number(),
|
|
19036
|
+
openedAt: number(),
|
|
19037
|
+
lastActiveAt: number(),
|
|
19038
|
+
sealedAt: number().nullable(),
|
|
19039
|
+
memberCount: number().int().nonnegative(),
|
|
19040
|
+
groupShotKey: string().nullable()
|
|
19041
|
+
});
|
|
19042
|
+
var SummariesQueryInput = object({
|
|
19043
|
+
deviceIds: array(number()).min(1),
|
|
19044
|
+
since: number().optional(),
|
|
19045
|
+
until: number().optional(),
|
|
19046
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19047
|
+
});
|
|
19048
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19049
|
+
var SummaryDetailSchema = object({
|
|
19050
|
+
summary: SummarySchema,
|
|
19051
|
+
/** Member track ids, in absorption order. */
|
|
19052
|
+
trackIds: array(string()).readonly()
|
|
19053
|
+
});
|
|
19027
19054
|
var RecentTracksPageSchema = object({
|
|
19028
19055
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19029
19056
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19424,7 +19451,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19424
19451
|
* timeline would read as a camera that saw nothing.
|
|
19425
19452
|
*/
|
|
19426
19453
|
classes: array(string()).optional()
|
|
19427
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19454
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19428
19455
|
kind: "mutation",
|
|
19429
19456
|
auth: "admin"
|
|
19430
19457
|
}), 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({
|
|
@@ -32379,6 +32406,12 @@ Object.freeze({
|
|
|
32379
32406
|
addonId: null,
|
|
32380
32407
|
access: "view"
|
|
32381
32408
|
},
|
|
32409
|
+
"pipelineAnalytics.getSummary": {
|
|
32410
|
+
capName: "pipeline-analytics",
|
|
32411
|
+
capScope: "device",
|
|
32412
|
+
addonId: null,
|
|
32413
|
+
access: "view"
|
|
32414
|
+
},
|
|
32382
32415
|
"pipelineAnalytics.getTrack": {
|
|
32383
32416
|
capName: "pipeline-analytics",
|
|
32384
32417
|
capScope: "device",
|
|
@@ -32457,6 +32490,12 @@ Object.freeze({
|
|
|
32457
32490
|
addonId: null,
|
|
32458
32491
|
access: "view"
|
|
32459
32492
|
},
|
|
32493
|
+
"pipelineAnalytics.listSummaries": {
|
|
32494
|
+
capName: "pipeline-analytics",
|
|
32495
|
+
capScope: "device",
|
|
32496
|
+
addonId: null,
|
|
32497
|
+
access: "view"
|
|
32498
|
+
},
|
|
32460
32499
|
"pipelineAnalytics.listTrackMedia": {
|
|
32461
32500
|
capName: "pipeline-analytics",
|
|
32462
32501
|
capScope: "device",
|
|
@@ -36152,6 +36191,11 @@ Object.freeze({
|
|
|
36152
36191
|
form: "array",
|
|
36153
36192
|
optional: true
|
|
36154
36193
|
}],
|
|
36194
|
+
"pipelineAnalytics.listSummaries": [{
|
|
36195
|
+
name: "deviceIds",
|
|
36196
|
+
form: "array",
|
|
36197
|
+
optional: false
|
|
36198
|
+
}],
|
|
36155
36199
|
"pipelineAnalytics.listTrackMedia": [{
|
|
36156
36200
|
name: "deviceId",
|
|
36157
36201
|
form: "single",
|
|
@@ -37436,7 +37480,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
37436
37480
|
capability: adminUiCapability,
|
|
37437
37481
|
provider: {
|
|
37438
37482
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
37439
|
-
getVersion: async () => ({ version: "1.2.
|
|
37483
|
+
getVersion: async () => ({ version: "1.2.73" })
|
|
37440
37484
|
}
|
|
37441
37485
|
}];
|
|
37442
37486
|
}
|