@camstack/addon-provider-onvif 1.2.67 → 1.2.68

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 CHANGED
@@ -19101,6 +19101,33 @@ var RecentTracksQueryInput = object({
19101
19101
  */
19102
19102
  classes: array(string()).optional()
19103
19103
  });
19104
+ /**
19105
+ * A Summary (D359): the per-camera session envelope that references tracks.
19106
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19107
+ * served by the event-media plane by key), null until the first frame with a
19108
+ * member visible has been materialised.
19109
+ */
19110
+ var SummarySchema = object({
19111
+ id: string(),
19112
+ deviceId: number(),
19113
+ openedAt: number(),
19114
+ lastActiveAt: number(),
19115
+ sealedAt: number().nullable(),
19116
+ memberCount: number().int().nonnegative(),
19117
+ groupShotKey: string().nullable()
19118
+ });
19119
+ var SummariesQueryInput = object({
19120
+ deviceIds: array(number()).min(1),
19121
+ since: number().optional(),
19122
+ until: number().optional(),
19123
+ limit: number().int().min(1).max(200).default(50)
19124
+ });
19125
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19126
+ var SummaryDetailSchema = object({
19127
+ summary: SummarySchema,
19128
+ /** Member track ids, in absorption order. */
19129
+ trackIds: array(string()).readonly()
19130
+ });
19104
19131
  var RecentTracksPageSchema = object({
19105
19132
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19106
19133
  tracks: array(TrackSchema).readonly(),
@@ -19501,7 +19528,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19501
19528
  * timeline would read as a camera that saw nothing.
19502
19529
  */
19503
19530
  classes: array(string()).optional()
19504
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19531
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19505
19532
  kind: "mutation",
19506
19533
  auth: "admin"
19507
19534
  }), 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({
@@ -33377,6 +33404,12 @@ Object.freeze({
33377
33404
  addonId: null,
33378
33405
  access: "view"
33379
33406
  },
33407
+ "pipelineAnalytics.getSummary": {
33408
+ capName: "pipeline-analytics",
33409
+ capScope: "device",
33410
+ addonId: null,
33411
+ access: "view"
33412
+ },
33380
33413
  "pipelineAnalytics.getTrack": {
33381
33414
  capName: "pipeline-analytics",
33382
33415
  capScope: "device",
@@ -33455,6 +33488,12 @@ Object.freeze({
33455
33488
  addonId: null,
33456
33489
  access: "view"
33457
33490
  },
33491
+ "pipelineAnalytics.listSummaries": {
33492
+ capName: "pipeline-analytics",
33493
+ capScope: "device",
33494
+ addonId: null,
33495
+ access: "view"
33496
+ },
33458
33497
  "pipelineAnalytics.listTrackMedia": {
33459
33498
  capName: "pipeline-analytics",
33460
33499
  capScope: "device",
@@ -37150,6 +37189,11 @@ Object.freeze({
37150
37189
  form: "array",
37151
37190
  optional: true
37152
37191
  }],
37192
+ "pipelineAnalytics.listSummaries": [{
37193
+ name: "deviceIds",
37194
+ form: "array",
37195
+ optional: false
37196
+ }],
37153
37197
  "pipelineAnalytics.listTrackMedia": [{
37154
37198
  name: "deviceId",
37155
37199
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19102,6 +19102,33 @@ var RecentTracksQueryInput = object({
19102
19102
  */
19103
19103
  classes: array(string()).optional()
19104
19104
  });
19105
+ /**
19106
+ * A Summary (D359): the per-camera session envelope that references tracks.
19107
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19108
+ * served by the event-media plane by key), null until the first frame with a
19109
+ * member visible has been materialised.
19110
+ */
19111
+ var SummarySchema = object({
19112
+ id: string(),
19113
+ deviceId: number(),
19114
+ openedAt: number(),
19115
+ lastActiveAt: number(),
19116
+ sealedAt: number().nullable(),
19117
+ memberCount: number().int().nonnegative(),
19118
+ groupShotKey: string().nullable()
19119
+ });
19120
+ var SummariesQueryInput = object({
19121
+ deviceIds: array(number()).min(1),
19122
+ since: number().optional(),
19123
+ until: number().optional(),
19124
+ limit: number().int().min(1).max(200).default(50)
19125
+ });
19126
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19127
+ var SummaryDetailSchema = object({
19128
+ summary: SummarySchema,
19129
+ /** Member track ids, in absorption order. */
19130
+ trackIds: array(string()).readonly()
19131
+ });
19105
19132
  var RecentTracksPageSchema = object({
19106
19133
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19107
19134
  tracks: array(TrackSchema).readonly(),
@@ -19502,7 +19529,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19502
19529
  * timeline would read as a camera that saw nothing.
19503
19530
  */
19504
19531
  classes: array(string()).optional()
19505
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19532
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19506
19533
  kind: "mutation",
19507
19534
  auth: "admin"
19508
19535
  }), 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({
@@ -33378,6 +33405,12 @@ Object.freeze({
33378
33405
  addonId: null,
33379
33406
  access: "view"
33380
33407
  },
33408
+ "pipelineAnalytics.getSummary": {
33409
+ capName: "pipeline-analytics",
33410
+ capScope: "device",
33411
+ addonId: null,
33412
+ access: "view"
33413
+ },
33381
33414
  "pipelineAnalytics.getTrack": {
33382
33415
  capName: "pipeline-analytics",
33383
33416
  capScope: "device",
@@ -33456,6 +33489,12 @@ Object.freeze({
33456
33489
  addonId: null,
33457
33490
  access: "view"
33458
33491
  },
33492
+ "pipelineAnalytics.listSummaries": {
33493
+ capName: "pipeline-analytics",
33494
+ capScope: "device",
33495
+ addonId: null,
33496
+ access: "view"
33497
+ },
33459
33498
  "pipelineAnalytics.listTrackMedia": {
33460
33499
  capName: "pipeline-analytics",
33461
33500
  capScope: "device",
@@ -37151,6 +37190,11 @@ Object.freeze({
37151
37190
  form: "array",
37152
37191
  optional: true
37153
37192
  }],
37193
+ "pipelineAnalytics.listSummaries": [{
37194
+ name: "deviceIds",
37195
+ form: "array",
37196
+ optional: false
37197
+ }],
37154
37198
  "pipelineAnalytics.listTrackMedia": [{
37155
37199
  name: "deviceId",
37156
37200
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.67",
3
+ "version": "1.2.68",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",