@camstack/addon-provider-amcrest 0.2.70 → 0.2.71

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
@@ -19384,6 +19384,33 @@ var RecentTracksQueryInput = object({
19384
19384
  */
19385
19385
  classes: array(string()).optional()
19386
19386
  });
19387
+ /**
19388
+ * A Summary (D359): the per-camera session envelope that references tracks.
19389
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19390
+ * served by the event-media plane by key), null until the first frame with a
19391
+ * member visible has been materialised.
19392
+ */
19393
+ var SummarySchema = object({
19394
+ id: string(),
19395
+ deviceId: number(),
19396
+ openedAt: number(),
19397
+ lastActiveAt: number(),
19398
+ sealedAt: number().nullable(),
19399
+ memberCount: number().int().nonnegative(),
19400
+ groupShotKey: string().nullable()
19401
+ });
19402
+ var SummariesQueryInput = object({
19403
+ deviceIds: array(number()).min(1),
19404
+ since: number().optional(),
19405
+ until: number().optional(),
19406
+ limit: number().int().min(1).max(200).default(50)
19407
+ });
19408
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19409
+ var SummaryDetailSchema = object({
19410
+ summary: SummarySchema,
19411
+ /** Member track ids, in absorption order. */
19412
+ trackIds: array(string()).readonly()
19413
+ });
19387
19414
  var RecentTracksPageSchema = object({
19388
19415
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19389
19416
  tracks: array(TrackSchema).readonly(),
@@ -19784,7 +19811,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19784
19811
  * timeline would read as a camera that saw nothing.
19785
19812
  */
19786
19813
  classes: array(string()).optional()
19787
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19814
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19788
19815
  kind: "mutation",
19789
19816
  auth: "admin"
19790
19817
  }), 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({
@@ -37134,6 +37161,12 @@ Object.freeze({
37134
37161
  addonId: null,
37135
37162
  access: "view"
37136
37163
  },
37164
+ "pipelineAnalytics.getSummary": {
37165
+ capName: "pipeline-analytics",
37166
+ capScope: "device",
37167
+ addonId: null,
37168
+ access: "view"
37169
+ },
37137
37170
  "pipelineAnalytics.getTrack": {
37138
37171
  capName: "pipeline-analytics",
37139
37172
  capScope: "device",
@@ -37212,6 +37245,12 @@ Object.freeze({
37212
37245
  addonId: null,
37213
37246
  access: "view"
37214
37247
  },
37248
+ "pipelineAnalytics.listSummaries": {
37249
+ capName: "pipeline-analytics",
37250
+ capScope: "device",
37251
+ addonId: null,
37252
+ access: "view"
37253
+ },
37215
37254
  "pipelineAnalytics.listTrackMedia": {
37216
37255
  capName: "pipeline-analytics",
37217
37256
  capScope: "device",
@@ -40907,6 +40946,11 @@ Object.freeze({
40907
40946
  form: "array",
40908
40947
  optional: true
40909
40948
  }],
40949
+ "pipelineAnalytics.listSummaries": [{
40950
+ name: "deviceIds",
40951
+ form: "array",
40952
+ optional: false
40953
+ }],
40910
40954
  "pipelineAnalytics.listTrackMedia": [{
40911
40955
  name: "deviceId",
40912
40956
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19385,6 +19385,33 @@ var RecentTracksQueryInput = object({
19385
19385
  */
19386
19386
  classes: array(string()).optional()
19387
19387
  });
19388
+ /**
19389
+ * A Summary (D359): the per-camera session envelope that references tracks.
19390
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19391
+ * served by the event-media plane by key), null until the first frame with a
19392
+ * member visible has been materialised.
19393
+ */
19394
+ var SummarySchema = object({
19395
+ id: string(),
19396
+ deviceId: number(),
19397
+ openedAt: number(),
19398
+ lastActiveAt: number(),
19399
+ sealedAt: number().nullable(),
19400
+ memberCount: number().int().nonnegative(),
19401
+ groupShotKey: string().nullable()
19402
+ });
19403
+ var SummariesQueryInput = object({
19404
+ deviceIds: array(number()).min(1),
19405
+ since: number().optional(),
19406
+ until: number().optional(),
19407
+ limit: number().int().min(1).max(200).default(50)
19408
+ });
19409
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19410
+ var SummaryDetailSchema = object({
19411
+ summary: SummarySchema,
19412
+ /** Member track ids, in absorption order. */
19413
+ trackIds: array(string()).readonly()
19414
+ });
19388
19415
  var RecentTracksPageSchema = object({
19389
19416
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19390
19417
  tracks: array(TrackSchema).readonly(),
@@ -19785,7 +19812,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19785
19812
  * timeline would read as a camera that saw nothing.
19786
19813
  */
19787
19814
  classes: array(string()).optional()
19788
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19815
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19789
19816
  kind: "mutation",
19790
19817
  auth: "admin"
19791
19818
  }), 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({
@@ -37135,6 +37162,12 @@ Object.freeze({
37135
37162
  addonId: null,
37136
37163
  access: "view"
37137
37164
  },
37165
+ "pipelineAnalytics.getSummary": {
37166
+ capName: "pipeline-analytics",
37167
+ capScope: "device",
37168
+ addonId: null,
37169
+ access: "view"
37170
+ },
37138
37171
  "pipelineAnalytics.getTrack": {
37139
37172
  capName: "pipeline-analytics",
37140
37173
  capScope: "device",
@@ -37213,6 +37246,12 @@ Object.freeze({
37213
37246
  addonId: null,
37214
37247
  access: "view"
37215
37248
  },
37249
+ "pipelineAnalytics.listSummaries": {
37250
+ capName: "pipeline-analytics",
37251
+ capScope: "device",
37252
+ addonId: null,
37253
+ access: "view"
37254
+ },
37216
37255
  "pipelineAnalytics.listTrackMedia": {
37217
37256
  capName: "pipeline-analytics",
37218
37257
  capScope: "device",
@@ -40908,6 +40947,11 @@ Object.freeze({
40908
40947
  form: "array",
40909
40948
  optional: true
40910
40949
  }],
40950
+ "pipelineAnalytics.listSummaries": [{
40951
+ name: "deviceIds",
40952
+ form: "array",
40953
+ optional: false
40954
+ }],
40911
40955
  "pipelineAnalytics.listTrackMedia": [{
40912
40956
  name: "deviceId",
40913
40957
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-amcrest",
3
- "version": "0.2.70",
3
+ "version": "0.2.71",
4
4
  "description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
5
5
  "keywords": [
6
6
  "camstack",