@camstack/addon-provider-hikvision 1.2.76 → 1.2.77

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
@@ -19696,6 +19696,33 @@ var RecentTracksQueryInput = object({
19696
19696
  */
19697
19697
  classes: array(string()).optional()
19698
19698
  });
19699
+ /**
19700
+ * A Summary (D359): the per-camera session envelope that references tracks.
19701
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19702
+ * served by the event-media plane by key), null until the first frame with a
19703
+ * member visible has been materialised.
19704
+ */
19705
+ var SummarySchema = object({
19706
+ id: string(),
19707
+ deviceId: number(),
19708
+ openedAt: number(),
19709
+ lastActiveAt: number(),
19710
+ sealedAt: number().nullable(),
19711
+ memberCount: number().int().nonnegative(),
19712
+ groupShotKey: string().nullable()
19713
+ });
19714
+ var SummariesQueryInput = object({
19715
+ deviceIds: array(number()).min(1),
19716
+ since: number().optional(),
19717
+ until: number().optional(),
19718
+ limit: number().int().min(1).max(200).default(50)
19719
+ });
19720
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19721
+ var SummaryDetailSchema = object({
19722
+ summary: SummarySchema,
19723
+ /** Member track ids, in absorption order. */
19724
+ trackIds: array(string()).readonly()
19725
+ });
19699
19726
  var RecentTracksPageSchema = object({
19700
19727
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19701
19728
  tracks: array(TrackSchema).readonly(),
@@ -20096,7 +20123,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20096
20123
  * timeline would read as a camera that saw nothing.
20097
20124
  */
20098
20125
  classes: array(string()).optional()
20099
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20126
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20100
20127
  kind: "mutation",
20101
20128
  auth: "admin"
20102
20129
  }), 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({
@@ -37498,6 +37525,12 @@ Object.freeze({
37498
37525
  addonId: null,
37499
37526
  access: "view"
37500
37527
  },
37528
+ "pipelineAnalytics.getSummary": {
37529
+ capName: "pipeline-analytics",
37530
+ capScope: "device",
37531
+ addonId: null,
37532
+ access: "view"
37533
+ },
37501
37534
  "pipelineAnalytics.getTrack": {
37502
37535
  capName: "pipeline-analytics",
37503
37536
  capScope: "device",
@@ -37576,6 +37609,12 @@ Object.freeze({
37576
37609
  addonId: null,
37577
37610
  access: "view"
37578
37611
  },
37612
+ "pipelineAnalytics.listSummaries": {
37613
+ capName: "pipeline-analytics",
37614
+ capScope: "device",
37615
+ addonId: null,
37616
+ access: "view"
37617
+ },
37579
37618
  "pipelineAnalytics.listTrackMedia": {
37580
37619
  capName: "pipeline-analytics",
37581
37620
  capScope: "device",
@@ -41271,6 +41310,11 @@ Object.freeze({
41271
41310
  form: "array",
41272
41311
  optional: true
41273
41312
  }],
41313
+ "pipelineAnalytics.listSummaries": [{
41314
+ name: "deviceIds",
41315
+ form: "array",
41316
+ optional: false
41317
+ }],
41274
41318
  "pipelineAnalytics.listTrackMedia": [{
41275
41319
  name: "deviceId",
41276
41320
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19697,6 +19697,33 @@ var RecentTracksQueryInput = object({
19697
19697
  */
19698
19698
  classes: array(string()).optional()
19699
19699
  });
19700
+ /**
19701
+ * A Summary (D359): the per-camera session envelope that references tracks.
19702
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19703
+ * served by the event-media plane by key), null until the first frame with a
19704
+ * member visible has been materialised.
19705
+ */
19706
+ var SummarySchema = object({
19707
+ id: string(),
19708
+ deviceId: number(),
19709
+ openedAt: number(),
19710
+ lastActiveAt: number(),
19711
+ sealedAt: number().nullable(),
19712
+ memberCount: number().int().nonnegative(),
19713
+ groupShotKey: string().nullable()
19714
+ });
19715
+ var SummariesQueryInput = object({
19716
+ deviceIds: array(number()).min(1),
19717
+ since: number().optional(),
19718
+ until: number().optional(),
19719
+ limit: number().int().min(1).max(200).default(50)
19720
+ });
19721
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19722
+ var SummaryDetailSchema = object({
19723
+ summary: SummarySchema,
19724
+ /** Member track ids, in absorption order. */
19725
+ trackIds: array(string()).readonly()
19726
+ });
19700
19727
  var RecentTracksPageSchema = object({
19701
19728
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19702
19729
  tracks: array(TrackSchema).readonly(),
@@ -20097,7 +20124,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20097
20124
  * timeline would read as a camera that saw nothing.
20098
20125
  */
20099
20126
  classes: array(string()).optional()
20100
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20127
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20101
20128
  kind: "mutation",
20102
20129
  auth: "admin"
20103
20130
  }), 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({
@@ -37499,6 +37526,12 @@ Object.freeze({
37499
37526
  addonId: null,
37500
37527
  access: "view"
37501
37528
  },
37529
+ "pipelineAnalytics.getSummary": {
37530
+ capName: "pipeline-analytics",
37531
+ capScope: "device",
37532
+ addonId: null,
37533
+ access: "view"
37534
+ },
37502
37535
  "pipelineAnalytics.getTrack": {
37503
37536
  capName: "pipeline-analytics",
37504
37537
  capScope: "device",
@@ -37577,6 +37610,12 @@ Object.freeze({
37577
37610
  addonId: null,
37578
37611
  access: "view"
37579
37612
  },
37613
+ "pipelineAnalytics.listSummaries": {
37614
+ capName: "pipeline-analytics",
37615
+ capScope: "device",
37616
+ addonId: null,
37617
+ access: "view"
37618
+ },
37580
37619
  "pipelineAnalytics.listTrackMedia": {
37581
37620
  capName: "pipeline-analytics",
37582
37621
  capScope: "device",
@@ -41272,6 +41311,11 @@ Object.freeze({
41272
41311
  form: "array",
41273
41312
  optional: true
41274
41313
  }],
41314
+ "pipelineAnalytics.listSummaries": [{
41315
+ name: "deviceIds",
41316
+ form: "array",
41317
+ optional: false
41318
+ }],
41275
41319
  "pipelineAnalytics.listTrackMedia": [{
41276
41320
  name: "deviceId",
41277
41321
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.76",
3
+ "version": "1.2.77",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",