@camstack/addon-matter-broker 0.2.67 → 0.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
@@ -19469,6 +19469,33 @@ var RecentTracksQueryInput = object({
19469
19469
  */
19470
19470
  classes: array(string$2()).optional()
19471
19471
  });
19472
+ /**
19473
+ * A Summary (D359): the per-camera session envelope that references tracks.
19474
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19475
+ * served by the event-media plane by key), null until the first frame with a
19476
+ * member visible has been materialised.
19477
+ */
19478
+ var SummarySchema = object({
19479
+ id: string$2(),
19480
+ deviceId: number(),
19481
+ openedAt: number(),
19482
+ lastActiveAt: number(),
19483
+ sealedAt: number().nullable(),
19484
+ memberCount: number().int().nonnegative(),
19485
+ groupShotKey: string$2().nullable()
19486
+ });
19487
+ var SummariesQueryInput = object({
19488
+ deviceIds: array(number()).min(1),
19489
+ since: number().optional(),
19490
+ until: number().optional(),
19491
+ limit: number().int().min(1).max(200).default(50)
19492
+ });
19493
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19494
+ var SummaryDetailSchema = object({
19495
+ summary: SummarySchema,
19496
+ /** Member track ids, in absorption order. */
19497
+ trackIds: array(string$2()).readonly()
19498
+ });
19472
19499
  var RecentTracksPageSchema = object({
19473
19500
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19474
19501
  tracks: array(TrackSchema).readonly(),
@@ -19869,7 +19896,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19869
19896
  * timeline would read as a camera that saw nothing.
19870
19897
  */
19871
19898
  classes: array(string$2()).optional()
19872
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19899
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string$2() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19873
19900
  kind: "mutation",
19874
19901
  auth: "admin"
19875
19902
  }), 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({
@@ -36620,6 +36647,12 @@ Object.freeze({
36620
36647
  addonId: null,
36621
36648
  access: "view"
36622
36649
  },
36650
+ "pipelineAnalytics.getSummary": {
36651
+ capName: "pipeline-analytics",
36652
+ capScope: "device",
36653
+ addonId: null,
36654
+ access: "view"
36655
+ },
36623
36656
  "pipelineAnalytics.getTrack": {
36624
36657
  capName: "pipeline-analytics",
36625
36658
  capScope: "device",
@@ -36698,6 +36731,12 @@ Object.freeze({
36698
36731
  addonId: null,
36699
36732
  access: "view"
36700
36733
  },
36734
+ "pipelineAnalytics.listSummaries": {
36735
+ capName: "pipeline-analytics",
36736
+ capScope: "device",
36737
+ addonId: null,
36738
+ access: "view"
36739
+ },
36701
36740
  "pipelineAnalytics.listTrackMedia": {
36702
36741
  capName: "pipeline-analytics",
36703
36742
  capScope: "device",
@@ -40393,6 +40432,11 @@ Object.freeze({
40393
40432
  form: "array",
40394
40433
  optional: true
40395
40434
  }],
40435
+ "pipelineAnalytics.listSummaries": [{
40436
+ name: "deviceIds",
40437
+ form: "array",
40438
+ optional: false
40439
+ }],
40396
40440
  "pipelineAnalytics.listTrackMedia": [{
40397
40441
  name: "deviceId",
40398
40442
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19467,6 +19467,33 @@ var RecentTracksQueryInput = object({
19467
19467
  */
19468
19468
  classes: array(string$2()).optional()
19469
19469
  });
19470
+ /**
19471
+ * A Summary (D359): the per-camera session envelope that references tracks.
19472
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19473
+ * served by the event-media plane by key), null until the first frame with a
19474
+ * member visible has been materialised.
19475
+ */
19476
+ var SummarySchema = object({
19477
+ id: string$2(),
19478
+ deviceId: number(),
19479
+ openedAt: number(),
19480
+ lastActiveAt: number(),
19481
+ sealedAt: number().nullable(),
19482
+ memberCount: number().int().nonnegative(),
19483
+ groupShotKey: string$2().nullable()
19484
+ });
19485
+ var SummariesQueryInput = object({
19486
+ deviceIds: array(number()).min(1),
19487
+ since: number().optional(),
19488
+ until: number().optional(),
19489
+ limit: number().int().min(1).max(200).default(50)
19490
+ });
19491
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19492
+ var SummaryDetailSchema = object({
19493
+ summary: SummarySchema,
19494
+ /** Member track ids, in absorption order. */
19495
+ trackIds: array(string$2()).readonly()
19496
+ });
19470
19497
  var RecentTracksPageSchema = object({
19471
19498
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19472
19499
  tracks: array(TrackSchema).readonly(),
@@ -19867,7 +19894,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19867
19894
  * timeline would read as a camera that saw nothing.
19868
19895
  */
19869
19896
  classes: array(string$2()).optional()
19870
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19897
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string$2() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19871
19898
  kind: "mutation",
19872
19899
  auth: "admin"
19873
19900
  }), 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({
@@ -36618,6 +36645,12 @@ Object.freeze({
36618
36645
  addonId: null,
36619
36646
  access: "view"
36620
36647
  },
36648
+ "pipelineAnalytics.getSummary": {
36649
+ capName: "pipeline-analytics",
36650
+ capScope: "device",
36651
+ addonId: null,
36652
+ access: "view"
36653
+ },
36621
36654
  "pipelineAnalytics.getTrack": {
36622
36655
  capName: "pipeline-analytics",
36623
36656
  capScope: "device",
@@ -36696,6 +36729,12 @@ Object.freeze({
36696
36729
  addonId: null,
36697
36730
  access: "view"
36698
36731
  },
36732
+ "pipelineAnalytics.listSummaries": {
36733
+ capName: "pipeline-analytics",
36734
+ capScope: "device",
36735
+ addonId: null,
36736
+ access: "view"
36737
+ },
36699
36738
  "pipelineAnalytics.listTrackMedia": {
36700
36739
  capName: "pipeline-analytics",
36701
36740
  capScope: "device",
@@ -40391,6 +40430,11 @@ Object.freeze({
40391
40430
  form: "array",
40392
40431
  optional: true
40393
40432
  }],
40433
+ "pipelineAnalytics.listSummaries": [{
40434
+ name: "deviceIds",
40435
+ form: "array",
40436
+ optional: false
40437
+ }],
40394
40438
  "pipelineAnalytics.listTrackMedia": [{
40395
40439
  name: "deviceId",
40396
40440
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.67",
3
+ "version": "0.2.68",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",