@camstack/addon-provider-dreame 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
@@ -69911,6 +69911,33 @@ var RecentTracksQueryInput = object({
69911
69911
  */
69912
69912
  classes: array(string()).optional()
69913
69913
  });
69914
+ /**
69915
+ * A Summary (D359): the per-camera session envelope that references tracks.
69916
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
69917
+ * served by the event-media plane by key), null until the first frame with a
69918
+ * member visible has been materialised.
69919
+ */
69920
+ var SummarySchema = object({
69921
+ id: string(),
69922
+ deviceId: number(),
69923
+ openedAt: number(),
69924
+ lastActiveAt: number(),
69925
+ sealedAt: number().nullable(),
69926
+ memberCount: number().int().nonnegative(),
69927
+ groupShotKey: string().nullable()
69928
+ });
69929
+ var SummariesQueryInput = object({
69930
+ deviceIds: array(number()).min(1),
69931
+ since: number().optional(),
69932
+ until: number().optional(),
69933
+ limit: number().int().min(1).max(200).default(50)
69934
+ });
69935
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
69936
+ var SummaryDetailSchema = object({
69937
+ summary: SummarySchema,
69938
+ /** Member track ids, in absorption order. */
69939
+ trackIds: array(string()).readonly()
69940
+ });
69914
69941
  var RecentTracksPageSchema = object({
69915
69942
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
69916
69943
  tracks: array(TrackSchema).readonly(),
@@ -70311,7 +70338,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
70311
70338
  * timeline would read as a camera that saw nothing.
70312
70339
  */
70313
70340
  classes: array(string()).optional()
70314
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
70341
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
70315
70342
  kind: "mutation",
70316
70343
  auth: "admin"
70317
70344
  }), 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({
@@ -87070,6 +87097,12 @@ Object.freeze({
87070
87097
  addonId: null,
87071
87098
  access: "view"
87072
87099
  },
87100
+ "pipelineAnalytics.getSummary": {
87101
+ capName: "pipeline-analytics",
87102
+ capScope: "device",
87103
+ addonId: null,
87104
+ access: "view"
87105
+ },
87073
87106
  "pipelineAnalytics.getTrack": {
87074
87107
  capName: "pipeline-analytics",
87075
87108
  capScope: "device",
@@ -87148,6 +87181,12 @@ Object.freeze({
87148
87181
  addonId: null,
87149
87182
  access: "view"
87150
87183
  },
87184
+ "pipelineAnalytics.listSummaries": {
87185
+ capName: "pipeline-analytics",
87186
+ capScope: "device",
87187
+ addonId: null,
87188
+ access: "view"
87189
+ },
87151
87190
  "pipelineAnalytics.listTrackMedia": {
87152
87191
  capName: "pipeline-analytics",
87153
87192
  capScope: "device",
@@ -90843,6 +90882,11 @@ Object.freeze({
90843
90882
  form: "array",
90844
90883
  optional: true
90845
90884
  }],
90885
+ "pipelineAnalytics.listSummaries": [{
90886
+ name: "deviceIds",
90887
+ form: "array",
90888
+ optional: false
90889
+ }],
90846
90890
  "pipelineAnalytics.listTrackMedia": [{
90847
90891
  name: "deviceId",
90848
90892
  form: "single",
package/dist/addon.mjs CHANGED
@@ -69911,6 +69911,33 @@ var RecentTracksQueryInput = object({
69911
69911
  */
69912
69912
  classes: array(string()).optional()
69913
69913
  });
69914
+ /**
69915
+ * A Summary (D359): the per-camera session envelope that references tracks.
69916
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
69917
+ * served by the event-media plane by key), null until the first frame with a
69918
+ * member visible has been materialised.
69919
+ */
69920
+ var SummarySchema = object({
69921
+ id: string(),
69922
+ deviceId: number(),
69923
+ openedAt: number(),
69924
+ lastActiveAt: number(),
69925
+ sealedAt: number().nullable(),
69926
+ memberCount: number().int().nonnegative(),
69927
+ groupShotKey: string().nullable()
69928
+ });
69929
+ var SummariesQueryInput = object({
69930
+ deviceIds: array(number()).min(1),
69931
+ since: number().optional(),
69932
+ until: number().optional(),
69933
+ limit: number().int().min(1).max(200).default(50)
69934
+ });
69935
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
69936
+ var SummaryDetailSchema = object({
69937
+ summary: SummarySchema,
69938
+ /** Member track ids, in absorption order. */
69939
+ trackIds: array(string()).readonly()
69940
+ });
69914
69941
  var RecentTracksPageSchema = object({
69915
69942
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
69916
69943
  tracks: array(TrackSchema).readonly(),
@@ -70311,7 +70338,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
70311
70338
  * timeline would read as a camera that saw nothing.
70312
70339
  */
70313
70340
  classes: array(string()).optional()
70314
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
70341
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
70315
70342
  kind: "mutation",
70316
70343
  auth: "admin"
70317
70344
  }), 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({
@@ -87070,6 +87097,12 @@ Object.freeze({
87070
87097
  addonId: null,
87071
87098
  access: "view"
87072
87099
  },
87100
+ "pipelineAnalytics.getSummary": {
87101
+ capName: "pipeline-analytics",
87102
+ capScope: "device",
87103
+ addonId: null,
87104
+ access: "view"
87105
+ },
87073
87106
  "pipelineAnalytics.getTrack": {
87074
87107
  capName: "pipeline-analytics",
87075
87108
  capScope: "device",
@@ -87148,6 +87181,12 @@ Object.freeze({
87148
87181
  addonId: null,
87149
87182
  access: "view"
87150
87183
  },
87184
+ "pipelineAnalytics.listSummaries": {
87185
+ capName: "pipeline-analytics",
87186
+ capScope: "device",
87187
+ addonId: null,
87188
+ access: "view"
87189
+ },
87151
87190
  "pipelineAnalytics.listTrackMedia": {
87152
87191
  capName: "pipeline-analytics",
87153
87192
  capScope: "device",
@@ -90843,6 +90882,11 @@ Object.freeze({
90843
90882
  form: "array",
90844
90883
  optional: true
90845
90884
  }],
90885
+ "pipelineAnalytics.listSummaries": [{
90886
+ name: "deviceIds",
90887
+ form: "array",
90888
+ optional: false
90889
+ }],
90846
90890
  "pipelineAnalytics.listTrackMedia": [{
90847
90891
  name: "deviceId",
90848
90892
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.68",
3
+ "version": "0.2.69",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",