@camstack/addon-provider-petkit 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
|
@@ -20508,6 +20508,33 @@ var RecentTracksQueryInput = object({
|
|
|
20508
20508
|
*/
|
|
20509
20509
|
classes: array(string()).optional()
|
|
20510
20510
|
});
|
|
20511
|
+
/**
|
|
20512
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
20513
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
20514
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
20515
|
+
* member visible has been materialised.
|
|
20516
|
+
*/
|
|
20517
|
+
var SummarySchema = object({
|
|
20518
|
+
id: string(),
|
|
20519
|
+
deviceId: number(),
|
|
20520
|
+
openedAt: number(),
|
|
20521
|
+
lastActiveAt: number(),
|
|
20522
|
+
sealedAt: number().nullable(),
|
|
20523
|
+
memberCount: number().int().nonnegative(),
|
|
20524
|
+
groupShotKey: string().nullable()
|
|
20525
|
+
});
|
|
20526
|
+
var SummariesQueryInput = object({
|
|
20527
|
+
deviceIds: array(number()).min(1),
|
|
20528
|
+
since: number().optional(),
|
|
20529
|
+
until: number().optional(),
|
|
20530
|
+
limit: number().int().min(1).max(200).default(50)
|
|
20531
|
+
});
|
|
20532
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
20533
|
+
var SummaryDetailSchema = object({
|
|
20534
|
+
summary: SummarySchema,
|
|
20535
|
+
/** Member track ids, in absorption order. */
|
|
20536
|
+
trackIds: array(string()).readonly()
|
|
20537
|
+
});
|
|
20511
20538
|
var RecentTracksPageSchema = object({
|
|
20512
20539
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
20513
20540
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -20908,7 +20935,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20908
20935
|
* timeline would read as a camera that saw nothing.
|
|
20909
20936
|
*/
|
|
20910
20937
|
classes: array(string()).optional()
|
|
20911
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
20938
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20912
20939
|
kind: "mutation",
|
|
20913
20940
|
auth: "admin"
|
|
20914
20941
|
}), 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({
|
|
@@ -37650,6 +37677,12 @@ Object.freeze({
|
|
|
37650
37677
|
addonId: null,
|
|
37651
37678
|
access: "view"
|
|
37652
37679
|
},
|
|
37680
|
+
"pipelineAnalytics.getSummary": {
|
|
37681
|
+
capName: "pipeline-analytics",
|
|
37682
|
+
capScope: "device",
|
|
37683
|
+
addonId: null,
|
|
37684
|
+
access: "view"
|
|
37685
|
+
},
|
|
37653
37686
|
"pipelineAnalytics.getTrack": {
|
|
37654
37687
|
capName: "pipeline-analytics",
|
|
37655
37688
|
capScope: "device",
|
|
@@ -37728,6 +37761,12 @@ Object.freeze({
|
|
|
37728
37761
|
addonId: null,
|
|
37729
37762
|
access: "view"
|
|
37730
37763
|
},
|
|
37764
|
+
"pipelineAnalytics.listSummaries": {
|
|
37765
|
+
capName: "pipeline-analytics",
|
|
37766
|
+
capScope: "device",
|
|
37767
|
+
addonId: null,
|
|
37768
|
+
access: "view"
|
|
37769
|
+
},
|
|
37731
37770
|
"pipelineAnalytics.listTrackMedia": {
|
|
37732
37771
|
capName: "pipeline-analytics",
|
|
37733
37772
|
capScope: "device",
|
|
@@ -41423,6 +41462,11 @@ Object.freeze({
|
|
|
41423
41462
|
form: "array",
|
|
41424
41463
|
optional: true
|
|
41425
41464
|
}],
|
|
41465
|
+
"pipelineAnalytics.listSummaries": [{
|
|
41466
|
+
name: "deviceIds",
|
|
41467
|
+
form: "array",
|
|
41468
|
+
optional: false
|
|
41469
|
+
}],
|
|
41426
41470
|
"pipelineAnalytics.listTrackMedia": [{
|
|
41427
41471
|
name: "deviceId",
|
|
41428
41472
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -20507,6 +20507,33 @@ var RecentTracksQueryInput = object({
|
|
|
20507
20507
|
*/
|
|
20508
20508
|
classes: array(string()).optional()
|
|
20509
20509
|
});
|
|
20510
|
+
/**
|
|
20511
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
20512
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
20513
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
20514
|
+
* member visible has been materialised.
|
|
20515
|
+
*/
|
|
20516
|
+
var SummarySchema = object({
|
|
20517
|
+
id: string(),
|
|
20518
|
+
deviceId: number(),
|
|
20519
|
+
openedAt: number(),
|
|
20520
|
+
lastActiveAt: number(),
|
|
20521
|
+
sealedAt: number().nullable(),
|
|
20522
|
+
memberCount: number().int().nonnegative(),
|
|
20523
|
+
groupShotKey: string().nullable()
|
|
20524
|
+
});
|
|
20525
|
+
var SummariesQueryInput = object({
|
|
20526
|
+
deviceIds: array(number()).min(1),
|
|
20527
|
+
since: number().optional(),
|
|
20528
|
+
until: number().optional(),
|
|
20529
|
+
limit: number().int().min(1).max(200).default(50)
|
|
20530
|
+
});
|
|
20531
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
20532
|
+
var SummaryDetailSchema = object({
|
|
20533
|
+
summary: SummarySchema,
|
|
20534
|
+
/** Member track ids, in absorption order. */
|
|
20535
|
+
trackIds: array(string()).readonly()
|
|
20536
|
+
});
|
|
20510
20537
|
var RecentTracksPageSchema = object({
|
|
20511
20538
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
20512
20539
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -20907,7 +20934,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20907
20934
|
* timeline would read as a camera that saw nothing.
|
|
20908
20935
|
*/
|
|
20909
20936
|
classes: array(string()).optional()
|
|
20910
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
20937
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20911
20938
|
kind: "mutation",
|
|
20912
20939
|
auth: "admin"
|
|
20913
20940
|
}), 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({
|
|
@@ -37649,6 +37676,12 @@ Object.freeze({
|
|
|
37649
37676
|
addonId: null,
|
|
37650
37677
|
access: "view"
|
|
37651
37678
|
},
|
|
37679
|
+
"pipelineAnalytics.getSummary": {
|
|
37680
|
+
capName: "pipeline-analytics",
|
|
37681
|
+
capScope: "device",
|
|
37682
|
+
addonId: null,
|
|
37683
|
+
access: "view"
|
|
37684
|
+
},
|
|
37652
37685
|
"pipelineAnalytics.getTrack": {
|
|
37653
37686
|
capName: "pipeline-analytics",
|
|
37654
37687
|
capScope: "device",
|
|
@@ -37727,6 +37760,12 @@ Object.freeze({
|
|
|
37727
37760
|
addonId: null,
|
|
37728
37761
|
access: "view"
|
|
37729
37762
|
},
|
|
37763
|
+
"pipelineAnalytics.listSummaries": {
|
|
37764
|
+
capName: "pipeline-analytics",
|
|
37765
|
+
capScope: "device",
|
|
37766
|
+
addonId: null,
|
|
37767
|
+
access: "view"
|
|
37768
|
+
},
|
|
37730
37769
|
"pipelineAnalytics.listTrackMedia": {
|
|
37731
37770
|
capName: "pipeline-analytics",
|
|
37732
37771
|
capScope: "device",
|
|
@@ -41422,6 +41461,11 @@ Object.freeze({
|
|
|
41422
41461
|
form: "array",
|
|
41423
41462
|
optional: true
|
|
41424
41463
|
}],
|
|
41464
|
+
"pipelineAnalytics.listSummaries": [{
|
|
41465
|
+
name: "deviceIds",
|
|
41466
|
+
form: "array",
|
|
41467
|
+
optional: false
|
|
41468
|
+
}],
|
|
41425
41469
|
"pipelineAnalytics.listTrackMedia": [{
|
|
41426
41470
|
name: "deviceId",
|
|
41427
41471
|
form: "single",
|
package/package.json
CHANGED