@camstack/addon-provider-wyze 0.2.72 → 0.2.73

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
@@ -19438,6 +19438,33 @@ var RecentTracksQueryInput = object({
19438
19438
  */
19439
19439
  classes: array(string()).optional()
19440
19440
  });
19441
+ /**
19442
+ * A Summary (D359): the per-camera session envelope that references tracks.
19443
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19444
+ * served by the event-media plane by key), null until the first frame with a
19445
+ * member visible has been materialised.
19446
+ */
19447
+ var SummarySchema = object({
19448
+ id: string(),
19449
+ deviceId: number(),
19450
+ openedAt: number(),
19451
+ lastActiveAt: number(),
19452
+ sealedAt: number().nullable(),
19453
+ memberCount: number().int().nonnegative(),
19454
+ groupShotKey: string().nullable()
19455
+ });
19456
+ var SummariesQueryInput = object({
19457
+ deviceIds: array(number()).min(1),
19458
+ since: number().optional(),
19459
+ until: number().optional(),
19460
+ limit: number().int().min(1).max(200).default(50)
19461
+ });
19462
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19463
+ var SummaryDetailSchema = object({
19464
+ summary: SummarySchema,
19465
+ /** Member track ids, in absorption order. */
19466
+ trackIds: array(string()).readonly()
19467
+ });
19441
19468
  var RecentTracksPageSchema = object({
19442
19469
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19443
19470
  tracks: array(TrackSchema).readonly(),
@@ -19838,7 +19865,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19838
19865
  * timeline would read as a camera that saw nothing.
19839
19866
  */
19840
19867
  classes: array(string()).optional()
19841
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19868
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19842
19869
  kind: "mutation",
19843
19870
  auth: "admin"
19844
19871
  }), 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({
@@ -36684,6 +36711,12 @@ Object.freeze({
36684
36711
  addonId: null,
36685
36712
  access: "view"
36686
36713
  },
36714
+ "pipelineAnalytics.getSummary": {
36715
+ capName: "pipeline-analytics",
36716
+ capScope: "device",
36717
+ addonId: null,
36718
+ access: "view"
36719
+ },
36687
36720
  "pipelineAnalytics.getTrack": {
36688
36721
  capName: "pipeline-analytics",
36689
36722
  capScope: "device",
@@ -36762,6 +36795,12 @@ Object.freeze({
36762
36795
  addonId: null,
36763
36796
  access: "view"
36764
36797
  },
36798
+ "pipelineAnalytics.listSummaries": {
36799
+ capName: "pipeline-analytics",
36800
+ capScope: "device",
36801
+ addonId: null,
36802
+ access: "view"
36803
+ },
36765
36804
  "pipelineAnalytics.listTrackMedia": {
36766
36805
  capName: "pipeline-analytics",
36767
36806
  capScope: "device",
@@ -40457,6 +40496,11 @@ Object.freeze({
40457
40496
  form: "array",
40458
40497
  optional: true
40459
40498
  }],
40499
+ "pipelineAnalytics.listSummaries": [{
40500
+ name: "deviceIds",
40501
+ form: "array",
40502
+ optional: false
40503
+ }],
40460
40504
  "pipelineAnalytics.listTrackMedia": [{
40461
40505
  name: "deviceId",
40462
40506
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19417,6 +19417,33 @@ var RecentTracksQueryInput = object({
19417
19417
  */
19418
19418
  classes: array(string()).optional()
19419
19419
  });
19420
+ /**
19421
+ * A Summary (D359): the per-camera session envelope that references tracks.
19422
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19423
+ * served by the event-media plane by key), null until the first frame with a
19424
+ * member visible has been materialised.
19425
+ */
19426
+ var SummarySchema = object({
19427
+ id: string(),
19428
+ deviceId: number(),
19429
+ openedAt: number(),
19430
+ lastActiveAt: number(),
19431
+ sealedAt: number().nullable(),
19432
+ memberCount: number().int().nonnegative(),
19433
+ groupShotKey: string().nullable()
19434
+ });
19435
+ var SummariesQueryInput = object({
19436
+ deviceIds: array(number()).min(1),
19437
+ since: number().optional(),
19438
+ until: number().optional(),
19439
+ limit: number().int().min(1).max(200).default(50)
19440
+ });
19441
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19442
+ var SummaryDetailSchema = object({
19443
+ summary: SummarySchema,
19444
+ /** Member track ids, in absorption order. */
19445
+ trackIds: array(string()).readonly()
19446
+ });
19420
19447
  var RecentTracksPageSchema = object({
19421
19448
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19422
19449
  tracks: array(TrackSchema).readonly(),
@@ -19817,7 +19844,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19817
19844
  * timeline would read as a camera that saw nothing.
19818
19845
  */
19819
19846
  classes: array(string()).optional()
19820
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19847
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19821
19848
  kind: "mutation",
19822
19849
  auth: "admin"
19823
19850
  }), 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({
@@ -36663,6 +36690,12 @@ Object.freeze({
36663
36690
  addonId: null,
36664
36691
  access: "view"
36665
36692
  },
36693
+ "pipelineAnalytics.getSummary": {
36694
+ capName: "pipeline-analytics",
36695
+ capScope: "device",
36696
+ addonId: null,
36697
+ access: "view"
36698
+ },
36666
36699
  "pipelineAnalytics.getTrack": {
36667
36700
  capName: "pipeline-analytics",
36668
36701
  capScope: "device",
@@ -36741,6 +36774,12 @@ Object.freeze({
36741
36774
  addonId: null,
36742
36775
  access: "view"
36743
36776
  },
36777
+ "pipelineAnalytics.listSummaries": {
36778
+ capName: "pipeline-analytics",
36779
+ capScope: "device",
36780
+ addonId: null,
36781
+ access: "view"
36782
+ },
36744
36783
  "pipelineAnalytics.listTrackMedia": {
36745
36784
  capName: "pipeline-analytics",
36746
36785
  capScope: "device",
@@ -40436,6 +40475,11 @@ Object.freeze({
40436
40475
  form: "array",
40437
40476
  optional: true
40438
40477
  }],
40478
+ "pipelineAnalytics.listSummaries": [{
40479
+ name: "deviceIds",
40480
+ form: "array",
40481
+ optional: false
40482
+ }],
40439
40483
  "pipelineAnalytics.listTrackMedia": [{
40440
40484
  name: "deviceId",
40441
40485
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.2.72",
3
+ "version": "0.2.73",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",