@regulaforensics/document-reader-webclient 6.8.3 → 11.4.17
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/models/authenticity-result-type.js +64 -1
- package/dist/cjs-es5/models/check-diagnose.js +3 -1
- package/dist/cjs-es5/models/document-type.js +693 -1
- package/dist/cjs-es5/models/face-api-search.js +16 -0
- package/dist/cjs-es5/models/face-api.js +16 -0
- package/dist/cjs-es5/models/index.js +3 -1
- package/dist/cjs-es5/models/log-level.js +16 -1
- package/dist/cjs-es5/models/mrzformat.js +19 -1
- package/dist/cjs-es5/models/parsing-notification-codes.js +655 -1
- package/dist/cjs-es5/models/result.js +46 -34
- package/dist/cjs-es5/models/scenario.js +55 -2
- package/dist/cjs-es5/models/security-feature-type.js +137 -1
- package/dist/cjs-es5/models/source.js +16 -1
- package/dist/cjs-es5/models/text-field-type.js +508 -464
- package/dist/cjs-es5/models/text-post-processing.js +13 -1
- package/dist/cjs-es5/models/visibility.js +16 -1
- package/dist/esm-es5/models/authenticity-result-type.js +64 -1
- package/dist/esm-es5/models/check-diagnose.js +3 -1
- package/dist/esm-es5/models/document-type.js +693 -1
- package/dist/esm-es5/models/face-api-search.js +14 -0
- package/dist/esm-es5/models/face-api.js +14 -0
- package/dist/esm-es5/models/index.js +3 -1
- package/dist/esm-es5/models/log-level.js +16 -1
- package/dist/esm-es5/models/mrzformat.js +19 -1
- package/dist/esm-es5/models/parsing-notification-codes.js +655 -1
- package/dist/esm-es5/models/result.js +46 -34
- package/dist/esm-es5/models/scenario.js +55 -2
- package/dist/esm-es5/models/security-feature-type.js +137 -1
- package/dist/esm-es5/models/source.js +16 -1
- package/dist/esm-es5/models/text-field-type.js +508 -464
- package/dist/esm-es5/models/text-post-processing.js +13 -1
- package/dist/esm-es5/models/visibility.js +16 -1
- package/package.json +1 -1
- package/src/models/authenticity-result-type.ts +63 -0
- package/src/models/check-diagnose.ts +2 -0
- package/src/models/document-type.ts +693 -1
- package/src/models/face-api-search.ts +43 -0
- package/src/models/face-api.ts +74 -0
- package/src/models/index.ts +2 -0
- package/src/models/log-level.ts +15 -0
- package/src/models/mrzformat.ts +18 -0
- package/src/models/parsing-notification-codes.ts +654 -0
- package/src/models/process-params.ts +25 -0
- package/src/models/process-request.ts +12 -0
- package/src/models/result.ts +45 -33
- package/src/models/scenario.ts +54 -1
- package/src/models/security-feature-type.ts +137 -1
- package/src/models/source.ts +15 -0
- package/src/models/text-field-type.ts +508 -464
- package/src/models/text-post-processing.ts +12 -0
- package/src/models/visibility.ts +15 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Regula Document Reader Web API
|
|
5
|
+
* Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 6.8.0
|
|
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
|
+
* A search filter that can be applied if the \"match+search\" mode is enabled. May include limit, threshold, group_ids. If the group_ids are specified, the search is performed only in these groups. Find more information in the <a href=\"https://dev.regulaforensics.com/FaceSDK-web-openapi/#tag/search/operation/search\" target=\"_blank\">OpenAPI documentation</a>.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface FaceApiSearch
|
|
21
|
+
*/
|
|
22
|
+
export interface FaceApiSearch {
|
|
23
|
+
/**
|
|
24
|
+
* The maximum number of results to be returned.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof FaceApiSearch
|
|
27
|
+
*/
|
|
28
|
+
limit?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The similarity threshold.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof FaceApiSearch
|
|
33
|
+
*/
|
|
34
|
+
threshold?: number;
|
|
35
|
+
/**
|
|
36
|
+
* The groups where to conduct the search.
|
|
37
|
+
* @type {Array<number>}
|
|
38
|
+
* @memberof FaceApiSearch
|
|
39
|
+
*/
|
|
40
|
+
group_ids?: Array<number>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Regula Document Reader Web API
|
|
5
|
+
* Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 6.8.0
|
|
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
|
+
import { FaceApiSearch } from './face-api-search';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface FaceApi
|
|
22
|
+
*/
|
|
23
|
+
export interface FaceApi {
|
|
24
|
+
/**
|
|
25
|
+
* The URL of the Regula Face Web service to be used.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FaceApi
|
|
28
|
+
*/
|
|
29
|
+
url?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The processing mode: \"match\" or \"match+search\".
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FaceApi
|
|
34
|
+
*/
|
|
35
|
+
mode?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {FaceApiSearch}
|
|
39
|
+
* @memberof FaceApi
|
|
40
|
+
*/
|
|
41
|
+
search?: FaceApiSearch;
|
|
42
|
+
/**
|
|
43
|
+
* The similarity threshold, 0-100. Above 75 means that the faces\' similarity is verified, below 75 is not.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof FaceApi
|
|
46
|
+
*/
|
|
47
|
+
threshold?: number;
|
|
48
|
+
/**
|
|
49
|
+
* The Regula Face Web service requests timeout, ms.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof FaceApi
|
|
52
|
+
*/
|
|
53
|
+
serviceTimeout?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Proxy to use, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXY.html\" target=\"_blank\">cURL standard</a>.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof FaceApi
|
|
58
|
+
*/
|
|
59
|
+
proxy?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Username and password to use for proxy authentication, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXYUSERPWD.html\" target=\"_blank\">cURL standard</a>.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof FaceApi
|
|
64
|
+
*/
|
|
65
|
+
proxy_userpwd?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Proxy protocol type, should be set according to the <a href=\"https://curl.se/libcurl/c/CURLOPT_PROXYTYPE.html\" target=\"_blank\">cURL standard</a>.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof FaceApi
|
|
70
|
+
*/
|
|
71
|
+
proxy_type?: number;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -40,6 +40,8 @@ export * from './document-types-candidates-result-all-of.js';
|
|
|
40
40
|
export * from './encrypted-rclresult.js';
|
|
41
41
|
export * from './encrypted-rclresult-all-of.js';
|
|
42
42
|
export * from './fdsidlist.js';
|
|
43
|
+
export * from './face-api.js';
|
|
44
|
+
export * from './face-api-search.js';
|
|
43
45
|
export * from './fiber-result.js';
|
|
44
46
|
export * from './fiber-result-all-of.js';
|
|
45
47
|
export * from './graphic-field.js';
|
package/src/models/log-level.ts
CHANGED
|
@@ -20,10 +20,25 @@
|
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
22
|
export enum LogLevel {
|
|
23
|
+
/**
|
|
24
|
+
* Fatal error
|
|
25
|
+
*/
|
|
23
26
|
FATAL_ERROR = 'FatalError',
|
|
27
|
+
/**
|
|
28
|
+
* Error
|
|
29
|
+
*/
|
|
24
30
|
ERROR = 'Error',
|
|
31
|
+
/**
|
|
32
|
+
* Warning
|
|
33
|
+
*/
|
|
25
34
|
WARNING = 'Warning',
|
|
35
|
+
/**
|
|
36
|
+
* Info
|
|
37
|
+
*/
|
|
26
38
|
INFO = 'Info',
|
|
39
|
+
/**
|
|
40
|
+
* Debug
|
|
41
|
+
*/
|
|
27
42
|
DEBUG = 'Debug'
|
|
28
43
|
}
|
|
29
44
|
|
package/src/models/mrzformat.ts
CHANGED
|
@@ -20,11 +20,29 @@
|
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
22
|
export enum MRZFormat {
|
|
23
|
+
/**
|
|
24
|
+
* 1x30
|
|
25
|
+
*/
|
|
23
26
|
IDL = '1x30',
|
|
27
|
+
/**
|
|
28
|
+
* 3x30
|
|
29
|
+
*/
|
|
24
30
|
ID1 = '3x30',
|
|
31
|
+
/**
|
|
32
|
+
* 2x36
|
|
33
|
+
*/
|
|
25
34
|
ID2 = '2x36',
|
|
35
|
+
/**
|
|
36
|
+
* 2x44
|
|
37
|
+
*/
|
|
26
38
|
ID3 = '2x44',
|
|
39
|
+
/**
|
|
40
|
+
* 1x6
|
|
41
|
+
*/
|
|
27
42
|
CAN = '1x6',
|
|
43
|
+
/**
|
|
44
|
+
* 2x30
|
|
45
|
+
*/
|
|
28
46
|
ID1_2_30 = '2x30'
|
|
29
47
|
}
|
|
30
48
|
|