@camstack/addon-provider-gree 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
@@ -19392,6 +19392,33 @@ var RecentTracksQueryInput = object({
19392
19392
  */
19393
19393
  classes: array(string()).optional()
19394
19394
  });
19395
+ /**
19396
+ * A Summary (D359): the per-camera session envelope that references tracks.
19397
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19398
+ * served by the event-media plane by key), null until the first frame with a
19399
+ * member visible has been materialised.
19400
+ */
19401
+ var SummarySchema = object({
19402
+ id: string(),
19403
+ deviceId: number(),
19404
+ openedAt: number(),
19405
+ lastActiveAt: number(),
19406
+ sealedAt: number().nullable(),
19407
+ memberCount: number().int().nonnegative(),
19408
+ groupShotKey: string().nullable()
19409
+ });
19410
+ var SummariesQueryInput = object({
19411
+ deviceIds: array(number()).min(1),
19412
+ since: number().optional(),
19413
+ until: number().optional(),
19414
+ limit: number().int().min(1).max(200).default(50)
19415
+ });
19416
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19417
+ var SummaryDetailSchema = object({
19418
+ summary: SummarySchema,
19419
+ /** Member track ids, in absorption order. */
19420
+ trackIds: array(string()).readonly()
19421
+ });
19395
19422
  var RecentTracksPageSchema = object({
19396
19423
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19397
19424
  tracks: array(TrackSchema).readonly(),
@@ -19792,7 +19819,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19792
19819
  * timeline would read as a camera that saw nothing.
19793
19820
  */
19794
19821
  classes: array(string()).optional()
19795
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19822
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19796
19823
  kind: "mutation",
19797
19824
  auth: "admin"
19798
19825
  }), 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({
@@ -36526,6 +36553,12 @@ Object.freeze({
36526
36553
  addonId: null,
36527
36554
  access: "view"
36528
36555
  },
36556
+ "pipelineAnalytics.getSummary": {
36557
+ capName: "pipeline-analytics",
36558
+ capScope: "device",
36559
+ addonId: null,
36560
+ access: "view"
36561
+ },
36529
36562
  "pipelineAnalytics.getTrack": {
36530
36563
  capName: "pipeline-analytics",
36531
36564
  capScope: "device",
@@ -36604,6 +36637,12 @@ Object.freeze({
36604
36637
  addonId: null,
36605
36638
  access: "view"
36606
36639
  },
36640
+ "pipelineAnalytics.listSummaries": {
36641
+ capName: "pipeline-analytics",
36642
+ capScope: "device",
36643
+ addonId: null,
36644
+ access: "view"
36645
+ },
36607
36646
  "pipelineAnalytics.listTrackMedia": {
36608
36647
  capName: "pipeline-analytics",
36609
36648
  capScope: "device",
@@ -40299,6 +40338,11 @@ Object.freeze({
40299
40338
  form: "array",
40300
40339
  optional: true
40301
40340
  }],
40341
+ "pipelineAnalytics.listSummaries": [{
40342
+ name: "deviceIds",
40343
+ form: "array",
40344
+ optional: false
40345
+ }],
40302
40346
  "pipelineAnalytics.listTrackMedia": [{
40303
40347
  name: "deviceId",
40304
40348
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19391,6 +19391,33 @@ var RecentTracksQueryInput = object({
19391
19391
  */
19392
19392
  classes: array(string()).optional()
19393
19393
  });
19394
+ /**
19395
+ * A Summary (D359): the per-camera session envelope that references tracks.
19396
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19397
+ * served by the event-media plane by key), null until the first frame with a
19398
+ * member visible has been materialised.
19399
+ */
19400
+ var SummarySchema = object({
19401
+ id: string(),
19402
+ deviceId: number(),
19403
+ openedAt: number(),
19404
+ lastActiveAt: number(),
19405
+ sealedAt: number().nullable(),
19406
+ memberCount: number().int().nonnegative(),
19407
+ groupShotKey: string().nullable()
19408
+ });
19409
+ var SummariesQueryInput = object({
19410
+ deviceIds: array(number()).min(1),
19411
+ since: number().optional(),
19412
+ until: number().optional(),
19413
+ limit: number().int().min(1).max(200).default(50)
19414
+ });
19415
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19416
+ var SummaryDetailSchema = object({
19417
+ summary: SummarySchema,
19418
+ /** Member track ids, in absorption order. */
19419
+ trackIds: array(string()).readonly()
19420
+ });
19394
19421
  var RecentTracksPageSchema = object({
19395
19422
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19396
19423
  tracks: array(TrackSchema).readonly(),
@@ -19791,7 +19818,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19791
19818
  * timeline would read as a camera that saw nothing.
19792
19819
  */
19793
19820
  classes: array(string()).optional()
19794
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19821
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19795
19822
  kind: "mutation",
19796
19823
  auth: "admin"
19797
19824
  }), 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({
@@ -36525,6 +36552,12 @@ Object.freeze({
36525
36552
  addonId: null,
36526
36553
  access: "view"
36527
36554
  },
36555
+ "pipelineAnalytics.getSummary": {
36556
+ capName: "pipeline-analytics",
36557
+ capScope: "device",
36558
+ addonId: null,
36559
+ access: "view"
36560
+ },
36528
36561
  "pipelineAnalytics.getTrack": {
36529
36562
  capName: "pipeline-analytics",
36530
36563
  capScope: "device",
@@ -36603,6 +36636,12 @@ Object.freeze({
36603
36636
  addonId: null,
36604
36637
  access: "view"
36605
36638
  },
36639
+ "pipelineAnalytics.listSummaries": {
36640
+ capName: "pipeline-analytics",
36641
+ capScope: "device",
36642
+ addonId: null,
36643
+ access: "view"
36644
+ },
36606
36645
  "pipelineAnalytics.listTrackMedia": {
36607
36646
  capName: "pipeline-analytics",
36608
36647
  capScope: "device",
@@ -40298,6 +40337,11 @@ Object.freeze({
40298
40337
  form: "array",
40299
40338
  optional: true
40300
40339
  }],
40340
+ "pipelineAnalytics.listSummaries": [{
40341
+ name: "deviceIds",
40342
+ form: "array",
40343
+ optional: false
40344
+ }],
40301
40345
  "pipelineAnalytics.listTrackMedia": [{
40302
40346
  name: "deviceId",
40303
40347
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.2.67",
3
+ "version": "0.2.68",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",