@regulaforensics/vp-frontend-face-components 2.0.1 → 3.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 +363 -167
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +18 -8
- package/lib/index.d.ts +232 -0
- package/package.json +5 -83
- package/lib/common/BackCameraIcon.d.ts +0 -6
- package/lib/common/Button.d.ts +0 -7
- package/lib/common/CameraChangeIcon.d.ts +0 -6
- package/lib/common/CameraIcon.d.ts +0 -6
- package/lib/common/CheckIcon.d.ts +0 -6
- package/lib/common/CrossIcon.d.ts +0 -6
- package/lib/common/DocReaderCameraDisabled.d.ts +0 -5
- package/lib/common/DocReaderCameraPreparing.d.ts +0 -5
- package/lib/common/DocReaderFlip.d.ts +0 -5
- package/lib/common/DocReaderProcessing.d.ts +0 -5
- package/lib/common/DocReaderProcessingError.d.ts +0 -5
- package/lib/common/DocReaderProcessingFinished.d.ts +0 -6
- package/lib/common/DocReaderSearch.d.ts +0 -5
- package/lib/common/ErrorIcon.d.ts +0 -6
- package/lib/common/FromCameraIcon.d.ts +0 -5
- package/lib/common/FromGalleryIcon.d.ts +0 -5
- package/lib/common/FrontCameraIcon.d.ts +0 -6
- package/lib/common/FullscreenExitIcon.d.ts +0 -6
- package/lib/common/FullscreenIcon.d.ts +0 -6
- package/lib/common/Icon.d.ts +0 -64
- package/lib/common/Message.d.ts +0 -8
- package/lib/common/NoGlareIconLivenessDetection.d.ts +0 -5
- package/lib/common/NoSmilingIconLivenessDetection.d.ts +0 -5
- package/lib/common/PortraitOrientationOnlyIcon.d.ts +0 -6
- package/lib/common/RegulaLogo.d.ts +0 -6
- package/lib/common/RegulaLogoLivenessDetection.d.ts +0 -5
- package/lib/common/SnapshotIcon.d.ts +0 -6
- package/lib/common/Spinner.d.ts +0 -3
- package/lib/common/SquareIcon.d.ts +0 -6
- package/lib/common/StopIcon.d.ts +0 -6
- package/lib/common/VerifiedIcon.d.ts +0 -6
- package/lib/components/ButtonFaceLiveness.d.ts +0 -7
- package/lib/components/CameraCapture.d.ts +0 -9
- package/lib/components/CameraSnapshot.d.ts +0 -2
- package/lib/components/CameraSnapshotFileCapture.d.ts +0 -10
- package/lib/components/DocumentCapture.d.ts +0 -11
- package/lib/components/DocumentContainer.d.ts +0 -11
- package/lib/components/DocumentReader.d.ts +0 -2
- package/lib/components/DocumentReaderFileCapture.d.ts +0 -12
- package/lib/components/DocumentReaderLayout.d.ts +0 -22
- package/lib/components/DocumentReaderStartScreen.d.ts +0 -10
- package/lib/components/ErrorBoundary.d.ts +0 -18
- package/lib/components/FaceCapture.d.ts +0 -25
- package/lib/components/FaceDetection.d.ts +0 -2
- package/lib/components/FaceFullScreenOverlay.d.ts +0 -10
- package/lib/components/FaceHintAnimaition.d.ts +0 -16
- package/lib/components/FaceLayout.d.ts +0 -23
- package/lib/components/FaceLiveness.d.ts +0 -2
- package/lib/components/InfoScreen.d.ts +0 -11
- package/lib/components/InfoScreenFaceLiveness.d.ts +0 -12
- package/lib/components/InstructionVideoScreen.d.ts +0 -9
- package/lib/components/ProcessScreen.d.ts +0 -6
- package/lib/components/ProcessScreenFaceLiveness.d.ts +0 -6
- package/lib/components/RetryScreenFaceLiveness.d.ts +0 -7
- package/lib/components/SectorAnimationSvg.d.ts +0 -11
- package/lib/components/WebCamera.d.ts +0 -19
- package/lib/constants.d.ts +0 -668
- package/lib/contexts/DocumentAttributesContext.d.ts +0 -25
- package/lib/contexts/DocumentSDKContext.d.ts +0 -8
- package/lib/contexts/FaceAttributesContext.d.ts +0 -26
- package/lib/hoc/withDocumentAttributesContext.d.ts +0 -4
- package/lib/hoc/withDocumentSDKContext.d.ts +0 -3
- package/lib/hoc/withFaceAttributesContext.d.ts +0 -4
- package/lib/hoc/withLocalize.d.ts +0 -8
- package/lib/hooks/useDocumentReaderSeries.d.ts +0 -19
- package/lib/hooks/useDocumentReaderSingle.d.ts +0 -14
- package/lib/hooks/useFaceLiveness.d.ts +0 -41
- package/lib/hooks/useImageInputParam.d.ts +0 -7
- package/lib/hooks/useOrientationChange.d.ts +0 -10
- package/lib/hooks/useStateCallback.d.ts +0 -1
- package/lib/hooks/useStream.d.ts +0 -10
- package/lib/hooks/useUserAgent.d.ts +0 -3
- package/lib/hooks/useWindowBlur.d.ts +0 -2
- package/lib/i18n/dictionaries/_dictionaries.d.ts +0 -2275
- package/lib/index-document.d.ts +0 -4
- package/lib/index-face.d.ts +0 -1
- package/lib/media-resources/resourcesBase64.d.ts +0 -7
- package/lib/models/CameraModel.d.ts +0 -9
- package/lib/models/CustomError.d.ts +0 -7
- package/lib/models/DocReaderWebclient/ext/authenticity/authenticity.d.ts +0 -32
- package/lib/models/DocReaderWebclient/ext/authenticity/fiber.d.ts +0 -7
- package/lib/models/DocReaderWebclient/ext/authenticity/ident.d.ts +0 -8
- package/lib/models/DocReaderWebclient/ext/authenticity/image-ident.d.ts +0 -7
- package/lib/models/DocReaderWebclient/ext/authenticity/index.d.ts +0 -5
- package/lib/models/DocReaderWebclient/ext/authenticity/ocr-security-text.d.ts +0 -7
- package/lib/models/DocReaderWebclient/ext/authenticity/security-feature.d.ts +0 -8
- package/lib/models/DocReaderWebclient/ext/images.d.ts +0 -16
- package/lib/models/DocReaderWebclient/ext/index.d.ts +0 -6
- package/lib/models/DocReaderWebclient/ext/process-request-image.d.ts +0 -5
- package/lib/models/DocReaderWebclient/ext/process-request.d.ts +0 -38
- package/lib/models/DocReaderWebclient/ext/process-response.d.ts +0 -36
- package/lib/models/DocReaderWebclient/ext/text-field.d.ts +0 -40
- package/lib/models/DocReaderWebclient/ext/text.d.ts +0 -14
- package/lib/models/DocReaderWebclient/models/area-array.d.ts +0 -32
- package/lib/models/DocReaderWebclient/models/area-container.d.ts +0 -38
- package/lib/models/DocReaderWebclient/models/authenticity-check-list.d.ts +0 -31
- package/lib/models/DocReaderWebclient/models/authenticity-check-result-item.d.ts +0 -38
- package/lib/models/DocReaderWebclient/models/authenticity-check-result.d.ts +0 -43
- package/lib/models/DocReaderWebclient/models/authenticity-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/authenticity-result-type.d.ts +0 -33
- package/lib/models/DocReaderWebclient/models/authenticity-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/bc-pdf417-info.d.ts +0 -54
- package/lib/models/DocReaderWebclient/models/bc-roidetect.d.ts +0 -42
- package/lib/models/DocReaderWebclient/models/check-diagnose.d.ts +0 -98
- package/lib/models/DocReaderWebclient/models/check-result.d.ts +0 -30
- package/lib/models/DocReaderWebclient/models/chosen-document-type-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/chosen-document-type-result.d.ts +0 -19
- package/lib/models/DocReaderWebclient/models/chosen-document-type.d.ts +0 -74
- package/lib/models/DocReaderWebclient/models/container-list.d.ts +0 -45
- package/lib/models/DocReaderWebclient/models/critical.d.ts +0 -26
- package/lib/models/DocReaderWebclient/models/cross-source-value-comparison.d.ts +0 -38
- package/lib/models/DocReaderWebclient/models/data-module.d.ts +0 -48
- package/lib/models/DocReaderWebclient/models/details-optical.d.ts +0 -67
- package/lib/models/DocReaderWebclient/models/details-rfid.d.ts +0 -61
- package/lib/models/DocReaderWebclient/models/device-info.d.ts +0 -54
- package/lib/models/DocReaderWebclient/models/doc-bar-code-info-all-of.d.ts +0 -31
- package/lib/models/DocReaderWebclient/models/doc-bar-code-info.d.ts +0 -19
- package/lib/models/DocReaderWebclient/models/doc-visual-extended-field.d.ts +0 -70
- package/lib/models/DocReaderWebclient/models/doc-visual-extended-info.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/document-format.d.ts +0 -70
- package/lib/models/DocReaderWebclient/models/document-image-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/document-image-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/document-image.d.ts +0 -24
- package/lib/models/DocReaderWebclient/models/document-position-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/document-position-result.d.ts +0 -19
- package/lib/models/DocReaderWebclient/models/document-position.d.ts +0 -80
- package/lib/models/DocReaderWebclient/models/document-type-recognition-result.d.ts +0 -30
- package/lib/models/DocReaderWebclient/models/document-type.d.ts +0 -246
- package/lib/models/DocReaderWebclient/models/document-types-candidates-list.d.ts +0 -32
- package/lib/models/DocReaderWebclient/models/document-types-candidates-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/document-types-candidates-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/document-types-candidates.d.ts +0 -32
- package/lib/models/DocReaderWebclient/models/encrypted-rclresult-all-of.d.ts +0 -24
- package/lib/models/DocReaderWebclient/models/encrypted-rclresult.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/fdsidlist.d.ts +0 -80
- package/lib/models/DocReaderWebclient/models/fiber-result-all-of.d.ts +0 -74
- package/lib/models/DocReaderWebclient/models/fiber-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/graphic-field-type.d.ts +0 -118
- package/lib/models/DocReaderWebclient/models/graphic-field.d.ts +0 -63
- package/lib/models/DocReaderWebclient/models/graphic-fields-list.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/graphics-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/graphics-result.d.ts +0 -19
- package/lib/models/DocReaderWebclient/models/ident-result-all-of.d.ts +0 -65
- package/lib/models/DocReaderWebclient/models/ident-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/image-data.d.ts +0 -24
- package/lib/models/DocReaderWebclient/models/image-qa.d.ts +0 -54
- package/lib/models/DocReaderWebclient/models/image-quality-check-list.d.ts +0 -32
- package/lib/models/DocReaderWebclient/models/image-quality-check-type.d.ts +0 -50
- package/lib/models/DocReaderWebclient/models/image-quality-check.d.ts +0 -64
- package/lib/models/DocReaderWebclient/models/image-quality-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/image-quality-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/images-available-source.d.ts +0 -31
- package/lib/models/DocReaderWebclient/models/images-field-value.d.ts +0 -70
- package/lib/models/DocReaderWebclient/models/images-field.d.ts +0 -38
- package/lib/models/DocReaderWebclient/models/images-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/images-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/images.d.ts +0 -32
- package/lib/models/DocReaderWebclient/models/index.d.ts +0 -123
- package/lib/models/DocReaderWebclient/models/lcid.d.ts +0 -582
- package/lib/models/DocReaderWebclient/models/lexical-analysis-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/lexical-analysis-result.d.ts +0 -19
- package/lib/models/DocReaderWebclient/models/license-result-all-of.d.ts +0 -24
- package/lib/models/DocReaderWebclient/models/license-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/light.d.ts +0 -34
- package/lib/models/DocReaderWebclient/models/list-verified-fields.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/log-level.d.ts +0 -23
- package/lib/models/DocReaderWebclient/models/measure-system.d.ts +0 -26
- package/lib/models/DocReaderWebclient/models/mrzformat.d.ts +0 -24
- package/lib/models/DocReaderWebclient/models/ocrsecurity-text-result-all-of.d.ts +0 -81
- package/lib/models/DocReaderWebclient/models/ocrsecurity-text-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/one-candidate.d.ts +0 -74
- package/lib/models/DocReaderWebclient/models/original-symbol.d.ts +0 -37
- package/lib/models/DocReaderWebclient/models/parray-field.d.ts +0 -81
- package/lib/models/DocReaderWebclient/models/per-document-config.d.ts +0 -30
- package/lib/models/DocReaderWebclient/models/photo-ident-result-all-of.d.ts +0 -76
- package/lib/models/DocReaderWebclient/models/photo-ident-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/point-array.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/point.d.ts +0 -30
- package/lib/models/DocReaderWebclient/models/points-container.d.ts +0 -31
- package/lib/models/DocReaderWebclient/models/process-params.d.ts +0 -254
- package/lib/models/DocReaderWebclient/models/process-request-image.d.ts +0 -38
- package/lib/models/DocReaderWebclient/models/process-request.d.ts +0 -60
- package/lib/models/DocReaderWebclient/models/process-response.d.ts +0 -66
- package/lib/models/DocReaderWebclient/models/process-system-info.d.ts +0 -30
- package/lib/models/DocReaderWebclient/models/processing-status.d.ts +0 -30
- package/lib/models/DocReaderWebclient/models/raw-image-container-list.d.ts +0 -31
- package/lib/models/DocReaderWebclient/models/rectangle-coordinates.d.ts +0 -42
- package/lib/models/DocReaderWebclient/models/result-item.d.ts +0 -48
- package/lib/models/DocReaderWebclient/models/result.d.ts +0 -98
- package/lib/models/DocReaderWebclient/models/rfid-location.d.ts +0 -30
- package/lib/models/DocReaderWebclient/models/rfid-origin.d.ts +0 -42
- package/lib/models/DocReaderWebclient/models/scenario.d.ts +0 -36
- package/lib/models/DocReaderWebclient/models/security-feature-result-all-of.d.ts +0 -59
- package/lib/models/DocReaderWebclient/models/security-feature-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/security-feature-type.d.ts +0 -49
- package/lib/models/DocReaderWebclient/models/source-validity.d.ts +0 -32
- package/lib/models/DocReaderWebclient/models/source.d.ts +0 -23
- package/lib/models/DocReaderWebclient/models/status-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/status-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/status.d.ts +0 -63
- package/lib/models/DocReaderWebclient/models/string-recognition-result.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/symbol-candidate.d.ts +0 -30
- package/lib/models/DocReaderWebclient/models/symbol-recognition-result.d.ts +0 -32
- package/lib/models/DocReaderWebclient/models/text-available-source.d.ts +0 -38
- package/lib/models/DocReaderWebclient/models/text-data-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/text-data-result.d.ts +0 -19
- package/lib/models/DocReaderWebclient/models/text-field-type.d.ts +0 -2386
- package/lib/models/DocReaderWebclient/models/text-field-value.d.ts +0 -70
- package/lib/models/DocReaderWebclient/models/text-field.d.ts +0 -84
- package/lib/models/DocReaderWebclient/models/text-post-processing.d.ts +0 -22
- package/lib/models/DocReaderWebclient/models/text-result-all-of.d.ts +0 -25
- package/lib/models/DocReaderWebclient/models/text-result.d.ts +0 -18
- package/lib/models/DocReaderWebclient/models/text.d.ts +0 -51
- package/lib/models/DocReaderWebclient/models/transaction-info.d.ts +0 -42
- package/lib/models/DocReaderWebclient/models/verification-result.d.ts +0 -38
- package/lib/models/DocReaderWebclient/models/verified-field-map.d.ts +0 -63
- package/lib/models/DocReaderWebclient/models/visibility.d.ts +0 -23
- package/lib/models/ImageModel.d.ts +0 -7
- package/lib/services/DebugService.d.ts +0 -17
- package/lib/services/DeviceOrientationService.d.ts +0 -18
- package/lib/services/DocumentReaderProcessor.d.ts +0 -43
- package/lib/services/DocumentReaderService.d.ts +0 -37
- package/lib/services/EventEmitter.d.ts +0 -9
- package/lib/services/FaceLivenessService.d.ts +0 -70
- package/lib/services/FaceService.d.ts +0 -39
- package/lib/services/StreamRecorderService.d.ts +0 -24
- package/lib/types.d.ts +0 -361
- package/lib/utils.d.ts +0 -30
- package/lib/web-components/CameraSnapshot.d.ts +0 -14
- package/lib/web-components/DocumentReader.d.ts +0 -14
- package/lib/web-components/FaceDetection.d.ts +0 -11
- package/lib/web-components/FaceLiveness.d.ts +0 -17
- package/lib/web-components/FullScreenContainer.d.ts +0 -4
|
@@ -1,254 +0,0 @@
|
|
|
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 { AuthenticityResultType } from './authenticity-result-type';
|
|
13
|
-
import { DocumentFormat } from './document-format';
|
|
14
|
-
import { DocumentType } from './document-type';
|
|
15
|
-
import { ImageQA } from './image-qa';
|
|
16
|
-
import { LogLevel } from './log-level';
|
|
17
|
-
import { MRZFormat } from './mrzformat';
|
|
18
|
-
import { MeasureSystem } from './measure-system';
|
|
19
|
-
import { PerDocumentConfig } from './per-document-config';
|
|
20
|
-
import { Result } from './result';
|
|
21
|
-
import { Scenario } from './scenario';
|
|
22
|
-
import { TextFieldType } from './text-field-type';
|
|
23
|
-
import { TextPostProcessing } from './text-post-processing';
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProcessParams
|
|
28
|
-
*/
|
|
29
|
-
export interface ProcessParams {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Scenario}
|
|
33
|
-
* @memberof ProcessParams
|
|
34
|
-
*/
|
|
35
|
-
scenario: Scenario;
|
|
36
|
-
/**
|
|
37
|
-
* Types of results to return in response. See \'Result\' enum for available options
|
|
38
|
-
* @type {Array<Result>}
|
|
39
|
-
* @memberof ProcessParams
|
|
40
|
-
*/
|
|
41
|
-
resultTypeOutput?: Array<Result>;
|
|
42
|
-
/**
|
|
43
|
-
* Enable this option if the image you provide contains double page spread of the passport and you want to process both pages in one go. It makes sense to use it for documents that have meaningful information on both pages, like Russian domestic passport, or some others. Disabled by default.
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof ProcessParams
|
|
46
|
-
*/
|
|
47
|
-
doublePageSpread?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* When enabled together with \"doublePageSpread\" and there is a passport with two pages spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured on a flatbed scanner. Disabled by default.
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof ProcessParams
|
|
52
|
-
*/
|
|
53
|
-
generateDoublePageSpreadImage?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* List of text field types to extract. If empty, all text fields from template will be extracted. Narrowing the list can shorten processing time. Empty by default.
|
|
56
|
-
* @type {Array<TextFieldType>}
|
|
57
|
-
* @memberof ProcessParams
|
|
58
|
-
*/
|
|
59
|
-
fieldTypesFilter?: Array<TextFieldType>;
|
|
60
|
-
/**
|
|
61
|
-
* This option allows you to set dates format so that solution will return dates in this format. For example, if you supply \'MM/dd/yyyy\', and document have printed date \'09 JUL 2020\' for the date os issue, you will get \'07/09/2020\' as a result. By default it is set to system locale default (where the service is running).
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof ProcessParams
|
|
64
|
-
*/
|
|
65
|
-
dateFormat?: string;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {MeasureSystem}
|
|
69
|
-
* @memberof ProcessParams
|
|
70
|
-
*/
|
|
71
|
-
measureSystem?: MeasureSystem;
|
|
72
|
-
/**
|
|
73
|
-
* This option controls maximum resolution in dpi of output images. Resolution will remain original in case 0 is supplied. By default is set to return images in response with resolution not greater than 300 dpi.
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof ProcessParams
|
|
76
|
-
*/
|
|
77
|
-
imageDpiOutMax?: number;
|
|
78
|
-
/**
|
|
79
|
-
* This option can be enabled if you know for sure that the image you provide contains already cropped document by its edges. This was designed to process on the server side images captured and cropped on mobile. Disabled by default.
|
|
80
|
-
* @type {boolean}
|
|
81
|
-
* @memberof ProcessParams
|
|
82
|
-
*/
|
|
83
|
-
alreadyCropped?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* This option allows passing custom processing parameters that can be implemented in future without changing API.
|
|
86
|
-
* @type {{ [key: string]: object; }}
|
|
87
|
-
* @memberof ProcessParams
|
|
88
|
-
*/
|
|
89
|
-
customParams?: {
|
|
90
|
-
[key: string]: object;
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* This option allows setting additional custom configuration per document type. If recognized document has ID specified in config, processing adjusts according to designated configuration.
|
|
94
|
-
* @type {Array<PerDocumentConfig>}
|
|
95
|
-
* @memberof ProcessParams
|
|
96
|
-
*/
|
|
97
|
-
config?: Array<PerDocumentConfig>;
|
|
98
|
-
/**
|
|
99
|
-
* When enabled, results will contain transaction processing log. Disabled by default
|
|
100
|
-
* @type {boolean}
|
|
101
|
-
* @memberof ProcessParams
|
|
102
|
-
*/
|
|
103
|
-
log?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {LogLevel}
|
|
107
|
-
* @memberof ProcessParams
|
|
108
|
-
*/
|
|
109
|
-
logLevel?: LogLevel;
|
|
110
|
-
/**
|
|
111
|
-
* Force use of specific template ID and skip document type identification step.
|
|
112
|
-
* @type {number}
|
|
113
|
-
* @memberof ProcessParams
|
|
114
|
-
*/
|
|
115
|
-
forceDocID?: number;
|
|
116
|
-
/**
|
|
117
|
-
* When disabled, text field OCR will be done as is and then the recognized value will be matched to the field mask for validity. If enabled, we are trying to read a field value with maximum efforts to match the mask and provide a correctly formatted value, making assumptions based on the provided field mask in the template. Enabled by default.
|
|
118
|
-
* @type {boolean}
|
|
119
|
-
* @memberof ProcessParams
|
|
120
|
-
*/
|
|
121
|
-
matchTextFieldMask?: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* When enabled, shorten the list of candidates to process during document detection in a single image process mode. Reduces processing time for specific backgrounds. Enabled by default.
|
|
124
|
-
* @type {boolean}
|
|
125
|
-
* @memberof ProcessParams
|
|
126
|
-
*/
|
|
127
|
-
fastDocDetect?: boolean;
|
|
128
|
-
/**
|
|
129
|
-
* When enabled, fail OCR field validity, if there is a glare over the text field on the image. Disabled by default.
|
|
130
|
-
* @type {boolean}
|
|
131
|
-
* @memberof ProcessParams
|
|
132
|
-
*/
|
|
133
|
-
updateOCRValidityByGlare?: boolean;
|
|
134
|
-
/**
|
|
135
|
-
* When enabled, each field in template will be checked for value presence and if the field is marked as required, but has no value, it will have \'error\' in validity status. Disabled by default.
|
|
136
|
-
* @type {boolean}
|
|
137
|
-
* @memberof ProcessParams
|
|
138
|
-
*/
|
|
139
|
-
checkRequiredTextFields?: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* When enabled, returns cropped barcode images for unknown documents. Disabled by default.
|
|
142
|
-
* @type {boolean}
|
|
143
|
-
* @memberof ProcessParams
|
|
144
|
-
*/
|
|
145
|
-
returnCroppedBarcode?: boolean;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
* @type {ImageQA}
|
|
149
|
-
* @memberof ProcessParams
|
|
150
|
-
*/
|
|
151
|
-
imageQa?: ImageQA;
|
|
152
|
-
/**
|
|
153
|
-
* When enabled, image quality checks status affects document optical and overall status. Disabled by default.
|
|
154
|
-
* @type {boolean}
|
|
155
|
-
* @memberof ProcessParams
|
|
156
|
-
*/
|
|
157
|
-
respectImageQuality?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
*
|
|
160
|
-
* @type {DocumentFormat}
|
|
161
|
-
* @memberof ProcessParams
|
|
162
|
-
*/
|
|
163
|
-
forceDocFormat?: DocumentFormat;
|
|
164
|
-
/**
|
|
165
|
-
* When enabled, no graphic fields will be cropped from document image. Disabled by default.
|
|
166
|
-
* @type {boolean}
|
|
167
|
-
* @memberof ProcessParams
|
|
168
|
-
*/
|
|
169
|
-
noGraphics?: boolean;
|
|
170
|
-
/**
|
|
171
|
-
* Specifies minimal area of the image that document should cover to be treated as candidate when locating. Value should be in range from 0 to 1, where 1 is when document should fully cover the image.
|
|
172
|
-
* @type {number}
|
|
173
|
-
* @memberof ProcessParams
|
|
174
|
-
*/
|
|
175
|
-
documentAreaMin?: number;
|
|
176
|
-
/**
|
|
177
|
-
* When enabled, all personal data will be forcibly removed from the logs. Disabled by default.
|
|
178
|
-
* @type {boolean}
|
|
179
|
-
* @memberof ProcessParams
|
|
180
|
-
*/
|
|
181
|
-
depersonalizeLog?: boolean;
|
|
182
|
-
/**
|
|
183
|
-
* This option allows locating and cropping multiple documents from one image if enabled. Disabled by default.
|
|
184
|
-
* @type {boolean}
|
|
185
|
-
* @memberof ProcessParams
|
|
186
|
-
*/
|
|
187
|
-
multiDocOnImage?: boolean;
|
|
188
|
-
/**
|
|
189
|
-
* This option allows shifting the date of expiry into the future or past for number of months specified. This is useful, for example, in some cases when document might be still valid for some period after original expiration date to prevent negative validity status for such documents. Or by shifting the date to the past will set negative validity for the documents that is about to expire in a specified number of months. 0 by default
|
|
190
|
-
* @type {number}
|
|
191
|
-
* @memberof ProcessParams
|
|
192
|
-
*/
|
|
193
|
-
shiftExpiryDate?: number;
|
|
194
|
-
/**
|
|
195
|
-
* This options allows specifying the minimal age in years of the document holder for the document to be considered valid.
|
|
196
|
-
* @type {number}
|
|
197
|
-
* @memberof ProcessParams
|
|
198
|
-
*/
|
|
199
|
-
minimalHolderAge?: number;
|
|
200
|
-
/**
|
|
201
|
-
* When enabled, returns input images in output. Disabled by default.
|
|
202
|
-
* @type {boolean}
|
|
203
|
-
* @memberof ProcessParams
|
|
204
|
-
*/
|
|
205
|
-
returnUncroppedImage?: boolean;
|
|
206
|
-
/**
|
|
207
|
-
* This option allows limiting MRZ formats to be recognized by specifying them in array.
|
|
208
|
-
* @type {Array<MRZFormat>}
|
|
209
|
-
* @memberof ProcessParams
|
|
210
|
-
*/
|
|
211
|
-
mrzFormatsFilter?: Array<MRZFormat>;
|
|
212
|
-
/**
|
|
213
|
-
* When enabled, make sure that in series processing MRZ is located fully inside the result document image, if present on the document. Enabling this option may add extra processing time, by disabling optimizations, but allows more stability in output image quality. Disabled by default.
|
|
214
|
-
* @type {boolean}
|
|
215
|
-
* @memberof ProcessParams
|
|
216
|
-
*/
|
|
217
|
-
forceReadMrzBeforeLocate?: boolean;
|
|
218
|
-
/**
|
|
219
|
-
* This option can be disabled to stop parsing after barcode is read. Enabled by default.
|
|
220
|
-
* @type {boolean}
|
|
221
|
-
* @memberof ProcessParams
|
|
222
|
-
*/
|
|
223
|
-
parseBarcodes?: boolean;
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
* @type {TextPostProcessing}
|
|
227
|
-
* @memberof ProcessParams
|
|
228
|
-
*/
|
|
229
|
-
convertCase?: TextPostProcessing;
|
|
230
|
-
/**
|
|
231
|
-
* When enabled, the Surname and GivenNames field will be divided into ft_First_Name, ft_Second_Name, ft_Third_Name, ft_Fourth_Name, ft_Last_Name fields. Disabled by default.
|
|
232
|
-
* @type {boolean}
|
|
233
|
-
* @memberof ProcessParams
|
|
234
|
-
*/
|
|
235
|
-
splitNames?: boolean;
|
|
236
|
-
/**
|
|
237
|
-
* When enabled, OCR of perforated fields in the document template will not be performed. Disabled by default.
|
|
238
|
-
* @type {boolean}
|
|
239
|
-
* @memberof ProcessParams
|
|
240
|
-
*/
|
|
241
|
-
disablePerforationOCR?: boolean;
|
|
242
|
-
/**
|
|
243
|
-
* List of specific eligible document types from DocumentType enum to recognize from. You may, for example, specify only passports to be recognized by setting this property. Empty by default.
|
|
244
|
-
* @type {Array<DocumentType>}
|
|
245
|
-
* @memberof ProcessParams
|
|
246
|
-
*/
|
|
247
|
-
documentGroupFilter?: Array<DocumentType>;
|
|
248
|
-
/**
|
|
249
|
-
* Authenticity checks that should be performed regardless of the document type. The available checks are listed in the eRPRM_Authenticity enum. Note that only supported by your license checks can be added.
|
|
250
|
-
* @type {Array<AuthenticityResultType>}
|
|
251
|
-
* @memberof ProcessParams
|
|
252
|
-
*/
|
|
253
|
-
processAuth?: Array<AuthenticityResultType>;
|
|
254
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
import { Light } from './light';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ProcessRequestImage
|
|
18
|
-
*/
|
|
19
|
-
export interface ProcessRequestImage {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {ImageData}
|
|
23
|
-
* @memberof ProcessRequestImage
|
|
24
|
-
*/
|
|
25
|
-
ImageData: ImageData;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Light}
|
|
29
|
-
* @memberof ProcessRequestImage
|
|
30
|
-
*/
|
|
31
|
-
light?: Light;
|
|
32
|
-
/**
|
|
33
|
-
* page/image number
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof ProcessRequestImage
|
|
36
|
-
*/
|
|
37
|
-
page_idx?: number;
|
|
38
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
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 { ContainerList } from './container-list';
|
|
13
|
-
import { ProcessParams } from './process-params';
|
|
14
|
-
import { ProcessRequestImage } from './process-request-image';
|
|
15
|
-
import { ProcessSystemInfo } from './process-system-info';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ProcessRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ProcessRequest {
|
|
22
|
-
/**
|
|
23
|
-
* session id
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ProcessRequest
|
|
26
|
-
*/
|
|
27
|
-
tag?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {ProcessParams}
|
|
31
|
-
* @memberof ProcessRequest
|
|
32
|
-
*/
|
|
33
|
-
processParam: ProcessParams;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {Array<ProcessRequestImage>}
|
|
37
|
-
* @memberof ProcessRequest
|
|
38
|
-
*/
|
|
39
|
-
List?: Array<ProcessRequestImage>;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {ContainerList}
|
|
43
|
-
* @memberof ProcessRequest
|
|
44
|
-
*/
|
|
45
|
-
ContainerList?: ContainerList;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {ProcessSystemInfo}
|
|
49
|
-
* @memberof ProcessRequest
|
|
50
|
-
*/
|
|
51
|
-
systemInfo?: ProcessSystemInfo;
|
|
52
|
-
/**
|
|
53
|
-
* Free-form object to be included in response. Must be object, not list or simple value. Do not affect document processing. Use it freely to pass your app params. Stored in process logs.
|
|
54
|
-
* @type {{ [key: string]: object; }}
|
|
55
|
-
* @memberof ProcessRequest
|
|
56
|
-
*/
|
|
57
|
-
passBackObject?: {
|
|
58
|
-
[key: string]: object;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
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 { ContainerList } from './container-list';
|
|
13
|
-
import { ProcessingStatus } from './processing-status';
|
|
14
|
-
import { RfidLocation } from './rfid-location';
|
|
15
|
-
import { TransactionInfo } from './transaction-info';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ProcessResponse
|
|
20
|
-
*/
|
|
21
|
-
export interface ProcessResponse {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {RfidLocation}
|
|
25
|
-
* @memberof ProcessResponse
|
|
26
|
-
*/
|
|
27
|
-
ChipPage?: RfidLocation;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {ProcessingStatus}
|
|
31
|
-
* @memberof ProcessResponse
|
|
32
|
-
*/
|
|
33
|
-
ProcessingFinished: ProcessingStatus;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {ContainerList}
|
|
37
|
-
* @memberof ProcessResponse
|
|
38
|
-
*/
|
|
39
|
-
ContainerList: ContainerList;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {TransactionInfo}
|
|
43
|
-
* @memberof ProcessResponse
|
|
44
|
-
*/
|
|
45
|
-
TransactionInfo: TransactionInfo;
|
|
46
|
-
/**
|
|
47
|
-
* Base64 encoded transaction processing log
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof ProcessResponse
|
|
50
|
-
*/
|
|
51
|
-
log?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Free-form object provided in request. See passBackObject property of ProcessRequest.
|
|
54
|
-
* @type {{ [key: string]: object; }}
|
|
55
|
-
* @memberof ProcessResponse
|
|
56
|
-
*/
|
|
57
|
-
passBackObject?: {
|
|
58
|
-
[key: string]: object;
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof ProcessResponse
|
|
64
|
-
*/
|
|
65
|
-
morePagesAvailable?: number;
|
|
66
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
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 ProcessSystemInfo
|
|
16
|
-
*/
|
|
17
|
-
export interface ProcessSystemInfo {
|
|
18
|
-
/**
|
|
19
|
-
* Base64 encoded license file
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ProcessSystemInfo
|
|
22
|
-
*/
|
|
23
|
-
license?: string;
|
|
24
|
-
/**
|
|
25
|
-
* For internal use. Demo-sites recaptcha token.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProcessSystemInfo
|
|
28
|
-
*/
|
|
29
|
-
recaptcha_token?: string;
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
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 ProcessingStatus {
|
|
18
|
-
/**
|
|
19
|
-
* Processing was not finished
|
|
20
|
-
*/
|
|
21
|
-
NOT_FINISHED = 0,
|
|
22
|
-
/**
|
|
23
|
-
* Processing finished
|
|
24
|
-
*/
|
|
25
|
-
FINISHED = 1,
|
|
26
|
-
/**
|
|
27
|
-
* Processing finished by timeout
|
|
28
|
-
*/
|
|
29
|
-
TIMEOUT = 2
|
|
30
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RawImageContainerList
|
|
17
|
-
*/
|
|
18
|
-
export interface RawImageContainerList {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof RawImageContainerList
|
|
23
|
-
*/
|
|
24
|
-
Count?: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<ImageData>}
|
|
28
|
-
* @memberof RawImageContainerList
|
|
29
|
-
*/
|
|
30
|
-
Images?: Array<ImageData>;
|
|
31
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
* Coordinates of the rectangle region on a document image(result type 1). Represented by two points - (left, top) + (right, bottom)
|
|
14
|
-
* @export
|
|
15
|
-
* @interface RectangleCoordinates
|
|
16
|
-
*/
|
|
17
|
-
export interface RectangleCoordinates {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof RectangleCoordinates
|
|
22
|
-
*/
|
|
23
|
-
left: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof RectangleCoordinates
|
|
28
|
-
*/
|
|
29
|
-
top: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof RectangleCoordinates
|
|
34
|
-
*/
|
|
35
|
-
right: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof RectangleCoordinates
|
|
40
|
-
*/
|
|
41
|
-
bottom: number;
|
|
42
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
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
|
-
* Common fields for all result objects
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ResultItem
|
|
16
|
-
*/
|
|
17
|
-
export interface ResultItem {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ResultItem
|
|
22
|
-
*/
|
|
23
|
-
buf_length?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ResultItem
|
|
28
|
-
*/
|
|
29
|
-
light?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ResultItem
|
|
34
|
-
*/
|
|
35
|
-
list_idx?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ResultItem
|
|
40
|
-
*/
|
|
41
|
-
page_idx?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Same as Result type, but used for safe parsing of not-described values. See Result type.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof ResultItem
|
|
46
|
-
*/
|
|
47
|
-
result_type: number;
|
|
48
|
-
}
|