@camstack/addon-provider-velux 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 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({
@@ -36523,6 +36550,12 @@ Object.freeze({
36523
36550
  addonId: null,
36524
36551
  access: "view"
36525
36552
  },
36553
+ "pipelineAnalytics.getSummary": {
36554
+ capName: "pipeline-analytics",
36555
+ capScope: "device",
36556
+ addonId: null,
36557
+ access: "view"
36558
+ },
36526
36559
  "pipelineAnalytics.getTrack": {
36527
36560
  capName: "pipeline-analytics",
36528
36561
  capScope: "device",
@@ -36601,6 +36634,12 @@ Object.freeze({
36601
36634
  addonId: null,
36602
36635
  access: "view"
36603
36636
  },
36637
+ "pipelineAnalytics.listSummaries": {
36638
+ capName: "pipeline-analytics",
36639
+ capScope: "device",
36640
+ addonId: null,
36641
+ access: "view"
36642
+ },
36604
36643
  "pipelineAnalytics.listTrackMedia": {
36605
36644
  capName: "pipeline-analytics",
36606
36645
  capScope: "device",
@@ -40296,6 +40335,11 @@ Object.freeze({
40296
40335
  form: "array",
40297
40336
  optional: true
40298
40337
  }],
40338
+ "pipelineAnalytics.listSummaries": [{
40339
+ name: "deviceIds",
40340
+ form: "array",
40341
+ optional: false
40342
+ }],
40299
40343
  "pipelineAnalytics.listTrackMedia": [{
40300
40344
  name: "deviceId",
40301
40345
  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({
@@ -36522,6 +36549,12 @@ Object.freeze({
36522
36549
  addonId: null,
36523
36550
  access: "view"
36524
36551
  },
36552
+ "pipelineAnalytics.getSummary": {
36553
+ capName: "pipeline-analytics",
36554
+ capScope: "device",
36555
+ addonId: null,
36556
+ access: "view"
36557
+ },
36525
36558
  "pipelineAnalytics.getTrack": {
36526
36559
  capName: "pipeline-analytics",
36527
36560
  capScope: "device",
@@ -36600,6 +36633,12 @@ Object.freeze({
36600
36633
  addonId: null,
36601
36634
  access: "view"
36602
36635
  },
36636
+ "pipelineAnalytics.listSummaries": {
36637
+ capName: "pipeline-analytics",
36638
+ capScope: "device",
36639
+ addonId: null,
36640
+ access: "view"
36641
+ },
36603
36642
  "pipelineAnalytics.listTrackMedia": {
36604
36643
  capName: "pipeline-analytics",
36605
36644
  capScope: "device",
@@ -40295,6 +40334,11 @@ Object.freeze({
40295
40334
  form: "array",
40296
40335
  optional: true
40297
40336
  }],
40337
+ "pipelineAnalytics.listSummaries": [{
40338
+ name: "deviceIds",
40339
+ form: "array",
40340
+ optional: false
40341
+ }],
40298
40342
  "pipelineAnalytics.listTrackMedia": [{
40299
40343
  name: "deviceId",
40300
40344
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-velux",
3
- "version": "0.2.68",
3
+ "version": "0.2.69",
4
4
  "description": "Velux KLF-200 device-provider addon for CamStack — local-gateway window + shutter covers (positional, no tilt)",
5
5
  "keywords": [
6
6
  "camstack",