@camstack/addon-provider-petkit 0.2.67 → 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 +66 -1
- package/dist/addon.mjs +66 -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({
|
|
@@ -21843,6 +21870,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
21843
21870
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
21844
21871
|
ingest: boolean().optional(),
|
|
21845
21872
|
/**
|
|
21873
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
21874
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
21875
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
21876
|
+
*/
|
|
21877
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
21878
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
21879
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
21880
|
+
/**
|
|
21846
21881
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
21847
21882
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
21848
21883
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -22304,6 +22339,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
22304
22339
|
}), object({ success: literal(true) }), {
|
|
22305
22340
|
kind: "mutation",
|
|
22306
22341
|
auth: "admin"
|
|
22342
|
+
}), method(object({
|
|
22343
|
+
agentNodeId: string(),
|
|
22344
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
22345
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
22346
|
+
}), object({ success: literal(true) }), {
|
|
22347
|
+
kind: "mutation",
|
|
22348
|
+
auth: "admin"
|
|
22307
22349
|
}), method(object({
|
|
22308
22350
|
agentNodeId: string(),
|
|
22309
22351
|
reachableHost: string().nullable()
|
|
@@ -37635,6 +37677,12 @@ Object.freeze({
|
|
|
37635
37677
|
addonId: null,
|
|
37636
37678
|
access: "view"
|
|
37637
37679
|
},
|
|
37680
|
+
"pipelineAnalytics.getSummary": {
|
|
37681
|
+
capName: "pipeline-analytics",
|
|
37682
|
+
capScope: "device",
|
|
37683
|
+
addonId: null,
|
|
37684
|
+
access: "view"
|
|
37685
|
+
},
|
|
37638
37686
|
"pipelineAnalytics.getTrack": {
|
|
37639
37687
|
capName: "pipeline-analytics",
|
|
37640
37688
|
capScope: "device",
|
|
@@ -37713,6 +37761,12 @@ Object.freeze({
|
|
|
37713
37761
|
addonId: null,
|
|
37714
37762
|
access: "view"
|
|
37715
37763
|
},
|
|
37764
|
+
"pipelineAnalytics.listSummaries": {
|
|
37765
|
+
capName: "pipeline-analytics",
|
|
37766
|
+
capScope: "device",
|
|
37767
|
+
addonId: null,
|
|
37768
|
+
access: "view"
|
|
37769
|
+
},
|
|
37716
37770
|
"pipelineAnalytics.listTrackMedia": {
|
|
37717
37771
|
capName: "pipeline-analytics",
|
|
37718
37772
|
capScope: "device",
|
|
@@ -38271,6 +38325,12 @@ Object.freeze({
|
|
|
38271
38325
|
addonId: null,
|
|
38272
38326
|
access: "create"
|
|
38273
38327
|
},
|
|
38328
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
38329
|
+
capName: "pipeline-orchestrator",
|
|
38330
|
+
capScope: "system",
|
|
38331
|
+
addonId: null,
|
|
38332
|
+
access: "create"
|
|
38333
|
+
},
|
|
38274
38334
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
38275
38335
|
capName: "pipeline-orchestrator",
|
|
38276
38336
|
capScope: "system",
|
|
@@ -41402,6 +41462,11 @@ Object.freeze({
|
|
|
41402
41462
|
form: "array",
|
|
41403
41463
|
optional: true
|
|
41404
41464
|
}],
|
|
41465
|
+
"pipelineAnalytics.listSummaries": [{
|
|
41466
|
+
name: "deviceIds",
|
|
41467
|
+
form: "array",
|
|
41468
|
+
optional: false
|
|
41469
|
+
}],
|
|
41405
41470
|
"pipelineAnalytics.listTrackMedia": [{
|
|
41406
41471
|
name: "deviceId",
|
|
41407
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({
|
|
@@ -21842,6 +21869,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
21842
21869
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
21843
21870
|
ingest: boolean().optional(),
|
|
21844
21871
|
/**
|
|
21872
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
21873
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
21874
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
21875
|
+
*/
|
|
21876
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
21877
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
21878
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
21879
|
+
/**
|
|
21845
21880
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
21846
21881
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
21847
21882
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -22303,6 +22338,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
22303
22338
|
}), object({ success: literal(true) }), {
|
|
22304
22339
|
kind: "mutation",
|
|
22305
22340
|
auth: "admin"
|
|
22341
|
+
}), method(object({
|
|
22342
|
+
agentNodeId: string(),
|
|
22343
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
22344
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
22345
|
+
}), object({ success: literal(true) }), {
|
|
22346
|
+
kind: "mutation",
|
|
22347
|
+
auth: "admin"
|
|
22306
22348
|
}), method(object({
|
|
22307
22349
|
agentNodeId: string(),
|
|
22308
22350
|
reachableHost: string().nullable()
|
|
@@ -37634,6 +37676,12 @@ Object.freeze({
|
|
|
37634
37676
|
addonId: null,
|
|
37635
37677
|
access: "view"
|
|
37636
37678
|
},
|
|
37679
|
+
"pipelineAnalytics.getSummary": {
|
|
37680
|
+
capName: "pipeline-analytics",
|
|
37681
|
+
capScope: "device",
|
|
37682
|
+
addonId: null,
|
|
37683
|
+
access: "view"
|
|
37684
|
+
},
|
|
37637
37685
|
"pipelineAnalytics.getTrack": {
|
|
37638
37686
|
capName: "pipeline-analytics",
|
|
37639
37687
|
capScope: "device",
|
|
@@ -37712,6 +37760,12 @@ Object.freeze({
|
|
|
37712
37760
|
addonId: null,
|
|
37713
37761
|
access: "view"
|
|
37714
37762
|
},
|
|
37763
|
+
"pipelineAnalytics.listSummaries": {
|
|
37764
|
+
capName: "pipeline-analytics",
|
|
37765
|
+
capScope: "device",
|
|
37766
|
+
addonId: null,
|
|
37767
|
+
access: "view"
|
|
37768
|
+
},
|
|
37715
37769
|
"pipelineAnalytics.listTrackMedia": {
|
|
37716
37770
|
capName: "pipeline-analytics",
|
|
37717
37771
|
capScope: "device",
|
|
@@ -38270,6 +38324,12 @@ Object.freeze({
|
|
|
38270
38324
|
addonId: null,
|
|
38271
38325
|
access: "create"
|
|
38272
38326
|
},
|
|
38327
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
38328
|
+
capName: "pipeline-orchestrator",
|
|
38329
|
+
capScope: "system",
|
|
38330
|
+
addonId: null,
|
|
38331
|
+
access: "create"
|
|
38332
|
+
},
|
|
38273
38333
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
38274
38334
|
capName: "pipeline-orchestrator",
|
|
38275
38335
|
capScope: "system",
|
|
@@ -41401,6 +41461,11 @@ Object.freeze({
|
|
|
41401
41461
|
form: "array",
|
|
41402
41462
|
optional: true
|
|
41403
41463
|
}],
|
|
41464
|
+
"pipelineAnalytics.listSummaries": [{
|
|
41465
|
+
name: "deviceIds",
|
|
41466
|
+
form: "array",
|
|
41467
|
+
optional: false
|
|
41468
|
+
}],
|
|
41404
41469
|
"pipelineAnalytics.listTrackMedia": [{
|
|
41405
41470
|
name: "deviceId",
|
|
41406
41471
|
form: "single",
|
package/package.json
CHANGED