@regulaforensics/vp-frontend-face-components 1.4.0 → 2.0.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/README.md +60 -23
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +28 -19
- package/lib/common/Button.d.ts +2 -2
- package/lib/common/Icon.d.ts +58 -1
- package/lib/common/Message.d.ts +5 -4
- package/lib/common/NoGlareIconLivenessDetection.d.ts +5 -0
- package/lib/common/NoSmilingIconLivenessDetection.d.ts +5 -0
- package/lib/common/PortraitOrientationOnlyIcon.d.ts +6 -0
- package/lib/common/RegulaLogoLivenessDetection.d.ts +5 -0
- package/lib/components/ButtonFaceLiveness.d.ts +7 -0
- package/lib/components/CameraCapture.d.ts +9 -0
- package/lib/components/CameraSnapshot.d.ts +2 -0
- package/lib/components/CameraSnapshotFileCapture.d.ts +10 -0
- package/lib/components/DocumentCapture.d.ts +11 -0
- package/lib/components/DocumentContainer.d.ts +11 -0
- package/lib/components/DocumentReader.d.ts +2 -0
- package/lib/components/DocumentReaderFileCapture.d.ts +12 -0
- package/lib/components/DocumentReaderLayout.d.ts +22 -0
- package/lib/components/DocumentReaderStartScreen.d.ts +10 -0
- package/lib/components/ErrorBoundary.d.ts +10 -9
- package/lib/components/FaceCapture.d.ts +17 -9
- package/lib/components/FaceFullScreenOverlay.d.ts +2 -3
- package/lib/components/FaceHintAnimaition.d.ts +16 -0
- package/lib/components/FaceLayout.d.ts +16 -12
- package/lib/components/InfoScreen.d.ts +2 -1
- package/lib/components/InfoScreenFaceLiveness.d.ts +12 -0
- package/lib/components/InstructionVideoScreen.d.ts +9 -0
- package/lib/components/ProcessScreenFaceLiveness.d.ts +6 -0
- package/lib/components/RetryScreenFaceLiveness.d.ts +7 -0
- package/lib/components/SectorAnimationSvg.d.ts +11 -0
- package/lib/components/WebCamera.d.ts +8 -9
- package/lib/constants.d.ts +471 -169
- package/lib/contexts/DocumentAttributesContext.d.ts +25 -0
- package/lib/contexts/DocumentSDKContext.d.ts +8 -0
- package/lib/contexts/FaceAttributesContext.d.ts +14 -12
- package/lib/hoc/withDocumentAttributesContext.d.ts +4 -0
- package/lib/hoc/withDocumentSDKContext.d.ts +3 -0
- package/lib/hoc/withFaceAttributesContext.d.ts +2 -2
- package/lib/hoc/withLocalize.d.ts +6 -5
- package/lib/hooks/useDocumentReaderSeries.d.ts +19 -0
- package/lib/hooks/useDocumentReaderSingle.d.ts +14 -0
- package/lib/hooks/useFaceLiveness.d.ts +34 -26
- package/lib/hooks/useImageInputParam.d.ts +7 -0
- package/lib/hooks/useStateCallback.d.ts +1 -0
- package/lib/hooks/useStream.d.ts +3 -9
- package/lib/i18n/dictionaries/_dictionaries.d.ts +2212 -1988
- package/lib/index-document.d.ts +4 -0
- package/lib/media-resources/resourcesBase64.d.ts +7 -0
- package/lib/models/CameraModel.d.ts +2 -2
- package/lib/models/CustomError.d.ts +7 -0
- package/lib/models/DocReaderWebclient/ext/authenticity/authenticity.d.ts +32 -0
- package/lib/models/DocReaderWebclient/ext/authenticity/fiber.d.ts +7 -0
- package/lib/models/DocReaderWebclient/ext/authenticity/ident.d.ts +8 -0
- package/lib/models/DocReaderWebclient/ext/authenticity/image-ident.d.ts +7 -0
- package/lib/models/DocReaderWebclient/ext/authenticity/index.d.ts +5 -0
- package/lib/models/DocReaderWebclient/ext/authenticity/ocr-security-text.d.ts +7 -0
- package/lib/models/DocReaderWebclient/ext/authenticity/security-feature.d.ts +8 -0
- package/lib/models/DocReaderWebclient/ext/images.d.ts +16 -0
- package/lib/models/DocReaderWebclient/ext/index.d.ts +6 -0
- package/lib/models/DocReaderWebclient/ext/process-request-image.d.ts +5 -0
- package/lib/models/DocReaderWebclient/ext/process-request.d.ts +38 -0
- package/lib/models/DocReaderWebclient/ext/process-response.d.ts +36 -0
- package/lib/models/DocReaderWebclient/ext/text-field.d.ts +40 -0
- package/lib/models/DocReaderWebclient/ext/text.d.ts +14 -0
- package/lib/models/DocReaderWebclient/models/area-array.d.ts +32 -0
- package/lib/models/DocReaderWebclient/models/area-container.d.ts +38 -0
- package/lib/models/DocReaderWebclient/models/authenticity-check-list.d.ts +31 -0
- package/lib/models/DocReaderWebclient/models/authenticity-check-result-item.d.ts +38 -0
- package/lib/models/DocReaderWebclient/models/authenticity-check-result.d.ts +43 -0
- package/lib/models/DocReaderWebclient/models/authenticity-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/authenticity-result-type.d.ts +33 -0
- package/lib/models/DocReaderWebclient/models/authenticity-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/bc-pdf417-info.d.ts +54 -0
- package/lib/models/DocReaderWebclient/models/bc-roidetect.d.ts +42 -0
- package/lib/models/DocReaderWebclient/models/check-diagnose.d.ts +98 -0
- package/lib/models/DocReaderWebclient/models/check-result.d.ts +30 -0
- package/lib/models/DocReaderWebclient/models/chosen-document-type-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/chosen-document-type-result.d.ts +19 -0
- package/lib/models/DocReaderWebclient/models/chosen-document-type.d.ts +74 -0
- package/lib/models/DocReaderWebclient/models/container-list.d.ts +45 -0
- package/lib/models/DocReaderWebclient/models/critical.d.ts +26 -0
- package/lib/models/DocReaderWebclient/models/cross-source-value-comparison.d.ts +38 -0
- package/lib/models/DocReaderWebclient/models/data-module.d.ts +48 -0
- package/lib/models/DocReaderWebclient/models/details-optical.d.ts +67 -0
- package/lib/models/DocReaderWebclient/models/details-rfid.d.ts +61 -0
- package/lib/models/DocReaderWebclient/models/device-info.d.ts +54 -0
- package/lib/models/DocReaderWebclient/models/doc-bar-code-info-all-of.d.ts +31 -0
- package/lib/models/DocReaderWebclient/models/doc-bar-code-info.d.ts +19 -0
- package/lib/models/DocReaderWebclient/models/doc-visual-extended-field.d.ts +70 -0
- package/lib/models/DocReaderWebclient/models/doc-visual-extended-info.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/document-format.d.ts +70 -0
- package/lib/models/DocReaderWebclient/models/document-image-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/document-image-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/document-image.d.ts +24 -0
- package/lib/models/DocReaderWebclient/models/document-position-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/document-position-result.d.ts +19 -0
- package/lib/models/DocReaderWebclient/models/document-position.d.ts +80 -0
- package/lib/models/DocReaderWebclient/models/document-type-recognition-result.d.ts +30 -0
- package/lib/models/DocReaderWebclient/models/document-type.d.ts +246 -0
- package/lib/models/DocReaderWebclient/models/document-types-candidates-list.d.ts +32 -0
- package/lib/models/DocReaderWebclient/models/document-types-candidates-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/document-types-candidates-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/document-types-candidates.d.ts +32 -0
- package/lib/models/DocReaderWebclient/models/encrypted-rclresult-all-of.d.ts +24 -0
- package/lib/models/DocReaderWebclient/models/encrypted-rclresult.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/fdsidlist.d.ts +80 -0
- package/lib/models/DocReaderWebclient/models/fiber-result-all-of.d.ts +74 -0
- package/lib/models/DocReaderWebclient/models/fiber-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/graphic-field-type.d.ts +118 -0
- package/lib/models/DocReaderWebclient/models/graphic-field.d.ts +63 -0
- package/lib/models/DocReaderWebclient/models/graphic-fields-list.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/graphics-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/graphics-result.d.ts +19 -0
- package/lib/models/DocReaderWebclient/models/ident-result-all-of.d.ts +65 -0
- package/lib/models/DocReaderWebclient/models/ident-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/image-data.d.ts +24 -0
- package/lib/models/DocReaderWebclient/models/image-qa.d.ts +54 -0
- package/lib/models/DocReaderWebclient/models/image-quality-check-list.d.ts +32 -0
- package/lib/models/DocReaderWebclient/models/image-quality-check-type.d.ts +50 -0
- package/lib/models/DocReaderWebclient/models/image-quality-check.d.ts +64 -0
- package/lib/models/DocReaderWebclient/models/image-quality-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/image-quality-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/images-available-source.d.ts +31 -0
- package/lib/models/DocReaderWebclient/models/images-field-value.d.ts +70 -0
- package/lib/models/DocReaderWebclient/models/images-field.d.ts +38 -0
- package/lib/models/DocReaderWebclient/models/images-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/images-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/images.d.ts +32 -0
- package/lib/models/DocReaderWebclient/models/index.d.ts +123 -0
- package/lib/models/DocReaderWebclient/models/lcid.d.ts +582 -0
- package/lib/models/DocReaderWebclient/models/lexical-analysis-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/lexical-analysis-result.d.ts +19 -0
- package/lib/models/DocReaderWebclient/models/license-result-all-of.d.ts +24 -0
- package/lib/models/DocReaderWebclient/models/license-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/light.d.ts +34 -0
- package/lib/models/DocReaderWebclient/models/list-verified-fields.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/log-level.d.ts +23 -0
- package/lib/models/DocReaderWebclient/models/measure-system.d.ts +26 -0
- package/lib/models/DocReaderWebclient/models/mrzformat.d.ts +24 -0
- package/lib/models/DocReaderWebclient/models/ocrsecurity-text-result-all-of.d.ts +81 -0
- package/lib/models/DocReaderWebclient/models/ocrsecurity-text-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/one-candidate.d.ts +74 -0
- package/lib/models/DocReaderWebclient/models/original-symbol.d.ts +37 -0
- package/lib/models/DocReaderWebclient/models/parray-field.d.ts +81 -0
- package/lib/models/DocReaderWebclient/models/per-document-config.d.ts +30 -0
- package/lib/models/DocReaderWebclient/models/photo-ident-result-all-of.d.ts +76 -0
- package/lib/models/DocReaderWebclient/models/photo-ident-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/point-array.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/point.d.ts +30 -0
- package/lib/models/DocReaderWebclient/models/points-container.d.ts +31 -0
- package/lib/models/DocReaderWebclient/models/process-params.d.ts +254 -0
- package/lib/models/DocReaderWebclient/models/process-request-image.d.ts +38 -0
- package/lib/models/DocReaderWebclient/models/process-request.d.ts +60 -0
- package/lib/models/DocReaderWebclient/models/process-response.d.ts +66 -0
- package/lib/models/DocReaderWebclient/models/process-system-info.d.ts +30 -0
- package/lib/models/DocReaderWebclient/models/processing-status.d.ts +30 -0
- package/lib/models/DocReaderWebclient/models/raw-image-container-list.d.ts +31 -0
- package/lib/models/DocReaderWebclient/models/rectangle-coordinates.d.ts +42 -0
- package/lib/models/DocReaderWebclient/models/result-item.d.ts +48 -0
- package/lib/models/DocReaderWebclient/models/result.d.ts +98 -0
- package/lib/models/DocReaderWebclient/models/rfid-location.d.ts +30 -0
- package/lib/models/DocReaderWebclient/models/rfid-origin.d.ts +42 -0
- package/lib/models/DocReaderWebclient/models/scenario.d.ts +36 -0
- package/lib/models/DocReaderWebclient/models/security-feature-result-all-of.d.ts +59 -0
- package/lib/models/DocReaderWebclient/models/security-feature-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/security-feature-type.d.ts +49 -0
- package/lib/models/DocReaderWebclient/models/source-validity.d.ts +32 -0
- package/lib/models/DocReaderWebclient/models/source.d.ts +23 -0
- package/lib/models/DocReaderWebclient/models/status-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/status-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/status.d.ts +63 -0
- package/lib/models/DocReaderWebclient/models/string-recognition-result.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/symbol-candidate.d.ts +30 -0
- package/lib/models/DocReaderWebclient/models/symbol-recognition-result.d.ts +32 -0
- package/lib/models/DocReaderWebclient/models/text-available-source.d.ts +38 -0
- package/lib/models/DocReaderWebclient/models/text-data-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/text-data-result.d.ts +19 -0
- package/lib/models/DocReaderWebclient/models/text-field-type.d.ts +2386 -0
- package/lib/models/DocReaderWebclient/models/text-field-value.d.ts +70 -0
- package/lib/models/DocReaderWebclient/models/text-field.d.ts +84 -0
- package/lib/models/DocReaderWebclient/models/text-post-processing.d.ts +22 -0
- package/lib/models/DocReaderWebclient/models/text-result-all-of.d.ts +25 -0
- package/lib/models/DocReaderWebclient/models/text-result.d.ts +18 -0
- package/lib/models/DocReaderWebclient/models/text.d.ts +51 -0
- package/lib/models/DocReaderWebclient/models/transaction-info.d.ts +42 -0
- package/lib/models/DocReaderWebclient/models/verification-result.d.ts +38 -0
- package/lib/models/DocReaderWebclient/models/verified-field-map.d.ts +63 -0
- package/lib/models/DocReaderWebclient/models/visibility.d.ts +23 -0
- package/lib/services/DebugService.d.ts +4 -0
- package/lib/services/DeviceOrientationService.d.ts +18 -0
- package/lib/services/DocumentReaderProcessor.d.ts +43 -0
- package/lib/services/DocumentReaderService.d.ts +30 -32
- package/lib/services/FaceLivenessService.d.ts +43 -19
- package/lib/services/FaceService.d.ts +36 -8
- package/lib/services/StreamRecorderService.d.ts +24 -0
- package/lib/types.d.ts +261 -119
- package/lib/utils.d.ts +17 -52
- package/lib/web-components/CameraSnapshot.d.ts +14 -0
- package/lib/web-components/DocumentReader.d.ts +14 -0
- package/lib/web-components/FaceDetection.d.ts +3 -3
- package/lib/web-components/FaceLiveness.d.ts +7 -4
- package/lib/web-components/FullScreenContainer.d.ts +1 -1
- package/package.json +59 -62
- package/lib/common/InstructionIconFaceDetection.d.ts +0 -5
- package/lib/common/InstructionIconFaceLiveness.d.ts +0 -5
- package/lib/common/NoGlareIcon.d.ts +0 -5
- package/lib/common/NoSmilingIcon.d.ts +0 -5
- package/lib/components/InstructionScreen.d.ts +0 -9
- package/lib/components/RetryScreen.d.ts +0 -7
- package/lib/hooks/useDebounce.d.ts +0 -2
- package/lib/hooks/useInterval.d.ts +0 -3
- package/lib/services/WasmFeatureDetectService.d.ts +0 -4
- package/lib/web-components.d.ts +0 -47
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { LCID } from './lcid';
|
|
13
|
+
import { RectangleCoordinates } from './rectangle-coordinates';
|
|
14
|
+
import { StringRecognitionResult } from './string-recognition-result';
|
|
15
|
+
import { TextFieldType } from './text-field-type';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DocVisualExtendedField
|
|
20
|
+
*/
|
|
21
|
+
export interface DocVisualExtendedField {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {TextFieldType}
|
|
25
|
+
* @memberof DocVisualExtendedField
|
|
26
|
+
*/
|
|
27
|
+
wFieldType: TextFieldType;
|
|
28
|
+
/**
|
|
29
|
+
* Field name. Only use to search values for fields with fieldType=50(other). In general, use wFieldType for lookup.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof DocVisualExtendedField
|
|
32
|
+
*/
|
|
33
|
+
FieldName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {LCID}
|
|
37
|
+
* @memberof DocVisualExtendedField
|
|
38
|
+
*/
|
|
39
|
+
wLCID: LCID;
|
|
40
|
+
/**
|
|
41
|
+
* Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT and Result.MRZ_TEXT results.
|
|
42
|
+
* @type {Array<StringRecognitionResult>}
|
|
43
|
+
* @memberof DocVisualExtendedField
|
|
44
|
+
*/
|
|
45
|
+
StringsResult?: Array<StringRecognitionResult>;
|
|
46
|
+
/**
|
|
47
|
+
* Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by \'^\'
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof DocVisualExtendedField
|
|
50
|
+
*/
|
|
51
|
+
Buf_Text?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {RectangleCoordinates}
|
|
55
|
+
* @memberof DocVisualExtendedField
|
|
56
|
+
*/
|
|
57
|
+
FieldRect?: RectangleCoordinates;
|
|
58
|
+
/**
|
|
59
|
+
* Origin data group information. Only for Result.RFID_TEXT results.
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof DocVisualExtendedField
|
|
62
|
+
*/
|
|
63
|
+
RFID_OriginDG?: number;
|
|
64
|
+
/**
|
|
65
|
+
* Index of the text field record in origin data group. Only for Result.RFID_TEXT results.
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof DocVisualExtendedField
|
|
68
|
+
*/
|
|
69
|
+
RFID_OriginTagEntry?: number;
|
|
70
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DocVisualExtendedField } from './doc-visual-extended-field';
|
|
13
|
+
/**
|
|
14
|
+
* Container for extracted text fields. Fields are identified by type and language
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DocVisualExtendedInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface DocVisualExtendedInfo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<DocVisualExtendedField>}
|
|
22
|
+
* @memberof DocVisualExtendedInfo
|
|
23
|
+
*/
|
|
24
|
+
pArrayFields: Array<DocVisualExtendedField>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Defining the geometric format of documents in accordance with ISO / IEC 7810
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum DocumentFormat {
|
|
18
|
+
/**
|
|
19
|
+
* ID1 document format
|
|
20
|
+
*/
|
|
21
|
+
ID1 = 0,
|
|
22
|
+
/**
|
|
23
|
+
* ID2 document format
|
|
24
|
+
*/
|
|
25
|
+
ID2 = 1,
|
|
26
|
+
/**
|
|
27
|
+
* ID3 document format
|
|
28
|
+
*/
|
|
29
|
+
ID3 = 2,
|
|
30
|
+
/**
|
|
31
|
+
* Undefined document format
|
|
32
|
+
*/
|
|
33
|
+
NON = 3,
|
|
34
|
+
/**
|
|
35
|
+
* A4 document format
|
|
36
|
+
*/
|
|
37
|
+
A4 = 4,
|
|
38
|
+
/**
|
|
39
|
+
* ID3 double document format
|
|
40
|
+
*/
|
|
41
|
+
ID3_X2 = 5,
|
|
42
|
+
/**
|
|
43
|
+
* ID1 format document rotated 90 °
|
|
44
|
+
*/
|
|
45
|
+
ID1_90 = 10,
|
|
46
|
+
/**
|
|
47
|
+
* ID1 format document rotated 180 °
|
|
48
|
+
*/
|
|
49
|
+
ID1_180 = 11,
|
|
50
|
+
/**
|
|
51
|
+
* ID1 format document rotated 270 °
|
|
52
|
+
*/
|
|
53
|
+
ID1_270 = 12,
|
|
54
|
+
/**
|
|
55
|
+
* ID2 format document rotated 90 °
|
|
56
|
+
*/
|
|
57
|
+
ID2_180 = 13,
|
|
58
|
+
/**
|
|
59
|
+
* ID3 format document rotated 180 °
|
|
60
|
+
*/
|
|
61
|
+
ID3_180 = 14,
|
|
62
|
+
/**
|
|
63
|
+
* Arbitrary format
|
|
64
|
+
*/
|
|
65
|
+
CUSTOM = 1000,
|
|
66
|
+
/**
|
|
67
|
+
* Flexible format. Standard formats can be resized during cropping, depending on various factors: light, background...
|
|
68
|
+
*/
|
|
69
|
+
FLEXIBLE = 1002
|
|
70
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ImageData } from './image-data';
|
|
13
|
+
/**
|
|
14
|
+
* Contains cropped and rotated with perspective compensation image of document. Single input image can contain multiple document side/pages, which will be returned as separated results. Most of coordinates in other types defined on that image
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DocumentImageResultAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface DocumentImageResultAllOf {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ImageData}
|
|
22
|
+
* @memberof DocumentImageResultAllOf
|
|
23
|
+
*/
|
|
24
|
+
RawImageContainer: ImageData;
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DocumentImageResultAllOf } from './document-image-result-all-of';
|
|
13
|
+
import { ResultItem } from './result-item';
|
|
14
|
+
/**
|
|
15
|
+
* @type DocumentImageResult
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export declare type DocumentImageResult = DocumentImageResultAllOf & ResultItem;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DocumentImage
|
|
16
|
+
*/
|
|
17
|
+
export interface DocumentImage {
|
|
18
|
+
/**
|
|
19
|
+
* Base64 encoded image
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DocumentImage
|
|
22
|
+
*/
|
|
23
|
+
image: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DocumentPosition } from './document-position';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DocumentPositionResultAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface DocumentPositionResultAllOf {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {DocumentPosition}
|
|
22
|
+
* @memberof DocumentPositionResultAllOf
|
|
23
|
+
*/
|
|
24
|
+
DocumentPosition?: DocumentPosition;
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DocumentPositionResultAllOf } from './document-position-result-all-of';
|
|
13
|
+
import { ResultItem } from './result-item';
|
|
14
|
+
/**
|
|
15
|
+
* @type DocumentPositionResult
|
|
16
|
+
* Contains information about document position on the input image, its center, angle, etc
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare type DocumentPositionResult = DocumentPositionResultAllOf & ResultItem;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DocumentFormat } from './document-format';
|
|
13
|
+
import { Point } from './point';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DocumentPosition
|
|
18
|
+
*/
|
|
19
|
+
export interface DocumentPosition {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {DocumentFormat}
|
|
23
|
+
* @memberof DocumentPosition
|
|
24
|
+
*/
|
|
25
|
+
docFormat?: DocumentFormat;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof DocumentPosition
|
|
30
|
+
*/
|
|
31
|
+
Angle?: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof DocumentPosition
|
|
36
|
+
*/
|
|
37
|
+
Width?: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof DocumentPosition
|
|
42
|
+
*/
|
|
43
|
+
Height?: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Point}
|
|
47
|
+
* @memberof DocumentPosition
|
|
48
|
+
*/
|
|
49
|
+
Center?: Point;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Point}
|
|
53
|
+
* @memberof DocumentPosition
|
|
54
|
+
*/
|
|
55
|
+
LeftBottom?: Point;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Point}
|
|
59
|
+
* @memberof DocumentPosition
|
|
60
|
+
*/
|
|
61
|
+
LeftTop?: Point;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Point}
|
|
65
|
+
* @memberof DocumentPosition
|
|
66
|
+
*/
|
|
67
|
+
RightBottom?: Point;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Point}
|
|
71
|
+
* @memberof DocumentPosition
|
|
72
|
+
*/
|
|
73
|
+
RightTop?: Point;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof DocumentPosition
|
|
78
|
+
*/
|
|
79
|
+
Dpi?: number;
|
|
80
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum DocumentTypeRecognitionResult {
|
|
18
|
+
/**
|
|
19
|
+
* Document type determined. The first element in candidates array is recognition result
|
|
20
|
+
*/
|
|
21
|
+
OK = 0,
|
|
22
|
+
/**
|
|
23
|
+
* Document type was not determined. Ongoing processing is not possible
|
|
24
|
+
*/
|
|
25
|
+
UNKNOWN = 15,
|
|
26
|
+
/**
|
|
27
|
+
* To determine document type user should provide more images with different light sources (UV, for example)
|
|
28
|
+
*/
|
|
29
|
+
NEED_MORE_IMAGES = 29
|
|
30
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Possible values for document types
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum DocumentType {
|
|
18
|
+
NOT_DEFINED = 0,
|
|
19
|
+
PASSPORT = 11,
|
|
20
|
+
IDENTITY_CARD = 12,
|
|
21
|
+
DIPLOMATIC_PASSPORT = 13,
|
|
22
|
+
SERVICE_PASSPORT = 14,
|
|
23
|
+
SEAMANS_IDENTITY_DOCUMENT = 15,
|
|
24
|
+
IDENTITY_CARD_FOR_RESIDENCE = 16,
|
|
25
|
+
TRAVEL_DOCUMENT = 17,
|
|
26
|
+
OTHER = 99,
|
|
27
|
+
VISA_ID2 = 29,
|
|
28
|
+
VISA_ID3 = 30,
|
|
29
|
+
NATIONAL_IDENTITY_CARD = 20,
|
|
30
|
+
SOCIAL_IDENTITY_CARD = 21,
|
|
31
|
+
ALIENS_IDENTITY_CARD = 22,
|
|
32
|
+
PRIVILEGED_IDENTITY_CARD = 23,
|
|
33
|
+
RESIDENCE_PERMIT_IDENTITY_CARD = 24,
|
|
34
|
+
ORIGIN_CARD = 25,
|
|
35
|
+
EMERGENCY_PASSPORT = 26,
|
|
36
|
+
ALIENS_PASSPORT = 27,
|
|
37
|
+
ALTERNATIVE_IDENTITY_CARD = 28,
|
|
38
|
+
AUTHORIZATION_CARD = 32,
|
|
39
|
+
BEGINNER_PERMIT = 33,
|
|
40
|
+
BORDER_CROSSING_CARD = 34,
|
|
41
|
+
CHAUFFEUR_LICENSE = 35,
|
|
42
|
+
CHAUFFEUR_LICENSE_UNDER_18 = 36,
|
|
43
|
+
CHAUFFEUR_LICENSE_UNDER_21 = 37,
|
|
44
|
+
COMMERCIAL_DRIVING_LICENSE = 38,
|
|
45
|
+
COMMERCIAL_DRIVING_LICENSE_INSTRUCTIONAL_PERMIT = 39,
|
|
46
|
+
COMMERCIAL_DRIVING_LICENSE_UNDER_18 = 40,
|
|
47
|
+
COMMERCIAL_DRIVING_LICENSE_UNDER_21 = 41,
|
|
48
|
+
COMMERCIAL_INSTRUCTION_PERMIT = 42,
|
|
49
|
+
COMMERCIAL_NEW_PERMIT = 43,
|
|
50
|
+
CONCEALED_CARRY_LICENSE = 44,
|
|
51
|
+
CONCEALED_FIREARM_PERMIT = 45,
|
|
52
|
+
CONDITIONAL_DRIVING_LICENSE = 46,
|
|
53
|
+
DEPARTMENT_OF_VETERANS_AFFAIRS_IDENTITY_CARD = 47,
|
|
54
|
+
DIPLOMATIC_DRIVING_LICENSE = 48,
|
|
55
|
+
DRIVING_LICENSE = 49,
|
|
56
|
+
DRIVING_LICENSE_INSTRUCTIONAL_PERMIT = 50,
|
|
57
|
+
DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_18 = 51,
|
|
58
|
+
DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_21 = 52,
|
|
59
|
+
DRIVING_LICENSE_LEARNERS_PERMIT = 53,
|
|
60
|
+
DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_18 = 54,
|
|
61
|
+
DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_21 = 55,
|
|
62
|
+
DRIVING_LICENSE_NOVICE = 56,
|
|
63
|
+
DRIVING_LICENSE_NOVICE_UNDER_18 = 57,
|
|
64
|
+
DRIVING_LICENSE_NOVICE_UNDER_21 = 58,
|
|
65
|
+
DRIVING_LICENSE_REGISTERED_OFFENDER = 59,
|
|
66
|
+
DRIVING_LICENSE_RESTRICTED_UNDER_18 = 60,
|
|
67
|
+
DRIVING_LICENSE_RESTRICTED_UNDER_21 = 61,
|
|
68
|
+
DRIVING_LICENSE_TEMPORARY_VISITOR = 62,
|
|
69
|
+
DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_18 = 63,
|
|
70
|
+
DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_21 = 64,
|
|
71
|
+
DRIVING_LICENSE_UNDER_18 = 65,
|
|
72
|
+
DRIVING_LICENSE_UNDER_21 = 66,
|
|
73
|
+
EMPLOYMENT_DRIVING_PERMIT = 67,
|
|
74
|
+
ENHANCED_CHAUFFEUR_LICENSE = 68,
|
|
75
|
+
ENHANCED_CHAUFFEUR_LICENSE_UNDER_18 = 69,
|
|
76
|
+
ENHANCED_CHAUFFEUR_LICENSE_UNDER_21 = 70,
|
|
77
|
+
ENHANCED_COMMERCIAL_DRIVING_LICENSE = 71,
|
|
78
|
+
ENHANCED_DRIVING_LICENSE = 72,
|
|
79
|
+
ENHANCED_DRIVING_LICENSE_UNDER_18 = 73,
|
|
80
|
+
ENHANCED_DRIVING_LICENSE_UNDER_21 = 74,
|
|
81
|
+
ENHANCED_IDENTITY_CARD = 75,
|
|
82
|
+
ENHANCED_IDENTITY_CARD_UNDER_18 = 76,
|
|
83
|
+
ENHANCED_IDENTITY_CARD_UNDER_21 = 77,
|
|
84
|
+
ENHANCED_OPERATORS_LICENSE = 78,
|
|
85
|
+
FIREARMS_PERMIT = 79,
|
|
86
|
+
FULL_PROVISIONAL_LICENSE = 80,
|
|
87
|
+
FULL_PROVISIONAL_LICENSE_UNDER_18 = 81,
|
|
88
|
+
FULL_PROVISIONAL_LICENSE_UNDER_21 = 82,
|
|
89
|
+
GENEVA_CONVENTIONS_IDENTITY_CARD = 83,
|
|
90
|
+
GRADUATED_DRIVING_LICENSE_UNDER_18 = 84,
|
|
91
|
+
GRADUATED_DRIVING_LICENSE_UNDER_21 = 85,
|
|
92
|
+
GRADUATED_INSTRUCTION_PERMIT_UNDER_18 = 86,
|
|
93
|
+
GRADUATED_INSTRUCTION_PERMIT_UNDER_21 = 87,
|
|
94
|
+
GRADUATED_LICENSE_UNDER_18 = 88,
|
|
95
|
+
GRADUATED_LICENSE_UNDER_21 = 89,
|
|
96
|
+
HANDGUN_CARRY_PERMIT = 90,
|
|
97
|
+
IDENTITY_AND_PRIVILEGE_CARD = 91,
|
|
98
|
+
IDENTITY_CARD_MOBILITY_IMPAIRED = 92,
|
|
99
|
+
IDENTITY_CARD_REGISTERED_OFFENDER = 93,
|
|
100
|
+
IDENTITY_CARD_TEMPORARY_VISITOR = 94,
|
|
101
|
+
IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_18 = 95,
|
|
102
|
+
IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_21 = 96,
|
|
103
|
+
IDENTITY_CARD_UNDER_18 = 97,
|
|
104
|
+
IDENTITY_CARD_UNDER_21 = 98,
|
|
105
|
+
IGNITION_INTERLOCK_PERMIT = 100,
|
|
106
|
+
IMMIGRANT_VISA = 101,
|
|
107
|
+
INSTRUCTION_PERMIT = 102,
|
|
108
|
+
INSTRUCTION_PERMIT_UNDER_18 = 103,
|
|
109
|
+
INSTRUCTION_PERMIT_UNDER_21 = 104,
|
|
110
|
+
INTERIM_DRIVING_LICENSE = 105,
|
|
111
|
+
INTERIM_IDENTITY_CARD = 106,
|
|
112
|
+
INTERMEDIATE_DRIVING_LICENSE = 107,
|
|
113
|
+
INTERMEDIATE_DRIVING_LICENSE_UNDER_18 = 108,
|
|
114
|
+
INTERMEDIATE_DRIVING_LICENSE_UNDER_21 = 109,
|
|
115
|
+
JUNIOR_DRIVING_LICENSE = 110,
|
|
116
|
+
LEARNER_INSTRUCTIONAL_PERMIT = 111,
|
|
117
|
+
LEARNER_LICENSE = 112,
|
|
118
|
+
LEARNER_LICENSE_UNDER_18 = 113,
|
|
119
|
+
LEARNER_LICENSE_UNDER_21 = 114,
|
|
120
|
+
LEARNER_PERMIT = 115,
|
|
121
|
+
LEARNER_PERMIT_UNDER_18 = 116,
|
|
122
|
+
LEARNER_PERMIT_UNDER_21 = 117,
|
|
123
|
+
LIMITED_LICENSE = 118,
|
|
124
|
+
LIMITED_PERMIT = 119,
|
|
125
|
+
LIMITED_TERM_DRIVING_LICENSE = 120,
|
|
126
|
+
LIMITED_TERM_IDENTITY_CARD = 121,
|
|
127
|
+
LIQUOR_IDENTITY_CARD = 122,
|
|
128
|
+
NEW_PERMIT = 123,
|
|
129
|
+
NEW_PERMIT_UNDER_18 = 124,
|
|
130
|
+
NEW_PERMIT_UNDER_21 = 125,
|
|
131
|
+
NON_US_CITIZEN_DRIVING_LICENSE = 126,
|
|
132
|
+
OCCUPATIONAL_DRIVING_LICENSE = 127,
|
|
133
|
+
ONEIDA_TRIBE_OF_INDIANS_IDENTITY_CARD = 128,
|
|
134
|
+
OPERATOR_LICENSE = 129,
|
|
135
|
+
OPERATOR_LICENSE_UNDER_18 = 130,
|
|
136
|
+
OPERATOR_LICENSE_UNDER_21 = 131,
|
|
137
|
+
PERMANENT_DRIVING_LICENSE = 132,
|
|
138
|
+
PERMIT_TO_REENTER = 133,
|
|
139
|
+
PROBATIONARY_AUTO_LICENSE = 134,
|
|
140
|
+
PROBATIONARY_DRIVING_LICENSE_UNDER_18 = 135,
|
|
141
|
+
PROBATIONARY_DRIVING_LICENSE_UNDER_21 = 136,
|
|
142
|
+
PROBATIONARY_VEHICLE_SALES_PERSON_LICENSE = 137,
|
|
143
|
+
PROVISIONAL_DRIVING_LICENSE = 138,
|
|
144
|
+
PROVISIONAL_DRIVING_LICENSE_UNDER_18 = 139,
|
|
145
|
+
PROVISIONAL_DRIVING_LICENSE_UNDER_21 = 140,
|
|
146
|
+
PROVISIONAL_LICENSE = 141,
|
|
147
|
+
PROVISIONAL_LICENSE_UNDER_18 = 142,
|
|
148
|
+
PROVISIONAL_LICENSE_UNDER_21 = 143,
|
|
149
|
+
PUBLIC_PASSENGER_CHAUFFEUR_LICENSE = 144,
|
|
150
|
+
RACING_AND_GAMING_COMISSION_CARD = 145,
|
|
151
|
+
REFUGEE_TRAVEL_DOCUMENT = 146,
|
|
152
|
+
RENEWAL_PERMIT = 147,
|
|
153
|
+
RESTRICTED_COMMERCIAL_DRIVER_LICENSE = 148,
|
|
154
|
+
RESTRICTED_DRIVER_LICENSE = 149,
|
|
155
|
+
RESTRICTED_PERMIT = 150,
|
|
156
|
+
SEASONAL_PERMIT = 151,
|
|
157
|
+
SEASONAL_RESIDENT_IDENTITY_CARD = 152,
|
|
158
|
+
SEASONAL_CITIZEN_IDENTITY_CARD = 153,
|
|
159
|
+
SEX_OFFENDER = 154,
|
|
160
|
+
SOCIAL_SECURITY_CARD = 155,
|
|
161
|
+
TEMPORARY_DRIVING_LICENSE = 156,
|
|
162
|
+
TEMPORARY_DRIVING_LICENSE_UNDER_18 = 157,
|
|
163
|
+
TEMPORARY_DRIVING_LICENSE_UNDER_21 = 158,
|
|
164
|
+
TEMPORARY_IDENTITY_CARD = 159,
|
|
165
|
+
TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD = 160,
|
|
166
|
+
TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_18 = 161,
|
|
167
|
+
TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_21 = 162,
|
|
168
|
+
TEMPORARY_VISITOR_DRIVING_LICENSE = 163,
|
|
169
|
+
TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_18 = 164,
|
|
170
|
+
TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_21 = 165,
|
|
171
|
+
UNIFORMED_SERVICES_IDENTITY_CARD = 166,
|
|
172
|
+
VEHICLE_SALES_PERSON_LICENSE = 167,
|
|
173
|
+
WORKER_IDENTIFICATION_CREDENTIAL = 168,
|
|
174
|
+
COMMERCIAL_DRIVING_LICENSE_NOVICE = 169,
|
|
175
|
+
COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_18 = 170,
|
|
176
|
+
COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_21 = 171,
|
|
177
|
+
PASSPORT_CARD = 172,
|
|
178
|
+
PASSPORT_RESIDENT_CARD = 173,
|
|
179
|
+
PERSONAL_IDENTIFICATION_VERIFICATION = 174,
|
|
180
|
+
TEMPORARY_OPERATOR_LICENSE = 175,
|
|
181
|
+
DRIVING_LICENSE_UNDER_19 = 176,
|
|
182
|
+
IDENTITY_CARD_UNDER_19 = 177,
|
|
183
|
+
VISA = 178,
|
|
184
|
+
TEMPORARY_PASSPORT = 179,
|
|
185
|
+
VOTING_CARD = 180,
|
|
186
|
+
HEALTH_CARD = 181,
|
|
187
|
+
CERTIFICATE_OF_CITIZENSHIP = 182,
|
|
188
|
+
ADDRESS_CARD = 183,
|
|
189
|
+
AIRPORT_IMMIGRATION_CARD = 184,
|
|
190
|
+
ALIEN_REGISTRATION_CARD = 185,
|
|
191
|
+
APEH_CARD = 186,
|
|
192
|
+
COUPON_TO_DRIVING_LICENSE = 187,
|
|
193
|
+
CREW_MEMBER_CERTIFICATE = 188,
|
|
194
|
+
DOCUMENT_FOR_RETURN = 189,
|
|
195
|
+
E_CARD = 190,
|
|
196
|
+
EMPLOYMENT_CARD = 191,
|
|
197
|
+
HKSAR_IMMIGRATION_FORM = 192,
|
|
198
|
+
IMMIGRANT_CARD = 193,
|
|
199
|
+
LABOUR_CARD = 194,
|
|
200
|
+
LAISSEZ_PASSER = 195,
|
|
201
|
+
LAWYER_IDENTITY_CERTIFICATE = 196,
|
|
202
|
+
LICENSE_CARD = 197,
|
|
203
|
+
PASSPORT_STATELESS = 198,
|
|
204
|
+
PASSPORT_CHILD = 199,
|
|
205
|
+
PASSPORT_CONSULAR = 200,
|
|
206
|
+
PASSPORT_DIPLOMATIC_SERVICE = 201,
|
|
207
|
+
PASSPORT_OFFICIAL = 202,
|
|
208
|
+
PASSPORT_PROVISIONAL = 203,
|
|
209
|
+
PASSPORT_SPECIAL = 204,
|
|
210
|
+
PERMISSION_TO_THE_LOCAL_BORDER_TRAFFIC = 205,
|
|
211
|
+
REGISTRATION_CERTIFICATE = 206,
|
|
212
|
+
SEDESOL_CARD = 207,
|
|
213
|
+
SOCIAL_CARD = 208,
|
|
214
|
+
TB_CARD = 209,
|
|
215
|
+
VEHICLE_PASSPORT = 210,
|
|
216
|
+
W_DOCUMENT = 211,
|
|
217
|
+
DIPLOMATIC_IDENTITY_CARD = 212,
|
|
218
|
+
CONSULAR_IDENTITY_CARD = 213,
|
|
219
|
+
INCOME_TAX_CARD = 214,
|
|
220
|
+
RESIDENCE_PERMIT = 215,
|
|
221
|
+
DOCUMENT_OF_IDENTITY = 216,
|
|
222
|
+
BORDER_CROSSING_PERMIT = 217,
|
|
223
|
+
PASSPORT_LIMITED_VALIDITY = 218,
|
|
224
|
+
SIM_CARD = 219,
|
|
225
|
+
TAX_CARD = 220,
|
|
226
|
+
COMPANY_CARD = 221,
|
|
227
|
+
DOMESTIC_PASSPORT = 222,
|
|
228
|
+
IDENTITY_CERTIFICATE = 223,
|
|
229
|
+
RESIDENT_ID_CARD = 224,
|
|
230
|
+
ARMED_FORCES_IDENTITY_CARD = 225,
|
|
231
|
+
PROFESSIONAL_CARD = 226,
|
|
232
|
+
REGISTRATION_STAMP = 227,
|
|
233
|
+
DRIVER_CARD = 228,
|
|
234
|
+
DRIVER_TRAINING_CERTIFICATE = 229,
|
|
235
|
+
QUALIFICATION_DRIVING_LICENSE = 230,
|
|
236
|
+
MEMBERSHIP_CARD = 231,
|
|
237
|
+
PUBLIC_VEHICLE_DRIVER_AUTHORITY_CARD = 232,
|
|
238
|
+
MARINE_LICENSE = 233,
|
|
239
|
+
TEMPORARY_LEARNER_LICENSE = 234,
|
|
240
|
+
TEMPORARY_COMMERCIAL_DRIVING_LICENSE = 235,
|
|
241
|
+
INTERIM_INSTRUCTIONAL_PERMIT = 236,
|
|
242
|
+
CERTIFICATE_OF_COMPETENCY = 237,
|
|
243
|
+
CERTIFICATE_OF_PROFICIENCY = 238,
|
|
244
|
+
TRADE_LICENSE = 239,
|
|
245
|
+
PASSPORT_PAGE = 240
|
|
246
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Regula Document Reader Web API
|
|
3
|
+
* 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
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 6.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { DocumentTypeRecognitionResult } from './document-type-recognition-result';
|
|
13
|
+
import { OneCandidate } from './one-candidate';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DocumentTypesCandidatesList
|
|
18
|
+
*/
|
|
19
|
+
export interface DocumentTypesCandidatesList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {DocumentTypeRecognitionResult}
|
|
23
|
+
* @memberof DocumentTypesCandidatesList
|
|
24
|
+
*/
|
|
25
|
+
RecResult?: DocumentTypeRecognitionResult;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<OneCandidate>}
|
|
29
|
+
* @memberof DocumentTypesCandidatesList
|
|
30
|
+
*/
|
|
31
|
+
Candidates?: Array<OneCandidate>;
|
|
32
|
+
}
|