@camstack/addon-provider-dreo 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 +45 -1
- package/dist/addon.mjs +45 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19442,6 +19442,33 @@ var RecentTracksQueryInput = object({
|
|
|
19442
19442
|
*/
|
|
19443
19443
|
classes: array(string()).optional()
|
|
19444
19444
|
});
|
|
19445
|
+
/**
|
|
19446
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19447
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19448
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19449
|
+
* member visible has been materialised.
|
|
19450
|
+
*/
|
|
19451
|
+
var SummarySchema = object({
|
|
19452
|
+
id: string(),
|
|
19453
|
+
deviceId: number(),
|
|
19454
|
+
openedAt: number(),
|
|
19455
|
+
lastActiveAt: number(),
|
|
19456
|
+
sealedAt: number().nullable(),
|
|
19457
|
+
memberCount: number().int().nonnegative(),
|
|
19458
|
+
groupShotKey: string().nullable()
|
|
19459
|
+
});
|
|
19460
|
+
var SummariesQueryInput = object({
|
|
19461
|
+
deviceIds: array(number()).min(1),
|
|
19462
|
+
since: number().optional(),
|
|
19463
|
+
until: number().optional(),
|
|
19464
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19465
|
+
});
|
|
19466
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19467
|
+
var SummaryDetailSchema = object({
|
|
19468
|
+
summary: SummarySchema,
|
|
19469
|
+
/** Member track ids, in absorption order. */
|
|
19470
|
+
trackIds: array(string()).readonly()
|
|
19471
|
+
});
|
|
19445
19472
|
var RecentTracksPageSchema = object({
|
|
19446
19473
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19447
19474
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19842,7 +19869,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19842
19869
|
* timeline would read as a camera that saw nothing.
|
|
19843
19870
|
*/
|
|
19844
19871
|
classes: array(string()).optional()
|
|
19845
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19872
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19846
19873
|
kind: "mutation",
|
|
19847
19874
|
auth: "admin"
|
|
19848
19875
|
}), 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({
|
|
@@ -36584,6 +36611,12 @@ Object.freeze({
|
|
|
36584
36611
|
addonId: null,
|
|
36585
36612
|
access: "view"
|
|
36586
36613
|
},
|
|
36614
|
+
"pipelineAnalytics.getSummary": {
|
|
36615
|
+
capName: "pipeline-analytics",
|
|
36616
|
+
capScope: "device",
|
|
36617
|
+
addonId: null,
|
|
36618
|
+
access: "view"
|
|
36619
|
+
},
|
|
36587
36620
|
"pipelineAnalytics.getTrack": {
|
|
36588
36621
|
capName: "pipeline-analytics",
|
|
36589
36622
|
capScope: "device",
|
|
@@ -36662,6 +36695,12 @@ Object.freeze({
|
|
|
36662
36695
|
addonId: null,
|
|
36663
36696
|
access: "view"
|
|
36664
36697
|
},
|
|
36698
|
+
"pipelineAnalytics.listSummaries": {
|
|
36699
|
+
capName: "pipeline-analytics",
|
|
36700
|
+
capScope: "device",
|
|
36701
|
+
addonId: null,
|
|
36702
|
+
access: "view"
|
|
36703
|
+
},
|
|
36665
36704
|
"pipelineAnalytics.listTrackMedia": {
|
|
36666
36705
|
capName: "pipeline-analytics",
|
|
36667
36706
|
capScope: "device",
|
|
@@ -40357,6 +40396,11 @@ Object.freeze({
|
|
|
40357
40396
|
form: "array",
|
|
40358
40397
|
optional: true
|
|
40359
40398
|
}],
|
|
40399
|
+
"pipelineAnalytics.listSummaries": [{
|
|
40400
|
+
name: "deviceIds",
|
|
40401
|
+
form: "array",
|
|
40402
|
+
optional: false
|
|
40403
|
+
}],
|
|
40360
40404
|
"pipelineAnalytics.listTrackMedia": [{
|
|
40361
40405
|
name: "deviceId",
|
|
40362
40406
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -19443,6 +19443,33 @@ var RecentTracksQueryInput = object({
|
|
|
19443
19443
|
*/
|
|
19444
19444
|
classes: array(string()).optional()
|
|
19445
19445
|
});
|
|
19446
|
+
/**
|
|
19447
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19448
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19449
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19450
|
+
* member visible has been materialised.
|
|
19451
|
+
*/
|
|
19452
|
+
var SummarySchema = object({
|
|
19453
|
+
id: string(),
|
|
19454
|
+
deviceId: number(),
|
|
19455
|
+
openedAt: number(),
|
|
19456
|
+
lastActiveAt: number(),
|
|
19457
|
+
sealedAt: number().nullable(),
|
|
19458
|
+
memberCount: number().int().nonnegative(),
|
|
19459
|
+
groupShotKey: string().nullable()
|
|
19460
|
+
});
|
|
19461
|
+
var SummariesQueryInput = object({
|
|
19462
|
+
deviceIds: array(number()).min(1),
|
|
19463
|
+
since: number().optional(),
|
|
19464
|
+
until: number().optional(),
|
|
19465
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19466
|
+
});
|
|
19467
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19468
|
+
var SummaryDetailSchema = object({
|
|
19469
|
+
summary: SummarySchema,
|
|
19470
|
+
/** Member track ids, in absorption order. */
|
|
19471
|
+
trackIds: array(string()).readonly()
|
|
19472
|
+
});
|
|
19446
19473
|
var RecentTracksPageSchema = object({
|
|
19447
19474
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19448
19475
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19843,7 +19870,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19843
19870
|
* timeline would read as a camera that saw nothing.
|
|
19844
19871
|
*/
|
|
19845
19872
|
classes: array(string()).optional()
|
|
19846
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19873
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19847
19874
|
kind: "mutation",
|
|
19848
19875
|
auth: "admin"
|
|
19849
19876
|
}), 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({
|
|
@@ -36585,6 +36612,12 @@ Object.freeze({
|
|
|
36585
36612
|
addonId: null,
|
|
36586
36613
|
access: "view"
|
|
36587
36614
|
},
|
|
36615
|
+
"pipelineAnalytics.getSummary": {
|
|
36616
|
+
capName: "pipeline-analytics",
|
|
36617
|
+
capScope: "device",
|
|
36618
|
+
addonId: null,
|
|
36619
|
+
access: "view"
|
|
36620
|
+
},
|
|
36588
36621
|
"pipelineAnalytics.getTrack": {
|
|
36589
36622
|
capName: "pipeline-analytics",
|
|
36590
36623
|
capScope: "device",
|
|
@@ -36663,6 +36696,12 @@ Object.freeze({
|
|
|
36663
36696
|
addonId: null,
|
|
36664
36697
|
access: "view"
|
|
36665
36698
|
},
|
|
36699
|
+
"pipelineAnalytics.listSummaries": {
|
|
36700
|
+
capName: "pipeline-analytics",
|
|
36701
|
+
capScope: "device",
|
|
36702
|
+
addonId: null,
|
|
36703
|
+
access: "view"
|
|
36704
|
+
},
|
|
36666
36705
|
"pipelineAnalytics.listTrackMedia": {
|
|
36667
36706
|
capName: "pipeline-analytics",
|
|
36668
36707
|
capScope: "device",
|
|
@@ -40358,6 +40397,11 @@ Object.freeze({
|
|
|
40358
40397
|
form: "array",
|
|
40359
40398
|
optional: true
|
|
40360
40399
|
}],
|
|
40400
|
+
"pipelineAnalytics.listSummaries": [{
|
|
40401
|
+
name: "deviceIds",
|
|
40402
|
+
form: "array",
|
|
40403
|
+
optional: false
|
|
40404
|
+
}],
|
|
40361
40405
|
"pipelineAnalytics.listTrackMedia": [{
|
|
40362
40406
|
name: "deviceId",
|
|
40363
40407
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.69",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|