@camstack/addon-import-alexa 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
@@ -19632,6 +19632,33 @@ var RecentTracksQueryInput = object({
19632
19632
  */
19633
19633
  classes: array(string()).optional()
19634
19634
  });
19635
+ /**
19636
+ * A Summary (D359): the per-camera session envelope that references tracks.
19637
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19638
+ * served by the event-media plane by key), null until the first frame with a
19639
+ * member visible has been materialised.
19640
+ */
19641
+ var SummarySchema = object({
19642
+ id: string(),
19643
+ deviceId: number(),
19644
+ openedAt: number(),
19645
+ lastActiveAt: number(),
19646
+ sealedAt: number().nullable(),
19647
+ memberCount: number().int().nonnegative(),
19648
+ groupShotKey: string().nullable()
19649
+ });
19650
+ var SummariesQueryInput = object({
19651
+ deviceIds: array(number()).min(1),
19652
+ since: number().optional(),
19653
+ until: number().optional(),
19654
+ limit: number().int().min(1).max(200).default(50)
19655
+ });
19656
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19657
+ var SummaryDetailSchema = object({
19658
+ summary: SummarySchema,
19659
+ /** Member track ids, in absorption order. */
19660
+ trackIds: array(string()).readonly()
19661
+ });
19635
19662
  var RecentTracksPageSchema = object({
19636
19663
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19637
19664
  tracks: array(TrackSchema).readonly(),
@@ -20032,7 +20059,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20032
20059
  * timeline would read as a camera that saw nothing.
20033
20060
  */
20034
20061
  classes: array(string()).optional()
20035
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20062
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20036
20063
  kind: "mutation",
20037
20064
  auth: "admin"
20038
20065
  }), 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({
@@ -36783,6 +36810,12 @@ Object.freeze({
36783
36810
  addonId: null,
36784
36811
  access: "view"
36785
36812
  },
36813
+ "pipelineAnalytics.getSummary": {
36814
+ capName: "pipeline-analytics",
36815
+ capScope: "device",
36816
+ addonId: null,
36817
+ access: "view"
36818
+ },
36786
36819
  "pipelineAnalytics.getTrack": {
36787
36820
  capName: "pipeline-analytics",
36788
36821
  capScope: "device",
@@ -36861,6 +36894,12 @@ Object.freeze({
36861
36894
  addonId: null,
36862
36895
  access: "view"
36863
36896
  },
36897
+ "pipelineAnalytics.listSummaries": {
36898
+ capName: "pipeline-analytics",
36899
+ capScope: "device",
36900
+ addonId: null,
36901
+ access: "view"
36902
+ },
36864
36903
  "pipelineAnalytics.listTrackMedia": {
36865
36904
  capName: "pipeline-analytics",
36866
36905
  capScope: "device",
@@ -40556,6 +40595,11 @@ Object.freeze({
40556
40595
  form: "array",
40557
40596
  optional: true
40558
40597
  }],
40598
+ "pipelineAnalytics.listSummaries": [{
40599
+ name: "deviceIds",
40600
+ form: "array",
40601
+ optional: false
40602
+ }],
40559
40603
  "pipelineAnalytics.listTrackMedia": [{
40560
40604
  name: "deviceId",
40561
40605
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19632,6 +19632,33 @@ var RecentTracksQueryInput = object({
19632
19632
  */
19633
19633
  classes: array(string()).optional()
19634
19634
  });
19635
+ /**
19636
+ * A Summary (D359): the per-camera session envelope that references tracks.
19637
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19638
+ * served by the event-media plane by key), null until the first frame with a
19639
+ * member visible has been materialised.
19640
+ */
19641
+ var SummarySchema = object({
19642
+ id: string(),
19643
+ deviceId: number(),
19644
+ openedAt: number(),
19645
+ lastActiveAt: number(),
19646
+ sealedAt: number().nullable(),
19647
+ memberCount: number().int().nonnegative(),
19648
+ groupShotKey: string().nullable()
19649
+ });
19650
+ var SummariesQueryInput = object({
19651
+ deviceIds: array(number()).min(1),
19652
+ since: number().optional(),
19653
+ until: number().optional(),
19654
+ limit: number().int().min(1).max(200).default(50)
19655
+ });
19656
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19657
+ var SummaryDetailSchema = object({
19658
+ summary: SummarySchema,
19659
+ /** Member track ids, in absorption order. */
19660
+ trackIds: array(string()).readonly()
19661
+ });
19635
19662
  var RecentTracksPageSchema = object({
19636
19663
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19637
19664
  tracks: array(TrackSchema).readonly(),
@@ -20032,7 +20059,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20032
20059
  * timeline would read as a camera that saw nothing.
20033
20060
  */
20034
20061
  classes: array(string()).optional()
20035
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20062
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20036
20063
  kind: "mutation",
20037
20064
  auth: "admin"
20038
20065
  }), 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({
@@ -36783,6 +36810,12 @@ Object.freeze({
36783
36810
  addonId: null,
36784
36811
  access: "view"
36785
36812
  },
36813
+ "pipelineAnalytics.getSummary": {
36814
+ capName: "pipeline-analytics",
36815
+ capScope: "device",
36816
+ addonId: null,
36817
+ access: "view"
36818
+ },
36786
36819
  "pipelineAnalytics.getTrack": {
36787
36820
  capName: "pipeline-analytics",
36788
36821
  capScope: "device",
@@ -36861,6 +36894,12 @@ Object.freeze({
36861
36894
  addonId: null,
36862
36895
  access: "view"
36863
36896
  },
36897
+ "pipelineAnalytics.listSummaries": {
36898
+ capName: "pipeline-analytics",
36899
+ capScope: "device",
36900
+ addonId: null,
36901
+ access: "view"
36902
+ },
36864
36903
  "pipelineAnalytics.listTrackMedia": {
36865
36904
  capName: "pipeline-analytics",
36866
36905
  capScope: "device",
@@ -40556,6 +40595,11 @@ Object.freeze({
40556
40595
  form: "array",
40557
40596
  optional: true
40558
40597
  }],
40598
+ "pipelineAnalytics.listSummaries": [{
40599
+ name: "deviceIds",
40600
+ form: "array",
40601
+ optional: false
40602
+ }],
40559
40603
  "pipelineAnalytics.listTrackMedia": [{
40560
40604
  name: "deviceId",
40561
40605
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.67",
3
+ "version": "0.2.68",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",