@regulaforensics/facesdk-webclient 8.4.819-nightly → 8.4.821-nightly

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +61 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -384,6 +384,31 @@ export declare interface DeviceInfo {
384
384
  'version': string | null;
385
385
  }
386
386
 
387
+ /**
388
+ * Result of the enrollment requested at session start via the `enroll` parameter. Returned only when enrollment was requested and the Enroll and Verify feature is enabled. Populated after the liveness check completes successfully.
389
+ */
390
+ export declare interface EnrollResult {
391
+ /**
392
+ * Whether a new Person was created during enrollment. `true` when a new Person was created; `false` when a matching Person was found during the pre-enrollment search and no new Person was created.
393
+ */
394
+ 'enrolled'?: boolean;
395
+ /**
396
+ * The Person created during enrollment. Present only when `enrolled` is `true`.
397
+ */
398
+ 'person'?: Person;
399
+ 'search'?: EnrollSearchResult;
400
+ }
401
+
402
+ /**
403
+ * Result of the 1:N search performed before enrollment when `enroll.search` is provided at session start. Present only when at least one matching Person is found. In this case, no new Person is created.
404
+ */
405
+ export declare interface EnrollSearchResult {
406
+ /**
407
+ * Persons found during the pre-enrollment search.
408
+ */
409
+ 'persons'?: Array<SearchPerson>;
410
+ }
411
+
387
412
  /**
388
413
  * NOTE: This file is auto generated by OpenAPI Generator.
389
414
  * Do not edit the file manually.
@@ -1535,12 +1560,14 @@ export declare interface TransactionInfo {
1535
1560
  */
1536
1561
  'portrait'?: string;
1537
1562
  /**
1538
- * A free-form object containing person\'s extended attributes.
1563
+ * A free-form object containing the Person\'s extended attributes.
1539
1564
  */
1540
1565
  'metadata'?: {
1541
1566
  [key: string]: any;
1542
1567
  };
1543
1568
  'type'?: LivenessType;
1569
+ 'enrollResult'?: EnrollResult;
1570
+ 'verifyResult'?: VerifyResult;
1544
1571
  }
1545
1572
 
1546
1573
  /**
@@ -1576,4 +1603,37 @@ export declare interface UpdateGroup {
1576
1603
  'removeItems'?: Array<string>;
1577
1604
  }
1578
1605
 
1606
+ /**
1607
+ * Result of the verification requested at session start via the `verify` parameter. Returned only when verification was requested and the Enroll and Verify feature is enabled.
1608
+ */
1609
+ export declare interface VerifyResult {
1610
+ /**
1611
+ * Whether the Person was successfully verified. `true` when the liveness check succeeds and the liveness portrait matches the enrolled Person according to the specified threshold; `false` when the liveness check fails or the faces do not match.
1612
+ */
1613
+ 'verified'?: boolean;
1614
+ /**
1615
+ * The Person the liveness portrait was verified against.
1616
+ */
1617
+ 'person'?: Person;
1618
+ 'match'?: VerifyResultMatch;
1619
+ }
1620
+
1621
+ /**
1622
+ * NOTE: This file is auto generated by OpenAPI Generator.
1623
+ * Do not edit the file manually.
1624
+ */
1625
+ /**
1626
+ * Face comparison details. Present when the liveness check succeeds.
1627
+ */
1628
+ export declare interface VerifyResultMatch {
1629
+ /**
1630
+ * Whether the faces matched according to the specified similarity threshold. `true` when the face similarity meets the threshold; `false` when it does not.
1631
+ */
1632
+ 'verified'?: boolean;
1633
+ /**
1634
+ * Face similarity score in the range from `0` to `1`.
1635
+ */
1636
+ 'similarity'?: number;
1637
+ }
1638
+
1579
1639
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/facesdk-webclient",
3
- "version": "8.4.819-nightly",
3
+ "version": "8.4.821-nightly",
4
4
  "description": "JS client for facesdk web service",
5
5
  "author": "Regula Forensics, Inc.",
6
6
  "keywords": [