@camstack/addon-provider-amcrest 0.2.69 → 0.2.71
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
|
@@ -19384,6 +19384,33 @@ var RecentTracksQueryInput = object({
|
|
|
19384
19384
|
*/
|
|
19385
19385
|
classes: array(string()).optional()
|
|
19386
19386
|
});
|
|
19387
|
+
/**
|
|
19388
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19389
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19390
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19391
|
+
* member visible has been materialised.
|
|
19392
|
+
*/
|
|
19393
|
+
var SummarySchema = object({
|
|
19394
|
+
id: string(),
|
|
19395
|
+
deviceId: number(),
|
|
19396
|
+
openedAt: number(),
|
|
19397
|
+
lastActiveAt: number(),
|
|
19398
|
+
sealedAt: number().nullable(),
|
|
19399
|
+
memberCount: number().int().nonnegative(),
|
|
19400
|
+
groupShotKey: string().nullable()
|
|
19401
|
+
});
|
|
19402
|
+
var SummariesQueryInput = object({
|
|
19403
|
+
deviceIds: array(number()).min(1),
|
|
19404
|
+
since: number().optional(),
|
|
19405
|
+
until: number().optional(),
|
|
19406
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19407
|
+
});
|
|
19408
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19409
|
+
var SummaryDetailSchema = object({
|
|
19410
|
+
summary: SummarySchema,
|
|
19411
|
+
/** Member track ids, in absorption order. */
|
|
19412
|
+
trackIds: array(string()).readonly()
|
|
19413
|
+
});
|
|
19387
19414
|
var RecentTracksPageSchema = object({
|
|
19388
19415
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19389
19416
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19784,7 +19811,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19784
19811
|
* timeline would read as a camera that saw nothing.
|
|
19785
19812
|
*/
|
|
19786
19813
|
classes: array(string()).optional()
|
|
19787
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19814
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19788
19815
|
kind: "mutation",
|
|
19789
19816
|
auth: "admin"
|
|
19790
19817
|
}), 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({
|
|
@@ -20719,6 +20746,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
20719
20746
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
20720
20747
|
ingest: boolean().optional(),
|
|
20721
20748
|
/**
|
|
20749
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
20750
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
20751
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
20752
|
+
*/
|
|
20753
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
20754
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
20755
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
20756
|
+
/**
|
|
20722
20757
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
20723
20758
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
20724
20759
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -21180,6 +21215,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
21180
21215
|
}), object({ success: literal(true) }), {
|
|
21181
21216
|
kind: "mutation",
|
|
21182
21217
|
auth: "admin"
|
|
21218
|
+
}), method(object({
|
|
21219
|
+
agentNodeId: string(),
|
|
21220
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
21221
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
21222
|
+
}), object({ success: literal(true) }), {
|
|
21223
|
+
kind: "mutation",
|
|
21224
|
+
auth: "admin"
|
|
21183
21225
|
}), method(object({
|
|
21184
21226
|
agentNodeId: string(),
|
|
21185
21227
|
reachableHost: string().nullable()
|
|
@@ -37119,6 +37161,12 @@ Object.freeze({
|
|
|
37119
37161
|
addonId: null,
|
|
37120
37162
|
access: "view"
|
|
37121
37163
|
},
|
|
37164
|
+
"pipelineAnalytics.getSummary": {
|
|
37165
|
+
capName: "pipeline-analytics",
|
|
37166
|
+
capScope: "device",
|
|
37167
|
+
addonId: null,
|
|
37168
|
+
access: "view"
|
|
37169
|
+
},
|
|
37122
37170
|
"pipelineAnalytics.getTrack": {
|
|
37123
37171
|
capName: "pipeline-analytics",
|
|
37124
37172
|
capScope: "device",
|
|
@@ -37197,6 +37245,12 @@ Object.freeze({
|
|
|
37197
37245
|
addonId: null,
|
|
37198
37246
|
access: "view"
|
|
37199
37247
|
},
|
|
37248
|
+
"pipelineAnalytics.listSummaries": {
|
|
37249
|
+
capName: "pipeline-analytics",
|
|
37250
|
+
capScope: "device",
|
|
37251
|
+
addonId: null,
|
|
37252
|
+
access: "view"
|
|
37253
|
+
},
|
|
37200
37254
|
"pipelineAnalytics.listTrackMedia": {
|
|
37201
37255
|
capName: "pipeline-analytics",
|
|
37202
37256
|
capScope: "device",
|
|
@@ -37755,6 +37809,12 @@ Object.freeze({
|
|
|
37755
37809
|
addonId: null,
|
|
37756
37810
|
access: "create"
|
|
37757
37811
|
},
|
|
37812
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
37813
|
+
capName: "pipeline-orchestrator",
|
|
37814
|
+
capScope: "system",
|
|
37815
|
+
addonId: null,
|
|
37816
|
+
access: "create"
|
|
37817
|
+
},
|
|
37758
37818
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
37759
37819
|
capName: "pipeline-orchestrator",
|
|
37760
37820
|
capScope: "system",
|
|
@@ -40886,6 +40946,11 @@ Object.freeze({
|
|
|
40886
40946
|
form: "array",
|
|
40887
40947
|
optional: true
|
|
40888
40948
|
}],
|
|
40949
|
+
"pipelineAnalytics.listSummaries": [{
|
|
40950
|
+
name: "deviceIds",
|
|
40951
|
+
form: "array",
|
|
40952
|
+
optional: false
|
|
40953
|
+
}],
|
|
40889
40954
|
"pipelineAnalytics.listTrackMedia": [{
|
|
40890
40955
|
name: "deviceId",
|
|
40891
40956
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -19385,6 +19385,33 @@ var RecentTracksQueryInput = object({
|
|
|
19385
19385
|
*/
|
|
19386
19386
|
classes: array(string()).optional()
|
|
19387
19387
|
});
|
|
19388
|
+
/**
|
|
19389
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19390
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19391
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19392
|
+
* member visible has been materialised.
|
|
19393
|
+
*/
|
|
19394
|
+
var SummarySchema = object({
|
|
19395
|
+
id: string(),
|
|
19396
|
+
deviceId: number(),
|
|
19397
|
+
openedAt: number(),
|
|
19398
|
+
lastActiveAt: number(),
|
|
19399
|
+
sealedAt: number().nullable(),
|
|
19400
|
+
memberCount: number().int().nonnegative(),
|
|
19401
|
+
groupShotKey: string().nullable()
|
|
19402
|
+
});
|
|
19403
|
+
var SummariesQueryInput = object({
|
|
19404
|
+
deviceIds: array(number()).min(1),
|
|
19405
|
+
since: number().optional(),
|
|
19406
|
+
until: number().optional(),
|
|
19407
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19408
|
+
});
|
|
19409
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19410
|
+
var SummaryDetailSchema = object({
|
|
19411
|
+
summary: SummarySchema,
|
|
19412
|
+
/** Member track ids, in absorption order. */
|
|
19413
|
+
trackIds: array(string()).readonly()
|
|
19414
|
+
});
|
|
19388
19415
|
var RecentTracksPageSchema = object({
|
|
19389
19416
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19390
19417
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19785,7 +19812,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19785
19812
|
* timeline would read as a camera that saw nothing.
|
|
19786
19813
|
*/
|
|
19787
19814
|
classes: array(string()).optional()
|
|
19788
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19815
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19789
19816
|
kind: "mutation",
|
|
19790
19817
|
auth: "admin"
|
|
19791
19818
|
}), 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({
|
|
@@ -20720,6 +20747,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
20720
20747
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
20721
20748
|
ingest: boolean().optional(),
|
|
20722
20749
|
/**
|
|
20750
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
20751
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
20752
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
20753
|
+
*/
|
|
20754
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
20755
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
20756
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
20757
|
+
/**
|
|
20723
20758
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
20724
20759
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
20725
20760
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -21181,6 +21216,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
21181
21216
|
}), object({ success: literal(true) }), {
|
|
21182
21217
|
kind: "mutation",
|
|
21183
21218
|
auth: "admin"
|
|
21219
|
+
}), method(object({
|
|
21220
|
+
agentNodeId: string(),
|
|
21221
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
21222
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
21223
|
+
}), object({ success: literal(true) }), {
|
|
21224
|
+
kind: "mutation",
|
|
21225
|
+
auth: "admin"
|
|
21184
21226
|
}), method(object({
|
|
21185
21227
|
agentNodeId: string(),
|
|
21186
21228
|
reachableHost: string().nullable()
|
|
@@ -37120,6 +37162,12 @@ Object.freeze({
|
|
|
37120
37162
|
addonId: null,
|
|
37121
37163
|
access: "view"
|
|
37122
37164
|
},
|
|
37165
|
+
"pipelineAnalytics.getSummary": {
|
|
37166
|
+
capName: "pipeline-analytics",
|
|
37167
|
+
capScope: "device",
|
|
37168
|
+
addonId: null,
|
|
37169
|
+
access: "view"
|
|
37170
|
+
},
|
|
37123
37171
|
"pipelineAnalytics.getTrack": {
|
|
37124
37172
|
capName: "pipeline-analytics",
|
|
37125
37173
|
capScope: "device",
|
|
@@ -37198,6 +37246,12 @@ Object.freeze({
|
|
|
37198
37246
|
addonId: null,
|
|
37199
37247
|
access: "view"
|
|
37200
37248
|
},
|
|
37249
|
+
"pipelineAnalytics.listSummaries": {
|
|
37250
|
+
capName: "pipeline-analytics",
|
|
37251
|
+
capScope: "device",
|
|
37252
|
+
addonId: null,
|
|
37253
|
+
access: "view"
|
|
37254
|
+
},
|
|
37201
37255
|
"pipelineAnalytics.listTrackMedia": {
|
|
37202
37256
|
capName: "pipeline-analytics",
|
|
37203
37257
|
capScope: "device",
|
|
@@ -37756,6 +37810,12 @@ Object.freeze({
|
|
|
37756
37810
|
addonId: null,
|
|
37757
37811
|
access: "create"
|
|
37758
37812
|
},
|
|
37813
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
37814
|
+
capName: "pipeline-orchestrator",
|
|
37815
|
+
capScope: "system",
|
|
37816
|
+
addonId: null,
|
|
37817
|
+
access: "create"
|
|
37818
|
+
},
|
|
37759
37819
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
37760
37820
|
capName: "pipeline-orchestrator",
|
|
37761
37821
|
capScope: "system",
|
|
@@ -40887,6 +40947,11 @@ Object.freeze({
|
|
|
40887
40947
|
form: "array",
|
|
40888
40948
|
optional: true
|
|
40889
40949
|
}],
|
|
40950
|
+
"pipelineAnalytics.listSummaries": [{
|
|
40951
|
+
name: "deviceIds",
|
|
40952
|
+
form: "array",
|
|
40953
|
+
optional: false
|
|
40954
|
+
}],
|
|
40890
40955
|
"pipelineAnalytics.listTrackMedia": [{
|
|
40891
40956
|
name: "deviceId",
|
|
40892
40957
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-amcrest",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.71",
|
|
4
4
|
"description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|