@camstack/addon-provider-onvif 1.2.83 → 1.2.84

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 CHANGED
@@ -24337,6 +24337,59 @@ var IdentitySampleInfoSchema = object({
24337
24337
  deviceId: number().int().optional(),
24338
24338
  base64: string().optional()
24339
24339
  });
24340
+ /**
24341
+ * One enrolled sample, judged against the gallery it lives in.
24342
+ *
24343
+ * The gallery is the one input to recognition nobody re-reads: a sample
24344
+ * enrolled from the wrong face keeps voting forever, and because the matches it
24345
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
24346
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
24347
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
24348
+ * where every other cross-identity pair sits under 0.50.
24349
+ */
24350
+ var IdentitySampleAuditRowSchema = object({
24351
+ sampleId: string(),
24352
+ enrolledAt: number().int(),
24353
+ deviceId: number().int().optional(),
24354
+ source: _enum(["detected", "photo"]),
24355
+ /** The enrolled crop's media key, so the panel can show the evidence. */
24356
+ mediaKey: string().optional(),
24357
+ /**
24358
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
24359
+ * across feature spaces is a well-formed float with no meaning. Every number
24360
+ * below then says nothing — it must read as "cannot say", never as an
24361
+ * accusation and never as a clean bill: this list ends in a Remove button.
24362
+ */
24363
+ comparable: boolean(),
24364
+ /** Mean cosine against this person's other samples. Null when there are none
24365
+ * to compare with — never 0, which would read as "opposite". */
24366
+ selfMean: number().nullable(),
24367
+ /** The other person this sample looks most like, when it looks like one.
24368
+ * This is the half that convicts: not looking like yourself can be a hard
24369
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
24370
+ bestForeign: object({
24371
+ identityId: string(),
24372
+ name: string(),
24373
+ score: number()
24374
+ }).optional(),
24375
+ /** 0 = nothing to say. Higher = look at this one sooner. */
24376
+ suspicion: number()
24377
+ });
24378
+ var IdentitySampleAuditSchema = object({
24379
+ identityId: string(),
24380
+ name: string(),
24381
+ /** The cluster face model every comparison was made in. */
24382
+ modelId: string(),
24383
+ totalSamples: number().int(),
24384
+ comparableSamples: number().int(),
24385
+ flagged: number().int(),
24386
+ /** The bar `flagged` counts against, so the panel states the RULE and not
24387
+ * only its current result. */
24388
+ flagThreshold: number(),
24389
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
24390
+ * operator asked to see the gallery, not only its accusations. */
24391
+ rows: array(IdentitySampleAuditRowSchema).readonly()
24392
+ });
24340
24393
  var FaceInfoSchema = object({
24341
24394
  faceId: string(),
24342
24395
  deviceId: number().int(),
@@ -24488,7 +24541,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24488
24541
  }), method(object({ id: string() }), _void(), {
24489
24542
  kind: "mutation",
24490
24543
  auth: "admin"
24491
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
24544
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
24492
24545
  identityId: string(),
24493
24546
  sampleId: string()
24494
24547
  }), _void(), {
@@ -32583,6 +32636,12 @@ Object.freeze({
32583
32636
  addonId: null,
32584
32637
  access: "create"
32585
32638
  },
32639
+ "faceGallery.auditIdentitySamples": {
32640
+ capName: "face-gallery",
32641
+ capScope: "system",
32642
+ addonId: null,
32643
+ access: "view"
32644
+ },
32586
32645
  "faceGallery.createIdentity": {
32587
32646
  capName: "face-gallery",
32588
32647
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -24338,6 +24338,59 @@ var IdentitySampleInfoSchema = object({
24338
24338
  deviceId: number().int().optional(),
24339
24339
  base64: string().optional()
24340
24340
  });
24341
+ /**
24342
+ * One enrolled sample, judged against the gallery it lives in.
24343
+ *
24344
+ * The gallery is the one input to recognition nobody re-reads: a sample
24345
+ * enrolled from the wrong face keeps voting forever, and because the matches it
24346
+ * pulls then look confident, nobody goes back. The 2026-09-08 audit found
24347
+ * exactly one such pair on this cluster — a sample scoring 0.61 against three
24348
+ * samples of ANOTHER person, enrolled from the same camera in the same minute,
24349
+ * where every other cross-identity pair sits under 0.50.
24350
+ */
24351
+ var IdentitySampleAuditRowSchema = object({
24352
+ sampleId: string(),
24353
+ enrolledAt: number().int(),
24354
+ deviceId: number().int().optional(),
24355
+ source: _enum(["detected", "photo"]),
24356
+ /** The enrolled crop's media key, so the panel can show the evidence. */
24357
+ mediaKey: string().optional(),
24358
+ /**
24359
+ * False = the sample is stamped with a DIFFERENT face model, and a cosine
24360
+ * across feature spaces is a well-formed float with no meaning. Every number
24361
+ * below then says nothing — it must read as "cannot say", never as an
24362
+ * accusation and never as a clean bill: this list ends in a Remove button.
24363
+ */
24364
+ comparable: boolean(),
24365
+ /** Mean cosine against this person's other samples. Null when there are none
24366
+ * to compare with — never 0, which would read as "opposite". */
24367
+ selfMean: number().nullable(),
24368
+ /** The other person this sample looks most like, when it looks like one.
24369
+ * This is the half that convicts: not looking like yourself can be a hard
24370
+ * angle; looking like someone the gallery can NAME is a mis-enrolment. */
24371
+ bestForeign: object({
24372
+ identityId: string(),
24373
+ name: string(),
24374
+ score: number()
24375
+ }).optional(),
24376
+ /** 0 = nothing to say. Higher = look at this one sooner. */
24377
+ suspicion: number()
24378
+ });
24379
+ var IdentitySampleAuditSchema = object({
24380
+ identityId: string(),
24381
+ name: string(),
24382
+ /** The cluster face model every comparison was made in. */
24383
+ modelId: string(),
24384
+ totalSamples: number().int(),
24385
+ comparableSamples: number().int(),
24386
+ flagged: number().int(),
24387
+ /** The bar `flagged` counts against, so the panel states the RULE and not
24388
+ * only its current result. */
24389
+ flagThreshold: number(),
24390
+ /** Worst first. A row with nothing to say still appears, at the bottom: the
24391
+ * operator asked to see the gallery, not only its accusations. */
24392
+ rows: array(IdentitySampleAuditRowSchema).readonly()
24393
+ });
24341
24394
  var FaceInfoSchema = object({
24342
24395
  faceId: string(),
24343
24396
  deviceId: number().int(),
@@ -24489,7 +24542,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24489
24542
  }), method(object({ id: string() }), _void(), {
24490
24543
  kind: "mutation",
24491
24544
  auth: "admin"
24492
- }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
24545
+ }), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
24493
24546
  identityId: string(),
24494
24547
  sampleId: string()
24495
24548
  }), _void(), {
@@ -32584,6 +32637,12 @@ Object.freeze({
32584
32637
  addonId: null,
32585
32638
  access: "create"
32586
32639
  },
32640
+ "faceGallery.auditIdentitySamples": {
32641
+ capName: "face-gallery",
32642
+ capScope: "system",
32643
+ addonId: null,
32644
+ access: "view"
32645
+ },
32587
32646
  "faceGallery.createIdentity": {
32588
32647
  capName: "face-gallery",
32589
32648
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.83",
3
+ "version": "1.2.84",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",