@camstack/addon-export-alexa 1.2.74 → 1.2.75

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.
@@ -19332,6 +19332,33 @@ var RecentTracksQueryInput = object({
19332
19332
  */
19333
19333
  classes: array(string()).optional()
19334
19334
  });
19335
+ /**
19336
+ * A Summary (D359): the per-camera session envelope that references tracks.
19337
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19338
+ * served by the event-media plane by key), null until the first frame with a
19339
+ * member visible has been materialised.
19340
+ */
19341
+ var SummarySchema = object({
19342
+ id: string(),
19343
+ deviceId: number(),
19344
+ openedAt: number(),
19345
+ lastActiveAt: number(),
19346
+ sealedAt: number().nullable(),
19347
+ memberCount: number().int().nonnegative(),
19348
+ groupShotKey: string().nullable()
19349
+ });
19350
+ var SummariesQueryInput = object({
19351
+ deviceIds: array(number()).min(1),
19352
+ since: number().optional(),
19353
+ until: number().optional(),
19354
+ limit: number().int().min(1).max(200).default(50)
19355
+ });
19356
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19357
+ var SummaryDetailSchema = object({
19358
+ summary: SummarySchema,
19359
+ /** Member track ids, in absorption order. */
19360
+ trackIds: array(string()).readonly()
19361
+ });
19335
19362
  var RecentTracksPageSchema = object({
19336
19363
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19337
19364
  tracks: array(TrackSchema).readonly(),
@@ -19732,7 +19759,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19732
19759
  * timeline would read as a camera that saw nothing.
19733
19760
  */
19734
19761
  classes: array(string()).optional()
19735
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19762
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19736
19763
  kind: "mutation",
19737
19764
  auth: "admin"
19738
19765
  }), 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({
@@ -32687,6 +32714,12 @@ Object.freeze({
32687
32714
  addonId: null,
32688
32715
  access: "view"
32689
32716
  },
32717
+ "pipelineAnalytics.getSummary": {
32718
+ capName: "pipeline-analytics",
32719
+ capScope: "device",
32720
+ addonId: null,
32721
+ access: "view"
32722
+ },
32690
32723
  "pipelineAnalytics.getTrack": {
32691
32724
  capName: "pipeline-analytics",
32692
32725
  capScope: "device",
@@ -32765,6 +32798,12 @@ Object.freeze({
32765
32798
  addonId: null,
32766
32799
  access: "view"
32767
32800
  },
32801
+ "pipelineAnalytics.listSummaries": {
32802
+ capName: "pipeline-analytics",
32803
+ capScope: "device",
32804
+ addonId: null,
32805
+ access: "view"
32806
+ },
32768
32807
  "pipelineAnalytics.listTrackMedia": {
32769
32808
  capName: "pipeline-analytics",
32770
32809
  capScope: "device",
@@ -36460,6 +36499,11 @@ Object.freeze({
36460
36499
  form: "array",
36461
36500
  optional: true
36462
36501
  }],
36502
+ "pipelineAnalytics.listSummaries": [{
36503
+ name: "deviceIds",
36504
+ form: "array",
36505
+ optional: false
36506
+ }],
36463
36507
  "pipelineAnalytics.listTrackMedia": [{
36464
36508
  name: "deviceId",
36465
36509
  form: "single",
@@ -19305,6 +19305,33 @@ var RecentTracksQueryInput = object({
19305
19305
  */
19306
19306
  classes: array(string()).optional()
19307
19307
  });
19308
+ /**
19309
+ * A Summary (D359): the per-camera session envelope that references tracks.
19310
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19311
+ * served by the event-media plane by key), null until the first frame with a
19312
+ * member visible has been materialised.
19313
+ */
19314
+ var SummarySchema = object({
19315
+ id: string(),
19316
+ deviceId: number(),
19317
+ openedAt: number(),
19318
+ lastActiveAt: number(),
19319
+ sealedAt: number().nullable(),
19320
+ memberCount: number().int().nonnegative(),
19321
+ groupShotKey: string().nullable()
19322
+ });
19323
+ var SummariesQueryInput = object({
19324
+ deviceIds: array(number()).min(1),
19325
+ since: number().optional(),
19326
+ until: number().optional(),
19327
+ limit: number().int().min(1).max(200).default(50)
19328
+ });
19329
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19330
+ var SummaryDetailSchema = object({
19331
+ summary: SummarySchema,
19332
+ /** Member track ids, in absorption order. */
19333
+ trackIds: array(string()).readonly()
19334
+ });
19308
19335
  var RecentTracksPageSchema = object({
19309
19336
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19310
19337
  tracks: array(TrackSchema).readonly(),
@@ -19705,7 +19732,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19705
19732
  * timeline would read as a camera that saw nothing.
19706
19733
  */
19707
19734
  classes: array(string()).optional()
19708
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19735
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19709
19736
  kind: "mutation",
19710
19737
  auth: "admin"
19711
19738
  }), 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({
@@ -32660,6 +32687,12 @@ Object.freeze({
32660
32687
  addonId: null,
32661
32688
  access: "view"
32662
32689
  },
32690
+ "pipelineAnalytics.getSummary": {
32691
+ capName: "pipeline-analytics",
32692
+ capScope: "device",
32693
+ addonId: null,
32694
+ access: "view"
32695
+ },
32663
32696
  "pipelineAnalytics.getTrack": {
32664
32697
  capName: "pipeline-analytics",
32665
32698
  capScope: "device",
@@ -32738,6 +32771,12 @@ Object.freeze({
32738
32771
  addonId: null,
32739
32772
  access: "view"
32740
32773
  },
32774
+ "pipelineAnalytics.listSummaries": {
32775
+ capName: "pipeline-analytics",
32776
+ capScope: "device",
32777
+ addonId: null,
32778
+ access: "view"
32779
+ },
32741
32780
  "pipelineAnalytics.listTrackMedia": {
32742
32781
  capName: "pipeline-analytics",
32743
32782
  capScope: "device",
@@ -36433,6 +36472,11 @@ Object.freeze({
36433
36472
  form: "array",
36434
36473
  optional: true
36435
36474
  }],
36475
+ "pipelineAnalytics.listSummaries": [{
36476
+ name: "deviceIds",
36477
+ form: "array",
36478
+ optional: false
36479
+ }],
36436
36480
  "pipelineAnalytics.listTrackMedia": [{
36437
36481
  name: "deviceId",
36438
36482
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.74",
3
+ "version": "1.2.75",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",