@camstack/addon-export-hap 1.2.79 → 1.2.80
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/hap-export.addon.js +45 -1
- package/dist/hap-export.addon.mjs +45 -1
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -19822,6 +19822,33 @@ var RecentTracksQueryInput = object({
|
|
|
19822
19822
|
*/
|
|
19823
19823
|
classes: array(string()).optional()
|
|
19824
19824
|
});
|
|
19825
|
+
/**
|
|
19826
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19827
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19828
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19829
|
+
* member visible has been materialised.
|
|
19830
|
+
*/
|
|
19831
|
+
var SummarySchema = object({
|
|
19832
|
+
id: string(),
|
|
19833
|
+
deviceId: number(),
|
|
19834
|
+
openedAt: number(),
|
|
19835
|
+
lastActiveAt: number(),
|
|
19836
|
+
sealedAt: number().nullable(),
|
|
19837
|
+
memberCount: number().int().nonnegative(),
|
|
19838
|
+
groupShotKey: string().nullable()
|
|
19839
|
+
});
|
|
19840
|
+
var SummariesQueryInput = object({
|
|
19841
|
+
deviceIds: array(number()).min(1),
|
|
19842
|
+
since: number().optional(),
|
|
19843
|
+
until: number().optional(),
|
|
19844
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19845
|
+
});
|
|
19846
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19847
|
+
var SummaryDetailSchema = object({
|
|
19848
|
+
summary: SummarySchema,
|
|
19849
|
+
/** Member track ids, in absorption order. */
|
|
19850
|
+
trackIds: array(string()).readonly()
|
|
19851
|
+
});
|
|
19825
19852
|
var RecentTracksPageSchema = object({
|
|
19826
19853
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19827
19854
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -20222,7 +20249,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20222
20249
|
* timeline would read as a camera that saw nothing.
|
|
20223
20250
|
*/
|
|
20224
20251
|
classes: array(string()).optional()
|
|
20225
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
20252
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20226
20253
|
kind: "mutation",
|
|
20227
20254
|
auth: "admin"
|
|
20228
20255
|
}), 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({
|
|
@@ -33250,6 +33277,12 @@ Object.freeze({
|
|
|
33250
33277
|
addonId: null,
|
|
33251
33278
|
access: "view"
|
|
33252
33279
|
},
|
|
33280
|
+
"pipelineAnalytics.getSummary": {
|
|
33281
|
+
capName: "pipeline-analytics",
|
|
33282
|
+
capScope: "device",
|
|
33283
|
+
addonId: null,
|
|
33284
|
+
access: "view"
|
|
33285
|
+
},
|
|
33253
33286
|
"pipelineAnalytics.getTrack": {
|
|
33254
33287
|
capName: "pipeline-analytics",
|
|
33255
33288
|
capScope: "device",
|
|
@@ -33328,6 +33361,12 @@ Object.freeze({
|
|
|
33328
33361
|
addonId: null,
|
|
33329
33362
|
access: "view"
|
|
33330
33363
|
},
|
|
33364
|
+
"pipelineAnalytics.listSummaries": {
|
|
33365
|
+
capName: "pipeline-analytics",
|
|
33366
|
+
capScope: "device",
|
|
33367
|
+
addonId: null,
|
|
33368
|
+
access: "view"
|
|
33369
|
+
},
|
|
33331
33370
|
"pipelineAnalytics.listTrackMedia": {
|
|
33332
33371
|
capName: "pipeline-analytics",
|
|
33333
33372
|
capScope: "device",
|
|
@@ -37023,6 +37062,11 @@ Object.freeze({
|
|
|
37023
37062
|
form: "array",
|
|
37024
37063
|
optional: true
|
|
37025
37064
|
}],
|
|
37065
|
+
"pipelineAnalytics.listSummaries": [{
|
|
37066
|
+
name: "deviceIds",
|
|
37067
|
+
form: "array",
|
|
37068
|
+
optional: false
|
|
37069
|
+
}],
|
|
37026
37070
|
"pipelineAnalytics.listTrackMedia": [{
|
|
37027
37071
|
name: "deviceId",
|
|
37028
37072
|
form: "single",
|
|
@@ -19810,6 +19810,33 @@ var RecentTracksQueryInput = object({
|
|
|
19810
19810
|
*/
|
|
19811
19811
|
classes: array(string()).optional()
|
|
19812
19812
|
});
|
|
19813
|
+
/**
|
|
19814
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19815
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19816
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19817
|
+
* member visible has been materialised.
|
|
19818
|
+
*/
|
|
19819
|
+
var SummarySchema = object({
|
|
19820
|
+
id: string(),
|
|
19821
|
+
deviceId: number(),
|
|
19822
|
+
openedAt: number(),
|
|
19823
|
+
lastActiveAt: number(),
|
|
19824
|
+
sealedAt: number().nullable(),
|
|
19825
|
+
memberCount: number().int().nonnegative(),
|
|
19826
|
+
groupShotKey: string().nullable()
|
|
19827
|
+
});
|
|
19828
|
+
var SummariesQueryInput = object({
|
|
19829
|
+
deviceIds: array(number()).min(1),
|
|
19830
|
+
since: number().optional(),
|
|
19831
|
+
until: number().optional(),
|
|
19832
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19833
|
+
});
|
|
19834
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19835
|
+
var SummaryDetailSchema = object({
|
|
19836
|
+
summary: SummarySchema,
|
|
19837
|
+
/** Member track ids, in absorption order. */
|
|
19838
|
+
trackIds: array(string()).readonly()
|
|
19839
|
+
});
|
|
19813
19840
|
var RecentTracksPageSchema = object({
|
|
19814
19841
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19815
19842
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -20210,7 +20237,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20210
20237
|
* timeline would read as a camera that saw nothing.
|
|
20211
20238
|
*/
|
|
20212
20239
|
classes: array(string()).optional()
|
|
20213
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
20240
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
20214
20241
|
kind: "mutation",
|
|
20215
20242
|
auth: "admin"
|
|
20216
20243
|
}), 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({
|
|
@@ -33238,6 +33265,12 @@ Object.freeze({
|
|
|
33238
33265
|
addonId: null,
|
|
33239
33266
|
access: "view"
|
|
33240
33267
|
},
|
|
33268
|
+
"pipelineAnalytics.getSummary": {
|
|
33269
|
+
capName: "pipeline-analytics",
|
|
33270
|
+
capScope: "device",
|
|
33271
|
+
addonId: null,
|
|
33272
|
+
access: "view"
|
|
33273
|
+
},
|
|
33241
33274
|
"pipelineAnalytics.getTrack": {
|
|
33242
33275
|
capName: "pipeline-analytics",
|
|
33243
33276
|
capScope: "device",
|
|
@@ -33316,6 +33349,12 @@ Object.freeze({
|
|
|
33316
33349
|
addonId: null,
|
|
33317
33350
|
access: "view"
|
|
33318
33351
|
},
|
|
33352
|
+
"pipelineAnalytics.listSummaries": {
|
|
33353
|
+
capName: "pipeline-analytics",
|
|
33354
|
+
capScope: "device",
|
|
33355
|
+
addonId: null,
|
|
33356
|
+
access: "view"
|
|
33357
|
+
},
|
|
33319
33358
|
"pipelineAnalytics.listTrackMedia": {
|
|
33320
33359
|
capName: "pipeline-analytics",
|
|
33321
33360
|
capScope: "device",
|
|
@@ -37011,6 +37050,11 @@ Object.freeze({
|
|
|
37011
37050
|
form: "array",
|
|
37012
37051
|
optional: true
|
|
37013
37052
|
}],
|
|
37053
|
+
"pipelineAnalytics.listSummaries": [{
|
|
37054
|
+
name: "deviceIds",
|
|
37055
|
+
form: "array",
|
|
37056
|
+
optional: false
|
|
37057
|
+
}],
|
|
37014
37058
|
"pipelineAnalytics.listTrackMedia": [{
|
|
37015
37059
|
name: "deviceId",
|
|
37016
37060
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.80",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|