@regulaforensics/facesdk-webclient 4.1.6 → 5.1.0
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/cjs-es5/api/liveness-api.js +355 -0
- package/dist/cjs-es5/api/liveness20-api.js +432 -0
- package/dist/cjs-es5/api.js +2 -1
- package/dist/cjs-es5/models/face-quality-scenarios.js +2 -1
- package/dist/cjs-es5/models/image-source.js +3 -2
- package/dist/cjs-es5/models/index.js +2 -1
- package/dist/cjs-es5/models/liveness-transaction.js +16 -0
- package/dist/esm-es5/api/liveness-api.js +352 -0
- package/dist/esm-es5/api/liveness20-api.js +429 -0
- package/dist/esm-es5/api.js +2 -1
- package/dist/esm-es5/models/face-quality-scenarios.js +2 -1
- package/dist/esm-es5/models/image-source.js +3 -2
- package/dist/esm-es5/models/index.js +2 -1
- package/dist/esm-es5/models/liveness-transaction.js +14 -0
- package/package.json +1 -1
- package/src/api/liveness-api.ts +268 -0
- package/src/api/liveness20-api.ts +340 -0
- package/src/api.ts +1 -0
- package/src/models/face-quality-scenarios.ts +1 -0
- package/src/models/image-source.ts +2 -1
- package/src/models/index.ts +1 -0
- package/src/models/liveness-transaction.ts +78 -0
- package/src/models/search-parameters.ts +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Regula FaceSDK Web API
|
|
5
|
+
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 4.1.3
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface LivenessTransaction
|
|
21
|
+
*/
|
|
22
|
+
export interface LivenessTransaction {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof LivenessTransaction
|
|
27
|
+
*/
|
|
28
|
+
'code'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* A free-form object containing additional transaction attributes.
|
|
31
|
+
* @type {{ [key: string]: object; }}
|
|
32
|
+
* @memberof LivenessTransaction
|
|
33
|
+
*/
|
|
34
|
+
'config'?: { [key: string]: object; };
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof LivenessTransaction
|
|
39
|
+
*/
|
|
40
|
+
'elapsed'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* URL for portrait image
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof LivenessTransaction
|
|
45
|
+
*/
|
|
46
|
+
'portrait'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof LivenessTransaction
|
|
51
|
+
*/
|
|
52
|
+
'sessionId'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the liveness detection is confirmed (0) or not (1)
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof LivenessTransaction
|
|
57
|
+
*/
|
|
58
|
+
'status'?: number;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof LivenessTransaction
|
|
63
|
+
*/
|
|
64
|
+
'transactionId'?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof LivenessTransaction
|
|
69
|
+
*/
|
|
70
|
+
'video'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* A free-form object containing the request information (server time, client IP, etc.).
|
|
73
|
+
* @type {{ [key: string]: object; }}
|
|
74
|
+
* @memberof LivenessTransaction
|
|
75
|
+
*/
|
|
76
|
+
'metadata'?: { [key: string]: object; };
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -27,7 +27,7 @@ export interface SearchParameters {
|
|
|
27
27
|
*/
|
|
28
28
|
'limit'?: number;
|
|
29
29
|
/**
|
|
30
|
-
* The similarity distance threshold.
|
|
30
|
+
* The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used.
|
|
31
31
|
* @type {number}
|
|
32
32
|
* @memberof SearchParameters
|
|
33
33
|
*/
|