@regulaforensics/document-reader-webclient 6.1.0 → 6.1.1
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/ext/images.js +3 -3
- package/dist/cjs-es5/ext/process-request.js +1 -1
- package/dist/cjs-es5/ext/process-response.js +27 -6
- package/dist/cjs-es5/models/bc-pdf417-info.js +16 -0
- package/dist/cjs-es5/models/bc-roidetect.js +16 -0
- package/dist/cjs-es5/models/data-module.js +16 -0
- package/dist/cjs-es5/models/doc-bar-code-info-all-of.js +16 -0
- package/dist/cjs-es5/models/doc-bar-code-info.js +16 -0
- package/dist/cjs-es5/models/encrypted-rclresult-all-of.js +16 -0
- package/dist/cjs-es5/models/encrypted-rclresult.js +16 -0
- package/dist/cjs-es5/models/index.js +11 -1
- package/dist/cjs-es5/models/license-result-all-of.js +16 -0
- package/dist/cjs-es5/models/license-result.js +16 -0
- package/dist/cjs-es5/models/parray-field.js +16 -0
- package/dist/cjs-es5/models/result.js +13 -1
- package/dist/esm-es5/ext/images.js +3 -3
- package/dist/esm-es5/ext/process-request.js +1 -1
- package/dist/esm-es5/ext/process-response.js +7 -5
- package/dist/esm-es5/models/bc-pdf417-info.js +14 -0
- package/dist/esm-es5/models/bc-roidetect.js +14 -0
- package/dist/esm-es5/models/data-module.js +14 -0
- package/dist/esm-es5/models/doc-bar-code-info-all-of.js +14 -0
- package/dist/esm-es5/models/doc-bar-code-info.js +14 -0
- package/dist/esm-es5/models/encrypted-rclresult-all-of.js +14 -0
- package/dist/esm-es5/models/encrypted-rclresult.js +14 -0
- package/dist/esm-es5/models/index.js +11 -1
- package/dist/esm-es5/models/license-result-all-of.js +14 -0
- package/dist/esm-es5/models/license-result.js +14 -0
- package/dist/esm-es5/models/parray-field.js +14 -0
- package/dist/esm-es5/models/result.js +13 -1
- package/package.json +1 -1
- package/src/ext/images.ts +2 -2
- package/src/ext/process-request.ts +8 -2
- package/src/ext/process-response.ts +10 -8
- package/src/ext/result-item.ts +4 -4
- package/src/models/authenticity-result.ts +3 -0
- package/src/models/bc-pdf417-info.ts +61 -0
- package/src/models/bc-roidetect.ts +49 -0
- package/src/models/chosen-document-type-result.ts +3 -0
- package/src/models/container-list.ts +11 -2
- package/src/models/data-module.ts +55 -0
- package/src/models/doc-bar-code-info-all-of.ts +38 -0
- package/src/models/doc-bar-code-info.ts +42 -0
- package/src/models/document-image-result.ts +3 -0
- package/src/models/document-position-result.ts +3 -0
- package/src/models/document-types-candidates-result.ts +3 -0
- package/src/models/encrypted-rclresult-all-of.ts +31 -0
- package/src/models/encrypted-rclresult.ts +40 -0
- package/src/models/graphics-result.ts +3 -0
- package/src/models/image-quality-result.ts +3 -0
- package/src/models/images-result.ts +3 -0
- package/src/models/index.ts +10 -0
- package/src/models/lexical-analysis-result.ts +3 -0
- package/src/models/license-result-all-of.ts +31 -0
- package/src/models/license-result.ts +40 -0
- package/src/models/parray-field.ts +88 -0
- package/src/models/process-request.ts +14 -1
- package/src/models/result-item.ts +3 -0
- package/src/models/result.ts +13 -1
- package/src/models/status-result.ts +3 -0
- package/src/models/text-data-result.ts +3 -0
- package/src/models/text-result.ts +3 -0
|
@@ -0,0 +1,14 @@
|
|
|
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.1.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
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5jcnlwdGVkLXJjbHJlc3VsdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9tb2RlbHMvZW5jcnlwdGVkLXJjbHJlc3VsdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO0FBQ3BCOzs7Ozs7Ozs7O0dBVUcifQ==
|
|
@@ -6,6 +6,8 @@ export * from './authenticity-check-result-item.js';
|
|
|
6
6
|
export * from './authenticity-result.js';
|
|
7
7
|
export * from './authenticity-result-all-of.js';
|
|
8
8
|
export * from './authenticity-result-type.js';
|
|
9
|
+
export * from './bc-pdf417-info.js';
|
|
10
|
+
export * from './bc-roidetect.js';
|
|
9
11
|
export * from './check-diagnose.js';
|
|
10
12
|
export * from './check-result.js';
|
|
11
13
|
export * from './chosen-document-type.js';
|
|
@@ -14,9 +16,12 @@ export * from './chosen-document-type-result-all-of.js';
|
|
|
14
16
|
export * from './container-list.js';
|
|
15
17
|
export * from './critical.js';
|
|
16
18
|
export * from './cross-source-value-comparison.js';
|
|
19
|
+
export * from './data-module.js';
|
|
17
20
|
export * from './details-optical.js';
|
|
18
21
|
export * from './details-rfid.js';
|
|
19
22
|
export * from './device-info.js';
|
|
23
|
+
export * from './doc-bar-code-info.js';
|
|
24
|
+
export * from './doc-bar-code-info-all-of.js';
|
|
20
25
|
export * from './doc-visual-extended-field.js';
|
|
21
26
|
export * from './doc-visual-extended-info.js';
|
|
22
27
|
export * from './document-format.js';
|
|
@@ -32,6 +37,8 @@ export * from './document-types-candidates.js';
|
|
|
32
37
|
export * from './document-types-candidates-list.js';
|
|
33
38
|
export * from './document-types-candidates-result.js';
|
|
34
39
|
export * from './document-types-candidates-result-all-of.js';
|
|
40
|
+
export * from './encrypted-rclresult.js';
|
|
41
|
+
export * from './encrypted-rclresult-all-of.js';
|
|
35
42
|
export * from './fdsidlist.js';
|
|
36
43
|
export * from './fiber-result.js';
|
|
37
44
|
export * from './fiber-result-all-of.js';
|
|
@@ -58,6 +65,8 @@ export * from './images-result-all-of.js';
|
|
|
58
65
|
export * from './lcid.js';
|
|
59
66
|
export * from './lexical-analysis-result.js';
|
|
60
67
|
export * from './lexical-analysis-result-all-of.js';
|
|
68
|
+
export * from './license-result.js';
|
|
69
|
+
export * from './license-result-all-of.js';
|
|
61
70
|
export * from './light.js';
|
|
62
71
|
export * from './list-verified-fields.js';
|
|
63
72
|
export * from './log-level.js';
|
|
@@ -67,6 +76,7 @@ export * from './ocrsecurity-text-result.js';
|
|
|
67
76
|
export * from './ocrsecurity-text-result-all-of.js';
|
|
68
77
|
export * from './one-candidate.js';
|
|
69
78
|
export * from './original-symbol.js';
|
|
79
|
+
export * from './parray-field.js';
|
|
70
80
|
export * from './per-document-config.js';
|
|
71
81
|
export * from './photo-ident-result.js';
|
|
72
82
|
export * from './photo-ident-result-all-of.js';
|
|
@@ -111,4 +121,4 @@ export * from './transaction-info.js';
|
|
|
111
121
|
export * from './verification-result.js';
|
|
112
122
|
export * from './verified-field-map.js';
|
|
113
123
|
export * from './visibility.js';
|
|
114
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
124
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FB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0MsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsaUJBQWlCLENBQUMifQ==
|
|
@@ -0,0 +1,14 @@
|
|
|
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.1.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
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGljZW5zZS1yZXN1bHQtYWxsLW9mLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL21vZGVscy9saWNlbnNlLXJlc3VsdC1hbGwtb2YudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjtBQUNwQjs7Ozs7Ozs7OztHQVVHIn0=
|
|
@@ -0,0 +1,14 @@
|
|
|
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.1.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
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGljZW5zZS1yZXN1bHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kZWxzL2xpY2Vuc2UtcmVzdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG9CQUFvQjtBQUNwQixvQkFBb0I7QUFDcEI7Ozs7Ozs7Ozs7R0FVRyJ9
|
|
@@ -0,0 +1,14 @@
|
|
|
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.1.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
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFycmF5LWZpZWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL21vZGVscy9wYXJyYXktZmllbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjtBQUNwQjs7Ozs7Ozs7OztHQVVHIn0=
|
|
@@ -86,5 +86,17 @@ export var Result;
|
|
|
86
86
|
* Contains information about document position on the input image, its center, angle, etc
|
|
87
87
|
*/
|
|
88
88
|
Result[Result["DOCUMENT_POSITION"] = 85] = "DOCUMENT_POSITION";
|
|
89
|
+
/**
|
|
90
|
+
* Contains raw information about barcodes on the input image
|
|
91
|
+
*/
|
|
92
|
+
Result[Result["BARCODES"] = 5] = "BARCODES";
|
|
93
|
+
/**
|
|
94
|
+
* Contains license
|
|
95
|
+
*/
|
|
96
|
+
Result[Result["LICENSE"] = 50] = "LICENSE";
|
|
97
|
+
/**
|
|
98
|
+
* Contains encrypted ResultContainerList
|
|
99
|
+
*/
|
|
100
|
+
Result[Result["ENCRYPTED_RCL"] = 49] = "ENCRYPTED_RCL";
|
|
89
101
|
})(Result || (Result = {}));
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
102
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL21vZGVscy9yZXN1bHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjtBQUNwQjs7Ozs7Ozs7OztHQVVHO0FBSUg7Ozs7R0FJRztBQUNILE1BQU0sQ0FBTixJQUFZLE1BaUZYO0FBakZELFdBQVksTUFBTTtJQUNkOztNQUVFO0lBQ0YsdURBQWtCLENBQUE7SUFDbEI7O01BRUU7SUFDRixzREFBa0IsQ0FBQTtJQUNsQjs7TUFFRTtJQUNGLHdDQUFXLENBQUE7SUFDWDs7TUFFRTtJQUNGLG9DQUFTLENBQUE7SUFDVDs7TUFFRTtJQUNGLHdDQUFXLENBQUE7SUFDWDs7TUFFRTtJQUNGLDJDQUFZLENBQUE7SUFDWjs7TUFFRTtJQUNGLGtEQUFnQixDQUFBO0lBQ2hCOztNQUVFO0lBQ0Ysb0RBQWlCLENBQUE7SUFDakI7O01BRUU7SUFDRiwrQ0FBZSxDQUFBO0lBQ2Y7O01BRUU7SUFDRiw0REFBcUIsQ0FBQTtJQUNyQjs7TUFFRTtJQUNGLHlEQUFtQixDQUFBO0lBQ25COztNQUVFO0lBQ0YsNERBQXFCLENBQUE7SUFDckI7O01BRUU7SUFDRix1REFBbUIsQ0FBQTtJQUNuQjs7TUFFRTtJQUNGLDJFQUE0QixDQUFBO0lBQzVCOztNQUVFO0lBQ0YscURBQWlCLENBQUE7SUFDakI7O01BRUU7SUFDRixvREFBaUIsQ0FBQTtJQUNqQjs7TUFFRTtJQUNGLDhEQUFzQixDQUFBO0lBQ3RCOztNQUVFO0lBQ0YsMkNBQVksQ0FBQTtJQUNaOztNQUVFO0lBQ0YsMENBQVksQ0FBQTtJQUNaOztNQUVFO0lBQ0Ysc0RBQWtCLENBQUE7QUFDdEIsQ0FBQyxFQWpGVyxNQUFNLEtBQU4sTUFBTSxRQWlGakIifQ==
|
package/package.json
CHANGED
package/src/ext/images.ts
CHANGED
|
@@ -39,7 +39,7 @@ export class ImagesField implements BaseImagesField {
|
|
|
39
39
|
valueList: Array<ImagesFieldValue>;
|
|
40
40
|
|
|
41
41
|
constructor(origin: BaseImagesField) {
|
|
42
|
-
this.
|
|
42
|
+
this.fieldName = origin.fieldName
|
|
43
43
|
this.fieldType = origin.fieldType
|
|
44
44
|
this.valueList = origin.valueList
|
|
45
45
|
}
|
|
@@ -58,7 +58,7 @@ export class ImagesField implements BaseImagesField {
|
|
|
58
58
|
return undefined
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
if (original) {
|
|
61
|
+
if (original && fieldValue.originalValue) {
|
|
62
62
|
return base64ToBuffer(fieldValue.originalValue)
|
|
63
63
|
}
|
|
64
64
|
return base64ToBuffer(fieldValue.value)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {ProcessParams, ProcessSystemInfo} from "../models/index.js";
|
|
1
|
+
import {ContainerList, ProcessParams, ProcessSystemInfo} from "../models/index.js";
|
|
2
2
|
import {ProcessRequestImage} from "./process-request-image.js";
|
|
3
3
|
|
|
4
4
|
export type Base64String = string;
|
|
@@ -10,7 +10,7 @@ export interface ProcessRequest {
|
|
|
10
10
|
* @type {ProcessParams}
|
|
11
11
|
* @memberof ProcessRequest
|
|
12
12
|
*/
|
|
13
|
-
processParam
|
|
13
|
+
processParam: ProcessParams;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -19,6 +19,12 @@ export interface ProcessRequest {
|
|
|
19
19
|
*/
|
|
20
20
|
images: Array<ProcessRequestImage | ArrayBuffer | Base64String>;
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* @type {ContainerList}
|
|
24
|
+
* @memberOf ProcessRequest
|
|
25
|
+
*/
|
|
26
|
+
ContainerList: ContainerList
|
|
27
|
+
|
|
22
28
|
/**
|
|
23
29
|
*
|
|
24
30
|
* @type {ProcessParams}
|
|
@@ -19,7 +19,7 @@ import {Images} from "./images.js";
|
|
|
19
19
|
// @ts-ignore
|
|
20
20
|
import converter from "base64-arraybuffer";
|
|
21
21
|
import {Authenticity} from "./authenticity/authenticity.js";
|
|
22
|
-
import pako from 'pako'
|
|
22
|
+
import * as pako from 'pako'
|
|
23
23
|
|
|
24
24
|
export class Response {
|
|
25
25
|
|
|
@@ -58,15 +58,16 @@ export class Response {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
public authenticityPerPage(): Array<Authenticity> {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
const filteredByTypeArray = <Array<AuthenticityResult>>this.lowLvlResponse.resultsByType(Result.AUTHENTICITY)
|
|
62
|
+
|
|
63
|
+
return filteredByTypeArray
|
|
64
|
+
.map((e: AuthenticityResult) => new Authenticity(e.AuthenticityCheckList, e.page_idx || 0))
|
|
63
65
|
.sort((a, b) => a.page_idx - b.page_idx)
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
public imageQualityChecks(page_idx = 0): ImageQualityCheckList | undefined {
|
|
67
69
|
const result = <ImageQualityResult>this.lowLvlResponse.resultByTypeAndPage(Result.IMAGE_QUALITY, page_idx)
|
|
68
|
-
if(result)
|
|
69
|
-
{
|
|
70
|
+
if (result) {
|
|
70
71
|
return result.ImageQualityCheckList;
|
|
71
72
|
}
|
|
72
73
|
}
|
|
@@ -93,9 +94,10 @@ export class Response {
|
|
|
93
94
|
const uintArraySize = dataUintArray.length
|
|
94
95
|
const step = 10000
|
|
95
96
|
const result = []
|
|
97
|
+
const convertedUnitArray = [].slice.call(dataUintArray)
|
|
96
98
|
// To avoid maximum call stack size excess
|
|
97
99
|
for (let i = 0; i < uintArraySize; i += step) {
|
|
98
|
-
const chunk = String.fromCharCode.apply(null,
|
|
100
|
+
const chunk = String.fromCharCode.apply(null, convertedUnitArray.slice(i, i + step))
|
|
99
101
|
result.push(chunk)
|
|
100
102
|
}
|
|
101
103
|
return result.join('')
|
|
@@ -110,7 +112,7 @@ export class LowLvlResponse implements ProcessResponse {
|
|
|
110
112
|
ContainerList: ContainerList
|
|
111
113
|
ProcessingFinished: ProcessingStatus
|
|
112
114
|
TransactionInfo: TransactionInfo
|
|
113
|
-
ChipPage
|
|
115
|
+
ChipPage?: RfidLocation
|
|
114
116
|
log?: string
|
|
115
117
|
passBackObject?: { [key: string]: any; };
|
|
116
118
|
morePagesAvailable?: number;
|
|
@@ -155,7 +157,7 @@ export class LowLvlResponse implements ProcessResponse {
|
|
|
155
157
|
return undefined
|
|
156
158
|
}
|
|
157
159
|
|
|
158
|
-
public resultsByType(type: Result): Array<ResultItem> {
|
|
160
|
+
public resultsByType(type: Result): Array<ResultItem | AuthenticityResult> {
|
|
159
161
|
return this.ContainerList.List.filter(container => container.result_type === type)
|
|
160
162
|
}
|
|
161
163
|
}
|
package/src/ext/result-item.ts
CHANGED
|
@@ -3,10 +3,10 @@ import {ResultItem} from "../models/index.js";
|
|
|
3
3
|
|
|
4
4
|
export class BaseResultItem implements ResultItem {
|
|
5
5
|
|
|
6
|
-
buf_length
|
|
7
|
-
light
|
|
8
|
-
list_idx
|
|
9
|
-
page_idx
|
|
6
|
+
buf_length?: number;
|
|
7
|
+
light?: number;
|
|
8
|
+
list_idx?: number;
|
|
9
|
+
page_idx?: number;
|
|
10
10
|
result_type: number;
|
|
11
11
|
|
|
12
12
|
constructor(item: ResultItem) {
|
|
@@ -16,13 +16,16 @@
|
|
|
16
16
|
import { AuthenticityCheckList } from './authenticity-check-list';
|
|
17
17
|
import { AuthenticityResultAllOf } from './authenticity-result-all-of';
|
|
18
18
|
import { ChosenDocumentTypeResult } from './chosen-document-type-result';
|
|
19
|
+
import { DocBarCodeInfo } from './doc-bar-code-info';
|
|
19
20
|
import { DocumentImageResult } from './document-image-result';
|
|
20
21
|
import { DocumentPositionResult } from './document-position-result';
|
|
21
22
|
import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
|
|
23
|
+
import { EncryptedRCLResult } from './encrypted-rclresult';
|
|
22
24
|
import { GraphicsResult } from './graphics-result';
|
|
23
25
|
import { ImageQualityResult } from './image-quality-result';
|
|
24
26
|
import { ImagesResult } from './images-result';
|
|
25
27
|
import { LexicalAnalysisResult } from './lexical-analysis-result';
|
|
28
|
+
import { LicenseResult } from './license-result';
|
|
26
29
|
import { ResultItem } from './result-item';
|
|
27
30
|
import { StatusResult } from './status-result';
|
|
28
31
|
import { TextDataResult } from './text-data-result';
|
|
@@ -0,0 +1,61 @@
|
|
|
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.1.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
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BcPDF417INFO
|
|
21
|
+
*/
|
|
22
|
+
export interface BcPDF417INFO {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof BcPDF417INFO
|
|
27
|
+
*/
|
|
28
|
+
Angle?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof BcPDF417INFO
|
|
33
|
+
*/
|
|
34
|
+
bcColumn?: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof BcPDF417INFO
|
|
39
|
+
*/
|
|
40
|
+
bcErrorLevel?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof BcPDF417INFO
|
|
45
|
+
*/
|
|
46
|
+
bcRow?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof BcPDF417INFO
|
|
51
|
+
*/
|
|
52
|
+
minX?: number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof BcPDF417INFO
|
|
57
|
+
*/
|
|
58
|
+
minY?: number;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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.1.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
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BcROIDETECT
|
|
21
|
+
*/
|
|
22
|
+
export interface BcROIDETECT {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof BcROIDETECT
|
|
27
|
+
*/
|
|
28
|
+
bottom?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof BcROIDETECT
|
|
33
|
+
*/
|
|
34
|
+
left?: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof BcROIDETECT
|
|
39
|
+
*/
|
|
40
|
+
right?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof BcROIDETECT
|
|
45
|
+
*/
|
|
46
|
+
top?: number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
@@ -15,13 +15,16 @@
|
|
|
15
15
|
|
|
16
16
|
import { AuthenticityResult } from './authenticity-result';
|
|
17
17
|
import { ChosenDocumentTypeResultAllOf } from './chosen-document-type-result-all-of';
|
|
18
|
+
import { DocBarCodeInfo } from './doc-bar-code-info';
|
|
18
19
|
import { DocumentImageResult } from './document-image-result';
|
|
19
20
|
import { DocumentPositionResult } from './document-position-result';
|
|
20
21
|
import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
|
|
22
|
+
import { EncryptedRCLResult } from './encrypted-rclresult';
|
|
21
23
|
import { GraphicsResult } from './graphics-result';
|
|
22
24
|
import { ImageQualityResult } from './image-quality-result';
|
|
23
25
|
import { ImagesResult } from './images-result';
|
|
24
26
|
import { LexicalAnalysisResult } from './lexical-analysis-result';
|
|
27
|
+
import { LicenseResult } from './license-result';
|
|
25
28
|
import { OneCandidate } from './one-candidate';
|
|
26
29
|
import { ResultItem } from './result-item';
|
|
27
30
|
import { StatusResult } from './status-result';
|
|
@@ -15,13 +15,16 @@
|
|
|
15
15
|
|
|
16
16
|
import { AuthenticityResult } from './authenticity-result';
|
|
17
17
|
import { ChosenDocumentTypeResult } from './chosen-document-type-result';
|
|
18
|
+
import { DocBarCodeInfo } from './doc-bar-code-info';
|
|
18
19
|
import { DocumentImageResult } from './document-image-result';
|
|
19
20
|
import { DocumentPositionResult } from './document-position-result';
|
|
20
21
|
import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
|
|
22
|
+
import { EncryptedRCLResult } from './encrypted-rclresult';
|
|
21
23
|
import { GraphicsResult } from './graphics-result';
|
|
22
24
|
import { ImageQualityResult } from './image-quality-result';
|
|
23
25
|
import { ImagesResult } from './images-result';
|
|
24
26
|
import { LexicalAnalysisResult } from './lexical-analysis-result';
|
|
27
|
+
import { LicenseResult } from './license-result';
|
|
25
28
|
import { StatusResult } from './status-result';
|
|
26
29
|
import { TextDataResult } from './text-data-result';
|
|
27
30
|
import { TextResult } from './text-result';
|
|
@@ -32,12 +35,18 @@ import { TextResult } from './text-result';
|
|
|
32
35
|
* @interface ContainerList
|
|
33
36
|
*/
|
|
34
37
|
export interface ContainerList {
|
|
38
|
+
/**
|
|
39
|
+
* Length of list (Count for items)
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ContainerList
|
|
42
|
+
*/
|
|
43
|
+
Count?: number;
|
|
35
44
|
/**
|
|
36
45
|
*
|
|
37
|
-
* @type {Array<StatusResult | TextResult | DocumentImageResult | ImagesResult | ChosenDocumentTypeResult | DocumentTypesCandidatesResult | TextDataResult | GraphicsResult | LexicalAnalysisResult | AuthenticityResult | ImageQualityResult | DocumentPositionResult>}
|
|
46
|
+
* @type {Array<StatusResult | TextResult | DocumentImageResult | ImagesResult | ChosenDocumentTypeResult | DocumentTypesCandidatesResult | TextDataResult | GraphicsResult | LexicalAnalysisResult | AuthenticityResult | ImageQualityResult | DocumentPositionResult | DocBarCodeInfo | LicenseResult | EncryptedRCLResult>}
|
|
38
47
|
* @memberof ContainerList
|
|
39
48
|
*/
|
|
40
|
-
List: Array<StatusResult | TextResult | DocumentImageResult | ImagesResult | ChosenDocumentTypeResult | DocumentTypesCandidatesResult | TextDataResult | GraphicsResult | LexicalAnalysisResult | AuthenticityResult | ImageQualityResult | DocumentPositionResult>;
|
|
49
|
+
List: Array<StatusResult | TextResult | DocumentImageResult | ImagesResult | ChosenDocumentTypeResult | DocumentTypesCandidatesResult | TextDataResult | GraphicsResult | LexicalAnalysisResult | AuthenticityResult | ImageQualityResult | DocumentPositionResult | DocBarCodeInfo | LicenseResult | EncryptedRCLResult>;
|
|
41
50
|
}
|
|
42
51
|
|
|
43
52
|
|
|
@@ -0,0 +1,55 @@
|
|
|
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.1.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
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DataModule
|
|
21
|
+
*/
|
|
22
|
+
export interface DataModule {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DataModule
|
|
27
|
+
*/
|
|
28
|
+
mData?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof DataModule
|
|
33
|
+
*/
|
|
34
|
+
mLength?: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof DataModule
|
|
39
|
+
*/
|
|
40
|
+
mReserved1?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof DataModule
|
|
45
|
+
*/
|
|
46
|
+
mReserver2?: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof DataModule
|
|
51
|
+
*/
|
|
52
|
+
mType?: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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.1.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 { PArrayField } from './parray-field';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface DocBarCodeInfoAllOf
|
|
22
|
+
*/
|
|
23
|
+
export interface DocBarCodeInfoAllOf {
|
|
24
|
+
/**
|
|
25
|
+
* Count of array fields
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof DocBarCodeInfoAllOf
|
|
28
|
+
*/
|
|
29
|
+
nFields?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Data from barcode
|
|
32
|
+
* @type {Array<PArrayField>}
|
|
33
|
+
* @memberof DocBarCodeInfoAllOf
|
|
34
|
+
*/
|
|
35
|
+
pArrayFields?: Array<PArrayField>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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.1.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 { AuthenticityResult } from './authenticity-result';
|
|
17
|
+
import { ChosenDocumentTypeResult } from './chosen-document-type-result';
|
|
18
|
+
import { DocBarCodeInfoAllOf } from './doc-bar-code-info-all-of';
|
|
19
|
+
import { DocumentImageResult } from './document-image-result';
|
|
20
|
+
import { DocumentPositionResult } from './document-position-result';
|
|
21
|
+
import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
|
|
22
|
+
import { EncryptedRCLResult } from './encrypted-rclresult';
|
|
23
|
+
import { GraphicsResult } from './graphics-result';
|
|
24
|
+
import { ImageQualityResult } from './image-quality-result';
|
|
25
|
+
import { ImagesResult } from './images-result';
|
|
26
|
+
import { LexicalAnalysisResult } from './lexical-analysis-result';
|
|
27
|
+
import { LicenseResult } from './license-result';
|
|
28
|
+
import { PArrayField } from './parray-field';
|
|
29
|
+
import { ResultItem } from './result-item';
|
|
30
|
+
import { StatusResult } from './status-result';
|
|
31
|
+
import { TextDataResult } from './text-data-result';
|
|
32
|
+
import { TextResult } from './text-result';
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @type DocBarCodeInfo
|
|
36
|
+
* Raw data from BarCodes
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export type DocBarCodeInfo = DocBarCodeInfoAllOf & ResultItem;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
@@ -15,14 +15,17 @@
|
|
|
15
15
|
|
|
16
16
|
import { AuthenticityResult } from './authenticity-result';
|
|
17
17
|
import { ChosenDocumentTypeResult } from './chosen-document-type-result';
|
|
18
|
+
import { DocBarCodeInfo } from './doc-bar-code-info';
|
|
18
19
|
import { DocumentImageResultAllOf } from './document-image-result-all-of';
|
|
19
20
|
import { DocumentPositionResult } from './document-position-result';
|
|
20
21
|
import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
|
|
22
|
+
import { EncryptedRCLResult } from './encrypted-rclresult';
|
|
21
23
|
import { GraphicsResult } from './graphics-result';
|
|
22
24
|
import { ImageData } from './image-data';
|
|
23
25
|
import { ImageQualityResult } from './image-quality-result';
|
|
24
26
|
import { ImagesResult } from './images-result';
|
|
25
27
|
import { LexicalAnalysisResult } from './lexical-analysis-result';
|
|
28
|
+
import { LicenseResult } from './license-result';
|
|
26
29
|
import { ResultItem } from './result-item';
|
|
27
30
|
import { StatusResult } from './status-result';
|
|
28
31
|
import { TextDataResult } from './text-data-result';
|
|
@@ -15,14 +15,17 @@
|
|
|
15
15
|
|
|
16
16
|
import { AuthenticityResult } from './authenticity-result';
|
|
17
17
|
import { ChosenDocumentTypeResult } from './chosen-document-type-result';
|
|
18
|
+
import { DocBarCodeInfo } from './doc-bar-code-info';
|
|
18
19
|
import { DocumentImageResult } from './document-image-result';
|
|
19
20
|
import { DocumentPosition } from './document-position';
|
|
20
21
|
import { DocumentPositionResultAllOf } from './document-position-result-all-of';
|
|
21
22
|
import { DocumentTypesCandidatesResult } from './document-types-candidates-result';
|
|
23
|
+
import { EncryptedRCLResult } from './encrypted-rclresult';
|
|
22
24
|
import { GraphicsResult } from './graphics-result';
|
|
23
25
|
import { ImageQualityResult } from './image-quality-result';
|
|
24
26
|
import { ImagesResult } from './images-result';
|
|
25
27
|
import { LexicalAnalysisResult } from './lexical-analysis-result';
|
|
28
|
+
import { LicenseResult } from './license-result';
|
|
26
29
|
import { ResultItem } from './result-item';
|
|
27
30
|
import { StatusResult } from './status-result';
|
|
28
31
|
import { TextDataResult } from './text-data-result';
|